Eclipse, Tomcat & Ports

I'm trying to run a jsp project using eclipse europa and tomcat. Frequently when I try to run the project i get the error:
"Several ports (8005,8080,8009) required by Tomcat v6.0 Server at localhost are already in use. The server may be already running in another process, or a system process maybe using the port. To start this server you will need to stop the other process or change the port number(s)"
This comes up even when I have only one server setup in eclipse and it is stopped. I have no other application running at the same time.
The problem fixes itself for a while when I reboot the computer, but not when I just restart eclipse ...
Any help would be greatly appreciated, as I have been stuck with this problem for a while.
Thanks

Mert wrote:
just change the port addresses to any port address which doesn't conflict.What ports you are suggesting to change? Even If you change Tomcat port that is 8080 to 8081 or something else it is bound to give errors on 2 other ports (8005,8009).
I think in background some Tomcat server is still running that is why OP sees all three required ports busy.
What is the platform that is being used?
If this is a windows then see Task Manager > Processes and stop all processes for java.exe and javaw.exe (Your Eclipse will be also terminated so save everything before that). Restart Eclipse and server from within and let us know the result.
If platform is linux end all processes for java and javaw (Your Eclipse will be also terminated so save everything before that). Restart Eclipse and server from within and let us know the result.
Thanks and Regards,
Vikash Anand.

