Error while Deploying Petstore.ear

Hi,
After installing Oracle 9ias, I tried to deploy the peststore.ear file.After completing all the steps given in the document, I finally clicked on the Deploy button on the deployment summary page.It is taking a lot of time for the process to complete and finally the browser says "page cannot be displayed".I refreshed the page and it comes up with the following error:"Deployment failed: The J2EE application (.ear) file needs to be specified and read before the deploy process can proceed. Go back to the Deploy Application Introduction page."
Can anybody tell me where is the error.Thanks.

Hi
I would suggest you to do the deployment of the EAR using NWDS rather that using deploy tool. for Doing this please follow this link for creating ,building and deplopying as ear using dev studio
http://help.sap.com/saphelp_nw04/helpdata/en/08/51ec41b9a24f4a8359c61ae4a02db1/frameset.htm
Anyways if you ar still tied up using deploy tool pleas cross verify that all the dependent jars (including jars which  NgoServerinterface will beusing internally has to be in the classpath . Would be great if you can post the stack trace
hope this helps !<b>  please mark points for helpful answers .</b>
regards
rajeshkr

Similar Messages

  • Error While Deploying the Ear .

    HI ,
    I am getting an error while deploying my ear through Deploy Tool . the ear get loaded but fails to deploy... the error message i got is pasted below...
    It gives error about EJBContainer, but the J2EE Engine's Visual Admin shows the service is runing
    Any help is highly appreaciated
    Eror Message.....
    06/05/13 18:49:09 -  ***********************************************************
    06/05/13 18:49:10 -  Start updating EAR file...
    06/05/13 18:49:10 -  start-up mode is lazy
    06/05/13 18:49:12 -  EAR file updated successfully for 2078ms.
    06/05/13 18:49:12 -  Start deploying ...
    06/05/13 18:49:14 -  EAR file uploaded to server for 1172ms.
    06/05/13 18:49:16 -  ERROR: Not deployed. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Cannot deploy application sap.com/omnidocs_ejb..
                         Reason: Exception during generation of components of application sap.com/omnidocs_ejb in container EJBContainer.; nested exception is:
                              com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/omnidocs_ejb in container EJBContainer.
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:554)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
                              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.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/omnidocs_ejb in container EJBContainer.
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:621)
                              at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:319)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3139)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:539)
                              ... 10 more
                         Caused by: java.lang.NoClassDefFoundError: com/newgen/omni/jts/txn/NGOServerInterface
    Loader Info -
                         ClassLoader name: [Deployment:Runtime:sap.com/omnidocs_ejb]
                          Parent loader name: [Frame ClassLoader]
                          References:
                            common:service:http;service:servlet_jsp
                            service:ejb
                            common:service:iiop;service:naming;service:p4;service:ts
                            service:jmsconnector
                            library:jsse
                            library:servlet
                            common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
                            library:ejb20
                            library:j2eeca
                            library:jms
                            library:opensql
                            common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
                            interface:resourcecontext_api
                            interface:webservices
                            interface:cross
                            interface:ejbserialization
                          Resources:
                            C:\usr\sap\J2E\JC00\j2ee\cluster\server0\temp\deploy\1147526354539
                            C:\usr\sap\J2E\JC00\j2ee\cluster\server0\temp\deploy\1147526354539\omnidocs_ejb.jar
                          Loading model: {parent,references,local}
                         The error occurred while trying to load "com.newgen.omni.jts.txn.oracle.docdb.NGOConnectCabinet".
                              at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:389)
                              at com.sap.engine.services.ejb.deploy.verifier.CheckUtils.loadClass(CheckUtils.java:25)
                              at com.sap.engine.services.ejb.deploy.verifier.session.SessionBeanCheck.check(SessionBeanCheck.java:42)
                              at com.sap.engine.services.ejb.deploy.verifier.Verifier.checkBean(Verifier.java:82)
                              at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:46)
                              at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:253)
                              at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2144)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
                              ... 16 more
                         For detailed information see the log file of the Deploy Service.
    06/05/13 18:49:16 -  ***********************************************************
    <b></b>

    Hi
    I would suggest you to do the deployment of the EAR using NWDS rather that using deploy tool. for Doing this please follow this link for creating ,building and deplopying as ear using dev studio
    http://help.sap.com/saphelp_nw04/helpdata/en/08/51ec41b9a24f4a8359c61ae4a02db1/frameset.htm
    Anyways if you ar still tied up using deploy tool pleas cross verify that all the dependent jars (including jars which  NgoServerinterface will beusing internally has to be in the classpath . Would be great if you can post the stack trace
    hope this helps !<b>  please mark points for helpful answers .</b>
    regards
    rajeshkr

  • Error while deploying an ear file in the Oracle Application Server

    Hi,
    There was an existing ear deployed in the the oracle application server - 10g. We had to include some customizations so we rebuild the ear file with the new changes and tried redeploying the ear using the EM console. Getting the below error while deploying the same. Any pointers to the same would be helpful.
    Error
    An error occurred when processing the data submitted. Find the appropriate field and enter the correct information as noted next to each field.
    Archive Location - Failed in uploading archive. Invalid archive file: Jar file resourceadapter-rar.rar is missing a standard deployment located at META-INF/ra.xml
    We have not modified anything in the ra.xml nor have touched the resourceadapter-rar.rar

    Hello
    did you configure the startweblogic file as mentioned in the admin guide ?

  • 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 P6.ear file in Oracle Weblogic installing P6 R8 web

    Hi,
    I am trying to install Primavera P6 R8 web and while deploying the P6.ear file into Oracle Weblogic getting the following error:
    "<Error> <Deployer> <BEA - 149202> <Encountered an exception while attempting to commit the 7 task for the application 'pm6'.>
    weblogic.application.ModuleException: :com.primavera.PhoenixException: ERROR: BREBootstrap.xml was not found. Please make sure that the JVM system property primavera.bootstrap.home is defined and set to the location of the directory containing BREBootstrap.xml
    Thanks & Regards,
    Ashwani

    Hello
    did you configure the startweblogic file as mentioned in the admin guide ?

  • Error while deploying the EAR file

    Hi,
    We are trying to deploy an EAR file (created through NWDS) using the SDM. But while deploying we are getting the following exception:
    com.sap.sdm.util.sduread.IllFormattedSduFileException:Error during attribute reading: received exception: Error in opening zip file
    Does this has something to do with the application or is it related with the WinZip software?
    We deployed the same application with the same configuration previously, at that time it got deployed without any issues.
    Please reply.
    Thanks & regards,
    Sujit

    Hi,
    This is due to the corruption of EAR file, Check whether the Ear File is  correct or if it has been Corrupted. Because it is unable to Read the File. If it is Corrupted just Create a New EAR file.
    Regards,
    Sharma.

  • Out of Memory Error While deploying as EAR file

    Hai,
    I was trying to deploy an EAR file of size 63 MB which inturn containing about 60 EJB.jars. No WARs. application.xml has all the entries for the JARs. While I am deploying it is giving Out of Memory Error. Is there any way to tweak this problem. I am using my own hand written java application which uses the SunONE deployment APIs for deployment. Can u please tell how to tackle this problem. I am running my application through a batch file which uses jdk1.4.
    Please help me regarding this issue.

    You can set the initial heap size and maximum heap size for the JVM, either in the app-server admin console, or maybe in one of your scripts. You look-up the syntax!...
    I had this error yesterday. I too had run out of memory (150Mb). You simply need to allocate more to the app-server.

  • 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

  • Error while deploying petstore

    Hi Guys,
    I am trying to setup petstore on win xp.
    I am using:
    j2sdk1.4.1_02, j2sdkee1.3.1 and petstore1.3.1_02
    I start the db, j2ee server and start deploying by:
    setup deploy
    but then this message appears in both setup shell and j2ee shell.
    java.io.IOException: Error in opening uri http://localhost:8000/sun-j2ee-ri_1_4.dtdstatus code=404
    Does anybody know what the problem is?
    regards,
    fsalimi

    Did you try to see if the j2ee server is running well?
    Befroe running petstore try this:
    http://localhost:8000
    You should see the j2ee answer as
    "J2EE 1.3
    Default Home Page
    Congratulations!
    Viewing this page means that your Web Server has been installed correctly and is serving files properly.
    [email protected]"
    If you are not able to see this, your j2ee server is not well running.
    Cristian

  • Error while Deploying .EAR file

    Hi All,
    Iam getting the following Error while deploying a .ear file (generated by jdeveloper 11g) into OC4J 10.1.3.3
    [Apr 16, 2008 3:49:00 PM]application : ModelEJB is in failed state
    [Apr 16, 2008 3:49:00 PM] Operation failed with error: Missing class: oracle.jbo.server.ejb.StatefulSessionBeanImpl Dependent class: model.server.ejb.beanmanaged.AppModuleServer Loader: ModelEJB.root:0.0.1 Code-Source: /D:/OC4J/j2ee/home/applications/ModelEJB/ModelEJB.jar Configuration: in D:\OC4J\j2ee\home\applications\ModelEJB (Failure analysis caught java.lang.IllegalStateException: ClassLoader "ModelEJB.root:0.0.1" (from in /D:/OC4J/j2ee/home/applications/ModelEJB/): This loader has been closed and should not be in use.)
    Can some one help me in this...
    Thanks & Regards,
    Kaushik

    Hi,
    The name of the data-source should match with the value of 'Location' in data-sources.xml
    ex: "jdbc/OracleDS"
    Can you give more details of your problem like how you are deploying?
    Kavitha

  • Error while deploying ear in weblogic 9.1

    im getting the following error while deploying my ear created using ant script in weblogic 9.1.
    pls help me
    <May 2, 2006 8:14:42 PM IST> <Error> <J2EE Deployment SPI> <BEA-260101> <Parameter may not be null.
    java.lang.NullPointerException
         at weblogic.deploy.api.internal.utils.ConfigHelper.checkParam(ConfigHelper.java:142)
         at weblogic.deploy.api.tools.ModuleInfo.createModuleInfo(ModuleInfo.java:82)
         at weblogic.deploy.api.tools.SessionHelper.getModuleInfo(SessionHelper.java:607)
         at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:453)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    **********************

    Hi Binu,
    Was the ear file built using WLS 9.1 ant scripts ?
    Thanks
    Raj

  • Error while deploying applications in ALBPM 6.0 ! Please help.

    Hi,
    We are testing the migration from ALBPM 5.7 to 6.0.4. We followed the steps of the upgrade guide from 5.7 to 6.0. However after migrating and deploying our existing 5.7 workflow projects using process administrator to 6.0.4 , we see the following exception in the logs. Has anyone encountered this before. Any possible suggestions on how to resolve this.
    Main: Message: Unexpected Exception....
    [     (cont)     ] Main: Exception message in the remote host: class java.lang.RuntimeException: Error while deploying application [ear=Fuego-WebLogic-Deployer/fuego_webapp_expanded/07-papiws-albpmdirectoryservicedatasource.ear, name=07-papiws-ALBPMDirectoryServiceDataSource.ear]......
    Main: Caused by: java.sql.SQLException: Invalid column type
    [     (cont)     ] Main: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    [     (cont)     ] Main: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    [     (cont)     ] Main: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
    (cont) ] Main: at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
    [     (cont)     ] Main: at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
    [     (cont)     ] Main: at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    [     (cont)     ] Main: ... 2 more
    [     (cont)     ] Main: Caused by: java.lang.RuntimeException: Critical Error.
    [     (cont)     ] Main: Detail:
    [     (cont)     ] Main: Exception [java.sql.SQLException: Invalid column type].
    [     (cont)     ] Main: Caused by: Invalid column type
    [     (cont)     ] Main: fuego.directory.DirectoryRuntimeException: Exception [java.sql.SQLException: Invalid column type].
    [     (cont)     ] Main: at fuego.directory.DirectoryRuntimeException.wrapException(DirectoryRuntimeException.java:85)
    [     (cont)     ] Main: at fuego.directory.provider.jdbc.oracle.OraclePersistenceManager.mapSQLException(OraclePersistenceManager.java:145)
    [     (cont)     ] Main: at fuego.directory.provider.jdbc.datadirect.oracle.DataDirectOraclePersistenceManager.mapSQLException(DataDirectOraclePersistenceManager.java:51)
    Any help would be appreciated.

    I am getting the same error...when I created engine and directory service, i got a sql script which I executed in engine and directory service schema..
    worked fine...is there any i need to do extra...i am getting this error....need to solve this out ASAP..Gurus please help !!!
    Edited by: user12053514 on Oct 15, 2009 6:31 AM

  • Error while deploying EJB

    Hey Folks
    I am getting following error while deploying my ear file
    Auto-deploying sample-ejb.jar (No previous deployment found)... Error compiling D:\J2EE\SAMPLE\bin\SAMPLE/SAMPLE-ejb.jar: Syntax error in source
    can anybody plz tell me why it is coming
    ASAP help need

    Hi manishnsachdev,
    As per specs :
    The ObjectNotFoundException exception is thrown by a finder method to indicate that the specified EJB object does not exist.
    Since you're not executing any finder methods in your code, you should change your method signature to exclude the ObjectNotFoundException.
    Regards,
    Dimitar

  • Error while deploying ear using Oracle weblogic 11g in local machine

    Hi,
    Initially I installed Jdeveloper along with Weblogic and got the below error while deploying. Later I uninstalled Jdeveloper and weblogic, etc and installed a new weblogic on my local machine and tried to deploy ear. But still got the same error. With the same installable file and same ear, we could deploy successfully on my colleagues' machine. Any idea?.
    Satus: deploy Failed
    Description: [Deployer:149026]deploy application part on AdminServer.
    Begin Time: Thu Feb 03 13:45:01 EST 2011
    End Time: Thu Feb 03 13:45:11 EST 2011
    Exception: [J2EE:160149]Error while processing library references. Unresolved Webapp Library references for "ServletContext@22411886[app:part module:part path:/part spec-version:2.5]", defined in weblogic.xml [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false].
    Regards,
    Rama

    and also post the section of weblogic.xml which refers to JSTL library
    some entry like <library-ref>

  • Getting an Error while deploying ear file to WAS 6.40 server

    Hi All,
    I am getting following error while deploying the application
    Result
    => deployment aborted : file:/C:/DOCUME1/bv45127/LOCALS1/Temp/temp31955boc.com~cedapp.ear
    Aborted: development component 'cedapp'/'boc.com'/'QUA_00000127_D'/'20070328162705':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application boc.com/cedapp.. Reason: Exception during generation of components of application boc.com/cedapp in container EJBContainer.; nested exception is:      com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application boc.com/cedapp in container EJBContainer.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    I have added reference to JCO  in application-j2ee-engine.xml.
    Please guide me
    Thanks
    Bidhudas

    Hi Again,
    Now with a different problem.
    I have removed configuration and imported the configuration again. But now it is not recognizing API ( created by me with all common classes as java project).
    Structre of the application is as follows
    Cedapp -  ear file
    Cedejb   - ejb module
    Cedweb – web module
    Cedapi  - java project with common classes used in both ejb module and  web module and published as library. This refered in both the ejbmodule and web module.
    The problem now I am facing is that cedapi is not getting recognized by ejb module or web module. But it is available in used dcs of each.

Maybe you are looking for

  • Quick tip of the week

    Hi All, Have you noticed that the "quick tip of the week" on the apple.com/business/videotips page are done on machines running tiger. A number of them including some of those most recently added (e.g. "When a pdf is too big", and "zip up your files"

  • Table / FM for Consumption of meter

    Hi Experts, I have to find out consumption of meter and check meter in a particular month/period  please give me table of FM which give details of consumption. Any help will be highly rewarded. Regards Bikas

  • Deploy different Web roles on different Operating Systems?

    The following roles are deployed to Windows Azure Cloud Services. Is it possible to deploy the ARR Role (see image) on Windows 2008 and the Web Role on Windows 2012? Or can you choose only one OS (osfamily) for all Roles? Best Regards, Simon de Kraa.

  • Output panel contents to image in servlet

    Hello, Is there any way to take the contents of a panel and output them to an image within a Java servlet? Cheers, Chris

  • Normal behaviour?

    Hi everyone, I have bought the last MBP 13 inch (2011) for one month and I made a mistake, I installed Fan Control which disturbed the fan's behaviour (I think)!  I uninstalled the program and reset the SCM but I'm not sure the fans are working! I ha