Cannot Start Tomcat 1.1.18

HI
I have install tomcat 1.1.18(light) edition.
when I try start the tomcat, the window just pop up and disappear.
The tomcat could not be start. After editing the startup.bat to view the error, below is the error. I am currently using JDK1.4. Does anyone knows how to solve it?
Using CATALINA_BASE: C:\Tomcat4
Using CATALINA_HOME: C:\Tomcat4
Using CATALINA_TMPDIR: C:\Tomcat4\temp
Using JAVA_HOME: c:\j2sdk1.4.1_01
ERROR reading C:\Tomcat4\conf\server.xml
At Line 90 /Server/Service/Connector/ className=org.apache.coyote.tomcat4.CoyoteConnector port=5566 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=20000 useURIValidationHack=false disableUploadTimeout=true
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:198)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:140)
     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:314)
     at javax.xml.parsers.SAXParser.parse(SAXParser.java:253)
     at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:687)
     at org.apache.catalina.startup.Catalina.execute(Catalina.java:657)
     at org.apache.catalina.startup.Catalina.process(Catalina.java:178)
     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)

ClassNotFoudException means Tomcat can not locate
the CLASSPATH to find org.apache.coyote.tomcat4.CoyoteConnector.
To see whether it is in CLASSPATH.
BTW: current CLASSPATH is printed while Tomcat is runing.
Hope this helps.

