Netbeans 5.0 bundled with tomcat

I cant run a simple web app with tomcat because it wants a username and password. But i've tried changing the tomcat-user.xml file to "manager" role. I'm lost.
Thanks

look in this directory:
C:\Documents and Settings\Owner\.netbeans\5.5beta2\config\J2EE\InstalledServers
** Owner will be your windows user name
find a file named .nbattrs
Inside that file may have your default admin username and password.
It is an xml file and look for the section like the following:
    <fileobject name="Tomcat_instance">
        <attr name="admin_port" stringvalue="8025"/>
        <attr name="debug_type" stringvalue="SEL_debuggingType_shared"/>
        <attr name="displayName" stringvalue="Bundled Tomcat (5.5.17)"/>
        <attr name="httpportnumber" stringvalue="8084"/>
        <attr name="instance_id" stringvalue="tomcat55"/>
        <attr name="password" stringvalue="H56E5wNS"/>
        <attr name="timestamp" stringvalue="1153304925000"/>
        <attr name="url" stringvalue="tomcat55:home=$bundled_home:base=$bundled_base"/>
       <attr name="username" stringvalue="ide"/>
    </fileobject>If you still have problems, I suggest you subscribe to the nb-users mailing list and ask there.
http://www.netbeans.org/community/lists/top.html
JJ

