RE: EJB Application development with tomcat 5.5 ?

2009-04-29 Thread Ghufran
No Tomcat version support EJB development. Tomcat is a web application container or Servlet Container You need Application server to deploy your EJBs For example JBOSS, Sun Application server Glassfish etc Ghufran -Original Message- From: Sridhar n [mailto:sreedhar...@gmail.com] Sent:

Re: Servlets that use response.getOutputStream(): do they play nicely with Tomcat's error pages?

2009-04-29 Thread Len Popp
There's no possible way for Tomcat to "start from scratch". If some data has already been sent to the client, it can't be called back to the server. What's sent is sent. Typically, the HTTP response is buffered because the JSP handler does that automatically. So if an error occurs before the respo

Re: Deploying a WAR file in tomcat 6

2009-04-29 Thread Maciek Rakowski
you don't need netbeans to deploy the .war file. You simply put it in your .war file in the webapps directory of the tomcat folder, or use tomcat manager. - Maciek From: astra123 To: users@tomcat.apache.org Sent: Monday, April 27, 2009 2:40:24 AM Subject: De

Re: Servlets that use response.getOutputStream(): do they play nicely with Tomcat's error pages?

2009-04-29 Thread Dave Cherkassky
PID, thanks for your insight. Two comments about that: 1) I agree with you for includes and forwards, but for errors? I would have thought that the definition of "error" is that something went wrong, and Tomcat should start from scratch and just render the error page. I didn't think of it a

Application-specific jar files with Tomcat v6.0

2009-04-29 Thread Shiping.Chen
Hi, I am deploying an axis2 web service with Tomcat v6.0. The web service required a third-part jar file, say x.jar I can make the work service working with Axis2 standalone server by putting x.jar into [axis2_home]/lib. According to Tomcat documents and corresponding discussion, I put x.jar in

Re: sample java application to test session replication in transparen failover cluster

2009-04-29 Thread Filip Hanik - Dev Lists
Googling Tomcat cluster will yield plenty of examples Filip dhanesh kk wrote: Thanks for the information. P On Wed, Apr 29, 2009 at 2:27 PM, Pid wrote: dhanesh kk wrote: Hi Does any one have a sample java web application to share to test a transparent failover cluster in

Re: Apache Tribes: does anything actually use securePort

2009-04-29 Thread Filip Hanik - Dev Lists
Hi Bill, it's not yet implemented. So having the setting in the API, lets us do the implementation. But NIO/SSL is generally a pain in the neck, so I haven't gotten around to it yet if you wish to contribute, please let us know Filip william.m.sm...@gmail.com wrote: I am trying to figure out w

Re: SAML Cross-Domain SSO

2009-04-29 Thread Anoop kumar V
I have tried OpenSSO on Sun glassfish, weblogic and Oracle application server. It rocks! Although I have not tried it on tomcat, I am almost certain that it would be well supported and well documented. The agents link may help: https://opensso.dev.java.net/public/use/agents.html Thanks, Anoop O

Re: Servlets that use response.getOutputStream(): do they play nicely with Tomcat's error pages?

2009-04-29 Thread Mark Thomas
Dave Cherkassky wrote: > Yes, I know -- I *am* using Tomcat 4.1 (rather than the latest and > greatest) for various legacy and political reasons. > > > But my question is this: > - Is this a known bug? Or am I doing something wrong with either the > servlet, the web.xml or with the jsp page? Th

Re: looking for a web usesage / analytics package

2009-04-29 Thread Razi Khaja
Wikipedia has a list of web analytics software http://en.wikipedia.org/wiki/List_of_web_analytics_software

RE: looking for a web usesage / analytics package

