dev@glassfish.java.net

Re: Problem with Embedded Glassfish v3 -prelude-b14...

From: Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>
Date: Tue, 07 Apr 2009 23:19:44 +0530

Which version, build of JDK do you use ?
It should be available in JDK 6.

Thanks,
-Jagadish



On Tue, 2009-04-07 at 19:39 +0200, Thierry Bodhuin wrote:
> I got the stack trace when using glassfish embedded due to a bad use
> of class constructor that does not exist...
>
> java.lang.NoSuchMethodError:
> com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolManagerImpl.<init>(Ljava/lang/ThreadGroup;)V
> at com.sun.enterprise.connectors.ConnectorRuntime.getThreadPool(ConnectorRuntime.java:399)
> at com.sun.enterprise.connectors.work.CommonWorkManager.<init>(CommonWorkManager.java:88)
> at com.sun.enterprise.connectors.work.WorkManagerFactory.createWorkManager(WorkManagerFactory.java:120)
> at com.sun.enterprise.connectors.work.WorkManagerFactory.getWorkManagerProxy(WorkManagerFactory.java:184)
> at com.sun.enterprise.connectors.ConnectorRuntime.getWorkManagerProxy(ConnectorRuntime.java:698)
> at com.sun.enterprise.connectors.BootstrapContextImpl.initializeWorkManager(BootstrapContextImpl.java:121)
> at com.sun.enterprise.connectors.BootstrapContextImpl.<init>(BootstrapContextImpl.java:89)
> at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:103)
> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:92)
> at com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:273)
> at com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:427)
> at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:303)
> at com.sun.enterprise.connectors.service.ConnectorService.loadDeferredResourceAdapter(ConnectorService.java:209)
> at com.sun.enterprise.connectors.service.ConnectorService.loadResourcesAndItsRar(ConnectorService.java:179)
> at com.sun.enterprise.connectors.service.ConnectorService.checkAndLoadResource(ConnectorService.java:171)
> at com.sun.enterprise.connectors.ConnectorRuntime.checkAndLoadResource(ConnectorRuntime.java:552)
> at org.glassfish.javaee.services.ResourceAdapterProxy.create(ResourceAdapterProxy.java:103)
> at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:235)
> at javax.naming.InitialContext.lookup(InitialContext.java:392)
>
>
> Thanks for letting me know with which version this problem is solved.
>
> Thierry Bodhuin
>