View Single Post
  #3 (permalink)  
Old February 28th, 2008, 07:36
naveens naveens is offline
Junior Member
 
Join Date: Feb 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
naveens is on a distinguished road
Re: OAS -- not starting for OTM V5.5 CU4

Quote:
Originally Posted by chrisplough View Post
Naveen,

The error indicates that you have selected a Java heap for OAS which is too large for the amount of memory installed in your server. To resolve, edit the $OTM_HOME/oas/bin/oc4j or $OTM_HOME/oas/bin/oc4j.cmd (win32) file and reduce the java parameters for -Xms and -Xmx. If you have to reduce these below 1025MB for your system to startup, then you don't have enough physical memory in the server and will need to upgrade it.

--Chris
Hi Chris,

Thanks for your reply. It worked .. Now I am able to start apach and web .. services..

But when I am trying to start tomcat .. It is throwning below error ...
STATUS | wrapper | 2008/02/28 11:59:30 | otmwebtomcat55 installed.
STATUS | wrapper | 2008/02/28 12:00:08 | --> Wrapper Started as Service
STATUS | wrapper | 2008/02/28 12:00:09 | Launching a JVM...
INFO | jvm 1 | 2008/02/28 12:00:10 | Wrapper (Version 3.1.2) Java Service Wrapper - What is the Java Service Wrapper?
INFO | jvm 1 | 2008/02/28 12:00:10 |
INFO | jvm 1 | 2008/02/28 12:00:10 | Created MBeanServer with ID: 37fb1e:1185ebbd344:-8000:sbalantr-pc:1
INFO | jvm 1 | 2008/02/28 12:00:12 | Feb 28, 2008 12:00:12 PM org.apache.catalina.startup.Catalina load
INFO | jvm 1 | 2008/02/28 12:00:12 | INFO: Initialization processed in 1250 ms
INFO | jvm 1 | 2008/02/28 12:00:12 | Feb 28, 2008 12:00:12 PM org.apache.catalina.core.StandardService start
INFO | jvm 1 | 2008/02/28 12:00:12 | INFO: Starting service Catalina
INFO | jvm 1 | 2008/02/28 12:00:12 | Feb 28, 2008 12:00:12 PM org.apache.catalina.core.StandardEngine start
INFO | jvm 1 | 2008/02/28 12:00:12 | INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
INFO | jvm 1 | 2008/02/28 12:00:12 | Feb 28, 2008 12:00:12 PM org.apache.catalina.core.StandardHost start
INFO | jvm 1 | 2008/02/28 12:00:12 | INFO: XML validation disabled
INFO | jvm 1 | 2008/02/28 12:00:19 | java.lang.reflect.InvocationTargetException
INFO | jvm 1 | 2008/02/28 12:00:19 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
INFO | jvm 1 | 2008/02/28 12:00:19 | at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
INFO | jvm 1 | 2008/02/28 12:00:19 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.lang.reflect.Method.invoke(Method.java:324)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:275)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:413)
INFO | jvm 1 | 2008/02/28 12:00:19 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
INFO | jvm 1 | 2008/02/28 12:00:19 | at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
INFO | jvm 1 | 2008/02/28 12:00:19 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.lang.reflect.Method.invoke(Method.java:324)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.tanukisoftware.wrapper.WrapperStartStopApp.run (WrapperStartStopApp.java:159)
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.lang.Thread.run(Thread.java:534)
INFO | jvm 1 | 2008/02/28 12:00:19 | Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionServlet
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.lang.ClassLoader.defineClass0(Native Method)
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.lang.ClassLoader.defineClass(ClassLoader.java :539)
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:123)
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.net.URLClassLoader.defineClass(URLClassLoader .java:251)
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.net.URLClassLoader.access$100(URLClassLoader. java:55)
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.net.URLClassLoader$1.run(URLClassLoader.java: 194)
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
INFO | jvm 1 | 2008/02/28 12:00:19 | at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
INFO | jvm 1 | 2008/02/28 12:00:19 | at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1267)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:119
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1034)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:932)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3917)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4197)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1013)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:71
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1013)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:442)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:709)
INFO | jvm 1 | 2008/02/28 12:00:19 | at org.apache.catalina.startup.Catalina.start(Catalin a.java:551)
INFO | jvm 1 | 2008/02/28 12:00:19 | ... 12 more
INFO | jvm 1 | 2008/02/28 12:00:23 | Feb 28, 2008 12:00:23 PM org.apache.catalina.startup.Catalina stopServer
INFO | jvm 1 | 2008/02/28 12:00:23 | SEVERE: Catalina.stop:
INFO | jvm 1 | 2008/02/28 12:00:23 | java.net.ConnectException: Connection refused: connect
INFO | jvm 1 | 2008/02/28 12:00:23 | at java.net.PlainSocketImpl.socketConnect(Native Method)
INFO | jvm 1 | 2008/02/28 12:00:23 | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:305)
INFO | jvm 1 | 2008/02/28 12:00:23 | at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:171)
INFO | jvm 1 | 2008/02/28 12:00:23 | at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:15
INFO | jvm 1 | 2008/02/28 12:00:23 | at java.net.Socket.connect(Socket.java:464)
INFO | jvm 1 | 2008/02/28 12:00:23 | at java.net.Socket.connect(Socket.java:414)
INFO | jvm 1 | 2008/02/28 12:00:23 | at java.net.Socket.<init>(Socket.java:310)
INFO | jvm 1 | 2008/02/28 12:00:23 | at java.net.Socket.<init>(Socket.java:125)
INFO | jvm 1 | 2008/02/28 12:00:23 | at org.apache.catalina.startup.Catalina.stopServer(Ca talina.java:394)
INFO | jvm 1 | 2008/02/28 12:00:23 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
INFO | jvm 1 | 2008/02/28 12:00:23 | at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
INFO | jvm 1 | 2008/02/28 12:00:23 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2008/02/28 12:00:23 | at java.lang.reflect.Method.invoke(Method.java:324)
INFO | jvm 1 | 2008/02/28 12:00:23 | at org.apache.catalina.startup.Bootstrap.stopServer(B ootstrap.java:324)
INFO | jvm 1 | 2008/02/28 12:00:23 | at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:415)
INFO | jvm 1 | 2008/02/28 12:00:23 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
INFO | jvm 1 | 2008/02/28 12:00:23 | at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
INFO | jvm 1 | 2008/02/28 12:00:23 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2008/02/28 12:00:23 | at java.lang.reflect.Method.invoke(Method.java:324)
INFO | jvm 1 | 2008/02/28 12:00:23 | at org.tanukisoftware.wrapper.WrapperStartStopApp.sto p(WrapperStartStopApp.java:282)
INFO | jvm 1 | 2008/02/28 12:00:23 | at org.tanukisoftware.wrapper.WrapperManager.stopInne r(WrapperManager.java:1982)
INFO | jvm 1 | 2008/02/28 12:00:23 | at org.tanukisoftware.wrapper.WrapperManager.stop(Wra pperManager.java:1514)
INFO | jvm 1 | 2008/02/28 12:00:23 | at org.tanukisoftware.wrapper.WrapperManager.checkThr eads(WrapperManager.java:2642)
INFO | jvm 1 | 2008/02/28 12:00:24 | at org.tanukisoftware.wrapper.WrapperManager.handleSo cket(WrapperManager.java:2537)
INFO | jvm 1 | 2008/02/28 12:00:24 | at org.tanukisoftware.wrapper.WrapperManager.run(Wrap perManager.java:2696)
INFO | jvm 1 | 2008/02/28 12:00:24 | at java.lang.Thread.run(Thread.java:534)
ERROR | wrapper | 2008/02/28 12:00:30 | JVM exited unexpectedly while stopping the application.
STATUS | wrapper | 2008/02/28 12:00:30 | <-- Wrapper Stopped

Can you please help me in this too ...
Thanks alot once again for all your help ..
Naveen S
Reply With Quote