tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Tayek <rta...@attbi.com>
Subject 401 from appdev/sample when doing ant install
Date Wed, 26 Feb 2003 12:30:09 GMT
hi, trying to make the sample at 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/sample/ using the 
directions at 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/processes.html. (but 
i am not using cvs).

i get a build failed (see below for complete script with debug on).

BUILD FAILED
file:/home/ray/ohtmer/build.xml:74: java.io.IOException: Server returned 
HTTP response code: 401 for URL: 
http://localhost:8080/manager/install?path=%2Fmyapp&war=file%3A%2F%2F%2Fhome%2Fray%2Fohtmer%2Fbuild
         at 
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:278) 
...

the username and password are correct as i can login to the manager from 
netscape.

btw, the doc seems to be off a bit as the users are in file 
conf/tomcat-users.xml (not server.xml) unless i am real confused.

i found the appdev sample and ran it changing only the path to catalina and 
copied my properties file over. got the same result:

file:/home/src/src2/java/jakarta-tomcat-4.1.18-LE-jdk14/webapps/tomcat-docs/appdev/sample/build.xml:364:

java.io.IOException: Server returned HTTP response code: 401 for URL: 
http://localhost:8080/manager/install?path=%2Fmyapp&war=file%3A%2F%2F%2Fhome%2Fsrc%2Fsrc2%2Fjava%2Fjakarta-tomcat-4.1.18-LE-jdk14%2Fwebapps%2Ftomcat-docs%2Fappdev%2Fsample%2Fbuild
         at 
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:278)

tomcat is running as root.

anybody got a clue?

thanks

Script started on Wed Feb 26 02:26:44 2003
ray@k6:~/ohtmer$ ant -debug install
Apache Ant version 1.5.1 compiled on October 2 2002
Buildfile: build.xml
Detected Java version: 1.4 in: /home/src/src2/java/j2sdk1.4.1_01/jre
Detected OS: Linux
  +User task: 
propertyfile     org.apache.tools.ant.taskdefs.optional.PropertyFile
  +User task: 
vsscheckin     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
  +User task: sql     org.apache.tools.ant.taskdefs.SQLExec
  +User task: cvspass     org.apache.tools.ant.taskdefs.CVSPass
  +User task: 
p4reopen     org.apache.tools.ant.taskdefs.optional.perforce.P4Reopen
  +User task: csc     org.apache.tools.ant.taskdefs.optional.dotnet.CSharp
  +User task: dirname     org.apache.tools.ant.taskdefs.Dirname
  +User task: wlrun     org.apache.tools.ant.taskdefs.optional.ejb.WLRun
  +User task: 
p4label     org.apache.tools.ant.taskdefs.optional.perforce.P4Label
  +User task: 
p4revert     org.apache.tools.ant.taskdefs.optional.perforce.P4Revert
  +User task: 
replaceregexp     org.apache.tools.ant.taskdefs.optional.ReplaceRegExp
  +User task: get     org.apache.tools.ant.taskdefs.Get
  +User task: jjtree     org.apache.tools.ant.taskdefs.optional.javacc.JJTree
  +User task: sleep     org.apache.tools.ant.taskdefs.Sleep
  +User task: 
jarlib-display 
org.apache.tools.ant.taskdefs.optional.extension.JarLibDisplayTask
  +User task: dependset     org.apache.tools.ant.taskdefs.DependSet
  +User task: zip     org.apache.tools.ant.taskdefs.Zip
  +User task: patch     org.apache.tools.ant.taskdefs.Patch
  +User task: jspc     org.apache.tools.ant.taskdefs.optional.jsp.JspC
  +User task: style     org.apache.tools.ant.taskdefs.XSLTProcess
  +User task: test     org.apache.tools.ant.taskdefs.optional.Test
  +User task: tstamp     org.apache.tools.ant.taskdefs.Tstamp
  +User task: unwar     org.apache.tools.ant.taskdefs.Expand
  +User task: 
