RE: Tomcat 5.5.12 and user-agent header

2005-10-12 Thread Richard Mixon
Mark,

Thanks - should have thought of that first. Now that I turned on
LiveHTTPHeaders, I cannot get it to fail. I was able to do this consistently
before.

Just to be sure, I'll try again tomorrow morning. Maybe its just late.

Thanks much - Richard

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 11, 2005 6:14 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Tomcat 5.5.12 and user-agent header

Have you looked at the headers between Tomcat and your UA? Is your UA
actually sending the UA header? If it is then it looks like a sitemesh
problem from what you have described. There are a range of tools for looking
at headers.
livehttpheaders is good, as is TcpMon which is distributed as part of Axis.

Mark 

 -Original Message-
 From: Richard Mixon [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 10, 2005 12:00 AM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat 5.5.12 and user-agent header
 
 Leon,
 
 Thank you for the test - but I still get a null user-agent right after 
 the login. Here is a snippet of my code:
 
   !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN 
   http://www.w3.org/TR/html4/loose.dtd;
   %@ include file=/common/taglibs.jspf%
   %@ page import=com.ltoj.common.Constants %
   html:html locale=true
   head
   %@ include file=/common/meta.jspf %
   titledecorator:title//title
   script type=text/javascript src=c:url 
 value='/scripts/environment.js'//script
   script type=text/javascript src=c:url 
 value='/scripts/util.js'//script
   script type=text/javascript src=c:url 
 value='/scripts/helptip.js'//script
   script type=text/javascript src=c:url 
 value='/scripts/tabs.js'//script
   script type=text/javascript src=c:url 
 value='/scripts/CalendarPopup.js'//script
   script type=text/javascript src=c:url 
 value='/scripts/chartWizard.js'//script
   link rel=stylesheet type=text/css media=all href=c:url 
 value='/styles/default.css'/ /
   link rel=stylesheet type=text/css media=all href=c:url 
 value='/styles/messages.css'/ /
   link rel=stylesheet type=text/css media=all href=c:url 
 value='/styles/tabs.css'/ /
   decorator:head/
   %
   String _userAgent = request.getHeader(user-agent);
   out.write(USER-AGENT='+_userAgent+'); 
   ...
 
 Here's the sequence:
 
 1) I issue a request to this page.
 
 2) CMA says oh, that's protected and shows my custom login page. I 
 get user-agent displayed fine:
  USER-AGENT='Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; 
 rv:1.7.12)
 Gecko/20050915 Firefox/1.0.7'
 
 3) But on the next page (the original target page of the request), 
 user-agent shows as null.
  USER-AGENT='null'
 
 I can refresh the page or go to any other page in my application and 
 the user agent is fine again.
 
 The only thing a bit non-standard about this JSP page is that it is a 
 SiteMesh decorator page.
 
 If I run the same test, same pages in Tomcat 5.5.9 I never get 
 user-agent of null.
 
 Our application does check the user-agent header a good bit. 
 We use Select
 lists with option groups - but some browsers do not support this so we 
 simulate it by indenting the select options ourselves.
 
 Luckily all of this activity happens well after the initial login - so 
 we are safe, now that I changed the decorator to make sure user-agent 
 is not null before doing anything with it.
 
 But it seems other applications might be affected by this - no?
 
 Thanks again - Richard
 
 
 
 
 
 
 -Original Message-
 From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
 Sent: Sunday, October 09, 2005 1:45 PM
 To: Tomcat Users List; [EMAIL PROTECTED]
 Subject: Re: Tomcat 5.5.12 and user-agent header
 
 Hmm, I downloaded 5.5.12 and tried the agent-header specific code with 
 it:
 
   public void processLogin(User user, HttpServletRequest req, 
 HttpServletResponse res) {
   StringBuffer info = new StringBuffer();
   info.append(login );
   info.append(user.getUserName());
   info.append( [);
   info.append(user.getUserId().getPlainPresentation());
   info.append(] );
   info.append(user.getEmail());
   info.append( );
   
 info.append(UserHelper.getGenderDescription(user.getGender()));
   info.append( );
   
 info.append(UserHelper.getStatusDescription(user.getMembership
 Status()));
   info.append( );
   info.append(req.getRemoteAddr());
   info.append( / );
   info.append(req.getRemoteHost());
   info.append( Agent: );
   info.append(req.getHeader(user-agent));
   log.info(info); 
   }
 
 outcome was:
 
 2005-10-08 15:36:50,453 INFO  - login leon [6] [EMAIL PROTECTED] male premium
 127.0.0.1 / 127.0.0.1 Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; 
 en-US;
 rv:1.7) Gecko/20040626 Firefox/0.8
 
 which I think was same behaviour as before.
 
 I took tomcat out of the box (5.5.12 tar.gz

Tomcat on Windows: advantages of running as a service?

2005-10-12 Thread Tom Burke
I'm running Tomcat 5.0.28 on a Windows 2003 server, and I need to 
automatically shut it down  restart it. One way is to control it via 
shutdown.bat  startup.bat, and run these as scheduled tasks at (say) 
3:30am and 3:31am. However, I've noticed that while shutdown.bat will 
shut it down if it was previously started as a service, startup.bat 
won't run it as a service, it starts it at a command prompt.


My question is: does this matter? If I'm running on Windows are there 
any advantages to running Tomcat as a service? Or disadvantages to 
running from the command prompt? The server is dedicated to tomcat, by 
the way.


Tom Burke 



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



RE: Tomcat on Windows: advantages of running as a service?

2005-10-12 Thread Peter Crowther
 From: Tom Burke [mailto:[EMAIL PROTECTED] 
 Sent: 12 October 2005 11:18
 To: Tomcat Users List
 Subject: Tomcat on Windows: advantages of running as a service?
 
 I'm running Tomcat 5.0.28 on a Windows 2003 server, and I need to 
 automatically shut it down  restart it. One way is to control it via 
 shutdown.bat  startup.bat, and run these as scheduled tasks at (say) 
 3:30am and 3:31am. However, I've noticed that while shutdown.bat will 
 shut it down if it was previously started as a service, startup.bat 
 won't run it as a service, it starts it at a command prompt.

Why not use net stop servicename and net start servicename with the
name of the Tomcat service?

 My question is: does this matter? If I'm running on Windows are there 
 any advantages to running Tomcat as a service? Or disadvantages to 
 running from the command prompt?

If you run it as a service: you can ensure it restarts if the machine
reboots unexpectedly for any reason; you can take actions if the service
crashes; and you can run the service as a specified user fairly simply.
If you run from the command line, you have none of these options.

- Peter

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



Re: Tomcat on Windows: advantages of running as a service?

2005-10-12 Thread Ben Souther
The net start service name and net stop service name commands
will allow you to stop and start Windows services from the command line
(and thus from a batch script).  You can get the service name from the
Services property window.








On Wed, 2005-10-12 at 06:18, Tom Burke wrote:
 I'm running Tomcat 5.0.28 on a Windows 2003 server, and I need to 
 automatically shut it down  restart it. One way is to control it via 
 shutdown.bat  startup.bat, and run these as scheduled tasks at (say) 
 3:30am and 3:31am. However, I've noticed that while shutdown.bat will 
 shut it down if it was previously started as a service, startup.bat 
 won't run it as a service, it starts it at a command prompt.
 
 My question is: does this matter? If I'm running on Windows are there 
 any advantages to running Tomcat as a service? Or disadvantages to 
 running from the command prompt? The server is dedicated to tomcat, by 
 the way.
 
 Tom Burke 
 
 
 -
 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 on Windows: advantages of running as a service?

2005-10-12 Thread Dale, Matt


Running from a service makes it a no brainer to start up tomcat when you reboot 
the machine as it does it automatically.

Disadvantages I would see is that it hides the console and makes it difficult 
to changes options like JAVA_OPTS.

-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 12:12
To: Tomcat Users List
Subject: Re: Tomcat on Windows: advantages of running as a service?


The net start service name and net stop service name commands
will allow you to stop and start Windows services from the command line
(and thus from a batch script).  You can get the service name from the
Services property window.








On Wed, 2005-10-12 at 06:18, Tom Burke wrote:
 I'm running Tomcat 5.0.28 on a Windows 2003 server, and I need to
 automatically shut it down  restart it. One way is to control it via
 shutdown.bat  startup.bat, and run these as scheduled tasks at (say)
 3:30am and 3:31am. However, I've noticed that while shutdown.bat will
 shut it down if it was previously started as a service, startup.bat
 won't run it as a service, it starts it at a command prompt.

 My question is: does this matter? If I'm running on Windows are there
 any advantages to running Tomcat as a service? Or disadvantages to
 running from the command prompt? The server is dedicated to tomcat, by
 the way.

 Tom Burke


 -
 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]


*
This E-mail may be confidential and may also be
legally priviledged. If you are not the intended
recipient, please notify us immediately; You should
not copy it or use it for any purpose, nor disclose
its content to any person. E-mail may be subject to
data corruption accidentally or deliberately. For
this reaszon it is inappropriate to rely on advice
contained in an e-mail without obtaining written
confirmation of it first.
Authorised and regulated by the Financial Services Authority
*

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



Fw: Tomcat on Windows: advantages of running as a service?

2005-10-12 Thread Tom Burke
Thanks to Peter and other who made this, in retrospect, obvious 
suggestion! I'm pleased to say it works perfectly.


Tom Burke


- Original Message - 
From: Peter Crowther [EMAIL PROTECTED]

To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, October 12, 2005 11:49 AM
Subject: RE: Tomcat on Windows: advantages of running as a service?



From: Tom Burke [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 11:18
To: Tomcat Users List
Subject: Tomcat on Windows: advantages of running as a service?

I'm running Tomcat 5.0.28 on a Windows 2003 server, and I need to
automatically shut it down  restart it. One way is to control it via
shutdown.bat  startup.bat, and run these as scheduled tasks at (say)
3:30am and 3:31am. However, I've noticed that while shutdown.bat will
shut it down if it was previously started as a service, startup.bat
won't run it as a service, it starts it at a command prompt.


Why not use net stop servicename and net start servicename with the
name of the Tomcat service?


My question is: does this matter? If I'm running on Windows are there
any advantages to running Tomcat as a service? Or disadvantages to
running from the command prompt?


If you run it as a service: you can ensure it restarts if the machine
reboots unexpectedly for any reason; you can take actions if the service
crashes; and you can run the service as a specified user fairly simply.
If you run from the command line, you have none of these options.

- Peter


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



RE: Tomcat 5.5.12 and user-agent header

2005-10-12 Thread Richard Mixon
OK - yes, it was lack of sleep that was causing the problem to not appear, I
was starting Tomcat 5.5.9 instead of 5.5.12, sorry :(

The problem is still there. I even took SiteMesh out of the picture, to make
sure it was not the problem (should of done that sooner).

Here are the steps:

1) Request a protected page form my app.
2) My CMA login page pops up, I enter userid and password.
3) This POST is issued when I submit it:
 POST /stars/auth/ j_username=user1j_password=password1login=Login
4) HTTPLiveHeaders show all of the GET requests have a user-agent set
   (I've included all 90 lines of them below).
5) My page that appears has the following code:
  %
  String _userAgent = request.getHeader(user-agent);
  out.write(USER-AGENT=+_userAgent);
  ...
6) And displays the following on my page:
  USER-AGENT=null

Unless someone has other ideas I'm thinking it's a but in 5.5.12 at this
point and will post it to Bugzilla.

Thanks to Mark and others for their help.

 - Richard

START OF HTTPLiveHeaders capture from the above POST:

http://smartfish:8080/stars/auth/

POST /stars/auth/ HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; username=user1
Content-Type: application/x-www-form-urlencoded
Content-Length: 45
j_username=user1j_password=password1login=Login
HTTP/1.x 302 Moved Temporarily
Server: Apache-Coyote/1.1
Location:
http://smartfish:8080/stars/j_security_check?j_username=user1j_password=fbc
e66f99c809283638f344ecb3d50674ea64189
Content-Length: 0
Date: Wed, 12 Oct 2005 16:33:46 GMT
--
http://smartfish:8080/stars/j_security_check?j_username=user1j_password=fbc
e66f99c809283638f344ecb3d50674ea64189

GET
/stars/j_security_check?j_username=user1j_password=fbce66f99c809283638f344e
cb3d50674ea64189 HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; username=user1

HTTP/1.x 302 Moved Temporarily
Server: Apache-Coyote/1.1
Location: http://smartfish:8080/stars/HomePage.do
Content-Length: 0
Date: Wed, 12 Oct 2005 16:33:46 GMT
--
http://smartfish:8080/stars/HomePage.do

GET /stars/HomePage.do HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; username=user1

HTTP/1.x 200 OK
Server: Apache-Coyote/1.1
Pragma: No-cache
Cache-Control: no-cache,no-store,max-age=0
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=UTF-8
Content-Language: en
Content-Length: 2989
Date: Wed, 12 Oct 2005 16:33:52 GMT
--
http://smartfish:8080/stars/WEB-INF/pages/%3C%=request.getContextPath()%%3E/
images/cm_fill.gif

GET
/stars/WEB-INF/pages/%3C%=request.getContextPath()%%3E/images/cm_fill.gif
HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; username=user1

HTTP/1.x 400 Invalid URI
Server: Apache-Coyote/1.1
Transfer-Encoding: chunked
Date: Wed, 12 Oct 2005 16:33:52 GMT
Connection: close
--




-Original Message-
From: Richard Mixon [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 12, 2005 12:45 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.5.12 and user-agent header

Mark,

Thanks - should have thought of that first. Now that I turned on
LiveHTTPHeaders, I cannot get it to fail. I was able to do this consistently
before

Re: Tomcat 5.5.12 and user-agent header

2005-10-12 Thread Jess Holle
Does this only occur when connecting directly to Tomcat or is it also an 
issue when going through Apache and mod_jk?


Richard Mixon wrote:


OK - yes, it was lack of sleep that was causing the problem to not appear, I
was starting Tomcat 5.5.9 instead of 5.5.12, sorry :(

The problem is still there. I even took SiteMesh out of the picture, to make
sure it was not the problem (should of done that sooner).

Here are the steps:

1) Request a protected page form my app.
2) My CMA login page pops up, I enter userid and password.
3) This POST is issued when I submit it:
POST /stars/auth/ j_username=user1j_password=password1login=Login
4) HTTPLiveHeaders show all of the GET requests have a user-agent set
  (I've included all 90 lines of them below).
5) My page that appears has the following code:
 %
 String _userAgent = request.getHeader(user-agent);
 out.write(USER-AGENT=+_userAgent);
 ...
6) And displays the following on my page:
 USER-AGENT=null

Unless someone has other ideas I'm thinking it's a but in 5.5.12 at this
point and will post it to Bugzilla.

Thanks to Mark and others for their help.

- Richard

START OF HTTPLiveHeaders capture from the above POST:

http://smartfish:8080/stars/auth/

POST /stars/auth/ HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; username=user1
Content-Type: application/x-www-form-urlencoded
Content-Length: 45
j_username=user1j_password=password1login=Login
HTTP/1.x 302 Moved Temporarily
Server: Apache-Coyote/1.1
Location:
http://smartfish:8080/stars/j_security_check?j_username=user1j_password=fbc
e66f99c809283638f344ecb3d50674ea64189
Content-Length: 0
Date: Wed, 12 Oct 2005 16:33:46 GMT
--
http://smartfish:8080/stars/j_security_check?j_username=user1j_password=fbc
e66f99c809283638f344ecb3d50674ea64189

GET
/stars/j_security_check?j_username=user1j_password=fbce66f99c809283638f344e
cb3d50674ea64189 HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; username=user1

HTTP/1.x 302 Moved Temporarily
Server: Apache-Coyote/1.1
Location: http://smartfish:8080/stars/HomePage.do
Content-Length: 0
Date: Wed, 12 Oct 2005 16:33:46 GMT
--
http://smartfish:8080/stars/HomePage.do

GET /stars/HomePage.do HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; username=user1

HTTP/1.x 200 OK
Server: Apache-Coyote/1.1
Pragma: No-cache
Cache-Control: no-cache,no-store,max-age=0
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=UTF-8
Content-Language: en
Content-Length: 2989
Date: Wed, 12 Oct 2005 16:33:52 GMT
--
http://smartfish:8080/stars/WEB-INF/pages/%3C%=request.getContextPath()%%3E/
images/cm_fill.gif

GET
/stars/WEB-INF/pages/%3C%=request.getContextPath()%%3E/images/cm_fill.gif
HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; username=user1

HTTP/1.x 400 Invalid URI
Server: Apache-Coyote/1.1
Transfer-Encoding: chunked
Date: Wed, 12 Oct 2005 16:33:52 GMT
Connection: close
--




-Original Message-
From: Richard Mixon [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 12, 2005 12:45 AM

To: 'Tomcat Users List'
Subject: RE: Tomcat 5.5.12 and user-agent header

Mark,

Thanks - should

RE: Tomcat 5.5.12 and user-agent header

2005-10-12 Thread Richard Mixon
Have not tried it with Apache/mod_jk in front - just with Tomcat and
accessing it as http://computername:8080/stars/HomePage.do .

Not sure of your drift. Are you just looking for another date point (that's
good) - or is there some implication as to how user-agent headers work with
Tomcat standalone?

Thank you - Richard

-Original Message-
From: Jess Holle [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 12, 2005 10:00 AM
To: Tomcat Users List
Subject: Re: Tomcat 5.5.12 and user-agent header

Does this only occur when connecting directly to Tomcat or is it also an
issue when going through Apache and mod_jk?

Richard Mixon wrote:

OK - yes, it was lack of sleep that was causing the problem to not 
appear, I was starting Tomcat 5.5.9 instead of 5.5.12, sorry :(

The problem is still there. I even took SiteMesh out of the picture, to 
make sure it was not the problem (should of done that sooner).

Here are the steps:

1) Request a protected page form my app.
2) My CMA login page pops up, I enter userid and password.
3) This POST is issued when I submit it:
 POST /stars/auth/ 
j_username=user1j_password=password1login=Login
4) HTTPLiveHeaders show all of the GET requests have a user-agent set
   (I've included all 90 lines of them below).
5) My page that appears has the following code:
  %
  String _userAgent = request.getHeader(user-agent);
  out.write(USER-AGENT=+_userAgent);
  ...
6) And displays the following on my page:
  USER-AGENT=null

Unless someone has other ideas I'm thinking it's a but in 5.5.12 at 
this point and will post it to Bugzilla.

Thanks to Mark and others for their help.

 - Richard

START OF HTTPLiveHeaders capture from the above POST:

http://smartfish:8080/stars/auth/

POST /stars/auth/ HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/pla
in;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; 
username=user1
Content-Type: application/x-www-form-urlencoded
Content-Length: 45
j_username=user1j_password=password1login=Login
HTTP/1.x 302 Moved Temporarily
Server: Apache-Coyote/1.1
Location:
http://smartfish:8080/stars/j_security_check?j_username=user1j_passwor
d=fbc
e66f99c809283638f344ecb3d50674ea64189
Content-Length: 0
Date: Wed, 12 Oct 2005 16:33:46 GMT
--
http://smartfish:8080/stars/j_security_check?j_username=user1j_passwor
d=fbc
e66f99c809283638f344ecb3d50674ea64189

GET
/stars/j_security_check?j_username=user1j_password=fbce66f99c809283638
f344e
cb3d50674ea64189 HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/pla
in;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; 
username=user1

HTTP/1.x 302 Moved Temporarily
Server: Apache-Coyote/1.1
Location: http://smartfish:8080/stars/HomePage.do
Content-Length: 0
Date: Wed, 12 Oct 2005 16:33:46 GMT
--
http://smartfish:8080/stars/HomePage.do

GET /stars/HomePage.do HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/pla
in;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; 
username=user1

HTTP/1.x 200 OK
Server: Apache-Coyote/1.1
Pragma: No-cache
Cache-Control: no-cache,no-store,max-age=0
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=UTF-8
Content-Language: en
Content-Length: 2989
Date: Wed, 12 Oct 2005 16:33:52 GMT
--
http://smartfish:8080/stars/WEB-INF/pages/%3C%=request.getContextPath()
%%3E/
images/cm_fill.gif

GET
/stars/WEB-INF/pages/%3C%=request.getContextPath()%%3E/images/cm_fill.g
if
HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

Re: Tomcat 5.5.12 and user-agent header

2005-10-12 Thread Jess Holle

Richard Mixon wrote:


Have not tried it with Apache/mod_jk in front - just with Tomcat and
accessing it as http://computername:8080/stars/HomePage.do .

Not sure of your drift. Are you just looking for another date point (that's
good) - or is there some implication as to how user-agent headers work with
Tomcat standalone?
 

I'm wondering whether any issue that exists is Tomcat-wide or specific 
to the HTTP connector (or to the new AJP-based connectors for that matter).


--
Jess Holle

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



AW: Problems with graphics on Tomcat 5.5.9

2005-10-11 Thread Edao, Aliye
 
Hi Mauricio,

I had the same problem. The solution is as follows:

1. Download and install a virtual frame buffer
   Where to find and how to install:
   
http://testdrive.mapinfo.com/TECHSUPP/MIPROD.NSF/0/a832a07452b9a0e385256f8000760f68?OpenDocument

2. Do not forget to create a script to start xvfb - you will find the script 
under the link above

3. Edit the startup.sh or catalina.sh as follows:

#export DISPLAY 
export DISPLAY=IP_of_your_machine_where_Tomcat_is_running:0.0
export CATALINA_OPTS=-Djava.awt.headless=false 

4. Start xvfb

5. Restart Tomcat



Mit freundlichem Gruß / kind regards

Aliye Edao  
 




-Ursprüngliche Nachricht-
Von: Mauricio Fernandez A. [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 10. Oktober 2005 15:06
An: Tomcat Users List
Betreff: RE: Problems with graphics on Tomcat 5.5.9

You can see that here, after click on Graficar:

The web test app can be found here http://www.actesoft.com:8080/Prueba/jsp/
and the wanted result after click on Graficar is something like this
http://www.actesoft.com/ejGrafico/ (static page)

Mauricio Fernandez

-Mensaje original-
De: Viorel Dragomir [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 10 octubre, 2005 15:53
Para: Tomcat Users List
Asunto: Re: Problems with graphics on Tomcat 5.5.9


What exception ?

[ If it's not confidential. :) ]



Viorel Dragomir

.
..
---



- Original Message -
From: Mauricio Fernandez A.
To: Tomcat Users List
Sent: Monday, October 10, 2005 14:42
Subject: RE: Problems with graphics on Tomcat 5.5.9



Trying again to make the graphics appear in my web app, I did a test web app
and I had been trying to start the Tomcat with -Djava.awt.headless=true
option as I read in some forums

#export CATALINA_OPTS=-Djava.awt.headless=true
#/usr/java/jakarta-tomcat/bin/startup.sh

But they do not appear either

The web test app can be found here http://www.actesoft.com:8080/Prueba/jsp/
and the wanted result after click on Graficar is something like this
http://www.actesoft.com/ejGrafico/ (static page)

Also I have try to insert in the Graficador.class constructor the next
System.set/getProperties lines


public Graficador(String Path){
super();
this.contexto = Path;
this.background = null;

//System.setProperty returns the current value before assignment
String vrPropiedad = System.setProperty(java.awt.headless, true);

// Log the before assignment value to a log file to debug
logger.debug(BEFORE = java.awt.headless =  + vrPropiedad);

//and log the after assignmet value to a log file too
vrPropiedad = System.getProperty(java.awt.headless);
logger.debug(NOW = java.awt.headless =  + vrPropiedad);
}


And these are the log file lines the app write

2005-10-10 11:18:15,996 [-t] INFO [index.jsp] - Loading form
2005-10-10 11:18:15,999 [-t] INFO [index.jsp] - Form OK !
2005-10-10 11:18:24,710 [-t] DEBUG [grafica.jsp] - loading page: grafica.jsp
2005-10-10 11:18:24,716 [-t] DEBUG [grafica.jsp] - Creating object:
Graficador
2005-10-10 11:18:24,746 [-t] DEBUG [Graficador] - BEFORE = java.awt.headless
= true -- It is True!
2005-10-10 11:18:24,746 [-t] DEBUG [Graficador] - NOW = java.awt.headless =
true -- It is True!
2005-10-10 11:18:24,747 [-t] DEBUG [grafica.jsp] - Creating Category 1 ...
OK
2005-10-10 11:18:24,747 [-t] DEBUG [grafica.jsp] - Creating Category 2 ...
OK
2005-10-10 11:18:24,748 [-t] DEBUG [grafica.jsp] - Creating Category 3 ...
OK
2005-10-10 11:18:24,748 [-t] DEBUG [grafica.jsp] - Giving the control to a
Graficador Object, it must make the chart
2005-10-10 11:18:24,769 [-t] DEBUG [Graficador] - Starting chart creation
...
2005-10-10 11:18:24,788 [-t] DEBUG [Graficador] - Data process  OK
2005-10-10 11:18:25,548 [-t] DEBUG [Graficador] - Creating Chart  OK
2005-10-10 11:18:25,549 [-t] DEBUG [Graficador] - Making a PNG image from
Chart

And here the app trhows an exception

Any idea is always welcome, thanks.

Mauricio Fernandez


-
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]



Problems with error handling framework in Tomcat 5.5 (includes workaround)

2005-10-11 Thread Robert Graf-Waczenski
Hi!

We have a complex web application with lots of JSPs and a considerable
amount of servlets for various purposes. Our app runs in Tomcat 5.5 and
among other custom error handling techniques we also used the Servlet
API mechanism of placing the following directive in our web.xml:

error-page
exception-typejava.lang.Throwable/exception-type
location/JSP/unhandledJSPError.jsp/location
/error-page

Due to the complexity of our application, it is unpredictable if the
unhandled exception occurs before or after the response has already been
committed. One example where the exception definitely occurs after the
response has been committed is a class that serves download requests. If
the user downloads a big amount of data, pressing the cancel button
while waiting for the download is normal and must be dealt with in the
server application. (Note that i'm using this only as an example, of
course the server-side errors that are caused by cancelled user requests
can be safely ignored, but this is a totally different discussion
outside the scope of this thread.)

So, here's what's happening:

- user clicks download link
- servlet starts writing (say) 100 MB of data to the response
- user grows impatient and clicks cancel
- servlet encounters a SocketException or similar because it is
  unable to write further data
- while trying to handling the error situation, tomcat calls the
  reset() method on the response. This causes an
  IllegalStateException because the servlet has already written
  and flushed the response.

According to the Servlet API, trying to undo a response in any way
*after* already having written physical data to the HTTP client is a
no-no, hence the IllegalStateException. In this light, it may or may
not be OK to actually call the reset() method as is done now (talking of
Tomcat 5.5.12) in StandardHostValve.custom().

[Try googling for StandardHostValve.custom(, the numerous results tell
you that this error situation occurs frequently out there...]

However, the mechanism of a standard error page is of somewhat meager
use for a complex application because, as the scenario above shows, it
does only work if the response is clean i.e. has not yet been written
to physically.

We decided to work around this as follows:

- Our JSPs will be augmented with a JavaScript redirect to
  the error page instead of the web.xml error page directive.
- Our Struts Action classes will handle all Throwables by
  redirecting to the error page
- Our servlets will handle all Throwables internally

So, effectively, no Throwable ever travels outside of the application.
(Note of course that browsers w/o JavaScript will probably see an ugly
IllegalStateException error instead of our carefully designed error
page. Since our app checks that JavaScript is enabled, this is no
problem for us.)

We're not 100% sure if our approach was actually intended by the Servlet
API gurus, so we'd like to know what others think about this and how
this issue is dealt with in other nontrivial apps.

The most important (and simple) lesson to learn probably is that if your
app once has committed data to the client, then it must find a clean
method of saying Oops, sorry, there was a problem *together* with the
already written data.

Any other ideas / suggestions?

-
Robert Graf-Waczenski
LISTSERV Maestro Core Development Team
L-Soft Germany GmbH

Knowledge is just a click away: http://www.lsoft.com/optin.html


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



Tomcat service dies

2005-10-11 Thread Joakim Ahlén

Hi!

We're running Tomcat 5.5.9 as a service on Windows Server 2003.

With high load on the server, the tomcat process simply dies 
spontaneously, with no message in the stderr or stdout-logs, but these 
lines in jakarta_service_xxx.log:


--
[2005-10-07 12:55:38] [info] Run service finished.
[2005-10-07 12:55:38] [info] Procrun finished.
[2005-10-07 12:55:58] [info] Running Service...
[2005-10-07 12:55:58] [info] Starting service...
[2005-10-07 12:55:59] [info] Service started in 1515 ms.
[2005-10-11 11:49:51] [info]
Exception
[2005-10-11 11:49:51] [info] in thread 
--

As you can see, the server ran great for 4 days, then died when i 
applied high load (many connections, but not unreasonably many)


This occurrs both on our test server and production servers, with 
various hardware. The most powerful server is a dual xeon 3Ghz with 3Gb 
of memory.


Has anyone else had this problem? Is it related to the operating system? 
Any ideas on how to get more information on what kind of exception has 
been thrown in order to see what the real problem is?


Regards

Joakim

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



Re: Problems with graphics on Tomcat 5.5.9

2005-10-11 Thread Amadeo Alonso

Cabe suponer que has mirado la linea 211 de tu'Graficador2.java'?, ...
parece corresponder a lo primero escrito por ti y, frecuentemente, esto da 
una pista.
Parece involucrar un problema de Acceso de Java -muy pijotero siempre-, ¿es 
todo accesible?.



Graficar = =   java.lang.NoClassDefFoundError:
..
java.security.AccessController.doPrivileged(Native Method)
.
com.Prueba.comandos.Graficador2.crearBarChart3DVertical(Graficador2.java:211).luckamadeo- Original Message -From: Mauricio Fernandez A. [EMAIL PROTECTED]To: Tomcat Users List 
tomcat-user@jakarta.apache.orgSent: Monday, October 10, 2005 3:06 PMSubject: RE: Problems with graphics on Tomcat 5.5.9 You can see that here, after click on Graficar: The web test app can be 
found herehttp://www.actesoft.com:8080/Prueba/jsp/ and the wanted result after click on Graficar is something like this http://www.actesoft.com/ejGrafico/ (static page) Mauricio Fernandez 
-Mensaje original- De: Viorel Dragomir [mailto:[EMAIL PROTECTED] Enviado el: lunes, 10 octubre, 2005 15:53 Para: Tomcat Users List Asunto: Re: Problems with graphics on Tomcat 5.5.9 What 
exception ? [ If it's not confidential. :) ] Viorel Dragomir . .. --- - Original Message - 
From: Mauricio F
ernandez A. To: Tomcat Users List Sent: Monday, October 10, 2005 14:42 Subject: RE: Problems with graphics on Tomcat 5.5.9 Trying again to make the graphics appear in my web app, I did a 
test webapp and I had been trying to start the Tomcat with -Djava.awt.headless=true option as I read in some forums #export CATALINA_OPTS=-Djava.awt.headless=true 
#/usr/java/jakarta-tomcat/bin/startup.sh But they do not appear either The web test app can be found herehttp://www.actesoft.com:8080/Prueba/jsp/ and the wanted result after click on 
Graficar is something like this http://www.actesoft.com/ejGrafico/ (static page) Also I have try to insert in the Graficador.class constructor the next System.set/getProperties 
lines public Graficador(String Path){ super(); this.contexto = Path; this.background = null; //System.setProperty returns the current value before assignment String vrPropiedad = 
System.setProperty(java.awt.headless, true); // Log the befo
re assignment value to a log file to debug logger.debug(BEFORE = java.awt.headless =  + vrPropiedad); //and log the after assignmet value to a log file too 
vrPropiedad = System.getProperty(java.awt.headless); logger.debug(NOW = java.awt.headless =  + vrPropiedad); } And these are the log file lines 
the app write 2005-10-10 11:18:15,996 [-t] INFO [index.jsp] - Loading form 2005-10-10 11:18:15,999 [-t] INFO [index.jsp] - Form OK ! 2005-10-10 11:18:24,710 [-t] DEBUG 
[grafica.jsp] - loading page:grafica.jsp 2005-10-10 11:18:24,716 [-t] DEBUG [grafica.jsp] - Creating object: Graficador 2005-10-10 11:18:24,746 [-t] DEBUG [Graficador] - 
BEFORE =java.awt.headless = true -- It is True! 2005-10-10 11:18:24,746 [-t] DEBUG [Graficador] - NOW = java.awt.headless= true -- It is True! 2005-10-10 
11:18:24,747 [-t] DEBUG [grafica.jsp] - Creating Category 1 ... OK 2005-10-10 11:18:24,747 [-t] DEBUG [grafica.jsp] - Creating Category 2 ... OK 2005-10-10 11:18:24,
748 [-t] DEBUG [grafica.jsp] - Creating Category 3 ... OK 2005-10-10 11:18:24,748 [-t] DEBUG [grafica.jsp] - Giving the control to a 
Graficador Object, it must make the chart 2005-10-10 11:18:24,769 [-t] DEBUG [Graficador] - Starting chart creation ... 2005-10-10 
11:18:24,788 [-t] DEBUG [Graficador] - Data process  OK 2005-10-10 11:18:25,548 [-t] DEBUG [Graficador] - Creating Chart  OK 2005-10-10 
11:18:25,549 [-t] DEBUG [Graficador] - Making a PNG image from Chart And here the app trhows an exception Any idea is always welcome, 
thanks. Mauricio Fernandez - 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]
karta.apache.org


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



Where does tomcat loads classes from? Mysterious classes loaded....

2005-10-11 Thread David Delbecq
Hi, to be short, tomcat send me an error in console for my webapp in
classes which simply
are not supposed to exist: xalan classes.

Linux debian computer,

here is what i do:

[EMAIL PROTECTED]:~/tomcat/jakarta-tomcat-5.5.7$ find * -iname '*xalan*'
[EMAIL PROTECTED]:~/tomcat/jakarta-tomcat-5.5.7$ grep -i -R xalan . | grep -v
catalina.out
./webapps/tomcat-docs/printer/class-loader-howto.html:liemorg.apache.xalan.*/em/li
./webapps/tomcat-docs/class-loader-howto.html:liemorg.apache.xalan.*/em/li
Fichier binaire ./webapps/intranet/WEB-INF/lib/oscore-2.2.2.jar concorde
Fichier binaire ./webapps/RMI_intranet/WEB-INF/lib/oscore-2.2.2.jar concorde

ok, so 2 .jar contains references to xalan, here is the entry in those
jar conatining string xalan:

com/opensymphony/provider/xmlprinter/XalanXMLPrinterProvider$1.class
com/opensymphony/provider/xmlprinter/XalanXMLPrinterProvider.class
com/opensymphony/provider/xpath/XalanXpathProvider.class


Now, as you see, no track of any org.apache.xalan classes. And for a
good reason, i replaced xalan by saxon in my webapp.
Now, here is where the fun starts:
using an xsl 2.0 in my webapp, supported by saxon but not by xalan, i
get this:

javax.xml.transform.TransformerException: Impossible de trouver la
fonction : matches
at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:649)
at
org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java:1496)
at
org.apache.xpath.compiler.XPathParser.PrimaryExpr(XPathParser.java:1435)
at
org.apache.xpath.compiler.XPathParser.FilterExpr(XPathParser.java:1334)
at
org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1267)
at
org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1225)
at
org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1131)
at
org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1052)
at
org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:994)
at
org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:919)
at
org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:859)
at
org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:823)
at
org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:796)
at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:779)
at
org.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:172)
at org.apache.xpath.XPath.init(XPath.java:202)
at
org.apache.xalan.processor.StylesheetHandler.createXPath(StylesheetHandler.java:199)
at
org.apache.xalan.processor.XSLTAttributeDef.processEXPR(XSLTAttributeDef.java:796)
at
org.apache.xalan.processor.XSLTAttributeDef.processValue(XSLTAttributeDef.java:1398)
at
org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLTAttributeDef.java:1589)
at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:381)
at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:312)
at
org.apache.xalan.processor.ProcessorTemplateElem.startElement(ProcessorTemplateElem.java:122)
at
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:668)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
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.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:972)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:788)
at be.dissco.slide.SlideFopDriver.run(SlideFopDriver.java:158)
at be.dissco.slide.SlideFopDriver.run(SlideFopDriver.java:136)
at
be.rmi.intranet.workflow.FOPHelper.createDocument(FOPHelper.java:107)
at
be.rmi.intranet.workflow.FOPHelper.createDocument(FOPHelper.java:83)
at
be.rmi.intranet.workflow.FOPHelper.createDocument(FOPHelper.java:80)
at
be.rmi.intranet.workflow.function.BuildPDF.execute(BuildPDF.java:67)
at
com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1229)
at
com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1268

Problems with graphics on Tomcat 5.5.9 OK!!! BUT.....

2005-10-11 Thread Mauricio Fernandez A.
Thanks for your help

Now I have reinstalled the XFree86 completly including the Xvfb and I can
start it (XVfb), to test if it is running I execute a xclock and I don´t get
any error, so I think it is running ok

However, now, when I try to get the jsp wich must show a graphic I get
another different error:


java.lang.NoClassDefFoundError
org.jfree.chart.ChartFactory.createBarChart3D(ChartFactory.java:764)

com.Prueba.comandos.Graficador2.crearBarChart3DVertical(Graficador2.java:19
6)

org.apache.jsp.jsp.grafica_jsp._jspService(org.apache.jsp.jsp.grafica_jsp:1
67)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



And in another web app in the same server the error is:


java.lang.NoClassDefFoundError
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:164)
java.awt.Toolkit$2.run(Toolkit.java:821)
java.security.AccessController.doPrivileged(Native Method)
java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
com.actelion.control.Graficador.asignarBackground(Graficador.java:97)

com.actelion.control.Graficador.crearBarChartVertical(Graficador.java:524)

org.apache.jsp.jsp.graficaVisitasMedicasEspecialidadCategoria_jsp._jspServi
ce(org.apache.jsp.jsp.graficaVisitasMedicasEspecialidadCategoria_jsp:198)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



So having in mind that before Xvfb Installation the error was:

http://www.jfree.org/phpBB2/viewtopic.php?t=14319

I think I am just with another different problem.

Can somebody understand this?

Thanks

Mauricio Fernandez







Hi Mauricio,

I had the same problem. The solution is as follows:

1. Download and install a virtual frame buffer
   Where to find and how to install:
   http://testdrive.mapinfo.com/TECHSUPP/MIPROD.NSF/0/a832a07452b9a0e385256f
8000760f68?OpenDocument

2. Do not forget to create a script to start xvfb - you will find the script
under the link above

3. Edit the startup.sh or catalina.sh as follows:

#export DISPLAY
export DISPLAY=IP_of_your_machine_where_Tomcat_is_running:0.0
export CATALINA_OPTS=-Djava.awt.headless=false

4. Start xvfb

5. Restart Tomcat



Mit freundlichem Gruß / kind regards

Aliye Edao



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



Re: Problems with graphics on Tomcat 5.5.9 OK!!! BUT.....

2005-10-11 Thread David Delbecq
Hello, if, like i suppose from your various errors, jfreechart require
awt/swing api and do draw on it,
you need to run the tomcat server inside a X server, not only do you
need to have fonts
installed and corresponding X libraries (like your link suggest was
problem), you also need to
to have X server running and DISPLAY envirronement variable set accordingly.

I would first suggest you start tomcat with
CATALINA_OPT=-Djava.awt.headless=true
If, like i suppose will be the case, you get HeadlessExceptions when
running like this, this mean
you definitly need to run tomcat server inside a X environment.

regards
David Delbecq
Mauricio Fernandez A. a écrit :

Thanks for your help

Now I have reinstalled the XFree86 completly including the Xvfb and I can
start it (XVfb), to test if it is running I execute a xclock and I don´t get
any error, so I think it is running ok

However, now, when I try to get the jsp wich must show a graphic I get
another different error:


java.lang.NoClassDefFoundError
   org.jfree.chart.ChartFactory.createBarChart3D(ChartFactory.java:764)
   
 com.Prueba.comandos.Graficador2.crearBarChart3DVertical(Graficador2.java:19
6)
   
 org.apache.jsp.jsp.grafica_jsp._jspService(org.apache.jsp.jsp.grafica_jsp:1
67)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



And in another web app in the same server the error is:


java.lang.NoClassDefFoundError
   java.lang.Class.forName0(Native Method)
   java.lang.Class.forName(Class.java:164)
   java.awt.Toolkit$2.run(Toolkit.java:821)
   java.security.AccessController.doPrivileged(Native Method)
   java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
   com.actelion.control.Graficador.asignarBackground(Graficador.java:97)
   
 com.actelion.control.Graficador.crearBarChartVertical(Graficador.java:524)
   
 org.apache.jsp.jsp.graficaVisitasMedicasEspecialidadCategoria_jsp._jspServi
ce(org.apache.jsp.jsp.graficaVisitasMedicasEspecialidadCategoria_jsp:198)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



So having in mind that before Xvfb Installation the error was:

http://www.jfree.org/phpBB2/viewtopic.php?t=14319

I think I am just with another different problem.

Can somebody understand this?

Thanks

Mauricio Fernandez



  


  


Hi Mauricio,

I had the same problem. The solution is as follows:

1. Download and install a virtual frame buffer
   Where to find and how to install:
   http://testdrive.mapinfo.com/TECHSUPP/MIPROD.NSF/0/a832a07452b9a0e385256f
8000760f68?OpenDocument

2. Do not forget to create a script to start xvfb - you will find the script
under the link above

3. Edit the startup.sh or catalina.sh as follows:

#export DISPLAY
export DISPLAY=IP_of_your_machine_where_Tomcat_is_running:0.0
export CATALINA_OPTS=-Djava.awt.headless=false

4. Start xvfb

5. Restart Tomcat



Mit freundlichem Gruß / kind regards

Aliye Edao



-
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: Problems with graphics on Tomcat 5.5.9 OK!!! BUT.....

2005-10-11 Thread David Delbecq
David Delbecq a écrit :

Hello, if, like i suppose from your various errors, jfreechart require
awt/swing api and do draw on it,
you need to run the tomcat server inside a X server, not only do you
need to have fonts
installed and corresponding X libraries (like your link suggest was
problem), you also need to
to have X server running and DISPLAY envirronement variable set accordingly.

I would first suggest you start tomcat with
CATALINA_OPT=-Djava.awt.headless=true
  


Sorry, it's CATALINA_OPTS  (with the *S*)

If, like i suppose will be the case, you get HeadlessExceptions when
running like this, this mean
you definitly need to run tomcat server inside a X environment.

regards
David Delbecq
Mauricio Fernandez A. a écrit :

  

Thanks for your help

Now I have reinstalled the XFree86 completly including the Xvfb and I can
start it (XVfb), to test if it is running I execute a xclock and I don´t get
any error, so I think it is running ok

However, now, when I try to get the jsp wich must show a graphic I get
another different error:


java.lang.NoClassDefFoundError
  org.jfree.chart.ChartFactory.createBarChart3D(ChartFactory.java:764)
  
 com.Prueba.comandos.Graficador2.crearBarChart3DVertical(Graficador2.java:19
6)
  
 org.apache.jsp.jsp.grafica_jsp._jspService(org.apache.jsp.jsp.grafica_jsp:1
67)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



And in another web app in the same server the error is:


java.lang.NoClassDefFoundError
  java.lang.Class.forName0(Native Method)
  java.lang.Class.forName(Class.java:164)
  java.awt.Toolkit$2.run(Toolkit.java:821)
  java.security.AccessController.doPrivileged(Native Method)
  java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
  com.actelion.control.Graficador.asignarBackground(Graficador.java:97)
  
 com.actelion.control.Graficador.crearBarChartVertical(Graficador.java:524)
  
 org.apache.jsp.jsp.graficaVisitasMedicasEspecialidadCategoria_jsp._jspServi
ce(org.apache.jsp.jsp.graficaVisitasMedicasEspecialidadCategoria_jsp:198)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



So having in mind that before Xvfb Installation the error was:

http://www.jfree.org/phpBB2/viewtopic.php?t=14319

I think I am just with another different problem.

Can somebody understand this?

Thanks

Mauricio Fernandez



 



 



Hi Mauricio,

I had the same problem. The solution is as follows:

1. Download and install a virtual frame buffer
  Where to find and how to install:
  http://testdrive.mapinfo.com/TECHSUPP/MIPROD.NSF/0/a832a07452b9a0e385256f
8000760f68?OpenDocument

2. Do not forget to create a script to start xvfb - you will find the script
under the link above

3. Edit the startup.sh or catalina.sh as follows:

#export DISPLAY
export DISPLAY=IP_of_your_machine_where_Tomcat_is_running:0.0
export CATALINA_OPTS=-Djava.awt.headless=false

4. Start xvfb

5. Restart Tomcat



Mit freundlichem Gruß / kind regards

Aliye Edao



-
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: Problems with graphics on Tomcat 5.5.9 OK!!! BUT.....

2005-10-11 Thread Mauricio Fernandez A.
I know the best way to set up this is by using -Djava.awt.headless=true but
I had been tryin almost everything. The problem is my server is a remote
rack server so it doesn´t have any display hw and as the -Djava... option
seems desn´t work for me i am trying to use the Xvfb.

By the way, could it be ok reboot the server in level 5?, does it have
sense?

Mauricio Fernández A.
Ingeniero de Sistemas
U. Autónoma de Manizales

-Mensaje original-
De: David Delbecq [mailto:[EMAIL PROTECTED]
Enviado el: martes, 11 octubre, 2005 16:50
Para: Tomcat Users List
Asunto: Re: Problems with graphics on Tomcat 5.5.9 OK!!! BUT.


Hello, if, like i suppose from your various errors, jfreechart require
awt/swing api and do draw on it,
you need to run the tomcat server inside a X server, not only do you
need to have fonts
installed and corresponding X libraries (like your link suggest was
problem), you also need to
to have X server running and DISPLAY envirronement variable set accordingly.

I would first suggest you start tomcat with
CATALINA_OPT=-Djava.awt.headless=true
If, like i suppose will be the case, you get HeadlessExceptions when
running like this, this mean
you definitly need to run tomcat server inside a X environment.

regards
David Delbecq
Mauricio Fernandez A. a écrit :

Thanks for your help

Now I have reinstalled the XFree86 completly including the Xvfb and I can
start it (XVfb), to test if it is running I execute a xclock and I don´t
get
any error, so I think it is running ok

However, now, when I try to get the jsp wich must show a graphic I get
another different error:


java.lang.NoClassDefFoundError
   org.jfree.chart.ChartFactory.createBarChart3D(ChartFactory.java:764)

com.Prueba.comandos.Graficador2.crearBarChart3DVertical(Graficador2.java:19
6)

org.apache.jsp.jsp.grafica_jsp._jspService(org.apache.jsp.jsp.grafica_jsp:1
67)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



And in another web app in the same server the error is:


java.lang.NoClassDefFoundError
   java.lang.Class.forName0(Native Method)
   java.lang.Class.forName(Class.java:164)
   java.awt.Toolkit$2.run(Toolkit.java:821)
   java.security.AccessController.doPrivileged(Native Method)
   java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
   com.actelion.control.Graficador.asignarBackground(Graficador.java:97)
   
 com.actelion.control.Graficador.crearBarChartVertical(Graficador.java:524)

org.apache.jsp.jsp.graficaVisitasMedicasEspecialidadCategoria_jsp._jspServi
ce(org.apache.jsp.jsp.graficaVisitasMedicasEspecialidadCategoria_jsp:198)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



So having in mind that before Xvfb Installation the error was:

http://www.jfree.org/phpBB2/viewtopic.php?t=14319

I think I am just with another different problem.

Can somebody understand this?

Thanks

Mauricio Fernandez









Hi Mauricio,

I had the same problem. The solution is as follows:

1. Download and install a virtual frame buffer
   Where to find and how to install:

http://testdrive.mapinfo.com/TECHSUPP/MIPROD.NSF/0/a832a07452b9a0e385256f
8000760f68?OpenDocument

2. Do not forget to create a script to start xvfb - you will find the
script
under the link above

3. Edit the startup.sh or catalina.sh as follows:

#export DISPLAY
export DISPLAY=IP_of_your_machine_where_Tomcat_is_running:0.0
export CATALINA_OPTS=-Djava.awt.headless=false

4. Start xvfb

5. Restart Tomcat



Mit freundlichem Gruß / kind regards

Aliye Edao



-
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]



tomcat 3.2.4

2005-10-11 Thread Steve Souza

Hi folks,

I'm new to the list, so I apologize in advance for any
faux pas I may commit here!

The question is simple - we'd like to get the 3.2.4
release of Tomcat, but do not see a download link on
the Apache site.  Is it archived somewhere?  I know
it's old, but we haven't moved to the new architecture
yet.

Many many thanks!

Regards,
Steve

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



Re: tomcat 3.2.4

2005-10-11 Thread Glen Mazza

http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html should be 3.2.4.

Glen

Steve Souza wrote:

Hi folks,

I'm new to the list, so I apologize in advance for any
faux pas I may commit here!

The question is simple - we'd like to get the 3.2.4
release of Tomcat, but do not see a download link on
the Apache site.  Is it archived somewhere?  I know
it's old, but we haven't moved to the new architecture
yet.

Many many thanks!

Regards,
Steve

-
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 3.2.4

2005-10-11 Thread GB Developer
http://archive.apache.org/dist/jakarta/tomcat-3/archive/v3.2.4/


 -Original Message-
 From: Steve Souza [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, October 11, 2005 3:18 PM
 To: Tomcat Users List
 Subject: tomcat 3.2.4
 
 
 Hi folks,
 
 The question is simple - we'd like to get the 3.2.4
 release of Tomcat, but do not see a download link on
 the Apache site.  Is it archived somewhere?  I know


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



RE: Tomcat 5.5.9 bugs?

2005-10-11 Thread Niels Beekman
Hi,

 

Related to the Dreamweaver-issue: I have this problem too, after some
debugging I found that Dreamweaver does not correctly update the
lastmodified-timestamp on JSP-files when putting them on the server,
which obviously fools the JSP-compiler into thinking that nothing has
changed.

 

This is a known issue with MM and is described at the following URL,
fortunately they  provide a workaround too:

 

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=a3f38dcf#ti
mestamp

 

Good luck,

 

Niels



Anybody using autofarming feature on Tomcat 5.5 cluster?

2005-10-11 Thread Edmon Begoli
Hey all,

Can anyone share any experiences with web application autofarming on the
Tomcat 5.5 cluster.

Is it reliable? Do you use it for production purposes? How big is the
cluster?

--
Thank you in advance,
Edmon Begoli
http://blogs.ittoolbox.com/eai/software


tomcat unable to parse HTTP GET variables if is replaced with %2526

2005-10-11 Thread Isaacson, David A. (James Tower)
Running 

apache: httpd-2.0.46-46.3.ent

tomcat: jakarta-tomcat-4.1.30

using the mod_jk connector.

 

 

Earlier yesterday we started recieving the following error.

java.lang.NumberFormatException: For input string:
88%26order=44%26start=3%26end=3

 

The page started to get refered to by another website, and the link that
they are using is:

http://www.mysite.com/mypage.jsp?item=88%2526order=44%2526start=3%25
26end=3

 

When I follow that link, it doesn't work, and it displays that it
couldn't handle the input string

88%26order=44%26start=3%26end=3  (notice that the %2526 in the
referring url now is a %26)

 

%25 = %

%26 = 

 

so it looks like the %25 is converting to the %, but then the recurring
%26 is not getting converted to the , which is causing tomcat not to be
able to parse the variables.

 

Is this an apache or tomcat misconfiguration/bug?  I've been searching,
but unable to find any answers.

 

Any ideas on how to resolve this would be helpful.  Sorry if this topic
has been brought up before. I was unable to find any hits on google, or
searching the mailing list archive.

 

Thanks,

 

Dave.



RE: silent install of Tomcat

2005-10-11 Thread krux mania
Thanks Mauricio, I'll follow this and get back.
pareeja

Mauricio Fernandez A. [EMAIL PROTECTED] wrote:
Maybe you can try with the .zip distribution if your so is Windows or
.tar.gz if Linux or whatever you want/need from
http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi

If you don´t know which one download read the README
http://apache.org.es/jakarta/tomcat-5/v5.5.12/README.html

Mauricio Fernandez

-Mensaje original-
De: krux mania [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 10 octubre, 2005 19:37
Para: tomcat-user@jakarta.apache.org
Asunto: silent install of Tomcat




Hi,

I need to install tomcat 5.0.28 silently for my application. Can this be
done.

If this issue has been previously discussed please send me a pointer to the
message.



thanks,

vivek


-
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.


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



-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Re: silent install of Tomcat

2005-10-11 Thread krux mania

Sounds like you are using Windows?

 Yes i am using windows.

On my Linux boxes I installed quite silently using rpm and no questions to be
answered..

But you could use the tarball/zip for it.

I'll try this, thanks.

 

vivek






-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

RE: Tomcat 5.5.12 and user-agent header

2005-10-11 Thread Mark Thomas
Have you looked at the headers between Tomcat and your UA? Is your UA actually
sending the UA header? If it is then it looks like a sitemesh problem from what
you have described. There are a range of tools for looking at headers.
livehttpheaders is good, as is TcpMon which is distributed as part of Axis.

Mark 

 -Original Message-
 From: Richard Mixon [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 10, 2005 12:00 AM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat 5.5.12 and user-agent header
 
 Leon,
 
 Thank you for the test - but I still get a null user-agent 
 right after the
 login. Here is a snippet of my code:
 
   !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN 
   http://www.w3.org/TR/html4/loose.dtd;
   %@ include file=/common/taglibs.jspf%
   %@ page import=com.ltoj.common.Constants %
   html:html locale=true
   head
   %@ include file=/common/meta.jspf %
   titledecorator:title//title
   script type=text/javascript src=c:url
 value='/scripts/environment.js'//script
   script type=text/javascript src=c:url
 value='/scripts/util.js'//script
   script type=text/javascript src=c:url
 value='/scripts/helptip.js'//script
   script type=text/javascript src=c:url
 value='/scripts/tabs.js'//script
   script type=text/javascript src=c:url
 value='/scripts/CalendarPopup.js'//script
   script type=text/javascript src=c:url
 value='/scripts/chartWizard.js'//script
   link rel=stylesheet type=text/css media=all href=c:url
 value='/styles/default.css'/ / 
   link rel=stylesheet type=text/css media=all href=c:url
 value='/styles/messages.css'/ / 
   link rel=stylesheet type=text/css media=all href=c:url
 value='/styles/tabs.css'/ / 
   decorator:head/
   %
   String _userAgent = request.getHeader(user-agent);
   out.write(USER-AGENT='+_userAgent+'); 
   ...
 
 Here's the sequence:
 
 1) I issue a request to this page.
 
 2) CMA says oh, that's protected and shows my custom login 
 page. I get
 user-agent displayed fine:
  USER-AGENT='Mozilla/5.0 (Windows; U; Windows NT 5.2; 
 en-US; rv:1.7.12)
 Gecko/20050915 Firefox/1.0.7'
 
 3) But on the next page (the original target page of the request),
 user-agent shows as null.
  USER-AGENT='null'
 
 I can refresh the page or go to any other page in my 
 application and the
 user agent is fine again.
 
 The only thing a bit non-standard about this JSP page is that it is a
 SiteMesh decorator page. 
 
 If I run the same test, same pages in Tomcat 5.5.9 I never 
 get user-agent of
 null.
 
 Our application does check the user-agent header a good bit. 
 We use Select
 lists with option groups - but some browsers do not support this so we
 simulate it by indenting the select options ourselves.
 
 Luckily all of this activity happens well after the initial 
 login - so we
 are safe, now that I changed the decorator to make sure 
 user-agent is not
 null before doing anything with it.
 
 But it seems other applications might be affected by this - no?
 
 Thanks again - Richard
 
 
 
 
 
 
 -Original Message-
 From: Leon Rosenberg [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, October 09, 2005 1:45 PM
 To: Tomcat Users List; [EMAIL PROTECTED]
 Subject: Re: Tomcat 5.5.12 and user-agent header
 
 Hmm, I downloaded 5.5.12 and tried the agent-header specific 
 code with it:
 
   public void processLogin(User user, HttpServletRequest req,
 HttpServletResponse res) {
   StringBuffer info = new StringBuffer();
   info.append(login );
   info.append(user.getUserName());
   info.append( [);
   info.append(user.getUserId().getPlainPresentation());
   info.append(] );
   info.append(user.getEmail());
   info.append( );
   
 info.append(UserHelper.getGenderDescription(user.getGender()));
   info.append( );
   
 info.append(UserHelper.getStatusDescription(user.getMembership
 Status()));
   info.append( );
   info.append(req.getRemoteAddr());
   info.append( / );
   info.append(req.getRemoteHost());
   info.append( Agent: );
   info.append(req.getHeader(user-agent));
   log.info(info); 
   }
 
 outcome was:
 
 2005-10-08 15:36:50,453 INFO  - login leon [6] [EMAIL PROTECTED] male premium
 127.0.0.1 / 127.0.0.1 Agent: Mozilla/5.0 (Windows; U; Windows 
 NT 5.0; en-US;
 rv:1.7) Gecko/20040626 Firefox/0.8
 
 which I think was same behaviour as before.
 
 I took tomcat out of the box (5.5.12 tar.gz) and only changed 
 the http port.
 
 regards
 leon
 
 
 On 10/8/05, Richard Mixon [EMAIL PROTECTED] wrote:
  I am just using the standard HTTP connector. This is on my 
 development 
  workstation so I don't normally run JK and Apache, except for final
 testing.
 
  On the developer list I did see one mention of user-agent 
 header, but 
  on closer inspection it appeared to be for a completely 
 different issue.
 
  Thanks - Richard
 
  -Original

Re: Q: Why Tomcat return me a OLD version of my doc.jar in an Applet ?

2005-10-10 Thread Amadeo Alonso

Thaks, Darek

I didn´t now that cache...
Amadeo.


- Original Message - 
From: Darek Czarkowski [EMAIL PROTECTED]

To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday, October 07, 2005 10:21 PM
Subject: Re: Q: Why Tomcat return me a OLD version of my doc.jar in an 
Applet ?




did you clean up your local cache?
the jar file might be a local version of the file. You might not be able
to see the new version until you remove the old one. (usually
~/.java/.deployment/javaws/)

--
Darek Czarkowski

Infinite Source Systems Corp.
Ph: 604 294 6557 (Ext. 113)
Fx: 604 294 6507
www.infinitesource.ca
[EMAIL PROTECTED]



ce.ca
On Sat, 2005-10-08 at 06:05, Amadeo Alonso wrote:

Hi list:

   I apologize me last (first) email to the list with faults on date and 
form

   Thanks to Mark Thomas for your explanations.

The problem I attempt to solve is the next:

When I demand the page 
'http://expresiongrafica.caminos.upm.es/PAU/AppletDoc.html', which has an 
Applet with a tag 'archive=doc.jar', Tomcat (?) v5.5 returns me the OLD 
VERSION of 'doc.jar' (v1) with the old bugs, as I deduct from the 'Java 
Console'.


I have placed two connector tags  in 'server.xml' file to use ports :80 
y :8080 in the same way


but

http://expresiongrafica.caminos.upm.es:8080/PAU/AppletDoc.html   return 
de rigth 'doc.jar' (v2),   OK:


http://expresiongrafica.caminos.upm.es:80/PAU/AppletDoc.html   return 
de old   'doc.jar' (v1),   BAD:


using  localhost/..., localhost:80/... y localhost:8080/...  OK (v2).


How can I destroy the old version? where is it? What is it happening? Is 
maybe a navigators problem?

 (I get  'similar' results with IE and Firefox )


Thanks in advance

Amadeo.
Universidad Politécnica de Madrid.




-
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: Problems with graphics on Tomcat 5.5.9

2005-10-10 Thread Mauricio Fernandez A.

Trying again to make the graphics appear in my web app, I did a test web app
and I had been trying to start the Tomcat with -Djava.awt.headless=true
option as I read in some forums

#export CATALINA_OPTS=-Djava.awt.headless=true
#/usr/java/jakarta-tomcat/bin/startup.sh

But they do not appear either

The web test app can be found here http://www.actesoft.com:8080/Prueba/jsp/
and the wanted result after click on Graficar is something like this
http://www.actesoft.com/ejGrafico/ (static page)

Also I have try to insert in the Graficador.class constructor the next
System.set/getProperties lines


public Graficador(String Path){
super();
this.contexto = Path;
this.background = null;

//System.setProperty returns the current value before assignment
String vrPropiedad = System.setProperty(java.awt.headless, true);

// Log the before assignment value to a log file to debug
logger.debug(BEFORE = java.awt.headless =  + vrPropiedad);

//and log the after assignmet value to a log file too
vrPropiedad = System.getProperty(java.awt.headless);
logger.debug(NOW = java.awt.headless =  + vrPropiedad);
}


And these are the log file lines the app write

2005-10-10 11:18:15,996 [-t] INFO [index.jsp] - Loading form
2005-10-10 11:18:15,999 [-t] INFO [index.jsp] - Form OK !
2005-10-10 11:18:24,710 [-t] DEBUG [grafica.jsp] - loading page: grafica.jsp
2005-10-10 11:18:24,716 [-t] DEBUG [grafica.jsp] - Creating object:
Graficador
2005-10-10 11:18:24,746 [-t] DEBUG [Graficador] - BEFORE = java.awt.headless
= true -- It is True!
2005-10-10 11:18:24,746 [-t] DEBUG [Graficador] - NOW = java.awt.headless =
true -- It is True!
2005-10-10 11:18:24,747 [-t] DEBUG [grafica.jsp] - Creating Category 1 ...
OK
2005-10-10 11:18:24,747 [-t] DEBUG [grafica.jsp] - Creating Category 2 ...
OK
2005-10-10 11:18:24,748 [-t] DEBUG [grafica.jsp] - Creating Category 3 ...
OK
2005-10-10 11:18:24,748 [-t] DEBUG [grafica.jsp] - Giving the control to a
Graficador Object, it must make the chart
2005-10-10 11:18:24,769 [-t] DEBUG [Graficador] - Starting chart creation
...
2005-10-10 11:18:24,788 [-t] DEBUG [Graficador] - Data process  OK
2005-10-10 11:18:25,548 [-t] DEBUG [Graficador] - Creating Chart  OK
2005-10-10 11:18:25,549 [-t] DEBUG [Graficador] - Making a PNG image from
Chart

And here the app trhows an exception

Any idea is always welcome, thanks.

Mauricio Fernandez


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



Re: Problems with graphics on Tomcat 5.5.9

2005-10-10 Thread Viorel Dragomir
What exception ?

[ If it's not confidential. :) ]



Viorel Dragomir

.
..
---



- Original Message - 
From: Mauricio Fernandez A. 
To: Tomcat Users List 
Sent: Monday, October 10, 2005 14:42
Subject: RE: Problems with graphics on Tomcat 5.5.9



Trying again to make the graphics appear in my web app, I did a test web app
and I had been trying to start the Tomcat with -Djava.awt.headless=true
option as I read in some forums

#export CATALINA_OPTS=-Djava.awt.headless=true
#/usr/java/jakarta-tomcat/bin/startup.sh

But they do not appear either

The web test app can be found here http://www.actesoft.com:8080/Prueba/jsp/
and the wanted result after click on Graficar is something like this
http://www.actesoft.com/ejGrafico/ (static page)

Also I have try to insert in the Graficador.class constructor the next
System.set/getProperties lines


public Graficador(String Path){
super();
this.contexto = Path;
this.background = null;

//System.setProperty returns the current value before assignment
String vrPropiedad = System.setProperty(java.awt.headless, true);

// Log the before assignment value to a log file to debug
logger.debug(BEFORE = java.awt.headless =  + vrPropiedad);

//and log the after assignmet value to a log file too
vrPropiedad = System.getProperty(java.awt.headless);
logger.debug(NOW = java.awt.headless =  + vrPropiedad);
}


And these are the log file lines the app write

2005-10-10 11:18:15,996 [-t] INFO [index.jsp] - Loading form
2005-10-10 11:18:15,999 [-t] INFO [index.jsp] - Form OK !
2005-10-10 11:18:24,710 [-t] DEBUG [grafica.jsp] - loading page: grafica.jsp
2005-10-10 11:18:24,716 [-t] DEBUG [grafica.jsp] - Creating object:
Graficador
2005-10-10 11:18:24,746 [-t] DEBUG [Graficador] - BEFORE = java.awt.headless
= true -- It is True!
2005-10-10 11:18:24,746 [-t] DEBUG [Graficador] - NOW = java.awt.headless =
true -- It is True!
2005-10-10 11:18:24,747 [-t] DEBUG [grafica.jsp] - Creating Category 1 ...
OK
2005-10-10 11:18:24,747 [-t] DEBUG [grafica.jsp] - Creating Category 2 ...
OK
2005-10-10 11:18:24,748 [-t] DEBUG [grafica.jsp] - Creating Category 3 ...
OK
2005-10-10 11:18:24,748 [-t] DEBUG [grafica.jsp] - Giving the control to a
Graficador Object, it must make the chart
2005-10-10 11:18:24,769 [-t] DEBUG [Graficador] - Starting chart creation
...
2005-10-10 11:18:24,788 [-t] DEBUG [Graficador] - Data process  OK
2005-10-10 11:18:25,548 [-t] DEBUG [Graficador] - Creating Chart  OK
2005-10-10 11:18:25,549 [-t] DEBUG [Graficador] - Making a PNG image from
Chart

And here the app trhows an exception

Any idea is always welcome, thanks.

Mauricio Fernandez


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

RE: Problems with graphics on Tomcat 5.5.9

2005-10-10 Thread Mauricio Fernandez A.
You can see that here, after click on Graficar:

The web test app can be found here http://www.actesoft.com:8080/Prueba/jsp/
and the wanted result after click on Graficar is something like this
http://www.actesoft.com/ejGrafico/ (static page)

Mauricio Fernandez

-Mensaje original-
De: Viorel Dragomir [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 10 octubre, 2005 15:53
Para: Tomcat Users List
Asunto: Re: Problems with graphics on Tomcat 5.5.9


What exception ?

[ If it's not confidential. :) ]



Viorel Dragomir

.
..
---



- Original Message -
From: Mauricio Fernandez A.
To: Tomcat Users List
Sent: Monday, October 10, 2005 14:42
Subject: RE: Problems with graphics on Tomcat 5.5.9



Trying again to make the graphics appear in my web app, I did a test web app
and I had been trying to start the Tomcat with -Djava.awt.headless=true
option as I read in some forums

#export CATALINA_OPTS=-Djava.awt.headless=true
#/usr/java/jakarta-tomcat/bin/startup.sh

But they do not appear either

The web test app can be found here http://www.actesoft.com:8080/Prueba/jsp/
and the wanted result after click on Graficar is something like this
http://www.actesoft.com/ejGrafico/ (static page)

Also I have try to insert in the Graficador.class constructor the next
System.set/getProperties lines


public Graficador(String Path){
super();
this.contexto = Path;
this.background = null;

//System.setProperty returns the current value before assignment
String vrPropiedad = System.setProperty(java.awt.headless, true);

// Log the before assignment value to a log file to debug
logger.debug(BEFORE = java.awt.headless =  + vrPropiedad);

//and log the after assignmet value to a log file too
vrPropiedad = System.getProperty(java.awt.headless);
logger.debug(NOW = java.awt.headless =  + vrPropiedad);
}


And these are the log file lines the app write

2005-10-10 11:18:15,996 [-t] INFO [index.jsp] - Loading form
2005-10-10 11:18:15,999 [-t] INFO [index.jsp] - Form OK !
2005-10-10 11:18:24,710 [-t] DEBUG [grafica.jsp] - loading page: grafica.jsp
2005-10-10 11:18:24,716 [-t] DEBUG [grafica.jsp] - Creating object:
Graficador
2005-10-10 11:18:24,746 [-t] DEBUG [Graficador] - BEFORE = java.awt.headless
= true -- It is True!
2005-10-10 11:18:24,746 [-t] DEBUG [Graficador] - NOW = java.awt.headless =
true -- It is True!
2005-10-10 11:18:24,747 [-t] DEBUG [grafica.jsp] - Creating Category 1 ...
OK
2005-10-10 11:18:24,747 [-t] DEBUG [grafica.jsp] - Creating Category 2 ...
OK
2005-10-10 11:18:24,748 [-t] DEBUG [grafica.jsp] - Creating Category 3 ...
OK
2005-10-10 11:18:24,748 [-t] DEBUG [grafica.jsp] - Giving the control to a
Graficador Object, it must make the chart
2005-10-10 11:18:24,769 [-t] DEBUG [Graficador] - Starting chart creation
...
2005-10-10 11:18:24,788 [-t] DEBUG [Graficador] - Data process  OK
2005-10-10 11:18:25,548 [-t] DEBUG [Graficador] - Creating Chart  OK
2005-10-10 11:18:25,549 [-t] DEBUG [Graficador] - Making a PNG image from
Chart

And here the app trhows an exception

Any idea is always welcome, thanks.

Mauricio Fernandez


-
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 5.0.28 redirect issue (error 302)

2005-10-10 Thread Tony Qian

All,

I installed jakarta-tomcat-5.0.28 on my PC and changed port to 8283 and 
added a simple servlet which has doGet and doPost.

I used a java program which uses httpclient to send doGet and doPost 
requests to that servlet. doGet worked well. However, I got following 
error msg for doPost request:

Oct 7, 2005 3:56:52 PM org.apache.commons.httpclient.HttpMethodBase 
processRedirectResponse
INFO: Redirect requested but followRedirects is disabled
The Status code = 302


Same program worked fine for tomcat 4. Any ideas?

Thanks in advance.

Tony


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



Re: Turning on debugging in Tomcat 5.5

2005-10-10 Thread Marcus Franke
On Fri, Oct 07, 2005 at 09:28:23PM -0700, Bill Barker wrote:
 
 James Rome [EMAIL PROTECTED] wrote in message 
 news:[EMAIL PROTECTED]
  Most of the installed Tomcat classes have something like
  container.isDebugEnabled() {...}
 
  How do I enable these debug statements in Tomcat 5.5?
 
 
 I'll assume that you are using Juli.  If you are using log4j, compare what 
 I'm saying to http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html 
 to see what you need to do.
 
 First you edit $CATALINA_HOME/conf/logging.properties and add and something 
 like:
   
 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/myapp].level 
 = FINE
 

Would this control the logging of the tomcat server itsel, too?

Returning to my previous mail, if I activate connectionTimeout
in the asp13 connector tomcat starts to pollute my catalina.out
with messages about timedout connections.

I know that there are connections which tend to timeout, such is life, 
but its a waste of time and storage when tomcat itself informs we
about that fact :)

Looking inside properties file I find the default log level and it
is:

# Default global logging level.
# This specifies which kinds of events are logged across
# all loggers.  For any given facility this global level
# can be overriden by a facility specific level
# Note that the ConsoleHandler also has a separate level
# setting to limit messages printed to the console.
.level= INFO

So, I guess, if I use something like .level=WARN the pollution
of catalina.out may will stop?



Regards,
Marcus

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



Re: Turning on debugging in Tomcat 5.5

2005-10-10 Thread Marcus Franke
On Mon, Oct 10, 2005 at 04:41:32PM +0200, Marcus Franke wrote:
 On Fri, Oct 07, 2005 at 09:28:23PM -0700, Bill Barker wrote:
  
 
 # Default global logging level.
 # This specifies which kinds of events are logged across
 # all loggers.  For any given facility this global level
 # can be overriden by a facility specific level
 # Note that the ConsoleHandler also has a separate level
 # setting to limit messages printed to the console.
 .level= INFO
 
 So, I guess, if I use something like .level=WARN the pollution
 of catalina.out may will stop?

Ok, had a deeper look inside the tomcat startup scripts on my
RHEL box and catalina.out is written as a redirect of the
tomcat stdout.

So, my next guess is, java.util.logging.ConsoleHandler.level = INFO
could be the right paramter to change?


Sorry, it seems Im not as half as familliar with this stuff
as I should be :(



Marcus

-- 

What terrible way to die.
There are no good ways.
-- Sulu and Kirk, That Which Survives, stardate unknown

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



Re: Turning on debugging in Tomcat 5.5

2005-10-10 Thread Marcus Franke
On Mon, Oct 10, 2005 at 05:20:07PM +0200, Marcus Franke wrote:
 On Mon, Oct 10, 2005 at 04:41:32PM +0200, Marcus Franke wrote:
  On Fri, Oct 07, 2005 at 09:28:23PM -0700, Bill Barker wrote:
   
  
  # Default global logging level.
  # This specifies which kinds of events are logged across
  # all loggers.  For any given facility this global level
  # can be overriden by a facility specific level
  # Note that the ConsoleHandler also has a separate level
  # setting to limit messages printed to the console.
  .level= INFO
  
  So, I guess, if I use something like .level=WARN the pollution
  of catalina.out may will stop?
 
 Ok, had a deeper look inside the tomcat startup scripts on my
 RHEL box and catalina.out is written as a redirect of the
 tomcat stdout.
 
 So, my next guess is, java.util.logging.ConsoleHandler.level = INFO
 could be the right paramter to change?
 

oh no, neither of these points stops my tomcat from being extremly
talkativ.

Any other hints or suggestions how to silence the tomcat?



Marcus

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



apache -- tomcat (mod_jk) works on localhost but not other hosts

2005-10-10 Thread Scott MacAlvone
I'm very new to tomcat and apache.  I've set up apache
to forward to tomcat using mod_jk.  It works fine on
the localhost, but if I try to connect through to
tomcat from any other host I get 404 file not found,
although I can connect to apache.  As follows:

These work on localhost:
http://localhost --apache
http://localhost/servlets-examples --tomcat

(So do these of course:
 http://localhost:8080/ --tomcat
 http://localhost:8080/servlets-examples --tomcat)

And this is what happens on another host:
http://hostname --apache
http://hostname/servlets-examples --404 file not
found
http://hostname:8080/servlets-examples --tomcat

OS = RHEL 4
Apache 2.0.52-19.ent (Red Hat RPM)
Tomcat 5.5.9-1jpp_5rh (Red Hat RPM)
mod_jk-ap20-1.2.6-3jpp_7rh (Red Hat RPM)
(Red Hat apparently doesn't offer a mod_jk2)

It was setup according to Pro Jakarta Tomcat 5
(Moodie, 2005), although I'm sure it's not the book's
fault.  Basically I modified server.xml to autogen
mod_jk.conf and added listener to Host, modified
workers.properties, and httpd.conf.

I have a feeling this is something simple, and I have
tried to find an answer with no luck.  If anyone has
any suggestions I would be greatly appreciative.


Scott



__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

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



Re: apache -- tomcat (mod_jk) works on localhost but not other hosts

2005-10-10 Thread Lyndon Tiu
On Mon, 10 Oct 2005 09:01:04 -0700 (PDT) tomcat-user@jakarta.apache.org wrote:
 I'm very new to tomcat and apache.  I've set up apache
 to forward to tomcat using mod_jk.  It works fine on
 the localhost, but if I try to connect through to
 tomcat from any other host I get 404 file not found,


Please send us your workers.properties and httpd.conf.


--
Lyndon Tiu

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



Re: apache -- tomcat (mod_jk) works on localhost but not other hosts

2005-10-10 Thread Scott MacAlvone
--- Lyndon Tiu [EMAIL PROTECTED] wrote:

 On Mon, 10 Oct 2005 09:01:04 -0700 (PDT)
 tomcat-user@jakarta.apache.org wrote:
  I'm very new to tomcat and apache.  I've set up
 apache
  to forward to tomcat using mod_jk.  It works fine
 on
  the localhost, but if I try to connect through to
  tomcat from any other host I get 404 file not
 found,
 
 
 Please send us your workers.properties and
 httpd.conf.

attached, tia, scott




__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

silent install of Tomcat

2005-10-10 Thread krux mania


Hi,

I need to install tomcat 5.0.28 silently for my application. Can this be done.

If this issue has been previously discussed please send me a pointer to the 
message.

 

thanks,

vivek


-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Re: silent install of Tomcat

2005-10-10 Thread Marcus Franke
On Mon, Oct 10, 2005 at 10:36:55AM -0700, krux mania wrote:
 
 
 Hi,
 
 I need to install tomcat 5.0.28 silently for my application. Can this be done.
 
 If this issue has been previously discussed please send me a pointer to the 
 message.
 

What do you mean with silent installation?


Marcus

-- 

Those who hate and fight must stop themselves -- otherwise it is not
stopped.
-- Spock, Day of the Dove, stardate unknown

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



Re: silent install of Tomcat

2005-10-10 Thread krux mania
Hi Marcus,
Silent installation also referred to as batch installation is the process where 
the install takes place without presenting any dialogs to the user. The user 
input is put into a properties file and the installation takes it from there.
 
vivek

Marcus Franke [EMAIL PROTECTED] wrote:
On Mon, Oct 10, 2005 at 10:36:55AM -0700, krux mania wrote:
 
 
 Hi,
 
 I need to install tomcat 5.0.28 silently for my application. Can this be done.
 
 If this issue has been previously discussed please send me a pointer to the 
 message.
 

What do you mean with silent installation?


Marcus

-- 

Those who hate and fight must stop themselves -- otherwise it is not
stopped.
-- Spock, Day of the Dove, stardate unknown

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





-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Re: silent install of Tomcat

2005-10-10 Thread Marcus Franke
On Mon, Oct 10, 2005 at 11:11:30AM -0700, krux mania wrote:
 Hi Marcus,
 Silent installation also referred to as batch installation is the process 
 where the install takes place without presenting any dialogs to the user. The 
 user input is put into a properties file and the installation takes it from 
 there.
  

Sounds like you are using Windows?

On my Linux boxes I installed quite silently using rpm and no questions to be
answered..

But you could use the tarball/zip for it.


Marcus
-- 

There are some things worth dying for.
-- Kirk, Errand of Mercy, stardate 3201.7

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



RE: silent install of Tomcat

2005-10-10 Thread Mauricio Fernandez A.
Maybe you can try with the .zip distribution if your so is Windows or
.tar.gz if Linux or whatever you want/need from
http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi

If you don´t know which one download read the README
http://apache.org.es/jakarta/tomcat-5/v5.5.12/README.html

Mauricio Fernandez

-Mensaje original-
De: krux mania [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 10 octubre, 2005 19:37
Para: tomcat-user@jakarta.apache.org
Asunto: silent install of Tomcat




Hi,

I need to install tomcat 5.0.28 silently for my application. Can this be
done.

If this issue has been previously discussed please send me a pointer to the
message.



thanks,

vivek


-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.


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



Re: apache -- tomcat (mod_jk) works on localhost but not other hosts

2005-10-10 Thread Scott MacAlvone
Thanks for the tip Lyndon.  It took a few tries, but I finally got it right, I 
think!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Add parameters into tomcat service ......

2005-10-10 Thread Tony Lu
Tomcat (5.0.28) runs on Windows 2003 Server.

Web application needs some information from tomcat starup. So I add
following statement in startup.bat batch file
set JAVA_OPTS=-Xms512m -Xmx512m -
Daos.configuration=%CATALINA_HOME%/conf/aos.config
Application runs well When I start Tomcat by startup.bat

But now I need to install Tomcat as windows service, how to add
aforementioned statement into this tomcat service?
Following is what I have done for it, but it failed.

1: Modify service.bat file, add --JvmOptions -Xms512m;-Xmx512m;-
Daos.configuration=%CATALINA_HOME%/conf/aos.config behind
%EXECUTABLE% //IS//%SERVICE_NAME%
2: Make Tomcat as Windows Service

run :service install tomcat5

3: Start service 'tomcat5'

But application runs not well because it can not get information from
startup parameters.

My question is:
how to add statement set JAVA_OPTS=-Xms512m -Xmx512m -
Daos.configuration=%CATALINA_HOME%/conf/aos.config
into tomcat5 service?

Thanks


Apache Tomcat Web Root Path Disclosure Vulnerability

2005-10-10 Thread Vineet Bhatia




Hello,
One of our customers running Apache Tomcat version 4.1.29 ran some type of a 
vulnerability scanner which detected an "Apache Tomcat Web Root Path Disclosure 
Vulnerability". Did some research on the net and many sites mentioned that this 
vulnerability only affected 4.0.3. But I want to get confirmation from this 
forum. Thanks.

 

  
  
Vineet BhatiaTechnical Support 
  Engineering

MailFrontier, 
  Inc.http://www.MailFrontier.com



  
  
Please leave original 
  e-mail in place when 
replying.



RE: Add parameters into tomcat service ......

2005-10-10 Thread Caldarale, Charles R
 From: Tony Lu [mailto:[EMAIL PROTECTED] 
 Subject: Add parameters into tomcat service ..
 
 My question is:
 how to add statement set JAVA_OPTS=-Xms512m -Xmx512m -
 Daos.configuration=%CATALINA_HOME%/conf/aos.config
 into tomcat5 service?

Use tomcat5w.exe from the bin directory.  Add the options you want under
the Java tab.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



[RESULT][VOTE] Tomcat 5.5.12 is stable

2005-10-09 Thread Yoav Shapira
Hi,
The 5.5.12 stability vote is now over, and the release is stable.  The
following votes were cast for stable:
Jeanfrancois Arcand
Allistair Crossley
Henri Gomez
Jim Jagielski (not sure if this one is binding in the strictest sense of the
word)
Remy Maucherat
Peter Rossbach
Yoav Shapira
Mladen Turk

There were no beta or alpha votes.  I'll go update the web site.  

There have been no code changes since the alpha release, so if you already have
the 5.5.12-alpha distribution you don't have to go download a new distro.

Thank you,

Yoav Shapira
System Design and Management Fellow
MIT Sloan School of Management
Cambridge, MA, USA
[EMAIL PROTECTED] / www.yoavshapira.com

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



Re: Tomcat 5.5.12 and user-agent header

2005-10-09 Thread Leon Rosenberg
Hmm, I downloaded 5.5.12 and tried the agent-header specific code with it:

public void processLogin(User user, HttpServletRequest req,
HttpServletResponse res) {
StringBuffer info = new StringBuffer();
info.append(login );
info.append(user.getUserName());
info.append( [);
info.append(user.getUserId().getPlainPresentation());
info.append(] );
info.append(user.getEmail());
info.append( );
info.append(UserHelper.getGenderDescription(user.getGender()));
info.append( );

info.append(UserHelper.getStatusDescription(user.getMembershipStatus()));
info.append( );
info.append(req.getRemoteAddr());
info.append( / );
info.append(req.getRemoteHost());
info.append( Agent: );
info.append(req.getHeader(user-agent));
log.info(info); 
}

outcome was:

2005-10-08 15:36:50,453 INFO  - login leon [6] [EMAIL PROTECTED] male premium
127.0.0.1 / 127.0.0.1 Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0;
en-US; rv:1.7) Gecko/20040626 Firefox/0.8

which I think was same behaviour as before.

I took tomcat out of the box (5.5.12 tar.gz) and only changed the http port.

regards
leon


On 10/8/05, Richard Mixon [EMAIL PROTECTED] wrote:
 I am just using the standard HTTP connector. This is on my development
 workstation so I don't normally run JK and Apache, except for final testing.

 On the developer list I did see one mention of user-agent header, but on
 closer inspection it appeared to be for a completely different issue.

 Thanks - Richard

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
 Sent: Friday, October 07, 2005 10:13 PM
 To: tomcat-user@jakarta.apache.org
 Subject: Re: Tomcat 5.5.12 and user-agent header


 Richard Mixon [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 I tested out my application on 5.5.12 yesterday and noticed one small
 anomally. I had a JSP in my sitemesh decorator default.jsp that ends
 up  wrapping the login page for container managed authentication. This
 page  had  a statement
 String  _userAgent = request.getHeader(user-agent).toLowerCase();
 
  It gets a null-pointer exception in 5.5.12, but under 5.5.9 it runs fine.
  In
  5.5.12, after the login succeeds then the user-agent headers appear to
  be there just fine, but not on the initial login page.
 
  Is this a known issue?
 

 It's certainly not a known issue.  It would help a lot if you could tell us
 which Connector you are using at the time (e.g. HTTP/1.1, HTTP/1.1-APR,
 AJP/1.3, AJP/1.3-APR).

  Thank you - Richard
 




 -
 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: OutOfMemoryException in Tomcat 5.0.28 (when using Thread / ThreadLocal)

2005-10-09 Thread Leon Rosenberg
I'm not the expert but...

On 10/9/05, Binildas C [EMAIL PROTECTED] wrote:
 Hi,

 We are building a high volume site in Tomcat5.0.28.
 Our single Tomcat5.0.28 instance in the Web Farm is
 having 10 HTTP Threads. Each HTTP Thread collects
 request events in a ThreadLocal. At every 1000
 requests (in a particular HTTP Thread) the HTTP Thread
 will collect events from the ThreadLocal, sets them in
 it's deamon thread (There is one-to-one
 correspondance between the number of Tomcat HTTP
 Threads and Deamon threads, hence we have 10 Deamon
 threads), notifies the deamon thread, and clears the
 ThreadLocal. The Deamon thread will pushes the events
 to a seperate single process through RMI.

What exactly is the goal of all this? Why do you gather information in
the HTTP Thread, and not in the daemon thread? It seems obvious to me
to hold the data there (if at all).
Btw, what do you mean by high volume?


 Everything works fine (functional and otherwise) for
 the first 1 or 2 hours or so, and then we can see the
 Tomcat 5.0.28 Process taking lot of memory and
 ultimately we are getting either an
 OutOfMemoryException or The Tomcat process stalls!

 Our Question is:
 1. Is Tomcat 5.0.28 having a memory problem?

Search Bugzilla (http://issues.apache.org). We have tomcat 5.0.25 and
28 in a high traffic site (approx. 100 requests per server per second)
and not having any memory problems.

 2. If so, what about other versions of Tomcat?

Probably the same, unless you'd like to try the new garbage collector
in jdk1.5 and test it with 5.5.12

 3. Is this memory problem somehow related to Thread
 and/or ThreadLocal Usage?

Are you sure your code is actually freeing the objects? If you keep a
reference to the object somewhere, you'd never have your gc utilize
them. How much memory do you give tomcat/jvm at startup? Have your
tried a verbose mode for gc (or simply print out memory stats all 10
minutes) to see if it's a continous leak, or something cause it out
of nowhere by chance? Are you creating new Threads? File handles? You
must know that OutOfMemoryError in java can mean nearly anything.

 4. Any work around for this.

Besides, I don't like your solution, and would advice you to rewrite
it in more conventional way, there is a simple workaround, if you can
afford to loose some of your requests - use SoftReferences for
holding your data, they are guaranteed to be freed before an
OutOfMemory can occur.


 Reference:
 http://forum.java.sun.com/thread.jspa?messageID=3900219

 Thankx in advance

 Regards
 Binildas C. A.

Leon

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



RE: Tomcat 5.5.12 and user-agent header

2005-10-09 Thread Richard Mixon
Leon,

Thank you for the test - but I still get a null user-agent right after the
login. Here is a snippet of my code:

  !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN 
  http://www.w3.org/TR/html4/loose.dtd;
  %@ include file=/common/taglibs.jspf%
  %@ page import=com.ltoj.common.Constants %
  html:html locale=true
  head
  %@ include file=/common/meta.jspf %
  titledecorator:title//title
  script type=text/javascript src=c:url
value='/scripts/environment.js'//script
  script type=text/javascript src=c:url
value='/scripts/util.js'//script
  script type=text/javascript src=c:url
value='/scripts/helptip.js'//script
  script type=text/javascript src=c:url
value='/scripts/tabs.js'//script
  script type=text/javascript src=c:url
value='/scripts/CalendarPopup.js'//script
  script type=text/javascript src=c:url
value='/scripts/chartWizard.js'//script
  link rel=stylesheet type=text/css media=all href=c:url
value='/styles/default.css'/ / 
  link rel=stylesheet type=text/css media=all href=c:url
value='/styles/messages.css'/ / 
  link rel=stylesheet type=text/css media=all href=c:url
value='/styles/tabs.css'/ / 
  decorator:head/
  %
  String _userAgent = request.getHeader(user-agent);
  out.write(USER-AGENT='+_userAgent+'); 
  ...

Here's the sequence:

1) I issue a request to this page.

2) CMA says oh, that's protected and shows my custom login page. I get
user-agent displayed fine:
 USER-AGENT='Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7'

3) But on the next page (the original target page of the request),
user-agent shows as null.
 USER-AGENT='null'

I can refresh the page or go to any other page in my application and the
user agent is fine again.

The only thing a bit non-standard about this JSP page is that it is a
SiteMesh decorator page. 

If I run the same test, same pages in Tomcat 5.5.9 I never get user-agent of
null.

Our application does check the user-agent header a good bit. We use Select
lists with option groups - but some browsers do not support this so we
simulate it by indenting the select options ourselves.

Luckily all of this activity happens well after the initial login - so we
are safe, now that I changed the decorator to make sure user-agent is not
null before doing anything with it.

But it seems other applications might be affected by this - no?

Thanks again - Richard






-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 09, 2005 1:45 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Tomcat 5.5.12 and user-agent header

Hmm, I downloaded 5.5.12 and tried the agent-header specific code with it:

public void processLogin(User user, HttpServletRequest req,
HttpServletResponse res) {
StringBuffer info = new StringBuffer();
info.append(login );
info.append(user.getUserName());
info.append( [);
info.append(user.getUserId().getPlainPresentation());
info.append(] );
info.append(user.getEmail());
info.append( );

info.append(UserHelper.getGenderDescription(user.getGender()));
info.append( );

info.append(UserHelper.getStatusDescription(user.getMembershipStatus()));
info.append( );
info.append(req.getRemoteAddr());
info.append( / );
info.append(req.getRemoteHost());
info.append( Agent: );
info.append(req.getHeader(user-agent));
log.info(info); 
}

outcome was:

2005-10-08 15:36:50,453 INFO  - login leon [6] [EMAIL PROTECTED] male premium
127.0.0.1 / 127.0.0.1 Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
rv:1.7) Gecko/20040626 Firefox/0.8

which I think was same behaviour as before.

I took tomcat out of the box (5.5.12 tar.gz) and only changed the http port.

regards
leon


On 10/8/05, Richard Mixon [EMAIL PROTECTED] wrote:
 I am just using the standard HTTP connector. This is on my development 
 workstation so I don't normally run JK and Apache, except for final
testing.

 On the developer list I did see one mention of user-agent header, but 
 on closer inspection it appeared to be for a completely different issue.

 Thanks - Richard

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
 Sent: Friday, October 07, 2005 10:13 PM
 To: tomcat-user@jakarta.apache.org
 Subject: Re: Tomcat 5.5.12 and user-agent header


 Richard Mixon [EMAIL PROTECTED] wrote in message 
 news:[EMAIL PROTECTED]
 I tested out my application on 5.5.12 yesterday and noticed one small 
 anomally. I had a JSP in my sitemesh decorator default.jsp that 
 ends up  wrapping the login page for container managed 
 authentication. This page  had  a statement
 String  _userAgent = 
 request.getHeader(user-agent).toLowerCase();
 
  It gets a null-pointer exception

RE: Tomcat 5.5.12 and user-agent header

2005-10-08 Thread Richard Mixon
I am just using the standard HTTP connector. This is on my development
workstation so I don't normally run JK and Apache, except for final testing.

On the developer list I did see one mention of user-agent header, but on
closer inspection it appeared to be for a completely different issue.

Thanks - Richard 

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent: Friday, October 07, 2005 10:13 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: Tomcat 5.5.12 and user-agent header


Richard Mixon [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I tested out my application on 5.5.12 yesterday and noticed one small  
anomally. I had a JSP in my sitemesh decorator default.jsp that ends 
up  wrapping the login page for container managed authentication. This 
page  had  a statement
String  _userAgent = request.getHeader(user-agent).toLowerCase();

 It gets a null-pointer exception in 5.5.12, but under 5.5.9 it runs fine. 
 In
 5.5.12, after the login succeeds then the user-agent headers appear to 
 be there just fine, but not on the initial login page.

 Is this a known issue?


It's certainly not a known issue.  It would help a lot if you could tell us
which Connector you are using at the time (e.g. HTTP/1.1, HTTP/1.1-APR,
AJP/1.3, AJP/1.3-APR).

 Thank you - Richard
 




-
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]



OutOfMemoryException in Tomcat 5.0.28 (when using Thread / ThreadLocal)

2005-10-08 Thread Binildas C
Hi,

We are building a high volume site in Tomcat5.0.28.
Our single Tomcat5.0.28 instance in the Web Farm is
having 10 HTTP Threads. Each HTTP Thread collects
request events in a ThreadLocal. At every 1000
requests (in a particular HTTP Thread) the HTTP Thread
will collect events from the ThreadLocal, sets them in
it's deamon thread (There is one-to-one
correspondance between the number of Tomcat HTTP
Threads and Deamon threads, hence we have 10 Deamon
threads), notifies the deamon thread, and clears the
ThreadLocal. The Deamon thread will pushes the events
to a seperate single process through RMI.

Everything works fine (functional and otherwise) for
the first 1 or 2 hours or so, and then we can see the
Tomcat 5.0.28 Process taking lot of memory and
ultimately we are getting either an
OutOfMemoryException or The Tomcat process stalls!

Our Question is: 
1. Is Tomcat 5.0.28 having a memory problem? 
2. If so, what about other versions of Tomcat?
3. Is this memory problem somehow related to Thread
and/or ThreadLocal Usage?
4. Any work around for this.

Reference:
http://forum.java.sun.com/thread.jspa?messageID=3900219

Thankx in advance

Regards
Binildas C. A.
[ binil_christudasatinfosysdotcom ]
[ Birenjith_Sasidharanatinfosysdotcom ]



__ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com

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



common\lib and shared\lib in tomcat embedded

2005-10-07 Thread Giuseppe Briotti
We are using tomcat 4.1.29 embedded in jboss 3.2.3.

It is possible to know how common\lib and shared\lib
of stand-alone tomcat are mapped in tomcat embedded?

TIA

G.

--

Giuseppe Briotti
[EMAIL PROTECTED]

Alme Sol, curru nitido diem qui 
promis et celas aliusque et idem 
nasceris, possis nihil urbe Roma 
visere maius.
(Orazio)





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



Q: Why Tomcat return me a OLD version of my doc.jar in an Applet ?

2005-10-07 Thread Amadeo Alonso
Hi list:

   I apologize me last (first) email to the list with faults on date and form 
   Thanks to Mark Thomas for your explanations.

The problem I attempt to solve is the next:

When I demand the page 
'http://expresiongrafica.caminos.upm.es/PAU/AppletDoc.html', which has an 
Applet with a tag 'archive=doc.jar', Tomcat (?) v5.5 returns me the OLD VERSION 
of 'doc.jar' (v1) with the old bugs, as I deduct from the 'Java Console'.

I have placed two connector tags  in 'server.xml' file to use ports :80 y 
:8080 in the same way

but

http://expresiongrafica.caminos.upm.es:8080/PAU/AppletDoc.html   return de 
rigth 'doc.jar' (v2),   OK:   

http://expresiongrafica.caminos.upm.es:80/PAU/AppletDoc.html   return de 
old   'doc.jar' (v1),   BAD: 

using  localhost/..., localhost:80/... y localhost:8080/...  OK (v2). 


How can I destroy the old version? where is it? What is it happening? Is maybe 
a navigators problem?
 (I get  'similar' results with IE and Firefox )


Thanks in advance

Amadeo.
Universidad Politécnica de Madrid.


RE: Q: Why Tomcat return me a OLD version of my doc.jar in an Applet ? [255718:132221]

2005-10-07 Thread RTE - Meridian Club
Many thanks for your email. This is an automated response acknowledging receipt.

Please be advised that Badge mailing commences beginning of October 2005.

Should your message require a response we will respond shortly.

Regards
Meridian Club


 -Original Message-
 From: Amadeo Alonso [EMAIL PROTECTED]
 Received: 10/7/2005 2:03 PM
 To: Tomcat Users List tomcat-user@jakarta.apache.org
 Subject: Q: Why Tomcat return me a OLD version of my doc.jar in an Applet ?

 Hi list:
 
I apologize me last (first) email to the list with faults on date and 
 form 
Thanks to Mark Thomas for your explanations.
 
 The problem I attempt to solve is the next:
 
 When I demand the page 
 'http://expresiongrafica.caminos.upm.es/PAU/AppletDoc.html', which has an 
 Applet with a tag 'archive=doc.jar', Tomcat (?) v5.5 returns me the OLD 
 VERSION of 'doc.jar' (v1) with the old bugs, as I deduct from the 'Java 
 Console'.
 
 I have placed two connector tags  in 'server.xml' file to use ports :80 y 
 :8080 in the same way
 
 but
 
 http://expresiongrafica.caminos.upm.es:8080/PAU/AppletDoc.html   return de 
 rigth 'doc.jar' (v2),   OK:   
 
 http://expresiongrafica.caminos.upm.es:80/PAU/AppletDoc.html   return de 
 old   'doc.jar' (v1),   BAD: 
 
 using  localhost/..., localhost:80/... y localhost:8080/...  OK (v2). 
 
 
 How can I destroy the old version? where is it? What is it happening? Is 
 maybe a navigators problem?
  (I get  'similar' results with IE and Firefox )
 
 
 Thanks in advance
 
 Amadeo.
 Universidad Politécnica de Madrid.
 

--
Meridian Club
Unit 5, Caxton Centre
Porters Wood
St Albans
Herts
UNITED KINGDOM
AL3 6XT

Tel: +44 1727 738855
Fax: +44 1700 578955
email: [EMAIL PROTECTED]


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



tomcat webdav

2005-10-07 Thread Vineet Chadha
Hi,
 I am trying to configure webdav to provide web resource to multiple user.
For example, inside webdav directory I create multiple user directory (
user1, user2 ,user3 ). I am authenticating users using mysql database (
authentication works fine for single user ( let us say user1) with role name
user1). But it doesn't work for multiple users. Here is snippet of
web.xmlfile in webapps/webdav/WEB-INF/
web.xml ( specifically security constraint I am trying to set). Please note
that as specified in following XML parameters, admin and user1 are able to
authenticate with database. All users/roles are correctly specificed. what i
want is to provide admin access to admin for /webapps/webdav/ directory
and user1 access of /webapps/webdav/user1 directory. I have created user1
directory inside webapps.

security-constraint
  web-resource-collection
web-resource-nameEntire Application/web-resource-name
url-pattern/*/url-pattern
  /web-resource-collection
  auth-constraint
 role-nameadmin/role-name
  /auth-constraint
/security-constraint  

security-constraint
  web-resource-collection
web-resource-nameEntire Application/web-resource-name
url-pattern/user1/*/url-pattern
  /web-resource-collection
  auth-constraint
 role-nameuser1/role-name
  /auth-constraint
/security-constraint  

 login-config
  auth-methodBASIC/auth-method
  realm-nameTomcat Manager Application/realm-name
/login-config

 security-role
  description
The role that is required to log in to the Manager Application
  /description
  role-nameadmin/role-name

  role-nameuser1/role-name

/security-roleif i try webdav access through
http://xxx.xxx.xxx.xxx:8080/webdav/user1 and enter username and password, it
gives following error on web page:
 java.lang.NullPointerException
org.apache.catalina.servlets.DefaultServlet.renderHtml(DefaultServlet.java
:1345)
org.apache.catalina.servlets.DefaultServlet.render(DefaultServlet.java:1102)
org.apache.catalina.servlets.DefaultServlet.serveResource(
DefaultServlet.java:807)
org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:335)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
org.apache.catalina.servlets.WebdavServlet.service(WebdavServlet.java:287)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 tomcat log file indicates following:
 java.lang.NullPointerException
at org.apache.catalina.servlets.DefaultServlet.renderHtml(DefaultServle
t.java:1345)
at org.apache.catalina.servlets.DefaultServlet.render(DefaultServlet.ja
va:1102)
at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultSer
vlet.java:807)
at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.jav
a:335)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.apache.catalina.servlets.WebdavServlet.service(WebdavServlet.jav
a:287)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
licationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
FilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
Valve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContext
Valve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentic
atorBase.java:482)
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(StandardEngineVa
lve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
va:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
a:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
essConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp
oint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo
llowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
Pool.java:684)
at java.lang.Thread.run(Thread.java:595)
  Please help. Can we configure webdav application to provide exclusive
