Tomcat Trouble

Hi folks,
I hope this is the right forum for this discussion -- if you, I'll be happy if people point me in the right direction.
So:
I've got a question regarding running Tomcat 4.0.6 as an NT service. During the install, I answered 'yes' when asked if I wanted to set up Tomcat as a service. Seemed to work great. After dropping in two webapps, one works fine, the other does not. It looks very much like a Classpath issue, like the Tomcat server simply doesn't know where to find the classes in the second webapp.
Is there some way to determine what the classpath of the service version of a 4.0.6 Tomcat server is? I'm not seeing the wrapper.properties files people reference when talking about earlier versions of Tomcat.
I uninstalled the service, and am now unable to add it back again. Here are a couple of things I've tried, based on what I could find on the web (I found the Jakara docs sorely lacking):
tomcat.exe -install "%SERVICENAME%" "%JAVA_HOME%\jre\bin\server\jvm.dll" -jvm_option -Djava.class.path=%JAVACLASSPATH% -jvm_option -Dcatalina.home="%CATALINA_HOME%" -start org.apache.catalina.startup.BootstrapService -jvm_option -Xms128M -jvm_option -Xmx256M -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out "%CATALINA_HOME%\logs\stdout.log" -err "%CATALINA_HOME%\logs\stderr.log"
No dice. Unable to create service.
Deciding to try and go the bare-bones route, I also tried this:
D:\ApacheTomcat4.0.6\bin>tomcat -install "Tomcat" d:\jdk1.3.1_06\bin\hotspot\jvm.dll -start org.apac
he.catalina.startup.BootstrapService
This told me the service was created, but when I try to start it, wham, no luck. "Could not start the Tomcat service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the problem persists, contact your system administrator."
Anyone have any advice for me? My apologies if I'm missing something obvious.
-Harrigan

Did you remove all references to TOMCAT from the registry before you reinstalled? I had similar experience and corrected by removing all references to TOMCAT from registry before reinstallation.
TOMCAT 1st looks at your classpath.

