List Info

Thread: Create a new user?




Create a new user?
user name
2006-12-04 14:11:00
I restored my Blojsom folder from the OSX port. After fixing
the  
*.*.sample files and duplicating the user default folders in
WEB-INF  
(dss and admin) the web pages looked fine. However, after
editing  
only the dss authorization and blog properties files, both
dss and  
admin displayed faulty.

I brought up the admin console for dss and selected Cipher.
The  
'Current html theme' showed the default. I finally got the
Cipher  
theme by switching to Eclipse. Pressing Reset had no effect.
Seems to  
work OK after initialization problems.


Tried to create a new user while logged in as 'admin' to  
'default' (admin=*) and got this:

Status: Unable to create blog home directory for blog ID:
smr


What is needed for this to work?


dss

David Stodolsky  davidstodolskymac.com  Skype:
davidstodolsky




------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
Create a new user?
user name
2006-12-04 18:40:02
On 4 Dec 2006, at 15:11, David Stodolsky wrote:

>
>
> Tried to create a new user while logged in as 'admin'
to
> 'default' (admin=*) and got this:
>
> Status: Unable to create blog home directory for blog
ID: smr
>
>
> What is needed for this to work?
>

When I tried to create this user again, the system said the
folder  
already existed, and it does. However, there is no entry for
it in  
the Blojsom.properties file. When I try to access the smr
blog, I get:

-------------------
HTTP Status 500 -



type Exception report

message

description The server encountered an internal error () that
 
prevented it from fulfilling this request.

exception

java.lang.NullPointerException
	java.io.Reader.<init>(Reader.java:61)
	java.io.InputStreamReader.<init>(InputStreamReader.ja
va:80)
	java.util.Properties.load(Properties.java:266)
	 
org.blojsom.authorization.PropertiesAuthorizationProvider.lo
adAuthentica 
tionCredentials(PropertiesAuthorizationProvider.java:106)
	org.blojsom.blog.BlojsomConfiguration.loadBlog 
(BlojsomConfiguration.java:578)
	org.blojsom.servlet.BlojsomServlet.service(BlojsomServlet.j
ava:350)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802
)
	org.blojsom.filter.CompressionFilter.doFilter(CompressionFi
lter.java: 
92)
	org.blojsom.filter.PermalinkFilter.doFilter(PermalinkFilter
.java:208)


note The full stack trace of the root cause is available in
the  
Apache Tomcat/5.5.17 logs.




David Stodolsky  davidstodolskymac.com  Skype:
davidstodolsky




------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
Create a new user?
user name
2006-12-04 18:55:09
The folder must have the correct configuration files to
work. So, files like
blog.properties, plugin.properties, flavor.properties, etc.
need to be
there.


On 12/4/06 1:40 PM, "David Stodolsky"
<david.stodolskysocialinformatics.org> wrote:

> 
> On 4 Dec 2006, at 15:11, David Stodolsky wrote:
> 
>> 
>> 
>> Tried to create a new user while logged in as
'admin' to
>> 'default' (admin=*) and got this:
>> 
>> Status: Unable to create blog home directory for
blog ID: smr
>> 
>> 
>> What is needed for this to work?
>> 
> 
> When I tried to create this user again, the system said
the folder
> already existed, and it does. However, there is no
entry for it in
> the Blojsom.properties file. When I try to access the
smr blog, I get:
> 
> -------------------
> HTTP Status 500 -
> 
> 
> 
> type Exception report
> 
> message
> 
> description The server encountered an internal error ()
that
> prevented it from fulfilling this request.
> 
> exception
> 
> java.lang.NullPointerException
> java.io.Reader.<init>(Reader.java:61)
>
java.io.InputStreamReader.<init>(InputStreamReader.jav
a:80)
> java.util.Properties.load(Properties.java:266)
> 
>
org.blojsom.authorization.PropertiesAuthorizationProvider.lo
adAuthentica
>
tionCredentials(PropertiesAuthorizationProvider.java:106)
> org.blojsom.blog.BlojsomConfiguration.loadBlog
> (BlojsomConfiguration.java:578)
>
org.blojsom.servlet.BlojsomServlet.service(BlojsomServlet.ja
va:350)
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
org.blojsom.filter.CompressionFilter.doFilter(CompressionFil
ter.java:
> 92)
>
org.blojsom.filter.PermalinkFilter.doFilter(PermalinkFilter.
java:208)
> 
> 
> note The full stack trace of the root cause is
available in the
> Apache Tomcat/5.5.17 logs.
> 
> 
> 
> 
> David Stodolsky  davidstodolskymac.com  Skype:
davidstodolsky
> 
> 
> 
> 
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys - and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
Create a new user?
user name
2006-12-04 19:14:15
Here is the Catalina log:

