RE: deploy application in new service in tomcat

2013-02-07 Thread Anil Goyal -X (anigoyal - Aricent Technologies at Cisco)
Thanks for the reply Andre. Let me explain you in detail. Let's suppose we have two applications App1.war and App2.war, deployed in webapps of tomcat. Now I want only App2 to listen additionally on a separate connector port(lets suppose 8181) along with port 8080 to which it is already list

Re: Severe Errrors encountered in Tomcat when running a Struts2 project...

2013-02-07 Thread Tripti Mehta
Thank you. My problem is solved ! On Thu, Feb 7, 2013 at 6:25 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Tripti Mehta [mailto:mehtatript...@gmail.com] > > Subject: Re: Severe Errrors encountered in Tomcat when running a Struts2 > project... > > > > I keep getting this

Re: Severe Errrors encountered in Tomcat when running a Struts2 project...

2013-02-07 Thread Tripti Mehta
What should I do...I did not change anything since the last time except deleting and reinstalling the new instance 64 bit version of Tomcat. What should I do to solve this problem? Thanks On Thu, Feb 7, 2013 at 6:25 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Tripti M

Re: problem with context.xml for parallel deployments

2013-02-07 Thread Zippy Zeppoli
Ah, the author himself! Perhaps this will help http://www.walmart.com/ip/1058245?wmlspartner=wlpa&adid=2270&wl0=&wl1=g&wl2=&wl3=21486607510&wl4=&wl5=pla&veh=sem On Thu, Feb 7, 2013 at 11:30 AM, Mark Thomas wrote: > On 07/02/2013 19:17, Zippy Zeppoli wrote: >> I've been testing out

RE: Severe Errrors encountered in Tomcat when running a Struts2 project...

2013-02-07 Thread Caldarale, Charles R
> From: Tripti Mehta [mailto:mehtatript...@gmail.com] > Subject: Re: Severe Errrors encountered in Tomcat when running a Struts2 > project... > I keep getting this error > java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\ > apache-tomcat-7.0.35\bin\tcnative-1.dll: > Can't load IA 32-bit

Re: Severe Errrors encountered in Tomcat when running a Struts2 project...

2013-02-07 Thread Tripti Mehta
Hello Chuck, Thanks for helping me on the earlier occasion with my Tomcat. Now the issue is coming to haunt again as I am trying to use Tomcat to connect to Mysql database. I keep getting this error java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\apache-tomcat-7.0.35\bin\tcnative-1.dll: Ca

Re: Autowired spring bean not working in tomcat 7.0.35 with jax-ws

2013-02-07 Thread Mark Thomas
On 07/02/2013 19:49, J- MAN wrote: > >> .. You suspect that your listeners are called in wrong order? >> In what order do you expect them to be called? >> >> .. Try "logEffectiveWebXml" option on Context >> >> .. What are your evidences? >> >> .. If you cannot get much from logging, maybe debuggin

Re: Issue with Connections

2013-02-07 Thread Leon Rosenberg
Hello, >I'm not sure if the fix is in my application, network >settings or the OS file descriptor limits. what does ulimit -n say? regards Leon On Wed, Feb 6, 2013 at 7:57 PM, TVFoodMaps wrote: > Thanks for the information. I'm still a bit perplexed how to > increase/change the settings so

Re: CSRF and nonce Config ???

2013-02-07 Thread Konstantin Kolinko
2013/2/7 Christopher Schultz : > Konstantin, > > On 2/7/13 5:19 AM, Konstantin Kolinko wrote: >> Any other web application that wants to use this feature has to >> configure this filter explicitly and must pass all important URLs >> through HttpServletResponse.encodeURL(). > > Web applications shou

Re: Autowired spring bean not working in tomcat 7.0.35 with jax-ws

2013-02-07 Thread J- MAN
>.. You suspect that your listeners are called in wrong order? >In what order do you expect them to be called? > >.. Try "logEffectiveWebXml" option on Context > >.. What are your evidences? > >.. If you cannot get much from logging, maybe debugging would help >http://wiki.apache.org/tomcat/FAQ/De

Re: problem with context.xml for parallel deployments

2013-02-07 Thread Mark Thomas
On 07/02/2013 19:17, Zippy Zeppoli wrote: > I've been testing out parallel deployments > (http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Parallel_deployment) > in my tomcat cluster. It seems to work really well if I futz around > with naming the filenames. > > Here's what works: > 1)

problem with context.xml for parallel deployments

2013-02-07 Thread Zippy Zeppoli
I've been testing out parallel deployments (http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Parallel_deployment) in my tomcat cluster. It seems to work really well if I futz around with naming the filenames. Here's what works: 1) cp /artifacts/someapp##001.war /tmp/war-listener --- app

Re: Autowired spring bean not working in tomcat 7.0.35 with jax-ws

2013-02-07 Thread J- MAN
>1. You suspect that your listeners are called in wrong order? >In what order do you expect them to be called? > >2. Try "logEffectiveWebXml" option on Context > >3. What are your evidences? > >4. If you cannot get much from logging, maybe debugging would help >http://wiki.apache.org/tomcat/FAQ/De

Re: Running Tomcat in Debug Mode on Windows 7

