Memory Error with Tomcat 4.1

I have a Tomcat 4.1 installation on a Linux 7.2 box. Tomcat uses
mod_jk with Apache. We are currently in a development phase and change alot of jsp's on a daily basis. Eventually it seems that Tomcat runs out of memory for the compilations and gives the following message:
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
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError
After Tomcat is restarted everything appears to to be okay for a time. Eventually this problem will come back. The problem appears to be only when jsp files are changed. Running jsp's ( which were previously compiled and have been unchanged) run just fine.
In the /var/tomcat4/conf/tomcat4.conf file I have the following command
uncommented:
JAVACMD="$JAVA_HOME/bin/java -Xms6m -Xmx100m"
I am running java 1.4.1 on the Linux box.

I was looking at the Jakarta web site and under the Tomcat4.1 documentation it gives a description of what is new in 4.1. It states:
Rewritten Jasper JSP page compiler
Performance and memory efficiency improvements
Among other things. Could they have a memory leak?

Similar Messages

  • PSCS4 Memory Error with Image Processor

    When I use the image processor in PSCS4 to process a large number of raw files using ACR 5.1 (Nikon D3 NEFs), I consistently receive an error message after about 10-11 files have been processed that the instruction at 0x696336ab tried to read memory at 0x6C (or thereabouts) and the memory could not be read. I am saving as JPEGs with the color space set to sRGB.
    I de-installed and reinstalled PSCS4, but the error persists. The image processor worked fine with PSCS3. A workaround that solves the problem is to process the files as a batch using a simple action to accomplish the task.
    I am running Windows XP Pro Service Pack 3 with a dual Xeon processor and 2G of error correcting memory.

    Hmm.. I was getting a similar error with CS3 and was very happy to find that it appeared to be cured in CS4. The CS3 issue would appear if I tried to process more then 100 NEFs. My workaround was to do them in smaller batches (60-75). Perhaps you might try reducing the memory alotted to PS or run it without any other apps running?
    Russell

  • Memory Errors with NX4 and Adobe 3D

    After installing the Adobe 3d trial version,I've had nothing but problems with NX4.Out of memory errors when there is plenty available.REinstalled NX4,same problems.Uninstalled adobe 3D,and the problem went away.We would like to purchase this,but not until this particular problem is solved.
    Win Xp SP2
    2 GB Ram
    Dell Precision 370
    Pentium 4
    NX 4.0.0.25

    are you working on big 3d models in nx4 ?(to check that, please do a right click on the windows task bar and open the task manager and check the memory used by nx4 with your 3d models loaded)- did the problem also occured with small models ?
    if you memory footprint approaches the 2gb barrier, then 3d capture might be the cause ot your memory problems, to get rid of it, just open acrobat3d and go in the menu edit/preferences/3d capture and delete nx4 from your list of capturable applications.

  • Out of memory Error with jdk 1.6

    Hello,
    I have a swing application launched on the client with the help of Java web start. The applications works fine in jre 1.4 and jre 1.5. The heap sizes are :
    initial-heap-size="5m" max-heap-size="24m"
    But when I run this using jre 1.6.0_05-b13, I am getting Out of memory Error, java heap size. And I see the memory usage is growing rapidly which I didn't notice in other jre versions (1.4 and 1.5).
    Does anyone have any idea on this?
    Thanks in advance,
    MR.

    Thanks for your response Peter. During my continuous testing I identified that error happens on jdk 1.5 also. And I have increased the min-heap-size to 24 MB and max-heap-size to 64 MB. But in that case also I noticed the out of memory error. The interesting thing is, the min-heap-size is never increased from 24MB and lot of free memory also.
    Memory: 24,448K Free: 12,714K (52%) ... completed.
    The Outofmemoryerror triggers from the reader thread which does the job of reading the data from the InputStream. One thing is we are continuously pushing more data on the output stream from the other end. Is that any limitation on InputStream which can hold some definite amount of data.
    Please throw some light on this.

  • There is not enough memory error with 8gb installed

    Description:
    I'm getting an error when trying to copy or cut a collection of basic shapes in CS6 on Mac OS X 10.8.
    It reads:
    There is not enough memory to complete the operation.
    To increase available memory, close other open documents or applications.
    But when i check activity monitor there is plenty of memory available. I can succesfully copy a smal(ler) amount of shapes.
    Steps already taken:
    Tried copying after a system restart with no other programs running.
    Tried adding more memory (i had 4gb originally, I just upgraded to 8gb).
    I reinstalled Flash
    I tried the same procedure (copying the same amount of shapes) on another machine with a similar amount of RAM and this works fine.
    Is there a way you can allocate more memory to flash, or is this some setting that i'm missing?
    Any help would be greatly appreciated!
    P.s. I read this thread http://forums.adobe.com/message/3609214#3609214, and my problem is only different in that i don't have some huge files i'm dealing with. The .fla is only ~10mb.

    Thanks for chiming in Mataxia.
    One thing you can try is selecting the layers that have the shapes you want to copy. Then right click and choose copy layers. In my case this works even though selecting just the shapes (instead of the layers) will cause the memory error.
    I'm using this as a workaround, but i can imagine that this isn't of any help in all cases.
    This confirms my suspicions that this is a bug in flash. Would be great if someone from Adobe were reading this...

  • Out of memory error with 80Kb file?

    Hi, my pc has 2Gb of Ram, a page file that is setup correctly
    and the physical ram is almost non-used (500Mb)
    When I start DW and load a php file of 80Kb approx., it just
    hangs/locks up. When I wait for it, it gives me an "out of memory"
    error, and when you look in windows task manager, it just keeps
    hogging up ram.
    My laptop is a "simple", 1Gb Hp pavillion, and when I open
    the file there, it just works like it's supposed to, using about
    70Mb of ram, instead of the gigabyte(s) it does on my developer
    machine....
    Adjusting virtual memory has absolutely no effect.. It seems,
    after some reading, that people using 2gb of ram, have the most
    problems in this area?
    Adobe, please help here !
    EDIT: i just tested another file, 136Kb large, that loads
    normal!, so it has to do with the files in specific... If you want
    to test the files, just download "Simplemachines Forum" and load
    the "load.php" or the "post.php" files from the source directory,
    to trigger the lockup...

    mmm... just tried using a "workaround" if you still can call
    it that
    Installed a virtual machine (xp) with less than 2gigs, and it
    works... I really hope someone else has got these kind of errors
    yet.... 2500$ + software, wich I can't use for now... Using
    notepad2 for time being...

  • HTTP2302 error  with tomcat and linux environment

    We are using Sun Java(TM) System Web Server 7.0 with Tomcat 6.0.14 in Linux environment. We are frequently facing "Service Unavailable error" in the frontend . while verifying the logs we found the details as below :
    could you guinde what could be issue here ?
    In Webserver log the following error thrown many times
    func_exec reports: HTTP2302: Function jk_service aborted the request without setting the status code
    We are using the tomcat connector nsapi_redirector-1.2.26-sjsws6.1sp11.so in our environment
    nsapi.log
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [debug] jk_open_socket::jk_connect.c (448): socket TCP_NODELAY set to On
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [debug] jk_open_socket::jk_connect.c (548): trying to connect socket 30 to 160.254.92.190:8051
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [info] jk_open_socket::jk_connect.c (566): connect to 160.254.92.190:8051 failed (errno=111)
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [info] ajp_connect_to_endpoint::jk_ajp_common.c (869): Failed opening socket to (160.254.92.190:8051) (errno=111)
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [error] ajp_send_request::jk_ajp_common.c (1359): (ajp13) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111)
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [info] ajp_service::jk_ajp_common.c (2186): (ajp13) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [error] ajp_service::jk_ajp_common.c (2204): (ajp13) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [error] jk_service::jk_nsapi_plugin.c (398): service() failed with http error 503
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [debug] ajp_reset_endpoint::jk_ajp_common.c (691): (ajp13) resetting endpoint with sd = 4294967295 (socket shutdown)
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [debug] ajp_done::jk_ajp_common.c (2522): recycling connection pool slot=0 for worker ajp13
    h1. Obj.conf
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    <If $uri =~ '^/$'>
    NameTrans fn="redirect" from="/" url="http://wikitest.pershing.com/confluence/" code="301"
    </If>
    NameTrans fn="assign-name" from="/confluence/*" name="servlet"
    PathCheck fn="uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    AddLog fn="flex-log"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi"
    </Object>
    <Object name="send-precompressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>
    <Object name="servlet">
    ObjectType fn="force-type" type="text/html"
    Service fn="jk_service" worker="ajp13"
    </Object>

    Hi, The reason tomcat had to be used is that the software is bundled with tomcat. Hence we are in the following configuration:
    -Sun Web Server 7.0 update 5
    -Tomcat 6, Using JRE1.6
    -The server runs Linux.
    -As for the tomcat web server plugin, the 32-bit tomcat connector is downloaded from http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/solaris/jk-1.2.26/sparc/
    With this configuration. seems when we refresh a page quickly, we get "service unavailable error". But if we only put web contents, the issue does not exist. Looks like the issue resides in the plugin....
    Any help is greatly appreciated

  • Java heap out of memory error with -Xms1g -Xmx4g 64 bit VM

    We are getting Java Heap memory error for the application we are running on linux 64 bit machine (VM).
    The OOM came when heap usage was 1.7gb though we have specified min as 1gb and max as 4gb. If I understand correctly then it should not have been thrown as we have specified max as 4gb. If address space was the problem then it should have thrown swap space error.
    Also, there were no other processes running on this node.
    Below are the specifics of linux node we are using:
    linux kernel: 2.6.18-128.el5
    Linux Version: Red Hat Enterprise Linux Server release 5.3 (Tikanga) 64 Bit
    Ulimts
    [ppoker@aquariusvir11 ~]$ ulimit -a
    core file size (blocks, -c) unlimited
    data seg size (kbytes, -d) unlimited
    scheduling priority (-e) 0
    file size (blocks, -f) unlimited
    pending signals (-i) 139264
    max locked memory (kbytes, -l) unlimited
    max memory size (kbytes, -m) unlimited
    open files (-n) 100000
    pipe size (512 bytes, -p) 8
    POSIX message queues (bytes, -q) 819200
    real-time priority (-r) 0
    stack size (kbytes, -s) 10240
    cpu time (seconds, -t) unlimited
    max user processes (-u) 139264
    virtual memory (kbytes, -v) unlimited
    file locks (-x) unlimited
    Java Version
    [ppoker@aquariusvir11 ~]$ java -version
    java version "1.6.0_21"
    Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
    Kernel Semaophores
    [ppoker@aquariusvir11 ~]$ ipcs -l
    ------ Shared Memory Limits --------
    max number of segments = 4096
    max seg size (kbytes) = 67108864
    max total shared memory (kbytes) = 17179869184
    min seg size (bytes) = 1
    ------ Semaphore Limits --------
    max number of arrays = 128
    max semaphores per array = 250
    max semaphores system wide = 32000
    max ops per semop call = 32
    semaphore max value = 32767
    ------ Messages: Limits --------
    max queues system wide = 16
    max size of message (bytes) = 65536
    default max size of queue (bytes) = 65536
    Please suggest what could be the reason for this error.
    Thanks,
    Ashish

    javaguy4u wrote:
    the OOM error ... wasn't coming when we had set min and max both as 4 GB.You deviously withheld that information.
    When the JVM needs to grow the heap it asks the OS for a bigger memory block than the one it has.
    The OS may refuse this and the JVM will throw an OOME.

  • Memory Leakage with Tomcat

    Hi,
    I have created an application that uses a single JSP and makes multiple calls to a database. It does populate a couple of arrays with values and then uses those values to get other values from the database.
    I am noticing through Windows Task Manager that when I initially start Tomcat, the memory goes up to about 36mb. It then continues to grow by about 3mb per user that makes a new connection. It can get up to about 200mb, and then I forced to restart tomcat.
    Im sure this is a memory leak issue. Is there any suggestions as to what I should do to get rid of this??
    My connections are all closed and released, both database and result sets. I am preforming garbage collection.
    I am using sessions, when users log in (dont know whether this has anything to do with it??)
    Anyway, any help is greatly appreciated.
    Cheers

    Thanks for the help guys,
    I run a query for the first time I load the site that loads everything into the session. I then chcek that the user is logged in? If the user is logged in, then it loads a instance of that single session.
    If not, then it just loads the not logged in session page.
    Thanks for that bit of connection architecture ronaldharing.
    My connection class is similar, though I will make some modifications to this with your changes in place, and see how it goes.
    This is my conncection class im using:
    package Vidz;
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class DBConnection {
         public String status;
         public int vendorStatus;
         public Connection conn;
         public Statement stmt;
         public CallableStatement callStmt;
         public PreparedStatement preparedStmt;
         public ResultSet rset;
         public SQLWarning thisWarning;
         public boolean thisConnClosed;
    * Establishes a connection to the database.
    public DBConnection() {
    try {
              Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
              conn = DriverManager.getConnection ( "jdbc:odbc:databaseName","","" );
         thisWarning = conn.getWarnings();
    conn.setAutoCommit(true);
    status = "open";
    } catch (Exception e) {status="DBConnection construction error:"+e.toString();
    * Return java.sql.ResultSet
    public synchronized ResultSet executeQuery(String command) {
    try {
    status=command;
    stmt = conn.createStatement ();
    status+="*";
    rset = stmt.executeQuery(command);
    status+="executeQuery OK: "+command;
    return rset;
    } catch (Exception e) {status=e.toString();return null;}
    * Return int indicator to show whether statement successful.
    public synchronized int executeUpdate(String command) {
    try {
    stmt = conn.createStatement ();
    status="executeUpdate OK: "+command;
    return stmt.executeUpdate(command);
    } catch (Exception e) {status=e.toString();return -1;}
    public void close() throws java.sql.SQLException
    if( conn != null )
    if( ! conn.isClosed() )
    conn.close();
    * On garbage collection, close db connection
    protected void finalize() throws IOException
    try
    if( conn != null )
    if( ! conn.isClosed() )
    conn.close();
    catch (java.sql.SQLException e) {}
    Sridharranganathan : I store the result of the query in the session, along with any images etc. I want each user to load just the one page, to improve optimization.
    Thanks for all your help people!
    Any more suggestions would be much appreciated

  • Java 64-bit Windows 7 - Error with Tomcat Install

    Downloaded and ran jre-6u20-windows-i586-s.exe on a Win host (Dell PowerEdge R610 with 16 Core 2.27 GHz Intel Xeon) running Windows 7 64-bit. The website said if you're running a 64-bit Windows OS then download that file.
    When I run the command "java -version" it says,
    "C:\Users\plozanci>java -version
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)"
    I'm trying to install Apache Tomcat 6.0.26. Getting the error: "[206 javajni.c] [error] %1 is not a valid Win32 application."
    After searching the web, it looks like the Tomcat is looking for a 64-bit JRE but encountering a 32-bit version. I thought that the jre-6u20-windows-i586-s.exe file had the 32-bit & 64-bit versions. If this is true, how do I get Tomcat to use the right version?
    If its false, where is the 64-bit version for Windows 7?

    No. They are separate installers. The 32bit will run on a 64bit OS, but it is not 64bit. If you need the 64bit, you will need to download the 64bit installer.
    You will need: jre-6u20-windows-x64.exe
    Go: http://java.sun.com/javase/downloads/index.jsp
    select: Download JRE
    select: Windows x64
    Happy downloading!
    -Roger

  • Resource not available error with tomcat 5.5.26

    hi
    to all forum members,i am a new member of this forum.
    i have a problem with running my servlet on apache tomcat/5.5.26 in window xp enviorenment.
    when i am running my servlet as typing URL http://localhost:8080/mukesh_test/mks , i am gettig error "
    the requested resource(/mukesh_trst/mks) is not available
    my servlet path is webapps/mukesh_test/WEB-INF/classes/mks.class
    my web.xml is this
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <display-name>Welcome to Tomcat</display-name>
    <description>
    Welcome to Tomcat
    </description>
    <!-- JSPC servlet mappings start -->
    <servlet>
    <servlet-name>org.apache.jsp.index_jsp</servlet-name>
    <servlet-class>org.apache.jsp.index_jsp</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>org.apache.jsp.index_jsp</servlet-name>
    <url-pattern>/index.jsp</url-pattern>
    </servlet-mapping>
    <!-- JSPC servlet mappings end -->
    <servlet>
    <servlet-name>mks</servlet-name>
    <servlet-class>mukesh_test.WEB-INF.classes.mks</servlet-class>
    <init-param>
    <param-name>debug</param-name>
    <param-value>0</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>mks</servlet-name>
    <url-pattern>/mukesh_test/mks</url-pattern>
    </servlet-mapping>
    </web-app>
    plz help me out guys...

    <servlet>
      <servlet-name>mks</servlet-name>
      <servlet-class>mukesh_test.WEB-INF.classes.mks</servlet-class>
    </servlet>
    <servlet-mapping>
      <servlet-name>mks</servlet-name>
      <url-pattern>/mukesh_test/mks</url-pattern>
    </servlet-mapping>1) To avoid confusion, I would not use mks for the <servlet-name>. It's a fake name internal to your web.xml file anyway, so be creative and use something like: Flying Tigers.
    2)
    <servlet>
      <servlet-name>Flying Tigers</servlet-name>
      <servlet-class>mukesh_test.WEB-INF.classes.mks</servlet-class>
    </servlet>
    <servlet-mapping>
      <servlet-name>Flying Tigers</servlet-name>
      <url-pattern>/mukesh_test/mks</url-pattern>
    </servlet-mapping>The stuff between the <servlet-class> tags is wrong. You need to put the "fully qualified class name of your class" between the <servlet-class> tags. For instance, if your file mks.java (why are you using lower case names for classes?) does not have a package statement at the top of the file, then the fully qualified name of your class is: mks. On the other hand, if mks.java has a package statement at the top of the file like this:
    package com.example;
    then the fully qualified name of your class would be: com.example.mks. In addition, if you had that package statement at the top of mks.java, your .class file would need to be placed in the directory: .../mukesh_test/WEB-INF/classes/com/example/.
    3)
    <servlet>
      <servlet-name>Flying Tigers</servlet-name>
      <servlet-class>mks</servlet-class>
    </servlet>
    <servlet-mapping>
      <servlet-name>Flying Tigers</servlet-name>
      <url-pattern>/mukesh_test/mks</url-pattern>
    </servlet-mapping>The url-pattern is also fake. The whole idea is to hide your actual directory structure from hackers, so specifying your real directory structure there means that the url will also appear on your web page. And if the url appears on your web page, anyone can see it by clicking on View/Source in their browser. Use a fake directory and a fake file name instead:
    <servlet>
      <servlet-name>Flying Tigers</servlet-name>
      <servlet-class>mks</servlet-class>
    </servlet>
    <servlet-mapping>
      <servlet-name>Flying Tigers</servlet-name>
      <url-pattern>/Animals.do</url-pattern>
    </servlet-mapping>That means your html page would call the servlet using the url: Animals.do. The extension .do is a common extension given to fake file names.
    4) There's a forum here specifically for servlets called: Java Servlets.

  • Wrong name: error with Tomcat

    hello, I'm running Tomcat on Debian Sarge and I'm getting the following error:
    java.lang.NoClassDefFoundError: com/bluewolf/BlueWolf (wrong name: BlueWolf)
         java.lang.ClassLoader.defineClass1(Native Method)
         java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1629)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:850)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1299)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         java.lang.Thread.run(Thread.java:595)
    The name of my servlet is BlueWolf. I have defined my servlet in my web.xml like so:
    <!-- servlet definitions -->
    <servlet>
    <servlet-name>BlueWolf</servlet-name>
    <servlet-class>com.bluewolf.BlueWolf</servlet-class>
    </servlet>
    <!-- define mappings -->
    <servlet-mapping>
    <servlet-name>BlueWolf</servlet-name>
    <url-pattern>/BlueWolf</url-pattern>
    </servlet-mapping>
    I've tried searching for this error but there were no fixes I found that helped my situation. Can anyone please help me out? If any more information is needed please let me know.
    Thanks!

    Okay, I made a simpler web application. I have:
    index.html
    WEB-INF/
    my WEF-INF directory looks like:
    classes/
    lib/
    web.xml
    my only servlet is WEB-INF/classes/com/servTest.class
    I defined the servlet in my web.xml like this:
    <!-- Name to Java class mapping -->
    <servlet>
    <servlet-name>servTest</servlet-name>
    <servlet-class>com.servTest</servlet-class>
    </servlet>
    <!-- Name to URL mapping -->
    <servlet-mapping>
    <servlet-name>servTest</servlet-name>
    <url-pattern>/servTest</url-pattern>
    </servlet-mapping>
    However, I still get the same error (NoClassDefFoundError .... wrong name: servTest blah blah)
    I am trying to access the servlet by the url http://localhost:8080/servTest/servTest and I've also tried http://localhost:8080/servTest/com.servTest. I also tried linking to it in my index via a form with action="servTest". I've also tried action="com.servTest" however I still can't seem to get past this wrong name error. However, I can create servlets fine without trying to use packages (i.e. if i place .class files directly in WEB-INF/classes), but I would really like to have packages working. Can anyone see any potential errors? thanks!

  • Memory Leak with Tomcat version update 3.2 to 6.0

    Hi, I've been trying to update tomcat from 3.2 to 6.0. My issue is that I have a memory leak(s?) that make the web application unusable. Currently in my setup I am using these components:
    Tomcat 6.0, sun JDK 1.6.0_01, mssql 2005, Microsoft SQL Server 2005 JDBC Driver 1.2, xalan 2.7.0, log4j 1.0.4 (should be only out of date component)
    It is a fairly large application that uses xslt with xalan and java servlets to display web pages. There was no issue with memory leaks before the update from tomcat 3.2, sun jdk 1.4.2 and old xalan and jdbc (for mssql 2000) components.
    My question for the community is, where should I be looking for my memory leak. Are there known issues with my setup?
    thanks for your help,
    Matt

    Just in case someone goes down the same road as me, my problem was actually the one listed on the page below. My threads are not being released after a StandardContext reload. Which I'm not sure if this leak applies to tomcat version <4 or not.
    http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669

  • Shared memory error with jcmon

    When I attempt to launch jcmon.bat and access local administration, I get the following error:
    ERROR => Can't attach to administration shared memory (rc=3) [jcmonxx.c   219]
    Any ideas?  I'm pretty sure that server0 is not running, but since I can't log into the Visual Administrator or jcmon I don't know for sure.
    Thanks in advance!

    Hi all,
    jcmon.exe pf=I:usrsapVIKSYSprofileVIK_DVEBMGS00_VIKLAB
    You will find the below, see the server0 is stopped. Thats what is not starting in our case, and that is the j2ee engine I suppose. Because the dispatcher and the SDM starts as can be seen. If you attempt to restart the process from the jcom administration menu, it wont because if it did then we would not have this problem in the first place. The sapinst tool is calling this.
    ============================================================
    JControl Monitor Program - Main Menue
    ============================================================
    0 : exit
    10 : Cluster Administration Menue
    20 : Local Administration Menue
    command =>
    SAP System Name : VIK
    SAP System : 00
    MS Host : VIKLAB
    MS Port : 3601
    Process Count : 3
    PID of JControl : 1116
    State of JControl : Some processes running
    State inside MS : Some processes running
    Run Mode : Normal Mode
    Admin URL :
    Idx
    Name
    PID
    State
    Error
    Restart
    0
    dispatcher
    3948
    Running
    0
    yes
    1
    server0
    0
    Stopped
    4
    no
    2
    SDM
    4564
    Running
    0
    yes
    I think the problem here seems to be the wrong JDK version.
    Take this very seriously. I think this might save days of trouble,
    SAP faces installation problem if you have an SDK/JDK lesser than 1.4.2_11. I did not take this very seriously and have 1.4.2_10 but then this thread below clearly says that there are problem with installations when you use 1.4.2_10.  Useful for guys stuck in the same hole. This might be the reason why the java server process does not start while the java dispatcher and SDM starts.
    The link for this JDk recommendation thread is
    8) SAP J2EE-DEP 6.40 certification - JDK requirements
    "SAP J2EE-DEP 6.40 certification - JDK requirements "
    ==>
    So please adhere to the following:
    Linux 32 Bit + 64 Bit (Itanium)
    Windows 32 Bit + 64 Bit (Itanium)
    Access to appropriate Sun J2SE Version:
    Please use Sun J2SE 1.4.2_09 SDK (or higher 1.4.2 versions after they will become available).
    It is not recommended to use versions lower than 1.4.2_09.
    Please also do not use J2SE 5.0.
    In contrast to the recommendation above please do not use J2SE 1.4.2_10 as it has problems during installation. The problem is under investigation.
    The J2SE 1.4.2 SDK is available from
    http://java.sun.com .
    regards, Vikram

  • Memory Error with iTunes 7 startup??

    I just reinstalled EVERYTHING on my G4. Rebuilt the whole machine from the ground up on a new HD. Needed to be done anyway so I dont mind. My problem? When I try to launch iTunes 7 I get the Pref setup page and then an error. "I tunes does not have enough memory to launch" Check my mem I have ell over 80% available out of 1.2 Gig. Just after a fresh restart it will not open as the very first thing tried. I tried trashing all Pref files, I have everything updated to its latest. What could cause this? As it sounds there are so many problems with version 7 that maybe its not worth it to try and get it working. Maybe a revert back to vers 6 is better?
    Thanks
    Dusty

    Me too.
    Upgrading on my MacBook Pro went fine, but on my G5 running OS 10.3.9 I cannot launch iTunes 7.0.
    First I am presented with a blank license agreement page.
    I click Agree then I'm told The iTunes application could not be opened. There is not enough memory available.
    I have over 1GB of free RAM. My boot drive has 33GB available.
    MacBook Pro, Dual Core 2.16   Mac OS X (10.4.7)   Keyboard protected with leather

