TOMCAT & Java 1.5.0

I am developing a new JSP web application. I am using TOMCAT and jdk 1.5.0.
org.w3c.dom has a interface called Node that that has a new function called setTextContent which was not in jdk 1.4.2. So when I try calling this method from my jsp page, i get
An error occurred at line: 35 in the jsp file: /MsgGen/attributes.jsp
Generated servlet error:
C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\MsgGen\attributes_jsp.java:119: cannot find symbol
symbol : method setTextContent(java.lang.String)
location: interface org.w3c.dom.Node
          n.setTextContent("bold");
I wrote a java program to see if I can compile it there and I sure can. should the TOMCAT not be using this jdk?? Please advice
Thanks
Vidya

It seems to me like it is using the wrong JDK. You do have an old version installed, right? Does your system's PATH environmental variable point to the 1.4 version? I try to keep java (and all things tomcat needs to reference) out of paths with spaces in them (so no C:\Program Files\Java\...) because Tomcat tends to have some problems associated with them (so I have read... never saw them myself 'cause I always avoided these issues...)
It is my understanding that Tomcat will use the java compiler that JAVA_HOME points to. I could imagine that, if there are problems, it would end up using the one pointed to in the PATH. So take a good look through your environmental variables and try to remove any references to older JDKs.

Similar Messages

  • Embedded Tomcat Java Application

    Hi
    I am using an Embedded Tomcat Java Application.
    I am getting the following Exception when i run the program.
    java.lang.NullPointerException
         at org.apache.catalina.startup.DigesterFactory.register(DigesterFactory.java:174)
         at org.apache.catalina.startup.DigesterFactory.registerLocalSchema(DigesterFactory.java:130)
         at org.apache.catalina.startup.DigesterFactory.newDigester(DigesterFactory.java:92)
         at org.apache.catalina.startup.ContextConfig.createWebXmlDigester(ContextConfig.java:435)
         at org.apache.catalina.startup.ContextConfig.createWebDigester(ContextConfig.java:422)
         at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:499)
         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:623)
         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.startup.Embedded.start(Embedded.java:846)
         at EmbeddedTomcat.startTomcat(EmbeddedTomcat.java:77)
         at EmbeddedTomcat.main(EmbeddedTomcat.java:135)
    could anyone tell me how to solve this problem
    Thanx & Regards
    Faisal

    Hi
    R u able to resolve the problems.... If yes please provide me the info... I'm also facing the same problem...
    REgards
    siddhu

  • How to display tomcat java exception?

    Hello,
    On my servlets is throwing an exception in the Tomcat Java window. The exception is not display in the browser, and I cannot find it in the tomcat logs folder.
    With the tomcat java window being quiet small, I cannot see all the exception. Is there method I could use to see all the exception?
    Thanks

    You turn the Java Console on in the Java Control Panel applet (Start Menu -> Control Panel -> Java -> Advanced tab -> Java Console).
    Craig...

  • Help with error (apache tomcat + java )

    hi all ! Im having an issue with my program.
    Im using jasper report to generate some reports from the program... everything seems to work except for this (making the program unstable at some point). When the report is generated and loaded as a pdf I get this error in the log.
    java.lang.IllegalStateException
    at org.apache.coyote.Response.reset(Response.java:296)
    at org.apache.catalina.connector.Response.reset(Response.java:642)
    at org.apache.catalina.connector.Response.reset(Response.java:908)
    at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:355)
    at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:211)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:736)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:619)
    The code Im using to generate the pdf is this one.
    File file = new File("C:\\Reportes\\", reporte +""+ datNac +".pdf");
    String contentType = getServletContext().getMimeType(reporte+ "" +datNac+ ".pdf");
    System.out.println("antes BufferedOutputStream");
    BufferedOutputStream output = null;
    output = new BufferedOutputStream(response.getOutputStream());
    BufferedInputStream inputFile = null;
    inputFile = new BufferedInputStream(new FileInputStream(file));
    response.reset();
    response.setContentType(contentType);
    response.setContentLength((int) file.length());
    response.setHeader("Content-disposition",
    "attachment; filename=\"" +file.getName()+ "\"");
    System.out.println("BufferedOutputStream");
    byte[] buffer = new byte[10240];
    for (int length; (length = inputFile.read(buffer)) != -1;) {
    output.write(buffer, 0, length);
    inputFile.close();
    output.close();Any help is appreciated.
    Thanks!
    Edited by: juanmanuelsanchez on Aug 4, 2009 11:17 AM
    Edited by: juanmanuelsanchez on Aug 4, 2009 11:18 AM
    Edited by: juanmanuelsanchez on Aug 4, 2009 11:19 AM

    juanmanuelsanchez wrote:
    java.lang.IllegalStateException
    at org.apache.coyote.Response.reset(Response.java:296)The response is already committed and thus cannot be reset anymore.
    output = new BufferedOutputStream(response.getOutputStream());
    response.reset();At least you should obtain the outputstream AFTER the reset. If that doesn't fix, then check everything in the chain before this code.

  • Wierd performance in tomcat/java: help consult

    hello
    after to test my project in tomcat 5.5.23 and jdk 5 update 12
    in network(intranet-only until now with 2 clients) i see that this is fast, after of a some time i can see a wonderful exception
    related with java heap exception thrown by the tomcat
    after to search in google, i found the solution for windows
    (server works with windows XP SP2) related to give some values
    for memory ram values to the tomcat5w.exe
    http://computerlabsolutions.com/supp...hp#performance
    i only did the second step
    according to this
    >
    Click on the Java tab, and enter 128 in the Initial Memory Pool, and 350 or 400 in the Maximum Memory Pool.Leave the other field blank.
    so my values are
    128 in the Initial Memory Pool
    400mb Maximum Memory Pool
    the point is that the server is a intel dual core with 3ghz for each , and has DDR2 512 MB of ram
    ok, its works, the point is that after to restart the server, the system is fast again,
    but then again after of some time the performance go to very slow
    if i do ctrl+ alt+ del to see the performance of the pc related with the ram
    i taked a picture when start the wierd performance
    my ram go to 645MB and swap 46200KB
    i thought if i stop to use the system/application(5 minutes),
    i can give the chance to the java or tomcat to get and free
    some resources
    well not the ram go to 640MB and swap to 45276KB
    of course if i shutdown my tomcat
    i have now these values
    RAM 319MB and swap 44564KB
    is normal this?,
    i dont think so
    some important suggestion/advice by our members??
    BTW: i am using pool connections related with the db area
    thanks so much for advanced

    I suspect you are paging. You've allowed the Java object heap to grow to 400MB, but you need physical memory for other things (the executable, thread stacks, the operating system, etc.) I think what you are seeing is that performance is good until you start to page the Java virtual machine, at which point performance probably hits a wall. And having things slow down can cause queues to back up, retransmissions to happen, etc, increasing your memory load and making things worse.
    Either buy more memory, or try tuning that 400MB down to a level that your machine can sustain. If you have GC logs, you can tell how much live data you have, which could help you choose an appropriate value for the maximum memory pool.

  • Tomcat Java Servlets, how to log System.out.println() messages

    I have recently installed a new (x86) Mac OS Xserve, and am porting some Java application Servlets from an existing older Mac OSX server. All the servlets were working (I am connecting via port 9006). I have carefully used the old JDK 1.4 compiler, edited my server.xml (for port 9006) and web.xml files, etc. The Tomcat example servlets work fine, and all my (other) servlets work fine, with one exception, where I get the typically vague "java.io.IOException: Server returned HTTP response code: 500" message.
    Trouble is, I cannot get the Java System.out.prinln statements to go to the Tomcat/logs/ log files (they are all there and updating with Tomcat HttpServlet messages), in order to properly debug.
    Is there a server.xml value somewhere I can make the change?
    On another minor (possibly related) point, does anyone know what the path info ='null' means in the Tomcat access log? e.g.,
    StandardContext[/my_servlets]: Mapped to servlet 'myServlet' with servlet path '/myServlet' and path info 'null'
    It is the only other suspicious message I get in all the logs.
    One other point: my java application that fails uses threads. All the individual classes that use the threads work when run interactively, but as soon as I call them from final Serlet class that extends HttpServlet, I get a null pointer exception. Is there something unique about the Tomcat 4.1 threading that could be causing it?
    I want to avoid upgrading to Tomcat 5 at this point, if I can avoid it. My applications are modest in scope, and the last time I upgraded to Tomcat 5, it took me days to get it working properly, and I lost all access to it from the Server Admin application.

    I have found a solution: Via the Tomcat Admin web page I set the Context field "Swallow Output" to "true".

  • Tomcat: java.lang.NoClassDefFoundError: oracle/sql/NUMBER

    hi,
    i have managed to come this far with my "simple" webapplication under tomcat.
    the exception is:
    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

    Hi yves,
    This class is in the jdev_home/jdbc.lib/ojdbc14.jar.
    But prior to deploying your ADF application, did you install the ADF runtime libraries to Tomact as explained here?:
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3?topic=j2ee_ptomcatdeploy_html
    Thanks
    Prasanth

  • Catching jsp/tomcat/java SQL error

    I have been trying to get the sample code to work from an old book. I was finally able to get it to run under tomcat 4.1.31 but there is one bug I just cannot figure out how to handle. I am a beginner to Java/JSP/Tomcat and have about 16+ hours invested in this problem so far.
    The delFruit.jsp calls methods from FruitConnect.java.
    I found that if the fruit chosen for deletion was not involved in a referential integrity link to a FruitMonth file the code works fine. But if it is linked the delFruit.jsp just displays a blank screen and nothing is deleted. It is fine for it not to be deleted but I cannot find anyway to handle it. I tried to add the checkFruitForSale bandaid below but it causes me a blank screen as well.
    Any help would be appreciated.
    It would be great if I could just see what is happening when FruitConnect is processing code. I get no errors, just a blank screen. I'm going to try using NetBeans and their debugger next.
    Here is delFruit:
    <%@ page import="java.sql.*" %>
    <jsp:include page="adminHeader.html" flush="true" />
    <jsp:useBean id="fruitConnect" class="fruit1.FruitConnect" />
    <%
    String msg = "The following fruits have been deleted:<br> ";
    //Build the list of fruits to delete
    String delFruit[] = request.getParameterValues("delFruit");
    //WE WILL ONLY GET CHECKBOXES THAT WERE CHECKED
       String fruitList = "";
       if (delFruit != null){
         int len = delFruit.length;
         fruitConnect.dbConnect();
         for (int i = 0; i < len; i++) {
              String passfruit = delFruit;
              if (fruitConnect.checkFruitForSale(passfruit)) {}
              else{
              fruitList = fruitList + "'" + delFruit[i] + "',";
              msg = msg + delFruit[i] + "<br>";
              out.print(msg);
              out.print(msg);
         fruitList = fruitList + "'nonsense'";
         if (fruitConnect.deleteFruit(fruitList) < 1) {
              msg = "There was an error deleting the fruits from the database.";
         else{
         msg = "Deletion was successful";
         fruitConnect.dbDisconnect();
    else {
         msg = "You must select some fruit to delete.";
    %>
    HERE IS FruitConnect.java
    package fruit1;
    import java.sql.*;
    public class FruitConnect {
       private Driver drv = null;
       private Connection conn = null;
       private ResultSet rs = null;
       private Statement stmt = null;
       public FruitConnect(){}
       public void dbConnect() throws Exception{
    //      drv = (Driver) Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    //      conn = DriverManager.getConnection("jdbc:odbc:Fruit");
    try{
          drv = (Driver) Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
          conn = DriverManager.getConnection("jdbc:odbc:Fruit");
    catch ( SQLException sqlException)
    sqlException.printStackTrace();
    finally
    try{
    catch (Exception exception)
       public boolean getNextItem() throws Exception{
          boolean ret = rs.next();
          return(ret);
       public String getItemNameString(String columnName) throws Exception{
          String name = rs.getString(columnName);
          return(name);
       public float getItemNameFloat(String columnName) throws Exception{
          float name = rs.getFloat(columnName);
          return(name);
       public boolean selectFruits() throws Exception{
          String query = "SELECT Id, Name FROM Fruit";
          stmt = conn.createStatement();
          rs = stmt.executeQuery(query);
          boolean ret = false;
          if (rs != null)
             ret = true;
          return(ret);
       public boolean selectMonths() throws Exception{
          String query = "SELECT Id, Name FROM Month";
          stmt = conn.createStatement();
          rs = stmt.executeQuery(query);
          boolean ret = false;
          if (rs != null)
             ret = true;
          return(ret);
       public boolean selectFruitForSale() throws Exception{
          String query = "SELECT F.Name AS Fruit, M.Name AS Month, Price, Weight, (Price * Weight) AS TotalPrice FROM FruitMonth AS FM, Fruit AS F, Month AS M WHERE FM.FruitId = F.Id AND FM.MonthId = M.Id ORDER BY M.Id";
          stmt = conn.createStatement();
          rs = stmt.executeQuery(query);
          boolean ret = false;
          if (rs != null)
             ret = true;
          return(ret);
       public int insertFruit(String name) throws Exception{
          String query = "INSERT INTO Fruit (Name) VALUES ('" + name + "')";
          stmt = conn.createStatement();
          int ret = stmt.executeUpdate(query);
          return(ret);
       public int insertFruitForSale(String insertValues) throws Exception{
          String query = "INSERT INTO FruitMonth (FruitId, MonthId, Price, Weight) VALUES (" + insertValues + ")";
          stmt = conn.createStatement();
          int ret = stmt.executeUpdate(query);
          return(ret);     
       public int deleteFruit(String fruitList) throws Exception{
          String query = "DELETE FROM Fruit WHERE Name IN (" + fruitList + ")";
          stmt = conn.createStatement();
          int ret = stmt.executeUpdate(query);
          return(ret);
       public void dbDisconnect() throws Exception{
          stmt.close();
          conn.close();
       public boolean checkFruitForSale(String thisfruit) throws Exception{
          String query = "SELECT F.Name AS Fruit, M.Name AS Month, Price, Weight, (Price * Weight) AS TotalPrice FROM FruitMonth AS FM, Fruit AS F, Month AS M WHERE FM.FruitId = F.Id AND FM.MonthId = M.Id AND F.Name IN (" + thisfruit + ") ORDER BY M.Id";
    try{
          stmt = conn.createStatement();
          rs = stmt.executeQuery(query);
    catch ( SQLException sqlException)
    sqlException.printStackTrace();
          boolean ret = false;
          if (rs != null)
             ret = true;
          return(ret);
    finally
    try{
    catch (Exception exception)
          boolean ret = false;
          if (rs != null)
             ret = true;
          return(ret);
       public String Check1(String columnName) throws Exception{
          String name = rs.getString(columnName);
          return(name);

    First thing to check would be the Tomcat log file. Most likely there is an error message printed there:
    Look in [TOMCAT]/logs for any files modified recently. Open it, and you should find some hints as to your error.
    It would be great if I could just see what is happening when
    FruitConnect is processing code.For that sort of thing, you want to use a logger. Either Log4J or the standard Java1.4 logger would help. Basically configure it to log statements to file as your program runs.
    I get no errors, just a blank screenThat could indicate that the page ran enough to fill up the page buffer, and then failed. When you view source, do you see anything on the page at all?

  • Xalan + Solaris + Tomcat + java extensions

    I have a stylesheet that calls Java code in my web application
    uses namespace:
    xmlns:java="http://xml.apache.org/xalan/java"
    calls a class called MapReader:
    <xsl:variable name="reader" select="java:org.blueprint.bind.bbs.ontoglyphs.MapReader.new()"/>
    <xsl:variable name="map" select="java:readMapFile($reader,number(./Molecule-A/gi))"/>
    This works fine running on linux + tomcat, when run in our production environment, Solaris, i get the following exception
    javax.servlet.jsp.JspException: javax.xml.transform.TransformerException: java.lang.ClassNotFoundException: java/org/blueprint/bind/bbs/ontoglyphs/MapReader
         at org.apache.taglibs.standard.tag.common.xml.TransformSupport.doEndTag(TransformSupport.java:226)
         at org.apache.jsp.bbs.hybrid.idsearchbody_jsp._jspx_meth_x_transform_0(idsearchbody_jsp.java:3925)
         at org.apache.jsp.bbs.hybrid.idsearchbody_jsp._jspService(idsearchbody_jsp.java:3762)
    this transformation in being run in a JSP with JSTL tags.
    any ideas on why this is happening just on this platform would be very helpful
    thanks
    Marc Dumontier

    Here's what it ended up being
    the solaris machine was running java 1.4.0, once upgraded to 1.4.2, it worked

  • Tomcat/Java Compiler crash

    The following issue is running on a HP/UX 11i V2 Itanium Superdome server.
    We have a vendor application being deployed with Tomcat. The versions of Tomcat and java are:
    Tomcat is 5.0.28 (required by vendor)
    java is 1.4.2.10 (required by vendor)
    Tomcat is randomly crashing with the following:
    SIGSEGV 11* segmentation violation
    si_signo [11]: SIGSEGV 11* segmentation violation
    si_errno [0]: Error 0
    si_code [2]: SEGV_ACCERR [addr: 0xc00]
    Aborting...
    Unexpected Signal : 11 occurred at PC=0xC56EF780
    Function=_ZN7RegMask3ANDERKS_
    Compiler thread crashed while compiling a method!
    Compiled method class=ibi.broker.util.RCDES
    Compiled method name=getStringFromHexString
    Compiled method signature=(Ljava/lang/String;)Ljava/lang/String;
    Library=/opt/java1.4/jre/lib/IA64N/server/libjvm.so
    Current Java thread:
    "CompilerThread0" daemon prio=7 tid=00064c50 nid=9 lwp_id=3017 runnable [0x00000
    000..0x6a4001f8]
    This is a problem with java compiling a method out of a class/jar file, correct? So, I added the following directive in the catalina.sh file for the JAVA_OPTS:
    -XX:CompileCommand= exclude,ibi/broker/util/RCDES,getStringFromHexString
    This should prevent the suspect method from getting compiled. And it does. The catalina.out file has
    ### Excluding compile: ibi.broker.util.RCDES::getStringFromHexString
    which verifies this.
    Well, then vendor thinks this is a problem with either Tomcat or Java.
    So, does anyone think this is really a Tomcat or Java problem or a problem with the vendors method? I was able to find the jar file with the class file that contains this method. Since this is in a class file, is there a way to manually compile this method to see if I can reproduce the problem?

    The JVM should never segfault. Unless you are using JNI it shouldn't be possible to write code that causes this sort of behaviour.
    So when you see a segfault it usually boils down to (in no particular order) one of:
    1. Hardware problem
    2. JNI (mis)use
    3. JVM bug.
    Check with the vendor to see if their app includes any JNI logic. If not, try it on known good hardware. If it still falls over, raise a bug with Sun.

  • Where are Tomcat Java server pages stored in JBuilder 4?

    From what I understand JSP pages should be saved into the ROOT directory of Tomcat.
    I have created a JSP page in Jbuilder 4 but when it saves, it is somewhere entirely different.
    If I right click on the JSP in Jbuilder 4 and select webrun it runs in Jbuilder fine.
    However if I try and run it from IE7 browser with address http://localhost:8080/hello.jsp I get a message saying internet explorer cannot display the page.
    I also did a search on my C drive to find the tomcat ROOT directory but could not find it.
    So what do I need to do in Jbuilder4 to be able to view my developed JSP pages in a browser?
    Thanks,
    Jason.

    Hello,
    I am using version 4 of JBuilder professional.
    I am getting the impression that JBuilder4 does not setup a proper instalation of Tomcat but sets up some temporary directory/link to it when you do a webrun on the JSP.
    Here is the log if it means anything to you:
    C:\JBuilder4\jdk1.3\bin\javaw -classpath "C:\JBuilder4\tomcat\lib\webserver.jar;C:\JBuilder4\tomcat\lib\jasper.jar;C:\JBuilder4\tomcat\lib\xml.jar;C:\JBuilder4\lib\servlet.jar;C:\JBuilder4\lib\webserverglue.jar;C:\OU2007\TM427\EasyBeans\myproject;C:\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\JBuilder4\jdk1.3\jre\lib\i18n.jar;C:\JBuilder4\jdk1.3\jre\lib\jaws.jar;C:\JBuilder4\jdk1.3\jre\lib\rt.jar;C:\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\JBuilder4\jdk1.3\lib\dt.jar;C:\JBuilder4\jdk1.3\lib\tools.jar" org.apache.tomcat.startup.Tomcat -config C:\OU2007\TM427\EasyBeans\conf\server8080.xml
    Starting tomcat. Check logs/tomcat.log for error messages
    Setting home to C:\OU2007\TM427\EasyBeans
    Context log: path="" Adding context path="" docBase="C:\OU2007\TM427\EasyBeans\"
    Starting tomcat install="C:\OU2007\TM427\EasyBeans" home="C:\OU2007\TM427\EasyBeans" classPath="C:\JBuilder4\tomcat\lib\webserver.jar;C:\JBuilder4\tomcat\lib\jasper.jar;C:\JBuilder4\tomcat\lib\xml.jar;C:\JBuilder4\lib\servlet.jar;C:\JBuilder4\lib\webserverglue.jar;C:\OU2007\TM427\EasyBeans\myproject;C:\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\JBuilder4\jdk1.3\jre\lib\i18n.jar;C:\JBuilder4\jdk1.3\jre\lib\jaws.jar;C:\JBuilder4\jdk1.3\jre\lib\rt.jar;C:\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\JBuilder4\jdk1.3\lib\dt.jar;C:\JBuilder4\jdk1.3\lib\tools.jar"
    JSP Servlet Started
    JSP Servlet Started (Echo)
    Context log path="" :tomcat.errorPage: init
    Context log: path="" File not found C:\OU2007\TM427\EasyBeans\WEB-INF\web.xml, using only defaults
    Context log path="" :jsp: init
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007 Scratch dir for the JSP engine is: C:\OU2007\TM427\EasyBeans\work\localhost_8080</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007 IMPORTANT: Do not modify the generated servlets</JASPER_LOG>
    Context log path="" :default: init
    Context log: path="" File not found C:\OU2007\TM427\EasyBeans\conf\tomcat-users.xml
    Starting endpoint port="8080" handler="org.apache.tomcat.service.http.HttpConnectionHandler"
    Starting endpoint port="8081" handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
    HTTP:GET /myproject/mybeans/valuebean.jsp 17-Mar-07 08:06:37
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007 JspEngine --> /myproject/mybeans/valuebean.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007      ServletPath: /myproject/mybeans/valuebean.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007      PathInfo: null</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007      RealPath: C:\OU2007\TM427\EasyBeans\myproject\mybeans\valuebean.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007      RequestURI: /myproject/mybeans/valuebean.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007      QueryString: null</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007      Request Params: </JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007 Classpath according to the init parameter is: </JASPER_LOG>
    HTTP:GET /hello.jsp 17-Mar-07 08:07:15
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007 JspEngine --> /hello.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007      ServletPath: /hello.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007      PathInfo: null</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007      RealPath: C:\OU2007\TM427\EasyBeans\hello.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007      RequestURI: /hello.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007      QueryString: null</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007      Request Params: </JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007 Classpath according to the init parameter is: </JASPER_LOG>

  • Windows 2000 & apache 2 & tomcat & java servlet/jsp

    is anyone sucessfully using the above cofiguration? if so could you provide me details of the versions used, I'm keen to go do down this route but would like to know it's currently possible

    Hello.
    I work with Apache 2.0.43 and Tomcat 4.1.18.

  • How to get tomcat installtion path, java path n documents path in a servlet

    may someone help me get the folder and pathname for tomcat, java path and library path and also the pathname where the jsp documents are stored.
    Thanks in advance
    null

    Have a look at System.getEnv(String) and System.getProperties();
    String tomcatHome = System.getEnv("CATALINA_HOME");
    Properties props = System.getProperties();
              Enumeration<Object> keys =  props.keys();
              while(keys.hasMoreElements())
                   String key = (String) keys.nextElement();
                   String prop = System.getProperty(key);
                   System.out.println(key +" : " + prop);
              }

  • No ocijdbc8 in java.library.path (with Netscape under Tomcat)

    Hello,
    my problem is the following: I must use the OCI-Driver of the Oracle-Client 8.1.7 because I use special PL/SQL-functions.
    I get the error message:
    java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    when I try to start my servlet within netscape. Before this I'm starting the tomcat servlet engine and make the following path known to tomcat:
    java.library.path=/usr/lib:/lib:/share/ams/oracle/ora817-SunOS-5.7/lib:/share/ams/oracle/ora817-SunOS-5.7/jdbc/lib:/share/ams/oracle/ora817-SunOS-5.7/lib64
    In this line are the necessary paths to find the libocijdbc8.so library.
    Why does the servlet still have problems to find the driver? In addition, I set my java.library.path within the servlet itself.
    Do you know where is the crux of the matter?
    Thank you,
    Christian Schmidbauer

    Hello:
    libocijdbc9.so exists in the LD_LIBRARY_PATH. Tried
    linking/copying classes12.zip from $TOMCAT_HOME/common/lib to $TOMCAT_HOME/webapps/APP_NAME/WEB-INF/lib causes the error:
    java.lang.UnsatisfiedLinkError: /usr/apps/oracle/product/9.2.0/lib/libocijdbc9.so: ld.so.1: /usr/j2se/bin/java: fatal: /usr/apps/oracle/product/9.2.0/lib/libocijdbc9.so: wrong ELF class: ELFCLASS64
    when the CATALINA_OPTS has -d32 and
    -Djava.library.path=$ORACLE_HOME/lib(tried giving them as JAVA_OPTS in catalina.sh as well)
    Thanks!

  • No ocijdbc8 in java.library.path (with Servlet under Tomcat)

    Hello,
    my problem is the following: I must use the OCI-Driver of the
    Oracle-Client 8.1.7 because I use special PL/SQL-functions.
    I get the error message:
    java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    when I try to start my servlet within netscape. Before this I'm
    starting the tomcat servlet engine and make the following
    path known to tomcat:
    java.library.path=/usr/lib:/lib:/share/ams/oracle/ora817-SunOS-5.7/lib:/share/ams/oracle/ora817-SunOS-5.7/jdbc/lib:/share/ams/oracle/ora817-SunOS-5.7/lib64
    In this line are the necessary paths to find the libocijdbc8.so
    library.
    Why does the servlet still have problems to find the driver?
    In addition, I set my java.library.path within the servlet itself.
    Do you know where is the crux of the matter?
    Thank you,
    Christian Schmidbauer

    I'm not sure if this will help, but check to make sure your LD_LIBRARY_PATH environment variable is set (before starting Tomcat). I think this tells the Oracle classes where to find the .so files.

Maybe you are looking for

  • T CODE MIRO- Service tax mapping

    I am making an entry through miro . this is a normal invoice entry. where i select expense account. vendor account credit and expense account debit. With this i am selecting a tax code which has service tax the component are as follow service tax   1

  • Change Windows Bootcamp icon in Finder

    Hi all! I knew the procedure under Tiger.. cd /Volumes ls -la than cp ._pendrive ._WindowsXp (for example) and all the rest...my problem is in Leopard...i can't see anything called ._something in /Volumes.. I was doin' this in TIger and it works, som

  • S/Mime

    Hi! Has anybody got experience with handling S/Mime-mails? I' ve implemented a module-bean for XI, which receives S/Mime-mails, has to extract and persist the attachments and verify the signature against the J2EE-Keystore I went through "Digital Sign

  • How to force checking uniqueness in datablock?

    Hi all, How do you force Form 6i to check uniqueness of the records in datablock. I want Form to be able to check uniqueness in datablock AS users type in the data NOT when users commit the data. For example: I want form to be able to fires warning w

  • Evt has no properties

    hello all, I got error when I put JSP file to portal component.  It works in Tomcat. The client side error is, evt has no properties http://localhost:50100/irj/portalapps/com.sap.portal.epcf.loader/script/optimize/js13_epcf.js?6.45000702   Line 1418