Difference between running bootstrap.jar and catalina.bat

2009-05-14 Thread Jan Horký
Hi, I have problem with running my app. When I run Tomcat 5.5 | 6.0 by java -jar bootstrap.jar start It works fine, but when I try run it by catalina.bat or install as servise I got some class found problems. Shortly... Some features of application is based on jaxb1 and I need there web servise

How to get thread dump on Tomcat 6 (windows)

2009-05-14 Thread madhu sudhan bandari
Hi All, I am running my applications on Tomcat 6.0 at windows 2000 server. I have tried to use ctrl+break to get thread dump on the command prompt where the process is running but didn't get the expected output. can somebody help me on this. Let me know if you need more information on the same.

Re: Difference between running bootstrap.jar and catalina.bat

2009-05-14 Thread André Warnier
Jan Horký wrote: Hi, I have problem with running my app. When I run Tomcat 5.5 | 6.0 by java -jar bootstrap.jar start It works fine, but when I try run it by catalina.bat or install as servise I got some class found problems. Shortly... Some features of application is based on jaxb1 and I need

Re: General errors in virtual host setup

2009-05-14 Thread André Warnier
Dave, from the whole collection of recent messages, it very much looks to me as if you are effectively trying to run 2 Tomcats on this machine, and that they somehow conflict in terms of ports, maybe in terms of which applications they run, etc.. A while ago, you mentioned another server, for

Re: javax.naming.NameNotFoundException with JAXWS RI 2.5 and Tomcat 6.0

2009-05-14 Thread Bharath R
Tomcat 6.0 supports version 2.5 of the servlet spec, whereas Tocmat 5.5 uses 2.4; the 2.5 spec includes resource annotations, whereas 2.4 doesn't. You didn't bother to specify a spec version in your web.xml. Do you suggest I put the 2.4 servlet spec version in web.xml? so Tomcat chose the one

Re: Difference between running bootstrap.jar and catalina.bat

