Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Jeff MAURY
I probably means you generated jsvc in a 32bit environment so a warning is probably issued by the OS Jeff On Sat, Aug 25, 2012 at 4:24 PM, Fred Janon wrote: > Thanks Martin. > > I get a warning in the system log at boot time, I don't understand what it > means or where it comes from: > > *warn

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-25 Thread Ivan Polak
thank you for your answer. "invitations" is served by a filter and translated from http://localhost:8080/app/invitations/ to Spring MVC controller, in urlrewrite filter configuration is: /invitations/(.*) /invitations.html and in Spring MVC configuration is:

Re: getRealPath returns null

2012-08-25 Thread Mark Eggers
On 8/25/2012 12:19 PM, Konstantin Kolinko wrote: 2012/8/25 Mark Eggers : On 8/25/2012 5:01 AM, Konstantin Kolinko wrote: That PDF-generating library - where it sits? Is it on Server? It sits in the application. It's actually two jar files - one that does the PDF translation proper and the o

Re: Class not Found, but it's in WEB-INF/classes

2012-08-25 Thread Jonathan Rosenberg
On Sat, Aug 25, 2012 at 3:40 PM, Konstantin Kolinko wrote: > 2012/8/25 Jonathan Rosenberg : >> BTW: it's Tomcat 7.0.12 > When Tomcat starts, its prints its version number, e.g. > INFO: Starting Servlet Engine: Apache Tomcat/7.0.30-dev I see this in the console output: INFO: Starting Servle

Re: Class not Found, but it's in WEB-INF/classes

2012-08-25 Thread Konstantin Kolinko
2012/8/25 Jonathan Rosenberg : > BTW: it's Tomcat 7.0.12 > When Tomcat starts, its prints its version number, e.g. INFO: Starting Servlet Engine: Apache Tomcat/7.0.30-dev It does not look like 7.0.12 (from your stack trace), but if it really is one, you should upgrade. Early versions of Tomcat 7

Re: getRealPath returns null

2012-08-25 Thread Konstantin Kolinko
2012/8/25 Mark Eggers : > On 8/25/2012 5:01 AM, Konstantin Kolinko wrote: >> >> That PDF-generating library - where it sits? Is it on Server? >> > > It sits in the application. It's actually two jar files - one that does the > PDF translation proper and the other is a tag library. > > >> How does t

Re: getRealPath returns null

2012-08-25 Thread Mark Eggers
On 8/25/2012 11:42 AM, Terence M. Bandoian wrote: On 8/25/2012 7:01 AM, Konstantin Kolinko wrote: 2012/8/25 Mark Eggers : On 8/24/2012 2:55 PM, Konstantin Kolinko wrote: 2012/8/25 Mark Eggers : (...) An application makes use of a PDF library which generates PDFs from JSP pages. One of these

Re: Class not Found, but it's in WEB-INF/classes

2012-08-25 Thread Jonathan Rosenberg
BTW: it's Tomcat 7.0.12 -- Jonathan Rosenberg Founder & Executive Director Tabby's Place, a Cat Sanctuary http://www.tabbysplace.org/ On Sat, Aug 25, 2012 at 2:53 PM, Jonathan Rosenberg wrote: > On Sat, Aug 25, 2012 at 2:45 PM, Konstantin Kolinko > wrote: >> 2012/8/25 Jonathan Rosenberg : >>

Re: Class not Found, but it's in WEB-INF/classes

2012-08-25 Thread Jonathan Rosenberg
On Sat, Aug 25, 2012 at 2:45 PM, Konstantin Kolinko wrote: > 2012/8/25 Jonathan Rosenberg : >> I'm learning Spring by working on a very small Sporing Hello World app >> in Eclipse. I know this isn;t a Spring list, but I don;t think this >> is a Spring problem. > You aren't saying Toncat version,

Re: Class not Found, but it's in WEB-INF/classes

2012-08-25 Thread Konstantin Kolinko
2012/8/25 Jonathan Rosenberg : > I'm learning Spring by working on a very small Sporing Hello World app > in Eclipse. I know this isn;t a Spring list, but I don;t think this > is a Spring problem. > You aren't saying Toncat version, so it's not a Tomcat problem either. > In my dispatcher-servle

Re: getRealPath returns null

2012-08-25 Thread Terence M. Bandoian
On 8/25/2012 7:01 AM, Konstantin Kolinko wrote: 2012/8/25 Mark Eggers : On 8/24/2012 2:55 PM, Konstantin Kolinko wrote: 2012/8/25 Mark Eggers : (...) An application makes use of a PDF library which generates PDFs from JSP pages. One of these pages includes a dynamically generated graph. This

