How to deploy exploded war file(from JBoss-Eclipse IDE) to Sun Server 9

anyone plz tell how to deploy exploded war file (from JBoss-Eclipse IDE) to sun application server 9.i deployed noramllay at tht time404 hrown.plzz tell urgent
regards,
S Sunder

Hi!
How did You deploy WAR file? Did You try to do this with Application Server Admin Console?
Thanks,
Roman.

Similar Messages

  • How to deploy a war file from a different app server to the SAP one

    Hello,
    I hve recieved a war file from Tomcat that needs to be deployed on the SAP Java App server. As far as I know the SDM only allows to deploy ear files. How can I deploy this war to the app server?

    Hi Roy,
    in order to deploy the WAR file you have to wrap an EAR around it. I had the same problem.
    You can do this using Netweaver Developer studio.
    Perform the following steps:
    - Start NWDS
    - Create a New Enterprise Application Project
    - Create a New Web Module Project (name it like your war file => e.g. your war file is called myApp.war => call your Web Module myApp)
    - Edit the application.xml of your Enterprise App if necessary (description, Displayname etc.)
    - Link your Web Archive to your application archive (right Mouse click on Application Archive and from the Context Menu choose "Add Modules" => In the list choose your Web Module)
    => You can also perform a right mouse click on your web Module and from the context menu choose "Add to EAR Project" => In the list choose your Enterprise Application!
    - Build Web Archive (right mouse click on your Web Module and from the context menu choose "Build Web Archive" => This will create a war file that has the same name as your war file! => If you do not see it try to switch to resource perspective!)
    - Build Application archive (right mouse click on Application archive => from the context menu choose "Build Application Archive")
    You are done
    The EAR file is generated and will be created in your workspace.
    Now browse to your workspace. Unpack the EAR using WinZip or any other Archiver program.
    Replace the contained war with your war and repack the ear file (You can also use tools like Total Commander to directly replace the war file in the EAR with your war without having to unpack the war). You can also import your war into NWDS and rebuild it so you won't have to replace the WAR in the EAR but as your WAR is already built I would just replace it as described!
    You can now deploy the ear file to SAP J2EE
    Hope this helps (Reward points for helpful answers are appreciated!)
    Cheers

  • How to deploy a .war file in jboss  using eclipse

    Hi,
    iam new to using eclipse as my ide. i have installed the jboss ide in it. i have a servlet and i would like to deploy the servlet in jboss through eclipse, can some one help me with this

    Hi,
    This forum is exclusively for Sun Java Studio Creator.
    Please post the question in the appropriate forum.
    Thanks,
    Creator Team

  • How to deploy a war file on Weblogic Server 7.0??

    Hello Everyone
    I am trying to deploy a servlet on Weblogic Server 7.0 as a WAR file. Can anyone of u plz tell me the steps required to do that. I am posting this question on EJb forum and not on servlets coz this is not a servlet problem, rather this is something which is related to J2EE, ie how to deploy a war file on J2EE Server.
    This is how i have done it, but this is not working---
    (1) First i created a directory structure for the web application according to J2EE Specification.
    C:\Work\
    myServletWAR\
    META-INF\
    WEB-INF\
    classes\
    HelloServlet.class
    web.xml
    i.e within work directory, there is a dic called myServletWAR which is my application directory which contains 2 sub directories viz META-INF which contains the mainifest file being generated by the jar utility. the second directory in the myServletWAR application dir is WEB-INF, which contains one file called web.xml for servlet mapping and one directory classes which contains HelloServlet.class
    (2) I used following command for creating war file from myServletWAR director(i.e from my web application's directory).
    jar -cvf TestServletWAR.war .
    This creates the TestServletWAR.war file in myServletWAR dir.
    Here is how my Servlet and web.xml looks like...
    Servlet code
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloServlet extends HttpServlet
    public void doPost ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    doGet( req, res );
    public void doGet ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    res.setContentType( "text/html" ); // Can also use "text/plain" or others.
    PrintWriter out = res.getWriter();
    // Get the requestor's IP address (See JavaDocs to see how to get other info):
    String addr = req.getRemoteAddr();
    // Create output (the response):
    out.println( "<HTML><HEAD><TITLE>HelloServlet in myServletWAR</TITLE></HEAD>" );
    out.println( "<BODY><H1 ALIGN=\"CENTER\">" );
    out.println( "Hello " + addr + ", from HelloServlet in myServletWAR!" );
    out.println( "</H1></BODY></HTML>" );
    out.close();
    ************************Servlet Ends Here **************************
    web.xml
    ---------------------------------------------------------- <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <display-name>myServletWAR, a first Web Application</display-name>
    <description>
    This is a simple web application containing a single servlet
    of the "Hello, World" variety.
    </description>
    <servlet>
    <servlet-name>myHello</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>myHello</servlet-name>
    <url-pattern>/myHello</url-pattern>
    </servlet-mapping>
    </web-app>
    ****************************web.xml file ends here********************
    After deploying the TestServletWAR.war file on the weblogic 7.0, i tried to execute the servlet from the browser by the following URL
    http://localhost:7001/myServletWAR/myHello
    I am getting the HTTP 404 Error, which is an indication that weblogic was unable to find the resourse, which it was requested for. Can anybody plz tell me what i m doing worng?? do i need to use weblogic related xml file (i.e weblogic.xml) also along with web.xml. If yes, then what all i need to include that. I m not very sure. A sample weblogic.xml file for this HelloWorld example will help me a lot.
    Looking forward for your help
    Thanx in advance
    Nisha

    hi i have read ur answer regarding deploing a servlet in weblogic 7.0
    i am facing another problem
    when i try to access the servlet inside my classes directory it throwa an error stating this :
    IT DOES NOT FOUND THE CLASSES ON WHICH MY SERVLET DEPENDS.WHAT DOEES ATHIS MEAN
    KINDLY TELL ME
    PUNEET JAIN
    <May 28, 2003 1:46:25 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Se
    rvlet class myclasses.Wservlet for servlet welcome could not be loaded because a class on which it depends was not found
    in the classpath D:\bea\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\W
    ebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)>
    <May 28, 2003 1:46:26 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)] Ser
    vlet failed with ServletException
    javax.servlet.ServletException: [ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Servlet class myclasses.W
    servlet for servlet welcome could not be loaded because a class on which it depends was not found in the classpath D:\be
    a\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\WebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

  • How to deploy a WAR file in JRun server?

    hi,
    I created one war file, now i want to deploy that file in JRun server. can anyone give me an idea of how to deploy that war file in server...

    By following the deployment documentation for your server. This isn't a general purpose "help me do everything" forum

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

  • How to deploy a war file with no descriptors in WLS - quick question

    Hi All
    How do we deploy a war file, which doesnt have weblogic.xml nor web.xml in it ?
    We have these xml files.
    1- How do we include these xml files ? any command line to do that ?
    2- Which is an easier approach to deploy a war file
    a) include these xml files into the war and then deploy with WLS using weblogic.Deployer or
    b) explode the war and then copy these xml files to its WEB-INF ?
    Is there an example we could use to follow to deploy our war file ?
    Thanks

    Puthanampatti, thanks for responding.
    What is the complete command line to deploy the war to a managed server, not Admin Server ?
    Our thinking is to deploy an exploded war directory but copy the descriptor files first.
    What do you think ?

  • Deploy exploded WAR file

    Hello!
    I need to deploy a war file extracted into a custom folder. Is it possible in WEB AS to point the deployment to a particular folder of our choice instead of deploying the WAR/EAR file?
    Thanks
    /Ray

    Hi Ray,
    applications on Web AS are deployed in the database, and the corresponding binaries are synchronized to the file system from the DB. Hence, you cannot point the deployment to a custom directory.
    Anyway, why do you need that? Usually, exploded deployment is needed for development environment for the sake of quick update of the changed files? Is that your requirement also? If so, you could try using the Single File Update function of the Web AS Deploy service to update single files in your application. For details, see Deploying exploded EAR in WAS 6.40 thread.
    Hope that helps a bit.

  • How to deploy jsr168 war file into Webcenter Portal

    I want to intergated a jsr168 war file with Web Center Portal. I only install WebCenter Portal without JDeveloper and Content. So how should I deploy it?
    Thank you!
    Regards,
    Jugela

    You have the weblogic domain right ? Opent the enterprise manager in browser by hitting the below url -
    http://<Admin Server address>:<port>/em
    login with credentials.
    From deployments end,you can install the war file which will targeted to WC_Portlet server.
    After that register the portlet WSRP url with your application and use it.
    The above suggest is without the intervention of jdeveloper /webcenter.
    Regards,
    Hoque

  • Deploying a war file from iasconsole

    Hi All,
    I am trying to deploy war file web application.
    In iasconsole i deployed it successfully.
    =========================================
    specify the war file location: rpmxxx
    Application name: rpmxxx
    Map to URL: /applications/rpmxxx
    =========================================
    Then i modified the following xml files under j2ee/home/config
    application.xml
    =========================================
    <web-module id="rpmxxx" path="/oracleas/9iserver/APPSERV/j2ee/home/applications/rpmxxx/rpmxxx.war"/>
    =========================================
    server.xml
    =========================================
    <application name="rpmqa" path="../applications/rpmxxx.ear" auto-start="true" />
    =========================================
    default-web-site.xml
    =========================================
    <web-app application="rpmxxx" name="rpmxxx" load-on-startup="true" root="/applications/rpmxxx"/>
    =========================================
    http-web-site.xml: i changed the port number from 8888 to 8588, and add a line of application
    =========================================
    <web-site port="8588" display-name="OC4J Java HTTP Web Site">
    <web-app application="rpmxxx" name="rpmxxx" root="/rpmxxx" />
    =========================================
    After all these are done, i tried to access the url http://hostname.company.com:8588/rpmxxx/index.jsp.
    It gives me the error "The page can not be displayed"
    I am not sure where i did it not right.
    Please help and advise.
    Thanks,
    leim

    user8749043 wrote:
    Hi All,
    I am trying to deploy war file web application.
    In iasconsole i deployed it successfully.
    =========================================
    specify the war file location: rpmxxx
    Application name: rpmxxx
    Map to URL: /applications/rpmxxx
    =========================================
    Then i modified the following xml files under j2ee/home/config
    application.xml
    =========================================
    <web-module id="rpmxxx" path="/oracleas/9iserver/APPSERV/j2ee/home/applications/rpmxxx/rpmxxx.war"/>
    =========================================
    server.xml
    =========================================
    <application name="rpmqa" path="../applications/rpmxxx.ear" auto-start="true" />
    =========================================
    default-web-site.xml
    =========================================
    <web-app application="rpmxxx" name="rpmxxx" load-on-startup="true" root="/applications/rpmxxx"/>
    =========================================
    http-web-site.xml: i changed the port number from 8888 to 8588, and add a line of application
    =========================================
    <web-site port="8588" display-name="OC4J Java HTTP Web Site">
    <web-app application="rpmxxx" name="rpmxxx" root="/rpmxxx" />
    =========================================
    After all these are done, i tried to access the url http://hostname.company.com:8588/rpmxxx/index.jsp.
    It gives me the error "The page can not be displayed"
    I am not sure where i did it not right.
    Please help and advise.
    Thanks,
    leimFind the following log file at ORACLE_HOME/opmn/logs/OC4J~<instance>~default_island~1

  • How to deploy a war file into websphere appserver? error !!!

    Hello expert,
    I build one very simple war file, simpletest.war, using build tool 'ant', I did not have any tools available at this moment:
    D:\Projects\E-form\simpletest\build>jar.exe -tvf simpletest.war
    0 Fri Nov 11 12:06:52 CST 2005 META-INF/
    106 Fri Nov 11 12:06:50 CST 2005 META-INF/MANIFEST.MF
    0 Fri Nov 11 12:06:50 CST 2005 WEB-INF/
    0 Fri Nov 11 12:06:50 CST 2005 WEB-INF/classes/
    0 Fri Nov 11 12:06:50 CST 2005 WEB-INF/classes/txdot/
    0 Fri Nov 11 12:06:50 CST 2005 WEB-INF/classes/txdot/forms/
    0 Fri Nov 11 12:06:50 CST 2005 WEB-INF/classes/txdot/forms/renderform/
    0 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/
    476 Fri Nov 11 11:58:20 CST 2005 Default.jsp
    3045 Fri Nov 11 12:06:52 CST 2005 WEB-INF/classes/txdot/forms/renderform/GetForm.class
    513415 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/dom4j-full.jar
    1171931 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/etechUtils.jar
    92281 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/formServer-client.jar
    288752 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/j2ee.jar
    32062 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/jaxrpc.jar
    60047 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/resolver.jar
    959368 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/xercesImpl.jar
    126179 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/xercesSamples.jar
    124724 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/xml-apis.jar
    124724 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/xmlParserAPIs.jar
    721 Fri Nov 11 11:58:28 CST 2005 WEB-INF/web.xml
    And web.xml is :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
    <web-app>
    <servlet>
    <servlet-name>txdot.forms.renderform.GetForm</servlet-name>
    <servlet-class>txdot.forms.renderform.GetForm</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>txdot.forms.renderform.GetForm</servlet-name>
    <url-pattern>/GetForm</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>Default.jsp</welcome-file>
    </welcome-file-list>
    <error-page>
    <error-code>404</error-code>
    <location>/renderform/error.jsp</location>
    </error-page>
    </web-app>
    But when I try to deploy into websphere app server, it gave me one error saying corrupted files. But the same file I can run in Jboss.
    Thanks a lot.
    Grace

    Yanping, we use ANT all the time to deploy to WebSphere without a problem.
    Why don't you ask Natasha or John for some help. Otherwise, walk over to Walnut Street and ask at the Computer Support Center.

  • How to deploy a war file into websphere appserver

    Hello expert,
    I build one very simple war file, simpletest.war, using build tool 'ant', I did not have any tools available at this moment:
    D:\Projects\E-form\simpletest\build>jar.exe -tvf simpletest.war
    0 Fri Nov 11 12:06:52 CST 2005 META-INF/
    106 Fri Nov 11 12:06:50 CST 2005 META-INF/MANIFEST.MF
    0 Fri Nov 11 12:06:50 CST 2005 WEB-INF/
    0 Fri Nov 11 12:06:50 CST 2005 WEB-INF/classes/
    0 Fri Nov 11 12:06:50 CST 2005 WEB-INF/classes/txdot/
    0 Fri Nov 11 12:06:50 CST 2005 WEB-INF/classes/txdot/forms/
    0 Fri Nov 11 12:06:50 CST 2005 WEB-INF/classes/txdot/forms/renderform/
    0 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/
    476 Fri Nov 11 11:58:20 CST 2005 Default.jsp
    3045 Fri Nov 11 12:06:52 CST 2005 WEB-INF/classes/txdot/forms/renderform/GetForm.class
    513415 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/dom4j-full.jar
    1171931 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/etechUtils.jar
    92281 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/formServer-client.jar
    288752 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/j2ee.jar
    32062 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/jaxrpc.jar
    60047 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/resolver.jar
    959368 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/xercesImpl.jar
    126179 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/xercesSamples.jar
    124724 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/xml-apis.jar
    124724 Fri Nov 11 12:06:50 CST 2005 WEB-INF/lib/xmlParserAPIs.jar
    721 Fri Nov 11 11:58:28 CST 2005 WEB-INF/web.xml
    And web.xml is :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
    <web-app>
    <servlet>
    <servlet-name>txdot.forms.renderform.GetForm</servlet-name>
    <servlet-class>txdot.forms.renderform.GetForm</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>txdot.forms.renderform.GetForm</servlet-name>
    <url-pattern>/GetForm</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>Default.jsp</welcome-file>
    </welcome-file-list>
    <error-page>
    <error-code>404</error-code>
    <location>/renderform/error.jsp</location>
    </error-page>
    </web-app>But when I try to deploy into websphere app server, it gave me one error saying corrupted files. But the same file I can run in Jboss.
    Thanks a lot.
    Grace

    Hello,
    Who are you pls? It looks like you know all of us.
    Thanks for your response. Is there special format for
    web.xml or just generic?
    GraceYanping:
    web.xml has a DTD that is readily available. You may refer to it.

  • How to deploy a war file?

    could any one pls suggest the steps need to take care for the deploying war file with OAS 9i. I was able to see the first default page but while trying to call the JSP page from main page , System displaying page cannot be displayed "Internal server error".

    Hi steve,
    Thanks for the suggestion...
    I was able to deploy the application but while trying to call the JSP page from the main page,system throwing me the below error.
    500 Internal Server Error
    OracleJSP: oracle.jsp.parse.JspParseException: Line # 1, &lt;%@ taglib uri="/WEB-INF/wilog.tld" prefix="log" %&gt;
    Error: Prefix log is already used by a previous taglib directive.
    Could you please help me to sort out the issue.
    Aravind

  • How to deploy the war file in weblogic 6.0 with sp1?

    I write a jap and a web.xml files and also pack these files into a war file.
              When I use the console to deploy the war, the console think the war is a
              application, not web application.
              I attach the test.war.
              [test.war]
              

    change your web-inf directory name to WEB-INF. This should fix your problem.
              Kumar.
              Alex wrote:
              > I write a jap and a web.xml files and also pack these files into a war file.
              > When I use the console to deploy the war, the console think the war is a
              > application, not web application.
              > I attach the test.war.
              >
              > Name: test.war
              > test.war Type: unspecified type (application/octet-stream)
              > Encoding: x-uuencode
              

  • How to deploy a .war file in a portal?

    Hi,
    I have developed a search engin and made it a .war file. It runs properly
    with Tomecat. Where should I put this file to make it usable with BEA weblogic
    portal 7.0? If I want to put it into a portalet, what configuration must I do?
    thanx.

    Hi,
    Try deploying it to PortalApp application, Copy the war file under PortalApp directory
    and modify the config.xml or using weblogic console for deployment.
    Cheers
    Syed
    "phoebe" <[email protected]> wrote:
    >
    Hi,
    I have developed a search engin and made it a .war file. It runs
    properly
    with Tomecat. Where should I put this file to make it usable with BEA
    weblogic
    portal 7.0? If I want to put it into a portalet, what configuration must
    I do?
    thanx.

Maybe you are looking for