[JBoss-user] [JNDI/Naming/Network] - RMI and JBoss
Ok I have searched the web and doc for my answer so I dont feel too bad asking, but I really need some clearification on the matter. I see that JBoss supports RMI over many protocols (JRMP/IIOP/HTTP) I am assuming that by default IIOP is port 1098 JRMP is port If I have a traditional set of stubs/skeletons can I do a Naming.bind(//server:/name,refRemoteObj); with Jboss? I dont see this in the documentation anywhere. Maybe RMI/JRMP use is either discouraged or taken for granted. Can anyone help out here? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919042#3919042 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919042 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - I seem to be having a simular problem
I know j2ee servers run RMI/IIOP but my understandding is that it is compatiple with RMI/JRMP. I deployed an application in to JBoss today that was compiled with the standard RMIC and when it attempts to bind to the RMI port running on jboss (1098) I get the following error. 07:50:00,234 ERROR [RmiJcrClientRepository] binding failure [java.rmi.ConnectIOException: non-JRMP server at remote endpoint] 07:50:17,019 ERROR [RemoteContentRepositoryServicesFactory] binding failure [java.rmi.NoSuchObjectException: no such object in table] What is the deal with RMI/IIOP? Do I need special stubs/Skeletons? I noticed i get similar results even if I try to bind from an app in jboss to the basic rmiregistry running outside of jboss. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918912#3918912 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918912 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: I seem to be having a simular problem
rdanner wrote : I know j2ee servers run RMI/IIOP but my understandding is that it is compatiple with RMI/JRMP. | | I deployed an application in to JBoss today that was compiled with the standard RMIC and when it attempts to bind to the RMI port running on jboss (1098) I get the following error. | | 07:50:00,234 ERROR [RmiJcrClientRepository] binding failure [java.rmi.ConnectIOException: non-JRMP server at remote endpoint] | 07:50:17,019 ERROR [RemoteContentRepositoryServicesFactory] binding failure [java.rmi.NoSuchObjectException: no such object in table] | | What is the deal with RMI/IIOP? Do I need special stubs/Skeletons? I noticed i get similar results even if I try to bind from an app in jboss to the basic rmiregistry running outside of jboss. | Currently I am looking at recompiling (rmic) with -iiop RMI-IIOP utilizes the Java CORBA Object Request Broker (ORB) and IIOP, so you can write all of your code in the Java programming language, and use the rmic compiler to generate the code necessary for connecting your applications via the Internet InterORB Protocol (IIOP) to others written in any CORBA-compliant language. To work with CORBA applications in other languages, IDL can be generated from Java programming language interfaces using the rmic compiler with the -idl option. To generate IIOP stubs and tie classes, use the rmic compiler with the -iiop option. For more information on using rmic, link to rmic - The Java RMI Compiler. When should I use RMI-IIOP? RMI-IIOP is for developers who program in the Java programming language and want to program to the RMI interfaces, but use IIOP as the underlying transport. RMI-IIOP provides interoperability with other CORBA objects implemented in various languages - but only if all the remote interfaces are originally defined as Java RMI interfaces. It is of particular interest to programmers using Enterprise JavaBeansTM (EJBTM), since the remote object model for EJB components is based on the RMI API. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918913#3918913 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918913 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: I seem to be having a simular problem
rdanner wrote : rdanner wrote : I know j2ee servers run RMI/IIOP but my understandding is that it is compatiple with RMI/JRMP. | | | | I deployed an application in to JBoss today that was compiled with the standard RMIC and when it attempts to bind to the RMI port running on jboss (1098) I get the following error. | | | | 07:50:00,234 ERROR [RmiJcrClientRepository] binding failure [java.rmi.ConnectIOException: non-JRMP server at remote endpoint] | | 07:50:17,019 ERROR [RemoteContentRepositoryServicesFactory] binding failure [java.rmi.NoSuchObjectException: no such object in table] | | | | What is the deal with RMI/IIOP? Do I need special stubs/Skeletons? I noticed i get similar results even if I try to bind from an app in jboss to the basic rmiregistry running outside of jboss. | | | | Currently I am looking at recompiling (rmic) with -iiop | | | RMI-IIOP utilizes the Java CORBA Object Request Broker (ORB) and IIOP, so you can write all of your code in the Java programming language, and use the rmic compiler to generate the code necessary for connecting your applications via the Internet InterORB Protocol (IIOP) to others written in any CORBA-compliant language. To work with CORBA applications in other languages, IDL can be generated from Java programming language interfaces using the rmic compiler with the -idl option. To generate IIOP stubs and tie classes, use the rmic compiler with the -iiop option. For more information on using rmic, link to rmic - The Java RMI Compiler. | When should I use RMI-IIOP? | | RMI-IIOP is for developers who program in the Java programming language and want to program to the RMI interfaces, but use IIOP as the underlying transport. RMI-IIOP provides interoperability with other CORBA objects implemented in various languages - but only if all the remote interfaces are originally defined as Java RMI interfaces. It is of particular interest to programmers using Enterprise JavaBeansTM (EJBTM), since the remote object model for EJB components is based on the RMI API. | | Well I compiled with the -iiop and now I get a different error java.net.ConnectException: Connection refused: connect I would have thought I would have got this prior to getting the non-JRMP error. My hunch is that this is a policy issue? anyone know? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918918#3918918 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918918 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: I seem to be having a simular problem
Well... I just looked at my server policy and it seems to indicate that it's not a policy issue :) grant { // Allow everything for now permission java.security.AllPermission; }; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918920#3918920 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918920 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: I seem to be having a simular problem
Ugh :) on Naming.bing(x,x) I get: error marshalling arguments Software caused connection abort: socket write error View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918923#3918923 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918923 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: I seem to be having a simular problem
rdanner wrote : Ugh :) | | on Naming.bing(x,x) I get: | | error marshalling arguments | Software caused connection abort: socket write error Ok I am basically out of ideas, I am running the JBOSS server in default mode which seems to be running RMI/IIOP. I have changed by interfaces to PortableRemoteObject, compiled with rmic -iiop and switched to InitialContext vNamingContext = new InitialContext(); vRemoteRepository = vRemoteAdapterFactory.getRemoteRepository(vInstActualRepository); vNamingContext.bind(vInstRemoteRepositoryMoniker, vRemoteRepository); In the end I get a CommunicationException with a root exception of org.apache.jackrabbit.rmi.server.ServerRepository ServerRepository extends a class that extends PortableRemoteObject but ServerRepository has private reference to objects which are not serializable such as Repository (the actual repository). Repository is not serializable. This all worked under RMI/JRMP. I am not a RMI wizard and I am a little tired so I have kinda shut down at this point but i think i need a hint here or some leads View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918984#3918984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918984 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user