Internal server error only on first run tomcat 4.x + apache 2.0x + modjk2 + winxp

2003-03-29 Thread Henry Tang
Hi, I am getting this error below only on the first service for apache. After this error, all other pages served will be fine. Error is produced after the server hangs for a while around 2 minutes. Anyone experiencing the same problem? thanks henry Internal Server Error The server encountered

Re: javabean constructors

2003-03-16 Thread Henry Tang
http://java.sun.com/products/jsp/tags/11/syntaxref1115.html read above. - Original Message - From: Michael Ni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 15, 2003 7:51 PM Subject: javabean constructors can someone explain to me how contructors work with java beans in

enctype=MULTIPART/FORM-DATA problem apache 2.0? modjk2?

2003-03-16 Thread Henry Tang
hi, I am not sure what is going on but the code i wrote that allows you to upload pictures to server using enctype=muiltipart/form-data post method behaves differently between in linux apache 1.3 and tomcat 4.12 with web app and winxp tomcat 4.13, mod_jk2 and apache 2.x. The image uploaded to

Re: javabean question

2003-03-15 Thread Henry Tang
if i have a C:\Tomcat 4.1\webapps\ROOT\WEB-INF\classes\database\DBConstants.class that i want to use in my file, C:\Tomcat 4.1\webapps\ROOT\WEB-INF\classes\database\DBPoolBean.java how do i import the DBConstants bean to my DBPoolBean? they are in the same package, database, by the way.

Re: javabean help

2003-03-14 Thread Henry Tang
import the package import package.name -henry SEE MY ONLINE STORE! http://www.yucreation.com/home/istore/ - Original Message - From: Michael Ni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Mod_jk on WinXP (revisited)

2003-03-06 Thread Henry Tang
All i know is that you don't need to do that for apache 2.0 - Original Message - From: Denise Mangano [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, March 06, 2003 9:52 AM Subject: RE: Mod_jk on WinXP (revisited) OK... I tried AddModule mod_jk.c and the

Re: A question regarding accessing parameters after the ? in a URL

2003-03-06 Thread Henry Tang
try + - Original Message - From: Mufaddal Khumri [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 06, 2003 5:41 AM Subject: Re: A question regarding accessing parameters after the ? in a URL When I do a getParameterNames() . i get the id back ... but

Re: when are the java files compiled?

2003-03-06 Thread Henry Tang
You need to compile it manually. If you are making it as some sort of package make sure it falls within the proper path If it is a jar file, you can put it in lib directory. This is how mine is done. You will then need to restart your tomcat and it shoudl work henry - Original Message

Re: when are the java files compiled?

2003-03-06 Thread Henry Tang
does anyone have a good example using a javabean to establish connection to a datebase. im trying to figure out the best way to reuse code. i can try one of the following methods: Check out test java files that came with mysql or postgres. I know mysql has one. You can easily covert it for

Re: Tomcat on WinXP (Solved??)

2003-03-05 Thread Henry Tang
mine worked without the environments you mentioned, but i would put it in because i had to do it to get my mod_jk2 to work.. Not sure why either and i think that was what caused my mod_jk2 not working.. will investigate later. - Original Message - From: Denise Mangano [EMAIL PROTECTED]

Re: Important - Apache-Tomcat Module Choice

2003-03-04 Thread Henry Tang
webapp is definitely easier to implement, but i think it only supports non windows based sever for current releases. So i think mod_jk is the way to go since mod_jk2 is so hard to set it up..Anyone got it running? - Original Message - From: Selvaraj N [EMAIL PROTECTED] To: Tomcat Users

Re: Important - Apache-Tomcat Module Choice

2003-03-04 Thread Henry Tang
) -Original Message- From: Henry Tang [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 12:56 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Important - Apache-Tomcat Module Choice webapp is definitely easier to implement, but i think it only supports non windows based

jk2 apache 1.3 and tomcat 4.1

2003-03-03 Thread Henry Tang
Hi, Has anyone got this jk2 connector to work wtih apache 1.3 and tomcat 4.1 If you did could i see your worker2.properties. Also is this right for jk2 for apache setup. in the httpd.conf you have to add loadmodule for jk2 and also add mod_jk.c file? thanks -henry