It's not misleading at all to suggest it as a starting
point for new users.
I think it's just that this issue hasn't come up before.
So, you've got a webapps/blojsom directory created and the
blojsom.war file
extracted in that directory? Did you remove the blojsom.war
file from the
webapps directory after exploding the WAR file?
Blojsom tries to discover where it's installed on startup
through some calls
to the servlet container. It'd have a problem with a
non-exploded WAR file.
You can also try adding the system property:
blojsom.installation.directory
To point where blojsom is installed if the WAR file still
gives you trouble
after exploding it into the proper directory.
On 9/7/06 4:13 AM, "David Goodenough"
<david.goodenough linkchoose.co.uk>
wrote:
> On Wednesday 06 September 2006 10:01, David Goodenough
wrote:
>> I have an existing Tomcat 5.5 (.17) setup, using
the Sun 1.5(-06) SDK.
>> I dropped the WAR file into the webapps directory
and tried to access
>> the default blog page, but I got this:-
>>
>> description The server encountered an internal
error () that prevented it
>> from fulfilling this request.
>> exception
>> javax.servlet.ServletException: No installation
directory set for blojsom
>>
>>
org.blojsom.servlet.BlojsomBaseServlet.configureBlojsom(Bloj
somBaseServlet.
>> java:123)
org.blojsom.servlet.BlojsomServlet.init(BlojsomServlet.java:
292)
>>
>>
org.apache.catalina.cluster.tcp.ReplicationValve.invoke(Repl
icationValve.ja
>> va:346)
>>
>>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:10
>> 5)
>>
>>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:148)
>>
>>
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:869)
>>
>>
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.process
>> Connection(Http11BaseProtocol.java:664)
>>
>>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint.ja
>> va:527)
>>
>>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerW
>> orkerThread.java:80)
>>
>>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadPool.ja
>> va:684) java.lang.Thread.run(Thread.java:595)
>>
>> root cause
>> org.blojsom.blog.BlojsomConfigurationException: No
installation directory
>> set for blojsom
>>
>>
org.blojsom.blog.BlojsomConfiguration.<init>(BlojsomCo
nfiguration.java:93)
>>
>>
org.blojsom.servlet.BlojsomBaseServlet.configureBlojsom(Bloj
somBaseServlet.
>> java:116)
org.blojsom.servlet.BlojsomServlet.init(BlojsomServlet.java:
292)
>>
>>
org.apache.catalina.cluster.tcp.ReplicationValve.invoke(Repl
icationValve.ja
>> va:346)
>>
>>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:10
>> 5)
>>
>>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:148)
>>
>>
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:869)
>>
>>
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.process
>> Connection(Http11BaseProtocol.java:664)
>>
>>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint.ja
>> va:527)
>>
>>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerW
>> orkerThread.java:80)
>>
>>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadPool.ja
>> va:684) java.lang.Thread.run(Thread.java:595)
>>
>>
>> I thought originally it might be that I had Tomcat
setup not to expand the
>> WAR file, so I did that manually, but it made no
difference.
>>
>> I can not see any Blojsom specific errors in the
logs.
>>
>> Any help greatfully received.
>>
>> David
>
> Is no-one using the quick-start install? If so it does
seem a bit misleading
> to suggest it as the starting point.
>
> David
>
>
------------------------------------------------------------
-------------
> Using Tomcat but need to do more? Need to support web
services, security?
> Get stuff done quickly with pre-integrated technology
to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based
on Apache Geronimo
> http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
--
David Czarnecki
http://www.blojsom.com/b
log/ | http://blojsom.sf.net
------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|