Cannot get a stable environment with openejb and other pre-existing web applications (wars) in Tomcat.

View: New views
2 Messages — Rating Filter:   Alert me  

Cannot get a stable environment with openejb and other pre-existing web applications (wars) in Tomcat.

by adam.granger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi guys,

We are relatively new to using openejb and are experiencing the following problem(s) (see details below). Can somebody please assist?

Basically we cannot get openejb to live with our existing deployed applications. I'm sure there is a simple explanation that we are missing. ;-)

SERVER AND VERSION INFORMATION:
Hardware:     1 x Intel(R) Xeon(R) CPU  @ 3.00GHz 3GB RAM
Software:      apache-tomcat-5.5.20
                  java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pxi32dev-      
                  20060511 (SR2)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3
O/S:            Linux x86-32 j9vmxi3223-20060504 (JIT enabled)
               
Deployments: Openejb 3.1.1 (installed out of the box using a war file in webapps - no further changes)
                  Approximately 12 other pre-existing war deployments that deployed and ran successfully  
                  without the introduction of Openejb.

PROBLEM DETAILS
The following events were experienced and led to our various problems:

- We installed an instance of Tomcat 5.5.20 upgrading from version 5.5.12 (to support openejb).

- Deployed 12 war files (previously run on 5.5.12) successfully.
- Deployed the openejb war file and got java heap errors resulting in Tomcat failing.
- Undeployed all apps and restarted Tomcat successfully.

- Deployed about 4 apps (randomly) & openejb successfully. Any app installed after 
   openejb caused java heap errors.
- Removed all apps and restarted

- Deployed openejb and got following error message when trying to access installer: "Access to the specified resource () has been forbidden"
- This was resolved by reading the website: "delete the webapps/openejb/META-INF/context.xml file and
   the webapps/openejb.war" as well as "conf/Catalina/localhost/openejb.xml "
- Started and successfully connected to "http://<server>/openejb".

- Randomly started installing the 12 apps, and when reaching 5 or 6 apps , java heap errors caused
  tomcat to fail.
- Undeployed openejb and restarted.
- Successfully deploy all applications.

Thanks,
Adam and Helena

Re: Cannot get a stable environment with openejb and other pre-esiting web applications in Tomcat.

by Quintin Beukes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey,

Can you please paste the exact heap error stack traces.

Have you tried increasing your heap size?

Quintin Beukes


On Fri, Oct 30, 2009 at 1:57 PM, adam.granger <adam.granger@...>wrote:

>
> Hi guys,
>
> We are relatively new to using openejb and are experiencing the following
> problem(s) (see details below). Can somebody please assist?
>
> Basically we cannot get openejb to live with our existing deployed
> applications. I'm sure there is a simple explanation that we are missing.
> ;-)
>
> SERVER AND VERSION INFORMATION:
> Hardware:     1 x Intel(R) Xeon(R) CPU  @ 3.00GHz 3GB RAM
> Software:      apache-tomcat-5.5.20
>                  java version "1.5.0" Java(TM) 2 Runtime Environment,
> Standard Edition
> (build pxi32dev-
>                  20060511 (SR2)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9
> 2.3
> O/S:            Linux x86-32 j9vmxi3223-20060504 (JIT enabled)
>
> Deployments: Openejb 3.1.1 (installed out of the box using a war file in
> webapps - no further changes)
>                  Approximately 12 other pre-existing war deployments that
> deployed
> and ran successfully
>                  without the introduction of Openejb.
>
> PROBLEM DETAILS
> The following events were experienced and led to our various problems:
>
> - We installed an instance of Tomcat 5.5.20 upgrading from version 5.5.12
> (to support openejb).
>
> - Deployed 12 war files (previously run on 5.5.12) successfully.
> - Deployed the openejb war file and got java heap errors resulting in
> Tomcat
> failing.
> - Undeployed all apps and restarted Tomcat successfully.
>
> - Deployed about 4 apps (randomly) & openejb successfully. Any app
> installed
> after
>   openejb caused java heap errors.
> - Removed all apps and restarted
>
> - Deployed openejb and got following error message when trying to access
> http://servername/openejb: "Access to the specified resource () has been
> forbidden"
> - This was solved by reading the website: "delete the
> webapps/openejb/META-INF/context.xml file and
>   the webapps/openejb.war" as well as "conf/Catalina/localhost/openejb.xml
> "
> - Started and successfully connected to "http://<server>/openejb".
>
> - Randomly started installing the 12 apps, and when reaching 5 or 6 apps ,
> java heap errors caused
>  tomcat to fail.
> - Undeployed openejb and restarted.
> - Successfully deploy all applications.
>
> Thanks,
> Adam and Helena
>
> --
> View this message in context:
> http://old.nabble.com/Cannot-get-a-stable-environment-with-openejb-and-other-pre-esiting-web-applications-in-Tomcat.-tp26128818p26128818.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
>