Re: MISC; Separate Tomcat-6.0.29 Connecting to JOnAS-5.1.3 Giving RMI lookup error

Loris Bouzonnet <[email protected]>
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
Dear Imad,

Where are located the RMI stubs in your webapp?

Best regards,
Loris

on 12.10.2010 16:59 Imad Hachem said the following:
>
> Dear Loris,
>
>  
>
> I am not using JONAS4 as client, but I am using a separate Tomcat-6
> Web Container connecting to JONAS5 as an Application Server using RMI
> protocol.
>
>  
>
> Note that I have copied *client.jar *file from JONAS5\lib Folder and
> put it under Tomat6\lib Folder and getting below error.
>
>  
>
> Just for clarification, the "*cmicluster*" word mentioned in the below
> error is an EJB2 class Name used in my Testing application.
>
>  
>
> Sorry for confusion.
>
>  
>
>  
>
>  
>
>  
>
> Imad Hachem | Manager S/W Eng -Dev
>
> e-Banking Department
>
> Path Solutions
>
> Tel: +961 1 697444 ext. 222
>
> Fax: +961 1 696744
>
> www.path-solutions.com <http://www.path-solutions.com>
>
>
> *Disclaimer*
> [The information contained in this e-mail message and any attached
> files are confidential information and intended solely for the use of
> the individual or entity to whom they are addressed. This transmission
> may contain information that is privileged, confidential or exempt
> from disclosure under applicable law. If you have received this e-mail
> in error, please notify the sender immediately and delete all copies.
> If you are not the intended recipient, any disclosure, copying,
> distribution, or use of the information contained herein is STRICTLY
> PROHIBITED. Path Solutions accepts no responsibility for any errors,
> omissions, computer viruses and other defects.]
>
> 	
>
>  
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> *From:*Loris Bouzonnet [mailto:[email protected]]
> *Sent:* Tuesday, October 12, 2010 5:46 PM
> *To:* [email protected]
> *Cc:* Imad Hachem; Ziad Saade
> *Subject:* Re: [jonas] MISC; Separate Tomcat-6.0.29 Connecting to
> JOnAS-5.1.3 Giving RMI lookup error
>
>  
>
> Hi Imad,
>
> I believe you are trying to port your application from JOnAS 4 to
> JOnAS 5, I'm right or not?
> Indeed this application still uses some CMI stubs for EJB clustering.
> However, in JOnAS 5, we have enhanced CMI and now these stubs
> (generated by genic) are no more required (and supported). To update
> the clustering part of your application, I suggest you to watch a
> sample of the new configuration file in the examples of the JOnAS
> distribution (for EJB2:
> examples/cluster-j2ee14/etc/xml/jonas-ejb-jar.xml).
>
> Best regards,
> Loris
>
> on 12.10.2010 16:21 Imad Hachem said the following:
>
> Dear Team,
>
>  
>
> We are connecting a separate *Tomat-6.0.29* to *JOnAS-5.1.3* but
> getting below Error during RMI lookup.
>
>  
>
> Please advice and provide which library JAR files should be placed
> under *Tomcat-6/lib* Folder in order to avoid below error after RMI
> lookup or any other configuration to be done.
>
>  
>
> Thanks in advance.
>
>  
>
>  
>
> *javax.naming.CommunicationException [Root exception is
> java.rmi.UnmarshalExcept*
>
> *ion: error unmarshalling return; nested exception is:*
>
> *        java.lang.ClassNotFoundException:
> org.ow2.jonas_gen.cmicluster.JOnASCmiC*
>
> *lusterEJB_1269133311Home_Stub (no security manager: RMI class loader
> disabled)]*
>
> *        at
> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java*
>
> *:97)*
>
> *        at javax.naming.InitialContext.lookup(InitialContext.java:355)*
>
> *        at org.ow2.carol.jndi.spi.AbsContext.lookup(AbsContext.java:142)*
>
> *        at org.ow2.carol.jndi.spi.AbsContext.lookup(AbsContext.java:152)*
>
> *        at javax.naming.InitialContext.lookup(InitialContext.java:351)*
>
> *        at javax.naming.InitialContext.lookup(InitialContext.java:351)*
>
> *        at startup.StartupServlet.loadEJB(StartupServlet.java:122)*
>
> *        at startup.StartupServlet.init(StartupServlet.java:46)*
>
> *        at javax.servlet.GenericServlet.init(GenericServlet.java:212)*
>
> *        at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.*
>
> *java:1173)*
>
> *        at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:99*
>
> *3*
>
>  
>
>  
>
>  
>
>  
>
> Imad Hachem | Manager S/W Eng -Dev
>
> e-Banking Department
>
> Path Solutions
>
> Tel: +961 1 697444 ext. 222
>
> Fax: +961 1 696744
>
> www.path-solutions.com <http://www.path-solutions.com>
>
>
>
> *Disclaimer*
> [The information contained in this e-mail message and any attached
> files are confidential information and intended solely for the use of
> the individual or entity to whom they are addressed. This transmission
> may contain information that is privileged, confidential or exempt
> from disclosure under applicable law. If you have received this e-mail
> in error, please notify the sender immediately and delete all copies.
> If you are not the intended recipient, any disclosure, copying,
> distribution, or use of the information contained herein is STRICTLY
> PROHIBITED. Path Solutions accepts no responsibility for any errors,
> omissions, computer viruses and other defects.]
>
> 	
>
>  
>
>  
>
>  
>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.