Hello,
I'm attempting to deploy a SmartGWT application in Glassfish and I'm
receiving the following error:
javax.naming.NameNotFoundException: No object bound to name
java:comp/env/jms
at
com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:772)
at
com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:744)
at
com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:169)
at
com.isomorphic.messaging.JMSMessageDispatcher.reconnect(JMSMessageDispatcher.java:78)
at
com.isomorphic.messaging.JMSMessageDispatcher.ensureConnected(JMSMessageDispatcher.java:100)
at
com.isomorphic.messaging.JMSMessageDispatcher.subscribe(JMSMessageDispatcher.java:131)
at
com.isomorphic.messaging.ISCMessageDispatcher.subscribe(ISCMessageDispatcher.java:149)
at
com.isomorphic.messaging.MessagingConnectionHandler.registerSubscriber(MessagingConnectionHandler.java:282)
at
com.isomorphic.messaging.MessagingConnectionHandler.process(MessagingConnectionHandler.java:114)
at com.isomorphic.messaging.MessagingServlet.doPost(MessagingServlet.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at
com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at
com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)
I have the following defined in domain.xml:
<jdbc-resource pool-name="__TimerPool" jndi-name="jdbc/__TimerPool"
object-type="system-admin"></jdbc-resource>
<jdbc-resource pool-name="DerbyPool"
jndi-name="jdbc/__default"></jdbc-resource>
<jdbc-connection-pool
datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource"
res-type="javax.sql.XADataSource" name="__TimerPool">
<property name="databaseName"
value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer"></property>
<property name="connectionAttributes"
value=";create=true"></property>
</jdbc-connection-pool>
<jdbc-connection-pool is-isolation-level-guaranteed="false"
datasource-classname="org.apache.derby.jdbc.ClientDataSource"
res-type="javax.sql.DataSource" name="DerbyPool">
<property name="PortNumber" value="1527"></property>
<property name="Password" value="APP"></property>
<property name="User" value="APP"></property>
<property name="serverName" value="localhost"></property>
<property name="DatabaseName"
value="sun-appserv-samples"></property>
<property name="connectionAttributes"
value=";create=true"></property>
</jdbc-connection-pool>
<admin-object-resource res-adapter="jmsra" res-type="javax.jms.Topic"
jndi-name="jms/EventScheduleTopic" class-name="com.sun.messaging.Topic">
<property name="Name" value="jms/EventScheduleTopic"></property>
</admin-object-resource>
<connector-connection-pool max-pool-size="250" steady-pool-size="1"
name="jms/TopicConnectionFactory" resource-adapter-name="jmsra"
connection-definition-name="javax.jms.TopicConnectionFactory"></connector-connection-pool>
<connector-resource pool-name="jms/MyTopicConnectionFactory"
jndi-name="jms/MyTopicConnectionFactory"></connector-resource>
Any help would be appreciated.
--
[Message sent by forum member 'cthinkel']
View Post: http://forums.java.net/node/884469