Servlet & NetBeans 3.6

Hello,
i'm trying to deploy a servlet using netbeans 3.6 on a Suse 9.1 pc. I'm using the integrated tomcat webserver that comes with netbeans. I first mounted a filesystem, converted it into a Webmodule, added my servlet in the WEB-INF/classes directory, added an HTML file in the webmodule and from there call my servlet using http://localhost:8084/servlet_name (tomcat webserver is up and running on port 8084). But I always get HTTP 404 error, "The requested resource is not available".
Where is the problem?
thanks
Daniele

You may have better luck posting this to one of the Netbeans mailing lists:
http://www.netbeans.org/community/lists/

Similar Messages

  • WS - "java.rmi.MarshalException: (1)Missing end tag for Body or Envelope"

    HI All,
    I'm new of this forum but I really hope you could help me solving the problem I have to connect Web Services and midlets.
    Somehow my configuration works with some services I've found online but when I invoke very simple services deployed on my server(s) I always have "java.rmi.MarshalException: (1)Missing end tag for Body or Envelope" exception"
    Let me add some more information to the problem:
    System Configuration:
    - JBoss (but I also tried axis) - standard installation (http/1.1)
    - WTK 2.5 (but I also tried 2.2) - standard installation
    - I tried "trusted" and "untrusted" security configuration of the servlet
    - Netbeans IDE 5.0 (to create both Midlets and WS)
    - WS uses document/literal as expected by JSR 172
    The midlet is created with no problems but at the time of invocation the server throws the above exception (which is part of rmi. remoteException)
    By monitoring the network both at client and server side I noticed that the information received is chuncked after 768 bytes. However, If the (soap) reponse is less than such value, I still have the error.
    Using Http/1.1. at the mobile side, the service does not return me anything (0kb) while if I set the mobile device to http/1.0, I get the above error.
    I really have to make the midlet running so any type of help will be really appreciated!!
    Thanks in advance

    Hi all,
    as many developers I have encountered the famous "java.rmi.MarshallException:(1)Missing end tag for Body or Envelope" during the development of my WS app for J2ME (JSR 172).
    It is correct that is the empty tag <soapenv:Header /> causing this error.
    To fix this error, it is necessary to stop the server to generate this empty header in the response stream.
    I have fixed this error for Axis2: unfortunaly it is necessary to modify a class in Axiom library. This library is used in Axis2 to produce the SOAP response, you can download the source code at http://ws.apache.org/commons/axiom/source-repository.html.
    Here the class to modify:
    axiom\modules\axiom-impl\src\main\java\org\apache\axiom\soap\impl\llom\soap11\SOAP11Factory.java
    by commenting the line 273 in the method called getDefaultEnvelope() to prevent the empty header insertion in SOAP response:
    public SOAPEnvelope getDefaultEnvelope() throws SOAPProcessingException {
            OMNamespace ns =
                    new OMNamespaceImpl(
                            SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI,
                            SOAP11Constants.SOAP_DEFAULT_NAMESPACE_PREFIX);
            SOAPEnvelopeImpl env = new SOAPEnvelopeImpl(ns, this);
            //createSOAPHeader(env); the line to be commented
            createSOAPBody(env);
            return env;
        }Finally you have to recompile Axiom using Maven to obtain the fixed package axiom-impl.jar and to replace this package on the lib repository of your Axis2 server.
    A little tricky to fix this bug but now my app runs perfectly ;)
    Enjoy!
    Romain Pellerin
    http://www.gasp-mobilegaming.org

  • NetBeans problem: Issue with servlets and Chinese character encoding

    Java Version: JDK1.5.0_01, JRE1.5.0_01 (International version)
    Netbeans Version: Netbeans IDE 4.0
    OS: Windows XP Personal Edition
    Dear Sirs,
    First at all thanks for reading this post. I am having the following issue. I am creating an application using html pages and servlets. I am using Chinese and English languages on them (html encoding UTF-8).
    I created a project in Netbeans and added an idex.html screen reporting to a servlet. Both index.html and in the servlet generated html page contains the line:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    Additional, I setup the character code settings in Netbeans:
    (tools-options-Java sources-Expert-default encoding=UTF-8
    When I run the project, index.html displays itself perfectly, with the Chinese characters displayed properly. The problem comes when the html created servlet is displayed, which instead of the Chinese characters some strange characters are displayed (�� instead of Chinese).
    I have tried different encodings from http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html without any luck. I also setup the encoding of the file itself (using right click-properties in the project menu of Netbeans).
    Also, when I am editing the servlet, the characters are displayed properly. I type them directly without any issue, but then the display is wrong at runtime.
    Also, just in case this have something to do with the problem, my PC was bought in US, therefore the default character set is not Chinese. I had to install the Chinese typing stuff later on. But like I said earlier, the html page is displayed properly, so I really think is some problem with Netbeans.
    After a week trying to find a solution, I decided to post it here in the hopes that someone will show me the way of the light.
    Thanks in advance for any ideas or help provided
    Aral.

    Ok, I found out some problems with Netbeans as well.
        public void doGet(HttpServletRequest request,
                          HttpServletResponse response)
            throws IOException, ServletException
            response.setCharacterEncoding("UTF-8");
            request.setCharacterEncoding("UTF-8");
            response.setContentType("text/html");
            PrintWriter out = response.getWriter();
            byte[] st = {-25,-75,-124,-27,-100,-106,-17,-68,-102,-27,-80,-113,-27,-72,-125,-26,-118,-75,-26,-105,-91,-27,-82,-93};
            out.println("this works: ");
            out.println(new String(st,"UTF-8"));
            out.println("<br>");
            out.println("this doesn't: ");
            out.println("some chinese copied from the Internet<br>");Right click the .java file and choose properties -> encoding UTF-8
    Then I make a copy of the .java file, rename it to html and open it with IE sure enough
    the Chinise is allready unreadable (not it's still readable in the IDE);
    When I compile the file with F9 I get the following error:
    whatever.java:101: warning: unmappable character for encoding Cp1252
    Tried to set the encoding to UNICODE but then the file doesn't compile.
    I gues you have to download the Japanese version for it to work correctly.

  • Netbeans Issue: Servlet do not display Chinese UTF-8 properly

    Netbeans Issue: Servlet do not display Chinese UTF-8 properly
    Java Version: JDK1.5.0_01, JRE1.5.0_01 (International version)
    Netbeans Version: Netbeans IDE 4.0
    OS: Windows XP Personal Edition
    Dear Sirs,
    First at all thanks for reading this post. I am having the following issue. I am creating an application using html pages and servlets. I am using Chinese and English languages on them (html encoding UTF-8).
    I created a project in Netbeans and added an idex.html screen reporting to a servlet. Both index.html and in the servlet generated html page contains the line:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    Additional, I setup the character code settings in Netbeans:
    (tools-options-Java sources-Expert-default encoding=UTF-8
    When I run the project, index.html displays itself perfectly, with the Chinese characters displayed properly. The problem comes when the html created servlet is displayed, which instead of the Chinese characters some strange characters are displayed (�� instead of Chinese).
    I have tried different encodings from http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html without any luck. I also setup the encoding of the file itself (using right click-properties in the project menu of Netbeans).
    Also, when I am editing the servlet, the characters are displayed properly. I type them directly without any issue, but then the display is wrong at runtime.
    Also, just in case this have something to do with the problem, my PC was bought in US, therefore the default character set is not Chinese. I had to install the Chinese typing stuff later on. But like I said earlier, the html page is displayed properly, so I really think is some problem with Netbeans.
    After a week trying to find a solution, I decided to post it here in the hopes that someone will show me the way of the light.
    Thanks in advance for any ideas or help provided
    Aral.

    Hi, thanks for your help. However I think the problem his more complex than it seems. Here is my doPost method (the important parts anyway):
    response.setCharacterEncoding("UTF-8"); //Not necessary because the next line should take care of it, but anyways...
    response.setContentType("text/html; charset=UTF-8; pageEncoding=UTF-8");
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<head>");
    out.println("<meta http-equiv='Content-Language' content='en-us'>");
    out.println("<meta http-equiv='Content-Type' content='text/html; charset=utf-8; pageEncoding=utf-8'>"); //Again not necessary line, but anyways
    out.println("<title>Servlet</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("this is a test &#20320;&#22909; this is a test");
    out.println("</body>");
    out.println("</html>");
    out.close();
    This servlet is called from a html file. Also, when I load this in the browser, I right click on the screen and I can see that UTF-8 is setup allright. Doing some detective job I found that:
    - If the editor displays the characters perfectly and...
    - Other html pages (no servlets) in the same application can display chinese characters well and...
    - I have configured the encoding as UTF-8 in the servlet properties and in general properties and...
    - The file "web.xml" contains the encoding UTF-8 in its first line then...
    ...my only guess is that something goes wrong during the building of the project itself (ant?). Unfortunately I have no idea about configuring ant to that level, but I began to think that the problem may be there, during the compilation...
    Any ideas?
    Once more, thanks for any help or advice provided.
    Aral.

  • I can't install sailfin SIP Servlet in Netbeans.

    I downloaded sailfin SIP .jar and extract jar file. I go to Plug in > Available Plugin and click Add plungin button by installing them from the lib/tools/netbeans subdirectory of a SailFin. Netbeans show SIP plungin for install. but I can install all of SIP plungin except SIP Project. When I select SIP Project and install it show error can't install. So I'm not install SIP Project but when I create new project I can't find SIP catagory. please help me. How to install SIP servlet in Netbeans6.9 .
    Edited by: user12864851 on 23 มี.ค. 2554, 1:27 น.

    What exactly happens when you attempt to create a backup?

  • How to compile a java servlet in netbeans

    heyall, just placed the following java code in my src folder in my web app folder in netbeans, anyone tell me how to compile this now? it asks me for a main but not sure exactly what to put
    package org.mypackage.chapter1;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ServletOne extends HttpServlet {
      /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
       * @param request servlet request
       * @param response servlet response
      protected void processRequest(HttpServletRequest request, HttpServletResponse response)
      throws ServletException, IOException {
        response.setContentType("text/html;charset=UTF-8");
        PrintWriter out = response.getWriter();
        /* TODO output your page here */
            out.println("<html>");
            out.println("<head>");
            out.println("<title>Servlet ServletOne</title>");
            out.println("</head>");
            out.println("<body>");
            out.println("<h1>Servlet ServletOne at " + request.getContextPath () + "</h1>");
            out.println("Date is: "+ new java.util.Date());
            out.println("</body>");
            out.println("</html>");
        out.close();
      // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
      /** Handles the HTTP <code>GET</code> method.
       * @param request servlet request
       * @param response servlet response
      protected void doGet(HttpServletRequest request, HttpServletResponse response)
      throws ServletException, IOException {
        processRequest(request, response);
      /** Handles the HTTP <code>POST</code> method.
       * @param request servlet request
       * @param response servlet response
      protected void doPost(HttpServletRequest request, HttpServletResponse response)
      throws ServletException, IOException {
        processRequest(request, response);
      /** Returns a short description of the servlet.
      public String getServletInfo() {
        return "Short description";
      // </editor-fold>
    }

    heyall, just placed the following java code in my src folder in my web app folder in netbeans, anyone tell me how to compile this now?F9
    it asks me for a main but not sure exactly what to putCompiling source files never 'asks .. for a main'. You must be trying to execute it. You can't do that outside the servlet container it is intended for
    COMPILER ERROR - package javax.servlet.http does not exist
    BUT can't even get this far yetSo try compiling it as per your tutorial. Do you understand the difference between 'compile' and 'run'?

  • How can i run servlet in netbeans

    i am new to jsp & servlet. i am using netbeans 6.5 and tocat. i can not understand wehere to save the jsp & servlet
    files.please help me.

    Create a new Project
    > Enter ur project Name
    > By selecting finish u can create a new project only with Servlets & JSP
         > If you want to include Enterprise framework select on you requirement.
    Create a new file
         >Choose the type of file as Servlet
         >then input your servlet name
         >Here you can change Servlet Name and URL-Pattern for your servlet
         >Default is considered as ur servlet file name
    Do stuff in servlet
         >Compile and Run
    Hope these steps are helpful for you

  • Servlet action is not available -- Jboss 4.0.2 and Netbeans 5.5.1

    Hi There
    Before Posting this question I have gone through forums but none of them were satisfactory.
    I am really sorry to use such words.
    Well Here are my sections of struts-config.xml
    <form-beans>
            <form-bean name="logon" type="org.apache.struts.action.DynaActionForm">
              <form-property name="username" type="java.lang.String"/>
              <form-property name="password" type="java.lang.String"/>
            </form-bean>
        </form-beans>
    <action-mappings>
            <action name="logon" path="/logon"
                type="com.SMS.view.logon" scope="request" >
                  <forward name="success.admin" path="/pages/admin.jsp"/>
                  <forward name="success.hod" path="/pages/hod.jsp"/>
                  <forward name="success.hr" path="/pages/hr.jsp"/>
                  <forward name="sucess.admission" path="/pages/admission/jsp"/>
                  <forward name="Fails" path="/pages/welcome.jsp"/>
        </action>
        </action-mappings>
    web.xml
    <servlet>
            <servlet-name>action</servlet-name>
            <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
            <init-param>
                <param-name>config</param-name>
                <param-value>/WEB-INF/struts-config.xml</param-value>
            </init-param>
            <init-param>
                <param-name>debug</param-name>
                <param-value>2</param-value>
            </init-param>
            <init-param>
                <param-name>detail</param-name>
                <param-value>2</param-value>
            </init-param>
            <load-on-startup>1</load-on-startup>
            </servlet>
        <servlet-mapping>
            <servlet-name>action</servlet-name>
            <url-pattern>*.do</url-pattern>
        </servlet-mapping>Now My action servlet that extends action -- logon.java in package com.SMS.view
    public class logon extends Action {
        public ActionForward execute(ActionMapping mapping, ActionForm form,
                                     HttpServletRequest request,
                                     HttpServletResponse response) throws IOException,
                                                                          ServletException {
                  String uid=(String)((DynaActionForm)form).get("username");
            String pass=(String)((DynaActionForm)form).get("password");
            CheckUser chk=new CheckUser();
            LoginType lgs=chk.getValidUser(uid, pass);
               if(lgs.isIsValid()&& lgs.getType().equals("admin"))
                      return mapping.findForward("success.admin");
            else if (lgs.isIsValid()&& lgs.getType().equals("hod"))
                return mapping.findForward("success.hod");
            else if (lgs.isIsValid()&& lgs.getType().equals("hr"))
                return mapping.findForward("success.hr");
            else if (lgs.isIsValid()&& lgs.getType().equals("admission"))
                return mapping.findForward("success.admission");
            else
                 HttpSession ss=request.getSession();
                 ss.setAttribute("loginErrorMsg","Please check username or Password");
                 return mapping.findForward("Fails");
    }Finally my JSP page.
    <html:form action="/logon.do">
                <table cellspacing="2" cellpadding="3" border="2" width="50%"
                       height="48">
                    <tr>
                        <th width="26%">
                            Username
                        </th>
                        <td width="74%">
                            <html:text property="username"/>
                        </td>
                    </tr>
                    <tr>
                        <th width="26%">
                            Password
                        </th>
                        <td width="74%">
                            <html:password property="password"/>
                        </td>
                    </tr>
                    <tr>
                        <th width="26%">
                        </th>
                        <td width="74%">
                            <html:submit/>
                        </td>
                    </tr>
                    <tr>
                        <th width="26%" colspan="2">
             <%
                String loginerrormsg = null;
                loginerrormsg = (String) session.getAttribute("loginErrorMsg");
                if (loginerrormsg != null) {
            %>
            <H4><font face="verdana" color="#ff4200">
                <%= loginerrormsg %>
            </font></H4><p>
            <% 
            %>
                        </th>
                    </tr>
                </table>
            </html:form>Well I think, I have given required info.
    Please let me know the solution so that it can solve others problem too..
    Many Thanks

    Hi there!
    After two weeks of strugle I found the Solution to the problem.
    First of all many thanks to all idots who read this thread & had not replied.
    It looks we do not have efficient JAVA programmers worldwide.
    Well here are few trouble shootings for this problem:
    In order to rectify this problem first of all look at the directory structure of my application:
    (*Please note that I'm using Netbeans 5.5.1. So this is ofcourse for the netbeans. this is the directory structure of war file*)
    SMS(*Application name*)
    |____WEB-INF
    |      |___pages
    |      |     |___admin.jsp
    |      |     |___hod.jsp
    |      |
    |      |___lib(*contains all jar files.*)
    |      |
    |      |___classes
    |            |____com
    |                  |__SMS
    |                     |___view (*package*)
    |                     |      |__logonForm.class(*Form bean*)
    |                     |      |__logon.class(*action class*)
    |                     |
    |                     |___Struts(*package*)
    |                     |
    |                     |___model (*package*)
    |                           |__DBAccess.class
    |                           |__checkUser.class
    |
    |_____ALL XML And tld files._____So if you have a similar structure too then this thing can help you.
    Fist of all here is my Mistake:
    ****** Look at my jsp page coding ***********
    <html:form action="/logon.do" focus="username">I change this to :
    <html:form action="logon.do" focus="username">this solves the problem.
    Explanation is that with "/logon.do" it searches below one directory where the all class files of actions are stored.
    Here are Few more trouble shootings in order to resolve this problem.
    1) Make sure you have placed proper path (relative) for action class in action mapping tag in struts-config.xml
    2) Make sure you have placed proper path (relative) for form bean class in formbean tag in struts-config.xml
    3) Some people also have suggested that you include "*common-collection.jar*" , "*common-dcbp.jar*" etc. files to your application.
    You can try this too.
    4) The only mis-conception is that you have to be very cautious about the paths of resources when you define them.
    Cheers,
    Thanks & Regards
    Ankur-programmer.net

  • Properties file for a servlet at netbeans

    I want to make a servlet to use a properties file. The file name is passed as a initialization parameter. I�m developing with netbeans, where should I put this properties file?
    And if I want to deploy this to an independent tomcat server?
    Thanks in advance,

    It's an arbitrary decision by you where you want to put it. If it contains sensitive data, you should consider putting it outside the web root. (Note that if you do that, JAR/WAR/EAR/ZIP, etc. your application, the properties file won't be implicitly included.)
    This is where the suggestion for JNDI could be useful, because as far as the app is concerned, it doesn't matter where the properties file is physically located.

  • I have a problem compiling servlets bymeans of NetBeans IDE 3.6.

    If I compile a servlet by means of another IDE, they are oK and work well with NetBeans too.
    On the contrary, if I compile it bymeans of Netbeans 3.6, I get a .class which does not work. I
    have realized also that for instance if the .class i get with the other IDE is 1,58 KB, if I use
    NetBeans I get a .class smaller, that is 1,53 Kb.
    Can you help me?
    Thanks
    Eugenia Mariani

    ok
    This is the servlet named Contatore.java
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Contatore extends HttpServlet
    private int conta;
    public void init(ServletConfig config) throws ServletException
    conta = 0;
    public void doGet(HttpServletRequest richiesta, HttpServletResponse risposta)
    throws IOException, ServletException
    conta++;
    risposta.setContentType("text/html");
    PrintWriter out = risposta.getWriter();
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Pagina con contatore</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("Questa pagina e' stata visualizzata");
    out.println("<h1>"+conta+ "</h1> volte.");
    out.println("</body>");
    out.println("</html>");
    out.close();
    Before using the compiler of NetBeans (that is after getting Contatore.class by means of Bluej) when I use Execute I see in Internet Explorer 6.0 with win Xp Pro at the
    http://localhost:8084/esempi/Contatore
    Questa pagina e' stata visualizzata
    1
    volte.
    and Contatore.class is 1,58 KB
    After that I use the compiler of NetBeans when I use Execute here the error from Tomcat 5.0
    I see in Internet Explorer 6.0 with win Xp Pro at the
    http://localhost:8084/esempi/Contatore
    HTTP Status 404 - Servlet Contatore is not available
    type Status report
    message Servlet Contatore is not available
    description The requested resource (Servlet Contatore is not available) is not available.
    Apache Tomcat/5.0.19
    and Contatore.class is 1,53 KB
    I hope to have said everything
    I wait a help, please.
    Thanks

  • Problem in passing  HTML form values to a servlet in NetBean IDE

    hi there,
    When i click the submit button of the HTML File(with two textFields with values) the value received in the corresponding servlet is null , I used the get method to pass value so i was able to see the values in the URL but when i print the value in the Servlet it display null. I have verfied the web.xml to cheak the servlet mapping is right .Servlet mapping are perfect but i am not getting the value in the next page. Kindly give your suggestions.
    Thanks in advace

    Try this in your servlet.
    HttpSession session = request.getSession(true);     
    System.out.println(request.getParameter("xxxxx").toString());
    xxxx is the parameter name..
    Doesn't this work?

  • NetBeans MobilityPack 5 BUG?? how can I send a byte array?

    I�ve created a WebApp and a Simple servlet with one public method.
    public byte[] getStr(byte[] b) {       
    String s = "A string";
    return s.getBytes();
    Then I've used "Mobile To Web App" wizard to generate stubs to that getStr method. And when I�ve tried to call that getStr method:
    byte[] aByte = "st".getBytes();
    byte[] b = client.getStr(aByte);
    I've got an error at Server in Utility.java in generated ReadArray method.
    * Reads an array from the given data source and returns it.
    *@param source The source from which the data is extracted.
    *@return The array from the data source
    *@exception IOException If an error occured while reading the data.
    public static Object readArray(DataInput in) throws IOException {
    short type = in.readShort();
    int length = in.readInt();
    if (length == -1) {
    return null;
    } else {
    switch (type) {
    case BYTE_TYPE: {
    byte[] data = new byte[length];
    in.readFully(data);
    return data;
    default: {
    throw new IllegalArgumentException("Unsupported return type (" + type + ")");
    At this line "in.readFully(data);" I�ve got an EOFException.
    The the aByte = "st".getBytes(); was 2bytes long and at the server "int length = in.readInt();" it was 363273. Why?
    All code was generated by NetBeans Mobility pack 5 it's not mine so its a bug?
    How can I fix this?

    I found that bug. I've described it here
    http://www.netbeans.org/issues/show_bug.cgi?id=74109
    There's a solution how to fix the generated code.

  • How to deploy web app from PC to Linux with Netbeans ?

    I am developing a web app in Netbeans 6.0 on my PC, using the Tomcat comes with the IDE, now I need to deploy it to a Linux server running Tomcat, can I do it from inside the IDE ? Can it copy all the servlets and other java classes to the Linux for me ? If so, what info does it need from me ? Login, password ... ?
    If not, how can I do it by hand ?
    Frank

    RTFM
    You need to consult the NetBeans Help to see if it will export a WAR/EAR. Regarding getting it over to Linux, there are some issues there. But if you have visibility to the Linux deploy directory from your PC then it's possible. It's certainly possible to do ALL of this using Apache Ant.

  • How do I use the JSDK to build a servlet?

    I've just about given up on this. I've now spent all day downloading files and programs and viewing web pages for help. All I want to do is compile a simple servlet. My previous JDK couldn't do this.
    Can anybody tell me (in plain english) what software I need and how to set it up so I can build a servlet?

    Download a proper IDE like Netbeans (www.netbeans.org). You get an integrated Tomcat servlet engine with it which will be good enough to start with.
    Silvio Bierman

  • 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

Maybe you are looking for

  • Widescreen Export to Compressor - HELP!!

    I've read a few threads about this, but am still having problems getting this to work. I've shot an entire movie in 16x9 format on my DVCAM (Sony PDX10). I imported into FCP 4.5 and set the sequence to Anamorphic. All looks fine on the viewer. Howeve

  • Beasvc error

    Hi, We installed the weblogic as windows service on win 2000 server. Its starting ok but every time when I restart the server I do see the folowing error on the server's event viewer. I want to know whats causing this error . Error: SetServiceStatus(

  • Cannot Open Previous Document Versions SharePoint 2013

    Having a issue where opening a previous document version is not working in SharePoint 2013. Have tried: Multiple document librarys/documents (new ones too) Multiple Site Collections Multiple Web Applications Multiple User Accounts Multiple Computers

  • 1st gen ipod touch upgrade

    What does error 8288 mean when trying to download update 3.1 for my ipod?  I paid but can't download

  • To maintain the multi currencies in vendor master

    How can we maintain the multi curiencs in vendor master