users@glassfish.java.net

RunnableBase removed from appserv-rt.jar in V2 b42+

From: <glassfish_at_javadesktop.org>
Date: Thu, 19 Apr 2007 00:27:54 PDT

Builds 42 & 43 of glassfish are causing my application client to fail on startup with the following error:

ERROR - Unspecified exception: com/sun/appserv/management/util/misc/RunnableBase$HowToRun
java.lang.NoClassDefFoundError: com/sun/appserv/management/util/misc/RunnableBase$HowToRun
        at com.sun.enterprise.server.ApplicationServer.<clinit>(ApplicationServer.java:353)
        at com.sun.enterprise.util.ORBManager.initProperties(ORBManager.java:299)
        at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:261)
        at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialInitContextFactory.java:141)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:175)

I tracked this down to the fact that RunnableBase.class was removed from appserv-rt.jar. The only way to solve the problem was to include appserv-ext.jar in my client classpath.

The wiki pages state that EJB application clients only need appserv-rt.jar at runtime, so this seems like a regression to me. Should this be raised as an issue?

Thanks
Cameron
[Message sent by forum member 'cameronr' (cameronr)]

http://forums.java.net/jive/thread.jspa?messageID=213088