NetBeans 4.1, JWSDP 1.6, Tomcat 5.0-JWSDP

Hello,
I installed JWSDP 1.6 and Tomcat 5.0-JWSDP.
Then with Netbeans 4.1 created Web application with very simple WebService (by NB "wizard", name of WS was ChristmasService) and after small patch I built war succesfully.
(There is needed to specify jaxrpc-impl.jar and jaxrpc-api.jar (JWSDP distribution) into wscompile.classpath in project.properties file ).
When I now copy this war into webapps, I get next error:
Marking servlet WSServlet_ChristmasService as unavailable
Servlet /EasyWebService threw load() exception
Class my.easywebservice.ChristmasServiceImpl is not a Servlet
When I copy this war into Jboss it looks OK.
At least wsdl is displayed..
What is wrong ?
L.

There are two articles, for NB 4.0:
First article:
http://www.netbeans.org/kb/articles/tutorial-webservice-40.html
It worked with Tomcat50-jwsdp. Worked fine in 4.1 too.
This is "manual" work.
Second article:
http://testwww.netbeans.org/kb/41/tutorial-webservice.html
It (possibly) worked with Sun AS but when I deploy builded WAR to Tomcat50-jwsdp
then it does not work.
Will be very nice to have document with knowledge how to deploy web application into Tomcat with new WS features in NB 4.1.
L.

