Errors in the EJB3.0 TrailBlazer
clivehill Feb 8, 2006 11:21 AMI've just installed JBoss4.0.3SP1 fresh out of the box and deployed and run the EJB3.0 trailblazer - and there are failures in it!
I'd appreciate knowing what to do to fix it. Thanks!
On starting:
16:14:43,553 INFO [ProxyDeployer] no declared remote bindings for : trail.apptr
ans.CalculatorBean
16:14:43,583 INFO [ProxyDeployer] no declared remote bindings for : trail.entit
y.basic.CalculatorBean
16:14:43,613 INFO [ProxyDeployer] no declared remote bindings for : trail.entit
y.query.CalculatorBean
16:14:43,623 INFO [ProxyDeployer] no declared remote bindings for : trail.entit
y.update.CalculatorBean
16:14:43,684 WARN [MDB] Could not find the queue destination-jndi-name=queue/in
jection
16:14:43,684 WARN [MDB] destination not found: queue/injection reason: javax.na
ming.NameNotFoundException: injection not bound
16:14:43,684 WARN [MDB] creating a new temporary destination: queue/injection
16:14:43,684 INFO [injection] Bound to JNDI name: queue/injection
16:14:43,684 INFO [MDB] JNDI Hashtable: null
16:14:43,754 WARN [ResourceHandler] Unbound injected resource interface javax.s
ql.DataSource myDb
16:14:43,754 WARN [ServiceController] Problem starting service jboss.j2ee:servi
ce=EJB3,name=trail.injection.RecordManagerBean
javax.naming.NameNotFoundException: queue not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
at org.jnp.server.NamingServer.getObject(NamingServer.java:528)
etc....
On running JMX Calculator on trail 4 hike 2:
Browser displays:
java.lang.NullPointerException
org.apache.jsp.serviceobjects.jmx.calculator_jsp._jspService(org.apache.jsp.serviceobjects.jmx.calculator_jsp:100)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
etc....
and log shows:
16:17:26,978 INFO [STDOUT] java.lang.RuntimeException: Error creating MBeanProxy: trail:service=calculator
16:17:26,978 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.init(MBeanProxyExt.java:365)
16:17:26,978 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.(MBeanProxyExt.java:65)
etc...
16:17:26,988 INFO [STDOUT] Caused by: javax.management.InstanceNotFoundException: trail:service=calculator is not registered.
16:17:26,988 INFO [STDOUT] at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:508)