[ https://issues.apache.org/jira/browse/GERONIMO-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ying Tang closed GERONIMO-4578. ------------------------------- Resolution: Fixed Fix Version/s: 2.1 2.2 Updated the commands for 2.1 and 2.2 docs. Close this bug. > The commands for running the application client don't work. > ----------------------------------------------------------- > > Key: GERONIMO-4578 > URL: https://issues.apache.org/jira/browse/GERONIMO-4578 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: documentation > Affects Versions: 2.1, 2.2 > Environment: Windows XP SP3 + IBM JDK 6 > Reporter: Ying Tang > Priority: Trivial > Fix For: 2.2, 2.1 > > > In the page "Using Java Persistence API in application client" in 2.1 doc > (http://cwiki.apache.org/GMOxDOC21/using-java-persistence-api-in-application-client.html) > and "Deploying and running JPA application client" in 2.2 doc > (http://cwiki.apache.org/GMOxDOC22/deploying-and-running-jpa-application-client.html): > The commands in the last section (list, update, create, delete) are not > working. > Steps: > 1. Develop an application client following the instructions in the doc. > 2. Export the JAR file. > 3. Deploy the .jar to the server using deploy the command. > 4. Run the application client using the command : > <geronimo_home>/bin>java -Djava.endorsed.dirs="<geronimo_home>/lib/endorsed" > -jar <geronimo_home>/bin/client.jar AccountJPA/AccountJPA-app-client/3.0/jar > list > Error log: > 2009-03-09 15:53:59,218 ERROR [GBeanInstance] Problem in doStop of > org.apache.geronimo.configs/client-corba-yoko/2.1.4-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/client-corba-yoko/2.1.4-SNAPSHOT/car,j2eeType=CORBABean,name=Server > java.lang.NoSuchMethodError: > org/omg/PortableInterceptor/IORInterceptor_3_0.adapter_manager_state_changed(Ljava/lang/String;S)V > at > org.apache.yoko.orb.OB.PIManager.adapterManagerStateChange(PIManager.java:532) > at > org.apache.yoko.orb.OBPortableServer.POAManager_impl.deactivate(POAManager_impl.java:368) > at > org.apache.yoko.orb.OBPortableServer.POAManagerFactory_impl._OB_deactivate(POAManagerFactory_impl.java:343) > at > org.apache.yoko.orb.OB.ORBControl.completeServerShutdown(ORBControl.java:100) > at org.apache.yoko.orb.OB.ORBControl.shutdownServer(ORBControl.java:427) > at > org.apache.yoko.orb.OB.ORBControl.shutdownServerClient(ORBControl.java:455) > at org.apache.yoko.orb.OBCORBA.ORB_impl.destroy(ORB_impl.java:1393) > at org.apache.geronimo.corba.CORBABean.doStop(CORBABean.java:260) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1161) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:339) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:188) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:563) > at > org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:563) > at > org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfigurationManager.java:336) > at > org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(BasicKernel.java:668) > at > org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.java:645) > at > org.apache.geronimo.kernel.util.MainConfigurationBootstrapper$1.run(MainConfigurationBootstrapper.java:76) > We can use client.bat/sh instead. For example, > <GERONIMO_HOME>/client.bat AccountJPA/AccountJPA-app-client/3.0/jar list > Any comments? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.