Deployment delay of JEE5 application on weblogic 10

Hi,
I have a jee5 application that works fine with glassfish v2 or JBoss 5.
It's an application with stateless ejb (ejb3) exposed as webservices (jaxws).
I manage to deploy my ear on weblogic 10 but it takes about 15 minutes to deploy whereas on JBoss or Glassfish, it's around 2 minutes.
The structure of my ear :
myappli.ear
|-lib
|-webservices.jar
  |- META-INF
    |- weblogic-ejb-jar.xml
  |- net.myappli.... (source code)Here's what I have in the admin server log file during deployment :
<BEA-010087> <The EJB deployment named: webservices.jar is being recompiled within the WebLogic Server. Please consult the server logs if there are any errors. It is also possible to run weblogic.appc as a stand-alone tool to generate the required classes. The generated source files will be placed in D:\bea-domain\jee5_domain\servers\AdminServer\cache\EJBCompilerCache\4okqjo7r4ir6.>One of my ejb based web service :
@Stateless()
@Resource(name = "jdbc/applids", mappedName = "applids", type = DataSource.class)
@WebService(endpointInterface = "net.aze.appli.jws.alarm.PTAlarm")
@HandlerChain(file = "../../../handler/alarmHandlerChain.xml")
@RolesAllowed({"anonym", "systemUser"})
public class AlarmBean implements PTAlarm {
    @Resource
    private SessionContext sessionContext;
    public AlarmCreateOut persist(AlarmCreateIn in) {
        return AlarmDelegate.getInstance(sessionContext).persist(in);
}I tried to run appc, but it does not change anything.
Any ideas on why weblogic takes so many time to recompile ejbs and how to make it faster?

Hi,
The recompilation of EJB may be triggered by a lot of reasons. But appc should help on reduce of recompilation when deployment. If appc didn't help, that would be a bug.
Could you please send me your application? Is it a very large file?
My email addr: [email protected]
Edited by yyang at 12/25/2007 6:21 PM

Similar Messages

  • Deploying Java stand alone application in Weblogic server

    Hi All,
    We have an java stand alone application which our client uses. Suddenly they came up with a requirement of using this application from web logic server.We have following directory structure for our application
    myapp
    - config -> contains all configuration files
    - logs -> contains log files
    - ssl -> ssl related files
    - samples ->contians stub's
    - myapp.jar
    How to deploy our standalone application in to weblogic server?.
    We tried putting whole myapp folder in WEB-INF folder , and from the servlet we are able to invoke an method in an class file( in myapp.jar say Test.getInstance()) but it couldnt find configuration files (in config folder ) and it is throwing an error. We have a class called Test in myapp.jar and when we call getInstance of the class it loads all config files - config file location is hardcoded as /config/myconfig.xml , and we are facing problem here because it couldnt find myconfig.xml.
    We also tried packaging whole myapp folder in to jar , but with that also we faced the same problem
    Please let us know are we proceeding in the right way and how to deploy our application in weblogic server.We dont prefer making changes to our code at this point of time.
    Any info on this will be very helpful to us.
    Regards,
    Suresh

    Hi René van Wijk,
    Thanks for quick reply. Link you mentioned gave a basic idea of application structure , but still i couldnt get deployment process.
    Am very much new to weblogic.Can you please let me know how to deploy our standalone application in to weblogic, with out making any changes to the code.
    Below is folder structure of my java stand alone application *( not webapplication)*
    myapp
    - config -> contains all configuration files , for ex:- myconfig.xml
    - logs -> contains log files
    - ssl -> ssl related files
    - samples ->contians stub's
    - myapp.jar
    We have logic to load configuration file (config/myconfig.xml) , in an class and we are not allowed to make any changes to this code, so we cant use Thread.currentThread().getContextClassLoader().getResource(...) .
    Regards,
    Suresh

  • How to deploy and remove one application from WebLogic server

    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon

    I think we have to clean ( already scheduled for next release) list of some of the
    supported API on various MBeans. However just FYI , there is an "void
    setURI(java.lang.String)" method in Component MBean that you could use.
    Viresh Garg
    Pamela Minthorn wrote:
    I am also trying to automate application deployment process. I have looked at
    the docs you suggested below and am wondering why the ComponentMBean has a getURI()
    but not a setURI().
    Here's a snippet from my config.xml that I want to automate:
    <Application
    Deployed="true"
    Name="TestApp1"
    Path="E:\WebApps\version1">
    <WebAppComponent
    Name="TestApp1"
    URI="TestApp"
    Targets="myserver"
    />
    </Application>
    I haven't figured out how to set the URI.
    Also, it looks like this should also be possible using weblogic.Admin. Is that
    true?
    Thanks,
    Pam
    Viresh Garg <[email protected]> wrote:
    You can write a JMX java client and create an Application Admin Mbean
    and then use the application MBean and component MBean interface to set
    the targets for components and deploy them . For more information look
    at the JAVAdoc for:
    weblogic.management.MBeanHome
    weblogic.management.configuration.ApplicationMBean
    weblogic.management.configuration.ComponentMBean
    Let me know if you have addional questions.
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    Damon wrote:
    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon
    [att1.html]

