My servlet is not working

Hello !
I have created a servlet and compiled it. I obtaine the file ROT-13.class has described in ther book of Rogers Cadenhead.
When I point my browser to the file (my server is Tomcat), I have a request to download the file instead of openning the page in the browser .
Where I am wrong ?
Thanks for your help,
Jean-Marie

Two guesses...
a. You've put your class file in the wrong place, for tomcat it should be in
/webapps/<your application>/WEB-INF/classes/<package>/<class>.classe.g.
/webapps/MyFirstApp/WEB-INF/classes/com/myfirstapp/test/ROT13.classb. If that is correct then my guess is you haven't created your web.xml file. This should be in
/webapps/<your application>/WEB-INF/web.xmlYou could try looking in the Tomcat logs (in the logs directory) for error messages

Similar Messages

  • JSPs and Servlets do not work on Apache HTTP- Procesor Intel P4

    Computer description: Intel Pentium 4 processor with 20GB HD
    drive, 1GB RAM, Windows 2000Pro, Service pack II
    Before installation:
    We created a temporary directory on our Intel Pentium. 4
    processor server (e.g. \TEMP).
    Copied the contents of the Oracle* Server CD to the temporary
    directory.
    Renamed each copy of the SYMCJIT.DLL to SYMCJIT.OLD.
    Set the java_compiler=none environment variable.
    Installation:
    We run the SETUP.EXE from the \TEMP\install\win32 directory and
    install Oracle 8.1.7 EE Rel 3 Typical
    Configuration tool Net8 Configuration Assistant succeeded
    Configuration tool Oracle Database Configuration Assistant
    succeeded
    Configuration tool Starting Oracle HTTP service: 7 times error
    message (java.exe has generated errors and will be closed by
    Windows, You will need to restart the
    program, An error log is being created)
    HTTP server responses.
    All Java programs do not respond (e.g. IsItWorking does not work)
    After installation:
    Open the jserv.conf file chack that ApJServManual is set to Off.
    set ApJServLogLevel debug (will give more informative errors for
    debugging)
    set ApJServDefaultHost www.in.oracle.com (to your machine name
    with the
    domain name or IP address)
    set ApjServDefaultPort 80000
    Open the jserv.properties files and make the following changes:
    bindaddress=www.in.oracle.com (Same name as ApJServDefaultHost
    in jserv.conf)
    port=80000 (same port as in the jserv.conf)
    Enable all log options in jserv.properties:
    log=true
    log.file=/usr/local/apache/var/log/jserv.trace
    log.timestamp=true
    log.dateFormat=[yyyyMMdd HHmmss:SSS]
    log.channel.init=true
    log.channel.terminate=true
    log.channel.serviceRequest=true
    log.channel.authentication=true
    log.channel.requestData=true
    log.channel.responseHeaders=true
    log.channel.signal=true
    log.channel.exceptionTracing=true
    log.channel.servletManager=true
    Java servlets and JSP still do not redspond.
    If we try to start HTTP server from Windows service, we always
    get message: unable to locate dll: The dynamic link
    library Perl.dll could not be found in the secified path (our
    path: C:\oracle\ora81\bin;C:\oracle\ora81\Apache\Perl\5.00503
    \bin\mswin32-x86;
    C:\Program Files\Oracle\jre\1.1.7
    \bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;) and
    error message: Could not start
    OracleOraHome81HTTPServer service on local computer. The service
    did not respond to the start or control request in a
    timely fashion.
    Starting Oracle HTTP service from Start/Programs/Oracle: 7 times
    error message (java.exe has generated errors and will be closed
    by Windows, You will need to restart the
    program, An error log is being created)
    We tested also modifications of oraparam.ini
    a. Copy only the install directory from the CD to the hard
    disk ,say, e:\temp.
    b. Open oraparam.ini and make the following modifications
    (Assuming CD
    drive is f:)
    * Change the "SOURCE=" line to use the full path to the CD
    instead of a
    relative path. (i.e., SOURCE=f:\stage\products.jar)
    * Change the "JRE_LOCATION" line to use the full path to the CD
    instead of a
    relative path. (i.e.,
    JRE_LOCATION=f:\stage\Components\oracle\swd\jre\1.1.7\1
    \DataFiles\Expanded)
    * Change the "OUI_LOCATION" line to use the full path to the CD
    instead of a
    relative path. (i.e.,
    OUI_LOCATION=f:\stage\Components\oracle\swd\oui\1.6.0.9.0\1
    \DataFiles\Expanded
    * Change the "JRE_MEMORY_OPTIONS" line to add "-nojit" as the
    first argument.
    (i.e., JRE_MEMORY_OPTIONS=-nojit -ms16m -mx32m)
    ^^^^^^
    * Other entries should remain the same
    c. Launch setup.exe from the temporary location on your hard
    drive (i.e.
    e:\temp\install\ win32\setup.exe). This will use the modified
    oraparam.ini and pick up the information from the CD since the
    absolute
    locations are specified.
    After that modification of oraparam.ini, the HTTPServer does not
    respond at all.
    So we undo changes on oraparam.ini and reinstall HTTP.
    We copied SYMCJIT.DLL and jvm.dll from JDK 1.1.8_008 to
    Apache\jdk\..
    Since then at least the demo IsItWorking responses, but database
    connection can not be established. But jsp demo still do not?
    THX in advance
    Neja

    I'm still having problems with Portal config (as part of 9iAS) on
    a P4 but i have cleared the hurdle of the HTTP listener (i
    think).
    I downloaded and installed the JRE that is P4 compatible from
    www.sun.com (it puts it under c:\program files)
    then overwrote all the files in the jre directories in the cd
    staging area with the files from Sun (i.e. all symcjit.dll
    locations). I also had to put a file "javai.dll" in the same
    directory as the file "java.exe". This got the install all
    working.
    The service will fail first time because the install creates
    another set of incompatible jre files. You must again search for
    symcjit and repeat the above procedure.
    You must also overwrite the files in the c:\program
    files\oracle\inventory\jre directories (sorry cant remember exact
    path).
    Hope this helps.
    Mark Gornicki
    PS if anyone knows why Portal config hangs at 67%
    (before/during/after processing "bulkload.jar" section) please
    let me know :-)

  • Servlet reloading not working with WLS 5.1 sp8

              I downloaded and installed WLS 5.1's sp8 to fix the "java.net.SocketException: Connection aborted by peer: socket write error"
              problem. Although that problem is fixed, I have found that, however, the servlet (automatic) reloading does not
              work anymore. If I remove the sp8 from my Java system classpath and WL classpath (i.e. not using sp8), then
              the servler reloading works fine.
              Does anybody experience similar problem or have I forgot to do something?
              WLS properties/env vars setting:
              - weblogic.httpd.servlet.reloadCheckSecs=0
              - WEBLOGIC_CLASSPATH=%WEBLOGIC_HOME%\lib\weblogic510sp8.jar;...
              - JAVA_CLASSPATH=%WEBLOGIC_HOME%\lib\weblogic510sp8boot.jar;...
              Thanks in advance for any help.
              

              I've experienced the same problem with both sp6 and sp8. In both cases I performed several test, including
              - varied the value of weblogic.httpd.servlet.reloadCheckSecs
              - changes to the package depth the servlet belonged to
              - changes to the string length of the package names the servlet belonged to
              At best, the servlet would reload sometimes. I've moved back to sp5 and the problem has subsided.
              Note: I did not try registering the servlet to see how that would effect the dynamic reloading.
              Hope this helps
              - Dave
              "Michel Dinh" <[email protected]> wrote:
              >
              >I downloaded and installed WLS 5.1's sp8 to fix the "java.net.SocketException: Connection aborted by peer: socket write error"
              >problem. Although that problem is fixed, I have found that, however, the servlet (automatic) reloading does not
              >work anymore. If I remove the sp8 from my Java system classpath and WL classpath (i.e. not using sp8), then
              >the servler reloading works fine.
              >
              >
              >Does anybody experience similar problem or have I forgot to do something?
              >
              >WLS properties/env vars setting:
              >
              >- weblogic.httpd.servlet.reloadCheckSecs=0
              >- WEBLOGIC_CLASSPATH=%WEBLOGIC_HOME%\lib\weblogic510sp8.jar;...
              >- JAVA_CLASSPATH=%WEBLOGIC_HOME%\lib\weblogic510sp8boot.jar;...
              >
              >Thanks in advance for any help.
              

  • 8.1-beta servlets do not work?

    Hello,
              I'm using a web.xml file with 2 servlets in it that works fine
              in WLS 6.x and 7.x. Yet, it does not work in 8.1.
              If I delete the servlet and servlet-mapping elements I can
              deploy my webapp (in an ear) and it deploys. Otherwise it
              will not work.
              Has anyone else seen this with 8.1-beta?
              Thanks.
              

    Are you getting any exceptions / error messages?
              --Vinod.
              "Mark Swanson" <[email protected]> wrote in message
              news:[email protected]..
              > Hello,
              >
              > I'm using a web.xml file with 2 servlets in it that works fine
              > in WLS 6.x and 7.x. Yet, it does not work in 8.1.
              >
              > If I delete the servlet and servlet-mapping elements I can
              > deploy my webapp (in an ear) and it deploys. Otherwise it
              > will not work.
              >
              > Has anyone else seen this with 8.1-beta?
              >
              > Thanks.
              >
              >
              

  • Servlet Filter not working in Oracel9iAS(9.2.0.3)

    Hi,
    May i know what cause the servlet filter not workinng in Oracle9iAS? Is there any library files missing? I have tried deploy the war file in Tomcat but is working fine but when i try to deploy in Oracle9iAS, the application seems like can't call the servlet filter.
    Please advice.
    Thanks.
    Regards,
    Ming Jade

    I'm not exactly sure what version you are using.
    Servlet Filters were introduced in Servlet 2.3 which was part of J2EE 1.3.
    Oracle9iAS 9.0.2.3 is J2EE 1.2 compatible .
    Oracle Application Server 10g 9.0.4.x and 10.1.2 is J2EE 1.3 compatible
    Oracle Application Server 10g 10.1.3 is J2EE 1.4 compatible.
    So the problem could be that the version of the product you are using does does not support the version of the servlet spec that covers Servlet Filters.
    Can you upgrade to/install the 10.1.2 release as a minimum?
    cheers
    -steve-

  • Servlet forward not working with portal and oc4j

    Scenario: page1.jsp, page2.jsp, MyServlet
    Page1.jsp posts a form to MyServlet which then does some processing and forwards to page2.jsp.
    Tests:
    Works fine as a standalone app under oc4j.
    Does not work as oc4j-driven portlet under latest portal. Specifically, it conks out on the forward.
    Question:
    Why?
    What is the suggested workaround?
    Michael Mogley
    Software Engineer
    LRN, Inc.

    James, thanks for responding but you are misunderstanding the problem. I have been able to do multipage and form-submit portlets as you describe for a long time. The issue is I am not able to use the jsp-forward directive within a validation servlet when using oc4j with portal. Here is what I'm trying to do in pseudocode:
    EntryPoint.jsp
    1. Enter form data.
    2. Submit form to MyServlet.
    MyServlet
    1. Validate form.
    2. If valid, <jsp-forward page="success.jsp"/>.
    3. Else, <jsp-forward page="failure.jsp"/>.
    The above works fine when used in an app running on oc4j outside of portal. It does not work when the same oc4j app is portletized. By the way, the portletized app WILL work if I change jsp-forward to jsp-include. So the problem is obviously in the forwarding.
    Michael
    I would try looking at the samples in the PDK-Java V2 that show how to do form input and multipage behavior. The form input shows you how to make a form in a portlet that when you submit it, the entered values appear in the portlet. The multipage portlet shows you how to have a portlet display one page and then when you click on a link, it shows you the second page.
    It may make sense to copy the same code used for the samples and just tweak it to create a form that passes values from page1 to page2.
    For more info on V2 parameters, see the article "A Primer on Parameters and Events" in the PDK-Previews (for subscribers to Developer Services only). You can also see the V1 article called "Understanding the Parameter Passing Portlet" for more info on parameter passing with portlets in V1.
    James
    James

  • It seems mapproxy servlet does not work in 11.1.1.2

    Dear Masters,
    I used mapproxy?rtarget= to access mapviewer in JDeveloper 11.1.1.1 and everything was OK but when I switched to 11.1.1.2 mapproxy servlet does not return anything.
    Is there any changes about mapproxy servlet?
    Regards.

    Hi,
    in my web.xml file I see
    <servlet-mapping>
    <servlet-name>MapProxyServlet</servlet-name>
    <url-pattern>/mapproxy/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    Frank

  • Servlet Filter not working in JDK1.3.1

    Hi,
    I have an authorization filter which was deployed in WebSphere5.0 which is configured under datasource5(oracle thin driver) with jndi.
    observed facts
    ===============
    WebSphere 5.0 comes with jdk1.3.1. and supports datasource 4/5.0
    datasource 5.0 will support servlet2.3.
    Servlet 2.3 depends on jdk1.2.
    Problem
    ========
    When i am trying execute my filter in websphere its giving the below given error:
    IntranetAuthorizationFilter was found, but is missing another required class.
    ]: java.lang.NoClassDefFoundError: java/lang/CharSequence
    at java.lang.Class.newInstance2(Native Method)
    at java.lang.Class.newInstance1(Class.java(Compiled Code))
    at java.beans.Beans.instantiate(Beans.java(Compiled Code))
    at java.beans.Beans.instantiate(Beans.java:77)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:292)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:161)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:208)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1044)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:588)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:206)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:214)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
    My filter is not using java/lang/CharSequence anywhere.
    Can someone figureout why this problem is coming.
    Regards
    Srinivas

    As you probably know, CharSequence is an interface. Such classes as String implement this interface in JDK 1.4. So if you are trying to use filter compiled under JDK 1.4 then you certainly will meet the problem.

  • JPDK Servlets/JSP not working

    Hi there,
    I am facing a couple of problems related to oracle portal.
    1-As i have installed oracle portal the application server doesnt run JSPs.
    2-In addition to Oracle Portal I have installed JPDK and configured it as written in the documentation. I tried to run example servlet and jsp on it as given in the documentation, but as i write "http://server1:80/servlet/myfirst"
    but it shows "The page cannot be found", but if i write http://server1:80/servlet/IsItWorking, it is running perfectly.
    IS there any configration problem or what?
    Thanx in advace for any one who provides answer to any of the above two questions.
    Hassan

    Hassan,
    1. What version of Portal do you have installed. I have not seen any issues displaying JSPs from the production version of Portal. 3.0.6.6.5 and 3.0.7.6.2. If you have an EA release the JPDK install guide tells you how to download the new version of OJSP.
    2. If you get the page cannot be displayed error, this means that either it does not recognize "myfirst" or it cannot find the class file. you can try to call the Adapter directly. http://host.domain/servlet/oracle.portal.provider.v1.http.HttpProvider
    If this fails, check the jserv.properties to make sure that you specified the correct location to find the provider.jar.
    If this works, then you do not have the myfirst alias setup correctly in the zone.properties.
    Check both of these files, but first you will need to resolve the JSP issues with Apache.
    Hope this helps,
    Sue

  • Servlet tag not working

    Hi,
              I was using the servlet tag in my html files to call servlets, enabled by
              Server Side Includes, which was working fine with Weblogic4.03 but since
              I've migrated to 4.5.1 this is broken, has the syntax for invocation changed
              to something else from
              <servlet name="VirtualServletNameFromWeblogicPropertyFile">
              </servlet>
              Now I'm seenig some funky behaviour, also my </servlet>s are returned to the
              browser as is.
              Also, I have a servlet which is calling making calls to an ejbobject proxy,
              which returns a Serializable object, whose class file is available in a jar
              which is on the Windows NT System ClassPath. Weblogic throws a
              ClassNotFoundException, saying that this class cannot be loaded even though
              it is using the same jar file to load the EJB's from.
              In other words, I have a class file in a jar which is on the CLASSPATH,
              but Weblogic does not seem to find it.
              All this used to work with 4.03,
              help needed,
              Abhi
              

              Hi --
              Abhishek Begerhotta wrote:
              >
              > Hi,
              > I was using the servlet tag in my html files to call servlets, enabled by
              > Server Side Includes, which was working fine with Weblogic4.03 but since
              > I've migrated to 4.5.1 this is broken, has the syntax for invocation changed
              > to something else from
              > <servlet name="VirtualServletNameFromWeblogicPropertyFile">
              > </servlet>
              >
              > Now I'm seenig some funky behaviour, also my </servlet>s are returned to the
              > browser as is.
              Are you doing it like this?
              1. <servlet name=foo></servlet>
              like this:
              2. <servlet name=foo> </servlet>
              or like this:
              3. <servlet name=foo>
              </servlet>
              2. and 3. should work. 1. will not because of a bug -- that is, you need to
              have a space or a return before the closing tag. This should be fixed in
              4.5.2.
              > Also, I have a servlet which is calling making calls to an ejbobject proxy,
              > which returns a Serializable object, whose class file is available in a jar
              > which is on the Windows NT System ClassPath. Weblogic throws a
              > ClassNotFoundException, saying that this class cannot be loaded even though
              > it is using the same jar file to load the EJB's from.
              > In other words, I have a class file in a jar which is on the CLASSPATH,
              > but Weblogic does not seem to find it.
              > All this used to work with 4.03,
              Classpath stuff has changed quite a bit (for the better) in 4.5.1. -- check
              out the classpath docs, and if you're still confused, post again.
              http://www.weblogic.com/docs45/admindocs/classpath.html
              http://www.weblogic.com/docs45/techdeploy/hotdeploy.html
              >
              > help needed,
              >
              > Abhi
              Hope this helps,
              -jg
              John Greene BEA WebXpress
              Developer Relations Engineer 550 California Street, 10th floor
              415.364.4559 San Francisco, CA 94104-1006
              mailto:[email protected] http://weblogic.beasys.com
              

  • Servlet is not working in NWDS

    Hi Experts,
    i have created j2ee(web module  project) in nwds.
    in that i have html page with 2 input fields,on submit it should call servlet (java servlet file).
    Note: i have done servlet mapping in web.xml file
        <servlet-mapping>
      <servlet-name>AddServlet</servlet-name>
       <url-pattern>/AddServlet</url-pattern>
        </servlet-mapping>
             i have tried with both servlet name and url pattern(when calling from submit action)
    Submit action code:
    <form  action="/Addservlet" method=POST>
    and i am getting error after submitting
      404   Not Found
      SAP J2EE Engine/7.00
      The requested resource does not exist.
      Details:   Go to main page of this application!
    can anybody tell me how to find out the url of the servlet?
    and any document which gives the step by step procedure to dev the jsp/servlet project  in nwds
    Regards,
    Vani R G

    Hi,
    The solution is in the "Defining a URL pattern" section of this link:
    [http://help.sap.com/saphelp_nw04/helpdata/en/13/e7bf3eb8b73614e10000000a114084/frameset.htm]
    It seems that URL Pattern should be <url-pattern> / </url-pattern>
    and
    servlet name is <servlet-name> QuickReservationServlet </servlet-name>
    Hope that this will help you in your project.
    Thanks.
    p256960

  • [JAXM] Several call to same servlet does not work

    I have a working jaxm client, which works fine. But for test purpose I wanted to send several requests to my server using the same connection.
    If I do // Send the message
    reply = connection.call(message, endpoint); it works fine.
    But if I try this:// Send the message
    reply = connection.call(message, endpoint);
    // Send it again
    reply = connection.call(message, endpoint);the first call success, but the second one crashes and
    I get the following exception in my client :java.io.FileNotFoundException: http://localhost:7001/SOAPRPCRouterServlet
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:545)
            at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:230)
            at com.sun.xml.messaging.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:203)
            at com.sun.xml.messaging.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:110)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sun.xml.messaging.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:89)And the following one in my server (weblogic 5.1) :Fri Jan 04 11:13:58 CET 2002:<E> <HTTP> Connection failure
    java.net.SocketException: Connection shutdown: JVM_recv in socket input stream read
            at java.net.SocketInputStream.socketRead(Native Method)
            at java.net.SocketInputStream.read(SocketInputStream.java:86)
            at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:209)
            at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)I tried to build a new message, but the result is exaclty the same.
    Does I do things in the wrong way (maybe connection must be closed and reopen for each message, but I didn't found anything about this in the doc) or is it a bug in JaxM ?

    I have a possible suggestion. The reference implementation sends a SOAP message via the HTTP protocol. The standard HTTP protocol approach is to open a connection, perform the operation, and then close the connection. I have a feeling that once you have used the SOAPConnection object to send and retrieve the message, the underlying HTTP connection is automatically closed.HTTP is a stateless protocol so once the server has delivered the request, it closes the connection and has no memory of the reuqest. Hence you cannot send subsequent requests on the same HTTP connection, any attempts to do so result in the errors that you see. What you will have to do is open up a new SOAPConnection object for each new message sent.
    Hope this helps.

  • Servlets not working in tomcat-4.1.24

    Servlets are not working in a new context which I have created in tomcat-4.1.24. if i put the same servlet in examples context it is working. jsps are working in the new context also. any idea????
    binny

    Suppose your servlets class is called "app", you need to add this in your web.xml file
    <servlet>
    <servlet-name>app</servlet-name>
    <servlet-class>app</servlet-class>
    <servlet-mapping>
    <servlet-name>app</servlet-name>
    <url-pattern>/app</url-pattern>
    </servlet-mapping>
    </servlet>

  • BUG: Oracle Schema Processor does not work in Servlets

    We found a bug with Oracle's Schema Processor. It does not work in Servlets.
    When we try to validate a XML document in a Servlet it does not work, but we can execute the same code in a stand alone application and it works.
    The following is the code we are using:
    try {
    File f =new File(filename);
    FileReader r = new FileReader(f);
    DOMParser dp = new DOMParser();
    URL url = createURL (filename);
    dp.setValidationMode(false);
    dp.setSchemaValidationMode(true);
    dp.setPreserveWhitespace(true);
    dp.parse(url);
    System.out.println("it is parsed");
    } catch(Exception e){System.out.println("there is Error"+e.getMessage());}
    null

    I don't think this is related to Servlets per se.
    Check that the Schema processor classes used by the servlet container, and your application are the same.
    Java does not have proper versioning of classes, I have seen many applications collapse. People compiled their code on developer machines, where it worked fine, but when moved to a production machine they failed because the production machine had a different version of classes. Usually the name of the class doesn't change, but either a method or a variable is missing in several classes. VM doesn't complain but simply crashes.
    In your Schema Processor classes that are used by the servlet engine might be different from the one that the app uses. Do a search on the file system to see how many copy of the same class bundle (zip, jar) you have on the system.

  • Build WAR with servlet in JAR not work

    I am building a WAR file and have a bunch of jars and one of the jars has 2 servlets. When I create new web component from deploytool, I add all the jars and no class files. I then get to a page where I can select servet,jsp, or no component. I select servlet, and when I hit next get an error that there is no servlet class added, go back in add it(even though it is in a jar file). I then go back and add the servlet and then it tells me it can't find one of the classes the servlet is using.
    My main goal is to keep everything in jars. Is this possible with deploytool?? How? Why is this not working?
    thanks for any help anyone can provide.
    Dean

    This problem is known, please see http://developer.java.sun.com/developer/bugParade/bugs/4529122.html for a workaround.

Maybe you are looking for

  • How do I set up photoshop to work with a touch screen?

    Hi, I just bought a 15.6" Asus Q500A touchscreen laptop with Windows 8. I downloaded photoshop and the 'touch app plug-ins' through the Adobe Application Manager for creative cloud. When I open a file in PS and select the brush(or any other) tool if

  • How to MODIFY a dynamic ITAB...

    Hi!!! I wants to modify a dynamic itab in a Z-programme which takes inputs. But I can not use the normal itab modifying syntax for it. Therefore I needs to find out a way to modify this itab and it is really essential for my programme. Please help me

  • Delivery Cost

    Dear All, Can negative delivery cost be maintained in the pricing procedure for Purchase order? Regards, Indranil

  • Offline Distribution WIzard - Custom Formatting of Body of Email Possible?

    The body of the email in the Offline Distribution Wizard is just Plain Text. Is there anyway to change some settings to use HTML or some nice formatting in the Body of the email via the Offline Distribution Wizard?

  • How to use CQL patterns in CEP?

    Hi, How to use CQL patterns and what is the use ?