UndeclaredThrowableException when deploying a ear file in admin server 6.1

Hi,
I am trying to run ATG Dynamo 5.6 on top of weblogic 6.1
Dynamo provides a EAR file which will be deployed at the time of weblogic startup.
But, when i start weblogic, I got the following error:
Error in deploying dyn.ear
java.util.UndeclaredThrowableException
When i checked in the log file, I saw error in loading dyn.ear - StringIndexOutofBounds Exception.
Please help,
Thanks
Bala.

Can you show us the full stack trace / error message?
-- Rob
Bala wrote:
Hi,
I am trying to run ATG Dynamo 5.6 on top of weblogic 6.1
Dynamo provides a EAR file which will be deployed at the time of weblogic startup.
But, when i start weblogic, I got the following error:
Error in deploying dyn.ear
java.util.UndeclaredThrowableException
When i checked in the log file, I saw error in loading dyn.ear - StringIndexOutofBounds Exception.
Please help,
Thanks
Bala.

Similar Messages

  • UndeclaredThrowableException when deploying a ear file in admin server 6.1, SP1 on Solaris 8.

    WLS 6.1, SP1, Solaris 8.
    When deploying an ear file, I get this stack trace:
    javax.management.MBeanException
         at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:979)
         at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:932)
         at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:917)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:620)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
         at $Proxy13.addTarget(Unknown Source)
         at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:837)
         at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:936)
         at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:856)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:772)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:705)
         at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:200)
         at weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(ApplicationManager.java:272)
         at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:146)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
         at $Proxy5.start(Unknown Source)
         at weblogic.management.Admin.startApplicationManager(Admin.java:1155)
         at weblogic.management.Admin.finish(Admin.java:570)
         at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:506)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
         at weblogic.Server.main(Server.java:35)
    with this error message:
    <Mar 5, 2002 3:15:10 PM GMT+00:00> <Error> <Management> <Error deploying application
    ./config/lnuatgorwlsdomain2/applications/NostroCheck.ear: java.lang.reflect.UndeclaredThrowableException>
    A number of other people in other newsgroups have had similar problems, but no
    good concrete answers so far.
    This has only recently started to happen, and only on Solaris. Ear file deploys
    just fine on NT (same version/SP of WLS on both environments).
    Attached is a segment of log file which may give someone more details.
    simon.
    [weblogic-error-log-segment.txt]

    Can you show us the full stack trace / error message?
    -- Rob
    Bala wrote:
    Hi,
    I am trying to run ATG Dynamo 5.6 on top of weblogic 6.1
    Dynamo provides a EAR file which will be deployed at the time of weblogic startup.
    But, when i start weblogic, I got the following error:
    Error in deploying dyn.ear
    java.util.UndeclaredThrowableException
    When i checked in the log file, I saw error in loading dyn.ear - StringIndexOutofBounds Exception.
    Please help,
    Thanks
    Bala.

  • How to deploy an Ear File into Weblogic Server

    Hello,
    i have created an ADF application successfully and make it as an EAR file.
    How can we deploy that EAR file into weblogic server..?
    Let me know step-by-step procedure.
    Regards.

    Hi,
    Steps to deploy EAR file on Weblogic server:
    1) login to http://<hostname>:<port>/console
    2) Go to deployments and then install your ear on weblogic server.
    Also you will need to create a data source with same name as given in your Application Module.
    Following link contains steps for data source creation - http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html ( section - "Configure a JDBC Data Source")
    Thanks,
    Randhir

  • When deploying an ear file the status is not loaded

    I have installed Oracle application server 10g on a Linux CentOS 4.6 server.
    When I went to deploy an ear file, it was a success; however, the status in the application at OC4J:home indicates "Not Loaded" and auto start is true. I have searched every where and cannot find the cause of this problem.
    The development server on a windows machines works fine when the same file is deplyoed.
    Does anyone know what might be the cause. Is there something that I have to configure that I am not aware of?
    Any help would be appreciated. Been working on this for two days.
    TIA
    Mike

    Hi, thanks for the response. I have over 20 EJBs in my ear file. I tried to use the verifier and here is the message that I am getting once I tried to deploy my ear file.
    Error
    Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to load deployment descriptor for: account cause: Error parsing J2EE-specific application deployment descriptor: Element type "application" is not declared.
    I checked my application.xml and it looks fine to me. please help.

  • 10.3 Deploying same EAR on both admin server  &managed :server  jndi in use

    Hypotehetical question but is it possible to deploy the same EAR file (some minor differneces) on both Admin server and not have an issue with jndi naming.
    I get the follwoing error when deploying on the managed server and suspect it could be cached compiled ejb's as I have already had a failed deployment on this server so might need to clear the cache
    Error I am getting is:
    An error occurred during activation of changes, please see the log for details.
    Exception preparing module: EJBModule(xxx_base_ejb.jar) Unable to deploy EJB: SessionAdministrationLogicEjb from xxx_base_ejb.jar: [EJB:011055]Error deploying the EJB 'SessionAdministrationLogicEjb(Application: RT_Samba, EJBComponent: norkom_base_ejb.jar)', the JNDI name 'ejb/xxx/remote/SessionAdministrationLogicEjb' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
    Substituted for missing class [EJB - 11055]Error deploying the EJB 'SessionAdministrationLogicEjb(Application: RT_Samba, EJBComponent: xxx_base_ejb.jar)', the JNDI name 'ejb/xxx/remote/SessionAdministrationLogicEjb' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
    Any input very much appreciated.

    Hypotehetical question but is it possible to deploy the same EAR file (some minor differneces) on both Admin server and not have an issue with jndi naming.
    I get the follwoing error when deploying on the managed server and suspect it could be cached compiled ejb's as I have already had a failed deployment on this server so might need to clear the cache
    Error I am getting is:
    An error occurred during activation of changes, please see the log for details.
    Exception preparing module: EJBModule(xxx_base_ejb.jar) Unable to deploy EJB: SessionAdministrationLogicEjb from xxx_base_ejb.jar: [EJB:011055]Error deploying the EJB 'SessionAdministrationLogicEjb(Application: RT_Samba, EJBComponent: norkom_base_ejb.jar)', the JNDI name 'ejb/xxx/remote/SessionAdministrationLogicEjb' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
    Substituted for missing class [EJB - 11055]Error deploying the EJB 'SessionAdministrationLogicEjb(Application: RT_Samba, EJBComponent: xxx_base_ejb.jar)', the JNDI name 'ejb/xxx/remote/SessionAdministrationLogicEjb' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
    Any input very much appreciated.

  • Deploying an EAR file to Oracle Server

    I went thru the documentation and created an EAR file but when we try to deploy it we get the following error: Application1.ear file – error on upload:
    Failed in uploading archive. Invalid archive file: unexpected EOF
    I have searched the forums and chat rooms trying to find a solution. Can anyone suggest something. Thanks.

    Hi,
    did you create it with JDeveloper and if, which version. Did you create a WAR file first or an EAR file straight - in which case probably its missing the Web application. How did you deploy it? From JDeveloper or with OC4J or ApplicationServer Enterprise Manager?
    Frank

  • Error when deploying an ear file on the weblogic 6.0 admin server

    ####<Feb 6, 2001 8:48:27 AM EST> <Error> <Management> <wSDWAPW95A452> <petstoreServer>
    <Application Manager Thread> <> <> <141004> <IOException opening application petstore:Name=s3,Type=Application,
    loading from path C:\bea\wlserver6.0\config\petstore\applications\s3.ear>
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:110)
    at java.util.jar.JarFile.<init>(JarFile.java:115)
    at java.util.jar.JarFile.<init>(JarFile.java:82)
    at weblogic.utils.jars.VirtualJarFile.<init>(VirtualJarFile.java:24)
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:229)
    at weblogic.management.mbeans.custom.Application.load(Application.java:205)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:559)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:545)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:431)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:172)
    at $Proxy7.load(Unknown Source)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:461)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:379)
    at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:151)
    at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:642)

    ####<Feb 6, 2001 8:48:27 AM EST> <Error> <Management> <wSDWAPW95A452> <petstoreServer>
    <Application Manager Thread> <> <> <141004> <IOException opening application petstore:Name=s3,Type=Application,
    loading from path C:\bea\wlserver6.0\config\petstore\applications\s3.ear>
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:110)
    at java.util.jar.JarFile.<init>(JarFile.java:115)
    at java.util.jar.JarFile.<init>(JarFile.java:82)
    at weblogic.utils.jars.VirtualJarFile.<init>(VirtualJarFile.java:24)
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:229)
    at weblogic.management.mbeans.custom.Application.load(Application.java:205)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:559)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:545)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:431)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:172)
    at $Proxy7.load(Unknown Source)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:461)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:379)
    at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:151)
    at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:642)

  • Java.io.EOFException when deploying Oc4jDcmServlet.ear file

    Upon entering the following...
    java -jar c:/JDev9.0.3/j2ee/home/admin.jar ormi://servername:1811 ias_admin password -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
    ... I receive a java.io.EOFException: Disconnected error
    any ideas?
    Thanks,
    Ora M Team

    Try to resolve the class first.
    The iasdeploy is refering the class in its full path , when you assemble the pack, you need to resolve the path of all classes.
    Hope that works,
    Fernando
    [email protected]

  • Getting runtime error when i am deploying my ear file in weblogic8.1

    I deployed my ear file into weblogic server, the below error i got in console of weblogic server. please tell where i need to setup class path. I am using eclipse as IDE and running the project in eclipse.
    How can i set classpath in weblogic server ? Give me step by step please.
    <May 25, 2006 8:13:45 PM GMT+05:30> <Error> <HTTP> <BEA-101017> <[ServletContext(id=19766836,name=MarketFusionCom.war,context-path=)] Root cause of ServletException.
    weblogic.servlet.jsp.CompilationException: Compilation of C:\bea\user_projects\domains\mydomain\marketfusioncom\jsp_servlet\__index.java failed.java.io.IOException: CreateProcess: javac -classpath "C:\bea\user_projects\domains\mydomain\MarketFusionServer\.wlnotdelete\extract\MarketFusionServer_MarketFusionCom_MarketFusionCom.war\MarketFusionCom.war;C:\bea\user_projects\domains\mydomain\MarketFusionServer\.wlnotdelete\MarketFusionCom\MarketFusionCom.jar;marketfusioncom;C:\Program Files\Java\j2re1.4.2_01\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_01\lib\i18n.jar;C:\Program Files\Java\j2re1.4.2_01\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_01\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_01\lib\jce.jar;C:\Program Files\Java\j2re1.4.2_01\lib\charsets.jar;C:\Program Files\Java\j2re1.4.2_01\classes;C:\bea\weblogic81\server\lib\weblogic.jar;C:\bea\weblogic81\server\lib\wlcipher.jar;C:\bea\weblogic81\server\lib\jsafeFIPS.jar;C:\bea\weblogic81\server\lib\webservices.jar;C:\bea\weblogic81\server\lib\xmlx.jar;C:\bea\weblogic81\server\lib\ojdbc14.jar;C:\bea\weblogic81\server\lib\jconn2.jar;C:\bea\weblogic81\server\lib\jConnect.jar;C:\bea\weblogic81\server\lib\EccpressoAsn1.ja?
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at weblogic.utils.Executable.exec(Executable.java:227)
    at weblogic.utils.Executable.exec(Executable.java:156)
    at weblogic.utils.Executable.exec(Executable.java:142)
    at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:321)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:451)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:478)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    Caused by: java.io.IOException: Compiler failed executable.exec
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:321)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:451)
    ... 12 more
    >

    Hi i got this same problem and i solved this
    weblogic8 containing ejbcompiler supports only the jdk1.4 versioning class files
    so plz compile u r java file with jdk1.4 version and deploy in weblogic8 . u r problem will be solved
    Regards
    Srinivasa Rao.Teki
    Software Engineer
    ITON Technologies
    Tanuku, W.G.Dt, A.P,India
    GSM: 9885504303 (+91)

  • Deploying ear file to glassfish server

    Hello Frnds,
    I am trying to deploy my ear file to glassfish server and i am gettin the following error.
    Can any one tell me having any idea on this.?
    Message ID  Exception occured in J2EEC Phase com.sun.enterprise.deployment.backend.IASDeploymentException
    +Complete Message  Fatal Error from EJB Compiler -- Caught java.lang.RuntimeException while processing CMP beans for application [abcd.4.0.0]; module [abcd.jar]: Cannot find accessor getPictureBody for CMP field pictureBody. See log for details. at com.sun.ejb.codegen.CmpCompiler.compile(CmpCompiler.java:315) at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:648) at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:593) at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:290) at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:226) at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:319) at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:240) at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148) at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788) at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187) at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)+
    helping on this is really appreciated :)
    Cheers,

    At first glance, your CMP metadata doesn't match what the actual bean has. You've told CMP that there's a pictureBody property on some bean, but there actually isn't

  • When is the ear file created , is it on deploy or when the project is built

    When is the ear file created , is it on deploy or when the project is built
    in which case whats the path on the file system??

    Hi Saket,
       The ear file is created when you do the following. DC Build of the project, Deploy and Run application, Deploy when there are changes made after last deployment, When you deploy for the first time, Create Archive option etc.
       A sample path of the ear file is as follows
    Workspace\CE711SP1.jdi\LocalDevelopment\DCs\demo.sap.com\actionvalidationtest\_comp\gen\default\deploy
    @Siva Thanks for pointing out the mistake. A Webdynpro build or rebuild will not create the ear file. But a DC build will create the ear file though. I have corrected my post.
    Hope this helps,
    Sanyev
    Edited by: Sanyev Babu on Feb 15, 2009 10:25 PM

  • Deploy the .ear file in Oracle 10g Application server10.1.3

    Hi Friends,
    I have deploy the .ear file in Oracle10g Application Sever 10.1.3 through Enterprise Manager. in Progress Messages shows the application has been successfully deployed,like this
    when i hit the URL in Web brower, i got a HTTP 403 showing.............
    Plz help me ..............
    Sep 27, 2008 12:11:41 PM] Application Deployer for BO13 STARTS.
    [Sep 27, 2008 12:11:41 PM] Copy the archive to C:\product\10.1.3\OracleAS_1\j2ee\BO13Dev\applications\BO13.ear
    [Sep 27, 2008 12:11:42 PM] Initialize C:\product\10.1.3\OracleAS_1\j2ee\BO13Dev\applications\BO13.ear begins...
    [Sep 27, 2008 12:11:42 PM] Unpacking BO13.ear
    [Sep 27, 2008 12:11:49 PM] Done unpacking BO13.ear
    [Sep 27, 2008 12:11:49 PM] Unpacking backoffice.war
    [Sep 27, 2008 12:11:53 PM] Done unpacking backoffice.war
    [Sep 27, 2008 12:11:53 PM] Unpacking backoffice-help.war
    [Sep 27, 2008 12:11:57 PM] Done unpacking backoffice-help.war
    [Sep 27, 2008 12:11:57 PM] Unpacking resourceadapter-rar.rar
    [Sep 27, 2008 12:11:57 PM] Done unpacking resourceadapter-rar.rar
    [Sep 27, 2008 12:11:58 PM] Initialize C:\product\10.1.3\OracleAS_1\j2ee\BO13Dev\applications\BO13.ear ends...
    [Sep 27, 2008 12:11:58 PM] Starting application : BO13
    [Sep 27, 2008 12:11:58 PM] Initializing ClassLoader(s)
    [Sep 27, 2008 12:11:58 PM] Initializing EJB container
    [Sep 27, 2008 12:11:58 PM] Loading connector(s)
    [Sep 27, 2008 12:11:59 PM] Starting up resource adapters
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: shared-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: store-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: storeops-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: parameter-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: report-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: scheduler-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: workflow-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: item-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: employee-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: employee-webapp-app-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: journal-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: label-webapp-app-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: label-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: timemaintenance-ejb.jar
    [Sep 27, 2008 12:11:59 PM] Processing EJB module: timemaintenance-webapp-app-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: party-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: transaction-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: customer-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: calendar-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: currency-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: financial-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: till-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: tax-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: postprocessor-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: codelist-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: pricing-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: trigger-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: report-webapp-app-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: parameter-webapp-app-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: item-webapp-app-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: store-webapp-app-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: admin-webapp-app-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: dashboard-webapp-app-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: storeops-webapp-app-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: pricing-webapp-app-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: task-webapp-app-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: storeserver-webapp-app-ejb.jar
    [Sep 27, 2008 12:12:00 PM] Processing EJB module: transaction-webapp-app-ejb.jar
    [Sep 27, 2008 12:12:11 PM] Compiling EJB generated code
    [Sep 27, 2008 12:12:58 PM] Initializing EJB sessions
    [Sep 27, 2008 12:12:58 PM] Committing ClassLoader(s)
    [Sep 27, 2008 12:12:58 PM] Initialize backoffice begins...
    [Sep 27, 2008 12:12:58 PM] Initialize backoffice ends...
    [Sep 27, 2008 12:12:58 PM] Initialize backoffice-help begins...
    [Sep 27, 2008 12:12:58 PM] Initialize backoffice-help ends...
    [Sep 27, 2008 12:12:58 PM] Started application : BO13
    [Sep 27, 2008 12:12:58 PM] Binding web application(s) to site default-web-site begins...
    [Sep 27, 2008 12:12:58 PM] Binding backoffice web-module for application BO13 to site default-web-site under context root backoffice13dev
    [Sep 27, 2008 12:13:01 PM] Initializing Servlet: org.springframework.web.context.ContextLoaderServlet for web application backoffice
    [Sep 27, 2008 12:13:01 PM] Initializing Servlet: org.quartz.ee.servlet.QuartzInitializerServlet for web application backoffice
    [Sep 27, 2008 12:13:01 PM] Initializing Servlet: org.apache.struts.action.ActionServlet for web application backoffice
    [Sep 27, 2008 12:13:05 PM] Binding backoffice-help web-module for application BO13 to site default-web-site under context root backoffice-help
    [Sep 27, 2008 12:13:05 PM] Initializing Servlet: oracle.help.web.OHWController for web application backoffice-help
    [Sep 27, 2008 12:13:06 PM] Initializing Servlet: oracle.cabo.servlet.UIXServlet for web application backoffice-help
    [Sep 27, 2008 12:13:06 PM] Binding web application(s) to site default-web-site ends...
    [Sep 27, 2008 12:13:06 PM] Application Deployer for BO13 COMPLETES. Operation time: 85020 msecs
    Thanks
    Hari

    Can you tell me what's the status of components (value of "In sync" column) when you run "dcmctl getState" command?
    Thanks
    Shail

  • Deployment of ear file - invalid file

    Hi,
    i'm trying to deploy an ear file using the ANT wldeploy tasks.
    The file contains
    - ejb (separate jar for the client interfaces)
    - jpa persistence
    - webapp.
    The app server is 10.3.3
    I can deploy the ear via eclipse with no problems on my local server.
    When i try and publish/deploy on a remote server i get an error [Caused by: weblogic.deployment.EnvironmentException: duplicate persistence units with name . . .]
    Hence the attept to depoy via ant. This method fails even on my local server. Saying the (ear) file is invalid.
    It seems that the 'publish' action in eclipse performs modifications on the ear that the simple file->export->ear in eclipse doesnt do.
    I then tried to package the the environment in the split directory structure (up until then i just used the standard eclipse setup - multiple java/j2ee projects).
    That attempt failed at the wlappc stage. ArrayIndexOutofRange exception.
    Any ideas ?
    thanks,
    Michael

    Hi Steve,
    i've attached the stacktrace below.
    It seems to me that the ear file is either unpacked incorrectly (ending up with two persistence xml files) or eclipse isn't packageing them the 'weblogic way'.
    I found the cause of the ArrayIndexArrayOutofBounds exception when packageing with the wlappc task in the split directory setup: the references to the ejb and web modules in the application.xml have .jar/.war suffixes:
    <module>
    <ejb>ejbapp.jar</ejb>
    removing these and the ear builds fine with wlcompile/wlappc. So i can package the ear using wlcompile/wlappc and deploy the ear manually via the admin console. unfortunately i still have to remove the suffixes. working on an xslt script to fix the suffixes.... :-)
    cheers,
    Michael
    Remote deployment error from eclipse:
    java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
         at oracle.eclipse.tools.weblogic.server.internal.DeploymentProgressListener.watch(DeploymentProgressListener.java:190)
         at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:466)
         at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1420)
         at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:861)
         at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:655)
         at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:522)
         at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:775)
         at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2889)
         at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:337)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: weblogic.management.DeploymentException:
         at weblogic.application.internal.flow.ParseJpaDescriptorFlow.prepare(ParseJpaDescriptorFlow.java:44)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         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:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: weblogic.deployment.EnvironmentException: duplicate persistence units with name myapp_persistence in scope myapp. First PU location: file:/var/opt/oracle/middleware/user_projects/domains/ecm_domain/servers/AdminServer/tmp/_WL_user/myapp/upzgei/lib/myapp_persistence.jar. Second PU location: file:/var/opt/oracle/middleware/user_projects/domains/ecm_domain/servers/AdminServer/tmp/_WL_user/myapp/upzgei/APP-INF/lib/myapp_persistence.jar
         at weblogic.deployment.AbstractPersistenceUnitRegistry.assertNoDuplicate(AbstractPersistenceUnitRegistry.java:313)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.processDescriptor(AbstractPersistenceUnitRegistry.java:291)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:192)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptors(AbstractPersistenceUnitRegistry.java:101)
         at weblogic.deployment.EarPersistenceUnitRegistry.<init>(EarPersistenceUnitRegistry.java:55)
         at weblogic.application.internal.flow.ParseJpaDescriptorFlow.prepare(ParseJpaDescriptorFlow.java:39)

  • EXCEPTION in deploying ear file on weblogic server 11g

    Hi, I am trying to deploy an ear file on the weblogic server 11g(10.3.5) application installed successfully but when i tried to start application to listen service requests its throws exceptions and application state changed from prepared to failed
    I have unchecked the check box Auto generate and synchronize weblogic JDBC descriptors during deployment in application properties under the deployment node. I also have created same jdbc datasource with name Connection1 and JINDI name jdbc/Connection1 on my weblogic server.
    Exceptions that application throwing are.
    Message icon - Error weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=hr for data source Connection1
    But when I tried to deploy this from jdeveloper deployment console directly on the server it deployed successfully and starts listening requests.
    please give me solution of this problem.
    Thanks in advance
    Edited by: Rao on Nov 29, 2012 10:22 AM
    Edited by: Rao on Nov 29, 2012 10:23 AM

    I have resolved this exception. Exception occur due wrong settings in weblogig_Application.xml file remove Data source information from this file and provide datasource on weblogic server.

  • Error after Deploying a .ear File

    Hi,
    I have deployed an .ear file on the SAP J2EE engine 6.20 on EP6.0 sp2. When I access one of the JSP's, I am getting a NoClassDefFound exception even though the particular jar (xml-apis.jar) file containing the class is in the additional-lib directory. Also, the jar file has been added to the classpath in go.bat? What other changes are to be done for a successful deployment?
    Environment :EP6.0, sp2 hotfix4 on Windows 2003, MS SQL server DB.
    Please reply ASAP
    Thanks
    Bhanu

    hello,
    have you tried including the 3rd party jar in your EAR file itself?
    i use a number of external jars in my web app and ejb, including some xml parsing classes. what i did was to put them all in the EAR, at the root level, in other words, not in a sub-directory. then in my WAR's meta-inf/MANIFEST.MF file reference them in the Class-path. do simililar thing for the ejbs if necessary.
    when you tried to use the inqxml instead, did you make a reference in manager/referecen.txt from your app to the inqmy library? if so, did you look into the inqmyxml.jar to see if the Node class is actually there?
    regards,
    wentao

Maybe you are looking for

  • Can I designate what specific playlists I want to play in order or shuffle?

    With either the newer or older version of iTunes, is there a way I can designate a specific playlist to play in order or shuffle? I have specific playlists that I want to play in a particular order. I also others that I wouldn't mind shuffling them.

  • Need refund on printer I returned

    I am very frustrated...I had a problem with my hp deskjet 3050 j610a after getting a new Dell computer which has Windows 8 instead of Windows 7 that was on my old computer...I spoke with a customer service rep and they said I could get a "refurbished

  • Change on process chain not visible in display mode after transport

    All, We have changed a process chain where message notification was active in development. We have deleted the notification and created a transport. This has been released and implemented into the QA system without a problem. When displaying the new

  • T/x applicatio​n buttons

    other than the home button on my plam tx the others are wrong.  the web button brings up the notepad and the calendar button bring up the contacts and the contacts button brings up the tasks.  is this a factory goof or is there a way to assign apps t

  • Ink not coming out from new cartridge

    I purchased the color and black cartridge from HP store. After installation the black ink is not coming out. Tried and checked all software settings and it seems the cartridge have some problem. Contacted customer service but no help. Can any one hel