Errors When Installing EAR File to WebLogic 10.3.6

I am attempting to install an ear file to Weblogic 10.3.6 and am getting the following errors:
Unable to access the selected application.
Exception in AppMerge flows' progression
Exception in AppMerge flows' progression
Prefix [wls] used without binding it to a namespace URI
Prefix [wls] used without binding it to a namespace URI
Any clues as to what might be causing the errors?

Hi there,
The error seems to occur when Weblogic attempts to parse the env-entry entries when web.xml is defined with an older namespace declaration
Edit the web.xml and check the namespace declaration.
Try updating the web.xml namespace declaration as per the below doc.
http://docs.oracle.com/cd/E21764_01/web.1111/e13712/web_xml.htm#i1039990
Thanks,
Vijaya

Similar Messages

  • Error while deploying EAR file on weblogic

    When i deploy an EAR file on weblogic 10.3 i get the following.
    Please tell how to rectify it?
    Unable to access the selected application.
    Exception in AppMerge flows' progression
    Exception in AppMerge flows' progression
    [J2EE:160161]Error while parsing the Application descriptors for Portal-0.0.1-SNAPSHOT.ear: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4c: Expected element 'module@http://java.sun.com/xml/ns/javaee' before the end of the content in element application@http://java.sun.com/xml/ns/javaee: at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:234) at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:221) at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:146) at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292) at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260) at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:774) at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:395) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754) at weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:307) at weblogic.application.compiler.CompilerCtx.setApplicationDescriptor(CompilerCtx.java:131) at weblogic.application.compiler.AppcUtils.setDDs(AppcUtils.java:142) at weblogic.application.compiler.flow.DescriptorParsingFlow.compile(DescriptorParsingFlow.java:57) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96) at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:49) at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94) at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96) at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:142) at weblogic.utils.compiler.Tool.run(Tool.java:158) at weblogic.utils.compiler.Tool.run(Tool.java:115) at weblogic.application.compiler.AppMerge.merge(AppMerge.java:154) at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:79) at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:60) at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:184) at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:151) at weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:646) at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:459) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870) at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809) at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478) at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306) at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336) at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64) at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:168) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116) at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:251) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158) at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:241) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:130) at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1170) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142) at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106) at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:107) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:180) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:168) at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:223) at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:178) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332) at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:164) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:139) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:377) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:253) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:194) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200) at weblogic.work.ExecuteThread.run(ExecuteThread.java:172) .

    Hi,
    Can you please paste your "application.xml" file, Looks like you are using a Wrong DTD/XSD declaration in this file or May be ou are using Wrong Tags in this file.
    The Standard "application.xml" should look something like below, as described in the following link: http://middlewaremagic.com/weblogic/?p=1952
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
    <description>Test EAR Example</description>
    <display-name>TestEAR Example</display-name>
    <module>
    <ejb>EJB1.jar</ejb>
    </module>
    <module>
    <web>
    <web-uri>WebApp1.war</web-uri>
    <context-root>WebApp1ContextRoot</context-root>
    </web>
    </module>
    </application>
    NOTE: please make sure that you donot change the order of the <display-name> Tag....Sometimes it causes Parsing failure as yours.
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic/?p=1952 (Middleware Magic Is Here)

  • Weblogic 10.3.2   Error when deploying ear file

    Using WLS 10.3.2, wwhen activating changes, I obtain following errors:
    An error occurred during activation of changes, please see the log for details.
    Exception occured while downloading files
    [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request "1,285,335,764,675". Underlying error is: "[DeploymentService:290065]Deployment service servlet encountered an Exception while handling the deployment datatransfer message for request id "1,285,335,764,675" from server "p8aerm". Exception is: "Could not create temp location for application : Engine-wl"."
    Would someone with expertise confirm where "temp location for application" is on an AIX 6.1 server.
    Any help appreciated.

    What user runs your weblogic? the oracle user?
    In my case weblogic is started by a weblogic user who owns all the WLS folders.
    Try $> ps -fea | grep p8ce to verify the user running the weblogic instance.
    In a RH5 the privileges are (755):
    4 drwxr-xr-x 2 weblogic weblogic 4096 Nov 19 2009 .internal
    4 drwxr-xr-x 5 weblogic weblogic 4096 Nov 19 2009 WLinternal
    4 drwxr-xr-x 8 weblogic weblogic 4096 Nov 23 2009 ..
    4 -rw-r--r-- 1 weblogic weblogic 379 Sep 20 16:53 WebServiceUtils.ser
    0 -rw-r--r-- 1 weblogic weblogic 0 Sep 20 16:55 SysAdmServer.lok
    4 drwxr-xr-x 5 weblogic weblogic 4096 Sep 21 19:28 .
    4 drwxr-xr-x 6 weblogic weblogic 4096 Sep 21 19:28 WLuser
    The folder WLuser will be created when the deploy starts.
    In your case an error happends before this step.

  • Error in deploying .ear file in weblogic 6.1

    Hi
    i had deployed an ear file named ProjectBroker.ear using hte weblogic console
    and it was working fine .i had made changes to the ejb bean file and hence tried
    redeploy it,though on the console it shows that it is deployed it , i'm not able
    to access the ejb methods ,also when i start the server it gives me the following
    error ---
    <Mar 11, 2002 11:22:32 AM IST> <Error> <J2EE> <Error deploying application web-s
    ervices: Cannot deploy WebAppServletContext(5197502,web-services,/ProjectBroker)
    on myserver because WebAppServletContext(5450599,web-services,/ProjectBroker)
    i
    s already registered for path /ProjectBroker>
    java.lang.reflect.UndeclaredThrowableException: weblogic.j2ee.DeploymentExceptio
    n: Cannot deploy WebAppServletContext(5197502,web-services,/ProjectBroker) on
    my
    server because WebAppServletContext(5450599,web-services,/ProjectBroker) is alre
    ady registered for path /ProjectBroker
    could any one help me out on this issue
    Rgds
    ravi

    Hi Ivaylo,
    to answer your first question, the EAR that I am trying
    to deploy gets created as part of the publish step. When
    I look in the application.xml file of this EAR I see a
    version attribute with value of 1.4 in the application
    tag, can we assume that this implies J2EE 1.4 compliancy?
    One thing about this generated EAR is that it does not
    include any java code (VM or otherwise). When I generate
    the EAR by hand (by exporting the EJB project as an EAR
    file there is a JAR for the actual java code put in
    there, but when generating the EAR via publish there is
    only some xml and manifest stuff put in the EAR, with the
    result that it's only 2KB or so in size. I have specified
    a J2EE module dependency from the Enterprise Application
    project to the EJB project, but is there something else I
    need to do to ensure that the java code (jar) gets
    included in the EAR of the Enterprise Application when
    attempting to deploy via publish?
    Thanks for the other suggest, "Import J2EE Archive".
    However, I am having difficulty locating this button.
    When I look at the "Deploy View" window I see on the left
    the Workspace and External Deployable Archives trees,
    and on the right there are "Setting for Updating
    SCAs/SDAs" radio buttons, as well as "Error Strategy"
    radio buttons, but no "Import J2EE Archive" button.
    Thanks for the info about SDM by the way, I was wondering
    why I was not able to launch it (there is still a remote
    gui shortcut, which should probably go away).

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

  • 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

  • ERROR when install OPA on oracle weblogic

    hi
    Operating System : Microsoft Windows Server 2003
    Application Server: Oracle WebLogic Server11g
    when Deploying Oracle Web Determinations for Java on Oracle WebLogic Server, error is
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "WebDeterminationsServlet" failed to preload on startup in Web application: "web-determinations.war". com.oracle.determinations.interview.engine.exceptions.EngineConfigurationException: No rulebase directory specified at com.oracle.determinations.interview.engine.local.FileRulebaseService.<init>(FileRulebaseService.java:56) at com.oracle.determinations.interview.engine.plugins.rulebaseservice.InterviewRulebaseService.getInstance(InterviewRulebaseService.java:55) at com.oracle.determinations.interview.engine.local.LocalInterviewEngine.initialise(LocalInterviewEngine.java:94) at com.oracle.determinations.interview.engine.local.LocalInterviewEngine.<init>(LocalInterviewEngine.java:40) at com.oracle.determinations.interview.engine.InterviewEngineFactory.createInstance(InterviewEngineFactory.java:19) at com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:173) at com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.<init>(WebDeterminationsServletContext.java:104) at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) 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:41) 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:1267) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43) 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.StartOperation.doCommit(StartOperation.java:143) 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:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) :com.oracle.determinations.interview.engine.exceptions.EngineConfigurationException:No rulebase directory specified
    Edited by: user12194500 on 2010-11-10 上午7:03
    Edited by: user12194500 on 2010-11-10 上午7:51

    hi dear:
    i do like this:
    # Unpack the web-determinations.war file
    # Copy the rulebases (When i build my project in Policy modelling, the rulebase is compiled to a zip file that is located in my project's output directory[projects\opm_test_ocean\Development\output\opm_test_ocean.zip]) to install to <webroot>/WEB-INF/classes/rulebases
    # Edit the following setting in the application.properties file (<webroot>/WEB-INF/classes/configuration):
    load.rulebase.from.classpath =true
    rulebase.path =rulebases
    # Repack the war file
    # Proceed with the installation steps as set out in the installation guide
    but in http://localhost:7001/web-determinations/
    it show :
    Select rulebase in which to conduct an investigation:
    if the url is http://localhost:7001/web-determinations/startsession/opm_test_ocean/zh-CN
    http://<web-determinations url>/startsession/<rulebase>/<locale>/
    where:
    • <web-determinations url> - the address of the web determinations application (eg my.server:8080/web-determinations or localhost/web-determinations might do it)
    • <rulebase> - is the name of the rulebase.
    • <locale> - is the locale that you want to start the session in.
    my rule can be find ,but when i save the resul, it is error
    could you tell me why ?
    Edited by: user12194500 on 2010-11-15 下午9:01

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

  • Getting Error while exporting EAR file from Weblogic workshop 10.3

    Hi All,
    I have one Enterprise project with reference to one Web services web module.
    When I tried to export web module it export correctly but when I try to export the Enterprise project then it throws following error.
    !ENTRY com.bea.workshop.wls.ui 4 0 2009-04-15 11:14:12.801
    !MESSAGE The selected archive: C:\RNEAR.ear does not exist.
    !ENTRY org.eclipse.wst.common.frameworks 4 0 2009-04-15 11:14:13.035
    !MESSAGE Extended Operation failure: org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation
    !STACK 0
    org.eclipse.core.commands.ExecutionException: Error exportingEAR
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.execute(J2EEArtifactExportOperation.java:103)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:376)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:401)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:352)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:242)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:214)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:202)
    at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1$CatchThrowableRunnableWithProgress.run(DataModelWizard.java:211)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: Error opening archive for export..
    at org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation.export(EARComponentExportOperation.java:66)
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.execute(J2EEArtifactExportOperation.java:95)
    ... 10 more
    Caused by: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: java.lang.NullPointerException
    at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.save(AbstractArchiveSaveAdapter.java:66)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.save(ArchiveFactoryImpl.java:114)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.saveArchive(ArchiveFactoryImpl.java:76)
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.saveArchive(J2EEArtifactExportOperation.java:247)
    at org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation.export(EARComponentExportOperation.java:43)
    ... 11 more
    Caused by: java.lang.NullPointerException
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.isEJBArchive(JavaEEArchiveUtilities.java:466)
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.refineForJavaEE(JavaEEArchiveUtilities.java:362)
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:267)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.openArchive(ArchiveFactoryImpl.java:45)
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:115)
    at org.eclipse.jst.j2ee.internal.archive.EARComponentArchiveLoadAdapter.addModulesAndUtilities(EARComponentArchiveLoadAdapter.java:78)
    at org.eclipse.jst.j2ee.internal.archive.EARComponentArchiveLoadAdapter.getArchiveResources(EARComponentArchiveLoadAdapter.java:54)
    at org.eclipse.jst.jee.archive.internal.ArchiveImpl.getArchiveResources(ArchiveImpl.java:167)
    at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.getArchiveResourcesForSave(AbstractArchiveSaveAdapter.java:74)
    at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.save(AbstractArchiveSaveAdapter.java:40)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.save(ArchiveFactoryImpl.java:114)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.saveArchive(ArchiveFactoryImpl.java:76)
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.saveArchive(J2EEArtifactExportOperation.java:248)
    ... 12 more
    !SUBENTRY 1 org.eclipse.wst.common.frameworks 4 0 2009-04-15 11:14:13.035
    !MESSAGE Extended Operation failure: org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation
    !STACK 0
    org.eclipse.core.commands.ExecutionException: Error exportingEAR
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.execute(J2EEArtifactExportOperation.java:103)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:376)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:401)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:352)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:242)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:214)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:202)
    at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1$CatchThrowableRunnableWithProgress.run(DataModelWizard.java:211)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: Error opening archive for export..
    at org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation.export(EARComponentExportOperation.java:66)
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.execute(J2EEArtifactExportOperation.java:95)
    ... 10 more
    Caused by: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: java.lang.NullPointerException
    at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.save(AbstractArchiveSaveAdapter.java:66)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.save(ArchiveFactoryImpl.java:114)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.saveArchive(ArchiveFactoryImpl.java:76)
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.saveArchive(J2EEArtifactExportOperation.java:247)
    at org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation.export(EARComponentExportOperation.java:43)
    ... 11 more
    Caused by: java.lang.NullPointerException
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.isEJBArchive(JavaEEArchiveUtilities.java:466)
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.refineForJavaEE(JavaEEArchiveUtilities.java:362)
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:267)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.openArchive(ArchiveFactoryImpl.java:45)
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:115)
    at org.eclipse.jst.j2ee.internal.archive.EARComponentArchiveLoadAdapter.addModulesAndUtilities(EARComponentArchiveLoadAdapter.java:78)
    at org.eclipse.jst.j2ee.internal.archive.EARComponentArchiveLoadAdapter.getArchiveResources(EARComponentArchiveLoadAdapter.java:54)
    at org.eclipse.jst.jee.archive.internal.ArchiveImpl.getArchiveResources(ArchiveImpl.java:167)
    at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.getArchiveResourcesForSave(AbstractArchiveSaveAdapter.java:74)
    at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.save(AbstractArchiveSaveAdapter.java:40)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.save(ArchiveFactoryImpl.java:114)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.saveArchive(ArchiveFactoryImpl.java:76)
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.saveArchive(J2EEArtifactExportOperation.java:248)
    ... 12 more
    !ENTRY com.bea.workshop.webservices.export 2 2 2009-04-15 11:32:13.836
    !MESSAGE Skipping Annotation Manifest Generation since control required classes are not on the build path.
    Any help on this is really appreciable
    Regards,
    Kal.

    Hi All,
    problem is resolved for me.
    After removing unnecessary jar from APP-INF/lib folder it resolve my problem.
    Regards,
    kal.
    Edited by: kalyan Pasupuleti on May 17, 2009 10:28 AM

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

  • Get error when installing .json back up file A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script

    get error when installing .json back up file A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script
    Also tried to chang places.sql or what ever to my back up .json file and that wouldnt work. Is there a way to just move my backup .json file some where my bookmarks are a bigger file and i t will take a bit to upload.

    A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.
    Script: chrome://browser/content/places/editBookmarkOverlay.js:909

  • Problem in deploying an ear file in weblogic 8.1 SP5

    Hi,
    When I tried deploying my ear file in Weblogic 8.1 SP5, I am getting the following error:
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for counter-ejb.jar
    Module: counter-ejb.jar Error: Exception preparing module: EJBModule(counter-ejb.jar,status=NEW)
    Unable to deploy EJB: com_liferay_counter_service_ejb_CounterServiceEJB from counter-ejb.jar:
    [EJB:011026]The EJB container failed while creating the java:/comp/env namespace for this EJB deployment.
    weblogic.deployment.EnvironmentException: [EJB:010174]The resource-ref 'mail/MailSession' declared in the ejb-jar.xml descriptor has no JNDI name mapped to it. The resource-ref must be mapped to a JNDI name using the resource-description element of the weblogic-ejb-jar.xml descriptor.
    at weblogic.ejb20.deployer.EnvironmentBuilder.addConnectorRef(EnvironmentBuilder.java:294)
    at weblogic.ejb20.deployer.EnvironmentBuilder.addResourceReferences(EnvironmentBuilder.java:232)
    at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:384)
    at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1181)
    at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:952)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1437)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3149)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1590)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1234)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1077)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2530)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2480)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2484)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    The config.xml is
    <?xml version="1.0" encoding="UTF-8"?>
    <Domain ConfigurationVersion="8.1.5.0" Name="mydomain">
    <Server ListenAddress="" ListenPort="7001" Name="myserver"
    NativeIOEnabled="true" ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.5.0">
    <SSL Enabled="false" HostnameVerificationIgnored="false"
    IdentityAndTrustLocations="KeyStores" Name="myserver"/>
    </Server>
    <JMSFileStore Directory="rmfilestore" Name="FileStore"/>
    <WSReliableDeliveryPolicy DefaultRetryCount="10"
    DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore"/>
    <JDBCConnectionPool
    DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    Name="LiferayPool" PasswordEncrypted="{3DES}MO3m0i6yVqM="
    Properties="user=lportal;url=jdbc:microsoft:sqlserver://localhost:1433;selectMethod=cursor;userName=lportal;dataSourceName=SQL2000JDBC;databaseName=lportal;serverName=localhost"
    Targets="myserver" TestConnectionsOnReserve="true"
    TestTableName="SQL SELECT * from sysobjects" URL="jdbc:microsoft:sqlserver://localhost:1433"/>
    <JDBCTxDataSource JNDIName="jdbc/LiferayPool" Name="LiferayPool"
    PoolName="LiferayPool" Targets="myserver"/>
    <Security Name="mydomain"
    PasswordPolicy="wl_default_password_policy"
    Realm="wl_default_realm" RealmSetup="true"/>
    <EmbeddedLDAP
    CredentialEncrypted="{3DES}VKU1Z+Rt+9H2BdJ/IWLykO3UHDGbDN2w3so0iy8xk1o=" Name="mydomain"/>
    <SecurityConfiguration
    CredentialEncrypted="{3DES}HVQXen+OHn1WVUhPVXQ5Etq0wZGW3TnCcMyK65ekuw56D9CS2M/ODdh/PomFZBYLRYlkhysTEvGDijpcBUYz6FzUcyq5JYry"
    Name="mydomain" RealmBootStrapVersion="1"/>
    <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
    <FileRealm Name="wl_default_file_realm"/>
    <PasswordPolicy Name="wl_default_password_policy"/>
    <JMSServer Name="WSStoreForwardInternalJMSServermyserver"
    Store="FileStore" Targets="myserver">
    <JMSQueue CreationTime="1155021233552"
    JNDIName="jms.internal.queue.WSStoreForwardQueue"
    JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueuemyserver"/>
    <JMSQueue CreationTime="1155021233723"
    JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
    JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueuemyserver"/>
    </JMSServer>
    <MailSession JNDIName="mail/MailSession" Name="mail/MailSession"
    Properties="mail.pop3.host=localhost;mail.imap.host=localhost;mail.transport.protocol=smtp;mail.smtp.host=localhost;mail.store.protocol=imap" Targets="myserver"/>
    </Domain>
    The ejb-jar.xml is :
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
         <enterprise-beans>
              <session>
                   <display-name>CounterServiceEJB</display-name>
                   <ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
                   <home>com.liferay.counter.service.ejb.CounterServiceHome</home>
                   <remote>com.liferay.counter.service.ejb.CounterServiceEJB</remote>
                   <ejb-class>com.liferay.counter.service.ejb.CounterServiceEJBImpl</ejb-class>
                   <session-type>Stateless</session-type>
                   <transaction-type>Bean</transaction-type>
                   <resource-ref>
                        <res-ref-name>jdbc/LiferayPool</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
                        <res-sharing-scope>Shareable</res-sharing-scope>
                   </resource-ref>
                   <resource-ref>
                        <res-ref-name>mail/MailSession</res-ref-name>
                        <res-type>javax.mail.Session</res-type>
                        <res-auth>Container</res-auth>
                   </resource-ref>
              </session>
         </enterprise-beans>
         <assembly-descriptor>
              <method-permission>
                   <unchecked />
                   <method>
                        <ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
                        <method-name>*</method-name>
                   </method>
              </method-permission>
         </assembly-descriptor>
    </ejb-jar>
    The weblogic-ejb-jar.xml is:
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
         <weblogic-enterprise-bean>
              <ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>          
              <reference-descriptor>
              <resource-description>
              <res-ref-name>mail/MailSession</res-ref-name>
              <jndi-name>MailSession</jndi-name>
              </resource-description>
              </reference-descriptor>
              <jndi-name>com_liferay_counter_service_ejb_CounterServiceEJB</jndi-name>
         </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    Please Help!
    Thanks in Advance.
    - Karthikeyan

    Hi,
    I am still getting the error even after changing the JNDI name.
    The modified weblogic-ejb-jar.xml is:
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>mail/MailSession</res-ref-name>
    <jndi-name>mail/MailSession</jndi-name>
    </resource-description>
    </reference-descriptor>
    <jndi-name>com_liferay_counter_service_ejb_CounterServiceEJB</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    Thanks..
    - Karthikeyan

  • Difficulty deploying an EAR file to WebLogic 10.0

    Hello, I've been having severe difficulty trying to deploy a particular EAR file into WebLogic, using either the Weblogic's wldeploy Ant task or doing a manual upload of the EAR using the Weblogic Console. Looking at the error stack below, for some reason there may be a keystore reading problem, but I'm not certain why keystores are important here while deploying an application. I'm also puzzled because when I start WebLogic, the server output claims it read the wlidentity.jks keystore without a problem:
    <Jun 27, 2008 6:29:18 PM EDT> <Notice> <Security> <BEA-090171> <Loading the iden
    tity certificate and private key stored under the alias weblogic from the JKS ke
    ystore file C:\myprograms\bea\user_projects\domains\business_domain\wlidentity.j
    ks.>
    <Jun 27, 2008 6:29:18 PM EDT> <Notice> <Security> <BEA-090169> <Loading trusted
    certificates from the JKS keystore file C:\myprograms\bea\user_projects\domain
    s\business_domain\wltrust.jks.>
    Here is the error message I keep getting:
    <Jun 27, 2008 6:35:18 PM EDT> <Error> <Security> <BEA-090133> <Could not load a
    JKS keystore from the file C:\myprograms\bea\user_projects\domains\tomcat_doma
    in\wlidentity.jks. Exception: java.io.IOException: Keystore was tampered with, o
    r password was incorrect>
    <Jun 27, 2008 6:35:18 PM EDT> <Warning> <HTTP> <BEA-101162> <User defined listen
    er weblogic.wsee.deploy.ServletDeployListener failed: weblogic.wsee.deploy.WSEES
    ervletEndpointException: Failed to prepare wsse module: alsb/samlrecipient/Consu
    merR.war.
    weblogic.wsee.deploy.WSEEServletEndpointException: Failed to prepare wsse module
    : alsb/samlrecipient/ConsumerR.war
    at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
    loyListener.java:32)
    at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
    (EventsManager.java:480)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.EventsManager.notifyContextPreparedEvent(Ev
    entsManager.java:149)
    Truncated. see log file for complete stacktrace
    weblogic.wsee.ws.WsException
    at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:129)
    at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
    loyListener.java:29)
    at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
    (EventsManager.java:480)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    Truncated. see log file for complete stacktrace
    java.lang.NullPointerException
    at weblogic.wsee.security.bst.ServerBSTCredentialProvider.getX509Credent
    ial(ServerBSTCredentialProvider.java:168)
    at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
    FromContext(ServerBSTCredentialProvider.java:149)
    at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
    s(ServerBSTCredentialProvider.java:99)
    at weblogic.wsee.security.configuration.WssConfiguration.initDefaultConf
    iguration(WssConfiguration.java:327)
    at weblogic.wsee.security.configuration.WssConfiguration.init(WssConfigu
    ration.java:119)
    Truncated. see log file for complete stacktrace
    >
    Anyone see this before--know what the solution to it might be? The java.lang.NullPointerException above at ServerBSTCredentialProvider.java:168 might point quickly to the problem, so if any Weblogic team members can clue me in on what the problem is there, that would be great.
    Thanks,
    Glen

    Fixed the problem. I was following these instructions[1] to set up my ALSB/WebLogic configuration, and had entered the wrong password for the "IntegrityKeyStorePassword" field.
    [1] http://forums.bea.com/thread.jspa?threadID=300003724

  • Deploying EAR file in weblogic domain

    Hi all,
    i am getting following error when i deployed an ear file to weblogic domain
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'jdbc.CustomUI_2DS' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/CustomUI_2DS'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:102)
    But when i directly deploy the application from jdeveloper to same weblogic server it is working fine.can pls suggest me a solution for the following
    i am using jdev 11.1.1.5
    thanks in advance

    you are using data sources to connect to DB but the data source is NOT in your weblogic domain.
    Can you create the datasource 'CustomUI_2DS' in the web logic and try deplooying the EAR?
    Thanks,
    Navaneeth

  • TS3212 I get an apple application support error when installing itunes. It says uninstall and re-install.  Does not work.  same message.  What is a solution?

    I get an apple application support error when installing itunes. It says uninstall and re-install.  Does not work.  same message.  What is a solution?

    Is that an error 2 message?
    If so, let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
    Does it install properly for you?
    If instead you get an error message during the install, let us know what it says. (Precise text, please.)

Maybe you are looking for