Console Documentation
Hello, I looking for some docuemntation about the Orion-Console. It looks like a useful grapgical tool to ease the administration of the orion server. Unfortunately so far I only found information about how to start the console. Does anyone know where I can find documentation of what I can do with the console and how? Thanks! Peter
Re: Tallest buildings... to be updated
please this is not the time or the place... if there ever will be a time and a place for this :-( - Original Message - From: srinivas [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Monday, September 17, 2001 5:46 AM Subject: Fw: Tallest buildings... to be updated CH.Srinivas Babu Java Application Developer Mobile : 0060163698056 - Original Message - From: Vijay Kumar A [EMAIL PROTECTED] To: Alagammai AR [EMAIL PROTECTED]; Chandramouli V [EMAIL PROTECTED]; 'Durairaj A' [EMAIL PROTECTED]; Gopi Sambandam [EMAIL PROTECTED]; Jothi Basu [EMAIL PROTECTED]; Niranchana Devi S [EMAIL PROTECTED]; Prabath Rajamani D [EMAIL PROTECTED]; Saktivel Palaniappan [EMAIL PROTECTED]; Shankar S [EMAIL PROTECTED]; Shankar Vasudevan [EMAIL PROTECTED]; 'Sree Lakshmi' [EMAIL PROTECTED]; Suhasini Dharmalingam [EMAIL PROTECTED]; Thiyagarajan M [EMAIL PROTECTED]; Vinod Kumar [EMAIL PROTECTED] Sent: Saturday, September 15, 2001 5:17 PM Subject: FW: Tallest buildings... to be updated
InitialContext: domain was null
Hello, i'm trying to access some ejb's from my webapp on another orion-server. jndi_props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,... jndi_props.put(javax.naming.Context.SECURITY_PRINCIPAL,... jndi_props.put(javax.naming.Context.SECURITY_CREDENTIALS,... jndi_props.put(javax.naming.Context.PROVIDER_URL,... try { ic = new InitialContext(jndi_props); but in the 'new InitialContext' i get a 'domain was null' exception! what's wrong? tia klaus -- Klaus Thiele - Personal Informatik AG mailto:[EMAIL PROTECTED] Your mouse has moved. Windows must be restarted for the change to take effect.
Re: InitialContext: domain was null
This means that Orion isn't running the application you are trying to connect to. Make sure it's is running and that the names in the jndi property correspond to the name in the server.xml file. Ed - Original Message - From: Klaus Thiele [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, September 19, 2001 1:09 PM Subject: InitialContext: domain was null Hello, i'm trying to access some ejb's from my webapp on another orion-server. jndi_props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,... jndi_props.put(javax.naming.Context.SECURITY_PRINCIPAL,... jndi_props.put(javax.naming.Context.SECURITY_CREDENTIALS,... jndi_props.put(javax.naming.Context.PROVIDER_URL,... try { ic = new InitialContext(jndi_props); but in the 'new InitialContext' i get a 'domain was null' exception! what's wrong? tia klaus -- Klaus Thiele - Personal Informatik AG mailto:[EMAIL PROTECTED] Your mouse has moved. Windows must be restarted for the change to take effect.
finder parameters
Please help me!!! Is there any possibility to pass order direcrtion as parameter of a finder? That is parameter string (asc or desc) is added to the end of SQL? Ex.: findAllSortedByState(asc); In orion-ejb-jar.xml: finder-method query= select * from SomeTable order by state $1 partial=false !-- Generated SQL: select * from SomeTable order by state ? -- method ejb-nameSomeTable/ejb-name method-namefindAllSortedByState/method-name method-params /method-params /method /finder-method In SomeTableHome.java: public Collection findAllSortedByState(String direction) throws RemoteException, FinderException; public static final String findAllSortedByStatec_query=full: select * from SomeTable order by state $1;
RE: finder parameters
Sergey, AFAIK order of the method params is the order of the wild cards $1 $2 etc. I do this all of the time. Go to the finder-method partial=false query=do the down an dirty with sql and my $1 card and $2 card should read do the down and dirty with sql an my asc card and desc card if the arguments to the method were asc and desc, respectively. Of course this isn't really good sql, but I'm just having some fun. Regards, the elephantwalker www.elephantwalker.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of sergey Sent: Wednesday, September 19, 2001 7:04 AM To: Orion-Interest Subject: finder parameters Please help me!!! Is there any possibility to pass order direcrtion as parameter of a finder? That is parameter string (asc or desc) is added to the end of SQL? Ex.: findAllSortedByState(asc); In orion-ejb-jar.xml: finder-method query= select * from SomeTable order by state $1 partial=false !-- Generated SQL: select * from SomeTable order by state ? -- method ejb-nameSomeTable/ejb-name method-namefindAllSortedByState/method-name method-params /method-params /method /finder-method In SomeTableHome.java: public Collection findAllSortedByState(String direction) throws RemoteException, FinderException; public static final String findAllSortedByStatec_query=full: select * from SomeTable order by state $1;
RE: Which JAR do I need to run an external client app
In my case at least it is java:whatever-is-in-application-client.xml or orion-application-client.xml that's not available. Is there any other place to specify the jndi location for an ejb? Experimented with RMIInitialContextFactory as well without success. with the follwoing entry in application-client.xml: ejb-ref-nameejb/ArticleHandler/ejb-ref-name Whatever I specify, I get the following error (cm is application name), e.g.: Communication error: Invalid name:cm/ejb/ArticleHandler Communication error: Invalid name:/cm/ejb/ArticleHandler Communication error: Invalid name:ejb/ArticleHandler Communication error: Invalid name:/ejb/ArticleHandler Communication error: Invalid name:ArticleHandler now what? How do I correctly specify the jndi name? -Original Message- From: David Libke [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 1:35 PM To: Orion-Interest Subject: RE: Which JAR do I need to run an external client app Peter, The problem you are experiencing is because the JNDI locations need to be changed when the location of the client jar is changed -- namely change 'java:comp/env/' to 'java:hello/client/' or some other path that is appropriate. 'java:comp/env' is reserved for the application server's environment resources; thus, a different JNDI entry must be created for your application client when it is outside of the server. Good luck on synchronizing all the xml entry names. Dave -Original Message- From: Cugier (extern) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 11:18 AM To: Orion-Interest Subject: Which JAR do I need to run an external client app Hello, I have the following problem. I created a Java Client application that accesses an EJB. I start the client with the following batch file. set CLASSPATH=H:\oc4j\j2ee\home\ejb.jar;.;H:\oc4j\j2ee\home\orion.jar;H:\oc4j\j2 ee\home\jndi.jar java HelloClient where H:\oc4j\j2ee\home ist the directory where I installed the OC4J/Orion Server on my computer. When I start the client with this batch file everything works fine. As I don't want to install OC4J/Orion on each PC where the client should run I copied the three JAR file that ar listed in the CLASSPATH from H:\oc4j\j2ee\home to D:\ExtraJARs. I changed the batch file to set CLASSPATH=D:\ExtraJARs\ejb.jar;.;D:\ExtraJARs\orion.jar;D:\ExtraJARs\jndi.ja r java HelloClient After the change I get the following error javax.naming.NamingException: java:comp/env namespace is only available from within a J2EE component at com.sun.enterprise.naming.java.javaURLContext.getComponentContext(../../src/ share/com/sun/enterprise/naming/java/javaURLContext.java:392) at com.sun.enterprise.naming.java.javaURLContext.lookup(../../src/share/com/sun /enterprise/naming/java/javaURLContext.java:51) at javax.naming.InitialContext.lookup(Unknown Source) at HelloClient.main(HelloClient.java:9) Can anyone explain why it works when I use the three JARs from the H:\oc4j\j2ee\home directory but doesn't work when I try to use the copied JAR files. Thanks Peter
Stupid CLASSPATH and Oracle JDBC drivers. Need help!
Hi All, I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. I've also tried previous posted suggestions of modifying the shell $CLASSPATH variable and the library path located in the application.xml file. I have no problems on my Intel Win 2000 platform running Java 2 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC platform running: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.01-release-010816-12:37) Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode). I'm also using the same classes12.zip on both machines. I get the following error upon server startup: Error initializing data-source 'jdbc/OracleDSCore': DriverManagerDataSource driver 'oracle.jdbc.driverd.' Upon a login attempt to my app, which tries to use the Oracle Datasource, I get the following: 2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR java.lang.Class - SQL Exception during getting userinfo java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:537) at java.sql.DriverManager.getConnection(DriverManager.java:177) at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown Source) at com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297) at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41) at com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94) at __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84) at com.orionserver.http.OrionHttpJspPage.service(Unknown Source) at com.evermind._ah._rad(Unknown Source) at com.evermind.server.http.JSPServlet.service(Unknown Source) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) Database error, Please try again. br If problem persist please contact administrator. Everything works OK if I unzip the JDBC drivers into the /lib directory...but this is a hack would like to know why it won't pick up my ZIP file. It works with other JARs I put inarghhg! Any help is MUCH appreciated. --Dan
specifying many-to-many mappings in EJB deployment descriptor
Hi folks, I've just finished implementing a finder that can navigate across a many-to-many join table, by embedding a SQL statement in the deployment descriptor. This was based on Tim Drury's useful Advanced Finder Methods article on Orion Support ( http://orionsupport.com/articles/finders.html ). However I would much prefer to have a direct collection-to-field mapping between the tables, where I could use a get() method to obtain the collection of matching records rather than a finder. I've had a look at the examples in the Advanced Object-Relational Mapping article but am unsure whether they are useful, as they only appear to deal with one-to-many mappings. I was hoping someone might help me out by sending the appropriate part of the deployment descriptor for the following example. It's of course possible that this can't be done, in which case someone can break the bad news to me. Say I have two tables Movie and Actor which both have EJ beans associated with them. The primary key for both tables is a String in a column called id. A Movie_Actor join table gives a many-to-many mapping between the Movie and Actor primary keys, which are in columns called Movie_id and Actor_id. I would like to set up a field movies in the Actor bean of type Collection, that contains all of the movies associated with the current actor record. What should the contents of cmp-field-mapping name=movies.../cmp-field-mapping be? A secondary question, just in case anyone has run into this. Will the contents of the movies field be updated if a new Movie record is added and a new row is added to the Movie_Actor table mapping the current actor to the new movie? Are there efficiency issues here? Are there any relevant best practices I should be considering? Thanks in advance. -- Warren Hedley
RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!
We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be recognized on Win2K and solaris. We never figured out why this is the case. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee Sent: Wednesday, September 19, 2001 10:44 AM To: Orion-Interest Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help! Hi All, I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. I've also tried previous posted suggestions of modifying the shell $CLASSPATH variable and the library path located in the application.xml file. I have no problems on my Intel Win 2000 platform running Java 2 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC platform running: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.01-release-010816-12:37) Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode). I'm also using the same classes12.zip on both machines. I get the following error upon server startup: Error initializing data-source 'jdbc/OracleDSCore': DriverManagerDataSource driver 'oracle.jdbc.driverd.' Upon a login attempt to my app, which tries to use the Oracle Datasource, I get the following: 2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR java.lang.Class - SQL Exception during getting userinfo java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:537) at java.sql.DriverManager.getConnection(DriverManager.java:177) at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown Source) at com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297) at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41) at com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94) at __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84) at com.orionserver.http.OrionHttpJspPage.service(Unknown Source) at com.evermind._ah._rad(Unknown Source) at com.evermind.server.http.JSPServlet.service(Unknown Source) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) Database error, Please try again. br If problem persist please contact administrator. Everything works OK if I unzip the JDBC drivers into the /lib directory...but this is a hack would like to know why it won't pick up my ZIP file. It works with other JARs I put inarghhg! Any help is MUCH appreciated. --Dan
RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!
How do you start orion? should be java -jar orion.jar anything else may defeat the orion.jar class loader, which actually loads the *.jar and *.zip from the orion/lib directory. regards, the elephantwalker www.elephantwalker.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot Sent: Wednesday, September 19, 2001 10:34 AM To: Orion-Interest Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help! We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be recognized on Win2K and solaris. We never figured out why this is the case. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee Sent: Wednesday, September 19, 2001 10:44 AM To: Orion-Interest Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help! Hi All, I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. I've also tried previous posted suggestions of modifying the shell $CLASSPATH variable and the library path located in the application.xml file. I have no problems on my Intel Win 2000 platform running Java 2 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC platform running: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.01-release-010816-12:37) Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode). I'm also using the same classes12.zip on both machines. I get the following error upon server startup: Error initializing data-source 'jdbc/OracleDSCore': DriverManagerDataSource driver 'oracle.jdbc.driverd.' Upon a login attempt to my app, which tries to use the Oracle Datasource, I get the following: 2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR java.lang.Class - SQL Exception during getting userinfo java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:537) at java.sql.DriverManager.getConnection(DriverManager.java:177) at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown Source) at com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297) at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41) at com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94) at __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84) at com.orionserver.http.OrionHttpJspPage.service(Unknown Source) at com.evermind._ah._rad(Unknown Source) at com.evermind.server.http.JSPServlet.service(Unknown Source) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) Database error, Please try again. br If problem persist please contact administrator. Everything works OK if I unzip the JDBC drivers into the /lib directory...but this is a hack would like to know why it won't pick up my ZIP file. It works with other JARs I put inarghhg! Any help is MUCH appreciated. --Dan
Re: finder parameters
Yep, that is possible but not following the EJB spec. That is: the spec defines that the finder methods return a Collection which isn't ordered. However Orion returns a ArrayList (subclass of collection) which is ordered. So it's your lucky day, as indeed it is possible, but be careful when you are porting your application to another J2EE platform. BTW: It's not necessary to put select * from in your case. The following is enough: finder-method query=order by state $1 Suc6, Eddie - Original Message - From: sergey [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, September 19, 2001 4:04 PM Subject: finder parameters Please help me!!! Is there any possibility to pass order direcrtion as parameter of a finder? That is parameter string (asc or desc) is added to the end of SQL? Ex.: findAllSortedByState(asc); In orion-ejb-jar.xml: finder-method query= select * from SomeTable order by state $1 partial=false !-- Generated SQL: select * from SomeTable order by state ? -- method ejb-nameSomeTable/ejb-name method-namefindAllSortedByState/method-name method-params /method-params /method /finder-method In SomeTableHome.java: public Collection findAllSortedByState(String direction) throws RemoteException, FinderException; public static final String findAllSortedByStatec_query=full: select * from SomeTable order by state $1;
RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!
Using: java -server -Xincgc -Xms70m -Xmx128m -jar ./orion.jar -out ./orion.log -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of The elephantwalker Sent: Wednesday, September 19, 2001 11:56 AM To: Orion-Interest Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help! How do you start orion? should be java -jar orion.jar anything else may defeat the orion.jar class loader, which actually loads the *.jar and *.zip from the orion/lib directory. regards, the elephantwalker www.elephantwalker.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot Sent: Wednesday, September 19, 2001 10:34 AM To: Orion-Interest Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help! We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be recognized on Win2K and solaris. We never figured out why this is the case. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee Sent: Wednesday, September 19, 2001 10:44 AM To: Orion-Interest Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help! Hi All, I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. I've also tried previous posted suggestions of modifying the shell $CLASSPATH variable and the library path located in the application.xml file. I have no problems on my Intel Win 2000 platform running Java 2 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC platform running: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.01-release-010816-12:37) Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode). I'm also using the same classes12.zip on both machines. I get the following error upon server startup: Error initializing data-source 'jdbc/OracleDSCore': DriverManagerDataSource driver 'oracle.jdbc.driverd.' Upon a login attempt to my app, which tries to use the Oracle Datasource, I get the following: 2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR java.lang.Class - SQL Exception during getting userinfo java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:537) at java.sql.DriverManager.getConnection(DriverManager.java:177) at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown Source) at com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297) at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41) at com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94) at __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84) at com.orionserver.http.OrionHttpJspPage.service(Unknown Source) at com.evermind._ah._rad(Unknown Source) at com.evermind.server.http.JSPServlet.service(Unknown Source) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) Database error, Please try again. br If problem persist please contact administrator. Everything works OK if I unzip the JDBC drivers into the /lib directory...but this is a hack would like to know why it won't pick up my ZIP file. It works with other JARs I put inarghhg! Any help is MUCH appreciated. --Dan
AW: Stupid CLASSPATH and Oracle JDBC drivers. Need help!
Ups, I had a similar problem with tomcat 4. I renamed classes.zip into classes.jar. Its the first time I read this with orion, though. Manfred Regele ADIG Investment GmbH 22 MethodenTools Richard-Reitzner-Allee 2 85540 Haar Tel: 089/46268-308 mailto:[EMAIL PROTECTED] http://www.adig.de -Ursprüngliche Nachricht- Von: Dan Lee [SMTP:[EMAIL PROTECTED]] Gesendet am: Mittwoch, 19. September 2001 18:44 An: Orion-Interest Betreff: Stupid CLASSPATH and Oracle JDBC drivers. Need help! Hi All, I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. I've also tried previous posted suggestions of modifying the shell $CLASSPATH variable and the library path located in the application.xml file. I have no problems on my Intel Win 2000 platform running Java 2 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC platform running: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.01-release-010816-12:37) Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode). I'm also using the same classes12.zip on both machines. I get the following error upon server startup: Error initializing data-source 'jdbc/OracleDSCore': DriverManagerDataSource driver 'oracle.jdbc.driverd.' Upon a login attempt to my app, which tries to use the Oracle Datasource, I get the following: 2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR java.lang.Class - SQL Exception during getting userinfo java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:537) at java.sql.DriverManager.getConnection(DriverManager.java:177) at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown Source) at com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:29 7) at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41) at com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94) at __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:8 4) at com.orionserver.http.OrionHttpJspPage.service(Unknown Source) at com.evermind._ah._rad(Unknown Source) at com.evermind.server.http.JSPServlet.service(Unknown Source) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) Database error, Please try again. br If problem persist please contact administrator. Everything works OK if I unzip the JDBC drivers into the /lib directory...but this is a hack would like to know why it won't pick up my ZIP file. It works with other JARs I put inarghhg! Any help is MUCH appreciated. --Dan
RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!
got it...you need to be in the orion directory, the lib directory is pointed to by a relative directory, so its looking at your starting directory/lib instead of orion/lib. I always navigate to the orion directory to start it... 'cause it always works. That could be it. Regards, the elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot Sent: Wednesday, September 19, 2001 11:41 AM To: Orion-Interest Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help! Using: java -server -Xincgc -Xms70m -Xmx128m -jar ./orion.jar -out ./orion.log -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of The elephantwalker Sent: Wednesday, September 19, 2001 11:56 AM To: Orion-Interest Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help! How do you start orion? should be java -jar orion.jar anything else may defeat the orion.jar class loader, which actually loads the *.jar and *.zip from the orion/lib directory. regards, the elephantwalker www.elephantwalker.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot Sent: Wednesday, September 19, 2001 10:34 AM To: Orion-Interest Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help! We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be recognized on Win2K and solaris. We never figured out why this is the case. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee Sent: Wednesday, September 19, 2001 10:44 AM To: Orion-Interest Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help! Hi All, I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. I've also tried previous posted suggestions of modifying the shell $CLASSPATH variable and the library path located in the application.xml file. I have no problems on my Intel Win 2000 platform running Java 2 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC platform running: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.01-release-010816-12:37) Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode). I'm also using the same classes12.zip on both machines. I get the following error upon server startup: Error initializing data-source 'jdbc/OracleDSCore': DriverManagerDataSource driver 'oracle.jdbc.driverd.' Upon a login attempt to my app, which tries to use the Oracle Datasource, I get the following: 2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR java.lang.Class - SQL Exception during getting userinfo java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:537) at java.sql.DriverManager.getConnection(DriverManager.java:177) at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown Source) at com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297) at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41) at com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94) at __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84) at com.orionserver.http.OrionHttpJspPage.service(Unknown Source) at com.evermind._ah._rad(Unknown Source) at com.evermind.server.http.JSPServlet.service(Unknown Source) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) Database error, Please try again. br If problem persist please contact administrator. Everything works OK if I unzip the JDBC drivers into the /lib directory...but this is a hack would like to know why it won't pick up my ZIP file. It works with other JARs I put inarghhg! Any help is MUCH appreciated. --Dan
JMS leaks !!!
Here's a very inane question ! Has anyone experienced memory leaks with the Orion JMS server ?? I hooked up OptimizeIt to an instance of Orion and I saw three instance types run amock: com.evermind._dvb,com.evermind._eg,com.evermind._et. Bruno Baloi
RE: Which JAR do I need to run an external client app
Peter, In getting my app-client running, I down loaded http://java.sun.com/dtd/application-client_1_3.dtd and found this statement: The ejb-ref-name element contains the name of an EJB reference. The EJB reference is an entry in the application client's environment and is relative to the java:comp/env context. The name must be unique within the application client. As you can see, ejb-ref cannot be used in your case since you do not want your client in every ejb container. Also res-ref has the same problem. It looks like your client needs to use rmi to call the ejbs. Look at rmi.xm.html in Orion's docs. Set up the server, using rmi.xml, that contain the ejbs your client-app needs to use. Then set up you client to connect to the appropriate server:port for the needed ejb using rmi. Hope this helps. Dave -Original Message- From: SAURUGGER,PETER (A-PaloAlto,ex2) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 19, 2001 12:21 PM To: Orion-Interest Subject: RE: Which JAR do I need to run an external client app In my case at least it is java:whatever-is-in-application-client.xml or orion-application-client.xml that's not available. Is there any other place to specify the jndi location for an ejb? Experimented with RMIInitialContextFactory as well without success. with the follwoing entry in application-client.xml: ejb-ref-nameejb/ArticleHandler/ejb-ref-name Whatever I specify, I get the following error (cm is application name), e.g.: Communication error: Invalid name:cm/ejb/ArticleHandler Communication error: Invalid name:/cm/ejb/ArticleHandler Communication error: Invalid name:ejb/ArticleHandler Communication error: Invalid name:/ejb/ArticleHandler Communication error: Invalid name:ArticleHandler now what? How do I correctly specify the jndi name? -Original Message- From: David Libke [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 1:35 PM To: Orion-Interest Subject: RE: Which JAR do I need to run an external client app Peter, The problem you are experiencing is because the JNDI locations need to be changed when the location of the client jar is changed -- namely change 'java:comp/env/' to 'java:hello/client/' or some other path that is appropriate. 'java:comp/env' is reserved for the application server's environment resources; thus, a different JNDI entry must be created for your application client when it is outside of the server. Good luck on synchronizing all the xml entry names. Dave -Original Message- From: Cugier (extern) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 11:18 AM To: Orion-Interest Subject: Which JAR do I need to run an external client app Hello, I have the following problem. I created a Java Client application that accesses an EJB. I start the client with the following batch file. set CLASSPATH=H:\oc4j\j2ee\home\ejb.jar;.;H:\oc4j\j2ee\home\orion.jar;H:\oc4j\j2 ee\home\jndi.jar java HelloClient where H:\oc4j\j2ee\home ist the directory where I installed the OC4J/Orion Server on my computer. When I start the client with this batch file everything works fine. As I don't want to install OC4J/Orion on each PC where the client should run I copied the three JAR file that ar listed in the CLASSPATH from H:\oc4j\j2ee\home to D:\ExtraJARs. I changed the batch file to set CLASSPATH=D:\ExtraJARs\ejb.jar;.;D:\ExtraJARs\orion.jar;D:\ExtraJARs\jndi.ja r java HelloClient After the change I get the following error javax.naming.NamingException: java:comp/env namespace is only available from within a J2EE component at com.sun.enterprise.naming.java.javaURLContext.getComponentContext(../../src/ share/com/sun/enterprise/naming/java/javaURLContext.java:392) at com.sun.enterprise.naming.java.javaURLContext.lookup(../../src/share/com/sun /enterprise/naming/java/javaURLContext.java:51) at javax.naming.InitialContext.lookup(Unknown Source) at HelloClient.main(HelloClient.java:9) Can anyone explain why it works when I use the three JARs from the H:\oc4j\j2ee\home directory but doesn't work when I try to use the copied JAR files. Thanks Peter
RE: Which JAR do I need to run an external client app
All you need is the orion.jar. Here is an example client: package com.test; import java.rmi.RemoteException; import java.util.*; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.ejb.EJBException; import javax.ejb.FinderException; import javax.rmi.PortableRemoteObject; import javax.naming.*; public class HelloWorldEJBClient { public HelloWorldEJBClient() { try { Properties env = new Properties(); env.put( Context.INITIAL_CONTEXT_FACTORY,com.evermind.server.rmi.RMIInitialContextFactory ); env.put( Context.PROVIDER_URL, ormi://localhost/HelloApp ); env.put( Context.SECURITY_PRINCIPAL, admin ); env.put(Context.SECURITY_CREDENTIALS, password ); InitialContext ic = new InitialContext( env ); HelloWorldHome home = (HelloWorldHome)ic.lookup( HelloWorld ); HelloWorld remote = home.create(); String str = remote.printHelloWorld(); System.out.println(str); } catch (Exception except) { except.printStackTrace(); } } public static void main(String[] argv) { HelloWorldEJBClient client = new HelloWorldEJBClient(); } } Good Luck, Khaled --- David Libke [EMAIL PROTECTED] wrote: Peter, The problem you are experiencing is because the JNDI locations need to be changed when the location of the client jar is changed -- namely change 'java:comp/env/' to 'java:hello/client/' or some other path that is appropriate. 'java:comp/env' is reserved for the application server's environment resources; thus, a different JNDI entry must be created for your application client when it is outside of the server. Good luck on synchronizing all the xml entry names. Dave -Original Message- From: Cugier (extern) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 11:18 AM To: Orion-Interest Subject: Which JAR do I need to run an external client app Hello, I have the following problem. I created a Java Client application that accesses an EJB. I start the client with the following batch file. set CLASSPATH=H:\oc4j\j2ee\home\ejb.jar;.;H:\oc4j\j2ee\home\orion.jar;H:\oc4j\j2 ee\home\jndi.jar java HelloClient where H:\oc4j\j2ee\home ist the directory where I installed the OC4J/Orion Server on my computer. When I start the client with this batch file everything works fine. As I don't want to install OC4J/Orion on each PC where the client should run I copied the three JAR file that ar listed in the CLASSPATH from H:\oc4j\j2ee\home to D:\ExtraJARs. I changed the batch file to set CLASSPATH=D:\ExtraJARs\ejb.jar;.;D:\ExtraJARs\orion.jar;D:\ExtraJARs\jndi.ja r java HelloClient After the change I get the following error javax.naming.NamingException: java:comp/env namespace is only available from within a J2EE component at com.sun.enterprise.naming.java.javaURLContext.getComponentContext(../../src/ share/com/sun/enterprise/naming/java/javaURLContext.java:392) at com.sun.enterprise.naming.java.javaURLContext.lookup(../../src/share/com/sun /enterprise/naming/java/javaURLContext.java:51) at javax.naming.InitialContext.lookup(Unknown Source) at HelloClient.main(HelloClient.java:9) Can anyone explain why it works when I use the three JARs from the H:\oc4j\j2ee\home directory but doesn't work when I try to use the copied JAR files. Thanks Peter __ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/
Re: Stupid CLASSPATH and Oracle JDBC drivers. Need help!
It's because of the search functions detailed here: http://java.sun.com/j2se/1.3/docs/tooldocs/findingclasses.html This was supposed to be deprecated in the various J2EE implementations and in the v.1.3 JDK, but it wasn't. Not Sun's fault, not Java's and certainly not Orion's or Oracle's. Keep in mind that all these folks are businesses, the J2EE initial implementation spec only became real and approved on the 4th of this month, and that everybody has 'optimized' the code. Also, keep in mind that with Oracle, you're dealing with (in the out-of-the-box implementation) a JSP/Servlet server that still hasn't been patched to be secure, a Web server that is in the same boat, and they deprecated all the additional functionality they could have gotten by just fully implementing Orion, without Apache/Tomcat. Michael J. Cannon hsqldb.org, Incorporated PM/COO - Original Message - From: Mike Fontenot [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, September 19, 2001 12:33 PM Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help! We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be recognized on Win2K and solaris. We never figured out why this is the case. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee Sent: Wednesday, September 19, 2001 10:44 AM To: Orion-Interest Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help! Hi All, I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. I've also tried previous posted suggestions of modifying the shell $CLASSPATH variable and the library path located in the application.xml file. I have no problems on my Intel Win 2000 platform running Java 2 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC platform running: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.01-release-010816-12:37) Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode). I'm also using the same classes12.zip on both machines. I get the following error upon server startup: Error initializing data-source 'jdbc/OracleDSCore': DriverManagerDataSource driver 'oracle.jdbc.driverd.' Upon a login attempt to my app, which tries to use the Oracle Datasource, I get the following: 2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR java.lang.Class - SQL Exception during getting userinfo java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:537) at java.sql.DriverManager.getConnection(DriverManager.java:177) at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown Source) at com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297) at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41) at com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94) at __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84) at com.orionserver.http.OrionHttpJspPage.service(Unknown Source) at com.evermind._ah._rad(Unknown Source) at com.evermind.server.http.JSPServlet.service(Unknown Source) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) Database error, Please try again. br If problem persist please contact administrator. Everything works OK if I unzip the JDBC drivers into the /lib directory...but this is a hack would like to know why it won't pick up my ZIP file. It works with other JARs I put inarghhg! Any help is MUCH appreciated. --Dan
Re: AW: Stupid CLASSPATH and Oracle JDBC drivers. Need help!
Greetings. I had to actually unpack the zip file, and repack the files using the jar tool. I am running Orion 1.5.2. -Steve Regele, Manfred wrote: Ups, I had a similar problem with tomcat 4. I renamed classes.zip into classes.jar. Its the first time I read this with orion, though. Manfred Regele ADIG Investment GmbH 22 MethodenTools Richard-Reitzner-Allee 2 85540 Haar Tel: 089/46268-308 mailto:[EMAIL PROTECTED] http://www.adig.de -Ursprüngliche Nachricht- Von: Dan Lee [SMTP:[EMAIL PROTECTED]] Gesendet am: Mittwoch, 19. September 2001 18:44 An: Orion-Interest Betreff: Stupid CLASSPATH and Oracle JDBC drivers. Need help! Hi All, I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. I've also tried previous posted suggestions of modifying the shell $CLASSPATH variable and the library path located in the application.xml file. I have no problems on my Intel Win 2000 platform running Java 2 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC platform running: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.01-release-010816-12:37) Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode). I'm also using the same classes12.zip on both machines. I get the following error upon server startup: Error initializing data-source 'jdbc/OracleDSCore': DriverManagerDataSource driver 'oracle.jdbc.driverd.' Upon a login attempt to my app, which tries to use the Oracle Datasource, I get the following: 2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR java.lang.Class - SQL Exception during getting userinfo java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:537) at java.sql.DriverManager.getConnection(DriverManager.java:177) at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown Source) at com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:29 7) at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41) at com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94) at __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:8 4) at com.orionserver.http.OrionHttpJspPage.service(Unknown Source) at com.evermind._ah._rad(Unknown Source) at com.evermind.server.http.JSPServlet.service(Unknown Source) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) Database error, Please try again. br If problem persist please contact administrator. Everything works OK if I unzip the JDBC drivers into the /lib directory...but this is a hack would like to know why it won't pick up my ZIP file. It works with other JARs I put inarghhg! Any help is MUCH appreciated. --Dan -- Stephen Davidson Java Consultant Delphi Consultants, LLC http://www.delphis.com Phone: 214-696-6224 x208
Help me
I have to meet some error when I deploy /demo/ejb I hope You can help me First error .This is appear when I use java -jar orion.jar /*Auto-deploying product (No previous deployment found)... Error compiling file:/C:/orion/demo/ejb/product/: Error instantiating compiler: Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the orion dir or add a librarypath="the/path/to/tools.jar" / and restartAuto-deploying cart (No previous deployment found)... Error compiling file:/C:/orion/demo/ejb/cart/: Error instantiating compiler: Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the orion dir or add a library path="the/path/to/tools.jar" / and restartAuto-deploying usermanager (No previous deployment found)... Error compiling file:/C:/orion/demo/ejb/usermanager/: Error instantiating compiler: Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the orion dir or add a library path="the/path/to/tools.jar" / and restartAuto-deploying product... Error instantiating application 'ejbsamples' at file:/C:/orion/demo/ejb/: Error auto-deploying application-client at product: No location specified and no suitable instance of the type 'Product' found for the ejb-ref MyProductOrion/1.4.5 initialized*/Second error .when I use command java -classpath ../../../orion.jar;../../../ejb.jar;../../../jndi.jar;. CartClient/*Exception in thread "main" java.lang.SecurityException: Invalid username/password for ejbsamples (admin) at com.evermind.server.rmi.ba.gl(JAX) at com.evermind.server.rmi.ba.gl(JAX) at com.evermind.server.rmi.ba.f4(JAX) at com.evermind.server.rmi.RMIServer.f4(JAX, Compiled Code) at com.evermind.server.rmi.RMIContext.lookup(JAX) at com.evermind.server.administration.LazyResourceFinder.f4(JAX) at com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX) at com.evermind.server.Application.aq8(JAX, Compiled Code) at com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX, Compiled Code) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242) at javax.naming.InitialContext.init(InitialContext.java:218) at javax.naming.InitialContext.init(InitialContext.java:174) at CartClient.main(CartClient.java:17) */I don't know I'll have to continune how Thank you very much Uo^ng Dinh Nguyen - Get your private, free Email by Vietnamese at http://vol.vnn.vn
RE: Help me
Try setting deactivated =false in the principals.xml file under config dir of orion for username password as specified in the jndi.properties of Cart example. -Original Message-From: nguyen dinh uong [mailto:[EMAIL PROTECTED]]Sent: Thursday, September 20, 2001 4:58 PMTo: Orion-InterestSubject: Help me I have to meet some error when I deploy /demo/ejb I hope You can help me First error .This is appear when I use java -jar orion.jar /*Auto-deploying product (No previous deployment found)... Error compiling file:/C:/orion/demo/ejb/product/: Error instantiating compiler: Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the orion dir or add a librarypath="the/path/to/tools.jar" / and restartAuto-deploying cart (No previous deployment found)... Error compiling file:/C:/orion/demo/ejb/cart/: Error instantiating compiler: Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the orion dir or add a library path="the/path/to/tools.jar" / and restartAuto-deploying usermanager (No previous deployment found)... Error compiling file:/C:/orion/demo/ejb/usermanager/: Error instantiating compiler: Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the orion dir or add a library path="the/path/to/tools.jar" / and restartAuto-deploying product... Error instantiating application 'ejbsamples' at file:/C:/orion/demo/ejb/: Error auto-deploying application-client at product: No location specified and no suitable instance of the type 'Product' found for the ejb-ref MyProductOrion/1.4.5 initialized*/Second error .when I use command java -classpath ../../../orion.jar;../../../ejb.jar;../../../jndi.jar;. CartClient/*Exception in thread "main" java.lang.SecurityException: Invalid username/password for ejbsamples (admin) at com.evermind.server.rmi.ba.gl(JAX) at com.evermind.server.rmi.ba.gl(JAX) at com.evermind.server.rmi.ba.f4(JAX) at com.evermind.server.rmi.RMIServer.f4(JAX, Compiled Code) at com.evermind.server.rmi.RMIContext.lookup(JAX) at com.evermind.server.administration.LazyResourceFinder.f4(JAX) at com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX) at com.evermind.server.Application.aq8(JAX, Compiled Code) at com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX, Compiled Code) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242) at javax.naming.InitialContext.init(InitialContext.java:218) at javax.naming.InitialContext.init(InitialContext.java:174) at CartClient.main(CartClient.java:17) */I don't know I'll have to continune how Thank you very much Uo^ng Dinh Nguyen - Get your private, free Email by Vietnamese at http://vol.vnn.vn "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly Prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system."