I don't know what's the exact way to call EJBs locating in Oracle
container, but for WebLogic, you have to set two properties
when you want to make a call: the naming factory and the url (which
including the protocol, ip address and port of the EJB
container). You can find examples from WebLogic documents. For Inprise
Application Server, you also need to set some
properties in order to call EJBs. So, I guess for Oracle, there are also
something need to be done. The reason is if there is
no settings, by default, JRun will use it's own context and of course
cannot find any EJBs deployed in other containers.
I am not too sure about this, if you find any answer, please also let me
know.
liwen
========*_*============
CHEN LI WEN (MR.)
SYSTEMS ANALYST
ABACUS INTERNATIONAL
TEL: (65)4260796
======================
Guylaine Mailloux
<Guylaine.Mailloux@ To: JRun-Talk
<[EMAIL PROTECTED]>
sisca.com> cc:
Subject: Error calling EJB...
01/09/2001 04:17 AM
Please respond to
jrun-talk
Hi!
We are now working on a very rush project that will be deployed on approx.
50 or more sites. We need a servlet runner to call EJBs from a third party
and except for this point (that is the subject of this mail!!), JRun seems
to be our best choice. We can't find any information about the feasability
to get servlets call EJBs in a container different from JRun. This point
is important for us since we can't use anything else than Oracle 8.1.7 as
an EJB container...
We tried to do this setup with the evaluation version but could not get it
work. Here's what we tried so far:
1) In JRun Management Console, JRun Default Server, we created a new web
application
2) In classes dir, we copied all servlet files and .jars needed (with
Oracle 8.1.7 ORB Client .jars)
3) When we try to call the EJB from a servlet, we get a
javax.naming.NameNotFoundException.
-The same EJB can be called from a Java application without any problem
- It can also be called from within the same servlet run by WebToGo
(Oracle JDeveloper) without any problem.
Here's the setup we have:
EJB container: Win NT4 Server, SP6a
Oracle database 8.1.7
256Mo RAM
Web Server: We tried on 2 machines:
1) Win NT4 Workstation, SP6
Apache 1.3.12
JRun 3.0 (3.01.5870)
128 Mo RAM
2) Windows 2000
IIS 5.0
JRun 3.0 (3.01.5870)
128 Mo RAM
Is there anybody working with a similar setup? Do anybody know if it has a
chance to work? Anyone can suggest something?
Since it implies a relatively important part of our budget, we absolutely
need this information to confirm the purchase...
Thanks for your help!!!
Guylaine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists