[Announce] Stylus Studio Offers Unprecedented Free Upgrade for Altova XMLSpy and Mapforce Users

2005-10-05 Thread Stylus Studio
[Announce] Customers who have purchased qualifying Altova XML
Products, including Altova XMLSPY 2005 or Altova XMLSPY(r) 2004
(Enterprise or Professional Edition) or Mapforce(r) 2005 or Mapforce
2004 (Enterprise or Professional Edition), on or before October 1,
2005 can now obtain a free upgrade license to Stylus Studio(r) 6 XML
Enterprise Edition, the World's Best XML IDE. Limit one free
single-user license of Stylus Studio 6 XML Enterprise Edition per
order, per company. Altova XMLSPY customers pay absolutely NOTHING for
this upgrade to Stylus Studio.

But wait, there's more! Altova XMLSPY users who take advantage of this
offer will also receive a coupon good for 30% off an unlimited number
of single-user licenses of Stylus Studio 6 XML Enterprise Edition and
Stylus Studio 6 XML Professional Edition from the Stylus Studio Online
Shop, good for 14 days. This offer cannot be combined with any other
offers, cannot be applied to past purchases, and expires October 14,
2005. Qualifying customers can see complete offer details and upgrade
online today!
Read the announcement here:
http://www.stylusstudio.com/press/2005_10_04_special_upgrade.html

Qualified customers can get their free upgrade to Stylus Studio 6 XML
Enterprise Edition here:
https://www.stylusstudio.com/buy/getoutofjailfree.html

Sincerely,
The Stylus Studio Team
http://www.stylusstudio.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANNOUNCE] Stylus Studio offers Altova XMLSPY AND MAPFORCE Users a FREE Upgrade to Stylus Studio 6 XML Enterprise Edition.

2005-10-04 Thread Stylus Studio
[ANNOUNCE] Dear Tomcat-Users,

Customers who have purchased qualifying Altova XML Products, including
Altova XMLSPY 2005, Altova XMLSPY(r) 2004 (Enterprise or Professional
Edition), Mapforce(r) 2005, Mapforce 2004 (Enterprise or Professional
Edition), on or before October 1, 2005 can now obtain a free upgrade
license to Stylus Studio(r) 6 XML Enterprise Edition, the World's Best
XML IDE. Limit one free single-user license of Stylus Studio 6 XML
Enterprise Edition per order, per company. Altova XMLSPY customers pay
absolutely NOTHING for this upgrade to Stylus Studio.

But wait, there's more! Altova XMLSPY users who take advantage of this
offer will receive a coupon good for 30% off an unlimited number of
single-user licenses of Stylus Studio 6 XML Enterprise Edition and
Stylus Studio 6 XML Professional Edition from the Stylus Studio Online
Shop (good for 14 days). This offer cannot be combined with any other
offers, cannot be applied to past purchases, and expires October 14,
2005. Qualifying customers can see complete offer details and upgrade
online today!

Read the announcement here:
http://www.stylusstudio.com/press/2005_10_04_special_upgrade.html

Qualified customers can get their free upgrade to Stylus Studio 6 XML
Enterprise Edition here:
https://www.stylusstudio.com/buy/getoutofjailfree.html


Sincerely,
The Stylus Studio Team
http://www.stylusstudio.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



upgrade to 5

2005-08-26 Thread David Ellis
Hello,

I'm extremely new to all this.  I was wondering if it is possible to upgrade
from tomcat version 3.2.3 to version 5?

I've read that the upgrade from version 3 to 4 was difficult, so my guess is
that I will have to go to version 4 before I can go to 5.

Thanks

Dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: upgrade to 5

2005-08-26 Thread Allistair Crossley
Hi there,

Of course you can, you just need to be aware of what elements of Tomcat you 
need to configure, e.g JNDI resources and so on and then lookup the way you do 
that in Tomcat 5. It's not a *far* cry from Tomcat 3/4, you still use 
server.xml for a bunch of stuff, but it's recommended that you configure your 
Context using a separate file. It's all online, just be aware of what 
configuration you need, look at the docs, and test. Make a backup of course.

Allistair.

 -Original Message-
 From: David Ellis [mailto:[EMAIL PROTECTED]
 Sent: 26 August 2005 16:46
 To: Tomcat Users List
 Subject: upgrade to 5
 
 
 Hello,
 
 I'm extremely new to all this.  I was wondering if it is 
 possible to upgrade
 from tomcat version 3.2.3 to version 5?
 
 I've read that the upgrade from version 3 to 4 was difficult, 
 so my guess is
 that I will have to go to version 4 before I can go to 5.
 
 Thanks
 
 Dave
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: upgrade to 5

2005-08-26 Thread David Ellis
Thanks, that's somewhat of a relief, although I'm sure I have plenty of work
cut out for me :)

Off I go

- Original Message - 
From: Allistair Crossley [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday, August 26, 2005 11:48 AM
Subject: RE: upgrade to 5


 Hi there,

 Of course you can, you just need to be aware of what elements of Tomcat
you need to configure, e.g JNDI resources and so on and then lookup the way
you do that in Tomcat 5. It's not a *far* cry from Tomcat 3/4, you still use
server.xml for a bunch of stuff, but it's recommended that you configure
your Context using a separate file. It's all online, just be aware of what
configuration you need, look at the docs, and test. Make a backup of course.

 Allistair.

  -Original Message-
  From: David Ellis [mailto:[EMAIL PROTECTED]
  Sent: 26 August 2005 16:46
  To: Tomcat Users List
  Subject: upgrade to 5
 
 
  Hello,
 
  I'm extremely new to all this.  I was wondering if it is
  possible to upgrade
  from tomcat version 3.2.3 to version 5?
 
  I've read that the upgrade from version 3 to 4 was difficult,
  so my guess is
  that I will have to go to version 4 before I can go to 5.
 
  Thanks
 
  Dave
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
 ---
 QAS Ltd.
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: upgrade to 5

2005-08-26 Thread Allistair Crossley
Hey,

Yep, there's always toothache to be had with these things :) 

Cheers, Allistair.

 -Original Message-
 From: David Ellis [mailto:[EMAIL PROTECTED]
 Sent: 26 August 2005 16:55
 To: Tomcat Users List
 Subject: Re: upgrade to 5
 
 
 Thanks, that's somewhat of a relief, although I'm sure I have 
 plenty of work
 cut out for me :)
 
 Off I go
 
 - Original Message - 
 From: Allistair Crossley [EMAIL PROTECTED]
 To: Tomcat Users List tomcat-user@jakarta.apache.org
 Sent: Friday, August 26, 2005 11:48 AM
 Subject: RE: upgrade to 5
 
 
  Hi there,
 
  Of course you can, you just need to be aware of what 
 elements of Tomcat
 you need to configure, e.g JNDI resources and so on and then 
 lookup the way
 you do that in Tomcat 5. It's not a *far* cry from Tomcat 
 3/4, you still use
 server.xml for a bunch of stuff, but it's recommended that 
 you configure
 your Context using a separate file. It's all online, just be 
 aware of what
 configuration you need, look at the docs, and test. Make a 
 backup of course.
 
  Allistair.
 
   -Original Message-
   From: David Ellis [mailto:[EMAIL PROTECTED]
   Sent: 26 August 2005 16:46
   To: Tomcat Users List
   Subject: upgrade to 5
  
  
   Hello,
  
   I'm extremely new to all this.  I was wondering if it is
   possible to upgrade
   from tomcat version 3.2.3 to version 5?
  
   I've read that the upgrade from version 3 to 4 was difficult,
   so my guess is
   that I will have to go to version 4 before I can go to 5.
  
   Thanks
  
   Dave
  
  
   
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: 
 [EMAIL PROTECTED]
  
  
 
 
  FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
  ---
  QAS Ltd.
  Registered in England: No 2582055
  Registered in Australia: No 082 851 474
  ---
  /FONT
 
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: upgrade to 5

2005-08-26 Thread Brian Cook


I would skip straight to 5.  No point in going though 2 painful 
migrations instead of just one.  All the cores stuff is the same.  Read 
over the config docs, step up a test server play with it and when your 
ready update your production server.



David Ellis wrote:

Hello,

I'm extremely new to all this.  I was wondering if it is possible to upgrade
from tomcat version 3.2.3 to version 5?

I've read that the upgrade from version 3 to 4 was difficult, so my guess is
that I will have to go to version 4 before I can go to 5.

Thanks

Dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Brian Cook
Digital Services Analyst
Print Time Inc.
[EMAIL PROTECTED]
913.345.8900

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

document for upgrade

2005-08-22 Thread Jagadeesha T
HI, 
  Could any body tell me tomcat upgradation document location from 3.x to 4.x 
or 5.x.
 
Regards,
Jagadish
 
 


-
 Start your day with Yahoo! - make it your home page 

RE: Tomcat 5.5 upgrade + logging problems

2005-08-12 Thread Allistair Crossley
Really, this has been discussed to death on this mailing list. The 5.5 logging 
page for a start gives you instructions for setting logging up. Also, I have a 
blog at www.adcworks.com/blog that touches on 5.5 configuration and logging.

Allistair.

 -Original Message-
 From: Robert Abbate [mailto:[EMAIL PROTECTED]
 Sent: 11 August 2005 15:43
 To: tomcat-user@jakarta.apache.org
 Subject: Tomcat 5.5 upgrade + logging problems
 
 
 Hi. I have searched through archives and online for such 
 solutions for the
 depreciated Logger element. We have a virtual host setup 
 and requires
 separate logs for each host. We have followed the 
 instructions such as this:
 
 jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
 
 we've put log4j.properties file in each host's 
 WEB-INF/classes folder, and
 log4j1.2.8.jar into WEB-INF/lib in each host
 
 still, nothing seems to work. there must be something we are missing.
 
 
 CONFIGURATION:
 
 CATALINA_HOME=/var/tomcat5
 TOMCAT_USER=apache
 JAVA_HOME=/usr/java
 CATALINA_OPTS=-Xmx1228M -Djava.awt.headless=true
  java= 1.5.0_03
 
 server.xml
 CUT
 Host name=domain.com unpackWARs=true autoDeploy=true
 appBase=/home/rondelli/html
   Realm className=org.apache.catalina.realm.MemoryRealm
 pathname=/var/tomcat5/conf/tomcat-users/rondelli-t
 omcat-users.xml/
   Context path= docBase=/home/rondelli/html debug=0/
 Aliaswww.domain.com/Alias
 Context path=/tomcatmanager 
 docBase=/var/tomcat5/server/webapps/manager
 debug=0 privileged=true/
  Logger className=org.apache.catalina.logger.FileLogger
 prefix=domain.com_log. suffix=.txt directo
 ry=/home/rondelli timestamp=true/
 /Host
 
 Host name=domain2.com unpackWARs=true autoDeploy=true
 appBase=/home/revisionten/html
   Realm className=org.apache.catalina.realm.MemoryRealm
 pathname=/var/tomcat5/conf/tomcat-users/revisionte
 n-tomcat-users.xml/
   Context path= docBase=/home/revisionten/html debug=0/
 Aliaswww.domain2.com/Alias
 Context path=/tomcatmanager 
 docBase=/var/tomcat5/server/webapps/manager
 debug=0 privileged=true/
  Logger className=org.apache.catalina.logger.FileLogger
 prefix=domain2.com_log. suffix=.txt dire
 ctory=/home/revisionten timestamp=true/
 /Host
 CUT.
 
 
 /usr/java/bin/java 
 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLo
 gManager -Xmx1228M -Djava.awt.headless=true 
 -Djava.endorsed.dirs=/var/tomcat
 5/common/endorsed -classpath
 :/var/tomcat5/bin/bootstrap.jar:/var/tomcat5/bin/commons-loggi
 ng-api.jar:/us
 r/java/jre/lib/mysql-connector-java-3.0.15-ga-bin.jar:/var/tom
 cat5/common/li
 b/log4j-1.2.8.jar -Dcatalina.base=/var/tomcat5 
 -Dcatalina.home=/var/tomcat5 
 -Djava.io.tmpdir=/var/tomcat5/temp 
 org.apache.catalina.startup.Bootstrap
 start
 
 Does anyone have a setup like this and can offer any clues? 
 If you need any
 further config details, please ask. I hope I gave all necessary.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5 upgrade + logging problems

2005-08-12 Thread Allistair Crossley
Hi Robert,

The fact is that followed precisely the instructions do work. I *almost* 
guarantee this because I walked through it just last week with a guy on a 
vanilla Tomcat 5.5.9 install and I deal with Tomcat and logging daily.

The question is, what kind of logging do you want, because there are 2 types. 
The old FileLogger was internal logging mixed with webapp logging. Tomcat 5.5 
aims to decouple itself from a custom logging implementation and uses the 
Commons Logging wrapper to allow developers to customise their logging output 
in a more flexible and powerful way. 

Therefore the developers did not do a *bad thing* as you describe, you are 
simply peeved off that you don't understand the change. That's natural, noone 
likes change, but change is inevitable if we are to do things better. Granted 
that FileLogger was probably easier, but it was not as powerful or flexible. 
And perhaps the logging page is not the most straightforward but it does work 
when followed.

So now, if you want Tomcat core classes logging, i.e internal Tomcat logging, 
then you need to have a log4j.properties file inside tomcat/common/classes and 
*both* the log4j jar *and* commons logging jar in tomcat/common/lib. This 
information in my view is not all that useful unless you're trying to get to 
the nitty gritty of what's happening. More than likely you are more interested 
in per-webapp logging.

If you want logging for a web application in particular, then you need a 
log4j.properties in the webapp's classes folder and log4j jar only in the lib.

History on this list shows us that logging configuration issues like these are 
almost always caused by something the user has misunderstood or done in their 
customisation or web application. 

As for the multiple virtual hosts with webapps;

log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost][/yourwebappname]=DEBUG,
 R

You'll recognise localhost is a servername, so perhaps you could try using your 
virtual host name and let us know if that works.

Cheers, Allistair.

 -Original Message-
 From: Robert Abbate [mailto:[EMAIL PROTECTED]
 Sent: 12 August 2005 01:37
 To: Allistair Crossley
 Subject: RE: Tomcat 5.5 upgrade + logging problems
 
 
 I appreciate your response, but I can assure you there are 
 many out there
 which are not able to get this going EVEN after following the scant
 instructions. I had consulted at least 5 other webhosting 
 companies that I
 am in contact with all having the same issue. There is 
 something wrong and
 not much help so far. Tomcat developers did a bad thing by 
 removing support
 for Logger element. They didn't have to do that since it worked fine.
 
 Also, I see your site doesn't address a virtual /multiple host setup; I have
 not seen any help anywhere on this setup as we are requesting.
 
 
 -Original Message-
 From: Allistair Crossley [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 12, 2005 3:07 AM
 To: Tomcat Users List
 Subject: RE: Tomcat 5.5 upgrade + logging problems
 
 
 Really, this has been discussed to death on this mailing list. The 5.5
 logging page for a start gives you instructions for setting 
 logging up.
 Also, I have a blog at www.adcworks.com/blog that touches on 5.5
 configuration and logging.
 
 Allistair.
 
  -Original Message-
  From: Robert Abbate [mailto:[EMAIL PROTECTED]
  Sent: 11 August 2005 15:43
  To: tomcat-user@jakarta.apache.org
  Subject: Tomcat 5.5 upgrade + logging problems
 
 
  Hi. I have searched through archives and online for such
  solutions for the
  depreciated Logger element. We have a virtual host setup
  and requires
  separate logs for each host. We have followed the
  instructions such as this:
 
  jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
 
  we've put log4j.properties file in each host's
  WEB-INF/classes folder, and
  log4j1.2.8.jar into WEB-INF/lib in each host
 
  still, nothing seems to work. there must be something we 
 are missing.
 
 
  CONFIGURATION:
 
  CATALINA_HOME=/var/tomcat5
  TOMCAT_USER=apache
  JAVA_HOME=/usr/java
  CATALINA_OPTS=-Xmx1228M -Djava.awt.headless=true
   java= 1.5.0_03
 
  server.xml
  CUT
  Host name=domain.com unpackWARs=true autoDeploy=true
  appBase=/home/rondelli/html
Realm className=org.apache.catalina.realm.MemoryRealm
  pathname=/var/tomcat5/conf/tomcat-users/rondelli-t
  omcat-users.xml/
Context path= docBase=/home/rondelli/html debug=0/
  Aliaswww.domain.com/Alias
  Context path=/tomcatmanager
  docBase=/var/tomcat5/server/webapps/manager
  debug=0 privileged=true/
   Logger className=org.apache.catalina.logger.FileLogger
  prefix=domain.com_log. suffix=.txt directo
  ry=/home/rondelli timestamp=true/
  /Host
 
  Host name=domain2.com unpackWARs=true autoDeploy=true
  appBase=/home/revisionten/html
Realm className=org.apache.catalina.realm.MemoryRealm
  pathname=/var/tomcat5/conf/tomcat-users/revisionte
  n-tomcat-users.xml/
Context path= docBase=/home

RE: Tomcat 5.5 upgrade + logging problems

2005-08-12 Thread Allistair Crossley
===
Tomcat 5.5.10 Virtual Host example setup with log4j logging per host
===

I hope this can be of some use to those who are confused about how to add 
logging to Virtual Hosts in Tomcat 5.5 Series since the disappearance of 
FileLogger.

You will need to be able to configure DNS resolution for this example.

In this example I setup 2 Virtual Hosts each with their own web applications. 
Each
host gets its own log.

I cause an exception in one of the Virtual Hosts to show that its logging is 
directed
into its log.

Virtual Host DNS Entries


Create 2 DNS entries to the Tomcat target machine

tomcata.qas.com
tomcatb.qas.com

Tomcat 5.5.10
-

Download and unzip somewhere.

Virtual Host Web Applications
-

Create directories for the vhost webapps

catalina_home/webapps-a
catalina_home/webapps-b

Copy ROOT and jsp-examples directories from catalina_home/webapps into both 
webapps-a and webapps-b

Setup the exception test


Enter webapps-b/jsp-examples
Create file test.jsp and add into it

% throw new Exception(); %

log4j.properties


Create file log4j.properties in catalina_home/common/classes and copy the 
following into it;

# Root
log4j.rootCategory=error, R

log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=c:/jakarta-tomcat-5.5.10/logs/tomcat-root.log
log4j.appender.R.MaxFileSize=1500KB
log4j.appender.R.MaxBackupIndex=1
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d - %5p (%C:%L) - %m%n

# VH A
log4j.appender.A=org.apache.log4j.RollingFileAppender
log4j.appender.A.File=c:/jakarta-tomcat-5.5.10/logs/tomcat-a.log
log4j.appender.A.MaxFileSize=1500KB
log4j.appender.A.MaxBackupIndex=1
log4j.appender.A.layout=org.apache.log4j.PatternLayout
log4j.appender.A.layout.ConversionPattern=%d - %5p (%C:%L) - %m%n

# VH B
log4j.appender.B=org.apache.log4j.RollingFileAppender
log4j.appender.B.File=c:/jakarta-tomcat-5.5.10/logs/tomcat-b.log
log4j.appender.B.MaxFileSize=1500KB
log4j.appender.B.MaxBackupIndex=1
log4j.appender.B.layout=org.apache.log4j.PatternLayout
log4j.appender.B.layout.ConversionPattern=%d - %5p (%C:%L) - %m%n

log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost]=DEBUG,
 R
log4j.additivity.org.apache.catalina.core.ContainerBase.[Catalina].[localhost]=false

log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[tomcata.qas.com]=DEBUG,
 A
log4j.additivity.org.apache.catalina.core.ContainerBase.[Catalina].[tomcata.qas.com]=false

log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[tomcatb.qas.com]=DEBUG,
 B
log4j.additivity.org.apache.catalina.core.ContainerBase.[Catalina].[tomcatb.qas.com]=false

server.xml
--

After the localhost Host element, add the Virtual Hosts (here I also add per 
Host access logs)

Host name=tomcata.qas.com appBase=webapps-a
  Valve 
className=org.apache.catalina.valves.FastCommonAccessLogValve
directory=logs  
prefix=a_access_log. 
suffix=.txt
pattern=common 
resolveHosts=false/ 
/Host

Host name=tomcatb.qas.com appBase=webapps-b
  Valve 
className=org.apache.catalina.valves.FastCommonAccessLogValve
directory=logs  
prefix=b_access_log. 
suffix=.txt
pattern=common 
resolveHosts=false/ 
/Host  

logging jars


Download and copy log4j1.2.9.jar into catalina_home/common/lib
Download and copy commons-logging.jar into catalina_home/common/lib

Finish and Test
---

That's it. Start Tomcat and go into the logs directory. You should see all the 
new logs created with some default startup information. 

Now browse to 

http://tomcata.qas.com:8080/ (you should get the ROOT tomcat welcome page)
http://tomcatb.qas.com:8080/test.jsp (you should get an exception, check the 
tomcat-b.log

Summary
---

Note that this is virtual host logging, it is not webapp logging. For webapp 
logging you need to configure log4j within the web application itself which is 
another example.

-- end --

 -Original Message-
 From: Allistair Crossley 
 Sent: 12 August 2005 13:57
 To: tomcat-user@jakarta.apache.org
 Cc: Robert Abbate
 Subject: RE: Tomcat 5.5 upgrade + logging problems
 
 
 Hi Robert,
 
 The fact is that followed precisely the instructions do work. 
 I *almost* guarantee this because I walked through it just 
 last week with a guy on a vanilla Tomcat 5.5.9 install and I 
 deal with Tomcat and logging daily.
 
 The question is, what kind of logging do you want, because 
 there are 2 types. The old FileLogger was internal logging 
 mixed with webapp logging. Tomcat 5.5 aims to decouple itself 
 from a custom logging implementation and uses the Commons 
 Logging wrapper to allow developers

Tomcat 5.5 upgrade + logging problems

2005-08-11 Thread Robert Abbate
Hi. I have searched through archives and online for such solutions for the
depreciated Logger element. We have a virtual host setup and requires
separate logs for each host. We have followed the instructions such as this:

jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html

we've put log4j.properties file in each host's WEB-INF/classes folder, and
log4j1.2.8.jar into WEB-INF/lib in each host

still, nothing seems to work. there must be something we are missing.


CONFIGURATION:

CATALINA_HOME=/var/tomcat5
TOMCAT_USER=apache
JAVA_HOME=/usr/java
CATALINA_OPTS=-Xmx1228M -Djava.awt.headless=true
 java= 1.5.0_03

server.xml
CUT
Host name=domain.com unpackWARs=true autoDeploy=true
appBase=/home/rondelli/html
  Realm className=org.apache.catalina.realm.MemoryRealm
pathname=/var/tomcat5/conf/tomcat-users/rondelli-t
omcat-users.xml/
  Context path= docBase=/home/rondelli/html debug=0/
Aliaswww.domain.com/Alias
Context path=/tomcatmanager docBase=/var/tomcat5/server/webapps/manager
debug=0 privileged=true/
 Logger className=org.apache.catalina.logger.FileLogger
prefix=domain.com_log. suffix=.txt directo
ry=/home/rondelli timestamp=true/
/Host

Host name=domain2.com unpackWARs=true autoDeploy=true
appBase=/home/revisionten/html
  Realm className=org.apache.catalina.realm.MemoryRealm
pathname=/var/tomcat5/conf/tomcat-users/revisionte
n-tomcat-users.xml/
  Context path= docBase=/home/revisionten/html debug=0/
Aliaswww.domain2.com/Alias
Context path=/tomcatmanager docBase=/var/tomcat5/server/webapps/manager
debug=0 privileged=true/
 Logger className=org.apache.catalina.logger.FileLogger
prefix=domain2.com_log. suffix=.txt dire
ctory=/home/revisionten timestamp=true/
/Host
CUT.


/usr/java/bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLo
gManager -Xmx1228M -Djava.awt.headless=true -Djava.endorsed.dirs=/var/tomcat
5/common/endorsed -classpath
:/var/tomcat5/bin/bootstrap.jar:/var/tomcat5/bin/commons-logging-api.jar:/us
r/java/jre/lib/mysql-connector-java-3.0.15-ga-bin.jar:/var/tomcat5/common/li
b/log4j-1.2.8.jar -Dcatalina.base=/var/tomcat5 -Dcatalina.home=/var/tomcat5 
-Djava.io.tmpdir=/var/tomcat5/temp org.apache.catalina.startup.Bootstrap
start

Does anyone have a setup like this and can offer any clues? If you need any
further config details, please ask. I hope I gave all necessary.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



PayPal Notification: Upgrade your information

2005-07-13 Thread [EMAIL PROTECTED]
fitchburg arum inhuman cancellate lighthearted 
hausdorff lexicography sirius carl groan conrad imperial 
bloop earthy decontrolling epitaxial charta escheat intoxicant ahead tenney 


Re: Cannot Login After Upgrade From 4.0.4 to 5.0.28

2005-05-20 Thread Parsons Technical Services
Look at the admin app. It uses a form login. Also compare the web.xml of the 
admin app. Hopefully you can spot any differences.

Doug
- Original Message - 
From: John Lindley [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Thursday, May 19, 2005 5:51 PM
Subject: Cannot Login After Upgrade From 4.0.4 to 5.0.28


Hi all, we recently upgraded from 4.0.4 to 5.0.28.  We had a login page 
under 4.0.4 that worked
fine.  Now under 5.0.28, after we enter the username and password, we get 
a Page cannot be found
and the address it's looking for is
http://ipaddress:8080/WebApp/jsp/security/login/j_security_check.  I have 
checked the
tomcat-users.xml file and it looks fine.  I believe that the web.xml file 
is fine.  As I said, all
was fine under 4.0.4 with the same web.xml.  Does anyone have any 
suggestions?  Thanks!

John

__
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Cannot Login After Upgrade From 4.0.4 to 5.0.28

2005-05-19 Thread John Lindley
Hi all, we recently upgraded from 4.0.4 to 5.0.28.  We had a login page under 
4.0.4 that worked
fine.  Now under 5.0.28, after we enter the username and password, we get a 
Page cannot be found
and the address it's looking for is
http://ipaddress:8080/WebApp/jsp/security/login/j_security_check.  I have 
checked the
tomcat-users.xml file and it looks fine.  I believe that the web.xml file is 
fine.  As I said, all
was fine under 4.0.4 with the same web.xml.  Does anyone have any suggestions?  
Thanks!

John




__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem with Tomcat Upgrade 4.0 to 5.5

2005-03-25 Thread Beau Hebert
Hello -

I am in the processs of upgrading from Tomcat 4.0 to Tomcat 5.5. I have an 
application that runs on Linux-Java-Tomcat-MySQL. Before I think about 
upgrading the production environment, I am configuring the development 
environment first, which runs on Windows XP and not Linux. I've installed 
Apache Tomcat 5.5.5 using JDK 1.4.2_06 along with the compat classes for JDK 
1.4. (BTW, I still have Tomcat 4.0.1 installed, but as a different service and 
it is not running). I've updated my CATALINA_HOME  TOMCAT_HOME variables to 
reflect the new Tomcat install (c:\tomcat5). The Tomcat homepage runs nicely 
along with the examples and the manager console. The application that I am 
trying to get up and running works flawlessly on Tomcat 4. However, when I 
build the application to the Tomcat5 directrory, and configure the new context 
and whatnot, I receive the follwing error upon browsing to the index page:

exception:
javax.servlet.ServletException: javax/mail/Message

root cause:
java.lang.NoClassDefFoundError: javax/mail/Message

I'm not sure, but it seems that the compiler (or is it the container?) can't 
find the class. My CLASSPATH is the following:

.;C:\tomcat5\common\lib\servlet-api.jar;C:\tomcat5\common\lib\jsp-api.jar;c:\jdk\bin;c:\jdk\lib\tools.jar;

There should not be a problem with the code as I am using the same jdk and the 
app runs on Tomcat4. I have the full stack trace available if necessary.

Any help or suggestions is appreciated.
Thanks,
Beau 

Re: Problem with Tomcat Upgrade 4.0 to 5.5

2005-03-25 Thread Jason Bainbridge
On Fri, 25 Mar 2005 09:08:15 -0500, Beau Hebert
[EMAIL PROTECTED] wrote:
 Hello -

 exception:
 javax.servlet.ServletException: javax/mail/Message
 
 root cause:
 java.lang.NoClassDefFoundError: javax/mail/Message
 
 I'm not sure, but it seems that the compiler (or is it the container?) can't 
 find the class. My CLASSPATH is the following:
 
 .;C:\tomcat5\common\lib\servlet-api.jar;C:\tomcat5\common\lib\jsp-api.jar;c:\jdk\bin;c:\jdk\lib\tools.jar;

Let Tomcat take care of setting the classpath don't set it yourself,
it is finding your class but more than one and getting confused as a
result.

Regards,
-- 
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with Tomcat Upgrade 4.0 to 5.5

2005-03-25 Thread Beau Hebert
Thanks for the response Jason. I've removed my classpath, but still getting 
the same error. Any other suggestions?

Rgds,
Beau
- Original Message - 
From: Jason Bainbridge [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday, March 25, 2005 10:23 AM
Subject: Re: Problem with Tomcat Upgrade 4.0 to 5.5


On Fri, 25 Mar 2005 09:08:15 -0500, Beau Hebert
[EMAIL PROTECTED] wrote:
Hello -

exception:
javax.servlet.ServletException: javax/mail/Message
root cause:
java.lang.NoClassDefFoundError: javax/mail/Message
I'm not sure, but it seems that the compiler (or is it the container?) 
can't find the class. My CLASSPATH is the following:

.;C:\tomcat5\common\lib\servlet-api.jar;C:\tomcat5\common\lib\jsp-api.jar;c:\jdk\bin;c:\jdk\lib\tools.jar;
Let Tomcat take care of setting the classpath don't set it yourself,
it is finding your class but more than one and getting confused as a
result.
Regards,
--
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Problem with Tomcat Upgrade 4.0 to 5.5

2005-03-25 Thread QM
On Fri, Mar 25, 2005 at 09:08:15AM -0500, Beau Hebert wrote:
: I am in the processs of upgrading from Tomcat 4.0 to Tomcat 5.5. I have an
: application that runs on Linux-Java-Tomcat-MySQL.
: [snip]
: javax.servlet.ServletException: javax/mail/Message

As someone else already pointed out, you no longer have to (nor should)
set your own classpath.

Second, Tomcat no longer ships with the JavaMail JARs; either copy those
from your old install or just download new ones from java.sun.com.

Third, I have a brief Tomcat 4.x - 5.x upgrade guide on my website:

http://www.brandxdev.net/misc/index.site

Feel free to give that a skim.

-QM


-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



please help -SEVERE: Parse error in application web.xml - webapp does not start after cpanel upgrade

2005-01-17 Thread Carlos Martins
After upgrading cpanel on the server, tomcat throws the error message
attached. I swear I did not change a thing in my web.xml file. Never the
less tomcat says I now have an error in the /servlet tag.

I forward the error and the contects of my web.xml. please help, if you
can.

Sincerely yours
Carlos

This is the error:
Jan 17, 2005 12:01:28 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 949 ms
Jan 17, 2005 12:01:28 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 17, 2005 12:01:28 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
Jan 17, 2005 12:01:28 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jan 17, 2005 12:01:28 PM org.apache.catalina.startup.ContextConfig
defaultConfig
INFO: No default web.xml
Jan 17, 2005 12:01:28 PM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.Container
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1340)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1189)
at
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:243)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown
Source)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.digester.Digester.parse(Digester.java:1548)
at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfi
g.java:263)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:624)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j
ava:216)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4290
)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at
org.apache.catalina.core.StandardService.start(StandardService.java:480)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Jan 17, 2005 12:01:28 PM org.apache.catalina.startup.ContextConfig
applicationConfig
SEVERE: Parse error in application web.xml
java.lang.ClassNotFoundException: org.apache.catalina.Container
at
org.apache.commons.digester.Digester.createSAXException(Digester.java:25
40)
at
org.apache.commons.digester.Digester.createSAXException(Digester.java:25
66)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1061)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown
Source)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
at

Query on Upgrade of tomcat 4.0.6 to 5.0.x

2004-12-27 Thread Murthy Tetali
Hi,
 
We would like to upgrade our production Tomcat Server from 4.0.6 to 5.0.x 
Our application is higly multi-threaded, having 2000 concurrent users. 
This Application is running on tomcat 4.0.6 from last 2 years without any 
problem.
 
I will be looking forward for your recommendation/suggestions for more 
stable tomcat 5.0.x version and is appreciated.
 
Thanks  Regards
 
Satish


-
Do you Yahoo!?
 Dress up your holiday email, Hollywood style. Learn more.

Re: Query on Upgrade of tomcat 4.0.6 to 5.0.x

2004-12-27 Thread Wade Chandler
Murthy Tetali wrote:
Hi,
 
We would like to upgrade our production Tomcat Server from 4.0.6 to 5.0.x 
Our application is higly multi-threaded, having 2000 concurrent users. 
This Application is running on tomcat 4.0.6 from last 2 years without any problem.
 
I will be looking forward for your recommendation/suggestions for more 
stable tomcat 5.0.x version and is appreciated.
 
Thanks  Regards
 
Satish


-
Do you Yahoo!?
 Dress up your holiday email, Hollywood style. Learn more.
Well,
If I wasn't having any problems,and I did not have any real reason to 
upgrade then I would stay confortably where I am at.  If, however, you 
are doing this because you want to move up in the servlet spec or jsp 
spec, and have been planning on doing so then I would go ahead and move 
to 5.0.28 or .29.  I've been using 5.0.28 for a while now without 
having any issues.  I've been happy with it.

Of course I go by the adage:  If it isn't broken don't fix it.  So, if I 
didn't have any better reason to upgrade tomcat other than it's a newer 
version and I have been running happily for 2 years.I would stay 
right where I'm at.

Wade
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Query on Upgrade of tomcat 4.0.6 to 5.0.x

2004-12-27 Thread Murthy Tetali
Hi Wade,
 
Thank You. Your opinion will be good input for me. The reason for upgradation 
is, we would like upgrade the specs and as well want to take the advantage of 
JMX support.
 
Thank  Regards
 
Murthy Tetali

Wade Chandler [EMAIL PROTECTED] wrote:
Murthy Tetali wrote:
 Hi,
 
 We would like to upgrade our production Tomcat Server from 4.0.6 to 5.0.x 
 Our application is higly multi-threaded, having 2000 concurrent users. 
 This Application is running on tomcat 4.0.6 from last 2 years without any 
 problem.
 
 I will be looking forward for your recommendation/suggestions for more 
 stable tomcat 5.0.x version and is appreciated.
 
 Thanks  Regards
 
 Satish
 
 
 -
 Do you Yahoo!?
 Dress up your holiday email, Hollywood style. Learn more.

Well,

If I wasn't having any problems,and I did not have any real reason to 
upgrade then I would stay confortably where I am at. If, however, you 
are doing this because you want to move up in the servlet spec or jsp 
spec, and have been planning on doing so then I would go ahead and move 
to 5.0.28 or .29. I've been using 5.0.28 for a while now without 
having any issues. I've been happy with it.

Of course I go by the adage: If it isn't broken don't fix it. So, if I 
didn't have any better reason to upgrade tomcat other than it's a newer 
version and I have been running happily for 2 years.I would stay 
right where I'm at.

Wade


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses.

tomcat 5.5, should i upgrade?

2004-12-22 Thread Krishnakant Mane

hello jan and other friends,
I am currently using tomcat 5.25 on in a production
environment.  it is used to serve thousands of
requests per hour.  I will like to know if thomcat 5.5
is worth the upgrade.  I will like to know the real
facts.  is tomcat 5.5 having some performance
improvements over 5.0?  what are those features which
I must consider for an upgrade to tomcat 5.5?
further more I want to know is there any big
organisation or company who uses tomcat for production
and not just testing?
I am refering to version 5.0 in particular.
thanks






___ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! 
http://uk.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat 5.5, should i upgrade?

2004-12-22 Thread Arnab Chakravarty
I cannot comment on tomcat 5.5 but yes tomcat 5.0. Tomcat is being used
for Production and not just for testing. 

You would be surprised to know the production setup, though I cannot
delve into more details here.

I am amazed by the potential it carries.

Arnab
-Original Message-
From: Krishnakant Mane [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 22, 2004 3:37 PM
To: [EMAIL PROTECTED]
Subject: tomcat 5.5, should i upgrade?


hello jan and other friends,
I am currently using tomcat 5.25 on in a production
environment.  it is used to serve thousands of
requests per hour.  I will like to know if thomcat 5.5
is worth the upgrade.  I will like to know the real
facts.  is tomcat 5.5 having some performance
improvements over 5.0?  what are those features which
I must consider for an upgrade to tomcat 5.5?
further more I want to know is there any big
organisation or company who uses tomcat for production
and not just testing?
I am refering to version 5.0 in particular.
thanks






___ 
ALL-NEW Yahoo! Messenger - all new features - even more fun!
http://uk.messenger.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat upgrade to 4.1.7

2004-12-14 Thread john corcoran
Hello,
I 've searched the tomcat website and could not find any instructions for 
upgrading Tomcat 4.0.5
to Tomcat 4.1.7

Can anybody help me out ?  Looking for some tpye of cook book or detail 
instructions .

Thanks
-John Corcoran
_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat upgrade to 4.1.7

2004-12-14 Thread Ben Souther
Other than the release notes that ship with TC, I don't think you'll
find much.

Out of curiosity, why are you upgrading to 4.1.7?  
The current 4x is 4.1.31.



On Tue, 2004-12-14 at 14:26, john corcoran wrote:
 Hello,
 
 I 've searched the tomcat website and could not find any instructions for 
 upgrading Tomcat 4.0.5
 to Tomcat 4.1.7
 
 Can anybody help me out ?  Looking for some tpye of cook book or detail 
 instructions .
 
 Thanks
 -John Corcoran
 
 _
 FREE pop-up blocking with the new MSN Toolbar  get it now! 
 http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat upgrade to 4.1.7

2004-12-14 Thread john corcoran
That was the request from the application owner.
Thanks for your input
-John
From: Ben Souther [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Tomcat upgrade to 4.1.7
Date: Tue, 14 Dec 2004 16:00:35 -0500
Other than the release notes that ship with TC, I don't think you'll
find much.
Out of curiosity, why are you upgrading to 4.1.7?
The current 4x is 4.1.31.

On Tue, 2004-12-14 at 14:26, john corcoran wrote:
 Hello,

 I 've searched the tomcat website and could not find any instructions 
for
 upgrading Tomcat 4.0.5
 to Tomcat 4.1.7

 Can anybody help me out ?  Looking for some tpye of cook book or detail
 instructions .

 Thanks
 -John Corcoran

 _
 FREE pop-up blocking with the new MSN Toolbar  get it now!
 http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Error Preventing upgrade to Tomcat 5

2004-12-03 Thread Cox, Charlie
Is there a bugzilla number for this problem? I can't seem to find it. Also
do you know if it is also a problem in 5.5?

Thanks,
Charlie

 -Original Message-
 From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 30, 2004 3:16 PM
 To: Tomcat Users List
 Subject: Re: Error Preventing upgrade to Tomcat 5
 
 
 
 Chris Cherrett wrote:
  I have found a work around. It would require that we werite our jsps.
 
 
  If I pass this to my controller it crashes in Tomcat 5
  document.frmGeneral.taskService.value = /;
 
  This works
  document.frmGeneral.taskService.value = ;
 
  Does this help?
 
 Yes. I will still fix the problem (bad code)
 
 Thanks!
 
 -- Jeanfrancois
 
 
 
  Thanks
 
  On Monday 29 November 2004 06:23 pm, Jean-Francois Arcand wrote:
 
  From the source, it possible our code need a fix. Can you open a bug
 
 and attach a test case? Mainly, this line is failling:
 
 199 // The first scenario occurs when the jsp is not
 directly under / 200 // example: /utf16/foo.jsp
 201 if (requestUri != null){
 202 String currentIncludedUri
 203 =
 requestUri.substring(requestUri.indexOf(includeUri)); 204
 
 probably the indexOf is returning -1
 
 Thanks
 
 -- Jeanfrancois
 
 Chris Cherrett wrote:
 
 I have tried to solve this now for awhile and can't seem to track it
 down. The error only happens in Tomcat 5.
 
 When I call
 
 RequestDispatcher taskDispatcher =
 req.getRequestDispatcher(taskServices[c]);
 
 if (taskDispatcher != null)
 {
 taskDispatcher.include(req, res);   //crashed
 here }
 
 The request dispatcher gives me the following output:
 
 Nov 29, 2004 5:23:02 PM org.apache.catalina.core.ApplicationDispatcher
 invoke SEVERE: Servlet.service() for servlet jsp threw exception
 java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
 at java.lang.String.substring(String.java:1762)
 at java.lang.String.substring(String.java:1735)
 at
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:202) at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
 ionFilterChain.java:237) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
 rChain.java:157) at

org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatch
 er.java:674) at

org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispa
 tcher.java:576) at

org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatc
 her.java:501) at
 TSIController.TSIController.service(TSIController.java:47) at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
 ionFilterChain.java:237) at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
 rChain.java:157) at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
 .java:214) at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve
 .java:178) at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
 126) at

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
 105) at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j
 ava:107) at

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:14
 8) at

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825
 ) at

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCo
 nnection(Http11Protocol.java:731) at

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.
 java:526) at

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowe
 rWorkerThread.java:80) at

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
 java:684) at java.lang.Thread.run(Thread.java:595)
 in exception
 java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
 
 Any help would be appriciated.
 
 Thanks
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


RE: Error Preventing upgrade to Tomcat 5

2004-11-30 Thread Phillip Qin
I thought it is a nice feature of Tomcat 5 since it hides the index.jsp from
http://localhost/index.jsp so that =the main link becomes http://localhost.

-Original Message-
From: Chris Cherrett [mailto:[EMAIL PROTECTED] 
Sent: November 29, 2004 8:30 PM
To: Tomcat Users List
Subject: Re: Error Preventing upgrade to Tomcat 5


I have found a work around. It would require that we werite our jsps.


If I pass this to my controller it crashes in Tomcat 5
document.frmGeneral.taskService.value = /;

This works
document.frmGeneral.taskService.value = ;

Does this help?

Thanks

On Monday 29 November 2004 06:23 pm, Jean-Francois Arcand wrote:
  From the source, it possible our code need a fix. Can you open a bug

 and attach a test case? Mainly, this line is failling:
  199 // The first scenario occurs when the jsp is not
  directly under / 200 // example: /utf16/foo.jsp
  201 if (requestUri != null){
  202 String currentIncludedUri
  203 =
  requestUri.substring(requestUri.indexOf(includeUri)); 204

 probably the indexOf is returning -1

 Thanks

 -- Jeanfrancois

 Chris Cherrett wrote:
  I have tried to solve this now for awhile and can't seem to track it 
  down. The error only happens in Tomcat 5.
 
  When I call
 
  RequestDispatcher taskDispatcher =
  req.getRequestDispatcher(taskServices[c]);
 
  if (taskDispatcher != null)
  {
  taskDispatcher.include(req, res);   //crashed
  here }
 
  The request dispatcher gives me the following output:
 
  Nov 29, 2004 5:23:02 PM 
 org.apache.catalina.core.ApplicationDispatcher
  invoke SEVERE: Servlet.service() for servlet jsp threw exception
  java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  at java.lang.String.substring(String.java:1762)
  at java.lang.String.substring(String.java:1735)
  at
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:202) at
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
 ionFilterChain.java:237) at
 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
 rChain.java:157) at
 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatch
 er.java:674) at
 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispa
 tcher.java:576) at
 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatc
 her.java:501) at
  TSIController.TSIController.service(TSIController.java:47) at
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
 ionFilterChain.java:237) at
 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
 rChain.java:157) at
 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
 .java:214) at
 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve
 .java:178) at
 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
 126) at
 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
 105) at
 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j
 ava:107) at
 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:14
 8) at
 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825
 ) at
 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCo
 nnection(Http11Protocol.java:731) at
 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.
 java:526) at
 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowe
 rWorkerThread.java:80) at
 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
 java:684) at java.lang.Thread.run(Thread.java:595)
  in exception
  java.lang.StringIndexOutOfBoundsException: String index out of range: -1
 
  Any help would be appriciated.
 
  Thanks

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Chris Cherrett
Tracking Solutions International
1-877-TSIWARE
www.tsiware.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:41abceba191421824712322!


Re: Error Preventing upgrade to Tomcat 5

2004-11-30 Thread karjera

Laba diena.



Dkojame, kad mums parate.

Js atsista inut isaugota ms duomen bazje.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error Preventing upgrade to Tomcat 5

2004-11-30 Thread Jeanfrancois Arcand

Chris Cherrett wrote:
I have found a work around. It would require that we werite our jsps.
If I pass this to my controller it crashes in Tomcat 5
document.frmGeneral.taskService.value = /;
This works
document.frmGeneral.taskService.value = ;
Does this help?
Yes. I will still fix the problem (bad code)
Thanks!
-- Jeanfrancois

Thanks
On Monday 29 November 2004 06:23 pm, Jean-Francois Arcand wrote:
From the source, it possible our code need a fix. Can you open a bug
and attach a test case? Mainly, this line is failling:
   199 // The first scenario occurs when the jsp is not
directly under / 200 // example: /utf16/foo.jsp
   201 if (requestUri != null){
   202 String currentIncludedUri
   203 =
requestUri.substring(requestUri.indexOf(includeUri)); 204
probably the indexOf is returning -1
Thanks
-- Jeanfrancois
Chris Cherrett wrote:
I have tried to solve this now for awhile and can't seem to track it
down. The error only happens in Tomcat 5.
When I call
RequestDispatcher taskDispatcher =
   req.getRequestDispatcher(taskServices[c]);
   if (taskDispatcher != null)
   {
   taskDispatcher.include(req, res);   //crashed
here }
The request dispatcher gives me the following output:
Nov 29, 2004 5:23:02 PM org.apache.catalina.core.ApplicationDispatcher
invoke SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(String.java:1762)
   at java.lang.String.substring(String.java:1735)
   at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:202) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
ionFilterChain.java:237) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
rChain.java:157) at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatch
er.java:674) at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispa
tcher.java:576) at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatc
her.java:501) at
TSIController.TSIController.service(TSIController.java:47) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
ionFilterChain.java:237) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
rChain.java:157) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
.java:214) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve
.java:178) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
126) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
105) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j
ava:107) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:14
8) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825
) at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCo
nnection(Http11Protocol.java:731) at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.
java:526) at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowe
rWorkerThread.java:80) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
java:684) at java.lang.Thread.run(Thread.java:595)
in exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Any help would be appriciated.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Error Preventing upgrade to Tomcat 5

2004-11-29 Thread Chris Cherrett
I have tried to solve this now for awhile and can't seem to track it down. The 
error only happens in Tomcat 5.

When I call 

RequestDispatcher taskDispatcher =
req.getRequestDispatcher(taskServices[c]);

if (taskDispatcher != null) 
{
taskDispatcher.include(req, res);   //crashed here
}

The request dispatcher gives me the following output:

Nov 29, 2004 5:23:02 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1762)
at java.lang.String.substring(String.java:1735)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:674)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:576)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:501)
at TSIController.TSIController.service(TSIController.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
in exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Any help would be appriciated.

Thanks
-- 
Chris Cherrett
Tracking Solutions International
1-877-TSIWARE
www.tsiware.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error Preventing upgrade to Tomcat 5

2004-11-29 Thread Jean-Francois Arcand
From the source, it possible our code need a fix. Can you open a bug 
and attach a test case? Mainly, this line is failling:

199 // The first scenario occurs when the jsp is not directly under /
200 // example: /utf16/foo.jsp
201 if (requestUri != null){
202 String currentIncludedUri
203 = requestUri.substring(requestUri.indexOf(includeUri));
204
 
probably the indexOf is returning -1
Thanks
-- Jeanfrancois
Chris Cherrett wrote:
I have tried to solve this now for awhile and can't seem to track it down. The 
error only happens in Tomcat 5.

When I call 

RequestDispatcher taskDispatcher =
req.getRequestDispatcher(taskServices[c]);

if (taskDispatcher != null) 
{
taskDispatcher.include(req, res);   //crashed here
}

The request dispatcher gives me the following output:
Nov 29, 2004 5:23:02 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1762)
at java.lang.String.substring(String.java:1735)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:674)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:576)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:501)
at TSIController.TSIController.service(TSIController.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
in exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Any help would be appriciated.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Error Preventing upgrade to Tomcat 5

2004-11-29 Thread Chris Cherrett
I have found a work around. It would require that we werite our jsps.


If I pass this to my controller it crashes in Tomcat 5
document.frmGeneral.taskService.value = /;

This works
document.frmGeneral.taskService.value = ;

Does this help?

Thanks

On Monday 29 November 2004 06:23 pm, Jean-Francois Arcand wrote:
  From the source, it possible our code need a fix. Can you open a bug

 and attach a test case? Mainly, this line is failling:
  199 // The first scenario occurs when the jsp is not
  directly under / 200 // example: /utf16/foo.jsp
  201 if (requestUri != null){
  202 String currentIncludedUri
  203 =
  requestUri.substring(requestUri.indexOf(includeUri)); 204

 probably the indexOf is returning -1

 Thanks

 -- Jeanfrancois

 Chris Cherrett wrote:
  I have tried to solve this now for awhile and can't seem to track it
  down. The error only happens in Tomcat 5.
 
  When I call
 
  RequestDispatcher taskDispatcher =
  req.getRequestDispatcher(taskServices[c]);
 
  if (taskDispatcher != null)
  {
  taskDispatcher.include(req, res);   //crashed
  here }
 
  The request dispatcher gives me the following output:
 
  Nov 29, 2004 5:23:02 PM org.apache.catalina.core.ApplicationDispatcher
  invoke SEVERE: Servlet.service() for servlet jsp threw exception
  java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  at java.lang.String.substring(String.java:1762)
  at java.lang.String.substring(String.java:1735)
  at
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:202) at
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
 ionFilterChain.java:237) at
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
 rChain.java:157) at
  org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatch
 er.java:674) at
  org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispa
 tcher.java:576) at
  org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatc
 her.java:501) at
  TSIController.TSIController.service(TSIController.java:47) at
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
 ionFilterChain.java:237) at
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
 rChain.java:157) at
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
 .java:214) at
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve
 .java:178) at
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
 126) at
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
 105) at
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j
 ava:107) at
  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:14
 8) at
  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825
 ) at
  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCo
 nnection(Http11Protocol.java:731) at
  org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.
 java:526) at
  org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowe
 rWorkerThread.java:80) at
  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
 java:684) at java.lang.Thread.run(Thread.java:595)
  in exception
  java.lang.StringIndexOutOfBoundsException: String index out of range: -1
 
  Any help would be appriciated.
 
  Thanks

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Chris Cherrett
Tracking Solutions International
1-877-TSIWARE
www.tsiware.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Suggestion - upgrade scripts.

2004-11-18 Thread Andoni
Ok, I have been playing around with this idea. What I would use most would
not so much be an upgrade script between versions but an upgrade script
between sub-version. Or maybe even just a list of the files that have
changed in a sub-version upgrade, and a copy of each one.

Like an upgrade version of Tomcat. You only download the files that have
changed!

I know this is recoverable from the release notes but it would be made
simpler if there was just a zip file with only the changed jars etc.

Yes / No / Not useful ?

Andoni.

- Original Message - 
From: QM [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Thursday, November 18, 2004 12:07 AM
Subject: Re: Suggestion - upgrade scripts.


 On Wed, Nov 17, 2004 at 03:15:46PM +, Andoni wrote:
 : Ever since a recent conversation about the status of the 4.1.xx branch
of the Tomcat tree I have been wondering about the best route for upgrading
the servers which I manage. Having browsed the Tocmat website and seen the
differences between the different versions I have noticed what's missing.

 I have a link on my site for upgrading from 4.1.x - 5.0.x.

 http://www.brandxdev.net/misc/tomcat_upgrade.site

 The 5.0.x - 5.5.x guide is on the way.

 : I think there should be some development effort put into scripts for
upgrading from the previous version of Tomcat.

 Have at it!  Where I'm from, such a statement is considered a statement
 that you volunteer your time to do this. ;)

 In all seriousness, how could there be such a tool?  Most of what Tomcat
 does and provides is detailed in the servlet/JSP specs: it must handle
 WAR files, it must service JSPs, and so on.  In turn, most of the
 upgrade process involves you, the developer, testing and adjusting your
 app to fit the new specs.  Looking at the upgrade guide I've assembled,
 there were only a couple of changes to Tomcat config files.


 -QM

 -- 

 software  -- http://www.brandxdev.net
 tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Suggestion - upgrade scripts.

2004-11-18 Thread QM
On Thu, Nov 18, 2004 at 10:32:33AM +, Andoni wrote:
: Ok, I have been playing around with this idea. What I would use most would
: not so much be an upgrade script between versions but an upgrade script
: between sub-version. Or maybe even just a list of the files that have
: changed in a sub-version upgrade, and a copy of each one.

Given the Apache license, you're more than able to create and distribute
such an upgrade package yourself.  As there are no roadblocks between
you and your goal, why not give ti a shot?

I personally prefer a different upgrade philosophy, but this certainly
is a situation in which we can all do what we want without affecting
anyone else. ;)

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Suggestion - upgrade scripts.

2004-11-18 Thread Didier McGillis
I would agree with this from most applications both open source and 
commercial license software they will provide infromation on how to upgrade 
and new features, and of course the software, but its still up to those 
maintaining their sites that are using the software to do the upgrading and 
test and to fix any errors that may crop up due to differences from one 
version to the next.  One upgrade we did was where the company changes 
significently the javascript processor embedded in the system, so if you 
developed the site in JavaScript Pages instead of JavaServer Pages, guess 
what, you had a lot of work to do.  BTW we learned that information from 
other developers and connections we had in their online community, not from 
the company itself.


In all seriousness, how could there be such a tool?  Most of what Tomcat
does and provides is detailed in the servlet/JSP specs: it must handle
WAR files, it must service JSPs, and so on.  In turn, most of the
upgrade process involves you, the developer, testing and adjusting your
app to fit the new specs.  Looking at the upgrade guide I've assembled,
there were only a couple of changes to Tomcat config files.
-QM
--
software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


How to upgrade an application without stopping service?

2004-11-18 Thread Agustín de la Herrán
I´ve an application running over tomcat 5.0.19 installed on a
production server that can´t be stopped because it´s beeing used all
the time. And i´ve got not permission to stop the service neither a
moment.
This application has changed, and now I´ve to upgrade it (classes,
html and some .txt files) in order to provide the new version.
Is there any way of doing it without stopping the service??

