problem with lomboz tutorial

D

dcp

Hi,

I'm using jboss 3.2.1 and a tool called lomboz (www.objectlearn.com).
I've been working through a tutorial at
http://www.tusc.com.au/tutorial/html/index.html

I'm running eclipse v2.1.1 and lomboz v2.1.1.

I'm currently on chap5 of the lomboz tutorial which is on bean managed
persistence, and have followed the instructions in the tutorial. But,
I am getting an error when trying to run the client at the end. I
checked the server.log file and it's telling me that the ejb is not
bound. Does anyone have any idea what could be wrong?

I'm a real newbie at EJB and would greatly appreciate any help on
this. If you've been able to get this tutorial working and know the
solution, I'd appreciate any info.

Here are the messages from the server.log from jboss file:

2003-09-04 20:23:34,009 INFO [STDOUT] Entering
StoreAccessBean.ejbCreate()
2003-09-04 20:23:34,009 ERROR [STDERR]
javax.naming.NameNotFoundException: ejb not bound
2003-09-04 20:23:34,019 ERROR [STDERR] at
org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
2003-09-04 20:23:34,019 ERROR [STDERR] at
org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
2003-09-04 20:23:34,019 ERROR [STDERR] at
org.jnp.server.NamingServer.getObject(NamingServer.java:509)
2003-09-04 20:23:34,019 ERROR [STDERR] at
org.jnp.server.NamingServer.lookup(NamingServer.java:253)
2003-09-04 20:23:34,019 ERROR [STDERR] at
org.jnp.server.NamingServer.lookup(NamingServer.java:256)
2003-09-04 20:23:34,019 ERROR [STDERR] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492)
2003-09-04 20:23:34,019 ERROR [STDERR] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:606)
2003-09-04 20:23:34,019 ERROR [STDERR] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
2003-09-04 20:23:34,019 ERROR [STDERR] at
javax.naming.InitialContext.lookup(InitialContext.java:347)
2003-09-04 20:23:34,019 ERROR [STDERR] at
au.com.tusc.bmp.CustomerUtil.getLocalHome(CustomerUtil.java:67)
2003-09-04 20:23:34,019 ERROR [STDERR] at
au.com.tusc.session.StoreAccessBean.ejbCreate(StoreAccessBean.java:78)
2003-09-04 20:23:34,019 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2003-09-04 20:23:34,019 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2003-09-04 20:23:34,019 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2003-09-04 20:23:34,019 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:324)
2003-09-04 20:23:34,019 ERROR [STDERR] at
org.jboss.ejb.StatelessSessionEnterpriseContext.<init>(StatelessSessionEnterpriseContext.java:52)
2003-09-04 20:23:34,019 ERROR [STDERR] at
org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:35)
2003-09-04 20:23:34,019 ERROR [STDERR] at
org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:146)
2003-09-04 20:23:34,019 ERROR [STDERR] at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:58)
2003-09-04 20:23:34,029 ERROR [STDERR] at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
2003-09-04 20:23:34,029 ERROR [STDERR] at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
2003-09-04 20:23:34,029 ERROR [STDERR] at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
2003-09-04 20:23:34,029 ERROR [STDERR] at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
2003-09-04 20:23:34,029 ERROR [STDERR] at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
2003-09-04 20:23:34,029 ERROR [STDERR] at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
2003-09-04 20:23:34,029 ERROR [STDERR] at
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
2003-09-04 20:23:34,029 ERROR [STDERR] at
org.jboss.ejb.Container.invoke(Container.java:674)
2003-09-04 20:23:34,029 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2003-09-04 20:23:34,029 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2003-09-04 20:23:34,029 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2003-09-04 20:23:34,029 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:324)
2003-09-04 20:23:34,029 ERROR [STDERR] at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
2003-09-04 20:23:34,029 ERROR [STDERR] at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
2003-09-04 20:23:34,029 ERROR [STDERR] at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359)
2003-09-04 20:23:34,029 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
2003-09-04 20:23:34,029 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2003-09-04 20:23:34,029 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:324)
2003-09-04 20:23:34,029 ERROR [STDERR] at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
2003-09-04 20:23:34,029 ERROR [STDERR] at
sun.rmi.transport.Transport$1.run(Transport.java:148)
2003-09-04 20:23:34,029 ERROR [STDERR] at
java.security.AccessController.doPrivileged(Native Method)
2003-09-04 20:23:34,039 ERROR [STDERR] at
sun.rmi.transport.Transport.serviceCall(Transport.java:144)
2003-09-04 20:23:34,039 ERROR [STDERR] at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
2003-09-04 20:23:34,039 ERROR [STDERR] at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
2003-09-04 20:23:34,039 ERROR [STDERR] at
java.lang.Thread.run(Thread.java:536)
2003-09-04 20:23:34,039 INFO [STDOUT] Leaving
StoreAccessBean.ejbCreate()
2003-09-04 20:23:34,039 INFO [STDOUT] Entering
StoreAccessBean.loginUser()
2003-09-04 20:23:34,039 INFO [STDOUT] Leaving
StoreAccessBean.loginUser()
2003-09-04 20:23:34,049 INFO [STDOUT] Entering
StoreAccessDAOImpl.init()
2003-09-04 20:23:34,049 INFO [STDOUT] Leaving
StoreAccessDAOImpl.init()
2003-09-04 20:23:34,049 INFO [STDOUT] Entering
StoreAccessDAOImpl.loginUser()
2003-09-04 20:23:34,079 INFO [STDOUT] Userid is U2
2003-09-04 20:23:34,079 INFO [STDOUT] Leaving
StoreAccessDAOImpl.loginUser()
2003-09-04 20:23:40,650 INFO [STDOUT] Entering
StoreAccessBean.getCustomerData()
2003-09-04 20:23:40,650 INFO [STDOUT] Error in
StoreAccessBean.getCustomerData() java.lang.NullPointerException
2003-09-04 20:23:40,650 INFO [STDOUT] Leaving
StoreAccessBean.getCustomerData()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,104
Latest member
LesliVqm09
Top