On Thursday 07 September 2006 17:04, David Czarnecki wrote:
> 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.
That was the problem. Having never met a webapp that needed
the WAR file
removed, I just assumed that it was just suggesting being
tidy. Now to
see how it performs.
David
>
> 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
somBaseServl
> >>et. 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:1
> >>48)
> >>
> >>
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:86
> >>9)
> >>
> >>
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.proc
> >>ess Connection(Http11BaseProtocol.java:664)
> >>
> >>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint
> >>.ja va:527)
> >>
> >>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollow
> >>erW 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:9
> >>3)
> >>
> >>
org.blojsom.servlet.BlojsomBaseServlet.configureBlojsom(Bloj
somBaseServl
> >>et. 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:1
> >>48)
> >>
> >>
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:86
> >>9)
> >>
> >>
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.proc
> >>ess Connection(Http11BaseProtocol.java:664)
> >>
> >>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpoint
> >>.ja va:527)
> >>
> >>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollow
> >>erW 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
------------------------------------------------------------
-------------
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
|