Tomcat  won't display index.jsp

Hello, I've been working in a webapp the last couple of weeks, and I am new with tomcat and JSP technology, yesterday I try to display the index.jsp in http://localhost:8180 and it didn't display it .
I retart tomcat with
sudo /etc/init.d/tomcat5.5 restartand it give me an OK but it won't show up in my browser, I don't know how to fix it. I was editing index.jsp couple of days ago and I erase the content of the folder "work" in tomcat, but it worked ( display index.jsp ) , but I don't know if it is related, I haven't done much since then . So I am pretty much lost. Can someone help me please??

The contents of the work folder get recreated if they're deleted so that can't be the problem.
Is anything else working? Is only the index.jsp not working? Also, the index.jsp seems to be hardcoded, modifying it will not have any effect.
If nothing is woking, I suggest you consult your logs, under $CATALINA_HOME/logs and go through them to see what's happening. Post the contents here if you think there's something wrong.

Similar Messages

  • Cant display index.jsp page of application folder

    Hello experts,
    I am trying to do one simple struts application using Struts2 get the data and display it..
    I kept my folder that is Struts2Application in webbaps dir of tomcat..
    when I write the "http://localhost:8080/Struts2Application" it displays the same page i.e. home page of tomcat, it dosnt show the index.jsp
    and when I write the "http://localhost:8080/Struts2Application/index.jsp" then also displays the home page of tomcat..
    my web.xml is
    <?xml version="1.0" encoding="iso-8859-1"?>
    <web-app id="WebApps_9" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoacation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>Struts 2 applicaion</display-name>
    <filter>
         <filter-name>struts2</filter-name>
         <filter-class>
              org.apache.struts2.dispatcher.FilterDispatcher
         </filter-class>
    </filter>
         <filter-mapping>
              <filter-name>struts2</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>
         <welcome-file-list>
              <welcome-file>index.jsp</welcome-file>
         </welcome-file-list>
    </web-app>Please help me out.....

    Please check out following all files...
    index.jsp
    <%@ page contentType="text/html; charset=UTF-8"%>
    <%@ taglib prefix="s" uri="struts-tags" %>
    <html><head><title>Struts 2 Application</title>
              <link rel="stylesheet" href="mystyle.css" type="text/css" />
         </head>
         <body>
         <h1> Struts 2 Applicaton</h1>
         Enter Client Details :
              <s:form action="ClientAction" method="post">
                   <s:textfield label="Name" name="name"/>
                   <s:textfield label="Age" name="age"/>
                   <s:textfield label="Salary" name="salary"/>
                   <s:submit/>
              </s:form>
         </body>
    </html>client.jsp
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ taglib prefix="s" uri="/struts-tags" %>
    <html>
         <head>
              <title>You submitted </title>
         </head>
         <body>
              Thank you, <b><s:property value="name"/></b>
              your salary is : <b><s:property value="salary"/> $</b>
         </body>
    </html>error.jsp
    <%@ page contentType="text/html; charset=UTF-8"%>
    <%@ taglib prefix="s" uri="struts-tags" %>
    <html>
         <head>
              <title>Struts 2 Application</title>
              <link rel="stylesheet" href="mystyle.css" type="text/css" />
         </head>
         <body>
         <h1> Error..! </h1>
         This error page is being shown because any of following reasons :
         <ul class="boldred">
         <li>Filed(s) left blank.</li>
         <li>Invalid Data Entered.(For examples: String in place of Integer.)</li>
         </ul>     
    </body>
    </html>struts.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd">
    <struts>
         <include file="struts-default.xml"/>
         <package name="default" extends="struts-default">
              <action name="ClientAction" class="com.kogent.action.ClientAction">
                   <result name="success">/client.jsp</result>
                   <result name="error">/error.jsp</result>
                   <result name="input">/error.jsp</result>
              </action>
         </package>
    </struts>ClientAction.java
    // Java Document
    package com.kogent.action;
    import com.opensymphony.xwork2.*;
    import com.opensymphony.xwork2.ActionSupport;
    public class ClientAction extends ActionSupport
         String name;
         int age;
         int salary;
         public String getName()
              return name;
         public void setName(String name)
              this.name = name;
         public int getAge()
              return age;
         public void setAge(int age)
              this.age = age;
         public int getSalary()
              return salary;
         public void setSalary(int salary)
              this.salary = salary;
         public String execute() throws Exception
              if(getName().equals("") || getName()==null || getAge()==0 || getSalary()==0)
                   return ERROR;
              else
                   return SUCCESS;
    }And I kept all jar files in lib folder of WEB-INF

  • Form Based Authentication on Tomcat with custom index.jsp page...

    Hi there ppl,
    I've got Form Based Authentication working correctly on my Tomcat server but I want to override the default generated index.jsp after successfully logging on. I've tried placing my own index.jsp in the directory that's restricted, but its only overridden by the default one when successfully logged on which displays:
    "Authentication Mechanism FORM"
    This means having to navigate by typing the url in the address bar to another page which is gets really annoying afterawhile.
    Any help on this would be much appreciated,
    thanks already

    Yes there's a default generated index.jsp page that I'm having trouble overriding with one of my own. Have you used Form Based Authentication before? To do so you have edit the WEB-INF/web.xml file by adding:
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Secure Area</web-resource-name>
    <url-pattern>/test/secure/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>admin</role-name>
    </auth-constraint>      
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/test/secure/loginpage.jsp</form-login-page>
    <form-error-page>/test/secure/errorpage.jsp</form-error-page>
    </form-login-config>
    </login-config>
    When you attempt to first go to any page in my /test/secure/ directory you get redirected to the /test/secure/loginpage.jsp where you have to login as a tomcat user, when succesfully logged on you get redirected to an index.jsp page which is NOT the one I created in test/secure/index.jsp. Even when I type in the url to go to my own test/secure/index.jsp I still don't get my own one that exists there, but instead get the default one that's generated that displays:
    "Authentication Mechanism FORM".
    Hope that makes more sense.
    I've tried restarting tomcat but it makes no difference.

  • Very strange index.jsp problem (Apache2 + Jboss/Tomcat)

    I've been working on this for 6 hours until the current time of 4.30 am - any help is very much appreciated.
    I (thought) I had successfully integrated Jboss/Tomcat with apache 2 using mod_jk 1.2.8 - and added an alias for jmx-console. But I just can't make index.jsp serve when loading the default directory. I also tried with a fairly straightforward jsp site I have 'ConnectSite' (just a conference name).
    I have created deployment and alias called connect, results
    http://localhost:8080/ConnectSite [success]
    http://localhost/ConnectSite/index.jsp [success]
    http://localhost/ConnectSite/ [fail] - Apache treats it like any other directory.
    But what's really strange is if i take out mod_jk from apache and leave in DirectoryIndex index.jsp - then apache will serve the .jsp file unprocessed. All the static content is served by apache just fine.
    I am baffled. Should I just try proxy for the moment.
    Many Thanks,
    -Mike D
    Config files -
    Apache section (Have of course added DirectoryIndex index.jsp)
    LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
    <IfModule mod_jk.c>
    JkWorkersFile /usr/local/apache2/workers.properties
    JkLogFile /usr/local/apache2/logs/mod_jk.log
    JkLogLevel error
    JkOptions +ForwardDirectories
    DirectoryIndex index.jsp
    # JkAutoAlias /usr/java/jboss/server/default/deploy
    # send all requests ending in .jsp to worker1
    JkMount /*.jsp foo
    # send all requests ending /servlet to worker1
    JkMount /*/servlet/ foo
    </IfModule>
    (running apachectl configtest returns syntax OK)
    workers.properties ...
    # Tomcat and Java configuration
    workers.tomcat_home=/usr/java/jboss/server/default/deploy/jbossweb-tomcat50.sar
    workers.java_home=/usr/java/jdk
    ps=/
    worker.list=foo
    # Definition for local worker using AJP 1.3
    worker.foo.type=ajp13
    worker.foo.host=localhost
    worker.foo.port=8009
    worker.foo.cachesize=20

    Workaround for anyone interested:
    In apache conf:
    use JkMount /ContextName/ to explicitly send each directory with index.jsp to Tomcat

  • Tomcat is starting but the index.jsp is not showing

    I just installed the apache tomcat 4.1.24. Then I run the startup.bat. The server is starting with no errors. I go to the localhost and the jsp page is not showing (http://localhost:8080/index.jsp). The server do not complain....? Grrr.
    Please help...I'm going nuts.
    Cheers
    Seb

    hey seb,
    Im running Tomcat 4 (not sure the exact version) and when I try and
    access the URL http:\\localhost:8080\index.jsp I get the HTTP Status
    404 page, However, I have been getting Tomcat to work previously with
    the URL http:\\localhost:8080\index.html.
    I hope this has been helpful.
    Jason.

  • Jsp-file="/WEB-INF/index.jsp" cannot load

              Hi,
              I am defining a servlet in the web.xml file using the following syntax.
              <servlet>
              <servlet-name>TestServlet</servlet-name>
              <jsp-file>/WEB-INF/index.jsp</jsp-file>
              </servlet>
              Then when I tried to access this servlet, I get a 404 not found error. The weblogic.log
              file complains with the following message:
              java.io.FileNotFoundException: no resource '/WEB-INF/index.jsp' in servlet context
              root '/home/dev/web/apps/MyApp'
              at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:293)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
              My jsp file in located in /home/dev/web/apps/MyApp/WEB-INF/index.jsp, I know weblogic
              doesn't support jsp under WEB-INF, however, according to Sun's Servlet specification,
              anything under web-inf should be accessible to getResource and getResourceAsStream
              method, and it looks like that's what weblogic implementation is using (from the
              error message). So I am not sure whether this is weblogic issue or I am doing
              something wrong. By the way, the above config in web.xml is supported in Tomcat.
              

              What version of WebLogic will incorporate Servlet spec 2.4 and allow jsp under
              web-inf?
              Chris
              "Narayan Anand" <[email protected]> wrote:
              >Regarding S-12864 - It will not work as stated in the solution in any
              >of
              >the available releases of WLS.
              >Please ignore that. I already informed the concerned person to correct
              >the
              >solution.
              >
              >The story behind this is:
              >Our engineering team is already aware of the fact that the request
              >dispatcher calls (include/forward) for a jsp under the web-inf directory
              >works in other app server - Tomcat.
              >Our engineering team had a discussion with the servlet/jsp spec experts
              >group for clarifying the spec and the tomcat implementation.
              >So the servlet expert group has decided to explicitly state in the spec
              >that
              >RD.forward() and RD.include() should be allowed access to resources in
              >/WEB-INF and it will be included in servlet spec 2.4. For now, WLS works
              >as
              >per the current specification.
              >
              >So far the story is - WLS will implement this in our next major release
              >which will be compliance with servlet spec 2.4.
              >In all the currently available WLS releases, accessed to a jsp under
              >the
              >WEB-INF directory is prohibited.
              >
              >--
              >Best Regards,
              >Narayan Anand
              >Developer Relations Engineer
              >BEA Systems, Inc.
              >
              >
              >
              >
              >
              >
              >"Ming Fan" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >> Thanks for the explanation. So this means weblogic treats such mapped
              >servlet request
              >> as a direct request to the jsp under WEB-INF, instead of forwarding
              >it to
              >some
              >> JspCompiler servlet and let that compiler servlet use some resource
              >loader
              >to
              >> load the jsp and then compile. I believe that latter implementation
              >approach also
              >> conforms the Servlet spec (it's a different way of treating the request,
              >I
              >guess).
              >>
              >> Now here's another question. According to Web logic Customer Support
              >Solution
              >> ID S-12864 (WLS 6.x - Cannot access JSP under the WEB-INF directory),
              >the
              >servlet
              >> should be able to get a request dispatcher, and then forward the request
              >to the
              >> jsp under WEB-INF. I am still using WLS 5.1, so does the above solution
              >apply
              >> to 5.1 also? It doesn't seem to work with 5.1. So is this a 5.1 problem
              >and I
              >> should upgrade to 6.1?
              >>
              >> Thanks.
              >>
              >> "Narayan Anand" <[email protected]> wrote:
              >> >Hi Ming,
              >> >
              >> >It is legal to put files under WEB-INF directory. But as mentioned
              >in
              >> >the
              >> >spec, it will be available only to servlet code and not directly to
              >client
              >> >request.
              >> >Read the last statement of the same paragraph in section9.5.
              >> >"Since requests are matched to resource mappings case-sensitively,
              >client
              >> >requests for '/WEB-INF/foo', '/WEb-iNf/foo', for example, should not
              >> >result
              >> >in contents of the web application located under /WEB-INF being returned,
              >> >nor any form of directory listing thereof.".
              >> >
              >> >So in your case, when you access the servlet which gets mapped to
              >> >/WEB-INF/your-jspfile, under no condition it should result in display
              >> >of jsp
              >> >contents.
              >> >It is working as per the specification.
              >> >
              >> >I hope this helps.
              >> >
              >> >Regards,
              >> >Narayan Anand
              >> >Developer Relations Engineer
              >> >BEA WebLogic Support
              >> >
              >> >
              >> >
              >> >"Ming Fan" <[email protected]> wrote in message
              >> >news:[email protected]...
              >> >>
              >> >> Actaully there are other ways to solve my problem. But what I am
              >> >interested to
              >> >> know is under the Servlet specification 2.3, is it legal to put
              >jsp
              >> >under
              >> >WEB-INF,
              >> >> define it in <jsp-file> xml tag, and should the JSP compiler be
              >able
              >> >to
              >> >see this
              >> >> as a resource. Apparently, Tomcat allows this behavior, so does
              >this
              >> >mean
              >> >Tomcat
              >> >> conforms better to the Servlet spec, or Tomcat is wrong but Weblogic
              >> >conforms
              >> >> better? Can anyone let me know what's the correct interpretation
              >of
              >> >section 9.5
              >> >> in servlet spec 2.3?
              >> >>
              >> >>
              >> >> "Jerrie Pineda" <[email protected]> wrote:
              >> >> >Try moving it to a different dir. You normally don't place jsp
              >file
              >> >> >in the
              >> >> >WEB-INF dir.
              >> >> >
              >> >> >
              >> >> >"Ming Fan" <[email protected]> wrote in message
              >> >> >news:[email protected]...
              >> >> >>
              >> >> >> Hi,
              >> >> >>
              >> >> >> I am defining a servlet in the web.xml file using the following
              >> >syntax.
              >> >> >> <servlet>
              >> >> >> <servlet-name>TestServlet</servlet-name>
              >> >> >> <jsp-file>/WEB-INF/index.jsp</jsp-file>
              >> >> >> </servlet>
              >> >> >>
              >> >> >> Then when I tried to access this servlet, I get a 404 not found
              >> >error.
              >> >> >The
              >> >> >weblogic.log
              >> >> >> file complains with the following message:
              >> >> >> java.io.FileNotFoundException: no resource '/WEB-INF/index.jsp'
              >> >in
              >> >> >servlet
              >> >> >context
              >> >> >> root '/home/dev/web/apps/MyApp'
              >> >> >> at
              >weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:293)
              >> >> >> at
              >> >weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
              >> >> >> at
              >> >>
              >>
              >>>weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:
              >2
              >> >0
              >> >> >0)
              >> >> >> at
              >> >>
              >>
              >>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
              >v
              >> >a
              >> >> >:115)
              >> >> >> at
              >> >>
              >>
              >>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextI
              >m
              >> >p
              >> >> >l.java:922)
              >> >> >> at
              >> >>
              >>
              >>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextI
              >m
              >> >p
              >> >> >l.java:886)
              >> >> >> at
              >> >>
              >>
              >>>weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletConte
              >x
              >> >t
              >> >> >Manager.java:269)
              >> >> >> at
              >> >>
              >>
              >>>weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380
              >)
              >> >> >> at
              >> >> >weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
              >> >> >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
              >> >> >>
              >> >> >> My jsp file in located in
              >/home/dev/web/apps/MyApp/WEB-INF/index.jsp,
              >> >> >I
              >> >> >know weblogic
              >> >> >> doesn't support jsp under WEB-INF, however, according to Sun's
              >Servlet
              >> >> >specification,
              >> >> >> anything under web-inf should be accessible to getResource and
              >> >> >getResourceAsStream
              >> >> >> method, and it looks like that's what weblogic implementation
              >is
              >> >using
              >> >> >(from the
              >> >> >> error message). So I am not sure whether this is weblogic issue
              >> >or
              >> >> >I am
              >> >> >doing
              >> >> >> something wrong. By the way, the above config in web.xml is
              >supported
              >> >> >in
              >> >> >Tomcat.
              >> >> >
              >> >> >
              >> >>
              >> >
              >> >
              >>
              >
              >
              

  • Error in processing [/useradmin/index.jsp]

    In our PI system 7.1, when we try the below url
    http://hostname.xx.xxx.com:50000/useradmin/index.jsp
    we are getting the below error
    "500   Internal Server Error
      SAP NetWeaver Application Server 7.11 / AS Java 7.11 
      Error: "Error in processing [/useradmin/index.jsp] in application [sap.com/com.sap.security.core.admin]."
      Troubleshooting Guide https://sdn.sap.com/irj/sdn/wiki?path=/display/jsts/home
    Details: "The WebApplicationException log ID is [AA4FB520760500F20000000000AC0064]."
    the Default trace file has the below error message:
    #2.#2011 10 10 16:23:19:399#0-400#Error#com.sap.engine.services.servlets_jsp.ISE500#
    com.sap.ASJ.web.000500#BC-JAS-SEC-UME#sap.com/com.sap.security.core.admin#AA4FB520760500EF0000000300AC0064#4047350000000004#sap.com/com.sap.security.core.admin#com.sap.engine.services.servlets_jsp.ISE500#J2EE_GUEST#0##B15C71CBF37D11E0C7CC0000003DC1F6#b15c71cbf37d11e0c7cc0000003dc1f6#b15c71cbf37d11e0c7cc0000003dc1f6#0#Thread[HTTP Worker [@501859437],5,Dedicated_Application_Thread]#Plain##
    500 Internal Server Error is returned for HTTP request [http://hostname.xx.xxxx.com:50000/useradmin/index.jsp]:
      component [jsp],
      web module [useradmin],
      application [sap.com/com.sap.security.core.admin],
      DC name [sap.com/com.sap.security.core.admin],
      CSN component[BC-JAS-SEC-UME],
      problem categorization [com.sap.ASJ.web.000137],
      internal categorization [-1555343295].
    [EXCEPTION]
    com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Internal error occurred while parsing the jsp page [/usr/sap/P1X/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.security.core.admin/servlet_jsp/useradmin/root/index.jsp].
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:200)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
            at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
            at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:486)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:397)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
            at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:83)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
            at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
            at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
            at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
            at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
            at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
    Caused by: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: [/usr/sap/P1X/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.security.core.admin/servlet_jsp/useradmin/root/index.jsp]
            at com.sap.engine.services.servlets_jsp.jspparser_api.JspParser.generateJspClass(JspParser.java:160)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:192)
            ... 37 more
    Has anyone faced this issue?
    Regards
    Senthil

    Hi,
    Please check with your Basis Team if User Management services and applications are running. It is under Operations Managemenr -> Systems -> Start & Stop.
    Regards,
    Jenny

  • Tomcat 404 error while running jsp

    Hi all,
    I am trying to deploy a project on our intranet server. But when i give the url
    on the browser it gives the error " HTTP ERROR 404 resourse not available"
    It is not able to find the location o the index page.
    Rest other projects which are already there in webapps are working well.
    But now when i m trying to upload any new jsp or html , it gives the 404 error.
    I have stored the jsp file inside webapps folder. I m using Jakarta tomcat 4.1.18 version.

    as in "webapps/index.jsp"? You don't put files in webapps, you put files in an web app directory, which goes in webapps, e.g. "webapps/myapp/index.jsp"

  • Problem with index.jsp and JSF

    hi all
    I have an index page "index.jsp" in the root directory of deployed project and in that page there is just a <jsp:forward> tag:
    <jsp:forward page="pages/mainPage.jsf" />I am using facelets and I have a template.xhtml
    when I run the browser nothing will be desplayed. by looking at Tomcat console, it seems that it renders the template.xml. if I place the path of the page directly in the address bar of browser, everything is OK
    http://localhost:8080/myproject/pages/mainPage.jsf
    but if I put following, it doesnt work.
    http://localhost:8080/myproject/
    I set the welcome-page to index.jsp in web.xml, and my pages are located in a directory namely "pages"
    any help will be appreciated.
    regards
    Mohammad

    I'm not sure what the problem is exactly. This topic might help though:
    http://forum.java.sun.com/thread.jspa?threadID=696586
    Be sure to read right to the bottom. You may be able to try a couple other things.
    Hope this helps,
    CowKing

  • Image with foreign characters in name won't display

    I have an image on my drive whose name has foreign characters ("c�pia de frente.jpg"). To display the image my JSP reads the image name from the database and generates the following html:
    <img src="../pictures/c�pia de frente.jpg">The page then displays a broken image icon for this image. Images in the same list which do not have foreign chars get displayed accurately. When I choose "show image.." in my browser I see that the image name has been rewritten into the following: c%C3%B3pia%20de%20frente.jpg. The rewriting that will display the image is instead c%F3pia%20de%20frente.jpg. I found the correct rewriting on another of my JSP where the image with the foreign chars actually gets displayed correctly although the code to generate the html is the same on both pages and looks something like this (simplified):
    <logic:iterate id="listelement" name="list" property="rows" scope="request" type="org.apache.commons.beanutils.DynaBean">
    <%         
    out.write("<img src=\"../pictures/"+listelement.get("name").toString()+"\">");
                             %>  <br>                     
                            </logic:iterate> Every image that doesn't have foreign chars in its name gets displayed accurately but images with foreign chars in their names won't display. What am I doing wrong?
    Thanks
    Niklas

    Thanks, but it doesn't seem necessary to replace foreign characters. It works without replacing in one place but not in another which is confusing. I think it is something with the enconding but can't see what the difference is between the working and non-working code. In both pages I have put <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">I'd greatly appreciate any more suggestions to solve this problem.

  • A problem to display a jsp Using MVC approach

    Hello everybody
    I have got a problem with RequestDispatcher and I would like to get your help.
    I excpect the servlet to display the index.jsp page but the server displays a blank page. web.xml's <servlet> and <servlet-mapping> are set correctly at this TestServlet servlet. what could be the problem?
    my code looks like this:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class TestServlet extends HttpServlet{
         public void doGet(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {     
         String url = "/index.jsp";     
         ServletContext context = getServletContext();
         RequestDispatcher dispatcher = context.getRequestDispatcher(url);
                   dispatcher.forward(request, response);     }
    public void doPost(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException {
              //doGet(request,response);
    PS: please help me, this step blocks me for several weeks.
    thank you.

    Hello Thomas, thanks for your answer.
    >
    Thomas Jung wrote:
    > Does this problem happen in IE for all different MIME Types?  I can't recreate your problem as the same functionality works perfectly fine in my installation of IE.
    It does happen for Gif-, Jpeg- and Pdf-binaries (other Mime-types I haven't tested yet) and it is IE 7 I am using.
    > Do you have any browser plug-ins - like Anti-Virus scanners that might be interupting? 
    There are no relevant (as far as I can tell) plug-ins especially no anti-virus scanners loaded.
    > >however an export of the binary stream shows the binary is incomplete.
    > This could be indicative of the problem or it might be perfectly normal.  What trace tool are you using? 
    > It might just be the cause of a multi-part MIME.
    The trace-tool is HttpWatch.
    I think this correlates with the fact that the tab closes right away (i.e. before the stream has been downloaded completly).
    > Can you download attachments in IE from other websites?  There really isn't anything special that SAP is doing in Web Dynpro from a browser side.
    I can download/open Pdfs from SDN for example
    Unfortunately I still haven't got a clue what happens. The code-snipplet producing the response looks like this
    METHOD onactionopen_document .
      DATA: file TYPE zrms_st_file.
      file = wd_this->get_file( ).
      cl_wd_runtime_services=>attach_file_to_response(
          i_filename      = file-filename
          i_content       = file-binary
          i_mime_type     = file-mimetype
          i_in_new_window = abap_true ).
    ENDMETHOD.
    where the type zrms_st_file has three components: binary (type tr_xstring), filename and mimetype (both dstring). Debugging (breakpoint right before method is called) shows that the mimetype is correct.
    Regards,
    Sebastian

  • Blank index.jsp and some jsf pages within WebContent folder

    Hi dear all,
    I have a problem with a blank index.jsp forwarding to a jsf file i.e. <jsp:forward page="/pages/xxx.jsf" />
    I have tested with index.html (is showing with right contents), index.jsp (page loaded but blank), index.jsf (page loaded but blank).
    Web Server details : Tomcat 6.0.18 running on Linux.
    Folder structure is
    Webapps
    |-----<application>
    |---------WebContent
    |---------pages (same level as WEB-INF)
    |---------WEB-INF (same level as WEB-INF)
    within WEB-INF, web.xml is as follows:
    ============================
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    <!-- Faces Servlet -->
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
         <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    </web-app>
    But direct access to jsf files within pages directory is showing, which is not desirable.
    Can someone advise me why?
    Many thanks and have a good day,
    May

    Mei_Liew wrote:
    I have a problem with a blank index.jsp forwarding to a jsf file i.e. <jsp:forward page="/pages/xxx.jsf" />You forgot to tell more about the problem. What happens? What happens not?

  • Bea weblogic can't see index.jsp?

    For some weird reason bea weblogic has started to act strange... it doesn't automatically go into 'index.jsp' when i access /MyWebapplication/someotherdir/index.jsp
    I've tried index.html too but i just get a 404?? i verified the same web project on tomcat and it doesn't give me the same error.

    after inspecting it a bit more i can access /MyWebapplication/someotherdir/index.jsp directly i.e.. it doesn't auto redirect to the index.jsp. In bea weblogic web application configurations if i have it listed as:
    MyWebapplication_war
    that is when i can't access it but if it appears as:
    appsdirMyWebapplication_war
    it works fine...
    in the first instance i used the upload function in the second one i dropped it directly in the application directory... it shouldn't make a difference which is strange??

  • How to to display the JSP report in Application Server ? URL for displaying

    Hi Experts,
    Last week, we tried to change the memory of Response Cache and buffer Cache to increase the speed of the Excel report. But it didn’t work out.
    And from the below link, I understood we can convert the oracle 9i report to excel by converting the Oracle 9i report to JSP report.
    http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/index.html
    I’ve converted the Oracle 9i report to JSP report and finding the way to display the JSP report using Application Server. I am trying to find out the REPORT URL of simple JSP report and using Reports Servlet . Right now I am trying to display the JSP report in Application Server.
    Please suggest the URL for displaying the JSP report
    Thanks & Regards

    Hi,
    You can directly call you .jsp file, http://<host>:<domain>:<port>/<jsp report path>?userid=<if your report requires userid>/<pwd>
    Refer to metalink documents:
    Frequently Asked Questions About JSP Reports [ID 301714.1]
    Here --> Question 4. How do I execute a JSP report?
    Also refer, How to deploy JSP reports [ID 220943.1]
    Hope this helps.
    Regards,
    Mithun

  • Safari won't display a Bank website properly -

    When Safari loads this Chinese Bank website - https://mybank.icbc.com.cn/icbc/perbank/index.jsp
    (BTW my Mac is set in English as major language):
    the 'Account Number' column shows ok, but the 'Password' & 'certify code' columns are closed and blocked. It won't let me key in anything.
    I wonder if it is:
    1. safari blocks pop-up windows?
    2. this bank website requires MS active X?
    not sure how to fix it
    Thx,
    Jake

    Hi and Welcome to Apple Discussions...
    Safari only blocks pop up windows if you have it set to. From the Safari Menu Bar, click Safari/ - Block Pop Up Windows But that isn't relevant to this area on this site you are referring to. A Pop Up window in most cases are unwanted advertisements.
    You could try Safari maintenance just in case.
    From the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
    From the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset.
    Also, if you are running Safari in 64 bit mode, try running in 32-bit mode instead. Right or control click the Safari icon in the Applications folder, then click: Get Info In the Get Info window click the black disclosure triangle next to General so it faces down. Select 32 bit mode. Also, (in that same window) make sure Safari is NOT running in Rosetta.
    Active X is a Microsoft (.exe) file and cannot be read by the Mac OS X.. it is Windows based technology. You would have to be running Windows on a BootCamp parition and use Internet Explorer to use Active X.
    Carolyn
    Message was edited by: Carolyn Samit

Maybe you are looking for