RE: Problems with utf-8 encoding

2005-09-19 Thread Guy Katz
put an encoding filter in front of your servlet/jsp's that sets a UTF-8 
encoding for incoming requests and outgoing responses. its your safest bet for 
tomcat 4 as far as i remember.

-Original Message-
From: Yair Zohar [mailto:[EMAIL PROTECTED]
Sent: Monday, September 19, 2005 9:43 AM
To: Tomcat Users List
Subject: Re: Problems with utf-8 encoding


Anto Paul wrote:

On 9/19/05, Yair Zohar [EMAIL PROTECTED] wrote:
  

Hello,
I'm using Tomcat 4.1.18
I'm trying to read hebrew data in utf-8 encoding from the database. As a
check I entered a utf-8 encoded 'alef' letter to the database field.
(I see it in the database as one letter 'alef'). The jsp page that
displays the data, prints two chars instead of one. I checked the values
of these chars and
they are 215 114, which are the utf-8 combination to create the letter
'alef'  (so I was told).

jps code:

%@ page language=java contentType=text/html;charset=UTF-8
pageEncoding=UTF-8 info=Tables Handler import=tablesHandler.* %

jsp:useBean id=tables scope=page class=tablesHandler.TableViewer /
jsp:setProperty name=tables property=*/

% request.setCharacterEncoding(UTF-8);%

html

head
meta http-equiv=Content-Type content=text/html; charset=UTF-8
/head




Move % request.setCharacterEncoding(UTF-8);% to before jsp:useBean tag.

  

Thanks for replying,
It didn't fix the problem, I still see the same two chars.
Yair.


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



RE: Problems with utf-8 encoding

2005-09-19 Thread Guy Katz
google it.
there's a lot.

-Original Message-
From: Yair Zohar [mailto:[EMAIL PROTECTED]
Sent: Monday, September 19, 2005 11:08 AM
To: Tomcat Users List
Subject: Re: Problems with utf-8 encoding


Guy Katz wrote:

put an encoding filter in front of your servlet/jsp's that sets a UTF-8 
encoding for incoming requests and outgoing responses. its your safest bet for 
tomcat 4 as far as i remember.

-Original Message-
From: Yair Zohar [mailto:[EMAIL PROTECTED]
Sent: Monday, September 19, 2005 9:43 AM
To: Tomcat Users List
Subject: Re: Problems with utf-8 encoding


Anto Paul wrote:

  

On 9/19/05, Yair Zohar [EMAIL PROTECTED] wrote:
 



Hello,
I'm using Tomcat 4.1.18
I'm trying to read hebrew data in utf-8 encoding from the database. As a
check I entered a utf-8 encoded 'alef' letter to the database field.
(I see it in the database as one letter 'alef'). The jsp page that
displays the data, prints two chars instead of one. I checked the values
of these chars and
they are 215 114, which are the utf-8 combination to create the letter
'alef'  (so I was told).

jps code:

%@ page language=java contentType=text/html;charset=UTF-8
pageEncoding=UTF-8 info=Tables Handler import=tablesHandler.* %

jsp:useBean id=tables scope=page class=tablesHandler.TableViewer /
jsp:setProperty name=tables property=*/

% request.setCharacterEncoding(UTF-8);%

html

head
   meta http-equiv=Content-Type content=text/html; charset=UTF-8
/head

   

  

Move % request.setCharacterEncoding(UTF-8);% to before jsp:useBean tag.

 



Thanks for replying,
It didn't fix the problem, I still see the same two chars.
Yair.


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



  

Guy, can you direct me to practical documentation on implementing such a 
filter ?

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



RE: where to deploy my .war and how ? help needed please!

2005-09-07 Thread Guy Katz
put it under your webapps and put a context elements with all its sub elements 
to configure the app in the server.xml file in the tomcat conf directory.

-Original Message-
From: Yassine ELassad [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 07, 2005 10:01 AM
To: tomcat-user@jakarta.apache.org
Subject: where to deploy my .war and how ? help needed please!


good morning list,

(sorry for the long mail)

im running Tomcat behind an apache Server using mod_jk2 everything seems to be 
working fine but im really confused about one thing
where to deploy my .war files to???

OS Suse Linux 9.1
java version 1.4.2_03
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)


tomcat is at -  /usr/share/tomcat

webapps is at /srv/www/tomcat/base/webapps

my server.xml :
==
Server port=8005 shutdown=SHUTDOWN debug=9
Service name=Tomcat-Apache
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector className=org.apache.coyote.tomcat5.CoyoteConnector
port=8009
minProcessors=5
maxProcessors=75
enableLookups=true
redirectPort=8443
acceptCount=10
debug=9
connectionTimeout=2
useURIValidationHack=true

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
!-- While starting off, leave debugging high for help in 
diagn. --
!-- When done, turn it back to 0 --
Engine name=DoApache defaultHost=do-web.de debug=9
Logger 
className=org.apache.catalina.logger.FileLogger
prefix=doweb_fileloger.
suffix=.log
timestamp=true/
!-- Access log processes all requests for this virtual 
host. --
!-- Leave pattern=combined for the most 
comprehensive logging --
Valve 
className=org.apache.catalina.valves.AccessLogValve
directory=logs
prefix=doweb_accesslogV.
suffix=.log
pattern=combined
resolveHosts=false/
Host name=DoDemo debug=0
appBase=/srv/www/demo
unpackWARs=true autoDeploy=true
Context path= docBase=/srv/www/demo 
debug=0/
Valve 
className=org.apache.catalina.valves.AccessLogValve
directory=logs  
prefix=demo_accesslogV.
suffix=.log 
pattern=combined resolveHosts=false/
/Host
Host name=doweb.de debug=9
appBase=/srv/www/htdocs
unpackWARs=true autoDeploy=true
Context path= docBase=/srv/www/htdocs 
debug=9/
Valve 
className=org.apache.catalina.valves.AccessLogValve
directory=logs  
prefix=dom_access.
suffix=.log 
pattern=combined resolveHosts=false/
/Host
/Engine
/Service
/Server

startup log from catalina.out :
===
Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1288 ms
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardService start
INFO: Starting service Tomcat-Apache
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.19
Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.ContextConfig 
applicationConfig
INFO: Missing application web.xml, using defaults only 
StandardEngine[DOMApache].StandardHost[domdemo].StandardContext[]
Sep 7, 2005 8:05:30 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create 

RE: how to Upload file

2005-08-31 Thread Guy Katz
1. commons-upload (jakarta-commons)
2. cos (servlets.com)


-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 31, 2005 3:29 PM
To: Tomcat Users List
Subject: RE: how to Upload file


Have you tried struts html:file tag.

-Original Message-
From: Bhargav Patel [mailto:[EMAIL PROTECTED] 
Sent: August 31, 2005 1:48 AM
To: Tomcat Users List
Subject: how to Upload file

how to write upload file program using jsp ?

by default program copy file to some temporary folder on server.

how to get the path of that temporary folder ?

***Confidentiality Notice***

 The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information. If you are not
the intended recipient, please notify the sender at Divinet or
[EMAIL PROTECTED]  immediately and destroy all copies of this
message and any attachments.

 



!DSPAM:431543aa140581254821471!

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



RE: build procedure to configure tomcat files

2005-08-30 Thread Guy Katz
for your base server.xml configuration i would suggest using CVS.
it further customizations are needed (for example per client) you can write a 
command line wrapper over tomcat mbeans, or direct XML manipulation, or use 
third party install tools which usually have built-in support for the 
modification of XML files as a part of the build process. 

-Original Message-
From: Ittay Dror [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 30, 2005 10:34 AM
To: Tomcat Users List
Subject: build procedure to configure tomcat files


Hi,

Getting my application to run requires me to change all sorts of configuration 
files. Specifically server.xml.

In order to install on a preinstalled tomcat, I need to modify this file. In 
order to simplify this, I want to automate this (so a script will do it, rather 
than manually).

Of course I can copy the file to my cvs, modify it and then overwrite the 
original file wity my copy (by cp from the installation to tomcat directory). 
However, this means that if the origianl server.xml changes from the time I 
copied it (user changes, newer versions of tomcat), they are lost.

I was wondering how people are tackeling this. For me, the best thing would be 
to have a CLI tool where I can tell it to modify the XML by adding nodes inside 
existing ones (e.g., 'xml_modify add -n Server.GlobalNamingResources -f 
resource.xml'. where resouce.xml has a definition of a Resource). I can use 
'patch' of course, but it looks to me it will break easily, and will be tricky 
to maintain (grab a server.xml, modify, diff, put the result as 
server.xml.patch)

Thanx,
Ittay

-- 
===
Ittay Dror ([EMAIL PROTECTED])
Application Team Leader, RD
Qlusters Inc.
+972-3-6081994 Fax: +972-3-6081841

-
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: can i use javax.management.timer.Timer?

2005-08-30 Thread Guy Katz
yes you can use it.
its plain JMX so check out how to use it regardless of tomcat (standalone mode) 
and do the same thing in tomcat but by using tomcat's mbean server.


-Original Message-
From: Ittay Dror [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 30, 2005 2:00 PM
To: Tomcat Users List
Subject: can i use javax.management.timer.Timer?


Hi,

If javax.management.timer.Timer can be used inside tomcat, can you please give 
an example of how?

Thanx,
Ittay

-- 
===
Ittay Dror ([EMAIL PROTECTED])
Application Team Leader, RD
Qlusters Inc.
+972-3-6081994 Fax: +972-3-6081841

-
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: instructions for setting up jaas over db in tomcat

2005-08-29 Thread Guy Katz
tomcat website has a server configuration link and it states for every element 
in the server.xml which sub elements are possible. along with knowledge of JAAS 
you have to acuire alone and the JAAS Realm configuration link you have been 
given, i would say you are set.

-Original Message-
From: Ittay Dror [mailto:[EMAIL PROTECTED]
Sent: Monday, August 29, 2005 10:48 PM
To: Tomcat Users List
Subject: Re: instructions for setting up jaas over db in tomcat




Robert Taylor wrote:
 I used the following link:
 
 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm

doesn't contain whether i can put 'Realm' in ROOT.xml

doesn't say anything about where to get a LoginModule implementation, or how to 
config jaas.config.

 
 It tooks some research, but I finally got it to work.

my point exactly. i believe every person setting up tomcat does this research 
and i wondered if anyone created a guide.

 
 /robert
 
 
 Ittay Dror wrote:
 
 Hi,

 I haven't found anywhere a step-by-step instructions or reference code 
 on how to set up jaas. Please help me with this as I'm very much lost.

 What I need:
 - authentication vs a DB
 - a ROOT webapp
 - tomcat 5.5
 - where to put the 'Realm' element (can it be in 
 conf/Catalina/localhost/ROOT.xml?)
 - what to put inside jaas.config
 - where to get an implementation of a login module. tagish isn't good 
 for me since they require a specific db schema (i'm porting an 
 existing application). Is there a standalone package with jboss's 
 implementations?

 Thanx,
 Ittay


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


-- 
===
Ittay Dror ([EMAIL PROTECTED])
Application Team Leader, RD
Qlusters Inc.
+972-3-6081994 Fax: +972-3-6081841

-
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: instructions for setting up jaas over db in tomcat

2005-08-29 Thread Guy Katz

if the Realm element can reside inside the elements in the root.xml 
(specifically the Context element) then yes.
you can check this in the server.xml configuration docs on the tomcat website.


-Original Message-
From: Ittay Dror [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 30, 2005 7:49 AM
To: Tomcat Users List
Subject: Re: instructions for setting up jaas over db in tomcat




Guy Katz wrote:
 tomcat website has a server configuration link and it states for every 
 element in the server.xml which sub elements are possible. along with 
 knowledge of JAAS you have to acuire alone and the JAAS Realm configuration 
 link you have been given, i would say you are set.

can i put the Realm statement in Catalina/localhost/ROOT.xml?

 
 -Original Message-
 From: Ittay Dror [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 29, 2005 10:48 PM
 To: Tomcat Users List
 Subject: Re: instructions for setting up jaas over db in tomcat
 
 
 
 
 Robert Taylor wrote:
 
I used the following link:

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm
 
 
 doesn't contain whether i can put 'Realm' in ROOT.xml
 
 doesn't say anything about where to get a LoginModule implementation, or how 
 to 
 config jaas.config.
 
 
It tooks some research, but I finally got it to work.
 
 
 my point exactly. i believe every person setting up tomcat does this research 
 and i wondered if anyone created a guide.
 
 
/robert


Ittay Dror wrote:


Hi,

I haven't found anywhere a step-by-step instructions or reference code 
on how to set up jaas. Please help me with this as I'm very much lost.

What I need:
- authentication vs a DB
- a ROOT webapp
- tomcat 5.5
- where to put the 'Realm' element (can it be in 
conf/Catalina/localhost/ROOT.xml?)
- what to put inside jaas.config
- where to get an implementation of a login module. tagish isn't good 
for me since they require a specific db schema (i'm porting an 
existing application). Is there a standalone package with jboss's 
implementations?

Thanx,
Ittay




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


 
 
 


-- 
===
Ittay Dror ([EMAIL PROTECTED])
Application Team Leader, RD
Qlusters Inc.
+972-3-6081994 Fax: +972-3-6081841

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

2005-07-26 Thread Guy Katz
hi all;
i never seem to understand from the change log and release notes if a new 
tomcat version is worth upgrading to.
i remember reading in some article that tomcat 5.5.10 has some major changes 
regarding the HTTP server part but i could not really see that from the release 
notes.
did tomcat 5.5.10 had those changes? i have 5.5.9 in production and i am quite 
happy with it so only major changes can make me upgrade.
thanks for the help.




RE: tomcat 5.5.x J2EE Connector

2005-06-02 Thread Guy Katz
tomcat is not a J2EE implementation so you should not expect JCA to be 
implemented in tomcat.
-Original Message-
From: faisal [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 02, 2005 1:35 PM
To: tomcat-user@jakarta.apache.org
Subject: tomcat 5.5.x J2EE Connector


I found this
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg73629.html on
the archive but this thread is very old and I am wondering if newer tomcat
5.5.x version implements JCA.



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



can tomcat 5.5.9 inc compatibility pack but over jdk1.5 cause a jvm crash?

2005-05-29 Thread Guy Katz
hello;
i have a tomcat 5.5.9 over jdk 1.5 on freeBSD running a web application.
i got the crash below.
note that i noticed that my 5.5.9 was started with the compatibility package 
inside (i forgot to remove it).
but my question is:
can such a jvm crash be caused by this?

thanks in advance.

crash stack trace:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGBUS (0xa) at pc=0x28261710, pid=85917, tid=0x82ec800
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-p1-root_08_apr_2005_11_21 mixed 
mode)
# Problematic frame:
# V  [libjvm.so+0x138710]
#
# An error report file with more information is saved as hs_err_pid85917.log
#
# If you would like to submit a bug report, please write
# a letter to [EMAIL PROTECTED] mailing list
#


Guy Katz
Allot Communications
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626



self shut down of tomcat? or forced?

2005-05-19 Thread Guy Katz
hi;
i am using tomcat 5.5.9 over jdk1.4 + plus compatibility package.
i basically have a simple question:
considerung the log below from the catalina.log file.
is it possible that tomcat goes from being started to suddenlly pausing  
stopping by itself (what would cause such a behavior)? or is it deffinite that 
someone messed with it forcing it to shutdown.


catalina.out:
.
INFO: Server startup in 5490 ms
May 19, 2005 1:06:43 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-194.230.33.9-80
May 19, 2005 1:06:44 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina62
May 19, 2005 1:07:13 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-194.230.33.9-80
May 19, 2005 1:07:51 PM org.apache.catalina.loader.WebappClassLoader 
findResourceInternal
INFO: Illegal access: this web application instance has been stopped already.  
Could not load commons-logging.properties.  The eventual following stack trace 
is caused by an error thrown for debugging purposes as well as to attempt to 
terminate the thread which caused the illegal access, and has no functional 
impact.
May 19, 2005 1:07:51 PM org.apache.catalina.loader.WebappClassLoader 
findResourceInternal
INFO: Illegal access: this web application instance has been stopped already.  
Could not load META-INF/services/org.apache.commons.logging.LogFactory.  The 
eventual following stack trace is caused by an error thrown for debugging 
purposes as well as to attempt to terminate the thread which caused the illegal 
access, and has no functional impact.
May 19, 2005 1:07:51 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  
Could not load org.apache.log4j.Logger.  The eventual following stack trace is 
caused by an error thrown for debugging purposes as well as to attempt to 
terminate the thread which caused the illegal access, and has no functional 
impact.
May 19, 2005 1:07:51 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  
Could not load java.util.logging.Logger.  The eventual following stack trace is 
caused by an error thrown for debugging purposes as well as to attempt to 
terminate the thread which caused the illegal access, and has no functional 
impact.
May 19, 2005 1:07:51 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  
Could not load java.util.logging.Logger.  The eventual following stack trace is 
caused by an error thrown for debugging purposes as well as to attempt to 
terminate the thread which caused the illegal access, and has no functional 
impact.
May 19, 2005 1:07:51 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  
Could not load org.apache.commons.logging.impl.SimpleLog.  The eventual 
following stack trace is caused by an error thrown for debugging purposes as 
well as to attempt to terminate the thread which caused the illegal access, and 
has no functional impact.
May 19, 2005 1:07:54 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  
Could not load org.apache.commons.logging.impl.SimpleLog.  The eventual 
following stack trace is caused by an error thrown for debugging purposes as 
well as to attempt to terminate the thread which caused the illegal access, and 
has no functional impact.
May 19, 2005 1:07:54 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  
Could not load org.apache.commons.logging.impl.SimpleLog.  The eventual 
following stack trace is caused by an error thrown for debugging purposes as 
well as to attempt to terminate the thread which caused the illegal access, and 
has no functional impact.
May 19, 2005 1:07:54 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  
Could not load org.apache.commons.logging.impl.SimpleLog.  The eventual 
following stack trace is caused by an error thrown for debugging purposes as 
well as to attempt to terminate the thread which caused the illegal access, and 
has no functional impact.
May 19, 2005 1:07:54 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  
Could not load org.apache.commons.logging.impl.SimpleLog.  The eventual 
following stack trace is caused by an error thrown for debugging purposes as 
well as to attempt to terminate the thread which caused the illegal access, and 
has no functional impact.
May 19, 2005 1:07:54 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: 

RE: Tomcat on XP

2005-05-18 Thread Guy Katz
did you put the jdk1.4 tomcat compatibility package in there? i dont know if 
this is the cause but i need it anyway.
its diwnloadable from the same page you download tomcat and is called something 
like 5.5.9_compat

-Original Message-
From: Jobish P [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 7:33 AM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat on XP



Hi,

I am not getting the tomcat home page while trying to run tomcat in
Windows XP. I had set the JAVA_HOME and CATALINA_HOME path variables.
And stopped other servers(IIS ans apche) running in the system.
But I couldn't see anything by typing http://localhost:8080. The
utilitie's that I used are tomcat 5.5.9.exe and j2sdk1.4.2_07.

It will be of great help if any of you could help in this
regard.

cheers,

-Jobish P


-
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: No such list! s (AM I THE ONLY ONE GETTING THIS SPAM)?

2005-05-17 Thread Guy Katz
am i the only one getting this annoying spam from the tomcat lisy?

-Original Message-
From: s [mailto:[EMAIL PROTECTED]
Sent: Monday, May 16, 2005 10:32 PM
To: tomcat-user@jakarta.apache.org
Subject: No such list! s


Valid Lists


New Atlanta List Server
---

There is no list by that name on this server. Available lists are:

   bluedragon-interest
   servletexec-interest
   jturbo-interest





-
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: strange exception - need advise

2005-05-05 Thread Guy Katz
thanks.
so what should i look for to solve this?

-Original Message-
From: Igor [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 05, 2005 11:41 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: strange exception - need advise


Hello!

I think, that when exception occurs, something has already been written to
output stream. Tomcat tries to redirect to error page, but it cannot do it,
because something was written.

Thank you,
Igor

- Original Message -
From: Guy Katz [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Sunday, May 01, 2005 8:44 AM
Subject: strange exception - need advise


hi;
i keep getting this exception below (tomcat 5.0.30).
can anybody shed some light on this?
my error page configuration is as follows:
   error-page
exception-typejava.lang.Exception/exception-type
location/faces/error.jsp/location
   /error-page
error-page
error-code404/error-code
location/faces/error.jsp/location
/error-page
!-- Forbidden --
error-page
error-code403/error-code
location/faces/error.jsp/location
/error-page
error-page
error-code500/error-code
location/faces/error.jsp/location
/error-page
thanks in advance.

[EMAIL PROTECTED]: Exception Processing
ErrorPage[exceptionType=java.lang.Exception, location=/faces/error.jsp]
java.lang.IllegalStateException
at org.apache.coyote.Response.reset(Response.java:296)
at org.apache.coyote.tomcat5.CoyoteResponse.reset(CoyoteResponse.java:646)
at org.apache.coyote.tomcat5.CoyoteResponse.reset(CoyoteResponse.java:912)
at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:389
)
at
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:
225)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:534)


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



load-on-startup causes application to be deployed twice in tomcat 5.5.9

2005-05-05 Thread Guy Katz
hi;
i have send a couple of emails regarding this but now i am more focused on the 
problem.
my application was deployed twice instead of once on tomcat startup.
i saw that the trouble seem to come from the load-on-startup tag in the web.xml 
(when its absent the problem is gone)
is this a known issue??
hoping to get a response.
thanks
Guy.

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



simple deployment problem - please help

2005-05-04 Thread Guy Katz
hi;

i have tomcat 5.5.9 running with jdk1.4.2

my application is configured in a context element in the server.xml and it is 
deployed twice instead of once!!! (only one context is defined in the 
server.xml)

i have no idea why. 

if i remove the context element from the server.xml and prepare a myapp.xml 
and put it in the conf\Catalina\localhost than it is deployed once but the path 
element is ignored (per spec) and my application is a root application (should 
start when invoking localhost:8080) so its not a good solution.

below is my server.xml and a view of tomcat console output. the server.xml is 
really basic.

i hope someone can please guide me cause i am desperate here.

thanks in advance.

myserver.xml:

Server port=8005 shutdown=SHUTDOWN
  Listener className=org.apache.catalina.mbeans.ServerLifecycleListener /
  Listener 
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener /
  Listener 
className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/
  GlobalNamingResources
Resource name=UserDatabase auth=Container
  type=org.apache.catalina.UserDatabase
   description=User database that can be updated and saved
   factory=org.apache.catalina.users.MemoryUserDatabaseFactory
  pathname=conf/tomcat-users.xml /
  /GlobalNamingResources
  Service name=Catalina
Connector port=8080 maxHttpHeaderSize=8192
   maxThreads=150 minSpareThreads=25 maxSpareThreads=75
   enableLookups=false redirectPort=8443 acceptCount=100
   connectionTimeout=2 disableUploadTimeout=true /
Connector port=8009 
   enableLookups=false redirectPort=8443 protocol=AJP/1.3 /
Engine name=Catalina defaultHost=localhost
  Realm className=org.apache.catalina.realm.UserDatabaseRealm
 resourceName=UserDatabase/
  Host name=localhost appBase=webapps
   unpackWARs=true autoDeploy=true
   xmlValidation=false xmlNamespaceAware=false
Context crossContext=false path= docBase=waves debug=0 
reloadable=true
 Resource name=waves/jdbc/WavesDB auth=Container 
type=javax.sql.DataSource
 maxActive=100 maxIdle=30 maxWait=3 
removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true
 username=superadmin password=EJsec6DM 
driverClassName=com.mysql.jdbc.Driver
 
url=jdbc:mysql://localhost/waves?useUnicode=trueamp;characterEncoding=UTF-8amp;autoReconnect=trueamp;/
 ResourceParams name=waves/mail/Session 
 parameter 
   namemail.smtp.host/name 
   valuemail.xwave.co.il/value 
 /parameter
  /ResourceParams
 Realm className=org.apache.catalina.realm.DataSourceRealm debug=99
  dataSourceName=waves/jdbc/WavesDB localDataSource=true
  userTable=users userNameCol=user_name userCredCol=user_pass
  userRoleTable=user_roles roleNameCol=role_name/
/Context
  /Host
/Engine
  /Service
/Server


 

tomcat console output:

INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
04/05/2005 21:49:57 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2005-05-04 21:50:01 [main] WARN  commons.digester.Digester  - [ConverterRule]{fa
ces-config/converter} Merge(null,java.math.BigDecimal)
2005-05-04 21:50:01 [main] WARN  commons.digester.Digester  - [ConverterRule]{fa
ces-config/converter} Merge(null,java.math.BigInteger)
2005-05-04 21:50:01 [main] WARN  commons.digester.Digester  - [ComponentRule]{fa
ces-config/component} Merge(marquee)
2005-05-04 21:50:01 [main] WARN  commons.digester.Digester  - [ValidatorRule]{fa
ces-config/validator} Merge(emailValidator)
ctx!!! [EMAIL PROTECTED]
2005-05-04 21:50:04 [main] INFO  scheduler.web.SchedulerInitializer  - scheduler
 init complete
trying to find encoding
2005-05-04 21:50:05 [main] INFO  sms.web.EncodingFilter  - encoding
2005-05-04 21:50:10 [main] WARN  commons.digester.Digester  - [ConverterRule]{fa
ces-config/converter} Merge(null,java.math.BigDecimal)
2005-05-04 21:50:10 [main] WARN  commons.digester.Digester  - [ConverterRule]{fa
ces-config/converter} Merge(null,java.math.BigInteger)
2005-05-04 21:50:10 [main] WARN  commons.digester.Digester  - [ComponentRule]{fa
ces-config/component} Merge(marquee)
2005-05-04 21:50:10 [main] WARN  commons.digester.Digester  - [ValidatorRule]{fa
ces-config/validator} Merge(emailValidator)
ctx!!! [EMAIL PROTECTED]
2005-05-04 21:50:13 [main] INFO  scheduler.web.SchedulerInitializer  - scheduler
 init complete
trying to find encoding
2005-05-04 21:50:13 [main] INFO  sms.web.EncodingFilter  - encoding 
04/05/2005 21:50:14 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
04/05/2005 21:50:14 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
04/05/2005 21:50:14 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/90  config=null
04/05/2005 21:50:15 

tomcat 5.5 over jdk 1.4 management

2005-05-02 Thread Guy Katz
hello;
is it possible to enjoy the new management features of tomcat 5.5.x over jdk 
1.4? (not 1.5)
where can i read documentation regarding this.

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



tomcat crashes with no trace?

2005-05-02 Thread Guy Katz
hi;
i have been getting very wierd behavior from tomcat 5.0.30 lately. i have 3 
applications deployed on it. the OS is freeBSD.
tomcat just crashes with no trace, log or proper shutdown - its like someone 
pulled the power plug.
i am desperate and dont know how to attack this issue. 
any suggestions would be great.

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



tomcat 5.5.9 start application twice

2005-05-02 Thread Guy Katz
hi all;

upgrading to tomcat 5.5.9 from 5.0.30 i noticed that my application is 
initialized twice.

my context listener is called twice on startup and all other startup resources 
also (filters, etc).

is this a known issue? my application is JSF based (sun RI).

thanks in advance.



strange exception - need advise

2005-04-30 Thread Guy Katz
hi;
i keep getting this exception below (tomcat 5.0.30).
can anybody shed some light on this?
my error page configuration is as follows:
   error-page
exception-typejava.lang.Exception/exception-type
location/faces/error.jsp/location
   /error-page
error-page
error-code404/error-code
location/faces/error.jsp/location
/error-page
!-- Forbidden --
error-page
error-code403/error-code
location/faces/error.jsp/location
/error-page
error-page
error-code500/error-code
location/faces/error.jsp/location
/error-page
thanks in advance.

[EMAIL PROTECTED]: Exception Processing 
ErrorPage[exceptionType=java.lang.Exception, location=/faces/error.jsp]
java.lang.IllegalStateException
at org.apache.coyote.Response.reset(Response.java:296)
at 
org.apache.coyote.tomcat5.CoyoteResponse.reset(CoyoteResponse.java:646)
at 
org.apache.coyote.tomcat5.CoyoteResponse.reset(CoyoteResponse.java:912)
at 
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:389)
at 
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:225)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)

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



is it worth upgrading to tomcat 5.5.9 over jdk1.4?

2005-04-29 Thread Guy Katz
hi all;

my question is if its a good idea to upgrade to 5.5.x but over jdk 1.4.

would i still get more stability, performance, etc...?

what will i loose?

thanks in advance ofr you help.



DatasourceRealm for tomcat 5.5

2005-04-29 Thread Guy Katz

hello;

is there a porting guide for upgrading from tomcat 5 to 5.5?

i am having some problems with my DatasourceRealm configuration. the =
same configuration that wirks for tomcat 5.0.30 does not work for 5.5.9

is there some document that can explain the differences? i could not =
find anything in the tomcat docs.

thanks in advance


RE: Custom Realm development: can't locate javax.management package

2005-04-18 Thread Guy Katz
its a jmx class.
probably in jmx.jar

-Original Message-
From: alebu [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 9:46 AM
To: tomcat-user@jakarta.apache.org
Subject: Custom Realm development: can't locate javax.management package


Hi, I was trying to develop my own Realm extending
org.apache.catalina.realm.RealmBase
but in Eclipse I got this error:
   The type javax.management.MBeanRegistration cannot be resolved.
   It is indirectly referenced from required .class files MyRealmBase.java.

I can't find jar file where this package is specified, but I not using
Tomcat sources, I just pointing
compiler to required jar files. And because this package is in javax
tree, then it should be somewhere in classpath I can't find it :(

-
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: Off-topic question: Does Hibernate have a mailing list?

2005-04-14 Thread Guy Katz
try http://www.hibernate.org/20.html

-Original Message-
From: Behrang Saeedzadeh [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 7:01 PM
To: Tomcat Users List
Subject: Off-topic question: Does Hibernate have a mailing list?


Hi all

Does anyone know if Hibernate have a mailing list or not? The
Hibernate's forum is very quiet...

Best Regards,
-- 

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa

-
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: still not clear with connection pooling in tomcat

2005-04-02 Thread Guy Katz
everything you need is here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html

-Original Message-
From: Krishnakant Mane [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 03, 2005 7:05 AM
To: tomcat-user@jakarta.apache.org
Subject: still not clear with connection pooling in tomcat


hello all,
I am still a bit confused on the pooling issue in
tomcat.
I will be very happy if some one could explain
connection pooling with reference to my problems
listed below.
1. there are the jakarta commons libraries like the
dbcp etc in the catalina/common/lib directory.  how do
I take advantage of these libraries to use pooled
connections?  Wat I mean is that I found some
resources on google which did explain connection
pooling but those articles tryed to use some other
methods.  I know how to setup the tags in server.xml
but don't know what to do in a servlet and where to do
it after the commons jars are made available.
2. there were two tags in server.xml out of which one
is for the maximum pool of connections eg 100 500 etc.
 and the other tag is related to innactive
connections.  can some one explain? I am confused with
these two tags.
3. right now I am not using connection pooling and I
am opening connections in the init methods of my
servlets.  what changes should I make in my servlets
after a connection pool is established?
4. where should I initialise the context and lookup
the connection from the data source?
I will be happy if some one gives an example of just
the code snippad of using a pooled connection in a
servlet.
thanks
Krishnakant. 


Send instant messages to your online friends http://uk.messenger.yahoo.com 

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


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



RE: Context sharing between 2 web apps

2005-03-16 Thread Guy Katz
take a look at the crossContext attribute in your Context element in the server 
configuration xml file. set it to true

-Original Message-
From: N G [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 16, 2005 5:10 PM
To: tomcat-user@jakarta.apache.org
Subject: Context sharing between 2 web apps


Hi,

I am using Tomcat 5.5.7. In a regular servlet, I am trying to do
something like this:

doGet(.)
{
ServletContext app2 = getServletContext().getContext(/anotherApp);

variable app2 is null after this statement.

I think, context sharing is turned off in Tomcat, but I am not sure
how to turn it back on. I haven't touched server.xml except to switch
to port 80.

Could some help me out here? How do I enable this behavior?

Thanks,
NG

-
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: Does from a filter setCharacterEncoding work for tc-5.0.27?

2005-02-03 Thread Guy Katz
i used TC 5.0.19,0.25,0.27 0.30 with a UTF-8 encoding filter (setting request 
and response encoding) and i never had any problems :) (and of course i use a 
language that cannot be represented with latin-1).

-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 03, 2005 11:07 AM
To: 'Tomcat Users List'
Subject: RE: Does from a filter setCharacterEncoding work for tc-5.0.27?


Thank you, but we cannot move to 5.5.4. How can I do the same with
tc-5.0.27?

Zsolt

 -Original Message-
 From: A jie [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 03, 2005 2:44 AM
 To: tomcat-user@jakarta.apache.org
 Subject: RE: Does from a filter setCharacterEncoding work for tc-5.0.27?
 
 
 
 
 
 --
  MSN:[EMAIL PROTECTED]
  QQ:29967409
 -
 
 
 
 
 From: Zsolt Koppany [EMAIL PROTECTED]
 Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
 To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
 Subject: Does from a filter setCharacterEncoding work for tc-5.0.27?
 Date: Wed, 2 Feb 2005 15:33:07 +0100
 
 Hi,
 
 Does setCharacterEncoding work under tc-5.0.27 with java-1.4.2-06? To get
 UTF-8 request parameter I need to do:
 
 String par = request.getParameter(filename);
 String filename = new String(par.getBytes(ISO8859-1), UTF-8);
 
 request.setCharacterEncoding(UTF-8) doesn't seem to help from a filter.
 
 Is it my mistake?
 
 
 Zsolt Koppany
 Phone: +49-711-722 1874
 --
 Intland Software GmbH, Schulze-Delitzsch-Strasse 16
 D-70565 Stuttgart, Germany
 Phone: +49-711-722 1873, e-mail:[EMAIL PROTECTED]
 Fax: +49-711-722 1835
 
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 it works success under tomcat5.5.4.you should conf a web.xml
 
 _
  MSN Messenger:  http://messenger.msn.com/cn
 
 
 -
 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: Contrary of load-on-startup

2005-01-10 Thread Guy Katz
use a context listener

-Original Message-
From: Edouard Dalla-Costa [mailto:[EMAIL PROTECTED]
Sent: Monday, January 10, 2005 10:34 AM
To: Tomcat Users List
Subject: Contrary of load-on-startup


Hi,

I was wondering if there is a balise for the web.xml like
load-on-startup but calling a class before shutdown???
Thx in advance

Edouard

-
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: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Guy Katz
you have http://www.webconexion.net based @ the uk.

-Original Message-
From: Paul Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 4:32 PM
To: Tomcat Users List
Subject: Please recommend a Low Cost Tomcat Hosting platform


Hi
I have a Tomcat 4 Application ready to deploy as a WAR. It uses database 
pooling to connect to a MYSQL database. I recently selected a Tomcat 
hosting platform to deploy my application but the deployment is non 
-standard you have to copy various parts of the WAR to different 
locations which dont match the standard deployment and it doesnt use 
database pooling to connect to MYSQL. I have been unable to get my 
application to run on it because these issues.

This is not a high performance website and I do not need/cannot afford a 
dedicated server I just want to easily be able to deploy my application.

I am based in the UK so a UK/English Speaking host would be preferable.

Could anyone recommend a hostthat provides this straight forward 
deployment facilities.
Thanks paul

-
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: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Guy Katz
www.javaservlethosting.com is also considered one of the best out there.

-Original Message-
From: Paul Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 6:27 PM
To: [EMAIL PROTECTED]
Cc: Tomcat Users List
Subject: Re: Please recommend a Low Cost Tomcat Hosting platform


I've taken a look at the recommended options and this is my view from 
looking at the Websites provided.

1. WebConnexions has very little information regarding JSPs (there is 
only one question regarding Java on Support) and the pricing ids 
unfairly skewed to be cheaper for US accounts. Im a bit dubious about it 
because I have already signed up with a supposed Java Host and found it 
lacking.
2. MythicBeasts is very flexible but would require me to deal with the 
administration of the whole machine which isnt something I really want 
todo, having deployed by application I want to just leave it be as much 
as possible.
3. NameOnTheNet looks promising, they only seem to do Java Hosting and 
there is alot of support information and they are based in the UK so I 
think I might give them a try.
4. AssortedInternet look OK, but they seem to cover so many different 
types of hosting I am unsure of how important Java Hosting is, also 
based in US.

Paul Taylor wrote:

 Hi
 I have a Tomcat 4 Application ready to deploy as a WAR. It uses 
 database pooling to connect to a MYSQL database. I recently selected a 
 Tomcat hosting platform to deploy my application but the deployment is 
 non -standard you have to copy various parts of the WAR to different 
 locations which dont match the standard deployment and it doesnt use 
 database pooling to connect to MYSQL. I have been unable to get my 
 application to run on it because these issues.

 This is not a high performance website and I do not need/cannot afford 
 a dedicated server I just want to easily be able to deploy my 
 application.

 I am based in the UK so a UK/English Speaking host would be preferable.

 Could anyone recommend a hostthat provides this straight forward 
 deployment facilities.
 Thanks paul



-
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: Which Java profiler for tomcat?

2004-12-15 Thread Guy Katz
my personal opinon after revirewing all major profilers:
jprofiler leads the pack with easy install and intuitive profiling 
http://www.ej-technologies.com/products/jprofiler/overview.html

-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 15, 2004 3:33 PM
To: 'Tomcat Users List'
Subject: Which Java profiler for tomcat?


Hi,

which profiler should I take to test our tomcat (5.0.27) based application?

Zsolt




-
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: access log question

2004-12-13 Thread Guy Katz

hi;
so combined is just more information? so i guess webalizer knows how to deal
with that format also right?
also, can you please ellaborate on 'Use the copy or move command to a name
webalizer likes.'
what i currently have is seperate accesslog files created by tomcat each
day. i want webalizer to generate data for all files. i dont know if
webalizer get multiple files so i feagured that tomcat might have the option
to accumulate one file instead of creating a file per day.
what should i do in order to get this behaviour?
thanks.

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Monday, December 13, 2004 12:45 AM
To: Tomcat Users List
Subject: Re: access log question


Combined has the referer.

Use the copy or move command to a name webalizer likes.

-Tim

Guy Katz wrote:
 hello;
 i have the line below in my server.xml
 
 Valve className=org.apache.catalina.valves.AccessLogValve
 directory=logs
  prefix=access_log. suffix=.txt pattern=common/
 
 what is the difference between the 'common' and 'combined' values?
 
 also,  the files the serer creates are access_log.2004-12-11.txt
 
 because i am using webalizer to view stats(and know how to point it to a
 single file), i want the server to accumulate all data to the same access
 log file. or something better than a file per day/
 how can i achieve this?
 

-
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: access log question + one more

2004-12-13 Thread Guy Katz
thanks for the help
i actually read the docs before posting this here. but missed that the date
format also determines the rotation granularity
thanks for the help.

another question is:
isnt the tomcat JNDI mail session absolete in the time of authentication
before sending?
most websited have many email accounts ([EMAIL PROTECTED], [EMAIL PROTECTED]
etc...).
every account should be authenticated before sending so in this case should
i put several JNDI mail sessions?
whats the best option? is it even possivle to use JNDI mail session who is
authenticated?

-Original Message-
From: Trond G. Ziarkowski [mailto:[EMAIL PROTECTED]
Sent: Monday, December 13, 2004 12:10 PM
To: Tomcat Users List
Subject: Re: access log question


Hi!

so combined is just more information? 

Yes.

so i guess webalizer knows how to deal
with that format also right?
  

I suggest you read up on webalizer's docs to find out which log formats 
it supports, but the answer is yes.

what i currently have is seperate accesslog files created by tomcat each
day. i want webalizer to generate data for all files. i dont know if
webalizer get multiple files so i feagured that tomcat might have the
option
to accumulate one file instead of creating a file per day.
what should i do in order to get this behaviour?
  

To have tomcat log to one file you should *read the docs* for the Access 
Log Valve, which you can find here: 
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html#Access%20L
og%20Valve

Trond

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


access log question

2004-12-12 Thread Guy Katz
hello;
i have the line below in my server.xml

Valve className=org.apache.catalina.valves.AccessLogValve
directory=logs
 prefix=access_log. suffix=.txt pattern=common/

what is the difference between the 'common' and 'combined' values?

also,  the files the serer creates are access_log.2004-12-11.txt

because i am using webalizer to view stats(and know how to point it to a
single file), i want the server to accumulate all data to the same access
log file. or something better than a file per day/
how can i achieve this?

thanks.

Guy Katz
Allot Communications
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626


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


RE: How to Upload a File Using JSP?.(Snippest of code needed)

2004-08-10 Thread Guy Katz
hi;
i think the oreilly package is your best choice as for now.
it is very mature, and i used it in very large scale project.
the commons-upload still is missing some stuff such as support for non
western europian characters that are sent as the content of form fields that
are not files (such as a text box/field content ).

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 4:00 PM
To: Tomcat Users List
Subject: RE: How to Upload a File Using JSP?.(Snippest of code needed)



Hola,
Cos.jar works but it's not as actively developed as fileupload and I
don't like it as much anyways.  If
http://jakarta.apache.org/commons/fileupload/using.html and
http://www.cs.tut.fi/~jkorpela/forms/file.html together aren't enough
help for you, then I don't know what else to suggest ;)

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 9:57 AM
To: Tomcat Users List
Subject: RE: How to Upload a File Using JSP?.(Snippest of code needed)

Hello,
Thanks for your reply.I could download the cos.jar from the given
webiste.Then later onwards i am not able to proceedi mean how to
provide the functionality of uploading into my JSP.My JSP contains two
textboxes and now i have to include the functionality of
uploading.Please
help me how to proceed.

Thanks for your time and patience,
Maruthi.



===
My JSP Code::
=

%@ pagelanguage=java contentType=text/html %
%@ pageimport = java.io.* %
%@ pageimport = java.lang.* %
%@ pageimport = java.sql.* %
%@ page  import = org.apache.turbine.util.RunData %
%@ page  import = org.apache.turbine.util.Log %
%@ pageimport = javax.servlet.http.* %
%@ taglib  uri='/WEB-INF/templates/jsp/tld/template.tld'
prefix='jetspeed'
%
%@ page import=org.apache.commons.fileupload.* %


  %
  try
  {

   if(request.getMethod().equals(POST))
   {

RunData rundata=(RunData)request.getAttribute(rundata);
   String jspeid = (String)
request.getAttribute(js_peid);

String cpu1=request.getParameter(cpu);
  String architecture1=  request.getParameter(architecture);

  Class.forName(org.gjt.mm.mysql.Driver);
   Connection
con=DriverManager.getConnection(Jdbc:mysql://localhost:3306/Thesiswork
,r
oot,);
   Statement st=con.createStatement();

  String str=INSERT into submitjobs
VALUES('+cpu1+','+architecture1+','+file1+');
int i=st.executeUpdate(str);
   System.out.println(Number of Rows inserted into
AddGridNodes Table  is:  +i+br);


   out.println( HTMLHEADTITLEConfirmation-Added Grid
Nodes/TITLE/HEAD );
 out.println( BODY bgcolor=blue text=whitebr);
 out.println( h2 align=centerFONT
face=Verdana,Geneva,Arial
color=white size=4bADD JOBS/b/font/h2);
 out.println(FONT face=Verdana,Geneva,Arial  size=1);

 out.println( table align=centerbr);
 out.println(trtdbThe Details Belongs to
Job:nbsp;/tdtd/tdtd+cpu1+ nbsp;is added to the
Database..!./b/td/trbr);

 out.println(/table);
 out.println(/font);
 out.println(/BODY);
 out.println(/HTML);

   st.close();
   con.close();


  }else
  {
  %
   body bgcolor=blue text=white
   form action=SubmitJobs.jsp enctype=multipart/form-data
method=POSTbrbr
   FONT face=Verdana,Geneva,Arial color=white size=1
   br
   h2 align=centerFONT face=Verdana,Geneva,Arial color=white
size=4bSUBMIT JOBS/b/font/h2
   br
   center

   table   align=center 
tr
 tdbFONT face=Verdana,Geneva,Arial color=white
size=2CPU:sup*/sup/FONT/b/td
 tdnbsp;/tdtdnbsp;/td
 tdinput type=text name=cpu value= size=20/td
/tr

tr
tdbFONT face=Verdana,Geneva,Arial color=white
size=2Architecture:sup*/sup/FONT/b/td
tdnbsp;/tdtdnbsp;/td
 tdinput type=text name=architecture value=
size=20/td
/tr

tr
tdbFONT face=Verdana,Geneva,Arial color=white
size=2Execute PBS File:sup*/sup/FONT/b/td
tdnbsp;/tdtdnbsp;/td
tdINPUT TYPE=file NAME=fileToUpload/td/td
/tr





   /table
   brbr

   input type=submit value=Submit /


   /center
   /font
   /form
   /body


%
   } //else
   }catch (Exception e)
   {
  Log.error(e);
 return;
  }
%

Rowland Watkins [EMAIL PROTECTED] wrote:
Maruthi,

I found the commons fileupload to be a bit heavy. You could try the
O'Reilly Upload Servlet:

http://www.servlets.com/resources/com.oreilly.servlet/

This has a simpler API. Just specify the directory for the file being
uploaded and it does the rest. If you require multiple files to be
uploaded it may be more suitable to use Struts.

Cheers,

Rowland


-
To 

form-based login username and password encoding issue

2004-08-09 Thread guy katz
hi all;

in my application, i let my users register to my site (with username, password , etc.. 
), when they do i programatically take their username and password and move it to the 
authentication tables of the datasource realm so they can authenticate. i am using 
form-basd login.

problem is that when a user enters a username ans password characters that are not 
western europian, the authentication process fails.

is this a constraint of the fact that the user and password are sent as parameters in 
the URL? (j_user, ...).

are the parameters in the URL not encoded as UTF-8? can i control this?

thanks in advance.

_



JTA tomcat

2004-08-05 Thread Guy Katz
hi;
threre are some thread regarding this but i did not find a definite answer.

does tomcat has a UserTransaction implementation ready to use out of the
box? or do i have to download JTOM or something similar in order to use a
JTA UserTransaction.
i use tomcat 5.0.25.   when i lookup  java:comp:UserTransaction i get an
exception below:
javax.naming.NamingException: Cannot create resource instance
at org.apache.naming.factory.TransactionFactory.getObjectInstance(Transa
ctionFactory.java:145)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
01)
at org.apache.naming.NamingContext.lookup(NamingContext.java:838)

so i guess that something is binded under this name in JNDI and flow goes to
the trasactionFactory so what the deal here?
any help is appreciated.
thanks in advance.


Guy Katz
Allot Communications
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626


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



RE: JTA tomcat

2004-08-05 Thread Guy Katz
hi;
actually, my need are very basic. i dont even need a distributed transaction
only a simple JDBC transaction but for architecture reasons i cant use the
JDBC transaction in the DAO level but something in a higher level such as
JTA.
will the tomcat user transaction implementation be enough in this case?

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 5:26 PM
To: Tomcat Users List
Subject: RE: JTA  tomcat



Hola,
Version 5.0.26 (and better yet, 5.0.27 which is stable) fixes the
TransactionFactory bug you're seeing.  So update to 5.0.27 if you can.

You would probably need to download JOTM (not JTOM, unless JTOM just
happens to be a Java transaction provider project I don't know about ;))
or another similar component, but that depends on your needs: how do you
plan on using these transactions?  If you use a JDBC DataSource provider
that's XA-enabled, such as Tyrex, you can use its transactions and
leverage Tomcat's JNDI capabilities all in one: see the User
Transactions section of
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.htm
l.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Guy Katz [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 12:17 PM
To: '[EMAIL PROTECTED]'
Subject: JTA  tomcat

hi;
threre are some thread regarding this but i did not find a definite
answer.

does tomcat has a UserTransaction implementation ready to use out of
the
box? or do i have to download JTOM or something similar in order to use
a
JTA UserTransaction.
i use tomcat 5.0.25.   when i lookup  java:comp:UserTransaction i get
an
exception below:
javax.naming.NamingException: Cannot create resource instance
at
org.apache.naming.factory.TransactionFactory.getObjectInstance(Transa
ctionFactory.java:145)
at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
01)
at org.apache.naming.NamingContext.lookup(NamingContext.java:838)

so i guess that something is binded under this name in JNDI and flow
goes
to
the trasactionFactory so what the deal here?
any help is appreciated.
thanks in advance.


Guy Katz
Allot Communications
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626


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




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


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

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



can a virtual host have its own privatly used SSL certificate?

2004-07-15 Thread Guy Katz
hi;
i am going to put my application in  a shared hosting solution which does
not provide any shared SSL support.
is it possible to buy and put a SSL certificate in the scope of my virtual
host in the hosting company. (i mean is it technically possible -
disregarding the hosting company policy).


Guy Katz
Allot Communications
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626


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



RE: can a virtual host have its own privatly used SSL certificate ?

2004-07-15 Thread Guy Katz
thanks but are you sure?
i read some more and got the impression that when using apache+tomcat with
ip based virtual hosting this can be achieved.
did i misunderstood?
thanks

-Original Message-
From: Graham Leggett [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 10:49 AM
To: Tomcat Users List
Subject: Re: can a virtual host have its own privatly used SSL certificate?


Guy Katz wrote:

 i am going to put my application in  a shared hosting solution which does
 not provide any shared SSL support.
 is it possible to buy and put a SSL certificate in the scope of my virtual
 host in the hosting company. (i mean is it technically possible -
 disregarding the hosting company policy).

Technical short answer: no.

Regards,
Graham
--

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



RE: can a virtual host have its own privatly used SSL certificate ?

2004-07-15 Thread Guy Katz
thanks;
you are relating to tomcat.
i think in my situation they have a different listen port for every vhost
internally such that the apache server delivers the http request on
different ports for different vhost.
does this simplify the problem?

-Original Message-
From: Graham Leggett [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 11:21 AM
To: Tomcat Users List
Subject: Re: can a virtual host have its own privatly used SSL certificate ?


Guy Katz wrote:

 thanks but are you sure?

I'm sure.

 i read some more and got the impression that when using apache+tomcat with
 ip based virtual hosting this can be achieved.

The problem is that there can only be one certificate per listening port 
that tomcat is listening on, and the certificate can only have one name 
at a time (unless you use wildcard certs, but this is a special case). 
There can be many virtual hosts per listening port, but only one 
certificate, and the certificate can only have one name (at the moment) 
- thus your problem.

:(

Regards,
Graham
--

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



problem with context element configuration - need some help

2004-06-16 Thread Guy Katz
hi;
regarding the configuration of a Context element.
i have an application called 'app'
my configuration is currently:
Context path=/ docBase=. debug=0 reloadable=true
so in order to execute the application i need to type the url
'http://host:port/app
i do not want to type the URL with the 'app' suffix so i changed the context
element to
Context path=/ docBase=app debug=0 reloadable=true

now the url without the 'app' executes the first page BUT all the images
(static) are not loaded (the images are in the img directory under the app
directory).
can anyone explain this behaviour? did i configure anything wrong?
thanks




Guy Katz
Allot Communications
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626


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



RE: problem with context element configuration - need some help

2004-06-16 Thread Guy Katz
thanks,
that did it.


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 2:55 PM
To: Tomcat Users List
Subject: RE: problem with context element configuration - need some help



Hi,
Change context path=/ to path=.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Guy Katz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 9:55 AM
To: '[EMAIL PROTECTED]'
Subject: problem with context element configuration - need some help

hi;
regarding the configuration of a Context element.
i have an application called 'app'
my configuration is currently:
Context path=/ docBase=. debug=0 reloadable=true
so in order to execute the application i need to type the url
'http://host:port/app
i do not want to type the URL with the 'app' suffix so i changed the
context
element to
Context path=/ docBase=app debug=0 reloadable=true

now the url without the 'app' executes the first page BUT all the
images
(static) are not loaded (the images are in the img directory under the
app
directory).
can anyone explain this behaviour? did i configure anything wrong?
thanks




Guy Katz
Allot Communications
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626


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




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


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

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



data source problem

2004-06-15 Thread Guy Katz
hi;
i have a wierd problem which i have encountered twice with hosting company,
un my application, i have a datasource configured in my application scope
(context scope).
on a standalone tomcat everything is fine, i get the datasource and work
with it.

however, with two hosting companies, i had the exception below:

java.sql.SQLException: Cannot load JDBC driver class 'null'
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.jav
a:529)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:3
12)

there are numorous thread regarding this but no one answer, many directions
and answer.
i would very much appreciate if someone explain the typical cases that this
can happen.
looking at the DBCP code is looks like the driver attribute is null. this is
strange because the same configuration works on my development tomcat. also,
i assume that the driver class i am looking for (connector j of mysql) is in
the common/lib (i cant see it cause i am in a shared hosting environment but
i told them to put it there)
thanks in advance



Guy Katz
Allot Communications
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626


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



is it possible to bind something under the java:comp/env?

2004-06-15 Thread Guy Katz
hi;
i am using tomcat 5.0.24
i want to bind an object into the java:comp/env programatically to tomcat
initial context. is this possible.
the  exception i get:
javax.naming.NamingException: Context is read only
at
org.apache.naming.NamingContext.checkWritable(NamingContext.java:947)
at org.apache.naming.NamingContext.bind(NamingContext.java:875)
at org.apache.naming.NamingContext.rebind(NamingContext.java:252)
at org.apache.naming.NamingContext.rebind(NamingContext.java:267)
at
org.apache.naming.SelectorContext.rebind(SelectorContext.java:253)
at javax.naming.InitialContext.rebind(InitialContext.java:363)

how can i make the context writable?

Guy Katz
Allot Communications
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626


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



replacing tomcat bundled jars with new versions?

2004-06-10 Thread Guy Katz
hi;
for tomcat 5.0.10 and up, is it valid to change the jars that are bundles
with tomcat with advanced/bug fix versions?
for example, take tomcat 5.0.12 and put the new commons DB pool (v1.2)
instead of the existing one(v1.1)?
thanks.



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



display problem on tomcat 4 when 'dir' attribute is used

2004-06-05 Thread guy katz
hi;
i have a simple JSP (written with JSF) which accepts a text input and outputs the 
input in a line below. also, i am using the 'dir' attribute with a rtl value.
deploying this JSP on tomcat 5 and 4 yields 2 different results:
on tomcat 4, the result of the outputed Text displays all the characters are in 
reverse. e.g: hello input is displyed as olleh in the output.
on tomcat 5 there is no problem. its like the 'dir' attribute affects something in 
tomcat 4 and doesn't on tomcat 5.
P.S my preffered output is what tomcat 5 produces.

can anybody please explain these differences?
thanks.