Similar Messages

  • Netbeans 6.9.1 and bundled tomcat

    I have installed a clean version of netbeans 6.9.1 bundled with tomcat and glassfish. We have moved to netbeans from eclipse. All was working fine until about a week ago. We can start tomcat fine, from within netbeans. But when it comes to restarting or stopping the tomcat server from within netbeans, netbeans attempts to stop it for about 2 minutes and then reports: Stopping of tomcat failed. This means that everytime we want to stop tomcat we have to tell netbeans to stop tomcat and then end java.exe from task manager. No config files have changed, as far as I am aware.
    Any ideas are appreciated!
    P.S. Tomcat is 6.0.26

    hi;
    I am mexican and sorry for english, well lets see, there are a botton then you select a server, click on it "add" then appear alist off servers for default, down appear a textbox called Name, set tomcat 4, then click next select catalina home fo tomcat 4 and other features, most work but, I have just used it to configure firts time the tomcat 6, dont know if that works to tomcat 4.
    thanks on advance
    Miguel Villalobos

  • Communication problem between NetBeans and Tomcat

    hi!
    i got a quite mysterious problem. here is what happens:
    - i start NetBeans 5.5.1 (the first time)
    - i want to debug my JSF-Project, the Debugger starts
    - After a few seconds the debugger waits for tomcat (it sais: "Waiting for Tomcat...") and tomcat starts
    - Again after a few seconds the tomcat-debugger-output sais "Tomcat startet in 3333 ms".
    okay.
    when i enter http://localhost:8084/ in my browser i get the tomcat homepage, so the server has definitely started! But nothing happens in NetBeans and nothing happens with my project....
    In the lower-right corner i see this blue working-bar that sais "deploying project" but nothing happens. The Project-Debugger-Output still sais "Waiting for Tomcat..." but nothing happens...
    And after something around 3 minutes (i guess it's a timeout) i get the error "Starting of Tomcat failed." But is HAS started, i can login to the Administration-Area in my browser!
    so i guess there is a communication problem between netbeans an tomcat. Netbeans waits for a message from tomcat but tomcat doesn't send it..or netbeans doesn't understand it.
    But the story goes on:
    When i press the debug-button a second time it takes only a few seconds till i get the message: "Tomcat server port 8084 already in use". OF COURSE! Because Tomcat has already startet and can't be stoped by NetBeans.
    i'm trying to solve this problem for 4 days now, so i would be very happy if anyone has an idea where to start/continue the search...
    thanks,
    flo.
    some system-info:
    - windows vista business 32-bit
    - no firewall is running
    - AntiVir Personal Edition IS running
    - Yahoo Widgets Engine IS running
    - no other software is running
    and finally the tomcat-log:
    Using CATALINA_BASE: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base
    Using CATALINA_HOME: C:\Program Files\NetBeans\enterprise3\apache-tomcat-5.5.17
    Using CATALINA_TMPDIR: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\temp
    Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_12
    Listening for transport dt_shmem at address: tomcat_shared_memory_id
    21.09.2007 18:27:50 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_12\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\cvsnt;
    21.09.2007 18:27:50 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8084
    21.09.2007 18:27:50 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1862 ms
    21.09.2007 18:27:50 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    21.09.2007 18:27:50 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    21.09.2007 18:27:50 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    21.09.2007 18:27:53 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8084
    21.09.2007 18:27:54 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    21.09.2007 18:27:54 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/31 config=null
    21.09.2007 18:27:54 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    21.09.2007 18:27:54 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3626 ms

    As i wrote before, the same problem occured for me. I have found a solution which is : Go to tools menu and then select options . In the proxy info, select No Proxy.
    I hope this help you

  • NetBeans 6.1: Build project but always report Tomcat failed

    I recently try to use NetBeans and do a simple app following tutorial. When I build, it warns Tomcat unable to open due to port 8080 has been used by others. I actually have Tomcat running on my computer, I wonder if NetBeans can skip the startup of Tomcat ( as it has been there ) and only the class file is built?
    Thanks, Dove

    hi,
    restart the tomcat and then compile
    if still problem persist
    then change the port e.g. 8080 to 8081
    or something else

  • Netbeans 6.5 And tomcat

    how can i correctly configure tomcat with netbeans 6.5.. i installed tomcat separately with netbeans.. when i deploy an application. it says "Starting of Tomcat failed, the C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\catalina.bat startup script is missing.
    See the server log for details.
    BUILD FAILED (total time: 2 seconds)"
    Can you please help me with these

    That message is true if you did not install the bundled tomcat server that comes included with NB6. Otherwise you will have to start tomat up separately with the tomcat6.exe and add a NEW tomcat server to NB.

  • Issues in looking up a ejb deployed on glassfish from tomcat.

    Hi all,
    I have followed the steps mentioned in the EJB FAQ in the glassfish site and was able to lookup a remote ejb deployed in glassfish from a standalone client.
    In case of standalone client, i set the appropriate jndi properties in the initial context as mentioned in the FAQ and added the 4 jars specified to the classpath of the application.
    It all worked perfectly well.
    But I attempted to do the same from a servlet running under tomcat.
    I set the appropriate jndi properties in the intial context and added 4 jars specified in the lib directory of the war file.
    But this did not turn out well and tomcat complained me with some servlet init errors.
    Then i searched through the web and found this posting from you:
    http://www.archivesat.com/GlassFish_Enterprise_JavaBeans_Developers/thread1399339.htm
    Then i created a folder called "shared/lib" under TOMCAT_HOME directory in my machine and ran the same example. Wow.....miraculously the application ran well.
    But i found that the "index.jsp" which i configured in the welcome file list does not appear now. But i was able to access the servlet without any problem. And the servlet was able to successfully lookup the ejb deployed in glassfish.
    Then i thought, let me try to access the ejb from a jsf application.
    Then i created a jsf application in netbeans 5.5.1 and tried to access the bean deployed in glassfish.
    (Note: the jsf application runs in tomcat 5.5.17 which is bundled with netbeans)
    OOPSS....
    Tomcat now complains me that it cannot compile the jsp page..
    This is the error i got...
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    C:\Documents and Settings\james\.netbeans\5.5.1\apache-tomcat-5.5.17_base\work\Catalina\localhost\CityExplorer-WebClient1\org\apache\jsp\index_jsp.java:7: org.apache.jsp.index_jsp is not abstract and does not override abstract method getDependants() in org.apache.jasper.runtime.JspSourceDependent
    public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
    ^
    Generated servlet error:
    C:\Documents and Settings\james\.netbeans\5.5.1\apache-tomcat-5.5.17_base\work\Catalina\localhost\CityExplorer-WebClient1\org\apache\jsp\index_jsp.java:12: getDependants() in org.apache.jsp.index_jsp cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent; attempting to use incompatible return type
    found : java.lang.Object
    required: java.util.List
    public Object getDependants() {
    ^
    2 errors
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    Any ideas...
    Can you please help me.
    I've noticed that you were eagerly answering questions related to ejb lookup in many places.
    I feel there is some potential compatability issue between tomcat and glassfish...
    I request you to investigate on this and clarify the community with your response.
    Thanks in advance,
    James Selvakumar

    Thank you guys!
    I've found the answer myself.

  • Berkeley Xml 2.4.13 works on Tomcat but not on Glassfish

    I recently upgraded my web app to using the latest version of Berkeley Xml from 2.3. The old version worked fine on both glassfish and tomcat java servers.
    When I upgraded and made the necessary modifications to my app I could not get it to work on glassfish but had no problems on tomcat.
    This error happens in the beginning of start up when I call the XmlManager constructor. I am clueless as to what it is because I can not recreate it on anything else but glassfish v2. I even created a new project and played around with some options.
    Here is part of the stack trace:
    DB errno:0
    The log message is null.
    com.sleepycat.dbxml.XmlException: Uncaught exception from C++ API, errcode = INTERNAL_ERROR
    at com.sleepycat.dbxml.dbxml_javaJNI.new_XmlManager(Native Method)
    at com.sleepycat.dbxml.XmlManager.<init>(XmlManager.java:56)
    For now I am going to just use tomcat, but I would really like to know what is going on for both peace of mind and because I like some of the features of glassfish.
    Not sure if this matters but I am deploying the web app through netbeans 6 for both glassfish and tomcat.
    Thanks in advance for any help.

    I don't think it is a library path problem. The java.library.path shows the right values. I did have it working fine on the previous version of berkeley xml. I did have a version mismatch problem but I deleted the other database. I did have problems uninstalling the old database and I had to do it manually (the uninstall was hanging). Maybe I didn't clean it up correctly. My confusion is if I didn't clean it up correctly why does it work on everything else but glassfish.
    Thanks for your help.

  • Don't know how to make public on web application in netbeans(visualWebPack

    My netbeans(VisualWebPack) JSF application works fine in netbeans
    but when I try to run it on a tomcat server(version 5.5.20) i'm getting the folowing error:
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: java.lang.NullPointerException
    null
    Possible Source of Error:
    Class Name: javax.faces.webapp.FacesServlet
    File Name: FacesServlet.java
    Method Name: init
    Line Number: 165
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    javax.faces.webapp.FacesServlet.init(FacesServlet.java:165)
    org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
    org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    java.lang.Thread.run( Unknown Source )
    Are there any settings needed to be done to the tomcat server?
    .....or to use a different version?
    Ps: i'm putting the MyApplication.war file in the webapps directory of the installed tomcat server(I thought this one is needed)

    I too have had the same problem and have tried every trick in the book, this solution work and makes sence for me.
    If you wish to deploy to a server that is not the the bundled server, make sure that there are no spaces in the path to your source code or your tomcat server.
    C:\Documents and settings\Fred Brooks\My Documents\MyApplication
    Bad
    C:\env\MyApplication
    Good
    C:\Program files\Appache Software Foundation\Tomcat 5.5\
    Bad
    C:\Tomcat55\
    Good
    this seemed to allow me to both deploy strait to the server from netbeans as well as using the tomcat admin web page to deploy the .war file.
    I remember reading someware, or hearing someware that ant doesn't like spaces in file or directory names, in fact had a general dislike for spaces in general.
    If you find this solution doesn't work try some of the following.
    - set the <faces severlet> <load on startup> to false (0) in the project web.xml.
    - copy the jars from your build web-inf / lib folder of your project to tomcat\server\lib
    - removing the any content in the tomcat\temp folder
    - copy the jars from your build web-inf / lib folder of your project to any folder
    in tomcat that contains jars or you might think would like some (yes i know
    im flayaling wildly at the problem here this is realy a last ditch effort)
    these are some of the solutions i have found elseware on the internet, you have by now proberbley seen them and tried them yourself, they work sometimes apparently, but they seem a little random.
    Hope this helps
    Message was edited by:
    JonPen
    Message was edited by:
    JonPen
    Message was edited by:
    JonPen

  • Severe Error when running sample jsp on Tomcat.. Please Help me!!

    I am trying to run a sample jsp that is provided in netbeans(5.5) on the bundled tomcat server (5.5.17) and i get the following error:
    SEVERE: Error initializing endpoint
    java.net.SocketException: Invalid argument: listen failed
    at java.net.PlainSocketImpl.socketListen(Native Method)
    at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:374)
    at java.net.ServerSocket.bind(ServerSocket.java:320)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at java.net.ServerSocket.<init>(ServerSocket.java:141)
    at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292)
    at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:138)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
    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.load(Bootstrap.java:266)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
    I've been trying to figure out why i get this error for a few days now, could someone please help me..
    thanks :)

    What machine are you trying to run it under? Is it a machine with a firewall or strict network settings?

  • NetBeans - Reloadable web application

    Hi can someone tell how can I make a web application reloadable.
    I am using Netbeans 3.6 and its embedded tomcat 5.0 server and I do not want recompile and execute my application everytime I make changes and compile a single servler/jsp. Can someone suggest me thow to achieve this.
    Thanks,
    rahul.

    JSP and HTML pages should already update. If you want servlets to then you need to set the reloadable attribute of the contetxt to true. This is located in:
    C:\Documents and Settings\{user.id}\.netbeans\3.6\jakarta-tomcat-5.0.19_base\conf\Catalina\localhost\{app name}.xml
    Here is where you'll find information on the servlet context
    http://localhost:8084/tomcat-docs/config/context.html
    You could also use the tomcat manager app to reload the context.

  • Problems Deplying tomcat

    Hello,
    I'm working in a project and I recently bought a new computer that has windows Vista (home premium) and I installed netBeans and it works fine when I'm doing java classes.In the project i need to display several JSP pages and HTML page but when I try to run the pages this is the message i
    The module has not been deployed.
    See the server log for details.
    BUILD FAILED (total time: 7 seconds)
    and when I see tomcat log this is the message
    Using CATALINA_BASE: C:\Users\Dani
    Using CATALINA_HOME: C:\Program Files\netbeans-5.5.1\enterprise3\apache-tomcat-5.5.17
    Using CATALINA_TMPDIR: C:\Users\Dani
    Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_07
    The system cannot find the path specified.
    The system cannot find the path specified.
    Nov 1, 2007 4:51:38 AM org.apache.catalina.startup.Embedded initDirs
    SEVERE: Cannot find specified temporary folder at C:\Users\Dani
    Nov 1, 2007 4:51:38 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_07\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\hp\bin\Python;c:\Program Files\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\Java\jdk1.5.0_07\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Ahead\Lib\;C:\Program Files\Common Files\Ahead\Lib\
    Nov 1, 2007 4:51:38 AM org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8084
    Nov 1, 2007 4:51:38 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 517 ms
    Nov 1, 2007 4:51:38 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Nov 1, 2007 4:51:38 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    Nov 1, 2007 4:51:38 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Nov 1, 2007 4:51:39 AM org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8084
    Nov 1, 2007 4:51:39 AM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Nov 1, 2007 4:51:39 AM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/18 config=null
    Nov 1, 2007 4:51:39 AM org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    Nov 1, 2007 4:51:39 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 778 ms
    java.io.FileNotFoundException: C:\Users\DANI (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at org.apache.catalina.manager.ManagerServlet.copyInternal(ManagerServlet.java:1548)
    at org.apache.catalina.manager.ManagerServlet.copy(ManagerServlet.java:1509)
    at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:801)
    at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:343)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:174)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    PLEASE HELP!!

    It's because tools.jar isn't in your classpath. If you want this jar to be avaliable to all of your applications, copy it into the %CATALINA_HOME%\common\lib folder.

  • Tomcat start error, what's goin' on?

    I get this when I try to start up Tomcat. I can't get all the errors as the window closes before I can. It there a log file anywhere?
    10-Feb-2005 13:35:59 org.apache.coyote.http11.Http11Protocol init
    SEVERE: Error initializing endpoint
    java.net.SocketException: Invalid argument: listen failed
    at java.net.PlainSocketImpl.socketListen(Native Method)
    at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:374)
    at java.net.ServerSocket.bind(ServerSocket.java:320)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at java.net.ServerSocket.<init>(ServerSocket.java:141)
    at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:259)
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)
    at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1429)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
    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.load(Bootstrap.java:250)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
    10-Feb-2005 13:35:59 org.apache.catalina.startup.Catalina load
    SEVERE: Catalina.start
    LifecycleException: Protocol handler initialization failed: java.net.SocketException: Invalid argument: listen failed
    at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1431)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
    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.load(Bootstrap.java:250)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
    10-Feb-2005 13:35:59 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1500 ms
    10-Feb-2005 13:35:59 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    10-Feb-2005 13:35:59 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
    10-Feb-2005 13:35:59 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    10-Feb-2005 13:35:59 org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    10-Feb-2005 13:35:59 org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\conf\Catalina\localhost\admin.xml
    10-Feb-2005 13:36:00 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    10-Feb-2005 13:36:00 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    10-Feb-2005 13:36:01 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
    10-Feb-2005 13:36:02 org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\conf\Catalina\localhost\balancer.xml
    10-Feb-2005 13:36:11 org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\conf\Catalina\localhost\manager.xml
    10-Feb-2005 13:36:12 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path from URL file:C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\webapps\ROOT
    10-Feb-2005 13:36:12 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /tomcat-docs from URL file:C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\webapps\tomcat-docs
    10-Feb-2005 13:36:12 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /webdav from URL file:C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\webapps\webdav

    09-Feb-2005 18:15:41 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(PoolTcpEndpoint.java:264)
         at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)
         at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1429)
         at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
         at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
         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.load(Bootstrap.java:250)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
         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.commons.launcher.ChildMain.run(ChildMain.java:269)
    09-Feb-2005 18:15:41 org.apache.catalina.startup.Catalina load
    SEVERE: Catalina.start
    LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080
         at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1431)
         at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
         at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
         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.load(Bootstrap.java:250)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
         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.commons.launcher.ChildMain.run(ChildMain.java:269)
    09-Feb-2005 18:15:41 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 5578 ms
    09-Feb-2005 18:15:42 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    09-Feb-2005 18:15:42 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
    09-Feb-2005 18:15:42 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    09-Feb-2005 18:15:42 org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    09-Feb-2005 18:15:42 org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\conf\Catalina\localhost\admin.xml
    09-Feb-2005 18:15:45 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    09-Feb-2005 18:15:45 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    09-Feb-2005 18:15:47 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
    09-Feb-2005 18:15:51 org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\conf\Catalina\localhost\balancer.xml
    09-Feb-2005 18:15:51 org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\conf\Catalina\localhost\manager.xml
    09-Feb-2005 18:15:52 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path from URL file:C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\webapps\ROOT
    09-Feb-2005 18:15:52 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /tomcat-docs from URL file:C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\webapps\tomcat-docs
    09-Feb-2005 18:15:52 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /webdav from URL file:C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\webapps\webdav
    09-Feb-2005 18:15:52 org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    09-Feb-2005 18:15:53 org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    09-Feb-2005 18:15:53 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/62 config=C:\Java\netbeans-4.0\nb4.0\jakarta-tomcat-5.0.28\conf\jk2.properties
    09-Feb-2005 18:15:53 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 11704 ms
    StandardServer.await: create[8005]: java.net.BindException: Address already in use: 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:359)
         at java.net.ServerSocket.bind(ServerSocket.java:319)
         at java.net.ServerSocket.<init>(ServerSocket.java:185)
         at org.apache.catalina.core.StandardServer.await(StandardServer.java:496)
         at org.apache.catalina.startup.Catalina.await(Catalina.java:619)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:579)
         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:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
         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.commons.launcher.ChildMain.run(ChildMain.java:269)
    89)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         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:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
         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.commons.launcher.ChildMain.run(ChildMain.java:269)
    09-Feb-2005 18:15:38 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 19297 ms
    09-Feb-2005 18:22:09 org.apache.coyote.http11.Http11Protocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8080
    09-Feb-2005 18:22:09 org.apache.coyote.tomcat5.CoyoteConnector pause
    SEVERE: Protocol handler pause failed
    java.lang.NullPointerException
         at org.apache.coyote.tomcat5.CoyoteConnector.pause(CoyoteConnector.java:1444)
         at org.apache.catalina.core.StandardService.stop(StandardService.java:521)
         at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2347)
         at org.apache.catalina.startup.Catalina.stop(Catalina.java:605)
         at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:648)

  • ECLIPSE & NETBEANS Same error about android.R class - new project

    %JAVA_ANT%/bin %JAVA_HOME%/bin
    ANDROID DEV - ALL NEW PROJ STARTUP CODE - GIVE ERROR
    prior run ok and could create hellow word Android projects (no add anything) but now cannot run. ECLIPSE & NETBEANS Same error about android.R class,... As remember I installed ant in C:/Ant from Apache zip file for Phonegap. Ant exist and to JDK? BOTH far above must set in WINDOWS 7 64bit System - environmental vars??? I think something deleted i guess ant in environmental vars...
    In eclipse juno where are Android sdk tools and AVM ??%JAVA_HOME% how understand what this holds?
    this posted and here but no reply - see the attachment here:
    Android Forums at AndroidCentral.com

    You may want to swap out OpenJDK for the official version as compatibility isn't always guaranteed - any sort of development would require the "proper" java stack in my opinion.
    Apologies - tomcat does need to be installed separately. It is quite a while since I have had to reinstall netbeans / reconfigure it  
    Have you configured tomcat and have it running without error in the background?
    https://wiki.archlinux.org/index.php/Tomcat
    https://wiki.archlinux.org/index.php/Netbeans

  • Trouble deploying application in Tomcat!

    When I try to open the deployed application in the TomCat webserver, it throws a HTTP 404 error!
    However, the same application is working fine in NetBeans, which has a bundled TomCat server!
    Where am I going wrong? The applications that come with Tomcat are working fine, but no matter whatever appl I deploy, it isnt working!

    First, thanks for the suggestions Nick! And I have tried each of these steps you mentioned!
    1) Check your app is deployed and running in Tomcat Web Application Manager. -- YES, IT IS! I CAN SEE THE APPLICATION, RELOAD IT, STOP IT, ETC!
    2) If not deployed, check log file in logs\stdout.log to find out why it didn't deploy. (How are you deploying? Copying the war file across to \webapps?) - I TRIED DEPLOYING THE WAR FILE, THEN I DEPLOYED AN APPL CREATING THE DIRECTORY STRUCTURE, ETC! STILL NO LUCK!
    3) Make sure you're definitely hitting the correct URL (including the context path, which should also be shown in Web Application Manager) - OF COURSE I AM; EVERY APPL I DEPLOY RETURNS 404! THE NATIVE APPLICATIONS HOWEVER WORK FINE
    4) Can you deploy and run any apps in your standalone Tomcat instance? - I DIDNT GET THIS BUT AN APPL WHICH WORKS PERFECTLY FINE IN NETBEANS, ISNT WORKING IN THE STANDALONE TOMCAT!
    5) Try deploying a really simple app to see if that works. - DID & FAILED!

  • Problem using connection pooling on netbeans with mysql

    Hi everyone,
    I use Apache Tomcat server 5.0 and Mysql as back end. I have done connection pooling in tomcat server installation folder and everything works fine.But when I tried the same on netbeans I could not connect using connection pooling and it's throwing error as
    'Name jdbc is not bound in this Context'.
    When I checked the tomcat server in netbeans it says a version of tomcat 5.5.9(May be netbean's tomcat).So is there anything to be changed for server.xml of higher version tomcat above 5.0?
    I need your help to solve this issue.
    thanks in advance
    -Jegan

    Hi everyone,
    I use Apache Tomcat server 5.0 and Mysql as back end. I have done connection pooling in tomcat server installation folder and everything works fine.But when I tried the same on netbeans I could not connect using connection pooling and it's throwing error as
    'Name jdbc is not bound in this Context'.
    When I checked the tomcat server in netbeans it says a version of tomcat 5.5.9(May be netbean's tomcat).So is there anything to be changed for server.xml of higher version tomcat above 5.0?
    I need your help to solve this issue.
    thanks in advance
    -Jegan

Maybe you are looking for

  • My ITunes wont start.

    Everytime i try to start ITunes, a message appears saying that ITunes closed itself. I have downloaded the newest version, and I use a Macbook pro Here is what it says..... Process:         iTunes [643] Path:            /Applications/iTunes.app/Conte

  • WEP 128 bit 26 hex digit problem

    Can't seem to use the passwords generated by the linksys router for WEP 128 bits 26 hex digits encryption. WEP 64 bits works. Why? Thanks

  • No javaw in jrockit-jdk1.6.0_33-R28.2.4-4.1.0

    Hi i am trying to use the jrockit jvm for my eclipse. The documentations tells me that i have to point to javaw as the jvm in the eclipse.ini file. I have installed jrockit-jdk1.6.0_33-R28.2.4-4.1.0 and jrockit-jdk1.6.0_37-R28.2.5-4.1.0 on my oracle

  • Retrieving the union of letters from two or more character strings

    Dear Gurus, Need your help in writing ABAP logic for the below requirement. Assume we have Var1 = 'ABCD' , Var2 = 'CDEF' and Var3 = 'EFGH'. The requirement is to populate Var4 with union of the letters from the above three strings. That means, Var4 s

  • Page header on mode_show_help

    How can I change the page header on the page that gets opened by calling mode_show_help? I'd like to have the help pages maintain the consistancy of the look of the portal. thanks, adam