Dec 04 19:32:33 DEBUG [http-8080-Processor24]
servlet.BlojsomServlet  
- Added plugin chain: blojsom-plugin-chain=conditional-get,
limiter,  
nofollow for user: default
Dec 04 19:32:33 DEBUG [http-8080-Processor24]
servlet.BlojsomServlet  
- Added plugin chain: html.blojsom-plugin-chain=meta,
date-format,  
referer-log, calendar-gui, calendar-filter, comment,
trackback,  
sendemail, simple-search, limiter, emoticons,
macro-expansion, days- 
since-posted, word-count, simple-obfuscation, nofollow for
user: default
Dec 04 19:32:33 DEBUG [http-8080-Processor24]
fetcher.StandardFetcher  
- blojsom path info: /
Dec 04 19:32:33 DEBUG [http-8080-Processor24]
fetcher.StandardFetcher  
- User requested category: /
Dec 04 19:32:33 DEBUG [http-8080-Processor24]
servlet.BlojsomServlet  
- blojsom plugin execution:
org.blojsom.plugin.admin.EditBlogUsersPlugin
Dec 04 19:32:33 DEBUG [http-8080-Processor24]  
admin.EditBlogUsersPlugin - User requested add blog user
action
Dec 04 19:32:33 DEBUG [http-8080-Processor24]  
admin.EditBlogUsersPlugin - Adding new user id: test
Dec 04 19:32:33 DEBUG [http-8080-Processor24]  
admin.EditBlogUsersPlugin - Bootstrap directory:
/opt/local/share/ 
java/tomcat5/webapps/blojsom//WEB-INF//bootstrap/
Dec 04 19:32:33 DEBUG [http-8080-Processor24]  
admin.EditBlogUsersPlugin - User directory:
/opt/local/share/java/ 
tomcat5/webapps/blojsom//WEB-INF/test/
Dec 04 19:32:33 DEBUG [http-8080-Processor24]  
admin.EditBlogUsersPlugin - Copying bootstrap directory:
/opt/local/ 
share/java/tomcat5/webapps/blojsom/WEB-INF/bootstrap to
target user  
directory:
/opt/local/share/java/tomcat5/webapps/blojsom/WEB-INF/test
Dec 04 19:32:33 ERROR [http-8080-Processor24]  
admin.EditBlogUsersPlugin - Unable to create blog home
directory: / 
change/me/please/test
Dec 04 19:32:33 DEBUG [http-8080-Processor24]
servlet.BlojsomServlet  
- Adding last-modified header for current date
Dec 04 19:32:33 DEBUG [http-8080-Processor24]
servlet.BlojsomServlet  
- Template extension: vm
Dec 04 19:32:33 DEBUG [http-8080-Processor24]  
dispatcher.VelocityDispatcher - Retrieved template for page:
org/ 
blojsom/plugin/admin/templates/admin-edit-blog-users.vm
Dec 04 19:32:33 DEBUG [http-8080-Processor24]  
dispatcher.VelocityDispatcher - Dispatched to flavor page
template:  
org/blojsom/plugin/admin/templates/admin-edit-blog-users.vm
Dec 04 19:32:58 DEBUG
[ContainerBackgroundProcessor[StandardEngine 
[Catalina]]] session.ManagerBase - Start expire sessions  
StandardManager at 1165257178871 sessioncount 1
Dec 04 19:32:58 DEBUG
[ContainerBackgroundProcessor[StandardEngine 
[Catalina]]] session.ManagerBase - End expire sessions  
StandardManager processingTime 1 expired sessions: 0
Dec 04 19:33:11 DEBUG [http-8080-Processor23]  
filter.CompressionFilter - GZIP supported, compressing.
Dec 04 19:33:11 INFO  [http-8080-Processor23]  
blog.BlojsomConfiguration - Attemping to load /WEB-INF/test/

