Error when deploying as ear, ok when deploying as war, why?

Hello all,
I have a strange problem with a JSF project that uses myfaces and shale. I'm using Netbeans 5.5, and all works fine when the web application is deployed independently as a war, but when deploy the full ear i have the following error:
java.lang.NullPointerException
at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:75)
. I'm using a 'mock' application with no complex ejbs and jsps, so I discard a component problem. Someone have experimented this problem?
Thanks in advance.

Thanks vbk,
I resolved 'partially' the problem not including the myfaces jars in the ear. So the application server uses the sun jsf implementation and all works fine. lamentably I don't know the answer, i suppose a class loading preference problem ... I any case, i would be interested if someone uses the myfaces implementation in the sun app server 9 (myfaces includes some interesting features). I proved the myfaces 1.1.3, 1.1.4 and 1.1.5 versions and all have the same problem.
In relation with this same post, i found anohter problem: shale tiger annotations make jee5 annotations fail. I looked in the shale forums and seems this combination is incompatible. Someone use tiger annotations?
Thanks.

Similar Messages

  • Error when deploying an EAR

    Hi,
    I think this is a common error for newbes. When I deploy an EAR I get the following,
    [24-dic-2009 12:42:35] Inicio de Application Deployer para MyFirstOC4JApp.
    [24-dic-2009 12:42:35] Copiar archivado en C:\oc4j\j2ee\home\applications\MyFirstOC4JApp.ear
    [24-dic-2009 12:42:35] Inicio de la inicialización de C:\oc4j\j2ee\home\applications\MyFirstOC4JApp.ear...
    [24-dic-2009 12:42:35] Desempaquetando MyFirstOC4JApp.ear
    [24-dic-2009 12:42:35] Desempaquetado listo MyFirstOC4JApp.ear
    [24-dic-2009 12:42:35] Desempaquetando EclipseLinkWeb.war
    [24-dic-2009 12:42:35] Desempaquetado listo EclipseLinkWeb.war
    [24-dic-2009 12:42:35] Fin de la inicialización de C:\oc4j\j2ee\home\applications\MyFirstOC4JApp.ear...
    [24-dic-2009 12:42:35] Iniciando la aplicación: MyFirstOC4JApp
    [24-dic-2009 12:42:35] Inicializando ClassLoaders
    [24-dic-2009 12:42:35] Inicializando contenedor EJB
    [24-dic-2009 12:42:35] Cargando conectores
    [24-dic-2009 12:42:35] Iniciando los adaptadores de recursos
    [24-dic-2009 12:42:35] estado fallido de la aplicación: MyFirstOC4JApp
    [24-dic-2009 12:42:35] Operation failed with error: Falta la clase: org.eclipse.persistence.jpa.PersistenceProvider Clase Dependiente: com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl Cargador: oc4j:10.1.3 Origen del Código: /C:/oc4j/j2ee/home/lib/oc4j-internal.jar Configuración: in META-INF/boot.xml in C:\oc4j\j2ee\home\oc4j.jar Esta carga se ha iniciado en MyFirstOC4JApp.root:0.0.0 mediante el método Class.forName(). La clase que falta no está disponible desde ningún origen de código o cargador del sistema.
    Well, the text is into Spanish but I think you know what it means.
    For mor information, this is what ten comman line console says,
    2009-12-24 12:42:35.359 NOTIFICATION Inicio de Application Deployer para MyFirst
    OC4JApp.
    2009-12-24 12:42:35.390 NOTIFICATION Copiar archivado en C:\oc4j\j2ee\home\appli
    cations\MyFirstOC4JApp.ear
    2009-12-24 12:42:35.390 NOTIFICATION Inicio de la inicializaci¾n de C:\oc4j\j2ee
    \home\applications\MyFirstOC4JApp.ear...
    2009-12-24 12:42:35.390 NOTIFICATION Auto-unpacking C:\oc4j\j2ee\home\applicatio
    ns\MyFirstOC4JApp.ear...
    2009-12-24 12:42:35.406 NOTIFICATION Desempaquetando MyFirstOC4JApp.ear
    2009-12-24 12:42:35.406 NOTIFICATION Unjar C:\oc4j\j2ee\home\applications\MyFirs
    tOC4JApp.ear in C:\oc4j\j2ee\home\applications\MyFirstOC4JApp
    2009-12-24 12:42:35.453 NOTIFICATION Desempaquetado listo MyFirstOC4JApp.ear
    2009-12-24 12:42:35.453 NOTIFICATION Finished auto-unpacking C:\oc4j\j2ee\home\a
    pplications\MyFirstOC4JApp.ear
    2009-12-24 12:42:35.468 NOTIFICATION Auto-unpacking C:\oc4j\j2ee\home\applicatio
    ns\MyFirstOC4JApp\EclipseLinkWeb.war...
    2009-12-24 12:42:35.468 NOTIFICATION Desempaquetando EclipseLinkWeb.war
    2009-12-24 12:42:35.468 NOTIFICATION Unjar C:\oc4j\j2ee\home\applications\MyFirs
    tOC4JApp\EclipseLinkWeb.war in C:\oc4j\j2ee\home\applications\MyFirstOC4JApp\Ecl
    ipseLinkWeb
    2009-12-24 12:42:35.703 NOTIFICATION Desempaquetado listo EclipseLinkWeb.war
    2009-12-24 12:42:35.703 NOTIFICATION Finished auto-unpacking C:\oc4j\j2ee\home\a
    pplications\MyFirstOC4JApp\EclipseLinkWeb.war
    2009-12-24 12:42:35.734 NOTIFICATION Fin de la inicializaci¾n de C:\oc4j\j2ee\ho
    me\applications\MyFirstOC4JApp.ear...
    2009-12-24 12:42:35.734 NOTIFICATION Iniciando la aplicaci¾n: MyFirstOC4JApp
    2009-12-24 12:42:35.734 NOTIFICATION Inicializando ClassLoaders
    2009-12-24 12:42:35.734 NOTIFICATION Inicializando contenedor EJB
    2009-12-24 12:42:35.750 NOTIFICATION Cargando conectores
    2009-12-24 12:42:35.781 NOTIFICATION Iniciando los adaptadores de recursos
    2009-12-24 12:42:35.796 NOTIFICATION estado fallido de la aplicaci¾n: MyFirstOC4
    JApp
    09/12/24 12:42:35 ADVERTENCIA: Application.setConfig Application: MyFirstOC4JApp
    is in failed state as initialization failed.
    com.evermind.server.ejb.exception.DeploymentException: [MyFirstOC4JApp]: Excepci
    ¾n al crear EntityManagerFactory con la clase PersistenceProvider org.eclipse.pe
    rsistence.jpa.PersistenceProvider para la unidad de persistencia example.
    09/12/24 12:42:35 oracle.oc4j.admin.internal.DeployerException: java.lang.Instan
    tiationException: Application: MyFirstOC4JApp is in failed state as initializati
    on failed
    09/12/24 12:42:35 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
    lication(ApplicationDeployer.java:779)
    09/12/24 12:42:35 at oracle.oc4j.admin.internal.ApplicationDeployer.doDepl
    oy(ApplicationDeployer.java:273)
    09/12/24 12:42:35 at oracle.oc4j.admin.internal.DeployerBase.execute(Deplo
    yerBase.java:100)
    09/12/24 12:42:35 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeploy
    erRunnable.doRun(OC4JDeployerRunnable.java:52)
    09/12/24 12:42:35 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRu
    nnable.run(DeployerRunnable.java:81)
    09/12/24 12:42:35 at com.evermind.util.ReleasableResourcePooledExecutor$My
    Worker.run(ReleasableResourcePooledExecutor.java:298)
    09/12/24 12:42:35 at java.lang.Thread.run(Thread.java:595)
    09/12/24 12:42:35 Caused by: java.lang.InstantiationException: Application: MyFi
    rstOC4JApp is in failed state as initialization failed
    09/12/24 12:42:35 at com.evermind.server.Application.setConfig(Application
    .java:518)
    09/12/24 12:42:35 at com.evermind.server.Application.setConfig(Application
    .java:361)
    09/12/24 12:42:35 at com.evermind.server.ApplicationServer.addApplication(
    ApplicationServer.java:1919)
    09/12/24 12:42:35 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
    lication(ApplicationDeployer.java:776)
    09/12/24 12:42:35 ... 6 more
    09/12/24 12:42:35 Caused by: com.evermind.server.ejb.exception.DeploymentExcepti
    on: [MyFirstOC4JApp]: Excepci¾n al crear EntityManagerFactory con la clase Persi
    stenceProvider org.eclipse.persistence.jpa.PersistenceProvider para la unidad de
    persistencia example.
    09/12/24 12:42:35 at com.evermind.server.ejb.exception.DeploymentException
    .exceptionCreatingEntityManagerFactory(DeploymentException.java:130)
    09/12/24 12:42:35 at com.evermind.server.ejb.persistence.PersistenceUnitMa
    nagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:19
    7)
    09/12/24 12:42:35 at com.evermind.server.ejb.persistence.PersistenceUnitMa
    nagerImpl.initializePersistenceUnit(PersistenceUnitManagerImpl.java:159)
    09/12/24 12:42:35 at com.evermind.server.ejb.persistence.PersistenceUnitMa
    nagerImpl.initialize(PersistenceUnitManagerImpl.java:87)
    09/12/24 12:42:35 at com.evermind.server.ApplicationStateRunning.initializ
    eApplication(ApplicationStateRunning.java:232)
    09/12/24 12:42:35 at com.evermind.server.Application.setConfig(Application
    .java:460)
    09/12/24 12:42:35 ... 9 more
    09/12/24 12:42:35 Caused by: oracle.classloader.util.AnnotatedClassNotFoundExcep
    tion:
    Falta la clase: org.eclipse.persistence.jpa.PersistenceProvider
    Clase Dependiente: com.evermind.server.ejb.persistence.PersistenceUnitMa
    nagerImpl
    Cargador: oc4j:10.1.3
    Origen del C¾digo: /C:/oc4j/j2ee/home/lib/oc4j-internal.jar
    Configuraci¾n: <code-source> in META-INF/boot.xml in C:\oc4j\j2ee\home
    \oc4j.jar
    Esta carga se ha iniciado en MyFirstOC4JApp.root:0.0.0 mediante el mÚtodo Class.
    forName().
    La clase que falta no estß disponible desde ning·n origen de c¾digo o cargador d
    el sistema.
    09/12/24 12:42:35 at oracle.classloader.PolicyClassLoader.handleClassNotFo
    und(PolicyClassLoader.java:2204)
    09/12/24 12:42:35 at oracle.classloader.PolicyClassLoader.internalLoadClas
    s(PolicyClassLoader.java:1726)
    09/12/24 12:42:35 at oracle.classloader.PolicyClassLoader.loadClass(Policy
    ClassLoader.java:1682)
    09/12/24 12:42:35 at oracle.classloader.PolicyClassLoader.loadClass(Policy
    ClassLoader.java:1667)
    09/12/24 12:42:35 at java.lang.ClassLoader.loadClassInternal(ClassLoader.j
    ava:319)
    09/12/24 12:42:35 at java.lang.Class.forName0(Native Method)
    09/12/24 12:42:35 at java.lang.Class.forName(Class.java:242)
    09/12/24 12:42:35 at com.evermind.server.ejb.persistence.PersistenceUnitMa
    nagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:19
    2)
    09/12/24 12:42:35 ... 13 more
    2009-12-24 12:42:35.859 NOTIFICATION Fallo de Application Deployer para MyFirstO
    C4JApp.
    2009-12-24 12:42:35.859 NOTIFICATION Inicio de Application UnDeployer para MyFir
    stOC4JApp.
    2009-12-24 12:42:35.875 NOTIFICATION Eliminando todos los enlaces Web para la ap
    licaci¾n MyFirstOC4JApp de todas las direcciones Web
    2009-12-24 12:42:36.109 NOTIFICATION Se ha terminado Application UnDeployer para
    MyFirstOC4JApp.
    09/12/24 12:42:36 ADVERTENCIA: DeployerRunnable.run java.lang.InstantiationExcep
    tion: Application: MyFirstOC4JApp is in failed state as initialization failedora
    cle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: App
    lication: MyFirstOC4JApp is in failed state as initialization failed
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:133
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
    (OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
    yerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Application: MyFirstOC4JApp is in f
    ailed state as initialization failed
    at com.evermind.server.Application.setConfig(Application.java:518)
    at com.evermind.server.Application.setConfig(Application.java:361)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
    r.java:1919)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
    tionDeployer.java:776)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:273)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100
    ... 4 more
    Caused by: com.evermind.server.ejb.exception.DeploymentException: [MyFirstOC4JAp
    p]: Excepci¾n al crear EntityManagerFactory con la clase PersistenceProvider org
    .eclipse.persistence.jpa.PersistenceProvider para la unidad de persistencia exam
    ple.
    at com.evermind.server.ejb.exception.DeploymentException.exceptionCreati
    ngEntityManagerFactory(DeploymentException.java:130)
    at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.create
    ContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:197)
    at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initia
    lizePersistenceUnit(PersistenceUnitManagerImpl.java:159)
    at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initia
    lize(PersistenceUnitManagerImpl.java:87)
    at com.evermind.server.ApplicationStateRunning.initializeApplication(App
    licationStateRunning.java:232)
    at com.evermind.server.Application.setConfig(Application.java:460)
    ... 9 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
    Falta la clase: org.eclipse.persistence.jpa.PersistenceProvider
    Clase Dependiente: com.evermind.server.ejb.persistence.PersistenceUnitMa
    nagerImpl
    Cargador: oc4j:10.1.3
    Origen del C¾digo: /C:/oc4j/j2ee/home/lib/oc4j-internal.jar
    Configuraci¾n: <code-source> in META-INF/boot.xml in C:\oc4j\j2ee\home
    \oc4j.jar
    Esta carga se ha iniciado en MyFirstOC4JApp.root:0.0.0 mediante el mÚtodo Class.
    forName().
    La clase que falta no estß disponible desde ning·n origen de c¾digo o cargador d
    el sistema.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassL
    oader.java:2204)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoa
    der.java:1726)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java
    :1682)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java
    :1667)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.create
    ContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:192)
    ... 13 more
    09/12/24 12:42:36 GRAVE: ProgressObjectImpl.reportError java.lang.InstantiationE
    xception: Application: MyFirstOC4JApp is in failed state as initialization faile
    doracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.Instantiat
    ionException: Application: MyFirstOC4JApp is in failed state as initialization f
    ailed
    at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(Notif
    icationUserData.java:107)
    at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:130
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
    (OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
    yerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.Instantiation
    Exception: Application: MyFirstOC4JApp is in failed state as initialization fail
    ed
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:133
    ... 4 more
    Caused by: java.lang.InstantiationException: Application: MyFirstOC4JApp is in f
    ailed state as initialization failed
    at com.evermind.server.Application.setConfig(Application.java:518)
    at com.evermind.server.Application.setConfig(Application.java:361)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
    r.java:1919)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
    tionDeployer.java:776)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:273)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100
    ... 4 more
    Caused by: com.evermind.server.ejb.exception.DeploymentException: [MyFirstOC4JAp
    p]: Excepci¾n al crear EntityManagerFactory con la clase PersistenceProvider org
    .eclipse.persistence.jpa.PersistenceProvider para la unidad de persistencia exam
    ple.
    at com.evermind.server.ejb.exception.DeploymentException.exceptionCreati
    ngEntityManagerFactory(DeploymentException.java:130)
    at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.create
    ContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:197)
    at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initia
    lizePersistenceUnit(PersistenceUnitManagerImpl.java:159)
    at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initia
    lize(PersistenceUnitManagerImpl.java:87)
    at com.evermind.server.ApplicationStateRunning.initializeApplication(App
    licationStateRunning.java:232)
    at com.evermind.server.Application.setConfig(Application.java:460)
    ... 9 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
    Falta la clase: org.eclipse.persistence.jpa.PersistenceProvider
    Clase Dependiente: com.evermind.server.ejb.persistence.PersistenceUnitMa
    nagerImpl
    Cargador: oc4j:10.1.3
    Origen del C¾digo: /C:/oc4j/j2ee/home/lib/oc4j-internal.jar
    Configuraci¾n: <code-source> in META-INF/boot.xml in C:\oc4j\j2ee\home
    \oc4j.jar
    Esta carga se ha iniciado en MyFirstOC4JApp.root:0.0.0 mediante el mÚtodo Class.
    forName().
    La clase que falta no estß disponible desde ning·n origen de c¾digo o cargador d
    el sistema.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassL
    oader.java:2204)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoa
    der.java:1726)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java
    :1682)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java
    :1667)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.create
    ContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:192)
    ... 13 more
    Any help will be appreciate.
    Merry Christmas,
    Jose

    Broker log has this entry in it:
    [23/Feb/2011:03:43:57 UTC] WARNING [B3168]: Invalid broker address for this broker to run in cluster: Loopback IP address is not allowed in broker address mq://127.0.0.1:7676/?instName=imqbroker&brokerSessionUID=6326201025350530816 for cluster
    [23/Feb/2011:03:43:57 UTC] WARNING [B1137]: Cluster initialization failed. Disabling the cluster service.
    When looking at the working instance, this warning is not displayed but instead is displayed as:
    [25/Jan/2011:17:06:49 MST] [B1041]: Cluster initialization successful.
    I am not sure what setting needs to change here though.
    I was looking at the code and is seems that the combination of not using a cluster and that glassfish sends a namespace prefix to JMS is what results in this final error being thrown.
    Edited by: user4187078 on Feb 23, 2011 8:33 AM

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

  • Error Exception in AppMerge flows' progression when deploying ear file

    Trying to deploy an EAR file containing EJBs, JMS and JDBC modules to WebLogic 10.3.3 via the Admin Console. Getting the following list of errors, which display in the console:
    Error Unable to access the selected application.
    Error Exception in AppMerge flows' progression
    Error Exception in AppMerge flows' progression
    Error '/' expected a valid beginning name character
    Error '/' expected a valid beginning name character
    i'm unable to find any deployment log files that might tell me what exactly is producing the above-listed errors so they are all I have to go on....
    Anyone have any hints or ideas as to what might be going on?

    Hi Brayn,
    With *"App Merge Flows Error"* One thing is clear that there is something wrong with the Module Deployment descriptors inside your Application. We need to find that out first which XML file is corrupted. As the Log which u have pasted is not having much details in it...so u can try one thing may be we will get something new...
    <b><font color=maroon>Step1).</font></b> Open a Command prompt or Shell Prompt and then (For Windows Based OS) run “setWLSEnv.cmd”
    For Unix Based OS:
    run the “setWLSEnv.sh” by adding two DOTs separated by a single space …..before the actual script like following : (use ‘cd’ command to move inside the /wlserver_10.3/server/bin) then run the following command….
    . ./setWLSEnv.sh
    Note: The first DOT represents that set the Environment in the current Shell, AND the second ./ represents execute the script from the current directory.
    <b><font color=maroon>Step2).</font></b> Verify that the Classpath is Set properly or not: (for WINDOWS: echo %CLASSPATH%)
    echo $CLASSPATH
    <b><font color=maroon>Step3).</font></b> In the same command Prompt Move in the directory where u have placed your EAR Application and then run the following WebLogic Utility to generate the New Deployment descriptors...
    java weblogic.DDConverter  -d . YourEarApplication.ear
    <font color=red>
    It will read the EAR file and outside of the EAR application it will generate the fresh XML files.
    NOTE: the actual use of weblogic.DDConverter tool is not intended to debug the XML content issues....it is actually used to generate the Old Deployment descriptors to the current WebLogic Version Deployment Descriptors......But I have many times used it to see if there is any issue with the XML descriptors...Because sometimes While converting the Deployment descriptors it throws the Error ... Pointing to the incorrect XML file....So may be it will be useful for u as well..to identify which XML file is corrupted.
    </font>
    If you find any XML which is wrong please post that XML file sothat we can see what's the issue with that.
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic/ (WebLogic Wonders Are Here)

  • Java Heap Error when using Stateless Session Timer Bean deployed in Oracle

    Hi,
    Am getting following Java Heap Error when using Stateless Session Timer Bean deployed in Oracle 10g AS R3 (Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277) ):
    06/08/02 14:58:43 javax.ejb.EJBException: java.lang.OutOfMemoryError: Java heap space
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:304)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:67)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:45)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:71)
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1624)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:92)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:184)
    06/08/02 14:58:43 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    06/08/02 14:58:43 at java.lang.Thread.run(Thread.java:595)
    06/08/02 14:58:43 Caused by: java.lang.OutOfMemoryError: Java heap space
    I had tried using -Xms / -Xmx options (upto 1 GB).
    The trace of exception gets delayed (from being displayed on the console) as the memory size is increased; but after sometime it starts getting displayed on the console.
    Even though this exception is displayed on the console, the Timer Bean continues to execute upto sometime before it finally crashes!
    If anyone has encountered such problem; would appreciate if you could share the solution.
    Regards, Vidyadhar

    Hi guys, I have the same problem. I have an application EAR file with two modules (EJB and WAR starting in this order). The application can schedule a process via EJB timer. In this case restarting the server I receive the error above. If I change the modules start order --> WAR - EJB the server start correctly, but the application scheduler fails (the persistency is not working) with this error:
    07/10/09 10:30:54 FINISSIMO: TimerTask.runBeanTimer java.lang.NullPointerException; nested exception is: java.lang.NullPointerExceptionjavax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
    java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:309)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         ... 9 more
    Any idea?
    Thx Auro

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

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

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

  • I/O exception when deploying from .ear

    We are currently using Websphere Application Server 6.00.1
    and want to use Flex alongside struts. We also want to deploy the
    .war file the flex application resides in from an .ear file. When
    the .war file is deployed separately, the application runs without
    problems (at least for testing purposes) but when we put it inside
    an .ear file and change the web.xml accordingly:
    <context-param>
    <param-name>flex.class.path</param-name>
    <param-value>/WEB-INF/jars/lib</param-value>
    </context-param>
    an error occurs.
    does anyone know how to set the flex.class.path correctly
    when using an .ear? I saw another thread regarding WebLogic that
    mentioned Exploded Archive Directory but I don't know what that
    means exactly or how I would set it up for WAS.

    Hi,
    Could you please post the complete exception and the complete stack trace?
    Thanks,
    --mark                                                                                                                                                                                                       

  • Error when deploying to server. Offline deployment @currentUser

    So finally I am ready to deploy an LS HTML application to a webserver. I had to download and install the prereq offline, and think I got it right.
    However when I try to import the .zip file in IIS, I get the following error(the db gets created)
    An error occured during execution of the database script. The error occurred between the following lines of the script "5963" and
    "5981" The verbose log might have more information about the error. The command started with the following:
    "DECLARE @currentUser nvarchar(128)"
    I am not at all sure what is wrong. As stated I must import the app as a zip, since the server has no connection to the internet.
    Please, could somebody help me

    I don't believe win auth will work, this type of deployment needs sql server auth.
    What you can do is disable the automatic deployment of the db when importing the msdeploy package in IIS and install the sql file manually from sql server management studio. In that scenario you can easily use win auth for the connection to the db.
    The sql file is inside the zip, you'll find it.
    Good luck.
    paul van bladel ==independent enterprise application architect== http://blog.pragmaswitch.com

  • 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

  • Error when BOE 3.1 installer automatically deploys apps on websphere

    Hi,
    I am trying to install BOE 3.1 on AIX 5.3 using websphere 6.1. I created the websphere profile with no admin secure. In the installation i chose to automatically deploy the web apps on websphere. I provided the details of my websphere profile and specified no 'n' for the option admin is secure. I did not provide any details for the admin user and password.
    The installation goes on fine however all the deployments fail. This is one of the entries in BusinessObjects.12.1.log.summary:
    [error] Errcode 1: /home/<user>/BOE/BOEAIX/deployment/wdeploy.sh websphere6 -DAPP=AdminTools -Das_admin_password="*****" -Dlanglist="en" deploy
    Note that it is providing a password even though I haven't specified any.
    I tried manually deploying them using wdeploy. The details in config.websphere6 were all fine.
    I did not provide any special arguments:
    ./wdeploy.sh websphere6 deployall
    This successfully deployed all the applications.
    I would like the web app deployments to occur at the time of installation itself, please let me know if anybody has faced this problem or has any ideas to fix this.
    Thanks,
    Jithin
    Edited by: Jithin George on May 4, 2009 8:02 AM

    Hi Denis,
    Yes, I was surprised too that it worked with wdeploy.
    1. Yes I made use of the same user for both installation and wdeploy.
    2. I looked up BusinessObjects.12.1.log for more details and found this:
    [info] /home/<user>/BOE/BOEAIX/deployment/wcommon.xml:167: The following error
    occurred while executing this line:
    [info] /home/<user>/BOE/BOEAIX/deployment/websphere6.xml:237: Unable to connec
    t to websphere, please check the administrative user name and password, and the
    administration port, if specified.
    [info]
    [info] Total time: 4 seconds
    [error] Errcode 1: /home/<user>/BOE/BOEAIX/deployment/wdeploy.sh websphere6 -D
    APP=AdminTools -Das_admin_password="*****" -Dlanglist="en" deploy
    As I mentioned in my previous post, I did not provide any password or user(no admin security), yet it seems to provide it in the arguments to wdeploy.
    3. I made no change to WAS between the two actions. The only difference being that I did not provide any password to wdeploy. In the config.websphere6 file, the password line is commented out by default.
    4. I am using websphere 6.1.0.9
    Thanks,
    Jithin

  • Error while creating a iView for a deployed EAR File on EP

    Hi Guys,
                      I have a EAR file deployed on Portal. Now When I am trying to create a URL  iView its showing error which probably is due to the Same Machine (Portal installation and EAR). But I have  to make a iView for that.Can anyone give me a idea how I can create it?
    Thanks in Advance
    Somil

    Hi
    Is URL working properly . try checking first whether EAR file when run through URL is working properly.
    if it is working let us know what error message you are getting.
    Thank you

  • Error while deploying Java EAR including flex

    I am developing Flex + Java in RAD 6.0, codes run correctly.
    But when I want to deploy the ear file of the whole application.
    Error is raised while deploying the flex folder under
    WEB-INF. Following the detailed information:
    Anyone know how to solve this error? Thank you.
    om.ibm.wtp.common.wft.util.WFTWrappedException: Error
    exporting EAR file.
    com.ibm.etools.j2ee.commonarchivecore.exception.SaveFailureException:
    WEB-INF/flex/.#remoting-config.xml.1.3
    !Stack_trace_of_nested_exce!
    org.eclipse.core.internal.resources.ResourceException:
    Resource /centrakDemo/WebContent/WEB-INF/flex does not exist.
    at
    org.eclipse.core.internal.resources.Resource.checkExists(Unknown
    Source)
    at
    org.eclipse.core.internal.resources.Resource.checkAccessible(Unknown
    Source)
    at
    org.eclipse.core.internal.resources.File.getContents(Unknown
    Source)
    at org.eclipse.core.internal.resources

    what is the actual filename of the remoting-config file?
    Is is exactly ".#remoting-config.xml.1.3"? I'm not sure the #
    is a legitimate filename character. Looks to me like you're
    intending to exclude this file and are 'commenting it out'. Try
    removing the file completely, or rename it to something that's
    legit. You should be able to find the source for
    org.eclipse.core.internal.resources.Resource.checkExists on google
    if that doesn't work, and see what it's doing.
    Tim

  • Error while deploying the ear fie

    When I try to deploy the EAR file from the Netweaver Studio to the CE environment getting the below error..I am using both trial versions and this is my first application trying to test. Is there any preliminary configuration we need to do.
    Please help me out in resolving the error.
    Aug 11, 2007 1:17:00 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [002]Deployment aborted
    Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !

    Hi,
    <b><u>Just restart the server and try deploying again</u>.</b>
    Also refer to following links.
    <b>How to configure "J2EE Engine/SDM" and Deploy new archive and run</b> - How to configure "J2EE Engine/SDM" and Deploy new archive and run
    <b>SDM Error when Deploying Web Dynpro Application</b>   - Cannot determine sdm host error
    <b>error SDM "Deployment exception : Cannot determine sdm host (is empty). "</b>  - error SDM "Deployment exception : Cannot determine sdm host (is empty). "
    <b>Error: Cannot determine sdm host (is empty).</b>  - Deploy Error: Cannot determine sdm host (is empty).
    <b>Deploy Error: Cannot determine sdm host (is empty).</b>  - Deploy Error: Cannot determine sdm host (is empty).
    I hope this will help you.
    Regards,
    Vaibhav

Maybe you are looking for