WL8.1 crashed during deployment of EJB from ear file

Hello,
WL8.1 crashed during deployment of EJB from ear file on SunOs 5.8:
error: Invalid class file format in /export/home/bea/j2sdk1.4.1_03/jre/lib/rt.jar(java/lang/AssertionError.class).
The major.minor version '48.0' is too recent for this tool to understand.
/export/home/mydomain/./ep1/.wlnotdelete/EJBCompilerCache/1xd25ws3hwp86/mydomain/facade/payroll/PayrollFL_vww01c_HomeImpl.java:83:
Class java.lang.AssertionError not found.
throw new AssertionError("Unable to find expected "+
Thanks,
Oleg.

Thank you Mark,
It works now.
Oleg.
"Mark Griffith" <[email protected]> wrote:
I don't think though that _03 is the problem, you should have compatability
between minor versions of a VM release. How did you deploy the ear?
Did
you copy over from a 7.0 domain? It looks like the EJB was built on
a
previous version of WLS, or has not had "ejbc" run on it prior to
deployment. Try running weblogic.appc foo.ear or fooExplodedEar. And
then
try redeploying. To be sure everything is clean rm -rf .wldonotdelete
after
you shut the server down.
cheers
mbg
"Oleg" <[email protected]> wrote in message
news:3ef54653$[email protected]..
Hello,
WL8.1 crashed during deployment of EJB from ear file on SunOs 5.8:
error: Invalid class file format in/export/home/bea/j2sdk1.4.1_03/jre/lib/rt.jar(java/lang/AssertionError.class
The major.minor version '48.0' is too recent for this tool to understand.
/export/home/mydomain/./ep1/.wlnotdelete/EJBCompilerCache/1xd25ws3hwp86/mydo
main/facade/payroll/PayrollFL_vww01c_HomeImpl.java:83:
Class java.lang.AssertionError not found.
throw new AssertionError("Unable to find expected "+
Thanks,
Oleg.

Similar Messages

  • NoClassDefFoundError during deployment & accessing EJBs in ear

    Platform - Redhat Linux 7.2 weblogic6.0 ant 1.3 for compilation and creation of ear.
    I get a NoClassDefFoundError when I try to access some of the EJBs in my deployed
    ear file.
    Previously, I faced a NoClassDefFoundError problem in deployment and I put the jar
    containing
    the classes that it was asking for, in the classpath in startWeblogic.sh.
    The ear got deployed after that.
    Error I am getting now...
    2002-04-29 18-05-18 - bang - <INFO> - Type :Operation Groups
    2002-04-29 18-05-18 - bang - <INFO> - SELECT member FROM s_access_group WHERE site
    = ? AND facility
    = ? AND type = ? AND name in('null')
    2002-04-29 18-05-18 - bang - <DEBUG> - DB Connection closed
    2002-04-29 18-05-18 - bang - <DEBUG> - DB Connection closed
    2002-04-29 18-05-18 - bang - <ERROR> - Controller: createSessionForTheUser: Caught
    Remote exception
    while creating SessionMgrEJB
    java.rmi.RemoteException: EJB Exception:; nested exception is:
    java.lang.NoClassDefFoundError: com/seagate/edcs/server/system/sysmgr/GroupDetails
    java.lang.NoClassDefFoundError: com/seagate/edcs/server/system/sysmgr/GroupDetails
    at com.seagate.edcs.util.system.SecurityUtils.getMembersOfGroups(SecurityUtils.java:205)
    at com.seagate.edcs.util.system.SecurityUtils.getGuestPrivileges(SecurityUtils.java:376)
    at com.seagate.edcs.server.system.sessionmgr.SessionMgrEJB.ejbCreate(SessionMgrEJB.java:127)
    I have done the same compilation and creation of ear and deployment in a Solaris
    server, using the
    same source code and build.xml ( ant build file) and ant properties file; never saw
    any errors like this.
    I unjared the ear lying in the solaris machine that I was using previously and the
    ear that
    I created now in the linux server, and saw a difference in the manifest files...
    the manifest files remains same as what I decribe with the EJB source in the previous
    (solaris)
    case...
    Manifest-Version: 1.0
    Created-By: 1.3.0 (Sun Microsystems Inc.)
    Class-Path: edcs2000_utility.jar edcsreportmgr.jar wipgrpmgr.jar resourcegrpmgr.jar
    systemgrpmgr.jar
    notificationmgr.jar role.jar user.jar
    The manifest file in the ear created now in the linux machine is something like this;
    different
    from what I describe together with the EJB.
    Manifest-Version: 1.0
    Name: com/seagate/edcs/server/system/role/RoleEJBHomeImpl_WLStub.class
    Name: com/seagate/edcs/server/system/role/ACLDetails.class
    Name: WLGENERATED
    Name: com/seagate/edcs/server/system/role/RolePK.class
    Name: com/seagate/edcs/server/system/role/RoleEJBHomeImplAD.ser
    Name: com/seagate/edcs/server/system/role/RoleEJBEOImpl_WLStub.class
    Name: com/seagate/edcs/server/system/role/RoleEJBEOImpl.class
    Name: META-INF/ejb-jar.xml
    what might be the issue here ? Please do have a look and help!
    Thanks in advance
    Prabin.

    Hi Kevin,
    Use remote EJB method calls. For details, look for "Parent application" topic in this forum or Servlet development guide in Oracle Documentation Library. I know, it does not seem to be the right source when looking for EJB documentation, however, it is.
    Daniel.

  • IIOP Connection Hangs: Deploying Hotel EJB from Technet

    Hi,
    I was trying to deploy the EJB from the sample hotel application
    available at TECHNET. The System is using the standard ORacle 8i
    port for ORB.
    Please help identify the connection failure for IIOP connection.
    REgards
    Arvinder
    null

    Can you connect via the session shell to the orb namespace (with
    the same service URL you are trying to deploy to) from the same
    machine? This will validate the IIOP communiactions is working.
    If the connection isn't working it may take quite some time to
    actually error out.
    null

  • Deploying a New Forms .ear File in Oracle Applications Release 12-FATAL ERR

    Hello everyone, I am applying a scurity patch 7605070 to our R12 applications. As part of the post-install step, I need to follow Metalink Note 397174.1 to deploy a new forms .ear file.
    However, I am getting following FATAL ERROR:
    :->$FND_TOP/bin/txkrun.pl -script=CfgOC4JApp
    *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_11_54_43_2009.log
    Program : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl started @ Fri May 29 11:54:43 2009
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_11_54_43_2009.log
    Enter Application name for re-deployment ? forms
    Enter Oc4j Instance password for re-deployment ? welcome
    Run Autoconfig <Yes/No> ? no
    Required values for starting OC4J instance "forms":
    ====================================================
    s_formsstatus = enabled
    s_forms_nprocs = 1 (value should be greater than 0)
    Existing values from the context file:
    ======================================
    s_formsstatus = enabled
    s_forms_nprocs = 1
    *** Values for context variables are VALID ***
    Stopping all OPMN processes.
    OPMN stopped.
    Errors encountered running /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl
    *******FATAL ERROR*******
    PROGRAM : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl(/apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl)
    TIME : Fri May 29 11:55:09 2009
    FUNCTION: TXK::Process::run [ Level 3 ]
    MESSAGES:
    Command error: <rc> = 32512, <command> = /apps/ecrmR12apps9/apps/tech_st/10.1.3/opmn/bin/opmnctl start
    STACK TRACE
    TXK::Error::abort('TXK::Error','HASH(0x99e2a24)') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line 299
    TXK::Common::doError('TXK::Process=HASH(0xa662688)','Command error: <rc> = 32512, <command> = /apps/ecrmR12apps9/a...','undef') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line 314
    TXK::Common::setError('TXK::Process=HASH(0xa662688)','Command error: <rc> = 32512, <command> = /apps/ecrmR12apps9/a...') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Process.pm line 449
    TXK::Process::run('TXK::Process=HASH(0xa662688)','HASH(0xa295488)') called at /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl line 1469
    TXK::RunScript::execOPMNControl('HASH(0xa4f977c)') called at /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl line 532
    require /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/RunScript.pm line 105
    TXK::RunScript::require('TXK::RunScript','/apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin...') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Script.pm line 177
    eval {...} called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Script.pm line 177
    TXK::Script::run('TXK::Script=HASH(0x9d974d4)','/apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK','/apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin...') called at /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl line 150
    (lnxcde21-ecrmapps9) /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/bin
    :->
    What should I do? Please advice...

    Issue appears to be resolved :)
    Here are the steps:
    vi /apps/ecrmR12apps9/apps/tech_st/10.1.3/opmn/bin/opmnctl and updated following variable to the correct path. (I am not sure why these path's were still pointing to production environment. I cross checked another cloned instance and it is also pointing to production path)
    ORACLE_HOME=/apps/ecrmR12apps9/apps/tech_st/10.1.3; export ORACLE_HOME
    TNS_ADMIN=${TNS_ADMIN="/apps/ecrmR12apps9/apps/tech_st/10.1.3/network/admin"}; export TNS_ADMIN
    Then, the issue got resolved:
    :->$FND_TOP/bin/txkrun.pl -script=CfgOC4JApp
    *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_14_53_22_2009.log
    Program : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl started @ Fri May 29 14:53:22 2009
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_14_53_22_2009.log
    Enter Application name for re-deployment ? forms
    Enter Oc4j Instance password for re-deployment ? welcome
    Run Autoconfig <Yes/No> ? no
    Required values for starting OC4J instance "forms":
    ====================================================
    s_formsstatus = enabled
    s_forms_nprocs = 1 (value should be greater than 0)
    Existing values from the context file:
    ======================================
    s_formsstatus = enabled
    s_forms_nprocs = 1
    *** Values for context variables are VALID ***
    Stopping all OPMN processes.
    OPMN stopped.
    OPMN started.
    Deplolying Application : "forms" onto OC4J instance: "forms"
    Application deployed successfully.
    Stopping and starting OC4J instances.
    Started OC4J instances.
    Binding webApp : "forms" with webmodule : "formsweb" for OC4J instance: "forms"
    Web application bound successfully.
    Stopping OPMN.
    OPMN stopped.
    Program : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl completed @ Fri May 29 14:54:13 2009
    End of /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl : No Errors encountered
    Now I am not sure if the changes I made to opmnctl file is correct or not. I mean can I vi this file and update the value in this file as I wish, or should I be following some procedure to update the correct path.

  • Source from EAR files

    hello , the computer of one the java developer get damage and the data was lose without backup of it know i want get back the source code of already deploy webdynpro java app , read about the EAR files that can be useful for that but i don't how convert it to source code.
    if existe another way for get the source code of already deploy app in the server please help me
    Thanks.

    Hi Edgar,
    Pleas check the below thread for downloading webdynpro application EAR from server.
    WebDynpro download  : WebDynpro download
    How to extract WebDynpro based EAR file : How to extract WebDynpro based EAR file . Need  source from EAR file
    Hope it helps
    Regards
    Arun

  • How to deploy a project to EAR file

    Hi,
    I am a new bee to Jdeveloper. Could some body give me hints how to deploy my project to EAR file as I need to handover that EAR file to my admin to deploy it on the Application server.
    I am following these steps
    right clicked on the project >> click NEW >> Deployment profiles >> select EAR file from the right hand side and click OK >> given the deployment profile name as Jobmanage
    And selected the path as C:\Oracle_Jdeveloper\jdev\mywork\MANAGEJOB\Project and clicked OK >> and given the application name as Jobmanage and pressed OK>>
    In the Deploy folder of the project the EAR project is created but it is only 7 KB which is normally above 4 MB.
    And it automatically creatig a file underneath RESOURCES >> Jobmanage.Deploy
    Cheers,
    Krishna

    More specifically,
    - create a WAR deployment profile (New... -> General -> Deployment Profiles -> WAR File)
    - create an EAR deployment profile (New... -> General -> Deployment Profiles -> EAR File)
    - double-click on the EAR deployment profile and tick the check box for the WAR deployment profile.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error when deploying a new forms .ear file

    Hi all
    I get the following eror when trying to start forms:
    Starting OPMN managed FORMS OC4J instance ...
    Calling txkChkFormsDeployment.pl to check whether latest FORMSAPP.EAR is deployed...
    Program : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl started @ Tue Nov 16 11:16:23 2010
    *** Log File = /u01/apps/inst/apps/DEV_ikhsmappdev1/logs/appl/rgf/TXK/txkChkFormsDeployment_Tue_Nov_16_11_16_23_2010/txkChkFormsDeployment_Tue_Nov_16_11_16_23_2010.log
    File "/u01/apps/apps/tech_st/10.1.3/j2ee/forms/applications/forms/formsweb/WEB-INF/lib/frmsrv.jar" exists. Proceeding to check the size...
    =================================================
    *** Latest formsapp.ear has NOT been deployed ***
    Deploying the latest EAR file...
    =================================================
    Program : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl completed @ Tue Nov 16 11:16:30 2010
    * W A R N I N G *
    Error while executing the perl script txkChkFormsDeployment.pl
    We have determined that you need to redeploy Forms (using txkChkFormsDeployment.pl).
    But could not do it automatically for you, due to some issues.
    For details refer the log files.
    Follow Note: 397174.1 to redeploy Forms manually.
    I then try and deploy a new Forms EAR file as per doc 397174.1 and run into errors as follows:
    Errors encountered running /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl
    *******FATAL ERROR*******
    PROGRAM : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl(/u01/apps/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl)
    TIME : Tue Nov 16 16:33:03 2010
    FUNCTION: (eval) [ Level 1 ]
    ERRORMSG: Invalid 10.1.3 Oracle Home: /u01/apps/apps/tech_st/10.1.3
    How do I fix this?

    Still the same issue, yes.
    I have already logged an SR for this, but all is very quiet on that front.
    One funny, is that this HOME was never attached to the orainst.loc, so I did it manually.
    When I try and run opatch with lsinventory parm, it does not list any patches, although there are patches installed, if you look at $OH/.patch_storage.
    Any idea of how I should attach this home correctly?

  • How many Ways jar files from ear file on a jboss can be downloaded on clien

    Aoa
    How many Ways jar files from ear file on a jboss can be downloaded on client side
    like jnlp etc..
    Regards
    M Fazal Ur Rehman

    First, you need to be able to boot from the Recovery HD:
    Boot Using Command+R keys:
      1. Restart the computer.
      2. Immediately after the chime press and hold down the
          "COMMAND" and the "R" keys together.
      3. Release the keys when the Utilities Menu appears.
    Once at the Utilities Menu select Terminal from the Utilities menu in the screen's menubar. Now, you need to know where these new files are located. You move to any location using the 'cd' command such as cd /Users/user_name/Documents, then press RETURN. Replace user_name with your actual username. Next you need to do a directory listing to see if your files are in that location, Documents. Use ls -al to do a directory listing of the files and folders in Documents. If you find your new files there, then connect an external drive or flash drive. You will need to know the name you have assigned to this drive. It needs to be already formatted. Copy your files using cp /Documents/filename /Volumes/volname/filename. Replace volname and filename with those that apply. Press RETURN.
    Or take it to your local Apple Store and see if they can do the chore for you.

  • EJBC throws UndeclaredThrowableException during compiling ejbs in ear file

    Hi all.
    I have a problem that weblogic 6.1 sp1 throws UndeclaredThrowableException when
    I try to deploy ear file from admin console.
    I tried pre-compile these ejbs, then I can deploy this ear.
    In ejb jar, I'm using manifest file to use outer jar file. But ejbc does not use class pathes specified in manifest.
    Please help.
    Thanks,
    Watanabe

    You should put the outer jars on the classpath when you do the ejbc. Here is
    an example:
    java -classpath \bea\wlserver6.1\lib\weblogic.jar;yourlib.jar
    weblogic.ejbc -compiler javac std_ejb.jar ejb.jar
    Regards
    Arjuna Chala
    "Toru Watanabe" <[email protected]> wrote in message
    news:3c74db3d$[email protected]..
    Hi all.
    I have a problem that weblogic 6.1 sp1 throws UndeclaredThrowableExceptionwhen
    I try to deploy ear file from admin console.
    I tried pre-compile these ejbs, then I can deploy this ear.
    In ejb jar, I'm using manifest file to use outer jar file. But ejbc doesnot use class pathes specified in manifest.
    >
    Please help.
    Thanks,
    Watanabe

  • Exception during deployment of EJB application

    Hi Experts,
    I'm deploying one EJB application which is giving following warning.
    What's the cause of it?
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application asianpaints.com/bsApp and wait.
    Reason: Clusterwide exception: server ID 8216350:com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: The DataSource for PersistenceManager J2EDB is not created.
         at com.sap.engine.services.ejb.entity.pm.PersistenceManager.initDataSource(PersistenceManager.java:217)
         at com.sap.engine.services.ejb.EJBAdmin.commitLoad(EJBAdmin.java:1112)
         at com.sap.engine.services.ejb.EJBAdmin.prepareStart(EJBAdmin.java:2428)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:239)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:187)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:327)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:111)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:230)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4700)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4605)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4578)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name ejbContainer/cmp/tx/asianpaints.com/bsApp/J2EDB, cannot resolve object reference. [Root exception is com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "J2EDB" does not exist. Possible reasons: the connector in which ConnectionFactory "J2EDB" is defined is not deployed or not started.]
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:529)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:639)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.sap.engine.services.ejb.entity.pm.PersistenceManager.initDataSource(PersistenceManager.java:185)
         ... 21 more
    Caused by: com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "J2EDB" does not exist. Possible reasons: the connector in which ConnectionFactory "J2EDB" is defined is not deployed or not started.
         at com.sap.engine.services.connector.ResourceObjectFactory.getObjectInstance(ResourceObjectFactory.java:207)
         at com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl._getObjectInstance(ObjectFactoryBuilderImpl.java:72)
         at com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl.access$100(ObjectFactoryBuilderImpl.java:31)
         at com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl$DispatchObjectFactory.getObjectInstance(ObjectFactoryBuilderImpl.java:210)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:280)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:414)
         ... 25 more
    Pls help as im waiting for your reply...
    regards,
    Amey

    Hi Yordan,
    This is where im specifying my datasource in persistent.xml file(that is  in "General tab"  of EJB DC)
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE persistent-ejb-map SYSTEM "persistent.dtd">
    <persistent-ejb-map>
         <locking
              type="Table"/>
         <db-properties>
              <data-source-name>J2EDB</data-source-name>
         </db-properties>
         <entity-beans>
              <entity-bean>
                   <ejb-name>OEMBean</ejb-name>

  • Deploying Session EJB From Jdev9i(Beta) - OC4J 9i

    Hi All ,
    I wanted from u , i have recently Upgraded to Oracle 9i 1.0.2.2.1 (OC4J) . Now i want a simple Step wise process as how can i deploy my Ejb (Session Bean ) into the OC4J container and Use its DataSource .
    Is it possible to deploy using Jdev 9i (Beta) .
    Can any one please help me out to point to a Documentaion , give me a breif process .
    Regards
    Asif

    Asif -
    Yes you can use Jdeveloper 9i beta to deploy your session ejb.
    Step 1 should be setting up your Data Source. In the System
    Navigator Panel expand the "Connections" listing. Right-click
    on "Database" and select "New Connection..." - follow the
    wizard's instructions to set up your data source. Step 2 should
    be setting up a connection to the OC4J container - again on the
    System Navigator Panel ->Connections->Application Servers -
    follow the instructions there. I am assuming that you have
    developed your session ejb using Jdeveloper, right click on
    your .jpr entry (or wherever suits you) and choose "New..." then
    Deployment Profiles. You need to package your session ejb into a
    jar file and I would recommend packaging your jar file into an
    ear file (it really helps for clean deployment). If you have a
    web portion, package that and make it dependent on the jar file
    just to keep it straight. Once you have these, you will be able
    to right click on the jar or web file and deploy to an ear file,
    or straight to the server. If this is what you are looking for,
    you will then just select this and away you go.
    Apparently there are some howtos here:
    http://otn.oracle.com/docs/products/jdev/howto.html
    although I don't know how good they are.
    I wasn't quite sure what you were looking for so this post is
    vague. If you have specific questions, let me know and I will
    try and answer them!
    Cheers
    Ray

  • Unabel to deploy the gdsc-server.ear file.

    Hi,
    I am getting below error while accessing GG page.
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    Found that gdsc-server.ear Failed to deploy.
    found below error in domain.log
    ####<May 28, 2013 4:41:33 AM CDT> <Error> <EJB> <grdebiggddev01> <grdodstst00> <[ACTIVE] ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'> <EJBs> <> <5c16e63de6381099:-ba0bf7b:13eea48b418:-8000-00000000000010d4> <1369734093931> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.goldengate.gdsc.server.gglog.ejb.GGLogManagerBean.addLogEntry(com.goldengate.gdsc.common.model.GDSCLogEntry)],Xid=BEA1-41AEC08CC39BE40B10F2(535880339),Status=Rolled back. [Reason=Unknown],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=60,XAServerResourceInfo[ggds-datasource_domain]=(ServerResourceInfo[ggds-datasource_domain]=(state=rolledback,assigned=grdodstst00),xar=weblogic.jdbc.wrapper.JTSEmulateXAResourceImpl@1ff0e30e,re-Registered = false),SCInfo[domain+grdodstst00]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.goldengate.gdsc.server.gglog.ejb.GGLogManagerBean.addLogEntry(com.goldengate.gdsc.common.model.GDSCLogEntry)], weblogic.jdbc.remote.ggds-datasource=t3://10.160.21.42:7001}),local properties=({modifiedListeners=[weblogic.ejb.container.internal.TxManager$TxListener@1efe12bc]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=grdodstst00+10.160.21.42:7001+domain+t3+, XAResources={ggds-datasource_domain, WSATGatewayRM_grdodstst00_domain, WLStore_domain__WLS_grdodstst00},NonXAResources={})],CoordinatorURL=grdodstst00+10.160.21.42:7001+domain+t3+): weblogic.transaction.RollbackException: Unknown reason
    tried redeploy, copy the .ear file from working machine, but no use. Not sure why this err is.
    Any suggestion.

    error details.
    Unable to set the activation state to true for the application 'gdsc-server'. weblogic.transaction.internal.TimedOutException: Transaction timed out after 61 seconds BEA1-0014761A2FDFE40B10F2 at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1748) at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1591) at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1911) at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1501) at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35) at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused By: weblogic.transaction.internal.TimedOutException: Transaction timed out after 61 seconds BEA1-0014761A2FDFE40B10F2 at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1748) at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1591) at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1911) at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1501) at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35) at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

  • Extracting from EAR file

    Hello Experts,
    Right now we are on EP6 upgraded to EP7
    I have a modified sap.comessus.ear file from EP6.
    But, we lost  the source code on the track and track itself during upgrade to NWDI.
    Is there anyway to get the source code from this EAR file. Or any way we can deploy this ear file on different J2ee engine. So, we can run it on our new portal.
    your help is greatly appreciated.
    Thanks,
    James

    Hi James,
    the developer chose to keep or not the source class into .ear file.
    So you can unzip the .ear  file (using WinRar), in this way you will be able to see the folder structure and various files, you will see a lot of .class file that are binary class and if you are lucky you can find a lot of .java files. Open the .java files with a txt editor like notepad, this is the source code.
    Hope this help you.
    Regars,
    Vito

  • Unable to deploy a simple WAR / EAR file on Standalone OC4J instance

    All,
    This issue is baffling me since yesterday and while I continue to look for options , would appreciate if anyone of you has run into something similar and give me some hints on how to proceed on this ..
    I downloaded the Standalone OC4J ( 10.1.3 ) from otn.oracle.com and also downloaded JDK 1.5 Update 12 from the Sun Website and installed it on my local
    Windows XP machine. Everything works well and the application gets deployed.
    I then copied the 10.1.3 Standalone OC4J to the Solaris 5.9 box which already
    has JDK 1.5 Update 12 installed. We extracted the OC4J to its own directory , set the Java_Home and the Oracle_Home environment variables and were able to
    startup the OC4J instance.
    However when trying to deploy even a simple HelloWorld.jsp file packaged as an EAR or WAR , we get these errors..
    [Aug 8, 2008 9:40:27 AM] Application Deployer for CISS STARTS.
    [Aug 8, 2008 9:40:27 AM] Copy the archive to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS.ear
    [Aug 8, 2008 9:40:28 AM] Initialize /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS.ear begins...
    [Aug 8, 2008 9:40:28 AM] Unpacking CISS.ear
    [Aug 8, 2008 9:40:28 AM] Error while unpacking CISS.ear java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:203) at java.util.jar.JarFile.(JarFile.java:132) at java.util.jar.JarFile.(JarFile.java:97) at oracle.oc4j.util.FileUtils.unjar(FileUtils.java:309) at oracle.oc4j.util.FileUtils.autoUnpack(FileUtils.java:488) at com.evermind.server.deployment.EnterpriseArchive.(EnterpriseArchive.java:234) at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(ApplicationDeployer.java:412) at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:187) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52) at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)
    [Aug 8, 2008 9:40:28 AM] Operation failed with error: Unable to find/read file META-INF/application.xml in /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS (META-INF/application.xml)
    Using the above error messages , I certainly do not find the CISS.ear file getting copied to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS.ear
    which explains the rest of the messages.
    I have tried placing the EAR file both remote and local on the Application Server box but the results remain the same. Assuming it might be a permissions issue , we have opened up all the permissions on this OC4J home ( recursively )
    to everyone ..
    Is there a specific version of tar / unzip / jar required to deploy EARs / WARs on Solaris 5.9 running JDK 1.5 Update 12.
    We had some issues when extracting OC4J to its directory but there were no errors displayed on the screen ... Only when we tried starting up the OC4J instance , it started complaining about missing XML files .. This was resolved by manually extracting the XML's from the corresponding jars and placing them in the proper directories ..
    Also looked at Bug:6330834 but am not very sure if this applies to our case because all these drives are local to the Sun box.
    Other than attempting a reinstall and opening an Service Request with Oracle , I am running out of ideas at this time ..
    So any ideas / hints would be gladly accepted :)
    Vishwa

    When you say:
    I then copied the 10.1.3 Standalone OC4J to the Solaris 5.9 box which already has JDK 1.5 Update 12 installed. We extracted the OC4J to its own directory , set the Java_Home and the Oracle_Home environment variables and were able to
    startup the OC4J instance.
    We had some issues when extracting OC4J to its directory but there were no errors displayed on the screen ... Only when we tried starting up the OC4J instance , it started complaining about missing XML files .. This was resolved by manually extracting the XML's from the corresponding jars and placing them in the proper directories ..
    It sounds like you have some funky issues there with those missing XML files -- that is not expected or normal.
    Do you mean you copied the same oc4j_extended.zip to the server and unzipped it, or you zipped up the directories you were using on the Windows box, copied that over, and unzipped it?
    I don't know of any problems with Solaris, JDK5, U12.
    What about if you do this to remove any issues with the remote copy aspect of the deployment.
    1. Stop OC4J.
    2. Manually copy CISS.ear to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/
    3. Edit the j2ee/home/config/server.xml file and add the entry to deploy the application
    4. Edit the j2ee/home/config/default-web-site.xml and bind any web-modules you need.
    5. Start the server and see what happens -- the application should be deployed.
    Also, what happens if you use the $JAVA_HOME/bin/jar to try and view the contents of the CISS.ear file?
    -steve-

  • How to create a PAR file from EAR file

    Hi,
       I have created an Web Dynpro Application . When i deploy it in Remote J2EE Engine, it will deploy as EAR file. It then runs as normal Web Application in Web browser. My requirement is to create an iView for my Web dynpro appn in EP. That is possible only by creating a PAR file. so How to create an PAR file from EAR in NWDS(NetWeaver Developer Studio).
    How to access the EAR file in NWDS or J2EE ?
    Thanks in Advance ,
    By
    Saravanan

    Hi,
    To create a iview,
    log on to portal, New iView and select SAP webdynpro iview.
    It will ask for namespace which is usually , local/Project Name
    and application name is the name of the application.
    We dont have to create par file for this requirement

Maybe you are looking for