Sorry about my english and thanks for all,

Agus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to upgrade an application without stopping service?

2004-11-18 Thread Allistair Crossley
If your context is set to reloadable you might get away with it but other than 
that I do not think Tomcat can do this - certainly it's never worked when I 
have tried it with a WAR. I'm sure someone else has a better idea.

 -Original Message-
 From: Agustín de la Herrán [mailto:[EMAIL PROTECTED]
 Sent: 18 November 2004 15:35
 To: [EMAIL PROTECTED]
 Subject: How to upgrade an application without stopping service?
 
 
 I´ve an application running over tomcat 5.0.19 installed on a
 production server that can´t be stopped because it´s beeing used all
 the time. And i´ve got not permission to stop the service neither a
 moment.
 This application has changed, and now I´ve to upgrade it (classes,
 html and some .txt files) in order to provide the new version.
 Is there any way of doing it without stopping the service??
 
 Sorry about my english and thanks for all,
 
 Agus
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to upgrade an application without stopping service?

2004-11-18 Thread Shapira, Yoav

Hi,
You need to schedule down time for the server.  Perhaps a night time window 
like 3am when usage is minimal.  Then do the upgrade.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Agustín de la Herrán [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 10:35 AM
To: [EMAIL PROTECTED]
Subject: How to upgrade an application without stopping service?

I´ve an application running over tomcat 5.0.19 installed on a
production server that can´t be stopped because it´s beeing used all
the time. And i´ve got not permission to stop the service neither a
moment.
This application has changed, and now I´ve to upgrade it (classes,
html and some .txt files) in order to provide the new version.
Is there any way of doing it without stopping the service??

Sorry about my english and thanks for all,

Agus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to upgrade an application without stopping service?

2004-11-18 Thread Peter Crowther
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
 You need to schedule down time for the server.  Perhaps a 
 night time window like 3am when usage is minimal.  Then do 
 the upgrade.

An alternative, if you have the hardware for it, would be to install the
new app version on new hardware but using the same database and other
resources as the old version.  Then change your DNS to point to the new
version, wait a day or so for that to propagate through the DNS caches,
shut down and upgrade the old server, restart that old server with the new
version, change your DNS settings back, wait a day or so, and then turn
off your new hardware.

This presupposes that the new and old apps are compatible at the data
layer, and that it's only the code that differs.  Clearly, if they are
not, you're going to have to stop the service at some point to change the
schema.

Just my 0.02 (it's a stronger currency than $0.02 at the moment ;-) )

- Peter


smime.p7s
Description: S/MIME cryptographic signature


Suggestion - upgrade scripts.

2004-11-17 Thread Andoni
Hello,

Ever since a recent conversation about the status of the 4.1.xx branch of the 
Tomcat tree I have been wondering about the best route for upgrading the 
servers which I manage. Having browsed the Tocmat website and seen the 
differences between the different versions I have noticed what's missing.

I think there should be some development effort put into scripts for upgrading 
from the previous version of Tomcat. If these scripts could also download from 
the website then the simplest answer to I'm running 4.1.27 and it crashes when 
I ...  would be Then run the upgrade script and call back! I actually hope 
the user list never becomes this rude but you get my gist. At least a lot more 
people would have the option to upgrade if they didn't have to know exactly 
what was involved (i.e. a script could know for them).

Anyone got any free development time?

Just a suggestion.

Andoni.


Re: Suggestion - upgrade scripts.

2004-11-17 Thread QM
On Wed, Nov 17, 2004 at 03:15:46PM +, Andoni wrote:
: Ever since a recent conversation about the status of the 4.1.xx branch of the 
Tomcat tree I have been wondering about the best route for upgrading the 
servers which I manage. Having browsed the Tocmat website and seen the 
differences between the different versions I have noticed what's missing.

I have a link on my site for upgrading from 4.1.x - 5.0.x.

http://www.brandxdev.net/misc/tomcat_upgrade.site

The 5.0.x - 5.5.x guide is on the way.

: I think there should be some development effort put into scripts for 
upgrading from the previous version of Tomcat.

Have at it!  Where I'm from, such a statement is considered a statement
that you volunteer your time to do this. ;)

In all seriousness, how could there be such a tool?  Most of what Tomcat
does and provides is detailed in the servlet/JSP specs: it must handle
WAR files, it must service JSPs, and so on.  In turn, most of the
upgrade process involves you, the developer, testing and adjusting your
app to fit the new specs.  Looking at the upgrade guide I've assembled,
there were only a couple of changes to Tomcat config files.


-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Shapira, Yoav

Hi,
It's a good blog.  I didn't see a PermaLink option: if there is one, I'd
like to add the URL of this blog posting to the Tomcat wiki page.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 14, 2004 4:05 PM
To: Tomcat Users List; Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Tomcat 5.5.4 Upgrade Blog

Hi List,



Based on my upgrade to Tomcat 5.5.4 late last week and the few config
issues I came across, I wrote a Blog that can be found on my web site
here



www.adcworks.com/blog http://www.adcworks.com/blog



It covers IIS authentication (thanks Bill), logging, basic JNDI data
source
config.



It won't be useful for everyone, but hopefully for some of you.
Everything
I have written works. Feel free to comment on this Blog from the page
or
add additional information relating to it.



Best regards, Allistair



PS: Remy/Yoav, if you could take a look at this Blog and let me know if
you
think any of it is useful for the Tomcat pages, I can covert it
appropriately.





FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Allistair Crossley
Hi Yoav,

Thanks, I've only just started with this Blog stuff - quite cool. I think I 
have found what you mean by PermaLinks and I have enabled it. The title is a 
link to the permalink itself ..

http://www.adcworks.com/blog/index.php/archives/2004/11/14/getting-up-and-running-with-tomcat-55/

Hope that helps!

Cheers, Allistair.

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: 15 November 2004 14:31
 To: Tomcat Users List
 Subject: RE: Tomcat 5.5.4 Upgrade Blog
 
 
 
 Hi,
 It's a good blog.  I didn't see a PermaLink option: if there 
 is one, I'd
 like to add the URL of this blog posting to the Tomcat wiki page.
 
 Yoav Shapira http://www.yoavshapira.com
  
 
 -Original Message-
 From: Allistair Crossley [mailto:[EMAIL PROTECTED]
 Sent: Sunday, November 14, 2004 4:05 PM
 To: Tomcat Users List; Tomcat Users List
 Cc: [EMAIL PROTECTED]
 Subject: Tomcat 5.5.4 Upgrade Blog
 
 Hi List,
 
 
 
 Based on my upgrade to Tomcat 5.5.4 late last week and the few config
 issues I came across, I wrote a Blog that can be found on my web site
 here
 
 
 
 www.adcworks.com/blog http://www.adcworks.com/blog
 
 
 
 It covers IIS authentication (thanks Bill), logging, basic JNDI data
 source
 config.
 
 
 
 It won't be useful for everyone, but hopefully for some of you.
 Everything
 I have written works. Feel free to comment on this Blog from the page
 or
 add additional information relating to it.
 
 
 
 Best regards, Allistair
 
 
 
 PS: Remy/Yoav, if you could take a look at this Blog and let 
 me know if
 you
 think any of it is useful for the Tomcat pages, I can covert it
 appropriately.
 
 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 
 
 
 This e-mail, including any attachments, is a confidential 
 business communication, and may contain information that is 
 confidential, proprietary and/or privileged.  This e-mail is 
 intended only for the individual(s) to whom it is addressed, 
 and may not be saved, copied, printed, disclosed or used by 
 anyone else.  If you are not the(an) intended recipient, 
 please immediately delete this e-mail from your computer 
 system and notify the sender.  Thank you.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Shapira, Yoav

Hi,
Cool.  I've added this to the wiki useful links page.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 9:42 AM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.4 Upgrade Blog

Hi Yoav,

Thanks, I've only just started with this Blog stuff - quite cool. I
think I
have found what you mean by PermaLinks and I have enabled it. The title
is
a link to the permalink itself ..

http://www.adcworks.com/blog/index.php/archives/2004/11/14/getting-up-a
nd-
running-with-tomcat-55/

Hope that helps!

Cheers, Allistair.

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: 15 November 2004 14:31
 To: Tomcat Users List
 Subject: RE: Tomcat 5.5.4 Upgrade Blog



 Hi,
 It's a good blog.  I didn't see a PermaLink option: if there
 is one, I'd
 like to add the URL of this blog posting to the Tomcat wiki page.

 Yoav Shapira http://www.yoavshapira.com


 -Original Message-
 From: Allistair Crossley [mailto:[EMAIL PROTECTED]
 Sent: Sunday, November 14, 2004 4:05 PM
 To: Tomcat Users List; Tomcat Users List
 Cc: [EMAIL PROTECTED]
 Subject: Tomcat 5.5.4 Upgrade Blog
 
 Hi List,
 
 
 
 Based on my upgrade to Tomcat 5.5.4 late last week and the few
config
 issues I came across, I wrote a Blog that can be found on my web
site
 here
 
 
 
 www.adcworks.com/blog http://www.adcworks.com/blog
 
 
 
 It covers IIS authentication (thanks Bill), logging, basic JNDI data
 source
 config.
 
 
 
 It won't be useful for everyone, but hopefully for some of you.
 Everything
 I have written works. Feel free to comment on this Blog from the
page
 or
 add additional information relating to it.
 
 
 
 Best regards, Allistair
 
 
 
 PS: Remy/Yoav, if you could take a look at this Blog and let
 me know if
 you
 think any of it is useful for the Tomcat pages, I can covert it
 appropriately.
 
 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT




 This e-mail, including any attachments, is a confidential
 business communication, and may contain information that is
 confidential, proprietary and/or privileged.  This e-mail is
 intended only for the individual(s) to whom it is addressed,
 and may not be saved, copied, printed, disclosed or used by
 anyone else.  If you are not the(an) intended recipient,
 please immediately delete this e-mail from your computer
 system and notify the sender.  Thank you.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Allistair Crossley
Would any of it be relevant for the 22) Logging section of the TC 5.5 pages 
which is empty right now or is it not in scope?

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: 15 November 2004 15:05
 To: Tomcat Users List
 Subject: RE: Tomcat 5.5.4 Upgrade Blog
 
 
 
 Hi,
 Cool.  I've added this to the wiki useful links page.
 
 Yoav Shapira http://www.yoavshapira.com
  
 
 -Original Message-
 From: Allistair Crossley [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 15, 2004 9:42 AM
 To: Tomcat Users List
 Subject: RE: Tomcat 5.5.4 Upgrade Blog
 
 Hi Yoav,
 
 Thanks, I've only just started with this Blog stuff - quite cool. I
 think I
 have found what you mean by PermaLinks and I have enabled 
 it. The title
 is
 a link to the permalink itself ..
 
 http://www.adcworks.com/blog/index.php/archives/2004/11/14/ge
 tting-up-a
 nd-
 running-with-tomcat-55/
 
 Hope that helps!
 
 Cheers, Allistair.
 
  -Original Message-
  From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
  Sent: 15 November 2004 14:31
  To: Tomcat Users List
  Subject: RE: Tomcat 5.5.4 Upgrade Blog
 
 
 
  Hi,
  It's a good blog.  I didn't see a PermaLink option: if there
  is one, I'd
  like to add the URL of this blog posting to the Tomcat wiki page.
 
  Yoav Shapira http://www.yoavshapira.com
 
 
  -Original Message-
  From: Allistair Crossley [mailto:[EMAIL PROTECTED]
  Sent: Sunday, November 14, 2004 4:05 PM
  To: Tomcat Users List; Tomcat Users List
  Cc: [EMAIL PROTECTED]
  Subject: Tomcat 5.5.4 Upgrade Blog
  
  Hi List,
  
  
  
  Based on my upgrade to Tomcat 5.5.4 late last week and the few
 config
  issues I came across, I wrote a Blog that can be found on my web
 site
  here
  
  
  
  www.adcworks.com/blog http://www.adcworks.com/blog
  
  
  
  It covers IIS authentication (thanks Bill), logging, 
 basic JNDI data
  source
  config.
  
  
  
  It won't be useful for everyone, but hopefully for some of you.
  Everything
  I have written works. Feel free to comment on this Blog from the
 page
  or
  add additional information relating to it.
  
  
  
  Best regards, Allistair
  
  
  
  PS: Remy/Yoav, if you could take a look at this Blog and let
  me know if
  you
  think any of it is useful for the Tomcat pages, I can covert it
  appropriately.
  
  
  
  
  
  FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
  ---
  QAS Ltd.
  Developers of QuickAddress Software
  a href=http://www.qas.com;www.qas.com/a
  Registered in England: No 2582055
  Registered in Australia: No 082 851 474
  ---
  /FONT
 
 
 
 
  This e-mail, including any attachments, is a confidential
  business communication, and may contain information that is
  confidential, proprietary and/or privileged.  This e-mail is
  intended only for the individual(s) to whom it is addressed,
  and may not be saved, copied, printed, disclosed or used by
  anyone else.  If you are not the(an) intended recipient,
  please immediately delete this e-mail from your computer
  system and notify the sender.  Thank you.
 
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: 
 [EMAIL PROTECTED]
 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 This e-mail, including any attachments, is a confidential 
 business communication, and may contain information that is 
 confidential, proprietary and/or privileged.  This e-mail is 
 intended only for the individual(s) to whom it is addressed, 
 and may not be saved, copied, printed, disclosed or used by 
 anyone else.  If you are not the(an) intended recipient, 
 please immediately delete this e-mail from your computer 
 system and notify the sender.  Thank you.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Shapira, Yoav

Hi,
Sure, maybe the logging part of the blog... Feel free to submit a .diff
as always...

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 10:07 AM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.4 Upgrade Blog

Would any of it be relevant for the 22) Logging section of the TC 5.5
pages
which is empty right now or is it not in scope?

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: 15 November 2004 15:05
 To: Tomcat Users List
 Subject: RE: Tomcat 5.5.4 Upgrade Blog



 Hi,
 Cool.  I've added this to the wiki useful links page.

 Yoav Shapira http://www.yoavshapira.com


 -Original Message-
 From: Allistair Crossley [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 15, 2004 9:42 AM
 To: Tomcat Users List
 Subject: RE: Tomcat 5.5.4 Upgrade Blog
 
 Hi Yoav,
 
 Thanks, I've only just started with this Blog stuff - quite cool. I
 think I
 have found what you mean by PermaLinks and I have enabled
 it. The title
 is
 a link to the permalink itself ..
 
 http://www.adcworks.com/blog/index.php/archives/2004/11/14/ge
 tting-up-a
 nd-
 running-with-tomcat-55/
 
 Hope that helps!
 
 Cheers, Allistair.
 
  -Original Message-
  From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
  Sent: 15 November 2004 14:31
  To: Tomcat Users List
  Subject: RE: Tomcat 5.5.4 Upgrade Blog
 
 
 
  Hi,
  It's a good blog.  I didn't see a PermaLink option: if there
  is one, I'd
  like to add the URL of this blog posting to the Tomcat wiki page.
 
  Yoav Shapira http://www.yoavshapira.com
 
 
  -Original Message-
  From: Allistair Crossley [mailto:[EMAIL PROTECTED]
  Sent: Sunday, November 14, 2004 4:05 PM
  To: Tomcat Users List; Tomcat Users List
  Cc: [EMAIL PROTECTED]
  Subject: Tomcat 5.5.4 Upgrade Blog
  
  Hi List,
  
  
  
  Based on my upgrade to Tomcat 5.5.4 late last week and the few
 config
  issues I came across, I wrote a Blog that can be found on my web
 site
  here
  
  
  
  www.adcworks.com/blog http://www.adcworks.com/blog
  
  
  
  It covers IIS authentication (thanks Bill), logging,
 basic JNDI data
  source
  config.
  
  
  
  It won't be useful for everyone, but hopefully for some of you.
  Everything
  I have written works. Feel free to comment on this Blog from the
 page
  or
  add additional information relating to it.
  
  
  
  Best regards, Allistair
  
  
  
  PS: Remy/Yoav, if you could take a look at this Blog and let
  me know if
  you
  think any of it is useful for the Tomcat pages, I can covert it
  appropriately.
  
  
  
  
  
  FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
  ---
  QAS Ltd.
  Developers of QuickAddress Software
  a href=http://www.qas.com;www.qas.com/a
  Registered in England: No 2582055
  Registered in Australia: No 082 851 474
  ---
  /FONT
 
 
 
 
  This e-mail, including any attachments, is a confidential
  business communication, and may contain information that is
  confidential, proprietary and/or privileged.  This e-mail is
  intended only for the individual(s) to whom it is addressed,
  and may not be saved, copied, printed, disclosed or used by
  anyone else.  If you are not the(an) intended recipient,
  please immediately delete this e-mail from your computer
  system and notify the sender.  Thank you.
 
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 This e-mail, including any attachments, is a confidential
 business communication, and may contain information that is
 confidential, proprietary and/or privileged.  This e-mail is
 intended only for the individual(s) to whom it is addressed,
 and may not be saved, copied, printed, disclosed or used by
 anyone else.  If you are not the(an) intended recipient,
 please immediately delete this e-mail from your computer
 system and notify the sender.  Thank you.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered

RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Allistair Crossley
Hi,

OK, I have added my changes to logging.xml and am ready to submit the diff. So 
far I have been able to diff -u in WinCVS but it does not ouput to file. You 
have to copy and paste to a text file. My questions are

1. Do I include this header stuff in my patch.txt

Index: logging.xml
===
RCS file: /home/cvspublic/jakarta-tomcat-catalina/webapps/docs/logging.xml,v
retrieving revision 1.1
diff -u -r1.1 logging.xml
--- logging.xml 7 Oct 2004 18:16:05 -   1.1
+++ logging.xml 15 Nov 2004 15:41:33 -
@@ -4,32 +4,140 @@
 ]
 document url=logging.html

2. Where and how should I submit this patch.txt?

Thanks! Allistair

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: 15 November 2004 15:05
 To: Tomcat Users List
 Subject: RE: Tomcat 5.5.4 Upgrade Blog
 
 
 
 Hi,
 Cool.  I've added this to the wiki useful links page.
 
 Yoav Shapira http://www.yoavshapira.com
  
 
 -Original Message-
 From: Allistair Crossley [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 15, 2004 9:42 AM
 To: Tomcat Users List
 Subject: RE: Tomcat 5.5.4 Upgrade Blog
 
 Hi Yoav,
 
 Thanks, I've only just started with this Blog stuff - quite cool. I
 think I
 have found what you mean by PermaLinks and I have enabled 
 it. The title
 is
 a link to the permalink itself ..
 
 http://www.adcworks.com/blog/index.php/archives/2004/11/14/ge
 tting-up-a
 nd-
 running-with-tomcat-55/
 
 Hope that helps!
 
 Cheers, Allistair.
 
  -Original Message-
  From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
  Sent: 15 November 2004 14:31
  To: Tomcat Users List
  Subject: RE: Tomcat 5.5.4 Upgrade Blog
 
 
 
  Hi,
  It's a good blog.  I didn't see a PermaLink option: if there
  is one, I'd
  like to add the URL of this blog posting to the Tomcat wiki page.
 
  Yoav Shapira http://www.yoavshapira.com
 
 
  -Original Message-
  From: Allistair Crossley [mailto:[EMAIL PROTECTED]
  Sent: Sunday, November 14, 2004 4:05 PM
  To: Tomcat Users List; Tomcat Users List
  Cc: [EMAIL PROTECTED]
  Subject: Tomcat 5.5.4 Upgrade Blog
  
  Hi List,
  
  
  
  Based on my upgrade to Tomcat 5.5.4 late last week and the few
 config
  issues I came across, I wrote a Blog that can be found on my web
 site
  here
  
  
  
  www.adcworks.com/blog http://www.adcworks.com/blog
  
  
  
  It covers IIS authentication (thanks Bill), logging, 
 basic JNDI data
  source
  config.
  
  
  
  It won't be useful for everyone, but hopefully for some of you.
  Everything
  I have written works. Feel free to comment on this Blog from the
 page
  or
  add additional information relating to it.
  
  
  
  Best regards, Allistair
  
  
  
  PS: Remy/Yoav, if you could take a look at this Blog and let
  me know if
  you
  think any of it is useful for the Tomcat pages, I can covert it
  appropriately.
  
  
  
  
  
  FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
  ---
  QAS Ltd.
  Developers of QuickAddress Software
  a href=http://www.qas.com;www.qas.com/a
  Registered in England: No 2582055
  Registered in Australia: No 082 851 474
  ---
  /FONT
 
 
 
 
  This e-mail, including any attachments, is a confidential
  business communication, and may contain information that is
  confidential, proprietary and/or privileged.  This e-mail is
  intended only for the individual(s) to whom it is addressed,
  and may not be saved, copied, printed, disclosed or used by
  anyone else.  If you are not the(an) intended recipient,
  please immediately delete this e-mail from your computer
  system and notify the sender.  Thank you.
 
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: 
 [EMAIL PROTECTED]
 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 This e-mail, including any attachments, is a confidential 
 business communication, and may contain information that is 
 confidential, proprietary and/or privileged.  This e-mail is 
 intended only for the individual(s) to whom it is addressed, 
 and may not be saved, copied, printed, disclosed or used by 
 anyone else.  If you are not the(an) intended recipient, 
 please immediately delete this e-mail from your computer 
 system and notify the sender.  Thank you.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Shapira, Yoav

Hi,

1. Do I include this header stuff in my patch.txt

Yes.

2. Where and how should I submit this patch.txt?

Into a new Bugzilla enhancement issue that you'd open.

Yoav



This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 5.5.4 Upgrade Blog

2004-11-14 Thread Allistair Crossley
Hi List,

 

Based on my upgrade to Tomcat 5.5.4 late last week and the few config issues I 
came across, I wrote a Blog that can be found on my web site here

 

www.adcworks.com/blog http://www.adcworks.com/blog 

 

It covers IIS authentication (thanks Bill), logging, basic JNDI data source 
config.

 

It won't be useful for everyone, but hopefully for some of you. Everything I 
have written works. Feel free to comment on this Blog from the page or add 
additional information relating to it.

 

Best regards, Allistair

 

PS: Remy/Yoav, if you could take a look at this Blog and let me know if you 
think any of it is useful for the Tomcat pages, I can covert it appropriately.

 



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT



MySQL upgrade Problem

2004-10-26 Thread e-Denton Subscriber
Hi,

I just upgraded from MySql 3.x to 4.0 and now I can't make connections work
from Tomcat. I have read a bunch of stuff on the Web about this or similar
problems, but, even though it worked before,  I can't make it work now.

I specify my connection info in server.xml and context.xml just like I used
to (below). The only difference is (?) the new MySql, and the fact that I am
trying to use a new, different password (with a dollar sign in it). (Oh,
and, I set appBase outside the Tomcat home directory.)  On Tomcat startup, I
get:

JDBCRealm[Catalina]:
Exception opening database connection
java.sql.SQLException: Invalid authorization specification: Access denied
for user: '[EMAIL PROTECTED]' (Using password: YES)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:659)...

I can login manually to MySql using the same user and password.
I can access the database directly from Java programs which make their own
connection.

Any ideas what's going wrong?

web.xml:
-
 Realm className=org.apache.catalina.realm.JDBCRealm
debug=99
driverName=com.mysql.jdbc.Driver
connectionURL=jdbc:mysql://127.0.0.1:3306/xxx
connectionName=yyy
connectionPassword=$zzz
userTable=portal_user
 userNameCol=clientName
 userCredCol=clientPassword
userRoleTable=portal_role
 roleNameCol=clientRole
digest=md5 /

conext.xml:
---
   Resource name=jdbc/portal auth=Container
type=javax.sql.DataSource/

ResourceParams name=jdbc/portal
  parameter
   namefactory/name
   valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
  /parameter
parameter
nameusername/name
valueyyy/value
/parameter
parameter
namepassword/name
value$zzz/value
/parameter
parameter
namedriverClassName/name
valuecom.mysql.jdbc.Driver/value
/parameter
parameter
nameurl/name

valuejdbc:mysql://127.0.0.1:3306/xxx?autoReconnect=true/value
/parameter
parameter
namemaxActive/name
value10/value
/parameter
parameter
namemaxIdle/name
value5/value
/parameter
  parameter
   namemaxWait/name
   value1/value
  /parameter
/ResourceParams




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: MySQL upgrade Problem

2004-10-26 Thread Allistair Crossley
i don't know much about this but you mention the things that are different like dollar 
in password .. but have you tried setting the password to how it was when you used to 
use it? and putting appBase back as it was. You say you changed nothing but you've 
changed several things. Did you also upgrade your driver JAR?

Allistair 

 -Original Message-
 From: e-Denton Subscriber [mailto:[EMAIL PROTECTED]
 Sent: 26 October 2004 16:04
 To: Tomcat Users List
 Subject: MySQL upgrade Problem
 
 
 Hi,
 
 I just upgraded from MySql 3.x to 4.0 and now I can't make 
 connections work
 from Tomcat. I have read a bunch of stuff on the Web about 
 this or similar
 problems, but, even though it worked before,  I can't make it 
 work now.
 
 I specify my connection info in server.xml and context.xml 
 just like I used
 to (below). The only difference is (?) the new MySql, and the 
 fact that I am
 trying to use a new, different password (with a dollar sign 
 in it). (Oh,
 and, I set appBase outside the Tomcat home directory.)  On 
 Tomcat startup, I
 get:
 
 JDBCRealm[Catalina]:
 Exception opening database connection
 java.sql.SQLException: Invalid authorization specification: 
 Access denied
 for user: '[EMAIL PROTECTED]' (Using password: YES)
 at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:659)...
 
 I can login manually to MySql using the same user and password.
 I can access the database directly from Java programs which 
 make their own
 connection.
 
 Any ideas what's going wrong?
 
 web.xml:
 -
  Realm className=org.apache.catalina.realm.JDBCRealm
 debug=99
 driverName=com.mysql.jdbc.Driver
 connectionURL=jdbc:mysql://127.0.0.1:3306/xxx
 connectionName=yyy
 connectionPassword=$zzz
 userTable=portal_user
  userNameCol=clientName
  userCredCol=clientPassword
 userRoleTable=portal_role
  roleNameCol=clientRole
 digest=md5 /
 
 conext.xml:
 ---
Resource name=jdbc/portal auth=Container
 type=javax.sql.DataSource/
 
 ResourceParams name=jdbc/portal
   parameter
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
   /parameter
 parameter
 nameusername/name
 valueyyy/value
 /parameter
 parameter
 namepassword/name
 value$zzz/value
 /parameter
 parameter
 namedriverClassName/name
 valuecom.mysql.jdbc.Driver/value
 /parameter
 parameter
 nameurl/name
 
 valuejdbc:mysql://127.0.0.1:3306/xxx?autoReconnect=true/value
 /parameter
 parameter
 namemaxActive/name
 value10/value
 /parameter
 parameter
 namemaxIdle/name
 value5/value
 /parameter
   parameter
namemaxWait/name
value1/value
   /parameter
 /ResourceParams
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: MySQL upgrade Problem

2004-10-26 Thread Mike Curwen
is it a new username?  Are you connecting to mysql from a different host?

The problem is clear in the stacktrace:
Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)

login to mysql and setup your user's access.



 -Original Message-
 From: e-Denton Subscriber [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, October 26, 2004 10:04 AM
 To: Tomcat Users List
 Subject: MySQL upgrade Problem
 
 
 Hi,
 
 I just upgraded from MySql 3.x to 4.0 and now I can't make 
 connections work from Tomcat. I have read a bunch of stuff on 
 the Web about this or similar problems, but, even though it 
 worked before,  I can't make it work now.
 
 I specify my connection info in server.xml and context.xml 
 just like I used to (below). The only difference is (?) the 
 new MySql, and the fact that I am trying to use a new, 
 different password (with a dollar sign in it). (Oh, and, I 
 set appBase outside the Tomcat home directory.)  On Tomcat startup, I
 get:
 
 JDBCRealm[Catalina]:
 Exception opening database connection
 java.sql.SQLException: Invalid authorization specification: 
 Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) 
 at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:659)...
 
 I can login manually to MySql using the same user and 
 password. I can access the database directly from Java 
 programs which make their own connection.
 
 Any ideas what's going wrong?
 
 web.xml:
 -
  Realm className=org.apache.catalina.realm.JDBCRealm
 debug=99
 driverName=com.mysql.jdbc.Driver
 connectionURL=jdbc:mysql://127.0.0.1:3306/xxx
 connectionName=yyy
 connectionPassword=$zzz
 userTable=portal_user
  userNameCol=clientName
  userCredCol=clientPassword
 userRoleTable=portal_role
  roleNameCol=clientRole
 digest=md5 /
 
 conext.xml:
 ---
Resource name=jdbc/portal auth=Container 
 type=javax.sql.DataSource/
 
 ResourceParams name=jdbc/portal
   parameter
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
   /parameter
 parameter
 nameusername/name
 valueyyy/value
 /parameter
 parameter
 namepassword/name
 value$zzz/value
 /parameter
 parameter
 namedriverClassName/name
 valuecom.mysql.jdbc.Driver/value
 /parameter
 parameter
 nameurl/name
 
 valuejdbc:mysql://127.0.0.1:3306/xxx?autoReconnect=true/value
 /parameter
 parameter
 namemaxActive/name
 value10/value
 /parameter
 parameter
 namemaxIdle/name
 value5/value
 /parameter
   parameter
namemaxWait/name
value1/value
   /parameter
 /ResourceParams
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: MySQL upgrade Problem

2004-10-26 Thread Shapira, Yoav

Hi,
Dollar sign in password is a no-no right now.  It gets escaped.  It's a
PITA to fix, so I (and apparently others) haven't done it yet.  If you
really want a dollar sign in your password, submit a patch ;)

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: e-Denton Subscriber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 11:04 AM
To: Tomcat Users List
Subject: MySQL upgrade Problem

Hi,

I just upgraded from MySql 3.x to 4.0 and now I can't make connections
work
from Tomcat. I have read a bunch of stuff on the Web about this or
similar
problems, but, even though it worked before,  I can't make it work now.

I specify my connection info in server.xml and context.xml just like I
used
to (below). The only difference is (?) the new MySql, and the fact that
I
am
trying to use a new, different password (with a dollar sign in it).
(Oh,
and, I set appBase outside the Tomcat home directory.)  On Tomcat
startup,
I
get:

JDBCRealm[Catalina]:
Exception opening database connection
java.sql.SQLException: Invalid authorization specification: Access
denied
for user: '[EMAIL PROTECTED]' (Using password: YES)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:659)...

I can login manually to MySql using the same user and password.
I can access the database directly from Java programs which make their
own
connection.

Any ideas what's going wrong?

web.xml:
-
 Realm className=org.apache.catalina.realm.JDBCRealm
debug=99
driverName=com.mysql.jdbc.Driver
connectionURL=jdbc:mysql://127.0.0.1:3306/xxx
connectionName=yyy
connectionPassword=$zzz
userTable=portal_user
 userNameCol=clientName
 userCredCol=clientPassword
userRoleTable=portal_role
 roleNameCol=clientRole
digest=md5 /

conext.xml:
---
   Resource name=jdbc/portal auth=Container
type=javax.sql.DataSource/

ResourceParams name=jdbc/portal
  parameter
   namefactory/name
   valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
  /parameter
parameter
nameusername/name
valueyyy/value
/parameter
parameter
namepassword/name
value$zzz/value
/parameter
parameter
namedriverClassName/name
valuecom.mysql.jdbc.Driver/value
/parameter
parameter
nameurl/name

valuejdbc:mysql://127.0.0.1:3306/xxx?autoReconnect=true/value
/parameter
parameter
namemaxActive/name
value10/value
/parameter
parameter
namemaxIdle/name
value5/value
/parameter
  parameter
   namemaxWait/name
   value1/value
  /parameter
/ResourceParams




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Fixed: MySQL upgrade Problem

2004-10-26 Thread e-Denton Subscriber
That was my problem--thank goodness. Wish I had asked earlier, before I
tried all that futile cr*p and before I read all that MySQL stuff I didn't
really need to know ;)

PITA to fix? (Does that mean it takes a lot of bread to fix?)

Thx to all for their interest and help.

$ee you $oon!

- Original Message - 
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; e-Denton
Subscriber [EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 10:09 AM
Subject: RE: MySQL upgrade Problem



Hi,
Dollar sign in password is a no-no right now.  It gets escaped.  It's a
PITA to fix, so I (and apparently others) haven't done it yet.  If you
really want a dollar sign in your password, submit a patch ;)

Yoav Shapira http://www.yoavshapira.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Fixed: MySQL upgrade Problem

2004-10-26 Thread Shapira, Yoav

Hi,

PITA to fix? (Does that mean it takes a lot of bread to fix?)

Pain In The ... Just means the effort to reward ratio for fixing this
item is high.  Most OSS developers (not just Tomcat) tend to gravitate
towards either low-effort/high-reward fixes, or exciting new stuff.
That leaves high-effort/low-reward fixes like this one lingering in the
queue.  Unless they're high-reward for someone, who then contributes a
patch.

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: MySQL upgrade Problem

2004-10-26 Thread QM
On Tue, Oct 26, 2004 at 11:09:40AM -0400, Shapira, Yoav wrote:
: Dollar sign in password is a no-no right now.  It gets escaped.  It's a
: PITA to fix, so I (and apparently others) haven't done it yet.  If you
: really want a dollar sign in your password, submit a patch ;)