2009-05-14 Thread Jan Horký
Hi, thank you for replay. I tried to set various options in strartup.bat but It didn't work. It worked only if I ran java -jar bootstrap.jar start command from commnad line in tomcat\bin\. The thing which I'm interested in is which options (variables) are used when I start Tomcat this way (java

Re: General errors in virtual host setup

2009-05-14 Thread André Warnier
Dave Filchak wrote: ... The site root is in /web/exodus.zuka.net/docs. I have added a ROOT directory to this. I have moved my exodus.war file into this ROOT directory. When I restart tomcat, the WAR file is not unpacked. I have verified the site by creating an index.htm file and then

Re: Tomcat (re-)packaging, relocation etc..

2009-05-14 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, André Warnier wrote: I wonder if it is not time to make peace on this issue and maybe trying to find a reasonable middle ground. As someone who has previously worked on Debian's packaging of Tomcat (though not very recently), I think it would

OutOfMemory Exception

2009-05-14 Thread Ramprasad Venkata Inala
Hi, I have been using Tomcat6.1( running on windows ) for an application that has been connecting to Infor ERP LN ( formerly BaaN ). It is given with a webapp which was installed on Tomcat and that's the way it connects to ERPLN from Tomcat. This is setup running fine ( for 2 years now, no

Peformance on socket reads

2009-05-14 Thread David kerber
This post is a follow-on to my performance with many small requests thread from a couple days ago. I have been watching my app, and taking thread dumps when things seem to be running a bit slower than I would like. Right now, the biggest bottleneck seems to be on the POST data read. Here is

Tomcat ReadTimout on Http post

2009-05-14 Thread czeno2002
Hi, I'm experiencing a really ugly readtimout problem in the production system started a couple of days ago. The main problem is that there is no way to reproduce it at all and it happens only on the production boxes aprox 5 times at every hour. We have a Cisco load balancer up front (no

RE: javax.naming.NameNotFoundException with JAXWS RI 2.5 and Tomcat 6.0

2009-05-14 Thread Martin Gainty
after you sort out the CNFE you'll want to address the lookup problem in this scenario the FactoryBean JaxWsPortProxyFactoryBean returns a proxy that implements our business service interface. In the example the JaxWsPortProxyFactoryBean is used to create a proxy for the 'AccountService'

Re: Peformance on socket reads

2009-05-14 Thread Rainer Jung
On 14.05.2009 14:34, David kerber wrote: This post is a follow-on to my performance with many small requests thread from a couple days ago. I have been watching my app, and taking thread dumps when things seem to be running a bit slower than I would like. Right now, the biggest bottleneck

RE: General errors in virtual host setup

2009-05-14 Thread Caldarale, Charles R
From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: General errors in virtual host setup I can now connect to my default site as long as I add the port into the url. However, I have changed the port to 8081 and the connector port to 8010. I did this because when I did a netstat -o,

Tomcat GC threads

2009-05-14 Thread Chetan Chheda
All,     We are using -XX:+UseParNewGC option in our Tomcat JVMs with -XX:ParallelGCThreads=16 on a 6 CPU system. What is the real impact of having a higher number of GC threads than the number of CPUs? With the 2 tomcat JVMs running on the box, would you recommend changing it to 6 for each

RE: OutOfMemory Exception

2009-05-14 Thread Caldarale, Charles R
From: Ramprasad Venkata Inala [mailto:rin...@cordys.com] Subject: OutOfMemory Exception I have been using Tomcat6.1 There's no such level; what are you really running? Also, what JVM are you using? The memory size of process has hit high and doesn't come down at all. And a heap profiler

Re: Tomcat GC threads

2009-05-14 Thread Rainer Jung
On 14.05.2009 15:29, Chetan Chheda wrote: We are using -XX:+UseParNewGC option in our Tomcat JVMs with -XX:ParallelGCThreads=16 on a 6 CPU system. What is the real impact of having a higher number of GC threads than the number of CPUs? With the 2 tomcat JVMs running on the box, would you

RE: javax.naming.NameNotFoundException with JAXWS RI 2.5 and Tomcat 6.0

2009-05-14 Thread Caldarale, Charles R
From: Bharath R [mailto:bharath.mail.l...@gmail.com] Subject: Re: javax.naming.NameNotFoundException with JAXWS RI 2.5 and Tomcat 6.0 Do you suggest I put the 2.4 servlet spec version in web.xml? That would probably work; you could also remove the annotations, since they're not doing

Re: General errors in virtual host setup

2009-05-14 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: General errors in virtual host setup I can now connect to my default site as long as I add the port into the url. However, I have changed the port to 8081 and the connector port to 8010. I did this because when

AW: Tomcat Cluster Deployment without WAR

2009-05-14 Thread Alexander Diedler
Hello, No info about Deployment of Apps without war-Files? Greetings Alexander Von: Alexander Diedler [mailto:adied...@tecracer.de] Gesendet: Mittwoch, 13. Mai 2009 15:52 An: Tomcat Users List Betreff: Tomcat Cluster Deployment without WAR Hello, It is possible to make a Cluster

RE: General errors in virtual host setup

2009-05-14 Thread Caldarale, Charles R
From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: General errors in virtual host setup Can I just kill all java pids and then restart the version of tomcat I know I installed? Yes, but if there's an /etc/init.d script for the one you don't want, it will restart when the system is

RE: Tomcat Cluster Deployment without WAR

2009-05-14 Thread Caldarale, Charles R
From: Alexander Diedler [mailto:adied...@tecracer.de] Subject: AW: Tomcat Cluster Deployment without WAR No info about Deployment of Apps without war-Files? Just what's in the doc. But if you don't bother to tell us something useful, such as the Tomcat version, then it's rather difficult

Basic Java questions

2009-05-14 Thread Dave Filchak
In trying to troubleshoot my ongoing issues with deploying a Tomcat app, I have been trying to track down any duplicate java/tomcat installs. I made some changes I thought would work and now when I issue the command: which java, I get: /usr/bin/which: no java in

Re: Performance with many small requests

2009-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 5/12/2009 9:38 AM, Caldarale, Charles R wrote: Might be interesting to modify it to run with more cores, if you have a system available. Here are the results I got on two different systems. Note that I compiled the test code using the 1.5

Re: Basic Java questions

2009-05-14 Thread Ken Bowen
Hard to say about everything. But /opt/java/bin/java in your path is very suspicious. Check whether that is in fact the executable itself by just trying to execute /opt/java/bin/java It might be that you need /opt/java/bin in the path instead. I also would cd to

Re: Basic Java questions

2009-05-14 Thread André Warnier
Dave Filchak wrote: In trying to troubleshoot my ongoing issues with deploying a Tomcat app, I have been trying to track down any duplicate java/tomcat installs. I made some changes I thought would work and now when I issue the command: which java, I get: /usr/bin/which: no java in

RE: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-14 Thread Pantvaidya, Vishwajit
I set connectionTimeout in server.xml to 60 and now the RUNNABLE threads go back to WAITING stage after that time. But our other servers which are running the same configuration, same webapp and do not have connectionTimeout set in server.xml, do not show so many RUNNABLE threads, but more

Re: Form Based Authentication creates user session before it is authenticated?

2009-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/13/2009 8:16 AM, Caldarale, Charles R wrote: From: umeshkavade [mailto:umeshkav...@yahoo.co.in] Subject: Re: Form Based Authentication creates user session before it is authenticated? P.S: BTW, is Tomcat planning to resolve this

Re: Form Based Authentication creates user session before it is authenticated?

2009-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 5/13/2009 9:27 AM, Martin Gainty wrote: if you are asking how to overcome Man-in-the-middle fraudulent manipulation based on basic authentication? He's not. and or Man-in-the middle fraudulent manipulation based on Form-based

.html pages as .jsp pages

2009-05-14 Thread Dola Woolfe
Hi, I need to give my jsp files the extension .html 1. How do I configure tomcat to treat .html files as .jsp files? 2. Off topic? How do I set up Eclipse so that .html files are opened with the same editor as .jsp files and give me all of the syntax highlighting, etc. Many thanks in

Re: Basic Java questions

2009-05-14 Thread Dave Filchak
André Warnier wrote: Dave Filchak wrote: In trying to troubleshoot my ongoing issues with deploying a Tomcat app, I have been trying to track down any duplicate java/tomcat installs. I made some changes I thought would work and now when I issue the command: which java, I get:

Re: Difference between running bootstrap.jar and catalina.bat

2009-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan, On 5/14/2009 5:05 AM, Jan Horký wrote: Hi, thank you for replay. I tried to set various options in strartup.bat but It didn't work. It worked only if I ran java -jar bootstrap.jar start command from commnad line in tomcat\bin\. The thing

Re: How to get thread dump on Tomcat 6 (windows)

2009-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Madhu, On 5/14/2009 4:02 AM, madhu sudhan bandari wrote: I am running my applications on Tomcat 6.0 at windows 2000 server. I have tried to use ctrl+break to get thread dump on the command prompt where the process is running but didn't get the

RE: .html pages as .jsp pages

2009-05-14 Thread Martin Gainty
!-- The mapping for the JSP servlet -- servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namefork/param-name param-valuefalse/param-value /init-param

RE: .html pages as .jsp pages

2009-05-14 Thread Dola Woolfe
I create pages dynamics pages in JSP. That way I control dynamic content and look at feel. Then I wget -m the whole website and upload it to the server where it acts as static content and I want all of my pages to have the usual .html extension. Let me know if you think the whole approach

file type being blocked by IE

2009-05-14 Thread Brandon Steward
I have a Tomcat web application that generates output files and the files have the extension .zip. I try to download them in IE, but I get the generic error from IE saying it cannot download the file. I can try the same thing in Firefox and it works just fine. I've tried going through my IE

tomcat no longer writing to log files

2009-05-14 Thread Michael A. Repucci
Hi Tomcat'ers, I'm completely new to Tomcat, and very unfamiliar with JSP or web applications in general. I've been trying to set up an application on my system (Ubuntu 9.04) that works just fine on my colleagues' systems (Windows XP). I've got Tomcat working just fine, and the manager and demo

What is the difference?

2009-05-14 Thread Dave Filchak
Curious, What is the difference between java -version and java version? In the first case I get: java -version java version 1.6.0_13 Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode) In the second, I get: java version