2013-02-07 Thread Quentin Spencer
Thanks for your help, Dan. I re-did the steps I listed and it worked. On Thu, Feb 7, 2013 at 10:47 AM, Daniel Mikusa wrote: > On Feb 7, 2013, at 10:35 AM, Quentin Spencer wrote: > > > Thank you Dan, I did see that FAQ and bullet. I tried adding the > > lines"-Xdebug > > -Xrunjdwp:transport=dt_s

Re: Running Tomcat in Debug Mode on Windows 7

2013-02-07 Thread Daniel Mikusa
On Feb 7, 2013, at 10:35 AM, Quentin Spencer wrote: > Thank you Dan, I did see that FAQ and bullet. I tried adding the > lines"-Xdebug > -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" to the Java > Options box in the Java tab of the Common Daemon Service manager but Tomcat > wouldn

Re: Running Tomcat in Debug Mode on Windows 7

2013-02-07 Thread Quentin Spencer
Thank you Dan, I did see that FAQ and bullet. I tried adding the lines"-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" to the Java Options box in the Java tab of the Common Daemon Service manager but Tomcat wouldn't start after I did this. If someone could give me more detail

Re: CSRF and nonce Config ???

2013-02-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 2/7/13 5:19 AM, Konstantin Kolinko wrote: > Any other web application that wants to use this feature has to > configure this filter explicitly and must pass all important URLs > through HttpServletResponse.encodeURL(). Web applicat

Re: Running Tomcat in Debug Mode on Windows 7

2013-02-07 Thread Daniel Mikusa
On Feb 7, 2013, at 9:14 AM, Quentin Spencer wrote: > I want to run TomCat in debug mode so I can debug my servlet from Eclipse. > > I installed TomCat 7 using the Windows Installer. It was installed as a > service, managed by the Commons Daemon Service Manager. It runs servlets > fine (i.e., no p

Running Tomcat in Debug Mode on Windows 7

2013-02-07 Thread Quentin Spencer
I want to run TomCat in debug mode so I can debug my servlet from Eclipse. I installed TomCat 7 using the Windows Installer. It was installed as a service, managed by the Commons Daemon Service Manager. It runs servlets fine (i.e., no problems with normal TC operation). I did the following: 1. A

Re: deploy application in new service in tomcat

2013-02-07 Thread André Warnier
André Warnier wrote: Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) wrote: Hi, I am creating a new service in tomcat (7.0.20) with service name 'catalina_new' and appBase='webapps' by doing some changes in server.xml. I am keeping the appBase same as that for default service 'catali

Re: deploy application in new service in tomcat

2013-02-07 Thread André Warnier
Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) wrote: Hi, I am creating a new service in tomcat (7.0.20) with service name 'catalina_new' and appBase='webapps' by doing some changes in server.xml. I am keeping the appBase same as that for default service 'catalina' I have several appl

Re: deploy application in new service in tomcat

2013-02-07 Thread Daniel Mikusa
On Feb 7, 2013, at 8:03 AM, Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) wrote: > Hi, > > I am creating a new service in tomcat (7.0.20) This is really old, you should upgrade. > with service name 'catalina_new' and appBase='webapps' by doing some changes > in server.xml. > I am k

deploy application in new service in tomcat

2013-02-07 Thread Anil Goyal -X (anigoyal - Aricent Technologies at Cisco)
Hi, I am creating a new service in tomcat (7.0.20) with service name 'catalina_new' and appBase='webapps' by doing some changes in server.xml. I am keeping the appBase same as that for default service 'catalina' I have several applications deployed under webapps. I want only a single application

Re: CSRF and nonce Config ???

2013-02-07 Thread Konstantin Kolinko
2013/2/7 N.s.Karthik : > Hi > > Spec > jsk1.6 > SuseLinux Enterprise10 > Tomcat 6.0.30 > Apache http2.2 > > I have read thru the URL > http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html > for 'CSRF' and nonce > > But have been confused > > Is this 'CSRF prevented from within Tomcat 7 by de

CSRF and nonce Config ???

2013-02-07 Thread N.s.Karthik
Hi Spec jsk1.6 SuseLinux Enterprise10 Tomcat 6.0.30 Apache http2.2 I have read thru the URL http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html for 'CSRF' and nonce But have been confused Is this 'CSRF prevented from within Tomcat 7 by default or is it configurable by using the 'nonc

RE: Tomcat in port 80 and Debian

2013-02-07 Thread Brett Delle Grazie
On 6 Feb 2013 14:06, "Caldarale, Charles R" wrote: > > > From: Brett Delle Grazie [mailto:brett.dellegra...@gmail.com] > > Subject: Re: Tomcat in port 80 and Debian > > > > This topic is mentioned in the FAQ, > > > http://wiki.apache.org/tomcat/HowTo#How_to_run_Tomcat_without_root_privileges.3F >

Re: Autowired spring bean not working in tomcat 7.0.35 with jax-ws

2013-02-07 Thread Konstantin Kolinko
2013/2/7 J- MAN : > > Hi, > On tomcat 7.0.35 when i have 2 listeners (jax-ws and spring) in my web.xml my > spring beans do not get initialized. It seems as though it initializes my > the jax-ws webservice class via sun-jaxws.xml before initializing my beans. > It works fine in Tomcat 6, any w