vsshistory     org.apache.tools.ant.taskdefs.optional.vss.MSVSSHISTORY
  +User task: icontract     org.apache.tools.ant.taskdefs.optional.IContract
  +User task: 
cvschangelog     org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask
  +User task: 
p4submit     org.apache.tools.ant.taskdefs.optional.perforce.P4Submit
  +User task: 
ccmcheckin     org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckin
  +User task: 
p4change     org.apache.tools.ant.taskdefs.optional.perforce.P4Change
  +User task: bzip2     org.apache.tools.ant.taskdefs.BZip2
  +User task: 
p4delete     org.apache.tools.ant.taskdefs.optional.perforce.P4Delete
  +User task: vssadd     org.apache.tools.ant.taskdefs.optional.vss.MSVSSADD
  +User task: javadoc     org.apache.tools.ant.taskdefs.Javadoc
  +User task: 
translate     org.apache.tools.ant.taskdefs.optional.i18n.Translate
  +User task: signjar     org.apache.tools.ant.taskdefs.SignJar
  +User task: 
vajload     org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects
  +User task: 
jarlib-available 
org.apache.tools.ant.taskdefs.optional.extension.JarLibAvailableTask
  +User task: 
WsdlToDotnet     org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
  +User task: buildnumber     org.apache.tools.ant.taskdefs.BuildNumber
  +User task: 
jpcovmerge     org.apache.tools.ant.taskdefs.optional.sitraka.CovMerge
  +User task: ejbjar     org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
  +User task: war     org.apache.tools.ant.taskdefs.War
Could not load a dependent class (com/starbase/starteam/Item) for task stlist
  +User task: rename     org.apache.tools.ant.taskdefs.Rename
  +User task: sequential     org.apache.tools.ant.taskdefs.Sequential
  +User task: 
serverdeploy     org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy
  +User task: property     org.apache.tools.ant.taskdefs.Property
  +User task: move     org.apache.tools.ant.taskdefs.Move
  +User task: copydir     org.apache.tools.ant.taskdefs.Copydir
  +User task: 
cccheckin     org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin
  +User task: wljspc     org.apache.tools.ant.taskdefs.optional.jsp.WLJspc
  +User task: fixcrlf     org.apache.tools.ant.taskdefs.FixCRLF
Could not load a dependent class (com/oroinc/net/SocketClient) for task telnet
  +User task: sosget     org.apache.tools.ant.taskdefs.optional.sos.SOSGet
  +User task: pathconvert     org.apache.tools.ant.taskdefs.PathConvert
  +User task: record     org.apache.tools.ant.taskdefs.Recorder
  +User task: p4sync     org.apache.tools.ant.taskdefs.optional.perforce.P4Sync
  +User task: exec     org.apache.tools.ant.taskdefs.ExecTask
  +User task: p4edit     org.apache.tools.ant.taskdefs.optional.perforce.P4Edit
  +User task: manifest     org.apache.tools.ant.taskdefs.ManifestTask
  +User task: maudit     org.apache.tools.ant.taskdefs.optional.metamata.MAudit
  +User task: antlr     org.apache.tools.ant.taskdefs.optional.ANTLR
  +User task: netrexxc     org.apache.tools.ant.taskdefs.optional.NetRexxC
Could not load a dependent class (com/oroinc/net/ftp/FTP) for task ftp
  +User task: 
jpcovreport     org.apache.tools.ant.taskdefs.optional.sitraka.CovReport
  +User task: execon     org.apache.tools.ant.taskdefs.ExecuteOn
  +User task: 
ccmcheckout     org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckout
  +User task: ant     org.apache.tools.ant.taskdefs.Ant
  +User task: 
xmlvalidate     org.apache.tools.ant.taskdefs.optional.XMLValidateTask
  +User task: xslt     org.apache.tools.ant.taskdefs.XSLTProcess
  +User task: 
iplanet-ejbc     org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbcTask
  +User task: 
ccmcheckintask     org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckinDefault
  +User task: gzip     org.apache.tools.ant.taskdefs.GZip
  +User task: 
