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 wrote: > hi, > > i need to use maven sleep plugin to have delay for some seconds i

Re: regarding maven tomcat7 plugin

2013-10-23 Thread Olivier Lamy
no. On 24 October 2013 16:28, Irfan Sayed 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 wrote: > >> thanks awesome ! >> really appreciate >> >> regards >> >

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 wrote: > thanks awesome ! > really appreciate > > regards > > > > On Thu, Oct 24, 2013 at 7:53 AM, Olivier Lamy wrote: > >> Have a lo

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-services>mvn org.jboss.maven.plugins:maven-sleep-plugin:1.0:helpmojo [INFO] Scanning for projects... [WARNING] The P

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

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 wrote: > it worked. i haven't restarted the tomcat. > ok. now is there any plugin/goal which will redeploy the existing w

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

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: > > http://stackoverflow.com/questions/19546324/apach

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 WebS

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 proxypass/re

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 ri

Host container and Context Issue

2013-10-23 Thread PELL Scott H
Hi, all, I'm running Tomcat 7.0.42 on Windows 2012 with multiple instances for a large and complex deployment of ColdFusion and Java web applications that have been on JRun for about 10 years. As we prepare to move to standard Apache Tomcat, rather than Adobe's version used for ColdFusion 10,

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

2013-10-23 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Restrict the use of JDK classes Tomcat 7 or 6 > When you say "Java classes", are you talking about re-defining > something like java.lang.String? If so, then the servlet spec (3.0: > 10.7.2) prohibits web application

Apache2 mod_jk segfaults with OS X Mavericks

2013-10-23 Thread Peter Aarestad
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: http://stackoverflow.com/questions/19546324/apache2-mod-jk-segfaults-with-os-x-mavericks Summary: it seems that mod_jk is causing apache2 to segfault in Maveri

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 comp

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

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 init(Ser

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 wrote: > 2013/10/23 Irfa

Re: Servlet init method called multiple times

2013-10-23 Thread Richard Pierce
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 10/23/13 11:27 AM, "Christopher Schultz" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Richard, > >On 10/22/13 6:57 PM, Richard P

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 > > wrote: > >> Hi there, >> >> I'm receiving the following exception: >> >> java.net.SocketException: "Permission denied": connect >> >> when

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 restar

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 ap

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 R

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

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 Webso

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). Tomc

Re: regarding maven tomcat7 plugin

2013-10-23 Thread Konstantin Kolinko
2013/10/23 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)* > > > TomcatServer > admin > passw

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)* TomcatServer admin password *pom.xml contents:* org.apache.t

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

2013-10-23 Thread Konstantin Kolinko
2013/10/23 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. > The rules: http://

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, users@tomcat.a

Re: Servlet init method called multiple times

2013-10-23 Thread Konstantin Kolinko
2013/10/23 Caldarale, Charles R : >> 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 to the init() met

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

2013-10-23 Thread ANALIA DE PEDRO SANTAMARIA
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 approaching this is to avoid loading certain Java libraries. So what I want to do is set up Tomcat (or the Security Manag