Results 1 to 4 of 4
  1. #1
    Akora is offline Member
    Join Date
    Jan 2009
    Posts
    3
    Rep Power
    0

    Default Need Help in Netbeans please

    Hi all;

    Please i wanna help in Netbeans 6.1
    When i start running any project...there is the following error:

    Deployment error:
    Access to Tomcat server has not been authorized. Set the correct username and password with the "manager" role in the Tomcat customizer in the Server Manager.
    See the server log for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.ap i.Deployment.deploy(Deployment.java:166)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deplo y.java:104)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:288)
    at sun.reflect.GeneratedMethodAccessor48.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:35 7)
    at org.apache.tools.ant.Target.performTasks(Target.ja va: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.execut eTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Projec t.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(Run ClassThread.java:151)
    Caused by: java.lang.IllegalStateException: Access to Tomcat server has not been authorized. Set the correct username and password with the "manager" role in the Tomcat customizer in the Server Manager.
    at org.netbeans.modules.tomcat5.TomcatManagerImpl.lis t(TomcatManagerImpl.java:389)
    at org.netbeans.modules.tomcat5.TomcatManager.modules (TomcatManager.java:623)
    at org.netbeans.modules.tomcat5.TomcatManager.getAvai lableModules(TomcatManager.java:434)
    at org.netbeans.modules.j2ee.deployment.impl.TargetSe rver.getAvailableTMIDsMap(TargetServer.java:331)
    at org.netbeans.modules.j2ee.deployment.impl.TargetSe rver.processLastTargetModules(TargetServer.java:36 9)
    at org.netbeans.modules.j2ee.deployment.impl.TargetSe rver.init(TargetServer.java:143)
    at org.netbeans.modules.j2ee.deployment.impl.TargetSe rver.deploy(TargetServer.java:479)
    at org.netbeans.modules.j2ee.deployment.devmodules.ap i.Deployment.deploy(Deployment.java:151)
    ... 16 more
    Caused by: org.netbeans.modules.tomcat5.AuthorizationExceptio n
    at org.netbeans.modules.tomcat5.TomcatManagerImpl.lis t(TomcatManagerImpl.java:390)
    ... 23 more
    BUILD FAILED (total time: 8 seconds)

    Please help me ASAP...Thanks alot

  2. #2
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    450
    Rep Power
    6

    Default hello

    akora
    i couldn't understand what type of project u r doing in NetBeans
    but i belive u r doing web application.
    if so ,you have a problem in server setting.
    to avoid this ,copy the files and paste into server folder and run instead of using NetBeans

  3. #3
    shan_rajuhari is offline Member
    Join Date
    Jan 2009
    Posts
    1
    Rep Power
    0

    Exclamation Hai

    Hi ...

    I am new to spring ..
    can any tell me how to configure and give a sample application..

    please help ASAP

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Shan, you shouldn't step on someone else's thread. If you have a question of your own, the polite thing to do is to start your own thread.

Similar Threads

  1. can't run app outside netbeans
    By yuriythebest in forum New To Java
    Replies: 5
    Last Post: 12-14-2008, 08:02 PM
  2. NetBeans IDE 6.5 - The only IDE you need
    By Eranga in forum Reviews / Advertising
    Replies: 2
    Last Post: 11-26-2008, 10:37 AM
  3. NetBeans 5.5
    By Ry4n in forum NetBeans
    Replies: 3
    Last Post: 01-26-2008, 07:09 AM
  4. NetBeans 5.5.1 Help.
    By padutch2 in forum New To Java
    Replies: 6
    Last Post: 12-03-2007, 04:01 AM
  5. netbeans 64 bit
    By caspermel in forum NetBeans
    Replies: 1
    Last Post: 06-26-2007, 11:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •