Error 500, deployment with struts

An application developed in JDeveloper 9.02 with struts 1.1b works fine when running using the local OC4J instance running from JDeveloper. I created a deployment profile with a .war and .ear, deployed to the OC4J standalone instance using the EM website, and all seemed well. Now it sporadically gives the "Internal Server Error" when navigating between pages. I can't find anything in the logs, and ideas?

It's OC4J core install for 9iAS Release 9.02. I've deployed to Solaris since there is a bug that can give this error that is patched for Solaris, but not Windows. The error occurs when navigating pages in a struts app. Sometimes it works fine, then you click on one of the image buttons to go to the next .jsp and this error comes up.
Ruth
What version of OC4J you are testing on ?
Is it OC4J standalone or Oracle9iAS that you are using.
more details would be helpful in diagnosing the problem.
-Prasad

Similar Messages

  • HTTP Error 500.0 with CF 9 & IIS 7.5 32 bit enabled web app

    Hello !
    I have recently installed CF 9 64 bit on Windows Server 2008 Standard Edition R2 with IIS 7.5.  I have just set the 'Enable 32 bit applications' option on the application pool settings to 'true' for one of the sites as I have some web pages that make use of a 32 bit COM DLL.  I originally had this option set to 'false' and all of the web pages in my site were being served fine with the exception of the ones making use of the 32 bit COM DLL.
    The details on the error message from IIS are as follows:
    HTTP Error 500.0 - Internal Server Error
    Detailed Error Information:
    Module: IsapiModule
    Notification: ExecuteRequestHandler
    Handler: AboMapperCustom-75500
    Error Code: 0x800700c1
    Most Likely causes:
    IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
    IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
    IIS was not able to process configuration for the Web site or application.
    The authenticated user does not have permission to use this DLL.
    The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
    Things you can try:
    Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
    Check the event logs to see if any additional information was logged.
    Verify the permissions for the DLL.
    Install the .NET Extensibility feature if the request is mapped to a managed handler.
    Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
    I am not sure if the error is permissions related or not.
    1.  How do I rectify this error and still keep the 'Enable 32 application' option turned on so I can call a 32 bit COM DLL ?
    2.  In general, can the 64 bit version of CF 9 even invoke 32 bit COM DLL's on IIS 7.5 or should this only be done with the 32 bit version of CF 9 ?
    I would appreciate any help.
    Thank you.

    Here is the info:
    http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-apsb12-15.html
    See notes section 5
    CF9.0.2 came out with apsb12-15 applied.
    Difference with CF10 is you can use CFadmin to change postparamlimit setting.
    Cheers, Carl.

  • Console error while deploying a struts application..

    I am getting following exception while deploying a struts application:-
    javax.servlet.ServletException: org/apache/commons/logging/LogFactory
         at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:884)
         at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
         at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5647)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
         at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2022)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2063)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2592)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2515)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2317)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2399)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2311)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2479)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    please help me out.

    The ServletException is just a wrapper exception which informs about an underlying failure. When interpreting stacktraces,the bottommost root cause parts is the most important part. I assume that it's just a java.lang.ClassNotFoundException on org/apache/commons/logging/LogFactory. In that case, the exception is self-explaining enough. The mentioned class is missing in the classpath. The solution is also obvious: add the mentioned class (or at least, the JAR file with the mentioned class) to the classpath and you're fine. As the package name already hints, you can download it at [http://commons.apache.org/logging].
    For future java.lang.* exceptions please consult 'New to Java' forum. This is unrelated to Java Servlet.

  • Error on Deploy - simple Struts + SLSB + PostGreSQL DS

    Hi,
    I'm completly new to SOAS and J2EE, so I hope someone can help me on this.
    I get the following error when I deploy my (first ever :P) .ear-file:
    Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to load deployment descriptor for: kvnet cause: Error converting J2EE-specific ejb xml to object representation: kvnet-ejbs.jar app_kvnet Test This bean has no resource reference by the name of [jdbc/QSMS-DB] jdbc/QSMS-DBjdbc/QSMS-DB
    My EAR consists of two archives: a .war and kvnet-ejbs.jar with a session bean.
    Description of Application:
    I created a very simple Struts webapp (one servlet login filter and some .jsp`s) and already deployed the .war successfully (and run it). Now I want to add the EJB side to my application. I made a simple stateless Sessionbean which should simply connect to a PostGreSQL database through a connection pool (because after that I want to use cmp entity beans with this pool).
    In my server.xml:
    <resources>
    <jdbc-resource enabled="true" pool-name="QSMSPool" jndi-name="jdbc/QSMS-DS">
    <description>JDBC Resource des QSMS (zum Zugriff per JNDI)</description>
    </jdbc-resource>
    <jdbc-connection-pool steady-pool-size="8" max-pool-size="32" max-wait-time-in-millis="60000" pool-resize-quantity="2" idle-timeout-in-seconds="300" is-isolation-level-guaranteed="false" is-connection-validation-required="false" connection-validation-method="auto-commit" fail-all-connections="false" datasource-classname="org.postgresql.jdbc3.Jdbc3PoolingDataSource" name="QSMSPool">
    <description>Connection Pool des QSMS der PostGreSQL DB</description>
    <property value="bdrserv.quasa.org" name="serverName"/>
    <property value="5432" name="portNumber"/>
    <property value="appserver" name="user"/>
    <property value="jS7v6X" name="password"/>
    <property value="kvnet" name="databaseName"/>
    </jdbc-connection-pool>
    </resources>
    My ejb-jar.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <description>stateless session bean, mit dem die db-connection getestet werden soll</description>
    <display-name>Test</display-name>
    <enterprise-beans>
    <session>
    <description>test ejb fuer db-conn-test (postgresql)</description>
    <display-name>TestEJB</display-name>
    <ejb-name>TestEJB</ejb-name>
    <local-home>de.quasa.kvnet.ejb.test.TestLocalHome</local-home>
    <local>de.quasa.kvnet.ejb.test.TestLocal</local>
    <ejb-class>de.quasa.kvnet.ejb.test.TestEJB</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Bean</transaction-type>
    <ejb-local-ref>
    <ejb-ref-name>ejb/Test</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>de.quasa.kvnet.ejb.test.TestLocalHome</local-home>
    <local>de.quasa.kvnet.ejb.test.TestLocal</local>
    <ejb-link>kvnet-ejbs.jar#TestEJB</ejb-link>
    </ejb-local-ref>
    <security-identity>
    <description></description>
    <use-caller-identity></use-caller-identity>
    </security-identity>
    <resource-ref>
    <res-ref-name>QSMS-DS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <method-permission>
    <unchecked />
    <method>
    <ejb-name>TestEJB</ejb-name>
    <method-intf>LocalHome</method-intf>
    <method-name>remove</method-name>
    <method-params>
    <method-param>java.lang.Object</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>TestEJB</ejb-name>
    <method-intf>LocalHome</method-intf>
    <method-name>create</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>TestEJB</ejb-name>
    <method-intf>Local</method-intf>
    <method-name>testConnection</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>TestEJB</ejb-name>
    <method-intf>Local</method-intf>
    <method-name>isIdentical</method-name>
    <method-params>
    <method-param>javax.ejb.EJBLocalObject</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>TestEJB</ejb-name>
    <method-intf>Local</method-intf>
    <method-name>getPrimaryKey</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>TestEJB</ejb-name>
    <method-intf>Local</method-intf>
    <method-name>remove</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>TestEJB</ejb-name>
    <method-intf>Local</method-intf>
    <method-name>getEJBLocalHome</method-name>
    <method-params />
    </method>
    </method-permission>
    </assembly-descriptor>
    </ejb-jar>
    My sun-ejb-jar.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd">
    <sun-ejb-jar>
         <enterprise-beans>
              <name>kvnet-ejbs.jar</name>
              <ejb>
                   <ejb-name>TestEJB</ejb-name>
                   <jndi-name>ejb/Test</jndi-name>
    <resource-ref>
    <res-ref-name>jdbc/QSMS-DB</res-ref-name>
    <jndi-name>jdbc/QSMS-DB</jndi-name>
    </resource-ref>
    <gen-classes/>
              </ejb>
         </enterprise-beans>
    </sun-ejb-jar>
    My application.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'>
    <application>
    <display-name>kvnetapp</display-name>
    <description>KVNetApp - Application description</description>
    <module>
    <ejb>kvnet-ejbs.jar</ejb>
    </module>
    <module>
    <web>
    <web-uri>kvnet.war</web-uri>
    <context-root>web-app2</context-root>
    </web>
    </module>
    </application>
    My web.xml:
    <?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>
         <display-name>QSMS Application</display-name>
    <!-- servletfilter and struts definitions are left out for better readability -->
         <ejb-local-ref>
              <description>TestEJB local ref</description>
              <ejb-ref-name>ejb/Test</ejb-ref-name>
              <ejb-ref-type>Session</ejb-ref-type>
              <local-home>de.quasa.kvnet.ejb.test.TestLocalHome</local-home>
              <local>de.quasa.kvnet.ejb.test.TestLocal</local>
    <ejb-link>TestEJB</ejb-link>
         </ejb-local-ref>
    </web-app>
    My SLSB code:
    public class TestEJB implements SessionBean {
    public boolean testConnection() {
    Connection con = null;
    try {
    InitialContext ctx = new InitialContext();
    DataSource source = (DataSource)ctx.lookup("java:comp/env/jdbc/QSMS-DS");
    con = source.getConnection();
    // use connection
    if (con == null) {
    System.out.println("CONNECTION IS NULL!!!");
    } catch (SQLException e) {
    // log error
    System.out.println("SQLException abgefangen: "+e.getMessage());
    } catch (NamingException e) {
    // DataSource wasn't found in JNDI
    System.out.println("NamingException abgefangen: "+e.getMessage());
    } finally {
    if (con != null) {
    try { con.close(); } catch (SQLException e) {}
    return true;
    public void ejbCreate() {}
    public void ejbRemove() {}
    public void ejbActivate() {}
    public void ejbPassivate() {}
    public void setSessionContext(SessionContext ctx) {}
    public interface TestLocal extends EJBLocalObject {
    public boolean testConnection();
    public interface TestLocalHome extends EJBLocalHome {
    TestLocal create() throws CreateException;
    I hope I made myself clear. :-)
    Thanks for your help.
    Regards,
    Steffen Gransow

    I have a little more information. I noticed that the stderr from the server apparently had the stack trace of the exception, which follows this. In addition, I'll include the application's "application.xml" file (not Oracle-specific).
    ---application.xml---
    <?xml version="1.0"?>
    <!DOCTYPE application PUBLIC
    "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
    "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
    <display-name>FELIX</display-name>
    <!--
    <module>
    <ejb>felix-ejb.jar</ejb>
    </module>
    -->
    <module>
    <web>
    <web-uri>felix-web.war</web-uri>
    <context-root>/felix</context-root>
    </web>
    </module>
    </application>
    ---application.xml---
    ---server stderr---
    ApplicationServer: appName = Felix
    java.lang.NullPointerException: application reference's config was null
         at com.evermind.server.ApplicationServer.getApplication(ApplicationServer.java:1976)
         at com.evermind.server.XMLApplicationServerConfig.initHttp(XMLApplicationServerConfig.java:1365)
         at com.evermind.server.ApplicationServer.doCheckForUpdates(ApplicationServer.java:2308)
         at com.evermind.server.ApplicationServer.checkForUpdates(ApplicationServer.java:2117)
         at com.evermind.server.ApplicationServerTask.run(ApplicationServerTask.java:46)
         at com.evermind.util.TaskManager.run(TaskManager.java:133)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:66)
    ---server stderr---

  • ERROR while deploying with Jython tool

    HI,
    I am trying to deploy a BPEL process using joython tool. This is deploying well in one system, in another system its giving some porblem............ any idea.
    validateTask:
    [validateTask] Validation of workflow task definitions is completed without erro
    rs
    compile:
    validating "C:\workspaces\jdev\deploy\mywork\SNIEbizFinBankStatementServices\Cre
    ateBankstatementEbizFinProvABCSImpl\bpel\CreateBankstatementEbizFinProvABCSImpl.
    bpel" ...
    BPEL suitcase generated in: C:\workspaces\jdev\deploy\mywork\SNIEbizFinBankState
    mentServices\CreateBankstatementEbizFinProvABCSImpl\bpel\output\bpel_CreateBanks
    tatementEbizFinProvABCSImpl_1.0.jar
    deployProcess:
    Deploying process C:\workspaces\jdev\deploy\mywork\SNIEbizFinBankStatementServic
    es\CreateBankstatementEbizFinProvABCSImpl\bpel\output\bpel_CreateBankstatementEb
    izFinProvABCSImpl_1.0.jar
    Traceback (innermost last):
    File "scripts/intDeploy.jy", line 77, in ?
    File "scripts/utilIntg.jy", line 27, in processControlFile
    File "scripts/utilIntg.jy", line 117, in processICF
    File "scripts/utilIntg.jy", line 167, in processApplications
    File "scripts/utilIntg.jy", line 229, in deployApplication
    File "scripts/utilSVN.jy", line 68, in deploy
    File "scripts/utilSVN.jy", line 112, in executeAnt
    Error while loading process.
    The process domain encountered the following errors while loading the process "C
    reateBankstatementEbizFinProvABCSImpl" (revision "1.0"): Javac compiler configur
    ation error.
    Failed to execute javac compiler on file(s) "/opt/oracle/soa/bpel/domains/ebizfi
    nsecureasync/tmp/.bpel_CreateBankstatementEbizFinProvABCSImpl_1.0_f1a2ef9de07efd
    8af2d32ee0c013f56d.tmp/BPEL-INF/src/bpel/createbankstatementebizfinprovabcsimpl/
    BPEL_BIN.java". Exception reported is:
    Please verify that javac compiler is installed on this machine and is included i
    n the classpath (check that "tools.jar" in particular is in the classpath).
    classpath: /opt/oracle/soa/bpel/system/classes:/opt/oracle/soa/bpel/lib/j2ee_1.3
    .01.jar:/opt/oracle/soa/bpel/lib/xmlparserv2.jar:/opt/oracle/soa/bpel/lib/orabpe
    l-ant.jar:/opt/oracle/soa/bpel/lib/orabpel-boot.jar:/opt/oracle/soa/bpel/lib/ora
    bpel-common.jar:/opt/oracle/soa/bpel/lib/orabpel-exts.jar:/opt/oracle/soa/bpel/l
    ib/orabpel-thirdparty.jar:/opt/oracle/soa/bpel/lib/orabpel.jar:/opt/oracle/soa/b
    pel/lib/xmlparserv2.jar:/opt/oracle/soa/bpel/lib/orabpel-ant.jar:/opt/oracle/soa
    /bpel/lib/orabpel-boot.jar:/opt/oracle/soa/bpel/lib/orabpel-common.jar:/opt/orac
    le/soa/bpel/lib/orabpel-exts.jar:/opt/oracle/soa/bpel/lib/orabpel-thirdparty.jar
    :/opt/oracle/soa/bpel/lib/orabpel.jar:/opt/oracle/soa/bpel/lib/xmlparserv2.jar:/
    opt/oracle/soa/bpel/domains/ebizfinsecureasync/tmp/.bpel_CreateBankstatementEbiz
    FinProvABCSImpl_1.0_f1a2ef9de07efd8af2d32ee0c013f56d.tmp/BPEL-INF/classes
    If you have installed a patch to the server, please check that the bpelcClasspat
    h domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.j
    ava:285)
    --Khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    This is caused when the new security certificates were installed, to resolve this issue I followed the following steps and got resolved.
    1.     Open a cmd window
    2.     Change directory to any directory that is under SVN control
    3.     Run, "C:\Program Files\Subversion\bin\svn" list as is.
    4.     You will be prompted to reject®, accept temporarily(t) or accept permanent (p): type in p
    5.     Try your deployment again
    --Khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Mapping error at deployment with foreign key data rule

    I have created data rules for enabling foreign key constraints. There are 4 foreign key constraints on the fact table.
    For the 1st foreign key ... its a single key match key1 on table 1
    For the others, its a composite key .. key1 and key2 on table 2
    key1 and key3 on table 3
    key1 and key4 on table 4
    When I implement with the single key foreign key constraint the mapping works fine. But when I apply the other foreign key data rules for composite keys, I get the following message while deploying ....
    M_CNT Create Warning ORA-06550: line 209, column 3:
    PL/SQL: ORA-00909: invalid number of arguments
    M_CNT Create Warning ORA-06550: line 520, column 65530:
    PL/SQL: SQL Statement ignored
    M_CNT Create Warning ORA-06550: line 56, column 65530:
    PL/SQL: SQL Statement ignored
    M_CNT Create Warning ORA-06550: line 673, column 3:
    PL/SQL: ORA-00909: invalid number of arguments
    The data rule setup done is type Referential
    Specify the number of attributes in row relationship - 2
    Specify the referencing cardinality of row relationship
    Minimum Count 1 Maximum Count n
    Specify the referenced cardinality of row relationship
    Minimum Count 1 Maximum Count n
    What is it that I am doing wrong ?
    Any suggestions. Help !!!!
    Regards,
    AW

    Hi AW,
    How can I overcome this situation ?The best solution as suggested by Jörg is use of surrogate keys.
    For every production key (composite or single) generate a corresponding surrogate key using sequence operator in staging area.
    This will not just solve your problem but it will be faster also (the joins will be faster with system-generated sequence numbers),
    In a data warehouse use of production keys as primary key for linking with (foreign key) is not recommended, keep the production keys as additional attributes.
    Regards,

  • Error in deploying a simple EJB 3.0

    Hi ,
    I am getting the following error while deploying my simple ejb of version 3.0 in Weblogic 9.2.
    Exception preparing module: EJBModule(build) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: Error processing annotations: java.lang.NullPointerException.
    During my evaluation of Weblogic 9.2 for EJB 3.0 , I have got the following questions.
    EJB Specification states that EJB's in EJB 3.0 can be developed and deployed without the need of deployment descriptors. I have created a simple EJB with two file Env.java and EnvBean.java and the source code is given below.
    a) I just complied these class files and when I was trying to deploy without ejb-jar.xml and weblogic-ejb-jar.xml, the console was not at all allowing me to deploy.Why is this so?
    b) After I created a META-INF file under root of classes directory by placing ejb-jar.xml with empty <enterprise-beans> element, console was allowing me to deploy with errors in parsing ejb-jar.xml. The error was either session/entity/mdb is a required under <enterprise-beans> element. Why is this required when there are several examples stating <enterprise-beans> element can be empty.
    c) Later I updated ejb-jar.xml with <session> element under <enterprise-beans> with the following values. I got the above error when deployed with this change.
    I had been struggling to deploy this simple bean for almost a day.Pleas point me if there is any documentation that solves my stated problem or if there is a solution.Thanks in advance.
    regards
    Karim
    ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
    <enterprise-beans>
    <session>
    <description>This is the stateless ejb</description>
    <display-name>Env Bean</display-name>
    <ejb-name>EnvBean</ejb-name>
    </session>
    </enterprise-beans>
    </ejb-jar>
    Env.java
    package examples ;
    public interface Env {
    public void display();
    EnvBean.java
    package examples;
    import javax.ejb.Remote;
    import javax.ejb.Stateless;
    @Stateless
    @Remote(Env.class)
    public class EnvBean implements Env {
    public void display() {
    System.out.println("Welcome to EJB 3.0");
    }

    Presumably you're using the EJB3 tech preview, and not a vanilla WebLogic 9.2 install, right?
    Can you post the full stack trace?
    -Patrick

  • Error 500 starting admin site of azure management pack

    Hi all,
    I'm getting an error when starting the admin portal of the Azure Management Pack. I've already configure it and everything was ok. Then when I Type https://mymachine:30091/ it starts loading but suddenly
    it displays the error 500 screen with no other information. What logs can I check to realize what is going on? I'm using Windows 8 Enterprise
    Best Regards
    Luis Diego Rojas. http://icomparable.blogspot.com
    MCP, MCTS Biztalk Server, MCTS WCF

    Hi!
    Same issue here. I can access the Admin Site but only with the local admin or a user member of the Domain Admins group.
    Any clue?
    Regards,
    Raphael

  • Deployment with abstract wsdl

    The deployment of a composite is failing with the following error:
    There was an error deploying the composite on AdminServer: Deployment Failed: Unable to find a WSDL that has a definition for service {<namespace>}<ep> and <port>.  Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name.  In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server
    ( I removed the service , ep and port values)
    Only the wsdl it's referering to an abstract wsdl that is already in the project.
    This is failing on my local server setup, I can deploy just fine on our development environment.
    Anybody have any clue on why this error occurs in this situation?

    Made a mistake , I was using the concrete WSDL, so I'm getting the error when deploying with a concrete wsdl.
    This post says to use a abstract wsdl to solve this:
    http://blog.ipnweb.com/2011/01/unable-to-find-wsdl-that-has-definition.html

  • 500 Internal Server Error when deploying struts application on OAS 10.1.3

    I've installed the Oracle Application Server several times, this time with 10.1.3 our application doesn't run and we get the error shown below.
    Any ideas? It looks to be something with struts or tiles. struts.jar and tiles.jar is included in our deployed j2ee application WEBI-INF/lib dir. The application was built with jdeveloper 10.1.2 and compiled with java 1.4.
    We load a custom log4j.properties, and nothing is even getting logged except for the log4j init stuff, nor is this NoSuchMethod error showing up in any other of the many different log files. (That I can find anyway)
    500 Internal Server Error
    java.lang.NoSuchMethodError: org.apache.struts.tiles.DefinitionsUtil.populateDefinitionsFactoryConfig(Lorg/apache/struts/tiles/DefinitionsFactoryConfig;Ljavax/servlet/ServletConfig;)V
         at org.apache.struts.tiles.TilesPlugin.readFactoryConfig(TilesPlugin.java:267)
         at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:159)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
         at javax.servlet.GenericServlet.init(GenericServlet.java:256)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2231)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4617)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4541)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:740)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Figures, I've been fighting with this for the past day and a half and I figure it out shortly after I post the question.
    It turns out the tiles.jar that was in our WEB-INF/lib directory was an old one. It looks like the newer struts.jar (from jdeveloper) we're using includes the tiles information. Once I removed tiles.jar, commons-dbcp, pool, resources, and services, it works now.
    It looks like jdeveloper overwrites most of those files with it's built in struts integration, and we've just been lucky before that struts.jar was being loaded before tiles.jar and something with oas 10.1.3 is loading the jars in a different order--but I'm just guessing here.

  • Error 500--Internal Server Error  - when deploying strust application

    Hello everyone,
    We have a large strust-based web application. The application is being deployed as an EAR file.
    We are getting a NullPointerException when we deploy the application on Weblogic 8.1 in production mode. The exception
    occurs when we access the application for the first time after redeployment.
    When we restart the server entirely we do not get the exception anymore.
    This exception does occur only rarely in development mode.
    In production mode it occurrs every time.
    Has anyone experienced similar issues?
    Regards,
    Oliver Enseling
    Error 500--Internal Server Error
    java.lang.NullPointerException
         at org.apache.struts.action.RequestProcessor.getServletContext(RequestProcessor.java:1136)
         at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:180)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.gelco.tmg.planning.web.core.action.URLSecurityFilter.doFilter(URLSecurityFilter.java:69)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6458)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    <[email protected]> wrote in message news:41c49d78$1@mail...
    The problem seems to occur due to servlet reloading.... There seems to be
    a bug that reloads the ActionServlet even without any changes made to the
    code base... The reload fails for the ActionServlet making it null
    Turn off servlet reloading in your weblogic.xml using
    <container-descriptor>
    <servlet-reload-check-secs>-1</servlet-reload-check-secs>
    </container-descriptor>
    Let me know if this helps ...The default is to check for every one sec... I am not sure whether these
    kind of defaults make sense once a application is moved into production
    mode...
    If the issue gets resolved with the above suggested workaround .... let me
    know... since the issue is spurious and I am trying to reach a higher
    confidence level in the solution proposed by me.....
    Thanks
    Kumaraguruparan Karuppasamy
    >
    >
    >
    "Bill Turchin" <[email protected]> wrote in message
    news:25319409.1102534305264.JavaMail.root@jserv5...
    I am now also seeing that error having recently upgraded to WL 8.1. Has
    anyone found the solution?

  • 500 Internal Server Error after deploying several times

    Hello everyone. I originally had an issue with SOA not running as a service due to some issue with Windows Server 2003 and custom installation. I'm not entirely sure that problem is fixed, but unsure if it could be related to this issue.
    The problem I'm having is if I redeploy an application a few times, I get the following error:
    *500 Internal Server Error*
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details
    after I go to the application. This machine currently has 8gb of memory and I do know I am still using the default memory setting. When I tried to change it, all of the applications stopped functioning.
    Does anyone have any suggestions? I'm curious if uninstalling SOA and then using the basic installation will fix most of my problems.

    I forgot to mention that I had to manually create the service as well which I don't think is still working quite right. The application server will run, but it's not accessible by anyone. Only once I manually start the SOA Server does it work properly, until it hangs up of course.
    I'll check metalink to see if there has been any updates to the Windows 2003 problem.

  • Error 500.00 just with Azure, locally working well

    Hi, how are you?
    I'm testing the deploy via Visual Studio 2003, but when I deploy I got the error 500.00. If I run via Visual Studio (Locally) works fine but using Windows Azure I get this error
    Module
       ManagedPipelineHandler
    Notification
       ExecuteRequestHandler
    Handler
       System.Web.Mvc.MvcHandler
    Error Code
       0x00000000
    I've enabled the "DETAILED ERROR MESSAGES" but when I try to access the page I just get the error "Error. An error occurred while processing your request." and nothing more.
    Thank you.
    Matheus Canela
    Analista de Segurança Windows
    MCT / MCSA / MCP / MCTS / MCDST / ITIL v2
    Caso a resposta for útil, favor responda e clica na seta verde abaixo da foto para votação

    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    It seems that you got issue when deploying web app with Windows Azure, I suggest that you can consult your issue on ASP.NET
    Azure and ASP.NET forum:
    http://forums.asp.net/1247.aspx/1?Azure+and+ASP+NET  for better solution and support.
    Best regards,
    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.

  • UiXML with Struts: Illegal Access Error

    I created a project in JDeveloper for the example found in the JDeveloper help documentation, "Using uiXML with Struts". It says I need uix-config.xml in my WEB-INF directory. I created one and copied the xml from the example to it. When I run login.uix from JDeveloper I get:
    500 Internal Server Error
    java.lang.IllegalAccessError: oracle/cabo/servlet/struts/ui/MessageDataProvider
    java.lang.Object oracle.cabo.servlet.struts.ui.DataProviderParserFactory$Parser.getNodeValue(oracle.cabo.share.xml.ParseContext, java.lang.String, java.lang.String, org.xml.sax.Attributes)
    void oracle.cabo.share.xml.LeafNodeParser.startElement(oracle.cabo.share.xml.ParseContext, java.lang.String, java.lang.String, org.xml.sax.Attributes)
    void oracle.cabo.share.xml.TreeBuilder$Handler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
    void oracle.cabo.share.xml.ParserAdapter.startElement(java.lang.String, org.xml.sax.AttributeList)
    void oracle.xml.parser.v2.XMLContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
    XMLContentHandler.java:166
    I notice if I remove that file, I don't get this error, but the struts components do nothing, which seems logical if we do indeed need this configuration information.
    I also notice the following error in JDeveloper when I compile login.uix:
    Warning(11,44): logon.uix: Parsing error, line 11, column 44: <form> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/struts) is set incorrectly. This may also be an issue with the syntax of its parent element.
    I'm not sure what that is.
    Thanks for your help,
    -James

    That solved the problem! I am relatatively new to
    all this as are many of us "seasoned developers"...and learning
    fast...well...sort of.
    Another observation: I placed the following entry,
    oracle.cabo.servlet.struts.StrutsUIExtension, in my web.xml file
    (borrowed from a plain ol' jsp struts test I've been working
    with). Here's the whole section for the uix servlet:
    <servlet>
    <servlet-name>uix</servlet-name>
    <servlet-class>oracle.cabo.servlet.UIXServlet</servlet-class>
    <init-param>
    <param-name>oracle.cabo.servlet.pageBroker</param-name>
    <param-value>oracle.cabo.servlet.xml.UIXPageBroker</param-value>
    </init-param>
    <init-param>
    <param-name>oracle.cabo.ui.UIExtensions</param-name>
    <param-value>oracle.cabo.servlet.struts.StrutsUIExtension,oracle.cabo.data.jbo.ui.JboUIExtension</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    That solved the parsing errors I was receiving from JDeveloper
    saying that certain elements were not understood. But
    then...when I run logon.uix, the browser displayed this lovely
    error:
    java.lang.IllegalStateException: ParserFactory already registered at http://xmlns.oracle.com/uix/struts
    AAAAAAARGHH! Sooooooo...I removed the uix-config.xml from
    the WEB-INF directory, and hooray! I got my form. Whew!
    I can also get it to run by leaving my uix-config.xml alone and
    removing that entry in web.xml. Weird? Anyway, I'm leaving out
    the entry in uix-config.xml or just not including it for now.
    I'm sure I'll run in to some other problem with that later :)
    The little application doesn't work quite right yet. When I
    click the "Log On" button I get a "Page not found". Must be a
    typo or something.
    Anyway, thanks for your help Adam. I'm sure I'll have more
    questions later. I'll try to make them good ones.
    -James

  • 500 internal server error while deploying a Web Dynpro application

    Hi
    I got the 500 internal server error while deploying the application to server.
    I tried to find the log file at usr --> SAP --> SID --> JC XX --> j2EE --> Cluster --> Server 0 --> log, but no log was there.
    There were structure changes in the RFC and also code change in my Web
    Dynpro code.
    I´m working on EP 7.
    NWDS version is 7.0.1
    Please help me as the production move is pending because of this.
    Regards
    Vineet Vikram

    Hi
    Restarting the server does not help in my case.
    I tried it several times.
    I'm getting following error message in NWA>
    Originated from: com.sapmarkets.bam.logcontroller.InvalidLogQuerySessionException: Invalid or expired log query session "1"
    at com.sapmarkets.bam.logcontroller.jmx.LogControllerFacade.closeLogQuerySession(LogControllerFacade.java:356)
    at sun.reflect.NativeMethodAccessorImpl.invoke0
    Can you pl help on this.
    Regards
    Vineet Vikram

Maybe you are looking for

  • Can I have 2 iCloud accounts on 1 computer

    This May be a dumb question, but is it possible to create a new cloud to use for my kids and their stuff on their own devices, and for us ,parents ,to keep using our existing cloud?  We have 1 MacBook and I'm not sure if it can be synced on the 2 clo

  • Another iMac Freezing Issue - pls help a newbie out

    I understand this problem is not uncommon - I've been trying to read the many threads I see on the issue. However, most posts outline problems, suggestions are made, but then reported to not work. Also, many threads are 2 years old. Could someone ple

  • MBP Stalls home network

    My home network is pretty small. It consists of A wireless router that is hard wired to PC (Desktop) and I use the wireless internet for my mbp. Whenever I am gone and I have my mbp with me the home network works flawlessly (or so I'm told). I could

  • Page Number come with an A - Page Numbering doesnt work

    Hey Guys, i have a problem! Everytime I insert the pagenumber, i also get this A. I just know this from the InDesign Masterpages, when i just have a marker for my Pagenumbers. In Pages i always get this A AND the pagenumber. When I print the page on

  • What does error message 2035 mean and what can I do about it?

    I get a message when loading game on Facebook zoo world that says error message 2035. I don't understand what it means, what it does and how to fix it.