Weblogic Deploy rcf-dvt-demo.war(version 11.1.1.5)

Hello,
Jdevstudio11115install.exe Weblogic side, and then I installed the RCF-DVT-demo.war (11.1.1.5), deploy and when I start did I receive the following error.
weblogic.management.DeploymentException: Error: Unresolved WebApp Library references for "ServletContext @ 1580099636 [app: RCF-DVT-demo.11.1.1.5 module: RCF-DVT-demo_11.1.1.5.war path: / faces-trunk spec-Version: 2.5] ", defined in weblogic.xml [Extension-Name: JSTL, Specification-Version: 1.2, exact-match: false], [Extension-Name: jsf, Specification-Version: 1.2, exact-match: false]
How can I solve this error.
Edited by: 889612 on 14.Kas.2011 02:10

looks like you didn't install the application development runtime on WLS, or if you did, you either forgot to extend your domain with the JRF or installed the wrong version of the application development runtime.

Similar Messages

  • How can i deploy adf-richclient-demo.war to tomcat?

    how can i deploy adf-richclient-demo.war to tomcat or
    how can i use adf faces 11G in tomcat or
    how long will the next version out?
    thank you!

    Hi,
    the demo is a WAR file. So if you have a tomcat version that supports JSF 1.2 then you should be able to deploy it like any other JEE WAR file
    Frank

  • Error using weblogic.deploy tool, while deploying a war

              Hi all, I'm trying to deploy a war with the follw command:
              java weblogic.deploy -host localhost -port 7001 -component NewScreenWar:BEAserver
              deploy beasystem NewScreenWar d:\newsscreen\weblogic\NewScreenWar.war
              It gives me following error:
              weblogic.j2ee.DeploymentException: Application NewScreenWar does not contain com
              ponent NewScreenWar at weblogic.deploy.deploy(deploy.java:668) at weblogic.deploy.runBody(deploy.java:358)
              at weblogic.utils.compiler.Tool.run(Tool.java:79) at weblogic.deploy.main(deploy.java:1601)
              Application NewScreenWar does not contain component NewScreenWar
              how do I resolve this...??
              thanx --anjaly
              

    Hi,
    For a tutorial with source on how to create and deploy a simple quickstart JEE5 JPA enterprise 3-tier application on your Oracle WebLogic 10.3 server - see the following example that uses the EclipseLink JPA provider. You should be able to transition all of your mapping information (the @ManyToOne and table/column overrides and named queries for example) using either JPA via entity annotations or native extensions if you do not want to implement EJB3.
    see...
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    We also have a similar version for Tomcat 6 except the JPA entity beans run outside a container-managed JTA transaction on the web container - for reference.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial
    thank you
    /michael
    www.eclipselink.org

  • How to deploy fusion web application war file on weblogic

    Hi
    I am new to ADF. Please let me know how to create war file and the steps for deployment of war file . Its very urgent...

    Unresolved Webapp Library references for "ServletContext@1289849542[app:ws_ear module:WSAEEAPP-ViewController-context-root path:/WSAEEAPP-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    Specify the JSF library in the config.xml file
    <library>     <name>[email protected]_2-0-2</name>     ... </library>
    Refer the library in weblogic.xml
    <library-ref>      <library-name>jsf</library-name>      <specification-version>2.0</specification-version>      <implementation-version>1.0.0.0_2-0-2</implementation-version>      <exact-match>true</exact-match> </library-ref>
    The implementation version may be different.

  • Weblogic deployment errors

    When I try to deploy to a (successfully) tested weblogic connection I get the following:
    Sending EAR file to remote WebLogic server...
    C:\jdeveloper\jdk\jre\bin\javaw.exe -Ddeploy.debug=true -classpath C:\bea\weblogic700\server\lib\weblogic.jar weblogic.deploy -host apo -port 7001 -debug deploy iais file:/C:/jdeveloper/jdev/mywork/Workspace1/IAIS/iais.ear
    You must specify at least a name and a source when deploying
    Usage: java weblogic.deploy [options] list password {name} {source}
    Note: when using 'deploy', if the source is specified, the server assumes a new deployment. For updates, use 'update'. If -url is specified, then -host and -port are ignored.
    where options include:
    -help Print this help message.
    -version Print version information.
    -port <port> The port to connect on, default is 7001.
    -host <host> The host to connect to, default is localhost.
    -url <url> The admin server to connect to, default is
    t3://localhost:7001
    -username <username> The username to connect with.
    -component Component to be deployed on various targets,
    must be specified as [<component
    name>:Target1,Target2]...component
    corresponds to the Name attribute for the
    component MBean. If you are deploying a new
    application or standalone component,
    component is the name of the .jar/.war/etc.
    minus the .jar/.war suffix.
    -jspRefreshFiles <file1.jsp,file2.html,file3.gif,...> This option is only used with the refresh
    flag. This is the list of files that are to
    be refreshed. Any static file type may be
    refreshed. (jsp, gif, jpeg, html, etc).
    .class files may not be refreshed. To update
    class files, please use the update flag to
    redeploy your application. This must be
    specified as a comma separated list.
    -jspRefreshComponentName <jspRefreshComponentName> This option is only used with the refresh
    flag. The name of the component that contains
    the files being refreshed.
    -debug If set, detailed debug information is
    printed.
    **** weblogic.deploy returned with non-zero exit status: 1
    #### Deployment incomplete. #### Jun 11, 2002 9:36:11 AM
    From what I see, it has both a name and a source. The help indicates that the username/password is not required, and so I omitted it. I really need to get this working without a username/password, as my systems folks don't want the developers to have the console password for the weblogic server.

    When I try to deploy to a (successfully) tested weblogic connection I get the following:
    Sending EAR file to remote WebLogic server...
    C:\jdeveloper\jdk\jre\bin\javaw.exe -Ddeploy.debug=true -classpath C:\bea\weblogic700\server\lib\weblogic.jar weblogic.deploy -host apo -port 7001 -debug deploy iais file:/C:/jdeveloper/jdev/mywork/Workspace1/IAIS/iais.ear
    You must specify at least a name and a source when deploying
    Usage: java weblogic.deploy [options] list password {name} {source}
    Note: when using 'deploy', if the source is specified, the server assumes a new deployment. For updates, use 'update'. If -url is specified, then -host and -port are ignored.
    where options include:
    -help Print this help message.
    -version Print version information.
    -port <port> The port to connect on, default is 7001.
    -host <host> The host to connect to, default is localhost.
    -url <url> The admin server to connect to, default is
    t3://localhost:7001
    -username <username> The username to connect with.
    -component Component to be deployed on various targets,
    must be specified as [<component
    name>:Target1,Target2]...component
    corresponds to the Name attribute for the
    component MBean. If you are deploying a new
    application or standalone component,
    component is the name of the .jar/.war/etc.
    minus the .jar/.war suffix.
    -jspRefreshFiles <file1.jsp,file2.html,file3.gif,...> This option is only used with the refresh
    flag. This is the list of files that are to
    be refreshed. Any static file type may be
    refreshed. (jsp, gif, jpeg, html, etc).
    .class files may not be refreshed. To update
    class files, please use the update flag to
    redeploy your application. This must be
    specified as a comma separated list.
    -jspRefreshComponentName <jspRefreshComponentName> This option is only used with the refresh
    flag. The name of the component that contains
    the files being refreshed.
    -debug If set, detailed debug information is
    printed.
    **** weblogic.deploy returned with non-zero exit status: 1
    #### Deployment incomplete. #### Jun 11, 2002 9:36:11 AM
    From what I see, it has both a name and a source. The help indicates that the username/password is not required, and so I omitted it. I really need to get this working without a username/password, as my systems folks don't want the developers to have the console password for the weblogic server.

  • ADF 11.1.1.2.0 Standalone Weblogic Deployment

    I'm trying to deploy my ADF application to a standalone WLS instance. I have an admin server and a managed server and I've installed the ADF runtime on both. I can see deployments for both adf.oracle.domain and adf.oracle.domain.webapp. However, when I try to deploy to the managed server I get this exception:
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:44)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:227)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:211)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:107)
         at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1300)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:422)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:466)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:414)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)I can see that this servlet is packaged in dvt-trinidad.jar which is deployed with adf.oracle.domain.webapp. Here is my weblogic.xml:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
        <container-descriptor>
            <prefer-web-inf-classes>true</prefer-web-inf-classes>
        </container-descriptor>
        <security-role-assignment>
           <role-name>valid-users</role-name>
           <principal-name>users</principal-name>
        </security-role-assignment>
        <library-ref>
            <library-name>jstl</library-name>
            <specification-version>1.2</specification-version>
        </library-ref>
        <library-ref>
            <library-name>jsf</library-name>
            <specification-version>1.2</specification-version>
        </library-ref>
    </weblogic-web-app>and my weblogic-application.xml:
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
      <listener>
         <listener-class>oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener</listener-class>
      </listener>
      <listener>
        <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
      </listener>
      <listener>
        <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
      </listener>
      <library-ref>
        <library-name>adf.oracle.domain</library-name>
        <implementation-version>11.1.1.2.0</implementation-version>
      </library-ref>
      <library-ref>
        <library-name>adf.oracle.domain.webapp</library-name>
        <implementation-version>11.1.1.2.0</implementation-version>
      </library-ref>
    </weblogic-application>Are the implementation versions correct for ADF 11.1.1.2.0? Does it even matter? What am I missing? Thanks.

    as always in this sort of problem when the application is runned in your computer(integrate weblogic) but when you deployed it in the standalone application server is as below
    when your run it on your computer a link is generated (just before showing the link of URL in the log window)
    the title for that is
    Wrote Enterprise Application Module to
    and also when you want to deploy the application you mainly create a EAR file you can compare the content of this EAR with the folder I mentioned before to see what is the differences.
    it came handy most of the time

  • L&F Problem with Demo War

    I recently downloaded the Demo War and deployed it with both Tomcat and Weblogic 8.1. With Weblogic, it appears as though the style-sheet is not being used - it is using all the default browser fonts and colors. With Tomcat however, it appears as it should. Any thoughts would be appreciated. Thanks!

    Ben,
    The UIX technology that OHW uses for its user interface requires write access to the area on the server where the application is deployed. This is normally no problem on most servlet containers, since the usually automatically unpack WAR and EAR files at deployment time. Weblogic, however, defaults to leaving the archives unpacked. This makes it so UIX can not write out the style sheets it generates, etc.
    This is the bit from the JDeveloper/UIX docs about how to resolve this when deploying to Weblogic (from
    http://helponline.oracle.com/jdeveloper/help/state/content/navSetId.jdeveloper/navId.4/vtTopicFile.jdeveloper%7Cdeploying%7Cj2ee_aweblogicuixdeploy%7Ehtml/)
    Then complete the deployment according to the instructions found in the Quickstart Guide to Deployment of the WebLogic Server documentation, at edocs.bea.com.
    An overview of the required steps are as follows:
    1. Follow the instructions found in Step 1 of the "Quickstart Guide to Deployment" in the WebLogic Server documentation for expanding the EAR file into a directory.
    2. If the EAR file contains WAR files, expand them, too.
    3. Delete the expanded EAR and WAR archives.
    4. Follow the remaining steps in the "Quickstart Guide to Deployment" to finish deploying the UIX application to WebLogic.
    Hope this helps,
    -brian

  • Weblogic deployment plan will not override variables (Weblogic 10.3.5).

    I am having some trouble trying to adjust the deployment settings of our application in weblogic. I feel what I'm trying to do ought to be quite simple, but it's not working as expected.
    I am just trying to override the context-root in weblogic.xml and the JNDI name for the data source, so these can both be configured at deployment time.
    I have removed the application.xml from the ear file, so that shouldn't be affecting the overrides.
    What I have so far:
    weblogic.xml:
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd">
    <context-root>mosaic</context-root>
    <resource-description>
    <res-ref-name>jdbc/LogicalDS</res-ref-name>
    <jndi-name>LogicalDS</jndi-name>
    </resource-description>
    web.xml
    <?xml version='1.0' encoding='UTF-8'?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <resource-ref>
    <description>A logical reference to the datasource - mapped in deployment plan</description>
    <res-ref-name>jdbc/LogicalDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    plan.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:deployment-plan xmlns:wls="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd" global-variables="true">
    <!--weblogic-version:10.3.5-->
    <wls:application-name>mosaic.ear</wls:application-name>
    <wls:variable-definition>
    <wls:variable>
    <wls:name>datasource_name</wls:name>
    <wls:value xsi:nil="true"></wls:value>
    <wls:description>The name of the datasource to map to the mosaic application</wls:description>
    </wls:variable>
    <wls:variable>
    <wls:name>new_context_root</wls:name>
    <wls:value xsi:nil="true"></wls:value>
    <wls:description>URL to deploy Mosaic at</wls:description>
    </wls:variable>
    </wls:variable-definition>
    <wls:module-override>
    <wls:module-name>mosaic.war</wls:module-name>
    <wls:module-type>war</wls:module-type>
    <wls:module-descriptor>
    <wls:root-element>weblogic-web-app</wls:root-element>
    <wls:uri>WEB-INF/weblogic.xml</wls:uri>
    <wls:variable-assignment>
    <wls:name>new_context_root</wls:name>
    <wls:xpath>/weblogic-web-app/context-root</wls:xpath>
    <wls:operation>replace</wls:operation>
    </wls:variable-assignment>
    <wls:variable-assignment>
    <wls:description>Data source for mosaic application</wls:description>
    <wls:name>datasource_name</wls:name>
    <wls:xpath>/weblogic-web-app/resource-env-description/resource-env-ref-name</wls:xpath>
    <wls:operation>replace</wls:operation>
    </wls:variable-assignment>
    <wls:variable-assignment>
    <wls:name>datasource_name</wls:name>
    <wls:xpath>/weblogic-web-app/resource-description/[res-ref-name="jdbc/LogicalDS"]/jndi-name</wls:xpath>
    <wls:operation>replace</wls:operation>
    </wls:variable-assignment>
    </wls:module-descriptor>
    </wls:module-override>
    </wls:deployment-plan>
    Nothing happens when I use the deployment plan, and neither of the variables appear under the Deployment Plan configuration screens in the admin console. From what I understand, I should at least be asked for these variables, since I have specified that they are null in the deployment plan.
    When I use WLST to browse the tree, I find that the runtime configuration just stays as the values in the deployment descriptors.
    I have verified the deployment plan is being used in the general tab of the admin console.
    Can anyone help me find out what I am doing wrong here? If I don't create a data source called LogicalDS, I get errors about this, suggesting it is not correctly overriding. I am puzzled to why I do not see any variables to specify though..

    The documentation implies that this is not the case - see:
    http://docs.oracle.com/cd/E24329_01/web.1211/e24443/export.htm#autoId13
    'Assigning Null Variables to Require Administrator Input'.
    However, require administrator input where? My thoughts were that this option would appear in the admin console under 'deployment plan'. However, although I have specified resource dependencies in the deployment descriptors, and the plan, nothing appears under 'resource dependencies' for the application.
    Is the only way to change the context-root deployment URL by actually manually editing an XML file?
    To me that seems primitive and will cause us support issues when distributing our application - is there any other way I can enable the ability to specify the data source name and context-root through the web console prior to/during deployment?
    Edited by: user12032953 on 11-Jun-2012 07:20

  • Receiving ERRORS using WEBLOGIC.DEPLOY

    Hi everybody,
    I am getting strange errors when using the weblogic.deploy command-line
    function. I am using WL6.0 on W2000.
    Deploy/Update
    command: java weblogic.deploy -port 7001 -host localhost update
    beapasword MyWebApplication stage\MyWebApplication.war
    error: java.lang.NullPointerException
    at
    weblogic.deploy.deployApplication(deploy.java:383)
    at weblogic.deploy.deploy(deploy.java:340)
    at weblogic.deploy.runBody(deploy.java:219)
    at weblogic.utils.compiler.Tool.run(Tool.java:81)
    at weblogic.deploy.main(deploy.java:954)
    Undeploy
    Command: java weblogic.deploy -port 7001 -host localhost undeploy
    beapasword MyWebApplication
    error: giving up after two minutes
    And it looks that just a Update doens't work. I have to undeploy first and
    the do a update to see the changes I've made in my file.
    Any suggestions....
    M-

    Hi.
    WLS version and service pack level? Please post the entire weblogic.deploy command along
    with the exception that follows.
    Thanks,
    Michael
    Harjeet Singh wrote:
    I try to use weblogic.deploy to deploy my EAR file on weblogic server called localhost
    on 7001. When I try to run it gives me following error:
    [java] JNDI naming exception: Naming exception trying to connect to: t3://localhost:7001
    as: system: password
    system password is correct. I have tried http://localhost:7001 to but doesen't seem
    to work.
    Any ideas.
    HS--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Weblogic deployment APIs giving error for deployment on weblogic 10.3.2

    I am using weblogic deployment APIs to distribute my war file on weblogic 10.3.2 but it gives the following error on distribute
    weblogic.management.ManagementException: [Deployer:149003]Unable to access application source information in '<!DOCTYPE HTML PUBLIC "-/W3C/DTD HTML 4.0 Draft/EN">/app/jamagent.war' for application 'jamagent.war'. The specific error is: No application files exist.
    My sample code is below.
    DeploymentOptions options = null;     
    Target[] targets = myConnectedManager.getTargets();     
    Class wlsFactoryClass = Class.forName("weblogic.deploy.api.tools.SessionHelper");
    Method m = wlsFactoryClass.getDeclaredMethod("getDeploymentManager",new Class[]{String.class,String.class,String.class,String.class});
    m.setAccessible(true);
    WebLogicDeploymentManager myConnectedManager = (WebLogicDeploymentManager)m.invoke(wlsFactoryClass, new Object[]{hostname,port,weblogicUsername,weblogicPasswd});
    myConnectedManager.enableFileUploads();
    options = new DeploymentOptions();
    options.setName(destWarName);
    ProgressObject po = myConnectedManager.distribute(targets, new File("/tmp/jamagent_orig.war), null,options);
    The header of web.xml is
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    Can someone help why this is happening? I am not including weblogic-application.xml in the war file as i think this is not required for a war file. Is that the reason?
    Edited by: user790199 on Dec 28, 2009 7:37 AM

    Hi,
    The DTD used in "web.xml" should not cause any issue ...though it's the OLD "web.xml"...Please try to run the Following command to Generate the New Deployment Descriptors from the Existing Application:
    Step1). Open a Command Window and Run "setWLSEnv.sh" or "setWLSEnv.cmd".
    Step2). In the Command Prompt move to the Current Directory where you have placed your Application and then Run the Following Command
    java weblogic.DDConverter  -d NewDDs  jamagent.war
    Here Above Command Will read the "jamagent.war" War archive and then It will generate the New DDs in "NewDDs" directory...Which we need to replace with the OLD DDs present in our WebApplication..
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Weblogic deploying an already deployed application!

    Hi,
    These are the following errors that I get. This is an already deployed application so not sure why weblogic deploys it again. This does not happen in all the machines.
    Can someone tell me why it is doing this and how to make the application come up?
    This is the error that I get when logging into the application:
    Error 503--Service Unavailable
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.4 503 Service Unavailable
    The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    Webserver console errors:
    Unable to deploy EJB: jar from jar:
    Compiler failed executable.exec(java.lang.String[javac, -nowarn, -classpath, D:\bea\user_projects\ESMdomain\t
    mp_ejbSramamoorthy7001myserver\-au306wtcrywq;D:\bea\user_projects\ESMdomain\applications\esm.ear\jar;D:\bea\j
    dk131_06\jre\lib\rt.jar;D:\bea\jdk131_06\jre\lib\i18n.jar;D:\bea\jdk131_06\jre\lib\sunrsasign.jar;D:\bea\jdk1
    31_06\jre\classes;D:\bea\jdk131_06\jre\lib\tools.jar;D:/bea/weblogic700\server\lib\weblogic_sp.jar;D:/bea/web
    logic700\server\lib\weblogic.jar;D:\bea\jdk131_06\jre\jre\lib\rt.jar;JAVA_HOME\lib\dt.jar;D:/bea/weblogic700/
    server/lib/mbeantypes/wlManagement.jar;D:/bea/weblogic700/server/lib/mbeantypes/ESMSecurityProviders.jar;D:/b
    ea/user_projects/ESMdomain/applications/esmconfig;D:/bea/user_projects/ESMdomain/applications/esm.ear/jar;D:/
    bea/user_projects/ESMdomain/esmlib/avalon.jar;D:/bea/user_projects/ESMdomain/esmlib/batik.jar;D:/bea/user_pro
    jects/ESMdomain/esmlib/bsh-1.2b7.jar;D:/bea/user_projects/ESMdomain/esmlib/comm.jar;D:/bea/user_projects/ESMd
    omain/esmlib/multipartrequest.jar;D:/bea/user_projects/ESMdomain/esmlib/crimson.jar;D:/bea/user_projects/ESMd
    omain/esmlib/fop.jar;D:/bea/user_projects/ESMdomain/esmlib/gnu-regexp-1.1.4.jar;D:/bea/user_projects/ESMdomai
    n/esmlib/jdom.jar;D:/bea/user_projects/ESMdomain/esmlib/oracle.jar;D:/bea/user_projects/ESMdomain/esmlib/repo
    rting.jar;D:/bea/user_projects/ESMdomain/esmlib/xerces.jar, -d, tmp_ejbSramamoorthy7001myserver\-au306wtcrywq
    , @C:\DOCUME~1\SRAMAM~1\LOCALS~1\Temp\compileList29351.tmp])
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:249)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:344)
    at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:489)
    at weblogic.ejb20.deployer.EJBDeployer.compileEJB(EJBDeployer.java:819)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1268)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:232)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:1570)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:737)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:555)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:458)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:490
    at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:253)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServer
    LifeCycleImpl.java:150)
    at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    <Jul 29, 2004 11:44:23 AM EDT> <Error> <Deployer> <149231> <The slave deployer was unable to set the activati
    on state to true for the application appsdiresm_ear-0
    weblogic.management.ApplicationException: activate failed forwar
    Module Name: war, Error: weblogic.j2ee.DeploymentException: Could not setup environment - with nested excepti
    on:
    [weblogic.deployment.EnvironmentException: Could not resolve ejbLink: RackManager]
    TargetException:
    Unable to deploy EJB: jar from jar:Error 503--Service Unavailable
    Thanks in advance and any help will be greatly appreciated!
    Message was edited by sssd at Jul 29, 2004 10:56 AM

    Hi,
    These are the following errors that I get. This is an already deployed application so not sure why weblogic deploys it again. This does not happen in all the machines.
    Can someone tell me why it is doing this and how to make the application come up?
    This is the error that I get when logging into the application:
    Error 503--Service Unavailable
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.4 503 Service Unavailable
    The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    Webserver console errors:
    Unable to deploy EJB: jar from jar:
    Compiler failed executable.exec(java.lang.String[javac, -nowarn, -classpath, D:\bea\user_projects\ESMdomain\t
    mp_ejbSramamoorthy7001myserver\-au306wtcrywq;D:\bea\user_projects\ESMdomain\applications\esm.ear\jar;D:\bea\j
    dk131_06\jre\lib\rt.jar;D:\bea\jdk131_06\jre\lib\i18n.jar;D:\bea\jdk131_06\jre\lib\sunrsasign.jar;D:\bea\jdk1
    31_06\jre\classes;D:\bea\jdk131_06\jre\lib\tools.jar;D:/bea/weblogic700\server\lib\weblogic_sp.jar;D:/bea/web
    logic700\server\lib\weblogic.jar;D:\bea\jdk131_06\jre\jre\lib\rt.jar;JAVA_HOME\lib\dt.jar;D:/bea/weblogic700/
    server/lib/mbeantypes/wlManagement.jar;D:/bea/weblogic700/server/lib/mbeantypes/ESMSecurityProviders.jar;D:/b
    ea/user_projects/ESMdomain/applications/esmconfig;D:/bea/user_projects/ESMdomain/applications/esm.ear/jar;D:/
    bea/user_projects/ESMdomain/esmlib/avalon.jar;D:/bea/user_projects/ESMdomain/esmlib/batik.jar;D:/bea/user_pro
    jects/ESMdomain/esmlib/bsh-1.2b7.jar;D:/bea/user_projects/ESMdomain/esmlib/comm.jar;D:/bea/user_projects/ESMd
    omain/esmlib/multipartrequest.jar;D:/bea/user_projects/ESMdomain/esmlib/crimson.jar;D:/bea/user_projects/ESMd
    omain/esmlib/fop.jar;D:/bea/user_projects/ESMdomain/esmlib/gnu-regexp-1.1.4.jar;D:/bea/user_projects/ESMdomai
    n/esmlib/jdom.jar;D:/bea/user_projects/ESMdomain/esmlib/oracle.jar;D:/bea/user_projects/ESMdomain/esmlib/repo
    rting.jar;D:/bea/user_projects/ESMdomain/esmlib/xerces.jar, -d, tmp_ejbSramamoorthy7001myserver\-au306wtcrywq
    , @C:\DOCUME~1\SRAMAM~1\LOCALS~1\Temp\compileList29351.tmp])
    at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:249)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:344)
    at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:489)
    at weblogic.ejb20.deployer.EJBDeployer.compileEJB(EJBDeployer.java:819)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1268)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:232)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:1570)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:737)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:555)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:458)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:490
    at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:253)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServer
    LifeCycleImpl.java:150)
    at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    <Jul 29, 2004 11:44:23 AM EDT> <Error> <Deployer> <149231> <The slave deployer was unable to set the activati
    on state to true for the application appsdiresm_ear-0
    weblogic.management.ApplicationException: activate failed forwar
    Module Name: war, Error: weblogic.j2ee.DeploymentException: Could not setup environment - with nested excepti
    on:
    [weblogic.deployment.EnvironmentException: Could not resolve ejbLink: RackManager]
    TargetException:
    Unable to deploy EJB: jar from jar:Error 503--Service Unavailable
    Thanks in advance and any help will be greatly appreciated!
    Message was edited by sssd at Jul 29, 2004 10:56 AM

  • J dev 11g Weblogic deployment error.

    We develop a new web ADF JSF project using Jdev11g production (not migrated from prereleases). We configure weblogic R3 as ADF domain.
    When we want to deploy our pğroject to weblogic following exception occurs.
    Is there anyone faced before. How can we solve this. Thanks.
    ....> <Error> <Console> <.......> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1226331993131> <BEA-240003> <Console encountered the following error weblogic.management.DeploymentException:
    at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:171)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:99)
    at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
    at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:103)
    at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:172)
    at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:277)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener
    at java.lang.Class.forName(Class.java:247)
    at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:135)

    There is no JpsApplicationLifecycleListener in my web.xml code.
    I added web.xml source below.
    is there any abnormal or problematic situation inside.
    Thanks.
    <?xml version = '1.0' encoding = 'windows-1254'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
    <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
    <param-value>false</param-value>
    </context-param>
    <context-param>
    <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
    <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
    <param-value>false</param-value>
    </context-param>
    <filter>
    <filter-name>trinidad</filter-name>
    <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
    </filter>
    <filter>
    <filter-name>ServletADFFilter</filter-name>
    <filter-class>oracle.adf.share.http.ServletADFFilter</filter-class>
    </filter>
    <filter>
    <filter-name>ADFLibraryFilter</filter-name>
    <filter-class>oracle.adf.library.webapp.LibraryFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>trinidad</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ServletADFFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ADFLibraryFilter</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </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>
    <servlet-name>resources</servlet-name>
    <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>adflibResources</servlet-name>
    <servlet-class>oracle.adf.library.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>BIGRAPHSERVLET</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>BIGAUGESERVLET</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>MapProxyServlet</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>GatewayServlet</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/afr/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>adflibResources</servlet-name>
    <url-pattern>/adflib/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>BIGRAPHSERVLET</servlet-name>
    <url-pattern>/servlet/GraphServlet/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>BIGAUGESERVLET</servlet-name>
    <url-pattern>/servlet/GaugeServlet/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>MapProxyServlet</servlet-name>
    <url-pattern>/mapproxy/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/bi/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>GatewayServlet</servlet-name>
    <url-pattern>/flashbridge/*</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>
    </web-app>

  • Weblogic.deploy update -- and that null message

    So, does anyone else receive an inexplicable error message when running "weblogic.deploy update" in version 6.0, stating that a "java.lang.NullPointerException" has been thrown?
    The update occurs anyway, but seeing a message like this is always disconcerting. Anyone have an idea why this is happening?
    (The exact trace that I receive is cut-n-pasted below.)
    T Fenstermaker
    Online Resources
    McLean VA
    java.lang.NullPointerException
    at weblogic.deploy.deployApplication(deploy.java:383)
    at weblogic.deploy.deploy(deploy.java:340)
    at weblogic.deploy.runBody(deploy.java:219)
    at weblogic.utils.compiler.Tool.run(Tool.java:81)
    at weblogic.deploy.main(deploy.java:954)

    If you use the -debug setting with weblogic.deploy you get more
    info. I'm deploying an .ear file, deployment works if I use the
    console, and if I just copy the ear file to the domain and WLS
    autodeploys.
    I getting the following error.
    [java] java.net.MalformedURLException: unknown protocol: d
    [java] at java.net.URL.<init>(URL.java:480)
    [java] at java.net.URL.<init>(URL.java:376)
    [java] at java.net.URL.<init>(URL.java:330)
    [java] at weblogic.deploy.parseSource(deploy.java:539)
    [java] at weblogic.deploy.init(deploy.java:299)
    [java] at weblogic.deploy.runBody(deploy.java:214)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:81)
    [java] at weblogic.deploy.main(deploy.java:1036)
    [java] javax.management.InstanceNotFoundException: harmony
    [java] at weblogic.rmi.internal.AbstractOutboundRequest.sendRecei
    OutboundRequest.java:90)
    [java] at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.
    minMBeanHomeImpl_WLStub.java:1147)
    [java] at weblogic.deploy.findMBean(deploy.java:815)
    [java] at weblogic.deploy.findApplicationMBean(deploy.java:804)
    [java] at weblogic.deploy.deploy(deploy.java:312)
    [java] at weblogic.deploy.runBody(deploy.java:222)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:81)
    [java] at weblogic.deploy.main(deploy.java:1036)
    [java] java.lang.NullPointerException
    [java] at weblogic.deploy.deployApplication(deploy.java:420)
    [java] at weblogic.deploy.deploy(deploy.java:367)
    [java] at weblogic.deploy.runBody(deploy.java:222)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:81)
    [java] at weblogic.deploy.main(deploy.java:1036)
    [java] Java Result: 1
    "T Fenstermaker" <[email protected]> wrote:
    >
    So, does anyone else receive an inexplicable
    error message when running "weblogic.deploy
    update" in version 6.0, stating that a
    "java.lang.NullPointerException" has been thrown?I take it from the lack of response that the answer to
    this question must be either:
    a) No, no one else receives this inexplicable error, or,
    b) Yes, everyone else receives this inexplicable error
    and it's so well known how dare I ask.
    Anyone want to give me a clue which of these two is correct?
    T Fenstermaker
    Online Resources
    McLean VA

  • Weblogic.deploy throws exception.

    In WLS 6.1 SP01, I am trying to add new Application to Weblogic, by using folloowing command.
    java -cp c:\bea\wlserver6.1\lib\weblogic.jar weblogic.deploy -debug -url mymachine:7001 deploy -username system mypasswd appname "file:////c:\dir1\myApp.ear" -component "EJBComp1:WLServer1"
    It thorws follwoing exception:
    [deploy] : adding target : WLServer1 for: EJBComp1
    weblogic.j2ee.DeploymentException
    at weblogic.deploy.deploy(deploy.java:668)
    at weblogic.deploy.runBody(deploy.java:358)
    at weblogic.utils.compiler.Tool.run(Tool.java:79)
    at weblogic.deploy.main(deploy.java:1601)
    weblogic.j2ee.DeploymentException
    at weblogic.deploy.deploy(deploy.java:668)
    at weblogic.deploy.runBody(deploy.java:358)
    at weblogic.utils.compiler.Tool.run(Tool.java:79)
    at weblogic.deploy.main(deploy.java:1601)
    I can see in config.xml that Application "appname" has been added successfully. But Target servers are not configured for EJB components.
    IS there any way to get more information about the error?
    Thanks in advance for your help.
    Suyog

    Hi Maris,
    I see that you have create-default-dbms-tables set to true so WLS should be creating
    the database table for your EJB. If you can give me some more information, I'll be
    able to help you further. What version of WLS + service pack are you using? Also,
    is this a 1.1 bean or 2.0? Lastly, what are the types of the CMP fields in your
    bean?
    As a work-around, you can try creating the database table yourself before deploying
    the bean. This should resolve the deployment problem.
    - Matt
    Maris wrote:
    Hello
    When I deploy my EJBs, WEBLogic throws an exception:
    Unable to deploy EJB: OrderBean from ejb-jar-ic.jar:
    The Entity EJB requires the table: Order to be accessible. Please ensure that th
    is table exists and is accessible.
    I use built in Cloudscape database.
    And I have those lines in descriptor:
    <weblogic-rdbms-bean>
    <ejb-name>OrderBean</ejb-name>
    <data-source-name>ejbDS</data-source-name>
    <table-name>Order</table-name>
    <field-map>
    <cmp-field>totalAmount</cmp-field>
    <dbms-column>totalAmount</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>time</cmp-field>
    <dbms-column>ordertime</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>orderID</cmp-field>
    <dbms-column>orderID</dbms-column>
    </field-map>
    </weblogic-rdbms-bean>
    <create-default-dbms-tables>True</create-default-dbms-tables>
    thanx in advance
    Maris

  • Adf-faces-demo.war for 10g - where can I download this demo package?

    based on Oracle JDeveloper 10g (10.1.3) Documentation this package can be downloaded, but it's not there any more. Anyone know where I can download a copy?
    About the ADF Faces Demo Files The ADF Faces component and feature demonstration files are available in adf-faces-demo.war, which you can download from the Oracle Technology Network at
    http://www.oracle.com/technology/tech/java/jsf.html
    or,
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/index.html
    Thanks

    The 10.1.3 version of the file is now linked from
    http://www.oracle.com/technetwork/testcontent/adffaces1013-096465.html
    (under the download section of that page)

Maybe you are looking for

  • I can no longer open the standard photo software on my iPhone.

    Using an iPhone 4G 16MB with latest iOS update, completed about a week ago.  The phone is less than 6 months old, and I'm using Verizon service.  I click on "photos", see camera roll/photo stream, then by clicking on either menu option, the entire ap

  • Help with adding a JPanel with multiple images to a JFrame

    I'm trying to make a program that reads a "maze" and displays a series of graphics depending on the character readed. The input is made from a file and the output must be placed in a JFrame from another class, but i can't get anything displayed. I ha

  • Detecting hardware keys on tab devices in as3.0

    Ls, I want to use the on device keys of the samsung (and other) tab devices {Home, return/back and menu} How do i listen to those/ what events are that? Googling it i have a hard time finding anything. Probably because i am not using the right phrase

  • RPE-01008 deploy connector

    HI, friends, I need help I deployed a connector from OWB control center; and it shows error RPE-01008: Recovery in Progress the detail is like this: ===================================================================== Name      Type      Status     

  • Multiple account assigned PO.........

    HI Gurus, Can any one tell me the significance of Multiple account assigned PO's.....How do they work...what are the settings? What are the scenarios possible in this? Regards, Prasanna.