native2ascii     org.apache.tools.ant.taskdefs.optional.Native2Ascii
  +User task: 
starteam     org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut
  +User task: ear     org.apache.tools.ant.taskdefs.Ear
  +User task: input     org.apache.tools.ant.taskdefs.Input
  +User task: rmic     org.apache.tools.ant.taskdefs.Rmic
  +User task: checksum     org.apache.tools.ant.taskdefs.Checksum
  +User task: mail     org.apache.tools.ant.taskdefs.email.EmailTask
  +User task: loadfile     org.apache.tools.ant.taskdefs.LoadFile
  +User task: 
vsscheckout     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKOUT
  +User task: stylebook     org.apache.tools.ant.taskdefs.optional.StyleBook
  +User task: 
soscheckin     org.apache.tools.ant.taskdefs.optional.sos.SOSCheckin
  +User task: mimemail     org.apache.tools.ant.taskdefs.optional.net.MimeMail
  +User task: 
stlabel     org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel
  +User task: gunzip     org.apache.tools.ant.taskdefs.GUnzip
  +User task: concat     org.apache.tools.ant.taskdefs.Concat
  +User task: cab     org.apache.tools.ant.taskdefs.optional.Cab
  +User task: touch     org.apache.tools.ant.taskdefs.Touch
  +User task: parallel     org.apache.tools.ant.taskdefs.Parallel
  +User task: 
splash     org.apache.tools.ant.taskdefs.optional.splash.SplashTask
  +User task: antcall     org.apache.tools.ant.taskdefs.CallTarget
  +User task: 
cccheckout     org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout
  +User task: typedef     org.apache.tools.ant.taskdefs.Typedef
  +User task: p4have     org.apache.tools.ant.taskdefs.optional.perforce.P4Have
  +User task: filter     org.apache.tools.ant.taskdefs.Filter
  +User task: xmlproperty     org.apache.tools.ant.taskdefs.XmlProperty
Could not load a dependent class (jdepend/xmlui/JDepend) for task jdepend
  +User task: copy     org.apache.tools.ant.taskdefs.Copy
  +User task: antstructure     org.apache.tools.ant.taskdefs.AntStructure
Could not load a dependent class (com/ibm/bsf/BSFException) for task script
  +User task: 
ccmcreatetask     org.apache.tools.ant.taskdefs.optional.ccm.CCMCreateTask
  +User task: rpm     org.apache.tools.ant.taskdefs.optional.Rpm
  +User task: delete     org.apache.tools.ant.taskdefs.Delete
  +User task: replace     org.apache.tools.ant.taskdefs.Replace
  +User task: 
mmetrics     org.apache.tools.ant.taskdefs.optional.metamata.MMetrics
  +User task: waitfor     org.apache.tools.ant.taskdefs.WaitFor
  +User task: untar     org.apache.tools.ant.taskdefs.Untar
  +User task: loadproperties     org.apache.tools.ant.taskdefs.LoadProperties
  +User task: available     org.apache.tools.ant.taskdefs.Available
  +User task: 
echoproperties     org.apache.tools.ant.taskdefs.optional.EchoProperties
Could not load a dependent class (junit/framework/TestListener) for task junit
Could not load a dependent class (com/starbase/starteam/Folder) for task 
stcheckin
  +User task: 
vajexport     org.apache.tools.ant.taskdefs.optional.ide.VAJExport
  +User task: 
stcheckout     org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout
  +User task: bunzip2     org.apache.tools.ant.taskdefs.BUnzip2
  +User task: copyfile     org.apache.tools.ant.taskdefs.Copyfile
  +User task: 
vsscreate     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCREATE
  +User task: ejbc     org.apache.tools.ant.taskdefs.optional.ejb.Ejbc
  +User task: unjar     org.apache.tools.ant.taskdefs.Expand
  +User task: 