Re: Basic Java questions

2009-05-14 Thread Ken Bowen
Below... On May 14, 2009, at 2:49 PM, Dave Filchak wrote: ls -l /opt/java/bin/java -rwxr-xr-x 1 root root 50810 Mar 9 15:37 /opt/java/bin/java Per my earlier message, this is (part of) your problem. /opt/java/bin/ java is an executable, but what should be on your path is a directory

Re: What is the difference?

2009-05-14 Thread Michael A. Repucci
The java -version returns the version of the JVM you're using. The java version attempts to start a Java application whose class name is version. See the man pages for java for more information. Michael Repucci (M) 718-288-4554 (W) 212-746-0462 mich...@repucci.org http://michael.repucci.org/

Re: .html pages as .jsp pages

2009-05-14 Thread Ken Bowen
The point of dynamic jsp pages is to dynamically create pages on the fly based on information from the user. What's the point of using jsp to dynamically create pages offline that you only serve statically? Why not just write them in html from the beginning? On May 14, 2009, at 3:16 PM,

Re: What is the difference?

2009-05-14 Thread Pid
Dave Filchak wrote: Curious, What is the difference between java -version and java version? In the first case I get: java -version java version 1.6.0_13 Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode) You've set the

Re: What is the difference?

2009-05-14 Thread Ken Bowen
The dash (-) tells the java execution program to treat it's first argument as a swtich, which it knows how to handle. Without the dash, the java execution program thinks that its first argument (version) is the name of a class which it should try to execute (but can't find). On May 14,

