Sorry to keep spamming the list, but this is quite impressive...check out the times on the Servlet->EJB Benchmark:
It just got faster every time I ran it (good old hotspot working in there,  I guess)  The average call time was about 4ms, down to what you see below....
(PIII/733Mhz/128MB RAM/JDK1.3/RedHat Linux 7.0/jBoss CVS/Tomcat3.2b4)

Servlet calling EJB

Using jndi name NonOptimized: getMessage() returned: "StatelessSessionBean says: Hello World"

Speed Test now (1000 iterations)
Time/call(ms):1.37
Time/call(ms):1.35
Time/call(ms):1.3
Time/call(ms):1.21
Time/call(ms):1.23
Time/call(ms):1.15
Time/call(ms):1.91
Time/call(ms):1.25
Time/call(ms):1.22
Avg. time/call(ms):1.332

Using jndi name Optimized: getMessage() returned: "StatelessSessionBean says: Hello World"

Speed Test now (1000 iterations)
Time/call(ms):1.6
Time/call(ms):1.4
Time/call(ms):1.4
Time/call(ms):4.91
Time/call(ms):2.66
Time/call(ms):3.05
Time/call(ms):2.48
Time/call(ms):2.42
Time/call(ms):2.46
Avg. time/call(ms):2.395





[EMAIL PROTECTED]

10/25/2000 09:16 AM
Please respond to jBoss

       
        To:        jBoss <[EMAIL PROTECTED]>
        cc:        
        Subject:        Re: [jBoss-User] Is EmbeddedTomcat working?



Ahh...just found the solution to this one.  While mucking about with the old Tomcat integration, I noticed it complaining about missing a XMLParserFactory.  I added Sun's jaxp.jar and parser.jar to my classpath, and everything is now magically working...


-Jason




[EMAIL PROTECTED]

10/25/2000 08:53 AM
Please respond to jBoss

       
       To:        [EMAIL PROTECTED]

       cc:        

       Subject:        [jBoss-User] Is EmbeddedTomcat working?




I'm using today's CVS snapshot (10/25), and have tried both the tomcat-service.jar that is packaged with it, and also compiled the EmbeddedTomcat module from the contrib CVS snapshot, both with the same result.  I am running it against Tomcat 3.2b4.  This is what I get at server startup:


[EmbeddedTomcat] Starting

[EmbeddedTomcat] Testing if Tomcat is present....

[EmbeddedTomcat] OK

[EmbeddedTomcat] ContextManager: Adding context Ctx(  )

[Default] Error starting service 'DefaultDomain:service=EmbeddedTomcat': javax.management.RuntimeErrorException: Error thrown in operation start

[Default] Unable to start service 'EmbeddedTomcat'



The related MLET entries in jboss.conf looks like this:

<MLET CODE = "org.jboss.deployment.J2eeDeployer" ARCHIVE="jboss.jar,../xml.jar" CODEBASE="../lib/ext/">

  <ARG TYPE="java.lang.String" VALUE="../tmp">

  <ARG TYPE="java.lang.String" VALUE="EJB:service=ContainerFactory">

  <ARG TYPE="java.lang.String" VALUE=":service=EmbeddedTomcat">

</MLET>

<MLET CODE = "org.jboss.tomcat.EmbeddedTomcatService" ARCHIVE="jboss.jar" CODEBASE="../lib/ext/">

<ARG TYPE="int" VALUE=8080>

</MLET>


Is there anyway to turn on some more verbose debugging?  "Error thrown in operation start" doesn't help too much.. ;), or any ideas as to what might be wrong?


-Jason



Reply via email to