Re: Troubles with com.webobjects.jspservlet

Pascal Robert <[email protected]> Mon, 13 May 2013 08:27:20 -0400
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Le 2013-05-12 =E0 10:50, Filippo Laur=ECa <[email protected]> a =
=E9crit :

> Hello to all,
> I'm always trying to build Web-CAT (a WebObjects based application)
> with the following configuration: eclipse Indigo + WOLips v3.7 +
> Tomcat7 on Ubuntu 12.10.
>=20
> After many tries I just can build the whole application, using the
> build.xml file for ant.
>=20
> Then deploying the application goes well, and tomcat does not throw =
any error.
>=20
> Trouble comes when trying to access, the application from main page.
>=20
> Here they are few lines of the stack trace:
>=20
> javax.servlet.UnavailableException: Error initializing servlet =
adaptor: null
> at =
com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAdapt=
or.java:442)
> at =
com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.ja=
va:95)
> at =
com.webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.java:652)=

> at net.sf.webcat.WCServletAdaptor.init(WCServletAdaptor.java:90)
> at javax.servlet.GenericServlet.init(GenericServlet.java:160)
>=20
> It seems that there is an error with the component
> com.webobjects.jspservlet from the framework JavaWOJSPServlet.
>=20
> Really I don't understand why I get this error, reading here [1] you
> find out that the error is: "[..] Unknown, but probably just a result
> of a previous complete failure of the app to start. [..]"
>=20
> I just downloaded sources from sourceforge and then builded them on my
> laptop. Sourceforge distribute also a war file that magically runs
> without errors, so I think that perhaps I'm missing some libraries.

Sources of Wonder? The current source is on GitHub.

> Any suggestion about this? How can I understand where is the problem?
>=20
> Thank you.
>=20
> [1]: =
http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Deployment/Tomcat=
_Deployment_Details

Please, don't use references from WikiBooks, it's all deprecated =
content. Sadly, it's still there because they don't allow us to delete =
the content=85

The real wiki is at http://wiki.wocommunity.org