Failed to create resource (Security:090310) when deploying .ear

I'm having an issue when starting a portalapplication in weblogic (10.2). The stacktrace yields:
####<05.mai.2008 kl 10.39 CEST> <Error> <Deployer> <no-osl-m323-srv-013-z1.> <ManagedServer_3> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1209976779500> <BEA-149205> <Failed to initialize the application 'test-portalEar' due to error weblogic.application.ModuleException: Exception preparing module: EJBModule(netuix.jar)
Unable to deploy EJB: AsyncProliferation from netuix.jar:
Exception while attempting to deploy Security Policy: weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
weblogic.application.ModuleException: Exception preparing module: EJBModule(netuix.jar)
Unable to deploy EJB: AsyncProliferation from netuix.jar:
Exception while attempting to deploy Security Policy: weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:399)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:137)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
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.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
weblogic.ejb20.interfaces.PrincipalNotFoundException: Exception while attempting to deploy Security Policy: weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
at weblogic.ejb.container.internal.SecurityHelperWLS.deployPolicy(SecurityHelperWLS.java:357)
at weblogic.ejb.container.internal.SecurityHelper.deployPolicy(SecurityHelper.java:306)
at weblogic.ejb.container.internal.SecurityHelper.deployPolicy(SecurityHelper.java:294)
I have searched the web for this exception and so far found no answer/resource to help me. Also, other applications deployed in the same weblogic domain work without any problems. Can anyone help me? Any tip will be appreciated:)

Thorsten,
testpool created in one of the cluster nodes and is accessible from both the nodes in the cluster. But if it is imported in one node and will not be access from other node. If other node want to get access we need to export and import testpool in other node.
Storage LUNs allocated to testpool are accessible from all the nodes in the cluster and able import and export testpool from all the nodes in the cluster.
Regards
Kumar

