I'm trying to use Tyrex 1.0 with Java 1.4.1 and Tomcat 4.1.27.
Configuring Tyrex according to the Tomcat 4.1 JNDI DataSource HOW-TO, I get following exception every time Tomcat starts:
...
Starting Tyrex Version 1.0
Intalio Inc. (C) 1999-2001. All rights reserved.
TyrexResourceFactory: Cannot create Tyrex Resource, Exception
javax.naming.NamingException: Could not create TransactionDomain: Nested error: java.lang.IllegalArgumentException: The prefix 'xml' is reserved (XML 1.0 Specification) and cannot be declared.
at org.apache.naming.factory.TyrexFactory.getTransactionDomain(TyrexFactory.java:138)
at org.apache.naming.factory.TyrexResourceFactory.getObjectInstance(TyrexResourceFactory.java:136)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:186)
...
Anyone who can help me?
Thanks in advance,
Peter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i don know whether is this the correct way to solve this problem, but after removing the xercesImpl.jar file from the common\endorsed dir, the exception disappear.
i wonder why tomcat server doesnt know how to use the tyrex's xerces jar file in the common\lib dir instead of common\endorsed dir.. =(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I'm trying to use Tyrex 1.0 with Java 1.4.1 and Tomcat 4.1.27.
Configuring Tyrex according to the Tomcat 4.1 JNDI DataSource HOW-TO, I get following exception every time Tomcat starts:
...
Starting Tyrex Version 1.0
Intalio Inc. (C) 1999-2001. All rights reserved.
TyrexResourceFactory: Cannot create Tyrex Resource, Exception
javax.naming.NamingException: Could not create TransactionDomain: Nested error: java.lang.IllegalArgumentException: The prefix 'xml' is reserved (XML 1.0 Specification) and cannot be declared.
at org.apache.naming.factory.TyrexFactory.getTransactionDomain(TyrexFactory.java:138)
at org.apache.naming.factory.TyrexResourceFactory.getObjectInstance(TyrexResourceFactory.java:136)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:186)
...
Anyone who can help me?
Thanks in advance,
Peter
I don't think this is a Tyrex issue as the exception is coming from org.apache.naming.factory.TyrexFactory, which is part of Tomcat.
i don know whether is this the correct way to solve this problem, but after removing the xercesImpl.jar file from the common\endorsed dir, the exception disappear.
i wonder why tomcat server doesnt know how to use the tyrex's xerces jar file in the common\lib dir instead of common\endorsed dir.. =(