3 Replies Latest reply on Mar 6, 2002 9:49 AM by davidjencks

    Tyrex unexpected error

    larsinge

      Hello!

      I'm trying to use Tyrex tm with JBoss 2.4.4.

      When I start JBoss I get this error:

      [INFO,TransactionManagerService] Starting
      [ERROR,Default] Starting Tyrex Version 0.9.8.5
      [ERROR,Default] Intalio Inc. (C) 1999-2001. All rights reserved.
      [ERROR,Default]
      [ERROR,ConfigurationService] Unexpected error
      java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer
      at org.exolab.castor.xml.Unmarshaller.(Unmarshaller.java:138)
      at org.exolab.castor.xml.Unmarshaller.(Unmarshaller.java:125)
      at org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:463)
      at org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:402)
      at tyrex.tm.TransactionDomain.createDomain(TransactionDomain.java:430)
      at tyrex.tm.TransactionDomain.createDomain(TransactionDomain.java:174)
      at org.jboss.tm.plugins.tyrex.TransactionManagerService.startService(TransactionManagerService.java:84)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)

      8<-------------------------------

      My jboss.cfml file looks like this:

      <!-- ==================================================================== -->
      <!-- Transactions -->
      <!-- ==================================================================== -->
      <!--
      300
      -->

      <!-- Use this attribute if you need to use a specific Xid
      implementation
      oracle.jdbc.xa.OracleXid


      -->

      <!-- Uncomment to use Tyrex (tyrex.exolab.org) transaction manager plugin
      instead of the org.jboss.tm.TransactionManagerService and comment out
      the TransactionManagerService above -->

      domain.xml

      <!-- -->





      8<------------------------------

      I'm using Java 1.3.1_02 and Java 1.4.0.
      I could compile tyrex from source with java 1.3.1, not 1.4.0. With 1.4.0 I get lots of abstract data type errors.

      Where do I find the xxx.jar file that contains the org.apache.xml.serialize.XMLSerializer?

      Feel free to share all your comments and ideas on how I should set tyrex up. I will try it all... =:o)

        • 1. Re: Tyrex unexpected error
          davidjencks

          Dont try to use jdk 1.4. I don't know for sure but I suspect the missing classes are in Crimson, Xerces, or Xalan.

          • 2. Re: Tyrex unexpected error
            larsinge

            Thanks!!! I think it's working. =:o)

            I installed the "xerces.jar" file.

            Should I worry about the [ERROR,Default], or is this just some info from the MBean?

            [INFO,TransactionManagerService] Staring
            [ERROR,Default] Starting Tyrex Version 0.9.8.5
            [ERROR,Default] Intalio Inc. (C) 1999-2001. All rights reserved.
            [ERROR,Default]
            [INFO,TransactionManagerService] Started

            • 3. Re: Tyrex unexpected error
              davidjencks

              Looks like it is just some logging from tyrex that doesn't fit too well into log4j