Re: getRealPath returns null

2012-08-25 Thread Mark Eggers
On 8/25/2012 5:01 AM, Konstantin Kolinko wrote: 2012/8/25 Mark Eggers : On 8/24/2012 2:55 PM, Konstantin Kolinko wrote: 2012/8/25 Mark Eggers : (...) An application makes use of a PDF library which generates PDFs from JSP pages. One of these pages includes a dynamically generated graph. Thi

Class not Found, but it's in WEB-INF/classes

2012-08-25 Thread Jonathan Rosenberg
I'm learning Spring by working on a very small Sporing Hello World app in Eclipse. I know this isn;t a Spring list, but I don;t think this is a Spring problem. In my dispatcher-servlet config file (Spring specific file) I have this When I start the server (within Eclipse), I ge

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
Just for information, I got to run tomcat7 on AWS Linux (CentOS) as a daemon and using port 80. Cheers, Fred On Sat, Aug 25, 2012 at 4:24 PM, Fred Janon wrote: > Thanks Martin. > > I get a warning in the system log at boot time, I don't understand what it > means or where it comes from: > > *w

Re: asyncTimeout value ignored when using APR connector on Windows

2012-08-25 Thread Nikos Viorres
Thanks a lot for the elaborate reply, i am going to a clean-install and retest. On Sat, Aug 25, 2012 at 6:16 PM, Konstantin Kolinko wrote: > 2012/8/23 Nikos Viorres : > > Dear all, > > > > Apologies for duplicate question but i was initially subscribed to the > > digest list only and i am having

Re: asyncTimeout value ignored when using APR connector on Windows

2012-08-25 Thread Konstantin Kolinko
2012/8/23 Nikos Viorres : > Dear all, > > Apologies for duplicate question but i was initially subscribed to the > digest list only and i am having trouble with follow ups. > > The value that i set to Tomcat's asyncTimeout connector property is ignored > when using the APR connector on Windows no m

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-25 Thread Konstantin Kolinko
2012/8/25 Ivan Polak : > Hi! > > Recently, we have migrated my web app from Tomcat 6.0.16 to Tomcat > 7.0.29. The application works fine for most of the part but gives > problem with URLRewriteFilter. I am using URLRewriteFilter version > 4.0.5. > > In tomcat 6.0.16 everything is OK, > > URLRewrite

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
Thanks Martin. I get a warning in the system log at boot time, I don't understand what it means or where it comes from: *warning: `jsvc' uses 32-bit capabilities (legacy support in use)* Any idea? Thanks Fred On Sat, Aug 25, 2012 at 3:11 PM, Martin Gainty wrote: > > Its amazing what you can

problem with filters on Tomcat 7.0.16 and above

2012-08-25 Thread Ivan Polak
Hi! Recently, we have migrated my web app from Tomcat 6.0.16 to Tomcat 7.0.29. The application works fine for most of the part but gives problem with URLRewriteFilter. I am using URLRewriteFilter version 4.0.5. In tomcat 6.0.16 everything is OK, URLRewriteFilter has status information page on ht

RE: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Martin Gainty
Its amazing what you can do with god access! do a quick netstat -ab | grep 80 to make sure port 80 is not already taken..you dont want to accidentally step on Apache HTTP Server put hostname:80 in your browser too //if port 80 is not bound to Apache or IIS and you want to start on port 80 don

Re: getRealPath returns null

2012-08-25 Thread Konstantin Kolinko
2012/8/25 Mark Eggers : > On 8/24/2012 2:55 PM, Konstantin Kolinko wrote: >> 2012/8/25 Mark Eggers : >>> >>>(...) >>> >>> An application makes use of a PDF library which generates PDFs from JSP >>> pages. One of these pages includes a dynamically generated graph. >>> >>> This library cannot use str

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
It looks like that was it, some directories (logs, work...) were created with the wrong user permissions during my previous attempts at running daemon without sudo. I deleted all the dirs and files created by ec2-user and ran "sudo ./daemon.sh start". Tomcat started without any errors and I can se

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
Hi Martin, I realized that some of the directories were created with the ec2-user in some of my previous tries before running daemon.sh. I am deleting all these dirs/files and see if daemon.sh works now. Cheers, Fred On Sat, Aug 25, 2012 at 9:20 AM, Fred Janon wrote: > Thanks for the suggesti

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-25 Thread Fred Janon
Thanks for the suggestions Martin, I'll give them a try in a couple of hours, I've got to do something now. I tried the same daemon script at boot time from init.d and I get the same issue, it runs under root. Does that mean that my setting for the tomcat user for jsvc is not working? I assumed th