access of a subdirectory to multiple user ?
 Regards,
Vineet


RE: tomcat webdav [255807:132333]

2005-10-07 Thread RTE - Meridian Club
Many thanks for your email. This is an automated response acknowledging receipt.

Please be advised that Badge mailing commences beginning of October 2005.

Should your message require a response we will respond shortly.

Regards
Meridian Club


 -Original Message-
 From: Vineet Chadha [EMAIL PROTECTED]
 Received: 10/7/2005 5:15 PM
 To: tomcat-user@jakarta.apache.org
 Subject: tomcat webdav

 Hi,
  I am trying to configure webdav to provide web resource to multiple user.
 For example, inside webdav directory I create multiple user directory (
 user1, user2 ,user3 ). I am authenticating users using mysql database (
 authentication works fine for single user ( let us say user1) with role name
 user1). But it doesn't work for multiple users. Here is snippet of
 web.xmlfile in webapps/webdav/WEB-INF/
 web.xml ( specifically security constraint I am trying to set). Please note
 that as specified in following XML parameters, admin and user1 are able to
 authenticate with database. All users/roles are correctly specificed. what i
 want is to provide admin access to admin for /webapps/webdav/ directory
 and user1 access of /webapps/webdav/user1 directory. I have created user1
 directory inside webapps.
 
 security-constraint
   web-resource-collection
 web-resource-nameEntire Application/web-resource-name
 url-pattern/*/url-pattern
   /web-resource-collection
   auth-constraint
  role-nameadmin/role-name
   /auth-constraint
 /security-constraint
 
 security-constraint
   web-resource-collection
 web-resource-nameEntire Application/web-resource-name
 url-pattern/user1/*/url-pattern
   /web-resource-collection
   auth-constraint
  role-nameuser1/role-name
   /auth-constraint
 /security-constraint
 
  login-config
   auth-methodBASIC/auth-method
   realm-nameTomcat Manager Application/realm-name
 /login-config
 
  security-role
   description
 The role that is required to log in to the Manager Application
   /description
   role-nameadmin/role-name
 
   role-nameuser1/role-name
 
 /security-roleif i try webdav access through
 http://xxx.xxx.xxx.xxx:8080/webdav/user1 and enter username and password, it
 gives following error on web page:
  java.lang.NullPointerException
 org.apache.catalina.servlets.DefaultServlet.renderHtml(DefaultServlet.java
 :1345)
 org.apache.catalina.servlets.DefaultServlet.render(DefaultServlet.java:1102)
 org.apache.catalina.servlets.DefaultServlet.serveResource(
 DefaultServlet.java:807)
 org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:335)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 org.apache.catalina.servlets.WebdavServlet.service(WebdavServlet.java:287)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  tomcat log file indicates following:
  java.lang.NullPointerException
 at org.apache.catalina.servlets.DefaultServlet.renderHtml(DefaultServle
 t.java:1345)
 at org.apache.catalina.servlets.DefaultServlet.render(DefaultServlet.ja
 va:1102)
 at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultSer
 vlet.java:807)
 at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.jav
 a:335)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at org.apache.catalina.servlets.WebdavServlet.service(WebdavServlet.jav
 a:287)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
 licationFilterChain.java:252)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
 FilterChain.java:173)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
 Valve.java:213)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContext
 Valve.java:178)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentic
 atorBase.java:482)
 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(StandardEngineVa
 lve.java:107)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
 va:148)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
 a:856)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
 essConnection(Http11Protocol.java:744)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp
 oint.java:527)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo
 llowerWorkerThread.java:80)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
 Pool.java:684)
 at java.lang.Thread.run(Thread.java:595)
   Please help. Can we configure webdav application to provide exclusive
 access of a subdirectory to multiple user ?
  Regards,
 Vineet
 

