I replaced the "xerces-1.3.0.jar" in "WEB-INF/lib" directory by the "xercesImpl" found in the "<TOMCAT>/common/endorsed/" directory.
The exception has not been thrown any more.
Xavier
Quinton McCombs wrote:
That is strange. I looked at the code for Turbine 2.1 where the exception was thrown. That part of the code is where the serialized version of the parsed xml file is read in.
I seem to remember that you are using version 2.1. Has your version been patched or modified in any way?
-----Original Message-------
From: Xavier Ottolini [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 2:24 AM
To: Turbine Users List
Subject: Re: intake service initialization probem : VerifyError in class XmlToAppData
There is no "appData.ser" in the "WEB-INF" folder.
Quinton McCombs wrote:
Delete WEB-INF/appData.sermapToProperty="Nom">
-----Original Message-----
From: Xavier Ottolini [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 11:04 AM
To: Turbine Users List
Subject: Re: intake service initialization probem : VerifyError in class XmlToAppData
Chris K Chew wrote:
mapToProperty="Nom">From: Xavier Ottolini
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE input-data SYSTEM
"http://jakarta.apache.org/turbine/dtd/intake.dtd">
<input-data basePackage="fr.qualipse.qualiback">
<group name="AgenceGroup" key="agence" mapToObject="om.Agence">
<field name="agenceid" key="agenceid" type="String"
mapToProperty="AgenceId"></rule>
</field>
<field name="nom" key="nom" type="String"
mapToProperty="Code"><rule name="required" value="true">Nom ne doit pas �tre
vide.</rule>
<rule name="maxLength" value="255">Nom ne doit pas d�passser 255 caract�res.</rule>
</field>
<field name="code" key="code" type="String"
pas �tre<rule name="required" value="true">Code ne doit
<mailto:[EMAIL PROTECTED]>vide.</rule>It looks to me like you have an extra </rule>... within your first
<rule name="maxLength" value="255">Code ne doit pas
d�passser 255 caract�res.</rule>
</field>
</group>
</input-data>
<field> declaration.
Good luck,
Chris
--
To unsubscribe, e-mail:
For additional commands, e-mail:I corrected the intake.xml :
<mailto:[EMAIL PROTECTED]>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE input-data SYSTEM
"http://jakarta.apache.org/turbine/dtd/intake.dtd">
<input-data basePackage="fr.qualipse.qualiback">
<group name="AgenceGroup" key="agence" mapToObject="om.Agence">
<field name="agenceid" key="agenceid" type="String"
mapToProperty="AgenceId">
<rule name="required" value="false"></rule>
</field>
<field name="nom" key="nom" type="String"
pas �tre<rule name="required" value="true">Nom ne doit pas �tre vide.</rule>
<rule name="maxLength" value="255">Nom ne doit pas d�passser 255 caract�res.</rule>
</field>
<field name="code" key="code" type="String" mapToProperty="Code">
<rule name="required" value="true">Code ne doit
--vide.</rule>
<rule name="maxLength" value="255">Code ne doit pas d�passser 255 caract�res.</rule>
</field>
</group>
</input-data>
I get the following exception :
javax.servlet.ServletException: Cannot allocate servlet instance for
path /qualiback/servlet/qualiback
at org.apache.catalina.servlets.InvokerServlet.serveRequest(Invok
erServlet.java:427)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServl
et.java:180)
....
root cause
java.lang.VerifyError: (class:
org/apache/turbine/services/intake/transform/XmlToAppData, method: parseFile signature: (Ljava/lang/String;Z)Lorg/apache/turbine/services/intake/xmlmo
del/AppData;) Incompatible object argument for function call
at org.apache.turbine.services.intake.TurbineIntakeService.init(T
urbineIntakeService.java:168)
at org.apache.turbine.services.TurbineBaseService.init(TurbineBas
eService.java:108)
at org.apache.turbine.services.BaseInitableBroker.initClass(BaseI
nitableBroker.java:150)
at org.apache.turbine.services.BaseServiceBroker.doInitService(Ba
seServiceBroker.java:226)
at org.apache.turbine.services.BaseServiceBroker.initServices(Bas
eServiceBroker.java:195)
at org.apache.turbine.Turbine.init(Turbine.java:185)
...
To unsubscribe, e-mail: <mailto:turbine-user-> [EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
