Can't Start Tomcat 5

Every time I start Tomcat 5 either from the commandline, service or NetBeans it issues this error and the webApp does not get started.
I get the following:
SEVERE: Error registering Catalina:type=Mapper
java.lang.SecurityException: access denied (javax.management.MBeanTrustPermission register)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1725)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:342)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:505)
at org.apache.commons.modeler.Registry.registerComponent(Registry.java:871)
at org.apache.commons.modeler.Registry.registerComponent(Registry.java:346)
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1557)
at org.apache.catalina.core.StandardService.start(StandardService.java:528)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Aug 16, 2004 9:55:06 AM org.apache.coyote.tomcat5.CoyoteConnector start
SEVERE: Protocol JMX registration failed
java.lang.SecurityException: access denied (javax.management.MBeanTrustPermission register)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1725)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:342)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:505)
at org.apache.commons.modeler.Registry.registerComponent(Registry.java:871)
at org.apache.commons.modeler.Registry.registerComponent(Registry.java:346)
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1557)
at org.apache.catalina.core.StandardService.start(StandardService.java:528)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Aug 16, 2004 9:55:06 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 47859 ms
Is there a way to stop this?? All I have done is install at this point.
Any help would be appreciated.
Lee

Hi,
Check the environment variables for TOMCAT_HOME and JAVA_HOME.
Best of Luck,
KJ