Maybe you are looking for

  • My mail is not updating in notification center, I cant receive the mail in notification center, help?

    Hi, I recently purchased a copy of Mac OS X Mountain Lion, after playing around with notification center I realized that if I get new mail I have to open my mail in the application so that it can appear in the notification center, why cant it just ap

  • Acrobat pro 9 in combination with acrobat reader X

    In our company we have acrobat reader 9 installed on all desktops. About 5% of the users also make use of acrobat pro 9 and have both the pro and reader installed. We now want to upgrade to acrobat reader X. This will work fine for the users who only

  • New Touchsmart Missing Blanking Plate, Need Help

    My new Touchsmart 600-1200T just arrived, but it is missing a left side panel cover.  It does not have the tuner option, so there should be a blanking panel there.  No panel is present and there is just an empty space.  HP support was unable to figur

  • How to show conditionally IR menu options?

    A IR page can be accessed by authenticated and non-authenticated users. I would like to hide some options in IR menu from non-authenticated users. Is it possible? Igor

  • Plug-ins problems

    i downloaded safari beta 3, then i un-installed it bcz i wasn't happy with it. i aj using safari 2.0.4 , but unfortunately i can't use quicktime plug-ins for some reason. i downloaded quicktime and WMP and flip4mac, a big quicktime logo appears with