Prepared Statements
Does Orion pool prepared statements, or do I depend on the DB to cache the query plan? sven -- == Sven van 't Veer http://www.cachoeiro.net Java Developer [EMAIL PROTECTED] _/_ The answer / \ to the ultimate questionnnn|. .|nnn 42 =U
optimistic locking?
Hello, i know that this question is maybe a generell EJB question than orion specific. But i would like to know, how can i achive something like optimistic locking on CMP and BMP in Orion? Thanks Peter
uninstalling application
Hello. Is there a possibility to uninstall a application on a remote server with a batch process? I use java -jar admin.jar ormi://host user pwd -deploy for deploying, but haven't found somethink like that for uninstalling. Greetings from munich, /Thomas Hertz -- | /Thomas Hertz | [y] hybris GmbH | Software Engineering | | [EMAIL PROTECTED] | Schwere-Reiter-Strasse 35 | tel +49 89 306697- 0 | | www.hybris.de | Haus 16, D-80797 Muenchen | fax +49 89 306697-99 | | pgp fingerprint: D070 5D86 BE2D C3AF E2CC D2D8 C29A 7F68 7407 629E |
Restarting Orion: HELP: NOT WORKING
Dear Orion Interest Group: Platform:Sun Sparc OS:Solaris JDK: Sun 1.2.2_005 Orion:1.0.3b Command: java -jar admin.jar ormi://localhost/ admin 123 -restart Always Result In: Error: com.evermind.reflect.UndeclaredExceptionTypeException: java.lang.ClassNotFoundException This is a very very odd problem.Class UndeclaredExceptionTypeException IS in file orion.jar!! How could it possibly not find it! Someone posted that the problem is cured when going to revision 1.0.3b, however I just did this and the problem remains. Has anyone found a cure? STeve Punte e-Business Software Architect Technologent Inc [EMAIL PROTECTED]
SFSB not releasing all resources
Hello, I think there is a bug in Orion 1.1.37 where all the resources that are used by a SFSB are not released at the end of a transaction. Here's the scenario. A SFSB in its ejbCreate () performs a findByPrimaryKey on the home of a CMP entity bean. It then invokes a method on the entity bean and the transaction completes. The SFSB retains a reference to the entity bean instance. It appears that the entity bean is still locked by the SFSB. A problem is encountered when another SFSB instance is created and it tries to access the same entity primary key. Am I correct in assuming that a SFSB may maintain references to other entity beans? And that this should not interfere with other SFSB accessing the entity beans? In my code, when I changed the SFSB to SLSB, everything works fine. Of course, I need to pass the entity bean's primary key to all session bean methods. Hence, I think that this might be a bug with the SFSB. Please let me know whether I'm doing something wrong or incorrectly using SFSB. Thanks, Vidur
call-timeout
Hello, I posted this a few days ago and never got a response. Could someone please confirm this as either a missing feature or my incorrect understanding of the call-timeout concept. Thanks, Vidur -- Hello, Does Orion use the call-timeout attribute specified in session/entity deployment section of orion-ejb-jar.xml? From the docs I understand that the value is specified as milliseconds in hex. I provide a value of call-timeout="493E0". However, when the beans are deployed, the resulting orion-ejb-jar.xml does not have the value and also I notice that the beans throw a "Transaction was rolled back: timed out" exception after 30-60 seconds depending upon server load. Am I missing something or is this feature not implemented n Orion 1.1.37. Thanks, Vidur