2009-04-29 Thread Anthony J. Biacco
Try Awffull instead, it's a webalizer spinoff that's actually still worked on. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com > -Original Message- > From: John Moore [mailto:johnmo...@

Re: looking for a web usesage / analytics package

2009-04-29 Thread Hassan Schroeder
On Wed, Apr 29, 2009 at 3:24 PM, Andrew Davidson wrote: > My problem is that I need to create a tracking jpg. I need a way to count > the number of times this image is loaded. If that's all, why not just write a Filter to grab each request and stuff the relevant data in a DB? Or alternatively, w

RE: looking for a web usesage / analytics package

2009-04-29 Thread John Moore
Webalizer. It's not java based but simple to use. It works with tomcat as well as apache and IIS should you ever have to go down one of those roads. -Original Message- From: Andrew Davidson [mailto:a...@santacruzintegration.com] Sent: Wednesday, April 29, 2009 3:00 PM To: users@tomcat

Re: looking for a web usesage / analytics package

2009-04-29 Thread Razi Khaja
Webalizer is very good and I believe it does exactly what need. I dont think it is available as war file though. http://www.mrunix.net/webalizer/

Re: looking for a web usesage / analytics package

2009-04-29 Thread Pid
Andrew Davidson wrote: > Hi Hassan > > Thanks for the suggestions > > I already use Google Analytics. It is really good. > > My problem is that I need to create a tracking jpg. I need a way to count > the number of times this image is loaded. As far as I know google analytics > can only track a

RE: looking for a web usesage / analytics package

2009-04-29 Thread Andrew Davidson
Hi Hassan Thanks for the suggestions I already use Google Analytics. It is really good. My problem is that I need to create a tracking jpg. I need a way to count the number of times this image is loaded. As far as I know google analytics can only track at the page level and requires Java script

Re: looking for a web usesage / analytics package

2009-04-29 Thread Hassan Schroeder
On Wed, Apr 29, 2009 at 2:59 PM, Andrew Davidson wrote: > Does anyone know of a good web site analytics / usage reporting package? I > do not need anything real fancy, just basic info about # unique visitors, > page views, . > Ideally this would be implemented as a war file I can just drop on my

Re: looking for a web usesage / analytics package

2009-04-29 Thread steve rieger
um google analytics is free or awstats On Wed, Apr 29, 2009 at 2:59 PM, Andrew Davidson wrote: > Hi > > > > Does anyone know of a good web site analytics / usage reporting package? I > do not need anything real fancy, just basic info about # unique visitors, > page views, . > > > > Ideally this w

looking for a web usesage / analytics package

2009-04-29 Thread Andrew Davidson
Hi Does anyone know of a good web site analytics / usage reporting package? I do not need anything real fancy, just basic info about # unique visitors, page views, . Ideally this would be implemented as a war file I can just drop on my server Sorry If this has been asked a million time

RE: GZIP Comrpession Problem

2009-04-29 Thread Glen Goodwin
Minfy does not seem to impact the success of compression one way or another. And I do not want to do just minify alone, but rather want compression and minify together, as the compression saving are more significant than the minify savings. Glen -Original Message- From: Pid [mailto:p...@p

PSYoungGen on Tomcat 6

2009-04-29 Thread S Arvind
If tomcat is started and in idle state without any request handling, whether the PSYoungGen will keep on increasing in tomcat 6? (due to any listener or any tomcat's own process) Thanks, Arvind S * "Many of lifes failure are people who did not realize how close they were to success when they gav

Re: GZIP Comrpession Problem

2009-04-29 Thread Pid
Glen R. Goodwin wrote: > Using Tomcat 6.0.18 I have configured GZIP compression by adding the > following lines to my connector. > > compression="force" > > compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascript > ,text/json,application/json" > > noCompressionUserAgents="

GZIP Comrpession Problem

2009-04-29 Thread Glen R. Goodwin
Using Tomcat 6.0.18 I have configured GZIP compression by adding the following lines to my connector. compression="force" compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascript ,text/json,application/json" noCompressionUserAgents="gozilla, traviata" I am not using

Re: Migrating website from own server to hosting company

2009-04-29 Thread Pid
dfobox wrote: > ok, those errors are gone, seems like I just needed to restart my mac :) > I have another error, but if I try to change JSP file source, nothing > happens. Seems like java files need to be regenerated. Support says I need > to restart Tomcat - even this doesn't help. > try compili

Re: Servlets that use response.getOutputStream(): do they play nicely with Tomcat's error pages?

2009-04-29 Thread Pid
Dave Cherkassky wrote: > A long question: > > First, I have a Servlet that writes to response.getOutputStream(). > Here's a snippet: > public class AuditTrailServlet extends HttpServlet { >public void doGet( HttpServletRequest request, HttpServletResponse > response ) > response.setCont

Re: Migrating website from own server to hosting company

2009-04-29 Thread dfobox
ok, those errors are gone, seems like I just needed to restart my mac :) I have another error, but if I try to change JSP file source, nothing happens. Seems like java files need to be regenerated. Support says I need to restart Tomcat - even this doesn't help. -- View this message in context:

Servlets that use response.getOutputStream(): do they play nicely with Tomcat's error pages?

2009-04-29 Thread Dave Cherkassky
A long question: First, I have a Servlet that writes to response.getOutputStream(). Here's a snippet: public class AuditTrailServlet extends HttpServlet { public void doGet( HttpServletRequest request, HttpServletResponse response ) response.setContentType( "application/vnd.ms-excel" )

Re: GC Problem

2009-04-29 Thread Juha Laiho
S Arvind wrote: > Yeah daily atleast once Out-of-memory will raise and we will restart the > tomcat. As others have already said, this has all the symptoms of a memory leak. It could be Tomcat, but more likely is your application. The continuous GC is a sign of the Java VM running out of memory a

EJB Application development with tomcat 5.5 ?

2009-04-29 Thread Sridhar n
Hello, I want to do EJB applications using tomcat 5.5 .Is it possible to do with tomcat?Could you suggest me in this concern... thanks & regards Sridhar

Re: Migrating website from own server to hosting company

2009-04-29 Thread dfobox
Error comes out only on first click, if you go back and click it again page loads normally. any clues? -- View this message in context: http://www.nabble.com/Migrating-website-from-own-server-to-hosting-company-tp23298137p23299201.html Sent from the Tomcat - User mailing list archive at Nabble.c

Re: Migrating website from own server to hosting company

2009-04-29 Thread dfobox
This is weird. I have copied website but it works randomly - I click on a link to one of jsp pages and sometimes it shows what it's supposed to show, but every other time it comes up with error - the same for any page. HTTP Status 500 - type Exception report message description The server enco

Migrating website from own server to hosting company

2009-04-29 Thread dfobox
I got mochahost Tomcat plan and moving website to remote server. My server ran Tomcat 4.0.4-50 and now website has to work under 5.5.26. What should be done to make this process smooth? Thanks! -- View this message in context: http://www.nabble.com/Migrating-website-from-own-server-to-hosting-

Re: Scheduling tasks in Tomcat

2009-04-29 Thread supareno
Hi, if it is possible, you could use Spring and the scheduling Quartz implementation check out this http://static.springframework.org/spring/docs/2.5.x/reference/scheduling.html regards supareno Hi I would suggest u to use the Listener tag instead of Load on startup org.quartz.ee.servl

Apache Tribes: does anything actually use securePort

2009-04-29 Thread william . m . smith
I am trying to figure out whether it is possible to have Apache 6.0.18 use an encrypted connection to replicate sessions within a cluster. There appears to be a way to specify a "securePort" on a ChannelReceiver but it does not looks as if Tomcat actually uses that setting. Has anyone had a

Re: Scheduling tasks in Tomcat

2009-04-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 4/27/2009 9:39 PM, Martin Gainty wrote: > javac .\org\quartz\ee\servlet\QuartzInitializerServlet.java > place .\org\quartz\ee\servlet\QuartzInitializerServlet.class to > WEB-INF/classes > > your web.xml will need to associate the Servlet

RE: Extra Threads in background

2009-04-29 Thread Peter Crowther
> From: David.Meldrum [mailto:david.meld...@verizon.net] > My least favorite activity is programming by experiment. Try Morris dancing sometime ;-).* Alternatively, enable debugging, connect a suitable debugger and set a breakpoint in the code you want to prevent being called twice? Depends on

