Help with deploying EJBs

2000-09-20 Thread Harley Rana
://203.87.61.77:82 harley rana -deploy -file -deploymentName hey d:\ejb\hey.ear Please help!! Thanks Harley Rana - Powered by http://www.telstra.com

Simple steps to deploy a stateless session Bean.

2000-09-21 Thread Harley Rana
Hi i am having alot of trouble just deploying anything. I would really appreciate if someone could give the step by step way to deploy a sime stateless session bean. note i have got the server started and runnign jsp. Thanks alot for your help! Harley Rana

How to deploy simple HelloWorld type EJB?

2001-04-25 Thread Harley Rana
-application.xml. I would love some help getting the xml conig working! Thanks for any help you can give, Harley Rana. This is the client. package test; import javax.naming.*; import java.util.Hashtable; import javax.rmi.PortableRemoteObject; class Client { public static void main(String[] args

How to access EJB's from client (not packaged in .ear) ?

2001-05-01 Thread Harley Rana
. What do i need to do? Could you include code examples please. I appreciate any help you can give! Thanks, Harley Rana. HelloClient.java hello-planet.ear

I solved my problem accessing EJB's.

2001-05-03 Thread Harley Rana
Hey i have figured out how to access a EJB from a client, not packaged in a .ear. If i tryed to access the bean by calling context.lookup(java:comp/env/ejb/SomeBean); , you get a exception stating the client must be a J2EE component. The way around was to look at the file

Binding OracleConectionPoolDataSource to JNDI name?

2001-05-06 Thread Harley Rana
?this is the code in the constructor of a normal class. im using Oracle8i 1.1.7 Thanks alot for any help you can give! Harley Rana. try{ System.setProperty("java.naming.factory.initial","com.evermind.server.ApplicationClientInitialContextFactory"); System.setProperty("

RE: configuration of web tier (JNDI)

2001-05-29 Thread Harley Rana
Hey Denis, its not to hard. You would package both the seperate tiers files into seperate .ear files, then in a servlet you would access a ejb by creating a properties file with your JNDI settings and setting the url to the machine hosting the ejb tier ( for now would be localhost, but could be

RE: configuration of web tier (JNDI)

2001-05-31 Thread Harley Rana
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

RE: configuration of web tier (JNDI)

2001-05-31 Thread Harley Rana
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"/

RE: configuration of web tier (JNDI)

2001-05-31 Thread Harley Rana
Hi site.zip has the source and if you just replace the old LoginWeb.war file with the new one it should work. Now there's the login page that sends the form to LoginResultPage.jsp, which calls LoginWebBean that then calls the EJB. The servlet is still there. All you need to call the servlet is

How do you integrate JAAS with orion security?

2001-06-08 Thread Harley Rana
I have been looking into the JAAS security for building a more flexible security framework. The main problem I have is how to use the jaas api with the security features in Orion. For example if you implement a custom LoginModule, how does it add a principal to the Orion web container, or how

RE: configuration of web tier (JNDI)

2001-06-08 Thread Harley Rana
Hi Denis, I'm not sure why you are using tomcat, the example I made was using orion. If you want to change the page that process the form on LoginPage.jsp just change the url in the action setting of the form. Are you getting any errors? Is so what are the details?

RE: Error running java -jar orion.jar -install

2001-06-10 Thread Harley Rana
Have you tried using sun's jdk 1.3? That's the jdk that has been tested.

RE: Null values in Jsp page

2001-06-21 Thread Harley Rana
This is not a bug but a normal Java function. Try and print System.out.println() with a null string and the same will happen in any program. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Marc SCHNEIDER Sent: Wednesday, June 20, 2001 8:49 AM