Problem regarding running war file in Tomcat 4.1

i uploaded a war file in Tomcat application manager..
Running status of application is false ...
By pressing START in COMMANDS still it shows false in RUNNING ..
i got error
FAIL - Application at context path /kannan could not be started...........

hi
restart your system and again you deploy in tomcat manager,
or
better you place your .war file under webapps and restart ur tomcat server once again ..
after u c one folder create with ur war file name,
after u go and access
thats it..
i hope it will helps u

Similar Messages

  • Problem in running WAR file developed through NetBeans Visual Web

    hi all,
    actually i developed a web application in JSF using IDE NetBeans Visual Web.
    application is having a table which is connected to database ( MySQL ).... i dragged my database table on visual web's table and all the connections were automatically created. i m using tomcat as a web server.
    application runs fine through Netbeans but wen i deployed its war file in tomcat and tried to run.....browser showed me the table but the data was not there.....infact i m getting "No items in the table" written, in my table on browser.
    plz help.....thnx in advance
    Pranay

    Ramchow --
    One suggestion is to use JDeveloper to do the deployment.
    Create a connection in JDeveloper to the OC4J instance you wish to deploy to, then create a new deployment profile for your application and let JDeveloper perform the deploymnent for you.
    Once it's working, you can then go and look at the OC4J configuration files and see the tags looks like to perform the deployment correctly.
    Note that JDeveloper will deploy the WAR file by first wrappering it in an EAR file.
    -steve-

  • 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

  • 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

  • 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

  • Cannot make .war file using tomcat with eclipse and ant

    i have made all necesary configuration for deploying application using eclipse and ant for the tomcat server.
    when i start the server by clicking the tomcat icon on eclipse toolbar, the message is prompted that "missing application web.xml and using defaults". i have placed the web.xml file in the web/WEB-INF directory of the source project directory.
    also when i use ant by right-clicking on the build.xml file and choose Run as ant.. the process creates a desired .war file in webapps folder of the tomcat server but that war file does not works.
    where is the error i cannot figure out.
    am attaching the code of build.xml for reference.
    please help.
    build.xml:-
    <project name="BecilCTI" default="compile" basedir=".">
    <property file="build.properties"/>
    <property file="${user.home}/build.properties"/>
    <property name="app.name" value="BecilCTI"/>
    <property name="app.path" value="/${app.name}"/>
    <property name="app.version" value="0.1-dev"/>
    <property name="build.home" value="${basedir}/build"/>
    <property name="catalina.home" value="c:/Tomcat_5.5"/> <!-- UPDATE THIS! -->
    <property name="dist.home" value="${basedir}/dist"/>
    <property name="docs.home" value="${basedir}/docs"/>
    <property name="manager.url" value="http://localhost:8080/manager"/>
    <property name="src.home" value="${basedir}/src"/>
    <property name="web.home" value="${basedir}/web"/>
    <property name="compile.debug" value="true"/>
    <property name="compile.deprecation" value="false"/>
    <property name="compile.optimize" value="true"/>
    <!--<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>-->
    <path id="compile.classpath">
    <!-- Include all elements that Tomcat exposes to applications -->
    <pathelement location="${catalina.home}/common/classes"/>
    <fileset dir="${catalina.home}/common/endorsed">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="${catalina.home}/common/lib">
    <include name="*.jar"/>
    </fileset>
    <pathelement location="${catalina.home}/shared/classes"/>
    <fileset dir="${catalina.home}/shared/lib">
    <include name="*.jar"/>
    </fileset>
    </path>
    <target name="all" depends="clean,compile"
    description="Clean build and dist directories, then compile"/>
    <target name="clean"
    description="Delete old build and dist directories">
         <echo message="Cleaning all dirs."/>
    <delete dir="${build.home}"/>
    <delete dir="${dist.home}"/>
    </target>
    <target name="compile" depends="prepare"
    description="Compile Java sources">
    <!-- Compile Java classes as necessary -->
    <mkdir dir="${build.home}/WEB-INF/classes"/>
    <javac srcdir="${src.home}"
    destdir="${build.home}/WEB-INF/classes"
    debug="${compile.debug}"
    deprecation="${compile.deprecation}"
    optimize="${compile.optimize}">
    <classpath refid="compile.classpath"/>
    </javac>
    <!-- Copy application resources -->
    <copy todir="${build.home}/WEB-INF/classes">
    <fileset dir="${src.home}" excludes="**/*.java"/>
    </copy>
    </target>
    <target name="dist" depends="compile"
    description="Create binary distribution">
    <!-- Copy documentation subdirectories
    <mkdir dir="${dist.home}/docs"/>
    <copy todir="${dist.home}/docs">
    <fileset dir="${docs.home}"/>
    </copy> -->
    <!-- Create application JAR file -->
    <jar jarfile="${catalina.home}/webapps/${app.name}.war"
    basedir="${build.home}"/>
    <!-- Copy additional files to ${dist.home} as necessary -->
    </target>
    <target name="install" depends="compile"
    description="Install application to servlet container">
    <deploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"
    localWar="file://${build.home}"/>
    </target>
    <target name="list"
    description="List installed applications on servlet container">
    <list url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"/>
    </target>
    <target name="prepare">
    <!-- Create build directories as needed -->
    <mkdir dir="${build.home}"/>
    <mkdir dir="${build.home}/WEB-INF"/>
    <mkdir dir="${build.home}/WEB-INF/classes"/>
    <!-- Copy static content of this web application -->
    <copy todir="${build.home}">
    <fileset dir="${web.home}"/>
    </copy>
    <mkdir dir="${build.home}/WEB-INF/lib"/>
    </target>
    <target name="reload" depends="compile"
    description="Reload application on servlet container">
    <reload url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"/>
    </target>
    <target name="remove"
    description="Remove application on servlet container">
    <undeploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"/>
    </target>
    </project>

    So is context.xml actually overwriting the settings found in server.xml?I think so. The way I understand it is the the context.xml file saves you from having to edit server.xml. It is preferred for each web app to do its own config, rather than lumping them all together in server.xml.
    And what would be the best way to create the war file? IAt its heart, a WAR is just a zip file with its contents laid out in according to the specification of a web application directory structure.
    So the simplest way to make a war file is to zip up your directory structure with a tool like winzip, and rename it to be myApp.war.
    Regarding ant, I would recommend you take a look through [url http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
    ]this tutorial. It explains the basics of website layout, configuration and deployment.
    On [url http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/source.html] this page  in particular, it includes a link to a basic ant file that you can use as a starting point.
    Cheers,
    evnafets

  • 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

  • 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

  • Problem in deploying war file in weblogic application server 10

    Hi
              Thank you for reading my post.
              We are trying to deploy our application into weblogic but problem is that weblogic return an error like following one when we try to deploy the application.
              I should tell you that the following log was shown in a not well formatted way and i format it manually.
                        [HTTP:101216]Servlet: "com.wira.webservices.int.Wsti" failed to preload on startup in Web application: "wira.war". class:
              com.wira.webservices.int.jaxws.RequestResponse could not be found at
              com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272) at
              com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566) at
              com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513) at
              com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358) at
              com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245) at
              com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229) at
              com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315) at
              weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125) at
              weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64) at
              javax.servlet.GenericServlet.init(GenericServlet.java:241) at
              weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282) at
              weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at
              weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source) at
              weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63) at
              weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at
              weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504) at
              weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830) at
              weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807) at
              weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727) at
              weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890) at
              weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948) at
               weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at
              weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at
              weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at
              weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
                        I should say you that we do not have a package and class like: com.wira.webservices.bpel.jaxws.RequestResponse and it looks like WLS is mistaken about this.
              Indeed this application works fine on Sun java application server 9 (java ee 5 certified). Can you please tell me why does it happens?
              here is source code of Wsti class
                        @WebService()
              public class Wsti {
                  @WebMethod(operationName="requestResponse")
                  public String requestResponse(@WebParam(name="request") String request) {
                      return ReflectionManager.call(WstiImp.class, request);
                                            for reflection we used standard JDK reflection stuff.
              and that call method call a method identified in request from WstiImp class.
              Thanks

    Following are the steps involved in deploying a WAR file in Oc4j.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config
    directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    Hope this helps
    -Debu Panda
    Oracle

  • Error Starting Coherence 3.6.1 packed in War File From Tomcat 6.0.26

    Hi All,
    I have been receiving the following error when trying to startup coherence from within a War file:
    INFO: Deploying configuration descriptor services#test#processor#v1.xml
    java.net.MalformedURLException: no !/ in spec
         at java.net.URL.<init>(URL.java:601)
         at java.net.URL.<init>(URL.java:464)
         at java.net.URL.<init>(URL.java:413)
         at com.tangosol.coherence.component.application.console.Coherence._initStatic(Coherence.CDB:25)
         at com.tangosol.coherence.component.application.console.Coherence.<clinit>(Coherence.CDB:27)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at com.tangosol.net.CacheFactory.<clinit>(CacheFactory.java:1496)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
         at org.springframework.beans.factory.config.MethodInvokingFactoryBean.doInvoke(MethodInvokingFactoryBean.java:160)
         at org.springframework.beans.factory.config.MethodInvokingFactoryBean.afterPropertiesSet(MethodInvokingFactoryBean.java:150)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:217)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:217)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:519)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    Oracle Coherence: The Manifest is corrupted or inaccessible; some functionality may be disabledI can startup coherence manually via the console tools but can't get by this error when starting from within tomcat 6.0.26. However, the functionality of Coherence seems normal except the logging is missing the information contained within the Manifest. I have edited the Manifest manually, replaced it with one from 3.5.3, but nothing seems to work.
    Any help is much appreciated.
    Thanks.
    Joe

    Hello,
    I took the following steps to attempt to reproduce this:
    I created a JSP as such:
    <html>
    <%@ page import="com.tangosol.net.*"%>
    <body >
    <%!
    NamedCache cache = CacheFactory.getCache("test");
    %>
    <tt>
    Got NamedCache: <%=cache.toString()%>
    </tt>
    </body>
    </html>I called it index.jsp and placed it in the root directory of a WAR file. In the WAR file I created WEB-INF/lib/coherence.jar. When I deploy this, everything works fine. Can you try this in your Tomcat setup and see if it works for you?
    Thanks,
    Patrick
    Edited by: pperalta on Mar 14, 2011 1:52 PM

  • Problem in deploying war file

    Hi,
    I have a problem in deploying a war file in Weblogic 7. I have deployed successfully
    a jar file containing an ejb. I would like to deploy a war file which web.xml
    has an <ejb-ref> element referencing a session bean contained in the jar previously
    deployed.
    I have the following error:
    Module Name: PSSC-web, Error: weblogic.j2ee.DeploymentException: Could not setup
    environment - with nested exception:
    [weblogic.deployment.EnvironmentException: ejb-ref ejb/PSSCLdapUserEJB requires
    an ejb-link or jndi-name]
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1093)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1074)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1110)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:730)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    >
    My configuration files are:
    weblogic-ejb-jar.xml
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <jndi-name>PSSCLdapUserEJB</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ejb-jar.xml
    <ejb-jar>
    <display-name>Ldap User</display-name>
    <enterprise-beans>
    <session>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <home>pssc.utils.ejb.PSSCLdapUserEJHome</home>
    <remote>pssc.utils.ejb.PSSCLdapUserEJ</remote>
    <ejb-class>pssc.utils.ejb.PSSCLdapUserEJBean</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    <ejb-client-jar>LDAPUSER</ejb-client-jar>
    </ejb-jar>
    web.xml
    <web-app>
    <ejb-ref>
    <ejb-ref-name>ejb/PSSCLdapUserEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>pssc.utils.ejb.PSSCLdapUserEJHome</home>
    <remote>pssc.utils.ejb.PSSCLdapUserEJ</remote>
    </ejb-ref>
    </web-app>
    weblogic.xml
    <weblogic-web-app>
         <ejb-reference-description>
         <ejb-ref-name>
         ejb/PSSCLdapUserEJB
         </ejb-ref-name>
         <jndi-name>
         PSSCLdapUserEJB
         </jndi-name>
         </ejb-reference-description>
    </weblogic-web-app>
    Configuration files seems correct to me, but the deployment of the war is not
    working..
    Does someone have an idea of what is the problem?
    Thanks in advance,
    Giuseppe

    Hi,
    I have a problem in deploying a war file in Weblogic 7. I have deployed successfully
    a jar file containing an ejb. I would like to deploy a war file which web.xml
    has an <ejb-ref> element referencing a session bean contained in the jar previously
    deployed.
    I have the following error:
    Module Name: PSSC-web, Error: weblogic.j2ee.DeploymentException: Could not setup
    environment - with nested exception:
    [weblogic.deployment.EnvironmentException: ejb-ref ejb/PSSCLdapUserEJB requires
    an ejb-link or jndi-name]
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1093)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1074)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1110)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:730)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    >
    My configuration files are:
    weblogic-ejb-jar.xml
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <jndi-name>PSSCLdapUserEJB</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ejb-jar.xml
    <ejb-jar>
    <display-name>Ldap User</display-name>
    <enterprise-beans>
    <session>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <home>pssc.utils.ejb.PSSCLdapUserEJHome</home>
    <remote>pssc.utils.ejb.PSSCLdapUserEJ</remote>
    <ejb-class>pssc.utils.ejb.PSSCLdapUserEJBean</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    <ejb-client-jar>LDAPUSER</ejb-client-jar>
    </ejb-jar>
    web.xml
    <web-app>
    <ejb-ref>
    <ejb-ref-name>ejb/PSSCLdapUserEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>pssc.utils.ejb.PSSCLdapUserEJHome</home>
    <remote>pssc.utils.ejb.PSSCLdapUserEJ</remote>
    </ejb-ref>
    </web-app>
    weblogic.xml
    <weblogic-web-app>
         <ejb-reference-description>
         <ejb-ref-name>
         ejb/PSSCLdapUserEJB
         </ejb-ref-name>
         <jndi-name>
         PSSCLdapUserEJB
         </jndi-name>
         </ejb-reference-description>
    </weblogic-web-app>
    Configuration files seems correct to me, but the deployment of the war is not
    working..
    Does someone have an idea of what is the problem?
    Thanks in advance,
    Giuseppe

  • Problem regarding Configuring the File Adapter

    Hi,
    I am making a Flat File to XML File Scenario. I have made all the Necessary developments and the Routings in the Integration Repository and the Integration Directory. The Sender Communication Channel Uses the Message Protocol "File Content Conversion". All the required steps have been done. We have installed the System and also the Basis Team has done the Post Installation Activities.
    <b> The Problem is that the "File is not getting picked up". When checking the RWB and henceforth the Adapter Monitoring we see that the File Adapter is disabled and the XI and the BC adapters are green. Previously we were on SP9 and now we are on SP14. The SAP Basis is at 640 and SP9 and the SAP ABAB is on 640 and SP9.</b>
      We are also unavailable to see the File Communication Channels that we have created. When the Tcode "sxi_cache is run it is giving an error that Cache not refreshed andon refreshing various times too the Cache is not Refreshed.
    Please Suggest us what we should do. Eagerly waiting for a reply and Thanking in Anticipation. Do we need to make some for configurations for that.
    Warm Regards
    Chakra and Somnath

    Hi Somnath,
    If the sender file adapter is up and running and even after that if you find some problem, the first thing you need to do is check if your file has been picked. The easiest way to check the same is to set the mode to DELETE, that is the file gets deleted as soon as it is picked. If your file has not been picked then the reasons for the same could be the following.
    - The path that you specified while configuring the sender communication channel would have been wrong.
    - While specifying the file name take care as it is case sensitive.
    - If you require content conversion then make sure that the parameters entered at the time of configuration are all correct.
    Please go thru the following links to get a very clear picture of your requirement.
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/44/6c9442c22d1131e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8c/607fe4756b654ab9f420097c29f6e9/frameset.htm
    Also make sure that your content conversion is in sequence wrt Datat Type Sturcture.
    Go through these blogs below for more detail on the same:
    /people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    I hope this would help you solve your problem.
    Regards,
    abhy
    Message was edited by: Abhy Thomas

  • Plz...  How to Create .war file in tomcat 5.0

    plz...
    i want clear steps to create .war file
    for jsp or servlet in tomcat 5.0.
    yours
    vijay

    Here is the sample script, U can use this script to build war file:
    Change the following before running the script:
    WebAppDir path to the Tomcat webapps directory
    AppsName value to ur Project Name ie Ajax to diff name.
    basedir - Give webapps dir of ur src files.
    <project default="build" basedir=".">
    <target name="build">
    <tstamp/>
         <property name="WebAppsDir" value="c:\Tomcat\webapps"/>
    <property name="AppsName" value="Ajax"/>
         <delete dir="${WebAppsDir}\${AppsName}"/>
    <delete file="${WebAppsDir}\${AppsName}.war"/>
    <jar jarfile="${WebAppsDir}/${AppsName}.war"
              basedir="D:\eclipse\AjaxEx\webapps"
    includes="**" />
    </target>
    </project>
    Once you run this file. It will create war file in the webapps dir of ur tomcat.
    Bye,
    Vinay

  • Problem deploying a War file to server

    Hi,
    I'm trying to deploy my war file a simple servlet program given by Google Webtookit to my Resin server v2.1.13.
    I created a war file and dropped it into the webapps folder. When I try to launch the application, I get the following error. My class is in the right directory, I am able to launch it on my local resin server on my machine. When I try to deploy it onto a 3rd party server, is when I get the error. I have checked my web.xml file and made sure they are pointing correctly to the class I want it to point to. Where am I going wrong?
    Thanks,
    Harry
    500 Servlet Exception
    javax.servlet.ServletException: Class `com.bc.server.GreetingServiceImpl'
    was not found in classpath.
    Classes normally belong in /ExGWT/WEB-INF/classes.
    at com.caucho.server.http.Application.instantiateServlet(Application.java:3198)
    at com.caucho.server.http.Application.createServlet(Application.java:3104)
    at com.caucho.server.http.Application.loadServlet(Application.java:3065)
    at com.caucho.server.http.QServletConfig.loadServlet(QServletConfig.java:435)
    at com.caucho.server.http.Application.getFilterChainServlet(Application.java:2809)
    at com.caucho.server.http.Application.buildFilterChain(Application.java:2765)
    at com.caucho.server.http.Invocation.service(Invocation.java:313)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
    at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346)
    at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274)
    at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
    at java.lang.Thread.run(Thread.java:595)
    Resin 2.1.13 (built Thu Apr 1 10:57:42 PST 2004)

    I am trying to deploy my application on Lunarpages. (not the best support in the world). They have Resin v 2.1.13 running on their end. I have tried everything I know, but the classpath is still an issue. I have even printed out the list of classpath through my code and everything seems to be right. I can deploy the same war file on any server Tomcat, Jetty, Resin 3.x (my local), but just not on lunarpages. I am stumped. Please help.
    Thanks
    Harry

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

Maybe you are looking for