Thanks a lot for your example :-)
But something is wrong with your example :-(
This is output from Orion console:
getting reference...
Got reference
LoginBean EJBHome
class LoginHome_StatelessSes
ERROR processing request!
java.lang.ClassCastException
This is html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1250"></HEAD>
<BODY><XMP></XMP></BODY></HTML>
Could you also send source?
How can I explicitly specify server and application where my EJB's are?
If I have same ejb in different application I must specify tha application.
Thanks again :-)
Denis Kranjcec
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Harley Rana
Sent: Friday, June 01, 2001 2:59 AM
To: Orion-Interest
Subject: RE: configuration of web tier (JNDI)
Forgot the files!!
Hey I've put together an example for you with a EJB that returns a Boolean
to a servlet if the user name and pass are "admin" "pass".
The changes that I made to the config files are;
in server.xml ;
<application name="LoginEJB"
path="e:\orion1.4.5\applications\LoginEJB.ear"/>
<application name="LoginWEB"
path="e:\orion1.4.5\applications\LoginSite.ear"/>
in application.xml;
<web-module id="LoginWEB" path="../applications/LoginWEB.war" />
in default-web-site.xml;
<default-web-app application="default" name="LoginWEB" />
Then just put the 3 files in the application directory, and change the
password in the servlet.
It should work, let me know how it goes.
Harley.