Jsp and error 500

Hi all,
I have a problem with my jsp, when i try to load my jsp i 've got an error 500 like this :
Error: 500
Location: /kimdog/jsp/liste_diff.jsp
Erreur Interne de Servlet:
org.apache.jasper.compiler.ParseException: C:\jakarta-tomcat\kimdog\jsp\liste_diff.jsp(73,59) Lattribut {0} n'a pas de valeur
     at org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:519)
     at org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:635)
     at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:192)
     at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
     at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
     at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
     at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
     at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
     at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
     at org.apache.tomcat.core.Handler.service(Handler.java:287)
     at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
     at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
     at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
     at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
     at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
     at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
     at java.lang.Thread.run(Thread.java:484)
I work with tomcat 3-2-1, jdk 1.3 and IIS
What's wrong with this ? Have you an idea ?
thanks in advance

Looks like the JSP compiler is failing when trying to figure-out (parse) one of your jsp tags. Try checking
line 73 column 59 in liste_diff.jsp, and see what might be wrong.
Good Luck.

Similar Messages

  • Error 500 when I'm running JSP with tomcat on Linux

    I'm using Tomcat on linux and when I'm running any JSP file I got this Error:
    Error: 500
    Location: /examples/jsp/snp/snoop.jsp
    Internal Servlet Error:
    javax.servlet.ServletException: sun/tools/javac/Main
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
    at org.apache.tomcat.core.Handler.service(Handler.java:287)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
    at java.lang.Thread.run(Thread.java:484)
    Root cause:
    java.lang.NoClassDefFoundError: sun/tools/javac/Main
    at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
    at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
    at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
    at org.apache.tomcat.core.Handler.service(Handler.java:287)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
    at java.lang.Thread.run(Thread.java:484)
    What I'm doing wrong?
    thank you for help, Snir

    I've got the same problem but on a Win98 platform also in Solaris OS
    By copying the file JAVA_HOME/lib/tools.jar to the following path :
    JAVA_HOME/jre/lib/ext/
    another alternative is to set your classpath so that it point to the .jar files in your environnement variaoble
    ex under Win98:
    include this line in your autoexec.bat file
    SET CLASSPATH=.;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\lib\dt.jar
    under Linux:
    edit your .source that include environnment variables and add :"anOldPath:/jdk1.3/lib/tools.jar"
    run the source in your terminal window then you can run ./startup under solaris or startup.sh
    JAVA_HOME : c:\jdk1.3 or c:\jdk1.2.2 under win98
    /home/user/auser/jdk1.2.2/ on linux
    I hope that you encounter this problem.
    Hichem Hassainia.

  • Database interaction in JSP - Error 500?

    Hi all,
    I made a page PAGE1,jsp which retrieves data(String S1, S2) from database. It has a submit button which on on clicking directs to PAGE2.jsp. PAGE2.jsp is shown below partially:
    <%!     InitialContext  ctx =null;
         Connection conn= null;
         ResultSet rs = null;
         DataSource ds = null;
         Statement stmt = null;
    %>     
    <%
         ds=(DataSource)ctx.lookup("MyDS");
         conn= ds.getConnection();
         stmt = conn.createStatement();
         String s1 = request.getParameter("S1"); //retrieved from PAGE1.jsp
         String s2 = request.getParameter("S2"); //retrieved from PAGE1.jsp
         stmt.executeUpdate("update TABLE1 set FIELD2='"+s2+"'" "where FIELD1="+s1+);
         rs=stmt.executeQuery("select * from TABLE1");
    %>
    <%
         while(rs.next()) {
    %>
    <tr>
         <td> <%=rs.getInt(1)%> </td>
    </tr>
    <% }
         rs.close();
         stmt.close();
         conn.close();
    %>The page when run gives Error 500- internal server error (The server encountered an unexpected condition which prevented it from fulfilling the request.). Following is the serverlog:
    Servlet failed with Exception
    java.lang.NullPointerException
    at jsp_servlet._pages._display.__PAGE2._jspService(__PAGE2.java:163)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    -Thank you
    Edited by: student21312 on Feb 13, 2008 10:39 PM
    Edited by: student21312 on Feb 14, 2008 12:22 AM
    Edited by: student21312 on Feb 14, 2008 12:24 AM
    Edited by: student21312 on Feb 14, 2008 12:26 AM

    Don't do that in JSP's. There they are not for.
    Write a simple DAO class which does the task. It will not only free JSP's from unnecessary business logic, but also improve maintenance, reusability and debugging a LOT.
    Do you understand when a NPE is been thrown anyway?

  • Why does the Error: 500 SC_INTERNAL_SERVER_ERROR appear when multiple users access my JSPs but does not occur when only one user accesses my JSPs?

    When multiple users run my JSP application, why do some users get an Error: 500 SC_INTERNAL_SERVER_ERROR for certain JSP pages with the error message No such file or directory. The JSP listed on the Error 500 page varies and is not always the same. When only one user runs my JSP application, the problem does not occur?
    The database connection is held when the user logs in or accesses certain parts of the JSP and then is immediately released. No connections to the database are held.
    We are using Solaris 8 with MU_6 plus recommended patches.
    Enterprise Ultra 250
    iAS 6 SP 3

    Is anything showing up in the KXS or KJS logs?
    It sounds like you might having some kind of thread safety issue with your code. Either that or your guess about running out of database connections.

  • HTTP Error 500 Compiling JSP's [SOLVED]

    Basic Problem:  I am unable to compile jsp's and display them via Tomcat.  I am using the Netbeans IDE for web development and webapps that use html files/servlets run just fine.  It's when I try to run a jsp that I get an Error 500:
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: java.lang.IllegalStateException: No Java compiler available
           org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:585)
           org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:391)
           org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
           org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    root cause
    java.lang.IllegalStateException: No Java compiler available
           org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:228)
           org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:638)
           org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
           org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
           org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    note The full stack trace of the root cause is available in the Apache Tomcat/7.0.25 logs.
    My config is as follows:
    kernel 3.2.4-1-ARCH
    Tomcat: 7.0.25
    jdk: 7-3
    $ java -showversion
    java version "1.7.0"
    Java(TM) SE Runtime Environment (build 1.7.0-b147)
    Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
    Netbeans: 7.1
    I am running the Sun JRE/JDK.
    I emailed the Tomcat mailing list and was told the compiler should be in a file called ecj-3.7.1.jar.  I did a locate on that file and I found the following in /usr/share/java:
    lrwxrwxrwx   1 root root      21 Nov  7 20:41 ecj.jar -> eclipse-ecj-3.7.1.jar
    -rw-r--r--   1 root root 1183268 Nov  7 20:41 eclipse-ecj-3.7.1.jar
    lrwxrwxrwx   1 root root      21 Nov  7 20:41 eclipse-ecj.jar -> eclipse-ecj-3.7.1.jar
    According to the fellow who I think is the Tomcat maintainer, the eclipse-ecj-3.7.1.jar isn't distributed in standard Tomcat and so to ask whoever packaged mine, which I installed with pacman.
    Thanks.
    UPDATE:  I uninstalled tomcat7 via pacman and installed the stock Tomcat7 from apache.org.  Jsp's now compile.
    Last edited by JLucien (2012-02-14 20:58:59)

    i did not find an answer..

  • Error 500 running a tutorial application and other issues

    While I am following a tutorial at Oracle JDeveloper 12c (12.1.2) Tutorials - Building a Web Application Using EJB, JPA, and JavaServer Faces it is refusing to run more than once.
    When I re-run the application after making changes, it throws error 500 with the below exception stack until it is un-deployed. Once un-deployed, it runs once fine. Why does it have to be terminated and re-deployed?
    In Part 3, Step 1 i cannot follow 'p. 7 In the Applications Navigator, right-click HRFacadeBean.java and select Edit Session Facade from context.' as the tree does not have Employees branch.
    Why is there no Employees under the session facade?
    Error 500 exception:
    java.lang.ClassCastException: oracle.adfinternal.view.faces.webapp.rich.RichWindowManagerFactory$WindowIdProviderAdapter cannot be cast to org.apache.myfaces.trinidad.event.WindowLifecycleListener
    at oracle.adfinternal.view.faces.webapp.rich.RichWindowManagerFactory$ApplicationWindowListeners.processWindowLifecylce(RichWindowManagerFactory.java:244)
    at oracle.adfinternal.view.faces.webapp.rich.RichWindowManager._fireWindowLifecycleEvent(RichWindowManager.java:362)
    at oracle.adfinternal.view.faces.webapp.rich.RichWindowManager._handleWindowOpened(RichWindowManager.java:398)
    at oracle.adfinternal.view.faces.webapp.rich.RichWindowManager.beginRequest(RichWindowManager.java:924)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._beginWindowManagerRequest(GlobalConfiguratorImpl.java:657)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:225)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:174)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
    at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

    I thought he prematurely hit Post, thanks for clarification.
    The method kind of works. It worked for a few times, then I got this. Of course property b6 does exist. Undeploying and re-deploying fixed the issue, as previously.
    javax.el.PropertyNotFoundException: //D:/Users/user0/AppData/Roaming/JDeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/OracleDemoWeb/ViewControllerWebApp.war/customerOrders.jsf @25,100 binding="#{backingBeanScope.backing_untitled1.b6}": The class 'oracledemo.view.backing.Untitled1' does not have the property 'b6'.
    at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:111)
    at com.sun.faces.application.ApplicationImpl.createComponentApplyAnnotations(ApplicationImpl.java:1941)
    at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:1144)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.createComponent(ComponentTagHandlerDelegateImpl.java:518)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:168)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at com.sun.faces.facelets.tag.jsf.core.FacetHandler.apply(FacetHandler.java:104)
    at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
    at oracle.adfinternal.view.faces.facelets.rich.RichDocumentHandler.applyNextHandler(RichDocumentHandler.java:69)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:195)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:182)
    at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
    at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
    at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
    at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:774)
    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.buildView(ViewDeclarationLanguageWrapper.java:94)
    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.buildView(ViewDeclarationLanguageWrapper.java:94)
    at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:322)
    at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager._processViewDefinitionLanguage(ResponseRenderManager.java:105)
    at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:41)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1104)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:389)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:255)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.utils.FastSwapFilter.doFilter(FastSwapFilter.java:64)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
    at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

  • Error 500 -Internal Server Error when I click on browse catelog button on Reports and Analytics in Fusion

    Hi
    I am unable to access Reports and Analytics . It throws a Error 500 -Internal Server Error when I click on browse catelog button on Reports and Analytics in Fusion
    I have all the required roles and also BIADMINISTRATOR ACCESS still I am unable to login to Reports and Analytics. I have cleared the cache also.
    My collegue who has the same roles is able to access it.
    Regards
    Avinash

    I created the showModule.xhtml in the web.view.module\src\main\resources folder and test the application and Now I'm getting the error in both deployment ways.
    a) Local deployment: Same result
    Error 500--Internal Server Error
    com.sun.faces.context.FacesFileNotFoundException: /showModule.xhtml Not Found in ExternalContext as a Resource
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:232)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:273)
    b) Remote server:
    Error 500--Internal Server Error
    com.sun.faces.context.FacesFileNotFoundException: /showModule.xhtml Not Found in ExternalContext as a Resource
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:232)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:273)
    Please check the below screenshots for the mappings captured in the properties window.
    http://imageshack.us/photo/my-images/5/srwebviewmodule.png/
    http://imageshack.us/photo/my-images/811/eclipseexplorer.png/
    http://imageshack.us/photo/my-images/521/cdiandrichfacesear.png/
    http://imageshack.us/photo/my-images/90/cdiandrichfaces.png/
    Thanks,
    Vijaya

  • Working fine with JAVA code and Error Occured while using in JSP

    Hi.....
    When initiating a BPEL process from JAVA the code is working fine and the Process is getting initiated.But while using that code in J2EE project as a java code and while calling that method Error is occuring.....
    Here by i am attaching my JAVA Code which runs as an applicateion and package which runs in Server....
    JAVA Code (Run as Application) Working Fine:
    package bo;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    /*import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest ;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession; */
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class processit {
         public static void main(String args[]){
              String input = "TATA";
              String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
              String xml="<ns1:BPELProcess1ProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/BPELProcess1\">";
              xml=xml+"<ns1:input>"+input+"</ns1:input>";
              xml=xml+"</ns1:BPELProcess1ProcessRequest>";
              try{
              Properties props=new Properties();
              props.setProperty("orabpel.platform","ias_10g");
              props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
              props.setProperty("java.naming.provider.url","opmn:ormi://157.227.132.226:6003:home/orabpel");
              props.setProperty("java.naming.security.principal","oc4jadmin");
              props.setProperty("java.naming.security.credentials","oc4jadmin");
              props.setProperty("dedicated.rmicontext", "true");
              Locator locator = new Locator("default", "bpel", props);
              System.out.println("After creating the locator object......");
              IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
              System.out.println("Before creating the NormalizedMessage object......");
              NormalizedMessage nm = new NormalizedMessage();
              System.out.println("After creating the NormalizedMessage object.*.*.*...");
              nm.addPart("payload", xml);
              System.out.println("Before creating response object......");
              NormalizedMessage res = deliveryService.request("BPELProcess1", "process", nm);
              System.out.println("After calling the BPELProcess1 .*.*.*...");
              Map payload = res.getPayload();
              System.out.println("BPEL called");
              XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
              String replyText=xmlEl.getText();
              System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
              catch (Exception e) {
              System.out.println("Exception : "+e);
              e.printStackTrace();
    JSP and Java Method Used:
    JSP Code:
    ===============
    <%@ page import=" bo.callbpel" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>FEATT - I30</title>
    </head>
    <body>
    <%
    String input=request.getParameter("dnvalue");
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    out.print("The Input Given to the BPEL Process is : "+input);
    %>
    <BR><BR><BR><BR><BR><BR>
    <%
    out.print("The Reply from BPEL Process is : "+Output);
    %>
    </body>
    </html>
    Java Code:
    package bo;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    /*import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest ;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession; */
    //import java.util.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class callbpel {
         public String Initiate(String value){
              String replyText=null;
              String input = value;
              System.out.println(input);
              String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
              String xml="<ns1:BPELProcess1ProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/BPELProcess1\">";
              xml=xml+"<ns1:input>"+input+"</ns1:input>";
              xml=xml+"</ns1:BPELProcess1ProcessRequest>";
              try{
              Properties props=new Properties();
              props.setProperty("orabpel.platform","ias_10g");
              props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
              props.setProperty("java.naming.provider.url","opmn:ormi://157.227.132.226:6003:home/orabpel");
              props.setProperty("java.naming.security.principal","oc4jadmin");
              props.setProperty("java.naming.security.credentials","oc4jadmin");
              props.setProperty("dedicated.rmicontext", "true");
              Locator locator = new Locator("default", "bpel", props);
              String uniqueBpelId = com.collaxa.cube.util.GUIDGenerator.generateGUID();
              //System.out.println(uniqueBpelId);
              //java.util.Map msgProps = new HashMap();
              System.out.println("After creating the locator object......");
              IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
              System.out.println("Before creating the NormalizedMessage object......");
              NormalizedMessage nm = new NormalizedMessage();
              System.out.println("After creating the NormalizedMessage object.*.*.*...");
              //msgProps.put("conversationId",uniqueBpelId);
              //nm.setProperty("conversationId",uniqueBpelId);
              nm.addPart("payload", xml);
              System.out.println("Before creating response object......");
              NormalizedMessage res = deliveryService.request("BPELProcess1", "process", nm);
              System.out.println("After calling the BPELProcess1 .*.*.*...");
              Map payload = res.getPayload();
              System.out.println("BPEL called");
              XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
              replyText=xmlEl.getText();
              System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
              catch (Exception e) {
              System.out.println("Exception : "+e);
              e.printStackTrace();
              return replyText;
    While Creating and Object for the Class callbpel and Whilw Calling that Method
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    Its throwing an Error:
    Error Occured is:
    After creating the locator object......
    Before creating the NormalizedMessage object......
    After creating the NormalizedMessage object.*.*.*...
    Before creating response object......
    Apr 24, 2008 9:12:00 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at bo.callbpel.Initiate(callbpel.java:55)
         at org.apache.jsp.output_jsp._jspService(output_jsp.java:55)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    For Running JSP i am Using Eclipse 3.2.0 and apache-tomcat-5.5.25
    Please Provide me a Solution......
    Thanks in Advance.....
    Regards,
    Suresh K

    A JSP is not the same as a Java application. A Java application has package statment, import statements, try/catch block, a JSP doesn't.

  • Error 500 with .htaccess and +FollowSymlinks

    Hi, I'm doing a website for a community of gamers and I have one .htaccess on the root folder of the website that cointains parameters to allow using friendly urls. The content of the .htacces is this:
    RewriteEngine On
    Options +FollowSymLinks
    RewriteBase /~doodom/doomhispano/
    Rewriterule ^administracion/$ ?administracion
    Rewriterule ^articulos.html$ ?articulos
    Rewriterule ^descargas.html$ ?descargas
    Rewriterule ^foro/$ ?foro
    Rewriterule ^foro/(.*)/(.*)/(.*)/(.*).html$ ?foro&cat=$1&sub=$2&thr=$3&title=$4
    Rewriterule ^foro/(.*)/(.*)/$ ?foro&cat=$1&sub=$2
    Rewriterule ^foro/(.*)/$ ?foro&cat=$1
    Rewriterule ^juegos.html$ ?juegos
    Rewriterule ^logout.html$ logout.php
    Rewriterule ^noticias/$ ./ [R]
    Rewriterule ^noticias/(.*)/(.*).html$ ?noticias&id=$1&title=$2
    Rewriterule ^noticias/archivo(.*).html$ ?offset=$1
    Rewriterule ^perfil/$ ./ [R]
    Rewriterule ^perfil/(.*).html$ ?perfil=$1
    Rewriterule ^preferencias.html$ ?preferencias
    Rewriterule ^registro.html$ ?registro
    The problem is that Apache delivers an Error 500 and I don't know why. It always happen when I have uncommented this line:
    Options +FollowSymLinks
    If I comment it the website loads correctly, but the friendly urls don't work at all.
    I also paste the content of my /etc/httpd/conf/httpd.conf
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "/var/log/httpd/foo_log"
    # with ServerRoot set to "/etc/httpd" will be interpreted by the
    # server as "/etc/httpd//var/log/httpd/foo_log".
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk. If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/etc/httpd"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 81
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authn_file_module modules/mod_authn_file.so
    LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_anon_module modules/mod_authn_anon.so
    LoadModule authn_dbd_module modules/mod_authn_dbd.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule dbd_module modules/mod_dbd.so
    LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule ext_filter_module modules/mod_ext_filter.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    LoadModule substitute_module modules/mod_substitute.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule log_forensic_module modules/mod_log_forensic.so
    LoadModule logio_module modules/mod_logio.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule ident_module modules/mod_ident.so
    LoadModule usertrack_module modules/mod_usertrack.so
    LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule ssl_module modules/mod_ssl.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule suexec_module modules/mod_suexec.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule cgid_module modules/mod_cgid.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule php5_module modules/libphp5.so
    <IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User http
    Group http
    </IfModule>
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName www.example.com:80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/srv/http"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/srv/http">
    Options Indexes FollowSymLinks
    AllowOverride none
    Order allow,deny
    Allow from all
    </Directory>
    <Directory "/home/*/public_html">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/var/log/httpd/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    CustomLog "/var/log/httpd/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "/var/log/httpd/access_log" combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock /var/run/httpd/cgisock
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    # Language settings
    Include conf/extra/httpd-languages.conf
    # User home directories
    Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    Include conf/extra/httpd-default.conf
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    # PHP 5
    Include conf/extra/php5_module.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    And if I check the error_log I can see the following:
    [Tue Jun 02 23:32:39 2009] [alert] [client xx.xx.xx.xx] /home/doodom/public_html/doomhispano/.htaccess: Options not allowed here
    Why does this happen? Any ideas?
    I've searched all along the Internet, I have tried it out everything but still nothing.
    Thanks in advance for your help.
    Last edited by [DoodoM] (2009-06-02 19:48:42)

    Uhm... what's an /etc/httpd/conf/httpd.conf?
    If I had that error, I'd look into /etc/apache/sites* and see if for the site changing follow-symlinks and everything is allowed.
    Then again, that's not an arch server, so you might be better of ignoring me (if your... stuff... is all that different. Me did my server strange chaos admin method like )
    Edit: wah, now I've been confusing myself, that huge config file is a mess in my eyes - are you sure you're supposed to change stuff in there? What folder is your htaccess in? Most I saw look about like that in there...:
    <Directory "??????">
        Options Indexes FollowSymLinks
        AllowOverride none
        Order allow,deny
        Allow from all
    </Directory>
    Which isn't a thaaat good for using .htaccess.
    Last edited by whoops (2009-06-02 20:01:58)

  • 'Error: 500 SC_INTERNAL_SERVER_ERROR' after init() and before doGet() method in servlet.

    Hi to you all,
    I have been working with ias6.0 sp2 on Unix.
    I have a simple web application with servlets and packaged auxiliary classes. Deployment seems all good. But when I try to call my first servlet with URL, I get this message on the navigator : "Error: 500 SC_INTERNAL_SERVER_ERROR
    null ".
    In the log file, I have that :
    "error: Exception: SERVLET-execution_failed: Error in executing servlet myServlet: java.lang.NullPointerException [...]
    at com.netscape.server.servlet.servletrunner.ServletInfo.checkAuthorization (Unknown source)
    error: APPLOGIC-caught_exception: Caught Exception:
    java.lang.NullPointerException
    at com.netscape.server.servlet.servletrunner.ServletInfo.popPrincipalFromTLD (Unknown source )
    My application works well with iws. So, what's up ?
    The init() method is executed, but not the doGet() one.
    Well, hear you soon !
    Paul-Emile

    Hi,
    Although it is difficult to point out the place where the error exactly occurs, I can suggest the reasons. The possible place for error to occur normally lies in the database connectivity. When the HttpServlet is not able to communicate with the database or encountered errors while communicating with the database. Please let me know if this helps.
    Regards
    Raj

  • Error 500 AND 'No principal found for UID:' problems

    Hi,
    We are having problems familiar to what I read on this forum.
    First, the log-file mentions lots of times: 'No principal found for UID:blabla', with some lines following it.
    Second, we get error 500 when setting the delegates or even looking at it.
    Below, I added part of the error.log
    Best regards,
    Emile
    2008-01-16 14:16:23+0100 [-] Log opened.
    2008-01-16 14:16:23+0100 [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
    2008-01-16 14:16:23+0100 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
    2008-01-16 14:16:23+0100 [-] 2 processors found, configuring 2 processes.
    2008-01-16 14:16:23+0100 [-] Adding pydirector service with configuration: /tmp/pydir18zae7
    2008-01-16 14:16:23+0100 [-] twistedcaldav.logging.AMPLoggingFactory starting on "'/var/run/caldavd.sock'"
    2008-01-16 14:16:25+0100 [-] [caldav-8010] [-] Log opened.
    2008-01-16 14:16:25+0100 [-] [caldav-8010] [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
    2008-01-16 14:16:25+0100 [-] [caldav-8010] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
    2008-01-16 14:16:25+0100 [-] [caldav-8010] [-] Configuring directory service of type: twistedcaldav.directory.appleopendirectory.OpenDirectoryService
    2008-01-16 14:16:25+0100 [-] [caldav-8009] [-] Log opened.
    2008-01-16 14:16:25+0100 [-] [caldav-8009] [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
    2008-01-16 14:16:25+0100 [-] [caldav-8009] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
    2008-01-16 14:16:25+0100 [-] [caldav-8009] [-] Configuring directory service of type: twistedcaldav.directory.appleopendirectory.OpenDirectoryService
    2008-01-16 14:16:25+0100 [-] [caldav-8009] [-] "Directory service <OpenDirectoryService '/Search': '/Search'> has no GUID; generating service GUID from realm name."
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] "Directory service <OpenDirectoryService '/Search': '/Search'> has no GUID; generating service GUID from realm name."
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Configuring SudoDirectoryService with file: /etc/caldavd/sudoers.plist
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Setting up document root at: /Library/CalendarServer/Documents
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'>
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Setting up default ACEs on root resource
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Setting up AdminPrincipals
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Setting root ACL
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Configuring authentication for realm: /Search
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Setting up scheme: digest
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Initializing database /var/run/caldavd/.db.digestcredentialscache
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] Configuring SudoDirectoryService with file: /etc/caldavd/sudoers.plist
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] Setting up document root at: /Library/CalendarServer/Documents
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'>
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] Setting up default ACEs on root resource
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] Setting up AdminPrincipals
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] Setting root ACL
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] Configuring authentication for realm: /Search
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] Setting up scheme: digest
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] "Exception while executing SQL: 'select KEY from DIGESTCREDENTIALS' ()"
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] Traceback (most recent call last):
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] File "/usr/share/caldavd/bin/twistd", line 21, in <module>
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] run()
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] app.run(runApp, ServerOptions)
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 379, in run
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] runApp(config)
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] _SomeApplicationRunner(config).run()
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 157, in run
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] self.application = self.createOrGetApplication()
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 202, in createOrGetApplication
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] ser = plg.makeService(self.config.subOptions)
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] File "/usr/share/caldavd/lib/python/twistedcaldav/tap.py", line 586, in makeService
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Configuring authentication wrapper
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Setting up service
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0x1475570>
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Adding server at 127.0.0.1:8009
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] twisted.web2.channel.http.HTTPFactory starting on 8009
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x14761c0>
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] service = serviceMethod(options)
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] File "/usr/share/caldavd/lib/python/twistedcaldav/tap.py", line 487, in makeService_Slave
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] config.DataRoot,
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/digest.py", line 337, in _init_
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] self.cleanup()
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/digest.py", line 506, in cleanup
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] keys = self.db.keys()
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/digest.py", line 244, in keys
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] for key in self.dbexecute("select KEY from DIGESTCREDENTIALS"):
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] File "/usr/share/caldavd/lib/python/twistedcaldav/sql.py", line 232, in dbexecute
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] q.execute(sql, query_params)
    2008-01-16 14:16:26+0100 [-] [caldav-8010] [-] sqlite3.OperationalError: no such table: DIGESTCREDENTIALS
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] set uid/gid 93/93
    2008-01-16 14:16:26+0100 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
    2008-01-16 14:16:26+0100 [-] [caldav-8009] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd.sock'))
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Log opened.
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Configuring directory service of type: twistedcaldav.directory.appleopendirectory.OpenDirectoryService
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] "Directory service <OpenDirectoryService '/Search': '/Search'> has no GUID; generating service GUID from realm name."
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Configuring SudoDirectoryService with file: /etc/caldavd/sudoers.plist
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Setting up document root at: /Library/CalendarServer/Documents
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'>
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Setting up default ACEs on root resource
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Setting up AdminPrincipals
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Setting root ACL
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Configuring authentication for realm: /Search
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Setting up scheme: digest
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Configuring authentication wrapper
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Setting up service
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0x14754b0>
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Adding server at 127.0.0.1:8010
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] twisted.web2.channel.http.HTTPFactory starting on 8010
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x14761c0>
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] set uid/gid 93/93
    2008-01-16 14:16:29+0100 [-] [caldav-8010] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd.sock'))
    2008-01-16 14:16:29+0100 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
    2008-01-16 14:17:33+0100 [-] [caldav-8009] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd-pydir.sock'))
    2008-01-16 14:17:33+0100 [-] [caldav-8009] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
    2008-01-16 14:17:34+0100 [-] [caldav-8009] [AMP,client] "Directory service <SudoDirectoryService '/Search': FilePath('/etc/caldavd/sudoers.plist')> has no GUID; generating service GUID from realm name."
    2008-01-16 14:17:35+0100 [-] [caldav-8009] [AMP,client] PROPFIND /principals/_uids_/8F56DE32-5CB6-491D-A820-D6D4A12B6BED/ HTTP/1.1
    2008-01-16 14:17:36+0100 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/emile/ HTTP/1.1
    2008-01-16 14:17:37+0100 [-] [caldav-8009] [-] u'No principal found for UID: 633CBE36-2414-44BA-AAE3-2B3CD2EA3843'
    2008-01-16 14:17:37+0100 [-] [caldav-8009] [-] Unhandled error in Deferred:
    2008-01-16 14:17:37+0100 [-] [caldav-8009] [-] Unhandled Error
    2008-01-16 14:17:37+0100 [-] [caldav-8009] Traceback (most recent call last):
    2008-01-16 14:17:37+0100 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 677, in unwindGenerator
    2008-01-16 14:17:37+0100 [-] [caldav-8009] return _deferGenerator(f(*args, **kwargs), Deferred())
    2008-01-16 14:17:37+0100 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 576, in _deferGenerator
    2008-01-16 14:17:37+0100 [-] [caldav-8009] result = g.next()
    2008-01-16 14:17:37+0100 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 1208, in inheritedACEsforChildren
    2008-01-16 14:17:37+0100 [-] [caldav-8009] if self.matchPrincipal(principal, ace.principal, request):
    2008-01-16 14:17:37+0100 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 677, in unwindGenerator
    2008-01-16 14:17:37+0100 [-] [caldav-8009] return _deferGenerator(f(*args, **kwargs), Deferred())
    2008-01-16 14:17:37+0100 [-] [caldav-8009] --- <exception caught here> ---
    2008-01-16 14:17:37+0100 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 576, in _deferGenerator
    2008-01-16 14:17:37+0100 [-] [caldav-8009] result = g.next()
    2008-01-16 14:17:37+0100 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 1373, in matchPrincipal
    2008-01-16 14:17:37+0100 [-] [caldav-8009] ismember = ismember.getResult()
    2008-01-16 14:17:37+0100 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 555, in getResult
    2008-01-16 14:17:37+0100 [-] [caldav-8009] self.result.raiseException()
    2008-01-16 14:17:37+0100 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/python/failure.py", line 303, in raiseException
    2008-01-16 14:17:37+0100 [-] [caldav-8009] raise self.type, self.value, self.tb
    2008-01-16 14:17:37+0100 [-] [caldav-8009] exceptions.AttributeError: 'NoneType' object has no attribute 'principalUID'
    2008-01-16 14:17:37+0100 [-] [caldav-8009]

    Thanks Cyrus,
    This worked: I created a dummy user and enabled calendaring for this user.
    The error log-file is still not empty (see below). Are these really errors or what?
    Best regards,
    Emile
    2008-01-28 09:46:06+0100 [-] [caldav-8009] [-] Setting up service
    2008-01-28 09:46:06+0100 [-] [caldav-8009] [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0x14755f0>
    2008-01-28 09:46:06+0100 [-] [caldav-8009] [-] Adding server at 127.0.0.1:8009
    2008-01-28 09:46:06+0100 [-] [caldav-8009] [-] twisted.web2.channel.http.HTTPFactory starting on 8009
    2008-01-28 09:46:06+0100 [-] [caldav-8009] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x1476210>
    2008-01-28 09:46:06+0100 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
    2008-01-28 09:46:06+0100 [-] [caldav-8009] [-] set uid/gid 93/93
    2008-01-28 09:46:06+0100 [-] [caldav-8009] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd.sock'))
    2008-01-28 09:46:08+0100 [-] [caldav-8010] [-] Configuring authentication wrapper
    2008-01-28 09:46:08+0100 [-] [caldav-8010] [-] Setting up service
    2008-01-28 09:46:08+0100 [-] [caldav-8010] [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0x14755f0>
    2008-01-28 09:46:08+0100 [-] [caldav-8010] [-] Adding server at 127.0.0.1:8010
    2008-01-28 09:46:08+0100 [-] [caldav-8010] [-] twisted.web2.channel.http.HTTPFactory starting on 8010
    2008-01-28 09:46:08+0100 [-] [caldav-8010] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x1476210>
    2008-01-28 09:46:08+0100 [-] [caldav-8010] [-] set uid/gid 93/93
    2008-01-28 09:46:08+0100 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
    2008-01-28 09:46:08+0100 [-] [caldav-8010] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd.sock'))
    2008-01-28 09:47:33+0100 [-] [caldav-8009] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd-pydir.sock'))
    2008-01-28 09:47:33+0100 [-] [caldav-8009] [AMP,client] "Directory service <SudoDirectoryService '/Search': FilePath('/etc/caldavd/sudoers.plist')> has no GUID; generating service GUID from realm name."
    2008-01-28 09:47:33+0100 [-] [caldav-8009] [AMP,client] PROPFIND /principals/_uids_/8F56DE32-5CB6-491D-A820-D6D4A12B6BED/ HTTP/1.1
    2008-01-28 09:47:34+0100 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/emile/ HTTP/1.1
    2008-01-28 09:47:34+0100 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/emile/calendar/ HTTP/1.1
    2008-01-28 09:47:34+0100 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/emile/calendar/ HTTP/1.1
    2008-01-28 09:47:34+0100 [-] [caldav-8009] [AMP,client] REPORT /calendars/users/emile/calendar/ HTTP/1.1
    2008-01-28 09:47:35+0100 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/emile/inbox/ HTTP/1.1
    2008-01-28 09:49:58+0100 [-] [caldav-8009] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
    2008-01-28 09:49:58+0100 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/pim/calendar/ HTTP/1.1
    2008-01-28 09:49:59+0100 [-] [caldav-8010] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd-pydir.sock'))
    2008-01-28 09:49:59+0100 [-] [caldav-8009] [AMP,client] REPORT /calendars/users/pim/calendar/ HTTP/1.1
    2008-01-28 09:50:56+0100 [-] [caldav-8010] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
    2008-01-28 09:50:56+0100 [-] [caldav-8010] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
    2008-01-28 09:50:56+0100 [-] [caldav-8010] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
    2008-01-28 09:50:56+0100 [-] [caldav-8010] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
    2008-01-28 09:50:56+0100 [-] [caldav-8010] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
    2008-01-28 09:50:56+0100 [-] [caldav-8010] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
    2008-01-28 09:50:56+0100 [-] [caldav-8010] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
    2008-01-28 09:51:16+0100 [-] [caldav-8010] [AMP,client] "Directory service <SudoDirectoryService '/Search': FilePath('/etc/caldavd/sudoers.plist')> has no GUID; generating service GUID from realm name."
    2008-01-28 09:51:16+0100 [-] [caldav-8010] [AMP,client] REPORT /calendars/users/pim/calendar/ HTTP/1.1
    2008-01-28 09:51:44+0100 [-] [caldav-8009] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
    2008-01-28 09:51:45+0100 [-] [caldav-8009] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
    2008-01-28 09:51:47+0100 [-] [caldav-8010] [-] 'Too many matching components in calendar-query report'
    20

  • Error 500 and also getting an ISAPI error.

    Description of the Problem/Question:
    Here is the error message we are seeing in the extended logging on the webserver. We can replicate in our test
    environment and this log is from the test region. It throws an error 500, ISAPI error to the user.
    Here are the log entries from wlacess.log on cssna105. I tried to search for the root cause without any success.
    At some point, some one was saying to set the KeepAlive value to off. It is recommended to set to ON in performance guide.
    Ct claims, small size of the messaging is getting through and some with larger size is getting this errors.
    wlacess.log:
    <79241247502601228> SSL is not being used
    Mon Jul 13 12:30:01 2009 <79241247502601228> resolveRequest: wlforward: /
    Mon Jul 13 12:30:01 2009 <79241247502601228> URI is /, len=1
    Mon Jul 13 12:30:01 2009 <79241247502601228> Request URI = []
    Mon Jul 13 12:30:01 2009 <79241247502601228> attempt #0 out of a max of 5
    Mon Jul 13 12:30:01 2009 <79241247502601228> Trying a pooled connection for 'XXXXXX/9100/9100'
    Mon Jul 13 12:30:01 2009 <79241247502601228> got pooled connection to server 'XXXXXXX/9100/9100' from general list for '/', Local port: 1318
    Mon Jul 13 12:30:01 2009 <79241247502601228> WLS info in sendRequest: XXXXXXX:9100 recycled? 1
    Mon Jul 13 12:30:01 2009 <79241247502601228> URL::parseHeaders: CompleteStatusLine set to http://HTTP/1.1 200 OK
    Mon Jul 13 12:30:01 2009 <79241247502601228> URL::parseHeaders: StatusLine set to 200 OK
    Mon Jul 13 12:30:01 2009 <79241247502601228> parsed all headers OK
    Mon Jul 13 12:30:01 2009 <79241247502601228> sendResponse() : uref->getStatus() = '200'
    Mon Jul 13 12:30:01 2009 <79241247502601228> Going to send headers to the client. Status :200 OK
    Mon Jul 13 12:30:01 2009 <79241247502601228> Content Length = 1573
    Mon Jul 13 12:30:01 2009 <79241247502601228> canRecycle: conn=1 status=200 isKA=1 clen=1573 isCTE=0
    Mon Jul 13 12:30:01 2009 <79241247502601228> closeConn: pooling for 'XXXXXX/9100'
    Mon Jul 13 12:30:01 2009 <79241247502601228> request [] processed successfully ..................
    Mon Jul 13 12:30:02 2009 <79241247502598226> URL::parseHeaders: CompleteStatusLine set to http://HTTP/1.1 200 OK
    Mon Jul 13 12:30:02 2009 <79241247502598226> URL::parseHeaders: StatusLine set to 200 OK
    Mon Jul 13 12:30:02 2009 <79241247502598226> parsed all headers OK
    Mon Jul 13 12:30:02 2009 <79241247502598226> sendResponse() : uref->getStatus() = '200'
    Mon Jul 13 12:30:02 2009 <79241247502598226> Going to send headers to the client. Status :200 OK
    Mon Jul 13 12:30:02 2009 <79241247502598226> Content Length Unknown
    Mon Jul 13 12:30:02 2009 <79241247502598226> *******Exception type READ_ERROR_FROM_SERVER (socket read failure) raised at line 207 of ..\nsapi\.\Reader.cpp
    Mon Jul 13 12:30:02 2009 <79241247502598226> got exception in sendResponse phase: READ_ERROR_FROM_SERVER http://os error=0, line 207 of ..\nsapi\.\Reader.cpp: socket read failure at line 1043
    Mon Jul 13 12:30:02 2009 <79241247502598226> NOT failing over after sendResponse() exception: READ_ERROR_FROM_SERVER
    Mon Jul 13 12:30:02 2009 <79241247502598226> request [PSIGW/HttpListeningConnector] did NOT process successfully ..................
    Mon Jul 13 12:30:03 2009 <79241247502603229>
    and
    from JAVA STACK TRACE, any thoughts for the cause...
    POID:52482812] [UserId:USDW] [Message:Connection to PeopleSoft failed. Response returned: HTTP/1.1 500 Internal Server ErrorConnection: closeDate: Fri, 10 Jul 2009 15:06:54 GMTServer: Microsoft-IIS/6.0X-Powered-By: ASP.NETContent-Type: text/html<TITLE>ISAPI plug-in Error Message</TITLE><H2>Message from the ISAPI plugin:</H2><P><PRE>Internal Server failure, ISAPI plugin. Cannot continue.</PRE><HR><I>Build date/time: Mar 19 2009<I><P><HR><B>Change Number:</B> <I>1203144<BR>] [Cause:null] [Stack Trace]

    Sonia Amin wrote:
    Hello,
    >
    > Kindly do the following and see if it works:
    >
    > 1.Stop Tomcat
    > 2. Deleted the content within the localhost of work directory inside tomcat folder. ( ex. folders under \installation drive\Business Objects\Tomcat6\work\Catalina\localhost)
    > 3. Restart the tomcat.
    > 4. Wait till the localhost folder is repopulated.
    >
    > Try the link now.
    >
    > Regards
    > Sonia
    Hi Sonia,
    Just tested the suggested steps, but alas - same error.
    Regards,

  • Deploying JSP which invokes BPEL - internal server error 500

    i'm trying to invoke a bpel process using a JSP page thru jdeveloper, however i'm not sure how to do it...
    everytime i run the jsp page it reported the following "internal server error 500"
    so i'm guessing i have to change how the jsp file is deployed
    how do i deploy the jsp page onto the BPEL server???
    cheers,
    Shivek Sachdev

    i'm trying to invoke a bpel process using a JSP page thru jdeveloper, however i'm not sure how to do it...
    everytime i run the jsp page it reported the following "internal server error 500"
    so i'm guessing i have to change how the jsp file is deployed
    how do i deploy the jsp page onto the BPEL server???
    cheers,
    Shivek Sachdev

  • Hi, when I go to "select files to send" and click on "sent files" I get: "Internal Server Error (500) Your request could not be completed due to an internal server error".  I tried rebooting and that didn't work.  Any help would be appreciated.  Thanks.

    Hi, when I go to "select files to send" and click on "sent files" I get: "Internal Server Error (500) Your request could not be completed due to an internal server error".  This never happened b4.  I tried rebooting and that didn't work.  Any help would be appreciated.  Thanks.

    Hi ,
    Thank you for your question.
    This error was caused by the incorrect site binding, I will give a reference of my test Lab. We add two A records in DNS which the FQDN of CAS and Mailbox could resolve IP address.;
    Default Web Site:
    Exchange Back End:
    Then IIS must be restarted.
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim

  • ASMX web service and The remote server returned an error: (500) Internal Server Error issue

    i have developed a very small web service and which is hosted along with our web site. our webservice url is
    http://www.bba-reman.com/Search/SearchDataIndex.asmx
    web service code
    namespace WebSearchIndex
    #region SearchDataIndex
    /// <summary>
    /// SearchDataIndex is web service which will call function exist in another library for part data indexing
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
    // [System.Web.Script.Services.ScriptService]
    public class SearchDataIndex : System.Web.Services.WebService
    //public AuthHeader ServiceAuth=null;
    public class AuthHeader : SoapHeader
    public string Username;
    public string Password;
    #region StartIndex
    /// <summary>
    /// this function will invoke CreateIndex function of SiteSearch module to reindex the data
    /// </summary>
    [WebMethod]
    public string StartIndex(AuthHeader auth)
    string strRetVal = "";
    if (auth.Username == "Admin" && auth.Password == "Admin")
    strRetVal = SiteSearch.CreateIndex(false);
    else
    SoapException se = new SoapException("Failed : Invalid credentials",
    SoapException.ClientFaultCode,Context.Request.Url.AbsoluteUri,new Exception("Invalid credentials"));
    throw se;
    return strRetVal;
    #endregion
    #endregion
    when i was calling that web service from my win apps using
    HttpWebRequest
    class then getting error The remote server returned an error: (500) Internal Server Error
    here is code of my win apps from where i am calling web service
    string strXml = "";
    strXml = "<s:Envelope xmlns:s='http://schemas.xmlsoap.org/soap/envelope/'><s:Body><StartIndex xmlns='http://tempuri.org/' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'><auth><Username>joy</Username><Password>joy</Password></auth></StartIndex></s:Body></s:Envelope>";
    string url = "http://www.bba-reman.com/Search/SearchDataIndex.asmx";
    HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
    req.Method = "POST";
    req.ContentType = "text/xml";
    req.KeepAlive = false;
    req.ContentLength = strXml.Length;
    StreamWriter streamOut = new StreamWriter(req.GetRequestStream(), System.Text.Encoding.ASCII);
    streamOut.Write(strXml);
    streamOut.Close();
    StreamReader streamIn = new StreamReader(req.GetResponse().GetResponseStream());
    string strResponse = streamIn.ReadToEnd();
    streamIn.Close();
    i am just not being able to understand when this line execute
    StreamReader streamIn = new StreamReader(req.GetResponse().GetResponseStream());
    then getting the error The remote server returned an error: (500) Internal Server Error
    not being able to understand where i made the mistake. mistake is in the code of web service end or in calling code?
    help me to fix this issue. thanks

    Hi Mou,
    I just tried your win app code about calling web service, but failed. I got the 500 error after I called your service:
    The error message I quoted from Fiddler:
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Failed : Invalid credentials ---&gt; System.Exception: Invalid credentials
    --- End of inner exception stack trace ---
    at BBAReman.WebSearchIndex.SearchDataIndex.StartIndex(AuthHeader auth)</faultstring><faultactor>http://www.bba-reman.com/Search/SearchDataIndex.asmx</faultactor><detail /></soap:Fault></soap:Body></soap:Envelope>
    I am not totally sure that error occurred by the authentication. But I suggest you can try to add this service into your project using this method below:
    1.right click the Reference and select Add Service Reference
    2.input your service link and click "Go"
    And you can use this service as the following:
    private async void callService()
    ServiceReference1.SearchDataIndexSoapClient client =new ServiceReference1.SearchDataIndexSoapClient();
    var Str= await client.StartIndexAsync(new ServiceReference1.AuthHeader { Username = "Admin", Password = "Admin" });
    Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for