Updating a context.xml within a Cluster

2013-10-14 Thread Michael Martin
Hello, Hoping someone could help with this... I have a tomcat 7.0.32 cluster, which isn't used at all for session persistence or load balancing (there is no apache http), but instead just for auto-deployments using FarmWarDeployer. It currently works, so I add my applications .war file to

Re: Updating a context.xml within a Cluster

2013-10-14 Thread Mark Thomas
On 14/10/2013 10:01, Michael Martin wrote: Hello, Hoping someone could help with this... I have a tomcat 7.0.32 cluster, which isn't used at all for session persistence or load balancing (there is no apache http), but instead just for auto-deployments using FarmWarDeployer. It

Tomcat 8 what happened to VirtualWebappLoader ?

2013-10-14 Thread Johan Compagner
That seems to be removed from the Tomcat8 build Is there something else that we now have to use? How can i now setup a debug environment easy by using a context file like this: Context path=/webclient2 docBase=C:/workspace_trunk/servoy_webclient2/war/ !-- Resources

Re: Tomcat 8 what happened to VirtualWebappLoader ?

2013-10-14 Thread Mark Thomas
On 14/10/2013 16:26, Johan Compagner wrote: That seems to be removed from the Tomcat8 build Is there something else that we now have to use? http://tomcat.apache.org/migration-8.html#Web_application_resources Mark How can i now setup a debug environment easy by using a context file like

Directory watcher app

2013-10-14 Thread honyk
Hello Everyone, in my web app I use Java 7 directory watcher feature. When the final war file is placed into Webapps folder and Tomcat is started, it freezes as it waits forever for any directory changes (the app is loaded on tomcat startup). I use the following workaround - calling my watcher

ProcessBuilder and waitFor prevents tomcat to continue

2013-10-14 Thread honyk
Dear All, my web app executes long running external scripts. It is triggered on startup (contextInitialized) and then regularly during the day. When the app server needs to be restarted and this process is running, tomcat waits till the process finishes. When tomcat is starting, it waits again

Re: Tomcat 8 what happened to VirtualWebappLoader ?

2013-10-14 Thread Johan Compagner
thx, i already found it, through the changelog, i noticed that those where changed and where now all replaced by Resources Would be nice that there are some sample context.xml files in the final release so that people can see exactly what they could be using. On 14 October 2013 18:10, Mark

is there someway to get to the ServletContext/ApplicationContext from a WebSocket (tomat8)

2013-10-14 Thread Johan Compagner
When using a Filter or Servlet i can do getServletContext() where then i can ask for resources on it, to load for example a file in the WEB-INF dir? I can seem to find api of a @ServerEndpoint to get to that kind of stuff. -- Johan Compagner Servoy