View Single Post
  #1 (permalink)  
Old July 3rd, 2003, 10:40 PM
bbuckholz bbuckholz is offline
Registered User
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beginning J2EE 1.4 - EJB Fundamentals

Problem:
I followed steps 1 through 29 on pages 361 through 369 step by step for creating a session bean. Step 29 failed to deploy the bean. I was unable to determine the problem by referring to the Troubleshooting the Deploy section on pg 376. All other steps completed successfully. Here is an excerpt of the msg I get when I follow step 29 on pg 369. I am running on a Windows XP desktop PC with java version "1.4.1_02", Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode) installed...


----------------------------------------------------------------------
distribute: C:\8333\Ch8\SimpleSessionApp\SimpleSessionApp.ear
Deploy action running...
Contacted Server...
Application SimpleSessionApp transferred
Application SimpleSessionApp transferred
Deployment of SimpleSessionApp is complete.
Deployment of SimpleSessionApp is complete.
Completed

--- Operation Completed Successfully ---


----------------------------------------------------------------------
start: SimpleSessionApp
Running...
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: null; nested exception is:
javax.management.ReflectionException

at com.sun.corba.se.internal.iiop.ShutdownUtilDelegat e.mapSystemException(ShutdownUtilDelegate.java:61)

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

at org.omg.stub.com.sun.enterprise.tools.deployment.b ackend._JarInstaller_Stub.start(Unknown Source)

at com.sun.enterprise.deployapi.actions.ModuleStateAc tion.run(ModuleStateAction.java:58)

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

Caused by: java.rmi.RemoteException: null; nested exception is:
javax.management.ReflectionException

at com.sun.enterprise.tools.deployment.backend.JarIns tallerImpl.start(JarInstallerImpl.java:1171)

at org.omg.stub.com.sun.enterprise.tools.deployment.b ackend._JarInstallerImpl_Tie._invoke(Unknown Source)

at com.sun.corba.se.internal.corba.ServerDelegate.dis patch(ServerDelegate.java:353)

at com.sun.corba.se.internal.iiop.ORB.process(ORB.jav a:252)

at com.sun.corba.se.internal.iiop.RequestProcessor.pr ocess(RequestProcessor.java:81)

at com.sun.corba.se.internal.orbutil.ThreadPool$Poole dThread.run(ThreadPool.java:106)

Caused by: javax.management.ReflectionException

at com.sun.management.j2se.MOAgents.EmmaBeanUtil.invo ke(EmmaBeanUtil.java:346)

at com.sun.enterprise.management.model.emma.J2EEAppli cationMdlEmmaAgent.invoke(J2EEApplicationMdlEmmaAg ent.java:406)

at com.sun.jdmk.DynamicMetaDataImpl.invoke(DynamicMet aDataImpl.java:334)

at com.sun.jdmk.MetaDataImpl.invoke(MetaDataImpl.java :496)

at com.sun.jdmk.DefaultMBeanAccessor.invoke(DefaultMB eanAccessor.java:528)

at com.sun.jdmk.MBeanServerImpl.invoke(MBeanServerImp l.java:579)

at com.sun.enterprise.management.agent.MEJBUtility.in voke(MEJBUtility.java:314)

at com.sun.enterprise.management.util.J2EEManagementO bjectManager.startModule(J2EEManagementObjectManag er.java:636)

at com.sun.enterprise.tools.deployment.backend.JarIns tallerImpl.start(JarInstallerImpl.java:1161)

... 5 more



!!! Operation Failed !!!

************************************************** ********************
[Completed (time=8.7sec, status=13)]
************************************************** ********************

-----------------------------------

It would be great if you could assist. Thank you for your time.

Regards
Brian Buckholz