--
Meridian Club
Unit 5, Caxton Centre
Porters Wood
St Albans
Herts
UNITED KINGDOM
AL3 6XT

Tel: +44 1727 738855
Fax: +44

Re: Embedded Tomcat and SSL?

2005-10-07 Thread lmuxer-mailinglists
I am using Tomcat as standalone and not with Apache.
I got it to work after playing with it for a while.

You have to set these undocumented properties to get SSL working
properly:

 if (isSSLEnabled) {
IntrospectionUtils.setProperty(httpConnector, sslProtocol,
TLS);
IntrospectionUtils.setProperty(httpConnector, keystoreFile, 
getPath()+/conf/tomcat.keystore);
IntrospectionUtils.setProperty(httpConnector, keystoreType,
JKS);
IntrospectionUtils.setProperty(httpConnector, clientAuth, 
false);
httpConnector.setProtocol( SSL);
   }

HTH

--- Mark [EMAIL PROTECTED] wrote:

 are you using Apace with Tomcat?  I have done embedded Tomcat and
 SSL,
 but it was Apache sitting in front of Tomcat.
 
 On 10/6/05, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I am using an embedded tomcat instance within my application. I am
  trying to set up a connector using SSL. When I start the server, it
  creates the connector and bind to the port successfully. When I
 request
  a page from the web browser, I get the following error in my
 browser:
 
  The connection to the server has terminated unexpectedly. Some
 data
  may have been transferred.
 
  The same scenario works fine with HTTP.
 
  Here is my code snippet:
  // APPPORT and isSSLEnabled are set correctly to 8443 and true.
  Connector httpConnector =
  this._server.createConnector((java.net.InetAddress)null,
 

Integer.parseInt(ApplicationResourcesUtil.getProperty(Constants.RESOURCEKEY_APPPORT)),isSSLEnabled);
 
  //add new Connector to set of Connectors for embedded server,
  associated with Engine
  this._server.addConnector(httpConnector);
  this._server.start();
 
  Looking at the tomcat website, they talk about registering
 keystore.
  What APIs do I use to programmatically specify the keystore file?
 Is
  there something else that needs to be configured before SSL will
 work
  in the embedded more?
 
  Thanks,
 
  -Andy
 
 
 
 
 
 -
  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: Embedded Tomcat and SSL? [255821:132351]

2005-10-07 Thread RTE - Meridian Club
Many thanks for your email. This is an automated response acknowledging receipt.

Please be advised that Badge mailing commences beginning of October 2005.

Should your message require a response we will respond shortly.

Regards
Meridian Club


 -Original Message-
 From: [EMAIL PROTECTED]
 Received: 10/7/2005 5:45 PM
 To: Tomcat Users List tomcat-user@jakarta.apache.org; Mark [EMAIL 
 PROTECTED]
 Subject: Re: Embedded Tomcat and SSL?

 I am using Tomcat as standalone and not with Apache.
 I got it to work after playing with it for a while.
 
 You have to set these undocumented properties to get SSL working
 properly:
 
  if (isSSLEnabled) {
 IntrospectionUtils.setProperty(httpConnector, sslProtocol,
 TLS);
 IntrospectionUtils.setProperty(httpConnector, keystoreFile, 
 getPath()+/conf/tomcat.keystore);
 IntrospectionUtils.setProperty(httpConnector, keystoreType,
 JKS);
 IntrospectionUtils.setProperty(httpConnector, clientAuth, 
 false);
 httpConnector.setProtocol( SSL);
}
 
 HTH
 
 --- Mark [EMAIL PROTECTED] wrote:
 
  are you using Apace with Tomcat?  I have done embedded Tomcat and
  SSL,
  but it was Apache sitting in front of Tomcat.
  
  On 10/6/05, [EMAIL PROTECTED]
  [EMAIL PROTECTED] wrote:
   Hi,
  
   I am using an embedded tomcat instance within my application. I am
   trying to set up a connector using SSL. When I start the server, it
   creates the connector and bind to the port successfully. When I
  request
   a page from the web browser, I get the following error in my
  browser:
  
   The connection to the server has terminated unexpectedly. Some
  data
   may have been transferred.
  
   The same scenario works fine with HTTP.
  
   Here is my code snippet:
   // APPPORT and isSSLEnabled are set correctly to 8443 and true.
   Connector httpConnector =
   this._server.createConnector((java.net.InetAddress)null,
  
 
 Integer.parseInt(ApplicationResourcesUtil.getProperty(Constants.RESOURCEKEY_APPPORT)),isSSLEnabled);
  
   //add new Connector to set of Connectors for embedded server,
   associated with Engine
   this._server.addConnector(httpConnector);
   this._server.start();
  
   Looking at the tomcat website, they talk about registering
  keystore.
   What APIs do I use to programmatically specify the keystore file?
  Is
   there something else that needs to be configured before SSL will
  work
   in the embedded more?
  
   Thanks,
  
   -Andy
  
  
  
  
  
  -
   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]
 
 
 

--
Meridian Club
Unit 5, Caxton Centre
Porters Wood
St Albans
Herts
UNITED KINGDOM
AL3 6XT

Tel: +44 1727 738855
Fax: +44 1700 578955
email: [EMAIL PROTECTED]


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



Problems with graphics on Tomcat 5.5.9

2005-10-07 Thread Mauricio Fernandez A.
Hello

I have a web App with some jsp´s showing graphics generated by jfreechart,
in my windows dev station it works fine but in my linux production server it
was working fine to some days ago and now it doesn´t.

I have Tomcat 5.5.9, JDK 1.5.0_04, Red Hat Linux on a rack

Now i obtain a ServletException generated by this reason (sorry to send the
trace but I want to be specific):

java.lang.NoClassDefFoundError

sun.java2d.SunGraphicsEnvironment.addDirFonts(SunGraphicsEnvironment.java:7
22)

sun.java2d.SunGraphicsEnvironment.registerFontsInDir(SunGraphicsEnvironment
.java:602)

sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:58
)
sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:174)
java.security.AccessController.doPrivileged(Native Method)
sun.java2d.SunGraphicsEnvironment.init(SunGraphicsEnvironment.java:94)
sun.awt.X11GraphicsEnvironment.init(X11GraphicsEnvironment.java:164)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce
ssorImpl.java:39)

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru
ctorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
java.lang.Class.newInstance0(Class.java:350)
java.lang.Class.newInstance(Class.java:303)

java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironmen
t.java:68)
java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1141)
org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1243)
org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1223)
org.jfree.chart.ChartUtilities.writeChartAsPNG(ChartUtilities.java:173)
org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:328)
org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:299)

com.Prueba.comandos.Graficador2.crearBarChart3DVertical(Graficador2.java:21
1)

org.apache.jsp.jsp.grafica_jsp._jspService(org.apache.jsp.jsp.grafica_jsp:1
67)

Thanks

MauricioF


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



RE: Problems with graphics on Tomcat 5.5.9 [255835:132365]

2005-10-07 Thread RTE - Meridian Club
Many thanks for your email. This is an automated response acknowledging receipt.

Please be advised that Badge mailing commences beginning of October 2005.

Should your message require a response we will respond shortly.

Regards
Meridian Club


 -Original Message-
 From: Mauricio Fernandez A. [EMAIL PROTECTED]
 Received: 10/7/2005 7:14 PM
 To:  tomcat-user@jakarta.apache.org
 Subject: Problems with graphics on Tomcat 5.5.9

 Hello
 
 I have a web App with some jsp´s showing graphics generated by jfreechart,
 in my windows dev station it works fine but in my linux production server it
 was working fine to some days ago and now it doesn´t.
 
 I have Tomcat 5.5.9, JDK 1.5.0_04, Red Hat Linux on a rack
 
 Now i obtain a ServletException generated by this reason (sorry to send the
 trace but I want to be specific):
 
 java.lang.NoClassDefFoundError
   
 sun.java2d.SunGraphicsEnvironment.addDirFonts(SunGraphicsEnvironment.java:7
 22)
   
 sun.java2d.SunGraphicsEnvironment.registerFontsInDir(SunGraphicsEnvironment
 .java:602)
   
 sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:58
 )
   sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:174)
   java.security.AccessController.doPrivileged(Native Method)
   sun.java2d.SunGraphicsEnvironment.init(SunGraphicsEnvironment.java:94)
   sun.awt.X11GraphicsEnvironment.init(X11GraphicsEnvironment.java:164)
   sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce
 ssorImpl.java:39)
   
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru
 ctorAccessorImpl.java:27)
   java.lang.reflect.Constructor.newInstance(Constructor.java:494)
   java.lang.Class.newInstance0(Class.java:350)
   java.lang.Class.newInstance(Class.java:303)
   
 java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironmen
 t.java:68)
   java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1141)
   org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1243)
   org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1223)
   org.jfree.chart.ChartUtilities.writeChartAsPNG(ChartUtilities.java:173)
   org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:328)
   org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:299)
   
 com.Prueba.comandos.Graficador2.crearBarChart3DVertical(Graficador2.java:21
 1)
   
 org.apache.jsp.jsp.grafica_jsp._jspService(org.apache.jsp.jsp.grafica_jsp:1
 67)
 
 Thanks
 
 MauricioF
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

--
Meridian Club
Unit 5, Caxton Centre
Porters Wood
St Albans
Herts
UNITED KINGDOM
AL3 6XT

Tel: +44 1727 738855
Fax: +44 1700 578955
email: [EMAIL PROTECTED]


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



Re: Problems with graphics on Tomcat 5.5.9

2005-10-07 Thread Brian Cook


You need to install the X11 libs for X.  The Java Advanced Imaging API 
calls the X libs on Linux to get font and scaling data.  You can try 
setting the JVM java.awt.headless property to true.  This will work for 
some instances.  But installing the X libs installed on your server is a 
more reliable option.


To set your java.awt.headless as true use the following line.
System.setProperty(java.awt.headless, true);



System.setProperty(java.awt.headless, true);

Mauricio Fernandez A. wrote:


Hello

I have a web App with some jsp´s showing graphics generated by jfreechart,
in my windows dev station it works fine but in my linux production server it
was working fine to some days ago and now it doesn´t.

I have Tomcat 5.5.9, JDK 1.5.0_04, Red Hat Linux on a rack

Now i obtain a ServletException generated by this reason (sorry to send the
trace but I want to be specific):

java.lang.NoClassDefFoundError

sun.java2d.SunGraphicsEnvironment.addDirFonts(SunGraphicsEnvironment.java:7
22)

sun.java2d.SunGraphicsEnvironment.registerFontsInDir(SunGraphicsEnvironment
.java:602)

sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:58
)
sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:174)
java.security.AccessController.doPrivileged(Native Method)
sun.java2d.SunGraphicsEnvironment.init(SunGraphicsEnvironment.java:94)
sun.awt.X11GraphicsEnvironment.init(X11GraphicsEnvironment.java:164)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce
ssorImpl.java:39)

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru
ctorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
java.lang.Class.newInstance0(Class.java:350)
java.lang.Class.newInstance(Class.java:303)

java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironmen
t.java:68)
java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1141)
org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1243)
org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1223)
org.jfree.chart.ChartUtilities.writeChartAsPNG(ChartUtilities.java:173)
org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:328)
org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:299)

com.Prueba.comandos.Graficador2.crearBarChart3DVertical(Graficador2.java:21
1)

org.apache.jsp.jsp.grafica_jsp._jspService(org.apache.jsp.jsp.grafica_jsp:1
67)

Thanks

MauricioF


-
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]

RE: Problems with graphics on Tomcat 5.5.9

2005-10-07 Thread Mauricio Fernandez A.
Do you refer to X11R6? I have a /usr/X11R6 dir in my server but when I do

#rpm -q X11
package X11 is not installed

#rpm -q X11R6
package X11R6 is not installed

And when i do

#whereis X11
X11: /usr/bin/X11 /etc/X11 /usr/lib/X11 /usr/include/X11

So I don´t understand what is about the X11 libs.

any idea?

thanks!

MauricioF


