Deploying the SQLJ files used by the Rentals EJB

In a previous section of the documentation for acmevideo demo, we
address the issue of deployment of the Rentals EJB. This contains
the rentals.sqlj file.
Due to an issue with the current versio of Oracle 8i(8.1.5), a
workaround must be deployed to explicitly deploy the *.ser file
used by the Rentals EJB to the Oracle 8i database. (I don't know
or understand what the issue is - can someone explain ?)
Anyway, I am using Oracles suggested workaround and the
deployment fails.
Here is the text:
*** Invoking the Oracle JDeveloper deployment utility ***
Scanning project files...done
Generating classpath dependencies...done
Generating archive entries table...done
Writing archive...done
*** Invoking the Oracle8i deployment utility ***
interrupted by user
<The dialog in JDeveloper displays>:
Cannot load java classes into database
Any suggestions or tips how to get this working ?
Regards,
Mark Battersby
null

Mark,
I had the same problem. Have you increased your Java_pool and
your shared pool? That and having the right classpath/path
helped. Also, I think that there are some SQL prep scripts that
need to be run.
Todd Kromann
mark tomlinson (guest) wrote:
: You might try using the command line version of the deployejb
: tool and see if you can get a more verbose error message
: (Jdeveloper might be 'eating' the errors coming back). I have
: seen that happen when the loadjava portion of deployment would
: fail (i.e. not getting back an error).
null