Re: What is the difference?

2009-05-14 Thread Frank W. Zammetti
...@tomcat.apache.org __ Information from ESET Smart Security, version of virus signature database 4076 (20090514) __ The message was checked by ESET Smart Security. http://www.eset.com - To unsubscribe, e-mail: users

Re: file type being blocked by IE

2009-05-14 Thread Todd Hivnor
I'm not sure if it still behaves this way. But historically IE has ignored the declared content-type and instead used the file extension. The work-around was to add a bogus argument to the URL: http://server/get-the-goodies.jsp?filetype=.zip This way it looks like a .zip file to IE. Also,

juddi -Tomcat 6

2009-05-14 Thread Arundhati Chabukswar
Hi, Can someone help me set up or give me directions to set up a juddi in the Tomcat 6.0 server and provide directions to the dependancy files required. Thanks, Arundhati

Re: .html pages as .jsp pages

2009-05-14 Thread André Warnier
Ken Bowen wrote: The point of dynamic jsp pages is to dynamically create pages on the fly based on information from the user. What's the point of using jsp to dynamically create pages offline that you only serve statically? Why not just write them in html from the beginning? +1 and I must

Re: file type being blocked by IE

2009-05-14 Thread André Warnier
Brandon Steward wrote: I have a Tomcat web application that generates output files and the files have the extension .zip. I try to download them in IE, but I get the generic error from IE saying it cannot download the file. I can try the same thing in Firefox and it works just fine. I've

Re: file type being blocked by IE

2009-05-14 Thread Brandon Steward
For example, the link shows up as: http://servername/contextpath/filename.zip I tried adding the ?filetype=.zip to the end of the link, but that didn't make any difference. Do you have any other suggestions? Thanks, Brandon Todd Hivnor wrote: I'm not sure if it still behaves this way.

Re: tomcat no longer writing to log files

2009-05-14 Thread André Warnier
Michael A. Repucci wrote: Hi Tomcat'ers, I'm completely new to Tomcat, and very unfamiliar with JSP or web applications in general. I've been trying to set up an application on my system (Ubuntu 9.04) that works just fine on my colleagues' systems (Windows XP). I've got Tomcat working just

Re: file type being blocked by IE