-Mensaje original-
De: Brian Cook [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 07 octubre, 2005 22:20
Para: Tomcat Users List
Asunto: Re: Problems with graphics on Tomcat 5.5.9



You need to install the X11 libs for X.  The Java Advanced Imaging API
calls the X libs on Linux to get font and scaling data.  You can try
setting the JVM java.awt.headless property to true.  This will work for
some instances.  But installing the X libs installed on your server is a
more reliable option.

To set your java.awt.headless as true use the following line.
 System.setProperty(java.awt.headless, true);



System.setProperty(java.awt.headless, true);



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



Re: Q: Why Tomcat return me a OLD version of my doc.jar in an Applet ?

2005-10-07 Thread Darek Czarkowski
did you clean up your local cache?
the jar file might be a local version of the file. You might not be able
to see the new version until you remove the old one. (usually
~/.java/.deployment/javaws/)

-- 
Darek Czarkowski

Infinite Source Systems Corp.
Ph: 604 294 6557 (Ext. 113)
Fx: 604 294 6507
www.infinitesource.ca
[EMAIL PROTECTED]



ce.ca 
On Sat, 2005-10-08 at 06:05, Amadeo Alonso wrote:
 Hi list:
 
I apologize me last (first) email to the list with faults on date and 
 form 
Thanks to Mark Thomas for your explanations.
 
 The problem I attempt to solve is the next:
 
 When I demand the page 
 'http://expresiongrafica.caminos.upm.es/PAU/AppletDoc.html', which has an 
 Applet with a tag 'archive=doc.jar', Tomcat (?) v5.5 returns me the OLD 
 VERSION of 'doc.jar' (v1) with the old bugs, as I deduct from the 'Java 
 Console'.
 
 I have placed two connector tags  in 'server.xml' file to use ports :80 y 
 :8080 in the same way
 
 but
 
 http://expresiongrafica.caminos.upm.es:8080/PAU/AppletDoc.html   return de 
 rigth 'doc.jar' (v2),   OK:   
 
 http://expresiongrafica.caminos.upm.es:80/PAU/AppletDoc.html   return de 
 old   'doc.jar' (v1),   BAD: 
 
 using  localhost/..., localhost:80/... y localhost:8080/...  OK (v2). 
 
 
 How can I destroy the old version? where is it? What is it happening? Is 
 maybe a navigators problem?
  (I get  'similar' results with IE and Firefox )
 
 
 Thanks in advance
 
 Amadeo.
 Universidad Politécnica de Madrid.



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



[OT] RE: Problems with graphics on Tomcat 5.5.9

2005-10-07 Thread David N. Smith
Completely OT, but:

If you're going to search for X11 packages with rpm, use rpm -qa | grep [package
name or part].

I believe rpm -q [package name] is very limited and only tries to find a package
named exactly as you enter it.

--David

 Do you refer to X11R6? I have a /usr/X11R6 dir in my server but when I do

 #rpm -q X11
 package X11 is not installed

 #rpm -q X11R6
 package X11R6 is not installed

 And when i do

 #whereis X11
 X11: /usr/bin/X11 /etc/X11 /usr/lib/X11 /usr/include/X11

 So I don´t understand what is about the X11 libs.

 any idea?

 thanks!

 MauricioF


 -Mensaje original-
 De: Brian Cook [mailto:[EMAIL PROTECTED]
 Enviado el: viernes, 07 octubre, 2005 22:20
 Para: Tomcat Users List
 Asunto: Re: Problems with graphics on Tomcat 5.5.9



 You need to install the X11 libs for X.  The Java Advanced Imaging API
 calls the X libs on Linux to get font and scaling data.  You can try
 setting the JVM java.awt.headless property to true.  This will work for
 some instances.  But installing the X libs installed on your server is a
 more reliable option.

 To set your java.awt.headless as true use the following line.
  System.setProperty(java.awt.headless, true);



 System.setProperty(java.awt.headless, true);



 -
 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: Turning on debugging in Tomcat 5.5

2005-10-07 Thread Bill Barker

James Rome [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Most of the installed Tomcat classes have something like
 container.isDebugEnabled() {...}

 How do I enable these debug statements in Tomcat 5.5?


I'll assume that you are using Juli.  If you are using log4j, compare what 
I'm saying to http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html 
to see what you need to do.

First you edit $CATALINA_HOME/conf/logging.properties and add and something 
like:
  org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/myapp].level 
= FINE

s/Catalina/EngineName/ s/localhost/my.host.name/

Of course, if you really want to fill up your logs, you can do something 
like:
   org.apache.catalina.level = FINE



 Thanks,
 Jim 




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



Re: Tomcat 5.5.12 and user-agent header

2005-10-07 Thread Bill Barker

Richard Mixon [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
I tested out my application on 5.5.12 yesterday and noticed one small
 anomally. I had a JSP in my sitemesh decorator default.jsp that ends up
 wrapping the login page for container managed authentication. This page 
 had
 a statement
String  _userAgent = request.getHeader(user-agent).toLowerCase();

 It gets a null-pointer exception in 5.5.12, but under 5.5.9 it runs fine. 
 In
 5.5.12, after the login succeeds then the user-agent headers appear to be
 there just fine, but not on the initial login page.

 Is this a known issue?


It's certainly not a known issue.  It would help a lot if you could tell us 
which Connector you are using at the time (e.g. HTTP/1.1, HTTP/1.1-APR, 
AJP/1.3, AJP/1.3-APR).

 Thank you - Richard
 




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



Problem with tomcat configuration

2005-10-06 Thread vineesh kumar
Hi all,
I manged to configure https on tomcat 5.5.9 with a passord different than
changeit. It's working.But i tried to configure https on port 80 (i am
running tomcat as root user). but when i point the browser to the system
like https://localhost/ I am getting an error indicating that connection
refused by the https server, but if we pint the browser like
https://localhost:80/ it's working fine.
but i want it in the former way. How can i do that?
regards
vineesh


Re: Problem with tomcat configuration

2005-10-06 Thread Mark Eggers
https is port 443.  You need to to uncomment the HTTP
1.1 connector for 8443 and change the port to 443.

Uncomment the following connector in server.xml:

!-- Define a SSL HTTP/1.1 Connector on port 8443 --
!--
 Connector port=8443 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25 
maxSpareThreads=75
enableLookups=false 
disableUploadTimeout=true
acceptCount=100 scheme=https 
secure=true
clientAuth=false sslProtocol=TLS /
--

Change the port to 443.  Read the documentation
concerning the attributes (especially the sslProtocol
and clientAuth).

/mde/

--- vineesh kumar [EMAIL PROTECTED] wrote:

 Hi all,
 I manged to configure https on tomcat 5.5.9 with a
 passord different than
 changeit. It's working.But i tried to configure
 https on port 80 (i am
 running tomcat as root user). but when i point the
 browser to the system
 like https://localhost/ I am getting an error
 indicating that connection
 refused by the https server, but if we pint the
 browser like
 https://localhost:80/ it's working fine.
 but i want it in the former way. How can i do that?
 regards
 vineesh
 




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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



Re: Problem with tomcat configuration

2005-10-06 Thread Marcus Franke
On Thu, Oct 06, 2005 at 12:14:58AM -0700, Mark Eggers wrote:
 https is port 443.  You need to to uncomment the HTTP
 1.1 connector for 8443 and change the port to 443.
 
 Uncomment the following connector in server.xml:
 
 !-- Define a SSL HTTP/1.1 Connector on port 8443 --
 !--
  Connector port=8443 maxHttpHeaderSize=8192
 maxThreads=150 minSpareThreads=25 
 maxSpareThreads=75
 enableLookups=false 
 disableUploadTimeout=true
 acceptCount=100 scheme=https 
 secure=true
 clientAuth=false sslProtocol=TLS /
 --
 
 Change the port to 443.  Read the documentation
 concerning the attributes (especially the sslProtocol
 and clientAuth).
 

Maybe, but https ins predefined in your browser to use port 443,
so if you use https://localhost/ you must ensure, that you have
tomcat running on this special machine.

Other question if I use apache with mod_jk and ajp13 connector
like that:

Connector port=8009 
   enableLookups=false redirectPort=8443 debug=9
   minProcessors=50 maxProcessors=500
   protocol=AJP/1.3 /

then all https requests would be inside the tomcat service redirected
to port 8443?

browser-apache-via ajp13-tomcat(8009)-redirect-tomcat(8443) 

right?



Marcus

 
 --- vineesh kumar [EMAIL PROTECTED] wrote:
 
  Hi all,
  I manged to configure https on tomcat 5.5.9 with a
  passord different than
  changeit. It's working.But i tried to configure
  https on port 80 (i am
  running tomcat as root user). but when i point the
  browser to the system
  like https://localhost/ I am getting an error
  indicating that connection
  refused by the https server, but if we pint the
  browser like
  https://localhost:80/ it's working fine.
  but i want it in the former way. How can i do that?
  regards
  vineesh
  
 
 
 
   
 __ 
 Yahoo! Mail - PC Magazine Editors' Choice 2005 
 http://mail.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 

Those who hate and fight must stop themselves -- otherwise it is not
stopped.
-- Spock, Day of the Dove, stardate unknown

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



Re: Modjk and Tomcat 5.5.4 problem

2005-10-06 Thread Marcus Franke
On Wed, Oct 05, 2005 at 04:24:08PM -0700, Rick wrote:
 We had an issue where it seemed like it would crash using mod_jk, the
 trouble was the connections were not letting go.  By default, I think the
 timeout is infinite, so after setting the property: connectionTimeout, in
 the server.xml's connector descriptor as follows,
 
 Connector port= protocol=AJP/1.3 connectionTimeout=6 .../
 
 The old connections would get cleaned up and we stopped having problems,
 however, I'm not sure this was the correct way to do this, seems to work.
 

Hi,

but concerning to the documentation connectionTimeout is the amount of time
between opening the session and receiving the URI to process.

So your connector would wait 60 seconds for an empty request before it would
cut off the connection. 

I for example have the interesting behaviour that I have idle connections
running for hours and hours which I would like to end but do not know how.


Marcus

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



Why Tomcat return me a OLD version of my doc.jar ?

2005-10-06 Thread Amadeo Alonso

Hi all,
¿Can anyone explain it , please?

I use Tomcat 5.5 as server pages html with an 'Applet' that uses a 'doc.jar'
I have placed two connector tags  in 'server.xml' file to use ports :80 y 
:8080 in the same way
I Have fixed bugs from mi 'doc.jar' (v1) to a new version with the same name 
'doc.jar' (v2)


and now, (using IExplorer):

OK: 
_http://expresiongrafica.caminos.upm.es:8080/PAU/PAU-Septiembre2005-C2.html

return de rigth 'doc.jar' (v2)

BUT: 
_http://expresiongrafica.caminos.upm.es:80/PAU/PAU-Septiembre2005-C2.html
   o 
_http://expresiongrafica.caminos.upm.es/PAU/PAU-Septiembre2005-C2.html
return me the OLD VERSION of 'doc.jar' (v1) with the old bugs, as I deduct 
from the 'Java Console'


OK also _http://localhost /PAU/AppletDoc.html   (or 127.0.0.1)
 _http://localhost:80/PAU/AppletDoc.html
 _http://localhost:8080/PAU/AppletDoc.html
 _http://localhost:8080/PAU/AppletDoc.html

BUT  _http://138.100.67.143:8080/PAU/AppletDoc.html OK
_http://138.100.67.143 /PAU/AppletDoc.html (o :80) 
BAD, v1


How can I destroy the old version? where is it? What is it happening?

regards
amadeo.



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



Re: [ANN] Tomcat sources moved to Subversion

2005-10-06 Thread Jim Jagielski

Just a quick reminder: if you want to track HEAD, then you would
checkout trunk.

For example:

  svn co https://svn.apache.org/repos/asf/tomcat/connectors/trunk/  
tomcat-connectors


would create a tomcat-connectors directory that stores the
development HEAD. If you skip appending the '/trunk/'
to the URL, you get a LARGE tree, with HEAD, all branches
and tags. For those new to SVN, this may be confusing.

On Oct 5, 2005, at 9:27 PM, Yoav Shapira wrote:


Hi,
FYI, the Tomcat source code has been moved to Apache's Subversion  
(SVN)
repository.  The old CVS repositories are now locked down: they can  
still be
used for checking out code, but no further work will be done in  
them.  For

details on how to work with SVN, please see
http://www.apache.org/dev/version-control.html.  Please note that  
we are still

verifying some of the build scripts to make sure they work in the new
structure.  Thanks,

Yoav

--- Henri Yandell [EMAIL PROTECTED] wrote:



Date: Wed, 5 Oct 2005 21:17:10 -0400
From: Henri Yandell [EMAIL PROTECTED]
To: Tomcat Developers List tomcat-dev@jakarta.apache.org
Subject: Re: CVS-SVN Schedule

On 10/2/05, Mark Thomas [EMAIL PROTECTED] wrote:


Mark Thomas wrote:


Mladen Turk wrote:


Can somebody make a firm statement on the timings?
1. Until when (Date:Hour:Minute) commits could be done
2. Wen the CVS will be locked for commit (same format)



This is now set for Wednesday 5th October 2005 at 8pm US Eastern  
time.

It should be completed by 11pm US Eastern time.



All done :)

http://svn.apache.org/repos/asf/tomcat/connectors/
http://svn.apache.org/repos/asf/tomcat/jasper/
http://svn.apache.org/repos/asf/tomcat/container/catalina/
http://svn.apache.org/repos/asf/tomcat/container/tc5/

svn co https://svn.apache.org/repos/asf/tomcat/connectors/
jakarta-tomcat-connectors
svn co https://svn.apache.org/repos/asf/tomcat/jasper/ jakarta- 
tomcat-jasper

svn co https://svn.apache.org/repos/asf/tomcat/container/catalina/
jakarta-tomcat-catalina
svn co https://svn.apache.org/repos/asf/tomcat/container/tc5/
jakarta-tomcat-5

I'll keep checking email and the jira entry on and off tonight in  
case

there are problems. CVS is locked down, all commits should goto
tomcat-dev, Mark's modification scripts are all successfully run and
read/write is set to anyone in tomcat (in the asf-authorization file
that Remy can edit).

Hen

-
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: Modjk and Tomcat 5.5.4 problem

2005-10-06 Thread Rick
Hi Marcus,
 idle connections running for hours and hours
  That was our problem as well, with those idle connections just sitting
there, as I said, I wasn't sure if my solution was the correct one..  Just
telling you, it seemed to work for us.  I would say give it a try, the only
issue we have, is a large amount of log messages in catalina.out about the
timeouts.   For some reason I can't get the default java.util.logging to
catch them.

-Rick 

-Original Message-
From: Marcus Franke [mailto:[EMAIL PROTECTED] 
Posted At: Thursday, October 06, 2005 4:11 AM


On Wed, Oct 05, 2005 at 04:24:08PM -0700, Rick wrote:
 We had an issue where it seemed like it would crash using mod_jk, the 
 trouble was the connections were not letting go.  By default, I think 
 the timeout is infinite, so after setting the property: 
 connectionTimeout, in the server.xml's connector descriptor as 
 follows,
 
 Connector port= protocol=AJP/1.3 connectionTimeout=6 
 .../
 
 The old connections would get cleaned up and we stopped having 
 problems, however, I'm not sure this was the correct way to do this,
seems to work.
 

Hi,

but concerning to the documentation connectionTimeout is the amount of time
between opening the session and receiving the URI to process.

So your connector would wait 60 seconds for an empty request before it would
cut off the connection. 

I for example have the interesting behaviour that I have idle connections
running for hours and hours which I would like to end but do not know how.


Marcus

-
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: Apache Tomcat Virtual Host question

2005-10-06 Thread Aria Bamdad

Hi, I asked this question yesterday and got no hints from anyone.
Since then, I have been able to accomplish what I want using multiple
instances of Tomcat.  However, I would much rather use one instance
and serve requests on different Apache port.

Does anyone have ANY comments regarding my issue?

Thanks in advance.
Aria.
On Wed, 05 Oct 05 13:25:38 -0400 Aria Bamdad said:
Hi,

Sorry if this has been asked before but I can't find any such example..

I have Apache talking to Tomcat and everything works fine.

My situation is as follows:

I am using Apache VirtualHost directive to set different document roots
depending on the PORT number the request comes in.  So, I am not really
interested in the host name part of the URL, I am more interested in
the port number.

I have 3 different document roots depending on the port.  One for port 80
http requests, one for port 443 https requests and another for port 88 http.
Each document root has it's set of subdirectories.  The subdirectories
contain static and jsp content and you **CAN** have the same directory
name under each of the three different document roots.

For example:  I can have  /www/port80/project1  and  /www/port443/project1
but they contain different information.

How do I configure Apache and Tomcat so that when Apache receives a
request on a specific port, it will pass that along to Tomcat, AND,
how do I configure Tomcat so that it servs the correct 'project1'
application under the correct document root?

Thanks inadvance.

Aria.

-
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: Apache Tomcat Virtual Host question

2005-10-06 Thread Nikola Milutinovic

Aria Bamdad wrote:


Hi, I asked this question yesterday and got no hints from anyone.
Since then, I have been able to accomplish what I want using multiple
instances of Tomcat.  However, I would much rather use one instance
and serve requests on different Apache port.

Does anyone have ANY comments regarding my issue?
 



Well, having different presentations by using different port numbers is 
not a common practice these days, since Apache has Name-based VHosts. 
Similarely, Tomcat supports Name-based VHosts only (unless I am greatly 
mistaken). So, it would appear that your solution is the only applicable 
one.


The best choice is, of course, to go for name based VHosts, since it 
integrates very well and makes your URLs look nice. BTW, 443 is HTTPS 
port, which is different story.


So, save yourself a lot of trouble and go for unified VHosts. One 
observation, though - with multiple instances of TC you have greater 
robustness.


Nix.

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



Tomcat 5.5.12 and user-agent header

2005-10-06 Thread Richard Mixon
I tested out my application on 5.5.12 yesterday and noticed one small
anomally. I had a JSP in my sitemesh decorator default.jsp that ends up
wrapping the login page for container managed authentication. This page had
a statement
String  _userAgent = request.getHeader(user-agent).toLowerCase();
 
It gets a null-pointer exception in 5.5.12, but under 5.5.9 it runs fine. In
5.5.12, after the login succeeds then the user-agent headers appear to be
there just fine, but not on the initial login page.
 
Is this a known issue?
 
Thank you - Richard


Re: Apache Tomcat Virtual Host question

2005-10-06 Thread Aria Bamdad
Nikola,

Thank you very much for you good comments.  I agree that port based
servers are not common.  The reason we use them is for separating
for example internal web sites and external public web sites.

Using host name based virtual hosting, you have to give a different
host name to each port.  For example if you were serving http and https
on the same host www.company.com, you now have to use secure.company.com
for your port 443 and www.company.com for your port 80.  I just wanted to
see if there is a way to just use www.company.com and have Tomcat
see the port too.

Thanks again.
Aria
On Thu, 06 Oct 2005 15:33:15 +0200 you said:
Aria Bamdad wrote:

Hi, I asked this question yesterday and got no hints from anyone.
Since then, I have been able to accomplish what I want using multiple
instances of Tomcat.  However, I would much rather use one instance
and serve requests on different Apache port.

Does anyone have ANY comments regarding my issue?



Well, having different presentations by using different port numbers is
not a common practice these days, since Apache has Name-based VHosts.
Similarely, Tomcat supports Name-based VHosts only (unless I am greatly
mistaken). So, it would appear that your solution is the only applicable
one.

The best choice is, of course, to go for name based VHosts, since it
integrates very well and makes your URLs look nice. BTW, 443 is HTTPS
port, which is different story.

So, save yourself a lot of trouble and go for unified VHosts. One
observation, though - with multiple instances of TC you have greater
robustness.

Nix.

-
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]



Issuing HTTP requests from inside JSP under Tomcat

2005-10-06 Thread Bandak, Mark
Folks:

I'm relatively new to the world of Tomcat, but ...

Have locally 'made' (make) Apache 2.0.54. Binary Tomcat 4.1.29. Locally built 
mod_jk (1.2.14). Platform is Solaris 9.

Have a vendor supplied JSP application. Runs beautifully under Tomcat 
'standalone'. 

Need to add to an existing server already running Apache on 443. Added 'my' 
Apache, Tomcat connector (mod_jk - ajp13).

Got that all working.

However, the application, in web.xml and 2 'properties' files, has references 
such as: http://localhost/path/update.jsp for example. As stated, under Tomcat 
standalone, this causes no problems.

But I find that with Apache - mod_jk (ajp13) - Tomcat - that these references 
'do not function'. From a Tomcat (vhost) log file ...

Error making connection to: 
http://marketplace.montgomerycollege.edu/marketplace/web/admin/buyer_updater.jsp?STATUS_CHECK=true
TAPP_SERVLET: Redirecting to 
http://marketplace.montgomerycollege.edu/marketplace/web/admin/home.jsp

