Problems deploying in OC4J

Hi there,
I've created two projects (say Prj1 and Prj2), created a BMP entity bean (EJB1) in Prj1 and a Stateless session bean (EJB2) in Prj2.
EJB2 references EJB1 and makes a simple method call.
When I try to run OC4J with "Lookup all EJBs During OC4J Startup" option on (Tools->Preferences->Embedded OC4J) it throws the following message:
cut-
**** Warning: The EJB EJB2 was not found via an InitialContext lookup. Error encountered: Disconnected: Unknown command: 7.
**** Warning: The EJB EJB1 was not found via an InitialContext lookup. Error encountered: EJB1 not found.
**** Warning: Not all EJBs were successfully deployed. The EJB application may fail during testing.
**** Please use the EJB Verifier to check your EJB modules for errors by right-clicking on ejb-jar.xml and choosing 'Verify Enterprise Beans'.
---cut---
Of coruse, I tried "Verify Enterprise Beans" and everything seems to be allright.
I also tried to run a sample client that calls a method in EJB2 wich calls another method in EJB1 and throws a NamingException: Unknown command: 7.
Any ideas?
Thanks in advance,
Gabriel

Hi
I realize this post is rather old, but indeed very much relevant.
Is there an official workaround on how to get JAXB2.0 support within oc4j?

Similar Messages

  • Problem:deployment to oc4j on remote host

    I created a servlet application by jdeveloper.Now I want
    to deploy it to the oc4j on oracle9ias which is installed
    on the other host.I have post a topic about it and get some suggestions by Raghu R Kodali.I followed the steps
    in the http://otn.oracle.com/products/jdev/howtos/appservers/deployias.html#connection
    but after i have created the connection named "conn1"
    and tested it successfully,I get some information when I select "deploy to conn1" .The information :
    --- Deployment started. ---- 2003-1-23 12:26:50
    Wrote WAR file to E:\Oradev\jdev\mywork\test\test\test.war
    Wrote EAR file to E:\Oradev\jdev\mywork\test\test\test.ear
    Invoking DCM servlet client...
    E:\Oradev\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar E:\Oradev\jdev\lib\oc4j_remote_deploy.jar http://server.oracle9i.com:1810/Oc4jDcmServletAPI/ ias_admin **** redeploy d:\ora9ias E:\Oradev\jdev\mywork\test\test\test.ear test oc4j_home
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy d:\ora9ias E:\Oradev\jdev\mywork\test\test\test.ear test oc4j_home
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 16fa0e87ea464c53827acc9b81c9086a
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=16fa0e87ea464c53827acc9b81c9086a
    Checking command status
    HTTP response code = 500, HTTP response msg = Internal Server Error
    #### HTTP response is NOT ok
    Waiting for 30 seconds and trying again...
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=16fa0e87ea464c53827acc9b81c9086a
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-1)
    #### HTTP return code was -1
    Exit status of DCM servlet client: -1
    Elapsed time for deployment: 47 seconds
    #### Deployment incomplete. #### 2003-1-23 12:27:37
    Please help me !
    My email: [email protected]

    Did you try after restarting the iAS server?

  • Problem deploying to OC4J from JDeveloper

    Hello i am deploying my app to a standalone OC4J, but i am getting this error. The application starts on the server and when it tries to link the webapp to the context root it crashes with the following error:
    Inicio de la inicialización de webapp1...
    Fin de la inicialización de webapp1...
    Inicio de la inicialización de ejb1...
    Fin de la inicialización de ejb1...
    Aplicación iniciada: InphinitumApplication
    Inicio de enlace de aplicaciones Web a la dirección default-web-site...
    Enlazando el módulo Web webapp1 para la aplicación InphinitumApplication a la dirección default-web-site en la raíz de contexto Inphinitum
    Operation failed with error:
    loader constraint violation: when resolving method "org.apache.commons.digester.Digester.getLogger()Lorg/apache/commons/logging/Log;" the class loader (instance of oracle/classloader/PolicyClassLoader) of the current class, com/sun/faces/config/rules/FacesConfigRule, and the class loader (instance of oracle/classloader/PolicyClassLoader) for resolved class, org/apache/commons/digester/Digester, have different Class objects for the type org/apache/commons/logging/Log used in the signature
    Any ideas?

    Hi,
    I am using EJB 2.1 in my project ... I can see the ejb create() in oc4j, but then my jdev just hangs at "Compiling EJB generated code" and I am not able to shutdown my oc4j using CTRL + C - I have to kill it. Any suggestions ?
    Thanks

  • Javax.naming.NamingException: when deploying to OC4J using admin.jar

    Additional details to posting (Problem Deploying to OC4J from Jbuilder8)
    Jul 8 2003 @3:27
    enter:-
    java -jar "\ora9ias\j2ee\home\admin.jar" ormi://myhost:23791 admin password
    and you get the error message:-
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
    java.net.ConnectionException: Connection refused: connect
    My server.xml contains entry <rmi-config path="./rmi.xml" />
    and my rmi.xml reads:-
    <?xml version="1.0" standalone="yes" ?>
    <!DOCTYPE rmi-server (View Source for full doctype...)>
    - <rmi-server port="23791" host="[ALL]">
    - <log>
    <file path="../log/rmi.log" />
    </log>
    </rmi-server>
    I have repeatedly checked my hostname port user name and password
    along with the statements in the server.xml and rmi.xml as above, but with no
    success.
    Regards
    Gary.

    I am facing the same problem from this morning. I was able to start oc4j jvm without any problem today in the morning and i could deploy the war file and was able to test the web pages. But due to some unavoidable reasons i had to restart my machine and ever since then i am running into the following error.
    My server.xml has a reference to rmi.xml.
    Any help is highly appreciated.
    Regards
    Kiran
    D:\Java\JDev9i\j2ee\home>java -jar oc4j.jar
    Node started with id=647722646
    Error initializing web-site at ./http-web-site.xml: default-web-app not specifie
    d for Oracle9iAS Containers for J2EE HTTP Web Site
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized

  • Problem deploying a web application to oc4j in Unix

    Hi! I would like to ask for someone's help on a problem I encountered while accessing a web app deployed to oc4j in Unix. Before deploying the application in Unix, I tried it on a Windows2000 server and it worked fine. I copied the same files (classes, jsps, js, css) to the Unix server and modified the same xml files (data-sources, global-web-application, http-web-site, server). I could access index.jsp of my application but I get a HTTP 404 error on the other pages. Also, the css applied on index.jsp doesn't seem to reflect on the page. Could someone share some insights on this and if you have experienced the same problem, kindly post your suggestions/solutions.
    Thanks a lot,
    Mildred

    Reposting... css problem has been resolved (case sensitivity issue)
    Hi! I would like to ask for someone's help on a problem I encountered while accessing a web app deployed to oc4j in Unix. Before deploying the application in Unix, I tried it on a Windows2000 server and it worked fine. I copied the same files (classes, jsps, js, css) to the Unix server and modified the same xml files (data-sources, global-web-application, http-web-site, server). I could access index.jsp of my application but I get a HTTP 404 error on the other pages. Could someone share some insights on this and if you have experienced the same problem, kindly post your suggestions/solutions.
    Thanks a lot,
    Mildred

  • Deploy to OC4J standaone problem

    Dears,
    I developed an application in jdev 10.2 and it works successfully with embedded OC4J, but when deploy to OC4J standalone or Tomcat it doesn't work.
    I use JSON in my application.
    The log (for OC4J standalone and Tomcat) is empty from errors and exceptions, Only
    JSONRPCBridge.analyzeClass analyzing package1name.package2name.package3name.DAO.classNmaeDAO
    is written and my code didn't work and JSP is empty.
    Any ideas, what may be the problem there???

    When I deploy to oc4j from jdev... I get an error.
    Unknown site: http-web-site
    How do I figure out what my http site is via my oc4j configuration?
    I know in my Connection properties for oc4j in jdev, there is a target web site property where I entered "http-web-site", thinking this was the correct target.
    Thanks. Look in <oracle_home>\j2ee\home\config\server.xml
    Web sites are defined by the web-site entry. E.g
    <web-site path="./http-web-site.xml" />
    <web-site default="true" path="./default-web-site.xml" />
    Dhiraj

  • Applet works in JDeveloper, but not when deployed to OC4J

    I am working on an applet version of the BI Beans java client application. It works fine when running in JDeveloper (applet viewer), but fails when deployed to OC4J. The applet shows a red X, with a message in the status bar saying "Loading Java Applet Failed...". Contents of java console are as follows:
    java.lang.NoClassDefFoundError: oracle/dss/selection/step/Step
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
         at java.lang.Class.getConstructor0(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Any one have any ideas how to chase this one down?
    Here is the message that JDeveloper shows when it runs the applet. I have gone thru this and ensured that all these references are selected in my .deploy settings:
    C:\JDeveloper\jdk\bin\javaw.exe -ojvm -Xbootclasspath/a:C:\dev\jdev\Workspace1\TestClientApp\classes;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddinsrt.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biamlocal.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidataclt.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatacmn.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatasvr.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biext.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidata-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddins-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\LW_PfjBean.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\share.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4-nls.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\infobus\lib\infobus.jar;
    C:\JDeveloper\BC4J\lib\bc4jmt.jar;C:\JDeveloper\BC4J\lib\collections.jar;
    C:\JDeveloper\BC4J\lib\bc4jct.jar;
    C:\JDeveloper\lib\xmlparserv2.jar;
    C:\JDeveloper\jlib\jdev-cm.jar;
    C:\JDeveloper\j2ee\home\lib\jndi.jar;
    C:\JDeveloper\jlib\regexp.jar;
    C:\JDeveloper\jlib\share.jar;
    C:\JDeveloper\jlib\uix2.jar;
    C:\JDeveloper\jdbc\lib\classes12.jar;
    C:\JDeveloper\jdbc\lib\nls_charset12.jar;
    C:\JDeveloper\j2ee\home\lib\ojsp.jar;
    C:\JDeveloper\j2ee\home\jsp\lib\taglib\ojsputil.jar;
    C:\JDeveloper\j2ee\home\oc4j.jar;
    C:\JDeveloper\j2ee\home\lib\servlet.jar;
    C:\JDeveloper\jdev\lib\ojc.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\olap_api_92.jar;
    C:\JDeveloper\jdev\lib\jdev-rt.jar;
    C:\JDeveloper\BC4J\lib\bc4jhtml.jar;
    C:\JDeveloper\BC4J\lib\datatags.jar;
    C:\JDeveloper\BC4J\lib\bc4juixtags.jar;
    C:\JDeveloper\BC4J\lib\bc4j_jclient_common.jar
    Any assistance would be appreciated.
    s.l.

    i have the same problem
    i cant load my applet on OC4J , i am wondering know how Oracle canot solve this problem

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • Error while deploying in OC4J Enterprise Manager

    Hello. I´ve got a problem deploying EAR and WAR files on my AS10g (904) via web enterprise manager. The following is a german orginal error output:
    Installation nicht erfolgreich:
    Plug-In-Fehler beim Lesen von verwalteten Dokumenten.
    Root-Ursache: Expected 'EOF'.
    Lösung:: Die Informationen der "OC4J"-Komponente in der Basis-Exception sind möglicherweise hilfreich.
    Außerdem gibt es folgende allgemeine Problemursachen:
    Falsche Berechtigungen für Dateien
    Konfigurationsdateien fehlen oder sind ungültig. Expected 'EOF'.
    Translated in english would result in something like this:
    Installation not successfully:
    Plug in error when reading administered documents.
    A root cause: Expected 'EOF'.
    Solution:: The information of the "OC4J"-Komponente in the basic exception is possibly helpful.
    In addition there are the following general problems:
    Wrong authorizations for files
    configuration files are missing or are invalid. Expected ' eof '.
    I tried different EAR files (like the oracle petshop ear file) and one war file but i get allways that mysterious error. Btw, I do not have any possibility to deploy it manualy via console.
    Thank you for any hint and greetings,
    Daniel

    Try to fragment the 'ear' in less than 64k blocks or don't transmit as long raw.
    Please let me know if this works.

  • Problems deploying Spring 2.0.8 and Hibernate 3 web application to Weblogic 10.3.6

    My application deploys but when it's accessed this (below) exception is thrown. It appears that it has a problem with my weblogic.xml file. This application was previously deployed on OC4J .
    Here's my weblogic.xml. I added the xsd to the classpath /WEB-INF/classes dir thinking that maybe the server can access it's http location. There are no reference to this particualr error on the web (WlsScaSpringNamespaceHandler)
    Weblogic.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-web-app
        xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-web-app classpath:weblogic-web-app.xsd
            http://java.sun.com/xml/ns/javaee classpath:web-app_2_4.xsd ">
        <weblogic-version>10.3.6</weblogic-version>
        <description>ChargeCodeDeploymentDescriptor
        </description>
        <context-root>chargecode</context-root>
        <container-descriptor>
            <prefer-web-inf-classes>true</prefer-web-inf-classes>
        </container-descriptor>
    </weblogic-web-app>
    ####<Mar 12, 2015 2:49:09 PM CDT> <Debug> <ServerMigration> <soatest1.cjis.iowa.gov> <WLS_SOA1> <[ACTIVE] ExecuteThread: '2' for q
    ueue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0e5d06449b77071c:-70c3a57a:14c0ab4e30e:-8000-0000000000017c8b> <
    1426189749780> <BEA-000000> <Query: UPDATE ACTIVE SET TIMEOUT = ( (SYSDATE + (30/86400))) WHERE SERVER IN ('wlsserver.WLS_SOA1') A
    ND INSTANCE ='2344369727401629039/WLS_SOA1' AND DOMAINNAME='cjis_test_soa_domain' AND CLUSTERNAME='SOA_Cluster'>
    ####<Mar 12, 2015 2:49:09 PM CDT> <Debug> <ServerMigration> <soatest1.cjis.iowa.gov> <WLS_SOA1> <[ACTIVE] ExecuteThread: '0' for q
    ueue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0e5d06449b77071c:-70c3a57a:14c0ab4e30e:-8000-0000000000017c8d> <
    1426189749788> <BEA-000000> <Query: UPDATE ACTIVE SET TIMEOUT = ( (SYSDATE + (30/86400))) WHERE SERVER IN ('wlsserver.WLS_SOA1') A
    ND INSTANCE ='2344369727401629039/WLS_SOA1' AND DOMAINNAME='cjis_test_soa_domain' AND CLUSTERNAME='SOA_Cluster'>
    ####<Mar 12, 2015 2:49:18 PM CDT> <Error> <ServletContext-/chargecode> <soatest1.cjis.iowa.gov> <WLS_SOA1> <[ACTIVE] ExecuteThread
    : '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <D2gim1K2000000000> <1426189758384> <BEA-000000> <Excep
    tion while dispatching incoming RPC call
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract gov.iowa.dhr.cjis.cca.client.domain.User gov.i
    owa.dhr.cjis.cca.client.ChargeCodeAdministrationService.authenticateUser(java.lang.String,java.lang.String) throws gov.iowa.dhr.cj
    is.cca.client.InvalidLoginException' threw an unexpected exception: org.springframework.beans.factory.BeanDefinitionStoreException
    : Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.Illeg
    alArgumentException: Class [weblogic.sca.engine.parse.WlsScaSpringNamespaceHandler] does not implement the NamespaceHandler interf
    ace
            at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
            at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
            at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
            at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class pa
    th resource [applicationContext.xml]; nested exception is java.lang.IllegalArgumentException: Class [weblogic.sca.engine.parse.Wls
    ScaSpringNamespaceHandler] does not implement the NamespaceHandler interface

    Hi, Graeme.
    Seems there is an existing CR on something related from v10.0: CR353213
    * WLS 10.0 - EJB 3.0 deployment fails when parsing class for Stateless annotation
    According to http://edocs.bea.com/wls/docs103/issues/known_resolved.html, this is not addressed in 10.3
    Closely review your classpath, and then (assuming you have access to the source) review the body of your ejb. If it is related to this CR, you may be able to workaround the issue by shortening the body and split large methods into more sub-methods.
    I hope this helps,
    -Adrian

  • Global authentication for applications deployed in OC4J server

    Hi,
    I have a couple of JSP pages deployed in OC4J server. I
    would like to use authentication provided by OC4J, it
    means to use JAZN UserManager (encrypted principals, LDAP
    or SSO).
    My question is, if it's possible to set default
    authentication method for whole server or whole
    http-web-site on OC4J, or I have to make change in web.xml
    in each and every program, which I am going to deploy into
    my OC4J. If I have 100 programs and somebody will make
    decision, there will be no authentocation on this particular
    server, do I have to change all my programs and remove
    entries from web.xml files?
    Is there a way how to specify the login page globally for
    the server, not by application?
    Thanks,
    Marek

    lograste resolver tu problema????... si es asi me puedes enviar la solucisn.....
    gracias..

  • Oracle BI Publisher Deployment in OC4J Error

    Please advise what is happening to my Server.
    I have BIpublisher deployed in OC4J 10.1.3.1 on Linux Red Hat Environment. Publisher is integrated into our OBIEE sitting on the Same Server.
    After redeploying the xmlpServer.ear onto OC4J, I am not able to connect to Publisher from Presentation Servers (10.1.3.4.0).
    Below is the Error Message:
    Exception java.lang.Exception: /app/OracleBI/server/Bin/libperfjni.so: /app/OracleBI/server/Bin/libperfjni.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
    java.lang.Exception: /app/OracleBI/server/Bin/libperfjni.so: /app/OracleBI/server/Bin/libperfjni.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
    at oracle.bi.analytics.management.monitoring.PerfDllJNI.<init>(PerfDllJNI.java:117)
    at oracle.bi.analytics.management.monitoring.AppPerfMon.<init>(AppPerfMon.java:87)
    at oracle.bi.analytics.management.monitoring.PerfmonThr.initializePerfInterface(PerfmonThr.java:65)
    at oracle.bi.analytics.management.monitoring.PerfmonThr.<init>(PerfmonThr.java:47)
    at oracle.bi.analytics.management.Agent.registerPerformanceMBeans(Agent.java:87)
    at oracle.bi.analytics.management.Agent.registerMBeans(Agent.java:55)
    at oracle.bi.analytics.management.Oc4jAgent.registerMBeans(Oc4jAgent.java:48)
    at oracle.bi.analytics.management.Oc4jAgent.main(Oc4jAgent.java:26)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ServerApplicationClientLauncherImpl.launch(ServerApplicationClientLauncherImpl.java:93)
    at com.evermind.server.ServerApplicationClientLauncherImpl.run(ServerApplicationClientLauncherImpl.java:74)
    at java.lang.Thread.run(Thread.java:595)
    09/09/29 08:31:12 java.lang.Exception: Exception in constructing PerfDllJNI for PERF configuration file: /app/OracleBI/systemsmanagement/resources/performance/perf_OracleBIServer.xml
    09/09/29 08:31:12 at oracle.bi.analytics.management.monitoring.AppPerfMon.<init>(AppPerfMon.java:97)
    09/09/29 08:31:12 at oracle.bi.analytics.management.monitoring.PerfmonThr.initializePerfInterface(PerfmonThr.java:65)
    09/09/29 08:31:12 at oracle.bi.analytics.management.monitoring.PerfmonThr.<init>(PerfmonThr.java:47)
    09/09/29 08:31:12 at oracle.bi.analytics.management.Agent.registerPerformanceMBeans(Agent.java:87)
    09/09/29 08:31:12 at oracle.bi.analytics.management.Agent.registerMBeans(Agent.java:55)
    09/09/29 08:31:12 at oracle.bi.analytics.management.Oc4jAgent.registerMBeans(Oc4jAgent.java:48)
    09/09/29 08:31:12 at oracle.bi.analytics.management.Oc4jAgent.main(Oc4jAgent.java:26)
    09/09/29 08:31:12 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    09/09/29 08:31:12 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    09/09/29 08:31:12 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09/09/29 08:31:12 at java.lang.reflect.Method.invoke(Method.java:585)
    09/09/29 08:31:12 at com.evermind.server.ServerApplicationClientLauncherImpl.launch(ServerApplicationClientLauncherImpl.java:93)
    09/09/29 08:31:12 at com.evermind.server.ServerApplicationClientLauncherImpl.run(ServerApplicationClientLauncherImpl.java:74)
    09/09/29 08:31:12 at java.lang.Thread.run(Thread.java:595)
    2009-09-29 08:31:12.092 ERROR Could not load/parse file: /app/OracleBI/systemsmanagement/resources/performance/perf_OracleBIServer.xml
    09/09/29 08:31:12 Could not initialize the Performance MBeans
    09/09/29 08:31:14 xdo.server.config.dir = null
    09/09/29 08:31:14 BI Beans Graph version [9.9.9.40.4350]
    09/09/29 08:31:15 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    If I try to login to BI Publisher by typing in the xmlpserver URL directly, 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.
    Any help to Solve this problem will do. This all happened after redeploying the .EAR file.
    More Details below:
    extract from application.log under application deployments:
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    09/10/05 11:31:00.403 xmlpserver: Error initializing servlet
    java.lang.LinkageError: loader constraints violated when linking org/xml/sax/InputSource class
    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:388)
    at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
    at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
    at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
    at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)
    at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)
    at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)
    at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)
    at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185)
    at org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)
    at org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)
    at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156)
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2361)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4810)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4734)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2957)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:736)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    09/10/05 11:31:00.404 xmlpserver: Servlet error
    java.lang.LinkageError: loader constraints violated when linking org/xml/sax/InputSource class
    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:388)
    at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
    at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
    at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
    at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)
    at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)
    at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)
    at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)
    at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185)
    at org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)
    at org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)
    at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156)
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2361)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4810)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4734)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2957)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:736)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    09/10/05 11:31:09.867 xmlpserver: Servlet error
    java.lang.LinkageError: loader constraints violated when linking org/xml/sax/ErrorHandler class
    at oracle.cabo.share.xml.TreeBuilder.parse(Unknown Source)
    at oracle.cabo.share.config.ApplicationConfigurationParser.createInstance(Unknown Source)
    at oracle.cabo.share.config.ApplicationConfiguration.getInstance(Unknown Source)
    at oracle.cabo.share.config.Configuration.getConfiguration(Unknown Source)
    at oracle.cabo.ui.ServletRenderingContext.__getConfiguration(Unknown Source)
    at oracle.cabo.ui.RootRenderingContext.getConfiguration(Unknown Source)
    at oracle.cabo.ui.RootRenderingContext._getLookAndFeelManager(Unknown Source)
    at oracle.cabo.ui.RootRenderingContext.getLookAndFeel(Unknown Source)
    at oracle.cabo.ui.ServletRenderingContext._getContentType(Unknown Source)
    at oracle.cabo.ui.ServletRenderingContext.prepareResponse(Unknown Source)
    at oracle.apps.xdo.servlet.ui.UIUtils.renderError(UIUtils.java:1142)
    at login.jspService(_login.java:368)
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)

    sorry, I think I'm mistaken. That error is what it says, but it's not going to stop publisher working (it's when systemsmanagement is initialising, so perfmon may not be available).
    The error related to Publisher I'd look at is from application.log:
    09/10/05 11:31:00.403 xmlpserver: Error initializing servlet
    java.lang.LinkageError: loader constraints violated when linking org/xml/sax/InputSource classUnfortunately I have no idea what this means.
    Maybe try redeploying xmlpublisher, or using the latest version (10.1.3.4.1)?
    Does Presentation Services work, i.e. can you log in to Dashboards and Answers?

  • Problem with my OC4J, please help

    Hi
    i have one big problem with my OC4J Application Server: i create an instance, then i deployed my appliation with the .ear file. i have 15 page uix. my problem is when i want to see my application from the browser, some of the page run correctly ans some other no; in other world the one that don't run, in reality it run but it display the last one that run correctly.
    i hope that i m celar.
    can you help me.
    Thank you

    Islem,
    Please post your log file content as well as server version, OS etc. (see:
    http://forums.oracle.com/forums/ann.jspa?annID=818-Michael

  • Problem deploying an ADF Application - SOLVED

    I am having a problem deploying an ADF Faces + BC4J application to my 10.1.3.1 App server. When I deploy to the Jdev embedded oc4j or to a standalone oc4j from Jdeveloper, everything works fine, but when I deploy to the app server, the first page submit gives me an error "Error setting property 'actionEvent' in bean of type null"
    I can deploy and run a simple ADF Faces BC4J test page, but my real app fails.
    Does anyone have any ideas what might be wrong?
    I'm using Jdev 10.1.3.2, oc4j 10.1.3.1 and app server 10.1.3.1, all with the latest adf runtime.
    Message was edited by:
    mattysmith

    Frank,
    some further information. My app has a login page, which is what gave me the error about an actionEvent. If I bypass the login page and go straight to the app I can open a jspx with adf components in it, but as soon as a submit the page (button clicks etc) I get the 'bean of type null' error. This time I can capture the stack though:
    Server error: javax.faces.el.PropertyNotFoundException: Error testing property 'inputValue' in bean of type null
    stack javax.faces.el.PropertyNotFoundException: Error testing property 'inputValue' in bean of type null at com.sun.faces.el.PropertyResolverImpl.isReadOnly(PropertyResolverImpl.java:274) at oracle.adfinternal.view.faces.model.FacesPropertyResolver.isReadOnly(FacesPropertyResolver.java:124) at com.sun.faces.el.impl.ArraySuffix.isReadOnly(ArraySuffix.java:236) at com.sun.faces.el.impl.ComplexValue.isReadOnly(ComplexValue.java:209) at com.sun.faces.el.ValueBindingImpl.isReadOnly(ValueBindingImpl.java:266) at oracle.adfinternal.view.faces.renderkit.core.xhtml.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:211) at oracle.adfinternal.view.faces.renderkit.core.xhtml.FormElementRenderer.renderAsElement(FormElementRenderer.java:155) at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.getLabelFor(InputLabelAndMessageRenderer.java:53) at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer$Label.getForId(LabelAndMessageRenderer.java:500) at oracle.adfinternal.view.faces.renderkit.core.xhtml.OutputLabelRenderer.encodeAll(OutputLabelRenderer.java:69) at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:281) at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer._renderLabelCell(LabelAndMessageRenderer.java:222) at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll(LabelAndMessageRenderer.java:159) at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.encodeAll(InputLabelAndMessageRenderer.java:94) at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169) at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624) at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:246) at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.encodeColumnChild(PanelFormRenderer.java:275) at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.renderColumn(PanelFormRenderer.java:251) at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer._renderColumns(PanelFormRenderer.java:545) at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer._encodeChildren(PanelFormRenderer.java:153) at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.encodeAll(PanelFormRenderer.java:69) at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169) at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624) at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54) at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:50) at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242) at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265) at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65) at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117) at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147) at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60) at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169) at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624) at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645) at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568) at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100) at broSessListjspx._jspService(_broSessList_jspx.java:1407) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:701) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:405) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152) at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at com.cgi.security.AuthenticationFilter.doFilter(AuthenticationFilter.java:595) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123) at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)

  • Error deploying to oc4j standalone

    hi folks,
    i'm trying to deploy my application from jdev to standalone oc4j.
    i created a war, an ejb-jar and an ear that includes them. while trying to deploy the ear i get the following exception:
    2006-11-30 14:54:48.265 NOTIFICATION Starting application : wts2
    2006-11-30 14:54:48.265 NOTIFICATION Initializing ClassLoader(s)
    2006-11-30 14:54:48.265 NOTIFICATION Initializing EJB container
    2006-11-30 14:54:48.265 NOTIFICATION Loading connector(s)
    2006-11-30 14:54:48.343 NOTIFICATION Starting up resource adapters
    2006-11-30 14:54:48.359 NOTIFICATION Processing EJB module: wts2_ejb_jar.jar
    2006-11-30 14:54:48.656 ERROR J2EE EJB-03027 [wts2] An error occured deploying E
    JB module: javax.ejb.EJBException: nested exception is: java.lang.reflect.Invoca
    tionTargetException
    2006-11-30 14:54:48.671 NOTIFICATION application : wts2 is in failed state
    06/11/30 14:54:48 WARNING: Application.setConfig Application: wts2 is in failed
    state as initialization failed.
    java.lang.InstantiationException: Error initializing ejb-modules: nested excepti
    on is: java.lang.reflect.InvocationTargetException
    06/11/30 14:54:48 oracle.oc4j.admin.internal.DeployerException: java.lang.Instan
    tiationException: Application: wts2 is in failed state as initialization failed
    06/11/30 14:54:48 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
    lication(ApplicationDeployer.java:515)
    06/11/30 14:54:48 at oracle.oc4j.admin.internal.ApplicationDeployer.doDepl
    oy(ApplicationDeployer.java:196)
    06/11/30 14:54:48 at oracle.oc4j.admin.internal.DeployerBase.execute(Deplo
    yerBase.java:93)
    06/11/30 14:54:48 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeploy
    erRunnable.doRun(OC4JDeployerRunnable.java:52)
    06/11/30 14:54:48 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRu
    nnable.run(DeployerRunnable.java:81)
    06/11/30 14:54:48 at com.evermind.util.ReleasableResourcePooledExecutor$My
    Worker.run(ReleasableResourcePooledExecutor.java:298)
    06/11/30 14:54:48 at java.lang.Thread.run(Thread.java:595)
    06/11/30 14:54:48 Caused by: java.lang.InstantiationException: Application: wts2
    is in failed state as initialization failed
    06/11/30 14:54:48 at com.evermind.server.Application.setConfig(Application
    .java:471)
    06/11/30 14:54:48 at com.evermind.server.Application.setConfig(Application
    .java:314)
    06/11/30 14:54:48 at com.evermind.server.ApplicationServer.addApplication(
    ApplicationServer.java:1853)
    06/11/30 14:54:48 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
    lication(ApplicationDeployer.java:512)
    06/11/30 14:54:48 ... 6 more
    06/11/30 14:54:48 Caused by: java.lang.InstantiationException: Error initializin
    g ejb-modules: nested exception is: java.lang.reflect.InvocationTargetException
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
    ainer.java:1064)
    06/11/30 14:54:48 at com.evermind.server.ApplicationStateRunning.initializ
    eApplication(ApplicationStateRunning.java:217)
    06/11/30 14:54:48 at com.evermind.server.Application.setConfig(Application
    .java:413)
    06/11/30 14:54:48 ... 9 more
    06/11/30 14:54:48 Caused by: javax.ejb.EJBException: nested exception is: java.l
    ang.reflect.InvocationTargetException
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBUtils.createEJBException(E
    JBUtils.java:365)
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBUtils.createEJBException(E
    JBUtils.java:356)
    06/11/30 14:54:48 at com.evermind.server.ejb.BeanAnnotationListener.parseA
    nnotatedClass(BeanAnnotationListener.java:54)
    06/11/30 14:54:48 at com.evermind.server.ejb.AnnotationParser.notifyAnnota
    tionListeners(AnnotationParser.java:201)
    06/11/30 14:54:48 at com.evermind.server.ejb.AnnotationParser.parseAnnotat
    ions(AnnotationParser.java:73)
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBPackageDeployment.parseMet
    aData(EJBPackageDeployment.java:939)
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
    ainer.java:832)
    06/11/30 14:54:48 ... 11 more
    06/11/30 14:54:48 Caused by: java.lang.reflect.InvocationTargetException
    06/11/30 14:54:48 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    06/11/30 14:54:48 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
    hodAccessorImpl.java:39)
    06/11/30 14:54:48 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
    atingMethodAccessorImpl.java:25)
    06/11/30 14:54:48 at java.lang.reflect.Method.invoke(Method.java:585)
    06/11/30 14:54:48 at com.evermind.server.ejb.BeanAnnotationListener.parseA
    nnotatedClass(BeanAnnotationListener.java:45)
    06/11/30 14:54:48 ... 15 more
    06/11/30 14:54:48 Caused by: java.lang.NoClassDefFoundError: Lorg/apache/log4j/L
    ogger;
    06/11/30 14:54:48 at java.lang.Class.getDeclaredFields0(Native Method)
    06/11/30 14:54:48 at java.lang.Class.privateGetDeclaredFields(Class.java:2
    232)
    06/11/30 14:54:48 at java.lang.Class.getDeclaredFields(Class.java:1715)
    06/11/30 14:54:48 at com.evermind.server.deployment.AnnotationManager.pars
    e(AnnotationManager.java:112)
    06/11/30 14:54:48 at com.evermind.server.deployment.AnnotationManager.getM
    ethods(AnnotationManager.java:64)
    06/11/30 14:54:48 at com.evermind.server.ejb.deployment.BeanDescriptorAnno
    tationParser.parseAnnotations(BeanDescriptorAnnotationParser.java:76)
    06/11/30 14:54:48 at com.evermind.server.ejb.deployment.BeanDescriptorAnno
    tationParser.parseAnnotations(BeanDescriptorAnnotationParser.java:48)
    06/11/30 14:54:48 ... 20 more
    2006-11-30 14:54:48.718 NOTIFICATION Application Deployer for wts2 FAILED.
    i don't know if this can be connected to the following issue: i have another java environment on the same machine and therefore 2 different jdks: 1.4 and 5. the JAVA_HOME points to jdk1.4. but the batch file running the oc4j starts it with jdk5:
    C:\Sun\AppServer\jdk\bin\java.exe -jar D:\oc4j\j2ee\home\oc4j.jar
    i've seen a thread here saying that problems with InvocationTargetException can be solved by using Oracle AppServer instead of OC4J, which sounds pretty bizzare to me. there are a lot of folks here who run and deploy into OC4J with no problem.
    thanks for you help!

    i am still facing the same problem all peoples face
    is ther any way to fix it???????
    if u find a solution i will apretiate if u tell me
    coz am trying to make a webservice to try it with jdeveloper over oc4j
    and as u know there is a test way provided by jdeveloepr to test ur webservice after publishing it
    after i compliled the calsses and deploy it and open the url http://localhost:8888/jdeveloper_ap...webservice_name
    and evry thing is ok till now and the page apear carying the method services name and when i click the method servic ename evry thing is still ok and the form apear requesting the input of the method if any with an invoke button or with the invoke button alone if no input was required and 2 link below the Proxy Jar and the Proxy Source so till now evry thing is ok
    but after i press the invoke button or when i press the link proxyjar or Proxy Source the explorer show the usual error page HTTP 500 - Internal server error Internet Explorer so nothing work till the end
    does any one expert in webservices with jedeveloepr know what do i miss to set so that the trial work?

Maybe you are looking for

  • How do I uninstall OS X Server 3.0.2 completely from iMac

    I would like to remove all traces of OS X Server 3.0.2 from my iMac. Could someone please provide correct uninstall procedure. I then want to reinstall clean installation. I have made a total mess of previous installation. Thanks

  • Turn off timezone adjustment

    It would be really really nice to be able to disable the feature which shows the date and time a picture was taken in local time (i.e. adjusted for time zones). I shoot all over the world, and I'd like to know the actual date and time I took a pictur

  • Custormizing the NAC agent profile

    Hi, We need to have very minimal user intervention while doing the completing the posture part on NAC agent on user PC. Can someone please advise how to achieve the below task. 1) Automatically accept the Network usage policy before its timeout (50 s

  • Search function in calender doesn't exist...wh​y

    Why oh why is there no search from within the calender app. All I want to be able to do is search and copy an older apointment to a new loction without removing the old reference. Like hell, there is a search in the address book with a copy and paste

  • Can I join two avi video files?

    Hello, after long search in this java forum, i don't get any solutions. My problem is I want to assemble some avi files, and I'm not so good in JMF. So maybe anyone has a solution or a programm for me. I'm also thankful for Tipps&Tricks or Links Than