Re: Servlet init method called multiple times

2013-10-23 Thread Konstantin Kolinko
2013/10/23 Caldarale, Charles R chuck.caldar...@unisys.com: From: Richard Pierce [mailto:rpie...@empoweredbenefits.com] Subject: Servlet init method called multiple times The init() method of all of my servlets is being called every 10 seconds or so. I verified this by adding a System.out

Re: Tomcat 6.x crashes on tcnative-1.dll

2013-10-23 Thread Teng Khoo
Hi Chris, We use the ISAPI redirector plugin for load balancing and fronting with IIS Web server. Currently, we do not use SSL. I am not sure if the ISAPI internally uses or is dependents on the APR. Attached is the full core dump file. Cheers, Teng Oct 22, 2013 11:42:42 AM,

Re: Tomcat 6.x crashes on tcnative-1.dll

2013-10-23 Thread Konstantin Kolinko
2013/10/23 Teng Khoo maste...@lycos.com: Hi Chris, We use the ISAPI redirector plugin for load balancing and fronting with IIS Web server. Currently, we do not use SSL. I am not sure if the ISAPI internally uses or is dependents on the APR. Attached is the full core dump file. The

regarding maven tomcat7 plugin

2013-10-23 Thread Irfan Sayed
hi, i am facing issues while deploying war file using tomcat7 plugin. tomcat as application is running fine . i can manually deploy files but not through maven plugin following are my files : *.m2 (settings.xml)* server idTomcatServer/id usernameadmin/username passwordpassword/password

Re: regarding maven tomcat7 plugin

2013-10-23 Thread Konstantin Kolinko
2013/10/23 Irfan Sayed irfu.sa...@gmail.com: hi, i am facing issues while deploying war file using tomcat7 plugin. tomcat as application is running fine . i can manually deploy files but not through maven plugin following are my files : *.m2 (settings.xml)* server idTomcatServer/id

Re: Tomcat 6.x crashes on tcnative-1.dll

2013-10-23 Thread Teng Khoo
Oct 22, 2013 11:42:42 AM, users@tomcat.apache.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Teng, On 10/22/13 3:02 AM, Teng Khoo wrote: I am running tomcat 6.0.30 More than 2 years out-of-date. Just sayin'. with tcnative-1.dll (1.1.27) on Windows 2008 (64bit). Tomcat crashes

RE: Some Websocket (Async) questions

2013-10-23 Thread Konstantin Preißer
Hi, some more questions/issues added below: -Original Message- From: Konstantin Preißer [mailto:kpreis...@apache.org] Sent: Wednesday, October 23, 2013 2:09 AM To: 'Tomcat Users List' Subject: Some Websocket (Async) questions Hi all, while working on the Drawboard Websocket

Re: Multi-URL Access 1 Webapp

2013-10-23 Thread Chris Arnold
Hi Matt, Hi Chris, You probably want to be using ServerAlias here, iirc.. Changed back to ServerAlias #This rewrites https://share.anydomain.tld to our alfresco server RewriteCond %{HTTP_HOST} ^share\. RewriteCond %{HTTPS} on Okay, I'll take a bite at the obvious.

Re: Tomcat 6.x crashes on tcnative-1.dll

2013-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Teng, On 10/23/13 8:58 AM, Teng Khoo wrote: --- T H R E A D --- Current thread (0x1cf91000): JavaThread Timer-204473 daemon [_thread_in_native, id=3784, stack(0x2217,0x2227)]

Re: Multi-URL Access 1 Webapp

2013-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 10/23/13 9:07 AM, Chris Arnold wrote: Hi Matt, Hi Chris, You probably want to be using ServerAlias here, iirc.. Changed back to ServerAlias #This rewrites https://share.anydomain.tld to our alfresco server RewriteCond

Re: Restrict the use of JDK classes Tomcat 7 or 6

2013-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Analia, On 10/23/13 4:29 AM, ANALIA DE PEDRO SANTAMARIA wrote: Thank you very much for the answers. What I'm trying to do is block the execution of certain privileges in certain web applications (I'm working in a security model). One way of

Re: Servlet init method called multiple times

2013-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Richard, On 10/22/13 6:57 PM, Richard Pierce wrote: The init() method of all of my servlets is being called every 10 seconds or so. I verified this by adding a System.out to the init() methods of my servlets. However, the server is not

Re: java.net.SocketException: Permission denied: connect, when running Tomcat 7 as a windows service

2013-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igor, On 10/23/13 12:34 AM, Igor Cicimov wrote: On Wed, Oct 23, 2013 at 1:59 PM, Rodolfo Piedrabuena rpiedrabu...@gmail.com wrote: Hi there, I'm receiving the following exception: java.net.SocketException: Permission denied: connect

Re: regarding maven tomcat7 plugin

2013-10-23 Thread Irfan Sayed
it worked. i haven't restarted the tomcat. ok. now is there any plugin/goal which will redeploy the existing war file and redeploy ? i am using tomcat7 plugin and there is no any redeploy goal please suggest regards On Wed, Oct 23, 2013 at 5:42 PM, Konstantin Kolinko

Re: Servlet init method called multiple times

