Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E38DFD66B for ; Wed, 4 Jul 2012 05:38:34 +0000 (UTC) Received: (qmail 30028 invoked by uid 500); 4 Jul 2012 05:38:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 29665 invoked by uid 500); 4 Jul 2012 05:38:31 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 29644 invoked by uid 99); 4 Jul 2012 05:38:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2012 05:38:30 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=DEAR_SOMETHING,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of supunm@wso2.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-ob0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2012 05:38:22 +0000 Received: by obbta14 with SMTP id ta14so15314159obb.18 for ; Tue, 03 Jul 2012 22:38:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=dsNngXhpXqurdqxKQ9xt7e3fgIak5xwDLVBQO7uDbGQ=; b=Epu1Yqd/G7b8J4r4h299uIExgz4ZgpZqMlZMhG6MVttUXkJsclzcTCKzWhbjFsMZVg B11Dz1bqHsKtch3SHcRsZEcJlI5pbl8m5iMzwmxzeONgJzqqzC5EsLnihDjcGx34IJwr QEG64JxtSWS2+yuZPL3CIKGaQyZvzfHhUm9IvJHhKYRzlwR3VnR6l63XQjw5vSmcIBVK vnuaAsL6LfE+P482Nxu/10h/zldPMTUT47Z38wO6B9CFifHu2Gr/qMUMRacLhFOVigg2 BX8sTlicF801OYicXZZ+j4d6lMPFkqRxDXToQbknmK+gy9zd9urg1yw9S3gbv0MmbrgV PamA== Received: by 10.182.43.71 with SMTP id u7mr3797194obl.13.1341380280739; Tue, 03 Jul 2012 22:38:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.73.232 with HTTP; Tue, 3 Jul 2012 22:37:40 -0700 (PDT) In-Reply-To: References: From: Supun Malinga Date: Wed, 4 Jul 2012 11:07:40 +0530 Message-ID: Subject: Re: Error To: Tomcat Users List Content-Type: multipart/alternative; boundary=f46d044797bb2467f404c3fa6fdd X-Gm-Message-State: ALoCoQny8ESNW6pFo9+VGNl9MuY+PfvAkwMAIzcXChxAJWJYLAgKS50J1/Sg4j9l8oe+U3xfXoVH --f46d044797bb2467f404c3fa6fdd Content-Type: text/plain; charset=ISO-8859-1 Hi, Following would be helpful. http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Configuring_Manager_Application_Access thanks, On Wed, Jul 4, 2012 at 11:01 AM, she wrote: > Dear sir, > > I am working with Netbeans 6.7.1 + tomcat 6.0.18 having > 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. > > > init: > deps-module-jar: > deps-ear-jar: > deps-jar: > library-inclusion-in-archive: > library-inclusion-in-manifest: > compile: > compile-jsps: > 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.api.Deployment.deploy(Deployment > .java:224) > at > > org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment > .java:132) > at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:103) > at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) > at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav > a:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > 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:1337) > at org.apache.tools.ant.Project.executeTarget(Project.java:1306) > at > > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java: > 41) > at org.apache.tools.ant.Project.executeTargets(Project.java:1189) > at > org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:278) > at > org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:497) > at > org.netbeans.core.execution.RunClassThread.run(RunClassThread.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.list(TomcatManagerImpl.java:394) > at > org.netbeans.modules.tomcat5.TomcatManager.modules(TomcatManager.java:622) > at > > org.netbeans.modules.tomcat5.TomcatManager.getAvailableModules(TomcatManager.jav > a:433) > at > > org.netbeans.modules.j2ee.deployment.impl.TargetServer.getAvailableTMIDsMap(Targ > etServer.java:393) > at > > org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedRef > erences(TargetServer.java:349) > at > > org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedRef > erences(TargetServer.java:298) > at > > org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedRef > erences(TargetServer.java:295) > at > > org.netbeans.modules.j2ee.deployment.impl.TargetServer.processLastTargetModules( > TargetServer.java:417) > at > > org.netbeans.modules.j2ee.deployment.impl.TargetServer.init(TargetServer.java:16 > 3) > at > > org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java: > 556) > at > > org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment > .java:189) > ... 17 more > Caused by: org.netbeans.modules.tomcat5.AuthorizationException > at > > org.netbeans.modules.tomcat5.TomcatManagerImpl.list(TomcatManagerImpl.java:395) > ... 27 more > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > -- Supun Malinga, --f46d044797bb2467f404c3fa6fdd--