Hi,
During heavy test of my CMP picture bean (mapped to a table with a BLOB),
deadlocks occur when I try to access it concurently from different clients,
a threaded java application, a web client and a proprietary messaging
service within orion
The result is that my db table is no more accessible and I don't get any
exceptions
Could someone give me a push on this issue. I'm stucked on it for the day
Hadi
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tim Endres
Sent: mercredi, 17. janvier 2001 19:10
To: Orion-Interest
Cc: Claes Theander
Subject: Re: Stand-alone-client
Try using:
prop.setProperty(
"java.naming.factory.initial",
"com.evermind.server.rmi.ApplicationClientInitialContextFactory");
> Hello!
>
> I'm trying to connect to my EJB's from a stand alone client like this:
>
> Properties prop = new Properties();
>
>
prop.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMII
nitialContextFactory");
>
>
> prop.setProperty("java.naming.provider.url","ormi://localhost/myApp");
> prop.setProperty("java.naming.security.principal","admin");
> prop.setProperty("java.naming.security.credentials","123");
> Context con = new InitialContext(prop);
> boundObject = con.lookup("java:comp/env/ejb/XXXHome");
> xxxHome =
> (XXXHome)PortableRemoteObject.narrow(boundObject,XXXHome.class);
>
> Im getting this error message:
> "javax.naming.NameNotFoundException: java:comp/env/ejb/XXXXXXHome not
> found."
> I know that the EJB's are working cause I'm able to access them from a
> jsp-page.
> I have refs to the EJB in application-client.xml.
>
> Any suggestions ?
> /C.
>
>
>
>
>