Hello,
Last week I posted this mail and got no answer.
Really nobody has an idea about a possible solution ?
Gerard BUNEL a écrit :
Hello,
I encounter a probleme in one of my EJB when this one tries to get a
reference on another EJB which may
be (or may not be) located on another host
)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:450)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:443)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at
com.ftrd.cti.ejb.EJBCTIClientProxyBean.createServer(EJBCTIClientProxy
Bean.java:192)
Gerard BUNEL
--
[EMAIL
,then it work.
Who can tell me why?
Gerard BUNEL [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
2002-06-13 18:55
Please respond to jboss-user
To: [EMAIL PROTECTED]
cc:
Subject:Re: [JBoss-user] Unable load stub in rmi/iiop application
You probably have an EJB
Hello Francisco,
I've tried hard to find where was my problem but still not found any solution.
I've tested many configurations: using jacorb or not on client side, using a simple
COSNaming without JBoss to try to isolate the problem.
And that's the point I am: Below is the stack trace from
You probably have an EJB interface named org.omg.stub.tstejb.WellDayData for which is
also
defined the EJBHome interface
which name must be org.omg.stub.tstejb.WellDayDataHome. Then you need to use the
command:
rmic -iiop class name
on your classes to generate the corresponding Stub class
If you intend to use RMI/IIOP you should not specify this on client side:
JNDIParm.put(Context.INITIAL_CONTEXT_FACTORY,
org.jnp.interfaces.NamingContextFactory);
but instead:
JNDIParm.put(Context.INITIAL_CONTEXT_FACTORY,
com.sun.jndi.cosnaming.CNCtxFactory);
)
at com.ftrd.cti.server.CTIServerImpl.run(CTIServerImpl.java:2495)
at java.lang.Thread.run(Thread.java:484)
Francisco Reverbel a écrit :
On Fri, 7 Jun 2002, Gerard BUNEL wrote:
Francisco Reverbel a écrit :
I have seen a stack trace like this before. Aren't you using an older
JacORB version at the client
Hello Darius,
Your question and mine (related to JNDI Binding using RMI/IIOP) which
I think are related, seem to not inspire anybody in this
mailing list. Did you have any indirect answer that could help me also
?
"Schier, Darius" a crit :
Hi
Francisco,
I
had a question about the
Helo,
Still trying to use RMI/IIOP with JBoss, and still not working.
I've forced my client app to use jacorb by setting properties this way:
Properties p = new Properties();
p.put (org.omg.CORBA.ORBClass, org.jacorb.orb.ORB);
p.put( org.omg.CORBA.ORBSingletonClass,
Thanks Francisco,
Just another question. You said:
JNDI will give you IIOP references to EJBHomes if you tell it to
use the CosNaming JNDI provider and specify the IOR for the CORBA
naming service EJBHomes are registered with. You can do this by
using a client-side jndi.properties with two
Hello,
I've made some applications and EJB using BEA WebLogic on top of
RMI/IIOP.
I now need to test the deployment of such applications using JBoss with
its RMI/IIOP features.
So I've downloaded the tarball for JBoss - RMI/IIOP, compiled it, and
run it. and it works.
But I'm trying to figure
11 matches
Mail list logo