How to Deploy .war on J2EE

Hi,
Can anyone tell me how do i deploy .war file on J2EE engine. While searchin for the solution, i learnt that i need to convert .war file to .ear file, is that right?. Can anyone tell me how do i do that. what tool to use and the procedure. I dnt want to do the conversion from .war to .ear and deployment through NWDS.
Regards,
naveen

Hi,
Thanks for the reply. I was able to convert the .war file to .ear file using the deploy tool as suggested by you. But i'm having problem connecting to the J2EE engine.Our portal is active at port 50000 and hence wanted to
deploy the EAR on the port 50000.While tryin to connect to port
50000 we get the followin error,but connection to other port (50004) does not
throw any error. I tried resetting the user 'Administrator' and the port to 50000 using config tool, but still the same error is being displayed. I also restarted the J2EE engine after makin the changes.
ERROR: Cannot connect to Host: [localhost] with user name: [Administrator]
Check your login info.
Exception is:
com.asap.engine.services.jndi.persistent.exceptions.NamingException:
Exception while trying to get InitialContext. [Root exception is
com.sap.engine.services.security.exceptions.BaseLoginException: Cannot
create new RemoteLoginContext instance.]
Please assist in solving the above issue.

Similar Messages

  • How to deploye .war files in SOA_Server1 ?

    Hi,
    I was created Auto Generated Task form for Human Task in 11G.After that how to deploye .WAR files manually in
    "Infra -Soa(Soa_srerver1)" .Plz help me now

    When you auto-generated the UI it would have defaulted to creating a web app project in your application. When you deploy the BPMN process, there are three steps in the wizard:
    1. Deploy Configuration
    2. Task flow deployment
    3. Select Server
    In step 2 you can select some of all of the UI projects in the app and deploy them as part of deploying the composite. The build/deploy process will automatically create the war(s) and ear file. Once they're deployed, you can leave them un-selected to avoid redeploying them each time you just change the process definition. If you make changes to the UI, you can just select them again during deployment and select the option to overrwrite the EAR.

  • How To Deploy WAR Weblogic

    please need help
    How To Deploy WAR Weblogic server 11gr1
    thanks for your help

    would this help you
    http://www.sagecomputing.com.au/papers_presentations/JDEV11g-WebLogic10.3.pdf

  • How to deploy oracle forms + J2EE application in single OC4J instance

    We have ORACLE forms application, which is deployed in OC4J Instance in application server.
    There are some modules, which are developed in Java/J2EE, which are invoked from Oracle forms application. Currently this java application is
    deployed in separate OC4J instance.
    Could you please help us how to combine this forms +J2ee application in single ear file,
    And this ear file has to be deployed in one OC4J instance.

    Maybe have a look at :
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/basics.htm

  • How to deploy war webapp on standalone weblogic ?

    Hi All
    We have several war files and an ear file. A few war files are shared libraries, other war files are webapp and an ear file.
    How do we deploy a war file to standalone weblogic ?
    Must we explode the war file in order for weblogic to deploy or can we deploy a war like an ear file using ojdeploy ?
    Any steps to configure meta-data files to allow successful deployment ?
    What steps do we need to perform ?
    Thank you
    Sincerely

    hi user,
    i don't see any jdev version and also i dont see that standalone deployment in production? or else ?
    better google it is the rightway.
    Anyhow,
    deploying the war file:
    JDeveloper Frequently Asked Questions: FAQ #3 - How to deploy an ADF application on a standalone WebLogic server directl…
    http://www.sagecomputing.com.au/papers_presentations/2009_WLS_JDEV.pdf
    deploying in production.
    How-To: ADF Deployment Guide
    deploy using ojdeploy the famous chris blog is there.
    https://wikis.oracle.com/display/jdeveloperandadf/ADF+Build+and+Deploy

  • How to deploy war files

    Hi, I am absolutely new to solaris. I just find out how to run apache server, (did it by command: svcadm enable apache2) Now I have a war file that I want to use but I have no idea how to. I found the DocumentRoot "/var/apache2/htdocs" , so I copy the war file in that directory... now I have no idea what to do.. I read tomcat should extract it somehow automatically, but nothing happens.

    What you are talking about is Apache httpd server.
    And what you need to deploy war (WebARchive) file is Apache Tomcat Servlet Container. You see, Apache httpd and Apache Tomcat are two different things.
    So, download Tomcat, put your war file into webapps catalog, run the Tomcat, and that is basically it. Application in the war file should be accessible in its context through the browser.

  • How to deploy .WAR or .EAR  or .SDA file

    dear friends,
    I created a dictionary file and an ear file.
    From Netweaver studio i configured SAP J2EE Engine with the IP address and the port number as 3601 ( even i tried 3601, 50000)
    But after selecting file and click on deploy, it is giving
    Deployment aborted message.
    But i can deploy .par file from netweaver with out any problem.
    Can anybody tell me how to deploy .ear and .sda files
    What are other ways i can deploy
    early reply appreciatd
    kantha

    Hi Kantha,
    you can try to deploy via SDM (Software Deployment Manager)! Check this link for more info: http://help.sap.com/saphelp_webas630/helpdata/en/05/4fac3e00c8b014e10000000a114084/content.htm
    Hope this helps,
    Robert

  • How to deploy WAR file in tomcat.?

    Can anybody please provide step by step information of deploying war file to Jakarta tomcat without IDE.
    I am working on Windows XP with jakarta tomcat 4.1.30.
    Thanks in advance.
    Regards,
    Aman Aggarwal

    See if tomcat runs as a service in your operating system. If you can locate it, you can set the start type to automatic. A very crud way is to run the tomcat startup file from autoexe.bat.
    I don't know how to do this in Linux. Here is a link for tomcat 6. Maybe it is the same in tomcat 4
    [http://tomcat.apache.org/tomcat-6.0-doc/setup.html]
    Edited by: nirvan on Dec 29, 2008 9:15 AM

  • How to deploy WAR in Tomcat

    I deploy WAR package into Tomcat,but no work!!
    27 三月 2009 08:42:57,993 [http-80-Processor25] ERROR Revision: 13 .pingDB(DatabaseService.java:69) - pinging db: TAW_PRIVATE_DATASOURCE
    27 三月 2009 08:42:58,009 [http-80-Processor25] ERROR Revision: 13 .getDBConnection(DatabaseService.java:499) - got exception when try to get db connection: java.lang.UnsupportedOperationException: Not supported by BasicDataSource
    27 三月 2009 08:42:58,009 [http-80-Processor25] DEBUG Revision: 13 .getDBConnection(DatabaseService.java:508) - close connection
    27 三月 2009 08:42:58,009 [http-80-Processor25] ERROR Revision: 13 .pingDB(DatabaseService.java:83) - got sql error in pingDb, retVal = false
    27 三月 2009 08:42:58,009 [http-80-Processor25] ERROR Revision: 9 .retriveNewLiveDB(DatabaseConnections.java:65) - All the databases are down!
    27 三月 2009 08:42:58,009 [http-80-Processor25] ERROR RegionalizationLibrary.populateBean(RegionalizationLibrary.java:210) -
    java.lang.NullPointerException
         at com.taw.database.TableDataSet.<init>(TableDataSet.java:32)
         at com.taw.database.TableDataSet.<init>(TableDataSet.java:27)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.loadTemplateName(RegionalizationLibrary.java:247)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.loadTemplate(RegionalizationLibrary.java:238)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.populateBean(RegionalizationLibrary.java:206)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.<init>(RegionalizationLibrary.java:64)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:87)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    27 三月 2009 08:42:58,009 [http-80-Processor25] DEBUG RegionalizationLibrary.getLanguagesFormatter(RegionalizationLibrary.java:492) - ****Creating new LanguagesFormatter
    27 三月 2009 08:42:58,040 [http-80-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[TAW].[jsp].invoke(StandardWrapperValve.java:253) - Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
         at com.taw.clients.am.regionalization.RegionalizationFormatter.<init>(RegionalizationFormatter.java:12)
         at com.taw.clients.am.regionalization.LanguagesFormatter.<init>(LanguagesFormatter.java:13)
         at com.taw.clients.am.regionalization.RegionalizationLibrary.getLanguagesFormatter(RegionalizationLibrary.java:493)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:88)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    My "context.xml":
    <Context reloadable="true" crossContext="true">
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
         <Resource name="jdbc/cca" auth="Container"
    type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:oracle:thin:@127.0.0.1:1521:ORCL"
    username="CC81" password="cc81" maxActive="200" maxIdle="10"
    maxWait="-1"/>
    </Context>
    My "web.xml":
    <context-param>
    <param-name>databasePlatform</param-name>
    <param-value>ORACLE</param-value>
    </context-param>
    <context-param>
    <param-name>databaseSchema</param-name>
    <param-value>ADMINCC81</param-value>
    </context-param>
    <context-param>
    <param-name>databaseDatasource</param-name>
    <param-value>java:/comp/env/jdbc/cca</param-value>
    </context-param>
    <context-param>
    <param-name>databaseUser</param-name>
    <param-value>CC81</param-value>
    </context-param>
    <context-param>
    <param-name>databasePassword</param-name>
    <param-value>cc81</param-value>
    </context-param>
    <resource-ref>
    <description>Oracle Datasource</description>
    <res-ref-name>jdbc/cca</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>

    The 3 application servers that are supported are BEA Weblogic, Oracle Application Server and IBM Websphere.
    Tomcat was used of the V7 remote DB application.

  • How to Deploy war file in oracle apps 12

    Hi,
    Please advice the steps to deploy war file on the Oracle apps release 12.
    Thanks..

    Hi,
    Have a look at the following note, it may be helpful.
    Note: 557221.1 - Oracle WebCenter 10g Application Creation and Deployment Guide for Oracle E-Business Suite Release 12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=557221.1
    Regards,
    Hussein

  • How to deploy war file in wesphere5.1

    hi
    i am new to websphere 5.1. i am trying to deploy war file in websphere admin it giving an error that ear file is corrupt. same file is working with weblogicc..
    so please tell me step by step .
    if is there any other site where can i get the step step process..
    thanks
    anagh

    first step: read documentation
    second step: apply gathered knowledge
    a few pointers, if i am not mistaken your problem is that a weblogic ear uses weblogic specific application.xml, you might wanna focus on that

  • How to Deploy WAR file in solaris

    I want to deploy WAR file in Solaris.

    Install Java on Solaris.
    Install Tomcat (or whatever app server you want to on Solaris)
    Deploy the WAR file in the standard place for that app server.
    ie Tomcat would be [TOMCAT]/webapps directory.

  • How to deploy war file in different directory?

    I know one simple way to do deploy a war file is to dump it in webapps directory without a need a set server.xml. However, doing so will also inflate the war file in the webapps directory, which is not what I want.
    I want to be able to drop the war file in the Tomcat webapps directory, but automatically gets inflated in my project specific directory (say C:\projectName).
    How do I do that? Thanks.

    you should have a console option to do that so...
    For example in WEBLOGIC you can get it through
    http://localhost:7001/console
    here you can do it you will come to know just by seeing that..
    Similarly i think there will be a chance for others also.

  • How to deploy .war file with Spring 2.5/Hibernate 3 into WebLogic 10.3.6

    Hey everyone,
    I tried to deploy a .war file, which is written in Spring 2.5/Hibernate 3/J2EE 1.4, into WebLogic 10.3.6. Failed.
    following are steps I did:
    install the war file via Install Application Assistant of webLogic console
    1. select .war file
    2. select Install this deployment as an application
    3. select a Server (WLS_easement)
    4. follow default steps
    5 ...
    6. click Finish button
    7. go back to Deployments, State of the .war is Distribute Initializing
    8. click Active Changes button.
    9. state is changed to Prepared
    10. select the Deployment, select Start -> Servicing all requests
    11. got Failed state
    12, then I check WLS_easement.out
    ...org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed...
    13. in /WEB-INF/applicationContext.xml,
    <bean id="springSessionFactory"
      class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
      <property name="configLocation">
       <value>classpath:hibernate.cfg.xml</value>
      </property>
    </bean>
    so looks like WebLogic has trouble to connect Hibernate 3? is there specific .jar required?
    Can somebody shed a light on this or any input you may have?
    Thanks in advance,
    Feng

    Please attach the error log to this thread
    Also did you package hibernate libraries within the application?  or added to classpath explicitly for server classloader to load it?
    Please check and revert back.
    Thanks,
    Vijaya

  • How to deploy .war file.

    Hi All,
    I am new to SOA and done the Hello World BPM process. Then I deployed the apllication to SAR instead of deploying directly to the server. Then I deployed the SAR file in the EM console and tried to deploy the .war file in Weblogic console which is containing the ADF applications. But it showed me oracle.adf.library.webapp.ResourceServlet error. So, after that I tried deploying .ear file instead of the .war file. Then it get deployed successfully.But, I am unable to get the task in BPM workspace. Could you guys please suggest.
    Thanks and Regards,
    Ram

    Please attach the error log to this thread
    Also did you package hibernate libraries within the application?  or added to classpath explicitly for server classloader to load it?
    Please check and revert back.
    Thanks,
    Vijaya

Maybe you are looking for