Error when deploy EAR with JSF to OC4J

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

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

Similar Messages

  • 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 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 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 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: 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 a compilation error when deploying a web service to OC4J.

    The following are the error that I got from Oracle AS server console:
    [Feb 5, 2007 11:31:14 AM] Application Deployer for edsssaws STARTS.
    [Feb 5, 2007 11:31:14 AM] Copy the archive to D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear begins...
    [Feb 5, 2007 11:31:14 AM] Unpacking edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Done unpacking edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Unpacking edsssaws-web.war
    [Feb 5, 2007 11:31:16 AM] Done unpacking edsssaws-web.war
    [Feb 5, 2007 11:31:16 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear ends...
    [Feb 5, 2007 11:31:16 AM] Starting application : edsssaws
    [Feb 5, 2007 11:31:16 AM] Initializing ClassLoader(s)
    [Feb 5, 2007 11:31:16 AM] Initializing EJB container
    [Feb 5, 2007 11:31:16 AM] Loading connector(s)
    [Feb 5, 2007 11:31:16 AM] Starting up resource adapters
    [Feb 5, 2007 11:31:16 AM] Initializing EJB sessions
    [Feb 5, 2007 11:31:16 AM] Committing ClassLoader(s)
    [Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web begins...
    [Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web ends...
    [Feb 5, 2007 11:31:16 AM] Started application : edsssaws
    [Feb 5, 2007 11:31:16 AM] Binding web application(s) to site default-web-site begins...
    [Feb 5, 2007 11:31:16 AM] Binding edsssaws-web web-module for application edsssaws to site default-web-site under context root edsssaws
    [Feb 5, 2007 11:31:35 AM] Operation failed with error: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
    I don't have any problem to build the webservice using oracle:assemble command in ant script, nor compilation error in the build time.
    The error log shows as the following:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.jmx.client.EventManager</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>1 events to be dispatched for: oracle.oc4j.admin.management.mejb.MEjb@a8c31b and domain: oc4j-w2gzfdx801.amer.corp.eds.com-12401-default</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.jmx.client.CoreRemoteMBeanServer</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Dispatching event type: deploy.edsssaws and message: Application Deployer for edsssaws FAILED. to listener with id: 0 on MBeanServer proxy: oracle.oc4j.admin.management.mejb.MEjb@a8c31b</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.deploy.spi.status.ProgressObjectImpl</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
         at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:214)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:541)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:197)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         ... 4 more
    Caused by: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:98)
         at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8403)
         at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5465)
         at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5394)
         at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5333)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:645)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
         at com.evermind.server.Application.getHttpApplication(Application.java:512)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1591)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:206)
         ... 8 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    Any idea why it happened?
    Thanks,
    Jason

    Hello,
    I do not see why you have this error, is it the only log entry that you have? Anything in the application.log?
    Can you send me the ear? tugdual [dot] grall [at] oracle [dot] com
    Regards
    Tugdual Grall

  • 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

  • Geting error when deploy ear file on Oracle Application Server

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

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

  • Error when deploying ear 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

  • URGENT:  Error while deploying ear with weblogic service control

    We have build an ear within workshop and deployed to another server. When accessing the application we are getting the following error:
    'com.bea.control.ServiceControlException: Could not find service ref in jndi: java:comp/env/service/hhs_wc_controls_SearchServiceControl[javax.naming.NameNotFoundException: While trying to look up comp/env/service/hhs_wc_controls_SearchServiceControl in /app/webapp/WCWeb/5120123.; remaining name 'comp/env/service/hhs_wc_controls_SearchServiceControl'] '
    The service control is connecting a WSDL to consume a web service.
    Does the service control create a JNDI entry or some file is not getting built into the ear?
    We are using WLP 10.3
    Your help is much appreciated.
    Thanks,
    - Shankar
    Edited by: user1269940 on Nov 6, 2009 12:39 PM

    Hi Shankar
    When a WebService Control is created based on .wsdl file, it generates a .JAR file with all jaxb generated classes and .java files with service and port classes. This .jar file will be under web-inf/lib folder. Then I guess you are using this WebService control in your Pageflow and invoke webservice operations. So do you have like a portlet for this pageflow and testing from a portal. I have a similar scenario but I did not get any error that you are seeing. I consume SOA BPEL webservices in one of my pageflows using Service Controls.
    To debug, first test if the wsdl is working by directly invoking the wsdl operations using a utility servlet by name "wls_utc" which you can invoke from any of your wls/wlp domain. Start your domain assuming localhost and port is 7001. The url for testing webservices is:
    http://localhost:7001/wls_utc. This works if domain is in Dev Mode only. This page opens a jsp page, where you can type your wsdl url (http://host:port/context/a/b/xyx?wsdl). This page parses that wsdl and shows all operations and for each operation the fields for input parameters. See if this wsdl works fine.
    As for deployment, there is no additional step required. Just ear your application that has .war file and that has web-inf/lib folder with actual webservice control generate .jar file. I did no tconfigure any additional JNDI lookups like that.
    Thanks
    Ravi Jegga

  • DeploymentService:290066 error when deploying EAR after a call to a SOAP WS

    Hi all,
    I'm totally disappointing with this behavior on my 10.3.4 weblogic server.
    I have develop a EAR connecting a SOAP WS. Targeted server is a MS one.
    I have used WSImport to generate proxy classes.
    My service goes well, no issue to call and retrieve returns from WS.
    The issue is that, I'm no more able to do any administration command on my managed1 from the admin console or from ant task after a call is done to the WS. I can do with success call to WS from my application without any time limitation.
    when i try to deploy a new release or another application (ear) on managed1 via ANT deploy task  i got the following error in managed1.out
    java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request "1,422,270,380,717". Underlying error is: "null"
            at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:86)
            at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:153)
            at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:39)
            at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)
            at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97)
            at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:682)
            at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepareDataUpdate(AbstractOperation.java:898)
            at weblogic.deploy.internal.targetserver.operations.AbstractOperation.stageFilesFromAdminServer(AbstractOperation.java:264)
            at weblogic.deploy.internal.targetserver.DeploymentManager.createOperations(DeploymentManager.java:1409)
            at weblogic.deploy.internal.targetserver.DeploymentManager.handleUpdateDeploymentContext(DeploymentManager.java:162)
            at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.updateDeploymentContext(DeploymentServiceDispatcher.java:155)
            at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doUpdateDeploymentContextCallback(DeploymentReceiverCallbackDeliverer.java:147)
            at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.updateDeploymentContext(DeploymentReceiverCallbackDeliverer.java:28)
            at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.callDeploymentReceivers(ReceivedPrepare.java:203)
            at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.handlePrepare(ReceivedPrepare.java:112)
            at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.receivedPrepare(ReceivedPrepare.java:52)
            at weblogic.deploy.service.internal.targetserver.TargetRequestImpl.run(TargetRequestImpl.java:211)
            at weblogic.deploy.service.internal.transport.CommonMessageReceiver$1.run(CommonMessageReceiver.java:457)
            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)
    When I try to change logging settings from the console I never get any response from server.
    any help will be helpful.
    Regards,
    Stephane

    Hi Stephane,
    The following error "Error occurred while downloading files from admin server for deployment request" occurs when a  service on the machine is preventing the WebLogic Server remote instance from downloading the configuration file.
    This can be Hosts Intrusion Prevention (HIPS) agents or any other agent causing this issue.
    Disabling the agent interfering with the download process should fix this issue.
    Please check and let us know if it helps you!!!
    Vijaya
    =========

  • 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 when deploying EAR to WLS10.3.2

    Hi,
    I have EAR which was built using WLS 8.1.6. And now the server upgrades to WLS10.3.2.
    So I create the new domain on WLS10.3.2 then try to deploy the EAR from it.
    And I ended up with the following error:
    <Mar 19, 2010 12:23:23 PM ICT> <Warning> <HTTP> <BEA-101162> <User defined listener com.bea.wlw.runtime.core.servlet.WebappContextListener failed: 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
    >
    <Mar 19, 2010 12:23:23 PM ICT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'XXXX'.weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    Truncated. see log file for complete stacktrace
    Caused By: 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?

    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

  • "system cannot find the path specified" error when deploying EAR

    I am trying to deploy a J2EE based web service created in Sun Studio 5 to the SunOne AS 7.0.
    I get an error saying "The system cannot find the path specified". I have followed the deployment instructions as closely as possible I think.
    When I look in the file system for the file the system is trying to find, the whole directory it seems to be looking for (C:\Sun\studio5_se\appserver7\domains\domain1\server1\applications\j2ee-apps\PostCodeLookupApp_1)
    is missing. (In fact there is nothing in the j2ee apps directory).
    Got any ideas? Have I missed something?
    Thanks for any help,
    Nick
    WARNING ( 1616):      ADM1022:Deployment failed - Detailed Message:
         com.iplanet.ias.deployment.backend.IASDeploymentException: Deployment Error -- com.iplanet.ias.util.zip.ZipFileException: filename: C:\Sun\studio5_se\appserver7\domains\domain1\server1\applications\j2ee-apps\PostCodeLookupApp_1\PCSearchWebService_War_war\WEB-INF\classes\App\PostcodeValApp\PCSearchWebServiceGenServer\PCSearchWebServiceServantInterface_ValidateSSP_ResponseStruct_SOAPSerializer.class java.io.FileNotFoundException: C:\Sun\studio5_se\appserver7\domains\domain1\server1\applications\j2ee-apps\PostCodeLookupApp_1\PCSearchWebService_War_war\WEB-INF\classes\App\PostcodeValApp\PCSearchWebServiceGenServer\PCSearchWebServiceServantInterface_ValidateSSP_ResponseStruct_SOAPSerializer.class (The system cannot find the path specified)
         at com.iplanet.ias.deployment.backend.AppDeployer.doRequest(AppDeployer.java:58)
         at com.iplanet.ias.admin.server.core.mbean.config.ManagedServerInstance.deployJ2EEApplicationArchiveOrDirectory(ManagedServerInstance.java:745)
         at com.iplanet.ias.admin.server.core.mbean.config.ManagedServerInstance.deployJ2EEApplication(ManagedServerInstance.java:667)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    I found out the problem;
    the auto-generated file name seems to have been too long for the app-server.
    I changes the name of the class to PCWS and it worked fine.
    It's a shame Sun One Studio (which creates these massive file names doesn't warn you!

Maybe you are looking for

  • Ipad Photo App starts to update then returns to main screen

    I have plenty of photos in the ipad but when I commence the app it starts with ' please wait updating library" then goes back to the main screen. I don't really know when it started but it worked fine when I bought it.

  • DELETE Statements [SOLVED]

    This is simple question. I have 1 big table. select * from big_table requires a lot of time. Then I delete some records on big_table. delete from big_table where no > 1000. Thus the table size has reduced significantly. However when I select again us

  • How to use table control in bdc, plz somebody tell me.

    Hi Gurus, Ples tell me how to use table control in bdc, plz somebody tell me. And send Sample CODE also. Thnaks in advance.

  • Having trouble animating 3D object in CS6 Extended

    In CS5 to animate rotation of a 3D object, e.g. a sphere, I would set a '3D Object Position' keyframe at the start of the animation timeline, another at the end and enter the number of degrees rotation into the appropriate axis text box. The layout i

  • Operate iPod itself while connected to Alpine

    I've got my iPod connected through the special cable to an Alpine CDA-9856. It's been working and sounding perfectly. The only problem we have (my copilot is usually who changes music) is that you can't move around and search the iPod through the Alp