2009-05-14 Thread Brandon Steward
I've disabled the show friendly error pages. Here's the screenshot of the error. Brandon André Warnier wrote: Brandon Steward wrote: I have a Tomcat web application that generates output files and the files have the extension .zip. I try to download them in IE, but I get the generic error

Re: What is the difference?

2009-05-14 Thread André Warnier
I'm frustrated. For once there was a question which was right at my level, you guys all beat me to answer it. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: tomcat no longer writing to log files

2009-05-14 Thread Michael A. Repucci
Yes. That changed nothing. Still no catalina.out, still no ourapp.log. Michael Repucci (M) 718-288-4554 (W) 212-746-0462 mich...@repucci.org http://michael.repucci.org/ --See life as it is, not as it appears to be. On Thu, May 14, 2009 at 4:09 PM, André Warnier a...@ice-sa.com wrote: Michael

Re: What is the difference?

2009-05-14 Thread Dave Filchak
André Warnier wrote: I'm frustrated. For once there was a question which was right at my level, you guys all beat me to answer it. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: juddi -Tomcat 6

2009-05-14 Thread André Warnier
Arundhati Chabukswar wrote: Hi, Can someone help me set up or give me directions to set up a juddi in the Tomcat 6.0 server and provide directions to the dependancy files required. Can't help you, but I'm always happy to see a new word appear on this forum. What's a juddi ? Don't tell me

Re: juddi -Tomcat 6

2009-05-14 Thread Michael A. Repucci
http://ws.apache.org/juddi/ Michael Repucci (M) 718-288-4554 (W) 212-746-0462 mich...@repucci.org http://michael.repucci.org/ --See life as it is, not as it appears to be. On Thu, May 14, 2009 at 4:16 PM, André Warnier a...@ice-sa.com wrote: Arundhati Chabukswar wrote: Hi, Can someone

Re: .html pages as .jsp pages

2009-05-14 Thread Robert Koberg
On May 14, 2009, at 4:02 PM, André Warnier wrote: Ken Bowen wrote: The point of dynamic jsp pages is to dynamically create pages on the fly based on information from the user. What's the point of using jsp to dynamically create pages offline that you only serve statically? Why not just

Re: tomcat no longer writing to log files

2009-05-14 Thread André Warnier
Michael A. Repucci wrote: Yes. That changed nothing. Still no catalina.out, still no ourapp.log. Well, that'll teach you to do stupid things like that under Windows. Seriously now, if this was one of my customers calling me to tell me the same story, I would ask them and what else did you do

Re: .html pages as .jsp pages

2009-05-14 Thread Hassan Schroeder
On Thu, May 14, 2009 at 12:54 PM, Ken Bowen kbo...@als.com wrote: The point of dynamic jsp pages is to dynamically create pages on the fly based on information from the user. Not necessarily... What's the point of using jsp to dynamically create pages offline that you only serve statically?  

Re: .html pages as .jsp pages

2009-05-14 Thread Hassan Schroeder
On Thu, May 14, 2009 at 1:22 PM, Robert Koberg r...@koberg.com wrote: To the OP, once you have taken down the JSPs, perhaps you could use something like Ant's globmapper to change the extension No, as already pointed out, just add the *.html mapping to the JSP servlet def in your app. No

Re: Basic Java questions

2009-05-14 Thread Dave Filchak
Ken Bowen wrote: Below... On May 14, 2009, at 2:49 PM, Dave Filchak wrote: ls -l /opt/java/bin/java -rwxr-xr-x 1 root root 50810 Mar 9 15:37 /opt/java/bin/java Per my earlier message, this is (part of) your problem. /opt/java/bin/java is an executable, but what should be on your path

RE: juddi -Tomcat 6

2009-05-14 Thread Security Management
Why don't you try the how-to for apache's? http://wiki.apache.org/ws/jUDDI_HOW-TOs -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, May 14, 2009 4:16 PM To: Tomcat Users List Subject: Re: juddi -Tomcat 6 Arundhati Chabukswar wrote: Hi, Can someone

Re: tomcat no longer writing to log files