Similar Messages

  • How do I get the Tomcat port using Servlet.

    I am running Apache + Tomcat. All request are going though Apache. How do I get the Tomcat port using Servlet.

    See:
    ServletRequest.getServerPort()This will give the port upon which the request was recieved . . .which I blelieve is what you are looking for.

  • Eclipse Tomcat and lots of pain

    Hi All,
    while working on JSP i thought it will be nice to have an IDE so i installed eclipse with tomcat already running on system.
    now as a new user i discovered eclipse uses its own server instance rather than using the server which is already running (and there are pros and cons this too)
    however due to some requirements i need to use the server installation for development... i changed the server path from .metadata to localhost..(should it work fine now?)
    no its not... may be i need to set eclipse with some more steps to use my current installation of tomcat... what all they are honestly i don't know... plz help
    as the wiki page is quite confusing when each like results in ''may or may not" statement....:(
    to my horror ...i am able to run jsp pages ???!!!! the tomcat main service in control panel is stopped... eclipse server will not start showing the port already in use error(is there a way to fix it without changing the port?)
    -Please help with : How to setup eclipse to use the orignal server installation?
    Thanks!!

    Rishikesh.Chaki wrote:
    Sometimes when i try to start the server from eclipse it will not start saying port 8080 is already in use (i don’t want to change it for eclipse as localhost is using 8080 only)... The server is not going to lie; if it says this then there really is something still listening on the socket, which means a previous instance of the server might not have stopped properly for example.
    last eve i created a war file and deployed it on my tomcat sever it was working fine. Then again the same issue sometimes the JSP page will crash showing HTTP-500 error (with no changes made).
    Hard to say what might be wrong without the exception stacktrace that should come with the error 500 - check the server logs when it happens.
    While diagnosing the problem i stopped my eclipse server; stopped the control panel tomcat service as well; but i am still able to run the JSP programs and its also showing tomcat home page...Yeah well thats the biggest issue then; tomcat is failing to stop when triggered from Eclipse.
    >
    I used a port listening utility and its showing javaw.exe is using 8080 port (could this be a reason for this strange behaviour?)Of course!
    >
    Should i again to ahead and reinstall eclipse from scratch?
    It might help, but it sounds more like an issue with the Eclipse plugin that controls the server connection. Which version of Eclipse are you using?
    Are you stuck with Eclipse by the way? You could also give Netbeans 6.8 a try; I have had absolutely no problems with it in combination with Tomcat 6, although with Netbeans it is easiest to use the bundled Tomcat that comes with it in stead of configuring an instance yourself.

  • Cannot delete reports, unless I close and open Eclipse/Tomcat

    Please can someone help me.
    I cannot delete reports. I have not worked out all the details yet but this is what I got so far...
    First I thought it was a problem with my tomcat setup, I would deploy my WAR and run the app. After
    viewing the report and closing the browser. I would not beable to delete the rpt file until I close Tomcat.
    I have now got a similar problem within Eclipse. (as far as I can tell its the same problem but even worse)
    If i create any report and design it or even a new blank report. And not do anything to it, just save it as a blank report. I then try delete the
    report. Right click and then delete.
    After a few seconds Eclipse brings up an error and says it cant delete the file, the reason it gives is
    Problems encountered while deleting resources.
      Could not delete 'C:\WorkSpace\Project\WebContent\Report1.rpt'.
        Problems encountered while deleting files.
          Could not delete: C:\WorkSpace\Project\WebContent\Report1.rpt.
    I have tried creating a fresh new project and only one report. And I still get the error.
    If I try delete the whole project perminatly it also gives the same error. (But deletes the default crystal report)
    I have to close Eclipse and then open it again before I can delete the rpt files properly.
    I have not always had this problem. It used to work fine (dont ask what I have done since
    cause I would not beable to tell, sorry)
    Hopefully someone can help me, as this is driving me insane, and having to stop and start Tomcat every
    time I want to deploy a new test version is not really an option.
    Cheers
    Darren

    Hi Merry,
    Thanks for getting back to me.
    My reports within Eclipse seem to be behaving themselves now and dying gracefully without and hassles,
    so I dont know what fixed that problem as I have not made any changes or done any updates. One of
    those things I guess.
    With regards to TOMCAT still having a handle on the reports, As far as I am aware I am putting the
    report source in session
    Below is my JSP that loads the report
    I store report name in session via a servlet and set all the DB connection details in the servlet also.
    imports....
    try {
       String reportName = session.getAttribute("Report").toString();
       ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
       if (clientDoc == null) {
          clientDoc = new ReportClientDocument();
          // Open report
          clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
          // ****** BEGIN LOGON DATASOURCE SNIPPET **************** 
             //Call the process to set all the database detail retrieved from web.xml
             // Custom function to set the connection details
             ReportFunctions.setConnection(clientDoc);
          // ****** END LOGON DATASOURCE SNIPPET ****************           
          // Store the report document in session
          session.setAttribute(reportName, clientDoc);
       // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
          // Create the CrystalReportViewer object
          CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
          //set the reportsource property of the viewer
          IReportSource reportSource = clientDoc.getReportSource();                    
          crystalReportPageViewer.setReportSource(reportSource);
          // set viewer attributes
          crystalReportPageViewer.setOwnPage(true);
          crystalReportPageViewer.setOwnForm(true);
          crystalReportPageViewer.setDisplayGroupTree(false);
          crystalReportPageViewer.setHasToggleGroupTreeButton(false);
          crystalReportPageViewer.setHasPrintButton(false);
          crystalReportPageViewer.setEnableDrillDown(false);
          // Process the report
          crystalReportPageViewer.processHttpRequest(request, response, application, null);
       // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
       } catch (ReportSDKExceptionBase e) {
        out.println(e);
    So far its very basic.
    How best can I kill and clean up once the web page is closed. I have tried a few options but dont seem to
    know the best way,
    I tried "onbeforeunload" but I dont know if this is the best practice,
    I have a session listener with sessionDestroyed but have not learnt how to envoke this correctly, or atleast when to correctly call it. And then I dont know how to clean out any loaded reports from here.
    I have used 
    request.getSession().invalidate();
    at the end of my JSP but that destoys everything everytime a user does anything on the page, (selecting any of the buttons on the report)
    I am still learning everyday, and so I appoligise for questions that I should really know, am being pushed into the deep end here so trying my best :).
    Thanks again.
    Cheers
    Darren
    Sorry for bumping this back the list, but I am at my wits end as how best to "clean out" the reports
    once they have been closed or timed out.
    Surely there must be a way to release all objects (be it a actaul rpt file or the classes12.jar) once the
    reports have been viewed and closed.
    Even if there is something I can load via another servlet that destroys anything that has to do
    with the main website.
    Thanks and again sorry for moving this back up the list. If i get no replies, ill assume this is impossible
    and that the only way to upload a new version of a report is to shut the whole Tomcat service and
    make the changes.
    Cheers
    Edited by: Darren Jackson on Dec 3, 2008 12:31 PM

  • Problem in project using Eclipse+Tomcat+Apache Beehive

    Hi,
    Software used
    Operating System : Red Hat Linux
    IDE : eclipse 3.1 M7
    Server : Tomcat 5.5.10
    Webservice Package : Apache Beehive Build 20050505
    Plugin for integrating Apache Beehive with eclipse is POLLINATE
    My Problem: when I created my first webservice project . In all the log4j.xml files in the project. It gave an error saying that log4j.dtd file not found inside /root/workspace/SampleProject1/webcontent/WEB-INF/src/log4j.dtd
    Please provide me some suggestions to clean this error
    Thank you
    Mike

    didi you set the right path to the jre?
    there's a goog mailing llist for tomcat issues. go to the jakarta/tomcat website to subscribe. they might help you.

  • Deploying JSC2 code into Eclipse/Tomcat ???

    Hi,
    Here's the situation. My partner is using JSC(java studio creator) for the project, and on my side, I am using Eclipse.
    I need to merge the files (JSP/JAVA) created with JSC into my eclipse Project. However, I am not familiar with the structure of JSC and their files, so I tried merging the files into my project and it doesn't work.
    For instance, some imports such as:
    import com.sun.rave.web.ui.appbase.AbstractPageBean;
    import com.sun.rave.web.ui.component.Body;
    import com.sun.rave.web.ui.component.Form;
    import com.sun.rave.web.ui.component.Head;
    import com.sun.rave.web.ui.component.Html;
    import com.sun.rave.web.ui.component.Link;
    import com.sun.rave.web.ui.component.Page;
    import javax.faces.FacesException;
    import javax.faces.component.html.HtmlPanelGrid;
    import com.sun.rave.web.ui.component.StaticText;
    import com.sun.rave.web.ui.component.Label;
    import com.sun.rave.web.ui.component.TextField;
    import com.sun.rave.web.ui.component.Message;
    import com.sun.rave.web.ui.component.PasswordField;
    import com.sun.rave.web.ui.component.Button;
    import com.sun.data.provider.impl.CachedRowSetDataProvider;
    import com.sun.sql.rowset.CachedRowSetXImpl;
    import com.sun.rave.web.ui.component.MessageGroup;
    needed the jar, which I think are one of those : jsfcl.jar / jstl.jar / standard.jar.
    But I still get some errors regarding AbstractPageBean; which I have no clue what it means...
    So how can I take the code created on JSC2 and add it to Eclipse? or what part of code (and which files) could I extract to merge it to my Eclipse project (which is a simple Java/Jsp project using Tomcat).
    Any ideas ????
    David

    Hi,
    We are to migrate a small JSF web application created in the JSC 2..update 1 to the WSAD. We may want to add some more GUI from Java Studio Creator to the web application.
    Here are some queries.
    1. Which type of project should be created in Eclipse\WSAD...in order to migrate the JSC JSF application to the WSAD? and.. exact steps to follow...
    2. I don't want to use the JSF facility provided by WSAD...but I'll like to use the JSC2 for adding the GUI JSF pages to the application.
    3. there are issues with the deployment descriptors while deploying..how to handle these issues?
    Is this migration possible..if yes how..?
    Your support will be highly appreciated.
    Thanks in advance,
    Raj
    null

  • Java Web Service/Eclipse/Tomcat v5.5/Axis v1.4

    I am developing a Java web service in Eclipse for deployment on Tomcat v5.5 and Axis v1.4 .
    When I run a web service client I've developed to test the web service I get the following error:
    Jan 23, 2009 10:27:55 AM org.apache.axis.InternalException <init>
    SEVERE: Exception:
    java.lang.Exception: The OperationDesc for IPublishEvent was not synchronized to a method of edu.monmouth.rri.ahett.pubwebservice.PublisherWebService.
    I have looked on the Apache Axis web site and while there are posts related to this problem they appear to be 1) old and 2) unanswered (or at least I can't find the answer).
    I can provide any of the following, if needed, to help diagnose this problem: 1) the Java source code for my class, 2) the WSDL file created when generating the web service in Eclipse, and 3) the deploy.wsdd XML generated.
    Thanks

    Hello,
    I have the same issue on my side --> Tthe OperationDesc for releaseCard was not synchronized to a method"
    did you solve this issue?
    Thanks in advance.

  • Eclipse Tomcat Hibernate Struts - JDeveloper OC4J migration problem.

    In my current project, everybody uses Eclipse and Tomcat as development environment. I decide to try JDeveloper in this project. Not that this configuration works with eclipse WPT.
    When I try to open project, I get an error as below.
    Target URL -- http://127.0.0.1:8988/PSSO/index.html
    30.Haz.2008 21:50:03 oracle.classloader.util.ClassLoadLogger log
    WARNING: Code-source D:\atilla\projects\javaProjects\meteksan\EclipseWorkspace_RTUK\BuildScripts\DirectoryThirdPartyLibraries\jta.jar (from <classpath> in D:\atilla\projects\javaProjects\meteksan\EclipseWorkspace_RTUK\PSSO\WebContent) has the same filename but is not identical to /E:/downloads/tools/jdevstudiobase1111/j2ee/home/lib/jta.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\downloads\tools\jdevstudiobase1111\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.PSSO:0.0.0.
    30.Haz.2008 21:50:03 oracle.classloader.util.ClassLoadLogger log
    WARNING: Code-source E:\downloads\tools\jdevstudiobase1111\jakarta-struts\lib\struts.jar (from <classpath> in D:\atilla\projects\javaProjects\meteksan\EclipseWorkspace_RTUK\PSSO\WebContent) has the same filename but is not identical to /D:/atilla/projects/javaProjects/meteksan/EclipseWorkspace_RTUK/BuildScripts/DirectoryThirdPartyLibraries/struts.jar (from <classpath> in D:\atilla\projects\javaProjects\meteksan\EclipseWorkspace_RTUK\PSSO\WebContent). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.PSSO:0.0.0.
    08/06/30 21:50:17 Hibernate: select t.name, sa.value from RTUK_PSSO.ytk_sistem_attribute sa, RTUK_PSSO.ytk_attribute t where sa.attribute_id = t.id
    21:50:20,687 ERROR ActionServlet:364 - Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
    javax.servlet.ServletException: org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [from tr.com.meteksan.genel.gnlKurumOrganizasyon.GnlKurumOrganizasyon ko order by ko.organizasyonKodu]
    at tr.com.meteksan.web.plugin.InitSozlukDegerleriPlugIn.init(InitSozlukDegerleriPlugIn.java:49)
    at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
    what is interesting is that
    first query with hibernate works, but second query does not works.
    My JDeveloper as below
    CVS Version Internal to Oracle JDeveloper 11g Technology Preview 4 (client-only)
    Java(TM) Platform 1.5.0_15
    Oracle IDE 11.1.1.0.22.49.49
    Versioning Support 11.1.1.0.22.49.49
    I wonder if it is related to struts and jta jars defined twice.

    There might be a problem with the OC4J not finding the hibernate library you are trying to use.
    Try setting the library also in the tools->embedded OC4J preferences.

  • Error when deploying (eclipse/tomcat)

    hello people,
    i need a little help with an application i am deploying from eclipse using tomcat plugin.
    if anybody came across this before and solved it, ploease help
    SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3711)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
         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:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    Jan 29, 2007 8:19:35 PM org.apache.catalina.core.StandardContext listenerStkris

    At the risk of looking foolish (won't be the first time, and probably not the last time) I need some clarification. The URL you referenced says:
    3.1. When I run a JSP, I see 'javax.servlet.jsp.JspException: Cannot find FacesContext'
    You cannot directly point to a JSF JSP file; you either need to add "/faces" after the servlet context path, or change the suffix (in the URL only) to ".faces".
    I changed my browser to point at the appropriate url on my tomcat instance with .faces appended to the end, but I get a 'Service not available' message. Where is the servlet context path?

  • Changing Tomcat port number

    My port 8080 is conflicting with something else - possibly a different version of Tomcat. How do I change port info from Tomcat that's bundled with Sun's Web services developer pack - is it only server.xml?

    Yes it is in the server.xml file:
    < !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
    <Connector acceptCount="10" className="org.apache.coyote.tomcat4.CoyoteConnector"
    connectionTimeout="20000" debug="0" enableLookups="true" maxProcessors="75"
    minProcessors="5" port="8888" redirectPort="8443" useURIValidationHack="false"/>
    Here I have changed tomcat to run on port 8888

  • Eclipse + Tomcat (Sysdeo) + linux

    Hi,
    eclipse 3.0.1
    tomcat 5.5.7
    jdk 1.5.0
    slackware 10.0
    sysdeo 3.0.0
    Tomcat starts from Eclipse fine. But when i try to stop
    it:
    =============================
    INFO: Server startup in 2361 ms
    Mar 12, 2005 11:34:54 AM org.apache.coyote.http11.Http11Protocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8087
    Mar 12, 2005 11:38:03 AM org.apache.catalina.connector.Connector pause
    SEVERE: Protocol handler pause failed
    ========================
    It hangs for few minutes... and:
    =========================
    java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
    at java.net.Socket.connect(Socket.java:507)
    at java.net.Socket.connect(Socket.java:457)
    at java.net.Socket.<init>(Socket.java:365)
    at java.net.Socket.<init>(Socket.java:207)
    at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:460)
    at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:272)
    at org.apache.jk.server.JkMain.pause(JkMain.java:677)
    at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:208)
    at org.apache.catalina.connector.Connector.pause(Connector.java:933)
    at org.apache.catalina.core.StandardService.stop(StandardService.java:491)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:717)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:586)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:561)
    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:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('org.apache.catalina.jsp_classpath', '/home/lmierzej/jakarta-tomcat-5.5.7/webapps/servlets-examples/WEB-INF/classes/:/home/lmierzej/jakarta-tomcat-5.5.7/shared/classes/:/home/lmierzej/jakarta-tomcat-5.5.7/common/classes/:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-en.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-es.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-fr.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-ja.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/commons-el.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jasper-compiler-jdt.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jasper-compiler.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jasper-runtime.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jsp-api.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/naming-factory-dbcp.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/naming-factory.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/naming-resources.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/servlet-api.jar:/home/lmierzej/jakarta-tomcat-5.5.7/bin/bootstrap.jar:/home/lmierzej/jdk1.5.0_01/lib/tools.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/sunjce_provider.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/sunpkcs11.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/dnsns.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/localedata.jar')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('javax.servlet.context.tempdir', '/home/lmierzej/jakarta-tomcat-5.5.7/work/Catalina/localhost/servlets-examples')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('org.apache.catalina.resources', 'org.apache.naming.resources.ProxyDirContext@dc024a')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1a70b8')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeAdded('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1de6817')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1de6817')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@83d37a')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('org.apache.catalina.jsp_classpath', '/home/lmierzej/jakarta-tomcat-5.5.7/webapps/jsp-examples/WEB-INF/classes/:/home/lmierzej/jakarta-tomcat-5.5.7/webapps/jsp-examples/WEB-INF/lib/jstl.jar:/home/lmierzej/jakarta-tomcat-5.5.7/webapps/jsp-examples/WEB-INF/lib/standard.jar:/home/lmierzej/jakarta-tomcat-5.5.7/shared/classes/:/home/lmierzej/jakarta-tomcat-5.5.7/common/classes/:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-en.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-es.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-fr.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-ja.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/commons-el.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jasper-compiler-jdt.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jasper-compiler.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jasper-runtime.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jsp-api.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/naming-factory-dbcp.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/naming-factory.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/naming-resources.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/servlet-api.jar:/home/lmierzej/jakarta-tomcat-5.5.7/bin/bootstrap.jar:/home/lmierzej/jdk1.5.0_01/lib/tools.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/sunjce_provider.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/sunpkcs11.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/dnsns.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/localedata.jar')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('javax.servlet.context.tempdir', '/home/lmierzej/jakarta-tomcat-5.5.7/work/Catalina/localhost/jsp-examples')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('org.apache.catalina.resources', 'org.apache.naming.resources.ProxyDirContext@1899213')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@d5276a')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeAdded('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@eb724')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@eb724')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@19ccba')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Mar 12, 2005 11:38:04 AM org.apache.coyote.http11.Http11Protocol destroy
    INFO: Stopping Coyote HTTP/1.1 on http-8087
    ==================
    Anyone have idea why?
    I would appriciate any halp.
    Regards,
    lmierzej

    Hi,
    eclipse 3.0.1
    tomcat 5.5.7
    jdk 1.5.0
    slackware 10.0
    sysdeo 3.0.0
    Tomcat starts from Eclipse fine. But when i try to stop
    it:
    =============================
    INFO: Server startup in 2361 ms
    Mar 12, 2005 11:34:54 AM org.apache.coyote.http11.Http11Protocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8087
    Mar 12, 2005 11:38:03 AM org.apache.catalina.connector.Connector pause
    SEVERE: Protocol handler pause failed
    ========================
    It hangs for few minutes... and:
    =========================
    java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
    at java.net.Socket.connect(Socket.java:507)
    at java.net.Socket.connect(Socket.java:457)
    at java.net.Socket.<init>(Socket.java:365)
    at java.net.Socket.<init>(Socket.java:207)
    at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:460)
    at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:272)
    at org.apache.jk.server.JkMain.pause(JkMain.java:677)
    at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:208)
    at org.apache.catalina.connector.Connector.pause(Connector.java:933)
    at org.apache.catalina.core.StandardService.stop(StandardService.java:491)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:717)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:586)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:561)
    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:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('org.apache.catalina.jsp_classpath', '/home/lmierzej/jakarta-tomcat-5.5.7/webapps/servlets-examples/WEB-INF/classes/:/home/lmierzej/jakarta-tomcat-5.5.7/shared/classes/:/home/lmierzej/jakarta-tomcat-5.5.7/common/classes/:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-en.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-es.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-fr.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-ja.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/commons-el.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jasper-compiler-jdt.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jasper-compiler.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jasper-runtime.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jsp-api.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/naming-factory-dbcp.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/naming-factory.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/naming-resources.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/servlet-api.jar:/home/lmierzej/jakarta-tomcat-5.5.7/bin/bootstrap.jar:/home/lmierzej/jdk1.5.0_01/lib/tools.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/sunjce_provider.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/sunpkcs11.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/dnsns.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/localedata.jar')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('javax.servlet.context.tempdir', '/home/lmierzej/jakarta-tomcat-5.5.7/work/Catalina/localhost/servlets-examples')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('org.apache.catalina.resources', 'org.apache.naming.resources.ProxyDirContext@dc024a')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1a70b8')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeAdded('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1de6817')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1de6817')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@83d37a')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('org.apache.catalina.jsp_classpath', '/home/lmierzej/jakarta-tomcat-5.5.7/webapps/jsp-examples/WEB-INF/classes/:/home/lmierzej/jakarta-tomcat-5.5.7/webapps/jsp-examples/WEB-INF/lib/jstl.jar:/home/lmierzej/jakarta-tomcat-5.5.7/webapps/jsp-examples/WEB-INF/lib/standard.jar:/home/lmierzej/jakarta-tomcat-5.5.7/shared/classes/:/home/lmierzej/jakarta-tomcat-5.5.7/common/classes/:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-en.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-es.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-fr.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/i18n/tomcat-i18n-ja.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/commons-el.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jasper-compiler-jdt.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jasper-compiler.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jasper-runtime.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/jsp-api.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/naming-factory-dbcp.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/naming-factory.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/naming-resources.jar:/home/lmierzej/jakarta-tomcat-5.5.7/common/lib/servlet-api.jar:/home/lmierzej/jakarta-tomcat-5.5.7/bin/bootstrap.jar:/home/lmierzej/jdk1.5.0_01/lib/tools.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/sunjce_provider.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/sunpkcs11.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/dnsns.jar:/home/lmierzej/jdk1.5.0_01/jre/lib/ext/localedata.jar')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('javax.servlet.context.tempdir', '/home/lmierzej/jakarta-tomcat-5.5.7/work/Catalina/localhost/jsp-examples')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('org.apache.catalina.resources', 'org.apache.naming.resources.ProxyDirContext@1899213')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeRemoved('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@d5276a')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeAdded('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@eb724')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@eb724')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@19ccba')
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    Mar 12, 2005 11:38:04 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    Mar 12, 2005 11:38:04 AM org.apache.coyote.http11.Http11Protocol destroy
    INFO: Stopping Coyote HTTP/1.1 on http-8087
    ==================
    Anyone have idea why?
    I would appriciate any halp.
    Regards,
    lmierzej

  • Help with jsp and javaBean in eclipse/Tomcat

    Hi,
    I am new to JSP and JavaBean. I am going through tutorial for a jsp page that uses a javaBean. I am using eclipse to create jsp page and the java bean.
    My eclipse project "Date" has five package as under:-
    1. Deployment Descriptor
    2. Java Resources: src
    3. build
    4. WebContent
    I have my data.jsp page in WebContent/WEB-INF/ folder. When I just run date.jsp in a browser as: http://localhost:8080/Date/date.jsp, it gets launched into the browser correctly. But when I add a JavaBean "TimeFormatterBean.java" in the Java Resources:src folder and use it in date.jsp page, I get errors as under:-
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 5 in the jsp file: /date.jsp
    TimeFormatterBean cannot be resolved to a type
    2: pageEncoding="ISO-8859-1"%>
    3: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    4:
    5: <jsp:useBean id="formatter" class="TimeFormatterBean"/>
    6:
    7: <html>
    8: <head>
    The data.jsp page is as under:-
    <jsp:useBean id="formatter" class="TimeFormatterBean"/>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
         <h1> Date JSP </h1>
         <p> The  current time is:
         <%= new java.util.Date() %>
         <jsp:getProperty name="formatter" property="name"/>
         </p>
    </body>
    </html>I can see "TimeFormatterBean.class" in build/classes folder.
    If anyone could please help me out with this, it would be very helpful
    Thanks a lot!

    You probably should place TimeFormatterBean inside a package, or maybe you could try importing it , even if it�s in the default package, with something like this <%@ page import="TimeFormatterBean" %> at the top

  • Web services using axis /eclipse/tomcat

    Hi all
    I am trying to develop web services using apache axis in Eclpise.
    I got an error Unexpected element "wsdl:definitions" definitions
    and even I cant get a target to specify while building.
    Can some one help me out?

    hi,
    ask scott from http://onlinecares.com about Java classes, he would be able to help you out.
    Edited by: jimwar on Nov 20, 2007 4:00 AM

  • Eclipse as a development environment with Jakarta Tomcat

    Hello:
    I am setting up the new development environment for my application (project). Below are the components involved::
    �     Eclipse 3.1
    �     myEclipse - EnterpriseWorkbenchInstaller_4.0GA_E3.1
    �     jakarta-tomcat-5.0.28 (Application Server)
    �     Sysdeo Eclipse Tomcat Launcher plugin - tomcatPluginV31beta
    �     SDK 1.4.2_08
    �     Microsoft XP sp2 operating system
    I have no issue with creation of project structure in eclipse IDE, compilation, and deployment, but there are some exception upon running the application.
    My project folder structure as follows:
    MyApplication/
    src/
    Conf/
    Web/
    classes
    taglib
    lib
    web.xml
    �     my application has few dependent projects, therefore I copied all the dependent projects final compiled classes (jars) to �lib� folder.
    �     I set all necessary classpath according to tomcat documentation.
    �     I created MyApplication.xml file under D:\jakarta-tomcat-5.0.28\conf\Catalina\localhost\ folder with the below context
    <Context path="/MyApplication " docBase="D:/xx/xxx/dev/src/ MyApplication/web" debug="0" reloadable="true" />
    �     I don�t get any exception during compilation and deployment process.
    �     I would greatly appreciate if you could give me a tips!!!!!!!!!!!!!!!!!!!!!!
    Error as follows:
    2005-10-10 17:31:45 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2005-10-10 17:31:47 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Associated with Deployer 'localhost'
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Global resources are available
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: list: Listing contexts for virtual host 'localhost'
    2005-10-10 17:32:35 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
         at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599)
         at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:163)
         at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122)
         at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115)
         at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:190)
         at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)
         at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
         at org.apache.jsp.default_jsp._jspService(default_jsp.java:101)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    path setting as follows:
    %JAVA_HOME%\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Borland\AppServer\bin;C:\Program Files\CA\PEC\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\ENGLISH;C:\Program Files\Attachmate\E!E2K\;C:\Program Files\CA\AllFusion Harvest Change Manager;D:\jwsdp-1.1\jaxb-1.0\bin;D:\jwsdp-1.1\jwsdp-shared\bin;C:\Borland\classes12.zip;C:\Program Files\UltraEdit;D:\jakarta-tomcat-5.0.28\webapps\cst\WEB-INF\classes;D:\EPS\EB_CST_v3.7.2\dev\src\cst;%PATH%
    Classpath setting as follows:
    .;%third_pty%\xerces.jar;D:\EPS\EB_CST_v3.7.2\dev\src\cst;D:\jakarta-tomcat-5.0.28\webapps\cst;D:\jakarta-tomcat-5.0.28\common\lib\servlet-api.jar;D:\jakarta-tomcat-5.0.28\common\lib\jsp-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-ri.jar;%third_pty%\ant.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\dom.jar;D:\jwsdp-1.1\jwsdp-shared\lib\jax-qname.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-libs.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-xjc.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\jaxp-api.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\sax.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\xercesImpl.jar;%third_pty%\activation.jar;%third_pty%\ant-optional.jar;%third_pty%\j2ee.jar;%third_pty%\jakarta-regexp.jar;%third_pty%\jaxp.jar;%third_pty%\jcert.jar;%third_pty%\jnet.jar;%third_pty%\jsse.jar;%third_pty%\xalan.jar;C:\MSJDBSLib\msbase.jar;C:\MSJDBSLib\mssqlserver.jar;C:\MSJDBSLib\msutil.jar;
    Other IDE setting:
    As per tomcat documentation.

    Hello:
    I overcame the above issue by changing index.html to index.jsp, but now i am facing another issue as shown below:
    On top of the above change i too included j2ee.jar (from websphere) in the classpath to overcome the below issue, but even then i am getting the same error.
    Error as follows:
    javax.servlet.ServletException: Error instantiating servlet class com.metavante.cst.control.web.LoginMainServlet
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:996)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:214)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    ----- Root Cause -----
    java.lang.NoClassDefFoundError: javax/ejb/EJBObject
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructor0(Class.java:1930)
         at java.lang.Class.newInstance0(Class.java:278)
         at java.lang.Class.newInstance(Class.java:261)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:987)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:214)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)

  • Eclipse as a development environment with Jakarta Tomcat - Need help!!

    Hello:
    Subject: Eclipse as a development environment with Jakarta Tomcat
    I am setting up the new development environment for my application (project). Below are the components involved::
    �     Eclipse 3.1
    �     myEclipse - EnterpriseWorkbenchInstaller_4.0GA_E3.1
    �     jakarta-tomcat-5.0.28 (Application Server)
    �     Sysdeo Eclipse Tomcat Launcher plugin - tomcatPluginV31beta
    �     SDK 1.4.2_08
    �     Microsoft XP sp2 operating system
    I have no issue with creation of project structure in eclipse IDE, compilation, and deployment, but there are some exception upon running the application.
    My project folder structure as follows:
    MyApplication/
    src/
    Conf/
    Web/
    classes
    taglib
    lib
    web.xml
    �     my application has few dependent projects, therefore I copied all the dependent projects final compiled classes (jars) to �lib� folder.
    �     I set all necessary classpath according to tomcat documentation.
    �     I created MyApplication.xml file under D:\jakarta-tomcat-5.0.28\conf\Catalina\localhost\ folder with the below context
    <Context path="/MyApplication " docBase="D:/xx/xxx/dev/src/ MyApplication/web" debug="0" reloadable="true" />
    �     I don�t get any exception during compilation and deployment process.
    �     I would greatly appreciate if you could give me a tips!!!!!!!!!!!!!!!!!!!!!!
    Error as follows:
    2005-10-10 17:31:45 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2005-10-10 17:31:47 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Associated with Deployer 'localhost'
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Global resources are available
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: list: Listing contexts for virtual host 'localhost'
    2005-10-10 17:32:35 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
         at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599)
         at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:163)
         at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122)
         at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115)
         at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:190)
         at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)
         at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
         at org.apache.jsp.default_jsp._jspService(default_jsp.java:101)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    path setting as follows:
    %JAVA_HOME%\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Borland\AppServer\bin;C:\Program Files\CA\PEC\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\ENGLISH;C:\Program Files\Attachmate\E!E2K\;C:\Program Files\CA\AllFusion Harvest Change Manager;D:\jwsdp-1.1\jaxb-1.0\bin;D:\jwsdp-1.1\jwsdp-shared\bin;C:\Borland\classes12.zip;C:\Program Files\UltraEdit;D:\jakarta-tomcat-5.0.28\webapps\cst\WEB-INF\classes;D:\EPS\EB_CST_v3.7.2\dev\src\cst;%PATH%
    Classpath setting as follows:
    .;%third_pty%\xerces.jar;D:\EPS\EB_CST_v3.7.2\dev\src\cst;D:\jakarta-tomcat-5.0.28\webapps\cst;D:\jakarta-tomcat-5.0.28\common\lib\servlet-api.jar;D:\jakarta-tomcat-5.0.28\common\lib\jsp-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-ri.jar;%third_pty%\ant.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\dom.jar;D:\jwsdp-1.1\jwsdp-shared\lib\jax-qname.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-libs.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-xjc.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\jaxp-api.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\sax.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\xercesImpl.jar;%third_pty%\activation.jar;%third_pty%\ant-optional.jar;%third_pty%\j2ee.jar;%third_pty%\jakarta-regexp.jar;%third_pty%\jaxp.jar;%third_pty%\jcert.jar;%third_pty%\jnet.jar;%third_pty%\jsse.jar;%third_pty%\xalan.jar;C:\MSJDBSLib\msbase.jar;C:\MSJDBSLib\mssqlserver.jar;C:\MSJDBSLib\msutil.jar;
    Other IDE setting:
    As per tomcat documentation.

    Need tips to solve this issue!!!

Maybe you are looking for

  • HT4995 Lost my friends in latitude on my ipad 2 & iPhone 3G

    Lost my friends on google latitude . Now I just loop back to the App Store .

  • WM stock updating without TO

    Hi friends, I have an issue regarding transfer orders. When i am returning material to a subcontractor via return delivery, a material document is posted and a TR is created for the same. When i go to the WM stocks i dont find the stock in WM, the st

  • Why is so much storage taken up in the 'other' category on my mac?

    I have been going through a lot of things on my macbook air and I don't understand how I less available storage now then I did before I began cleaning things up. I have emptied my trash deleted old apps etc. I have not deleted things that I have no i

  • Move from one text box to another w/o using tool box

    I'm constantly needing to move from one editable text box to another editable text box -- or to a vector graphic and back to a text box. I'd love a keyboard shortcut to move around if there is one.  Having to constantly click the cursor in the tool b

  • Unit test of FPM applications?

    Is there any way to implement/execute some kind of unit tests for floorplan manager applications? I would like to write some automatically reproducible tests but cannot find any solution/framework for it. Thomas