Vijay mentions some good things to check. It might also help to set the
classServer host in local.properties to the real IP of the machine, rather
than 127.0.0.1. You set this on the EJB server, not the Servlet server.
The Servlet engine server should have the EJB and JMS services disabled, and
your Servlets must have the ejipt_client.jar or ejipt.jar in their classpath
so they can load Ejipt's JNDI Context factory. Also make sure you are not
overriding settings in local.properties by setting them again in
deploy.properties.
One question is why are you separating the EJB and Servlet engine on the
same machine? For testing purposes? The communication between Servlet and
EJB will be much faster if they are in the same JVM, so I am just wondering
why separate them out?
Scott Stirling
JRun QA
Macromedia
> -----Original Message-----
> From: Vijay Menon [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 03, 2001 3:08 AM
> To: JRun-Talk
> Subject: Re: Ist it possible to seperate EJB and Servlet Server?
>
>
> When u set up servers in JRun, each server is completely
> independent. It
> looks like the servlet is trying to locate the ejbs by
> looking on the same
> port as itself. Check which port the servlet is using to
> connect to the ejb
> server because that would be the most likely reason
>
> Also, if the site is protected by a firewall, check that the
> port is open
> for the second server but of course, in that case, a naming
> exception will
> not be thrown.
>
> Vijay
>
> ----- Original Message -----
> From: "Alexander Sommer" <[EMAIL PROTECTED]>
> To: "JRun-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, August 03, 2001 4:39 PM
> Subject: AW: Ist it possible to seperate EJB and Servlet Server?
>
>
> > Yes, I have two server in the server directory of jrun. One is
> > configured as servlet/jsp server with no ejb-service enabled in
> > the local.properties. The other one is the ejb server with no
> > web-app enabled, so it hosts only the ejb's. The are deployed
> > on that server and all loaded (the event-log) says that.
> > But when I call an servlet on the servlet server, I get an
> > naming exception. I think thats because the two server do not
> > have the same jndi-context! But the question is how to go around
> > that?
> >
> > Alex
> >
> > -----Urspr�ngliche Nachricht-----
> > Von: Vijay Menon [mailto:[EMAIL PROTECTED]]
> > Gesendet: Freitag, 03. August 2001 08:26
> > An: JRun-Talk
> > Betreff: Re: Ist it possible to seperate EJB and Servlet Server?
> >
> >
> > If I get it right, u r trying to set up 1 server jvm
> process listening on
> > port A trying to talk to another server process on a
> different port B?
> What
> > error is it throwing? is it a javax.naming exception or
> what? Maybe the
> 2nd
> > server is not actually hosting the ejbs, so to speak?
> >
> > ----- Original Message -----
> > From: "Alexander Sommer" <[EMAIL PROTECTED]>
> > To: "JRun-Talk" <[EMAIL PROTECTED]>
> > Sent: Friday, August 03, 2001 4:04 PM
> > Subject: AW: Ist it possible to seperate EJB and Servlet Server?
> >
> >
> > > Yes, I want to have the two servers on the same machine! So as I
> > understand,
> > > I don't need to change anything, because I turned off at
> one machine the
> > > EJB-Engine so the call to 127.0.0.1:2323 goes to the
> second VM. But
> > > it doesn't work for me!
> > >
> > > Alex
> > >
> > > -----Urspr�ngliche Nachricht-----
> > > Von: Mark Phelps [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Donnerstag, 02. August 2001 19:25
> > > An: JRun-Talk
> > > Betreff: RE: Ist it possible to seperate EJB and Servlet Server?
> > >
> > >
> > > Are you talking about having the two servers separate but
> on the same
> > > machine or do you mean two JRun servers running on
> different machines.
> > >
> > > It should be simple to have JRun on one machine running
> the JSPs while a
> > > second machine hosts the EJBs. You would just have to
> make sure that
> the
> > > code that looks up the EJBs uses the right URL.
> > >
> > > -----Original Message-----
> > > From: Alexander Sommer [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, August 02, 2001 9:42 AM
> > > To: JRun-Talk
> > > Subject: Ist it possible to seperate EJB and Servlet Server?
> > >
> > >
> > > Hi,
> > >
> > > Is it possible to seperate the ejb and servlet server?
> > > I want to create two server instances, one for servlets and
> > > jsp and one for the ejb's. At the moment all works if i use
> > > one server, but if I seperate the ejb's, the EJB-server doesn't
> > > find the ejb's!
> > >
> > > thanks,
> > >
> > > Alex
> > >
> > > Dipl. Ing. Alexander Sommer
> > > Software Development Manager
> > >
> > > TIScover - Travel Information Systems
> > > http://www.TIScover.com - the travel network
> > >
> > > Softwarepark Hagenberg, Hauptstr. 99
> > > A-4232 Hagenberg/Austria
> > > +43(7236)3343-777 (phone)
> > > +43(7236)3343-782 (fax)
> > > e-mail: [EMAIL PROTECTED]
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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