  • How to deploy or remove an application from WebLogic server?

    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon

    Yes, you can use the command-line weblogic.deploy utiltiy to do the
    same.
    For more info:
    http://e-docs.bea.com/wls/docs60///////adminguide/utils.html#1138475
    cheers,
    Mihir
    Damon wrote:
    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon

  • Can I deploy an Oracle Forms Application in WebLogic Server?

    Dear all:
    I need to know if Oracle WebLogic Server supports Oracle Forms applications?
    I am looking some clue in the documentation, but I didn´t find something clear yet, please help me.
    Thanks
    Edited by: user637951 on Nov 18, 2008 6:25 AM
    Edited by: user637951 on Nov 18, 2008 6:26 AM

    I don't believe that Forms will be certified on WLS until 11g based on a ppt I saw at Oracle Open World. However, you'll need to get confirmation on that from someone with Forms knowledge. Their forum is here:
    Forms

  • Spring Flex application on weblogic 10.3

        I have developed an Spring-Flex application. I did the necessary changes to be done in web.xml, spring-config.xml and services-config.xml.  The application is working fine on Tomcat server. But when tried deploying .war of the application on Weblogic 10.3,  the navigation of the application is failing. Even the messagebroker defined on startup page if not receiving.
    Is there any server specific changes need to be done on Weblogic before deploying the .war file?
    Please provide the pointers.

    Hi,
    Did you configure your application module to use a JDBC data source? To do this, right-click the app module in the navigator, select Configurations and in the dialog that comes up change the connection type to JDBC Data Source and enter your data source name - which should be the same as the data source you created on the weblogic server.
    Also, I do suggest you create an EAR file - this is what we've tested and certified with. You can find more details in the deployment chapter of the fusion developer's guide: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CHDJJDDG.
    Hope this helps
    Blaise

  • 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

  • Error while deploying a simple ADF application on the Integrated weblogic..

