Exception when trying to create pool Object

I've been trying to get the forte 4.0ee ProductRichClient example for container managed beans to work.

After the deployment to Sun One I got following exception when I'm using the client:

18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>

INFO:

AppClient Container--

18.10.2002 10:56:20 com.iplanet.ias.appclient.Main setTagetServerProperties

INFO: ACC001:Using ClientContainer file: [C:\Sun\AppServer7\appserv\domains\domain1\server1\config\sun-acc.xml].

18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>

INFO: ACC014: ORB host name: [NOD]

18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>

INFO: ACC013: ORB port number: [3700]

18.10.2002 10:56:21 com.sun.enterprise.appclient.AppContainer preInvoke

INFO: ACC007: Initiating Login ...

18.10.2002 10:56:21 com.iplanet.ias.appclient.Main <init>

INFO: ACC009: Load Application Class: [CMPClient.SwingClient]

18.10.2002 10:56:23 com.iplanet.ias.appclient.Main <init>

INFO: Application main() finished normally

java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object ; nested exception is:

java.lang.RuntimeException: Caught Exception when trying to create pool Object

at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(Unknown Source)

at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)

at CMPServer._ProductHome_Stub.create(Unknown Source)

at CMPClient.SwingClient.AddRow_ButtonActionPerformed(SwingClient.java:127)

at CMPClient.SwingClient.access$100(SwingClient.java:24)

at CMPClient.SwingClient$2.actionPerformed(SwingClient.java:89)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.j ava:1820)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.ja va:258)

at java.awt.Component.processMouseEvent(Component.java:5021)

at java.awt.Component.processEvent(Component.java:4818)

at java.awt.Container.processEvent(Container.java:1525)

at java.awt.Component.dispatchEventImpl(Component.java:3526)

at java.awt.Container.dispatchEventImpl(Container.java:1582)

at java.awt.Component.dispatchEvent(Component.java:3367)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3074)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004)

at java.awt.Container.dispatchEventImpl(Container.java:1568)

at java.awt.Window.dispatchEventImpl(Window.java:1581)

at java.awt.Component.dispatchEvent(Component.java:3367)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java: 191)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:14 4)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

Caused by: java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object ; nested exception is:

java.lang.RuntimeException: Caught Exception when trying to create pool Object

at com.sun.enterprise.iiop.POAProtocolMgr.mapException(Unknown Source)

at com.sun.ejb.containers.BaseContainer.postInvoke(Unknown Source)

at CMPServer.ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.create(ProductEJB202 4414397_ConcreteImpl_RemoteHomeImpl.java:33)

at CMPServer._ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl_Tie._invoke(Unknown Source)

at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)

at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)

at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)

at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)

at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)

at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)

at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)

at java.lang.Thread.run(Thread.java:536)

Caused by: java.lang.RuntimeException: Caught Exception when trying to create pool Object

at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)

at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)

at com.sun.ejb.containers.EntityContainer.getPooledEJB(Unknown Source)

at com.sun.ejb.containers.EntityContainer.getContext(Unknown Source)

at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)

at CMPServer.ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.create(ProductEJB202 4414397_ConcreteImpl_RemoteHomeImpl.java:25)

... 9 more

Caused by: javax.ejb.EJBException: nested exception is: java.lang.NullPointerException

at com.sun.ejb.containers.EntityContainer$EntityContextFactory.create(Unknown Source)

... 15 more

Any thoughts on why this exception is being thrown?

Thanks for any help!

Richard

[5855 byte] By [706562] at [2007-11-25 8:24:32]
# 1
this sample has been tested by the SunONE TOOLs QAand is working. Please check your deployment descriptorsand use the cmp samples which come with S1AS to see if yourdescriptors are correct.
Guest at 2007-7-1 14:47:34 > top of Java-index,Application & Integration Servers,Application Servers...