Re: Connection Pooling in Orion
At 18:43 04.05.2001 , you wrote: I think I've correctly set up database connection pooling for my enterprise app. But how do I confirm that Orion is actually doing connection pooling for me? - look at your dbms logs (if your dbms provides such facilities) - enable tracing in your jdbc driver (again, if your jdbc driver provides something like that) - just rely on it because it does work ;-) HTH robert Thanks. __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
Re: Number of JVMs on Orion..
Hi Tim, Thanks for your reply. I would like to know how can we create JVMs running Orion on one machine? Thanks Subrah --- Tim Endres [EMAIL PROTECTED] wrote: Orion does not invoke JVMs. It runs within a JVM. Thus, the answer is one. Of course, this does not prevent you from starting any number of JVMs running Orion. Hi, Can anyone explain how many number of JVMs can we create on Orion? Thanks Subrah __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
Re: Number of JVMs on Orion..
java -jar orion.jar Hi Tim, Thanks for your reply. I would like to know how can we create JVMs running Orion on one machine? Thanks Subrah --- Tim Endres [EMAIL PROTECTED] wrote: Orion does not invoke JVMs. It runs within a JVM. Thus, the answer is one. Of course, this does not prevent you from starting any number of JVMs running Orion. Hi, Can anyone explain how many number of JVMs can we create on Orion? Thanks Subrah __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
2 Bugs in 1.4.8
On win98: Autoupdated from 1.4.7 to 1.4.8 and found this bugs (after emptying application-deployments dir) a) my orion-ejb-jar.xml are not used any more. b) crashes login Web application user. Denies any access to Desktop application user. All worked fine till 1.4.7. Upgraded to be able to use Struts without patching it. Anybody got similar problems? Werner Bohl
Re: remote shutdown of orion 1.4.8
The same is happening to me. Using 1.4.7 everything was fine. I already posted a message before but here it is again: - java -jar admin.jar ormi://localhost admin 123 -shutdown Works as long as no EJB/Database is called. Gives the shutting down... for ever message if ejb/jdbc is accessed - CTRL-C Works fine as long as not ejb/jdbc calls are made Does not work at all if ejb/jdbc is accessed - Touch the application.xml file Redeploys the application as long as no EJB/jdbc calls are made Gives the following error if ejb/jdbc is accessed: java.lang.SecurityException: Invalid username/password for CitySolutions (Admin) at com.evermind._br._me(Unknown Source) at com.evermind._br._me(Unknown Source) at com.evermind._br._mj(Unknown Source) at com.evermind._bs._mj(Unknown Source) at com.evermind.server.rmi.RMIContext.unbind(Unknown Source) at com.evermind._bt.unbind(Unknown Source) at com.evermind._cb._vy(Unknown Source) at com.evermind._cb._yq(Unknown Source) at com.evermind._cb._ax(Unknown Source) at com.evermind._cb._ax(Unknown Source) at com.evermind.server.ApplicationServer._tw(Unknown Source) at com.evermind._kn.run(Unknown Source) at com.evermind._by.run(Unknown Source) at com.evermind._jw.run(Unknown Source) This is driving me crazy because the only way to redeploy ejbs now is to kill the process and force the server to crash OS: Windows NT 4.0, JDK 1.3 1.4.8 Hi! It is a bit unclear for me how the shutdown process should work. When I initiate java -jar admin.jar ormi://localhost admin password -shutdown the message Shutting down... is printed on the log. After that Orion no longer responds to any requests but all the Java processes are still kicking alive: $ ps ax 21242 pts/2S 0:00 /usr/java/jdk1.3/bin/i386/native_threads/java -server -Xms8m -Xmx192m -Djava... 21266 pts/2S 0:00 /usr/java/jdk1.3/bin/i386/native_threads/java -server -Xms8m -Xmx192m -Djava... ... Platform: RedHat Linux 7.0, HotSpot Virtual Machine, Orion 1.4.7 Is there a way to shutdown Orion so that it stops all Java procesesses too?
Re: 2 Bugs in 1.4.8
Werner, I can't respond to b) below, but the fix to a) is simple. One of the changes in 1.4.8 is the location of the orion-ejb-jar.xml file in the ejb.jar. It moved under the META-INF directory, instead of the orion directory. Jeff Hubbach Werner Bohl wrote: On win98:Autoupdated from 1.4.7 to 1.4.8 and found this bugs (after emptying application-deployments dir)a) my orion-ejb-jar.xml are not used any more.b) crashes login Web application user. Denies any access to Desktop application user. All worked fine till 1.4.7. Upgraded to be able to use Struts without patching it. Anybody got similar problems? Werner Bohl -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com
Re: 2 Bugs in 1.4.8
Hi, File change.txt mentions this: Moved orion-ejb-jar.xml's inclusion path in an ejb-jar to the META-INF/ directory from the orion/ I don't know about b). --- Werner Bohl [EMAIL PROTECTED] wrote: On win98: Autoupdated from 1.4.7 to 1.4.8 and found this bugs (after emptying application-deployments dir) a) my orion-ejb-jar.xml are not used any more. b) crashes login Web application user. Denies any access to Desktop application user. All worked fine till 1.4.7. Upgraded to be able to use Struts without patching it. Anybody got similar problems? Werner Bohl = - http://vietlibrary.cjb.net - __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
Re: 2 Bugs in 1.4.8
Take a look at the changes.txt that is found in the orion directory whenever you update the server. orion-ejb-jar.xml has changed locations. Other changes may pertain as well. --- Werner Bohl [EMAIL PROTECTED] wrote: On win98: Autoupdated from 1.4.7 to 1.4.8 and found this bugs (after emptying application-deployments dir) a) my orion-ejb-jar.xml are not used any more. b) crashes login Web application user. Denies any access to Desktop application user. All worked fine till 1.4.7. Upgraded to be able to use Struts without patching it. Anybody got similar problems? Werner Bohl __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
Q:CMP Primer and Oracle 8.1.7 deployment
Hi all, I'm trying to deploy the CMP Primer (running on Win2000)using an Oracle 8.1.7 database on a Solaris box. Everything works fine if I use the default database provided by Orion (Hypersonic ??). The table is createdaccording to the extremly good example.But when I change the data-sources.xml into the following, the table is not created (I removed the hypersonic and added the Oracle one, so only one entry). data-source class="com.evermind.sql.DriverManagerDataSource" name="Oracle" schema="database-schemas/oracle.xml" location="jdbc/OracleCoreDS" xa-location="jdbc/xa/OracleXADS" ejb-location="jdbc/OracleDS" connection-driver="oracle.jdbc.driver.OracleDriver" username="scott" password="tiger" url="jdbc:oracle:thin:@sunprod:1521:orcl" inactivity-timeout="30" / So, I turned on the debugging information for JDBC, but no errors: C:\orionjava -Ddatasource.verbose=true -jar orion.jar Auto-deploying addressbook (New server version detected)...DataSource logwriter activated...jdbc:oracle:thin:@sunprod:1521:orcl: Startedjdbc:oracle:thin:@sunprod:1521:orcl: StartedAuto-deploying addressbook-ejb.jar (No previous deployment found)... Created newphysical connection: XA XA Orion Pooled jdbc:oracle:thin:@sunprod:1521:orclnull: Connection XA XA Orion Pooled jdbc:oracle:thin:@sunprod:1521:orcl allocated (Pool size: 0)jdbc:oracle:thin:@sunprod:1521:orcl: Opened connection Created new physical connection: Pooled oracle.jdbc.driver.OracleConnection@ece70d1aPooled jdbc:oracle:thin:@sunprod:1521:orcl: Connection Pooled oracle.jdbc.driver.OracleConnection@ece70d1a allocated (Pool size: 0)Pooled jdbc:oracle:thin:@sunprod:1521:orcl: Releasing connectionPooled oracle.jdbc.driver.OracleConnection@ece70d1a to pool (Pool size: 1)null: Releasing connection XA XA Orion Pooled jdbc:oracle:thin:@sunprod:1521:orcl to pool (Pool size: 1)done.Orion/1.4.5 initialized Anyone got a clue why this is happening, or have I missed something ??? //KalleGet your FREE download of MSN Explorer at http://explorer.msn.com
RE: CMP Primer and Oracle 8.1.7 deployment
Has user scott allowed to create tables? (usually scott is allowed to create tables). Can you log into the sun box, start sqlplus, and connect as scott? Is net8 running properly? Is the port for net8 listed in the service file on the sun box? Can you connect to the sun box from an oracle client on your win 2000 box? These are the places I would start in debugging this problem. I have been running oracle 8.1.7 and orion with no problems. the elephantwalker -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kalle AnkaSent: Saturday, May 05, 2001 4:45 PMTo: Orion-InterestSubject: Q:CMP Primer and Oracle 8.1.7 deployment Hi all, I'm trying to deploy the CMP Primer (running on Win2000)using an Oracle 8.1.7 database on a Solaris box. Everything works fine if I use the default database provided by Orion (Hypersonic ??). The table is createdaccording to the extremly good example.But when I change the data-sources.xml into the following, the table is not created (I removed the hypersonic and added the Oracle one, so only one entry). data-source class="com.evermind.sql.DriverManagerDataSource" name="Oracle" schema="database-schemas/oracle.xml" location="jdbc/OracleCoreDS" xa-location="jdbc/xa/OracleXADS" ejb-location="jdbc/OracleDS" connection-driver="oracle.jdbc.driver.OracleDriver" username="scott" password="tiger" url="jdbc:oracle:thin:@sunprod:1521:orcl" inactivity-timeout="30" / So, I turned on the debugging information for JDBC, but no errors: C:\orionjava -Ddatasource.verbose=true -jar orion.jar Auto-deploying addressbook (New server version detected)...DataSource logwriter activated...jdbc:oracle:thin:@sunprod:1521:orcl: Startedjdbc:oracle:thin:@sunprod:1521:orcl: StartedAuto-deploying addressbook-ejb.jar (No previous deployment found)... Created newphysical connection: XA XA Orion Pooled jdbc:oracle:thin:@sunprod:1521:orclnull: Connection XA XA Orion Pooled jdbc:oracle:thin:@sunprod:1521:orcl allocated (Pool size: 0)jdbc:oracle:thin:@sunprod:1521:orcl: Opened connection Created new physical connection: Pooled oracle.jdbc.driver.OracleConnection@ece70d1aPooled jdbc:oracle:thin:@sunprod:1521:orcl: Connection Pooled oracle.jdbc.driver.OracleConnection@ece70d1a allocated (Pool size: 0)Pooled jdbc:oracle:thin:@sunprod:1521:orcl: Releasing connectionPooled oracle.jdbc.driver.OracleConnection@ece70d1a to pool (Pool size: 1)null: Releasing connection XA XA Orion Pooled jdbc:oracle:thin:@sunprod:1521:orcl to pool (Pool size: 1)done.Orion/1.4.5 initialized Anyone got a clue why this is happening, or have I missed something ??? //Kalle Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: remote shutdown of orion 1.4.8
Did you check the changes.txt file, and move the references to principals.xml from server.xml to application.xml? Any security errors you get when switching from 1.4.7 to 1.4.8 are very likely to be due to not making that change... On Sat, 5 May 2001, Eduardo Estefano wrote: The same is happening to me. Using 1.4.7 everything was fine. I already posted a message before but here it is again: - java -jar admin.jar ormi://localhost admin 123 -shutdown Works as long as no EJB/Database is called. Gives the shutting down... for ever message if ejb/jdbc is accessed - CTRL-C Works fine as long as not ejb/jdbc calls are made Does not work at all if ejb/jdbc is accessed - Touch the application.xml file Redeploys the application as long as no EJB/jdbc calls are made Gives the following error if ejb/jdbc is accessed: java.lang.SecurityException: Invalid username/password for CitySolutions (Admin) at com.evermind._br._me(Unknown Source) at com.evermind._br._me(Unknown Source) at com.evermind._br._mj(Unknown Source) at com.evermind._bs._mj(Unknown Source) at com.evermind.server.rmi.RMIContext.unbind(Unknown Source) at com.evermind._bt.unbind(Unknown Source) at com.evermind._cb._vy(Unknown Source) at com.evermind._cb._yq(Unknown Source) at com.evermind._cb._ax(Unknown Source) at com.evermind._cb._ax(Unknown Source) at com.evermind.server.ApplicationServer._tw(Unknown Source) at com.evermind._kn.run(Unknown Source) at com.evermind._by.run(Unknown Source) at com.evermind._jw.run(Unknown Source) This is driving me crazy because the only way to redeploy ejbs now is to kill the process and force the server to crash OS: Windows NT 4.0, JDK 1.3 1.4.8 Hi! It is a bit unclear for me how the shutdown process should work. When I initiate java -jar admin.jar ormi://localhost admin password -shutdown the message Shutting down... is printed on the log. After that Orion no longer responds to any requests but all the Java processes are still kicking alive: $ ps ax 21242 pts/2S 0:00 /usr/java/jdk1.3/bin/i386/native_threads/java -server -Xms8m -Xmx192m -Djava... 21266 pts/2S 0:00 /usr/java/jdk1.3/bin/i386/native_threads/java -server -Xms8m -Xmx192m -Djava... ... Platform: RedHat Linux 7.0, HotSpot Virtual Machine, Orion 1.4.7 Is there a way to shutdown Orion so that it stops all Java procesesses too?
RE: remote shutdown of orion 1.4.8
From: Eduardo Estefano [mailto:[EMAIL PROTECTED]] The same is happening to me. Using 1.4.7 everything was fine. I already posted a message before but here it is again: - java -jar admin.jar ormi://localhost admin 123 -shutdown Works as long as no EJB/Database is called. Gives the shutting down... for ever message if ejb/jdbc is accessed This has been happening to me since I started using Orion (1.3.8). There was some discussion of this problem on the list a long time ago, and I believe the conclusion was that there is some sort of JVM problem. You might want to search the list for shutdown. I'm using Win2K with JDK 1.3 1.3_02. Jeff