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

Similar Messages

  • How to deploy EAR file in Tomcat?

    Is we can deploy ear file in tomcat?
    Normally we can deploy WAR file in tomcat webapps folder. When we run the tomat it will automatically extract the war file.
    But samethink I have tried EAR file. But it is not working.
    Is we can deploy EAR file or not?
    If not plz give reason.

    Hi
    Normally we can deploy the war file thats routene stuff ofcourse ..........but when u deploy ear file it will give problmes as ear structure and war structure are differeant
    The Tomcat Servlet/JSP Container      
    The Apache Tomcat 5.5 Servlet/JSP Container
         Apache Logo
    Links
    * Docs Home
    Contents
    * Contents
    * Introduction
    * Installation
    * Deployment
    * Source Code
    * Processes
    * Example App
    Application Developer's Guide
    Deployment
         Printer Friendly Version
    print-friendly
    version
    Background
    Before describing how to organize your source code directories, it is useful to examine the runtime organization of a web application. Prior to the Servlet API Specification, version 2.2, there was little consistency between server platforms. However, servers that conform to the 2.2 (or later) specification are required to accept a Web Application Archive in a standard format, which is discussed further below.
    A web application is defined as a hierarchy of directories and files in a standard layout. Such a hierarchy can be accessed in its "unpacked" form, where each directory and file exists in the filesystem separately, or in a "packed" form known as a Web ARchive, or WAR file. The former format is more useful during development, while the latter is used when you distribute your application to be installed.
    The top-level directory of your web application hierarchy is also the document root of your application. Here, you will place the HTML files and JSP pages that comprise your application's user interface. When the system administrator deploys your application into a particular server, he or she assigns a context path to your application (a later section of this manual describes deployment on Tomcat). Thus, if the system administrator assigns your application to the context path /catalog, then a request URI referring to /catalog/index.html will retrieve the index.html file from your document root.
    Standard Directory Layout
    To facilitate creation of a Web Application Archive file in the required format, it is convenient to arrange the "executable" files of your web application (that is, the files that Tomcat actually uses when executing your app) in the same organization as required by the WAR format itself. To do this, you will end up with the following contents in your application's "document root" directory:
    * *.html, *.jsp, etc. - The HTML and JSP pages, along with other files that must be visible to the client browser (such as JavaScript, stylesheet files, and images) for your application. In larger applications you may choose to divide these files into a subdirectory hierarchy, but for smaller apps, it is generally much simpler to maintain only a single directory for these files.
    * /WEB-INF/web.xml - The Web Application Deployment Descriptor for your application. This is an XML file describing the servlets and other components that make up your application, along with any initialization parameters and container-managed security constraints that you want the server to enforce for you. This file is discussed in more detail in the following subsection.
    * /WEB-INF/classes/ - This directory contains any Java class files (and associated resources) required for your application, including both servlet and non-servlet classes, that are not combined into JAR files. If your classes are organized into Java packages, you must reflect this in the directory hierarchy under /WEB-INF/classes/. For example, a Java class named com.mycompany.mypackage.MyServlet would need to be stored in a file named /WEB-INF/classes/com/mycompany/mypackage/MyServlet.class.
    * /WEB-INF/lib/ - This directory contains JAR files that contain Java class files (and associated resources) required for your application, such as third party class libraries or JDBC drivers.
    When you install an application into Tomcat (or any other 2.2/2.3-compatible server), the classes in the WEB-INF/classes/ directory, as well as all classes in JAR files found in the WEB-INF/lib/ directory, are made visible to other classes within your particular web application. Thus, if you include all of the required library classes in one of these places (be sure to check licenses for redistribution rights for any third party libraries you utilize), you will simplify the installation of your web application -- no adjustment to the system class path (or installation of global library files in your server) will be necessary.
    Much of this information was extracted from Chapter 9 of the Servlet API Specification, version 2.3, which you should consult for more details.
    Shared Library Files
    Like most servlet containers, Tomcat 5 also supports mechanisms to install library JAR files (or unpacked classes) once, and make them visible to all installed web applications (without having to be included inside the web application itself. The details of how Tomcat locates and shares such classes are described in the Class Loader HOW-TO documentation. For the purposes of our discussion, there are two locations that are commonly used within a Tomcat 5 installation for shared code:
    * $CATALINA_HOME/common/lib - JAR files placed here are visible both to web applications and internal Tomcat code. This is a good place to put JDBC drivers that are required for both your application and internal Tomcat use (such as for a JDBCRealm).
    * $CATALINA_BASE/shared/lib - JAR files placed here are visible to all web applications, but not to internal Tomcat code. This is the right place for shared libraries that are specific to your application.
    Out of the box, a standard Tomcat 5 installation includes a variety of pre-installed shared library files, including:
    * The Servlet 2.4 and JSP 2.0 APIs that are fundamental to writing servlets and JavaServer Pages.
    * An XML Parser compliant with the JAXP (version 1.2) APIs, so your application can perform DOM-based or SAX-based processing of XML documents.
    Web Application Deployment Descriptor
    The description below uses the variable name $CATALINA_HOME to refer to the directory into which you have installed Tomcat 5, and is the base directory against which most relative paths are resolved. However, if you have configured Tomcat 5 for multiple instances by setting a CATALINA_BASE directory, you should use $CATALINA_BASE instead of $CATALINA_HOME for each of these references.
    As mentioned above, the /WEB-INF/web.xml file contains the Web Application Deployment Descriptor for your application. As the filename extension implies, this file is an XML document, and defines everything about your application that a server needs to know (except the context path, which is assigned by the system administrator when the application is deployed).
    The complete syntax and semantics for the deployment descriptor is defined in Chapter 13 of the Servlet API Specification, version 2.3. Over time, it is expected that development tools will be provided that create and edit the deployment descriptor for you. In the meantime, to provide a starting point, a basic web.xml file is provided. This file includes comments that describe the purpose of each included element.
    NOTE - The Servlet Specification includes a Document Type Descriptor (DTD) for the web application deployment descriptor, and Tomcat 5 enforces the rules defined here when processing your application's /WEB-INF/web.xml file. In particular, you must enter your descriptor elements (such as <filter>, <servlet>, and <servlet-mapping> in the order defined by the DTD (see Section 13.3).
    Tomcat Context Descriptor
    The description below uses the variable name $CATALINA_HOME to refer to the directory into which you have installed Tomcat 5, and is the base directory against which most relative paths are resolved. However, if you have configured Tomcat 5 for multiple instances by setting a CATALINA_BASE directory, you should use $CATALINA_BASE instead of $CATALINA_HOME for each of these references.
    A /META-INF/context.xml file can be used to define Tomcat specific configuration options, such as loggers, data sources, session manager configuration and more. This XML file must contain one Context element, which will be considered as if it was the child of the Host element corresponding to the Host to which the The Tomcat configuration documentation contains information on the Context element.
    Deployment With Tomcat 5
    In order to be executed, a web application must be deployed on a servlet container. This is true even during development. We will describe using Tomcat 5 to provide the execution environment. A web application can be deployed in Tomcat by one of the following approaches:
    * Copy unpacked directory hierarchy into a subdirectory in directory $CATALINA_HOME/webapps/. Tomcat will assign a context path to your application based on the subdirectory name you choose. We will use this technique in the build.xml file that we construct, because it is the quickest and easiest approach during development. Be sure to restart Tomcat after installing or updating your application.
    * Copy the web application archive file into directory $CATALINA_HOME/webapps/. When Tomcat is started, it will automatically expand the web application archive file into its unpacked form, and execute the application that way. This approach would typically be used to install an additional application, provided by a third party vendor or by your internal development staff, into an existing Tomcat installation. NOTE - If you use this approach, and wish to update your application later, you must both replace the web application archive file AND delete the expanded directory that Tomcat created, and then restart Tomcat, in order to reflect your changes.
    * Use the Tomcat 5 "Manager" web application to deploy and undeploy web applications. Tomcat 5 includes a web application, deployed by default on context path /manager, that allows you to deploy and undeploy applications on a running Tomcat server without restarting it. See the administrator documentation (TODO: hyperlink) for more information on using the Manager web application.
    * Use "Manager" Ant Tasks In Your Build Script. Tomcat 5 includes a set of custom task definitions for the Ant build tool that allow you to automate the execution of commands to the "Manager" web application. These tasks are used in the Tomcat deployer.
    * Use the Tomcat Deployer. Tomcat 5 includes a packaged tool bundling the Ant tasks, and can be used to automatically precompile JSPs which are part of the web application before deployment to the server.
    Deploying your app on other servlet containers will be specific to each container, but all containers compatible with the Servlet API Specification (version 2.2 or later) are required to accept a web application archive file. Note that other containers are NOT required to accept an unpacked directory structure (as Tomcat does), or to provide mechanisms for shared library files, but these features are commonly available.
    Copyright © 1999-2006, Apache Software Foundation

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

  • Deploying .war file on Tomcat 4.1?

    Hi,
    I would like to know whether anyone know how to deploy a .war file onto Tomcat 4.1? Or can this be done?
    And what about web.xml? Is it different from a web.xml written for BEA's Weblogic Server?
    Thanks

    hmm.. ic
    The .war file when drop in the webapps dir and u restart tomcat, it auto create a dir with your .war filename and the content of .war file is copied to there.
    Am i rite to say so?
    And wat about the web.xml?
    If i need to add users and password how can I accomplished it in tomcat web.xml?
    Last but not least, thanks for taking the time to reply. :D

  • An issue of deploying war file on tomcat 5.5

    Hi,
    I know the regular process to deply a war file is like this - stop tomcat server, remove your previous war file and directory, say abc.war and dir abc, copy your new version abc.war into webapps and restart tomcat server.
    However, I found an interesting issue today - I was deploying a new release war file as described. While I stopped tomcat, removed all previous version direcotry, and restarted tomcat server, I got an http 404 error saying that the resource /abc/ is not available. I noticed that the org folder was not generated at work/Catalina/locahost/abc.
    I stuck there for a long time to try to fix but did not find a solution. I am pretty sure the war file should be ok since it works fine on my local machine. This only happened in the unix box. Later, occasionally, I removed the director abc without stopping the tomcat server. In another word, I removed the war file while tomcat is still running. A new abc directory was created soon and now it works.
    Anyone has any idea about that? Thanks!
    Michael

    Any thoughts? Thanks

  • 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 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 embedded Tomcat in UCM

    Hi ,
    Can anyone please share the steps to configure embedded Tomcat in UCM, And steps to deploy individual JSP and War file.
    thanks,
    Edited by: user4884609 on Feb 13, 2012 4:23 PM

    one more question :
    The Url to access war file is something like this :
    http://localhost/idc/groups/jsp/documents/webapps/testwar/test.jsp
    Can we have friendly URL for war file ? something like http://localhost/testwar/test.jsp or may be http://localhost/idc/testwar/test.jsp ?

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

  • Deploying war file on Tomcat: file path problem

    Hello all,
    i am using my eclipse ide for automatically deploy my webapplication to Tomcat. For Database connectivity i configured hibernate. To configure hibernate i am using the following code:
    package de.wfm.hibernate.hibernateUtil;
    import org.hibernate.HibernateException;
    import org.hibernate.Session;
    import org.hibernate.SessionFactory;
    import org.hibernate.cfg.Configuration;
    public class ESDBFactory {
         private static SessionFactory sf;
         private static Session session = null;
         private static String pathToCfgFile = "de\\"
                             + "wfm\\hibernate\\hibernateUtil\\esdb.cfg.xml";
         public static synchronized Session getSession() throws HibernateException {
              if (session==null) {
                   if (sf==null) {
                        sf = new Configuration()
                             .configure(pathToCfgFile).
                             buildSessionFactory();
              session = sf.openSession();
              return session;
    }When i use this in the ide all is fine. But when i export my application to a war file and deploy it on Tomcat i got the exception:
    2006-07-28 10:06:10 StandardWrapperValve[Urlaubsplanung Servlet]: Servlet.service() for servlet Urlaubsplanung Servlet threw exception
    javax.faces.FacesException: #{User.doLogin}: javax.faces.el.EvaluationException: org.hibernate.HibernateException: de\wfm\hibernate\hibernateUtil\esdb.cfg.xml not foundHow to avoid this? What do i have to do to set the file path correctly?
    Regards,
    ak

    hmm.. ic
    The .war file when drop in the webapps dir and u restart tomcat, it auto create a dir with your .war filename and the content of .war file is copied to there.
    Am i rite to say so?
    And wat about the web.xml?
    If i need to add users and password how can I accomplished it in tomcat web.xml?
    Last but not least, thanks for taking the time to reply. :D

  • Web Service cannot be Started when we deploy war file in Tomcat

    Hello every one,
    We made a webservice in Netbeans 6. and we created the war file
    and ist is workign fine with netbeans. when we tried to deploy to tomcat
    it is showing error as given below:
    **FAIL - Application at context path /WebApplication3 could not be started**
    please help me to sort out this problem as early as possible.
    Thanks in advance
    Vishnu

    Any one has any idea on this. I am stuck up with this. Help!
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by pragashj:
    OS : Windows NT 4.0 SP 5
    OAS : 4.0.8.2
    Issue : Listner failed to start asking me to start OAS service first. But the OAS service is already started. When I tried starting the Listner service from Windows - Services (In control panel) still it failed. OAS Service though active does not show as active in the Service Control(This issue is listed in the Release note). The svwww.err gives oracle_adp_init returned ADI_FATALINIT.
    Any one had the same issue? How do I work around to get my Web Listner started?
    Thanks<HR></BLOCKQUOTE>
    null

  • Deploying WAR files in Tomcat

    I placed cdmanagersample.war file under c:/tomcat5.0/webapps directory and restarted Tomcat. Then I went to web browser and typed http://127.0.0.1/cdmanagersample. I get the following error.
    HTTP Status 404 - /cdmanagerSample
    Shouldn't Tomcat extract the war file and deploy it as it should. Any reason why it didn't?

    Here's my server.xml file now:
    <!--
    Context fragment for deploying cdManagerSample.war
    -->
    <Context path="/cdmanagersample " docBase="../webapps/cdmanagersample " debug="0" reloadable="true" >
    <!-- <Context path="/cdManagersample" docBase="../webapps/cdManagerSample.war"
    debug="0" privileged="true"> --->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    </Context>
    When I try strating Tomcat by saing catalina run, I get following:
    C:\Program Files\Apache Software Foundation\Tomcat 5.0>cd bin
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>catalina run
    Using CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 5.0
    Using CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 5.0
    Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Tomcat 5.0\
    mp
    Using JAVA_HOME: C:\j2sdk1.4.2_03
    Jan 28, 2004 11:21:52 AM org.apache.coyote.http11.Http11Protocol init
    SEVERE: Error initializing endpoint
    java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndp
    nt.java:302)
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:18
    at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnecto
    java:1366)
    at org.apache.catalina.core.StandardService.initialize(StandardService
    ava:633)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.j
    a:2413)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:532)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:553)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
    Jan 28, 2004 11:21:52 AM org.apache.catalina.startup.Catalina load
    SEVERE: Catalina.start
    LifecycleException: Protocol handler initialization failed: java.net.BindExce
    ion: Address already in use: JVM_Bind:8080
    at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnecto
    java:1368)
    at org.apache.catalina.core.StandardService.initialize(StandardService
    ava:633)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.j
    a:2413)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:532)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:553)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
    Jan 28, 2004 11:21:52 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 2453 ms
    Jan 28, 2004 11:21:53 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 28, 2004 11:21:53 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.16
    Jan 28, 2004 11:21:53 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 28, 2004 11:21:53 AM org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    Jan 28, 2004 11:21:53 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Program Files\Apache S
    tware Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
    Jan 28, 2004 11:21:54 AM org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=t
    e
    Jan 28, 2004 11:21:54 AM org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnN
    l=true
    Jan 28, 2004 11:21:55 AM org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', ret
    nNull=true
    Jan 28, 2004 11:21:58 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Program Files\Apache S
    tware Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
    Jan 28, 2004 11:21:59 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Program Files\Apache S
    tware Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
    Jan 28, 2004 11:21:59 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /cdmanagersample from URL fil
    C:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/cdmanagersample
    Jan 28, 2004 11:22:00 AM org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=t
    e
    Jan 28, 2004 11:22:00 AM org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnN
    l=true
    Jan 28, 2004 11:22:00 AM org.apache.struts.util.PropertyMessageResources <init
    INFO: Initializing, config='cdmanager.ApplicationResources', returnNull=true
    Jan 28, 2004 11:22:00 AM org.apache.struts.action.ActionServlet initApplicatio
    ataSources
    SEVERE: Initializing application data source org.apache.struts.action.DATA_SOU
    E
    java.sql.SQLException: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'
    at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataS
    rce.java:529)
    at org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSourc
    java:381)
    at org.apache.struts.util.GenericDataSource.setLogWriter(GenericDataSo
    ce.java:345)
    at org.apache.struts.action.ActionServlet.initApplicationDataSources(A
    ionServlet.java:942)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:457)
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrappe
    java:1044)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
    7)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardCont
    t.java:3948)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java
    271)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBa
    .java:866)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
    0)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:63
    at org.apache.catalina.core.StandardHostDeployer.install(StandardHostD
    loyer.java:316)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:859
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:6
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:4
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1002)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.ja
    :393)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecy
    eSupport.java:166)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:113
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:816)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:112
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:5
    at org.apache.catalina.core.StandardService.start(StandardService.java
    19)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:2
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    Jan 28, 2004 11:22:00 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /jsp-examples from URL file:C
    Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examples
    Jan 28, 2004 11:22:01 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path from URL file:C:\Program Fil
    \Apache Software Foundation\Tomcat 5.0\webapps\ROOT
    Jan 28, 2004 11:22:01 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /servlets-examples from URL f
    e:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servlets-exam
    es
    Jan 28, 2004 11:22:01 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /tomcat-docs from URL file:C:
    rogram Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
    Jan 28, 2004 11:22:01 AM org.apache.coyote.http11.Http11Protocol start
    SEVERE: Error starting endpoint
    java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndp
    nt.java:302)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEnd
    int.java:319)
    at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:2
    at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.jav
    1436)
    at org.apache.catalina.core.StandardService.start(StandardService.java
    28)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:2
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    Jan 28, 2004 11:22:01 AM org.apache.catalina.startup.Catalina start
    SEVERE: Catalina.start:
    LifecycleException: Protocol handler start failed: java.net.BindException: Ad
    ess already in use: JVM_Bind:8080
    at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.jav
    1438)
    at org.apache.catalina.core.StandardService.start(StandardService.java
    28)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:2
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    Jan 28, 2004 11:22:01 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 9224 ms
    StandardServer.await: create[8005]: java.net.BindException: Address already in
    se: JVM_Bind
    java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
    at java.net.ServerSocket.bind(ServerSocket.java:318)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at org.apache.catalina.core.StandardServer.await(StandardServer.java:5
    at org.apache.catalina.startup.Catalina.await(Catalina.java:637)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:599)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    Jan 28, 2004 11:22:01 AM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    Jan 28, 2004 11:22:01 AM org.apache.coyote.http11.Http11Protocol destroy
    INFO: Stoping http11 protocol on 8080 Catalina:type=ThreadPool,name=http8080
    Jan 28, 2004 11:22:01 AM org.apache.coyote.tomcat5.CoyoteConnector stop
    SEVERE: Coyote connector has not been started
    Jan 28, 2004 11:22:01 AM org.apache.catalina.core.StandardHostDeployer remove
    INFO: Removing web application at context path /admin
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>

  • Deploy war file to Tomcat

    Hi all,
    i have this problem:
    i've created a web application with Sun Studio Creator 2 with connectione to DB Oracle 10.1.3
    i've exported war file to deploy it under Tomcat but when i try to lunch the application i get the following error:
    com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)Could you help me plese?
    Thank's,
    Ciro.

    hi Ciro,
    You have not created the context of your database in context.xml of your tomat (path for context.xml tomcat folder/conf/context.xml)
    Unless and until you don't create context you will get same error.
    regards,
    Joshmachine
    Edited by: joshmachine on Mar 27, 2008 3:46 PM

