geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor" <jga...@gmail.com>
Subject Re: J2EE application client in geronimo 2.0.2
Date Wed, 02 Jan 2008 15:19:39 GMT
Try the following command:

java -Djava.endorsed.dirs="D:\geronimo-tomcat6-jee5-2.0.2\lib\endorsed"
-jar D:\geronimo-tomcat6-jee5-2.0.2/bin/client.jar
JEE5/EXAMPLEClient/1.1/car

You need to add the endorsed override directory property.

Jarek

On Jan 2, 2008 7:57 AM, ivanrc <iriano@indra.es> wrote:
>
> I have managed to deploy the application client into a clear Apache Geronimo
> 2.0.2.
>
> Before I had got a two instances of apache geronimo running into the same
> machine and I don´t know because with this configuration application client
> doesn´t run well.
>
>
> Now It run but when main method finish, Into console appears this exception
> (java.lang.NoClassDefFoundError:
> org/apache/yoko/orb/OB/UnsentMessage):
>
> This is the console´s prompt:
>
> D:\temp\ejb3\geronimo_client>java -jar
> D:\geronimo-tomcat6-jee5-2.0.2/bin/client
> .jar JEE5/EXAMPLEClient/1.1/car
> 13:48:47,671 INFO  [Log4jService]
> ----------------------------------------------
>
> 13:48:47,671 INFO  [Log4jService] Started Logging Service
> 13:48:47,671 INFO  [Log4jService] Runtime Information:
> 13:48:47,671 INFO  [Log4jService]   Install Directory =
> D:\geronimo-tomcat6-jee5
> -2.0.2
> 13:48:47,671 INFO  [Log4jService]   JVM in use = Sun Microsystems Inc. Java
> 1.6.
> 0_01
> 13:48:47,671 INFO  [Log4jService] Java Information:
> 13:48:47,671 INFO  [Log4jService]   System property [java.runtime.name]  =
> Java(
> TM) SE Runtime Environment
> 13:48:47,671 INFO  [Log4jService]   System property [java.runtime.version]
> = 1.
> 6.0_01-b06
> 13:48:47,671 INFO  [Log4jService]   System property [os.name]             =
> Wind
> ows 2000
> 13:48:47,671 INFO  [Log4jService]   System property [os.version]          =
> 5.0
> 13:48:47,687 INFO  [Log4jService]   System property [sun.os.patch.level]  =
> Serv
> ice Pack 4
> 13:48:47,687 INFO  [Log4jService]   System property [os.arch]             =
> x86
> 13:48:47,687 INFO  [Log4jService]   System property [java.class.version]  =
> 50.0
>
> 13:48:47,687 INFO  [Log4jService]   System property [locale]              =
> es_E
> S
> 13:48:47,687 INFO  [Log4jService]   System property [unicode.encoding]    =
> Unic
> odeLittle
> 13:48:47,687 INFO  [Log4jService]   System property [file.encoding]       =
> Cp12
> 52
> 13:48:47,687 INFO  [Log4jService]   System property [java.vm.name]        =
> Java
>  HotSpot(TM) Client VM
> 13:48:47,687 INFO  [Log4jService]   System property [java.vm.vendor]      =
> Sun
> Microsystems Inc.
> 13:48:47,687 INFO  [Log4jService]   System property [java.vm.version]     =
> 1.6.
> 0_01-b06
> 13:48:47,687 INFO  [Log4jService]   System property [java.vm.info]        =
> mixe
> d mode, sharing
> 13:48:47,687 INFO  [Log4jService]   System property [java.home]           =
> C:\A
> rchivos de programa\Java\jre1.6.0_01
> 13:48:47,687 INFO  [Log4jService]   System property [java.classpath]      =
> null
>
> 13:48:47,687 INFO  [Log4jService]   System property [java.library.path]   =
> C:\W
> INNT\system32;.;C:\WINNT\Sun\Java\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\system
> 32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Orawin95;C:\Orawin95\Bin;D:\ARCHIV~1\ULTRA
> E~1;D:\Archivos de
> programa\Rational\ClearQuest;D:\dev\software\TIBCO\TIBRV\BIN;
> C:\Archivos de programa\SecureCRT 3.0;D:\oracle\bin;C:\Archivos de
> programa\GNU\
> WinCvs 1.3\CVSNT;D:\Archivos de programa\MySQL\MySQL Server
> 4.1\bin;D:\TIBCO\TIB
> RV\BIN;D:\Dev-Cpp\bin;D:\workspace\JNItest\compile;D:\Archivos de
> programa\maven
> -2.0.6\bin;D:\ARCHIV~1\IDMCOM~1\ULTRAE~1;C:\Archivos de
> programa\Java\jdk1.5.0_0
> 7\bin;D:\OpenSSL\bin;C:\Archivos de programa\Microsoft SQL
> Server\90\Tools\binn\
> ;D:\Archivos de
> programa\apache-ant-1.7.0\bin;D:\db-derby-10.3.1.4-bin\bin;C:\OR
> AWIN95\BIN;
> 13:48:47,718 INFO  [Log4jService]   System property [java.endorsed.dirs]  =
> C:\A
> rchivos de programa\Java\jre1.6.0_01\lib\endorsed
> 13:48:47,734 INFO  [Log4jService]   System property [java.ext.dirs]       =
> C:\A
> rchivos de programa\Java\jre1.6.0_01\lib\ext;C:\WINNT\Sun\Java\lib\ext
> 13:48:47,750 INFO  [Log4jService]   System property [sun.boot.class.path] =
> C:\A
> rchivos de programa\Java\jre1.6.0_01\lib\resources.jar;C:\Archivos de
> programa\J
> ava\jre1.6.0_01\lib\rt.jar;C:\Archivos de
> programa\Java\jre1.6.0_01\lib\sunrsasi
> gn.jar;C:\Archivos de programa\Java\jre1.6.0_01\lib\jsse.jar;C:\Archivos de
> prog
> rama\Java\jre1.6.0_01\lib\jce.jar;C:\Archivos de
> programa\Java\jre1.6.0_01\lib\c
> harsets.jar;C:\Archivos de programa\Java\jre1.6.0_01\classes
> 13:48:47,765 INFO  [Log4jService]
> ----------------------------------------------
>
> CLIENT RUNNING...
> 13:48:56,500 ERROR [GBeanInstance] Problem in doStop of
> org.apache.geronimo.conf
> igs/client-corba-yoko/2.0.2/car?ServiceModule=org.apache.geronimo.configs/client
> -corba-yoko/2.0.2/car,j2eeType=CORBABean,name=Server
> java.lang.NoSuchMethodError:
> org.omg.PortableInterceptor.IORInterceptor_3_0.adap
> ter_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(POAMa
> nager_impl.java:360)
>         at
> org.apache.yoko.orb.OBPortableServer.POAManagerFactory_impl._OB_deact
> ivate(POAManagerFactory_impl.java:342)
>         at
> org.apache.yoko.orb.OB.ORBControl.completeServerShutdown(ORBControl.j
> ava:100)
>         at
> org.apache.yoko.orb.OB.ORBControl.shutdownServer(ORBControl.java:427)
>
>         at
> org.apache.yoko.orb.OB.ORBControl.shutdownServerClient(ORBControl.jav
> a:455)
>         at org.apache.yoko.orb.OBCORBA.ORB_impl.destroy(ORB_impl.java:1390)
>         at org.apache.geronimo.corba.CORBABean.doStop(CORBABean.java:260)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBean
> Instance.java:1159)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(
> GBeanInstanceState.java:339)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstan
> ceState.java:188)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.ja
> va:561)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.ja
> va:423)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstan
> ceState.java:180)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.ja
> va:561)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.ja
> va:423)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstan
> ceState.java:180)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.ja
> va:561)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.ja
> va:423)
>         at
> org.apache.geronimo.kernel.config.KernelConfigurationManager$Shutdown
> Hook.run(KernelConfigurationManager.java:316)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(Basi
> cKernel.java:668)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.jav
> a:645)
>         at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper$1.run(M
> ainConfigurationBootstrapper.java:76)
> Exception in thread "Yoko:Server:StarterThread"
> java.lang.NoClassDefFoundError:
> org/apache/yoko/orb/OB/UnsentMessage
>         at org.apache.yoko.orb.OB.MessageQueue.add(MessageQueue.java:45)
>         at
> org.apache.yoko.orb.OB.GIOPConnectionThreaded.gracefulShutdown(GIOPCo
> nnectionThreaded.java:261)
>         at
> org.apache.yoko.orb.OB.GIOPConnection.setState(GIOPConnection.java:14
> 80)
>         at
> org.apache.yoko.orb.OB.GIOPServerStarterThreaded.starterRun(GIOPServe
> rStarterThreaded.java:246)
>         at
> org.apache.yoko.orb.OB.GIOPServerStarterThreaded$StarterThread.run(GI
> OPServerStarterThreaded.java:34)
>
> D:\temp\ejb3\geronimo_client>pause
> Presione una tecla para continuar . . .
> --
> View this message in context: http://www.nabble.com/J2EE-application-client-in-geronimo-2.0.2-tp14434684s134p14577673.html
>
> Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
>
>

Mime
View raw message