| From | Sent On | Attachments |
|---|---|---|
| Turner, John | Nov 8, 2002 6:41 am | |
| bill...@attbi.com | Nov 8, 2002 7:04 am | |
| Tom Oinn | Nov 8, 2002 7:14 am | |
| Turner, John | Nov 8, 2002 7:19 am | |
| Turner, John | Nov 8, 2002 7:34 am | |
| Turner, John | Nov 8, 2002 7:43 am | |
| Srinadh Karumuri | Nov 8, 2002 8:05 am | |
| Cox, Charlie | Nov 8, 2002 8:12 am | |
| Turner, John | Nov 8, 2002 8:13 am | |
| Cox, Charlie | Nov 8, 2002 8:19 am | |
| Turner, John | Nov 8, 2002 8:20 am | |
| Craig R. McClanahan | Nov 8, 2002 9:52 am | |
| Turner, John | Nov 8, 2002 10:01 am | |
| Craig R. McClanahan | Nov 8, 2002 10:12 am | |
| Turner, John | Nov 8, 2002 11:06 am | |
| Craig R. McClanahan | Nov 8, 2002 11:15 am | |
| Turner, John | Nov 8, 2002 11:18 am | |
| Craig R. McClanahan | Nov 8, 2002 12:04 pm | |
| Turner, John | Nov 8, 2002 12:09 pm | |
| Luc Santeramo | Nov 13, 2002 1:11 am |
| Subject: | RE: System user accounts required to use manager in 4.1.12? | |
|---|---|---|
| From: | Turner, John (JTur...@AAS.com) | |
| Date: | Nov 8, 2002 7:43:26 am | |
| List: | org.apache.tomcat.users | |
This URL doesn't work either:
http://some.domain.com:8080/manager/install?path=/myApp&war=jar:http://inter nal.dev.box/myApp.war!/
It returns an error that says:
"FAIL - Encountered exception java.lang.IllegalArgumentException: Invalid URL for web application archive: http://internal.dev.box/myApp.war"
I've verified with wget that the WAR file is definitely available via HTTP from the local development workstation using that URL.
Can anyone explain what's going on?
John
-----Original Message----- From: Tom Oinn [mailto:tm...@ebi.ac.uk] Sent: Friday, November 08, 2002 10:15 AM To: Tomcat Users List Subject: Re: System user accounts required to use manager in 4.1.12?
I find it unlikely that a path like that ever worked on any system. You're sending parameters to a server, so the code that needs to read the .war file is running remotely. There is no way that the remote server will understand your 'C:/path/.../foo.war', it simply doesn't exist there. You need to put the war files onto an HTTP server somewhere, quite possible using IIS or Apache on your win2k machines, have the users copy the war files into their web space and then access them by HTTP from the manager application (i.e. use the http://my.workstation/~me/mywebapp.war rather than a local file path).
Cheers,
Tom
bill...@attbi.com wrote:
John, The manager install and reload finctions work fine on 4.0.4 running on an AS/400 with a windows client. Your URL format looks correct and like the one I used. It took me a few trial and errors to get the format correct. Bill
Hello -
I've setup 4.1.12 on Solaris 8.
I've given access to the manager app to my users. They are all using the same user account and password in tomcat-users.xml for now, though that will change once I get more experience using the security roles system.
Do my users need system-level user accounts in order to use the Tomcat manager app? Do WAR files need to be copied to the server prior to trying to deploy them using the Manager app? I'm trying to use a Manager URL like this to install a WAR file:
http://galeron.aas.com:8080/manager/install?path=/myApp&war= file:C:/path/to/ myApp.war
This returns an error message that says:
"FAIL - Encountered exception java.io.IOException: java.lang.IllegalArgumentException: Doc base must point to a WAR file"
I've got a whole bunch of Microsoft VB coders learning JSP and Java, and I'd really like to avoid having to set all of them up as users on my server, and teach them about command lines, FTP, etc. It was my understanding that they would be able to use the Manager app to deploy their WAR files as needed via a web browser. Is this not the case?
Assume this scenario:
- they should be able to access their apps on http://some.server.name/someApp - they should be able to use the Manager app to deploy as needed - their application WAR files exist on Windows 2000 Pro machines
That said, can someone provide me with an example of how to deploy someApp.war from a Windows 2000 machine to a Tomcat server using only the Manager app? Can this even be done?
Specifically, I would like to know, for the scenario above, how I would fill in the three text boxes on the page at http://galeron.aas.com:8080/manager/html/list which are labeled "Path", "Config URL", and "WAR URL". As it stands right now, I would think it would be:
Path = /someApp Config URL = I have no idea WAR URL = C:\some\path\to\war\file\on\Win2K
Any help is appreciated...and I guarantee the docs will get updated once I figure this out, as they haven't helped me any so far!
- John
============================================ John Turner jtur...@aas.com | 248-488-3466 Advertising Audit Service http://www.aas.com
-- To unsubscribe, e-mail:
<mailto:tomc...@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomc...@jakarta.apache.org>