wsdltodotnet     org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
  +User task: mkdir     org.apache.tools.ant.taskdefs.Mkdir
  +User task: condition     org.apache.tools.ant.taskdefs.ConditionTask
  +User task: cvs     org.apache.tools.ant.taskdefs.Cvs
  +User task: tempfile     org.apache.tools.ant.taskdefs.TempFile
  +User task: 
junitreport 
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator
  +User task: taskdef     org.apache.tools.ant.taskdefs.Taskdef
  +User task: echo     org.apache.tools.ant.taskdefs.Echo
  +User task: 
ccupdate     org.apache.tools.ant.taskdefs.optional.clearcase.CCUpdate
  +User task: java     org.apache.tools.ant.taskdefs.Java
  +User task: 
renameext     org.apache.tools.ant.taskdefs.optional.RenameExtensions
  +User task: 
vsslabel     org.apache.tools.ant.taskdefs.optional.vss.MSVSSLABEL
  +User task: basename     org.apache.tools.ant.taskdefs.Basename
  +User task: javadoc2     org.apache.tools.ant.taskdefs.Javadoc
  +User task: vsscp     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCP
  +User task: tar     org.apache.tools.ant.taskdefs.Tar
  +User task: 
vajimport     org.apache.tools.ant.taskdefs.optional.ide.VAJImport
  +User task: setproxy     org.apache.tools.ant.taskdefs.optional.net.SetProxy
  +User task: wlstop     org.apache.tools.ant.taskdefs.optional.ejb.WLStop
  +User task: 
p4counter     org.apache.tools.ant.taskdefs.optional.perforce.P4Counter
  +User task: ilasm     org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm
  +User task: 
soscheckout     org.apache.tools.ant.taskdefs.optional.sos.SOSCheckout
  +User task: apply     org.apache.tools.ant.taskdefs.Transform
  +User task: 
ccuncheckout     org.apache.tools.ant.taskdefs.optional.clearcase.CCUnCheckout
  +User task: 
jarlib-resolve 
org.apache.tools.ant.taskdefs.optional.extension.JarLibResolveTask
  +User task: jlink     org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask
  +User task: cvstagdiff     org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff
  +User task: javacc     org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
  +User task: chmod     org.apache.tools.ant.taskdefs.Chmod
  +User task: pvcs     org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs
  +User task: 
jarlib-manifest 
org.apache.tools.ant.taskdefs.optional.extension.JarLibManifestTask
  +User task: jar     org.apache.tools.ant.taskdefs.Jar
  +User task: sound     org.apache.tools.ant.taskdefs.optional.sound.SoundTask
  +User task: mparse     org.apache.tools.ant.taskdefs.optional.metamata.MParse
  +User task: 
blgenclient 
org.apache.tools.ant.taskdefs.optional.ejb.BorlandGenerateClient
  +User task: uptodate     org.apache.tools.ant.taskdefs.UpToDate
  +User task: genkey     org.apache.tools.ant.taskdefs.GenerateKey
  +User task: javah     org.apache.tools.ant.taskdefs.optional.Javah
  +User task: 
ccmreconfigure     org.apache.tools.ant.taskdefs.optional.ccm.CCMReconfigure
  +User task: fail     org.apache.tools.ant.taskdefs.Exit
  +User task: unzip     org.apache.tools.ant.taskdefs.Expand
  +User task: javac     org.apache.tools.ant.taskdefs.Javac
  +User task: p4add     org.apache.tools.ant.taskdefs.optional.perforce.P4Add
  +User task: 
jpcoverage     org.apache.tools.ant.taskdefs.optional.sitraka.Coverage
  +User task: soslabel     org.apache.tools.ant.taskdefs.optional.sos.SOSLabel
  +User task: depend     org.apache.tools.ant.taskdefs.optional.depend.Depend
  +User task: vssget     org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET
  +User task: deltree     org.apache.tools.ant.taskdefs.Deltree
  +User task: 
