You are right. Somehow when i add the openejb javaagent to catalina.sh, tomcat does not start, i dont know what is the reason behind this. I am actually copying it as is from the instructions and pasting it to catalina.sh, so it should not be wrong.
On 8/17/07, David Blevins <[EMAIL PROTECTED]> wrote: > > On Aug 17, 2007, at 6:17 PM, Karan Malhi wrote: > > > There is no openejb.log file > > Hmm. Looks like we still only have a log4j setup for embedded mode. > Maybe all the log messages are in catalina.out? > > -David > > > > On 8/17/07, David Blevins <[EMAIL PROTECTED]> wrote: > >> Anything in the openejb.log file? > >> > >> -David > >> > >> On Aug 17, 2007, at 5:16 PM, Karan Malhi wrote: > >> > >>> Dain, > >>> > >>> Got the following error, tests did not run at all. > >>> > >>> [EMAIL PROTECTED]:~/install/openejb-plugin-starter/apache- > >>> tomcat-6.0.14$ > >>> java -Dtomcat.home=. > >>> -Dremote.servlet.url=http://127.0.0.1:8080/openejb/remote -jar > >>> ../openejb-tomcat-3.0.0-SNAPSHOT-test.jar tomcat > >>> _________________________________________________ > >>> |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_| > >>> > >>> Running EJB compliance tests on HTTP/Tomcat Server > >>> _________________________________________________ > >>> WARNING: No test suite configuration file specified, assuming system > >>> properties contain all needed information. To specify a test suite > >>> configuration file by setting its location using the system property > >>> "openejb.testsuite.properties" > >>> [] START TOMCAT SERVER > >>> CATALINA_HOME = > >>> /home/karan/install/openejb-plugin-starter/apache-tomcat-6.0.14/. > >>> SYSTEM_INFO = Java 1.5.0_12; Linux/2.6.20-16-server > >>> test server = org.apache.openejb.test.TomcatRemoteTestServer > >>> entry = java.naming.provider.url:http://127.0.0.1:8080/openejb/ > >>> remote > >>> entry = > >>> java.naming.factory.initial:org.apache.openejb.client.RemoteInitialC > >>> on > >>> textFactory > >>> Error closing connection with server: null > >>> Cannot start the test database: java.lang.IllegalStateException > >>> Cannot > >>> find 'client/tools/DatabaseHome': > >>> javax.naming.ServiceUnavailableException Cannot lookup > >>> '/client/tools/DatabaseHome'. > >>> Cannot initialize the test environment: > >>> java.lang.IllegalStateException Cannot find > >>> 'client/tools/DatabaseHome': > >>> javax.naming.ServiceUnavailableException > >>> Cannot lookup '/client/tools/DatabaseHome'. > >>> java.lang.IllegalStateException: Cannot find > >>> 'client/tools/DatabaseHome': > >>> javax.naming.ServiceUnavailableException > >>> Cannot lookup '/client/tools/DatabaseHome'. > >>> at org.apache.openejb.test.HsqldbTestDatabase.start > >>> (HsqldbTestDatabase.java:192) > >>> at org.apache.openejb.test.TestManager.start > >>> (TestManager.java:88) > >>> at org.apache.openejb.test.TestRunner.start(TestRunner.java: > >>> 188) > >>> at org.apache.openejb.test.TestRunner.main > >>> (TestRunner.java:86) > >>> at org.apache.openejb.test.Main.main(Main.java:31) > >>> Cannot find 'client/tools/DatabaseHome': > >>> javax.naming.ServiceUnavailableException Cannot lookup > >>> '/client/tools/DatabaseHome'. > >>> > >>> > >>> On 8/17/07, Manu George <[EMAIL PROTECTED]> wrote: > >>>> Hi Dain, > >>>> Unzipped it and got it running in windows. I followed > >>>> the doc just substituting windows commands for the linux ones. > >>>> Works > >>>> like a charm. The only difference in output was the time. It took > >>>> 66.375 secs for me. You got a fast system there and openejb > >>>> seems to > >>>> be scaling well :). > >>>> > >>>> Regards > >>>> Manu > >>>> > >>>> On 8/17/07, Dain Sundstrom <[EMAIL PROTECTED]> wrote: > >>>>> If you have some free time, I have written installation > >>>>> instructions > >>>>> for the new OpenEJB plugin for Tomcat, and would like to get as > >>>>> many > >>>>> people as possible to try this out before we ship 3.0. The > >>>>> instruction are currently only for Unix, and only have been > >>>>> tested on > >>>>> my MacBook. To make things easier, I have created a starter zip > >>>>> file > >>>>> that contains the Tomcat distribution and OpenEJB jars needed for > >>>>> these instructions. > >>>>> > >>>>> Instructions: > >>>>> > >>>>> http://cwiki.apache.org/confluence/display/OPENEJB/New > >>>>> +Instructions > >>>>> > >>>>> Starter Zip: > >>>>> > >>>>> http://people.apache.org/~dain/openejb-plugin-starter.zip > >>>>> > >>>>> If you have problems, let me know. If you find a typo or bug, > >>>>> just > >>>>> edit the page; it's a wiki. > >>>>> > >>>>> Thanks, > >>>>> > >>>>> -dain > >>>>> > >>>>> > >>>> > >>> > >>> > >>> -- > >>> Karan Singh Malhi > >>> > >> > >> > > > > > > -- > > Karan Singh Malhi > > > > -- Karan Singh Malhi
