404 Error when running a servlet!

hello everyone
I have written a simple servlet that prints hello world.
I have saved it in : c:\program fles\apache tomcat 4.0\webapps\myapps\ web-inf\classes\oz\TestServlet.java
I call it from the browser : http://zaf:8080/myapps/web-inf/classes/oz/TestServlet and i get the message :
" The requested resource (/myapps/web-inf/classes/oz/TestServlet) is not available "
I tried using WEB-INF instead of web-inf but the problem persists.
Does anyone have any idea how to run it?
Any help on this would be appreciated!
Thanks.

Hi maza3 ,
I would like to clarify few of your points:-
1. You have made a directory oz in classes directory and placed the servlet there.
Why did you place the servlet in oz directory
You should place the servlet in oz directory only if the servlet class is in oz package. For that you have to mention the statement package oz; as the first statement of the servlet class TestServlet. Make the changes and recompile the servlet. After you have compiled it you can access this servlet by entering the following URL :-
http://zaf:8080/myapps/servlet/oz.TestServlet
2. If you want to make the URL smaller, you can make the entry in web.xml file as:-
web.xml is :-
<?xml version="1.0" encoding="ISO-8859-1"?>
<!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>
<servlet>
<servlet-name>test</servlet-name>
<servlet-class>zo.TestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>test</servlet-name>
<url-pattern>/test</url-pattern>
</servlet-mapping>
</web-app>
Copy this web.xml in WEB-INF directory.
Now you can access the servlet by the following URL
http://zaf:8080/myapps/test
3. There is another approach. Place the TestServlet(if it is not having package io; statement) directory in classes directory. Then you can access it using the following URL
http://zaf:8080/myapps/servlet/TestServlet
Hope this helps

