Re: [JBoss-user] problems using local interfaces
On Wed, 17 Jul 2002, Alex Loubyansky wrote: local interfaces are not allowed to be accessed remotely. Therefore they are called local :) ok, but with respect to what is locality defined? is the use of local interfaces only allowed for EJBs and other components (Servlets, JSPs) running inside the same JBoss/JVM instance? best regards, -- aspa --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re[2]: [JBoss-user] problems using local interfaces
MA ok, but with respect to what is locality defined? is the use of local MA interfaces only allowed for EJBs and other components (Servlets, JSPs) MA running inside the same JBoss/JVM instance? exactly! -- Best regards, Alex Loubyansky --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] problems using local interfaces
On Wed, 17 Jul 2002, Marko Asplund wrote: On Wed, 17 Jul 2002, Alex Loubyansky wrote: local interfaces are not allowed to be accessed remotely. Therefore they are called local :) ok, but with respect to what is locality defined? yes, locality is defined in terms of the same JVM. is the use of local interfaces only allowed for EJBs and other components (Servlets, JSPs) running inside the same JBoss/JVM instance? best regards, -- And did they get you to trade your heroes for ghosts? Hot ashes for trees? Hot air for a cool breeze? Cold comfort for change? And did you exchange a walk on part in the war for a lead role in a cage? - PF --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] problems using local interfaces
hi i'm trying to use the local interface for a EJB session bean which i'm developing (with JBoss 3.0). the EJB client can successfully use the remote bean and home interfaces but when i change the client to use local interfaces i get the following error message from the client: javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:318) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:132) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:143) at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263) at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.rmi.MarshalledObject.get(MarshalledObject.java:138) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:449) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429) at javax.naming.InitialContext.lookup(InitialContext.java:350) at test.client.TestDocList.main(TestDocList.java) is there something i should configure on the server to make using local interface possible? i'm basically using an unmodified 'default' configuration. -- aspa --- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] problems using local interfaces
Hello Marko, local interfaces are not allowed to be accessed remotely. Therefore they are called local :) alex Tuesday, July 16, 2002, 5:23:54 PM, you wrote: MA hi MA i'm trying to use the local interface for a EJB session bean which i'm MA developing (with JBoss 3.0). the EJB client can successfully use the MA remote bean and home interfaces but when i change the client to use local MA interfaces i get the following error message from the client: MA javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no security manager: RMI class loader disabled) MA at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:318) MA at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:132) MA at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:143) MA at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918) MA at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366) MA at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) MA at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186) MA at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) MA at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263) MA at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519) MA at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412) MA at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) MA at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) MA at java.rmi.MarshalledObject.get(MarshalledObject.java:138) MA at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30) MA at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:449) MA at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429) MA at javax.naming.InitialContext.lookup(InitialContext.java:350) MA at test.client.TestDocList.main(TestDocList.java) MA is there something i should configure on the server to make using local MA interface possible? i'm basically using an unmodified 'default' MA configuration. -- Best regards, Alex Loubyansky --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user