Tomcat - startup.bat

Hello,
I am getting this error when trying to run Tomcat 5.0 startup.bat file:
Cannot find the file '-DJava.endorsed.dirs='
Can anyone tell me what might be wrong?

has your JAVA_HOME environment variable been set up? check the RUNNING.TXT file for more details.

Similar Messages

  • Tomcat startup.bat question

    When execute Tomcat5/bin/startup.bat,it will appear a command window,all display information of Tomcat will appear in it.Is there a method which can put the display information in this command window into a TXT file? Because if tomcat or JVM raise fatal error,before I see the error display information of Tomcat in this command window,the command window has closed!!! Or is there a method which can keep the tomcat command window opening all time whether it raise so fatal error?
    Any idea will be appreciated!

    Open a command prompt: Start:run cmd
    This opens a dos prompt box for you.
    When you run tomcat this way, it won't close the box.
    Alternatively check the Tomcat5/logs directory for any error messages there.

  • Do i need to start my startup.bat under tomcat every time?

    do i need to start my startup.bat under tomcat every time
    can i do something to make it start automatically when boot my system?

    From Tomcat 5.x, at least, you can run it as a Window service and have it start automatically.
    For Tomcat 5.0, see here:
    http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html
    From 5.5, I believe the Win service install is the default.

  • Tomcat startup problem Win98

    Hello Friends,
    I am trying to start up Tomcat server, but keep getting error that TOMCAT_HOME is not set. I am using Windows 98. I tried to set the Tomcat_home using
    SET TOMCAT_HOME = C:\Tomcat in autoexec.bat
    but it gives error - out of enviromental space
    How can I set this env. variable? or increase env. space on win98?
    Thank you.

    Hi,
    Thanks for your reply.
    Buy I still get the following error:
    startup.bat -->
    Out of enviroment space
    Out of enviroment space
    Unable to determine value of TOMCAT_HOME
    In my autoexec.bat I have created teh following variables:
    SET CLASSPATH = ".;D:\work\Java\jdk1.3.1\lib;D:\work\Java\jdk1.3.1\lib\dt.jar;dt.jar;D:\work\Java\jdk1.3.1\lib\jvm.jar;jvm.jar;D:\work\Java\jdk1.3.1\lib\jawt.jar;jawt.jar;D:\work\Java\jdk1.3.1\lib\tools.jar;tools.jar"
    SET TOMCAT_HOME = "D:\Programs\jakarta-tomcat-3.2.2"
    SET JAVA_HOME = "D:\work\Java\jdk1.3.1"
    Have no clue ...

  • 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?

  • Tomcat startup,shutdown blues......

    hi,
    my dev environment:Win2000 professional,Tomcat 4.1,j2sdk1.4.1_02
    I hv successfully installed TomCat and m able to run jsp,servlet,struts applications.
    The only problem i m facing is dat.....i dun hv to use "startup.bat" for starting the Tomcat.Wheneva i boot my pc.....Tomcat starts on its own.So i cannot even shutdown tomcat using "shudown.bat".I get the following error whn i execute shutdown.bat
    Catalina.stop: java.net.ConnectException: Connection refused: connect
    I even tried stopping the Tomcat services using the taskbar.....but i get "access denied" error.....
    I hv installed tomcat twice.......but the same error still persisits.....
    Can some one please help me out....
    regds,
    ashay

    hi,
    You've dowloaded the tomcat distribution that is installed as a windows service.
    Get the plain installation : the zip file. Unzip it and hit bin/startup.bat ! Don't forget to set your JAVA_HOME environment variable or it won't start.

  • How to start process at tomcat startup

    Hello frens
    I need to start a process when tomcat startup
    the problem is when tomcat startup i have a bat file PushMsg.bat which content are as .............
    cd c:
    cd \tomcat\webapps\myApp\WEB-INF\classes
    java SendMsg
    i need to run this bat file as tomcat get startup .how to achieve this????????????

    Se16 -- table:RSPCPROCESSLOG - click on display entries.
    Entet the variant, instance start date (this info you can get from the "display message" of PC.
    Now execute to display the table entries of RSPCPROCESSLOG.
    Next goto SE37 transaction --enter RSPC_PROCESS_FINISH
    Take the entries from the above table to set the input parameters of the FM.
    I_logid = log_id(from above table)
    I_type = type(from above table)
    i_variant = varaint (from above table)
    i_instance = (from above table)
    Click on F8(EXECUTE)
    now the actual process is set to gree and the process chain will be triggered (rest of the PC with out repeating the step from where is was red).

  • Error when running:    startup.bat -fixdirectory= T:\usr\sap\ABC\upg

    I am trying to start a SAP PI 7/0 to 7.1 installation.
    I have performed all of the prerequisite steps and am now trying to run the startup.bat file from the Installation Master CD.
    I am entering:
    STARTUP.bat -fixdirectory= T:\usr\sap\ABC\upg
    and it runs:
    H:\SAPup\SAPNWAS_ABAP71_UpgMstr>STARTUP.bat -fixdirectory= T:\usr\sap\ABC\upg
    SAP directory - T:\usr\sap
    ABC directory - T:\usr\sap\ABC
    UPG directory - T:\usr\sap\ABC\upg\
    Using SAPCAR from  H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SAPCAR_WINDOWS_
    X86_64
    Using SAP JVM from H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SAPJVM5_WINDOWS
    X8664
    Creating upgrade directory structure...
    Found runtime H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SAPCAR_WINDOWS_X86_6
    4\vcredist_x64.msi
    Installing runtime (msiexec /qn /i H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM
    SAPCARWINDOWS_X86_64\vcredist_x64.msi)...
    Coping SAPCAR.EXE to T:\usr\sap\ABC\upg\sdt\exe\SAPCAR.EXE...
    Coping STARTUP.BAT to T:\usr\sap\ABC\upg\STARTUP.BAT...
    Coping STARTUP.JS to T:\usr\sap\ABC\upg\STARTUP.JS...
    Unpacking H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SAPJVM5_WINDOWS_X86_64\S
    APJVM5.SAR ...
    Found H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SLCNTRL\DSU_SLCTRL.SAR
    Unpacking H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SLCNTRL\DSU_SLCTRL.SAR .
    Unpacking H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SLCFG\DSU_SLCFG.SAR ...
    Unpacking H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SLCFG_NW07\DSU_SLCFG_NW0
    7.SAR ...
    Starting DSUService (T:\usr\sap\ABC\upg\sdt\exe\DSUService.bat -srvarg=/DSUServi
    ce/cdpath=H:\SAPup\SAPNWAS_ABAP71_UpgMstr\ -fixdirectory= T:\usr\sap\ABC\upg )..
    And then stops. During this time, a second command window quickly appears and disappears and tries to start.
    No log files are created in:
    H:\SAPup\SAPNWAS_ABAP71_UpgMstr
    or:
    T:\usr\sap\ABC\upg
    Any ideas?
    Thanks.

    Hi Srinivas and Paul,
    How did you solve this issue? I'm facing the same issue
    Thanks andkind regards,
    Angel

  • Error in startup.bat

    When I run my startup.bat file I receive the following errors LRM-00116 syntax error 'undo_tablespace' following '=' and ORA-01078.
    rem startup bat
    @echo on
    echo startup:
    date/t
    echo sys/world9 as sysdba
    echo startup
    echo startup pfile=e:\oracle\admin\V9\pfile\init.ora
    )| sqlplus -s
    # Copyright (c) 1991, 2001 by Oracle Corporation
    # Cache and I/O
    db_block_size=4096
    db_cache_size=33554432
    # Cursors and Library Cache
    open_cursors=300
    # Diagnostics and Statistics
    background_dump_dest=E:\oracle\admin\v9\bdump
    core_dump_dest=E:\oracle\admin\v9\cdump
    timed_statistics=TRUE
    user_dump_dest=E:\oracle\admin\v9\udump
    # Distributed, Replication and Snapshot
    db_domain=world
    remote_login_passwordfile=EXCLUSIVE
    # File Configuration
    control_files=("E:\oracle\oradata\v9\CONTROL01.CTL", "E:\oracle\oradata\v9\CONTROL02.CTL", "E:\oracle\oradata\v9\CONTROL03.CTL")
    # MTS
    dispatchers="(PROTOCOL=TCP)(SER=MODOSE)", "(PROTOCOL=TCP)(PRE=oracle.aurora.server.GiopServer)", "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)", "(PROTOCOL=TCP)"
    # Miscellaneous
    compatible=9.0.0
    db_name=v9
    # Network Registration
    instance_name=v9
    # Pools
    java_pool_size=33554432
    large_pool_size=1048576
    shared_pool_size=33554432
    # Processes and Sessions
    processes=150
    # Redo Log and Recovery
    fast_start_mttr_target=300
    # Sort, Hash Joins, Bitmap Indexes
    sort_area_size=524288
    # System Managed Undo and Rollback Segments
    undo_management=#AUTO
    undo_tablespace=#UNDOTBS
    Thank you in advance

    My tablespace name is UNDOTBS01.DBF. This is the name of datafile. Are you sure that you are using right pfile while starting the instance. Can you post the whole steps with error you are getting here.
    Daljit Singh

  • Tomcat startup configuration question

    Can anyone tell me how I can...
    ...add the following parameter to Tomcat startup:
    -Djava.awt.headless=trueWhich file is the advice referring to (and where can I find it)?
    And in which part of the file should I make the insertion?
    Thanks,
    James

    Add JAVA_OPTS="-Djava.awt.headless=true" in $TOMCAT_HOME/bin/startup.sh

  • Run servlet automatically when tomcat startup

    Dear all
    I need help to run servlet automatically when tomcat startup without starting even the application containing the servlet
    thanks in advance

    lol
    i've the same problem with my car,I want it to go ahead but without starting the engine and using all this gasoline...
    Seriously... the servlet IS almost your application
    when you start the server, the application starts to
    check the init() method of the servlet Interface
    and the "load-on-startup" parameter of the servlet in the deployment descriptor

  • Loading JNI library on Tomcat startup

    I am trying to load a JNI library on startup of servlet. I have written the following code in my servlet init function:
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    log.info("Loading native libraries...");
    System.loadLibrary("foo");
    log.info("Native libraries loaded...");
    On Tomcat startup, I see the "Loading native libraries..." message, but I don't see the "Native libraries loaded...". As if the system hung in the System.loadLibrary function.
    Anybody knows how to solve this problem?
    Martin

    The specification specifically forbids the use of native libraries in container objects. So you might want to take that into consideration with whatever you are doing.
    If you do want to do that then I would suggest loading it outside of the container. There is probably some configuration option that allows you to force tomcat to load something on start up.
    You might also want to consider if hot deploys are part of your future. If they are then you might want to put the interface inside of your own custom class loader, so you can probably control the unload of the shared library.
    If you search the J2EE lists you will find that almost everyone states that JNI should not even be loaded into the server. Instead you should create a seperate application and use RMI to access it. Myself I think that is overkill, but I would probably consider exactly what I am interfacing to before making that final decision. If your JNI library blows up it will take down the entire server (which is why the spec forbids it.)

  • Initialize a web service when Tomcat startup

    Hi,
    I have a web service, built using Axis 2 1.2, that will do all the initialization at the first service call (e.g. create new database tables, create JAXB objects, etc), but it's taking too much time to do those tasks (at least twice slower than a normal service call with everything ready).
    i was wondering if i can do the initialization at Tomcat startup, instead of doing it at the first service call, so that the first service call could always get the highest possible performance..
    Thanks..

    problem resolved... i've created a servlet class to initialize everything, and i have modified web.xml to call this servlet class when tomcat startup.

  • Runtime.exec executed with startup.bat,not executed by service with tomcat

    Using tomcat:
    I startup tomcat ,Start my application through web,and my application called
    Runtime.getRuntime().exec(cmd) successfully.
    But I install a service of tomcat,start service, the same application can't call
    Runtime.getRuntime().exec(cmd) ok.
    who knows this problem?
    thanks.
    auth

    Have you found a solution to this problem?
    I have the exact same issue. Any help would be greatly appreciated.

  • InvocationTargetException at Tomcat Startup

    I am seeing the following error appear in my catalina log after starting Tomcat on Red Hat Linux 8.0 using jdk 1.4.1...
    I am able to run servlets and JSP pages from the browser as well as within my application but would like to know more about this error .. I'd like to resolve it. Any feedback would be appreciated. Thanks.
    Nov 28, 2003 4:42:09 PM org.apache.commons.digester.Digester endElement
    SEVERE: End event threw exception
    java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
         at org.apache.commons.digester.Rule.end(Rule.java:276)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1581)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1824)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1552)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:534)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:318)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
         at org.apache.commons.digester.Digester.parse(Digester.java:1548)
         at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:282)
         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3568)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:559)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
         at org.apache.catalina.core.StandardService.start(StandardService.java:497)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
         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.main(Bootstrap.java:203)
    Caused by: java.lang.IllegalArgumentException: addChild: Child name 'default' is not unique
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:815)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardContext.addChild(StandardContext.java:1340)
         ... 43 more

    Well I can offer a few, some I don't remember...
    I know that at one point I had defined an applicaton context in my server.xml file and later commented it out. But I don't see that having a relationship to this Invocation error..
    Other changes include at some point removing an entire web application directory, with its associated web.xml from out of the webapps dir. Maybe some of the settings there were causing a problem..