Similar Messages

  • Receive 404 error when running new application

    I'm using JDeveloper 11.1.1.6.0.
    I am encountering a 404 error when I try running the "Portal" project of a brand new WebCenter Portal Framework application. Previously I was able to run right after the project was created, and a college of mine is able to run right after the new application wizard has compelted, following the same steps that I do. I do not recieve any errors in the weblogic console window however and am at a loss for what is going on. I am able to run applications that I previously had created, but new ones fail. As far as I am aware, no configuration has changed either.
    The steps I am taking:
    -Create new application
    -Name and set default package
    -Set the Applicaiton Template to "WebCenter Portal - Framework Application"
    -hit next
    -Leave on defaults for project 1 name. hit next
    -Leave on defaults for Project 1 Java Settings. hit next
    -Ensure "Configure the application with standard Portal features" is checked on Project1 WebCenter settings. hit next
    -Leave on defaults for Project 2 name. Hit finish
    -Right click on the "Portal" project. Select Run
    -When the browser window opens, I receive the 404 error instead of the default home page with the autogenerated template.
    Does anyone have any idea what might be going on, or any ideas of what I can try to fix the issue?

    Another college of mine recommended checking for stalled deployments on the integrated weblogic server and after removing 4 deployments that were never actually undeployed (despite JDeveloper claiming that they were) the 404 error went away and things started working again.

  • 404 ERROR WHILE RUNNING A SERVLET

    hi
    i have written servlet program that takes a cookie value
    from a HTML page....
    while running the HTML page i have been getting the error
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    Please try the following:
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    Open the localhost:8080 home page, and then look for links to the information you want.
    Click the Back button to try another link.
    Click Search to look for information on the Internet.
    HTTP 404 - File not found
    Internet Explorer
    i have placed my servlet prog at
    c:\aruna\AddCookieServlet
    and html prog is also in there itself
    and i have complied them successfully
    i have been tried with following URLs in my html prog
    http://localhost:8080/servlet/AddCookieServlet
    http://localhost:8080/aruna/servlet/AddCookieServlet
    it would be helpful if someone will give me an immediat response
    thanks

    Hi arunapotti,
    I assume that you have downloaded Java server Web Developement Kit 1.0.1. This is a reference implementation of Servlets 2.1 and JSP1.0 specification.
    But the current version of Servlets is 2.3 and that of JSP is 1.1, and the reference implementation for the same is Tomcat4.0.1. You can download this implementation from the following URL. Like JSWDK it is also available free of cost:-
    http://java.sun.com/products/servlet/download.html
    Once you install it properly in
    C:\jakarta-tomcat-4.0.1
    You can write a servlet as :-
    I wrote a servlet named CentralServlet as :-
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class CentralServlet extends HttpServlet {
    public void doGet(HttpServletRequest req, HttpServletResponse res)
    throws ServletException , IOException {
    doPost(req, res);
    public void doPost(HttpServletRequest req, HttpServletResponse res)
    throws ServletException , IOException {
    PrintWriter out = res.getWriter();
    out.println("Yes you have done it");
    Once you compile this properly place it in directory
    C:\jakarta-tomcat-4.0.1\webapps\srvltWEB-INF\classes\CentralServlet
    where srvlt is the directory created by you, this is the context for your application.webapps will already be there when you have successfully installed Tomcat.
    Within srvlt create WEB-INF and with in WEB-INF create classes where you place your servlet.
    To make srvlt a context you will have to make an entry in server.xml file which you can find at the following location
    C:\jakarta-tomcat-4.0.1\conf\server.xml
    Add the following entry in this xml file.
    <Context path="/srvlt" docBase="srvlt" debug="0" reloadable="true" />
    Also write web.xml is as :-
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!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>
    <servlet>
    <servlet-name>srvlt</servlet-name>
    <servlet-class>CentralServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>srvlt</servlet-name>
    <url-pattern>/main</url-pattern>
    </servlet-mapping>
    </web-app>
    Put web.xml in
    C:\tomcat-4.0.1\webapps\srvlt\WEB-INF\web.xml
    Now restart the webserver and you can access the servlet by passing the following url
    http://localhost:8080/srvlt/main
    =========================================
    If still you have some reason to work with Java Server Web Developement Kit then Post a message, I may help you out in that also. But it is highly recommended that you use Tomcat_4.0.1.
    Hope this helps

  • Error when running XSQL Servlet demo

    Environment:
    Sun Solaris5.7, Apache1.3.12, JRun2.3.3, Oracle8.1.5, IE5
    When clicking "Hello World page", the link to helloworld.xsql, it said "The page cannot be displayed. HTTP500 - Internal server error". There is no entry in Apache error_log. In access_log, it is "Get /xsql/demo/helloworld.xsql HTTP/1.1 500 213".
    When clicking other links, there was another error message "XSQL-011: Error processing XSLT stylesheet: newsstorylist.xsl
    sun.io.CharToByteUTF-8".
    Thank you very much.

    I am having the same problem, by any chance did you solve the problem..
    If so can please let me know the solution ..
    Thanks ..// Manohar //
    null

  • 404 error when hit submit from php file for requested path E:\vise\jqproject\web\errorpages\403_error.htm

    I have a php script that when I hit submit, it submits the form to another php file with a get command.  This worked about a month ago, but this month it's having issues.  This is what the relevant code looks like in the table php file. Running
    table.php shows the table in the browser and has 404 errors when I hit submit.
    table.php:
        <body>  
            <h1> Visual Evaluation Entry Table </h1>
            <form method="get" action="visEupload.php">
        <table id="bigTable" border="1">
            <thead>
             <tr>
               <!--<th id="bandY" class="col3">Bands @263mm Y</th><th id="bandM" class="col3">Bands @263mm M</th><th id="bandC" class="col3">Bands
    @263mm C</th><th id="bandK" class="col3">Bands @263mm K</th><th id="Comments" class="col3">Comments</th>-->
             <th id="bandY" class="col3">Bands @263mm Y</th><th id="bandM" class="col3">Bands @263mm M</th><th id="bandC" class="col3">Bands
    @263mm C</th><th id="bandK" class="col3">Bands @263mm K</th><th id="Comments" class="col3">Comments</th>
             </tr>
            </thead>
            <tbody>
                <tr name="MCBands" id="9214">
                    <!--<td><input name="Yevaluation" ></td>  //Row 0 Column 1-->
                    <!--<td><input name="Mevaluation" ></td>  //Row 0 Column 2-->
                    <!--<td><input name="Cevaluation" ></td>  //Row 0 Column 3-->
                    <!--<td><input name="Kevaluation" ></td>  //Row 0 Column 4-->
                    <!--<td><input name="comment" ></td>  //Row 0 Column 4-->
                    <td><input name="bandY" ></td>  <!--//Row 0 Column 1-->
                    <td><input name="bandM" ></td> <!-- //Row 0 Column 2-->
                    <td><input name="bandC" ></td> <!-- //Row 0 Column 3-->
                    <td><input name="bandK" ></td><!--  //Row 0 Column 4-->
                    <td><input name="comment" ></td>
                </tr>
            </tbody>
        </table>
          <input id="submit" type="submit" class="list" name="submit" value="Submit To Database" >  
           <!--maybe move all php part to other file-->
           </form>
        </body>
    The server is mapped so when we run it off of the server, we use the server ip address and my file name and skip the rest of the path, which works fine with the table.php file, so that mapping appears correct.  When I run it off of the server (from my
    desk) and hit submit it gives me a 404 file or directory not found.  When I run it locally on the server, it's saying it can't find the file name, but it says the requested url is `http://localhost:80/errorpages/403_error.html.`  Physical path: E:\vise\jqproject\web\errorpages\403_error.html. 
    The error message says the notification is from the MapRequestHandler of Module IIS Web Core. I'm not sure why the requested url/path isn't referring to visEupload.php.
    (Running on the server) When I change the action in the table.php get to include the IP address, it's behaving weirdly:
    Module IIS Web Core Notification MapRequestHandler Handler PHP53_via_FastCGI, Requested URL `
        http://localhost:80/13.141.xxx.xx/visEupload.php?bandy=xx&bandM=xx&bandc=hj&bandk=xx&comment=xx&submit=submit+to+database
    physical path shows as E:\visE\jqproject\web\13.141.xxx.xx\visEupload.php
    Login Method and user Anonymous.
    When I change the url to just be
        localhost/viseUpload.php
    it's getting HTTP Error 404 not found.  Any ideas why it's not finding the visEupload.php file?  It has the correct .php extension.  In file properties it's a type php file with name visEupload.php.  
    I took a look at
    [404 error][1] but I see my "allowUnlisted="true" in applicationHost.config. I'm not using sitefinity, though. 
    I'm not sure if something got over-written when we did a server windows update.  
    I know we were having a problem with get and post a couple months ago and we had to add them to the IIS Manager Handler Mappings somewhere, but don't remember where we added them to check.  Since I tried directly accessing the visEupload.php without any
    get (and commented out get code in the file) it should have worked if that was the issue.
    We are running server 2008 R2 and I'm not sure which version of IIS it is.
    In case it matters, this is the contents of the visEupload.php:
        <!DOCTYPE html>
        <html lang="en" >
        <head>
        <meta charset="utf-8" />
            <title>Big Table</title>
        </head>
        <body>
        <?php
            require_once( "../classes/class.OLAPdatabase.php");
            require_once( "../common/Session.php");
            $OLAPdb = new OLAPdatabase;
              handling of the get part is commented out
           ?>
        </body>
    All I can think of is that when I access visEupload.php it's running from the get/action in table.php.  This might be a different user running in the system.  I tried changing visEupload.php file properties to have full control for IUSR and Internet
    Guest Account.  It already has full control for System, and me.  Users have read & exeture and read permissions. Or maybe it's something that has to do with how the directory is mapped out.  I'm not sure what could be affecting this, and
    why the message said it can't find the path to 403_error.html.
      [1]: http://www.sitefinity.com/developer-network/forums/bugs-issues-/server-error-404---file-or-directory-not-found
    Michele Cleary

    Hello,
    for IIS question better ask in http://forums.iis.net/
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

  • Undefined weblogic.home error when running APPC

    Hi,
    I am trying to run the APPC compiler on my local EAR and deploy it on a remote
    server version
    8.1 using ANT. I just have the weblogic.jar, ojdbc14.jar and webservices.jar on
    my workstation.
    I have an error when running APPC.
    The ANT taks is :
    <target name="app.appc">
    <java classname="weblogic.appc" fork="true" failonerror="true">
    <jvmarg value="-Xms256m"/>
    <jvmarg value="-Xmx256m"/>
    <classpath>
    <pathelement location="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}"/>
    <pathelement location="${j2ee.weblogic.lib.dir}/ojdbc14.jar"/>
         <pathelement location="${jsdk1.4-dir}/lib/tools.jar"/>
         </classpath>
         <arg line ="-verbose -verboseJavac ${application.dist.ear}"/>
    </java>
    </target>
    The ANT output is :
    app.appc:
    [java] [appc] Created working directory: C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen
    [java] [appc] Compiling EAR module 'core.war'
    [java] [JspcInvoker]Checking web app for compliance.
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Validating the servlet element with servlet-name named "action".>
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Checking servlet-mapping for servlet name : "action".>
    [java] [jspc] parsing /jsp/applications/example/Accessor.jsp:
    [java] [jspc] parsed C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen\appcgen_core.war\
    jsp\applications\example\Accessor.jsp in 1482 ms.
    [java] [jspc] Invoking the compiler
    [java] [jspc] Invoking the compiler with -encoding UTF-8
    [java] [appc] Compiling EAR module 'core-ejb.jar'
    [java] [J2EE:160121]Errors encountered while compiling module 'core-ejb.jar':
    [java] error in finding weblogic.Home
    Is there any other solution than installing weblogic on my workstation so that
    everything is
    setup correctly?
    thanks in advance
    Pierre

    Pierre MONGENIE wrote:
    Finally it worked out for me with the system classpath set to:
    D:\J2EE\bea\weblogic81\server\lib\weblogic.jar
    and the ANT task wlappc.
    I was unable to have it work with the ANT task described below in this thread.
    tha ant task is
    <wlappc source="${application.dist.ear}"
         verbose="true"
         verboseJavac="true"
         debug="true"
         classpath="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}
         ${j2ee.weblogic.lib.dir}/ojdbc14.jar
         ${j2ee.weblogic.lib.dir}/webservices.jar
         ${jsdk1.4-dir}/lib/tools.jar"This is the issue. The classpath parameter to wlappc is the classpath
    it will use when it compiles your application classes. It's not the
    classpath which will load the wlappc ant task. (I'll admit this has
    always been confusing.)
    -- Rob
    runtimeflags="mx256m"
    output="${application.weblogic.deploy.ear}"
         />
    So now I have another problem but let me open another thread
    thanks
    Rob Woollen <[email protected]> wrote:
    That code checks if the system property weblogic.home is set. If not,
    it looks for the class weblogic.Home is in the classpath. Make sure
    one
    of those 2 conditions is true.
    -- Rob
    Pierre MONGENIE wrote:
    Hi,
    I am trying to run the APPC compiler on my local EAR and deploy iton a remote
    server version
    8.1 using ANT. I just have the weblogic.jar, ojdbc14.jar and webservices.jaron
    my workstation.
    I have an error when running APPC.
    The ANT taks is :
    <target name="app.appc">
    <java classname="weblogic.appc" fork="true" failonerror="true">
    <jvmarg value="-Xms256m"/>
    <jvmarg value="-Xmx256m"/>
    <classpath>
    <pathelement location="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}"/>
    <pathelement location="${j2ee.weblogic.lib.dir}/ojdbc14.jar"/>
         <pathelement location="${jsdk1.4-dir}/lib/tools.jar"/>
         </classpath>
         <arg line ="-verbose -verboseJavac ${application.dist.ear}"/>
    </java>
    </target>
    The ANT output is :
    app.appc:
    [java] [appc] Created working directory: C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen
    [java] [appc] Compiling EAR module 'core.war'
    [java] [JspcInvoker]Checking web app for compliance.
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Validating the servlet element with servlet-name named "action".>
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Checking servlet-mapping for servlet name : "action".>
    [java] [jspc] parsing /jsp/applications/example/Accessor.jsp:
    [java] [jspc] parsed C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen\appcgen_core.war\
    jsp\applications\example\Accessor.jsp in 1482 ms.
    [java] [jspc] Invoking the compiler
    [java] [jspc] Invoking the compiler with -encoding UTF-8
    [java] [appc] Compiling EAR module 'core-ejb.jar'
    [java] [J2EE:160121]Errors encountered while compiling module'core-ejb.jar':
    [java] error in finding weblogic.Home
    Is there any other solution than installing weblogic on my workstationso that
    everything is
    setup correctly?
    thanks in advance
    Pierre

  • Error when running RSSB_GENERATE_AUTHORIZATIONS

    Iam having a SYSTEM_NO_TASK_STORAGE runtime Error when running program RSSB_GENERATE_AUTHORIZATIONS in a BW 3.5 system when it is attempting to load a very large amount of users/profiles from HR Structural Authorizations into BW.  The HR Structural Authorizations - Values 0PA_DS02 ODS was loaded with 47 million records when following the process specified on <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e1cba990-0201-0010-43ae-af579aee7a73">this SDN document.</a>
    Memory parameters have been continually adjusted to try to allow the process to run with no results. 
    Any help will be greatly appreciated.
    Thanks.

    Hi,
    Did you try and break up the loads into smaller chunks ?
    Else you can also try and increase the number of data packets by breaking up the data packets into smaller amount if data.
    Cheers,
    Kedar

  • Error when run taglib!

    Now I have a error when run taglig!
    run taglib with apache tomcat 5.5 by JDK 1.5 when i run have error is:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: javax.servlet.jsp.tagext.TagInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/jsp/tagext/TagLibraryInfo;Ljavax/servlet/jsp/tagext/TagExtraInfo;[Ljavax/servlet/jsp/tagext/TagAttributeInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljavax/servlet/jsp/tagext/TagVariableInfo;Z)V
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    root cause
    java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/jsp/tagext/TagLibraryInfo;Ljavax/servlet/jsp/tagext/TagExtraInfo;[Ljavax/servlet/jsp/tagext/TagAttributeInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljavax/servlet/jsp/tagext/TagVariableInfo;Z)V
         org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:435)
         org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
         org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs.
    now what do I do?
    please, tell me!
    thanks!

    Tomcat 5.5 is using Servlet 2.4 & JSP 2.0.
    Have you compiled the taglib using the correct version of servlet.jar ?

  • Jsp Error when running graph reports on 9ias server

    i getting the following message error when running a graph jsp report on my company unix 9ias server:
    org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
         at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java:79)
         at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java:147)
         at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java:196)
         at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java:365)
         at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java:493)
         at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java:356)
         at oracle.reports.engine._EngineReportStub.doneReport(_EngineReportStub.java:36)
         at oracle.reports.definition.RWJspProxy.doneReport(RWJspProxy.java:261)
         at oracle.reports.definition.RWReport.done(RWReport.java:1087)
         at oracle.reports.jsp.ReportTag.release(ReportTag.java:398)
         at oracle.jsp.runtime.OracleJspRuntime.releaseTagHandler0(OracleJspRuntime.java:1109)
         at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1213)
         at afpdrep.crystal._flip._flip1._jspService(_flip1.java:687)
         [SRC:/afpdrep/crystal/flip/flip1.jsp]
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Thanks for any help in advance.

    Hi Simon,
    Looking at the exception, it seems the machine is so slow that it could not give enough time for the report engines to start up can also result in this exception.
    Please try the following :
    Increase the callbacktimeout parameter for the report server. In server conf file that increase the callbacktimeout parameter for the report server from 1 minute (60000 milliseconds) to 3 minutes(180000 milliseconds)
    Thanks,
    Vinod.

  • Error when running a report in BPC NW

    I am getting the following error when running a report for my application in BPC NW.
    EVDRE encountered an error retrieving data from the Web Server (retrying in (X) seconds).
    This error comes with this dialog option box to either continue or cancel retrying retrieving data. Retrying doesn't help either.
    Any report I run (on any of my appsets), I get this error. I used the EVDRE function and also tried running a report using the template as the basis. But I get the error either way.
    Does anyone know why this error is occurs or how to debug this issue. I saw some information about this in earlier threads but could  not make much out of it.
    Appreciate any assistance.

    Sanjay,
      This  is a   very  generic  error...Couple  of  places  to  look  for....
    1)Reprocess the application (Modify application + Reassign SQL Index + Process Application)
    2)optimizing the application sometimes helps (Full Optimize + Compress Database + Index defragmentation).
    3)Create a "evdataserver_debug.txt" in user's private publication folder on  server side to populate very detail level logging  and  check  the  log on client side EVDRE_LOG.txt for  further  peek  into  where  things  are getting  messed up.
    if  evdataserver_debug.txt does not  get  populated on BPC 5.x...it  is  an  issue  with  IIS authetication on Application server.
    4)You have to check the event viewer into .NET server and also the BPC logs which can be found into
    BPC\Logging  for  further  details  ..
    Hope  this  helps..
    Edited by: Vishal Mahawadhi on Jun 24, 2009 9:50 AM

  • Getting the MDX query select error when running a webi report on BI query

    Getting the following error when running a webi report on BI query :
    A database error occured. The database error text is: The MDX query SELECT  { [Measures].[D8JBFK099LLUVNLO7JY49FJKU] }  ON COLUMNS , NON EMPTY [ZCOMPCODE].[LEVEL01].MEMBERS ON ROWS FROM [ZTEST_CUB/REP_20100723200521]  failed to execute with the error Unknown error. (WIS 10901).
    I have gone through many threads related to this error. But not able find the steps to follow for resoultion.
    Please help in this regard.
    Thanks,
    Jeethender

    The Fix Pack is also for Client Tools--it is a separate download.  Please see the text below for ADAPT01255422
    ADAPT01255422
    Description:
    Web Intelligence generates an incorrect MDX statement when a characteristic and a prompt are used.
    The following database error happens: "The MDX query ... failed to execute with the error
    Unknown error (WIS 10901)."
    New Behavior:
    This problem is resolved.
    This information is also available in the Fixed Issues document for any Fix Pack greater than 2.2.

  • Getting an Error When Running Server 2012 R2 adprep /forest prep on a 2012 DC

    I am getting an error when running adprep /forest prep on a Server 2012 domain controller. The main parts of my domain are as follows:
    2 - Domain Controllers running Server 2012
    1 - Exchange Server 2013 running on Server 2012
    I am trying to either do an in-place upgrade to my domain controllers to Server 2012 R2 or even introduce a Server 2012 R2 domain controller into the domain. The error I am getting is as follows:
    [Status/Consequence]
    The operation GUID already exists so Adprep did not attempt to rerun this operation but is continuing.
    [2014/04/05:09:12:38.873]
    Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
    [2014/04/05:09:12:38.873]
    LDAP API ldap_search_s() finished, return code is 0x20
    [2014/04/05:09:12:38.873]
    Adprep verified the state of operation cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
    [Status/Consequence]
    The operation has not run or is not currently running. It will be run next.
    [2014/04/05:09:12:38.873]
    Adprep was about to call the following LDAP API. ldap_modify_s(). The entry to modify is CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
    [2014/04/05:09:12:38.873]
    LDAP API ldap_modify_s() finished, return code is 0x13
    [2014/04/05:09:12:38.905]
    Adprep was unable to modify some attributes on object CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
    [User Action]
    Check the log file ADPrep.log in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
    [2014/04/05:09:12:38.936]
    Adprep encountered an LDAP error.
    Error code: 0x13. Server extended error code: 0x20b1, Server error message: 000020B1: AtrErr: DSID-030F112A, #1:
     0: 000020B1: DSID-030F112A, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9086f (msDS-ClaimIsValueSpaceRestricted)
    DSID Info:
    DSID: 0x181112dd
    ldap error = 0x13
    NT BUILD: 9600
    NT BUILD: 16384
    [2014/04/05:09:12:38.967]
    Adprep was unable to update forest information.
    [Status/Consequence]
    Adprep requires access to existing forest-wide information from the schema master in order to complete this operation.
    [User Action]
    Check the log file, ADPrep.log, in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
    Any Help would be appreciated. Thanks!

    Hi,
    did you check which servers has FSMO roles?
    You can do that via command prompt: netdom query fsmo
    For forestprep you must do that on DC which have Schema Operations marter role.
    Command
    Domain controller
    Number of times to run the command
    adprep /forestprep
    Must be run on the schema operations master for the forest.
    Once for the entire forest
    adprep /domainprep
    Must be run on the infrastructure operations master for the domain.
    Once in each domain where you plan to install an additional domain controller that runs a later version of Windows Server than the latest version that is running in the domain.
    Note
    Domains where you will not add a new domain controller will be affected by adprep /forestprep, but they do not require you to run adprep /domainprep.
    http://technet.microsoft.com/en-us/library/dd464018(v=ws.10).aspx

  • 404 error when publishing to FTP server.

    I'm getting the 404 error when publishing my iWeb site to my FTP server.  Please help.
    It says I have a good connection and publishes but then I get the error when I "Click to go to the site."  I've read where I have to upload the file to my server but with the file index_html.  Do I rename my iWeb file, domain, to index_html?

    I'm getting the 404 error when publishing my iWeb site to my FTP server.  Please help.
    It says I have a good connection and publishes but then I get the error when I "Click to go to the site."
    A 404 errors means the file is not on the server.
    Checking the connection is just testing the FTP connection.
    I've read where I have to upload the file to my server but with the file index_html.  Do I rename my iWeb file, domain, to index_html?
    Do I rename my iWeb file, domain, to index_html?
    No, you don't. The domain file is where iWeb  stores its assets. It stays on your computer. It has no meaning outside it. iWeb publishes the index.html file and all the other files.
    Read this : The concept of iWeb Sites
    So if your pages do not load, check for their presence on the server.

  • Am getting the following error while running the servlet example

    Hi,
    am getting the following error while running the servlet example
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         edu.dao.StudentDao.insertStudent(StudentDao.java:18)
         edu.servlet.StudentServlet.doGet(StudentServlet.java:25)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
    Thanks
    //sreekanth

    Hi,
    the following code i have written in StudentDao
    package edu.dao;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import org.apache.commons.dbutils.DbUtils;
    import edu.model.Student;
    import edu.util.DBUtil;
    public class StudentDao {
         public void insertStudent(Student student) {
              String stuQuery = "INSERT INTO STUDENT VALUES(?,?)";
              Connection connection = DBUtil.getConnection();
              PreparedStatement preparedStatement = null;
              try {
                   preparedStatement = connection.prepareStatement(stuQuery);
                   preparedStatement.setString(1,student.getStudentNo());
                   preparedStatement.setString(2, student.getStudentName());
                   preparedStatement.executeUpdate();
              } catch(SQLException e){
                   System.out.println("..Sql exception......");
              }finally {
                   DbUtils.closeQuietly(connection,preparedStatement,null);
    }

  • ORA-06502 - Error when running "Ask The Expert 0.9"

    Hi ,
    I successfully installed "Ask the Expert" package with Apex 3.0 on Oracle 10g Database 10.2.0.1.0. No error ocurred during the import in my Apex environment.
    Besides that, i'm having problems when i tried to run the "Aks the Expert". It always shows the following message errors:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Error Unable to write activity log.
    I think it was a problem with APEX instalation, but i could run the Sample Application of Apex without any problem.
    I opened an SR in Metalink, but to my surprise, the analist of support don't know what's wrong with the demo "Ask de Expert".
    The debug function of the application show the following commands before the error ocurrs:
    0.01:
    0.01: S H O W: application="103" page="1" workspace="" request="" session="6648566035252817"
    0.01: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: NLS: CSV charset=WE8MSWIN1252
    0.01: ...NLS: Set Decimal separator="."
    0.01: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to -03:00
    0.02: NLS: Language=en-us
    0.02: Application 103, Authentication: CUSTOM2, Page Template: 667896385843019243
    0.02: ...Determine if user "N3COUTINHO" workspace "951808960237899" can develop application "103" in workspace "951808960237899"
    0.02: ...ok to reuse builder session for user:nobody
    0.03: ...Application session: 6648566035252817, user=nobody
    0.03: ...Determine if user "N3COUTINHO" workspace "951808960237899" can develop application "103" in workspace "951808960237899"
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 103, page 1
    0.03: Fetch session state from database
    0.03: Branch point: BEFORE_HEADER
    0.03: Fetch application meta data
    0.04: Computation point: BEFORE_HEADER
    0.04: ...Perform computation of item: P1_CLEAN_CRITERIA, type=FUNCTION_BODY
    0.04: ...Performing function body computation
    0.06: ...Session State: Save "P1_CLEAN_CRITERIA" - saving same value: ""
    0.06: Processing point: BEFORE_HEADER
    0.06: ...Process "Read and Write Activity Cookie": PLSQL (BEFORE_HEADER) declare l_cookie_id number; begin owa_util.mime_header('text/html', FALSE); -- ate_api.read_activity_cookie; l_cookie_id := ate_api.fetch_activity_cookie_val( 'COOKIE_ID' ); -- if l_cookie_id is null then l_cookie_id :=
    Content-type: text/html; charset=ISO-8859-1 Set-Cookie: activity_ask_expert=1|2400346189796; expires=Wed, 01-Jan-2020 08:00:00 GMT; path=/;
    0.06: Encountered unhandled exception in process type PLSQL
    0.06: Show ERROR page...
    0.06: Performing rollback...
    Please, could any one help me to solve this problem ? Metalink couldn't help me diagnosing what's wrong.
    Thanks,
    Sergio Coutinho

    Hi,
    I don´t know if it help the analisis, but i collect some informations about my environment:
    1) HTML DB version
    3.0.1
    2) Database version
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    3) Database server operating system (as well, if 32-bit or 64-bit)
    Solaris 5.9 - 64 bits
    4) Database Parameters:
    PARAMETER VALUE
    NLS_CALENDAR GREGORIAN
    NLS_CHARACTERSET WE8ISO8859P1
    NLS_COMP BINARY
    NLS_CURRENCY $
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_DUAL_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_LANGUAGE AMERICAN
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NUMERIC_CHARACTERS .,
    NLS_RDBMS_VERSION 10.2.0.1.0
    NLS_SORT BINARY
    NLS_TERRITORY AMERICA
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    Could it explain why ASK THE EXPERT is running on hosted apex site and it´s
    generating error when running in my environment?
    Thanks for the help !
    Sergio

Maybe you are looking for

  • HT1420 My Itunes match won't update or even open on my laptop, I always get an error message saying something cause the program to close and windows is looking for a solution. Then I tunes closes.

    i like imatch and icloud cause i can keep up with my music easy. lately I authorized my laptop, an HP, so I can play my music on the go. Well for some reason when I open I tunes, imatch automatically tries to update and then i get a message that some

  • Win vs. Mac File Paths

    I have a script that Peter Kahrel helped me with (actually he pretty much wrote the whole thing). The script saves out each page of an Indesign doc as jpeg. It also takes the text from a text box tagged "jobnumber" and inserts it into the name of the

  • 11g grid - domain name change

    Hi i have installed oracle 11g grid ( both rdbms repository and OMS on the same linux server 5.5) but now my domain name has changed slightly ... do I need to change anything ? does this require full reinstallation of grid ? oracle v 11.2.0.2 I am tr

  • Object Browser crashing??

    Hello all. Has anyone seen where you try to view items in the object browser by selecting the object type in the pull down menu, and no matter what you select, the browser window automatically closes? It just started exibiting this behavior and I hav

  • MS Office 2010 Install via Crossover

    Hi All, New to Arch but not to Linux. Trying desperately to install Office ( need it for work purposes ) but keep coming up with "installation language not supported". Coming up dry on forum/Google, any suggestions? Best, C