2013-10-23 Thread David Bullock
One of your servlet's methods is throwing an unchecked exception (very possibly, from the init() method itself), causing the container to trash the instance of your servlet and construct a new one (verify by printing out System.identityHashCode(this) in your log message), Most likely, your

Re: Servlet init method called multiple times

2013-10-23 Thread Igor Urisman
Print the call stack from a subsequent init()? On Wed, Oct 23, 2013 at 8:33 AM, Richard Pierce rpie...@empoweredbenefits.com wrote: Hey Chris. I wish it was, that would be an easy fix. It's not- grepped the whole codebase for it, and visually inspected these servlets. -Richard On

Re: Multi-URL Access 1 Webapp

2013-10-23 Thread Chris Arnold
Chris, mod_proxy_ajp and mod_jk are roughly equivalent though with wildly differing configuration syntax. Also, mod_jk has quite a few additional options that have made it always the right choice for me. Using mod_rewrite seems completely unnecessary. Something that you are doing that

Re: Multi-URL Access 1 Webapp

2013-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 10/23/13 12:06 PM, Chris Arnold wrote: Chris, mod_proxy_ajp and mod_jk are roughly equivalent though with wildly differing configuration syntax. Also, mod_jk has quite a few additional options that have made it always the right

Re: Multi-URL Access 1 Webapp

2013-10-23 Thread Chris Arnold
If you are sure that httpd Virtual Hosting is working properly (e.g.you can request the proper, say, index.html given a sub-domain), then getting Tomcat to work should not be terribly hard. Can you confirm that VH is working in httpd? Yes, VH's are working fine. We have a number of

Re: Some Websocket (Async) questions

2013-10-23 Thread Mark Thomas
On 23/10/2013 14:09, Konstantin Preißer wrote: 1) How to asynchronously close / abort a Websocket session? async close would require an API change. abort also requires an API change. Both look fairly easy to implement on the face of it. I'd suggest raising an enhancement request for the

Re: Apache2 mod_jk segfaults with OS X Mavericks

2013-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 10/23/13 12:25 PM, Peter Aarestad wrote: I posted this question on stackoverflow, but I'd like to see if anyone here would have more specific info. See all the gory details here:

Re: Apache2 mod_jk segfaults with OS X Mavericks

2013-10-23 Thread Peter Aarestad
Yeah, the stack trace I saw mentioned strcpy(), it seemed, so I bet this is the issue. I'll keep my eye on this bug. Thanks! On Wed, Oct 23, 2013 at 4:12 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 10/23/13 12:25

Custom tomcat7 debian packages

2013-10-23 Thread Thobias Bergqvist
Hi! I'm trying to solve this problem and would like some pointers: 1) Distribute my webapps as debian packages 2) base the debian packages on tomcat7 3) produce the packages with a maven plugin. The part I need help with is how to create the debian package (2). I'd like to mimic the behaviour of

Re: regarding maven tomcat7 plugin

2013-10-23 Thread Olivier Lamy
Have a look at the goal names list here: http://tomcat.apache.org/maven-plugin-2.1/tomcat7-maven-plugin/plugin-info.html HTH, -- Olivier On 24 October 2013 02:37, Irfan Sayed irfu.sa...@gmail.com wrote: it worked. i haven't restarted the tomcat. ok. now is there any plugin/goal which will

Re: regarding maven tomcat7 plugin

2013-10-23 Thread Irfan Sayed
thanks awesome ! really appreciate regards On Thu, Oct 24, 2013 at 7:53 AM, Olivier Lamy ol...@apache.org wrote: Have a look at the goal names list here: http://tomcat.apache.org/maven-plugin-2.1/tomcat7-maven-plugin/plugin-info.html HTH, -- Olivier On 24 October 2013 02:37, Irfan

regarding maven sleep plugin

2013-10-23 Thread Irfan Sayed
hi, i need to use maven sleep plugin to have delay for some seconds in the war deployment i am facing following error while running command C:\workspace\ua_final\DataIntegration\di-servicesmvn org.jboss.maven.plugins:maven-sleep-plugin:1.0:helpmojo [INFO] Scanning for projects... [WARNING] The

Re: regarding maven tomcat7 plugin

2013-10-23 Thread Irfan Sayed
is there any tomcat7:start goal, i have seen tomcat7:shutdown goal but not the start goal please suggest regards On Thu, Oct 24, 2013 at 9:43 AM, Irfan Sayed irfu.sa...@gmail.com wrote: thanks awesome ! really appreciate regards On Thu, Oct 24, 2013 at 7:53 AM, Olivier Lamy

Re: regarding maven tomcat7 plugin

2013-10-23 Thread Olivier Lamy
no. On 24 October 2013 16:28, Irfan Sayed irfu.sa...@gmail.com wrote: is there any tomcat7:start goal, i have seen tomcat7:shutdown goal but not the start goal please suggest regards On Thu, Oct 24, 2013 at 9:43 AM, Irfan Sayed irfu.sa...@gmail.com wrote: thanks awesome ! really

Re: regarding maven sleep plugin

2013-10-23 Thread Olivier Lamy
That's not a Tomcat related question. BTW I don't know this sleep plugin and cannot find it. You need to ensure it's available tru the repository manager instance you are using On 24 October 2013 16:18, Irfan Sayed irfu.sa...@gmail.com wrote: hi, i need to use maven sleep plugin to have delay