Servlet Execution Problem

I have installed Apache Tomcat/6.0.10. Can you please tell me what is the process for running servlet in it. There is no any problem in the compilation of servlet.
Rakesh Kumar

see this thread
Don't just re-post the question because you didn't like the answer you got before. Looks like a perfectly acceptable answer to me

Similar Messages

  • Servlet execution threw an exception/NoClassDefFoundError

    Hi there, could anyone help me - I'm already desperated !
    I always get an error message running (or better trying to run) a servlet on my linux webserver. Servlet worked fine on my Windows ME Apache.
    Does anyone know, what the following message mean ? (My English is not so good, but better then my Java-Language)
    and (more important) does anyone know what to do (setting classpath ??).
    I'm thankfull for any advice !
    Best wishes
    Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
         at java.lang.Thread.run(Thread.java:484)
    root cause
    java.lang.NoClassDefFoundError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
         at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1011)
         at RChartServlet.doGet(RChartServlet.java:147)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
         at java.lang.Thread.run(Thread.java:484)

    Just hit the same problem (Hopefully you've solved it by now, but others may follow). The problem is down to the server running without any kind of graphics environment. When you start using java.awt classes it tries to load details about the current graphics environment (expecting you to do screen stuff) and there isn't one.
    Sun have noticed this and, in 1.4 and above, you can cause a minimal graphics environment to be created (suitable for drawing on BufferedImage). You need to add to the java command that starts your server the parameter
    -Djava.awt.headless=true
    If we're talking Tomcat the best place for it is probably the JAVA_OPTS variable in the startup scripts.
    "Headless" means you're running without a screen, mouse etc..
    The previous workarround was to add a valid looking DISPLAY environment variable so that the X-Windows stuff would be avaiable.

  • How to prevent re-loading the jsp before servlet execution gets over

    Hi,
    From jsp, I am calling a function in js. From javascript function, I am calling a servlet in background frame after doing client-side validation. Before the servlet execution gets over, javascript function is getting over and it starts reloading the jsp again.
    I want to restrict the re-loading of jsp till the background servlet execution gets over.
    In background servlet, I am doing query execution.
    Its urgent. Please help me with this question.
    Thanks in advance,
    Sri

    For the time being, one suggestion would be to time how long the sql statement takes to execute. Lets say 1.5 seconds.
    Go into your javascript function and add say a 1.5 + .5 = 2.0 second delay before the javascript function completes (submits the page).
    This is a temporary fix. I doubt there is a better fix to this without knowing a great deal of AJAX and how it handles asynchronous communications.
    I don't know what the javascript function for creating a 2.0 second delay, but I imagine there is one in a javascript book.
    Once you implement the temporary fix above, I suggest you redesign your project to avoid these asynchronous problems by treating
    all your JSP pages as simple display pages and not embed any business logic in them (or in the javascripts). All processing should be done back on the server via servlets.

  • Javax.servlet.ServletException: Servlet execution threw an

    Hi All,
    First time posting, I'm hoping I'm in the right section. The above overflow appears to be caused by something having to do with certs or security. The basic app (its an online file storage, web accessible) continues to function after this, but uploads break and are unusable. We use tomcat/Apache, and our Apache ssl certs are valid. Below is the stack trace (at least a portion), I've done a few google searches, but I'm boondoggled. Any advice would really be appreciated - Chris
    root cause
    java.lang.StackOverflowError
    java.lang.ClassLoader.findBootstrapClass(Native
    Method)
    java.lang.ClassLoader.findBootstrapClass0
    (ClassLoader.java:723)
    java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    java.lang.ClassLoader.loadClass(ClassLoader.java:292)
    sun.misc.Launcher$AppClassLoader.loadClass
    (Launcher.java:265)
    java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    org.apache.catalina.loader.WebappClassLoader.loadClas
    s(WebappClassLoader.java:1255)
    org.apache.catalina.loader.WebappClassLoader.loadClas
    s(WebappClassLoader.java:1189)
    java.security.Security.doGetImpl(Security.java:1122)
    java.security.Security.doGetImpl(Security.java:1083)
    java.security.Security.getImpl(Security.java:1044)
    java.security.KeyFactory.getInstance
    (KeyFactory.java:108)
    sun.security.x509.X509Key.buildX509Key
    (X509Key.java:200)
    sun.security.x509.X509Key.parse(X509Key.java:150)
    sun.security.x509.CertificateX509Key.<init>
    (CertificateX509Key.java:58)
    sun.security.x509.X509CertInfo.parse
    (X509CertInfo.java:692)
    sun.security.x509.X509CertInfo.<init>
    (X509CertInfo.java:155)
    sun.security.x509.X509CertImpl.parse
    (X509CertImpl.java:1630)
    sun.security.x509.X509CertImpl.<init>
    (X509CertImpl.java:286)
    sun.security.provider.X509Factory.engineGenerateCerti
    ficate(X509Factory.java:94)
    java.security.cert.CertificateFactory.generateCertifi
    cate(CertificateFactory.java:389)
    sun.security.pkcs.PKCS7.parseSignedData
    (PKCS7.java:267)
    sun.security.pkcs.PKCS7.parse(PKCS7.java:141)
    sun.security.pkcs.PKCS7.parse(PKCS7.java:110)
    sun.security.pkcs.PKCS7.<init>(PKCS7.java:92)
    sun.security.util.SignatureFileVerifier.<init>
    (SignatureFileVerifier.java:64)
    java.util.jar.JarVerifier.processEntry
    (JarVerifier.java:261)
    java.util.jar.JarVerifier.update
    (JarVerifier.java:194)
    java.util.jar.JarFile.initializeVerifier
    (JarFile.java:251)
    java.util.jar.JarFile.getInputStream
    (JarFile.java:313)
    org.apache.catalina.loader.WebappClassLoader.findReso
    urceInternal(WebappClassLoader.java:1791)
    org.apache.catalina.loader.WebappClassLoader.findClas
    sInternal(WebappClassLoader.java:1575)
    org.apache.catalina.loader.WebappClassLoader.findClas
    s(WebappClassLoader.java:860)
    org.apache.catalina.loader.WebappClassLoader.loadClas
    s(WebappClassLoader.java:1307)
    org.apache.catalina.loader.WebappClassLoader.loadClas
    s(WebappClassLoader.java:1189)
    java.security.Security.doGetImpl(Security.java:1122)
    java.security.Security.doGetImpl(Security.java:1083)
    java.security.Security.getImpl(Security.java:1044)
    java.security.KeyFactory.getInstance
    (KeyFactory.java:108)
    sun.security.x509.X509Key.buildX509Key
    (X509Key.java:200)
    sun.security.x509.X509Key.parse(X509Key.java:150)
    sun.security.x509.CertificateX509Key.<init>
    (CertificateX509Key.java:58)
    sun.security.x509.X509CertInfo.parse
    (X509CertInfo.java:692)
    sun.security.x509.X509CertInfo.<init>
    (X509CertInfo.java:155)
    sun.security.x509.X509CertImpl.parse
    (X509CertImpl.java:1630)
    sun.security.x509.X509CertImpl.<init>
    (X509CertImpl.java:286)
    sun.security.provider.X509Factory.engineGenerateCerti
    ficate(X509Factory.java:94)
    java.security.cert.CertificateFactory.generateCertifi
    cate(CertificateFactory.java:389)
    sun.security.pkcs.PKCS7.parseSignedData
    (PKCS7.java:267)
    sun.security.pkcs.PKCS7.parse(PKCS7.java:141)
    sun.security.pkcs.PKCS7.parse(PKCS7.java:110)
    sun.security.pkcs.PKCS7.<init>(PKCS7.java:92)
    sun.security.util.SignatureFileVerifier.<init>
    (SignatureFileVerifier.java:64)
    java.util.jar.JarVerifier.processEntry
    (JarVerifier.java:261)
    java.util.jar.JarVerifier.update
    (JarVerifier.java:194)
    java.util.jar.JarFile.initializeVerifier
    (JarFile.java:251)
    java.util.jar.JarFile.getInputStream
    (JarFile.java:313)
    org.apache.catalina.loader.WebappClassLoader.findReso
    urceInternal(WebappClassLoader.java:1791)
    org.apache.catalina.loader.WebappClassLoader.findClas
    sInternal(WebappClassLoader.java:1575)
    org.apache.catalina.loader.WebappClassLoader.findClas
    s(WebappClassLoader.java:860)
    org.apache.catalina.loader.WebappClassLoader.loadClas
    s(WebappClassLoader.java:1307)
    org.apache.catalina.loader.WebappClassLoader.loadClas
    s(WebappClassLoader.java:1189)
    java.security.Security.doGetImpl(Security.java:1122)
    java.security.Security.doGetImpl(Security.java:1083)
    java.security.Security.getImpl(Security.java:1044)
    java.security.KeyFactory.getInstance
    (KeyFactory.java:108)
    sun.security.x509.X509Key.buildX50
    --- message truncated ---

    Dear All,
    I am facing the same kind of problem.
    Here are the exception details
    StandardWrapperValve[TAPSendMsg]: Servlet.service() for servlet TAPSendMsg threw exception
    javax.servlet.ServletException: Servlet execution threw an exception
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:534)
    ----- Root Cause -----
    java.lang.OutOfMemoryError
    Please help me to solve the same.
    Thanks in advance
    Cham

  • Servlet Compilation Problem !

    Hi,
    I am just starting to learn servlets and I got problem in compiling them. I got compilation error in
    import javax.servlet.*;statement. Seems that the compiler cannot find the servlet package. I got J2EE 1.4 beta installed on my machine but there is no servlet.jar package. I am using J2SDK 1.4.1_02, J2EE 1.4 beta and Tomcat 4.1.24.
    Can anyone help me with my servlet compilation problem?
    Thanks in advance!
    Josh

    servlet.jar is here :
    <tomcatdir>\common\lib
    add it to your compiler classpath

  • Servlet chaining problem..

    import java.io.*;
        import javax.servlet.*;
        import javax.servlet.http.*;
        public class Deblink extends HttpServlet {
          public void doGet(HttpServletRequest req, HttpServletResponse res)
                                       throws ServletException, IOException {
            String contentType = req.getContentType();  // get the incoming type
            if (contentType == null) return;  // nothing incoming, nothing to do
            res.setContentType(contentType);  // set outgoing type to be incoming type
            PrintWriter out = res.getWriter();
            BufferedReader in = req.getReader();
            String line = null;
            while ((line = in.readLine()) != null) {
              line = replace(line, "<BLINK>", "");
              line = replace(line, "</BLINK>", "");
              out.println(line);
          public void doPost(HttpServletRequest req, HttpServletResponse res)
                                        throws ServletException, IOException {
            doGet(req, res);
          private String replace(String line, String oldString, String newString) {
            int index = 0;
            while ((index = line.indexOf(oldString, index)) >= 0) {
              // Replace the old string with the new string (inefficiently)
              line = line.substring(0, index) +
                     newString +
                     line.substring(index + oldString.length());
              index += newString.length();
            return line;
    What is pre request fo above code to work.
    I had tried this many time but it is not working, what will be calling servlet look like

    And can you explain why your title is "Servlet chaining problem"?

  • Second Time, RFC execution Problem!

    Hi all,
    Has any one encountered this problem, when calling RFC First time fine and getting data from BAPI, when i call same RFC again, Second Time, RFC execution Problem!. Any idea!, Now i restarted server, that may cause the problem. Other than this, please give me your idea.
    Thanks
    Ravi Golla

    Hi Bhavik,
    <b>In View Controller:</b>
    public void onActionCreateProject(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionCreateProject(ServerEvent)
        wdThis.wdGetArchCompController().CreateProject();
         wdThis.wdFirePlugOutToProjectCreationResult();
        //@@end
    <b>In Custom Controller:
    </b>
    wdDoInit()
    __Arch__Arm_Project_Create_Input create = new __Arch__Arm_Project_Create_Input();
         wdContext.node__Arch__Arm_Project_Create_Input().bind(create);
    public void CreateProject( )
        //@@begin CreateProject()
         try
                             wdContext.current__Arch__Arm_Project_Create_InputElement().modelObject().execute();
                             wdContext.nodeOutput().invalidate();
                        catch(WDDynamicRFCExecuteException ex)
                             wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(ex.toString());
                             ex.printStackTrace();
        //@@end
    I am using other functional modules they all working fine, this is one only has problem
    Thanks  Bhavic.
    Regards
    Ravi

  • Javax.servlet.ServletException: Servlet execution threw an exception

    Hi guys...
    I got an error message after I click a button on my page. Before my action class called, servlet throw an exception.
    this is the error message from my eclipse console.
    15:31:31,062 INFO  [STDOUT] javax.servlet.ServletException: Servlet execution threw an exception
    15:31:31,062 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:275)
    15:31:31,062 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at roll.mov.j2ee.common.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:167)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at roll.mov.j2ee.common.filters.PersistFilter.doFilter(PersistenceFilter.java:160)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
    15:31:31,156 INFO  [STDOUT]      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    15:31:31,156 INFO  [STDOUT]      at java.lang.Thread.run(Thread.java:595)
    15:31:31,156 ERROR [PersistFilter] Exception object caught by servlet persist filter.
    15:31:31,171 ERROR [[action]] Servlet.service() for servlet action threw exception
    roll.mov.j2ee.common.exceptions.RollMovException: Error caught
    begin nested exception:
    javax.servlet.ServletException: Servlet execution threw an exception
    end nested exception:
    javax.servlet.ServletException: Servlet execution threw an exception
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:275)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at roll.mov.j2ee.common.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:167)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at roll.mov.j2ee.common.filters.PersistenceFilter.doFilter(PersistenceFilter.java:160)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
         at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Note:
    - roll.mov.j2ee.common.exceptions.RollMovException is my custom exception.
    - roll.mov.j2ee.common.filters.AuthenticationFilter, implement javax.servlet.Filter
    - roll.mov.j2ee.common.filters.PersistFilter, implement javax.servlet.Filter
    this persistFilter work as proxy hibernate filterFrom my experience, Normally the root cause will be display in the exception. but this error message doesn't provide any information about what's wrong with my code.
    Anyone have an idea?
    Thanks in advamce
    pdt

    Thanks for replying gimbal2.
    in that line, " AuthenticationFilter.java:167" i called the
    filterChain.doFilter(request, response);where filterChain is object of javax.servlet.FilterChain
    I run my jboss with debug mode and i got abit more information about the error.
    the error message:
    2006-07-20 12:56:48,437 WARN  [org.apache.struts.action.RequestProcessor] Unhandled Exception thrown: class java.lang.NullPointerException
    2006-07-20 12:56:48,437 INFO  [STDOUT] ServletException thrown
    2006-07-20 12:56:48,437 INFO  [STDOUT] javax.servlet.ServletException
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    15:31:31,062 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:275)
    15:31:31,062 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at roll.mov.j2ee.common.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:167)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at roll.mov.j2ee.common.filters.PersistFilter.doFilter(PersistenceFilter.java:160)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
    15:31:31,156 INFO  [STDOUT]      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    15:31:31,156 INFO  [STDOUT]      at java.lang.Thread.run(Thread.java:595)
    15:31:31,156 ERROR [PersistFilter] Exception object caught by servlet persist filter.
    15:31:31,171 ERROR [[action]] Servlet.service() for servlet action threw exception
    roll.mov.j2ee.common.exceptions.RollMovException: Error caught
    begin nested exception:
    javax.servlet.ServletException: Servlet execution threw an exception
    end nested exception:
    javax.servlet.ServletException: Servlet execution threw an exception
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:275)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at roll.mov.j2ee.common.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:167)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at roll.mov.j2ee.common.filters.PersistenceFilter.doFilter(PersistenceFilter.java:160)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
         at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)I check in docjar.com, seems like the the line in requestprocessor.java that thrown this exception is
    return (handler.execute(exception, config, mapping, form, request, response));     where handler is org.apache.struts.action.ExceptionHandler
    any idea guys..
    Thanks in advance
    pdt

  • Servlet execution threw an exception

    Hi All,
    I have installed BOBJ Edge SP3 & FP 3.5,  SAP IK SP3 & FP 3.5 on BOBJ server.
    I have  a crystal report which I am trying to access from Infoview.
    I get the following error "An error has occurred: Servlet execution threw an exception "
    Could anyone assist me with the same.
    Regards,
    Rohit

    What is in the tomcat logs? Have you tried to to redeploy? Is this WACS?
    Regards,
    Tim

  • QA08 execution problem

    Hi all,
    QA08 execution problem, one material lying in QA32 stock that is cancel condition only (qa32 status for the material is LTCA, CALC) so I canu2019t deactivate the insp type through QA08, kindly help me to solve the problem.

    Hi,
    Thanks a lot your suggestion is 100% correct, problem has solved.
    Regards,
    Karthick.

  • Servlet RequestDispatch problem

    I am using RequestDispatch to pass control from one servlet to another. My problem is that when I forward the request...
    It passes control to the next servlet which executes all the way through. But then passes control back to the calling servlet which executes the rest of its code from the forward method call and the first servlet is the one that outputs HTML. What am I doing wrong. I don't want the first servlet to regain control..
    RequestDispatcher dispatcher = m_request.getRequestDispatcher(url);
    dispatcher.forward(req,res);

    Do you want RequestDispatcher.forward() to act like System.exit()? I.E., the thread that is called is terminated? If you want the servlet calling forward NOT to execute after the call to forward then return after the forward is complete. Remember that you are forwarding the request, not (necessarily) the thread, so execution of your method will continue unless you explicitly exit.

  • Need to stop servlet execution until another thread completes its execution

    Hi all,
    i created servlet & in the doPost method i run a thread,after the thread end its execution, the servelt takes a result from this thread & do something in it.
    my problem is that , i need to make the servlet stop the execution until this thread ends, & then the servlet continue in executing the remaining code.
    welcome to any help.

    This appears to be a threads related problem. Try Thread.join - http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Thread.html#join()

  • Package execution problem with SQLSERVERAGENT

    Hello,
    I'm having a problem with the execution of SSIS packages: I created locally a package with SQL Server Data Tools, then I deployed it on my server in the SSISDB database. Then I created a job to execute periodically this package with SQL Server Agent. The
    package works fine and does everything I want, but I always get a failed notification. In the global view of the execution I can see:
    Result: "failed"
    Package name: "Package.dtsx"
    Task name: "Package"
    Execution access path: "\Package"
    Every other task returns a success and their execution access path is a subfolder of "\Package". I tried everything I found on the web, check the "Runtime 32bits" box, create a "Job Account" user to execute the package via a
    "Job Account Proxy", modify the ProtectionLevel of the package to "DontSaveSensitive", give the "Job Account" user full rights on everything, nothing works.
    Do you have an idea of what my problem is and how to solve it?
    I must precise that all my packages do the same thing: I have a loop on all the csv files in a folder that for each file loads the contents of the file in my database and the delete the file. I observed that the error message do not appear when there is
    no file in the folder when the package executes.
    Thanks in advance.

    Not sure what error message, is the one "est introuvable.
    Cette erreur est retournée par la collection Connections lorsque l'élément de connexion spécifique est introuvable"?
    So, here is in short: the ForEach Loop once in its beginning of operation "senses" the files currently present in the working folder. If a new file arrives after this stage, it will not see it.
    In your case it seems that the ForEach "saw" a file at the beginning, but it was gone at the time the processing wanted it for execution.
    Like many above indicated, the common practice, call
    it elegant or not is to indeed move the files to a different directory (working folder). This is done to avoid collisions with some other activity in that folder.
    Furthermore, you can have all the files deleted using a ForEach against the working folder as say in
    http://beyondrelational.com/modules/2/blogs/88/posts/10178/ssis-delete-files-from-specified-folder-using-file-system-task-in-sql-server.aspx And there is no need to delete the working folder
    itself.
    The job is run in SQL Server's Agent
    need to be set to run using a domain proxy account as it needs write access to the file system.
    Arthur My Blog

  • Tomcat Servlet Security Problem? : Start Excel with NJAWIN - COMObjects

    I get an exception when I start my programm as servlet , as application it works just fine (when I start it as Servlet in the internal Tomcat from JBuilder it also works fine).
    Application app = new Application(Application.progID); // interfaces built with java2com for Excel
    com.develop.jawin.COMException: 8000ffff: CoCreateInstance for "{024500-00-0000-c000-000000000046}" failed
    at com.develop.jawin.win32.Ole32.CoCreateInstance(Unknown Source)
    at com.develop.jawin.win32.Ole32.GetFromProgID(Unknown Source)
    at com.develop.jawin.DispatchPtr.<init>(Unknown Source)
    at excel2pdf.Excel._Application.<init>(_Application.java:31)
    Actually Excel is started but as SYSTEM and not as my Username. Perhaps there's a problem with the security policy, I already gave all rights to catalina for my whole projekt( each directory of it). Have smb already had this problem? Any Ideas?

    Thanks for answering
    In my case I think I cannot use POI because I need Excel
    and a Virtual Printer , so I can convert excel files with exactly the same
    format to PDF. POI is suppose better idea for creating or manipulating
    OpenOffice files (they are working together with OO on file formats),
    and unfortunately OpenOffice doesnt work fine with charts (I already had
    this solution, openoffice-server and Uno ).
    It must be smth with Tomcat-Configuration or security, because my
    programm is working with the internal tomcat-server of JBuilder, and
    as application too. In both cases Excel is started with my username and
    not SYSTEM (my tomcat server is started as service, perhaps thats why
    by starting excel from my servlet Excel is by user - SYSTEM).

  • Applet-Servlet Communication problem EOFException

    Hi! i´ve been searching and searching through forums because it seems this problem is very common, but none of the solutions i´ve seen so far suits me, so i´m here looking for some help because i´ve been stuck one week with this. First of all sorry if my english isn´t the best... i´m a bit rusty...
    Well, i had some code that worked perfectly, but i needed to perform some changes because i needed the servlet to send more info to the applet, and here started the problems, when i made the changes it started to throw EOFException when i was trying to read the InputStream, and furthermore when i came back to the original code it started to throw the exception in the same place too
    So here i am... don´t know what to do now and i entrust to you to give me some tips.
    Here comes some code. This is the original code, the one that runned but it doesn´t run right now
    Applet:
    public ListasComponentesSeleccionables cargarListasComponentes( ) throws IOException, ClassNotFoundException {
              String serv = "/Desaladora/cargarListasComponentesApplet.do";
              String host = Principal.documentBase.getHost( );
              URL direccion = new URL( "http", host, 8080, serv );
              // Create conection
              URLConnection connection = direccion.openConnection( );
              connection.setDoInput( true ); 
              connection.setDoOutput( true );
              connection.setUseCaches( false );
              connection.setRequestProperty( "Content-Type", "application/x-java-serialized-object" );
              ObjectOutputStream output;
              output = new ObjectOutputStream( connection.getOutputStream( ) );
              output.writeObject( new Boolean(true) );
              output.flush( );
              output.close( );
              ObjectInputStream input = new ObjectInputStream( connection.getInputStream( ) ); //<-- Here is the problem
              ListasComponentesSeleccionables response = new ListasComponentesSeleccionables( );
              response = ( ListasComponentesSeleccionables ) input.readObject( );
              return response;
         }Servlet:
    ublic class CargarListasComponentesAppletAction extends Action {
    public ActionForward execute(     ActionMapping mapping,
                                                     ActionForm form,
                                                     HttpServletRequest request,
                                                     HttpServletResponse response )
                            throws ServletException, IOException, Exception  {
              InitialContext context = new InitialContext();
              SensorManagerService sensor_service;
              ActuatorManagerService actuator_service;
              Globals.LOGGER_SECURITY.debug( "Entering ACTION 'CargarListasComponentesAppletAction'" );
              response.setContentType("application/x-java-serialized-object");
              try
                   ObjectInputStream bufferentrada = new ObjectInputStream(request.getInputStream());
                   Boolean peticionOK = (Boolean)bufferentrada.readObject();
                   ObjectOutputStream buffersalida = new ObjectOutputStream(response.getOutputStream());
                   sensor_service = ( SensorManagerService ) context.lookup( "desaladora/SensorManagerServiceBean/local" );
                   ArrayList<AlarmConnectedSensorDTO> sensorList = sensor_service.findAllSensorsToAlarms();
                   actuator_service = ( ActuatorManagerService ) context.lookup( "desaladora/ActuatorManagerServiceBean/local" );
                   ArrayList<AlarmConnectedActuatorDTO> actuatorList = actuator_service.findAllActuatorsToAlarms();
                   buffersalida.writeObject( crearListasSeleccionables(sensorList, actuatorList) );
                   buffersalida.flush();
              catch(Exception e)
                   System.out.println("Error en la trasmision de datos");
              return null;
         private ListasComponentesSeleccionables crearListasSeleccionables(ArrayList<AlarmConnectedSensorDTO> sensorList,
                    ArrayList<AlarmConnectedActuatorDTO> actuatorList) {
              Vector<Integer> vectorSensores = new Vector<Integer>();
              Vector<Integer> vectorActuadores = new Vector<Integer>();
              for(AlarmConnectedSensorDTO sensor : sensorList) {
                   vectorSensores.add(sensor.getIdSensor( ));
              for(AlarmConnectedActuatorDTO actuator : actuatorList) {
                   vectorActuadores.add(actuator.getIdActuator( ));
              ListasComponentesSeleccionables listasComponentesSeleccionables =
                                  new ListasComponentesSeleccionables(vectorSensores, vectorActuadores);
              return listasComponentesSeleccionables;
    }i´ve been running some test in another computer, and this code simply works, but it doesn´t work in the machine i usually work.
    Maybe someway the stream get corrupt? the info i´ve been trying to send and started throwing the exception may still be in the stream? I don´t know what to think right now.
    Hope someone has any idea, thankyou.

    I dont see the problem. However, I suggest you change this;
    System.out.println("Error en la trasmision de datos"); t
    to e.printStackTrace() to see what it is doing when it stops working.
    I also suggest peppering your code with System.out.println() statements to see what it is doing just before stopping.
    Also, try your code with a brand new file with only a few characters in it. If it works, add to it some of your originial file content until it stops working. This way, you can determine if its the file size that is causing the crash or something in the file content. If all else fails, study java I/O and try some other way to read/write the file. You can also try a different browser. If it works, its the browser. Still having problems? Create a new project with a simple applet and file read/write program and get that working. That way, all the other stuff in your original project isn't in the way.

Maybe you are looking for