Re: Long timeout after aborted upload

2012-04-27 Thread André Warnier
Christopher, Christopher Schultz wrote: ... Since Tomcat appears to be idle pretty much right away, the issue has to be either mod_jk or httpd, or the browser itself. Is there anything I can do at the web server level to sever the connection ASAP? Or is this just a stubborn browser that

Re: High Level question. Managing dynamic vhost deployments...

2012-04-27 Thread André Warnier
Dave Shevett wrote: Hey folks - I've gotten great help on the list before, I'm looking for some guidance on how to approach this... I have a hosted service that deploys / provisions vhosts running a prepackaged .war app. I'd like to be able to 'spin up' a vhost on the fly, without

mvn tomcat:deploy fails with HTTP response 401

2012-04-27 Thread Henrique Ordine
Hi everybody, I'm trying to deploy my Maven Web App on my local Tomcat using the tomcat:deploy maven plugin, but the Manager application fails with a response code 401. I have Tomcat 6 installed on Mac OS Leopard, with Java 1.5. I manage to access my Tomcat/manager app with the user hordine,

Re: mvn tomcat:deploy fails with HTTP response 401

2012-04-27 Thread Olivier Lamy
Hello, That's something which has been fixed in trunk (I will probably release a 2.0 next week). 2012/4/27 Henrique Ordine hord...@gmail.com: Hi everybody, I'm trying to deploy my Maven Web App on my local Tomcat using the tomcat:deploy maven plugin, but the Manager application fails with a

Re: High Level question. Managing dynamic vhost deployments...

2012-04-27 Thread Dave Shevett
On 4/27/12 4:27 AM, André Warnier wrote: It seems that you have already most of the parts done, and are just missing the persistent part of the Host entries in server.xml. It would seem like a fairly easy task, with a bit of scripting, to have a template server.xml with some kind of an include

Websocket Questions

2012-04-27 Thread Konstantin Preißer
Hi all, I'm using Tomcat 7.0.27 with Native 1.1.23 on Windows Server 2008 32-bit with Java 1.7.0_03. Recently I started a project which uses Websockets. It is a simple app where the clients submit the current mouse position to the server, and the server then broadcasts the position of that

trying to install openjdk + tomcat -from source- ...

2012-04-27 Thread Albretch Mueller
~ I have constantly run into various problems which I don't think are well explained in the build instructions ~ http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html ~ and I have also searched and searched to no avail ~ Actually I am having problems with openjdk version 7 and

Re: Websocket Questions

2012-04-27 Thread Mark Thomas
On 27/04/2012 15:51, Konstantin Preißer wrote: Hi all, I'm using Tomcat 7.0.27 with Native 1.1.23 on Windows Server 2008 32-bit with Java 1.7.0_03. Recently I started a project which uses Websockets. It is a simple app where the clients submit the current mouse position to the server,

Re: trying to install openjdk + tomcat -from source- ...

2012-04-27 Thread Mark Thomas
On 27/04/2012 16:18, Albretch Mueller wrote: ~ I have constantly run into various problems which I don't think are well explained in the build instructions ~ http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html And that has what to do with Tomcat? (clue: nothing) Mark

Capturing System.out on a Mac

2012-04-27 Thread Dola Woolfe
Hi, We just switched from Windows to Mac. On Windows, when we started tomcat in the command window, a new window would pop up that contains all the output of System.out.  But on a Mac, no new window shows up and we are missing all the output. Is there a quick fix to this? Many thanks in

Re: mvn tomcat:deploy fails with HTTP response 401

2012-04-27 Thread Henrique Ordine
Thanks for your reply. I made the changes that you suggested but tomcat:deploy still fails with the same error. tomcat:run works, but it was already working before. My POM file is attached, if you could have a look at it, it would be great. It's a small POM, I've only just started my App.

Re: Capturing System.out on a Mac

2012-04-27 Thread Henrique Ordine
Aren't the log files in your tomcat_home/logs directory enough? Op 27 april 2012 18:19 schreef Dola Woolfe dolac...@yahoo.com het volgende: Hi, We just switched from Windows to Mac. On Windows, when we started tomcat in the command window, a new window would pop up that contains all the

RE: Websocket Questions

2012-04-27 Thread Konstantin Preißer
Hi Mark, thank you for your reply. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, April 27, 2012 5:37 PM To: Tomcat Users List Subject: Re: Websocket Questions At the moment, yes. There is probably a need for a separate timeout but there needs to

Re: Capturing System.out on a Mac

2012-04-27 Thread Dola Woolfe
They don't contain the output of System.out? Are you expecting them to?

Re: Capturing System.out on a Mac

2012-04-27 Thread Derek Beauregard
Catalina.out should have anything written to stdout/stderr. Be careful as this file is not rotated and will grow for ever. Any web apps should be using logging and not System.out. Also you could start tomcat with the 'run' command rather than the 'start' command to run it in the foreground of

Re: Long timeout after aborted upload

2012-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/27/12 3:55 AM, André Warnier wrote: And the main issue is that, while it is uploading the data, the browser isn't reading anything from the webserver. Yeah, I'm fairly sure that this is the problem. Sending a response to the browser

Re: Capturing System.out on a Mac

2012-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dola, On 4/27/12 12:19 PM, Dola Woolfe wrote: We just switched from Windows to Mac. On Windows, when we started tomcat in the command window, a new window would pop up that contains all the output of System.out. But on a Mac, no new window

Re: Capturing System.out on a Mac

2012-04-27 Thread Dola Woolfe
Thank you and Christopher! I appreciate the point about logging, but what if I am using a library that utilizes System.out? Thanks again, Dola - Original Message - From: Derek Beauregard dbeaureg...@vmware.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Friday, April 27,

RE: Capturing System.out on a Mac

2012-04-27 Thread Caldarale, Charles R
From: Dola Woolfe [mailto:dolac...@yahoo.com] Subject: Re: Capturing System.out on a Mac I appreciate the point about logging, but what if I am using a library that utilizes System.out? Then you really, really need to file a bug report with the maintainers of the library for writing

Re: mvn tomcat:deploy fails with HTTP response 401

2012-04-27 Thread Olivier Lamy
Add pluginRepositories pluginRepository idapache.snapshots/id nameApache Snapshots/name urlhttp://repository.apache.org/content/groups/snapshots-group//url releases enabledfalse/enabled /releases snapshots enabledtrue/enabled

Re: Javamelody and Struts

2012-04-27 Thread Miguel González Castaños
On 26/04/2012 15:51, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 4/26/12 5:58 AM, Miguel González Castaños wrote: On 26/04/2012 03:58, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 4/25/12 6:24 PM, Miguel

Re: trying to install openjdk + tomcat -from source- ...

2012-04-27 Thread Albretch Mueller
~ Well, you are right, but maybe you guys knew of complete installation of an environment, which I had seen before, but for some reason can't fidn now ~ lbrtchx - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

How to run Tomcat as Service on windows start up.

2012-04-27 Thread Kiran Badi
Hi, I have installed and added tomcat 7.0.11 to netbeans 7.01 and now I want it to run as windows service so that whenever I start windows, it should start up and run. Currently whenever I close netbeans it shut down tomcat along with it. PS : I cannot download and install the fresh copy

Re: How to run Tomcat as Service on windows start up.

2012-04-27 Thread Jacques Desodt
Hi Kiran, On Windows 7, you can't run batch files as services. See : http://stackoverflow.com/questions/8972679/windows-7-bat-file-not-starting-as-a-service Your first step : compile the .bat file into .exe Then create the service, and after change the service register values with regedit. This