[JBoss-user] CMP: Local vs. Remote Interface

2003-09-29 Thread Frank Morton
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

Re: [JBoss-user] CMP: Local vs. Remote Interface

2003-09-29 Thread Frank Morton
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

Re: [JBoss-user] CMP: Local vs. Remote Interface

2003-09-29 Thread Adrian Brock
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

Re: [JBoss-user] CMP: Local vs. Remote Interface

2003-09-29 Thread Frank Morton
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

Re: [JBoss-user] CMP: Local vs. Remote Interface

2003-09-29 Thread Adrian Brock
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

Re: [JBoss-user] CMP: Local vs. Remote Interface

2003-09-29 Thread Frank Morton
The getProfileHome() looks up an cmp entity bean that only has a local interface. The code looks like: static public ProfileHome getProfileHome() throws NamingException { InitialContext jndiContext = getContext(); ProfileHome profileHome =