    hi,
    I am new to ADF and have developed a simple application that interacts with the database.
    I have tried to deploy the application to the intgrated weblogic server but the deployment is not successful and throws the following error:
    [Waiting for the domain to finish building...]
    [04:14:13 PM] Creating Integrated Weblogic domain...
    [04:15:38 PM] Extending Integrated Weblogic domain...
    [04:16:10 PM] Integrated Weblogic domain processing completed successfully.
    *** Using port 7101 ***
    C:\Users\Jhansi\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;E:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;E:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;E:\Oracle\MIDDLE~1\JDK160~1\jre\bin;E:\Oracle\MIDDLE~1\JDK160~1\bin;E:\OracleXE\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    E:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=E:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=E:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=E:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\Jhansi\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Jan 20, 2011 4:16:14 PM EST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
    <Jan 20, 2011 4:16:14 PM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <Jan 20, 2011 4:16:15 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 20, 2011 4:16:15 PM EST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jan 20, 2011 4:16:16 PM EST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Users\Jhansi\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Jan 20, 2011 4:16:21 PM EST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 20, 2011 4:16:29 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jan 20, 2011 4:16:29 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 20, 2011 4:16:54 PM EST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[7]" is now listening on 0:0:0:0:0:0:0:1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[6]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.1.73:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on fe80:0:0:0:d5e4:73a9:98b0:9db7:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:1c56:3208:befd:ce95:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:0:5efe:c0a8:149:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[5]" is now listening on fe80:0:0:0:ecd9:7589:e2cd:650d:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 2001:0:4137:9e76:1c56:3208:befd:ce95:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Jan 20, 2011 4:17:00 PM EST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Jan 20, 2011 4:17:00 PM EST> <Warning> <Server> <BEA-002611> <Hostname "Jhansi-PC", maps to multiple IP addresses: 192.168.1.73, fe80:0:0:0:ecd9:7589:e2cd:650d%11, fe80:0:0:0:1c56:3208:befd:ce95%13, 2001:0:4137:9e76:1c56:3208:befd:ce95>
    <Jan 20, 2011 4:17:01 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Jan 20, 2011 4:17:01 PM EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 51406 ms.
    IntegratedWebLogicServer started.
    [Running application HRSystem on Server Instance IntegratedWebLogicServer...]
    [04:17:03 PM] ---- Deployment started. ----
    [04:17:03 PM] Target platform is (Weblogic 10.3).
    [04:17:05 PM] Retrieving existing application information
    [04:17:06 PM] Running dependency analysis...
    [04:17:06 PM] Deploying 2 profiles...
    [04:17:07 PM] Wrote Web Application Module to C:\Users\Jhansi\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\HRSystem\ViewControllerWebApp.war
    [04:17:09 PM] Wrote Enterprise Application Module to C:\Users\Jhansi\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\HRSystem
    [04:17:09 PM] Deploying Application...
    <Jan 20, 2011 4:17:10 PM EST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application HRSystem is not versioned.>
    <Jan 20, 2011 4:17:16 PM EST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1295558229417' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:350)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:531)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:165)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: HRconnDS is already bound
         at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:404)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:347)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         Truncated. see log file for complete stacktrace
    >
    <Jan 20, 2011 4:17:16 PM EST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'HRSystem'.>
    <Jan 20, 2011 4:17:16 PM EST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'HRSystem'.>
    <Jan 20, 2011 4:17:16 PM EST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:350)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:531)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:165)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: HRconnDS is already bound
         at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:404)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:136)
         at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:97)
         at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:347)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         Truncated. see log file for complete stacktrace
    >
    [04:17:16 PM] #### Deployment incomplete. ####
    [04:17:16 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application HRSystem due to error deploying to IntegratedWebLogicServer.
    [Application HRSystem stopped and undeployed from Server Instance IntegratedWebLogicServer]
    ERROR [main] com.oracle.cie.domain.template.dependency.TemplateSelectionTarget - Template is not present in the graph: null
    Thanks,
    Jhansi

    Hi Jhansi,
    Whether u create HRconnDS in ur Weblogic server
    If not create it ...
    If yes just check it out whether u gave a correct connection string for it......
    Regards,
    Suganth.G

  • Error while deploying a application on weblogic 10.3

    Hi experts,
    deploy my application on weblogic 10.3
    this error occurs:
    java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
    If I remove wstx-asl-3.2.1.jar. And the application can be deployed.
    But My application really needs this wstx-asl-3.2.1.jar to connect to web service.
    Can anyone tell me how to fix this problem?
    Thanks

    Hi experts,
    deploy my application on weblogic 10.3
    this error occurs:
    java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
    If I remove wstx-asl-3.2.1.jar. And the application can be deployed.
    But My application really needs this wstx-asl-3.2.1.jar to connect to web service.
    Can anyone tell me how to fix this problem?
    Thanks

  • Deploying seam application on weblogic 10.3.2 application server.

    Hi All,
    I deployed jsf1.2.war file into weblogic. Now when I tried to run seam application getting below errors
    Apr 6, 2010 11:00:29 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Initializing Sun's JavaServer Faces implementation (1.203-b04-FCS) for co ntext '/jboss-seam-registration' Apr 6, 2010 11:00:30 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Completed initializing Sun's JavaServer Faces implementation (1.203-b04-F CS) for context '/jboss-seam-registration' Apr 6, 2010 11:00:33 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Initializing Sun's JavaServer Faces implementation (1.203-b04-FCS) for context '/jboss-seam-registration' Apr 6, 2010 11:00:33 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Completed initializing Sun's JavaServer Faces implementation (1.203-b04-F CS) for context '/jboss-seam-registration' Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/servers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/servers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml Apr 6, 2010 11:45:00 AM com.sun.faces.lifecycle.InvokeApplicationPhase execute WARNING: Could not instantiate Seam component: register org.jboss.seam.InstantiationException: Could not instantiate Seam component: register at org.jboss.seam.Component.newInstance(Component.java:2156) at org.jboss.seam.Component.getInstance(Component.java:2021) at org.jboss.seam.Component.getInstance(Component.java:1983) at org.jboss.seam.Component.getInstance(Component.java:1977) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50) at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148)
    at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe solver.java:64) at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:27 6) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja va:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:88) at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:95) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 56) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run (StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri tyHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav a:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF ilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: 121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS ervletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC ontext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j ava:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: javax.naming.NameNotFoundException: While trying to lookup 'RegisterA ction.local' didn't find subcontext 'RegisterAction'. Resolved ''; remaining nam e 'RegisterAction/local' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav a:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j ava:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20 6) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:254) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.jboss.seam.Component.instantiateSessionBean(Component.java:1400) at org.jboss.seam.Component.instantiate(Component.java:1364) at org.jboss.seam.Component.newInstance(Component.java:2134) ... 38 more Apr 6, 2010 11:45:00 AM com.sun.faces.lifecycle.LifecycleImpl phase WARNING: executePhase(INVOKEAPPLICATION 5,com.sun.faces.context.FacesContextImp l@15635fa) threw exception javax.faces.FacesException: Could not instantiate Seam component: register at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:105) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run (StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri tyHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav a:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF ilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: 121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS ervletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC ontext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j ava:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam com ponent: register at org.jboss.seam.Component.newInstance(Component.java:2156) at org.jboss.seam.Component.getInstance(Component.java:2021) at org.jboss.seam.Component.getInstance(Component.java:1983) at org.jboss.seam.Component.getInstance(Component.java:1977) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50) at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148) at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe solver.java:64) at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:27 6) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja va:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:88) at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:95) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 56) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) ... 18 more Caused by: javax.naming.NameNotFoundException: While trying to lookup 'RegisterA ction.local' didn't find subcontext 'RegisterAction'. Resolved ''; remaining nam e 'RegisterAction/local' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav a:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j ava:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20 6) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:254) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.jboss.seam.Component.instantiateSessionBean(Component.java:1400) at org.jboss.seam.Component.instantiate(Component.java:1364) at org.jboss.seam.Component.newInstance(Component.java:2134) ... 38 more Apr 6, 2010 11:45:00 AM EDT Error HTTP BEA-101017 ServletContext@19607627app:-appsdir-jboss-eam-registration-war module:jboss-seam-registration.war path:/jboss-seam-registration spec-version:2.5, request: weblogic.servlet.internal.ServletRequestImpl@669c84POST /jboss-seam-registration/register.seam HTTP/1.1Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml-xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, Referer: http://localhost:7001/jboss-seam-registration/register.seam Accept-Language: en-us Content-Type: application/x-www-form-urlencoded UA-CPU: x86 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Content-Length: 180 Connection: Keep-Alive Cache-Control: no-cache Cookie: GUEST-LANGUAGE-ID:en-US; COOKIESUPPORT:true; ADMINCONSOLESESSION:LkpWL7 HJXjTH8kTdCYpB7qn2HLqp111hH22hJV3H1sJ8JhhlHjRX!-512864410; JSESSIONID:0mLXL7WP7n ljLhvdGMBGTky1TLNpkLhgjrngV4v5LGyFsf63t3hQ!-1277131764
    Root cause of ServletException. javax.naming.NameNotFoundException: While trying to lookup 'RegisterAction.local ' didn't find subcontext 'RegisterAction'. Resolved ''; remaining name 'Register Action/local' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav a:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j ava:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20 6) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:254) Truncated. see log file for complete stacktrace
    I think this is something with ejb-jar.xml and components.xml files.
    Please find ejb-jar.xml as below
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"
    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/ejb-jar_3_0.xsd"
    version="3.0">
    <interceptors>
    <interceptor>
    <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
    </interceptor>
    </interceptors>
    <assembly-descriptor>
    <interceptor-binding>
    <ejb-name>RegisterAction</ejb-name>
    <interceptor-class >org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
    </interceptor-binding>
    </assembly-descriptor>
    </ejb-jar>
    components.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <components xmlns="http://jboss.com/products/seam/components"
    xmlns:core="http://jboss.com/products/seam/core"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation=
    "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd
    http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd">
    <core:init jndi-pattern="#{ejbName}/local"/>
    </components>
    Please check these files and let me know where I'm doing wrong.
    Thanks for your help.
    Regards,
    Sharath.

    Hi All,
    I deployed jsf1.2.war file into weblogic. Now when I tried to run seam application getting below errors
    Apr 6, 2010 11:00:29 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Initializing Sun's JavaServer Faces implementation (1.203-b04-FCS) for co ntext '/jboss-seam-registration' Apr 6, 2010 11:00:30 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Completed initializing Sun's JavaServer Faces implementation (1.203-b04-F CS) for context '/jboss-seam-registration' Apr 6, 2010 11:00:33 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Initializing Sun's JavaServer Faces implementation (1.203-b04-FCS) for context '/jboss-seam-registration' Apr 6, 2010 11:00:33 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Completed initializing Sun's JavaServer Faces implementation (1.203-b04-F CS) for context '/jboss-seam-registration' Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/servers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/servers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml Apr 6, 2010 11:45:00 AM com.sun.faces.lifecycle.InvokeApplicationPhase execute WARNING: Could not instantiate Seam component: register org.jboss.seam.InstantiationException: Could not instantiate Seam component: register at org.jboss.seam.Component.newInstance(Component.java:2156) at org.jboss.seam.Component.getInstance(Component.java:2021) at org.jboss.seam.Component.getInstance(Component.java:1983) at org.jboss.seam.Component.getInstance(Component.java:1977) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50) at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148)
    at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe solver.java:64) at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:27 6) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja va:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:88) at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:95) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 56) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run (StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri tyHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav a:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF ilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: 121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS ervletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC ontext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j ava:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: javax.naming.NameNotFoundException: While trying to lookup 'RegisterA ction.local' didn't find subcontext 'RegisterAction'. Resolved ''; remaining nam e 'RegisterAction/local' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav a:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j ava:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20 6) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:254) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.jboss.seam.Component.instantiateSessionBean(Component.java:1400) at org.jboss.seam.Component.instantiate(Component.java:1364) at org.jboss.seam.Component.newInstance(Component.java:2134) ... 38 more Apr 6, 2010 11:45:00 AM com.sun.faces.lifecycle.LifecycleImpl phase WARNING: executePhase(INVOKEAPPLICATION 5,com.sun.faces.context.FacesContextImp l@15635fa) threw exception javax.faces.FacesException: Could not instantiate Seam component: register at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:105) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run (StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri tyHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav a:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF ilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: 121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS ervletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC ontext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j ava:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam com ponent: register at org.jboss.seam.Component.newInstance(Component.java:2156) at org.jboss.seam.Component.getInstance(Component.java:2021) at org.jboss.seam.Component.getInstance(Component.java:1983) at org.jboss.seam.Component.getInstance(Component.java:1977) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50) at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148) at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe solver.java:64) at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:27 6) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja va:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:88) at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:95) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 56) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) ... 18 more Caused by: javax.naming.NameNotFoundException: While trying to lookup 'RegisterA ction.local' didn't find subcontext 'RegisterAction'. Resolved ''; remaining nam e 'RegisterAction/local' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav a:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j ava:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20 6) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:254) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.jboss.seam.Component.instantiateSessionBean(Component.java:1400) at org.jboss.seam.Component.instantiate(Component.java:1364) at org.jboss.seam.Component.newInstance(Component.java:2134) ... 38 more Apr 6, 2010 11:45:00 AM EDT Error HTTP BEA-101017 ServletContext@19607627app:-appsdir-jboss-eam-registration-war module:jboss-seam-registration.war path:/jboss-seam-registration spec-version:2.5, request: weblogic.servlet.internal.ServletRequestImpl@669c84POST /jboss-seam-registration/register.seam HTTP/1.1Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml-xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, Referer: http://localhost:7001/jboss-seam-registration/register.seam Accept-Language: en-us Content-Type: application/x-www-form-urlencoded UA-CPU: x86 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Content-Length: 180 Connection: Keep-Alive Cache-Control: no-cache Cookie: GUEST-LANGUAGE-ID:en-US; COOKIESUPPORT:true; ADMINCONSOLESESSION:LkpWL7 HJXjTH8kTdCYpB7qn2HLqp111hH22hJV3H1sJ8JhhlHjRX!-512864410; JSESSIONID:0mLXL7WP7n ljLhvdGMBGTky1TLNpkLhgjrngV4v5LGyFsf63t3hQ!-1277131764
    Root cause of ServletException. javax.naming.NameNotFoundException: While trying to lookup 'RegisterAction.local ' didn't find subcontext 'RegisterAction'. Resolved ''; remaining name 'Register Action/local' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav a:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j ava:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20 6) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:254) Truncated. see log file for complete stacktrace
    I think this is something with ejb-jar.xml and components.xml files.
    Please find ejb-jar.xml as below
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"
    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/ejb-jar_3_0.xsd"
    version="3.0">
    <interceptors>
    <interceptor>
    <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
    </interceptor>
    </interceptors>
    <assembly-descriptor>
    <interceptor-binding>
    <ejb-name>RegisterAction</ejb-name>
    <interceptor-class >org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
    </interceptor-binding>
    </assembly-descriptor>
    </ejb-jar>
    components.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <components xmlns="http://jboss.com/products/seam/components"
    xmlns:core="http://jboss.com/products/seam/core"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation=
    "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd
    http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd">
    <core:init jndi-pattern="#{ejbName}/local"/>
    </components>
    Please check these files and let me know where I'm doing wrong.
    Thanks for your help.
    Regards,
    Sharath.

  • Issues with Deploying Struts application on Weblogic Server 10.3.3

    We are trying to deploy a web application on Weblogic 10.3 server domain. The configuration is we have 2 physical boxes with one box running an Admin Server and one managed Server and the other box running only a Managed server. Both these servers are in one cluster. When we deploy a Struts 2 web application on this domain, it works as expected on the managed server running on the same box and Admin server. However, when we do the same action on the managed server, we get an error. In the application we are using Interceptor and the error we see in the log file is Action Interceptor Result ---exception.
    Any help would be greatly appreciated as we have been struggling with this for a few days.
    Thank you
    Sam

    Sounds to me as if you are saving the users' uploaded images somewhere in your application's directory structure - which is going to get blown away each time you redeploy. Why not store uploaded images in a database (there are blogs showing how to upload and display images to/from a DB in ADF if you don't know how). If you search {forum:id=83}, you can find them easily.
    John

  • Deployment Application To Weblogic Server Failed

    Hello every body
    I need your help in this problem please :
    I'm using Oracle JDeveloper 11.1 in my local machine, I Installed Weblogic Server 10.3 on the server and it's works well, I made new JDBC connection in Weblogic Server and it's works well too.
    I made new ADF Fusion web Application and I used the same connection that I used in Weblogic server and it's works well.
    I made new Application Server Connection from my local machine and It's works well with my user account.
    In my project I made new WAR deployment, Also I configured my Application properties to Bind Application to the Weblogic server Instance.
    1-when I try to deploy my project to Weblogic server I get this error message :
    Deploying Application...
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application test_webapp on AdminServer.: Failed to load webapp: 'test_webapp.war'.
    weblogic.application.ModuleException: Failed to load webapp: 'test_webapp.war'
    #### Deployment incomplete. #### Feb 15, 2009 12:18:01 PM
    Deployment Failed
    2-Another application was deployed before to Weblogic server, it seems running well, whereas Weblogic Server marks my deployment health as OK, but when I try to run it for test using this URL : http://serverIP:Port/Deployment Name, I get this Error : Error 403--Forbidden
    What Should I do for both cases ?
    Thanks a lot ...

    Thanks Timo
    But first I don't use any library at my project , this is last log in Weblogic Server logfile :
    ####<Feb 16, 2009 1:56:58 PM EET> <Warning> <DeploymentService> <D2KR2> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <Osama> <> <> <1234785418343> <BEA-290008> <Deployment service servlet encountered while extracting uploaded file to directory ".\servers\AdminServer\upload\test_webapp". Exception is: "invalid distance code".>
    Where D2KR2 is my Server Name
    Osama is my user in Weblogic Server
    test_webapp is the Application name
    My problem didn't solved yet, and I'm new at JDeveloper ADF.
    Where I can find clear information about deploying projects to Weblogic server.
    Thank's Agin ...
    Edited by: user8330337 on 15/02/2009 04:09 ص

  • Deploying adf application to WebLogic Server Version: 10.3.6.0

    hi i have develope application in adf using jdeveloper 11.1.1.6.0 i have deploy the application to weblogic 10.3.6.0
    this is what i have done
    1. i have created a new Managed server in my weblogic=under Environment->Servers
    2.the state of my new server is shutdown
    3.deployment method
    -in my jdeveloper i click application->Application properties->Deployment->new->Archive Type->EAR FILE->applicationName->OK
    TO deploy from jdeveloper to weblogic server
    in my jdeveloper i click application APPLICATION->Deploy->applicationName->Deploy to Application Server-applicationserver i choose the new server i created in my weblogic->weblogic Option->deploy to selected instance->i select the name of the server i created in my weblogic->next->finish
    after that the deployment configuration screen pop up than i click deploy then screen MDS CONFIGURATION invalid pop up with message MDS CONFIGURATION information appear invalid metadata Repository not found in target server.deploy anyway then i click yes
    i got this meaasge in my deployment log
    [08:33:46 AM] Entering Oracle Deployment Plan Editor
    [08:38:56 AM] Deploying Application...
    [08:38:57 AM] [Deployer:149195]Operation 'deploy' on application 'UAMOrganisation' has been deferred since 'UamOrganisation' is unavailable
    [08:38:57 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application UAMOrganisation on UamOrganisation.: .
    [08:38:57 AM] Application Deployed Successfully.
    [08:38:57 AM] Elapsed time for deployment:  5 minutes, 21 seconds
    [08:38:57 AM] ----  Deployment finished.  ----than i go to my weblogic under deployment there i found my deploy application with a state=new and type=Enterprise application
    than i click start->Servircing all request->start application assistance->yes->Start requests have been sent to the selected Deployments.
    but now i what to test my application am geting this Internet Explorer cannot display the webpage,do i need to start my Managed server how do i do that,i try to click server start but it does not start how can i start my new created Managed server
    the listern port of my new created server is 8003
    my problem is am not able to test the application i have deploy
    Edited by: adf009 on 2013/01/30 11:26 AM
    Edited by: adf009 on 2013/01/30 11:39 AM
    Edited by: adf009 on 2013/01/30 11:41 AM
    Edited by: adf009 on 2013/01/30 12:33 PM

    i did this,am in window 7 64 bit
    start startNodeManager.cmd
    C:\Oracle\weblogic\wlserver_10.3\server\bin>set CLASSPATH=.;C:\Oracle\weblogic\p
    atch_wls1036\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracl
    e\weblogic\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.j
    ar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\weblogic\WLSERV~1.3\serve
    r\lib\weblogic_sp.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\weblogic.jar;C:\O
    racle\weblogic\modules\features\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\w
    eblogic\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\weblogic\modules\ORGAPA~
    1.1/lib/ant-all.jar;C:\Oracle\weblogic\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
    C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\xqrl.jar
    C:\Oracle\weblogic\wlserver_10.3\server\bin>if not "" == "" set CLASSPATH=;.;C:\
    Oracle\weblogic\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic_p
    atch.jar;C:\Oracle\weblogic\patch_ocp371\profiles\default\sys_manifest_classpath
    \weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\weblogic
    \WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\
    weblogic.jar;C:\Oracle\weblogic\modules\features\weblogic.server.modules_10.3.6.
    0.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\weblogi
    c\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\weblogic\modules\NETSFA~1.0_1/lib
    /ant-contrib.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\xqrl.jar
    C:\Oracle\weblogic\wlserver_10.3\server\bin>if not "C:\Oracle\MIDDLE~1\WLSERV~1.
    1\server\lib\xqrl.jar" == "" set CLASSPATH=.;C:\Oracle\weblogic\patch_wls1036\pr
    ofiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\weblogic\patc
    h_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MI
    DDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\weblogic_
    sp.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\weblogic\
    modules\features\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\weblogic\WLSERV~
    1.3\server\lib\webservices.jar;C:\Oracle\weblogic\modules\ORGAPA~1.1/lib/ant-all
    .jar;C:\Oracle\weblogic\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDL
    E~1\WLSERV~1.1\server\lib\xqrl.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\xqrl
    .jar
    C:\Oracle\weblogic\wlserver_10.3\server\bin>cd C:\Oracle\weblogic\WLSERV~1.3\com
    mon\NODEMA~1
    C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>if not "" == "" if not "" == "" go
    to runNMWithListenAddressAndPort
    C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>if not "" == "" goto runNMWithList
    enAddress
    C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>if not "" == "" goto runNMWithList
    enPort
    C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>"C:\Oracle\MIDDLE~1\JDK160~1\bin\j
    ava.exe" -server -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Dcohere
    nce.home=C:\Oracle\weblogic\COHERE~1.7 -Dbea.home=C:\Oracle\weblogic  -Dweblogic
    .ProductionModeEnabled=true   -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.1
    -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.1\server -Dweblogic.home=C:\Oracle\MIDDLE
    ~1\WLSERV~1.1\server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev=f
    alse -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false "-Djava.security.pol
    icy=C:\Oracle\weblogic\WLSERV~1.3\server\lib\weblogic.policy" "-Dweblogic.nodema
    nager.javaHome=C:\Oracle\MIDDLE~1\JDK160~1" weblogic.NodeManager -v
    <30 Jan 2013 1:14:37 PM> <INFO> <Loading domains file: C:\Oracle\weblogic\WLSERV
    ~1.3\common\NODEMA~1\nodemanager.domains>
    30 Jan 2013 1:14:37 PM weblogic.nodemanager.server.NMServerConfig initDomainsMap
    INFO: Loading domains file: C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1\nodema
    nager.domains
    <30 Jan 2013 1:14:38 PM> <INFO> <Loading identity key store: FileName=C:\Oracle\
    MIDDLE~1\WLSERV~1.1\server\lib\DemoIdentity.jks, Type=jks, PassPhraseUsed=true>
    30 Jan 2013 1:14:38 PM weblogic.nodemanager.server.SSLConfig loadKeyStoreConfig
    INFO: Loading identity key store: FileName=C:\Oracle\MIDDLE~1\WLSERV~1.1\server\
    lib\DemoIdentity.jks, Type=jks, PassPhraseUsed=true
    <30 Jan 2013 1:14:38 PM> <SEVERE> <Fatal error in node manager server>
    weblogic.nodemanager.common.ConfigException: Identity key store file not found:
    C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\DemoIdentity.jks
            at weblogic.nodemanager.server.SSLConfig.loadKeyStoreConfig(SSLConfig.ja
    va:153)
            at weblogic.nodemanager.server.SSLConfig.<init>(SSLConfig.java:102)
            at weblogic.nodemanager.server.NMServer.init(NMServer.java:186)
            at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:148)
            at weblogic.nodemanager.server.NMServer.main(NMServer.java:380)
            at weblogic.NodeManager.main(NodeManager.java:31)
    30 Jan 2013 1:14:38 PM weblogic.nodemanager.server.NMServer main
    SEVERE: Fatal error in node manager server
    weblogic.nodemanager.common.ConfigException: Identity key store file not found:
    C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\DemoIdentity.jks
            at weblogic.nodemanager.server.SSLConfig.loadKeyStoreConfig(SSLConfig.ja
    va:153)
            at weblogic.nodemanager.server.SSLConfig.<init>(SSLConfig.java:102)
            at weblogic.nodemanager.server.NMServer.init(NMServer.java:186)
            at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:148)
            at weblogic.nodemanager.server.NMServer.main(NMServer.java:380)
            at weblogic.NodeManager.main(NodeManager.java:31)
    C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>goto finish
    C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>ENDLOCAL
    C:\Oracle\weblogic\wlserver_10.3\server\bin>can i test my application without manged server started
    link is http://italianknows.blogspot.com/2011/02/weblogic-1034-ps3-nodemanager-wont.html
    Edited by: adf009 on 2013/01/30 1:43 PM
    Edited by: adf009 on 2013/01/30 1:56 PM
    Edited by: adf009 on 2013/01/30 1:57 PM
    Edited by: adf009 on 2013/01/30 2:14 PM
    Edited by: adf009 on 2013/01/30 2:15 PM
    Edited by: adf009 on 2013/01/30 2:16 PM

  • Getting error while deploying application in weblogic server 9.2

    Im getting below error in production in weblogic 9.2 server.
    ####<Jan 27, 2010 8:17:02 PM AST> <Error> <Deployer> <hpw2k3los01> <LOSWebServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264612622151> <BEA-149205> <Failed to initialize the application 'NCB_LOS' due to error weblogic.management.DeploymentException: Exception occured while downloading files.
    weblogic.management.DeploymentException: Exception occured while downloading files
         at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:43)
         at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)
         at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:98)
         at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:663)
         at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:706)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:100)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: '192.168.50.5', port: '80'
         at weblogic.net.http.HttpClient.openServer(HttpClient.java:320)
         at weblogic.net.http.HttpClient.openServer(HttpClient.java:375)
         at weblogic.net.http.HttpClient.<init>(HttpClient.java:149)
         at weblogic.net.http.HttpClient.New(HttpClient.java:245)
         at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:160)
         at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:75)
         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:98)
         at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:663)
         at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:706)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:100)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    This error is intermittent and comes during deployment.Once we get this error we have restart the server.
    Can someone please tell what is the cause of this error?
    we dont have any server with Ip '192.168.50.5' as mentioned in the error message.and what exactly is the server trying to download here?
    Edited by: user12537931 on Jan 31, 2010 4:09 AM

    Hi,
    How are you trying to deploy your application on the Server...Using Admin Console...or Using any Script Like WLDeployer?
    The issue seems to be related to Http protocol in port 80.
    Are you sure that in your Production environment there is not firewall blocking issue...on port 80...?
    Some firewall settings rejects any existing connection to be opened for a long time....If your application takes some time, then please check that the firewall doesn't disconnect the existing connection until the deployment time gets over.
    <font color=red>Note: </font>Sometimes this kind of issue happens when we try to deploy our application on WebLogic Server...at that time based on the XSD informations available in our DeploymentDescriptors...the Server tries to download those DTDs from the mentioned URIs....
    Example:
    web.xml has some entries like:
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    In above case if the Firewall of our production environment Blocks any request to pass through Port 80 (default Http Port) then we get such exceptions.
    http://middlewaremagic.com/weblogic/?p=802
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic (Middleware Magic Is Here)

  • Log4j Error while deploying application in weblogic

    Hi All,
    I am deploying one web application in weblogic, which uses log4j jar file to write logs. But ahile deploying it shows the following error in weblogic console.
    Please help on this.
    log4j:ERROR A "org.apache.log4j.RollingFileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
    log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
    log4j:ERROR [sun.misc.Launcher$AppClassLoader@169e11] whereas object of type
    log4j:ERROR "org.apache.log4j.RollingFileAppender" was loaded by [weblogic.utils.classloaders.ChangeAwareClassLoader@169baee finder: weblogic.utils.classloaders.CodeGenClassFinder@44c4a4 annotation: Server@Server].
    log4j:ERROR Could not instantiate appender named "log".
    log4j:WARN No appenders could be found for logger (com.servion.citigreece.util.LoggerUtil).
    log4j:WARN Please initialize the log4j system properly.
    Thanks & Regards,
    Raja Mohammed.

    Seems like a classic case of having log4j both in the war and the app-server's own libraries.
    At least in JBoss this would be fixed by making sure that common/lib's log4j jar is being used (or alternatively, removing that and using the one in the war, but that might not go as smooth).

Maybe you are looking for

  • Security question forgotten

    Could not change the security question as it asks for the old ones which I don't remember. Please advise.

  • Assign a process chain into proper component

    Hi Experts, I have problem relating ot process chains onece create aprocess chain it is automatically assigned in to unassigned component , how can i assign into proper components Thanks in advance Amruth.

  • Hu_create_goods_movement

    Hi, what exactly does this FM does? There is documentation in English ? Thanks & Regards Laura

  • Archiving weirdness

    I archived my Documents folder today and copied it over to my other Powerbook, which runs OS 9. The documents folder on my Powerbook that runs OSX (10.4.6) is 8.76 GB (according to Get Info). Two weird things happened as I did this. 1) As OSX was fin

  • What is T code for return  money of advance payment.

    hello Gurus. in our comapany, we gives advance money to our site engineer. and site engineer is define as vendor in our comany. now some money is not spent by site engineer. and They want to revoke it back  to account department. so how acount depart