Re: Extra Threads in background

2009-04-29 Thread David.Meldrum
Pid, Logging the stack trace is an excellent idea! I already have been counting the the number of Thread starts() (run()) and I found it is indeed being started again somewhere. Looks like I need lots of experiments. My least favorite activity is programming by experiment. -d Pid wrote: D

Re: GC Problem

2009-04-29 Thread Pid
S Arvind wrote: > Is there any good settings for GC for tomcat running in server with 4GB and > Quad Core processor. I bascially need GC parameter for RESOURCE HUNGRY WEB > APPLICATION Why not try fixing the memory leak instead? Reconfiguring the JVM params, memory or GC will only delay the inevi

RE: GC Problem

2009-04-29 Thread Peter Crowther
> From: S Arvind [mailto:arvindw...@gmail.com] > Is there any good settings for GC for tomcat running in > server with 4GB and Quad Core processor. "As much RAM as the OS doesn't need for other purposes". There's no straiht answer for this, as it depends what else is running on the box. You mig

Re: GC Problem

2009-04-29 Thread S Arvind
Is there any good settings for GC for tomcat running in server with 4GB and Quad Core processor. I bascially need GC parameter for RESOURCE HUNGRY WEB APPLICATION -Arvind S * "Many of lifes failure are people who did not realize how close they were to success when they gave up." -Thomas Edison *

RE: GC Problem

2009-04-29 Thread Peter Crowther
> From: S Arvind [mailto:arvindw...@gmail.com] > Yeah daily atleast once Out-of-memory will raise and we will > restart the tomcat. As the amount of free memory goes down, the JVM will have to collect garbage more and more frequently, until you get the symptoms you see where it is spending most

Re: GC Problem

2009-04-29 Thread S Arvind
Yeah daily atleast once Out-of-memory will raise and we will restart the tomcat. Arvind S * "Many of lifes failure are people who did not realize how close they were to success when they gave up." -Thomas Edison* On Wed, Apr 29, 2009 at 6:19 PM, Peter Crowther wrote: > > From: S Arvind [mail

RE: GC Problem

2009-04-29 Thread Peter Crowther
> From: S Arvind [mailto:arvindw...@gmail.com] > Tomcat after running for couple of hours , somthing is > getting wrong and it > is keep on doing Garbage Collection(as it dispaly in console) > . And tomcat > also becoming dump slow.. and we cant able to do any, until > it restarts... I suspect you

Re: Tomcat Users Meetup: London 30th April

2009-04-29 Thread Pid
Mark Thomas wrote: > Pid wrote: >> Not a great deal of enthusiasm so far, so I'm reposting this to see if >> it prompts any additional interest. >> >> Failing that, I'm up for a couple of light refreshing jars of pop if >> anyone else is interested in an informal game of "The Hunting of the Chuck".

Re: GC Problem

2009-04-29 Thread S Arvind
in console its keep on displaying this every second.. 12945.607: [Full GC [PSYoungGen: 340288K->39757K(343552K)] [PSOldGen: 699071K->699071K(699072K)] 1039359K->738829K(1042624K) [PSPermGen: 346754K->346754K(346816K)], 2.6522010 secs] sessionCreated->C63974AACCC2800C89576C0C693467CB 12948.363:

Re: Tomcat Users Meetup: London 30th April

2009-04-29 Thread Mark Thomas
Pid wrote: > Not a great deal of enthusiasm so far, so I'm reposting this to see if > it prompts any additional interest. > > Failing that, I'm up for a couple of light refreshing jars of pop if > anyone else is interested in an informal game of "The Hunting of the Chuck". > > Prizes may include

Re: Tomcat Users Meetup: London 30th April

2009-04-29 Thread S Arvind
Come to india , lot lot of us here using tomcat .!!! -Arvind s * "Many of lifes failure are people who did not realize how close they were to success when they gave up." -Thomas Edison * On Wed, Apr 29, 2009 at 5:58 PM, Pid wrote: > Not a great deal of enthusiasm so far, so I'm reposting thi

Tomcat Users Meetup: London 30th April

2009-04-29 Thread Pid
Not a great deal of enthusiasm so far, so I'm reposting this to see if it prompts any additional interest. Failing that, I'm up for a couple of light refreshing jars of pop if anyone else is interested in an informal game of "The Hunting of the Chuck". Prizes may include a bar of chocolate. p

GC Problem

2009-04-29 Thread S Arvind
Tomcat after running for couple of hours , somthing is getting wrong and it is keep on doing Garbage Collection(as it dispaly in console) . And tomcat also becoming dump slow.. and we cant able to do any, until it restarts... JAVA_HOME=/usr/java/jdk1.5.0_13 JRE_HOME=/usr/java/jdk1.5.0_13/jre expo

Re: sample java application to test session replication in transparen failover cluster

2009-04-29 Thread dhanesh kk
Thanks for the information. P On Wed, Apr 29, 2009 at 2:27 PM, Pid wrote: > dhanesh kk wrote: > > Hi > > > > > > Does any one have a sample java web application to share to test a > > transparent failover cluster in tomcat-6.0.8 (JDK 1.5.0_15) . > > > > I want to trouble shoot either

Re: Using encoded slashes safely

2009-04-29 Thread Mark Thomas
Bill Higgins wrote: > 1) Do you consider the automatic decoding of encoded slashes to be a > defect vs. the URI spec? It looks like it based on my reading so far. > 2) If so, do you think it would be worth it if I filed a bug report > (or does one already exist)? Please do. If there is a good reas

