Unable to start Orion Server
Hi, I am having difficulty starting the appserver. I get the error message below. If I delete the transaction.state file, then the first time the message goes away, it returns after that. Is there anyway that I can work around this problem. Thanks in Advance Tom Warning: Error reading transaction-log file (/D:/devtool/orion/persistence/trans action.state) for recovery: premature end of file Forced or abrubt (crash etc) server shutdown detected, starting recovery process ... Recovery completed, 0 connections committed and 0 rolled back... Orion/1.5.2 initialized _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Ayuda
Title: Ayuda Hola atod@s, necesito que alguien me explique como borrarme de esta lista de distribución. Lo he intentado varias veces y me ha sido imposible. Muchísimas gracias a tod@s. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Rosana Rodríguez Muñoz GRUPO IBERMÁTICA Outsourcing Multisectorial Pº Mikeletegi, 5. 20009 San Sebastián (Spain) Phone: (+34) 943 413500 - Fax: (+34) 943 426393 mailto:[EMAIL PROTECTED] http://www.ibermatica.com -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
RE: Unable to start Orion Server
Tom, Seems like you are rocking and rolling ... can you connect? The reason you get this is the way orion was shut down. Did you kill it abruptly? If so, you will get this message every time you start it up. To stop orion, use this command: java -jar admin.jar ormi://localhost admin adminspassword -shutdown force the adminpassword was created when you first installed orion... java -jar orion.jar -install ... if you don't remember it, its in the config/principal.xml file. Regards, the elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Jordan Sent: Thursday, August 09, 2001 11:08 PM To: Orion-Interest Subject: Unable to start Orion Server Hi, I am having difficulty starting the appserver. I get the error message below. If I delete the transaction.state file, then the first time the message goes away, it returns after that. Is there anyway that I can work around this problem. Thanks in Advance Tom Warning: Error reading transaction-log file (/D:/devtool/orion/persistence/trans action.state) for recovery: premature end of file Forced or abrubt (crash etc) server shutdown detected, starting recovery process ... Recovery completed, 0 connections committed and 0 rolled back... Orion/1.5.2 initialized _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Re: Unable to start Orion Server
unsubscribe
Re: Help with exception, could be classpath related
Hi Ashok, the two beans are in two individual ejb-jar files, with both beans deployed successfully, I know this because they work fine when I connect simple clients to them, and both work from the same client when the classpath is set correctly. The contents of the files are ejb-jar2.jar SimpleSessionBean.class + other classes ejb-jar1.jar SimpleEntityBean + other classes By other classes I mean the Home interfaces etc etc and standard java classes which the Beans use. The SimpleSessionBean references the SimpleEntityBean and some of the standard classes. I don't think ears are suitable for this are they? Thanks for all your help, I really do appreciate it! Albert. Subject: Re: Help with exception, could be classpath related Date: Thu, 09 Aug 2001 20:08:03 -0700 From: Ashok Banerjee [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Are the 2 beans in the different applications (ear files)? If so you may want to specify one application as the parent of the other. Cheers, Ashok [EMAIL PROTECTED] wrote: Hello All, hope you can help me with this as I'm unsure exactly what it means, I use a session bean to invoke methods on an entity bean, the error seems to be in the Entity Bean but it has been tested from a client and it works, I think it may be due to the classpath, as I've had to put the classes into the server.xml as Library path=...file before I could see them from ejbs. any ideas are very welcome, Thanks, Albert. Here is the exception I get from the terminal I start Orion server from: java.lang.ClassCastException: __Proxy0 at SimpleEntityBean.Submit(SimpleEntityBean.java:230) at SimpleEntity_EntityBeanWrapper0.Submit(SimpleEntity_EntityBeanWrapper0.java :268) at java.lang.reflect.Method.invoke(Native Method) at com.evermind._dh._gc(Unknown Source) at com.evermind._if.run(Unknown Source) Email just got more fun @ another.com http://another.com --- -- Be passionate about your email Just click here: http://another.com
Leaked Connections .. URGENT !!!
If somebody could help me I would be very pleased. I have a Bean, which is getting a Connection, fetching some data and then creates a background Thread which fetches the rest of the data. This additional background thread closes the connection in a Try{} finally block. All works fine. I have System.out.println(... ) to check it. All connection which are opened will are closed earlier or later. Depending of the fetching time. ORION is throwing its Exception that the connection is leaked: OrionCMTConnection not closed, check your code! LogicalDriverManagerXAConnection not closed, check your code! (Use -Djdbc.connection.debug=true to find out where the leaked connection was created) That would be ok. But after 6 or 7 times it doesnt give me a new Connection. The Exception is: java.sql.SQLException: Unable to allocate a connection at com.evermind.sql.OrionPooledDataSource.getConnectionOrionPooledDataSource.ja va:194) How can I avoid this ? It's extremely urgent because I have to deliver at next Friday. Thanks in Advance Oliver
SV: Leaked Connections .. URGENT !!!
Title: SV: Leaked Connections .. URGENT !!! The bean you are talking about, that wouldn't happend to be en EnterpriseBean would it? If it is, and you're holding on to a connection After orion has committed a transaction to it, then you're out of luck with that solution. Why would you want to laziliy load something like that on a serverside system? You need to use the connection and when you're done, return it, and all that has to be done withting the current UserTransaction context. regards, Patrik Andersson -Ursprungligt meddelande- Från: Engst Oliver (Platinion) [mailto:[EMAIL PROTECTED]] Skickat: den 10 augusti 2001 12:27 Till: Orion-Interest Ämne: Leaked Connections .. URGENT !!! If somebody could help me I would be very pleased. I have a Bean, which is getting a Connection, fetching some data and then creates a background Thread which fetches the rest of the data. This additional background thread closes the connection in a Try{} finally block. All works fine. I have System.out.println(... ) to check it. All connection which are opened will are closed earlier or later. Depending of the fetching time. ORION is throwing its Exception that the connection is leaked: OrionCMTConnection not closed, check your code! LogicalDriverManagerXAConnection not closed, check your code! (Use -Djdbc.connection.debug=true to find out where the leaked connection was created) That would be ok. But after 6 or 7 times it doesnt give me a new Connection. The Exception is: java.sql.SQLException: Unable to allocate a connection at com.evermind.sql.OrionPooledDataSource.getConnectionOrionPooledDataSource.ja va:194) How can I avoid this ? It's extremely urgent because I have to deliver at next Friday. Thanks in Advance Oliver
JMS Problem
hi, can we specify any class as a startup class in Orion the same way we can do in Weblogic. Vikas * Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. * Visit us at http://www.mahindrabt.com
RE: LDAP user manager
I wrote my own LDAP user manager and it works just fine Are you setting the user-manager element in the orion-application.xml for the ear file? Hello Kris Thanks for your reply. Yes, i im setting the user-manager element. ... my problem is that when i do it, i can't use the command line tools that require admin password... parent attribute? How can i set it? or... what is the correct value? Best regards. Danilo Araya
Re: Leaked Connections .. URGENT !!!
Title: SV: Leaked Connections .. URGENT !!! See i believe that the root cause of the problem is that u are trying to close the connection in the try block do the same in the finally block and evrything will be jus fine... u must be having something like try { Connection con = con. con.close(); }catch(Exception e) { } Instead do something like try { Connection con = con. }catch(Exception e) { } finally { con.close(); } - Original Message - From: Patrik Andersson To: Orion-Interest Sent: Friday, August 10, 2001 4:22 PM Subject: SV: Leaked Connections .. URGENT !!! The bean you are talking about, that wouldn't happend to be en EnterpriseBean would it? If it is, and you're holding on to a connection After orion has committed a transaction to it, then you're out of luck with that solution. Why would you want to laziliy load something like that on a serverside system? You need to use the connection and when you're done, return it, and all that has to be done withting the current UserTransaction context. regards, Patrik Andersson -Ursprungligt meddelande- Från: Engst Oliver (Platinion) [mailto:[EMAIL PROTECTED]] Skickat: den 10 augusti 2001 12:27 Till: Orion-Interest Ämne: Leaked Connections .. URGENT !!! If somebody could help me I would be very pleased. I have a Bean, which is getting a Connection, fetching some data and then creates a background Thread which fetches the rest of the data. This additional background thread closes the connection in a Try{} finally block. All works fine. I have System.out.println(... ) to check it. All connection which are opened will are closed earlier or later. Depending of the fetching time. ORION is throwing its Exception that the connection is leaked: OrionCMTConnection not closed, check your code! LogicalDriverManagerXAConnection not closed, check your code! (Use -Djdbc.connection.debug=true to find out where the leaked connection was created) That would be ok. But after 6 or 7 times it doesnt give me a new Connection. The Exception is: java.sql.SQLException: Unable to allocate a connection at com.evermind.sql.OrionPooledDataSource.getConnectionOrionPooledDataSource.ja va:194) How can I avoid this ? It's extremely urgent because I have to deliver at next Friday. Thanks in Advance Oliver * Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. * Visit us at http://www.mahindrabt.com
RE: JMS Problem
You have to create an executable jar file and configure it in the application.xml and orion-application.xml as a client application. The executable jar will be invoked at boot time by Orion. -Original Message-From: Vikas Malhotra [mailto:[EMAIL PROTECTED]]Sent: Friday, August 10, 2001 5:24 AMTo: Orion-InterestSubject: JMS Problem hi, can we specify any class as a startup class in Orion the same way we can do in Weblogic. Vikas*DisclaimerThis message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of thismessage, or the taking of any action based on it, is strictly prohibited.*Visit us at http://www.mahindrabt.com
Re: Unable to start Orion Server
are you shutting down the server properly... java -d admin.jar ormi://localhost:23791 admin 23 -shutdown force also i dont thnik you should be deleting the transaction files...from the messages below it seems that the server recovered and started ok anyway. Tom Jordan wrote: Hi, I am having difficulty starting the appserver. I get the error message below. If I delete the transaction.state file, then the first time the message goes away, it returns after that. Is there anyway that I can work around this problem. Thanks in Advance Tom Warning: Error reading transaction-log file (/D:/devtool/orion/persistence/trans action.state) for recovery: premature end of file Forced or abrubt (crash etc) server shutdown detected, starting recovery process ... Recovery completed, 0 connections committed and 0 rolled back... Orion/1.5.2 initialized _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Re: JMS Problem
The start up class in weblogic is specific to that server. It is not part of the j2ee spec and there is no equivalent in orion. - Original Message - From: Vikas Malhotra To: Orion-Interest Sent: Friday, August 10, 2001 7:24 AM Subject: JMS Problem hi, can we specify any class as a startup class in Orion the same way we can do in Weblogic. Vikas*DisclaimerThis message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of thismessage, or the taking of any action based on it, is strictly prohibited.*Visit us at http://www.mahindrabt.com
RE: JMS Problem
Well, I can get classes to start up when Orion starts: Edit your orion-application.xml file orion-application ... client-module path=start-this-jar.jar auto-start=true user=who-should-start-it arguments argument value=argumentValue1/ /arguments /client-module /orion-application Notice the auto-start and user tags. The jar you want to start up will also need an appropriate manifest (with the Main-Class property set correctly). That should do the trick for you. And be sure to read the documentation the mailing-archives, as this topic (like most) has been discussed resolved before. -jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Pouyer Sent: Friday, August 10, 2001 1:27 PM To: Orion-Interest Subject: Re: JMS Problem The start up class in weblogic is specific to that server. It is not part of the j2ee spec and there is no equivalent in orion. - Original Message - From: Vikas Malhotra To: Orion-Interest Sent: Friday, August 10, 2001 7:24 AM Subject: JMS Problem hi, can we specify any class as a startup class in Orion the same way we can do in Weblogic. Vikas * Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. * Visit us at http://www.mahindrabt.com
RE: LDAP user manager
I haven't tried what your trying .. but I believe if you want the admin tools to use your UserManager you'll have to setup your UserManager in the $ORION_HOME/config/application.xml vs. in the Ear file. -Original Message- From: Araya Danilo [mailto:[EMAIL PROTECTED]] Sent: Friday, August 10, 2001 7:07 AM To: Orion-Interest Subject: RE: LDAP user manager I wrote my own LDAP user manager and it works just fine Are you setting the user-manager element in the orion-application.xml for the ear file? Hello Kris Thanks for your reply. Yes, i im setting the user-manager element. ... my problem is that when i do it, i can't use the command line tools that require admin password... parent attribute? How can i set it? or... what is the correct value? Best regards. Danilo Araya
SOLVED .. Leaked Connection...
First of all.. you're right.. we don't use EJBs.. I found it. I passed just the ResultSet Object to the Thread and used the objRs.getStatement().getConnection().close() to close it. The Pool cannot handle object references like this. Now I set up an additional parameter to the Thread which contains the Connection object. It seems to be so, that the Pool just can handle direct variable references to the pooled Connections. Now all works fine. Thanks to all who answered me .. PS: The reason why I am doing the background fetch is, that I have a first SQL-Statement which fetches the IDs in correct order (pagewise for display) and then i get the displayed data with a second SQL for the page to display. With the background fetch I am able to display the first page directly after its IDs are fetched. The fetch of all ID-pages lasts about 1 minute in out application. Oliver
Can u deploy EJB's into the default-web
If so how?
RE: Can u deploy EJB's into the default-web
Why would you want to? -Original Message-From: Nusairat, Joseph F. [mailto:[EMAIL PROTECTED]]Sent: Friday, August 10, 2001 12:31 PMTo: Orion-InterestSubject: Can u deploy EJB's into the default-web If so how?