-or, for the time being, escape the $ with another $.

For example, if your password is abc$def, store this in XML as abc$$def.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Upgrade to 5.0.27 Causes Performance Problems

2004-09-02 Thread Mike Scott
Upgrading to Tomcat 5.0.27 on Solaris 8, from 3.3 (a big jump, I know),
and in live use we're seeing its CPU usage run away after a few minutes.
If I use prstat -L to look at the individual threads, it's java/2 that's
getting all the CPU time. If I then send the java process a SIGQUIT
signal to get it to dump a complete stack trace, I get output including
a line like VM Thread prio=5 tid=0x00126830 nid=0x2 runnable, which I
believe is the java/2 thread, but with no stack trace for that thread.

Does anyone have any ideas about what's going on, or any other
diagnostics to try?

-- 
Mike Scott


This email has been scanned for all viruses by the MessageLabs service. 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Upgrade to 5.0.27 Causes Performance Problems

2004-09-02 Thread Allistair Crossley
Hi Mike,

The standard-fare answer to this type of question is to get a profiler and measure 
where the cpu is going inside the code itself. did you not test this on your 
development server before launching the upgrade?

ADC

 -Original Message-
 From: Mike Scott [mailto:[EMAIL PROTECTED]
 Sent: 02 September 2004 12:51
 To: [EMAIL PROTECTED]
 Subject: Upgrade to 5.0.27 Causes Performance Problems
 
 
 Upgrading to Tomcat 5.0.27 on Solaris 8, from 3.3 (a big 
 jump, I know),
 and in live use we're seeing its CPU usage run away after a 
 few minutes.
 If I use prstat -L to look at the individual threads, it's 
 java/2 that's
 getting all the CPU time. If I then send the java process a SIGQUIT
 signal to get it to dump a complete stack trace, I get output 
 including
 a line like VM Thread prio=5 tid=0x00126830 nid=0x2 
 runnable, which I
 believe is the java/2 thread, but with no stack trace for that thread.
 
 Does anyone have any ideas about what's going on, or any other
 diagnostics to try?
 
 -- 
 Mike Scott
 
 __
 __
 This email has been scanned for all viruses by the 
 MessageLabs service. 
 __
 __
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



servlet-mapping required??? Tomcat 5 upgrade problem...

2004-08-03 Thread dhay

Hi,

I'm using Struts with Tomcat, and am upgrading to Tomcat 5.

It appears that it won't recognize any of my servlets, though, which I
could previously call though ...[webapp]/servlet/servletname.

I managed to call them by adding a servlet-mapping to eliminate the
/servlet/ bit, but this is an existing app and I don't want to change
everything to that degree.

Can't I still use /servlet/ ?  What am I missing?

cheers,

David





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: servlet-mapping required??? Tomcat 5 upgrade problem...

2004-08-03 Thread Shapira, Yoav

Hi,
See http://jakarta.apache.org/tomcat/faq/misc.html#invoker.  You should
have always had servlet-mappings.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 1:52 PM
To: Tomcat Users List
Subject: servlet-mapping required??? Tomcat 5 upgrade problem...


Hi,

I'm using Struts with Tomcat, and am upgrading to Tomcat 5.

It appears that it won't recognize any of my servlets, though, which I
could previously call though ...[webapp]/servlet/servletname.

I managed to call them by adding a servlet-mapping to eliminate the
/servlet/ bit, but this is an existing app and I don't want to change
everything to that degree.

Can't I still use /servlet/ ?  What am I missing?

cheers,

David





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: servlet-mapping required??? Tomcat 5 upgrade problem...

2004-08-03 Thread Dale, Matt

You need to enable the invoker servlet in your web.xml. This is not recommended for 
production but it should work just as you expect.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 03 August 2004 18:52
To: Tomcat Users List
Subject: servlet-mapping required??? Tomcat 5 upgrade problem...



Hi,

I'm using Struts with Tomcat, and am upgrading to Tomcat 5.

It appears that it won't recognize any of my servlets, though, which I
could previously call though ...[webapp]/servlet/servletname.

I managed to call them by adding a servlet-mapping to eliminate the
/servlet/ bit, but this is an existing app and I don't want to change
everything to that degree.

Can't I still use /servlet/ ?  What am I missing?

cheers,

David





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

servlet-mapping required??? Tomcat 5 upgrade problem...

2004-08-03 Thread dhay
Sorry for the traffic - I solved it myself.

Obviously, you have to uncomment both the invoker servlet, AND the invoker
mapping.

cheers,

David

- Forwarded by David Hay/Lex/Lexmark on 08/03/2004 01:56 PM -
|-+
| |   David Hay|
| ||
| |   08/03/2004 01:51 |
| |   PM   |
| ||
|-+
  
|
  |
|
  |   To:  Tomcat Users List [EMAIL PROTECTED] 
   |
  |   cc:  
|
  |   Subject: servlet-mapping required???  Tomcat 5 upgrade problem...(Document 
link: David Hay)  |
  
|



Hi,

I'm using Struts with Tomcat, and am upgrading to Tomcat 5.

It appears that it won't recognize any of my servlets, though, which I
could previously call though ...[webapp]/servlet/servletname.

I managed to call them by adding a servlet-mapping to eliminate the
/servlet/ bit, but this is an existing app and I don't want to change
everything to that degree.

Can't I still use /servlet/ ?  What am I missing?

cheers,

David






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: sendRedirect not working same after upgrade to 5...26

2004-07-29 Thread Williams, Bret M.
It works fine in 3.3.a.  

-Original Message- 
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thu 7/29/2004 8:21 AM 
To: Williams, Bret M. 
Cc: 
Subject: RE: sendRedirect not working same after upgrade to 5...26



Hi,
I'll look at this if I have time.  Can you try Tomcat 3.3.x?  That has
the same HTTP Connector as Tomcat 5, so the behavior should be the same.
If it also breaks in Tomcat 3.3.x, that'd be helpful for us to narrow
down the code location.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Williams, Bret M. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 5:19 PM
To: Shapira, Yoav
Subject: RE: sendRedirect not working same after upgrade to 5...26

   Thanks for the MARC Info. That helped.  Sorry for the direct
mailing
but again the company I work for bounced the SPAM I was sending to
tomcat-user.

   I have narrowed the problem down a little by coming up with a
small
test. It seems to be an issue with using Tomcat 5.x (Tomcat 3.2.1
works) to
sendRedirect() to a servlet that renders application/pdf contenttype
to
IE 6.x (Mozilla works). I get a blank page that needs to be refreshed.
The
fact that Tomcat 3.2.1 works makes me think it's a Tomcat bug. What do
you
think?

   I attached my simple little test servlets. There's a test.pdf
file in
the .jar that is used for the servlet output. Its location is hardcoded
to
c:\test.pdf in the TestPDFOutputServlet.

   Thanks, Bret.

   -Original Message-

   From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]

   Sent: Tuesday, July 27, 2004 1:10 PM

   To: Tomcat Users List

   Subject: RE: sendRedirect not working same after upgrade to