Re: Having tomcat as an OSGi bundle

2009-04-29 Thread Mark Thomas
jochen wrote: > Will tomcat 7 support OSGI? There are no plans for this I am aware of. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Using encoded slashes safely

2009-04-29 Thread Tim Funk
IIRC, HttpServletRequest.getQueryString() should provide the query string you desire. -Tim Bill Higgins wrote: On Tue, Apr 28, 2009 at 3:19 AM, Mark Thomas wrote: Bill Higgins wrote: We have a servlet that acts as a proxy to other URLs from different origins. E.g. via your web app you could

Re: Using encoded slashes safely

2009-04-29 Thread Bill Higgins
On Tue, Apr 28, 2009 at 3:19 AM, Mark Thomas wrote: > Bill Higgins wrote: >> We have a servlet that acts as a proxy to other URLs from different >> origins. E.g. via your web app you could get to the Google home page >> via a URL like: >> >> http://localhost/myapp/proxy/http%3A%2F%2Fwww.google.com

Re: sample java application to test session replication in transparen failover cluster

2009-04-29 Thread Pid
dhanesh kk wrote: > Hi > > > Does any one have a sample java web application to share to test a > transparent failover cluster in tomcat-6.0.8 (JDK 1.5.0_15) . > > I want to trouble shoot either my cluster or my Java application. Because > sessions are expiring when I shutdown a one t

Re: Develop & Configuration of Valve

2009-04-29 Thread Pid
Dinesh Gupta wrote: > Hi All, > > Have any one developed the custom Error Valve. So that if any exception > occurs , I can route it as I want. > > Please help me. Step 1. Download latest Tomcat source from tomcat.apache.org. Step 2. Create copy of modified Error Valve (in your own package). St

Re: Extra Threads in background

2009-04-29 Thread Pid
David.Meldrum wrote: > Running Tomcat 6.0.18 Standalone on Windows XP. > > I need a background task which I implemented as a thread that I stated > in the ContextListerner. In the contextInitilized() method I create and > started the background process. I give it a name and made it a daemon. >

Re: SAML Cross-Domain SSO

2009-04-29 Thread Noam Ramonet
Thanks Pid, that is a good reference. Have anybody tried OpenSSO on Tomcat, or could give some suggestion about this two solutions (Shibboleth vs OpenSSO). Noam Ramonet wrote: Hello, I need to implement SAML Cross-Domain SSO on Tomcat 5.5 servers. Initially, IdP initiated post bindin