tomcat 5.x and jsp 2.0

2004-05-26 Thread Barnett, Brian W.
I recently switched from an old version of Resin to Tomcat 5.x. My jsp files are written to the jsp 1.2 spec. Do I have to convert them to jsp 2.0 spec? Should they work as is? What are my options? Thanks, Brian Barnett

BodyContentImpl problem

2004-06-15 Thread Barnett, Brian W.
I recently upgraded my development environment and now my jsp pages do not display. I get the following error: [ServletException in:/WEB-INF/jsp/AgentList.jsp] org.apache.jasper.runtime.BodyContentImpl.clearBody()V' I have no idea what to even try. Here are the changes I made to the dev

Some JVM settings not working in my Tomcat Windows service

2005-04-07 Thread Barnett, Brian W.
Using Tomcat 5.0.28. On the Java tab of the Configure Tomcat dialog, I have the following in Java Options: -Dcatalina.home=C:\Tomcat 5.0 -Djava.endorsed.dirs=C:\Tomcat 5.0\common\endorsed -Djava.io.tmpdir=C:\Tomcat 5.0 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xms128m -Xmx512m I

RE: Some JVM settings not working in my Tomcat Windows service

2005-04-07 Thread Barnett, Brian W.
-Xloggc:C:\gclog.txt -Original Message- From: Barnett, Brian W. Sent: Thursday, April 07, 2005 2:03 PM To: 'tomcat-user@jakarta.apache.org' Subject: Some JVM settings not working in my Tomcat Windows service Using Tomcat 5.0.28. On the Java tab of the Configure Tomcat dialog, I have

Page cannot be displayed error

2005-08-29 Thread Barnett, Brian W.
We are experiencing a strange problem that we can't seem to figure out. We have a Struts web app running on Tomcat 5.0.28/Apache web server. All the computers of a particular client are getting a Page cannot be displayed error when they click a certain button. They can then go home and access it

RE: Page cannot be displayed error

2005-08-31 Thread Barnett, Brian W.
utility program called DRTCP021.exe (Dr. TCP), we adjusted the MTU on our NIC to 1450, and it fixed the problem. I believe it can be adjusted at the network level as well so that you don't have to adjust each individual pc. -Original Message- From: Barnett, Brian W. Sent: Monday, August 29

Multiple IP addresses

2005-09-01 Thread Barnett, Brian W.
I seem to remember when I was working with IIS some years ago, I could map multiple IP addresses to one instance of IIS, i.e., IIS could service multiple web sites for me, each web site having it's own, unique IP address. Is there a way to do this with Tomcat stand alone or is Apache Web Server or

RE: Multiple IP addresses

2005-09-05 Thread Barnett, Brian W.
/2005 4:27 AM Subject: RE: Multiple IP addresses From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] I seem to remember when I was working with IIS some years ago, I could map multiple IP addresses to one instance of IIS, i.e., IIS could service multiple web sites for me, each web site having

How to configure Tomcat for multiple IPs

2005-09-13 Thread Barnett, Brian W.
I have one NIC with 2 external IPs bound to it on a Windows XP box. The goal is to have Tomcat service two web sites, each web site having it's own IP address. www.website1.com -- xxx.xxx.xxx.xxx www.website2.com -- yyy.yyy.yyy.yyy I have tried defining two Service's with Connector's that have

RE: How to configure Tomcat for multiple IPs

2005-09-13 Thread Barnett, Brian W.
10:03 AM To: Tomcat Users List Subject: Re: How to configure Tomcat for multiple IPs Barnett, Brian W. wrote: I have tried one Service with multiple Connector's, one Connector for xxx.xxx.xxx.xxx and one Connector for yyy.yyy.yyy.yyy. I also had two Host elements in this scenario, but got

RE: Can't change servlet path

2005-09-13 Thread Barnett, Brian W.
You may want to consider using the jTDS (http://jtds.sourceforge.net/) SQL Server driver also. It is faster and more reliable. Sample ResourceParams entries: parameter namedriverClassName/name valuenet.sourceforge.jtds.jdbc.Driver/value /parameter

Two Service elements problems

2005-09-14 Thread Barnett, Brian W.
I have two Service elements defined like this in my server.xml file, each one listening to a different IP address and serving requests for different web sites. (Using 5.0.28) Service name=MyService1 Connector port=80 maxThreads=150 minSpareThreads=25 maxSpareThreads=75

RE: Two Service elements problems

2005-09-14 Thread Barnett, Brian W.
(cygwin) do you see two network sockets listening on port 80? 166.70.163.138:80 166.70.163.140:80 If not, the problem is at a lower level than tomcat. Steve Barnett, Brian W. wrote: I have two Service elements defined like this in my server.xml file, each one listening to a different IP

RE: Two Service elements problems

2005-09-15 Thread Barnett, Brian W.
deployment structure in the l_webapps directory 4. Created an index.jsp at the root of l_webapps Restarted tomcat .. now http://littlehost:8081/ servers up content. Good Luck Steve Barnett, Brian W. wrote: netstat -an results (snippet) Proto Local Address Foreign Address

Problem with RealmBase and digested passwords

2005-09-23 Thread Barnett, Brian W.
Hello, I'm trying to get my passwords digested, and I think I'm nearly there. I ran the command line utility to calculate a digested password and then put it in an existing user's record using MySQL Query Browser. I then logged in as that user and everything was fine. So, Tomcat is authenticating

RE: Problem with RealmBase and digested passwords

2005-09-23 Thread Barnett, Brian W.
Maybe one of these days I'll finally understand classpath! :) It was as simple as putting catalina.jar in my WEB-INF\lib folder. Doh. Sorry all. -Original Message- From: Barnett, Brian W. To: 'Tomcat Users List ' Sent: 9/23/2005 9:23 PM Subject: Problem with RealmBase and digested

Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Barnett, Brian W.
I am going through a tuturial on setting up JAAS with Tomcat. It says to modify $CATALINA_HOME/bin/catalina.sh or $CATALINA_HOME/bin/catalina.bat. The edit it suggests is something like this: JAVA_OPTS=-Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas-myfile .conf Where would a change

RE: Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Barnett, Brian W.
, Brian W. [mailto:[EMAIL PROTECTED] Subject: Where'd catalina.sh go in 5.5.x ? Where would a change like this be made in Tomcat 5.5.x? In the same places. However, the scripts are not included in the .exe download for some reason, but are in the .zip version. (I haven't checked the .gz one lately

RE: Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Barnett, Brian W.
To: Tomcat Users List Subject: RE: Where'd catalina.sh go in 5.5.x ? From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Subject: RE: Where'd catalina.sh go in 5.5.x ? Does it mean all the .sh, .bat, .properties, .xml, etc., files are not needed? Only the .bat and .sh files are missing from