Problem deploying a web application (war)

Hello,
I am having a problem deploying a web application in Tomcat.
Here is what happens:
-I copied the war file into the webapps directory.
-I started Tomcat.
-Tomcat automatically expanded the war file into a directory of the same name.
The problem is that I get the following error: "The requested resource (/jadmin) is not available." when I try to access my web application
Can anyone please help?
Thanks in advance,
Balteo.

Hi,
check the Tomcat log file <tomcat_dir>/logs/localhost_log.yyyy-mm-dd.txt and see if there is an error corresponding to the deployement of the (/jadmin) context.

Similar Messages

  • How to deploy my web application .war file into SAP netweaver Engine

    Hi All,
    I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
    I tried to deploy .war file through SDM but it complained the following error
    "Error loading archive
    C;\Document and Settings\cr1adm\Desktop\MyProject.war
      (server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
    com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    (F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
    Can any one please suggest how to deploy external web application into SAP netweaver engine.
    Is there any procedure to follow to do this.
    your inputs will be highly appreciated...
    Thanks in advance
    JM

    You may need to convert the .war archive to SDA/SCA file  format before deploying it to SAP Netweaver Engine.
    Check out the below SAP NOTE if it is usefull.
    Note 1223957 - Usage of NetWeaver Packaging Tool.
    Apart from SDM you can also deploy the files through telnet...
    Note 859444 - How to deploy libraries on J2EE Engine 6.40
    1)Connect to telnet as below
    Start --> Run
    telnet hostname/ip address portno
    Ex: telnet xxx.xx.xx.x 5<Instance no>08
    2)Login with administrator id:
    Use the below command to deploy the files.
    deploy <directory path to the SDAs location> version_rule=all on_prerequisite_error=stop on_deploy_error=stop
    Example: deploy E:\usr\sap\trans\EPS\in\VCBASE03_0-10006939.SCA version_rule=all on_prerequisite_error=stop on_deploy_error=stop.
    Also have a look at this note which talks about the error you are getting.
    Note 1171457 - IllFormattedSduManifest/SduFileException during deployment
    Hope it helps.
    Edited by: Khaiser Khan Mohammed on Nov 7, 2010 12:17 PM

  • Deploying Java Web Application (WAR-File) into a cluster environment

    Hi,
    we have a web application which has to read from and write to the file system.
    Since a short time we have a cluster environment (2 parallel servers) and since thisa time we have the problem, that files are worked double in the cluster. The application is working on both servers now and so we have this problem.
    Does anybody know how we have to deploy the application correctly in a cluster environment or do we have to change anything in our source code of the application?
    I didn't find any documentation about this.
    At the moment we have deployed the application on one of the two servers only, but I think there must be a better way to solve this problem.
    Thanks for your replies.
    Regards
    Thorsten

    Hi,
    I think first you need to wrap it into an EAR file, then you can deploy it.
    As far as I know standalone deployment of WAR is deprecated as of 640.
    similar threads:
    How to deploy .war on NWDI
    Deploying an existing WAR file into the Portal
    Hopefully this tutorial also gives some idea:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
    Regards,
    Ervin

  • Problem deploying a web application to oc4j in Unix

    Hi! I would like to ask for someone's help on a problem I encountered while accessing a web app deployed to oc4j in Unix. Before deploying the application in Unix, I tried it on a Windows2000 server and it worked fine. I copied the same files (classes, jsps, js, css) to the Unix server and modified the same xml files (data-sources, global-web-application, http-web-site, server). I could access index.jsp of my application but I get a HTTP 404 error on the other pages. Also, the css applied on index.jsp doesn't seem to reflect on the page. Could someone share some insights on this and if you have experienced the same problem, kindly post your suggestions/solutions.
    Thanks a lot,
    Mildred

    Reposting... css problem has been resolved (case sensitivity issue)
    Hi! I would like to ask for someone's help on a problem I encountered while accessing a web app deployed to oc4j in Unix. Before deploying the application in Unix, I tried it on a Windows2000 server and it worked fine. I copied the same files (classes, jsps, js, css) to the Unix server and modified the same xml files (data-sources, global-web-application, http-web-site, server). I could access index.jsp of my application but I get a HTTP 404 error on the other pages. Could someone share some insights on this and if you have experienced the same problem, kindly post your suggestions/solutions.
    Thanks a lot,
    Mildred

  • Using web start to deploy a web-application WAR

    I am planning to develope a web-application, that will run in my clients as localhost. My client will have a Tomcat server, and he can run that application in his own computer without Internet.
    By times, and when he have access to Internet, i would like that he check the new version of that application(WAR file) in my Server, and if there is new version, then he will update the application (WAR file).
    Is there any possibilite that I can use Web Start to deploy WARs directly tomcat/webapps/ ??
    In all documentation of web start, they use for *.JAR. but there is no place where say that I can't use web start for WebApplication.

    Not that I'm aware of.
    You can upload your new WAR to his Tomcat server if you have access to /manager/html on his Tomcat.

  • How to deploy fusion web application war file on weblogic

    Hi
    I am new to ADF. Please let me know how to create war file and the steps for deployment of war file . Its very urgent...

    Unresolved Webapp Library references for "ServletContext@1289849542[app:ws_ear module:WSAEEAPP-ViewController-context-root path:/WSAEEAPP-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    Specify the JSF library in the config.xml file
    <library>     <name>[email protected]_2-0-2</name>     ... </library>
    Refer the library in weblogic.xml
    <library-ref>      <library-name>jsf</library-name>      <specification-version>2.0</specification-version>      <implementation-version>1.0.0.0_2-0-2</implementation-version>      <exact-match>true</exact-match> </library-ref>
    The implementation version may be different.

  • Problems about deploying Oracle web application (Forms, Reports)

    I am going to deploy Oracle web applications (Forms and Reports) and plan to use the same server machine for both Application web server and Database server.
    1. How can I enable SSL (for data encryption) on Application web server for Oracle Forms ?
    2. Since both Application web server and Database server will use the same machine, do I still need Oracle Advanced Security for data transmission between Application web server and Database server if data encryption for transmission is required ?
    3. Can I user Oracle Forms to call Oracle Report on web as I did in Client/Server in the past ?
    Experts like you may have come across such problems. Would you please give me some opinions/ideas ?
    Regards,
    Richard

    1. check the paper about the Forms servlet architecture on otn forms section for SSL tips.
    3. Check the reports and forms integration paper on otn too.

  • How to deploy web application .war file into SAP NetWeaver Engine?

    Hi All,
    I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
    I tried to deploy .war file through SDM but it complained the following error
    - Hide quoted text -
    "Error loading archive
    C;\Document and Settings\cr1adm\Desktop\MyProject.war
      (server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
    com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    (F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
    Can any one please suggest how to deploy external web application into SAP netweaver engine.
    Is there any procedure to follow to do this.
    your inputs will be highly appreciated...
    Thanks in advance

    Hi,
    I think first you need to wrap it into an EAR file, then you can deploy it.
    As far as I know standalone deployment of WAR is deprecated as of 640.
    similar threads:
    How to deploy .war on NWDI
    Deploying an existing WAR file into the Portal
    Hopefully this tutorial also gives some idea:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
    Regards,
    Ervin

  • Deploying a web application on Sun One app server 7

    Hi,
    I am not able to deploy a web application on sun one server using Sun java studio.
    I have created Jsp, Servlet, Session bean and entity bean.
    When I am creating a web_module in the directory where JSP are kept, it is giving me error "directory is already mounted.
    I have already created EJB modules for both the Session and entity bean.
    Can some one tell me the cause / solution of this problem.

    Hi Amol,
    Thank you very much for replying my question. The contents in my application.xml are:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
    <display-name>testwsapp</display-name>
    <description>J2EE Application testwsapp</description>
    <module>
    <web>
    <web-uri>testws_War.war</web-uri>
    <context-root>testws</context-root>
    </web>
    <alt-dd>testws_War.xml</alt-dd>
    </module>
    </application>
    The contents in jaxrpc-ri-runtime.xml are:
    <?xml version="1.0" encoding="UTF-8"?>
    <endpoints xmlns='http://java.sun.com/xml/ns/jax-rpc/ri/runtime' version='1.0'>
    <endpoint
    name='testws'
    interface='contactws.testwsGenServer.testwsRPC'
    implementation='contactws.testwsGenServer.testwsRPCBean'
    tie='contactws.testwsGenServer.testwsRPC_Tie'
    model='null'
    wsdl='/WEB-INF/testws.wsdl'
    service='{urn:testws/wsdl}Testws'
    port='{urn:testws/wsdl}testwsRPCPort'
    urlpattern='/testws'
    </endpoint></endpoints>
    I tried to access and check the web service using:
    http://servername:port/testws/testws
    The first testws is contextroot named and the second testws is url pattern, which was exactly like what you mentioned but I got "404 Not Found" error.
    By the way, using the same ear to deploy to Windows Sun ONE App. Server 7 env. and then using the same url, I can access the web service. I am wondering if there is any special for deploying Web Service on Unix Sun ONE app. Server 7 env. or I missed something?
    I hope I can hear from you soon.
    Thank you again,
    Jackie

  • Deployment of Web application

    Using: WebLogic 6.1 SP3 (J2EE 1.3)
    I have an application which consists of an EJB JAR file and a WAR file which I used to deploy to JBoss and Tomcat respectively. They are working fine in that environment. I want to deploy this application to WebLogic 6.1 SP3.
    1. I generated another JAR file which can be deployed to WebLogic using ejbc (after adding weblogic-ejb-jar.xml file). It went fine and I moved this JAR to weblogic/config/examples/applications folder. I saw in the log file that the EJB's in that JAR file were successfully deployed.
    2. The problem happened when I moved the WAR file to weblogic/config/examples/applications folder. It tried to deploy the web application, but threw an error. These are the messages from the log.
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101053> <[HTTP examplesServer] Loading web app: cronus>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101060> <[examplesServer] Loading "cronus" from directory: "d:\bea\weblogic61\wlserver6.1\config\examples\applications\cronus">
    <Warning> <J2EE> <europa> <examplesServer> <main> <system> <> <160007> <You are running WebLogic Server with J2EE 1.3 features enabled. The implementation of specific J2EE 1.3 features (EJB 2.0, JSP 1.2, Servlet 2.3, and J2EE Connector Architecture 1.0) in BEA WebLogic Server 6.1 is of a non-final version of the appropriate specification. It is subject to change in future releases once the specification becomes finalized. This may cause application code developed for BEA WebLogic Server 6.1 that uses the new features of J2EE 1.3 to be incompatible with the J2EE 1.3 platform supported in future releases of BEA WebLogic Server.>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101031> <[WebAppServletContext(4192856,cronus,/cronus)] extracting classfiles to d:\bea\weblogic61\wlserver6.1\config\examples\applications\cronus\WEB-INF\_tmp_war_cronus:>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101032> <[WebAppServletContext(4192856,cronus,/cronus)] extracted classfiles successfully...>
    <Info> <HTTP Session> <europa> <examplesServer> <main> <system> <> <100037> <Creating SessionContext of type: memory for webapp: /cronus>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101047> <[WebAppServletContext(4192856,cronus,/cronus)] registering classpath servlet with initArgs 'null'>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101047> <[WebAppServletContext(4192856,cronus,/cronus)] registering getior servlet with initArgs 'null'>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101047> <[WebAppServletContext(4192856,cronus,/cronus)] registering tunneling servlets with initArgs 'wl-dispatch-policy=direct'>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101047> <[WebAppServletContext(4192856,cronus,/cronus)] registering JSPServlet with initArgs '[JspConfig: verbose=true,packagePrefix=jsp_servlet,-compiler=d:\bea\weblogic61\jdk131/bin/javac,compileFlags=,workingDir=d:\bea\weblogic61\wlserver6.1\config\examples\applications\cronus\WEB-INF\_tmp_war_cronus,pageCheckSeconds=1,superclass=weblogic.servlet.jsp.JspBase,keepgenerated=false,precompileContinue=false,compilerSupportsEncoding=true,encoding=null,defaultfilename=index.jsp,compilerclass=null,noTryBlocks=false]'>
    <Error> <Management> <europa> <examplesServer> <main> <system> <> <141042> <Error deploying application d:\bea\weblogic61\wlserver6.1\config\examples\applications\cronus: java.lang.reflect.UndeclaredThrowableException>
    My web app directory structure is like this
    cronus -----------------------> JSP files
    WEB-INF ---------------> web.xml
    lib ----------------------> all the JAR files (including EJB JAR and JSTL implementation and other reusable JARs)
    classes --------------> all the servlet/web app classes
    tlds --------------------> TLD files
    Any suggestions on how can I fix this?
    I appreciate your help.
    Thanks.
    Velmurugan.
    [att1.html]

    I tried to deploy the web application in exploded format. But I got the same error.
    "Vel Periasamy" <[email protected]> wrote in message news:[email protected]...
    Using: WebLogic 6.1 SP3 (J2EE 1.3)
    I have an application which consists of an EJB JAR file and a WAR file which I used to deploy to JBoss and Tomcat respectively. They are working fine in that environment. I want to deploy this application to WebLogic 6.1 SP3.
    1. I generated another JAR file which can be deployed to WebLogic using ejbc (after adding weblogic-ejb-jar.xml file). It went fine and I moved this JAR to weblogic/config/examples/applications folder. I saw in the log file that the EJB's in that JAR file were successfully deployed.
    2. The problem happened when I moved the WAR file to weblogic/config/examples/applications folder. It tried to deploy the web application, but threw an error. These are the messages from the log.
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101053> <[HTTP examplesServer] Loading web app: cronus>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101060> <[examplesServer] Loading "cronus" from directory: "d:\bea\weblogic61\wlserver6.1\config\examples\applications\cronus">
    <Warning> <J2EE> <europa> <examplesServer> <main> <system> <> <160007> <You are running WebLogic Server with J2EE 1.3 features enabled. The implementation of specific J2EE 1.3 features (EJB 2.0, JSP 1.2, Servlet 2.3, and J2EE Connector Architecture 1.0) in BEA WebLogic Server 6.1 is of a non-final version of the appropriate specification. It is subject to change in future releases once the specification becomes finalized. This may cause application code developed for BEA WebLogic Server 6.1 that uses the new features of J2EE 1.3 to be incompatible with the J2EE 1.3 platform supported in future releases of BEA WebLogic Server.>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101031> <[WebAppServletContext(4192856,cronus,/cronus)] extracting classfiles to d:\bea\weblogic61\wlserver6.1\config\examples\applications\cronus\WEB-INF\_tmp_war_cronus:>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101032> <[WebAppServletContext(4192856,cronus,/cronus)] extracted classfiles successfully...>
    <Info> <HTTP Session> <europa> <examplesServer> <main> <system> <> <100037> <Creating SessionContext of type: memory for webapp: /cronus>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101047> <[WebAppServletContext(4192856,cronus,/cronus)] registering classpath servlet with initArgs 'null'>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101047> <[WebAppServletContext(4192856,cronus,/cronus)] registering getior servlet with initArgs 'null'>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101047> <[WebAppServletContext(4192856,cronus,/cronus)] registering tunneling servlets with initArgs 'wl-dispatch-policy=direct'>
    <Info> <HTTP> <europa> <examplesServer> <main> <system> <> <101047> <[WebAppServletContext(4192856,cronus,/cronus)] registering JSPServlet with initArgs '[JspConfig: verbose=true,packagePrefix=jsp_servlet,-compiler=d:\bea\weblogic61\jdk131/bin/javac,compileFlags=,workingDir=d:\bea\weblogic61\wlserver6.1\config\examples\applications\cronus\WEB-INF\_tmp_war_cronus,pageCheckSeconds=1,superclass=weblogic.servlet.jsp.JspBase,keepgenerated=false,precompileContinue=false,compilerSupportsEncoding=true,encoding=null,defaultfilename=index.jsp,compilerclass=null,noTryBlocks=false]'>
    <Error> <Management> <europa> <examplesServer> <main> <system> <> <141042> <Error deploying application d:\bea\weblogic61\wlserver6.1\config\examples\applications\cronus: java.lang.reflect.UndeclaredThrowableException>
    My web app directory structure is like this
    cronus -----------------------> JSP files
    WEB-INF ---------------> web.xml
    lib ----------------------> all the JAR files (including EJB JAR and JSTL implementation and other reusable JARs)
    classes --------------> all the servlet/web app classes
    tlds --------------------> TLD files
    Any suggestions on how can I fix this?
    I appreciate your help.
    Thanks.
    Velmurugan.
    [att1.html]

  • How to Deploy a web Application

    Can Any one tell me the right procedure to Deploy A web Application on the server.
    I have made the application using Html,Servlets,JSP,Java beans,web.xml
    now I have lots of html,java class file
    At this moment I have put all the classes file in \WEB-INF\CLASSES DIRECTORY, and the HTML file And the JSP in \WEB-INF directory
    But it make the whole classes and WEB-INF directory populated with files.
    Now Should I make a jar or war file and put on the
    Can Anyone tell me the Correct method of deployment

    http://ant.apache.org/manual/CoreTasks/war.html

  • Packagin and Deploying Fusion Web Application

    Hi,
    I have created a Fusion web application which has Model and ViewController projects.
    I have created a deployment profiles as below for each project.
    1) Model - Which creates an "ADF Library Jar File"
    2) ViewController - Which creates a "War" file.
    I see that in the WAR file of ViewController contains the Model Projects - Entity Objects, ViewObjects and classes .
    So for deploying my Web Applications is WAR file of ViewController is enough or Should I create a EAR file which has both #1 and #2
    Thanks
    Ajay

    You sure can do in JDev. Select menu Application->'Application Properties', in the dialog select Deployment and the define a new EAR deployment profile. It's pretty easy to follow the instructions in the dialog and your are done.
    Timo

  • Deploy JRC web application on Sun Solaris

    <p>Hi everyone,</p><p>How can i deploy my web application including the JRC on a Sun solaris OS?.</p><p>Can anyone help me?</p><p> Thanks</p>

    <p>This is pretty easy.</p><p>1. Get a Java Application Server running on Sun Solaris</p><p>2. Create a WAR file containing the JRC. (WAR files for Solaris are no different than windows)</p><p><a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2014756&sliceId=&dialogID=14310478&stateId=1%200%2014312298">CLICK HERE for instructions to make a war file</a>  </p><p>3. Deploy that WAR file to the App server on the Sun Solaris Box. </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • I am facing a caching problem in the Web-Application that I've developed us

    Dear Friends,
    I am facing a caching problem in the Web-Application that I've developed using Java/JSP/Servlet.
    Problem Description: In this application when a hyperlink is clicked it is supposed to go the Handling Servlet and then servlet will fetch the data (using DAO layer) and will store in the session. After this the servlet will forward the request to the view JSP to present the data. The JSP access the object stored in the session and displays the data.
    However, when the link is clicked second time then the request is not received by our servlet and the cached(prev data) page is shown. If we refresh the page then request come to the servlet and we get correct data. But as you will also agree that we don't want the users to refresh the page again and again to get the updated data.
    We've included these lines in JSPs also but it does no good:
    <%
    response.setHeader("Expires", "0");
    response.setHeader("Cache-Control" ,"no-cache, must-revalidate");
    response.setHeader("Pragma", "no-cache");
    response.setHeader("Cache-Control","no-store");
    %>
    Request you to please give a solution for the same.
    Thanks & Regards,
    Mohan

    However, when the link is clicked second time then the request is not received by our servlet Impossible mate.. can you show your code. You sure there are no javascript errors ?
    Why dont you just remove your object from the session after displaying the data from it and see if your page "automatically" hits the servlet when the link is clicked.
    cheers..
    S

  • Deployment  of Web application containing only Servlets

    I want to deploy my web application on Weblogic which contains only servlets
              and html files.
              All I know is that I have to write the DTD file. Once i am done with the DTD
              file i do not how the further steps to deploy my web application.
              can somebody point out the steps or some site where i can get any help. Is
              this documented anywhere?
              thanks in advance,
              Nitin
              

    Hi
              You don't write DTD file. It's in weblogic installation.
              You must write a web.xml file and weblogic.xml file. See how to do this in
              the documento "Write Web Applications" of WebLogic 5.1
              nitin <[email protected]> escribió en el mensaje de noticias
              [email protected]..
              > I want to deploy my web application on Weblogic which contains only
              servlets
              > and html files.
              >
              > All I know is that I have to write the DTD file. Once i am done with the
              DTD
              > file i do not how the further steps to deploy my web application.
              >
              > can somebody point out the steps or some site where i can get any help. Is
              > this documented anywhere?
              >
              > thanks in advance,
              > Nitin
              >
              >
              

Maybe you are looking for