Similar Messages

  • "failed to create resource mgr" in trace file

    I got error logs below when I opened the second oracle connection within a transaction, anyone can help?
    [01/06/2004-17:26:46:100][000004ec] kpntdbid::AllocNewSrvr(dbname) - allocated server 0x01ba68a0.
    [01/06/2004-17:26:48:444][000004ec] kpntsrvr::ServerAttach(dbname) - attached to Oracle successfully.
    [01/06/2004-17:26:48:444][000004ec] kpntdbid::AllocNewSrvr(dbname) - attach successful on 0x01ba68a0.
    [01/06/2004-17:26:48:444][000004ec] kpntdbid::GetSrvr(0x01ba68a0,0x00000000) - allocated a new server.
    [01/06/2004-17:26:48:444][000004ec] kpntsess::InitOCI(0x01bb6e08) - initialize successful.
    [01/06/2004-17:26:48:444][000004ec] kpntsess::SessionBegin(sa,****) - successfully initialized OCI handles.
    [01/06/2004-17:26:48:460][000004ec] kpntsess::SessionBegin(sa,****) - successful logon to Oracle.
    [01/06/2004-17:26:48:460][000004ec] kpntsess::resetExplicit() - rolledback txn.
    [01/06/2004-17:26:48:460][000004ec] kpntrmprx::completeMSDTCTxn() - tx guid: 6a265311-315c-44f8-9d00-55f9dfbefcc5.
    [01/06/2004-17:27:20:428][00000360] kpntrmprx::initialize() - failed to create resource mgr.
    [01/06/2004-17:27:20:428][00000360] kpntsenp::DeinitOCI() - error resetting attributes of OCI handle.
    [01/06/2004-17:27:32:662][00000360] kpntjobq::Deinitialize() - Posting kill to thread 2.
    [01/06/2004-17:27:32:662][00000360] kpntjobq::Deinitialize() - Posting kill to thread 1.
    [01/06/2004-17:27:32:662][00000360] kpntjobq::Deinitialize() - Posting kill to thread 0.

    Thorsten,
    testpool created in one of the cluster nodes and is accessible from both the nodes in the cluster. But if it is imported in one node and will not be access from other node. If other node want to get access we need to export and import testpool in other node.
    Storage LUNs allocated to testpool are accessible from all the nodes in the cluster and able import and export testpool from all the nodes in the cluster.
    Regards
    Kumar

  • Failed to create resource - Error in Sun cluster 3.2

    Hi All,
    I have a 2 node cluster in place. When i trying to create a resource, i am getting following error.
    Can anybody tell me why i am getting this. I have Sun Cluster 3.2 on Solaris 10.
    I have created zpool called testpool.
    clrs create -g test-rg -t SUNW.HAStoragePlus -p Zpools=testpool hasp-testpool-res
    clrs: sun011:test011z - : no error
    clrs: (C189917) VALIDATE on resource hasp-testpool-res, resource group test-rg, exited with non-zero exit status.
    clrs: (C720144) Validation of resource hasp-testpool-res in resource group test-rg on node sun011:test011z failed.
    clrs: (C891200) Failed to create resource "hasp-testpool-res".
    Regards
    Kumar

    Thorsten,
    testpool created in one of the cluster nodes and is accessible from both the nodes in the cluster. But if it is imported in one node and will not be access from other node. If other node want to get access we need to export and import testpool in other node.
    Storage LUNs allocated to testpool are accessible from all the nodes in the cluster and able import and export testpool from all the nodes in the cluster.
    Regards
    Kumar

  • 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

  • Why does the App store ask if I want to create three security questions when, in fact, I am required to create three security questions to use the App store?

    This is sooooo lame. I'm given the choice of "Not Now" when asked if I want to create three security questions, but clicking "not now" logs me out rather than letting me download the app I came for. Is this sort of poor design typical for Apple?

    Then why doesn't Apple simply say:
    "To download the app you must first create three security questions and answers. Do you wish to create the questions now so that you may then download the app?"
    As written, the text implies that I could download the app without creating the questions first. Good design calls for a clear and direct statement that an act is mandatory when it is mandatory.
    Best
    Jim

  • 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

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 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.

  • 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.

  • 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

  • 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?

  • 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

  • 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.

  • SpacesWebService proxy security failure when deployed in weblogic server

    Hi all,
    I plan to use the SPacesWebservice by creating a webservices proxy. A proxy client was created and I passed on appropriate security information.
    public static void main(String[] args) {
    try {
    spacesWebService_Service = new SpacesWebService_Service();
    SpacesWebService spacesWebService = spacesWebService_Service.getSpacesWebServiceSoapHttpPort();
    Map<String, Object> requestContext = ((BindingProvider) spacesWebService).getRequestContext();
    setPortCredentialProviderList(requestContext);
    System.out.println(spacesWebService.getGroupSpaces(null));
    // Add your code to call the desired methods.
    } catch (Exception ex) {
    ex.printStackTrace();
    @Generated("Oracle JDeveloper")
    public static void setPortCredentialProviderList(Map<String, Object> requestContext) throws Exception {
    // TODO - Provide the required values
    String username = "weblogic";
    String password = "weblogic1";
    String clientKeyStore = "C:\\default-keystore.jks";
    String clientKeyStorePassword = "weblogic1";
    String clientKeyAlias = "orakey";
    String clientKeyPassword = "weblogic1";
    String serverKeyStore = "C:\\default-keystore.jks";
    String serverKeyStorePassword = "weblogic1";
    String serverKeyAlias = "orakey";
    List<CredentialProvider> credList = new ArrayList<CredentialProvider>();
    // Add the necessary credential providers to the list
    credList.add(getUNTCredentialProvider(username, password));
    credList.add(getBSTCredentialProvider(clientKeyStore, clientKeyStorePassword, clientKeyAlias, clientKeyPassword, serverKeyStore, serverKeyStorePassword, serverKeyAlias, requestContext));
    //credList.add(getSAMLTrustCredentialProvider());
    requestContext.put(WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credList);
    When i run this client, just plain java, the client runs fine.
    But additionally, I created the webservice proxy in a web application, and I try to use the proxy client to invoke the webservice. However, when I deploy the web application in weblogic server, and I try to touch the SpacesWebService methods using the client then I get the following errors :
    Caused by: oracle.wsm.common.sdk.WSMException: FailedCheck : failure in security check
    at oracle.wsm.security.policy.scenario.executor.Wss11UsernameWithCertsScenarioExecutor.receiveRequest(Wss11UsernameWithCertsScenarioExecutor.java:201)
    at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:596)
    at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:41)
    at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:666)
    at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeXorAssertion(WSPolicyRuntimeExecutor.java:477)
    at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(WSPolicyRuntimeExecutor.java:336)
    at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(WSPolicyRuntimeExecutor.java:289)
    at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(PolicyExecutionEngine.java:102)
    at oracle.wsm.agent.WSMAgent.processCommon(WSMAgent.java:975)
    at oracle.wsm.agent.WSMAgent.processRequest(WSMAgent.java:460)
    at oracle.fabric.common.BindingSecurityInterceptor.processRequest(BindingSecurityInterceptor.java:94)
    ... 46 more
    Caused by: oracle.wsm.security.policy.scenario.policycompliance.PolicyComplianceException: WSM-00034 : Error in Encryption reference mechanism compliance : Expected : thumbprint , Actual : issuerserial. Ensure that a compatible policy is attached at the client side.
    at oracle.wsm.security.policy.scenario.policycompliance.impl.ComplianceEngine.preDecryptionCompliance(ComplianceEngine.java:223)
    at oracle.wsm.security.policy.scenario.policycompliance.impl.ComplianceEngine.checkCompliance(ComplianceEngine.java:385)
    at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.verifyRequest(Wss11X509TokenProcessor.java:882)
    at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.verify(Wss11X509TokenProcessor.java:844)
    at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.verify(Wss11X509TokenProcessor.java:808)
    at oracle.wsm.security.policy.scenario.executor.Wss11UsernameWithCertsScenarioExecutor.receiveRequest(Wss11UsernameWithCertsScenarioExecutor.java:134)
    ... 56 more
    Does anyone know why authentication is not happening only in the webapp ? (Note: the weblogic server is in the same machine. So the path to the keystore is valid)
    Edited by: user9138987 on Aug 21, 2011 3:04 PM

    The keystore is created using the following commands and the default-keystore is assigned to the weblogic domain
    keytool -genkeypair -keyalg RSA -dname "cn=spaces,dc=example,dc=com" -alias orakey -keypass weblogic1 -keystore default-keystore.jks -storepass welcome1 -validity 1064
    keytool -exportcert -v -alias orakey -keystore default-keystore.jks -storepass weblogic1 -rfc -file orakey.cer
    keytool -importcert -alias webcenter_spaces_ws -file orakey.cer -keystore default-keystore.jks -storepass weblogic1

Maybe you are looking for