Similar Messages

  • Deploying a Par file using ANT

    Hi All,
    Can anyone tell me the steps how to deploy a PAR file using ant script on netweaver server.Give me some sample ant file.Suggestions will be rewarded.
    Thank you in advance.
    Regards,
    Karthick

    Hi Karthick,
    see PAR-File deployment with ANT (EP6)
    Hope it helps
    Detlev

  • Deployment of .war file using JMX in jboss 4.0.5 GA

    Hi,
    Can anyone help me out in the steps of deployment of .war file using JMX in JBOSS 4.0.5 server.I went through the documentation in jboss.org but couldn't find a suitable one though there were many.Any links/url that you know about the deployment process will also be helpful to me.
    Thanks

    You're probably using an older version of JavaMail where there was a bug in the example
    DummySSLSocketFactory. Download the latest version and the example is correct.
    Also, if you're using DummySSLSocketFactory just to control which servers you trust,
    JavaMail 1.4.3 has some properties that will make this easier for you and avoid the need
    for DummySSLSocketFactory. In particular, see the mail.imaps.ssl.trust property.

  • WL tries to deploy utility jar file in .ear as an EJB

    I have an ear containing two ejb jars, one webapp war and a utility jar
    (common.jar). Deploying to
    WebLogic 6.1 sp2 results in deployment errors because WebLogic thinks
    the common.jar in a
    lib directory in the ear is an ejb jar:
    ==================================================================
    ><Apr 22, 2002 4:42:36 PM MDT> <Error> <J2EE> <Error deploying
    >application lib/common:
    >
    >Unable to deploy EJB: lib/common.jar from lib/common.jar:
    >
    >An error occurred while reading the deployment descriptor. The error was:
    > java.io.FileNotFoundException: META-INF/ejb-jar.xml not found in jar file
    > at weblogic.ejb20.dd.xml.DDUtils.getEntry(DDUtils.java:332)
    > at weblogic.ejb20.dd.xml.DDUtils.getEjbJarXml(DDUtils.java:236)
    >.........
    >===================================================================
    Why does it think common.jar contains an EJB? My application.xml is:
    >
    ><application>
    > <display-name>TestUnit</display-name>
    > <module>
    > <ejb>TestUnit1.jar</ejb>
    > </module>
    > <module>
    > <ejb>TestUnit2.jar</ejb>
    > </module>
    > <module>
    > <web>
    > <web-uri>WebApp1.war</web-uri>
    > <context-root>WebApp1</context-root>
    > </web>
    > </module>
    ></application>

    Hi.
    Please open a case with support.
    Regards,
    Michael
    Rick Holland wrote:
    I have an ear containing two ejb jars, one webapp war and a utility jar
    (common.jar). Deploying to
    WebLogic 6.1 sp2 results in deployment errors because WebLogic thinks
    the common.jar in a
    lib directory in the ear is an ejb jar:
    ==================================================================
    <Apr 22, 2002 4:42:36 PM MDT> <Error> <J2EE> <Error deploying
    application lib/common:
    Unable to deploy EJB: lib/common.jar from lib/common.jar:
    An error occurred while reading the deployment descriptor. The error was:
    java.io.FileNotFoundException: META-INF/ejb-jar.xml not found in jar file
    at weblogic.ejb20.dd.xml.DDUtils.getEntry(DDUtils.java:332)
    at weblogic.ejb20.dd.xml.DDUtils.getEjbJarXml(DDUtils.java:236)
    ===================================================================Why does it think common.jar contains an EJB? My application.xml is:
    <application>
    <display-name>TestUnit</display-name>
    <module>
    <ejb>TestUnit1.jar</ejb>
    </module>
    <module>
    <ejb>TestUnit2.jar</ejb>
    </module>
    <module>
    <web>
    <web-uri>WebApp1.war</web-uri>
    <context-root>WebApp1</context-root>
    </web>
    </module>
    </application>
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Problems deploying SQLJ Files

    System: Windows NT4 SP6, JDEV 3.0, OAS 4.0.7, Oracle 8.1.5 EE
    I've attempting to run the ACME Video sample web application for
    Oracle 8i using JDEV 3.0. Everything goes well until the point
    of Deploying the SQLJ Files Used by the Rentals EJB. I've
    followed the directions religiously, but I get the following
    error. What am I doing wrong? Much appreciation for any
    information that you super gurus can give.
    Sherman
    *** Executing deployment profile C:\Program
    Files\Oracle\JDeveloper 3.0
    \samples\acmevideo\ejb\server\SQLJ.prf ***
    *** Generating archive file C:\Program Files\Oracle\JDeveloper
    3.0\myclasses\SQLJ_Untitled1.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Loading archive C:\Program Files\Oracle\JDeveloper 3.0
    \myclasses\SQLJ_Untitled1.jar into JServer using JDBC ***
    Load Java argument list:
    "C:\Program Files\Oracle\JDeveloper 3.0\java\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.0\bin;C:\Program
    Files\Oracle\JDeveloper 3.0\java\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.0
    \java\lib\classes.zip;C:\Program Files\Oracle\JDeveloper 3.0
    \lib\jdeveloper.zip;C:\Program Files\Oracle\JDeveloper 3.0
    \myclasses;C:\Program Files\Oracle\JDeveloper 3.0
    \sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.0
    \jdbc\lib\oracle8.1.5\classes111.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\javax_ejb.zip;C:\Program
    Files\Oracle\JDeveloper 3.0
    \aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper
    3.0\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \java\lib\classes.zip;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper
    3.0\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper
    .0\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \jdbc\lib\oracle8.1.5\classes111.zip"
    oracle.aurora.server.tools.LoadJavaMain
    -user
    acme/acme@orant_lang:1521:ntdev81
    -thin
    -verbose
    -resolve
    "C:\Program Files\Oracle\JDeveloper 3.0
    \myclasses\SQLJ_Untitled1.jar"
    AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
    Copyright (c) 1997-1998 Borland International. All Rights
    Reserved.
    Copyright (c) 1997-1999 Oracle Corporation. All Rights Reserved.
    interrupted by user
    loadjava: 1 errors
    *** Errors occurred while loading the archive into JServer ***
    *** Deployment completed ***
    null

    Sherman,
    I'm not seeing the same behavior when I try it here. You can use
    the command line utility loadjava (which is basically all the
    JDeveloper Deployment Wizard is doing as you can see from the
    output).
    For example:
    loadjava -user acme/acme@orant_lang:1521:ntdev81 -thin -verbose
    -resolve "C:\Program Files\Oracle\JDeveloper3.0
    \myclasses\SQLJ_Untitled1.jar"
    The Oracle8i Java Stored Procedures Guide contains the details
    and arguments list. There is a loadjava.bat file in your
    JDEV_Home\bin directory.
    Hope this helps,
    Laura
    Sherman Spencer (guest) wrote:
    : Thanks for your response. Yes this happens consistently. I've
    : tried using Project|Deploy|SQLJ.prf to deploy the SQLJ Files
    : several times to no avail. I get the same error. Is there a
    : workaround or another method of accomplishing this.
    : JDev Team (guest) wrote:
    : : Sherman,
    : : Everything looks OK at first glance. The 'interupted by
    user'
    : : error usually occurs if the 'Cancel' button was hit (perhaps
    : : inadvertently) on the deployment messages dialog.
    : : This is a modal dialog, and the default context is that
    Cancel
    : : button, so if you hit the Enter key it may have triggered the
    : : interuption.
    : : Does this happen consistently?
    : : Laura
    : : Sherman (guest) wrote:
    : : : System: Windows NT4 SP6, JDEV 3.0, OAS 4.0.7, Oracle 8.1.5
    EE
    : : : I've attempting to run the ACME Video sample web
    application
    : : for
    : : : Oracle 8i using JDEV 3.0. Everything goes well until the
    : point
    : : : of Deploying the SQLJ Files Used by the Rentals EJB. I've
    : : : followed the directions religiously, but I get the
    following
    : : : error. What am I doing wrong? Much appreciation for any
    : : : information that you super gurus can give.
    : : : Sherman
    : : : *** Executing deployment profile C:\Program
    : : : Files\Oracle\JDeveloper 3.0
    : : : \samples\acmevideo\ejb\server\SQLJ.prf ***
    : : : *** Generating archive file C:\Program
    : Files\Oracle\JDeveloper
    : : : 3.0\myclasses\SQLJ_Untitled1.jar ***
    : : : Compiling the project...done
    : : : Validating the profile...done
    : : : Initializing deployment...done
    : : : Scanning project files...done
    : : : Generating classpath dependencies...done
    : : : Generating archive entries table...done
    : : : *** Archive generation completed ***
    : : : *** Loading archive C:\Program Files\Oracle\JDeveloper 3.0
    : : : \myclasses\SQLJ_Untitled1.jar into JServer using JDBC ***
    : : : Load Java argument list:
    : : : "C:\Program Files\Oracle\JDeveloper 3.0\java\bin\javaw"
    : : : "-DPATH=C:\Program Files\Oracle\JDeveloper 3.0
    : \bin;C:\Program
    : : : Files\Oracle\JDeveloper 3.0\java\bin"
    : : : -classpath
    : : : "C:\Program Files\Oracle\JDeveloper 3.0
    : : : \java\lib\classes.zip;C:\Program Files\Oracle\JDeveloper
    3.0
    : : : \lib\jdeveloper.zip;C:\Program Files\Oracle\JDeveloper 3.0
    : : : \myclasses;C:\Program Files\Oracle\JDeveloper 3.0
    : : : \sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper
    3.0
    : : : \jdbc\lib\oracle8.1.5\classes111.zip;C:\Program
    : : : Files\Oracle\JDeveloper 3.0\lib\javax_ejb.zip;C:\Program
    : : : Files\Oracle\JDeveloper 3.0
    : : : \aurora\lib\aurora_client.jar;C:\Program
    : : Files\Oracle\JDeveloper
    : : : 3.0\aurora\lib\vbjorb.jar;C:\Program
    Files\Oracle\JDeveloper
    : : 3.0
    : : : \aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper
    3.0
    : : : \aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper
    : 3.0
    : : : \aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper
    : 3.0
    : : : \java\lib\classes.zip;C:\Program Files\Oracle\JDeveloper
    3.0
    : : : \aurora\lib\aurora_client.jar;C:\Program
    : : Files\Oracle\JDeveloper
    : : : 3.0\aurora\lib\vbjorb.jar;C:\Program
    Files\Oracle\JDeveloper
    : : 3.0
    : : : \aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper
    3.0
    : : : \aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper
    : : : .0\aurora\lib\vbj30ssl.jar;C:\Program
    : Files\Oracle\JDeveloper
    : : 3.0
    : : : \jdbc\lib\oracle8.1.5\classes111.zip"
    : : : oracle.aurora.server.tools.LoadJavaMain
    : : : -user
    : : : acme/acme@orant_lang:1521:ntdev81
    : : : -thin
    : : : -verbose
    : : : -resolve
    : : : "C:\Program Files\Oracle\JDeveloper 3.0
    : : : \myclasses\SQLJ_Untitled1.jar"
    : : : AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
    : : : Copyright (c) 1997-1998 Borland International. All Rights
    : : : Reserved.
    : : : Copyright (c) 1997-1999 Oracle Corporation. All Rights
    : : Reserved.
    : : : interrupted by user
    : : : loadjava: 1 errors
    : : : *** Errors occurred while loading the archive into JServer
    : : : *** Deployment completed ***
    null

  • Error while deploying war file using JRUN JMC

    Hi,
    I am getting "Deployment service failed to deploy war file" Error
    while trying to deploy a war file using JRUN Mgmt console.
    If anyone has any idea about it, please help.
    Thanks
    Jit

    Check the logs. There might be a detailed exception in it. My guess is that it might have something to do with the deployment descriptors.
    If you could post the deployment descriptors and the exception stack trace, it would be easier to figure out.

  • How Can I deploy a .WDA file into MSS

    Hi Everybody,
    We have a problem with leave issue and SAP has provided a new EAR file i.e. sap.commssato.ear.
    They said that we need to take a back up of existing mss~ato before we deploy this new .EAR file.  But when we checked in the portal server, we can see only a .WDA file, but not an .EAR file. Now, i don't know how to deploy a .wda file using SDM. If some thing goes wrong with the new file(.ear file supplied by SAP), we have to re deploy the old file.  I learnt that we can only deploy EAR, SCA and SDA file files to the server using SDM.  Please explain me what should i do now.
    Thank so much in Advance.
    Kind Regards,
    Rao

    Hello Nagarjuna,
    Can you provide more inputs on this? Have you been able to solve it?
    If so, please contribute with the solution for the community.
    Regards,
    Bentow.

  • How to deploy a WAR file to Sun One Portal Server

    Would someone please tell me the instruction of how to deploy a WAR file to Sun One Portal Server 6.2. Thank you.

    I would advise against this. We tried that and it totally hosed the server.xml file and took our staging portal server down.
    I have no idea what was "in" the server.xml or other files, but trying to deploy a .war file using the WS admin interface hosed portal server's settings.

  • FAO: Jdev team (Jot support for .sqlj file)

    Hi,
    Im trying to build a .sqlj file using Jot API, when i try to add a valid code block of sql into a method i get a JotException. Is there a particular variable that i have to set for Jot to support sqlj code blocks?? please help.
    TIA
    Donny.

    Hi,
    Thanks for responding, the JotExceptions seems to have disappeared now... but the code is not showing up in the class file even after commiting and there are no other Exceptions either. The JotException was thrown when i tried to add the code to the method.
    here is the code that im trying to add, ive maintained the irregular indentation so as to replicate the exact string that is being passed to the setCodeBlockText() method.
    java.sql.Date ldTodayIn = null;
    java.sql.Date ldTodayOut = null;
    java.sql.Date ldTodayEx = null;
    #sql
    DECLARE
    ld_today date := :ldTodayIn;
    BEGIN
    select sysdate into ld_today from dual ;
    :OUT ldTodayOut := ld_today;
    EXCEPTION
    when others then
    :OUT ldTodayEx := ld_today;
    END};
    Thanks,
    Donny

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

  • HowTo: deploy an j2ee app using "/" as context root on iAS 6.5

    Hi all iAS expert
    It is highly appreciated one can teach me how to get around below problem
    l deployed an app using "/" as context root. But the iAS could respond to any HTTP request.
    However, as l changed the context root to sth other than root. iAS responded properly.
    Can someone help me get around this problem ?
    thank you a lot
    fox

    I deployed the same EJB on WLS 6.1+sp3 and WLS 7.0.
    These both work. Looks like there is some problem with WLS6.0+sp2. I have opened
    a case with BEA customer support.
    --Latha

  • Deploying a JSF 1.2 webapp with an EJB 3.0

    Hi,
    I am trying to deploy an EAR file that consist of an EJB 3.0 stateless session bean and a mdb and JSF 1.2 and i get the following exception,
    Excepción: NoClassDefFoundError: Falta la clase: javax.el.ExpressionFactory Clase Dependiente: org.apache.myfaces.webapp.StartupServletContextListener Cargador: CustomerEAR.web.CustomerWeb:0.0.0 Origen de Código: /C:/oc4j/j2ee/home/applications/CustomerEAR/CustomerWeb/WEB-INF/lib/myfaces-impl-1.2.6.jar Configuración: WEB-INF/lib/ directory in C:\oc4j\j2ee\home\applications\CustomerEAR\CustomerWeb\WEB-INF\lib La clase que falta no está disponible desde ningún origen de código o cargador del sistema.
    [10-ene-2010 17:20:43] Operation failed with error: Falta la clase: javax.el.ExpressionFactory Clase Dependiente: org.apache.myfaces.webapp.StartupServletContextListener Cargador: CustomerEAR.web.CustomerWeb:0.0.0 Origen de Código: /C:/oc4j/j2ee/home/applications/CustomerEAR/CustomerWeb/WEB-INF/lib/myfaces-impl-1.2.6.jar Configuración: WEB-INF/lib/ directory in C:\oc4j\j2ee\home\applications\CustomerEAR\CustomerWeb\WEB-INF\lib La clase que falta no está disponible desde ningún origen de código o cargador del sistema.
    Even being into spanish I think is easy to understand. The EAR file is developed in Eclipse IDE so I have got the libraries for the JSF 1.2 that are in the build path
    instead of WEB-INF/lib. I am not sure if that is the problem. I have been googling and have not answer (a lot of opnions but no answer)
    So please, what is the problem?
    Best Regards,
    Jose

    Hi,
    I have changed the libraries from Apache MyFaces to Sun RI and now I get the following exception,
    oracle.oc4j.admin.internal.DeployerException: Error instantiate servlet classes
    10/02/13 17:57:30      at com.evermind.server.http.deployment.WARAnnotationParser.getServletClasses(WARAnnotationParser.java:157)
    10/02/13 17:57:30      at com.evermind.server.http.deployment.WARAnnotationParser.parseAnnotations(WARAnnotationParser.java:95)
    10/02/13 17:57:30      at com.evermind.server.http.HttpApplication.parseMetaData(HttpApplication.java:8765)
    10/02/13 17:57:30      at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1262)
    10/02/13 17:57:30      at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
    10/02/13 17:57:30      at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
    10/02/13 17:57:30      at com.evermind.server.Application.getHttpApplication(Application.java:592)
    10/02/13 17:57:30      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
    10/02/13 17:57:30      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
    10/02/13 17:57:30      at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
    10/02/13 17:57:30      at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
    10/02/13 17:57:30      at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
    10/02/13 17:57:30      at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
    10/02/13 17:57:30      at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
    10/02/13 17:57:30      at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
    10/02/13 17:57:30      at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
    10/02/13 17:57:30      at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    10/02/13 17:57:30      at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    10/02/13 17:57:30      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    10/02/13 17:57:30      at java.lang.Thread.run(Thread.java:595)
    PLease help!!!
    Jose

  • How to deploy the web.xml file when trying to use the JSP SDK from SAP?

    I want to use the adduser.jsp which downloaded form SAP SDK samples to add user in BO, but I cannot run it sucessfully. I believe it's caused the web.xml file was not deployed appropriately.
    could you please teach how to deploy the web.xml file for the JSP samples ?
    Could you show me some sample of web.xml for the SDK jsp files? Thank you very much!

    Ensure that you have followed below directory structure while deploying your web application.
       web_application_name
          WEB-INF
             lib
             classes
    web.xml must be placed in WEB-INF. Ensure that you have included all the jar files and other necessary files in your application.
    For more information refer to the below link:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    Regards,
    Anuj

  • Deploying manually CC PKG file built with CC Packager. Not using any third party deployment tool. However after each 5 installations, the PKG files corrupt and cannot be use for a 6th installation. I have to build a new PKG file using CC packager.  Why ?

    Deploying manually CC PKG file built with CC Packager. Not using any third party deployment tool. However after each 5 installations, the PKG files corrupt and cannot be use for a 6th installation. I have to build a new PKG file using CC packager.  Why ?

    http://helpx.adobe.com/creative-cloud/packager.html
    http://forums.adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent

  • How to create and deploy a war file on wls using the console

              my question is how to deploy the simpleSession.jsp example in the weblogic/samples/examples/jsp/
              dir examples as a war file on wls cluster what are the steps to do so.. thanks
              in advance
              

    [att1.html]
              

Maybe you are looking for