I am currently experience trying to deploy my app on Glassfish 3.1, it works
fine under GF 2.1.1 (However I figure its about time to upgrade).
I am getting the following exception on application deploy:
[#|2011-06-29T23:21:17.363-0700|SEVERE|glassfish3.1|javax.enterprise.system.container.ejb.mdb.com.sun.ejb.containers|_ThreadID=43;_ThreadName=Thread-2;|MDB00017:
[IssueWorkOrderBean]: Exception in creating message-driven bean container:
[java.lang.Exception]|#]
[#|2011-06-29T23:21:17.364-0700|SEVERE|glassfish3.1|javax.enterprise.system.container.ejb.mdb.com.sun.ejb.containers|_ThreadID=43;_ThreadName=Thread-2;|java.lang.Exception
java.lang.Exception
My sun-resources.xml file is:
<resources>
<jdbc-resource enabled="true" jndi-name="beltmasta" object-type="user"
pool-name="PostgresPool"/>
<admin-object-resource enabled="true" jndi-name="jms/IP"
object-type="user" res-adapter="jmsra" res-type="javax.jms.Queue">
<description/>
<property name="Name" value="jms/IP"/>
</admin-object-resource>
<admin-object-resource enabled="true" jndi-name="jms/OP"
object-type="user" res-adapter="jmsra" res-type="javax.jms.Queue">
<description/>
<property name="Name" value="jms/OP"/>
</admin-object-resource>
<admin-object-resource enabled="true" jndi-name="jms/OrderSearchQueryBean"
object-type="user" res-adapter="jmsra" res-type="javax.jms.Queue">
<description/>
<property name="Name" value="jms/OrderSearchQueryBean"/>
</admin-object-resource>
<admin-object-resource enabled="true" jndi-name="jms/IssueWorkOrder"
object-type="user" res-adapter="jmsra" res-type="javax.jms.Queue">
<description/>
<property name="Name" value="jms/IssueWorkOrder"/>
</admin-object-resource>
<admin-object-resource enabled="true" jndi-name="jms/OrderProcessorBean"
object-type="user" res-adapter="jmsra" res-type="javax.jms.Queue">
<description/>
<property name="Name" value="jms/OrderProcessorBean"/>
</admin-object-resource>
<admin-object-resource enabled="true" jndi-name="jms/UserMessages"
object-type="user" res-adapter="jmsra" res-type="javax.jms.Topic">
<description/>
<property name="Name" value="jms/UserMessages"/>
</admin-object-resource>
<connector-resource enabled="true"
jndi-name="jms/QueueConnectionFactoryPool" object-type="user"
pool-name="jms/QueueConnectionFactoryPool"/>
<connector-resource enabled="true"
jndi-name="jms/TopicConnectionFactoryPool" object-type="user"
pool-name="jms/TopicConnectionFactoryPool"/>
<mail-resource
jndi-name="jms/EMail"
host="X.X.X.X"
user="no-reply"
from="no-reply_at_XXXXXXXXXX.com"
object-type="user">
<description/>
</mail-resource>
<jdbc-connection-pool
allow-non-component-callers="false"
associate-with-thread="false"
connection-creation-retry-attempts="0"
connection-creation-retry-interval-in-seconds="10"
connection-leak-reclaim="false"
connection-leak-timeout-in-seconds="0"
connection-validation-method="auto-commit"
datasource-classname="org.postgresql.ds.PGSimpleDataSource"
fail-all-connections="false"
idle-timeout-in-seconds="300"
is-connection-validation-required="false"
is-isolation-level-guaranteed="true"
lazy-connection-association="false"
lazy-connection-enlistment="false"
match-connections="false"
max-connection-usage-count="0"
max-pool-size="100"
max-wait-time-in-millis="60000"
name="PostgresPool"
non-transactional-connections="false"
pool-resize-quantity="2"
res-type="javax.sql.DataSource"
statement-timeout-in-seconds="-1"
steady-pool-size="8"
validate-atmost-once-period-in-seconds="0"
wrap-jdbc-objects="false">
<property name="databaseName" value="beltmasta3"/>
<property name="serverName" value="localhost"/>
<property name="portNumber" value="5432"/>
<property name="User" value="postgres"/>
<property name="Password" value="XXXXXXXXXXXXXXXXXXXXXX*"/>
<property name="URL"
value="jdbc:postgresql://localhost:5432/beltmasta3"/>
<property name="driverClass" value="org.postgresql.Driver"/>
</jdbc-connection-pool>
Since the exception description is vague I am at a loss as how to resolve
this issue.
Please advise.
--
[Message sent by forum member 'ddurst555808']
View Post: http://forums.java.net/node/817117