Similar Messages

  • Tomcat cannot start

    Hi,
    Have searched the net and a number of forums of forums including this one, to no avail.
    Have just installed Apache Tomcat 5.5.17 using the *.exe, and seems to be configured fine.
    My TomCat bin directory holds the following files:
    bootstrap.jar
    commons-logging-api.jar
    jmx.jar
    tomcat5.exe
    tomcat5w.exe
    tomcat-juli.jar
    There are no *.bat files.
    Each time I start TomCat from Windows Services I get the following message:
    "Windows could not start the Apache Tomcat on Local Computer. For more info, review the System Event Log. If this is a non-Microsoft service, contact the service vendor , and refer to service-specific error code 0."
    The Event log does not expand much either. What is missing in the configuration?
    Thx

    malick-java wrote:
    Copy the msvcr71.dll file in your java/bin and paste it inside the the tomcat/bin,(i guess this will work)BalusC wrote:
    Are you joking or so? No he's not joking in fact!!!
    There is a known issue with running Tomcat5.5 and Java1.6. Theres a whole realm of debate about where the fault lies.
    [Tomcat bug database|https://issues.apache.org/bugzilla/show_bug.cgi?id=41538]
    [Sun's bug database|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6509291]
    [A linked discussion on the matter|http://www.duckware.com/tech/java6msvcr71.html]
    Cheers,
    evnafets

  • Problem with starting Tomcat in debug Mode, Win XP

    Hi,
    if i go to cmd and C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin
    and write: catalina jpda start, it says
    C:\Documents and Settings\bartek>cd C:\Program Files\Apache Software Founda
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>catalina jpda start
    Using CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 5
    Using CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 5
    Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Tomcat 5
    Using JAVA_HOME: C:\j2sdk1.4.2_09
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>
    And it finishes.... Server is off
    If i write: catalina start , new Tomcat window opens and the server starts
    This is my catalina.bat
    @echo off
    if "%OS%" == "Windows_NT" setlocal
    rem ---------------------------------------------------------------------------
    rem Start/Stop Script for the CATALINA Server
    rem
    rem Environment Variable Prequisites
    rem
    rem   CATALINA_HOME   May point at your Catalina "build" directory.
    rem
    rem   CATALINA_BASE   (Optional) Base directory for resolving dynamic portions
    rem                   of a Catalina installation.  If not present, resolves to
    rem                   the same directory that CATALINA_HOME points to.
    rem
    rem   CATALINA_OPTS   (Optional) Java runtime options used when the "start",
    rem                   "stop", or "run" command is executed.
    rem
    rem   CATALINA_TMPDIR (Optional) Directory path location of temporary directory
    rem                   the JVM should use (java.io.tmpdir).  Defaults to
    rem                   %CATALINA_BASE%\temp.
    rem
    rem   JAVA_HOME       Must point at your Java Development Kit installation.
    rem
    rem   JAVA_OPTS       (Optional) Java runtime options used when the "start",
    rem                   "stop", or "run" command is executed.
    rem
    rem   JSSE_HOME       (Optional) May point at your Java Secure Sockets Extension
    rem                   (JSSE) installation, whose JAR files will be added to the
    rem                   system class path used to start Tomcat.
    rem
    rem   JPDA_TRANSPORT  (Optional) JPDA transport used when the "jpda start"
    rem                   command is executed. The default is "dt_shmem".
    rem
    rem   JPDA_ADDRESS    (Optional) Java runtime options used when the "jpda start"
    rem                   command is executed. The default is "jdbconn".
    rem
    rem $Id: catalina.bat,v 1.9.2.1 2004/08/21 15:49:47 yoavs Exp $
    rem ---------------------------------------------------------------------------
    rem Guess CATALINA_HOME if not defined
    set CURRENT_DIR=%cd%
    if not "%CATALINA_HOME%" == "" goto gotHome
    set CATALINA_HOME=%CURRENT_DIR%
    if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
    cd ..
    set CATALINA_HOME=%cd%
    cd %CURRENT_DIR%
    :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
    rem Get standard environment variables
    if exist "%CATALINA_HOME%\bin\setenv.bat" call "%CATALINA_HOME%\bin\setenv.bat"
    rem Get standard Java environment variables
    if exist "%CATALINA_HOME%\bin\setclasspath.bat" goto okSetclasspath
    echo Cannot find %CATALINA_HOME%\bin\setclasspath.bat
    echo This file is needed to run this program
    goto end
    :okSetclasspath
    set BASEDIR=%CATALINA_HOME%
    call "%CATALINA_HOME%\bin\setclasspath.bat"
    rem Add on extra jar files to CLASSPATH
    if "%JSSE_HOME%" == "" goto noJsse
    set CLASSPATH=%CLASSPATH%;%JSSE_HOME%\lib\jcert.jar;%JSSE_HOME%\lib\jnet.jar;%JSSE_HOME%\lib\jsse.jar
    :noJsse
    set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar
    if not "%CATALINA_BASE%" == "" goto gotBase
    set CATALINA_BASE=%CATALINA_HOME%
    :gotBase
    if not "%CATALINA_TMPDIR%" == "" goto gotTmpdir
    set CATALINA_TMPDIR=%CATALINA_BASE%\temp
    :gotTmpdir
    rem ----- Execute The Requested Command ---------------------------------------
    echo Using CATALINA_BASE:   %CATALINA_BASE%
    echo Using CATALINA_HOME:   %CATALINA_HOME%
    echo Using CATALINA_TMPDIR: %CATALINA_TMPDIR%
    echo Using JAVA_HOME:       %JAVA_HOME%
    set _EXECJAVA=%_RUNJAVA%
    set MAINCLASS=org.apache.catalina.startup.Bootstrap
    set ACTION=start
    set SECURITY_POLICY_FILE=
    set DEBUG_OPTS=
    set JPDA=
    if not ""%1"" == ""jpda"" goto noJpda
    set JPDA=jpda
    if not "%JPDA_TRANSPORT%" == "" goto gotJpdaTransport
    set JPDA_TRANSPORT=dt_socked
    :gotJpdaTransport
    if not "%JPDA_ADDRESS%" == "" goto gotJpdaAddress
    set JPDA_ADDRESS=8000
    :gotJpdaAddress
    shift
    :noJpda
    if ""%1"" == ""debug"" goto doDebug
    if ""%1"" == ""run"" goto doRun
    if ""%1"" == ""start"" goto doStart
    if ""%1"" == ""stop"" goto doStop
    if ""%1"" == ""version"" goto doVersion
    echo Usage:  catalina ( commands ... )
    echo commands:
    echo   debug             Start Catalina in a debugger
    echo   debug -security   Debug Catalina with a security manager
    echo   jpda start        Start Catalina under JPDA debugger
    echo   run               Start Catalina in the current window
    echo   run -security     Start in the current window with security manager
    echo   start             Start Catalina in a separate window
    echo   start -security   Start in a separate window with security manager
    echo   stop              Stop Catalina
    echo   version           What version of tomcat are you running?
    goto end
    :doDebug
    shift
    set _EXECJAVA=%_RUNJDB%
    set DEBUG_OPTS=-sourcepath "%CATALINA_HOME%\..\..\jakarta-tomcat-catalina\catalina\src\share"
    if not ""%1"" == ""-security"" goto execCmd
    shift
    echo Using Security Manager
    set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy
    goto execCmd
    :doRun
    shift
    if not ""%1"" == ""-security"" goto execCmd
    shift
    echo Using Security Manager
    set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy
    goto execCmd
    :doStart
    shift
    if not "%OS%" == "Windows_NT" goto noTitle
    set _EXECJAVA=start "Tomcat" %_RUNJAVA%
    goto gotTitle
    :noTitle
    set _EXECJAVA=start %_RUNJAVA%
    :gotTitle
    if not ""%1"" == ""-security"" goto execCmd
    shift
    echo Using Security Manager
    set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy
    goto execCmd
    :doStop
    shift
    set ACTION=stop
    goto execCmd
    :doVersion
    %_EXECJAVA% -classpath "%CATALINA_HOME%\server\lib\catalina.jar" org.apache.catalina.util.ServerInfo
    goto end
    :execCmd
    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
    rem Execute Java with the applicable properties
    if not "%JPDA%" == "" goto doJpda
    if not "%SECURITY_POLICY_FILE%" == "" goto doSecurity
    %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
    goto end
    :doSecurity
    %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
    goto end
    :doJpda
    if not "%SECURITY_POLICY_FILE%" == "" goto doSecurityJpda
    %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xdebug -Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
    goto end
    :doSecurityJpda
    %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
    goto end
    :end

    paths with spaces in them are a problem. surround them with quotes and see if that helps.
    why does the Java /bin appear twice?
    why don't you use the JAVA_HOME variable that you set? don't repeat yourself.
    %

  • Issue with starting tomcat in windows for webcenter sites installation

    Hello All,
    I have been trying to install oracle webcenter sites on windows 7, I followed all the steps in the documentation for the configuration and setup. but anytime I start the tomcat using the startup.bat script I get errors as shown below.
    C:\WCS11gR1\tomcat\bin>catalina debug
    Using CATALINA_BASE: "C:\WCS11gR1\tomcat"
    Using CATALINA_HOME: "C:\WCS11gR1\tomcat"
    Using CATALINA_TMPDIR: "C:\WCS11gR1\tomcat\temp"
    Using JAVA_HOME: "C:\Program Files\Java\jdk1.7.0_21"
    Using CLASSPATH: "C:\WCS11gR1\home\bin;C:\Program Files\Java\jdk1.7.0_21\l
    ibtools.jar;;C:\WCS11gR1\tomcat\bin\bootstrap.jar"
    Initializing jdb ...
    runrun org.apache.catalina.startup.Bootstrap start
    java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The
    system cannot find the file specified
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
    at java.lang.Runtime.exec(Runtime.java:615)
    at java.lang.Runtime.exec(Runtime.java:483)
    at com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(AbstractLau
    ncher.java:180)
    at com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:132)
    at com.sun.tools.jdi.SunCommandLineLauncher.launch(SunCommandLineLaunche
    r.java:235)
    at com.sun.tools.example.debug.tty.VMConnection.launchTarget(VMConnectio
    n.java:495)
    at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:3
    26)
    at com.sun.tools.example.debug.tty.Commands.commandRun(Commands.java:559
    at com.sun.tools.example.debug.tty.TTY.executeCommand(TTY.java:491)
    at com.sun.tools.example.debug.tty.TTY.<init>(TTY.java:765)
    at com.sun.tools.example.debug.tty.TTY.main(TTY.java:1067)
    Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
    e file specified
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(ProcessImpl.java:288)
    at java.lang.ProcessImpl.start(ProcessImpl.java:133)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
    ... 11 more
    Fatal error:
    Unable to launch target VM.
    If I run it by clicking on the bat file directory I get this error in my catalina log file below:
    May 27, 2013 5:04:48 PM org.apache.catalina.startup.Catalina start
    SEVERE: Cannot start server. Server instance is not configured.
    Kindly advise me on what to do to resolve this issue.

    Yes I did that all the commands give me error.
    If I use the startup.bat I get a list of errors ending with:
    org.apache.catalina.startup.Catalina start SEVERE: Cannot start server. Server instance is not configured.
    but I have configured the instance using the following settings for windows:
    SET CATALINA_HOME = C:\WCS11gR1\tomcat
    SET CATALINA_BASE = C:\WCS11gR1\tomcat
    SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_21
    SET JAVA_OPTS=-Xmx1500m
    SET CS_HOME=C:\WCS11gR1\home
    SET CATALINA_OPTS=-XX:MaxPermSize=192m -Dfile.encoding=UTF-8 -Dnet.sf.ehcache.enableShutdownHook=true -Djava.net.preferIPv4Stack=true

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

  • Starting Tomcat in WinXP

    I m facing a problem starting tomcat server in winxp.every time i run startup from the command window,it gives the message "windows cannot find 'c:\sun\appserver\bin\java'.I have set the following environment variables:
    CATALINA_HOME=C:\tomcat
    TOMCAT_HOME=C:\tomcat
    CLASSPATH=c:\Sun\AppServer\lib\j2ee.jar
    JAVA_HOME=C:\Sun\AppServer
    Path=c:\Sun\AppServer\bin
    I have installed tomcat in c:\tomcat.Whats the thing i m doing wrong.
    Pls reply asap.Thanx in advance.

    Get rid of that CLASSPATH environment variable for one thing. You don't need it, and Tomcat ignores it.
    Open a command shell and type "java -version". Make sure that the version that comes back is the one you think you should have.
    If the OS can't find the java.exe, it means you've got a PATH problem.
    Your PATH in WinXP should have a lot more than that in it. Where exactly did you set these values? Using the Control Panel, or in the command shell itself? I have mine set with the Control Panel. - MOD

  • Unable to start tomcat server

    hi,
    i want to develop simple application using servlets.i ve installed apache tomcat4.1 version.i ve compiled my servlet program successfully.but when i am trying to start tomcat server,it is showing some error.i ve set the callspath too.
    the error is:
    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: c:\jdk1.5.0_05;
    The system cannot find the file -Dsun.io.useCanonCaches=false.
    please resolve my problem..
    thanks in advance..

    Using JAVA_HOME: c:\jdk1.5.0_05;There shouldn't be a semi-colon in the JAVA_HOME

  • Problem in Starting tomcat in new window

    I Have configured tomcat set environment and done all the stuff but while starting tomcat
    Another DOS window breifly opens and closes, (I can
    not read the message in
    that window), and the above window remains open.
    I do not get a new window or anything after this. I
    tried opening my browser
    and typing http://localhost:8080/ in the address
    line, but I get the
    "Cannot find server or DNS Error" from the browser.
    I tried changing the
    port to 80 instead of 8080, but that doesn't work
    either.
    I'd greatly appreciate it if anyone can help get me
    past this issue.

    I would suggest deleting all the log files under tomcat\logs and then try starting it up. When it fails go to the logs folder and look through all the files that were created and see if there is any error message. it should tell you why its not starting properly.
    -S

  • Unable to start Tomcat

    Hi,
    I am using windows xp with jdk 1.3 installed on it. I have downloaded tomcat "jakarta-tomcat-3.3.2.zip" and set all the invironment variable CALALINA_HOME , JAVA_HOME and CLASSPATH. But when i start tomcat it gives me the error like below:
    =================================================
    2006-02-07 17:23:42 - AutoDeploy: Expanding C:\Tomcat3\webapps\admin.war
    2006-02-07 17:23:43 - AutoDeploy: Expanding C:\Tomcat3\webapps\examples.war
    2006-02-07 17:23:44 - AutoDeploy: Expanding C:\Tomcat3\webapps\ROOT.war
    ERROR reading C:\Tomcat3\conf\server.xml
    At Line 241 /Server/ContextManager/CoyoteConnector/ port=8080 maxThreads=150 min
    SpareThreads=25 maxSpareThreads=75 enableLookups=false acceptCount=100 debug=0 c
    onnectionTimeout=20000 disableUploadTimeout=true
    sun.misc.InvalidJarIndexException: Invalid index!
    at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:594)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:134)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
    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.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:553)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:795)
    at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:516)
    at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:114)
    =================================================
    Please suggest what should i do. I cant upgrade JDK because some other application uses 1.3 those are not compatible with higher versions.
    Regards.

    i have tomcat cat and jdk is installed at my computer and path and home is set let me show youenvrionment variables are->
    class path c: \tomcat\tomcat_1\common\lib\servlet-api
    include :c:\program files\java\jdk1.5.0_07. but for the execution i go to
    console i came to catalina home directory like
    c\toamcat\tomcat_1\bin>startup.bat
    but gives error like the system cannot the find spatch specified. so anyone help me in fixing this out

  • Starting tomcat with bootstrap.jar

    I want to start Tomcat 4.1 with bootstrap.jar and calling the main function from my simple java program. How can I do it and what all parameters are required by the main function so that it can start the Tomcat?
    Can I supply the catalina.policy file while starting it up?

    Thanks for the reply. I downloaded the tar.qz and move it to /usr/local/
    with apache-tomcat-6.0.18 at the root
    I've always done things without netbeans IDE. I just like the netbeans because it came with tomcat.
    I get the following error when I start tomcat
    tma apache-tomcat-6.0.18 # /usr/local/apache-tomcat-6.0.18/bin/startup.sh
    Using CATALINA_BASE: /usr/local/apache-tomcat-6.0.18
    Using CATALINA_HOME: /usr/local/apache-tomcat-6.0.18
    Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.18/temp
    Using JRE_HOME: /etc/java-config-2/current-system-vm
    touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out': No such file or directory
    /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292: /usr/local/apache-tomcat-6.0.18/logs/catalina.out: No such file or directory
    #cwc 090129
    export CATALINA_HOME=/usr/local/apache-tomcat-6.0.18
    export PATH=$PATH:$CATALINA_HOME/bin
    Edited by: cwcoleman on Jan 30, 2009 5:38 AM
    Edited by: cwcoleman on Jan 31, 2009 8:02 AM

  • Start tomcat with ovjm

    I have read all the help. I cannot figure out how to start tomcat such that it is using the ovjm. Please help.

    Hi All,
    I have changes the code to this:
    try
                Runtime rt = Runtime.getRuntime();
                Process proc = rt.exec("C:\\apache-tomcat-5.5.27\\bin\\startup.bat");
                InputStream stderr = proc.getErrorStream();
                InputStreamReader isr = new InputStreamReader(stderr);
                BufferedReader br = new BufferedReader(isr);
                String line = null;
                System.out.println("<ERROR>");
                Thread.sleep(3000);
                System.exit(0);
                while ( (line = br.readLine()) != null)
                    System.out.println(line);
                System.out.println("</ERROR>");
                int exitVal = proc.waitFor();
                System.out.println("Process exitValue: " + exitVal);
            } catch (Throwable t)
                t.printStackTrace();
              }What is happening is that this piece of code is running perfectly on my machine but not on production server. JDK, Apache Tomcat are of same version (same replica) and also I am the administrator of both machines. On production server this does not throw any exception also. The path to startup.bat is same in both my machine and production. If I go on Start > Run > C:\apache-tomcat-5.5.27\bin\startup.bat it works but not with Java Application.
    Completely perplexed. Please help me out for possible solution.
    Thanks and Regards,
    Vikash Anand

  • Error starting tomcat 4.1.12

    I'm running win2k Pro. I installed first j2sdk1.4.1 and then tomcat 4.1.12 on my e:\. When I click START TOMCAT i recieve the error in a dialog box:
    Cannot find the file '-Djava.endorsed.dirs='(or one of its components). Make sure the path and filename are correct and that all required libraries are available
    Also in the command prompt it describes the error as:
    The JAVA_HOME environment variable is not defined
    This environment variable is need to run this program
    Using CATALINA_BASE: ..
    Using CATALINA_HOME: ..
    Using CATALINA_TMPDIR: ..\temp
    Using JAVA_HOME:
    I've set my environment variables as the following
    JAVA_HOME - e:\j2sdk1.4.1
    CATALINA_HOME - e:\Tomcat
    CLASSPATH - e:\Tomcat\common\lib\servlet.jar
    PATH - c:\WINNT;c:\WINNT\SYSTEM32\cmd;e:\j2sdk1.4.1

    I had exactly the same problem, but I couldn't find the solution. But the workaround I use was good enought for me. Tomcat installs itself as a service (at least in Win XP which I use). Starting/Stopping from service gave me no problem at all. The services doesn't use same startup behaviour as .bat file. If you need to start from a .bat file take a look at how the services is started.

  • ConnectionServer cannot started - NT Service Initialization Problem

    When I startup a "Connection Server" for "Business Object Enterprise 12.0" under Windows XP Professional machine, following error raised.
    Could you tell me what is the problem. Thanks.
    Timestamp     ProcessID     ThreadID     Message
    [Wed May 20 09:30:21 2009]     6712     8100     Log: level=3 cat=1 msg=35100 p=ConnectionServer started
    [Wed May 20 09:30:21 2009]     6712     8100     trace message: Creating controller thread
    [Wed May 20 09:30:21 2009]     6712     8100     trace message: Waiting on monitor to initialize
    [Wed May 20 09:30:21 2009]     6712     2412     trace message: In service controller thread's run!
    [Wed May 20 09:30:21 2009]     6712     8100     trace message: SIServerController::waitingToInitialize
    [Wed May 20 09:30:21 2009]     6712     2412     trace message: SINTService::run enter
    [Wed May 20 09:30:36 2009]     6712     2412     trace message: SIServerController::initialize
    [Wed May 20 09:30:36 2009]     6712     2412     assert failure: (.\siservice.cpp:839). (false : StartServiceCtrlDispatcher: The operation completed successfully.
    [Wed May 20 09:30:36 2009]     6712     2412     Log: level=0 cat=14 msg=35500 p=NT Service Initialization Problem
    [Wed May 20 09:30:36 2009]     6712     2412     trace message: SINTService::run: Cannot start service control dispatcher

    Hi Thomas,
    I am having the same issue...I couldn't able to start CMS (Content Management services ) .
    Reducing the tomcat heap size doesn't help in my case....
    Regards, Anil

  • Cannot start Services from CMC after the migration of BOBJ from C to E driv

    Hi ,
    We recently upgraded our BOBJ environment from BOE XI 3.1 FP1.6 on C drive to  BOE XI 3.1 FP2.2 to E drive. The installation is completed successfully but all the services from CMC are stopped. I cannot start them and upon checking the properties, the path is still pointing to C drive even though the tomcat settings are pointing to E drive. Any help on this is greatly appreciated.
    The error message is as follows:
    The executable could not be launched. Possible reasons are insufficient RAM or disk space, or an invalid filepath or working directory. Actual reason: CreateProcess: "C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\wireportserver.exe" -JTCss 1024 -loggingPath E:/Logging/ -trace -fg -restart -name BUSOBJJF00.WebIntelligenceProcessingServer -pidfile "E:\Program Files\BusinessObjects Enterprise 12.0\serverpids\BUSOBJJF00_BUSOBJJF00.WebIntelligenceProcessingServer.pid" -ns BUSOBJ-JF00.ESC.win.colpal.com:6400 error=3
    Thanks,
    madhuri

    I saw something similiar once when using SAP authentication(you didn't mention which auth model you are using).
    If the license you installed was a named user (vs. concurrent user) and you picked the opposite setting in the CMC Authentication section, then you won't be able to login.

  • "Device Cannot Start - Code 10" - Windows Vista Error, w/ 2nd Gen. Nano

    I'm having trouble with my Nano and Windows Vista. The computer is recognizing the iPod just fine and seeing all of my songs, but nothing will play and the diamond bar does not move. I can't hear previews online either.
    Under device manager, a yellow "!" shows up for the iPod, and it says "Device Cannot Start - Code 10" when I check. All of my drivers and updates are current as of today. So is iTunes. Any thoughts?
    It worked before, but now it's not.

    This is a reasonably common error on a PC when there is a problem with either a USB device, your USB cables or hardware, or the system drivers.
    In a case where, as you say, the device works properly with other computers, the problem is more likely to be with the hardware or drivers on the computer you're trying to connect to.
    See this site for some hints:
    http://www.pchell.com/hardware/usbcode10.shtml
    I found it via a web search; I don't have any connection to that site.
    The good news is that your iPhone is probably fine.

Maybe you are looking for

  • Error when processing web service call

    Hello Experts, Based on a requirement, I got a URL based on WSDL, using which I created a Consumer Proxy in SAP. I created a Logical Port in SOA Manager with type selected as 'WSDL', and didnot gave any authentication id or password in it. When I'm t

  • Nested Materialized View in 8.1.7

    Hi, I am attempting to create a nested materialized view as per metalink doc id 212533 and I am hitting ORA-12015: cannot create a fast refresh snapshot from a complex query. Please see my test script below: Any help would be greatly appreciated Than

  • ASP form

    I made a simple form. There are 2 text fields (for Name and E-mail) and 1 text area (for Comments) along with the Submit and Reset button. When users clicks the Submit button it re-directs them to another page (the form action is set to 'sent.asp',wh

  • Why won't iTunes play on Safari

    iTunes used to work in Safari, and now videos won't play.  The page loads, but the video area is just black.  Those videos play fine in Firefox. Please tell me how to fix Safari.

  • Weblogic Starting Problem

    Hi All,    I have installed Weblogic 10.3.5 on Oracle Linux Server release 6.5 x86_64 . When I start my server from the script i.e. ./startWeblogic.sh I get this error : <Dec 23, 2013 12:13:05 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server st