Tomcat 7 Embedded: Manager *additional info*

2011-10-05 Thread Dark Before Dawn
Hi guys *kick* :) I have additional info on this topic. When deploying a webapp to an embedded tomcat server via ANT and listen all webapps via ANT afterwards, I noticed that the path information is completely missing for the freshly deployed webapp. In this case /test. I think I missed to set

Tomcat 7 Embedded: Manager

2011-09-27 Thread Dark Before Dawn
Hi guys, I am sorry to resurrect this topic, but I got stuck for weeks now. I would like to provide an embedded Tomcat 7 instance in my JavaSE 1.6 application (diploma thesis). This instance should run the Manager-Application for easy War-Deployment via ANT. With help of this mailing-list I m

Re: Tomcat 7 Embedded: Manager

2011-07-03 Thread Dark Before Dawn
Hi Pid, I wonder where the war-files are uploaded to? When uploading a war-file via HTMLManagerServlet a new error message will be shown: > MESSAGE: FAIL - File upload failed, no file Do I need to enable file uploads somewhere? Is there a way to enable the Deployer via code or by adding new J

Re: Tomcat 7 Embedded: Manager

2011-07-03 Thread Pid
On 01/07/2011 20:49, Dark Before Dawn wrote: > Hi Pid, hi Cuck! > thanks for your help. Your suggestions fixed the naming issues :) thanks! > > But the error still occurs. > > FAIL - Encountered exception javax.management.InstanceNotFoundException: > Tomcat:type=Deployer,host=localhost The Depl

RE: Tomcat 7 Embedded: Manager

2011-07-01 Thread Caldarale, Charles R
> From: Dark Before Dawn [mailto:dark.before.d...@gmail.com] > Subject: Re: Tomcat 7 Embedded: Manager > i guess the problem is that the manager-servlet's context is > "mounted" at root I think right there we have a conceptual problem, or at least a terminology on

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Pid
On 01/07/2011 12:44, Dark Before Dawn wrote: > Hi Pid, > i guess the problem is that the manager-servlet's context is "mounted" > at root and the ServletMapping points to /manager. > >> server.addContext("", baseDirectory); >> ctx.addServletMapping("/manager/*", manager-servlet); > > So all relat

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Dark Before Dawn
sorry for that :) diddn't want to annoy Cheers Darky Am 01.07.2011 12:41, schrieb Pid: On 01/07/2011 10:40, Dark Before Dawn wrote: this is realy driving me nuts for weeks so *does* the arbit*rary* use of *bold* for me. p -

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Pid
On 01/07/2011 10:40, Dark Before Dawn wrote: > Hi again, > this is realy driving me nuts for weeks :) > FAIL - Encountered exception javax.management.InstanceNotFoundException: > Tomcat:type=Deployer,host=localhost 1. Connect to your running instance with JConsole*. 2. Examine the MBeans publish

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Pid
On 01/07/2011 10:40, Dark Before Dawn wrote: > this is realy driving me nuts for weeks so *does* the arbit*rary* use of *bold* for me. p signature.asc Description: OpenPGP digital signature

Re: Tomcat 7 Embedded: Manager

2011-07-01 Thread Dark Before Dawn
r.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Cheers Darky Am 28.06.2011 03:42, schrieb Caldarale, Charles R: From: Dark Before Dawn [mailto:dark.before.d...@gmail.com] Subject: Re: Tomcat 7 Embedded: Manager When using HTMLManagerServlet and navigating to http://loca

Re: Tomcat 7 Embedded: Manager

2011-06-27 Thread Dark Before Dawn
Am 28.06.2011 03:42, schrieb Caldarale, Charles R: From: Dark Before Dawn [mailto:dark.before.d...@gmail.com] Subject: Re: Tomcat 7 Embedded: Manager When using HTMLManagerServlet and navigating to http://localhost/manager the Manager's HTML Interface will appear. It shouldn't, unl

RE: Tomcat 7 Embedded: Manager

2011-06-27 Thread Caldarale, Charles R
> From: Dark Before Dawn [mailto:dark.before.d...@gmail.com] > Subject: Re: Tomcat 7 Embedded: Manager > When using HTMLManagerServlet and navigating to http://localhost/manager > the Manager's HTML Interface will appear. It shouldn't, unless you've been playing w

Re: Tomcat 7 Embedded: Manager

2011-06-27 Thread Dark Before Dawn
Am 17.06.2011 23:47, schrieb Caldarale, Charles R: From: Dark Before Dawn [mailto:dark.before.d...@gmail.com] Subject: Re: Tomcat 7 Embedded: Manager Where can i find the unit test examples? I browsed the src distribution but couldn't find any examples (I think I am blind :) Quite pos

RE: Tomcat 7 Embedded: Manager

2011-06-17 Thread Caldarale, Charles R
> From: Dark Before Dawn [mailto:dark.before.d...@gmail.com] > Subject: Re: Tomcat 7 Embedded: Manager > Where can i find the unit test examples? > I browsed the src distribution but couldn't find any > examples (I think I am blind :) Quite possibly, since they'

Re: Tomcat 7 Embedded: Manager

2011-06-17 Thread Dark Before Dawn
Hi Mark, thanks for your fast reply. Where can i find the unit test examples? I browsed the src distribution but couldn't find any examples (I think I am blind :) Cheers Darky Am 17.06.2011 23:14, schrieb Mark Thomas: On 17/06/2011 21:14, Dark Before Dawn wrote: Hi guys, I am trying to depl

Re: Tomcat 7 Embedded: Manager

2011-06-17 Thread Mark Thomas
On 17/06/2011 21:14, Dark Before Dawn wrote: > Hi guys, > I am trying to deploy a WAR-File programmaticaly via ANT or manually. > Therefore I would like to have a Manager Servlet which supports > deploying/undeploying. > > My first try was something like this: > > Context ctx = server.ad

Tomcat 7 Embedded: Manager

2011-06-17 Thread Dark Before Dawn
Hi guys, I am trying to deploy a WAR-File programmaticaly via ANT or manually. Therefore I would like to have a Manager Servlet which supports deploying/undeploying. My first try was something like this: Context ctx = server.addContext("/manager", baseDirectory); HTMLManager