There is something that I forgot to say in my previous message. I removed from the "lib" directory the "servlet.jar" and the "servletapi-2.2.jar". there was error messages in the Tomcat log.
The RESyntaxException appeared when I tried to load the authentication page.
I found a solution to this Exception. I added in "tdk\webapps\myapp\WEB-INF\lib" the archive "jakarta-regexp-1.2.jar". It works OK. I think that the Jar should be added to the TDK 2.2.
Xavier
Xavier Ottolini wrote:
Hi !
I upgraded my Turbine application From Turbne 2.1 to Turbine 2.2.
Use Apache Tomcat 4.1.12. I develop with the JDK 1.4.1.
First I started my application without Intake. It worked OK aside for the forms using intake.
My application uses the Intake service for the form validation. Then I modified TR.props to use Intake.
I copied the xerces-2.0.2.jar from "tdk\webapps\myapp\WEB-INF\lib" to "<TOMCAT_HOME>\common\endorsed".
When I start Tomcat, I get the following exception :
[Wed Feb 19 10:56:38 CET 2003] -- ERROR -- Turbine.handleException: org/apache/regexp/RESyntaxException
[Wed Feb 19 10:56:38 CET 2003] -- ERROR --
Exception: java.lang.NoClassDefFoundError: org/apache/regexp/RESyntaxException
Stack Trace follows:
java.lang.NoClassDefFoundError: org/apache/regexp/RESyntaxException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.turbine.services.intake.model.Field.<init>(Field.java:141)
at org.apache.turbine.services.intake.model.StringField.<init>(StringField.java:71)
at org.apache.turbine.services.intake.model.FieldFactory$3.getInstance(FieldFactory.java:99)
at org.apache.turbine.services.intake.model.FieldFactory.getInstance(FieldFactory.java:198)
at org.apache.turbine.services.intake.model.Group.<init>(Group.java:156)
at org.apache.turbine.services.intake.TurbineIntakeService.getGroup(TurbineIntakeService.java:378)
at org.apache.turbine.services.intake.TurbineIntake.getGroup(TurbineIntake.java:85)
at org.apache.turbine.services.intake.IntakeTool.init(IntakeTool.java:127)
The org.apache.regexp library is included in Turbine 2.2 (according to http://jakarta.apache.org/regexp/).
In the Turbine migrating howto, it is written that Intake work without a problem after migrating to T2.2.
What is wrong ?
Thanks
Xavier
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
