ID: 16912 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Servlet related Operating System: SuSe Linux 7.3 PHP Version: 4.2.0 New Comment:
1. Thank's for a tip. I did this, but the main problem still exists I cannot reach a stable version of PHP servlet(Tomcat craches). This time I configured PHP only --with-java --with-servlet. 2. The problem of compilation exists when is used the JDK 1.3. with JDK1.4 compilation is successful. I think it(which JDK) should be added to the sapi/servlet/README to avoid a frustration. Best regards Previous Comments: ------------------------------------------------------------------------ [2002-04-29 19:33:50] [EMAIL PROTECTED] First of all, drop the --with-apxs from your configure line. You can not compile 2 sapis at same time. Also, read the sapi/servlet/README file. ------------------------------------------------------------------------ [2002-04-29 14:27:46] [EMAIL PROTECTED] I got PHP code source form www.php.net and I could not compile a file servlet.java. (sapi/servlet) There is a line (75) where is "result+=concat + name + "=" + URLEncoder.encode(value,"UTF-8")" I checked a method encode and it has only one parameter as String so I delete the second one and I compiled successfully. I used to compile J2EESDK 1.3.1 from Sun, but I don't know if it will be work correctly. './configure' '--disable-debug' '--enable-tracks-vars' '--with-apxs=/usr/local/apache/bin/apxs' '--with-servlet' '--with-java' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16912&edit=1