Markus Witt wrote:

> Hi.
>
> When I try to start JOnAS I get the following exception:
>
> bash-2.02$ TransactionService: Working with a colocated Transaction
> Manager
> Create and register TM factory
> TransactionFactory constructor
> NamingManager: rebind TMFactory
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/transaction/UserTransaction
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(Unknown Source)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.access$100(Unknown Source)
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>         at
> org.objectweb.jonas.jtm.TransactionService.<init>(TransactionService.java:88)
>         at org.objectweb.jonas.server.TMServer.main(TMServer.java:65)
>
> Environment:
>         NT 4.0
>         JDK 1.2.2
>         JOnAS 2.0
>
> My CLASSPATH is
> 
>CLASSPATH=';d:\jonas_jdk1.2\examples\classes;c:\orant\jdbc\lib\classes12.zip;d:\jdk1.2.2\lib\jndi.jar;d:\jdk1.2.2\lib\providerutil.jar;d:\jdk1.2.2\lib\rmiregistry.jar;d:\jdk1.2.2\lib\ejb.jar:d:\jdk1.2.2\lib\jta-spec1_0_1.jar;d:\jdk1.2.2\lib\jdbc2_0-stdext.jar;d:\jonas_jdk1.2\lib\RMI_jonas.jar;d:\jdk1.2.2\lib\classes.zip;d:\jonas_jdk1.2'
>

------------------>
There is a colon instead of a semicolon just before the jta entry.

One of those errors costed my half a night pulling my hair :-)

Hope you are sleeping right now, and will notice this message tomorrow, if not already 
solved!

See you

>
> Any hints what may be wrong? javax.transaction.UserTransaction is in
> jta-spec1_0_1.jar that is in the CLASSPATH?!?
>
> Thanks in advance,
> --
> Markus Witt
> WMD GmbH Hamburg
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to