Maybe you are looking for

  • Which C# Adobe library should I use to open a PDF in Acrobat Reader 9, 10, and 11?

    Hi, all. I have a Visual Studio C# application that writes an Adobe PDF using iText. Does anyone know how to programmatically open the PDF on client's computer and ensure it works for Adobe Reader 9, 10, and 11? -I have Adobe Reader XI on my machine

  • Problem to analyse mapping error

    Hi all, I have a problem to analyse a BPM mapping error on PI7.1. The szenario is as follows: I have 3 different containers (Abstract Interfaces) which data is used to determine the content of a  result container. E.g: ABSTRACT_INTERFACE_1 ABSTRACT_I

  • Old Captivate Files (*.cp)

    I have some projects made in version 3 or 4 (in 2005) the new version 7 of Captivate does not recognise them. Any Idea on how I can update them to a level that Captivate 7 can open them. Thanks

  • Resolution question/observation

    HI all, I have my ATV paired with a Sony Bravia, which natively displays 1080p signals. Until recently, I was using component video cables to connect. Yesterday, I hooked the TV up via HDMI, and the difference in picture quality was detectable, but s

  • Urgent How can i embedd a calender

    Suppose i want to place a functionality in the user interface where if he wants to add a date he can directly click on the button and a calendar dialoq open ups (as in windows) and u can select an appropriate date then. Please tell me how to do this.