What does getProfileHome() lookup? Regards, Adrian
On Tue, 2003-09-30 at 01:04, Frank Morton wrote: > No CMRs or Collections. Just finder methods by a primary key. > > Accessing a stateless session bean from a remote machine > (actually a different jvm on the same machine planning to move > to a remote machine). The stateless session bean has a remote > interface. The stateless session beans in turn call entity beans > using local interfaces. > > Frank > > On Monday, September 29, 2003, at 04:44 PM, Adrian Brock wrote: > > > No, > > > > You are trying to access a local interface from a remote machine. > > Probably because you passing back a collection from a CMR get()? > > > > Regards, > > Adrian > > > > On Mon, 2003-09-29 at 22:38, Frank Morton wrote: > >> I'm learning this has something to do with the security manager, but > >> haven't yet found anything helpful. Any pointers anyone? > >> > >> On Monday, September 29, 2003, at 12:18 PM, Frank Morton wrote: > >> > >>> I have a bunch of entity beans only running with local interfaces. > >>> > >>> I use a session bean facade for accessing these entity beans along > >>> with value objects. > >>> > >>> Been running in a single JVM for some time without problems. > >>> > >>> Now want to move to running the servlet container on a separate > >>> system. When I move things over, I get the following exception > >>> below. Am I going to have to use remote interfaces with the entity > >>> beans (which I thought I was avoiding with the session facade)? > >>> > >>> Using 3.2.0RC2 in this case. > >>> > >>> Thanks. > >>> > >>> 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:368) > >>> at > >>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:159) > >>> at > >>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > >>> at > >>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > >>> at > >>> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > >>> a: > >>> 200) > >>> at > >>> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > >>> 3) > >>> at > >>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > >>> at > >>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > >>> 62 > >>> 6) > >>> at > >>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > >>> at > >>> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:18 > >>> 45 > >>> ) > >>> at > >>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) > >>> at > >>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > >>> 64 > >>> 6) > >>> at > >>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > >>> at > >>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > >>> at java.rmi.MarshalledObject.get(MarshalledObject.java:135) > >>> at > >>> org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:3 > >>> 0) > >>> at > >>> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514) > >>> at > >>> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471) > >>> at > >>> javax.naming.InitialContext.lookup(InitialContext.java:347) > >>> at > >>> com.base2inc.bean.util.Factory.getProfileHome(Factory.java:136) > >>> at > >>> com.base2inc.bean.value.object.ProfileValueObject.update(ProfileValue > >>> Ob > >>> ject.java:904) > >>> at > >>> com.base2inc.bean.util.CompositeContainer.update(CompositeContainer.j > >>> av > >>> a:141) > >>> at > >>> com.base2inc.bean.util.ProtectedContainer.update(ProtectedContainer.j > >>> av > >>> a:168) > >>> at > >>> com.base2inc.evaluate.profile.EditProfileStore.run(EditProfileStore.j > >>> av > >>> a:133) > >>> at > >>> com.base2inc.app.framework.JspFramework.doService(JspFramework.java:3 > >>> 11 > >>> ) > >>> at > >>> com.base2inc.app.util.HttpServletExtended.doPost(HttpServletExtended. > >>> ja > >>> va:64) > >>> at > >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > >>> at > >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > >>> at > >>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:356 > >>> ) > >>> at > >>> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati > >>> on > >>> Handler.java:294) > >>> at > >>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5 > >>> 67 > >>> ) > >>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1723) > >>> at > >>> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication > >>> Co > >>> ntext.java:514) > >>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1673) > >>> at org.mortbay.http.HttpServer.service(HttpServer.java:879) > >>> at > >>> org.mortbay.http.HttpConnection.service(HttpConnection.java:783) > >>> at > >>> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:945) > >>> at > >>> org.mortbay.http.HttpConnection.handle(HttpConnection.java:800) > >>> at > >>> org.mortbay.http.SocketListener.handleConnection(SocketListener.java: > >>> 20 > >>> 1) > >>> at > >>> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) > >>> at > >>> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454) > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------- > >>> 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 > >>> > >> > >> > >> > >> ------------------------------------------------------- > >> 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 > > -- > > xxxxxxxxxxxxxxxxxxxxxxxx > > Adrian Brock > > Director of Support > > Back Office > > JBoss Group, LLC > > xxxxxxxxxxxxxxxxxxxxxxxx > > > > > > > > ------------------------------------------------------- > > 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 > > > > > > ------------------------------------------------------- > 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 -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- 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