ddcreator     org.apache.tools.ant.taskdefs.optional.ejb.DDCreator
  +User datatype: patternset     org.apache.tools.ant.types.PatternSet
  +User datatype: filterset     org.apache.tools.ant.types.FilterSet
  +User datatype: 
libfileset     org.apache.tools.ant.taskdefs.optional.extension.LibFileSet
  +User datatype: filterreader     org.apache.tools.ant.types.AntFilterReader
  +User datatype: 
extension     org.apache.tools.ant.taskdefs.optional.extension.ExtensionAdapter
  +User datatype: fileset     org.apache.tools.ant.types.FileSet
  +User datatype: dirset     org.apache.tools.ant.types.DirSet
  +User datatype: filelist     org.apache.tools.ant.types.FileList
  +User datatype: filterchain     org.apache.tools.ant.types.FilterChain
  +User datatype: path     org.apache.tools.ant.types.Path
  +User datatype: 
classfileset     org.apache.tools.ant.types.optional.depend.ClassfileSet
  +User datatype: description     org.apache.tools.ant.types.Description
  +User datatype: xmlcatalog     org.apache.tools.ant.types.XMLCatalog
  +User datatype: 
selector     org.apache.tools.ant.types.selectors.SelectSelector
  +User datatype: mapper     org.apache.tools.ant.types.Mapper
  +User datatype: substitution     org.apache.tools.ant.types.Substitution
  +User datatype: 
extensionSet     org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet
  +User datatype: regexp     org.apache.tools.ant.types.RegularExpression
Setting ro project property: ant.version -> Apache Ant version 1.5.1 
compiled on October 2 2002
Setting ro project property: ant.file -> /home/ray/ohtmer/build.xml
parsing buildfile build.xml with URI = file:/home/ray/ohtmer/build.xml
Setting ro project property: ant.project.name -> My Project
Adding reference: My Project -> org.apache.tools.ant.Project@1198891
Project base dir set to: /home/ray/ohtmer
    +Task: property
  [property] Loading /home/ray/ohtmer/build.properties
Setting project property: manager.username -> "ray"
Setting project property: manager.password -> "11213"
    +Task: property
  [property] Loading /home/ray/build.properties
Setting project property: baz -> h:htdocsxptools
    +Task: property
Setting project property: app.name -> myapp
    +Task: property
Setting project property: app.path -> /myapp
    +Task: property
Setting project property: app.version -> 0.1-dev
    +Task: property
Setting project property: build.home -> /home/ray/ohtmer/build
    +Task: property
Setting project property: catalina.home -> 
/home/src/src2/java/jakarta-tomcat-4.1.18-LE-jdk14
    +Task: property
Setting project property: dist.home -> /home/ray/ohtmer/dist
    +Task: property
Setting project property: docs.home -> /home/ray/ohtmer/docs
    +Task: property
Setting project property: manager.url -> http://localhost:8080/manager
    +Task: property
Setting project property: src.home -> /home/ray/ohtmer/src
    +Task: property
Setting project property: web.home -> /home/ray/ohtmer/web
    +Task: taskdef
Class org.apache.catalina.ant.InstallTask loaded from parent loader
  +User task: install     org.apache.catalina.ant.InstallTask
    +Task: taskdef
Class org.apache.catalina.ant.ListTask loaded from parent loader
  +User task: list     org.apache.catalina.ant.ListTask
    +Task: taskdef
Class org.apache.catalina.ant.ReloadTask loaded from parent loader
  +User task: reload     org.apache.catalina.ant.ReloadTask
    +Task: taskdef
Class org.apache.catalina.ant.RemoveTask loaded from parent loader
  +User task: remove     org.apache.catalina.ant.RemoveTask
    +Task: property
Setting project property: compile.debug -> true
    +Task: property
Setting project property: compile.deprecation -> false
    +Task: property
Setting project property: compile.optimize -> true
    +Task: property
Setting project property: foo.jar -> /path/to/foo.jar
    +DataType: path