Maybe you are looking for

  • MSI KT3-Ultra-ARU Issues

    in an effort to finnaly get arorund the very annoying problem of every time I boot Windows, my two HDs attached to the Raid ports on my mobo, those HDs where not recognized by windows, yet I could still access them no problem. My idea was to upgrade

  • Printing a colour cover & B/W inside pages in booklet?

    Hi There, Just wondering what settings I should use to print a booklet, which has a colour cover but black and white inside pages? I seem to have more options in my printer driver on the PC then I do on the Mac which is strange. Perhaps I should upda

  • Streams capture aborted in 9.2

    Good Day , Streams Capture process was aborted. This is the trace file Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.1.0 - Production Windows 2000 Version 5

  • What could this mean? It keeps appearing on my console. 10/29/11 10:17:47.113 PM vpnagentd: [p:133  pp:1]: error - TunTapMgr.cpp:1257 (18) socket Too many open files

    10/29/11 10:29:17.285 PM vpnagentd: [p:133  pp:1]: error - TunTapMgr.cpp:209 (fe09000a) CTunTapMgr::openDevice 10/29/11 10:29:17.285 PM vpnagentd: [p:133  pp:1]: error - TunTapMgr.cpp:1257 (18) socket Too many open files 10/29/11 10:29:17.285 PM vpna

  • Photoshop 7.0 for Mac OSX

    I bought Photoshop 7.0 for my Mac OSX and it won't install. The site I bought it from won't return it because the package is open. (duh, I have to open it to install it) but I get a message saying my computer does not support PowerPC. I specifically