5...26



   Hi,

   It's not a problem that's been discussed to death, that's for
sure.

   Enable the AccessLogValve (it's commented out by default in
server.xml) and observe the URL requested and server response code for
your
redirect request.

   As for archives, try the ones at AIMS (marc.theaimsgroup.com or
something like that), as they are just a normal site and not likely to
be
blocked.

   Yoav Shapira

   Millennium Research Informatics



   -Original Message-

   From: Williams, Bret M. [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]

   Sent: Tuesday, July 27, 2004 2:04 PM

   To: [EMAIL PROTECTED]

   Subject: sendRedirect not working same after upgrade to 5...26

   

   Hi,

   I recently upgraded from Tomcat 3.2.1 to 5.xxx and noticed that

   sendRedirect() did not work the same between the two versions.
In

   Tomcat 5

   when I tried to redirect to a servlet whose output contenttype
was

   text/plain or application/pdf I would get a blank page and
be

   forced

   to refresh from the browser to see the results. I can get it to
work

   with

   forward(req,res), but forward() doesn't register in the
browser. Any

   help

   would be appreciated.

   

   If this is a problem that has been discussed to death - sorry -
the

   company I work for blocks me accessing the Tomcat-user
Archives.

   

   Thanks, Bret

   



-

   To unsubscribe, e-mail:
[EMAIL PROTECTED]

   For additional commands, e-mail:
[EMAIL PROTECTED]







   This e-mail, including any attachments, is a confidential
business
communication, and may contain information that is confidential,
proprietary and/or privileged. This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed

Upgrade TC5

2004-07-28 Thread David Liles
We are currently running version 5.0.19 and have been experiencing a gradual memory 
leak on our MS Windows 2000 IIS web server. (TC is installed on our IIS box).

Last night we upgraded the ISAPI connector from version 2.0.2 to 2.0.4 and was 
wondering if upgrading to TC 5.0.27 would help alleviate the memory leak issue.

If it will, is there an easy way to upgrade our current TC configuration? Since TC is 
installed as a MS service we suspect that the current configuration will need to be 
uninstalled in order to remove it as a service and the new TC version installed and 
our existing configurations copied to the new version

Are we correct or is there a simpler process?

Thanks,

David


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Upgrade TC5

2004-07-28 Thread Shapira, Yoav

Hola,
Without knowing the cause of your memory leak, it's hard to tell whether
an upgrade will help.  That said, it's usually a good idea to use the
latest stable version of any given product, especially if you test it
beforehand with your application.