Adding reference: compile.classpath ->
  +Target: all
  +Target: clean
    +Task: delete
    +Task: delete
  +Target: compile
    +Task: mkdir
    +Task: javac
    +Task: copy
  +Target: dist
    +Task: mkdir
    +Task: copy
    +Task: jar
  +Target: install
    +Task: echo
    +Task: echo
    +Task: install
  +Target: javadoc
    +Task: mkdir
    +Task: javadoc
  +Target: list
    +Task: list
  +Target: prepare
    +Task: mkdir
    +Task: mkdir
    +Task: mkdir
    +Task: copy
    +Task: mkdir
  +Target: reload
    +Task: reload
  +Target: remove
    +Task: remove
Build sequence for target `install' is [prepare, compile, install]
Complete build sequence is [prepare, compile, install, reload, remove, 
list, javadoc, clean, dist, all]

prepare:
fileset: Setup scanner in dir /home/ray/ohtmer/web with patternSet{ 
includes: [] excludes: [] }
      [copy]  omitted as /home/ray/ohtmer/build is up to date.

compile:
fileset: Setup scanner in dir /home/ray/ohtmer/src with patternSet{ 
includes: [] excludes: [] }
     [javac] mypackage/Hello.java omitted as 
/home/ray/ohtmer/build/WEB-INF/classes/mypackage/Hello.class is up to date.
     [javac] mypackage/Hello.class skipped - don't know how to handle it
fileset: Setup scanner in dir /home/ray/ohtmer/src with patternSet{ 
includes: [] excludes: [**/*.java] }
      [copy] mypackage/Hello.class omitted as 
/home/ray/ohtmer/build/WEB-INF/classes/mypackage/Hello.class is up to date.
      [copy]  omitted as /home/ray/ohtmer/build/WEB-INF/classes is up to date.
      [copy] mypackage omitted as 
/home/ray/ohtmer/build/WEB-INF/classes/mypackage is up to date.

install:
      [echo] manager.username="ray"
      [echo] manager.password="password"

BUILD FAILED
file:/home/ray/ohtmer/build.xml:74: java.io.IOException: Server returned 
HTTP response code: 401 for URL: 
http://localhost:8080/manager/install?path=%2Fmyapp&war=file%3A%2F%2F%2Fhome%2Fray%2Fohtmer%2Fbuild
         at 
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:278)
         at 
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:171)
         at org.apache.catalina.ant.InstallTask.execute(InstallTask.java:157)
         at org.apache.tools.ant.Task.perform(Task.java:319)
         at org.apache.tools.ant.Target.execute(Target.java:309)
         at org.apache.tools.ant.Target.performTasks(Target.java:336)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
         at org.apache.tools.ant.Main.runBuild(Main.java:610)
         at org.apache.tools.ant.Main.start(Main.java:196)
         at org.apache.tools.ant.Main.main(Main.java:235)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for 
URL: 
http://localhost:8080/manager/install?path=%2Fmyapp&war=file%3A%2F%2F%2Fhome%2Fray%2Fohtmer%2Fbuild
         at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:709)
         at 
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:248)
         ... 10 more
--- Nested Exception ---
java.io.IOException: Server returned HTTP response code: 401 for URL: 
http://localhost:8080/manager/install?path=%2Fmyapp&war=file%3A%2F%2F%2Fhome%2Fray%2Fohtmer%2Fbuild
         at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:709)
         at 
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:248)
         at 
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:171)
         at org.apache.catalina.ant.InstallTask.execute(InstallTask.java:157)
         at org.apache.tools.ant.Task.perform(Task.java:319)
         at org.apache.tools.ant.Target.execute(Target.java:309)
         at org.apache.tools.ant.Target.performTasks(Target.java:336)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
         at org.apache.tools.ant.Main.runBuild(Main.java:610)
         at org.apache.tools.ant.Main.start(Main.java:196)
         at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 18 seconds
ray@k6:~/ohtmer$
Script done on Wed Feb 26 02:27:16 2003


---
ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work
vice chair orange county java users group http://www.ocjug.org/
hate spam? http://samspade.org/ssw/


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message