(TAPP_SERVLET - the 'vendor supplied app' ... and this 'redirect' DOES work 
...???)

So, I've tried: localhost; 127.0.0.1; and numerous other permutations including 
pointing at the ajp13 port (8009).

I see NOTHING in the Apache logs, the above messages are from a logger in 
Tomcat. So, it appears to me that since Tomcat is already 'servicing' this 
application (via ajp13) - that there is some problem with issuing an HTTP 
request from inside the JSP in Tomcat? I have JkLogLevel set to debug, and I 
think I see it 'processing' this request, but then can't quite figure out 
what's happening ... the above error comes after a long period of 'sitting at 
the hourglass' (browser) ... so gather some timeout is coming into play ...

Any thoughts? Suggestions? Need more info? Trying not to send 'too much' info 
...

Many thanks ...

/Mark

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



Re: Modjk and Tomcat 5.5.4 problem

2005-10-06 Thread John Martyniak

Rick,

Thanks for the info.  I will try it out.

It is interesting when I look at the config for all of the other  
Connectors, they all have a  connectionTimeout value.


-John
On Oct 5, 2005, at 7:24 PM, Rick wrote:


We had an issue where it seemed like it would crash using mod_jk, the
trouble was the connections were not letting go.  By default, I  
think the
timeout is infinite, so after setting the property:  
connectionTimeout, in

the server.xml's connector descriptor as follows,

Connector port= protocol=AJP/1.3  
connectionTimeout=6 .../


The old connections would get cleaned up and we stopped having  
problems,
however, I'm not sure this was the correct way to do this, seems  
to work.


Not sure if this is related to your problem.

-Rick


-Original Message-
From: John Martyniak [mailto:[EMAIL PROTECTED]
Posted At: Wednesday, October 05, 2005 3:53 PM
Posted To: Tomcat Dev
Conversation: Modjk and Tomcat 5.5.4 problem
Subject: Modjk and Tomcat 5.5.4 problem


Has anyone had any problems with ModJK crashing the server?

I haven't been able to fully debug yet, primarily because it  
doesn't update
any logs to state there is a problem, and I can't reliably  
replicate the

problem.

I am using Apache 2.0.47, modjk 1.2.5 and tomcat 5.5.4

I think that it has something to do with modjk because when I go  
directly to

the appserver the problem doesn't seem to exist.

Any help would be greatly appreciated.

Thank you,

-John


-
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]



error-page 503 in web.xml not working in tomcat 5.5.9

2005-10-06 Thread Archana Mathur
Hi,I am using tomcat 5.5.9. I have set up global error pages for 404 and 503 in 
web.xml file under tomcat home dir/conf folder. 
Example - 
error-page 
error-code404/error-code 
location/systemDown.html/location 
/error-page 
error-page 
error-code503/error-code 
location/systemDown.html/location 
/error-page 

Error 404 is working fine and tomcat displays my page but for 503, it displays 
its own message( HTTP Status 503 - This application is not currently 
available...)

Please help. 
Regards,
Arch



RE: Modjk and Tomcat 5.5.4 problem

2005-10-06 Thread Rick
Hey John,
  I have been looking into this on my end as well, since I'm not fully
satisfied that it's the proper solution. As a question, what does your
Apache workers.properties file look like.  Do you have any of the properties
such as recycle_timeout, socket_timeout, cachesize, or cache_timeout
set?

-Rick

-Original Message-
From: John Martyniak [mailto:[EMAIL PROTECTED] 
Posted At: Thursday, October 06, 2005 8:43 AM
Posted To: Tomcat Dev
Conversation: Modjk and Tomcat 5.5.4 problem
Subject: Re: Modjk and Tomcat 5.5.4 problem


Rick,

Thanks for the info.  I will try it out.

It is interesting when I look at the config for all of the other Connectors,
they all have a  connectionTimeout value.

-John
On Oct 5, 2005, at 7:24 PM, Rick wrote:

 We had an issue where it seemed like it would crash using mod_jk, the 
 trouble was the connections were not letting go.  By default, I think 
 the timeout is infinite, so after setting the property:
 connectionTimeout, in
 the server.xml's connector descriptor as follows,

 Connector port= protocol=AJP/1.3  
 connectionTimeout=6 .../

 The old connections would get cleaned up and we stopped having 
 problems, however, I'm not sure this was the correct way to do this, 
 seems to work.

 Not sure if this is related to your problem.

 -Rick


 -Original Message-
 From: John Martyniak [mailto:[EMAIL PROTECTED] Posted At: 
 Wednesday, October 05, 2005 3:53 PM Posted To: Tomcat Dev
 Conversation: Modjk and Tomcat 5.5.4 problem
 Subject: Modjk and Tomcat 5.5.4 problem


 Has anyone had any problems with ModJK crashing the server?

 I haven't been able to fully debug yet, primarily because it doesn't 
 update any logs to state there is a problem, and I can't reliably 
 replicate the problem.

 I am using Apache 2.0.47, modjk 1.2.5 and tomcat 5.5.4

 I think that it has something to do with modjk because when I go 
 directly to the appserver the problem doesn't seem to exist.

 Any help would be greatly appreciated.

 Thank you,

 -John


 -
 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]



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



Re: Modjk and Tomcat 5.5.4 problem

2005-10-06 Thread John Martyniak

Rick,

I have made the changes and was able to replicate the problem pretty  
quickly.  And again no message in the mod_jk or catalina.out files.


It turns out that my workers file has all of those properties.  I am  
including it below.


# Define worker using ajp13
worker.list=worker1, worker2

# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300


-John

On Oct 6, 2005, at 12:01 PM, Rick wrote:


Hey John,
  I have been looking into this on my end as well, since I'm not fully
satisfied that it's the proper solution. As a question, what does your
Apache workers.properties file look like.  Do you have any of the  
properties
such as recycle_timeout, socket_timeout, cachesize, or  
cache_timeout

set?

-Rick

-Original Message-
From: John Martyniak [mailto:[EMAIL PROTECTED]
Posted At: Thursday, October 06, 2005 8:43 AM
Posted To: Tomcat Dev
Conversation: Modjk and Tomcat 5.5.4 problem
Subject: Re: Modjk and Tomcat 5.5.4 problem


Rick,

Thanks for the info.  I will try it out.

It is interesting when I look at the config for all of the other  
Connectors,

they all have a  connectionTimeout value.

-John
On Oct 5, 2005, at 7:24 PM, Rick wrote:



We had an issue where it seemed like it would crash using mod_jk, the
trouble was the connections were not letting go.  By default, I think
the timeout is infinite, so after setting the property:
connectionTimeout, in
the server.xml's connector descriptor as follows,

Connector port= protocol=AJP/1.3
connectionTimeout=6 .../

The old connections would get cleaned up and we stopped having
problems, however, I'm not sure this was the correct way to do  
this,

seems to work.

Not sure if this is related to your problem.

-Rick


-Original Message-
From: John Martyniak [mailto:[EMAIL PROTECTED] Posted At:
Wednesday, October 05, 2005 3:53 PM Posted To: Tomcat Dev
Conversation: Modjk and Tomcat 5.5.4 problem
Subject: Modjk and Tomcat 5.5.4 problem


Has anyone had any problems with ModJK crashing the server?

I haven't been able to fully debug yet, primarily because it doesn't
update any logs to state there is a problem, and I can't reliably
replicate the problem.

I am using Apache 2.0.47, modjk 1.2.5 and tomcat 5.5.4

I think that it has something to do with modjk because when I go
directly to the appserver the problem doesn't seem to exist.

Any help would be greatly appreciated.

Thank you,

-John


-
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]



-
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]



Turning on debugging in Tomcat 5.5

2005-10-06 Thread James Rome
Most of the installed Tomcat classes have something like
container.isDebugEnabled() {...}

How do I enable these debug statements in Tomcat 5.5?

Thanks,
Jim


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



Embedded Tomcat and SSL?

2005-10-06 Thread lmuxer-mailinglists
Hi,

I am using an embedded tomcat instance within my application. I am
trying to set up a connector using SSL. When I start the server, it
creates the connector and bind to the port successfully. When I request
a page from the web browser, I get the following error in my browser:

The connection to the server has terminated unexpectedly. Some data
may have been transferred.

The same scenario works fine with HTTP.

Here is my code snippet:
// APPPORT and isSSLEnabled are set correctly to 8443 and true.
Connector httpConnector =
this._server.createConnector((java.net.InetAddress)null,
Integer.parseInt(ApplicationResourcesUtil.getProperty(Constants.RESOURCEKEY_APPPORT)),isSSLEnabled);

//add new Connector to set of Connectors for embedded server,
associated with Engine
this._server.addConnector(httpConnector);
this._server.start();

Looking at the tomcat website, they talk about registering keystore.
What APIs do I use to programmatically specify the keystore file? Is
there something else that needs to be configured before SSL will work
in the embedded more?

Thanks,

-Andy




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



Re: Why Tomcat return me a OLD version of my doc.jar ?

2005-10-06 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a 
new topic) please do not reply to an existing message and change the 
subject line. To many of the list archiving services and mail clients 
used by list subscribers this  makes your new message appear as part 
of the old thread. This makes it harder for other users to find 
relevant information when searching the lists.


This is known as thread hijacking and is behaviour that is frowned 
upon on this list. Frequent offenders will be removed from the list. 
It should also be noted that many list subscribers automatically 
ignore any messages that hijack another thread.


The correct procedure is to create a new message with a new subject. 
This will start a new thread.


Mark
tomcat-user-owner


Amadeo Alonso wrote:

Hi all,
¿Can anyone explain it , please?

I use Tomcat 5.5 as server pages html with an 'Applet' that uses a 
'doc.jar'
I have placed two connector tags  in 'server.xml' file to use ports 
:80 y :8080 in the same way
I Have fixed bugs from mi 'doc.jar' (v1) to a new version with the same 
name 'doc.jar' (v2)


and now, (using IExplorer):

OK: 
_http://expresiongrafica.caminos.upm.es:8080/PAU/PAU-Septiembre2005-C2.html

return de rigth 'doc.jar' (v2)

BUT: 
_http://expresiongrafica.caminos.upm.es:80/PAU/PAU-Septiembre2005-C2.html
   o 
_http://expresiongrafica.caminos.upm.es/PAU/PAU-Septiembre2005-C2.html
return me the OLD VERSION of 'doc.jar' (v1) with the old bugs, as I 
deduct from the 'Java Console'


OK also _http://localhost /PAU/AppletDoc.html   (or 127.0.0.1)
 _http://localhost:80/PAU/AppletDoc.html
 _http://localhost:8080/PAU/AppletDoc.html
 _http://localhost:8080/PAU/AppletDoc.html

BUT  _http://138.100.67.143:8080/PAU/AppletDoc.html OK
_http://138.100.67.143 /PAU/AppletDoc.html (o 
:80) BAD, v1


How can I destroy the old version? where is it? What is it happening?

regards
amadeo.



-
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: Embedded Tomcat and SSL?

2005-10-06 Thread Mark
are you using Apace with Tomcat?  I have done embedded Tomcat and SSL,
but it was Apache sitting in front of Tomcat.

On 10/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi,

 I am using an embedded tomcat instance within my application. I am
 trying to set up a connector using SSL. When I start the server, it
 creates the connector and bind to the port successfully. When I request
 a page from the web browser, I get the following error in my browser:

 The connection to the server has terminated unexpectedly. Some data
 may have been transferred.

 The same scenario works fine with HTTP.

 Here is my code snippet:
 // APPPORT and isSSLEnabled are set correctly to 8443 and true.
 Connector httpConnector =
 this._server.createConnector((java.net.InetAddress)null,
 Integer.parseInt(ApplicationResourcesUtil.getProperty(Constants.RESOURCEKEY_APPPORT)),isSSLEnabled);

 //add new Connector to set of Connectors for embedded server,
 associated with Engine
 this._server.addConnector(httpConnector);
 this._server.start();

 Looking at the tomcat website, they talk about registering keystore.
 What APIs do I use to programmatically specify the keystore file? Is
 there something else that needs to be configured before SSL will work
 in the embedded more?

 Thanks,

 -Andy




 -
 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]



limit tomcat threads lifetime

2005-10-05 Thread Marcus Franke
Hello,

when I look in the manager/status page I sometimes see threads in status 
keep-alive that are
very old, have atm some which are 70700177ms old, which is over 19 hours.

These threads have no longer any connection to the apache server, which invoked 
them, as 
I restarted the responsible apache processes yesterday.

Is there a timout configuration I can put in my server.xml to do so?

I found some directives for mod_jk and workers.properties, but after restarting 
the
apache service the connection is lost and the tomcat should timeout those 
threads
himself.

I checked the session timeout from manager/sessions?path=/ and it tells me that 
it is
set to 30 minutes, but 19 hours for those threads is multiple times of 30 
minutes.

And these threads aren't reused for new connections, they stay and idle till I
restart the tomcat service.

Any hints or suggestions?

Thanks in advance
Marcus

-- 

Punishment becomes ineffective after a certain point.  Men become
insensitive.
-- Eneg, Patterns of Force, stardate 2534.7

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



Setting up an HTTPS connection with tomcat 5.5.9

2005-10-05 Thread vineesh kumar
Hi,
I am using tomcat 5.5.9 I hav o setup an https connection and i followed the
configuration documentation in the apache tomcat site. But when I am using
startup.sh,(yes! i am using an RHEL 4.0 host) the normal http is running but
no https. How i can make it work]
thanks in advance
vineesh


IIS - Tomcat - And Trailing /

2005-10-05 Thread Gregg D Bolinger
While IIS and Tomcat are working fine together, to access the webapp by
utalizing a welcome file, a trailing / is required on the end of the URL. Is
there a way to change that requirement?

http://www.site.com/app/ - works
http://www.site.com/app - desired to work

Thanks

Gregg


Re: Tomcat Alone or tomcat+IIS/Apache

2005-10-05 Thread Gregg D Bolinger
We required IIS for a CGI ecommerce solution that was required. Plug and Pay
I think is the company we bought it from. I came in late on the project and
haven't had a lot of time to mess with it. Does Tomcat support CGI bins
utalizing non-java technology?

Gregg

On 9/30/05, Peddireddy Srikanth [EMAIL PROTECTED] wrote:

 thanks for all the replies


 On 9/30/05, Caldarale, Charles R [EMAIL PROTECTED] wrote:
   From: Peddireddy Srikanth [mailto:[EMAIL PROTECTED]
   Subject: Re: Tomcat Alone or tomcat+IIS/Apache
  
   And they argue that as Tomcat it self runs inside a JVM, which inturn
   is a single process all the threads etc wil be simulted ones (and not
   the native threads) and hence it will not scale up well under high
   loads.
 
  More urban myth. As another respondent pointed out, all modern JVMs
  (i.e., from JRE 1.2 on) use native threads and the underlying OS for
  thread dispatching. Coupled with thread-local object allocation
  (available since JRE 1.3), scaling of Tomcat itself is not a problem; it
  runs happily on our 32-CPU servers as long as the applications
  themselves have no inherent bottlenecks. You do want to adjust the heap
  parameters for any serious work, especially on a Windows platform, where
  the default maximum borders on the miniscule.
 
  - Chuck
 
 
  THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
  MATERIAL and is thus for use only by the intended recipient. If you
  received this in error, please contact the sender and delete the e-mail
  and its attachments from all computers.
 
  -
  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 Alone or tomcat+IIS/Apache

2005-10-05 Thread Caldarale, Charles R
 From: Gregg D Bolinger [mailto:[EMAIL PROTECTED] 
 Subject: Re: Tomcat Alone or tomcat+IIS/Apache
 
 Does Tomcat support CGI bins
 utalizing non-java technology?

As usual, RTFM:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cgi-howto.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Pigott, Paul
Greetings,

I'm having problems executing functions in an external javascript file.
It's like the .js file can't be found.  I was able to do this under Tomcat
4.0 but for some reason it's not working under Tomcat 5.0.

The folder under webapps is /EdiHost and I've got another folder, /js,
under /EdiHost.

In my HTML, I've got the attribute SRC=/js/EdiHost.js in my SCRIPT tag.

Any ideas anyone?

TIA,

Paul
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

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



Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Darek Czarkowski
You have to specify the full path, this should not work under any of the
webservers.
DarekC


On Wed, 2005-10-05 at 08:03, Pigott, Paul wrote:
 Greetings,
 
 I'm having problems executing functions in an external javascript file.
 It's like the .js file can't be found.  I was able to do this under Tomcat
 4.0 but for some reason it's not working under Tomcat 5.0.
 
 The folder under webapps is /EdiHost and I've got another folder, /js,
 under /EdiHost.
 
 In my HTML, I've got the attribute SRC=/js/EdiHost.js in my SCRIPT tag.
 
 Any ideas anyone?
 
 TIA,
 
 Paul
 CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
 for the sole use of the intended recipient(s) and may contain confidential
 and privileged information. Any unauthorized review, use, disclosure or
 distribution is prohibited. If you are not the intended recipient, please
 contact the sender by reply e-mail and destroy all copies of the original
 message.
 
 -
 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: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Larry Meadors
You may be able to use this instead:

src=js/EdiHost.js

IDEA will get pissed about it, but it should work (I know it does for images).

It is nice, because you can rename your context, and not break your webapp. :)

Larry


On 10/5/05, Pigott, Paul [EMAIL PROTECTED] wrote:
 Greetings,

 I'm having problems executing functions in an external javascript file.
 It's like the .js file can't be found.  I was able to do this under Tomcat
 4.0 but for some reason it's not working under Tomcat 5.0.

 The folder under webapps is /EdiHost and I've got another folder, /js,
 under /EdiHost.

 In my HTML, I've got the attribute SRC=/js/EdiHost.js in my SCRIPT tag.

 Any ideas anyone?

 TIA,

 Paul
 CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
 for the sole use of the intended recipient(s) and may contain confidential
 and privileged information. Any unauthorized review, use, disclosure or
 distribution is prohibited. If you are not the intended recipient, please
 contact the sender by reply e-mail and destroy all copies of the original
 message.

 -
 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 behind IIS - Session timeout is ignored

2005-10-05 Thread Tobias Meyer
Hello list,

I have a problem with a tomcat 5.0.28 installation connected to IIS 6.0
(Windows 2003 server) with isapi_redirect.dll

Everything is working well, except for the session timeout.
The timeout is set to 60 minutes in the context's web.xml file
(session-timeout60/session-timeout) which works great in many other
installations (without IIS, though)

As far as I could tell, the sessions are purely managed by tomcat, so IIS
should not pose a problem, but still...

Can anyone shed some light on this?

Thanks,
Tobias


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



Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Hassan Schroeder
Larry Meadors wrote:
 You may be able to use this instead:
 
 src=js/EdiHost.js

 It is nice, because you can rename your context, and not break your webapp. :)

Or, if you're using JSTL, use:

  src=c:url value=/js/EditHost.js/

which has the added advantage of *not* being a relative path that'll
only work if referenced from the base directory of the webapp, but
*will* work regardless of changes to the webapp name...

-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



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



Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Larry Meadors
Yeah, i just hate the tag inatag / / stuff.

Messy. ;-)

Larry


On 10/5/05, Hassan Schroeder [EMAIL PROTECTED] wrote:
 Larry Meadors wrote:
  You may be able to use this instead:
 
  src=js/EdiHost.js

  It is nice, because you can rename your context, and not break your webapp. 
  :)

 Or, if you're using JSTL, use:

   src=c:url value=/js/EditHost.js/

 which has the added advantage of *not* being a relative path that'll
 only work if referenced from the base directory of the webapp, but
 *will* work regardless of changes to the webapp name...

 --
 Hassan Schroeder - [EMAIL PROTECTED]
 Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

   dream.  code.



 -
 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   4   5   6   7   8   9   10   >