Tomcat 4.0.3 and session handling

2002-07-12 Thread Giorgio Ponza
Hi all!! I have Tomcat 4.0.3 installed, Apache 2.0.36 with warp connector (but the problem happens also with tomcat standalone) my welcome page is index.jsp, like configured in web.xml (in order i have index.jsp, index.htm, index.html). I try to test my site without cookies, so it usually

Re: NullPointerException when using JDBC ResultSet next() method

2002-04-09 Thread Giorgio Ponza
sorry, but you called ResultSet rset = stmt.executeQuery (select sc_id from bug_status_codes); and then used rs.next() maybe they must be all rs or all rset. Bye Giorgio -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list:

Re: someone....need help!!!!....

2002-04-09 Thread Giorgio Ponza
Sometimes happens also to me. My solution is to empty the folder /tomcat/work so Tomcat must recompile it. But i think some gurus here have a better solution. Giorgio - Original Message - From: ajith kondapalli [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 09, 2002 5:28

Re: urlencoded session html-redirection-bug

2002-04-10 Thread Giorgio Ponza
When you encode the url, the first time the jsessionid is attached to the URL, but if your browser have cookies enabled, a cookie is assigned and the jsessionid parameter is not shown anymore. I tried this widh IE5 IE6 an NE4.7 and works. If you disable cookies, you'll see the URL always with the

Re: On timeout

2002-04-10 Thread Giorgio Ponza
maybe you can use this method in your JSP boolean session.isNew() saying if the session id is just created or not. Giorgio - Original Message - From: Raphael Di Cicco [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, April 10, 2002 11:06 AM Subject: On timeout

Re: Re: urlencoded session html-redirection-bug

2002-04-10 Thread Giorgio Ponza
] To: Giorgio Ponza [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, April 10, 2002 9:55 AM Subject: Re : Re: urlencoded session html-redirection-bug When you encode the url, the first time the jsessionid is attached to the URL, but if your browser have cookies enabled, a cookie

Re: Exception when I try to reload a page

2002-04-11 Thread Giorgio Ponza
I always put a return just after a forward, forcing the tomcat to stop compiling the rest. If it's not your problem, post some more code Regards Giorgio - Original Message - From: Raphael Di Cicco [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, April 11,

Re: Urgent.. Please help me

2002-05-03 Thread Giorgio Ponza
please send some more, like the db JNDI definition, i think is only a name problem GIorgio - Original Message - From: Alvin Wang [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, May 03, 2002 4:05 PM Subject: Urgent.. Please help me Hi! I have an urgent question.

Re: Tomcat performance issues

2002-06-14 Thread Giorgio Ponza
If you disable the database connection, the time is still long? Are you sure is not a db problem? Hi - Original Message - From: Power-Netz (Schwarz) [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, June 14, 2002 11:59 AM Subject: AW: Tomcat performance issues

Re: problems with encodeURL

2002-06-25 Thread Giorgio Ponza
I use Tomcat 4.0.3 and this URL works fine http://localhost/jsp/Registration/RegisterUser.jsp;jsessionid=1443034522BEFA 7F08FAB7D909FC8BC0?Home=true I use it in this way response.sendRedirect(response.encodeRedirectURL(/jsp/Registration/Register User.jsp?Home=true); maybe you only have problems

Tomcat 4.0.3 and SSL

2002-08-29 Thread Giorgio Ponza
Hi guys!!! I have installed Tomcat 4.0.3 stand-alone and i'd like to use SSL. SSL is installed correctly, but i'd like to know how to configure server.xml to get the feature. I'd like to use the port 80, not the default 8443. If i change it, in local it works but accessing the site from another

Re: Tomcat 4.0.3 and SSL

2002-08-29 Thread Giorgio Ponza
yes, i tried before and works not. I was writing the solution in the mailing list THanks a lot !! Giorgio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

[OT] Linux environment variables

2002-09-09 Thread Giorgio Ponza
Hi guys. Sorry, i'm not expert in linux I need that some environment variables (like JAVA_HOME) are visible to a specified user Until today i worked with root, so i placed them in /etc/profile. I'd like now them are visible only for the specified user (also the installation is done by the user).

Re: error

2002-09-09 Thread Giorgio Ponza
Remember to place a return just after the sendRedirect line. Bye - Original Message - From: Dionisio Ruiz de Zarate [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 07, 2002 12:14 AM Subject: error Anybody knows whoat is this error?: Apache Tomcat/4.0.1 - HTTP Status

Re: New HOWTOs posted

2002-09-09 Thread Giorgio Ponza
Thanx for the HOWTO. I tried to follow the instructions to setup Apache 2.0.40 and Tomcat 4.1.10 But when i startup Tomcat, it answers with this error: I have Tomcat 4.1.10 LE J2SE 1.4.1 Thanx for help Giorgio INFO: Initializing Coyote HTTP/1.1 on port 8080 ServerLifecycleListener:

Re: New HOWTOs posted

2002-09-09 Thread Giorgio Ponza
I've found that the problem is when i uncomment this line in server.xml of my Tomcat 4.1.10 LE J2SE 1.4.1 !-- Define an AJP 1.3 Connector on port 8009 Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75

AJP 1.3 Connector fails to load on Tomcat 4.1.10

2002-09-09 Thread Giorgio Ponza
Hi all. I need to connect Apache 2.0.40 with Tomcat 4.1.10 and mod_jk.so Following the instruction given by John Turner, i uncomment this line in server.xml but i get an error (later in this mail) I tried with Tomcat 4.1.10 LE J2SE 1.4.0 and with the full installation, but with the same results.

Re: Install JSSE?

2002-09-17 Thread Giorgio Ponza
I tried both the configurations (i mean JDK 1.3.1_03 + JSSE and JDK 1.4.0 alone) and both work. If u follow exactly the ssl_howto, i dont think u can have problems. Remember you need to change the port 8443 to 443 if u want your server be visible in the net with the SSL enabled. If u need help,

Re: How to configure

2003-07-01 Thread Giorgio Ponza
case ehheeh My opinion Giorgio Ponza Why shouldn't I want to configure for case insensitivity? What does it really matter whether I type http://some.server.com/Folder/MyPage.jsp - or simply, without the finger gymnastics - http://some.server.com/folder/mypage.jsp

Re: Pls help me !! Urgent!

2003-03-09 Thread Giorgio Ponza
Hi Zafar I wrote this very simple method public final static String getString(String pOriginal) {if (pOriginal == null) return new String();return pOriginal;} and i use it to retrieve strings that can be null, getting in this case a new string. bye bye Giorgio - Original Message -

Tomcat and security-constraint

2003-04-02 Thread Giorgio Ponza
tell me what i have to configure, or which Realm i have to use ? Tx in advance Giorgio Ponza - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 2.4.11: no current tx!

2003-05-28 Thread Giorgio Ponza
i think you have to ask to the JBOSS list. ;) Giorgio - Original Message - From: Fang Yidong [EMAIL PROTECTED] To: tomcat-user [EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 6:21 AM Subject: Tomcat 2.4.11: no current tx! [12:20:55,394,XAConnectionFactory] XAConnectionImpl: [EMAIL

Re: Tomcat STILL freezing - time to look at another app server?

2003-05-30 Thread Giorgio Ponza
strings Let us know!!! Giorgio Ponza - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, May 30, 2003 10:42 AM Subject: RE: Tomcat STILL freezing - time to look at another app server? There are many possible reasons why

Re: virtual hosts - tomcat 4

2003-06-10 Thread Giorgio Ponza
U can try Host name=www.myurl.com debug=0 appBase=webapps/myapp unpackWARs=true autoDeploy=true Context path= docBase= debug=0/ /Host Giorgio - Original Message - From: Fiona [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Jens Skripczynski [EMAIL PROTECTED] Sent: Tuesday,

Re: Apache and Tomcat on different machines using mod_jk (ajp13)

2003-06-12 Thread Giorgio Ponza
worker.list = remote what is that? is not worker.list=ajp13 ? in the tomcat machine the machineB.com must be resolved (usually by hosts file) This same name machineB.com must be in your apache httpd.conf defining the ServerName Giorgio Ponza - Original Message - From: Amit Kumar [EMAIL

AGAIN jk2 2.0.4 compile

2004-04-01 Thread Giorgio Ponza
hi all again :D I am trying to build tomcat connector 2.0.4 from source. I've read maby howto etc, but i didn't succeed. I installed apache 2.0.49 with --enable-so option Also tomcat 5.0.19. I am working on RH 9. I installed apr 0.9.4 in /usr/local/apr-0.9.4 and apr-util in

Re: AGAIN jk2 2.0.4 compile

2004-04-01 Thread Giorgio Ponza
Dale, Matt ha scritto: I just did this today, look for the apr libs in /usr/local/apache/lib directory and complile with ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-apr-lib=/usr/local/apache/lib \ --with-tomcat-41=/usr/local/jakarta-tomcat-5.0.19 \

Re: Where to set JAVA_OPTS

2004-04-07 Thread Giorgio Ponza
: %JAVA_OPTS% it is used later in lines like %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% Hope i helped u bye Giorgio -- --- Giorgio Ponza Web Developer Opla.com Ltd Tel. +39 011 7506233 Fax. +39 011 746179 http://www.opla.it

Re: Where to set JAVA_OPTS

2004-04-07 Thread Giorgio Ponza
approach, at least for me. An environment variable is accessible to all java programs. Modifying the script affects only tomcat. Bye Giorgio Giorgio Ponza wrote: Hi usually i put my JAVA_OPTS in catalina.sh (in windows is catalina.bat) like this REM set JAVA_OPTS=-server -Xms128m -Xmx128m

Tomcat largefile option in web.xml

2003-08-18 Thread Giorgio Ponza
Hi all ! I have a question about the largefile in the default web.xml I've set the value of largefile to TRUE, but i can't see any differences, temp files, etc. There are some FAQ for this option? Tx Giorgio Ponza

Re: Error when I start Jakarta-tomcat(Cont)

2003-08-19 Thread Giorgio Ponza
I agree with you. I'd try to execute a dos2unix utility on that script file I had the same problem, maybe copying it from a win version Giorgio John Turner ha scritto: Relax, we are helping you. How did you install Tomcat? How did you extract the archive? Are there any strange characters in

WAR files help

2003-09-22 Thread Giorgio Ponza
http://www.demo.local/demo it works, but i want it to work with http://www.demo.local without the app name as suffix I have many applications on that tomcat, so using the app name is not good. Any suggestions on how to proceed? Tx in advance Giorgio Ponza

WAR files help

2003-09-22 Thread Giorgio Ponza
http://www.demo.local/demo it works, but i want it to work with http://www.demo.local without the app name as suffix I have many applications on that tomcat, so using the app name is not good. Any suggestions on how to proceed? Tx in advance Giorgio Ponza

BASIC Authentication

2005-01-24 Thread Giorgio Ponza
Hi all I have a small problem trying to configure BASIC auth. Everything works good, but i'd like to know if i can change the default page when the user is not authenticated. I try to eplain better: if i write wrong 3 times the password, or i click on cancel button, a default Tomcat page appears

Re: BASIC Authentication

2005-01-24 Thread Giorgio Ponza
Omar Adobati ha scritto: I never try it, but maybe u can write your own code into the login page that redirect you on a different page if the login taske will not completed as needed... I can't try this :D There is no login page, only a box appearing over the browser asking user and password.

Re: BASIC Authentication

2005-01-25 Thread Giorgio Ponza
and password but presents immediately the error page. I think i have to use something other than basic auth, at least to create my own login page :D Tx all Giorgio Ponza --- Omar Adobati [EMAIL PROTECTED] wrote: Oh, I'm sorry... you are using the basic auth mode... there was a missunderstanding