/servlet/page error in portal3p

Experts,
I had upgraded my Portal to 3.0.9 and i am unable to launch the Portal. My diag.cmd says all are fine. The jserv is also fine because my ip/servlet/IsItWorking is working fine. But one thing i notice is I am able to lauch the DAD config portal (i.e) ip/pls/admin_/ page but this does not ask for a login as it is supposed to do in the latest version. Any body has any idea how to solve this?
Thanks in advance,
Ranga

Experts,
I had upgraded my Portal to 3.0.9 and i am unable to launch the Portal. My diag.cmd says all are fine. The jserv is also fine because my ip/servlet/IsItWorking is working fine. But one thing i notice is I am able to lauch the DAD config portal (i.e) ip/pls/admin_/ page but this does not ask for a login as it is supposed to do in the latest version. Any body has any idea how to solve this?
Thanks in advance,
Ranga

Similar Messages

  • Java Servlet page not opening error 404

    Hi!
    I am working with servlets. I compiled the java file and the class file is been moved to
    c:\javawebserver2.0\servlets, and the html files moved to public_html. Html files r opening
    the classpath is mapped to jsdk.jar i.e
    set CLASSPATH=c:\javawebserver2.0\lib\jsdk.jar
    Built-in samples r working without any problem
    when i try to run the servlet
    Page Not Found error 404 occuring
    Please do the favour for me
    thanks

    404 Not Found means you didn't deploy the app properly.
    I think deploying an app like this is a terrible idea. If you have more than one app deployed on a production web server/servlet engine, you wouldn't want to put them all in the same place. "public_html" and the generic "servlets" directory shouldn't be used as dumping grounds for all your apps.
    Learn how to deploy using a WAR file. It'll keep all your apps separate and their constitutive parts together.
    Why Java Web Server? I don't think anyone uses it seriously anymore. Tomcat is the reference implementation of the servlet/JSP specs. I'd download that and use it instead of JWS. JMO, of course.

  • Intermittent Indirect REference to login page error

    Hello,
    I am building a small web app in a mixed (java/microsoft) environment. We have no budget for a purchased single sign on solution, so I built one with the following architecture:
    ASP page with integrated windows security, this simply returns to the url passed in as'URL' the clients current logon name.
    This ASP page is called by the IntranetSSOServlet, which then builds and submit the vanilla logon page. This servlet is my logon page, it simply posts it's URL to the ASP page, and if a return is posted from ASP, the logon page is bult and submitted. The IntranetSSOServlet also sets a session variable called user to the current user's windows login.
    I have two secure files, these are .jsp passthrough pages (since accessing the servlet directly did not appear to trip the security requirement and call the logon request from the server, so no users were ever in any roles). These are simple pages with a javascript redirect to the two servlets, and the jsp is only used because the servlets do not seem to trip the security requirement in the App server.
    On my machine this works with no issues, single sign on is a success and all is well, on the machine next to mine it works fine also. However, on several client machines, I keep getting an invalie direct reference to login page.
    My question is this:
    Does anyone see any major issues with the architecture which are causing this?
    It appears that the browser on some clients is attempting to go 'Back'. Is this a standard function of any software packages (spyware, internet tracking software, etc.?)
    I am building with Netbeans 5.0, running Embedded Tomcat 5.5.9 and the pages are all accessed via windows XP/IE 6
    Again, whats weird is that this works fine on several workstations, but throws the invalid direct reference to login on others...
    I am quite confused.
    Code to follow:
    IntranetSSOServlet
    if(request.getParameter("user") != null)
    HttpSession session = request.getSession(true);
    session.setAttribute("user",request.getParameter("user"));
    //If SSO submission has returned a validated user name
    //out.println(request.getParameter("user"));
    //post this name and the default password to the logon
    //This servlet will become the logon page, which will handle the redirects easier
    out.println("<form METHOD=\"POST\" name = \"form\" action=\"../Intranet-WebModule/j_security_check\">");
    //Generate a div to hide all of the input fields
    out.println("<div style=\"display:;\">");
    out.println("<input type=\"text\" name=\"j_username\" value=\""+request.getParameter("user")+"\"/>");
    out.println("<input type=\"password\" name=\"j_password\" value=\"sas\"/></div>");
    out.println("<input type=\"submit\" value=\"Submit\"/></div>");
    request.getSession().setAttribute("user",request.getParameter("user"));
    //out.println("<input type=\"submit\"></form>");
    out.println("</form><script language=\"javascript\">//form.submit();</script>");
    else
    //call the SSO submission page
    out.write("<script language=\"javascript\">location.replace(\"http://HOSTNAME/SSO/SSO.asp?URL="+lookupIntranetGlobalsBean().getJSPSiteRoot()+"IntranetSSOServlet\");</script>");
    out.close();
    This Servlet simply returns from the ASP a string (the user's logon) and then creates the post page, which posts a single dummy password to the app server
    JSP passthrough page (secured resource)
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%--
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    --%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    </head>
    <body>
    <script language="javascript">
    location.replace('http://HOSTNAME:8080/Intranet-WebModule/HRTools/newEmployeeAccountServlet');
    </script>
    </body>
    </html>

    Another try besides
         <login-config>
            <auth-method>FORM</auth-method>
            <realm-name>userDatabase</realm-name>
            <form-login-config>
                <form-login-page>/pages_public/login.jsp</form-login-page>
                <form-error-page>/pages_public/loginError.jsp</form-error-page>
            </form-login-config>
        </login-config>is that I try to handle the error code in the web.xml with
    <error-page>
         <error-code>400</error-code>
         <location>/error.jsp</location>
      </error-page>It works when I say location = index.jsp, but it doesn't work when I try to redirect to error.jsp.
    But when I redirect to index.jsp I just reload the login page, but then the user gets no information what has happened, therefore I need the error,jsp.
    I have no idea why. If anybody has a hint or know why it is this way, please let me know!!
    Thanks.

  • R/3 connection from servlet page

    Helllo,
    I have implemented a servlet page from SAP NetWever Developer Studio:
      1 - J2EE -> Web Module Project for the development
      2 - J2EE -> Enterprise Application Project (EAR) for the deploy
    Now I need to access to the R/3 system. It is possible connect to R/3 system from a servlet page? In the portal already exists a system connection created under the section "Syatem Administration -> System Configuration" but I'm trying to implement the connection unsuccessfully (following the Java code used into the servlet):
    String sapSystem = "MNT";
    IUserAccount uacc = UMFactory.getUserAccountFactory().getUserAccountByLogonId("Administrator");
    IUserAccount iuacc = UMFactory.getUserAccountFactory().getMutableUserAccount(uacc.getUniqueID());
    IUser user = iuacc.getAssignedUser();
    IConnection connection = null;
    // get the Connector Gateway Service
    IPortalComponentRequest req = (IPortalComponentRequest) request;           => HERE Casting error
    Object connectorservice = PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
    IConnectorGatewayService cgService = (IConnectorGatewayService) connectorservice;
    ConnectionProperties cp = new ConnectionProperties(user.getLocale(), user);
    connection = cgService.getConnection(sapSystem, req);
    String res = "", name = "", path = "";
    // Get the Interaction interface for executing the command
    IInteraction ix = connection.createInteractionEx();
    // Get interaction spec and set the name of the command to run
    IInteractionSpec ixspec = ix.getInteractionSpec();
    String functionName = "Z_R3_FUNCTION";
    // Put Function Name into interaction Properties.
    ixspec.setPropertyValue("Name", functionName);
    // return structure - parametro di export della funzione
    String function_out = "P_PAR";
    String function_in_value = "VALUE";
    RecordFactory rf = ix.getRecordFactory();
    MappedRecord input = rf.createMappedRecord("input");
    // put function input parameters
    input.put("P_KUNNR", function_in_value);
    MappedRecord output = (MappedRecord) ix.execute(ixspec, input);
    connection.close();
    Object result = output.get(function_out);
    Anybody knows how implement it?
    Thanks and best regards,
    Matteo.

    Hello Marcos,
    I have followed the example shown in your link, I have found all JAR file, the Java code has not error, I hace deployed my project, but the server returns the error:
    java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjcorfc in java.library.path]. java.library.path [/opt/java1.4/jre/lib/IA64W:/opt/java1.4/jre/lib/IA64W/server:/opt/java1.4/jre/../lib/IA64W:/usr/sap/PCT/JC00/j2ee/os_libs::/usr/sap/PCT/JC00/j2ee/os_libs:/usr/sap/PCT/SYS/exe/run:/usr/sap/PCT/SYS/exe/run:/usr/sap/PCT/SYS/exe/run:/oracle/PCT/sapdata4/SP24/LOGS/J2EE/sapinst_exe.252.1243940833:/usr/lib:/usr/sap/PCT/JC00/j2ee/os_libs:/usr/sap/PCT/JC00/j2ee/os_libs:]
    I have notice that into the folder "C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.mw.jco\lib" there is the file sapjcorfc.dll
    Do you know if I have to put JAR into a particular folder into my project, or I have to do some configuration on the server?
    Thanks and best regards,
    Matteo

  • Tab Page Errors out after migration to new instance

    Hi All,
    Tab Pages are running well in test instance but when I migrate it to dev instance then
    On click of a particular tab that page errors out.
    ERROR STACK
    ## Detail 0 ##
    java.lang.NullPointerException
         at exl.oracle.apps.per.eexit.webui.EmployeeUpdateCO.processRequest(EmployeeUpdateCO.java:228)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanConta
    [2096]:UNEXPECTED:[fnd.framework.webui.OAPageErrorHandler]:inerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2336)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    java.lang.NullPointerException
         at exl.oracle.apps.per.eexit.webui.EmployeeUpdateCO.processRequest(EmployeeUpdateCO.java:228)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2336)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    In PR in EmployeeUpdateCO
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String requestParams = pageContext.getParameter("partyNumber");
    if ("AlreadyDeleted".equals(requestParams))
    System.out.println("Above through already deleted Employee Exception");
    OAViewObject disVO = (OAViewObject)am.findViewObject("DisabledPVO1");
    if(disVO !=null)
    disVO.first();
    disVO.getCurrentRow().setAttribute("XXDisabled", Boolean.TRUE);
    //throw new OAException("This Employee has already been deleted. Please click on Home Link to come out from this page.", OAException.ERROR) ;
    //EXL_EEXIT_ALREADY_DEL//on 20.10.09
    throw new OAException("EXL","EXL_EEXIT_ALREADY_DEL");
    String employeeNumber = pageContext.getParameter("partyNumber");
    if (employeeNumber !=null)
    OAViewObject disVO = (OAViewObject)am.findViewObject("DisabledPVO1");
    if(disVO !=null)
    disVO.first();
    disVO.getCurrentRow().setAttribute("XXDisabled", Boolean.TRUE);
    //throw new OAException("Employee Resignation has been reversed sucessfully", OAException.CONFIRMATION);
    throw new OAException("EXL","EXL_EEXIT_RESIGN_REV");
    else
    System.out.println("In the else condition of EmployeeCO");
    System.out.println("Before disabling Reinitiate Button");
    OAViewObject disvotest = (OAViewObject)am.findViewObject("testVO1");//(XXJADisabledPVO1);
    System.out.println("Value of testVO1"+disvotest);
    if(disvotest != null)
    disvotest.first();
    //System.out.println("before falsing");
    disvotest.getCurrentRow().setAttribute("testnew", Boolean.TRUE);//erroring out here....
    //System.out.println("after falsing");
    System.out.println("After disabling Reinitiate Button");
    if (!pageContext.isFormSubmission())
    am.invokeMethod("initQuery", null);
    am.invokeMethod("InitUpdateLov", null);
    am.invokeMethod("renderJAPage");
    am.invokeMethod("renderSupPage");
    System.out.println("Calling New Method");
    am.invokeMethod("XXrenderSupPage");
    am.invokeMethod("disabledRadioButton");
    am.invokeMethod("disabledNoticeRadioButton");
    String UserId = pageContext.getEmployeeId()+"";
    String AUserId = pageContext.getUserId()+"";
    System.out.println("Anil EmployeeID is "+UserId);
    System.out.println("Anil EmployeeID1 is "+AUserId);
    Serializable[] personid = {UserId};
    // Commented on 27 May
    String userId = (String)am.invokeMethod("getEmployeeNumber", personid);
    String userName= pageContext.getUserName();
    System.out.println("USER NAMe is "+userName);
    System.out.println("userId in CO is "+userId);
    Serializable[] params = {userId};
    System.out.println("calling LOV in UpdateCO");
    am.invokeMethod("XXhandleMyLovUpdateEvent", params);
    System.out.println("Method Called in UpdateCO");
    // end here 09 june
    //end here code of Radio Button
    //==> //OAViewObject vo = (OAViewObject)am.findViewObject("EmployeeEOVO1");
    //am.invokeMethod("test");
    OAViewObject vo = (OAViewObject)am.findViewObject("EmpUpdateEOVO1");
    System.out.println("ROw COUNT IN EMPLOYEEUPDATE CO IS "+vo.getFetchedRowCount());
    if (vo != null && vo.getFetchedRowCount()>0)
    System.out.println("InsidePR of RADIO BUTTON");
    // vo.reset(); //New line added
    // vo.next(); //new line added
    OARow row = (OARow)vo.getCurrentRow();
    String email = row.getAttribute("NoticePayBuyoutFlag")+"";
    String email1 = row.getAttribute("JoiningBonusFlag")+"";
    String email2 = row.getAttribute("RelocationBonusFlag")+"";
    String email3 = row.getAttribute("ServiceAgreementFlag")+"";
    String email4 = row.getAttribute("NoticePayAdjustedPl")+"";
    String email5 = row.getAttribute("NoticePayWithoutAdjustedPl")+"";
    System.out.println("RADIO BUTTON VALUE IS "+email);
    System.out.println("RADIO BUTTON VALUE IS "+email1);
    System.out.println("RADIO BUTTON VALUE IS "+email2);
    System.out.println("RADIO BUTTON VALUE IS "+email3);
    System.out.println("RADIO BUTTON VALUE IS "+email4);
    System.out.println("RADIO BUTTON VALUE IS "+email5);
    row.setAttribute("NoticePayBuyoutFlag","NW");
    row.setAttribute("JoiningBonusFlag","NW");
    row.setAttribute("RelocationBonusFlag","NW");
    row.setAttribute("ServiceAgreementFlag","NW");
    row.setAttribute("NoticePayAdjustedPl","NW");
    row.setAttribute("NoticePayWithoutAdjustedPl","NW");
    Thanks,
    Sombit...

    OAViewObject disvotest = (OAViewObject)am.findViewObject("testVO1");
    System.out.println("Value of testVO1"+disvotest);
    if(disvotest != null)
    if(disvotest.getFetchedRowCount()>0)
    disvotest.first();
    disvotest.getCurrentRow().setAttribute("testnew", Boolean.TRUE);
    Also double check VO should have this VO Attribute.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Oracle XSQL Servlet Parse Error when anchoring a link to an image

    I have a database of document links that I wish to portray in a table as graphic images. In other words, each image is a hypertext link to the document.
    From my HTML 101 I used to do this as follows:
    <IMG SRC="image.gif">
    Note, no </IMG> end tag, but this produces an image that I can click to access that document. Lousy form, but it works.
    When I run my XSL with corresponding XSQL file to create the HTML file I get the following Servlet Parse Error:
    Oracle XSQL Servlet Page Processor 1.0.1.0 (Production)
    XSQL-006: XSLT stylesheet is not well-formed: ucmDatabase3.xsl
    XML parse error at line 66, char 15
    End tag does not match start tag 'img'
    I then added the </IMG> end tag,
    <IMG SRC="image.gif"> </IMG>
    which satisfies the parser, but now I get my graphic image AND the underlined linked text together in the same table cell, which SUCKS...
    Is there a way around this madness?
    Thanks for your comments..
    Jon Kotas
    Boeing
    Canoga Park, CA

    Remember that an XSLT stylesheet is, in particular, a well-formed XML document. In a well-formed XML document, you
    cannot have an unterminated element like:
      <foo>
        <bar>  <!-- This elemenent is not closed correctly -->
      </foo>So, in your example, you're running into the problem with
    your <IMG> tag, since you have:
      <A>
        <IMG src="...">  <!-- This elt is not closed correctly -->
      </A>You just need to close the IMG tag by changing the closing > to /> instead, like this:
      <A>
        <IMG src="..."/>  <!-- This elt *IS* closed correctly -->
      </A>When it's written out to the browser, you'll see that the
    trailing slash will be removed, so the browser will be
    happy, too.

  • Help with page-error

    Hello, I`m trying to authenticate acces to my servlet, (Tom Cat 4.0.3), in my Deploy Descriptor I set BASIC authentication and a <error-page> with <error-code> 401 and a <location>/error.html but when I try 3 times Tomcat don�t shows my html page error and shows his page error, I don�t know why, thanks a lot !!!!

    check "*.xml" files,make shure it added the Error page
    Tag in the particular one.Then restart the Tomcat Server.

  • Oracle XSQL Servlet Page Processor 0.9.9.1 (Technology Preview)

    I trying XSQL Servlet in oracle8.1.6,Java Web Server.
    When I access http://localhost:8080/xsql/index.html
    I am getting this error.
    "Oracle XSQL Servlet Page Processor 0.9.9.1 (Technology Preview)
    XSQL-013: XSQL Page URI is null or has an invalid format."
    Any suggestion....
    null

    JWS is not one of the supported Servlet Engines in 1.0.0.0 please see the release notes for supported engines (there are lots of them).
    The XSQL 1.0.1.0 release will support and
    additional set of engines that cause XSQL-013 errors becuase the return null for
    the Servlet API call:
    req.getRealPath(req.getServletPath());

  • Learning servlet, unresolve error

    This is my first servlet that ive done using apache tomcat as my servlet container, and my code is
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Demo1 extends HttpServlet{
    public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException{
    PrintWriter pwOut = res.getWriter();
    pwOut.println("Hello everybody!!!");
    and my web.xml file code is
    <?xml version="1.0"?>
    <web-app>
    <servlet>
    <servlet-name>Demo1</servlet-name>
    <servlet-class>Demo1</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Demo1</servlet-name>
    <url-pattern>/demo</url-pattern>
    </servlet-mapping>
    </web-app>
    Please can anyone help me to determine what causes this error.
    exception
    javax.servlet.ServletException: Error allocating a servlet instance
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Thread.java:595)
    root cause
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
         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:1853)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:875)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1330)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1209)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Thread.java:595)

    Yes I think so, I set my environment variable path to jdk1.5.0_10
    C:\>java -version
    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)
    and my tomcat server information are: (I copy and paste from tomcat manager page)
    Tomcat Version: Apache Tomcat/5.5.26
    JVM Version: 1.5.0_10-b03
    ......others
    and I used Texpad to compile my servlet

  • HT2693 what can i do when vendor contact support page can't send my info/msg due to page error and i have paid for an app that no longer works after purchase

    What can i do when i purchase an app then after purchase the app fails to work. I deleted the app rebooted ipa then reinstated app. It still fails to work. I went to vendor support but when i go to send the info to them it comes up with unable to send msg due to page error. I am not happy. My child loved the app now it wont even open. Any help???

    Try talking to iTunes support
    http://www.apple.com/support/itunes/contact/

  • ALV top of page error

    Hi All,
    I have the same issue as mentioned in the thread
    ALV - Top of Page Error
    Please let me know the solution
    Thanks
    Bala Duvvuri
    Moderator message: please describe the problem in your own thread, do not have people clicking on links first.
    Edited by: Thomas Zloch on Mar 22, 2011 9:59 AM

    Solved by self

  • No Start Page Error

    No Start Page
    Could not display this Web Site as no Start Page has been configured. To configure a default starting page, set one of your Web Pages to be the Start Page. Please contact your Administrator for more information."
    Not sure why this is happening. dallaseasterrun.com

    Hi Paul,
    It appears you've managed to address this issue - I'm not encountering a "No Start Page" error when navigating to your site.
    Cheers.

  • I had a free trial of Lightroom 5 and tried to purchase it, but page errors blocked me from being able to do this. I then got a free trial of Adobe CC.  At first I saw my old photos, then the whole thing went down, and now I have a new Lightroom 5 trial,

    I had a free trial of Lightroom 5 and tried to purchase it, but page errors blocked me from being able to do this. I then got a free trial of Adobe CC.  At first I saw my old photos, then the whole thing went down, and now I have a new Lightroom 5 trial, and none of my edited photos.  Can I retrieve all these photos from my first trial?

    Yes, you have to find the catalog file from the CC trial (use your operating system to search for it, the file name ends with .LRCAT), and then once you find it, open the LR5 trial and open the catalog you just found using File->Open Catalog

  • Download drivers and updates page error

    When I go to the ni.com/downloads page and click on drivers and updates I get a page error. Anyone see this?
    kph

    We've recently made some upgrades to our Drivers and Updates systems.  Unfortunately, during the upgrades we had a few issues with linking.  We are working on getting this fixed ASAP.  In the mean time, please use this link.
    Thank you,
    Seth B.
    Staff Test Engineer | National Instruments
    Certified LabVIEW Developer
    Certified TestStand Developer
    “Engineers like to solve problems. If there are no problems handily available, they will create their own problems.”- Scott Adams

  • Safari "Failed to open page" errors

    What would cause Safari to suddenly start getting "Failed to open page" errors from I web-site I was successfully browsing 2 minutes ago?
    I was browsing REI.com; viewed several different pages, then tried to go to a different REi.com page and all of a sudden Safari won't load the page. and reports a "Failed to Open Page" error, with the excuse "the server where this page is located isn't responding"??
    I thought maybe my internet connection had failed, but I tried some other sites cnn.com, apple.com and everything is just fine.
    Then i went to a different computer on the same network and tried rei.com from Firefox and its just fine.
    Any ideas or suggestions?

    If your Safari won't open, one or more of the following procedures should fix it:
    1. Go to Home/Library/Safari/ folder and remove the following two files:
    ¥ history.plist
    ¥ lastsession.plist
    (Safari may not load properly If these two files are corrupted.)
    2. Go to Home/Library/Caches/Metadata/Safari/ and remove the contents of that folder.
    (These are just webhistory files and are not required for Safari to run. However, similar to preference files, problems can arise if they have become corrupt.)
    3. Locate the cookies.plist file that's located in the Home/Library/Cookies/ folder and remove it.
    (Again, faults in stored cookies may interfere with Safari's launch.)
    4. Check whether any of your third-party internet plug-ins may be interfering with the launch of Safari by carefully moving them to the desktop (do NOT delete them at this stage). You can find these in two places:
    Home/Library/Internet Plug-Ins/ folder, and Global plug-ins are located in the Macintosh HD/Library/Internet Plug-ins/ folder.
    Also look in Library/Input Managers where other third party add-ons may lurk. If you find a SIMBL folder, please note that some SIMBLE.bundles may require updating or possibly removal.
    Restart Safari and place them back in the correct folders, one at a time, closing and re-opening Safari each time. If you discover that one of them was causing the problem with launching Safari, trash it and download and install a fresh copy.

Maybe you are looking for

  • You-Tube Videos on Macbook Pro

    Suddenly I have a problem when viewing You-Tube-Videos. They keep breaking up on my Macbook pro. I never had this problem before. My browser is Safari. Any suggestions?

  • P67A-GD65

    Hi guys! I just got some new components for my computer but it seems like I can't use the power or reset buttons anymore (I press power and reset on my case and nothing happens). I am sure I connected them correctly but when I press them nothing happ

  • BT Home Hub Manager - how do I get a session start...

    I'm a patient person but really ... I've been trying to get the d*** thing online so I can make some changes and I've veen waiting now for nearly three hours .... only 100 sessions allowed ... I had no idea I wouldn't be able to access my own router

  • Report requirements based on cal day and calmonth

    Hello friends, I have to create a report in which it should show me the daily quantity produced and the average quantity of the given month. In report it should show me the daily produced quantity for the given month and the average of the month. as

  • STO from Excise Depot to Factory

    Hi Experts,    Our client is having a requirement :- They receive the excisable material at depot and capture the excise duties for further Pass-on and duties are updated in RG23D Register and also inventorised.   When i transfer the same material fr