users@glassfish.java.net

Re: JMS remote client

From: <glassfish_at_javadesktop.org>
Date: Fri, 21 Dec 2007 07:35:44 PST

I've figured out some if the issues, and still more have cropped up.

This thread helped out:
http://forum.java.sun.com/thread.jspa?threadID=599421&messageID=3205339

Also I had the wrong library, j2ee should be javaee. I think this can be any java ee 5 jar.

There are some library conflicts with tomcat. I'm not sure what they are just yet but I do see the org.apache package in the appser-rt jar.

Here is my new exception:
09:44:32.442|esin-destroy|ERROR|site.visitor.VisitorFacadeImpl - on close
javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to look up ConnectorDescriptor from JNDI]
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:368)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at com.omp.domain.site.visitor.VisitorFacadeImpl.sendToReporting(VisitorFacadeImpl.java:139)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy79.sendToReporting(Unknown Source)
        at com.omp.web.common.listeners.SessionHbmListener$Callback.doInTransaction(SessionHbmListener.java:179)
        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)
        at com.omp.web.common.listeners.SessionHbmListener.sessionDestroyed(SessionHbmListener.java:74)
        at com.caucho.server.session.SessionImpl.notifyDestroy(SessionImpl.java:498)
        at com.caucho.server.session.SessionImpl.removeEvent(SessionImpl.java:482)
        at com.caucho.util.LruCache.remove(LruCache.java:471)
        at com.caucho.server.session.SessionManager.close(SessionManager.java:1624)
        at com.caucho.server.webapp.Application.stop(Application.java:2426)
        at com.caucho.server.webapp.Application.destroy(Application.java:2459)
        at com.caucho.server.deploy.DeployController.stopImpl(DeployController.java:703)
        at com.caucho.server.deploy.AbstractDeployControllerStrategy.stop(AbstractDeployControllerStrategy.java:77)
        at com.caucho.server.deploy.DeployController.stop(DeployController.java:525)
        at com.caucho.server.deploy.DeployContainer.stop(DeployContainer.java:381)
        at com.caucho.server.webapp.ApplicationContainer.stop(ApplicationContainer.java:1046)
        at com.caucho.server.host.Host.stop(Host.java:516)
        at com.caucho.server.host.Host.destroy(Host.java:533)
        at com.caucho.server.deploy.DeployController.stopImpl(DeployController.java:703)
        at com.caucho.server.deploy.AbstractDeployControllerStrategy.stop(AbstractDeployControllerStrategy.java:77)
        at com.caucho.server.deploy.DeployController.stop(DeployController.java:525)
        at com.caucho.server.deploy.DeployContainer.stop(DeployContainer.java:381)
        at com.caucho.server.host.HostContainer.stop(HostContainer.java:515)
        at com.caucho.server.resin.ServletServer.stop(ServletServer.java:1297)
        at com.caucho.server.resin.ServletServer.destroy(ServletServer.java:1335)
        at com.caucho.server.deploy.DeployController.stopImpl(DeployController.java:703)
        at com.caucho.server.deploy.AbstractDeployControllerStrategy.stop(AbstractDeployControllerStrategy.java:77)
        at com.caucho.server.deploy.DeployController.stop(DeployController.java:525)
        at com.caucho.server.deploy.DeployController.destroy(DeployController.java:763)
        at com.caucho.server.deploy.EnvironmentDeployController.destroy(EnvironmentDeployController.java:306)
        at com.caucho.server.resin.ResinServer.destroy(ResinServer.java:644)
        at com.caucho.server.resin.Resin$1.run(Resin.java:639)
Caused by: com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to look up ConnectorDescriptor from JNDI
        at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:98)
        at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:344)
        ... 43 more


Google doesn't turn up anything for that exception. If anyone could shed some light on this, it would be hugely appreciated.

michael
[Message sent by forum member 'mfortin' (mfortin)]

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