> Last week I tried my application under Tomcat 4.1.10, the latest
> release. Intake failed to start up due to a conflict between the
> xerces-2 XML parser that ships with Tomcat 4.1.10 and the xerces-1
> parser that Intake for Turbine 2.1 uses. Downgrading to Tomcat 4.0.4
> resolved the problem. I have no specific reason to think this might
> apply to your configuration; just something to check.
I use the Tomcat that comes along with TDK 2.2 b3, it is 4.0.4.
And also, I think I eradicated this issue with the xml-parser on the day
after downloading it 3 weeks ago. Before ant would not even build the
application.
> Beyond this, I would try...
>
> + Manually removing the appData.ser file before startup
What file is this? I couldn't find one with that name.
> + Specifying the basePackage attribute of the input-data element in your
> intake.xml file
Is the base-package supposed to be the root-package of my app
(de.geoconnect.audiotex.) or de.geoconnect.audiotex.om. ?
> + Removing the �'s (and other non-US-ASCII characters) from your
> intake.xml file
I have done this.
The initialization works properly. But when I request the template that is
using Intake I get following messages:
[Mon Sep 23 16:08:47 CEST 2002] -- INFO -- init
[Mon Sep 23 16:08:47 CEST 2002] -- INFO -- Double initializaton of Turbine
was attempted!
..
[Mon Sep 23 16:08:47 CEST 2002] -- INFO -- Finish Initializing service
(early): IntakeService
[Mon Sep 23 16:08:47 CEST 2002] -- INFO -- Finished initializing all
services!
[Mon Sep 23 16:08:47 CEST 2002] -- INFO -- Turbine: Completed HTTP
initialization of services
..
[Mon Sep 23 16:08:47 CEST 2002] -- INFO -- Start Initializing service
(late): IntakeService
[Mon Sep 23 16:08:47 CEST 2002] -- INFO -- Finish Initializing service
(late): IntakeService
[Mon Sep 23 16:08:47 CEST 2002] -- ERROR -- Could not instantiate tool
org.apache.turbine.services.intake.IntakeTool to add to the context
Exception: org.apache.turbine.util.TurbineException: Instantiation failed
for org.apache.turbine.services.intake.IntakeTool
Stack Trace follows:
java.lang.NullPointerException
at org.apache.turbine.services.intake.IntakeTool.<init>(IntakeTool.java:90)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at
org.apache.turbine.services.factory.TurbineFactoryService.getInstance(Turbin
eFactoryService.java:396)
rethrown as org.apache.turbine.util.TurbineException: Instantiation failed
for org.apache.turbine.services.intake.IntakeTool
at
org.apache.turbine.services.factory.TurbineFactoryService.getInstance(Turbin
eFactoryService.java:400)
at
org.apache.turbine.services.pool.TurbinePoolService.getInstance(TurbinePoolS
ervice.java:484)
at
org.apache.turbine.services.pull.TurbinePullService.populateWithRequestTools
(TurbinePullService.java:474)
at
org.apache.turbine.services.pull.TurbinePullService.populateContext(TurbineP
ullService.java:406)
at
org.apache.turbine.services.pull.TurbinePull.populateContext(TurbinePull.jav
a:145)
at
org.apache.turbine.services.velocity.TurbineVelocityService.getContext(Turbi
neVelocityService.java:249)
at
org.apache.turbine.services.velocity.TurbineVelocity.getContext(TurbineVeloc
ity.java:156)
at
org.apache.turbine.modules.pages.VelocityPage.doBuildBeforeAction(VelocityPa
ge.java:84)
at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:137)
at org.apache.turbine.modules.Page.build(Page.java:90)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
at org.apache.turbine.Turbine.doGet(Turbine.java:563)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java
:450)
at
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
.....
What does that "double initialization" mean?
Is it a problem?
Marc
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>