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

Tomcat 7 Embedded: Manager *additional info*

2011-10-05 Thread Dark Before Dawn
setup a path directive?! [LIST] OK - Listed applications for virtual host localhost [LIST] /manager:running:0:C:\Users\xx\AppData\Local\Temp\tc7embedded\webapps [LIST] /test:running:0:test Java Code: http://pastie.org/268 Cheers Darky Am 27.09.2011 16:46, schrieb Dark Before

[Embedded Tomcat 7] - Redeploy WAR File

2011-06-13 Thread Dark Before Dawn
Hi there! I am running tomcat 7.0.14-embed with JavaSE-1.6 on a Windows7 machine. /Autodeploy/, /DeployOnStartup/ and /UnpackWARs/ works like a charm when creating a new WAR-File at appBase directory for the firsttime. If my application generates a updated version of the WAR-File while the Tom

Re: [Embedded Tomcat 7] - Redeploy WAR File

2011-06-13 Thread Dark Before Dawn
Am 14.06.2011 01:01, schrieb Mark Thomas: On 13/06/2011 23:57, Dark Before Dawn wrote: Hi there! I am running tomcat 7.0.14-embed with JavaSE-1.6 on a Windows7 machine. /Autodeploy/, /DeployOnStartup/ and /UnpackWARs/ works like a charm when creating a new WAR-File at appBase directory for the

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

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 tryi

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-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-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-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

Re: Tomcat 7 Embedded: Manager

2011-07-03 Thread Dark Before Dawn
new JARs? Cheers and thanks in davance Darky Am 03.07.2011 13:33, schrieb 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 except

[JSP] List directory content within a war-file

2011-07-16 Thread Dark Before Dawn
Hi there, I am trying to list files and directories within an war-file i.e images/summer2010 images/winter2010. The war-file is deployed on a tomcat 7 instance with unpackWARs="false". Since I have no exposed filesystem getRealPath will return null. So I tried to use getResourceAsStream wich w

Re: RedHat and mod_jk

2011-07-16 Thread Dark Before Dawn
After some API reading I found getResourcePaths(). http://download.oracle.com/javaee/1.3/api/javax/servlet/ServletContext.html#getResourcePaths%28java.lang.String%29 Cheers Darky Hi there, I am trying to list files and directories within an war-file i.e images/summer2010 images/winter20

Tomcat Versions

2011-07-21 Thread Dark Before Dawn
Hi guys, I am reading this list for a few weeks now. And I wonder where the differences between different Tomcat versions ie 5.X , 6.X and 7.X are. Since versions for Tomcat 5 and 6 are still released from time to time. Are these maintenance releases only or for some linux distributions? Cheer