Similar Messages

  • Can't Start Tomcat 5 as a Service

    Can't Start Tomcat 5 as a Service on XP, when I do
    tomcat5\bin\net start tomcat5
    I get "NET" is not recognized as an internal or external command
    where's that net command coming from? java or XP
    thanks

    You are trying to start the program called tomcat\bin\net which does not exist. The net command belongs to Windows. Just issuing "net start tomcat" or "net start tomcat5" should work from any directory.
    Or just go through the Control Panel->Administrative Tools->Services dialog to start and stop Tomcat as a service.

  • Can't start Tomcat after installing Bea WorkShop for JSP

    Hi,
    I have been using Eclipse SDK Version: 3.1.2 Build id: M20060118-1600 and Web Tools Project 1.0.2 and Tomcat 5.0 and Tomcat 5.5 for about 2 months with no problems. But now I Can't start Tomcat after installing Bea WorkShop for JSP plug-in. I get "Server Tomcat v5.0 @ localhost failed to start". Any help would be greatly appreciated.

    I installed BEA Workshop for JSP Version: 3.1.0
    Build id: 536. I only wanted to install the plug-in to my existng Eclipse 3.1 / WTP application. The only option that I saw was to download the entire FullWorkshopFreeInstall-536.zip, which is 192,496 KB. During the installation, there is a screen that you can specify to only install the plug-in - and I selected that option. Today, I chose to uninstall the BEA Workshop for JSP and then I was again able to start Tomcat server. I then did a complete install of BEA Workshop for JSP into a totally separate location. My original Eclipse installation still works fine, but my Workshop for JSP Version (which is now a completely new installation) has the same problem with Tomcat that I reported with the plug-in. I am using j2sdk1.4.2_08 and have tried both Tomcat 5.0 and Tomcat 5.5. I have the same problem with both Windows XP Home Edition and Windows XP Professional.
    Thanks for your assistance.
    Ron

  • Can't start Tomcat!  help me!

    Hello all,
    I have used JDK1.3.1; now I download Tomcat, I write a batch file includes:
    set JAVA_HOME=C:\JDK1.3.1
    set ANT_HOME=C:\jakarta-tomcat
    set TOMCAT_HOME=C:\jakarta-tomcat
    set CLASSPATH=%CLASSPATH%;C:\jdk1.3.1\lib\tools.jar;
    and run it;
    now I go to C:\jakarta-tomcat\bin and type 'startup':
    C:\jakarta-tomcat\bin>startup
    Including all jars in C:\jakarta-tomcat\lib in your CLASSPATH.
    Using CLASSPATH: C:\jakarta-tomcat\classes;C:\jakarta-tomcat\lib\ant.jar;C:\jaka
    rta-tomcat\lib\jasper.jar;C:\jakarta-tomcat\lib\jaxp.jar;C:\jakarta-tomcat\lib\p
    arser.jar;C:\jakarta-tomcat\lib\servlet.jar;C:\jakarta-tomcat\lib\webserver.jar;
    ;C:\jdk1.3.1\lib\tools.jar;;C:\JDK1.3.1\lib\tools.jar
    Starting Tomcat in new window
    but the new window disappear after several seconds,Tomcat doesn't start.Then, I type 'tomcat run':
    C:\jakarta-tomcat\bin>tomcat run
    Including all jars in C:\jakarta-tomcat\lib in your CLASSPATH.
    Using CLASSPATH: C:\jakarta-tomcat\classes;C:\jakarta-tomcat\lib\ant.jar;C:\jaka
    rta-tomcat\lib\jasper.jar;C:\jakarta-tomcat\lib\jaxp.jar;C:\jakarta-tomcat\lib\p
    arser.jar;C:\jakarta-tomcat\lib\servlet.jar;C:\jakarta-tomcat\lib\webserver.jar;
    ;C:\jdk1.3.1\lib\tools.jar;;C:\JDK1.3.1\lib\tools.jar
    ERROR reading C:\jakarta-tomcat\conf\server.xml
    At Line 121 /Server/ContextManager/ContextInterceptor/ className=org.apache.tomc
    at.context.LoaderInterceptor
    FATAL: configuration error
    java.lang.ClassNotFoundException: org.apache.tomcat.context.LoaderInterceptor
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:453)
    at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:314)
    at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:68)
    at com.sun.xml.parser.Parser.maybeElement(Parser.java:1390)
    at com.sun.xml.parser.Parser.content(Parser.java:1498)
    at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
    at com.sun.xml.parser.Parser.content(Parser.java:1498)
    at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
    at com.sun.xml.parser.Parser.parseInternal(Parser.java:491)
    at com.sun.xml.parser.Parser.parse(Parser.java:283)
    at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:198)
    at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:143)
    at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
    C:\jakarta-tomcat\bin>
    What's this problem? How can I do?please help me,
    thanks

    Modify the classpath as follows.
    set JAVA_HOME=C:\JDK1.3.1
    set ANT_HOME=C:\jakarta-tomcat
    set TOMCAT_HOME=C:\jakarta-tomcat
    set CLASSPATH=%CLASSPATH%;C:\jdk1.3.1\lib\tools.jar;JAVA_HOME\lib;
    Modify the Path as follows
    set PATH = %PATH%;%JAVA_HOME%\bin;%TOMCAT_HOME%\bin

  • Eclipse 3.0 can't start Tomcat 5.0...

    Hi,
    I've installed Tomcat 5.0, Eclipse 3.0 and Sysdeo-Plugin ( com.sysdeo.eclipse.tomcat_3.0.0).
    After opening Eclipse I've tried to start Tomcat within Eclipse.
    I got the following error-message:
    java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
    Next a pop-up-alert was displayed with the following content:
    Java Virtual Machine Launcher: Could not find the main class. Program will exit.
    After trying to start Tomcat agin, errLog showed the following 2 errors:
    1.
    Message: Start Tomcat...
    Exception Stack Trace: An exception stack trace could not be found.
    Session Data:
    eclipse.buildId=M200409161125
    java.version=1.4.2_01
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    2.
    Message: Stop Tomcat...
    Exception Stack Trace: An exception stack trace could not be found.
    Session Data:
    eclipse.buildId=M200409161125
    java.version=1.4.2_01
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    After closing Eclipse, the error-message (Java Virtual Machine Launcher: Could not find the main class. Program will exit.) was shown, again...
    Do you have any idea, in order to fix the bug...?
    bye
    Chris

    Now I've installed Tomcat 5.5.7 and set CATALINA_HOME and PATH.
    The ErrorLogs by starting and stopping Tomcat were still displayed.
    By starting Tomcat 5.5.7 wihin Eclipse 3.0.1., the Console shows this:
    13.02.2005 14:33:07 org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    13.02.2005 14:33:07 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1201 ms
    13.02.2005 14:33:08 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    13.02.2005 14:33:08 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
    13.02.2005 14:33:08 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    13.02.2005 14:33:10 org.apache.catalina.startup.ContextConfig applicationWebConfig
    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Lomb]
    13.02.2005 14:33:11 org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(C:\Tomcat_5_5_7\webapps\ZT\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    13.02.2005 14:33:11 org.apache.catalina.startup.ContextConfig applicationWebConfig
    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ZT]
    13.02.2005 14:33:11 org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    13.02.2005 14:33:11 org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    13.02.2005 14:33:12 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/120  config=null
    13.02.2005 14:33:12 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    13.02.2005 14:33:12 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 4517 msSome INFO's look strange:
    INFO: validateJarFile(C:\Tomcat_5_5_7\webapps\ZT\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offendingor
    INFO: Missing application web.xml, using defaults onlyor
    INFO: XML validation disabledDo you know, what's the reason for it?
    bye
    Chris

  • Can't start Tomcat after installing it

    In my laptop, I installed Tomcat and it installed fine, but, when I try to start Tomcat, it doesn't do anything.

    I get the following error message when I do Catalina run under tomcat's bin directory:
    C:\jakarta-tomcat-5.0.12>catalina run
    'catalina' is not recognized as an internal or external command,
    operable program or batch file.
    C:\jakarta-tomcat-5.0.12>cd bin
    C:\jakarta-tomcat-5.0.12\bin>catalina run
    Using CATALINA_BASE: C:\jakarta-tomcat-5.0.12
    Using CATALINA_HOME: C:\jakarta-tomcat-5.0.12\
    Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.12\temp
    Using JAVA_HOME: C:\j2sdk1.4.1_02
    Usage: java [-options] class [args...]
    (to execute a class)
    or java -jar [-options] jarfile [args...]
    (to execute a jar file)
    where options include:
    -client to select the "client" VM
    -server to select the "server" VM
    -hotspot is a synonym for the "client" VM [deprecated]
    The default VM is client.
    -cp -classpath <directories and zip/jar files separated by ;>
    set search path for application classes and resources
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -showversion print product version and continue
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    C:\jakarta-tomcat-5.0.12\bin>

  • Can't Start tomcat.

    Hi.
    When I click on startup.bat, the screen appears and disappears the very next second. I have tried to reboot the comp and install a newer version of tomcat, but this same problem still show up. When I check the task manager, I don't think there is any tomcat running. Even if there is, I don't know which one is it. Anyone can help?

    When I click on startup.bat, the screen appears and disappears the very next second.Open a command console using start > run > cmd.exe and run it from there.

  • Help! -why can't start Tomcat --Installation problem??

    I downloaded Tomcat 5.0.30.exe and installed Tomcat 5 and JDK 5 on my local computer (I also have IIS installed, and Java App Server (from J2EE); yes I have plenty of space lol);
    I did this in the command line:
    Set JAVA_HOME=C:\jdk1.5_03; and I also added this env variable to my user & system Path variables in System Properties dialogue (just to exclude this problem).
    and I remember during the Tomcat.exe installation, the JVM was already correctly set to C:\Program Files\Java\jre1.5_03\bin\client\jvm.dll (I also tried set JVM to C:\jdk1.5_03\jre\bin\server\jvm.dll and it did not seem to make any difference)
    I am still not able to startup the service (don't see my admin page even though the system tray says the Tomcat is running).
    Does any of the above setup seem wrong? I'm a novice in Java/JSP and just want to try developing some web service in Java/JSP instead of ASP or .NET.
    I'd appreciate all your advice and help!!
    Thanks in advance!!

    When I say "Startup" in the command, the original command window displays Using CATALINA_HOME: C:\apache\tomcat5, so I guess it was correctly set already ...?
    By default, it is using 8080 port... If I have my IIS running, would that have conflict? IIS runs on 80. I don't think I've anything running on 8080.
    localhost_admin_log has the following everytime I try to see admin page in my web browser:--------------------------------------------------------------
    2005-05-05 10:06:06 ApplicationDispatcher[admin] Servlet.service() for servlet admin.login_jsp threw exception
    javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE
         at org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1233)
         at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1082)
         at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:226)
         at admin.login_jsp._jspx_meth_bean_message_0(login_jsp.java:131)
         at admin.login_jsp._jspService(login_jsp.java:78)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:220)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    The above also appears in the Tomcat cmd prompt window if I use startup in the cmd window.
    The stdout and stderr logs has nothing.
    The jakarta_service log has the following:-----------------------------------------------------------
    [2005-05-05 10:03:46] [info] Service Tomcat5 name Apache Tomcat
    [2005-05-05 10:03:46] [420 service.c] [error] The specified service already exists.
    [2005-05-05 10:03:46] [538 prunsrv.c] [error] Failed installing Tomcat5 service
    [2005-05-05 10:03:47] [info] Procrun finished.
    [2005-05-05 10:04:48] [info] Updating service...
    [2005-05-05 10:04:48] [info] Service Tomcat5 updated
    [2005-05-05 10:04:48] [info] Update service finished.
    [2005-05-05 10:04:48] [info] Procrun finished.
    [2005-05-05 10:04:49] [info] Updating service...
    [2005-05-05 10:04:49] [info] Service Tomcat5 updated
    [2005-05-05 10:04:49] [info] Update service finished.
    [2005-05-05 10:04:49] [info] Procrun finished.
    Thanks a lot for your advice and help!!!

  • Starting Tomcat as Service

    Hi,
    How can I start Tomcat as a service in control Panel. I have windows XP Home . The only purpose to start the Tomcat as a service is to create file "catlina.out" log file for my application. Is there any other way to have the log of my application. .
    Thanks

    Here is how to create a web application log in tomcat
    http://localhost:8080/tomcat-docs/config/logger.html

  • Problem to start tomcat in Business Objects Edge 3.1

    I can not start Tomcat 5.5 installed and deployed from the Business Objects BI Edge 3.1.
    BO installs normally, but Tomcat does not start.
    I tried to start tomcat from the control panel -> administrative tools -> services. But also not start.
    You receive the following message: Windows could start in Apache Tomcat 5.5.20 on the local computer.
    The log is:
    [06/05/2011 10:22:37] [409 javajni.c] [error] Failed CreateJavaVM
    [06/05/2011 10:22:37] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    [06/05/2011 10:22:37] [prunsrv.c 1179] [error] ServiceStart returned 2
    [06/05/2011 10:28:42] [409 javajni.c] [error] Failed CreateJavaVM
    [06/05/2011 10:28:42] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    [06/05/2011 10:28:42] [prunsrv.c 1179] [error] ServiceStart returned 2
    [06/05/2011 10:30:40] [409 javajni.c] [error] Failed CreateJavaVM
    [06/05/2011 10:30:40] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    [06/05/2011 10:30:40] [prunsrv.c 1179] [error] ServiceStart returned 2
    [06/05/2011 13:43:16] [409 javajni.c] [error] Failed CreateJavaVM
    [06/05/2011 13:43:16] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    [06/05/2011 13:43:16] [prunsrv.c 1179] [error] ServiceStart returned 2
    [06/05/2011 13:43:20] [409 javajni.c] [error] Failed CreateJavaVM
    [06/05/2011 13:43:20] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    [06/05/2011 13:43:20] [prunsrv.c 1179] [error] ServiceStart returned 2
    [06/05/2011 13:53:58] [409 javajni.c] [error] Failed CreateJavaVM
    [06/05/2011 13:53:58] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    [06/05/2011 13:53:58] [prunsrv.c 1179] [error] ServiceStart returned 2
    [06/05/2011 14:00:16] [409 javajni.c] [error] Failed CreateJavaVM
    [06/05/2011 14:00:16] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    [06/05/2011 14:00:16] [prunsrv.c 1179] [error] ServiceStart returned 2
    [06/05/2011 14:00:45] [409 javajni.c] [error] Failed CreateJavaVM
    [06/05/2011 14:00:45] [930 prunsrv.c] [error] Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    [06/05/2011 14:00:45] [prunsrv.c 1179] [error] ServiceStart returned 2
    Help me, what should I do?

    Hi
    By default the BO install tomcat with:
    Initial memory pool: 0 and
    Maximum memory pool: 1024
    I changed the settings in the Tomcat to:
    Tomcat -> Tomcat configuration -> java>
    Initial memory pool: 128 and
    Maximum memory pool: 256
    Then I accessed services.msc and start the Apache Tomcat.

  • Tomcat startup error: can't start server

    Hi!
    I got Jbuilder 8, it contains Tomcat 3.1, Tomcat 4.0, Tomcat 4.1 servers.
    When I develop in the IDE, the JBuilder 8 can start any of these servers.
    But if I want to use Tomcat 4.1 alone (independent from JBuilder), it doesn't works.
    I followed the steps written in Tomcat installation instructions (setting path, environment variables), but when I try to run startup.bat it's opened a new window for a minute (I think with error message), and close it too fast to read the message.
    The first DOS window shows:
    USING Java_home.......
    USING Catalina_home......
    etc.
    and nothing else, but Tomcat doesn't run.
    I can start Tomcat 3.1 this way, but not the other two (4.0, 4.1)
    Anyone can help?
    thank you
    sorry for the bad English, I hope you can understand.

    I am also getting the same error while starting tomcat. The catalina command window disappears immediately.
    tried running the catalina run command....it gives
    java.lang.UnsupportedClassVersionError: org/apache/catalina/startup/Bootstrap (U
    nsupported major.minor version 48.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
    6)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    Exception in thread "main"
    i am using jdk131 as the java home directory and tomcat 5.5.
    Are u able to start tomcat?

  • Error while starting Tomcat

    Hi,
    This may be a very basic question on tomcat server:
    What is the difference between creating a server (through the server View provided in eclipse) and using the three icons (at the top, just below the main menu) to start tomcat? I am new to Tomcat and am developing a web appln on tomcat.
    Another question that i have is,
    1. To which folder is my application deployed in Tomcat? For.e.g in Jboss the application as a war file can be fond in Jboss/server/default(or all)/deploy.
    2. In Jboss i have an option to publish the project, if i start Tomcat by the 3 icon buttons provided at the top, how can i ensure that my latest code is published to the tomcat server.
    3. What is this Tomcat manager screen for? How can i make use of this?
    Apart from these, i am getting a few exceptions when i start tomcat (both by the 3 buttons and by creating a server in the server view), here is the list (from the console);
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service-name': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Le Nom service-name n'est pas li� � ce Contexte
    Caused by: javax.naming.NameNotFoundException: Le Nom service-name n'est pas li� � ce Contexte
         at org.apache.naming.NamingContext.lookup(NamingContext.java:768)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:138)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:779)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:138)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:779)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:124)
         at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:86)
         at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:122)
         at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:147)
         at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:90)
         at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:101)
         at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:164)
         at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:151)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
         at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:308)
         at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:252)
         at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:221)
         at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:115)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
    2007-11-22 13:59:16 StandardContext[/directory-prod]La servlet /directory-prod a g�n�r� une exception "load()"
    javax.servlet.ServletException: "Servlet.init()" pour la servlet ws a g�n�r� une exception
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1071)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
         at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    ----- Root Cause -----
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service-name': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Le Nom service-name n'est pas li� � ce Contexte
    Caused by: javax.naming.NameNotFoundException: Le Nom service-name n'est pas li� � ce Contexte
         at org.apache.naming.NamingContext.lookup(NamingContext.java:768)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:138)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:779)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:138)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:779)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:124)
         at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:86)
         at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:122)
         at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:147)
         at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:90)
         at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:101)
         at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:164)
         at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:151)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
         at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:308)
         at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:252)
         at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:221)
         at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:115)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)

    Hi.
    In order to run a web project, you have first to create a server in eclipse. Normally, this is done only the first time: you don't have to do it for every project and/or run.
    To run your project in aserver, you hava to select the project in the package explorer, pick the middle-button :(green circle, play without overlays), and select Run As -> Run on server.
    There, you should select a server if you already configured one or create a new one.
    Now, I think that the error you're getting has nothing to do with JSF. It's more likely a Spring configuration error. You may have declared a JNDI DataSource for example named "service-name" in applicationContext.xml but not in your Container (Tomcat, JBoss, etc.).
    Regards.

  • Starting tomcat 3.3 - win nt 4.0

    Iam Starting Tomcat 3.3 in command prompt
    "tomcat start".
    A new window opens with tomcat running
    Now I type "tomcat stop"
    The New window closes and tomcat stops
    once again I type "tomcat start".
    Now the new window opens , but tomcat does not start. Its throwing the following execption
    ThreadPool: Caught exception executing org.apache.tomcat.util.net.TcpWorkerThrea
    d@1b9f5390, terminating thread
    java.lang.LinkageError: Class java/util/Locale violates loader constraints
    at org.apache.tomcat.modules.server.HttpResponse.init(Http10Interceptor.
    java:430)
    at org.apache.tomcat.core.ContextManager.initRequest(ContextManager.java
    :816)
    at org.apache.tomcat.modules.server.Http10Interceptor.init(Http10Interce
    ptor.java:145)
    at org.apache.tomcat.util.net.TcpWorkerThread.getInitData(PoolTcpEndpoin
    t.java:452)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java, Compiled Code)
    at java.lang.Thread.run(Thread.java:479)
    can anyone solve this

    I had the same problem reported to me. The error appeared when trying to debug a web application in JBuilder and was caused by trying to use debug features with JDK 1.2.2 without JPDA being available. Either change to use a later JDK (JPDA Is included from 1.3 on) or download JPDA from Sun and install it to clear the problem.

  • Problem in ant script (starting tomcat)...

    Hi,
    in my ant script (build.xml) I have some targets to start/stop tomcat:
        <!-- ================================ -->
        <!-- start/stop tomcat servlet engine -->
        <!-- ================================ -->
        <!-- check whether server is already running -->
        <target name="-started">
            <condition property="server.started">
                <and>
                    <socket port="${tomcat.port}" server="${tomcat.server}"/>
                </and>
            </condition>
        </target>
        <!-- start tomcat -->
        <target name="start" depends="-started" description="start tomcat server"
            unless="server.started">
            <echo message="Starting tomcat servlet engine..."/>
                <java classname="org.apache.catalina.startup.Bootstrap" fork="yes">
                <jvmarg value="-Djava.endorsed.dirs=${catalina.dir}/common/endorsed"/>
                <jvmarg value="-Dcatalina.base=${catalina.dir}"/>
                <jvmarg value="-Dcatalina.home=${catalina.dir}"/>
                <jvmarg value="-Djava.io.tmpdir=${catalina.dir}/temp"/>
                <arg value="start"/>
                <classpath>
                    <pathelement location="${java.home}/../lib/tools.jar"/>
                    <pathelement location="${catalina.dir}/bin/bootstrap.jar"/>
                </classpath>
            </java>
        </target>
        <!-- check whether server is still running -->
        <target name="-stopped">
            <condition property="server.stopped">
                <and>
                    <socket port="${tomcat.port}" server="${tomcat.server}"/>
                    <not>
                        <isset property="server.started"/>
                    </not>
                </and>
            </condition>
        </target>
        <!-- stop tomcat -->
        <target name="stop" depends="-stopped" description="stop tomcat server"
            if="server.stopped">
            <echo message="Stopping tomcat servlet engine..."/>
            <java classname="org.apache.catalina.startup.Bootstrap" fork="yes">
                <jvmarg value="-Djava.endorsed.dirs=${catalina.dir}/common/endorsed"/>
                <jvmarg value="-Dcatalina.base=${catalina.dir}"/>
                <jvmarg value="-Dcatalina.home=${catalina.dir}"/>
                <jvmarg value="-Djava.io.tmpdir=${catalina.dir}/temp"/>
                <arg value="stop"/>
                <classpath>
                    <pathelement location="${java.home}/../lib/tools.jar"/>
                    <pathelement location="${catalina.dir}/bin/bootstrap.jar"/>
                </classpath>
            </java>
        </target>The problem I have is, when using another target which depends on the tomcat start target, for example my list target:
        <target name="list" depends="start" description="list installed web applications">
            <list url="${url}" username="${username}"
                password="${password}"/>
        </target>When executing the list target, tomcat starts up correctly but the list target is not executed.
    Any help would be greatly appreciated.
    Best regards
    - Stephan

    No, I don't think that's the problem.
    In my opinion, the problem has something to do with
    fork="yes"in the start target.
    But how can I tell ant to first execute another target (the target that starts tomcat) and then execute for example the list target (which lists all the installed web apps)? When using the depends attribute it doesn't work:
    <target name="list" depends="start">
        <list url=.../>
    </target>When executing the list target, tomcat starts automatically (start target) but the list target is not executed after that :-(
    Any ideas?
    Best regards
    - Stephan

  • Can't start configtool

    Hello there,
    i can't start the configtool in my Slim-Sneak Edition.
    The following error do always accrue!
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/offlin
    e/OfflineToolStart
    Program terminated abnormally
    The Java_HOME Path is correct - the Visual Administrator tool is working without any problems!
    I allready changed the classpath in the configtool.bat but that didn't success!
    Thanks
    Regards
    Marco

    Hi Vineet,
    yes the launcher.jar is also into this dir!
    I've installed the java Version 1.5.0_02-b09 for an other tomcat server.
    But also the JDK 1.4.2_09 for SAP! And this dir ist set into the Environment Variable "JAVA_HOME"
    I made an echo into the Batch-File and the java-exec dir is correct!
    "C:\Programme\Java\j2sdk1.4.2_09\bin\java" -Dsun.java2d.noddraw=true -Duser.lang
    uage=en -classpath .\lib\launcher.jar;. com.sap.engine.offline.OfflineToolStart
    com.sap.engine.configtool.visual.ConfigTool ./lib/
    I also tested to rename the dirs of the JDK 1.5, but also then - it doesn't work!
    I'm from switzerland, but because of our firewall an proxy etc. I can't connect to a netmeeting session or a chat!
    Thanks for your help!
    Regards
    Marco

Maybe you are looking for

  • How do i get rid of the logos taking up so much room on my toolbar

    i got the new version and my toolbar is all cluttered up with corporate logos... and all my bookmarks no longer fit. i really resent this! it took me time to get that toolbar the way i wanted it and you have RUINED IT. GET RID OF THE LOGOS PLEASE!!!!

  • Acrobat Pro XI is not recognizing Word 2013 files when I try to combine files in a single PDF. Please help.

    I recently upgraded to Office 2013. Everything seems to be working fine with Acrobat Pro XI, except when I try to combine Word 2013 files into a single PDF, I get this message: "Acrobat does not support the conversion of one or more of your files to

  • Using XML-Files on RT-Tragets

    Hi i have an application which stores it's configuration in a XML-File. The Vi runs perfect on Windows as execution target. But running the Vi on the RT-engine fails with error 1108 while loading the XML-formated config file. error 1108 Possible reas

  • Live stream won't play on Windows

    We're using QTSS and QTBroadcaster to stream a live event. Everything works fine on Mac clients, but Windows clients simply can't get the stream unless it's opened directly in QuickTime Player. We have a website with an embedded link for the stream,

  • Contacts order

    I loaded my contacts from outlook and all showed up but they are listed by first names-----not by last names as in outlook. How do I get them in last name order ?