Similar Messages

  • Problem on NetBeans 6.0.1 with Tomcat 6.0.14

    I had to uninstall and reinstall netbeans because at some point I always appeared a message in which I was reported that tomcat 8025 had already started.
    I closed and reopened the environment without result.
    In Server uninstall apache and try to put a standalone vers 5.5.25.
    It seems ok but does not appear in the list of available servers for my projects.
    If i tried to add tomcat 6.0.14 it's appear on the list but i obtain always the error:
    Starting of Tomcat failed, the server port 8025 is already in use.
    Deployment error:
    Starting of Tomcat failed, the server port 8025 is already in use.
    See the server log for details.
            at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163)
            at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
            at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
            at org.apache.tools.ant.Task.perform(Task.java:348)
            at org.apache.tools.ant.Target.execute(Target.java:357)
            at org.apache.tools.ant.Target.performTasks(Target.java:385)
            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
            at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
            at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
            at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
    Caused by: org.netbeans.modules.j2ee.deployment.impl.ServerException: Starting of Tomcat failed, the server port 8025 is already in use.
            at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(ServerInstance.java:1270)
            at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1224)
            at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1035)
            at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:912)
            at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:417)
            at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:140)
            ... 16 more
    BUILD FAILED (total time: 0 seconds)For the moment i have resolved by change the port from 8025 to 8026 but i don't like this solution. :-(
    While the problem on tomcat 5.5.25 that it's not appear on the list of servers for my projects remain.

    I'm resolved the problem on server list, simply specifying a project as j2ee 5 can not appear tomcat 5.5 is necessary to specify j2ee 1.4.
    While for the problem on port just in use I have noticed that sometimes the server remains it isn't close, even exiting from NetBeans, for the moment i use the workaround of closing the process tomcat of linux.
    I hope that on netbeans 6.1 the problem is solved (if it had solved the problem permgen would be even more pleased, but that apparently is a problem of java and then not entered the environment from development).

  • HTTP2302 error  with tomcat and linux environment

    We are using Sun Java(TM) System Web Server 7.0 with Tomcat 6.0.14 in Linux environment. We are frequently facing "Service Unavailable error" in the frontend . while verifying the logs we found the details as below :
    could you guinde what could be issue here ?
    In Webserver log the following error thrown many times
    func_exec reports: HTTP2302: Function jk_service aborted the request without setting the status code
    We are using the tomcat connector nsapi_redirector-1.2.26-sjsws6.1sp11.so in our environment
    nsapi.log
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [debug] jk_open_socket::jk_connect.c (448): socket TCP_NODELAY set to On
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [debug] jk_open_socket::jk_connect.c (548): trying to connect socket 30 to 160.254.92.190:8051
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [info] jk_open_socket::jk_connect.c (566): connect to 160.254.92.190:8051 failed (errno=111)
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [info] ajp_connect_to_endpoint::jk_ajp_common.c (869): Failed opening socket to (160.254.92.190:8051) (errno=111)
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [error] ajp_send_request::jk_ajp_common.c (1359): (ajp13) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111)
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [info] ajp_service::jk_ajp_common.c (2186): (ajp13) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [error] ajp_service::jk_ajp_common.c (2204): (ajp13) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [error] jk_service::jk_nsapi_plugin.c (398): service() failed with http error 503
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [debug] ajp_reset_endpoint::jk_ajp_common.c (691): (ajp13) resetting endpoint with sd = 4294967295 (socket shutdown)
    [Thu Nov 19 06:22:11.602 2009] [20843:4074314640] [debug] ajp_done::jk_ajp_common.c (2522): recycling connection pool slot=0 for worker ajp13
    h1. Obj.conf
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    <If $uri =~ '^/$'>
    NameTrans fn="redirect" from="/" url="http://wikitest.pershing.com/confluence/" code="301"
    </If>
    NameTrans fn="assign-name" from="/confluence/*" name="servlet"
    PathCheck fn="uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    AddLog fn="flex-log"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi"
    </Object>
    <Object name="send-precompressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>
    <Object name="servlet">
    ObjectType fn="force-type" type="text/html"
    Service fn="jk_service" worker="ajp13"
    </Object>

    Hi, The reason tomcat had to be used is that the software is bundled with tomcat. Hence we are in the following configuration:
    -Sun Web Server 7.0 update 5
    -Tomcat 6, Using JRE1.6
    -The server runs Linux.
    -As for the tomcat web server plugin, the 32-bit tomcat connector is downloaded from http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/solaris/jk-1.2.26/sparc/
    With this configuration. seems when we refresh a page quickly, we get "service unavailable error". But if we only put web contents, the issue does not exist. Looks like the issue resides in the plugin....
    Any help is greatly appreciated

  • Problems with tomcat 4.0.1

    hello,
    i�ve written some servlets using forte 3.0 with tomcat 3.2.
    everything works fine as long as I don�t run the servlets with tomcat 4.0.1.
    i use the request dispatcher / forward method - which dosn�t work reliable.
    it�s a list on which the user has to select one topic. the strange thing about it is that it works when you choose "back" after the error (dispatcher = null) has occured and select a different topic on that list - only the first choice makes en error.
    running on tomcat 3.2 with forte it works fine. but i get the following message in the tomcat output window:
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key dispatcher.forwardException
    and
    2002-01-13 11:40:05 - Ctx( /lg002234 ): Exception in: R( /lg002234 + /eingaben + null) - javax.servlet.ServletException: cannot find message associated with key : dispatcher.forwardException
    can somebody help?
    is use the dispatcher three times in that post-method - ist that a problem?

    ...sorry
    it�s not a problem with the requestdispatcher,
    problem is, that with tomcat 4.0.1 a parameter
    sometimes gets lost - but not with tomcat 3.2
    critical code is:
    String tierartAuswahl = request.getParameter("tierartAuswahl");
    is that a known bug of tomcat 4.0.1??

  • Netbeans 3.6 Bundle Installation

    Hi,
    When I tried installing this new NetBeans 3.6 bundle having Sun One App Server 8.0, it failed because it needed SUPERUSER or user with Admin rights.
    When I had installed J2EE RI 1.4, it didn't give me this problem.
    Is there a way....
    Thanks in advance

    Hi,
    This is a limitation of the co-bundle installer: you need to have admin privileges on Windows.
    I hope you can get these privileges for the installation time only.
    After installation is done, you can use the co-bundle as a regular user.
    Ludo

  • Performance degradation of Weblogic 5.1 sp 6 bundled with Peoplesoft 8.1.2:

    Recenly we have upgraded from Peoplesoft 7 to Peoplesoft 8.1.2
    Peoplesoft 8.1.2 bundled with Peopletools(Web based front end ) for the first
    time and Weblogic 5.1 sp6.
    There is performance degradation of the weblogic 5.1 sp 6 (on Windows 2000 ) when
    the no of users increases to 80. The Weblogic is becoming 100% CPU bound. Besides
    the weblogic wont even shutdown completely when trying to shutdown.
    Peoplesoft customer support advised to upgrade to Weblogic 5.1 sp 9 but sp 9 wont
    support 128 bit encription which Peoplesoft 8.1.2 application need. Peoplesoft
    8.1.3 will be supporting 128 bit encription after some 3 months. We have to get
    along with the above mentioned configuration (Peoplesoft 8.1.2 with Weblogic 5.1
    sp 9) in the mean time.
    Any of you had such an experience ? Please let me know if there is a solution
    or workaround.
    Thanks in advance.
    Mani

    There shouldn't be any reason that 5.1 SP9 wouldn't support 128 bit
    encryption. If that's the issue, you should post in the security
    newsgroup or contact [email protected]
    -- Rob
    Mani Ayyalas wrote:
    Recenly we have upgraded from Peoplesoft 7 to Peoplesoft 8.1.2
    Peoplesoft 8.1.2 bundled with Peopletools(Web based front end ) for the first
    time and Weblogic 5.1 sp6.
    There is performance degradation of the weblogic 5.1 sp 6 (on Windows 2000 ) when
    the no of users increases to 80. The Weblogic is becoming 100% CPU bound. Besides
    the weblogic wont even shutdown completely when trying to shutdown.
    Peoplesoft customer support advised to upgrade to Weblogic 5.1 sp 9 but sp 9 wont
    support 128 bit encription which Peoplesoft 8.1.2 application need. Peoplesoft
    8.1.3 will be supporting 128 bit encription after some 3 months. We have to get
    along with the above mentioned configuration (Peoplesoft 8.1.2 with Weblogic 5.1
    sp 9) in the mean time.
    Any of you had such an experience ? Please let me know if there is a solution
    or workaround.
    Thanks in advance.
    Mani

  • Does Media Encoder CC come bundled with After Effects CC?

    Hi All
    I need to buy Adobe Media Encoder CC but it looks like it only comes bundled with Premiere Pro and I'd prefer After Effects, Both CS6 and CS5 came with Media Encoder, I can't find any information that supports the CC versions, please could someone point me in the right direction?

    Yes.

  • Tomcat vs Apache with Tomcat connectors (mod/jk)

    Is there any advantage (security, performance etc.) of running a Java web application on Apache HTTP Server with Tomcat Connectors (mod/jk) rather than directly running it on Tomcat.

    This question is already answered, see here:
    http://tomcat.apache.org/faq/connectors.html
    Also for Tomcat/ Apache related questions, post them to the relevant mailing lists.

  • Does Adobe Photoshop Elements come bundled with Adobe Bridge?  Or is Bridge a separate purchase?

    Does Adobe Photoshop Elements come bundled with Adobe Bridge?  Or is Bridge a separate purchase?

    Apparently there was a change in Elements 9.
    From the PsE forum:
    Bridge is no longer included with PSE. If you buy PSE anywhere except the Mac App Store you get Organizer instead. The app store version doesn't have organizer.
    and from a link therein:
    A lot of Mac folks are unhappy about Adobe’s decision to include Organizer with Elements 9 in place of Adobe Bridge, which came with previous Mac versions. (The Organizer used to be just for Windows.) If you have an older version of PSE that included Bridge, you can still use it with Elements 9…

  • Trying to Add Adobe Media Encoder in Creative cloud licenses but its not coming up, is media encoder bundled with another adobe product?

    Trying to Add Adobe Media Encoder in Creative cloud licenses but its not coming up, is media encoder bundled with another adobe product?

    You MUST have a 64bit computer... what is your computer?
    Adobe's MINimums http://helpx.adobe.com/premiere-pro/system-requirements.html
    -Programs won't display if they will not install on your computer
    -http://helpx.adobe.com/creative-cloud/kb/all-apps-displayed-aam.html

  • Can I legally remove packages from a JRE bundled with my Application

    Can anyone help me get clarification on whether or not I can remove packages from a JRE that I am bundling with my Java Desktop Application. The full JRE is 90+ megs, my application does not require all of that. It was my understanding that I could modify the JRE as long I left the copyright notifications in place and did not try to represent the JRE as something I created. The license agreement is vague, at best. I was looking for direction or legal statement that allows me to trim out unnecessary packages from a JRE that is bundled with my application.
    Thank you in advance for any input.

    The license agreement is vague, at best.http://java.sun.com/j2se/1.5.0/jre/README
    Java(TM) 2 Platform Standard Edition
    Runtime Environment
    Version 5.0
    =======================================================================
    Redistribution of the J2SE Runtime Environment
    =======================================================================
    NOTE - The license for this software does not allow the
    redistribution of beta and other pre-release versions.
    Subject to the terms and conditions of the Software License
    Agreement and the obligations, restrictions, and exceptions set
    forth below, You may reproduce and distribute the Software (and
    also portions of Software identified below as Redistributable),
    provided that:
    (a) you distribute the Software complete and unmodified and only
    bundled as part of Your applets and applications ("Programs"),

  • I am not able to update iMovie to my macbook pro late 2011 which came bundled with it.

    It shows that imovie update is available in the update tab, but it doesn't show in the purchased tab. iLife '11 came bundled with my Macbook Pro but when I try to update iMovie, it tells me to sign in with the apple id that I purchased it with. I have no other apple ID. Sometimes it tells me that I had to have purchased it from the app store first before I can update it. What's the solution to this problem, please. iPhoto updated with no problem. There was no update for Garage Band so I don't know if that will be a problem when an update is available. Thanks.
    Message was edited by: tommylane

    Thanks for the reply but that didn't work for me. The trouble was imovie wasn't showing up in my purchases even though it was saying I needed an update because it was installed on my computer. I finally contacted the itunes app store. I was told that the imovie app shows up as a purchase for my apple ID. I had to delete it from my applications folder, then repurchase it. That worked. Apple refunded the money to my card once I provided the order number to them. All is well, now.

  • I Need To Know All Programs/Plug-ins/Files Bundled With CS2 Design Standard Suite

    I am the Unit Software License Manager for my office at a government installation. I am in charge of accounting for all licensed software (both the physical CDs and the licenses/serial #s/Registration #s) being used on the computers in my office. Currently, I have a master list that shows all software used, including the main programs, plug-ins, add-ons, settings, toolkits, servers, drivers, etc., on all our stations. I need to break the list down to show which of these programs, etc., were bundled to the CS2 Design Standard suite specifically. Does anyone have any knowledge of the complete list that was bundled with CS2 Design Standard? Thanks.

    Mike

  • Problem with Tomcat 5.0

    Hi there,
    I have a .java file inside \WEB-INF\classes\ directory. This .java file has a "public static void main" method that calls al the other methods in the class.
    I want to know if its possible for me to create an JSP file to call this .java file. If so how can i do it?
    Thanks!!

    NerdVix wrote:
    Hi there,
    I have a .java file inside \WEB-INF\classes\ directory. Wrong. .java files do you no good in that directory. Only .class files belong there.
    This .java file has a "public static void main" method that calls al the other methods in the class.Fine - for testing on a command line.
    I want to know if its possible for me to create an JSP file to call this .java file. If so how can i do it?What part don't you understand? Writing JSPs? Calling methods? What is a person so ignorant doing with Tomcat anyway?
    It's possible to call main, but not a good idea.
    %

  • Compiling jsp with tomcat 4

    HTTP 500 server error as follows:
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    An error occurred at line: 2 in the jsp file: /listStore.jsp
    *line#2 is the usebean statement in the jsp...
    NOTE: new machine, new configuration... this same servelt/jsp/bean work great on another machine with tomcat 3...
    so this will have something to do with tomcat configuation... believe that the configuration is set to not compile with deprecation.. would like to know where to change that...

    I guess the problem comes from jdk 1.4 ...deprecation of sun.tools.javac.Main prevents compilation in jasper...

Maybe you are looking for

  • When I try to open a .pdf file it asks me to save the file instead of displaying it.

    When I try to open a .pdf file it asks me to save the file instead of displaying it?

  • If GR based IV checked for items without excise duty, MIRO posting hanging.

    Iam working in a client location, one of client business scenario is MIRO posting without excise (Only VAT or CST). for this case i have not maintained vendor excise details in J1ID. When a MIRO with reference to PO for an item ticked for "GR based I

  • Rational Rose 4 and '98 users

    If you are using Rational with Forte would you please contact me. Thanks -jim Jim Rice mailto:[email protected] Forte Software, Inc. http://www.forte.com National Tech Services Work#: 301-721-1910 To unsubscribe, email '[email protected]' with 'unsub

  • How to install JMF?

    I downloaded jmf version2.1.1e but I cannot install and messagebox show that "The system file is not suitable for running MS-DOS and Microsofts applications."Please help me

  • Sequencer machine shutting down after revert

    I am running a sequencer (W7) on Hyper-V. Suddenly when I revert this VM after packaging it shutting down. Then when start I get standard Windows was not properly shutdown. Takes long to boot. But works Ok then... I guess there is no relation to the