On 27 Nov 2006, at 20:51, David Czarnecki wrote:
> The default-blojsom-user property is actually a bit
mis-leading
> since it's
> referring to the default "blog" to load if
one isn't specified in
> the URL.
The way I understand this is that if I set the
blojsom-default-
user=admin, then the admin user gets unspecified urls:
http://your.host.co
m/blojsom/blog
>
> Regarding the CSS issue, check
/WEB-INF/dss/blog.properties and
> look for the
> blog-url and blog-base-url properties. Set these
accordingly for
> the blog.
> Example:
>
> blog-url=http://your.ho
st.com/blojsom/blog/dss/
> blog-base-url=http://your.host.com/bl
ojsom/
These were set right for the dss user, except no slash after
blojsom,
which didn't seem to make a difference. That lacking slash
was in all
users' blog.properties
However, for the admin user the blog-url=http://your.host.com/bl
ojsom/
blog/default/ and that worked.
>
> If that doesn't work, check and make sure a directory
exists where
> blojsom
> is installed, under /resources/dss/ that contains the
proper CSS
> and image
> files.
Copying these got the admin user working.
After a restart, http://
example.net:8080/blojsom/blog/default/
gives (all user URLs give the same err now):
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that
prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Default user does not match
any of
the registered blojsom users: admin
org.blojsom.servlet.BlojsomBaseServlet.configureBlojsom
(BlojsomBaseServlet.java:127)
org.blojsom.servlet.BlojsomServlet.init(BlojsomServlet.java
:296)
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtoco
l.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.r
un
(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:552)
root cause
org.blojsom.blog.BlojsomConfigurationException: Default user
does not
match any of the registered blojsom users: admin
org.blojsom.blog.BlojsomConfiguration.<init>
(BlojsomConfiguration.java:257)
org.blojsom.servlet.BlojsomBaseServlet.configureBlojsom
(BlojsomBaseServlet.java:120)
org.blojsom.servlet.BlojsomServlet.init(BlojsomServlet.java
:296)
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtoco
l.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.r
un
(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:552)
note The full stack trace of the root cause is available in
the
Apache Tomcat/5.5.17 logs.
Apache Tomcat/5.5.17
dss
>
> On 11/26/06 4:50 PM, "David Stodolsky"
> <david.stodolsky socialinformatics.org>
wrote:
>
>>
>> On 26 Nov 2006, at 21:44, Brian Allen wrote:
>>
>>> Without looking it up, I believe your default
properties have an
>>> incorrect URL or path to the templates.
>>
>> I only see reference to templates in the
WEB-INFO/blojsum.properties
>> file, which looks like it would effect all blogs
equally:
>> blojsum-templates-directory=/templates/
>>
>>
>> After editing the properties files is a restart
necessary?
>>
>>
>> dss
>>
>>>
>>> - Brian Allen
>>>
>>>
>>> On Nov 26, 2006, at 2:32 PM, David Stodolsky
wrote:
>>>
>>>> I now get the directory 'default' blog:
>>>>
>>>> http://
example.net:8080/blojsom/blog/default/
>>>>
>>>> but when I try:
>>>>
>>>> http://example.
net:8080/blojsom/blog/
>>>> or
>>>> http://exam
ple.net:8080/blojsom/blog/dss/
>>>>
>>>> I get a left justified display with a
broken image link to
>>>> blojsom.sf.net/
>>>>
>>>> This is odd since the directories appear
exactly the same (copied
>>>> from default).
>>>>
>>>> I set the blojsom-default-user=admin.
>>>>
>>>>
>>>> What could be causing this?
>>>>
>>>>
>>>> dss
>>>>
>>>>
>>>> On 26 Nov 2006, at 16:29, Steven Hulshof
wrote:
>>>>
>>>>>> There is a plugin.properties file
in the
>>>>>> dss directory
(/system/opt/local/share/java/tomcat5/webapps/
>>>>>> blojsom/
>>>>>> WEB-INF/dss/). The same exception
is triggered by the default
>>>>>> user.
>>>>>> It doesn't look like any logs are
being generated.
David Stodolsky davidstodolsky mac.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-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|