Tomcat can't find JDK

Hi
I have my JAVA_HOME set to C:\j2sdk1.4.1_01
I have just upgraded my jdk. Tomcat now won't load anymore since I upgraded. It says that it can't load the JVM. Any suggestions?
Thanks

You need to Upgrade u r Tomcat!!

Similar Messages

  • Can't find JDK on MAC OS X (10.7.2)

    Hi,
    I Can't find JDK on MAC OS X (10.7.2)
    I have heard it comes preinstalled but i have also heard that they have stopped it coming preinstalled with lion.
    If this is the case where is the offical java JDK download for MAC OS X (10.7.2)
    Thanks

    Try here.

  • TOMCAT CAN�T FIND BEAN CLASSE

    Hello, i am from Argentina. i need URGENT help with tomcat, because i am developing my final thesis.
    I have all my sources in
    C:\jakarta-tomcat-5.0.16\webapps\tesis
    C:\jakarta-tomcat-5.0.16\webapps\tesis\ (archivos jsp)
    C:\jakarta-tomcat-5.0.16\webapps\tesis\lib
    C:\jakarta-tomcat-5.0.16\webapps\tesis\web-inf\classes\edu\tesis\beans
    C:\jakarta-tomcat-5.0.16\webapps\tesis\web-inf\classes\edu\tesis\queries
    C:\jakarta-tomcat-5.0.16\webapps\tesis\web-inf\classes\fede\servlets
    my problem is that when i execute the login.jsp through the browser in this way
    http://localhost:8080/tesis/login.jsp
    tomcat can�t find the edu.tesis.beans package
    In compiled jsp class i can see this
    package org.apache.jsp;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import edu.tesis.beans.*;
    so, the problem is that tomcat set package org.apache.jsp; to my jsp, so it can�t find edu.tesis.beans package.
    This is my context path that is in $CATALINA_HOME/conf/server.xml file
    <Context path="/tesis" docBase="C:\tomcat\webapps\tesis"
    debug="9"
    reloadable="true"
    crossContext="true"/>
    This is an extraction of my jsp file
    <html>
    <head>
    <%@page import="edu.tesis.beans.*"%>
    </head>
    <body>
    <jsp:useBean id="universidad" class="edu.tesis.beans.Universidad" scope="request" />
    <form action="servlets/fede.servlets.ServletMaxwell" method="post"><BR><BR><BR><BR>
    PLEASE, I NEED AN URGENT HELP!!!!
    THANKS,
    FEDERICO

    Tampoco te preocupes porque Tomcat cambie el paquete de las p�ginas jsp. Eso es un comportamiento normal. Adem�s nota que el paquete de tu tesis es importado en la clase generada a partir del jsp, o sea que deberia encontrarla si est� en el lugar correcto.
    Otra cosa que veo extra�a en tu estructura de directorios es que existe un directorio "lib" por fuera de WEB-INF. Si este contiene beans en forma de paquetes jar, deberia estar dentro de WEB-INF

  • Tomcat can't find the servlets!

    Hi!
    I've just installed tomcat tomcat-5.5.16 with apache. Tomcat runs ok. It shows some samples (delivered with tomcat) under www.mywebsite.com/servlets-example and also www.mywebsite.com/jsp-examples. JSP files work perfectly, but when I try the servlets it can't find them:
    www.mywebsite.com/servlets-examples/servlet/RequestHeaderExample Object not found!my classpath lokks like this:
    /opt/SUNWappserver/jdk/lib:/opt/apache-tomcat/common/lib/servlet-api.jar:/opt/apache-tomcat/bin:/opt/apache-tomcat/webapps/servlets-examples/WEB-INF/classes:/opt/apache-tomcat/webapps/ROOT/WEB-INF/classesand web.xml looks like this:
        <servlet>
            <servlet-name>invoker</servlet-name>
            <servlet-class>
              org.apache.catalina.servlets.InvokerServlet
            </servlet-class>
            <init-param>
                <param-name>debug</param-name>
                <param-value>0</param-value>
            </init-param>
            <load-on-startup>2</load-on-startup>
        </servlet>and
        <!-- The mapping for the default servlet -->
        <servlet-mapping>
            <servlet-name>default</servlet-name>
            <url-pattern>/</url-pattern>
        </servlet-mapping>
        <!-- The mapping for the invoker servlet -->
        <servlet-mapping>
            <servlet-name>invoker</servlet-name>
            <url-pattern>/servlet/*</url-pattern>
        </servlet-mapping>I changed the web.xml und conf and under WEB-INF.
    I also changed server.xml to make tomcat work with apache on port 80.
    What did I do wrong? What did I forget?
    What is the difference between web.xml under conf and the ones under WEB-INF?
    Thanks for any help.

    opt/SUNWappserver/jdk/lib:/opt/apache-tomcat/common/lib/servlet-api.jar:/opt/apache-tomcat/bin:/opt/apache-tomcat/webapps/servlets-examples/WEB-INF/classes:/opt/apache-tomcat/webapps/ROOT/WEB-INF/classes
    May be ur classpath will be wrong try the classpath like this
    ;C:\Tomcat5\common\lib\servlet-api.jar;C:\Tomcat5\common\lib\jsp-api.jar;C:\Tomcat5\common\lib\log4j-1.2.9.jar;C:\Tomcat5\common\lib\mysql-connector-java-3.1.8-bin.jar;hello
    Check out all the enteries in the web-xml file and the path in the environment variable i your system.

  • Tomcat Can't Find Bean

    Hello-
    I am trying to use JSP to call a bean and it keeps telling me that it could not compile because...
    "Class org.apache.jsp.DataBaseSelect not found."
    All my files are located in the webapps/ROOT under my own directory called "project".
    DataBaseSelect is the name of my class file. This class file is located in the following directory...
    jakarta-tomcat-4.0.1/webapps/ROOT/project/WEB-INF/classes/DataBaseSelect.class
    My JSP page is located here...
    jakarta-tomcat-4.0.1/webapps/ROOT/project/test.jsp and it calls the bean by using this statement...
    <jsp:useBean id="select" class="DataBaseSelect" scope="request">
    </jsp:useBean>
    Do I need to do something to the WEB-INF/web.xml file to tell it about my bean? Do I need to make my bean part of a package somehow? Why does the compiler think my bean is part of "org.apache.jsp"?
    Note: I have gotten a straight JSP (no bean) page to work in this same directory.
    Please help and thanks for the effort...
    Zac

    I took the advice of both posts above and have made some progress... Now it seems Tomcat can find my bean but I am getting this error...
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Cannot create bean of class DataBaseSelect
         at org.apache.jsp.test$jsp._jspService(test$jsp.java:78)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
         at java.lang.Thread.run(Thread.java:484)
    root cause
    java.lang.ClassCastException: DataBaseSelect
         at org.apache.jsp.test$jsp._jspService(test$jsp.java:74)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
         at java.lang.Thread.run(Thread.java:484)

  • Tomcat can't find existing file

    Hello,
    unfortunately i keep getting the following error:
    Servlet /tomcat-docs threw load() exception
    javax.servlet.ServletException: Service not available (propertyFile not loadable:Can't find properties file /usr/share/tomcat4/webapps/tomcat-docs/../webapps/ROOT/conex/WEB-INF/properties/cp.xmlWhat annoys me about it is that the file cp.xml exists in the very directory. Any ideas how something like this can happen?

    The best way to do it is to use the methods of ServletContext.
    ServletContext.getRealPath("WEB-INF/properties/cp.xml")
    This method turns a website relative url into a real file location on the disk. It makes your web app independant of where it is deployed.
    The other useful method is ServletContext.getResourceAsStream("/pathtoresource") which returns an input stream to the resource. This call will succeed even if the application is in a WAR file, where the path returned by getRealPath() may not be as easily accessible.
    ServletContext application = getServletConfig().getServletContext();
    String filename = application.getRealPath("WEB-INF/properties/cp.xml")
    File inFile = new File (filename);Cheers,
    evnafets

  • NitroXInstaller (2.1) can not find JDK or JRE 1.4

    Hi,
    I have been trying to install NitroX JSP Editor (NitroXInstaller.exe), downloaded today, and keep getting an error saying it can not find a JRE or JDK 1.4 or later.
    I have modified my PATH and tested a few permutations to no avail. I only have 1.4 installed on my machine. The path is correct:
    E:\tmp\ExpressNitroXFreeInstall-411>java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
    Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
    I saw in an other post that if I press <cntr> while running the install, I can get the installer to create a log file. I tried that but the functionaility did not come up...
    Any ideas?
    Patrick

    From what I see in the log, it does find the correct JVM but has a problem starting up:
    versionInfo: major: 2 minor: 1 micro: 0 buildNumber: 411 release name: M1
    java.io.IOException: CreateProcess: D:\Program Files\java\j2sdk1.4.2_06\jre\bin\
    java.exe -version error=5
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:428)
    at java.lang.Runtime.exec(Runtime.java:364)
    at java.lang.Runtime.exec(Runtime.java:326)
    at com.m7.installer.InstallerUtil.getVersion(InstallerUtil.java:119)
    at com.m7.installer.InstallerUtil.checkVersion(InstallerUtil.java:83)
    at com.m7.installer.CheckInstallerVM.install(CheckInstallerVM.java:35)
    at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA8113)
    I am running W2K with the latest MS updates.

  • Can't find JDK w. installing JDev 11.1.2.4 on OSX Mavericks

    Hi all,
    I need to install Jdeveloper 11.1.2.4 on my MacbookAir running OSX Mavericks.
    I downloaded the jdevstudio11124install.jar file from oracle.com and installed some version of Java 1.6 from Apple.
    I can start the install, but when I go to choose the default JDK to use, whenever I try to choose a folder it just says error something...
    Does anybody have a clue on what to do so that I can chose a JDK when installing 11.1.2.4?
    Thanks in advance,
    nejo

    Hi!
    Thanks!
    This line, from the first link, solved my problem.
    /usr/libexec/java_home --version 1.6.0
    --exec java -jar /Users/Fred/Desktop/jdevstudio11116install.jar
    Obviously I replaced Fred with my username and jdev.....11116 with 11124.
    I tried running that line previously but that was before I had installed java 1.6.
    Thanks again

  • Tomcat can't find oracle classes12.jar what to do?

    hi,
    i have managed to come this far with my "simple" webapplication under tomcat that i can see the application startpage but when i click browse the following
    exception is thrown:
    java.lang.NoClassDefFoundError: oracle/sql/NUMBER
    since i have tried to put the classes12.jar in every reasonable directory without effect, i have to bother this forum. does anyone know "where the dog is burried"(german saying)?
    greetz
    Selim Keser

    I'm sorry I wasn't clear.
    I have a feeling you might not have to do this because you wouldn't have gotten so far without knowing how.
    "chown" is a command in UNIX like systems to change the owner of a file or directory.
    When I was having problems similar to yours, I noticed that all of the files that I copied onto my server listed the owner as root and the group as root.
    The version of Tomcat I am running on Linux requires that the files be owned by "apache". So by changing to the directory where the files in question are located, you can run the UNIX command "chown apache:apache *" and it will change the owner/group to apache.
    If you're running in some other OS (Windows) I can't really help since I've never successfully installed and invoked Tomcat on Windows.
    HTH.
    Thanks, George

  • Tomcat can't find my servlets

    Whenever i try to access one of my servlets via http://localhost:8080/photodb/servlet/dtic.photodb.webapp.PhotoList, I get a 404 error. I am using Tomcat 4.1.12, but i had no troubles in 4.1.10. Does Tomcat 4.1.12 require special configuration, or could something else be the cause of this problem?
    Thanks in advance
    Ryan

    Hi,
    Tomcat 4.1.12 has a bug fix done on the InvokerServlet. The InvokerServlet is responsible for serving the servlet requests. In all the previous versions the InvokerServlet will be enabled by default. In the latest version, it is commented out. You will have to uncomment this for your servlets to be serverd. The changes needs to be done in the <tomcat_home>/conf/web.xml file.
    Uncomment the following lines
    <servlet-mapping>
    <servlet-name>invoker</servlet-name>
    <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
    More details regarding the bug and the fix can be found at the following url
    http://online.securityfocus.com/archive/1/292936/2002-09-21/2002-09-27/0
    Thanks
    Shanmugam.PL
    Whenever i try to access one of my servlets via
    http://localhost:8080/photodb/servlet/dtic.photodb.weba
    p.PhotoList, I get a 404 error. I am using Tomcat
    4.1.12, but i had no troubles in 4.1.10. Does Tomcat
    4.1.12 require special configuration, or could
    something else be the cause of this problem?
    Thanks in advance
    Ryan

  • Where can I find "JDK US DST Timezone Update Tool - 1.2.2" ?

    I need this time-zone file to upgrade jdk on free-bsd, port won't upgrade without the file tzupdater-1_2_2-2007g.zip and it doesn't work with the latest one (1.3)
    I've been searching this website for it (search, archives, previous releases, ..) and I cannot find it
    Tx

    found it at http://www.metaftp.com/tops/zip.html

  • Tomcat can't find db driver

    I'm using mysql as my db in a web app. I've put the mysql jar file in WEB-INF/lib of my app and I'm using org.gjt.mm.mysql.Driver in my call to Class.forName() but when I try to access the db I get a no driver available message. Can anyone offer an idea of what I'm missing?

    Is the driver class being loaded correctly? People often have something like this:try {
      Class.forName("org.gjt.mm.mysql.Driver");
    } catch(ClassNotFoundException e) {
    }and then they have no idea whether the class was loaded or not.

  • Tomcat can't find servlet class

    Hello,
    I am trying to forward information from a jsp page to a servlet (the example in JSPIntro.pdf). I keep getting the error that the servlet class can't be found. I have put it in webapps/examples/web-inf/classes. I also added the servlet name in several web.xml files in different directories to no avail. Can anyone give me a hint on setup.
    Thanks

    to setup correctly the servlet you need something like this int the web.xml
    <servlet>
    <servlet-name>yourservlet</servlet-name>
    <servlet-class>xx.yyy.zzz.yourservlet</servlet-class>
    <init-param>
    </servlet>
    and you must put the class under
    WEB_INF/lib/xx/yyyy/zzz directory of your context.
    the servlet must be called as
    http://yourhost/yourcontext/servlet/yourservlet
    hope it helps,
    Giovanni

  • Error : XDK 902b,  jdk 1.3.1_02, Tomcat 3.2.3, server can't  find XSQLConfig.xml

    Hi xml-folks :
    I am having a show stopping problem with my IBM NT server 4.0 s-pac 6 env. Error : XDK 902b with jdk 1.3.1_02 and Tomcat 3.2.3, server can't find XSQLConfig.xml file.
    Components : IIS 4.0, Tomcat 3.2.3, JDK 1.3.1_02, XDK 9.0.2b
    - all components were down loaded and installed from apache.org, sun.java and otn this week.
    ERROR : in Internet Explorer
    I type in ...
         Http://geoweb:8080/geoapp/helloworld/helloworld.xsql
    I recieve ...
         Oracle XSQL Servlet Page Processor 9.0.2.0.0(Beta)
         XSQL - 003 : Failed to find 'XSQLConfig.xml' in file server CLASSPATH.
    ( ... seems straight forward to fix, doesn't it.)
    - history IIS works, jakarta is up as a service, it's mapped as an IIS vritual directory, Tomcat serves the demo t-c JSP and Servlets from : Http://geoweb:8080/geoapp, the java env works (java, javac, jar, etc). I've done everything to try to get the CLASSPATH to recognized the XSQLConf file, jar'ed it, renamed it to zip. And of course the file still resides in my XDK home E:\xdk_java_902b\lib, I've tried that in the path too.
    < nt_system_variables >
    CLASSPATH=E:\Tomcat3.2.3
    \lib\XSQLConfig.jar;E:\xdk_java_902b\lib\classes12.zip;E:\xdk_java_902b\lib\classgen.jar;E:\xdk_java_902b\lib\oraclexsql.jar;E:\xdk_java_902b\lib\transx.zip;E:\xdk_java_902b\lib\xmlmesg.jar;E:\xdk_java_902b\lib\xmlparserv2.jar;E:\xdk_java_902b\lib\xschema.jar;E:\xdk_java_902b\lib\xsqlserializers.jar;E:\xdk_java_902b\lib\xsu12.jar;E:\xdk_java_902b\xdk\admin
    COMPUTERNAME=GEOWEB
    ComSpec=C:\WINNT\system32\cmd.exe
    DiskeeperIcon=C:\Program Files\Executive Software\DiskeeperServer\
    HOMEDRIVE=C:
    HOMEPATH=\
    INCLUDE=E:\Program Files\Mts\Include
    JAVA_HOME=e:\jdk1.3.1_02
    LIB=E:\Program Files\Mts\Lib
    LOGONSERVER=\\GEO3
    NUMBER_OF_PROCESSORS=4
    OS=Windows_NT
    Os2LibPath=C:\WINNT\system32\os2\dll;
    Path=E:\jdk1.3.1_02\bin;E:\Perl\bin\;E:\Oracle8i\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\PROGRA~1\IBM\UMS\DMI\bin;C:\Program Files\IBM\UMS;C:\WINNT\system32;C:\WINNT;E:\Program Files\Mts;C:\WINNT\System32\WBEM;C:\PROGRA~1\IBM\UMS\Director\Bin;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 1, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0a01
    PROMPT=$P$G
    SystemDrive=C:
    SystemRoot=C:\WINNT
    TEMP=C:\TEMP
    TMP=C:\TEMP
    TOMCAT_HOME=e:\Tomcat3.2.3
    UMS_DRIVE=C:
    UMS_HOME=C:\Program Files\IBM\UMS
    USERDOMAIN=GEO
    USERNAME=GEONETADMIN
    USERPROFILE=C:\WINNT\Profiles\geonetadmin
    WIN32DMIPATH=C:\PROGRA~1\IBM\UMS\DMI
    windir=C:\WINNT
    </ nt_system_variables >
    Anyone have any Ideas ?

    I should have included my wrappers.properties in the original part of the thread. Here it is with the working corrections.
    Once I added : wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
    to my wrappers.properties file the XML-003 error went away, i.e. its working ... I can see the XSQLCOnfig.xml file now. I don't think this is the nornal way this should be fixed but literally nothing else I did worked. I tried things like adding a system variable XML_CONF=%XML_HOME%\lib and modified my CLASSPATH to simply poiint to the %TOMCAT_HOME%\lib ( where my XSQLConfig.xml file is located). those did not get this woring ... only by adding the "wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
    " to my wrappers.properties file did it work.
    I hope this helps people, but I do believe this is very non-standard (this isn't the way this is supposed to be working). Everything I've read by Oracle OTN, Steve M. etc. and the boards here suggest this isn't supposed to be this hard. But it was for me.
    now I'm dealing with a XML-007 error, but thats very solvable, theres plenty of documentation on why your JDBC connection is failing, worse comes to worse I'll re-install the JDBC-Oracle 8i client software.
    E#
    # $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v 1.2.2.1 2000/10/16 01:59:22 larryi Exp $
    # $Revision: 1.2.2.1 $
    # $Date: 2000/10/16 01:59:22 $
    # jk_service.properties - a bootstrup file for the Tomcat NT service.
    # This file provides jk_nt_service with the needed information to
    # start tomcat at a different process.
    # As a general note, the characters $( and ) are used internally to define
    # macros. Do not use them!!!
    # Whenever you see a set of lines such as:
    # x=value
    # y=$(x)\something
    # the final value for y will be value\something
    # Normaly all you will need to modify is the first two properties, i.e.
    # wrapper.tomcat_home and wrapper.java_home. Most of the configuration
    # is derived from these two.
    # wrapper.tomcat_home should point to the location where you
    # installed tomcat. This is where you have your conf, webapps and lib
    # directories.
    wrapper.tomcat_home=E:\Tomcat3.2.3
    # wrapper.java_home should point to your Java installation. Normally
    # you should have a bin and lib directories beneath it.
    wrapper.java_home=E:\jdk1.3.1_02
    #------ ADVANCED MODE ------------------------------------------------
    # Make sure that you read the how-to before making too many changes.
    # Defining where the service is going to put the standard
    # output of Tomcat. This is where System.out.println and
    # System.err.println goes to.
    wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
    wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr
    # Additions to the path. put here directories where you store DLLs for
    # native methods etc.
    wrapper.ld_path=e:\
    wrapper.ld_path=c:\
    # Defining the classpath. All the rows that belongs to the class_path
    # property are concatenated to create the classpath for Tomcat.
    # If you have additional locations that you would like to add to the
    # claspath you should add a new wrapper.class_path=<location> line.
    wrapper.class_path=$(wrapper.tomcat_home)\classes
    wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
    # Here we add the classes required for the xsql servlet and any
    # other apps.
    wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
    wrapper.class_path=E:\xdk_java_902b\lib\classes12.jar
    wrapper.class_path=E:\xdk_java_902b\lib\classgen.jar
    wrapper.class_path=E:\xdk_java_902b\lib\oraclexsql.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xmlmesg.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xmlparserv2.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xschema.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xsqlserializers.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xsu12.jar
    wrapper.class_path=E:\xdk_java_902b\xdk\admin
    # This is where Javac is located in JDK1.3.x
    wrapper.class_path=$(wrapper.java_home)\lib\tools.jar
    # and a tribute to JDK1.1.x
    # wrapper.class_path=$(wrapper.java_home)\lib\classes.zip
    # This is the Java interpreter used for running Tomcat
    wrapper.javabin=$(wrapper.java_home)\bin\java.exe
    # This is Tomcat's startup class (the class that contains Tomcat's
    # starting point.
    wrapper.startup_class=org.apache.tomcat.startup.Tomcat
    # This is the location where tomcat's server.xml configuration file
    # is located.
    wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml
    # The NT service uses AJP12/AJP13 to shutdown Tomcat. The
    # wrapper.shutdown_port tells the service the identity of the port that
    # is used by AJP12/AJP13.
    wrapper.shutdown_port=8007
    # Can either be ajp12 or ajp13 depending on your configuration.
    # Default value is ajp12
    wrapper.shutdown_protocol=ajp12
    # This is the command line that is used to start Tomcat. You can add extra
    # parameters to it but you can not remove anything.
    wrapper.cmd_line=$(wrapper.javabin) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) -home $(wrapper.tomcat_home)

  • Dll on Tomcat 6 got UnsatisfiedLinkError ... Can't find dependent libraries

    I created a dll file and it ran with no errors on the command line. But when i deployed it together with the java class file over to Tomcat 6.0\lib and ran it with a web application, Tomcat's log file reported:
    Exception in thread "Thread-12" java.lang.UnsatisfiedLinkError: C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\Binless.dll: Can't find dependent libraries
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(Unknown Source)
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at jni.server.Binless.<clinit>(Unknown Source)
         at org.brainml.analysisserver.queue.ProcessItemThread.run(ProcessItemThread.java:57)
    Here is what I did:
    Step 1: Compile and manifest
    "%MSVCDir%\bin\cl.exe" /I"%JAVA_HOME%\include" /I"%JAVA_HOME%\include\win32" /MD /LD /FeBinless.dll ../info/binless/jni_binless.c ../jni_shared/jni_gen_c.c ../jni_entropy/jni_entropy_c.c ../../entropy/entropy_nsb_c.cpp /link libxml2.lib libgsl.a libgslcblas.a >> binless-out.txt
    mt.exe -manifest Binless.dll.manifest -outputresource:Binless.dll;2
    The operating system is Windows XP and has the following environment variables:
    PATH=%JAVA_HOME%\bin;%LIBXMLDir%\bin;%ICONVDir%\bin;%GNUWINDir%\bin;%WINSDKDir%\bin;%MSVCDir%\bin;%MSVCDir%\..\Common7\IDE;%ZLIBDir%\bin;%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem
    INCLUDE=%WINSDKDir%\include;%GNUWINDir%\include;%MSVCDir%\include;%MSVCDir%\PlatformSDK\include;%JAVA_HOME%\include;%JAVA_HOME%\include\win32;%LIBXMLDir%\include;%ICONVDir%\include;%ZLIBDir%\include
    LIB=%WINSDKDir%\lib;%GNUWINDir%\lib;%MSVCDir%\lib;%MSVCDir%\PlatformSDK\lib;%LIBXMLDir%\lib;%ICONVDir%\lib;%ZLIBDir%\lib
    where:
    GNUWINDir=c:\project\lib\GnuWin32
    ZLIBDir=c:\project\lib\zlib
    ICONVDir=c:\project\lib\iconv
    LIBXMLDir=c:\project\lib\libxml2
    WINSDKDir=C:\Program Files\Microsoft SDKs\Windows\v6.0A
    MSVCDir=C:\Program Files\Microsoft Visual Studio 9.0\VC
    Step 2: Compile the Java jni code
    javac -d ..\classes ..\server\Binless.java
    Step 3: Ran the code
    java -classpath ..\classes jni.test.test_binless
    Successful with no errors.
    Step 4: Copied Binless.dll and Binless.class in a jar file (Binless.dll NOT in the jar file) to Tomcat 6.0\lib, and then ran a web application that called the Binless class.
    Got UnsatisfiedLinkError (see above) in Tomcat's log file.
    Am I missing something? Any help is greatly appreciated. Thank you.

    Problem:- Hi i was trying to gererate a dll through make file using CL command using visual studio 2005 on windows 2008 (64 bit) machine. Although i was able to generate DLL file but while using this DLL file by JNI it was throwing can't find dependent libraries.
    1. I used Dependency walker to check for dependent dll's(error on msvcr80.dll and etc).
    2. On visual studio 2005 there are certain things: Visit link http://msdn.microsoft.com/en-us/library/ms235342(v=vs.80).aspx
    Solution:- I have added mt.exe -manifest ../../generated/MyLibrary.dll.manifest - outputresource:"../../generated/MyLibrary.dll;2" just after CL command ends. it runs successfully....
    cheers
    Abi...

Maybe you are looking for

  • XSLT-Mapping for Genesys in combination with IC Webclient

    Hi, Im not sure if this is the correct area of the SDN but I dont know better I have the following problem: In the Account Identification Profile I can define an ApplicationID and an XSLT-File to transform my SOAP-request accordingly to search a Busi

  • Upgrade from Trial

    Hi, I'm thinking of installing the Windows 8.1 Enterprise 90 Day Trial on my laptop. After the evaluation period has passed, will I have the option to upgrade to a full license, and at what cost? Can I upgrade from the Enterprise Trial to another edi

  • Can I alter the row height in Discoverer Plus?

    I know how to alter font size, but don't get a benefit without altering row height.

  • FAQ: Can I install the Photoshop CS6 beta if I have the Lightroom 4 beta installed?

    Yes, both Photoshop CS6 beta and the Lightroom 4 beta can be installed and used together on the same system. However, the Lightroom 4 beta expires on 3/31/2012. If you want to try the Photoshop CS6 bta and Lightroom 4 together, download the 30-day tr

  • How to use the access groups with the E61

    I have configured a access group in the E61 to connect to the internet. But how do I tell the E61 to use this access-group instead of a access-point???