Similar Messages

  • Trouble upgrading from tomcat 3.1 to 4.1

    Hi,
    I have this jsp application running fine with Tomcat 3.1 under W2K and i'm now having trouble having them run on Tomcat 4.1 on the same PC.
    Basically i just renamed the Tomcat 3.1 directory, installed Tomcat 4.1, modified the server.xml file to let it know my application context. which means i did not change any environment variables.
    I get this message when trying to run my application:
    org.apache.jasper.JasperException: Impossible de compiler la classe pour JSP
    E:\tomcat\work\localhost\MPREPORT\Bcplogon$jsp.java:5: Class or interface declaration expected.
    import javax.servlet.*;
    ^
    E:\tomcat\work\localhost\MPREPORT\Bcplogon$jsp.java:11: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.Bcplogon$jsp not found.
    public class Bcplogon$jsp extends HttpJspBase {
    ^
    2 errors
    Any hints welcome.
    Christophe

    yes the samples are running OK. I just don't see why i have compile problems since i did not modify the Classpath and JDK setup.
    Also this 'import javax.servlet.*;' that can be seen in the error message: i use some import in my code, but not this one. Could that lead to some explanations ?

  • Trouble to access one website (HTTP Status 500) and to find Apache Tomcat/6.0.20 logs

    Hi to you all!
    It is impossible for me to access one website only for a couple of days, the Yell.com UK phone directory. I asked them to help me with this trouble, but one of the technicians answered «I have had no problems in accessing Yell.com online here and neither have my colleagues. There may have been a temporary bug with the system, but all is fine now. If you are still experiencing problems, I would suggest that it is an issue with your system.»
    It does not help because the trouble persists, whatever the solution I tried to find (clearing history and cache, bookmarking anew, changing slightly the URL). When trying to access to their website, it says:
    «HTTP Status 500 -
    «type Exception report
    «message
    «description The server encountered an internal error () that prevented it from fulfilling this request.
    «exception
    «… (Here are 13 lines about javax.servlet, com.yell.ucs.responder, org.apache.struts.action and 50 lines under achapter titled “root cause”) — then:
    «note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.
    «Apache Tomcat/6.0.20»
    QUESTIONS —
    1. I have access without any problem to Yell.com with the Safari (after having selected “Safari browser”), but there is no result with Firefox with the Safari browser! How is this possible?
    2. I don't understand anything about what the “Apache Tomcat/6.0.20” - Error report means…
    3. What and where can I find the “Apache Tomcat/6.0.20 logs” on a Mac OS X 10.4 and how can this be solved?
    Many thanks forward for your help (please use ordinary words, I don't understand anything about computer and Web things).
    Cordially
    == URL of affected sites ==
    http://www.yell.com/

    Now, some goblin somewhere put things right and this Yell.com works again, ''without doing anything''… Hope it'll keep on going like this!

  • Trouble with tomcat 4.0.3

    i'm new to servlets and can't get tomcat 4.0.3 to work for the life of me.
    i was wondering it someone out there would be able to give me a hand.
    no matter how i've tried to add the JAVA_HOME variable, i keep getting this error when i try to run startup.bat out of the directory: E:\jakarta-tomcat-4.0.3-src\catalina\src\bin
    the error i get is...
    the JAVA_HOME environment variable is not defined
    This environment variable is needed to run this program
    Label not found
    here's the startup.bat file....would someone be able to show me how and where i set the variable if all my .jar files are stored in the directory E:\
    @echo off
    if "%OS%" == "Windows_NT" setlocal
    rem ---------------------------------------------------------------------------
    rem Start script for the CATALINA Server
    rem
    rem $Id: startup.bat,v 1.3.4.2 2002/01/30 18:10:40 patrickl Exp $
    rem ---------------------------------------------------------------------------
    rem Guess CATALINA_HOME if not defined
    if not "%CATALINA_HOME%" == "" goto gotHome
    set CATALINA_HOME=.
    if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
    set CATALINA_HOME=..
    :gotHome
    if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
    echo The CATALINA_HOME environment variable is not defined correctly
    echo This environment variable is needed to run this program
    goto end
    :okHome
    set EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat
    rem Check that target executable exists
    if exist "%EXECUTABLE%" goto okExec
    echo Cannot find %EXECUTABLE%
    echo This file is needed to run this program
    goto end
    :okExec
    rem Get remaining unshifted command line arguments and save them in the
    set CMD_LINE_ARGS=
    :setArgs
    if ""%1""=="""" goto doneSetArgs
    set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
    shift
    goto setArgs
    :doneSetArgs
    call "%EXECUTABLE%" start %CMD_LINE_ARGS%
    :end
    i'm using jbuilder3 to compile and i'm also using windows 98 SE
    thanks a lot
    Andy

    i tried to add JAVA_HOME to the catalina.bat file (tomcat 4.0.3), but i get this exact error
    The JAVA_HOME environment variable is not defined correctly
    This environment variable is needed to run this program
    Using CATALINA_BASE: ..
    Using CATALINA_HOME: ..
    Using CATALINA_TMPDIR: ..\temp
    Using JAVA_HOME: E:\jsdk2.1
    Invalid switch - -DJAVA.ENDORSED.DIRS=
    i don't know why i'm getting the first two lines or the last one....
    i defined JAVA_HOME by putting the following near the top of the catalina.bat file
    SET JAVA_HOME=E:\jsdk2.1
    any ideas of what my problem is?
    thanks
    Andy

  • Troubles with tomcat 4.0.3

    i'm new to servlets and can't get tomcat 4.0.3 to work for the life of me.
    i was wondering it someone out there would be able to give me a hand.
    no matter how i've tried to add the JAVA_HOME variable, i keep getting this error when i try to run startup.bat out of the directory: E:\jakarta-tomcat-4.0.3-src\catalina\src\bin
    the error i get is...
    the JAVA_HOME environment variable is not defined
    This environment variable is needed to run this program
    Label not found
    here's the startup.bat file....would someone be able to show me how and where i set the variable if all my .jar files are stored in the directory E:\
    @echo off
    if "%OS%" == "Windows_NT" setlocal
    rem ---------------------------------------------------------------------------
    rem Start script for the CATALINA Server
    rem
    rem $Id: startup.bat,v 1.3.4.2 2002/01/30 18:10:40 patrickl Exp $
    rem ---------------------------------------------------------------------------
    rem Guess CATALINA_HOME if not defined
    if not "%CATALINA_HOME%" == "" goto gotHome
    set CATALINA_HOME=.
    if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
    set CATALINA_HOME=..
    :gotHome
    if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
    echo The CATALINA_HOME environment variable is not defined correctly
    echo This environment variable is needed to run this program
    goto end
    :okHome
    set EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat
    rem Check that target executable exists
    if exist "%EXECUTABLE%" goto okExec
    echo Cannot find %EXECUTABLE%
    echo This file is needed to run this program
    goto end
    :okExec
    rem Get remaining unshifted command line arguments and save them in the
    set CMD_LINE_ARGS=
    :setArgs
    if ""%1""=="""" goto doneSetArgs
    set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
    shift
    goto setArgs
    :doneSetArgs
    call "%EXECUTABLE%" start %CMD_LINE_ARGS%
    :end
    i'm using jbuilder3 to compile and i'm also using windows 98 SE
    thanks a lot
    Andy

    Hi,
    You will get this error, if tomcat could not find the JDK installation path at the time of startup. For that, you need to put your "JAVA_HOME" path in \bin\tomcat.bat file, which will point to your JDK installation path. Then, it should start without any problem.
    In Windows NT, right click mycomputer->Properties->Advance->Environment Variable and add the JAVA_HOME to user defined variable and point that variable to the path.
    To test if the servlet engine is working properly open a browser, and type http://localhost:8080
    Regards,
    Senthil Babu
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

  • Trouble in Starting Tomcat server

    Hi,
    I installed Eclipse & Tomcat. I started Tomcat using Eclipse. In console it showed as
    Jun 24, 2006 4:55:09 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Starting service Tomcat-Standalone
    Apache Tomcat/4.1.31
    Jun 24, 2006 4:55:11 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Jun 24, 2006 4:55:11 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Jun 24, 2006 4:55:12 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
    Jun 24, 2006 4:55:14 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Jun 24, 2006 4:55:15 PM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    Jun 24, 2006 4:55:15 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/100 config=C:\Program Files\Apache Group\Tomcat 4.1\conf\jk2.properties
    Error compiling file: C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\/index_jsp.java [javac] Compiling 1 source file
    But When gave this link in URL: http://localhost:8080
    I got an error as follows:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file.
    Then I tried from command promt to start Tomcat:
    I checked environment variable JAVA_HOME, the Value is "C:\j2sdk1.4.2_11\bin;". Also PATH:;C:\j2sdk1.4.2_11\bin;
    But Igot an error as follows
    C:\Program Files\Apache Group\Tomcat 4.1\bin>startup
    The JAVA_HOME environment variable is not defined correctly
    This environment variable is needed to run this program
    NB: JAVA_HOME should point to a JDK not a JRE
    Using CATALINA_BASE: ..
    Using CATALINA_HOME: ..
    Using CATALINA_TMPDIR: ..\temp
    Using JAVA_HOME: C:\j2sdk1.4.2_11\bin;
    The system cannot find the file -Dsun.io.useCanonCaches=false.
    C:\Program Files\Apache Group\Tomcat 4.1\bin>
    Can any one guide me, to correct this error.
    Thanks in advance.

    did you edit the catalina.bat file in Tomcat?
    It requires that you do so...I don't think by default it will have your JDK that resides on your machine.
    I've edited various versions of Tomcat and the catalina.bat, server.xml and web.xml files before, and usually I've just about always had to add a line (SET JAVA_HOME) and then the variable %JAVA_HOME% will read it.

  • Trouble running JSP project on Tomcat

    When running a JSP application on Apache Tomcat 4.1.18 ( Java 1.4.2 ) an "Out of Memory" error keeps occurring. The error seems to appear during stress times, indicating that the 256 heap size is all occupied. Tomcat runs Java with 256 MB in heap with the "-Xmx256m" parameter at startup. Raising the heap to 512MB did not help so the heap is not to blame. Maximum session connections, maxProcessors for port 8080, are above stress time connected sessions so they are not causing the error. Database connections are closed on each page and the connection pool has also been raised. There's no pattern in the logs indicating that the code is to blame since the "Out of Memory" error occurs at random places.
    To make things worse sometimes the computer freezes without any error thrown and sometimes must be rebooted when restarting the tomcat wont do. Sometimes the server starts but no respond on the JSP pages. To top that it has happened that Tomcat seems to start just fine, but when taking a closer look into the log he dosn't seem to be running, but the JSP pages are happily working. The log file on the other hand stated that Tomcat was no running:
    SEVERE: Error initializing endpoint
    java.net.BindException: Address already in use:8080
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:302)
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:184)
    at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1229)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:579)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
    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)
    Catalina.start: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080
    LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080
    at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1231)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:579)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
    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)
    Catalina.stop: LifecycleException: This server has not yet been started
    LifecycleException: This server has not yet been started
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2213)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
    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)
    Anyone have any good ideas?
    Is there a chance that the computer is out of memory and can't fill the heap memory since I don't set the Xms parameter?
    Could restarting the Tomcat result in a new process that finds the old sessions in the computer memory and keeps on hanging on to them until timeout?

    sounds to me like your network adapter/driver is seriously screwy.
    I see a really nasty "address already in use" exception. That means that something is still hogging that port, which indicates that tomcat could not cleanly stop itself. One prime suspect when this happens is a non-daemon thread that is still running somewhere. When this happens, Tomcat will wait forever till this thread closes down.
    Hope that helps somehow.

  • Trouble deploying application in Tomcat!

    When I try to open the deployed application in the TomCat webserver, it throws a HTTP 404 error!
    However, the same application is working fine in NetBeans, which has a bundled TomCat server!
    Where am I going wrong? The applications that come with Tomcat are working fine, but no matter whatever appl I deploy, it isnt working!

    First, thanks for the suggestions Nick! And I have tried each of these steps you mentioned!
    1) Check your app is deployed and running in Tomcat Web Application Manager. -- YES, IT IS! I CAN SEE THE APPLICATION, RELOAD IT, STOP IT, ETC!
    2) If not deployed, check log file in logs\stdout.log to find out why it didn't deploy. (How are you deploying? Copying the war file across to \webapps?) - I TRIED DEPLOYING THE WAR FILE, THEN I DEPLOYED AN APPL CREATING THE DIRECTORY STRUCTURE, ETC! STILL NO LUCK!
    3) Make sure you're definitely hitting the correct URL (including the context path, which should also be shown in Web Application Manager) - OF COURSE I AM; EVERY APPL I DEPLOY RETURNS 404! THE NATIVE APPLICATIONS HOWEVER WORK FINE
    4) Can you deploy and run any apps in your standalone Tomcat instance? - I DIDNT GET THIS BUT AN APPL WHICH WORKS PERFECTLY FINE IN NETBEANS, ISNT WORKING IN THE STANDALONE TOMCAT!
    5) Try deploying a really simple app to see if that works. - DID & FAILED!

  • Trouble with running tomcat/eclipse

    I am using eclipse/tomcat. Every time I run tomcat inside eclipse it shows me that war deployed but it doesn't. I have to manually copy it under webapp. I have appropriate login

    are u using and IDE stuff???
    eclipse is inteligent enough to do the work for you.

  • Trouble with my tomcat?

    I got a jwsdp1.1 packet,installed and run startup, it ran properly.
    But after adding a new statement(<Context path="/wygweb" docsBas="wygweb"> ) in the file server.xml, and then,tomcat can't run . why??
    My friends, can you help me? for the tomcat configuration for jsp-servlet.

    I got a jwsdp1.1 packet,installed and run startup,
    , it ran properly.
    <Context path="/wygweb" docsBas="wygweb"> Is that a typo or not? Do you have </Context> close statement?
    Try using <Context path="/wygweb" docBase="wygweb" />
    Or
    First, delete what you added in server.xml, then restart tomcat.
    If it is work, try add new context in server.xml:
    <Context path="/wygweb" docBase="wygweb" crossContext="false" degug="0" reloadable="true" >
    </Context>
    xml is case sensitive. You need match it with your example context code.
    After save the file, you must restart tomcat.
    Hope this helps.

  • Trouble starting up Tomcat

    empty

    Michael,
    The balancer web app that comes with tomcat is a software load balancer that
    is deployed automatically by default and that is not definitely not needed
    or required. You can disable it by removing the balancer.xml file from
    D:\devtools\jakarta-tomcat-5.0.24\conf\Catalina\localhost.
    Sami
    "Michael Mok" <[email protected]> wrote in message
    news:[email protected]...
    HiI installed Nitrox 1.0 and fould the following problem when starting up
    Tomcat. If appears the Tomcat 5.0.24 contains a balancer application
    which need to load the commons digester class. I am not sure if this
    application is optional. Any suggestion on how to resolve this problem?
    Thanks in advance.
    D:\DEVTOOLS\J2SDK1.4.2\bin\java -classpath
    D:\devtools\jakarta-tomcat-5.0.24\bin\bootstrap.jar;D:\DEVTOOLS\J2SDK1.4.2\l
    ib\tools.jar
    -Dcatalina.home=D:\devtools\jakarta-tomcat-5.0.24org.apache.catalina.startup.Bootstrap -config
    D:\devtools\NitroX\eclipse\plugins\com.m7.nitrox_1.0.0\data\scratch\efleet_f
    cdba9ea8a_221e7ef2016fb2a1\._fcdba9ea8a_8722f8069da105d8\.m7debugger\tomcat5
    \efleet\conf\m7.auto.server.xml
    start6/06/2004 10:47:16 org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    6/06/2004 10:47:16 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1202 ms
    6/06/2004 10:47:16 org.apache.catalina.core.StandardService start
    INFO: Starting service NitroX
    6/06/2004 10:47:16 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.24
    6/06/2004 10:47:16 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    6/06/2004 10:47:17 org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='org.apache.struts.util.LocalStrings',
    returnNull=true
    6/06/2004 10:47:17 org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='org.apache.struts.action.ActionResources',
    returnNull=true
    6/06/2004 10:47:17 org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='application', returnNull=true
    6/06/2004 10:47:17 com.fsoft.efleet.struts.server.eFleetDatabasePlugIn
    init
    INFO: eFleet Server Plug In started
    6/06/2004 10:47:17 org.apache.struts.validator.ValidatorPlugIn
    initResources
    INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
    6/06/2004 10:47:17 org.apache.struts.validator.ValidatorPlugIn
    initResources
    INFO: Loading validation rules file from '/WEB-INF/validation.xml'
    6/06/2004 10:47:17 org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    6/06/2004 10:47:17 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /balancer from URL
    file:D:\devtools\jakarta-tomcat-5.0.24\webapps\balancer
    StandardContext[balancer]Exception starting filter BalancerFilter
    java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
    at
    org.apache.webapp.balancer.RulesParser.createDigester(RulesParser.java:65)
    at org.apache.webapp.balancer.RulesParser.<init>(RulesParser.java:43)
    at org.apache.webapp.balancer.BalancerFilter.init(BalancerFilter.java:79)
    at
    org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
    Config.java:225)
    atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
    terConfig.java:308)
    atorg.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
    fig.java:79)

  • Trouble running tomcat

    Hi,
    I have, up until now, been running tomcat 5.xx without any problems, however, when I tried to run it recently, my system returned an error:
    " The system cannot find the file -Djava .endorsed.dirs=."
    I was hoping someone out there might know what the problem may be.
    Thanks

    Did you modify any of your startup scripts in the bin directory or did you recently try to change any environment variables related to Tomcat such as JAVA_OPTS, CATALINA_OPTS and several others?
    This really sounds like your batch or shell file (you don't mention the O/S) isn't working the way you want. This could be because of environment variables or it could be that the script has been modified.

  • Trouble starting Tomcat

    Hi,
    Ihave been searching the net to find some solutions but none was found.
    I am trying to start up my jakarta-tomcat-4.1.30 but its giving me this error....
    How do I make the tomcat start??
    Your help will be highly appreciated.
    Regards,
    Sharique
    D:\TOMCAT\BIN>startup
    Using CATALINA_BASE: D:\Tomcat
    Using CATALINA_HOME: D:\Tomcat
    Using CATALINA_TMPDIR: D:\Tomcat\temp
    Using JAVA_HOME: d:\jdk1.4
    Exception during startup processing
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:30)
    at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAcces
    sorImpl.java:48)
    at java.lang.reflect.Method.invoke(Method.java:306)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
    Caused by: java.lang.NoSuchMethodError: java.util.logging.Logger.logp(Ljava/util
    /logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    at org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:126)
    at org.apache.commons.logging.impl.Jdk14Logger.info(Jdk14Logger.java:193
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:189)
    at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.
    java:1229)
    at org.apache.catalina.core.StandardService.initialize(StandardService.j
    ava:579)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
    a:2246)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
    ... 5 more

    java.lang.NoSuchMethodError: java.util.logging.Logger.logp(Ljava/util
    /logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    at org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:126)
    this sees to be your classpath or jdk version problem. try to update your jdk to jdk1.4.2 and pay attention to the log4j version.

  • Trouble installing Tomcat.

    Hello I have downloaded [jakarta-tomcat-4.0.1] and have jdk1.3 installed in c:\jdk1.3\
    When I install Tomcat it tells me I do not have a java development kit and advises me to download one.
    My autoexec file is as follows:
    (I haven't needed to add any classpaths as I use a IDE that knows where the complier is).
    @echo off
    path c:\windows;c:\windows\COMMAND
    SET SNDSCAPE=C:\WINDOWS
    set java_home=c:\jdk1.3
    Could someone please tell me what is going wrong and edit my autoexec file with the correct path and repost it?
    Thanks in advance,
    Michael De Vorms

    Hi,
    I hope my answer will fit your configuration, as I'm using W2K, so no autoexec here...
    I don't even have the JAVA_HOME defined in the environment variables, but I had to modify two Tomcat batch files, as follows:
    1. In Catalina.bat, I had to modify the entry
    SET JAVA_HOME=<java home>
    to fit my installation. In your case, you should put:
    SET JAVA_HOME=c:\jdk1.3
    2. In Startup.bat, I modified the entry
    SET CATALINAHOME=<tomcat home>
    where <tomcat home> is the home path for your Tomcat installation.
    One more thing: I suggest you to define the CLASSPATH in your environment (if you use other classes than those in JDK 1.3), as Tomcat does not access the information your IDE has.
    Regards and good luck,
    Adrian

  • Trouble with tomcat

    Hi every one
    i am making a servlet that manages html pages byitself rather than using jsp. i use out.println("") to send html commands. i run it in tomcat but every time i make some changes in my code and recompile it...i have to restart tomcat for the changes to show up. is there any way i can just click refresh and the changes will be shown?
    Thx
    bhaarat

    bablu105 wrote:
    you need the setting in Web.xml or some other file--
    located in conf folder.
    and make relodable=true for your context.The file is server.xml usually found in <TOMCAT_HOME>/conf. You need to find the context element for your app, and set readloable=true as an attribute.
    Setting reloadable=true causes the timestamps on your files to be monitored, reloading if anything changes.
    --Jon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Enterprise Portal monitoring with Solution Manager

    Dear guru's, I have just installed a SAP Solution Manager 4.0 I would like to monitor a Enterprise Portal SP15. Does someone have a walkthrough for this because very little information can be found on the sap help pages. I'm interested in user/memory

  • 2.1 Out and Best way to Update if you are a mobile me subscriber's

    From My experience put your phone in to DFU mode and reset your phone back to new. Remember this works for me and I recommend it if you use MOBILE ME. Download the new Firmware and then follow the below http://www.ifonenation.com/2008/07/24/how-to-pu

  • Labview - USB- FT2232 - SPI

    Hi, I would like to build an application with the FTDI FT2232 Chip which should communicate over SPI with an external device. I am using Labview and have implemented predefined VIs from the FTDI Webpage. I think, i have configured all important param

  • XSERVE Cluster Server Keeps Shutting Down

    I have a G5 Xserve Cluster server. Been working like a charm the last couple of months, but now I have a problem. It just shuts down. Nothing dramatic. Will be running for a while and then click... it goes off. Any suggestions as to what could be cau

  • Very strange cookie behaviour!

    I have the following (standard) portalserver and gateway setup: CLIENT -- IPLANET GW (gateway.domain.com) -- SAPPORTAL (sapportal.domain.com) / IPLANET PS (portalserver.domain.com) When I load the url https://gateway.domain.com/http://sapportal.domai