2009-05-14 Thread Michael A. Repucci
Well, actually, I did this stupid thing under Ubuntu Linux. I've even now gone through the process of completely uninstalling and reinstalling the Tomcat packages, and it doesn't help. So now, not only does our application not work on my local machine, but I can't figure out why because Tomcat

Help on tomcat configuration

2009-05-14 Thread JoshInWV
I am in the process of writing some web based software. Tomcat is my server I chose for the back end nuts and bolts because the software is written in Java / JSP. I have an OReilly book on tomcat, but it really lacks on realm configuration and when talking about j_security_check (but of course

RE: Basic Java questions

2009-05-14 Thread Caldarale, Charles R
From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: Basic Java questions OK, my path now reads: /opt/java/bin/:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/us r/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/java/jdk1 .6.0_13/bin:/root/bin You shouldn't have a

Re: .html pages as .jsp pages

2009-05-14 Thread Ken Bowen
Yes, but why the need to use the .jsp extension? A static site would run just fine with everything as .html under either Tomcat or httpd or On May 14, 2009, at 4:24 PM, Hassan Schroeder wrote: On Thu, May 14, 2009 at 12:54 PM, Ken Bowen kbo...@als.com wrote: The point of dynamic jsp

Re: Basic Java questions

2009-05-14 Thread Dave Filchak
Ken Bowen wrote: Hard to say about everything. But /opt/java/bin/java in your path is very suspicious. Check whether that is in fact the executable itself by just trying to execute /opt/java/bin/java It might be that you need /opt/java/bin in the path instead. This has been fixed. I

Re: Basic Java questions

2009-05-14 Thread Ken Bowen
Well, sometimes things hang around. Maybe a conservative start would be to reboot your system and then examine things. If everything looks quiescent, then try to start your exodus app and see what happens. On May 14, 2009, at 4:26 PM, Dave Filchak wrote: Ken Bowen wrote: Below... On

RE: Basic Java questions

2009-05-14 Thread Caldarale, Charles R
From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: Basic Java questions the path is actually /opt/java/bin as java is a symlink to /opt/jdk1.6.0_13 I'm not following that; please restate. Also, what directory were you in when you did the ls: -rwxr-xr-x 1 root root 52331 Mar 9

Re: Basic Java questions

2009-05-14 Thread André Warnier
Dave Filchak wrote: So, I think I want to remove all instances on java and tomcat and re-install. Any suggestions about how to remove all of this stuff cleanly? I'm sorry to say, but I think that system is way past any attempt at doing things cleanly. It looks like you have at least 3

RE: file type being blocked by IE

2009-05-14 Thread Caldarale, Charles R
From: Brandon Steward [mailto:bstew...@jsu.edu] Subject: Re: file type being blocked by IE I've disabled the show friendly error pages. Here's the screenshot of the error. Or not. The list strips most attachments, including yours. IE thinks it's the smartest thing on the planet, thereby

Re: .html pages as .jsp pages

2009-05-14 Thread Hassan Schroeder
On Thu, May 14, 2009 at 1:43 PM, Ken Bowen kbo...@als.com wrote: Yes, but why the need to use the .jsp extension?  A static site would run just fine with everything as .html under either Tomcat or httpd or Missing the point -- we're talking about static *deployment* of a dynamically

Re: tomcat no longer writing to log files

2009-05-14 Thread André Warnier
Michael A. Repucci wrote: Well, actually, I did this stupid thing under Ubuntu Linux. I've even now gone through the process of completely uninstalling and reinstalling the Tomcat packages, and it doesn't help. So now, not only does our application not work on my local machine, but I can't

Re: tomcat no longer writing to log files

2009-05-14 Thread David kerber
Michael A. Repucci wrote: Well, actually, I did this stupid thing under Ubuntu Linux. I've even now gone through the process of completely uninstalling and reinstalling the Tomcat packages, and it doesn't help. So now, not only does our application not work on my local machine, but I can't

RE: .html pages as .jsp pages

2009-05-14 Thread Kevin Nash
File associations in eclipse are under the Windows Menu - Preferences - General - Editors -Original Message- From: Dola Woolfe [mailto:dolac...@yahoo.com] Sent: 14 May 2009 19:44 To: Tom Cat Subject: .html pages as .jsp pages Hi, I need to give my jsp files the extension .html 1. How

RE: tomcat no longer writing to log files

2009-05-14 Thread Caldarale, Charles R
From: michael.repu...@gmail.com [mailto:michael.repu...@gmail.com] Subject: Re: tomcat no longer writing to log files I think I'm going to give up on Tomcat entirely ... crappy piece of software. That's a pretty amazing attitude for somebody who admitted they screwed up and then blames a

Re: General errors in virtual host setup

2009-05-14 Thread Dave Filchak
André Warnier wrote: Dave, from the whole collection of recent messages, it very much looks to me as if you are effectively trying to run 2 Tomcats on this machine, and that they somehow conflict in terms of ports, maybe in terms of which applications they run, etc.. A while ago, you

RE: General errors in virtual host setup

2009-05-14 Thread Caldarale, Charles R
From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: General errors in virtual host setup So I suppose this is a good step forward ... yes? Yes, but as we mentioned before, the problem may come back on the next reboot. It wouldn't surprise me at all that there's some other Tomcat

Re: .html pages as .jsp pages

2009-05-14 Thread Dola Woolfe
Exactly right. I produce my static content programmatically. Many pages are too complex to be generated otherwise. Also, I get to write java not html. When I want to change a font, I do it in one place not 1000 places. --- On Thu, 5/14/09, Hassan Schroeder hassan.schroe...@gmail.com wrote:

Re: .html pages as .jsp pages

2009-05-14 Thread Robert Koberg
On May 14, 2009, at 5:37 PM, Dola Woolfe wrote: Exactly right. I produce my static content programmatically. Many pages are too complex to be generated otherwise. Also, I get to write java not html. When I want to change a font, I do it in one place not 1000 places. well, that should be

Re: tomcat no longer writing to log files

2009-05-14 Thread Michael A. Repucci
Seems like a bit of animosity toward Tomcat has finally helped me make progress, mostly because it got all you gurus to actually explain a bit of how it works, and how it's packaged, all concepts I didn't understand. I'm a scientist, not a programmer. I'm new to Ubuntu and Tomcat. My colleagues

RE: Tomcat ReadTimout on Http post

2009-05-14 Thread Caldarale, Charles R
From: czeno2002 [mailto:czeno2...@yahoo.com] Subject: Tomcat ReadTimout on Http post I'm experiencing a really ugly readtimout problem in the production system started a couple of days ago. The main problem is that there is no way to reproduce it at all and it happens only on the production

Re: tomcat no longer writing to log files

2009-05-14 Thread Michael A. Repucci
On Thu, May 14, 2009 at 5:11 PM, André Warnier a...@ice-sa.com wrote: If you did install this tomcat with the apt utility, then just do - apt-get remove tomcatx.y - apt-get purge tomcatx.y Then, make sure that the java you have is a Sun Java, not gcj, and make it the default

RE: tomcat no longer writing to log files

2009-05-14 Thread Martin Gainty
Tomcat is an aggregation of well-tested apache components could you elaborate a bit more on your implementation of either log4j or commons-logging? and please read the Tomcat logging tutorial http://www.mbaworld.com/docs/logging.html incidentally log4j specifies log4j.appender.R.File as in this

RE: tomcat no longer writing to log files

2009-05-14 Thread Caldarale, Charles R
From: michael.repu...@gmail.com [mailto:michael.repu...@gmail.com] Subject: Re: tomcat no longer writing to log files Then when I reinstalled, Tomcat didn't get reinstalled under /etc nor /etc/init.d, and it didn't get started automatically as it had before. It wasn't clear to me whether

Re: .html pages as .jsp pages

2009-05-14 Thread André Warnier
Dola Woolfe wrote: Exactly right. I produce my static content programmatically. Many pages are too complex to be generated otherwise. Also, I get to write java not html. When I want to change a font, I do it in one place not 1000 places. Allright, explanation accepted and makes sense. ;-) (We

Re: tomcat no longer writing to log files

2009-05-14 Thread André Warnier
Michael A. Repucci wrote: Seems like a bit of animosity toward Tomcat has finally helped me make progress, mostly because it got all you gurus to actually explain a bit of how it works, and how it's packaged, all concepts I didn't understand. I'm a scientist, not a programmer. I'm new to Ubuntu

General config errors

2009-05-14 Thread Dave Filchak
Further to my ongoing troubles, I decided to reinstall tomcat and java. Then I configured a single default host which basically ran the default apps/examples that come with tomcat, using the default tomcat port of 8080 and the connector port of 8009. That is all good. However, every time I add

RE: General config errors

2009-05-14 Thread Caldarale, Charles R
From: Dave Filchak [mailto:sub...@zuka.net] Subject: General config errors Further to my ongoing troubles, I decided to reinstall tomcat and java. From where? The Tomcat web site, or a 3rd-party repackage? Then I configured a single default host Why did you have to change anything for

Re: General config errors

2009-05-14 Thread Dave Filchak
Caldarale, Charles R wrote: From where? The Tomcat web site, or a 3rd-party repackage? tomcat website/ every time I add a second host to server.xml, it kills the connector port. What does kills the connector port mean? I've never seen an error message or log entry with those

RE: General config errors

2009-05-14 Thread Caldarale, Charles R
From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: General config errors When I add the second host (the exodus app) and restart tomcat and run netstat -pan | grep LISTEN | grep tcp again, port 8009 no longer shows up and neither does the new port for the second connector on 8010.

Re: .html pages as .jsp pages

2009-05-14 Thread Hassan Schroeder
On Thu, May 14, 2009 at 3:52 PM, André Warnier a...@ice-sa.com wrote: Now just as an idea : leaving everything as it is, apparently when you download those pages via wget, you get them named as *.jsp, but they are otherwise ok, yes ? No, because if you develop under a .jsp suffix, all your

Re: file type being blocked by IE

2009-05-14 Thread Brandon Steward
I found this work around. You can add this to the webapp's xml config. Valve className=org.apache.catalina.authenticator.FormAuthenticator disableProxyCaching=false / Thanks for everybody's help, Brandon Caldarale, Charles R wrote: From: Brandon Steward [mailto:bstew...@jsu.edu]

Re: How to make request parameters available to a login.jsp?

2009-05-14 Thread Sid Sidney
The more I think about it, this is definitely a bug. The reason I think that is because when the request is via a get the request parameters are available. However, if the request is via a post the request parameters are not available.   I'm going to submit this a a bug. --- On Wed, 5/6/09,

Re: .html pages as .jsp pages

2009-05-14 Thread Dola Woolfe
Screws up the inner links! --- On Thu, 5/14/09, André Warnier a...@ice-sa.com wrote: From: André Warnier a...@ice-sa.com Subject: Re: .html pages as .jsp pages To: Tomcat Users List users@tomcat.apache.org Date: Thursday, May 14, 2009, 6:52 PM Dola Woolfe wrote: Exactly right. I

Re: General config errors

2009-05-14 Thread Dave Filchak
Caldarale, Charles R wrote: From: Dave Filchak [mailto:sub...@zuka.net] Subject: Re: General config errors When I add the second host (the exodus app) and restart tomcat and run netstat -pan | grep LISTEN | grep tcp again, port 8009 no longer shows up and neither does the new port for the

RE: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-14 Thread Pantvaidya, Vishwajit
Since I did not get any responses to this, just wanted to ask - did I post this to the wrong list and should I be posting this to the tomcat developers list instead? -Original Message- From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com] Sent: Thursday, May 14, 2009 11:29 AM

Re: Difference between running bootstrap.jar and catalina.bat

2009-05-14 Thread Jan Horký
Hi, I got the following error: 15.5.2009 7:10:16 com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.VerifyError: (class: com/sun/xml/ws/model/AbstractSEIModelImpl, method: createJAXBContext