Hi Binod, Sivakumar
My simple-client.bat below -
set
APPCPATH="C:\Sun\jstudio_ent8\AppServ8.1UR2\domains\domain1\applications\j2ee-modules\genericra\genericra.jar"
appclient -client build/assemble/client/mdb-simpleClient.jar -name
SimpleMessageClient -textauth -xml
C:/Sun/jstudio_ent8/AppServ8.1UR2/domains/domain1/config/sun-acc.xml
So, I still cannot figure out why this does not work.
Thanks for your further help!
Sivakumar Thyagarajan wrote:
>Hi Max
>
>
>>>------------------------------------------------------------------------
>>>
>>> The original attachment - simple-client.bat - has been removed from this
>>> message, as it is a type of file which has recently been used
>>> to carry viruses and other malicious software.
>>>
>>>
>It appears that APPCPATH is somehow not set, since the client log shows
>that the client still cannot find the RA class. Could you paste your
>simple-client.bat inline, as the batch file seems to be rejected by the
>mail server.?
>
>--Siva
>
>Max Poon wrote:
>
>
>>Hi Binod, pls see inline. Attached the simple-client.bat and generated
>>simple-client1.log.
>>
>>Binod wrote:
>>
>>
>>>Max Poon wrote:
>>>
>>>
>>>>Binod, thanks. Pls see inline.
>>>>
>>>>Binod wrote:
>>>>
>>>>
>...
>
>
>>------------------------------------------------------------------------
>>
>> The original attachment - simple-client.bat - has been removed from this
>> message, as it is a type of file which has recently been used
>> to carry viruses and other malicious software.
>>
>> The following extensions are no longer supported as valid
>> email attachments and will be removed since they are primarily
>> used to carry viruses and other malicious software:
>>
>> asp bas bat chm cmd com exe hlp hta inf isp js jse lnk msi mst
>> pcd pif reg scr url vbe vbs ws wsh sun.com.zip
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>Jan 14, 2006 12:29:31 AM com.sun.enterprise.appclient.Main setTargetServerProperties
>>INFO: ACC001:Using ClientContainer file: [C:/Sun/jstudio_ent8/AppServ8.1UR2/domains/domain1/config/sun-acc.xml].
>>Jan 14, 2006 12:29:32 AM com.sun.enterprise.appclient.Main <init>
>>INFO: ACC014: ORB host name: [maxpoon-tecra.asia.sun.com]
>>Jan 14, 2006 12:29:32 AM com.sun.enterprise.appclient.Main <init>
>>INFO: ACC013: ORB port number: [3700]
>>Jan 14, 2006 12:29:33 AM com.sun.corba.ee.spi.logging.LogWrapperBase doLog
>>INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/4827"
>>Jan 14, 2006 12:29:34 AM com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
>>SEVERE: RAR6001 : Class Not found : com.sun.genericra.GenericJMSRA
>>Jan 14, 2006 12:29:34 AM com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
>>SEVERE:
>>com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
>> at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
>> at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
>> at com.sun.enterprise.naming.factory.AdministeredObjectFactory.getObjectInstance(AdministeredObjectFactory.java:75)
>> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>> at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
>> at javax.naming.InitialContext.lookup(InitialContext.java:351)
>> at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:335)
>> at com.sun.enterprise.appclient.AppContainer.preInvoke(AppContainer.java:132)
>> at com.sun.enterprise.appclient.Main.<init>(Main.java:379)
>> at com.sun.enterprise.appclient.Main.main(Main.java:97)
>>Caused by: java.lang.ClassNotFoundException: com.sun.genericra.GenericJMSRA
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:164)
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
>> ... 10 more
>>Jan 14, 2006 12:29:34 AM com.sun.enterprise.naming.SerialContext lookup
>>SEVERE: NAM0004: Exception during name lookup : {0}
>>com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
>> at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
>> at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
>> at com.sun.enterprise.naming.factory.AdministeredObjectFactory.getObjectInstance(AdministeredObjectFactory.java:75)
>> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>> at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
>> at javax.naming.InitialContext.lookup(InitialContext.java:351)
>> at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:335)
>> at com.sun.enterprise.appclient.AppContainer.preInvoke(AppContainer.java:132)
>> at com.sun.enterprise.appclient.Main.<init>(Main.java:379)
>> at com.sun.enterprise.appclient.Main.main(Main.java:97)
>>Caused by: java.lang.ClassNotFoundException: com.sun.genericra.GenericJMSRA
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:164)
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
>> ... 10 more
>>Jan 14, 2006 12:29:34 AM com.sun.enterprise.naming.NamingManagerImpl bindObjects
>>SEVERE: NAM0006: JMS Destination object not found: mdbReplyQueue
>>Jan 14, 2006 12:29:34 AM com.sun.enterprise.naming.NamingManagerImpl bindObjects
>>SEVERE: javax.naming.CommunicationException
>>javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR]
>> at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:328)
>> at javax.naming.InitialContext.lookup(InitialContext.java:351)
>> at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:335)
>> at com.sun.enterprise.appclient.AppContainer.preInvoke(AppContainer.java:132)
>> at com.sun.enterprise.appclient.Main.<init>(Main.java:379)
>> at com.sun.enterprise.appclient.Main.main(Main.java:97)
>>Caused by: com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
>> at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
>> at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
>> at com.sun.enterprise.naming.factory.AdministeredObjectFactory.getObjectInstance(AdministeredObjectFactory.java:75)
>> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>> at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
>> ... 5 more
>>Caused by: java.lang.ClassNotFoundException: com.sun.genericra.GenericJMSRA
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:164)
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
>> ... 10 more
>>Jan 14, 2006 12:29:34 AM com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
>>SEVERE: RAR6001 : Class Not found : com.sun.genericra.GenericJMSRA
>>Jan 14, 2006 12:29:34 AM com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
>>SEVERE:
>>com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
>> at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
>> at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
>> at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
>> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>> at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
>> at javax.naming.InitialContext.lookup(InitialContext.java:351)
>> at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:529)
>> at com.sun.enterprise.appclient.AppContainer.preInvoke(AppContainer.java:132)
>> at com.sun.enterprise.appclient.Main.<init>(Main.java:379)
>> at com.sun.enterprise.appclient.Main.main(Main.java:97)
>>Caused by: java.lang.ClassNotFoundException: com.sun.genericra.GenericJMSRA
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:164)
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
>> ... 10 more
>>Jan 14, 2006 12:29:34 AM com.sun.enterprise.naming.SerialContext lookup
>>SEVERE: NAM0004: Exception during name lookup : {0}
>>com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
>> at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
>> at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
>> at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
>> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>> at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
>> at javax.naming.InitialContext.lookup(InitialContext.java:351)
>> at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:529)
>> at com.sun.enterprise.appclient.AppContainer.preInvoke(AppContainer.java:132)
>> at com.sun.enterprise.appclient.Main.<init>(Main.java:379)
>> at com.sun.enterprise.appclient.Main.main(Main.java:97)
>>Caused by: java.lang.ClassNotFoundException: com.sun.genericra.GenericJMSRA
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:164)
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
>> ... 10 more
>>Jan 14, 2006 12:29:34 AM com.sun.enterprise.appclient.Main <init>
>>INFO: ACC009: Load Application Class: [samples.ejb.mdb.simple.client.SimpleMessageClient]
>>Jan 14, 2006 12:29:34 AM com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
>>SEVERE: RAR6001 : Class Not found : com.sun.genericra.GenericJMSRA
>>Jan 14, 2006 12:29:34 AM com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
>>SEVERE:
>>com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
>> at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
>> at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
>> at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
>> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>> at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
>> at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:759)
>> at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:132)
>> at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
>> at javax.naming.InitialContext.lookup(InitialContext.java:351)
>> at samples.ejb.mdb.simple.client.SimpleMessageClient.main(Unknown Source)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:237)
>> at com.sun.enterprise.appclient.Main.<init>(Main.java:426)
>> at com.sun.enterprise.appclient.Main.main(Main.java:97)
>>Caused by: java.lang.ClassNotFoundException: com.sun.genericra.GenericJMSRA
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:164)
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
>> ... 17 more
>>Jan 14, 2006 12:29:34 AM com.sun.enterprise.naming.SerialContext lookup
>>SEVERE: NAM0004: Exception during name lookup : {0}
>>com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
>> at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
>> at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
>> at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
>> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>> at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
>> at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:759)
>> at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:132)
>> at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
>> at javax.naming.InitialContext.lookup(InitialContext.java:351)
>> at samples.ejb.mdb.simple.client.SimpleMessageClient.main(Unknown Source)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:237)
>> at com.sun.enterprise.appclient.Main.<init>(Main.java:426)
>> at com.sun.enterprise.appclient.Main.main(Main.java:97)
>>Caused by: java.lang.ClassNotFoundException: com.sun.genericra.GenericJMSRA
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:164)
>> at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
>> ... 17 more
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
>>For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
>For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>
>
>
>