blog.properties
Dec 04 19:33:11 DEBUG [http-8080-Processor23]  
blog.BlojsomConfiguration - Setting blog blog-home
directory: /opt/ 
local/var/db/blojsom/test/
Dec 04 19:33:11 INFO  [http-8080-Processor23] blog.Blog - No
value  
supplied for blog-url
Dec 04 19:33:11 INFO  [http-8080-Processor23] blog.Blog - No
value  
supplied for blog-admin-url
Dec 04 19:33:11 INFO  [http-8080-Processor23] blog.Blog - No
value  
supplied for blog-base-url
Dec 04 19:33:12 DEBUG [http-8080-Processor23] blog.Blog - No
mapping  
supplied for the default category '/'
Dec 04 19:33:12 DEBUG [http-8080-Processor23] blog.Blog -
blojsom  
comments directory: .comments
Dec 04 19:33:12 DEBUG [http-8080-Processor23] blog.Blog -
blojsom  
trackback directory: .trackbacks
Dec 04 19:33:12 DEBUG [http-8080-Processor23] blog.Blog -
blojsom  
pingbacks directory: .pingbacks
Dec 04 19:33:12 DEBUG [http-8080-Processor23] blog.Blog -
Comments  
directory regex: .*/.comments
Dec 04 19:33:12 DEBUG [http-8080-Processor23] blog.Blog -
Trackbacks  
directory regex: .*/.trackbacks
Dec 04 19:33:12 DEBUG [http-8080-Processor23] blog.Blog -
Pingbacks  
directory regex: .*/.pingbacks
Dec 04 19:33:12 DEBUG [http-8080-Processor23] blog.Blog -
blojsom to  
filter: .*/CVS
Dec 04 19:33:12 DEBUG [http-8080-Processor23] blog.Blog -
blojsom to  
filter: .*/.comments
Dec 04 19:33:12 DEBUG [http-8080-Processor23] blog.Blog -
blojsom to  
filter: .*/.trackbacks
Dec 04 19:33:12 DEBUG [http-8080-Processor23] blog.Blog -
blojsom to  
filter: .*/.pingbacks
Dec 04 19:33:12 DEBUG [http-8080-Processor23] blog.Blog -
blojsom  
filtering 4 directories
Dec 04 19:33:12 INFO  [http-8080-Processor23] blog.Blog -
blojsom  
home: /opt/local/var/db/blojsom/test/
Dec 04 19:33:12 ERROR [http-8080-Processor23]
[/blojsom].[blojsom] -  
Servlet.service() for servlet blojsom threw exception
java.lang.NullPointerException
	at java.io.Reader.<init>(Reader.java:61)
	at
java.io.InputStreamReader.<init>(InputStreamReader.jav
a:80)
	at java.util.Properties.load(Properties.java:266)

On 4 Dec 2006, at 19:40, David Stodolsky wrote:

>
> On 4 Dec 2006, at 15:11, David Stodolsky wrote:
>
>>
>>
>> Tried to create a new user while logged in as
'admin' to
>> 'default' (admin=*) and got this:
>>
>> Status: Unable to create blog home directory for
blog ID: smr
>>
>>
>> What is needed for this to work?
>>
>
> When I tried to create this user again, the system said
the folder
> already existed, and it does. However, there is no
entry for it in
> the Blojsom.properties file. When I try to access the
smr blog, I get:
>
> -------------------
> HTTP Status 500 -
>
>
>
> type Exception report
>
> message
>
> description The server encountered an internal error ()
that
> prevented it from fulfilling this request.
>
> exception
>
> java.lang.NullPointerException
> 	java.io.Reader.<init>(Reader.java:61)
>
	java.io.InputStreamReader.<init>(InputStreamReader.ja
va:80)
> 	java.util.Properties.load(Properties.java:266)
> 	
>
org.blojsom.authorization.PropertiesAuthorizationProvider.lo
adAuthenti 
> ca
>
tionCredentials(PropertiesAuthorizationProvider.java:106)
> 	org.blojsom.blog.BlojsomConfiguration.loadBlog
> (BlojsomConfiguration.java:578)
>
	org.blojsom.servlet.BlojsomServlet.service(BlojsomServlet.j
ava:350)
>
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802
)
>
	org.blojsom.filter.CompressionFilter.doFilter(CompressionFi
lter.java:
> 92)
>
	org.blojsom.filter.PermalinkFilter.doFilter(PermalinkFilter
.java:208)
>
>
> note The full stack trace of the root cause is
available in the
> Apache Tomcat/5.5.17 logs.
>
>
>
>
> David Stodolsky  davidstodolskymac.com  Skype:
davidstodolsky
>
>
>
>
>
------------------------------------------------------------
---------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to  
> share your
> opinions on IT & business topics through brief
surveys - and earn cash
> http://www.techsa
y.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

David Stodolsky  davidstodolskymac.com  Skype:
davidstodolsky




------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )