Oracle.mds.core.MetadataNotFoundException when deploying EAR into local WLS

Hi all,
I tried to search the forum and read this: How to get rid of MDS I checked the domain path: C:\JDev11g_Home\system11.1.1.4.37.59.23\DefaultDomain, no space in the path. I searched this file it complains "adf-config.xml", couldn't find such file in my application at all. (My app is migrated from 10g to 11g using Trinidad.) I am using JDEV 11.1.14.0 and WLS 10.
Also, I tried these 2 scenarios when creating the EAR file: include / exclude these 2 jars: mdsrt.jar & oramds.jar, (Though I don't think this is the cause since it doesn't complain ClassNotFoundException.) same deployment error.
Below is the console output when deploying the EAR:
<MDSBackingStore> <obtainMetadataObject> Exception while getting mutable object
oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/META-INF/adf-config.xml"
     at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1163)
     at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:2837)
     at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1204)
     at oracle.adf.share.jndi.MDSBackingStore.getMetadataObject(MDSBackingStore.java:389)
     at oracle.adf.share.jndi.MDSBackingStore.obtainMetadataObject(MDSBackingStore.java:510)
     at oracle.adf.share.jndi.MDSBackingStore.getMOBean(MDSBackingStore.java:566)
     at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.init(RuntimeMXBeanImpl.java:169)
     at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:159)
     at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:151)
     at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:127)
     at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
     at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
     at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
     at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
     at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
     at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
     at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
     at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
     at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
     at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
     at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
     at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
     at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
     at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
     at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
     at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
     at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
     at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
     at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
     at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
<ADFConfigLifeCycleCallBack> <contextInitialized> Failed to create config mbean.
Please help!
Thanks.
Shawn

Yes, I found this file in that folder. But, I checked the EAR file which is created from ant script such that there's no such adf-config.xml file at all anywhere in the EAR file inlcuding within the WAR file of the EAR. I also check another EAR file (of another application) and didn't see such adf-config.xml file either, but that EAR file is able to be deployed successfully in the local WLS. Both applications are migrated from 10g to 11g. I checked the other application for the build script and these 2 MDS jars are not used at all. I tried to remove these 2 MDS jars from the EAR file, but still same MDS-00013 error. Why will this occur in one app, but not in another app? Is there something I am missing?
Thanks

Similar Messages

  • Error when deploying ear with war module.

    Can somebody help me with a problem? This problem is realy strange.
    I have three projects: ordinary project (jar project), war project and ear project.
    The war project uses classes form jar project and it is a part of ear project.
    There is an abstract class in jar:
    public abstract class MyDataTable {
    public abstract String method1();
    public abstract String method2();
    //And some others abstract methods
    Class MyResultSetTable extends MyDataTable class:
    public class MyResultSetTable extends MyDataTable {
    private ResultSet rs;
    public MyResultSetTable(ResultSet resSet) {
    rs = resSet;
    //Implementation of abstract methods
    In jar there is another class MyDataPacket, which performs transformation between MyDataTable and XML document (Delphi data packet):
    public class MyDataPacket {
    public static String tableToXML(MyDataTable table) {/Implementation}
    public static MyDataTable xmlToTable(String xmlSource) {/Implementation}
    In war there is a simple Web service which interact with clients by means of the data packets:
    @WebService
    public class MyWebService {
    @WebMethod
    public String myMethod(){
    //Creating connection and opening ResultSet rs
    MyDataTable t = new MyResultSetTable(rs);
    return MyDataPacket.tableToXML(t);
    This war application belongs to Enterprise Application (ear project). I use Sun Java System
    Application Server Platform Edition 9.0_01 (build b02-p01). When I deploy ear into server an
    error occurs:
    Exception occured in J2EEC Phase
    java.lang.NoClassDefFoundError: jarSource/MyDataTable
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
    at java.lang.Class.privateGetPublicMethods(Class.java:2519)
    at java.lang.Class.getMethods(Class.java:1406)
    When I change abstract class MyDataTable on MyResultSetTable in static method
    tableToXML, the error disappears. I think that the problem is that I use abstract
    class in this method. Please, can somebody explanes me this situation.
    PS: Sorry for my bad English. I jast start to study this language.
    PSS: You can copy-past these classes for simple testing this misunderstanding:
    jar:
    public abstract class MyDataTable {
    public abstract String method1() throws Exception;
    public abstract String method2() throws Exception;
    public class MyResultSetTable extends MyDataTable{  
    public String method1() throws Exception {return "method1";}
    public String method2() throws Exception {return "method2";}
    public class MyDataPacket {
    public static String tableToXML(MyDataTable t) {return "tableToXML";}
    war:
    import jarSource.MyDataPacket;
    import jarSource.MyDataTable;
    import jarSource.MyResultSetTable;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    @WebService()
    public class MyView {
    @WebMethod
    public String myMethod1(){
    MyDataTable t = new MyResultSetTable();
    return MyDataPacket.tableToXML(t);
    ear: Adding war to ear.

    I beleive this is a classpath problem, namely the classespath does not exist for the .jar file when the .war is trying to access the files. I would think if the .jar file is in WEB-INF/classes in your .war your error would go away. If you are placing the .jar in the root of the .ear then you must set the classpath.

  • Oracle.mds.core.ConcurrentMOChangeException: MDS-00165

    Hi people,
    I'm using Webcenter 11.1.1.4 in my WLS embedded, when I enable to preserve the customizations across applications runs I get the error when I navegate in my portal:
    oracle.adf.share.prefs.PreferencesRuntimeException: oracle.mds.core.ConcurrentMOChangeException: MDS-00165: O Objeto de Metadados "/oracle/adf/share/prefs/data/preferences.xml" foi alterado
    MDS-00512: Falha ao criar o documento /oracle/adf/share/prefs/data/preferences.xml porque o arquivo C:\Users\nmaia\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\o.mds.dt\adrs\AutoGeneratedMar\mds_adrs_writedir\oracle\adf\share\prefs\data\preferences.xml já existe
    Caused by: oracle.mds.core.ConcurrentMOChangeException: MDS-00165: O Objeto de Metadados "/oracle/adf/share/prefs/data/preferences.xml" foi alterado
    MDS-00512: Falha ao criar o documento /oracle/adf/share/prefs/data/preferences.xml porque o arquivo C:\Users\nmaia\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\o.mds.dt\adrs\AutoGeneratedMar\mds_adrs_writedir\oracle\adf\share\prefs\data\preferences.xml já existe
    When I get this error and I save some configuration in Configuration tab, the update that I done doesn't persist save.
    Someone can help me?
    Thks

    I just did some tests and i could not reproduce the problem.
    These are the steps i made for trying to reproduce the problem:
    1) Create a new css file in the oracle/webcenter/portalapp/skins folder
    2) Right click on the css and select Create portlet resource
    3) Press OK
    4) Run the portal
    5) Login with admin and go to the configuration tab of the admin page
    6) Select my newly created skin
    7) Back to portal
    8) Back to admin page and look at the config, my skin is still selected and no error in the logs...
    did you create the skin in another folder or did you use another method to create the skin?

  • Geting error when deploy ear file on Oracle Application Server

    Hi,
    i m trying to deploy EAR on Oracle Application Server but i m getting ther Error
    Operation failed with error: Missing class: oracle.adf.controller.v2.lifecycle.PagePhaseListener Dependent class:
    any body know that what is this error
    plz help me
    Harish

    What version of JDeveloper are you using? And what version is your app server?

  • Error when deploying EAR in OC4J 10.1.3.0.0 with a deployment plan

    Hello!
    I try to deploy an ear file specifying a deployment plan generated from web interface using command line utilities. I try to use both admin_client.jar and oracle ant task and still get the same error. When i remove deployment plan argument, the application is successfully deployed.... Any Idea?
    My server:
    OC4J 10.1.3.0.0 on an AIX server
    The error raised during deployment:
    [MyServer] 08/04/07 12:46:56 Notification ==>Application Deployer for MyApp STARTS.
    [MyServer] 08/04/07 12:46:56 Notification ==>Copy the archive to /oracle/product/j2ee/home/applications/MyApp.ear
    [MyServer] 08/04/07 12:46:56 Notification ==>Initialize /oracle/product/j2ee/home/applications/MyApp.ear begins...
    [MyServer] 08/04/07 12:46:56 Notification ==>Unpacking MyApp.ear
    [MyServer] 08/04/07 12:46:57 Notification ==>Done unpacking MyApp.ear
    [MyServer] 08/04/07 12:46:57 Notification ==>Unpacking ic.war
    [MyServer] 08/04/07 12:46:59 Notification ==>Done unpacking ic.war
    [MyServer] 08/04/07 12:46:59 Notification ==>Initialize /oracle/product/j2ee/home/applications/MyApp.ear end
    s...
    [MyServer] 08/04/07 12:46:59 Notification ==>Starting application : MyApp
    [MyServer] 08/04/07 12:46:59 Notification ==>Initializing ClassLoader(s)
    [MyServer] 08/04/07 12:46:59 Notification ==>Initializing EJB container
    [MyServer] 08/04/07 12:46:59 Notification ==>Loading connector(s)
    [MyServer] 08/04/07 12:47:00 Notification ==>Starting up resource adapters
    [MyServer] 08/04/07 12:47:00 Notification ==>Initializing EJB sessions
    [MyServer] 08/04/07 12:47:00 Notification ==>Committing ClassLoader(s)
    [MyServer] 08/04/07 12:47:00 Notification ==>Initialize ic begins...
    [MyServer] 08/04/07 12:47:00 Notification ==>Initialize ic ends...
    [MyServer] 08/04/07 12:47:00 Notification ==>Started application : MyApp
    [MyServer] 08/04/07 12:47:00 Notification ==>Binding web application(s) to site default-web-site begins...
    [MyServer] 08/04/07 12:47:00 Notification ==>Binding ic web-module for application MyApp to site default-web-site under context root ic
    [MyServer] 70/01/01 00:00:00 Notification ==>Error deserializing return-value: unexpected reset; nested exception is:
    java.io.StreamCorruptedException: unexpected reset
    [Summary] There are total 1 instances in the operation.
    [Summary] Operation failed on MyServer
    [Summary] Operation on cluster FAILED since 1 instanced failed!
    Here my deployment plan generated by the Application Server Control Console
    moduleType=ear
    applicationID=MyApp
    bindWebApp=default-web-site
    parent=default
    moduleID=.
    doctype=orion-application
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/sch
    ema/orion-application-10_0.xsd">
    </orion-application>
    moduleID=myapp.war
    doctype=orion-web-app
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/
    orion-web-10_0.xsd" context-root="myapp">
    <resource-ref-mapping name="jdbc/ds" location="jdbc/myapp/ds">
    </resource-ref-mapping>
    <web-app-class-loader>
    </web-app-class-loader>
    </orion-web-app>
    My Command line to deploy the application
    java -jar admin_client.jar deployer:cluster:opmn://MyServer/home oc4jadmin XXXXX -deploy -file ~/MyApp.ear -deploymentName MyApp -deploymentPlan ~/myapp_plan.dat
    Ant file used to deploy
    <project name="Deploy EAR in OC4J" default="deploy-ear" basedir="." xmlns:oracle="antlib:oracle">
    <property name="server.host" value="MyServer"/>
    <property name="server.user" value="oc4jadmin"/>
    <property name="server.password" value="XXXXXX"/>
    <property name="deploy.filepath" value="/home/myhome/MyApp.ear"/>
    <property name="deploy.deployname" value="MyApp"/>
    <property name="deploy.logpath" value="${basedir}/deploy-ear.log"/>
    <property name="deploy.planpath" value="/home/myhome/myapp_plan.dat"/>
    <property name="deploy.uri" value="deployer:cluster:opmn://${server.host}/home"/>
    <target name="deploy-ear">
    <oracle:deploy
    deployerUri="${deploy.uri}"
    userId="${server.user}"
    password="${server.password}"
    file="${deploy.filepath}"
    deploymentName="${deploy.deployname}"
    bindAllWebApps="default-web-site"
    deploymentPlan="${deploy.planpath}"
    logFile="${deploy.logpath}"/>
    </target>
    </project>
    Thanks
    Message was edited by:
    Olivier MARTIN

    If you're using OC4J standalone, use the latest available OC4J, 10.1.3.3.
    If you're using a manage OC4J, ie. Application Server, upgrade to the latest available version and upgrade your JDK. The provided JDK might be outdated.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • WebLogic 12.1.2 fails when deploying ear with injecting extension and bean with injection of this extension in ejb

    WebLogic 12.1.2 fails when deploying an enterprise application(ear) that contains a ejb in which injected 1) an extension 2)bean with injection of this extension.
    The following exception is thrown:
    Caused By: org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [CdiExtension] with qualifiers [@Default] at injection point [[field] @Inject private test.extension.Bean1.extension].
    Possible dependencies [
    [Extension [class test.extension.CdiExtension] with qualifiers [@Default]; zip:/domain1/servers/AdminServer/tmp/_WL_user/test/7x6roh/lib/test-extension-0.0.1-SNAPSHOT.jar!/META-INF/services/javax.enterprise.inject.spi.Extension@1[test.extension.CdiExtension@1115deb],
    Extension [class test.extension.CdiExtension] with qualifiers [@Default]; zip:/domain1/servers/AdminServer/tmp/_WL_user/test/7x6roh/lib/test-extension-0.0.1-SNAPSHOT.jar!/META-INF/services/javax.enterprise.inject.spi.Extension@1[test.extension.CdiExtension@ed791f]]]
        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:314)
        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:280)
        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:143)
        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:163)
        at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:382)
        at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:367)
        at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:379)
        at com.oracle.injection.provider.weld.WeldInjectionContainer.start(WeldInjectionContainer.java:106)
        at com.oracle.injection.integration.CDIAppDeploymentExtension.initCdi(CDIAppDeploymentExtension.java:70)
        at com.oracle.injection.integration.CDIAppDeploymentExtension.activate(CDIAppDeploymentExtension.java:47)
        at weblogic.application.internal.flow.AppDeploymentExtensionFlow.activate(AppDeploymentExtensionFlow.java:37)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
        at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    Problem can be easily reproduced by a minimal case:
    test.ear:
    \lib\test-extension-0.0.1-SNAPSHOT.jar
    test-ejb-0.0.1-SNAPSHOT.jar
    where
    test-extension-0.0.1-SNAPSHOT.jar contains:
    CdiExtension.java:
    package test.extension;
    import javax.enterprise.inject.spi.Extension;
    public class CdiExtension implements Extension {
        private String someString = "Some String";
        public String getSomeString() {
            return someString;
    Bean1.java:
    package test.extension;
    import javax.enterprise.context.ApplicationScoped;
    import javax.inject.Inject;
    @ApplicationScoped
    public class Bean1 {
        @Inject
        private CdiExtension extension;
        public String get() {
            return extension.getSomeString();
    test-ejb-0.0.1-SNAPSHOT.jar contains:
    EjbBean.java:
    package test;
    import test.extension.Bean1;
    import test.extension.CdiExtension;
    import javax.ejb.Stateless;
    import javax.inject.Inject;
    @Stateless
    public class EjbBean {
        @Inject
        private CdiExtension extension;
        @Inject
        private Bean1 bean1;
        public String getSomeString() {
            return extension.getSomeString() + "\n" + bean1.get();
    p.s. i seen same problem in community.oracle.com/thread/2577403 , but it happen in "war", not "ear", and seems successfully patched with patch №17424706

    Hi,
    It looks like there is patch exists for this issue.
    Patch 17198187
    Please try to download from the MOS or try to open a ticket with support.
    Regards,
    Kal

  • Error when deploy EAR with JSF to OC4J

    Hello
    can anybody tell me how to deploy the EAR to OCJ4J version 10.1.3.3.0. My application is simple JSF application without ADF..
    This is my log:
    Done unpacking webapp1.war
    Initialize /oracle/oc4j_extended_101330/j2ee/home/applications/obnovajsf.ear ends...
    Starting application : obnovajsf
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize webapp1 begins...
    Initialize webapp1 ends...
    Started application : obnovajsf
    Binding web application(s) to site default-web-site begins...
    Binding webapp1 web-module for application obnovajsf to site default-web-site under context root obnovajsf
    Exception: NoClassDefFoundError:
         Missing class: oracle.adf.share.logging.ADFLogger
         Dependent class: oracle.adfinternal.view.faces.application.StateManagerImpl
         Loader: obnovajsf.web.webapp1:0.0.0
         Code-Source: /oracle/oc4j_extended_101330/j2ee/home/applications/obnovajsf/webapp1/WEB-INF/lib/adf-faces-impl.jar
         Configuration: WEB-INF/lib/ directory in /oracle/oc4j_extended_101330/j2ee/home/applications/obnovajsf/webapp1/WEB-INF/lib
    The missing class is not available from any code-source or loader in the system.
    Operation failed with error:
         Missing class: oracle.adf.share.logging.ADFLogger
         Dependent class: oracle.adfinternal.view.faces.application.StateManagerImpl
         Loader: obnovajsf.web.webapp1:0.0.0
         Code-Source: /oracle/oc4j_extended_101330/j2ee/home/applications/obnovajsf/webapp1/WEB-INF/lib/adf-faces-impl.jar
         Configuration: WEB-INF/lib/ directory in /oracle/oc4j_extended_101330/j2ee/home/applications/obnovajsf/webapp1/WEB-INF/lib

    If i look at the properties ->Technology Scope -> Selected technology I have: Java, JSF, JSP and Servlets..
    if I look at the properties -> JSP tag libraries I have also ADF faces components and adf faces html 10_1_3_4_0..
    I I remove the ADF tag library from my project I get the error:
    ============
    C:\java_ide\jdevlast\jdk\bin\javaw.exe -client -classpath C:\java_ide\jdevlast\j2ee\home\oc4j.jar;C:\java_ide\jdevlast\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\java_ide\jdevlast\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    16.4.2009 15:31:31 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    16.4.2009 15:31:31 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 15500 ms.
    Target URL -- http://172.16.201.30:8991/ObnovaAOJSF-ObnovaJSF-context-root/faces/polica.jspx
    09/04/16 15:31:40 Oracle Containers for J2EE 10g (10.1.3.4.0) initialized
    09/04/16 15:31:41 java.lang.IllegalArgumentException: No renderKitClass for renderKit oracle.adf.core
    09/04/16 15:31:41      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:931)
    09/04/16 15:31:41      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:426)
    09/04/16 15:31:41      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
    09/04/16 15:31:41      at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1140)
    09/04/16 15:31:41      at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
    09/04/16 15:31:41      at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
    09/04/16 15:31:41      at com.evermind.server.Application.getHttpApplication(Application.java:586)
    09/04/16 15:31:41      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    09/04/16 15:31:41      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1970)
    09/04/16 15:31:41      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.getHttpApplication(HttpSite.java:1922)
    09/04/16 15:31:41      at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:423)
    09/04/16 15:31:41      at com.evermind.server.http.HttpRequestHandler.resolveApplication(HttpRequestHandler.java:398)
    09/04/16 15:31:41      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:439)
    09/04/16 15:31:41      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    09/04/16 15:31:41      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    09/04/16 15:31:41      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    09/04/16 15:31:41      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    09/04/16 15:31:41      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    09/04/16 15:31:41      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    09/04/16 15:31:41      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    09/04/16 15:31:41      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.ru
    =================================================
    I I look inside my EAR archive under root I have
    oracle folder with adf subfolder present which has other subfolders.. also adf-faces-config.xsd is present..
    If I look inside WEB-INF/web.xml i have
    ==================
    <?xml version = '1.0' encoding = 'windows-1250'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>obnovajsf.DataBindings</param-value>
    </context-param>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>/polica.jspx</welcome-file>
    </welcome-file-list>
    </web-app>
    =====================================
    thank you for any answer!

  • Error when deploying ear to MAS managed AS 11g.

    I posted this on General, but, I guess this is the right forum for this.
    I used "asctl deployApp ..." to deploy ear to MAS mode AS11g and encountered a following error.
    Connected to:
    Oracle Fusion Middleware Administration Server Release 11.1.1.0.0
    MAS Transaction started.
    MAS Transaction rolledback.
    MAS-0416: Management Exception.
    Cause:
    Java heap space
    Is there any documents showing reason/solution for the error ?
    If you can give an answer, that'll be great.
    Thanks,
    Incheol

    Yes, my EAR has been deployed on WLS8.1.6 and works fine...
    Yes, i found com.bea.wlw.runtime.core.servlet.WebappContextListener on my web.xml
    Ok my first run was giving me this:
    <Mar 20, 2010 3:00:05 PM ICT> <Error> <HTTP> <BEA-101163> <Could not load user defined listener: com.bea.wlw.runtime.core.servlet.WebappCont
    extListenerjava.lang.ClassNotFoundException: com.bea.wlw.runtime.core.servlet.WebappContextListener
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
    Truncated. see log file for complete stacktrace
    And then I added my knex.jar and log4j.jar (on newly created domain on WLS10.3.2)...Thus giving me error on the first post....something like
    <Mar 20, 2010 3:09:25 PM ICT> <Warning> <HTTP> <BEA-101162> <User defined listener com.bea.wlw.runtime.core.servlet.WebappContextListener fa
    iled: java.lang.NoSuchMethodError: weblogic.servlet.internal.WebAppServletContext.registerServlet(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V.java.lang.NoSuchMethodError: weblogic.servlet.internal.WebAppServletContext.registerServlet(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
    at com.bea.wlw.runtime.core.servlet.WebappContextListener.contextInitialized(WebappContextListener.java:62)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    Truncated. see log file for complete stacktrace
    So what is the solution?
    Regards

  • Problem when deploying EAR

    I am getting the following exception stack dump when deploying to version 10.1.2.0.2 App Server. This is on Solaris 10. The EAR file is one previously deployed successfully on an older box. I still can look at the old box for some comparison but stiil can't identify my problem. The data source is one that has also been working fine. Any suggestions?
    Thanks,
    Here's my exception dump:
    Deployment failed: Nested exception
    Resolution:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application dd1000dev: Error loading package at
    file:/space/u01/orahome/OraHome_1/j2ee/dd1000dev/applications/dd1000dev/DD1K-EJB.jar,
    Error compiling /space/u01/orahome/OraHome_1/j2ee/dd1000dev/applications/dd1000dev/DD1K-EJB.jar: Error finding a suitable DataSource: SQL Error opening DataSource: Io exception: The Network Adapter could not establish the connection; nested exception is: java.sql.SQLException: Io exception: The Network
    Adapter could not establish the connection; nested exception is:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in
    application dd1000dev: Error loading package at file:/space/u01/orahome/OraHome_1/j2ee/dd1000dev/applications/dd1000dev/DD1K-EJB.jar, Error compiling /space/u01/orahome/OraHome_1/j2ee/dd1000dev/applications/dd1000dev/DD1K-EJB.jar: Error finding a suitable DataSource: SQL Error opening DataSource: Io exception: The Network Adapter could not establish the connection;

    hi user620270
    You write : "The data source is one that has also been working fine.".
    Where was it working fine, on "version 10.1.2.0.2 App Server" or "on an older box"?
    If it was on "version 10.1.2.0.2 App Server", how did you verify that?
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    regards
    Jan Vervecken

  • Error when deploying ear file

    Hello
    What could be the problem that I get this error when deploying my ear file with a web service within.
    [#|2008-03-29T17:43:02.640+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=12;_ThreadName=Thread-26;_RequestID=0a164c90-57bc-4d4a-8b3f-270fc4584891;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- C:\Sun\AppServer\domains\domain1\generated\xml\j2ee-apps\agency_app\agency_jar\META-INF\wsdl\AgencyModuleWebServiceService.wsdl (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
         at java.net.URL.openStream(URL.java:1007)
         at com.sun.enterprise.webservice.WsUtil.generateFinalWsdl(WsUtil.java:699)
         at com.sun.enterprise.webservice.WsUtil.generateFinalWsdl(WsUtil.java:643)
         at com.sun.enterprise.deployment.backend.WebServiceDeployer.doWebServiceDeployment(WebServiceDeployer.java:165)
         at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:855)
         at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:580)
         at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:339)
         at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:222)
         at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:359)
         at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:214)
         at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:129)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
         at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
         at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
    |#]when I deployed this application on a custom domain setup, it does not fail. But it fails on default domain.
    Regards
    Michael

    How did you create your datasource, can you post the content, without passwords of course.
    Greetings.

  • NoClassDefFoundError when deploying ear

    Hello,
    I am deploying an ear using MyEclipse. In the ear under the META-INF dir is the application.xml. The application.xml has a reference to the jar which has the class that is not found when deploying and the jar is in the ear.
    <module>
    <java>cdtpojo.jar</java>
    </module>
    Any ideas what I am doing wrong. This is being deployed to the 8.1 SP4 platform.
    Joel

    Hi werginz ,
    did you copy the jar files under the app/lib dir and add them to ejb manifest file ?
    ----Anilkumar kari

  • ClassNotFoundException: oracle.xml.parser.v2.DOMParser when deploying ear

    I'm trying to deploy my disconnected-admin.ear (ADF faces web application) file. I kept getting ClassNotFoundError. In my ear file, I have a war file, I added the xmlparserv2.jar (which contains the class) to the war file's WEB-INF/lib folder. But I still get the same error. I also tried to copy the jar file to WLS_HOME/servers/lib folder, no luck there either. I have read a few other threads, and it's not recommended to add the jar file to the classpath. What else can I do?
    Thanks,
    Jing
    ####<Dec 16, 2008 6:56:34 PM PST> <Error> <Deployer> <sta00958> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1229482594039> <BEA-149231> <Unable to set the activation state to true for the application 'disconnected-admin'.
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1358)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:453)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:629)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:206)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:53)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    java.lang.ClassNotFoundException: oracle.xml.parser.v2.DOMParser
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getDomDocument(MetadataRegistryImpl.java:549)
         at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getRegistryPaths(MetadataRegistryImpl.java:183)
         at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.visitRegistryPaths(MetadataRegistryImpl.java:114)
         at oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack.getConfigObjectMBeanAssociationInfos(BC4JConfigLifeCycleCallBack.java:74)
         at oracle.as.jmx.framework.util.ServletContextListenerSupport.getManagedRootConfigMBeans(ServletContextListenerSupport.java:107)
         at oracle.as.jmx.framework.util.ServletContextListenerSupport.contextInitialized(ServletContextListenerSupport.java:125)
         at oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack.contextInitialized(BC4JConfigLifeCycleCallBack.java:118)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:465)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1794)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3032)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1356)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:453)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:629)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:206)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:53)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi Sujay,
    Add below line to your startWeblogic.sh script and restart the server. Also let me know if the issue is resolved.
    -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform
    Regards,
    Kishore

  • Compilation error when deploying EAR file on standalone OC4J...

    Hi All,
    I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
    ==========================================================
    Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
    Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
    Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
    Unpacking JavaWebServiceEmp-GetDates-WS.ear
    Done unpacking JavaWebServiceEmp-GetDates-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
    Starting application : JavaWebServiceEmp-GetDates-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : JavaWebServiceEmp-GetDates-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
    Operation failed with error:
    Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
    Deployment failed
    Elapsed time for deployment: 1 minute, 50 seconds
    ==========================================================
    Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
    Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.

    Initially I followed the following steps to start up OC4J:-
    Settings :-
    1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
    2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
    Steps followed to run oc4j and deploy application
    1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
    2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
    to include the following:-
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
    </shared-library>
    AND
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
    3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
    --> java -jar oc4j.jar
    4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
    5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
    6) Steps 4 and 5 went through without error.
    7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
    http://localhost:8888/docws/prime
    This was before I tried deploying the web service through jdeveloper IDE.
    I had tried the document web service given at the following link:-
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
    from the web services how to links
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
    Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
    Message was edited by:
    Lester N

  • Problem while deploying ear into integration server of JCAPS 5.1.1

    hi all,
    when i'm trying to deployinag an ear file into JCAPS 5.1.1 integration server i'm getting the follwing error and i am not able to deploy the project.
    javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:872)
    org.apache.jasper.runtime.PageContextImpl.access$1100(PageContextImpl.java:114)
    org.apache.jasper.runtime.PageContextImpl$12.run(PageContextImpl.java:792)
    java.security.AccessController.doPrivileged(Native Method)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:790)
    SeeBeyondISDeployer.pages.ManageApplications_jsp._jspService(ManageApplications_jsp.java:1155)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:141)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:318)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    java.security.AccessController.doPrivileged(Native Method)
    edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:635)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:318)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:261)
    root cause
    can any body help me out to resolve this problem.
    Thanks In Advance

    First check is Java stack is running ?
    make sure J2EE_ADMIN user not locked.
    Ans please check password in secure area. check password in secure store should be correct.
    may be you can try with restart of SAP and DB.
    All the best
    regards
    nag

  • Error when deploying EAR file: Operation failed with error: java:/app/jdbc/

    I created application using JDeveloper 11g, and have the deploy file EAR read to deploy to oracle application server 10g, but I am encouting the error of Operation failed with error: java:/app/jdbc/jdbc/HRConnDS not found
    Below is the log. What did i do wrong? I have created the datasource of HRConnDS, and it shows in EM.
    Nov 6, 2009 10:06:12 AM] Application Deployer for hra1 STARTS.
    [Nov 6, 2009 10:06:12 AM] Copy the archive to /u01/OraHome_app1/j2ee/home/applications/hra1.ear
    [Nov 6, 2009 10:06:12 AM] Initialize /u01/OraHome_app1/j2ee/home/applications/hra1.ear begins...
    [Nov 6, 2009 10:06:12 AM] Unpacking hra1.ear
    [Nov 6, 2009 10:06:12 AM] Done unpacking hra1.ear
    [Nov 6, 2009 10:06:12 AM] Unpacking webapp2.war
    [Nov 6, 2009 10:06:12 AM] Done unpacking webapp2.war
    [Nov 6, 2009 10:06:12 AM] Initialize /u01/OraHome_app1/j2ee/home/applications/hra1.ear ends...
    [Nov 6, 2009 10:06:12 AM] Starting application : hra1
    [Nov 6, 2009 10:06:12 AM] Initializing ClassLoader(s)
    [Nov 6, 2009 10:06:12 AM] Initializing EJB container
    [Nov 6, 2009 10:06:12 AM] Loading connector(s)
    [Nov 6, 2009 10:06:12 AM] Starting up resource adapters
    [Nov 6, 2009 10:06:12 AM] application : hra1 is in failed state
    [Nov 6, 2009 10:06:12 AM] Operation failed with error: java:/app/jdbc/jdbc/HRConnDS not found
    Thank you very much for your help.

    How did you create your datasource, can you post the content, without passwords of course.
    Greetings.

Maybe you are looking for