As for the service upgrade process: I'm not sure (not a Windows service
expert), but I think you can install multiple copies of Tomcat as a
service as long as you give the service a different name and install it
to a different directory on the hard drive.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: David Liles [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 9:44 AM
To: [EMAIL PROTECTED]
Subject: Upgrade TC5

We are currently running version 5.0.19 and have been experiencing a
gradual memory leak on our MS Windows 2000 IIS web server. (TC is
installed
on our IIS box).

Last night we upgraded the ISAPI connector from version 2.0.2 to 2.0.4
and
was wondering if upgrading to TC 5.0.27 would help alleviate the memory
leak issue.

If it will, is there an easy way to upgrade our current TC
configuration?
Since TC is installed as a MS service we suspect that the current
configuration will need to be uninstalled in order to remove it as a
service and the new TC version installed and our existing
configurations
copied to the new version

Are we correct or is there a simpler process?

Thanks,

David


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Upgrade TC5

2004-07-28 Thread Bill Barker
broken-record
Tomcat 5.0.19 has a known memory leak when using the JkCoyote Connector.
Upgrading will remove the leak, as will setting:
  request.registerRequests=false
in your jk2.properties file.
/broken-record

David Liles [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
We are currently running version 5.0.19 and have been experiencing a gradual
memory leak on our MS Windows 2000 IIS web server. (TC is installed on our
IIS box).

Last night we upgraded the ISAPI connector from version 2.0.2 to 2.0.4 and
was wondering if upgrading to TC 5.0.27 would help alleviate the memory leak
issue.

If it will, is there an easy way to upgrade our current TC configuration?
Since TC is installed as a MS service we suspect that the current
configuration will need to be uninstalled in order to remove it as a service
and the new TC version installed and our existing configurations copied to
the new version

Are we correct or is there a simpler process?

Thanks,

David




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



sendRedirect not working same after upgrade to 5...26

2004-07-27 Thread Williams, Bret M.
Hi,
I recently upgraded from Tomcat 3.2.1 to 5.xxx and noticed that sendRedirect() did not 
work the same between the two versions.  In Tomcat 5 when I tried to redirect to a 
servlet whose output contenttype was text/plain  or application/pdf I would get a 
blank page and be forced to refresh from the browser to see the results.  I can get it 
to work with forward(req,res), but forward() doesn't register in the browser.  Any 
help would be appreciated.
 
If this is a problem that has been discussed to death - sorry  - the company I work 
for blocks me accessing the Tomcat-user Archives.
 
Thanks, Bret

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: sendRedirect not working same after upgrade to 5...26

2004-07-27 Thread Shapira, Yoav

Hi,
It's not a problem that's been discussed to death, that's for sure.

Enable the AccessLogValve (it's commented out by default in server.xml)
and observe the URL requested and server response code for your redirect
request.

As for archives, try the ones at AIMS (marc.theaimsgroup.com or
something like that), as they are just a normal site and not likely to
be blocked.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Williams, Bret M. [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 2:04 PM
To: [EMAIL PROTECTED]
Subject: sendRedirect not working same after upgrade to 5...26

Hi,
I recently upgraded from Tomcat 3.2.1 to 5.xxx and noticed that
sendRedirect() did not work the same between the two versions.  In
Tomcat 5
when I tried to redirect to a servlet whose output contenttype was
text/plain  or application/pdf I would get a blank page and be
forced
to refresh from the browser to see the results.  I can get it to work
with
forward(req,res), but forward() doesn't register in the browser.  Any
help
would be appreciated.

If this is a problem that has been discussed to death - sorry  - the
company I work for blocks me accessing the Tomcat-user Archives.

Thanks, Bret

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Upgrade Tomcat version in OS X Server

2004-07-01 Thread Jason Lane
Hi list,
OK I've just taken possession of a G5 X Serve running OS X 10.3.4 
Server. This version comes with Tomcat 4x but I really want to upgrade 
to Tomcat 5x. I have installed the binaries under /usr/local and 
created a sym from the existing install in /Library/Tomcat

Tomcat still shows as the old 4x version so this don't seem to be 
working. I'm also going to want to run the new version of Tomcat with 
JBoss.

Do any of you good people have any pointers ideas on how to best 
accomplish this, considering also that this will be a running as a 
shared hosting web server. Any pointers greatly appreciated.

TIA
Jason Lane
Developer
Root10 developments
http://www.root10.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Upgrade Tomcat version in OS X Server

2004-07-01 Thread Mark Lowe
http://homepage.mac.com/melowe/iblog/B141099555/C760077128/E969031629/ 
index.html


On 1 Jul 2004, at 16:04, Jason Lane wrote:
Hi list,
OK I've just taken possession of a G5 X Serve running OS X 10.3.4  
Server. This version comes with Tomcat 4x but I really want to upgrade  
to Tomcat 5x. I have installed the binaries under /usr/local and  
created a sym from the existing install in /Library/Tomcat

Tomcat still shows as the old 4x version so this don't seem to be  
working. I'm also going to want to run the new version of Tomcat with  
JBoss.

Do any of you good people have any pointers ideas on how to best  
accomplish this, considering also that this will be a running as a  
shared hosting web server. Any pointers greatly appreciated.

TIA
Jason Lane
Developer
Root10 developments
http://www.root10.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


What does it take to upgrade to dbcp 1.2.1?

2004-06-16 Thread Kwan Michael
Hi all,

It might be a simple question, but it sure gets me
thinking.

I m currently using tomcat 4.1.27.  I wanted to use
the pool preparedstatement from the dbcp 1.2.1.  So I
did a upgrade to replace both common-dbcp.jar with
common-dbcp-1.2.1.jar and common-pool.jar with
common-pool.jar.

Without doing anything to the previous configuration
(i m using JNDI datasource), I started tomcat and run
a simple jmeter test.  It turns out that my servlet is
now 3-6 times slower.

Am I doing the upgrade correctly?

YT



__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how to plan upgrade from tomcat 4.x to tomcat 5.x strategy

2004-05-28 Thread Eyup TEKIN
hi

i have a sistem running apache 2.x **tomcat 4.x *** mod_jk .how can i
migrate my web site to tomcat.5x and apache 2.x(latest version)

my aim is to make website so portable that when apache and tomcat release
new version
i can upgrade my system easily.is it possible ?

sincerely


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how to plan upgrade from tomcat 4.x to tomcat 5.x strategy

2004-05-28 Thread Shapira, Yoav

Hi,
Yeah, it's possible, if you stick to the Servlet Specification.  That
includes:
- Deploying and running from a packed WAR
- Allow the server administrator to configure any external resources you
need, such as writing directories and database information, via the
standard J2EE JNDI mechanisms of env-entry/resource-ref
- Not using any server-specific code
- Packaging all the libraries you need in your own WAR, not relying on
the server to supply them, much less specific versions of them.

With Apache it's easy to stay portable, as fewer people do crazy HTTP
stuff than do crazy servlet stuff ;)  Other people on the httpd list can
advise you on which modules are more stable and tried than others.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Eyup TEKIN [mailto:[EMAIL PROTECTED]
Sent: Friday, May 28, 2004 9:39 AM
To: tomcat-user
Subject: how to plan upgrade from tomcat 4.x to tomcat 5.x strategy

hi

i have a sistem running apache 2.x **tomcat 4.x *** mod_jk .how can i
migrate my web site to tomcat.5x and apache 2.x(latest version)

my aim is to make website so portable that when apache and tomcat
release
new version
i can upgrade my system easily.is it possible ?

sincerely


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how to plan upgrade from tomcat 4.x to tomcat 5.x strategy

2004-05-28 Thread QM
On Fri, May 28, 2004 at 04:38:48PM +0300, Eyup TEKIN wrote:
: i have a sistem running apache 2.x **tomcat 4.x *** mod_jk .how can i
: migrate my web site to tomcat.5x and apache 2.x(latest version)

I have a (brief) Tomcat 4-5 upgrade doc on my website at
http://www.BrandXDev.net

: my aim is to make website so portable that when apache and tomcat release
: new version
: i can upgrade my system easily.is it possible ?

Yes -- a lot of this has to do with system and application architecture.

- systems arch: keep the Tomcat install, Apache install, and code
  (WAR file, web doc root) separate.  This lets them vary
  independently.

- app arch: Stick closely with the servlet spec and other Java/web
  standards.

This is all pretty general advice, but then again, the deep decisions
are pretty app-specific. =)

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



upgrade to Tomcat 5.0+

2004-05-19 Thread Simon Zeng
Hi,

Does anyone have the experience using Tomcat 5 in a production(24 X 7)
environment (NT, Linux)? Is it stable?

We are interested in tomcat clustering with session memory duplication
coming with Tomat 5. Is it easy to configure and stable?

Thanks,
-Simon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: upgrade to Tomcat 5.0+

2004-05-19 Thread Parsons Technical Services
Simon,

TAO Linux (RHEL 3 clone)
TC 5.0.19
JDK 1.4.2
MySQL
PIII 733
512 Meg

Although my setup is small in comparison, it has run for the last month
without a problem from TC. I just had a trial by fire on a new app in which
I had a design flaw that ate cpu like crazy as well as maxed the memory.
Even with this TC ran for 8 hours with the cpu at 100%. After fixing the app
it took 50k hits with room for way more. So in my case, even with severe
abuse, it never failed or locked up although it got reeeal sloow
before I fix my app.

I haven't tried clustering yet, so that I will leave to others. As for my
recommendations, I would say Linux over NT. I don't have the time or win2003
to test this but I would find a comparison of two identical setups load
tested with only the OS changed very interesting.

Just my $.02

Doug
www.parsonstechnical.com


- Original Message - 
From: Simon Zeng [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 6:37 PM
Subject: upgrade to Tomcat 5.0+


 Hi,

 Does anyone have the experience using Tomcat 5 in a production(24 X 7)
 environment (NT, Linux)? Is it stable?

 We are interested in tomcat clustering with session memory duplication
 coming with Tomat 5. Is it easy to configure and stable?

 Thanks,
 -Simon

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Upgrade to 4.1.30 and IBMJava2-141 causes this error

2004-05-12 Thread Kevin Passey
Hi,

can anybody help me

%@ page import=org.adultcf.* %
jsp:useBean id=LogInBean class=org.adultcf.LogInBean scope=session /

This was working before I upgraded to enterprise Linux and Tomcat 4.1.30 and
IBMJava2-141

Now I get this - any ideas.

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 22 in the jsp file: /login.jsp

Generated servlet error:
[javac] Compiling 1 source file

/home/tomcat/jakarta-tomcat-4.1.30/work/Standalone/localhost/adultcf/login_j
sp.java:7: '.' expected
import LogInBean;
^
/home/tomcat/jakarta-tomcat-4.1.30/work/Standalone/localhost/adultcf/login_j
sp.java:60: cannot resolve symbol
symbol  : class LogInBean
location: class org.apache.jsp.login_jsp
  LogInBean LogInBean = null;
  ^

Thanks in advance.

Kevin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Upgrade to 4.1.30 and IBMJava2-141 causes this error

2004-05-12 Thread Shapira, Yoav

Hi,
sigh
http://jakarta.apache.org/tomcat/faq/classnotfound.html
/sigh

Also, do yourself a favor and perform large/significant upgrades one at
a time with testing in between.  Don't change the OS, server, and JDK
all at once.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Kevin Passey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 11:03 AM
To: Tomcat Users List
Subject: Upgrade to 4.1.30 and IBMJava2-141 causes this error

Hi,

can anybody help me

%@ page import=org.adultcf.* %
jsp:useBean id=LogInBean class=org.adultcf.LogInBean
scope=session
/

This was working before I upgraded to enterprise Linux and Tomcat
4.1.30
and
IBMJava2-141

Now I get this - any ideas.

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 22 in the jsp file: /login.jsp

Generated servlet error:
[javac] Compiling 1 source file

/home/tomcat/jakarta-tomcat-
4.1.30/work/Standalone/localhost/adultcf/login_j
sp.java:7: '.' expected
import LogInBean;
^
/home/tomcat/jakarta-tomcat-
4.1.30/work/Standalone/localhost/adultcf/login_j
sp.java:60: cannot resolve symbol
symbol  : class LogInBean
location: class org.apache.jsp.login_jsp
  LogInBean LogInBean = null;
  ^

Thanks in advance.

Kevin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Web Start and Tomcat 4.1.29 after upgrade

2004-04-16 Thread talley_angelina
Hello! We have a simple servlet that basically just queries a few things off
of the HttpServletRequest and spits back a dynamically generated JNLP file
for Java Web Start. For some reason, when we were running with Tomcat 4.0.6
this worked fine, but with the upgrade to Tomcat 4.1.29 it does not. IE
always prompts to open or save the file - it never just launches JWS
automatically anymore. Currently, we basically just use Tomcat 4.1.29 right
out of the box, no special modifications.

Any suggestions on what we can fix? I'll put the interesting parts of the
servlet below. Notice I already set the content type and turn on caching.
But, could I possibly do more? Or is it a Tomcat configuration problem? I
noticed Tomcat often appends the charset to a content type - is there some
way to avoid that?

Thanks in advance!

-Angelina Talley

public class JNLPServlet extends HttpServlet{

public void doGet(HttpServletRequest request, HttpServletResponse response) 
throws IOException, ServletException {
try { 
response.setHeader(Cache-Control, public);
response.setContentType(application/x-java-jnlp-file); 

String sessionId = getSessionId(request);
ServletOutputStream out = response.getOutputStream();

java.net.InetAddress[] hostNetAddrs = 
java.net.InetAddress.getAllByName(request.getServerName());
String hostIpAddr = hostNetAddrs[0].getHostAddress();
out.println(generateJNLP(sessionId, request.getServerName(),
hostIpAddr, request.getRemoteUser()));
out.flush(); 
}
catch (IOException ex) {
response.sendError(javax.servlet.http.HttpServletResponse.
   SC_SERVICE_UNAVAILABLE, ex.getMessage());
}
catch (Exception ex) {
response.sendError(javax.servlet.http.HttpServletResponse.
   SC_INTERNAL_SERVER_ERROR, ex.getMessage());
}
}
...
}



SOLUTION: context mapping problem after upgrade from 4.1.29 to 4.1.30

2004-04-01 Thread Jim Hopp
I found the solution to this problem.

The symptom was that ALL request URI's were treated as '' under 4.1.30, 
using the same server.xml file that had worked fine under 4.1.29.

The solution was to add 'useURIValidationHack=false' to the each of 
the Connector statements.  Apparently setting this attribute was 
optional under 4.1.29, but required under 4.1.30.

-Jim

Jim Hopp wrote:
Greetings-

I've just upgraded my development environment from Tomcat 4.1.29 to 
4.1.30 (Win XP, jdk 1.4.2).  It appears that my URI's are not mapped to 
the same context under 4.1.30 as they were under 4.1.29.  I've made no 
changes to any of my config files; I simply upgraded Tomcat.

Here's a snippet of my process log from 4.1.29, which works as I expect 
it to:
2004-03-30 11:52:59 StandardHost[localhost]: Mapping request URI 
'/fileupload/fileUpload.html'
2004-03-30 11:52:59 StandardHost[localhost]:   Trying the longest 
context path prefix
2004-03-30 11:52:59 StandardHost[localhost]:  Mapped to context 
'/fileupload'
2004-03-30 11:52:59 default: DefaultServlet.serveResource:  Serving 
resource '/fileUpload.html' headers and data
2004-03-30 11:52:59 default: DefaultServlet.serveFile: 
lastModified='2004-03-30 11:48:46.455'
2004-03-30 11:52:59 default: DefaultServlet.serveFile: 
contentType='text/html'
2004-03-30 11:52:59 default: DefaultServlet.serveFile:  contentLength=1830

Here's the same request under 4.1.30, not working as I expected it to:
2004-03-30 13:41:22 StandardHost[localhost]: Mapping request URI ''
2004-03-30 13:41:22 StandardHost[localhost]:   Trying the longest 
context path prefix
2004-03-30 13:41:22 StandardHost[localhost]:  Mapped to context ''

Here's the Host section of the server.xml:
  Host name=localhost
appBase=c:/tomcat/webapps
workDir=c:/cvs-work/dvlp/temp/tomcat-ui/ui/localhost
autoDeploy=false
liveDeploy=false
debug=10
deployXML=false
Context path=/manager privileged=true 
docBase=c:/tomcat/server/webapps/manager
  Valve className=org.apache.catalina.valves.RemoteAddrValve 
allow=127.0.0.1/
/Context

Context path= docBase=c:/cvs-work/dvlp/bin/ui 
reloadable=true
  Manager 
className=org.apache.catalina.session.PersistentManager 
checkInterval=60 maxInactiveInterval=120 saveOnRestart=false/
  Parameter name=version value=dev/
  Resource name=nyw/directory auth=Container 
type=nyw.dir.Directory/
  ResourceParams name=nyw/directory
parameter
  namefactory/name
  valuenyw.dir.DirectoryObjectFactory/value
/parameter
parameter
  nameurl/name
  valuehttp://localhost:13001/property/value
/parameter
  /ResourceParams
  Resource name=nyw/xmltranslator auth=Container 
type=nyw.ui.XMLTranslator/
  ResourceParams name=nyw/xmltranslator
parameter
  namefactory/name
  valuenyw.ui.XMLTranslatorObjectFactory/value
/parameter
parameter
  namecache/name
  valuefalse/value
/parameter
parameter
  namexsltRoot/name
  valuejndi:/localhost//value
/parameter
parameter
  namefopUserConfig/name

valuec:/cvs-work/dvlp/conf/tomcat-ui/conf/fopUserConfig.xml/value
/parameter
  /ResourceParams
  Resource name=nyw/aodfactory auth=Container 
type=nyw.aod.comm.AODFactory/
  ResourceParams name=nyw/aodfactory
parameter
  namefactory/name
  valuenyw.aod.comm.AODFactoryObjectFactory/value
/parameter
  /ResourceParams
  Resource name=nyw/performancemonitor auth=Container 
type=nyw.util.PerformanceMonitor/
  ResourceParams name=nyw/performancemonitor
parameter
  namefactory/name
  valuenyw.util.PerformanceMonitorObjectFactory/value
/parameter
  /ResourceParams
  Resource name=mail/session auth=Container 
type=javax.mail.Session/
  ResourceParams name=mail/session
parameter
  namemail.smtp.host/name
  valuep1.netyourwork.com/value
/parameter
  /ResourceParams
/Context

Context path=/fileupload
 docBase=c:/cvs-work/dvlp/bin/fileupload
 reloadable=true
  Resource name=nyw/directory
auth=Container
type=nyw.dir.Directory/
  ResourceParams name=nyw/directory
parameter
  namefactory/name
  valuenyw.dir.DirectoryObjectFactory/value
/parameter
parameter
  nameurl/name
  valuehttp://localhost:13001/property/value
/parameter
  /ResourceParams
  Resource name=nyw/aodfactory

How difficult is it to upgrade from 4.1.24 to 5.0.19?

2004-04-01 Thread Rick Roberts
Can I *just*:

1. copy my existing contexts into the 5.0.19 webapps directory
2. copy my existing jk2.properties into the 5.0.19 conf directory
3. change my $TOMCAT_HOME env variable to point to the new 5.0.19 directory
4. contunue to use my existing workers2.properties in httpd/conf/
In other words...
Is it just like upgrading 4.1.24 to 4.1.27 ?
Thanks,

--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
* http://www.aitsupport.com   *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: How difficult is it to upgrade from 4.1.24 to 5.0.19?

2004-04-01 Thread Randall Svancara
It is almost the same, except I had context xml configuration files stored in the 
webapp directory for the webapps.  I had to move these to conf/Catalina/localhost 
where the contexts xml configuration files for Admin and manager are installed.  Come 
to think of it, maybe this is the way you were supposed to do it all along.

Anyway, that is all I had to do.  

Randall

-Original Message-
From: Rick Roberts [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 12:31 PM
To: Tomcat Users List
Subject: How difficult is it to upgrade from 4.1.24 to 5.0.19?



Can I *just*:

1. copy my existing contexts into the 5.0.19 webapps directory
2. copy my existing jk2.properties into the 5.0.19 conf directory
3. change my $TOMCAT_HOME env variable to point to the new 5.0.19 directory
4. contunue to use my existing workers2.properties in httpd/conf/

In other words...
Is it just like upgrading 4.1.24 to 4.1.27 ?

Thanks,

-- 
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
* http://www.aitsupport.com   *
***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: context mapping problem after upgrade from 4.1.29 to 4.1.30

2004-03-31 Thread Shapira, Yoav

Hi,

2004-03-30 11:52:59 StandardHost[localhost]: Mapping request URI
'/fileupload/fileUpload.html'
2004-03-30 11:52:59 StandardHost[localhost]:   Trying the longest
context path prefix
2004-03-30 11:52:59 StandardHost[localhost]:  Mapped to context
'/fileupload'

OK.

2004-03-30 13:41:22 StandardHost[localhost]: Mapping request URI ''
2004-03-30 13:41:22 StandardHost[localhost]:   Trying the longest
context path prefix
2004-03-30 13:41:22 StandardHost[localhost]:  Mapped to context ''

OK.  Both of these are correct.  If you have a log that shows a request
for '/fileupload/fileUpload.html' mapped to context '' then post it ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat Upgrade

2004-03-31 Thread Reis, Tom
I am looking to upgrade from Tomcat 4.0.3 to Tomcat version 4.1.30.
Is there any easy way to upgrade or do I have to install the software and
reconfigure the server.xml, web.xml,ssl and copy things from the old version
to new.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat Upgrade

2004-03-31 Thread Shapira, Yoav

Hi,

   I am looking to upgrade from Tomcat 4.0.3 to Tomcat version
4.1.30.
Is there any easy way to upgrade or do I have to install the software
and
reconfigure the server.xml, web.xml,ssl and copy things from the old
version
to new.

There's no easy way.  You have to do a new install, setup server.xml
as you like, and deploy your application again. I put easy way in
quotation marks because if your webapp is strictly designed according to
the servlet specification, any migration is easy.  The more you rely on
server-specific configuration and features, the harder you make your own
work.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



context mapping problem after upgrade from 4.1.29 to 4.1.30

2004-03-31 Thread Jim Hopp
Anyone have any ideas/pointers on this?

Thanks,

-Jim

Greetings-
I've just upgraded my development environment from Tomcat 4.1.29 to 
4.1.30 (Win XP, jdk 1.4.2).  It appears that my URI's are not mapped to 
the same context under 4.1.30 as they were under 4.1.29.  I've made no 
changes to any of my config files; I simply upgraded Tomcat.

Here's a snippet of my process log from 4.1.29, which works as I expect 
it to:
2004-03-30 11:52:59 StandardHost[localhost]: Mapping request URI 
'/fileupload/fileUpload.html'
2004-03-30 11:52:59 StandardHost[localhost]:   Trying the longest 
context path prefix
2004-03-30 11:52:59 StandardHost[localhost]:  Mapped to context 
'/fileupload'
2004-03-30 11:52:59 default: DefaultServlet.serveResource:  Serving 
resource '/fileUpload.html' headers and data
2004-03-30 11:52:59 default: DefaultServlet.serveFile: 
lastModified='2004-03-30 11:48:46.455'
2004-03-30 11:52:59 default: DefaultServlet.serveFile: 
contentType='text/html'
2004-03-30 11:52:59 default: DefaultServlet.serveFile:  contentLength=1830

Here's the same request under 4.1.30, not working as I expected it to:
2004-03-30 13:41:22 StandardHost[localhost]: Mapping request URI ''
2004-03-30 13:41:22 StandardHost[localhost]:   Trying the longest 
context path prefix
2004-03-30 13:41:22 StandardHost[localhost]:  Mapped to context ''

Here's the Host section of the server.xml:
  Host name=localhost
appBase=c:/tomcat/webapps
workDir=c:/cvs-work/dvlp/temp/tomcat-ui/ui/localhost
autoDeploy=false
liveDeploy=false
debug=10
deployXML=false
Context path=/manager privileged=true 
docBase=c:/tomcat/server/webapps/manager
  Valve className=org.apache.catalina.valves.RemoteAddrValve 
allow=127.0.0.1/
/Context

Context path= docBase=c:/cvs-work/dvlp/bin/ui 
reloadable=true
  Manager 
className=org.apache.catalina.session.PersistentManager 
checkInterval=60 maxInactiveInterval=120 saveOnRestart=false/
  Parameter name=version value=dev/
  Resource name=nyw/directory auth=Container 
type=nyw.dir.Directory/
  ResourceParams name=nyw/directory
parameter
  namefactory/name
  valuenyw.dir.DirectoryObjectFactory/value
/parameter
parameter
  nameurl/name
  valuehttp://localhost:13001/property/value
/parameter
  /ResourceParams
  Resource name=nyw/xmltranslator auth=Container 
type=nyw.ui.XMLTranslator/
  ResourceParams name=nyw/xmltranslator
parameter
  namefactory/name
  valuenyw.ui.XMLTranslatorObjectFactory/value
/parameter
parameter
  namecache/name
  valuefalse/value
/parameter
parameter
  namexsltRoot/name
  valuejndi:/localhost//value
/parameter
parameter
  namefopUserConfig/name

valuec:/cvs-work/dvlp/conf/tomcat-ui/conf/fopUserConfig.xml/value
/parameter
  /ResourceParams
  Resource name=nyw/aodfactory auth=Container 
type=nyw.aod.comm.AODFactory/
  ResourceParams name=nyw/aodfactory
parameter
  namefactory/name
  valuenyw.aod.comm.AODFactoryObjectFactory/value
/parameter
  /ResourceParams
  Resource name=nyw/performancemonitor auth=Container 
type=nyw.util.PerformanceMonitor/
  ResourceParams name=nyw/performancemonitor
parameter
  namefactory/name
  valuenyw.util.PerformanceMonitorObjectFactory/value
/parameter
  /ResourceParams
  Resource name=mail/session auth=Container 
type=javax.mail.Session/
  ResourceParams name=mail/session
parameter
  namemail.smtp.host/name
  valuep1.netyourwork.com/value
/parameter
  /ResourceParams
/Context

Context path=/fileupload
 docBase=c:/cvs-work/dvlp/bin/fileupload
 reloadable=true
  Resource name=nyw/directory
auth=Container
type=nyw.dir.Directory/
  ResourceParams name=nyw/directory
parameter
  namefactory/name
  valuenyw.dir.DirectoryObjectFactory/value
/parameter
parameter
  nameurl/name
  valuehttp://localhost:13001/property/value
/parameter
  /ResourceParams
  Resource name=nyw/aodfactory
auth=Container
type=nyw.aod.comm.AODFactory/
  ResourceParams name=nyw/aodfactory
parameter
  namefactory/name
  valuenyw.aod.comm.AODFactoryObjectFactory/value
/parameter
  /ResourceParams
  

RE: context mapping problem after upgrade from 4.1.29 to 4.1.30

2004-03-31 Thread Shapira, Yoav

Hi,
I already replied... Did my reply not get through?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Jim Hopp [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 12:26 PM
To: Tomcat Users List
Subject: context mapping problem after upgrade from 4.1.29 to 4.1.30

Anyone have any ideas/pointers on this?

Thanks,

-Jim

Greetings-

I've just upgraded my development environment from Tomcat 4.1.29 to
4.1.30 (Win XP, jdk 1.4.2).  It appears that my URI's are not mapped to
the same context under 4.1.30 as they were under 4.1.29.  I've made no
changes to any of my config files; I simply upgraded Tomcat.

Here's a snippet of my process log from 4.1.29, which works as I expect
it to:
2004-03-30 11:52:59 StandardHost[localhost]: Mapping request URI
'/fileupload/fileUpload.html'
2004-03-30 11:52:59 StandardHost[localhost]:   Trying the longest
context path prefix
2004-03-30 11:52:59 StandardHost[localhost]:  Mapped to context
'/fileupload'
2004-03-30 11:52:59 default: DefaultServlet.serveResource:  Serving
resource '/fileUpload.html' headers and data
2004-03-30 11:52:59 default: DefaultServlet.serveFile:
lastModified='2004-03-30 11:48:46.455'
2004-03-30 11:52:59 default: DefaultServlet.serveFile:
contentType='text/html'
2004-03-30 11:52:59 default: DefaultServlet.serveFile:
contentLength=1830

Here's the same request under 4.1.30, not working as I expected it to:
2004-03-30 13:41:22 StandardHost[localhost]: Mapping request URI ''
2004-03-30 13:41:22 StandardHost[localhost]:   Trying the longest
context path prefix
2004-03-30 13:41:22 StandardHost[localhost]:  Mapped to context ''

Here's the Host section of the server.xml:
   Host name=localhost
 appBase=c:/tomcat/webapps
 workDir=c:/cvs-work/dvlp/temp/tomcat-ui/ui/localhost
 autoDeploy=false
 liveDeploy=false
 debug=10
 deployXML=false

 Context path=/manager privileged=true
docBase=c:/tomcat/server/webapps/manager
   Valve
className=org.apache.catalina.valves.RemoteAddrValve
allow=127.0.0.1/
 /Context

 Context path= docBase=c:/cvs-work/dvlp/bin/ui
reloadable=true
   Manager
className=org.apache.catalina.session.PersistentManager
checkInterval=60 maxInactiveInterval=120 saveOnRestart=false/
   Parameter name=version value=dev/
   Resource name=nyw/directory auth=Container
type=nyw.dir.Directory/
   ResourceParams name=nyw/directory
 parameter
   namefactory/name
   valuenyw.dir.DirectoryObjectFactory/value
 /parameter
 parameter
   nameurl/name
   valuehttp://localhost:13001/property/value
 /parameter
   /ResourceParams
   Resource name=nyw/xmltranslator auth=Container
type=nyw.ui.XMLTranslator/
   ResourceParams name=nyw/xmltranslator
 parameter
   namefactory/name
   valuenyw.ui.XMLTranslatorObjectFactory/value
 /parameter
 parameter
   namecache/name
   valuefalse/value
 /parameter
 parameter
   namexsltRoot/name
   valuejndi:/localhost//value
 /parameter
 parameter
   namefopUserConfig/name

valuec:/cvs-work/dvlp/conf/tomcat-ui/conf/fopUserConfig.xml/value
 /parameter
   /ResourceParams
   Resource name=nyw/aodfactory auth=Container
type=nyw.aod.comm.AODFactory/
   ResourceParams name=nyw/aodfactory
 parameter
   namefactory/name
   valuenyw.aod.comm.AODFactoryObjectFactory/value
 /parameter
   /ResourceParams
   Resource name=nyw/performancemonitor auth=Container
type=nyw.util.PerformanceMonitor/
   ResourceParams name=nyw/performancemonitor
 parameter
   namefactory/name
   valuenyw.util.PerformanceMonitorObjectFactory/value
 /parameter
   /ResourceParams
   Resource name=mail/session auth=Container
type=javax.mail.Session/
   ResourceParams name=mail/session
 parameter
   namemail.smtp.host/name
   valuep1.netyourwork.com/value
 /parameter
   /ResourceParams
 /Context


 Context path=/fileupload
  docBase=c:/cvs-work/dvlp/bin/fileupload
  reloadable=true
   Resource name=nyw/directory
 auth=Container
 type=nyw.dir.Directory/
   ResourceParams name=nyw/directory
 parameter
   namefactory/name
   valuenyw.dir.DirectoryObjectFactory/value
 /parameter
 parameter
   nameurl/name
   valuehttp://localhost:13001/property/value
 /parameter

context mapping problem after upgrade from 4.1.29 to 4.1.30

2004-03-30 Thread Jim Hopp
Greetings-

I've just upgraded my development environment from Tomcat 4.1.29 to 
4.1.30 (Win XP, jdk 1.4.2).  It appears that my URI's are not mapped to 
the same context under 4.1.30 as they were under 4.1.29.  I've made no 
changes to any of my config files; I simply upgraded Tomcat.

Here's a snippet of my process log from 4.1.29, which works as I expect 
it to:
2004-03-30 11:52:59 StandardHost[localhost]: Mapping request URI 
'/fileupload/fileUpload.html'
2004-03-30 11:52:59 StandardHost[localhost]:   Trying the longest 
context path prefix
2004-03-30 11:52:59 StandardHost[localhost]:  Mapped to context 
'/fileupload'
2004-03-30 11:52:59 default: DefaultServlet.serveResource:  Serving 
resource '/fileUpload.html' headers and data
2004-03-30 11:52:59 default: DefaultServlet.serveFile: 
lastModified='2004-03-30 11:48:46.455'
2004-03-30 11:52:59 default: DefaultServlet.serveFile: 
contentType='text/html'
2004-03-30 11:52:59 default: DefaultServlet.serveFile:  contentLength=1830

Here's the same request under 4.1.30, not working as I expected it to:
2004-03-30 13:41:22 StandardHost[localhost]: Mapping request URI ''
2004-03-30 13:41:22 StandardHost[localhost]:   Trying the longest 
context path prefix
2004-03-30 13:41:22 StandardHost[localhost]:  Mapped to context ''

Here's the Host section of the server.xml:
  Host name=localhost
appBase=c:/tomcat/webapps
workDir=c:/cvs-work/dvlp/temp/tomcat-ui/ui/localhost
autoDeploy=false
liveDeploy=false
debug=10
deployXML=false
Context path=/manager privileged=true 
docBase=c:/tomcat/server/webapps/manager
  Valve className=org.apache.catalina.valves.RemoteAddrValve 
allow=127.0.0.1/
/Context

Context path= docBase=c:/cvs-work/dvlp/bin/ui 
reloadable=true
  Manager 
className=org.apache.catalina.session.PersistentManager 
checkInterval=60 maxInactiveInterval=120 saveOnRestart=false/
  Parameter name=version value=dev/
  Resource name=nyw/directory auth=Container 
type=nyw.dir.Directory/
  ResourceParams name=nyw/directory
parameter
  namefactory/name
  valuenyw.dir.DirectoryObjectFactory/value
/parameter
parameter
  nameurl/name
  valuehttp://localhost:13001/property/value
/parameter
  /ResourceParams
  Resource name=nyw/xmltranslator auth=Container 
type=nyw.ui.XMLTranslator/
  ResourceParams name=nyw/xmltranslator
parameter
  namefactory/name
  valuenyw.ui.XMLTranslatorObjectFactory/value
/parameter
parameter
  namecache/name
  valuefalse/value
/parameter
parameter
  namexsltRoot/name
  valuejndi:/localhost//value
/parameter
parameter
  namefopUserConfig/name

valuec:/cvs-work/dvlp/conf/tomcat-ui/conf/fopUserConfig.xml/value
/parameter
  /ResourceParams
  Resource name=nyw/aodfactory auth=Container 
type=nyw.aod.comm.AODFactory/
  ResourceParams name=nyw/aodfactory
parameter
  namefactory/name
  valuenyw.aod.comm.AODFactoryObjectFactory/value
/parameter
  /ResourceParams
  Resource name=nyw/performancemonitor auth=Container 
type=nyw.util.PerformanceMonitor/
  ResourceParams name=nyw/performancemonitor
parameter
  namefactory/name
  valuenyw.util.PerformanceMonitorObjectFactory/value
/parameter
  /ResourceParams
  Resource name=mail/session auth=Container 
type=javax.mail.Session/
  ResourceParams name=mail/session
parameter
  namemail.smtp.host/name
  valuep1.netyourwork.com/value
/parameter
  /ResourceParams
/Context

Context path=/fileupload
 docBase=c:/cvs-work/dvlp/bin/fileupload
 reloadable=true
  Resource name=nyw/directory
auth=Container
type=nyw.dir.Directory/
  ResourceParams name=nyw/directory
parameter
  namefactory/name
  valuenyw.dir.DirectoryObjectFactory/value
/parameter
parameter
  nameurl/name
  valuehttp://localhost:13001/property/value
/parameter
  /ResourceParams
  Resource name=nyw/aodfactory
auth=Container
type=nyw.aod.comm.AODFactory/
  ResourceParams name=nyw/aodfactory
parameter
  namefactory/name
  valuenyw.aod.comm.AODFactoryObjectFactory/value
/parameter
  /ResourceParams
  Resource name=nyw/performancemonitor
auth=Container
   

More problems with upgrade from 4.1 to 5.0

2004-03-11 Thread Michael Forster
I am still having problems now my filters are failing at startup and my
context is not starting.

The main window shows a message like

MerchantFilter FILTER CONFIG   -- This line is from a
System.out.println in the filter code
11-Mar-2004 09:37:55 org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
11-Mar-2004 09:37:55 org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors


and the error log shows the following

2004-03-11 09:06:52 StandardContext[]Exception starting filter
MerchantFilter
java.lang.NullPointerException
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:103)
at java.io.FileInputStream.init(FileInputStream.java:66)
at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:
297)

any ideas? or is it just the filter is broken


Mike.

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCM d- s:+ a C UL P+ L+++ E--- W+++ N+++ o+ K w
O-- M- V- PS+ PE+ Y+ PGP t+++ 5+++ X- R+++ tv++ h++ DI D++
G e+ h++ r+++ y+++
--END GEEK CODE BLOCK--
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.619 / Virus Database: 398 - Release Date: 10/03/2004


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: More problems with upgrade from 4.1 to 5.0

2004-03-11 Thread Shapira, Yoav

Howdy,

I am still having problems now my filters are failing at startup and my
context is not starting.

Right: the former directly causes the latter.

2004-03-11 09:06:52 StandardContext[]Exception starting filter
MerchantFilter
java.lang.NullPointerException
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.init(FileInputStream.java:103)
   at java.io.FileInputStream.init(FileInputStream.java:66)
   at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.
java
:
297)

any ideas? or is it just the filter is broken

You're handing PropertyConfigurator a null file handle or URL most
likely.  See if you can open/read the file in your filter before you
hand it to the configurator.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Making index.jsp work as welcome page after upgrade

2004-01-08 Thread Talley, Angelina
I realized that one and put it back. Still the same problem, unfortunately.
I tried with both my webapp precompiled and not precompiled, both with
index.jsp present. I even tried Tomcat's default ROOT webapp, same problem.
Still just get the directory index. *sigh*

-Original Message-
From: news
To: [EMAIL PROTECTED]
Sent: 1/7/2004 10:40 PM
Subject: Re: Making index.jsp work as welcome page after upgrade


Talley, Angelina [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hello! I just upgraded a web application from Tomcat 4.0.6/mod_jk
1.2.5 to
 Tomcat 4.1.29/mod_jk2 2.0.2 (built myself), both on Apache 1.3.27 on
Linux.
 Our webapp runs as the ROOT context (files are in
 $TOMCAT_HOME/webapps/ROOT). We have precompiled the JSP pages for
4.1.29,
 but did not do that in 4.0.6.

With Tomcat 4.x, you still need to have a physical 'index.jsp' file in
the
directory, even if you've precompiled it (this is no longer true for
Tomcat
5.x).  An empty file is good enough.  Also, unless you're mapping
everything
to Tomcat, you need it so that Apache realizes that there is an index
file
there.


 On the old setup, to get to our application all you had to do was type
 https://myserver https://myserver  and you'd get index.jsp by
default.
 Now, if you type the URL like that you get a directory listing. You
have
to
 explicitly put index.jsp in the URL to get to it. If you do that, the
entire
 web app works just fine.

 Is there some new configuration item I need to tweak here? I tried
adding
a
 segment for welcome-file-list to my web.xml:

 welcome-file-list
 welcome-fileindex.jsp/welcome-file
 /welcome-file-list

 But it still doesn't work. Any other suggestions would be greatly
 appreciated. I figured perhaps my workers2.properties was messed up,
so
I'll
 put a sample of that below. I made almost no changes at all to
server.xml
 except to add tomcatAuthentication=false for the Coyote connector
and to
 comment out the connector on port 8080. I should note that if run as
Tomcat
 standalone (without Apache) on Windows (haven't tried Linux because of
our
 authentication setup), it works perfectly.

 From workers2.properties:

 #
 # IP socket channel
 #
 [channel.socket:localhost:8009]
 port=8009
 host=127.0.0.1

 #
 # define the ajp13 worker
 #
 [ajp13:localhost:8009]
 channel=channel.socket:localhost:8009

 #
 # Uri mapping - jsp files only
 #
 [uri:/*.jsp]
 group=ajp13:localhost:8009

 #
 # Uri mapping - Struts stuff
 #
 [uri:/action/*]
 group=ajp13:localhost:8009

 #
 # Uri mapping - all servlets in servlets directory
 #
 [uri:/servlets/*]
 group=ajp13:localhost:8009


 From server.xml:

 !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8009 minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443
acceptCount=10 debug=0 connectionTimeout=0
useURIValidationHack=false
tomcatAuthentication=false

 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/



 Entire jk2.properties:

 #
 # Socket configuration
 #
 handler.list=request,container,channelSocket

 #
 # socket configuration
 #
 channelSocket.port=8009
 channelSocket.address=127.0.0.1
 channelSocket.maxPort=port+10


 Thanks!

 -Angelina Talley






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Making index.jsp work as welcome page after upgrade

2004-01-08 Thread Talley, Angelina
Since I'm running with JK2 and went the workers2.properties route to
configure it I don't have any JKMount statements anymore (I did with JK).

FYI, we're running Apache 1.3.27.

This is the relevant part of my workers2.properties:

# 
# IP socket channel 
# 
[channel.socket:localhost:8009] 
port=8009 
host=127.0.0.1 

# 
# define the ajp13 worker 
# 
[ajp13:localhost:8009] 
channel=channel.socket:localhost:8009 

# 
# Uri mapping - jsp files only 
# 
[uri:/*.jsp] 
group=ajp13:localhost:8009 

# 
# Uri mapping - Struts stuff 
# 
[uri:/action/*] 
group=ajp13:localhost:8009 

# 
# Uri mapping - all servlets in servlets directory 
# 
[uri:/servlets/*] 
group=ajp13:localhost:8009 



-Original Message-
From: Jeff Tulley
To: [EMAIL PROTECTED]
Sent: 1/7/2004 7:52 PM
Subject: RE: Making index.jsp work as welcome page after upgrade

What is your apache configuration, the JkMount statements and the like?

It seems like there could be a problem there and the request is never
getting to Tomcat for some reason

 [EMAIL PROTECTED] 1/7/04 2:55:41 PM 
I don't quite understand. I have the 8080 connector commented out since
we
don't want to use Tomcat as standalone. I was able to disable
everything
else and get Tomcat up and running standalone to verify that it worked,
and
it does. I just run into problems as I try to connect up to Apache.

 -Original Message-
 From: Andres Ledesma [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 07, 2004 5:00 PM
 To: Tomcat Users List
 Subject: Re: Making index.jsp work as welcome page after upgrade
 
 
 I was following this thread, And it occurs to me that instead 
 of comment the 
 port:8080 line, write port:80
 
 give it a try !!
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED]

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Talley, Angelina
Hello! I just upgraded a web application from Tomcat 4.0.6/mod_jk 1.2.5 to
Tomcat 4.1.29/mod_jk2 2.0.2 (built myself), both on Apache 1.3.27 on Linux.
Our webapp runs as the ROOT context (files are in
$TOMCAT_HOME/webapps/ROOT). We have precompiled the JSP pages for 4.1.29,
but did not do that in 4.0.6.

On the old setup, to get to our application all you had to do was type
https://myserver https://myserver  and you'd get index.jsp by default.
Now, if you type the URL like that you get a directory listing. You have to
explicitly put index.jsp in the URL to get to it. If you do that, the entire
web app works just fine.

Is there some new configuration item I need to tweak here? I tried adding a
segment for welcome-file-list to my web.xml:

welcome-file-list
welcome-fileindex.jsp/welcome-file
/welcome-file-list

But it still doesn't work. Any other suggestions would be greatly
appreciated. I figured perhaps my workers2.properties was messed up, so I'll
put a sample of that below. I made almost no changes at all to server.xml
except to add tomcatAuthentication=false for the Coyote connector and to
comment out the connector on port 8080. I should note that if run as Tomcat
standalone (without Apache) on Windows (haven't tried Linux because of our
authentication setup), it works perfectly.

From workers2.properties:

#
# IP socket channel
#
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

#
# define the ajp13 worker
#
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

#
# Uri mapping - jsp files only
#
[uri:/*.jsp]
group=ajp13:localhost:8009

#
# Uri mapping - Struts stuff
#
[uri:/action/*]
group=ajp13:localhost:8009

#
# Uri mapping - all servlets in servlets directory
#
[uri:/servlets/*]
group=ajp13:localhost:8009


From server.xml:

!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
   tomcatAuthentication=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/



Entire jk2.properties:

#
# Socket configuration
#
handler.list=request,container,channelSocket

#
# socket configuration
#
channelSocket.port=8009
channelSocket.address=127.0.0.1
channelSocket.maxPort=port+10


Thanks!

-Angelina Talley



Re: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread QM
: I should note that if run as Tomcat
: standalone (without Apache) on Windows (haven't tried Linux because of our
: authentication setup), it works perfectly.

Somewhat far-fetched, but:

what's the welcome-file list for Apache?

I'm still running the old mod_jk (not jk2) but I noticed index.jsp is
in Apache's welcome file.  Apache gets the request for 
/ - /index.jsp - [off to a JK worker]


-QM

-- 

software  -- http://www.brandxdev.net (C++ / Java / SSL)
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Talley, Angelina
Apache has the following in httpd.conf:

IfModule mod_dir.c
DirectoryIndex index.html index.jsp
/IfModule

Is that all you need? Or could I look somewhere else?

 -Original Message-
 From: QM [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 07, 2004 1:37 PM
 To: Tomcat Users List
 Subject: Re: Making index.jsp work as welcome page after upgrade
 
 
 : I should note that if run as Tomcat
 : standalone (without Apache) on Windows (haven't tried Linux 
 because of our
 : authentication setup), it works perfectly.
 
 Somewhat far-fetched, but:
 
   what's the welcome-file list for Apache?
 
 I'm still running the old mod_jk (not jk2) but I noticed 
 index.jsp is in Apache's welcome file.  Apache gets the request for 
   / - /index.jsp - [off to a JK worker]
 
 
 -QM
 
 -- 
 
 software  -- http://www.brandxdev.net (C++ / Java / SSL)
 tech news -- http://www.RoarNetworX.com
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread QM
: Is that all you need? Or could I look somewhere else?

That was it -- just a quick very likely test before we dive into the
real troubleshooting. ;)

The next step would be to check the logs for JK2 and Apache, and see
what they're doing with the request for /.

Also, check Tomcat's log and see whether the web.xml is throwing an
error processing web.xml.  I believe Tomcat will disable the entire
context if that happens but I'm not certain.

You mentioned that you're testing the app under NT, instead of under the
Linux server where this was deployed.  If you could test the actual
Linux host, that would yield more informative results.

-QM

-- 

software  -- http://www.brandxdev.net (C++ / Java / SSL)
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Talley, Angelina
I didn't find anything in the access logs for Apache that shows anything
interesting. I watched the jk2.log to see what happened for the request, and
I did see this:


[Wed Jan 07 19:48:45 2004]  ( info) [mod_jk2.c (465)]: mod_jk.translate():
uriMap /index.jsp ajp13:localhost:8009

Since I didn't type in index.jsp SOMETHING must be figuring it out
somewhere, but still not serving it up properly. I don't have a Tomcat
access log, which seems odd. 4.0.6 used to have them.

There are no errors in any error logs, Apache or Tomcat, about anything
really for this webapp.

I managed to run Tomcat standalone after much work, and it seems OK - no
directory listing!

Whew! Any more ideas? :-)

-Angelina

 -Original Message-
 From: QM [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 07, 2004 2:39 PM
 To: Tomcat Users List
 Subject: Re: Making index.jsp work as welcome page after upgrade
 
 
 : Is that all you need? Or could I look somewhere else?
 
 That was it -- just a quick very likely test before we dive 
 into the real troubleshooting. ;)
 
 The next step would be to check the logs for JK2 and Apache, 
 and see what they're doing with the request for /.
 
 Also, check Tomcat's log and see whether the web.xml is 
 throwing an error processing web.xml.  I believe Tomcat will 
 disable the entire context if that happens but I'm not certain.
 
 You mentioned that you're testing the app under NT, instead 
 of under the Linux server where this was deployed.  If you 
 could test the actual Linux host, that would yield more 
 informative results.
 
 -QM
 
 -- 
 
 software  -- http://www.brandxdev.net (C++ / Java / SSL)
 tech news -- http://www.RoarNetworX.com
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  1   2   3   >