Serializable problem in Tomcat

I have some serialized objects pass between applet and servlet
it works fine for few months but it shows the following exception a day which I didn't change the code
serialVersionUID = 7717056544730499359
is the id that I define in my program using the serialver tool
I don't know where the id 4191415547509391246 comes from.
I try to uninstall the j2se and tomcat once and remove all files in tomcat
but still got the exception, I try to run the same application in another server its okay, so I guess its not the client but the server problem, I wonder the server cache the object wrongly somewhere. Would anyone give some suggestions to me? Thanks.
java.io.InvalidClassException: iTrade.Fut.Objects.TemplateSetting; local class incompatible: stream classdesc serialVersionUID = 4191415547509391246, local class serialVersionUID = 7717056544730499359
     at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
     at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
     at java.io.ObjectInputStream.readClassDesc(Unknown Source)
     at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
     at java.io.ObjectInputStream.readObject0(Unknown Source)
     at java.io.ObjectInputStream.readObject(Unknown Source)
     at iTrade.Fut.Applet.QuotationApplet.jbInit(QuotationApplet.java:332)
     at iTrade.Fut.Applet.QuotationApplet.init(QuotationApplet.java:229)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)

Try
openssl s_client -connect localhost:8443
-Vijay

Similar Messages

  • Session problems in tomcat 5.0.28

    Even I shutdown the tomcat 5.0.28 server the session variable is still existing and it is showing the old values. What I have to do to disable the old values? Is it the problem with tomcat 5.0.28 or with JSP coding!

    Tomcat serializes sessions to the hard drive when it shutsdown. If you don't want this you have three choices:
    1: you can disable this functionality in the server.xml. Check the documentation.
    2: you could just delete the session.ser file when you shut down tomcat. This file is under work/standalone/{webapp name}
    3: you could close and re-open the browser so that the old jsessionid will not be sent and a new session will be created. The old session will eventually time out.
    The third option is probably the easiest.

  • Applet-servlet communication, object serialization, problem

    hi,
    I encountered a problem with tomcat 5.5. Grazing the whole web i didn't find any solution (some guys are having the same problem but they also got no useful hint up to now). The problem is as follows:
    I try to build an applet-servlet communication using serialized objects. In my test scenario i write a serialized standard java object (e.g. a String object) onto the ObjectOutputStream of the applet/test-application (it doesn't matters wheter to use the first or the latter one for test cases) and the doPost method of the servlet reads the object from the ObjectInputStream. That works fine. But if i use customized objects (which should also work fine) the same code produces an classnotfound exception. When i try to read and cast the object:
    TestMessage e = (TestMessage)objin.readObject();
    java.lang.ClassNotFoundException: TestMessage
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    ...That seems strange to me, because if i instantiate an object of the same customized class (TestMessage) in the servlet code, the webappclassloader doesn't have any problems loading and handling the class and the code works fine!
    The class is located in the web-inf/classes directory of the application. I've already tried to put the class (with and without the package structure) into the common/classes and server/classes directory, but the exception stays the same (I've also tried to build a jar and put it in the appropriate lib directories).
    I've also tried to catch a Throwable object in order to get information on the cause. But i get a "null" value (the docu says, that this will may be caused by an unknown error).
    I've also inspected the log files intensively. But they gave me no hint. Until now I've spend a lot of time on searching and messing around but i always get this classnotfound exception.
    I hope this is the right place to post this problem and i hope that there is anyone out there who can give me some hint on solving this problem.
    Kindly regards,
    Daniel

    hi, thanks for the reply,
    all my classes are in the web-inf/classes of the web-app and have an appropriate package structure. thus the TestMessage class is inside a package.
    i tried some names for the testclass but it didn't matter. the exception stays the same. I also tried to put the jar in the common/lib but the problem stays.
    Well the problem with loaded classes: As i mentioned in the post above i can instantiate an object of TestMessage in the code without any problems (so the classloader of my webapp should know the class!!)
    only when reading from the objectinputstream the classloader doesn't seem to know the class?? maybe theres a parent classloader resposible for that and doesn't know the class?
    strange behaviour...
    p.s. sending the same object from the servlet to the client works well
    regards
    daniel
    Message was edited by:
    theazazel

  • Problem of Tomcat 4.0

    I'm using Linux with Tomcat 4.0. I found that the counter of session has something wrong. The time counter is not reset when the user access the session.
    I try to use Tomcat 3.2.3 and my programs work fine. Is this the problem of Tomcat 4.0 ? anyone have the same problem ?
    plse, help.

    I'm using Tomcat 4.0 and Linux.
    I have a problem about the session.
    timeout = 600;
    session.setMaxInactiveInterval(timeout);
    ...When the user active the session, the "timeout" should be reset to 600. In fact, the session is still die even the user active the session.
    And this problem does not occurred in Tomcat 3.2.3.
    I guess is the bug of Tomcat 4.0.
    Is anyone use Tomcat 4.0 and Linux. Can anyone help me to check the timer of session is correct or not ?
    Thank you !
    Tomcat 3.2.3 is ok.
    The problem occurred in Tomcat 4.0.1 and 4.0.2.
    Please help !

  • Problems with Tomcat & Eclipse on MacOSX

    Hi everybody. I have a problem with Tomcat and Eclipse. I must make an application with JSF for my dissertation and i even become a new Mac user so i have some problems. I have installed Eclipse 3,3 Europe on Mac OSX 10,4, also I have installed Tomcat 5,5 setting up environment variable and users of Tomcat. Well, when I try to connect them creating a new server in Eclipse and select Tomcat as server and relative folder of origin, the problems begin. When I try to run on server a JSF project(naturally I have imported all the necessary libraries) it give this error to me: Could not load the Tomcat incomplete serveur configuration at /Servers/Tomcat v5.5 serveur at localhost-config.The configurator mau be corrupt or. Reason: Could not load the Tomcat incomplete serveur configuration at /Servers/Tomcat v5.5 serveur at localhost-config.The configurator mau be corrupt or incomplete. On what it can depend? It is possible that is a JRE problem? I do not find the folder jre on my file system(are novice with the mac). Thanks to all.

    This seems like a question that would be better put to an Eclipse forum.

  • Problem in  tomcat. 4.1

    Hi all,
    I have a problem in tomcat.
    I have a Bank a folder in Webapp .
    When i hit url
    http://localhost:8080/bank/index.jsp
    then index page displays.
    When i coped and pasted the Bank folder and renamed it as Bank1 .then when i hit url
    http://localhost:8080/bank1/index.jsp
    I m getting this error .Even though i have made entry in the server.xml.Restarted the server but no luck.
    type Status report
    message /Bank1/index.jsp
    description The requested resource (/Bank1/index.jsp) is not available.
    --------------------------------------------------------------------------------

    looks like t is a java.lang.Throwable and pageContext.handlePageException is expecting a java.lang.Exception
    try
    pageContext.handlePageException(new Exception("myException", t));

  • Serialization problem with FlashPlayer 10.1

    Hi,
    here is a message that I have post in the AS3 section (http://forums.adobe.com/message/2938096), but someone gave the hint that this section should be more appropriate.
    A call in remote method, using amf/BlazeDS, is failing for the following reason :
    "The expected argument types are  (int, myPackage.MyClassVO[])  but the supplied types were (java.lang.Double, java.lang.Object[]) and converted to (java.lang.Integer, null).
    Cannot convert typeflex.messaging.io.amf.ASObject with remote type specified as 'null' toan instance of class myPackage.MyClassVO"
    So the serialization is failing.
    MyClassVO have only int variables, so nothing fancy.
    The point is that it works perfectly with previous versions of Flash, except 10.1
    So the definitions of the VOs are not the problem.
    Does any change have been done in the new flash player, with the serialization ? Does someone have also experience serialization problems with this new flash player ?
    Thanks for any help.
    M.
    Environment : Windows 32bits (but happens on Mac OS as well)
    Flash version : WIN 10,1,53,64
    Browser : Firefox, Opera, IE... they all have the problem

    Hi,
    by digging more and more, it appears that the problem is really on flash side.
    This error appears on java side :
    "Cannot convert type flex.messaging.io.amf.ASObject with remote type specified as 'null' to an instance of class myPackage.MyClassVO
    flex.messaging.io.amf.translator.decoder.DecoderFactory.invalidType(DecoderFact ory.java:369)"
    So after a look on the function invalidType in DecoderFactory, it apprears that
    object.getClass().getName();
    returns "flex.messaging.io.amf.ASObject" instead of "myPackage.MyClassVO"
    So Java don't recieve the correct type MyClassVO, but ASObject.
    And that only in FlashPlayer 10.1, but not FlashPayer 9 or FlashPlayer 10, where Java recieve the correct type, MyClassVO.
    Any help will be gladly appreciated, I'm running out of idea !
    Thanks !
    M.

  • JSP and package deployment problem in Tomcat 5

    Hi,
    I tried very simple exercise that includes JSP and javabean (from package), but I have the following error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error ()
    that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    [javac] C:\jwsdp\work\Catalina\localhost\exercises\org\apache\jsp\ex01\ex01_jsp.java:10:
    package pack01 does not exist
    [javac] import pack01.ex01;
    [javac] ^
    Bellow are all my sources
    1. directory structure
    ========================
    C:\jwsdp\webapps\exercises
    index.html
    C:\jwsdp\webapps\exercises\ex01
    build.bat
    ex01.jsp
    C:\jwsdp\webapps\exercises\ex01\WEB-INF
    web.xml
    C:\jwsdp\webapps\exercises\ex01\WEB-INF\classes
    C:\jwsdp\webapps\exercises\ex01\WEB-INF\classes\pack01
    ex01.class
    ex01.java
    C:\jwsdp\webapps\exercises\ex01\WEB-INF\lib
    pack01.jar
    2. sources
    ==========
    << ex01.jsp >>
    <HTML> <HEAD> <TITLE>Ex01</TITLE> </HEAD>
    <BODY>
    <FORM METHOD="GET" ACTION="ex01.jsp">
    <%@ page import = "pack01.ex01" %>
    <H2>Ex01</H2>
    <jsp:useBean id = "x" class = "ex01" scope="application"/>
    </FORM>
    </BODY> </HTML>
    << ex01.java >>
    package pack01;
    import java.io.*;
    public class ex01 implements Serializable {
    private String value;
    public ex01() {
    value = "EX01";
    public void setValue(String s) {
    value = s;
    public String getValue() {
    return value;
    << build.bat >>
    cd WEB-INF\classes\
    cd
    del ex01.jar
    javac -deprecation -verbose pack01\ex01.java
    jar cvf ..\lib\pack01.jar pack01\ex01.class
    << C:\jwsdp\webapps\exercises.xml >>
    <Context className="org.apache.catalina.core.StandardContext"
         cachingAllowed="true"
         charsetMapperClass="org.apache.catalina.util.CharsetMapper"
         configFile="webapps\exercises.xml"
         cookies="true"
         crossContext="false"
         debug="0"
         displayName="Exercises"
         docBase="C:\jwsdp\webapps\exercises"
         domain="Catalina"
         engineName="Catalina"
         j2EEApplication="none"
         j2EEServer="none"
         lazy="true"
         mapperClass="org.apache.catalina.core.StandardContextMapper"
         path="/exercises"
         privileged="false"
         reloadable="true"
         startupTime="30"
         swallowOutput="true"
         useNaming="true"
         wrapperClass="org.apache.catalina.core.StandardWrapper" >
    </Context>
    What is wrong ?
    I have Windows NT and Tomcat 5 (from jwsdp 1.2).
    Thank you,
    Alex.

    I just tried to reproduce the problem with old version of Tomcat (4.0.2) and ... it works. It is definitely specific for Tomcat 5 (or may be one of the late Tomcat 4 as well). There is another related difference:
    With Tomcat 4 I could create javabean in class subdirectory (default package) and use
    <%@ page import="ex01" %>
    Now with Tomcat 5 I have syntax error in this line.
    This syntax error disappeared when I moved javabean into package pack01.

  • BigInteger[] serialization problem

    I have written an applet communicate with servlet using SSLSocket. it runs well on my machine. but when i put them on tomcat(on network), it stuck there.
    ObjectOutputStream ob=new ObjectOutputStream(theSocket.getOutputStream());
    ob.writeObject(cipherText); //ciphter is BigInteger[]
    ob.flust();
    ob.clost();
    does BigInteger[] need to be serialization before write ObjectOuputStream?

    I have settle the problem myself!
    Actually i got an FileNotFound error.it got nothing with serialization
    Thx!

  • Serious connection pool problem on Tomcat

    Hi,
    We are deploying our JSF creator-made app onto Tomcat 1.5. We set up our JNDI datasource on Tomcat (using the i-net driver ).
    Initially the pages load ok but after a short period of time we are getting these errors:
    Initialization Failure: javax.faces.FacesException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection, pool exhaustedWe believe that somehow the Creator-generated code is NOT freeing up connections in the connection pool.
    We think that when the afterRenderResponse() methods in the beans call rowset.close() this is NOT returning the connections to the pool. Can someone, hopefully a Sun Engineer confirm that the rowset.close() code in afterRenderResponse() returns the connection behind the rowset to the connection pool.
    Could this be a driver issue? We are using the i-net driver not the DataDirect one, but this should implement the full API.
    This is a very serious problem for us.
    regards,
    john

    do you have any example code you could post? I have a Spring/JSC tutorial on this forum. Just search for Spring and you should find it. It you need something more, I'll try to give you some help...time provided.
    am i
    right in thinking that you use the forms designer to
    lay out your pages and just put your own stuff in the
    bean constructor?Close...but not everything goes in the constructor.
    >
    One thing that may have caused a problem is we have
    just noticed that in one of our most commonly hit
    pages this line:
    dataTable1Model.setDataCacheKey("com.sun.datacache.my_
    page.my_rowset");
    featured the WRONG "my_page" jsp page but the correct
    rowset name "my_rowset". The page DID load correctly
    and run correctly, though. Could this cause problems
    with connection pooling? Anyone?I wouldn't think so, but it depends on how Creator builds the code.

  • Problem with Tomcat 404 Redirects & Internet Explorer

    Hello All --
    I am running Tomcat 5.5.9 stand alone on a linux server. My default application is loading when you visit http://*IPAddress*/
    I have set up the standard <error-page> tags in my context web.xml, located in: TOMCAT-INSTALL/webapps/contextname/WEB-INF.
    Browsing to an invalid link through FireFox correctly displays my error page. However, browsing to the same invalid link through IE 6 displays the standard IE 404 Not Found Error message.
    The strange thing is, if I visit a correct page through IE, then go back and change it so it is incorrect, THEN IE sees my custom error page.
    For example, if I visit
    http://siteaddress.com/products.jsp?product_id=12345, the page loads correctly. If I change the address to
    http://siteaddress.com/products.js?product_id=12345, IE then sees my custom error.
    But if I enter the incorrect address right away in a new IE window, I receive the standard IE 404 error messaging.
    Could someone please explain why this is happening and what I can do to resolve the problem?
    Thank you in advance for your help!
    -- Chris

    Hi,
    I got this to work finally and documented it here:
    http://markashworth.objectis.net/Tutorial/tomcat404IE
    Hope this helps.
    Mark Ashworth

  • Web Service From Java class, serialization problem

    Hi,
    I want to create Web Service from Java class, I made java project, generated web service from it, create web service archive project and deployed it to WAS 6.40.
    My class have 2 methods,
    public int add(int a, int b);
    public MyResponse doSomthing(MyRequest req);
    I can succesfully call add method from Web Service Navigator, it works fine but when I call doSomthing methods I get the following error:
    <b>
    Deserializing fails. Nested message: XML Deserialization Error. Result class [com.mycomp.sap_tech.ws.MyRequest] does not have property [Amount] of type [java.lang.String]. It is required to load XML..
    </b>
    Any ideas how to resolve it?
    P.S. MyRequest class is exposed throw VI, has default constractor and public getters and setters for all properties. It implements Serializable as well. Any guesses?
    Thanks in advance,
    Victor.

    Hi Bhavik, thanks for response.
    as I already mentioned it implements Serializable, so it is not the problem.
    Thanks Avi but it didn't helps iether
    Victor

  • Apache Roller (or mayb Struts 2) problem on Tomcat 5.5.20 on Debian Etch

    Firstly I'm not at all sure whether this is the right forum for asking for help on this issue. People here have been very helpful in the past. If this post is in the wrong place, my apologies and please feel free to move it.
    I am trying to install Apache Roller 4.0 on a Debian Etch system that has the Apache Tomcat 5.5 package installed. I am using the Sun Java package as well. You might think the solution to this problem might be better sought in the Apache Roller community or the Debian community. However the problem I am experiencing is a far more general Java problem (I think).
    h1. Software versions
    java version "1.5.0_10"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)Tomcat 5.5.20 (Debian Etch package)
    Apache Roller 4.0
    h1. The error
    When I load up the application for the first time, following the Apacher Roller instructions for installation I get a bunch of IllegalAccessExceptions that AFAIK should not happen. An example is in the exception trail below.
    h2. Exception trail.
    ERROR 2007-12-30 11:31:25,476 StandardWrapperValve:invoke - Servlet.service() for servlet jsp threw exception
    Caught OgnlException while setting property 'location' on type 'org.apache.struts2.views.tiles.TilesResult'. - action - file:/vhost/beanlogic.co.uk/roller/WE
    B-INF/classes/struts.xml:129:77
            at com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:199)
            at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:342)
            at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
            at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
            at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
            at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
            at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
            at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
            at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
            at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
            at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
    //(there is a large stack trace here which probably not relevant so I cut it out. The caused by is next)
    Caused by: Caught OgnlException while setting property 'location' on type 'org.apache.struts2.views.tiles.TilesResult'. - Class: ognl.OgnlRuntime
    File: OgnlRuntime.java
    Method: invokeMethod
    Line: 508 - ognl/OgnlRuntime.java:508:-1
            at com.opensymphony.xwork2.util.OgnlUtil.internalSetProperty(OgnlUtil.java:367)
            at com.opensymphony.xwork2.util.OgnlUtil.setProperties(OgnlUtil.java:76)
            at com.opensymphony.xwork2.ObjectFactory.buildResult(ObjectFactory.java:222)
            at com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:195)
            ... 287 more
    Caused by: java.lang.IllegalAccessException: Method [public void org.apache.struts2.dispatcher.StrutsResultSupport.setLocation(java.lang.String)] cannot be a
    ccessed.
            at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:508)
            at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:812)
            at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:964)
            at ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:75)
            at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:131)
            at com.opensymphony.xwork2.util.OgnlValueStack$ObjectAccessor.setProperty(OgnlValueStack.java:68)
            at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656)
            at ognl.ASTProperty.setValueBody(ASTProperty.java:101)
            at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
            at ognl.SimpleNode.setValue(SimpleNode.java:246)
            at ognl.Ognl.setValue(Ognl.java:476)
            at com.opensymphony.xwork2.util.OgnlUtil.setValue(OgnlUtil.java:186)
            at com.opensymphony.xwork2.util.OgnlUtil.internalSetProperty(OgnlUtil.java:360)
            ... 290 moreAny help would be great.
    Cheers
    Elwyn

    Have you resolved your problem? I am running into the SAME EXACT issues with my application. The only difference is I'm not deploying to webapps/ROOT/; I'm deploying to my own directory based on my WAR file name (webapps/<web_application_name>/WEB-INF....blah blah). If you figured out your problem (believe me, I wish I could be of some help) I would LOVE to hear what you did/figured out.
    -C

  • Hibernate problem in Tomcat-jsf. Please help me!

    Hello!
    So...I'm using Hiberbate API to deal with database data
    and The Tomcat web server to deploy my app, my page shows
    a database data list, the problem is when I reload (click
    on the browser button or on the originated link) the page
    the data just vanish, I don't know the why.have
    you any suggestion?
    my page.jsf :
    <%
        try{
            HibBean data = new HibBean();
            Iterator i = data.getList().iterator();
            Session sessionH = HibernateUtil.getSessionFactory().getCurrentSession();
            sessionH.beginTransaction();
    (show data from database)
    HibernateUtil.getSessionFactory().close();
    .Thanks!

    This question has asked a lot in different forums. I had same problen, when I compiled RunUSBControllerTest. I got I/O Exception: USB Host support is unavailable. I think I resolve this problem: I think that jusb.dll has compiled in older java version and depends on version. I had Java 1.4.2_05 and it dosen't worked out. I remove it and install java 1.4.1_03. Now the RunUSBControllerTest works fine. I hope this is the answer.

  • Same problem using tomcat for petcode app

    I'm getting frustrated. I don't think i want to use this petsotre application. i need to find something else. I got tired of using the javaserver application so i used the war in tomcat and got this problem when it tried to deploy it.
    Caused by: java.lang.IllegalArgumentException: Duplicate context initialization parameter com.sun.faces.verifyObjects
    at org.apache.catalina.core.StandardContext.addParameter(StandardContext.java:2210)
    ... 46 more
    Sep 9, 2007 8:20:23 AM org.apache.catalina.startup.ContextConfig applicationWebConfig
    SEVERE: Parse error in application web.xml file at jndi:/localhost/petstore/WEB-INF/web.xml
    java.lang.IllegalArgumentException: Duplicate context initialization parameter com.sun.faces.verifyObjects
    at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2725)
    at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2751)
    at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1060)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1772)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
    at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:351)
    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1034)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:260)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4119)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)

    Hi,
    the petstore needs some of the services of a Java EE 5 application server to run. It uses some technologies that are part of Java EE 5like annotations, Java Persistence Objeects, JSF 1.2 etc.
    This FAQ lists some of the things needed.
    https://blueprints.dev.java.net/petstore/faq.html#tomcat
    You would have to do some work yourself to get it to run on tomcat as there are not full instructions on how to do this.
    hth,
    Sean

Maybe you are looking for

  • JSP compile Error in Weblogic 5.1 server

    My application is running well in Weblogic 5.1 sp10 server. I am trying to run my application as NT service. The NT service installed and started with no problem. But I got following error messages when I try to access my JSP. Can anyboby help me out

  • Finding Corrupt files

    My spotlight does not work in my account, but works in other accounts, how do I find the corrupt files?

  • Ad-hoc query protection

    Hi, How can I lock a ad-query definition so that other users can use it but never change the settings? Thank you, Hofé

  • Display Image imported from Access with Migration WorkBench

    Hi, I've imported a access database with migration workbench but can not display images aplying the same principals described in the sample appication. Maybe the formats are not compatible !? Any suggestions?! Thanks

  • Still will not run on Vista using Forum suggestions

    I tried the suggestions posted in the support forum but the NI design suite 10 still not running in my computer with Microsoft Vista OS. I remove and re-install the software by following NI engineers removal process sent via email and still not  work