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 ...

Similar Messages

  • Tomcat startup problem

    Hi all!!
    I'm using a BOE XI 3.1 SP2 with Apache Tomcat Was, in a Windows 2003 VMware image...
    I'm having problems starting tomcat.... It's really slow... and I don't know what to do.
    I've tried to modify the tomcat configuration, adding more maximum memmory pool... and I have the same problem
    any idea???
    thanks to all!!

    I typically set my tomcat memory in the tomcat configuration/java options tab to 384 min/max
    I do this because my BM's are set to only run on 768 memory. Also I turn off any unused services in the CMC and make sure they do not start by default (pm services, voyager etc). By default tomcat tries to grab up to 1 gig memory and if your VM doesn't have that available you will see slowness. Also to note tomcat 5.5 in general is much slower than the old 5.0 version that was in XIR2.
    Regards,
    Tim

  • Tomcat Startup Problem with coyoteconnector

    I am a newbie java person and have installed the tomcat files.
    When I run startup I get the following error;
    Classnotfoundexception on the CoyoteConnector.
    I have the classpath pointing to all and sundry but it still does not see it.
    c:\jdk;C:\jdk\lib\tools2.jar;C:\jdk\lib;c:\tomcat4.1;C:\TOMCAT4.1\server\lib\tomcat-coyote.jar;c:\tomcat4.1\common\lib\servlet.jar;.
    JAVA_HOME=C:\jdk
    Any ideas?

    This is the actual error log;
    Using CATALINA_BASE: c:\tomcat4.1
    Using CATALINA_HOME: c:\tomcat4.1
    Using CATALINA_TMPDIR: c:\tomcat4.1\temp
    Using JAVA_HOME: C:\jdk
    Using CLASSPATH: c:\jdk;c:\tomcat4.1;C:\TOMCAT4.1\server\lib\tomcat-coyote.jar:.;c:\jspwork;.;c:\tomcat4.1\bin\bootstrap.jar
    Initializing jdb...
    run org.apache.catalina.startup.Bootstrap start
    VM Started: ERROR reading c:\tomcat4.1\conf\server.xml
    At Line 90 /Server/Service/Connector/ className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=20000 useURIValidationHack=false
    Catalina.start: java.lang.ClassNotFoundException: org.apache.coyote.tomcat4.CoyoteConnector
    java.lang.ClassNotFoundException: org.apache.coyote.tomcat4.CoyoteConnector
         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.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616)
         at org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412)
         at org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91)
         at org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:333)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
         at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:301)
         at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
    The application exited

  • Tomcat startup problem - UserDatabase

    Hi,
    I' unable to start Tomcat. I've installed Tomcat 5.5 on Suse 9.0 Linux and have basically the standard configuration.
    The log file says
    "Exception looking up UserDatabase under key UserDatabase" and
    "No UserDatabase component found under key UserDatabase"I've attached the complete message and my server.xml.
    Any help is very appreciated since I'm completely stuck.
    Many thanks!
    Complete error message:
    2006-01-25 12:54:14,968 [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina] - Exception looking up UserDatabase under key UserDatabase
    javax.naming.NamingException: Cannot create resource instance
    at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:132)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:792)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
    at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:250)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1004)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    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:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    2006-01-25 12:54:14,969 [main] ERROR org.apache.catalina.startup.Catalina - Catalina.start:
    LifecycleException: No UserDatabase component found under key UserDatabase
    at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:258)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1004)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    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:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Server.xml
    <Server port="8005" shutdown="SHUTDOWN" debug="0">
    <Listener
    className="org.apache.catalina.mbeans.ServerLifecycleListener"
    debug="0"/>
    <Listener
    className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
    debug="0"/>
    <GlobalNamingResources>
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="Benutzerdatenbank, die aktualisiert und
    gespeichert werden kann">
    </Resource>
    <ResourceParams name="UserDatabase">
    <parameter>
    <name>factory</name>
    <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
    </parameter>
    <parameter>
    <name>pathname</name>
    <value>conf/tomcat-users.xml</value>
    </parameter>
    </ResourceParams>
    </GlobalNamingResources>
    <Service name="Catalina">
    <Connector port="8080"
    maxThreads="150" minSpareThreads="25"
    maxSpareThreads="75"
    enableLookups="false" redirectPort="8443"
    acceptCount="100"
    debug="0" connectionTimeout="20000"
    disableUploadTimeout="true" />
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" debug="0"
    protocol="AJP/1.3" />
    <Engine name="Catalina" defaultHost="localhost" debug="0">
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    debug="0" resourceName="UserDatabase"/>
    <Host name="localhost" debug="0" appBase="/data/server/_tomcat_webapps"
    unpackWARs="true" autoDeploy="true" deployOnStartup="true">
    </Host>
    </Engine>
    </Service>
    </Server>
    ----

    This could be related to any connection pooling you are attempting.

  • Tomcat Startup problems using eclipse

    Hello together!
    I want to create a JSP page in eclipse.
    I use eclipse-wtp-1.0 and tomcat 5.5.12.
    I have set the JAVA_HOME, TOMCAT_HOME and CATALINA HOME.
    I included this 2 directories in eclipse.
    But now I get the following error:
    23.02.2006 08:37:31 org.apache.catalina.startup.Catalina load
    WARNUNG: Can't load server.xml
    23.02.2006 08:37:31 org.apache.catalina.startup.Catalina load
    WARNUNG: Can't load server.xml
    23.02.2006 08:37:31 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 0 ms
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Caused by: java.lang.NullPointerException
         at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
         ... 6 more
    Could anybody pls help me.
    Thanks a lot.

    The first posting was refering to a java project.
    Now I tried to make a dynamic web project.
    There i have the mistake:
    First a pop up appears and says: Could not fid the main class. Programm will exit.
    and then:
    java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
    Exception in thread "main"
    Does anybody know how I create a project (JSP/JSF), so that I can start the page with for example tomcat.
    If one of you has a toturial where there are exactly the versions written, as I did everything refering to an toturial.
    Pls give advice, how to get it started.
    Thanks in advance.

  • Tomcat StartUp Problems

    I have included all the jars in my classpath including j2ee.jars,myfaces-api.jar,myfaces-impl.jar etc. but still starting tomcat through eclipse,
    I am getting the following error:
    SEVERE: Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener
    java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

    the jar under the common/lib of your tomcat named servlet-api contains the class ServletContextListener. Do you have the jar placed appropriately?

  • 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).

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

  • I am having an MacBok Pro 13inch,having an Startup Problem, the time i press the power button after few seconds the apple symbol appears w/a loading sign below it

    i am having an MacBook Pro 13inch  , having an Startup Problem , the time i press the power button after few seconds the apple symbol appears with a loading sign below it and wont go further ahead of it . My data is all in the hard drive .. . I even tried the Internet recovery but no use !!!! but still no respons and the recovery and macintosh hd is now lock! but earlier only the recovery is lock and after both of them is lock.  i can reinstall,... and i didnt try to back up any data bec i dont know how? so please help me to resolve my prroblem.?

    luoie wrote:
    This thing happend,, it say Disk utility stopped repairing "Macintosh HD" disk utility can't repair this disk
    Sorry, possibly you need a new hard drive or try reformating. First
    you can try something like http://www.alsoft.com/diskwarrior/  it has been known to repair disk that DiskUtility could not. YMMV and they don't give it away.
    If Disk Warrior can not repair then you need to Reformate the drive. Make sure you have a back-up in place no matter what.
    http://www.apple.com/support/backup/
    Disk Utility will tell you something about it's SMART status:

  • I am having a Startup problem. Someone comes on the screen with Open Firmware to Startup. How can I reset the PRAM myself to solve this problem?

    I am having a Startup problem. Someone comes on the screen with Open Firmware to Startup. How can I reset the PRAM myself to solve this problem?

    Read these.
    http://support.apple.com/kb/HT1431
    http://reviews.cnet.com/8301-13727_7-10330118-263.html

  • Dual Monitor Startup Problem on MacPro - Solved

    I have a model 53135LL/A = mid 2010 MacPro with 8 cores, DUAL monitor cards and monitors, 24GB memory, running Lion 10.7.3.  It is important to note that I am also using the Apple bluetooth Magic Mouse and the smaller, bluetooth keyboard (no numeric keypad).  This unit was supplied with Lion in December 2011 and has had a startup problem from the beginning as follows:
    1 - when starting from a cold start the dual monitor positions are reversed from the correct position
    2 - additionally the USB and firewire connected devices (e.g. Wacom tablet, 2 card readers) do not function properly.
    The workaround for me has been to start the system, wait for the logon screen, then click restart. Upon restart everything comes up and functions correctly.
    Specifics on my setup and starting problems:
    1 - My main monitor (Monitor #2) is a large gamut monitor that is located to the right. This monitor is connected to card slot 1 as that is the faster card slot (pcx16). The second monitor (Monitor #1) is an ordinary unit and connected to card slot 2 (pcx4). The monitors are set up as an extended desktop.
    2. The Wacom tablet (Intuous 3 wide) is connected to USB port on rear of machine. CF card reader by Delkin is connected to Firewire on rear of machine, and an SD card reader is connected to USB on the rear of the machine.
    3. My dock is positioned on the left side of the left monitor. The menu bar is along the top of the left monitor, and all desktop icons are on the left monitor.  The right monitor has no items on it.
    On a typical cold start, as mentioned above, the apple logo appears on the right and then the logon screen appears on the right. 
    If I proceed to logon at that point, all the desktop items move to the right monitor and the computer thinks the positions are reversed.  In other words, it behaves as though the right monitor (#2) is on the left of the desktop and left monitor (#1) is on the right. 
    Additionally, the Wacom tablet using either pen or mouse does not map over the full desktop range.  If I use either card reader and then eject the card, no further card insertions will be recognized.
    To fix this, I simply restart the machine thru the apple menu and everything comes up correctly.
    I had discovered, that instead of completing the logon on a bad cold start, I could simply restart from the logon screen and all would work correctly.
    On occasion, the logon screen would come up on the left monitor (as it should do) and in that case, if I log on all works correctly.
    I have worked with Apple support on the phone, clearing setup ram etc. Have had the unit in to Apple store for hardware check, all OK.  Next suggestion was reload OS and start over - no thanks.
    SO - Here is the latest.
    If I turn off my keyboard and mouse before starting the machine, then wait for the logon screen to appear - It starts correctly, with the logon screen on the left.  I can then turn on my keyboard and mouse and all works as it should.
    Bottom line - there appears to be a startup issue with Bluetooth devices from a cold start.  Note that once the machine has been used for a bit, I can turn it off for short periods of time (e.g. 30 minutes) and it will start correctly even with the mouse and keyboard turned on.

    mkaito wrote:
    That's how dwm behaves. I believe dwm's multihead support is rather lackluster out of the box. You might want to check out some of the patches they have, and ask around in the dwm hackers thread.
    I currently have dwm simply draw status on all monitors, but I'm investigating separate status bars per monitor. We'll see where that takes me. Dwm is a tinker's WM!
    i found the patch , thanks!

  • After a startup problem with my macbook pro i put it as slave and formatted the internal Hard drive. Now i want to install OS X Mavericks from USB

    After a startup problem with my macbook pro i put it as slave and formatted the internal Hard drive. Now i want to install OS X Mavericks from USB
    How can i do that?

    What did you "put as slave?" What Mac model do you have, exactly?

  • Can anyone diagnose my startup problem from this screen pattern?

    After failing to startup my Mac on about 8 consecutive attempts today, I finally got it to boot up, and now I'm afraid to turn it off for fear that I won't be able to re-boot.
    Here's a photo of what kept happening:
    http://www.doctorkeys.com/startup-problem-screen.html
    This screen came up immediately, along with the spinning cog and the apple logo, both rather faint. But then those two disappeared, and all that was left was the gray screen with the pattern as shown in the photo. And that's as far as I got each time.
    The display itself seems to be fine, because even when I couldn't use it with the Mac Pro, I was able to hook it up to my MacBook Pro and it worked fine.
    Can anybody tell me what's happening?
    Thanks,
    Bruce Siegel
    Message was edited by: Bruce Siegel

    Hi-
    To be honest, though, I was hoping that the pattern in the photo was so specific and common that someone would look at it and say, "Oh, of course! I've seen THAT one before. Do this and your problem is solved."
    I have seen graphics cards produce that type of screen as a result of a few of situations.
    One, if the card is miss seated.
    One other is if a capacitor on the card has failed, while VRAM failure is another cause.
    The first case is easy to fix; remove and reseat.
    The second and third require replacement of the failed graphics card.
    Cleaning the gold contacts with 99% isopropyl alcohol and thoroughly dusting the card while it is out is a good idea.
    I have been able to replace a bad capacitor to restore a card, but luck was a big part of determining which one it was....

Maybe you are looking for

  • Error reading from file glibc-2.5-24.i686.rpm RHEL 5 Setup stuck at 80%

    Hi, I am installing Oracle 10g on RHEL 5 (Red Hat Enterprise Linux 5) machine I am facing two problems 1) while installing the rpm packages the following package gave an error Error reading from file glibc-2.5-24.i686.rpm 2) I still gave a try to run

  • ABAP WD: access to context

    Hello, I need to access context nodes of my application and see if they contain any values. I want to do it in WDDOINIT method. How can this be done? Is there such an expression wdContext->get_nodes or something similar? Thank you.

  • Hide RANGE option in Multiple Selection Popup window

    This is regarding Parameter option. In parameter variable,i declared NO INTERVALS option to get only multiple values. In multiple selection popup window.i want to select only multiple values not RANGE values. so i want to either disable or hide the f

  • Shop floor Printing

    I have made print setting in opk8 and it is working fine with one material , one order typeand one production order, where I can see preview of shop floor paper. But when i make production order with same material ,  order type and same plant. Then i

  • How to open Batch Details Form using a LinkedButton?

    Hi all, I just want to know how can I open the Batch Details system Form, using a LinkedButton from my user form. Just like the Batch Number Transaction Report window, from the Batch Column. It's difficult because this document don't have the ObjectT