Re: Tomcat not starting using startup.bat
I try startup the tomcat standalone and it seems ok. then I try to see the localhost at port 8080, it seems the attemp is not success. what is the problem? On Fri, 26 Nov 2004 10:00:45 -0600, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of Roman D Subject: Tomcat not starting using startup.bat Tomcat 5.0.28, Windows XP System global environment variables set: JAVA_HOME = c:/j2sdk1.4.2_04 CATALINA_HOME = C:/Program Files/Apache Software Foundation/Tomcat 5.0 You can try putting quotation marks around any paths containing embedded spaces, but I'm not positive that will fully resolve the problem. set CATALINA_HOME=C:/Program Files/Apache Software Foundation/Tomcat 5.0 Also make sure you don't have spaces around the = in any set commands you might use - the space before the = becomss part of the variable name, and the space after is part of the value. - 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]
Form Authentication Trouble with Firefox
Hello everybody, I'm using form authentication to log on the users to my website. Until now I was using Mozilla Firefox for developement but now I came across this problem that Firefox doesn't allow a clean log in and always redirects to the error.jsp. The authentication is correct because it works with the IE. Does anyone have this problem, too ? If not this means I can't serve any Firfox clients. Regards, Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using URL for WAR deployment through Tomcat Manager
I'm trying to use jar: URL to upload WAR through Tomcat Manager, (Bbut it seems it doesn't work. With following URL, (B (B http://localhost:8080/manager/deploy?path=/samplewar=jar:file:/var/tmp/sample.war!/ (B (BI get "OK - Deployed..." result as output, but nothing is actually (Bdeployed, and I see following exception thrown in logfile: (B (B INFO: Manager: install: Installing web application at '/sample' from 'jar:file:/var/tmp/sample.war!/' (B java.io.FileNotFoundException: jar:file:/var/tmp/sample.war! (No such file or directory) (B (BAm I doing something wrong, or does it mean Manager HOWTO document (B(/tomcat-docs/manager-howto.html) is not in sync with implementation? (BAt least, I believe it shouldn't return "OK" as there is exception (Bthrown and deployment did fail. (B (BNow, that being said, I did look into ManagerServlet.java source, and (Bhas an impression that nothing except for "/abs/path" or "file:/abs/path" (Bis actually supported for both "war=" and "config=" parameter due to (Buse of java.io.File object. (B (BIs my finding correct? And assuming it's not implemented, will the patch (Bto make it support any URL be accepted if I submit one? I'm asking because (BI already modified the source so it'll support any URL as a parameter. (B (BBest Regards, (B-- (B012345678901234567890123456789012345678901234567890123456789012345678901234 (BTaisuke Yamada [EMAIL PROTECTED] (B (BMessage to my public address may not be handled in a timely manner. (BMessage to my "SPAM honeypot" address will be registered as a SPAM. (BFor a direct contact, please use my private address on my namecard. (B (B (B (B- (BTo unsubscribe, e-mail: [EMAIL PROTECTED] (BFor additional commands, e-mail: [EMAIL PROTECTED]
Startup error Tomcat 5.5.4 and jdk1.5.0 on Fedora
Hi I'm running Tomcat 5.5.4 with jdk1.5.0 on a Fedora Core 3 system. When I start Tomcat as a non-root user I get the Java HotSpot error below and then Tomcat loads. I have changed the whole Tomcat directory permissions to the user and group I want Tomcat to run as, I'm using the supplied Tomcat5.sh with all the variables correctly set and the error doesn't occur when I start Tomcat as root. Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed 28-Nov-2004 15:22:19 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8090 28-Nov-2004 15:22:19 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1245 ms 28-Nov-2004 15:22:20 org.apache.catalina.core.StandardService start INFO: Starting service Catalina From Tomcat5.sh: JAVA_HOME=/usr/local/java/jdk1.5.0 CATALINA_HOME=/usr/local/java/jakarta-tomcat-5.5.4 DAEMON_HOME=/usr/local/java/jakarta-tomcat-5.5.4/bin TOMCAT_USER=tomcat5 TMP_DIR=/var/tmp CATALINA_OPTS=-Xmx128m CLASSPATH=\ $JAVA_HOME/lib/tools.jar:\ $CATALINA_HOME/bin/commons-daemon.jar:\ $CATALINA_HOME/bin/bootstrap.jar start) # # Start Tomcat # $DAEMON_HOME/jsvc \ -home $JAVA_HOME \ -Dcatalina.home=$CATALINA_HOME \ -Djava.io.tmpdir=$TMP_DIR \ -outfile $CATALINA_HOME/logs/catalina.out \ -errfile '1' \ $CATALINA_OPTS \ -cp $CLASSPATH \ -user $TOMCAT_USER \ org.apache.catalina.startup.Bootstrap I'd be grateful for some suggestions. Thanks Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Shutdown error Tomcat 5.5.4 and jdk1.5.0 on Fedora
I'm running Tomcat 5.5.4 and jdk1.5.0 on Fedora Core 3 and when I stop Tomcat using the supplied Tomcat5.sh script I always get - jsvc.exec error: Service exit with a return value of 143 Can someone please explain this error, is it something I should be concerned about? Thanks Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: which to use: JK2 or JK?
http://www.sitepoint.com/article/quick-start-guide-windows/2 above article might give you a solution! vimal -Ursprüngliche Nachricht- Von: Erez Efrati [mailto:[EMAIL PROTECTED] Gesendet: Saturday, November 27, 2004 9:09 PM An: Tomcat User Mailing List Betreff: which to use: JK2 or JK? Hi, I am installing an apache + JBoss/tomcat and I need to run the JK module. Now I understand that the JK2 is no longer supported so does it mean that it would be better using JK1.2? Thanks, Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mysql: Cannot create JDBC driver
javax.servlet.ServletException: Cannot create JDBC driver of class '' for connect URL 'null', cause: No suitable driver Typically this just means that the JNDI name could not be resolved. Thus no driver is available. Server.xml: (...) Context path=/bankApp1 docBase=bankApp1 debug=5 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_bankApp1_log. suffix=.txt timestamp=true/ Resource name=jdbc/bankApp1 auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/bankApp1 parameter namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter parameter namemaxActive/name value10/value /parameter parameter namemaxIdle/name value3/value /parameter parameter namemaxWait/name value20/value /parameter parameter nameusername/name valuetomcat/value /parameter parameter namepassword/name valuexxx/value /parameter parameter namedriverClassName/name valuecom.mysql.jdbc.Driver/value /parameter parameter nameurl/name valuejdbc:mysql://localhost:3306/bankapp1?autoReconnect=true/value /parameter /ResourceParams /Context (...) I usually put the Resources into the GlobalResources of the server.xml And my web.xml: (...) resource-ref res-ref-namejdbc/bankApp1/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref (...) But if you do this, you'll need a ResourceLink element in the context, otherwise the global JNDI resource won't be visible inside the context. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Common%20Problems - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ClassCastException in org.apache.jasper.compiler.TagLibraryInfoImpl (Tomcat5.5)
Whats up with this? java.lang.ClassCastException org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:420) org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248) org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl.java:162) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539) org.apache.jasper.compiler.Parser.parse(Parser.java:126) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211) org.apache.jasper.compiler.ParserController.parse(ParserController.java:100) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146) org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) org.apache.jasper.compiler.Compiler.compile(Compiler.java:267) org.apache.jasper.compiler.Compiler.compile(Compiler.java:255) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) Heres a copy of the jsp I'm trying to compile: The JSP is just a huge list of taglib definitions: %@ taglib prefix=image uri=http://dev.sofari.com/taglibs/image/; % %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % %@ taglib prefix=fn uri=http://java.sun.com/jsp/jstl/functions; % %@ taglib prefix=fmturi=http://java.sun.com/jsp/jstl/fmt; % As an example... I can provide you with the full JSP file. -- Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an invite! Also see irc.freenode.net #rojo if you want to chat. Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html If you're interested in RSS, Weblogs, Social Networking, etc... then you should work for Rojo! If you recommend someone and we hire them you'll get a free iPod! Kevin A. Burton, Location - San Francisco, CA AIM/YIM - sfburtonator, Web - http://peerfear.org/ GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ClassCastException in org.apache.jasper.compiler.TagLibraryInfoImpl (Tomcat5.5)
Kevin A. Burton wrote: Whats up with this? java.lang.ClassCastException org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:420) org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248) If I reduce my webapp down to just this: %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % Then I get: org.apache.jasper.JasperException: Unable to read TLD META-INF/c.tld from JAR file file:/usr/local/jakarta-tomcat-5.5.4/webapps/rojo/ROOT/WEB-INF/lib/standard.jar: org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:179) org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl.java:181) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539) org.apache.jasper.compiler.Parser.parse(Parser.java:126) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211) org.apache.jasper.compiler.ParserController.parse(ParserController.java:100) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146) org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) org.apache.jasper.compiler.Compiler.compile(Compiler.java:267) org.apache.jasper.compiler.Compiler.compile(Compiler.java:255) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) But the standard.jar I'm using is the SAME one from Tomcat 5.5 and even the md5sum is the same (so its not corrupt). The insane parse is that everytime I reload the page I get a diff error (FUN!) java.lang.ClassNotFoundException: org.apache.jsp.pagelet.taglibs_jsp java.net.URLClassLoader$1.run(URLClassLoader.java:199) java.security.AccessController.doPrivileged(Native Method) java.net.URLClassLoader.findClass(URLClassLoader.java:187) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:156) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:69) org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:589) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:137) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) BTW. Throughout this ENTIRE process Tomcat has been swallowing the real error. Not very professional :-/ Makes me wonder what other fun little secrets Tomcat has in store for me in the future. Kevin -- Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an invite! Also see irc.freenode.net #rojo if you want to chat. Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html If you're interested in RSS, Weblogs, Social Networking, etc... then you should work for Rojo! If you recommend someone and we hire them you'll get a free iPod! Kevin A. Burton, Location - San Francisco, CA AIM/YIM - sfburtonator, Web - http://peerfear.org/ GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ClassCastException in org.apache.jasper.compiler.TagLibraryInfoImpl (Tomcat5.5)
Are you running with the security manager turned on? If so - do you get the same error with it turned off? (BTW 5.5 has not been voted stable yet) -Tim Kevin A. Burton wrote: Kevin A. Burton wrote: Whats up with this? java.lang.ClassCastException org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:420) org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248) If I reduce my webapp down to just this: %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % Then I get: org.apache.jasper.JasperException: Unable to read TLD META-INF/c.tld from JAR file file:/usr/local/jakarta-tomcat-5.5.4/webapps/rojo/ROOT/WEB-INF/lib/standard.jar: org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:179) org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl.java:181) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539) org.apache.jasper.compiler.Parser.parse(Parser.java:126) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211) org.apache.jasper.compiler.ParserController.parse(ParserController.java:100) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146) org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) org.apache.jasper.compiler.Compiler.compile(Compiler.java:267) org.apache.jasper.compiler.Compiler.compile(Compiler.java:255) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) But the standard.jar I'm using is the SAME one from Tomcat 5.5 and even the md5sum is the same (so its not corrupt). The insane parse is that everytime I reload the page I get a diff error (FUN!) java.lang.ClassNotFoundException: org.apache.jsp.pagelet.taglibs_jsp java.net.URLClassLoader$1.run(URLClassLoader.java:199) java.security.AccessController.doPrivileged(Native Method) java.net.URLClassLoader.findClass(URLClassLoader.java:187) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:156) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:69) org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:589) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:137) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) BTW. Throughout this ENTIRE process Tomcat has been swallowing the real error. Not very professional :-/ Makes me wonder what other fun little secrets Tomcat has in store for me in the future. Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Shutdown error Tomcat 5.5.4 and jdk1.5.0 on Fedora
Phill Ashworth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm running Tomcat 5.5.4 and jdk1.5.0 on Fedora Core 3 and when I stop Tomcat using the supplied Tomcat5.sh script I always get - jsvc.exec error: Service exit with a return value of 143 Can someone please explain this error, is it something I should be concerned about? It means that Tomcat died a horrible death, without being able to do a clean shutdown. If you care about shutdown-processing (e.g. 'destroy' being called on servlets), then you should use a more recent version of jsvc. Thanks Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ClassCastException in org.apache.jasper.compiler.TagLibraryInfoImpl (Tomcat5.5) (oops)
(I was wrong) It was voted stable ... http://marc.theaimsgroup.com/?l=tomcat-devm=110011482407630w=2 -Tim Tim Funk wrote: Are you running with the security manager turned on? If so - do you get the same error with it turned off? (BTW 5.5 has not been voted stable yet) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
User Authentication For Download Page
Hi all, I offer download of a file on my site. It sends content using ServletOuputStream. This is the command that I exectly want to constraint with Tomcat's security mechanism (I use JDBC Realm). After user clicks on download, s/he gets forwarded to login. After login the File Download popup apears, they choose location and save it. After the save is performed, instead of going back to download page, it stays on login screen. The exception is java.lang.IllegalStateException: Cannot forward after response has been committed. This kind of makes sense, the page that it forwards to is actually file download. But I do not know how to get arround this problem. I'd like the page that shows to be the one from where user clicked download. If anyone can follow my problem, and has any kind of idea what I could do, could you please help, Regards Damjan _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Shutdown error Tomcat 5.5.4 and jdk1.5.0 on Fedora
I was using the jsvc bundled with Tomcat, I've also tried with the latest from Commons Daemon 1.0 and it makes no difference. Debug posted below if that's any help. On Nov 29, 2004, at 12:16 AM, Bill Barker wrote: I'm running Tomcat 5.5.4 and jdk1.5.0 on Fedora Core 3 and when I stop Tomcat using the supplied Tomcat5.sh script I always get - jsvc.exec error: Service exit with a return value of 143 Can someone please explain this error, is it something I should be concerned about? It means that Tomcat died a horrible death, without being able to do a clean shutdown. If you care about shutdown-processing (e.g. 'destroy' being called on servlets), then you should use a more recent version of jsvc. jsvc.exec debug: Caught SIGTERM: Scheduling a shutdown jsvc.exec debug: Shutdown or reload requested: exiting [Loaded sun.net.util.IPAddressUtil from shared objects file] [Loaded java.util.regex.MatchResult from shared objects file] [Loaded java.util.regex.Matcher from shared objects file] [Loaded sun.misc.Signal$1 from /usr/local/java/jdk1.5.0/jre/lib/rt.jar] [Loaded java.util.SubList from shared objects file] [Loaded java.util.RandomAccessSubList from shared objects file] [Loaded java.util.ListIterator from shared objects file] [Loaded java.util.SubList$1 from shared objects file] [Loaded java.util.AbstractList$ListItr from shared objects file] [Loaded java.net.SocksSocketImpl$5 from shared objects file] [Loaded java.net.ProxySelector from shared objects file] [Loaded sun.net.spi.DefaultProxySelector from shared objects file] [Loaded sun.net.spi.DefaultProxySelector$1 from shared objects file] [Loaded sun.net.NetProperties from shared objects file] [Loaded sun.net.NetProperties$1 from shared objects file] [Loaded sun.net.spi.DefaultProxySelector$NonProxyInfo from shared objects file] [Loaded java.util.regex.ASCII from shared objects file] [Loaded java.util.regex.Pattern$GroupCurly from shared objects file] [Loaded java.net.InetAddress$CacheEntry from shared objects file] [Loaded java.net.Inet6Address from shared objects file] [Loaded sun.net.spi.DefaultProxySelector$2 from shared objects file] [Loaded java.net.Proxy from shared objects file] [Loaded java.net.Proxy$Type from shared objects file] [Loaded java.net.Socket$2 from /usr/local/java/jdk1.5.0/jre/lib/rt.jar] [Loaded java.net.SocketInputStream from /usr/local/java/jdk1.5.0/jre/lib/rt.jar] [Loaded java.net.Socket$3 from /usr/local/java/jdk1.5.0/jre/lib/rt.jar] [Loaded java.net.SocketOutputStream from /usr/local/java/jdk1.5.0/jre/lib/rt.jar] 29-Nov-2004 06:26:23 org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8090 [Loaded org.apache.jk.common.SocketConnection from file:/usr/local/java/jakarta-tomcat-5.5.4/server/lib/tomcat-ajp.jar] jsvc.exec error: Service exit with a return value of 143 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Form Authentication Trouble with Firefox
Peter Neu wrote: Hello everybody, I'm using form authentication to log on the users to my website. Until now I was using Mozilla Firefox for developement but now I came across this problem that Firefox doesn't allow a clean log in and always redirects to the error.jsp. The authentication is correct because it works with the IE. Does anyone have this problem, too ? If not this means I can't serve any Firfox clients. Are you sure you're doing it right? No offence, but I've seen FORMs that seemingly worked on IE, but refused to work on Mozilla and vice versa. Your FORM should (or must, depending how you feel about standards) be HTML 4.0 correct. You should also try to find out what is actually being sent dfferently. A sniffer or a filter on the Tomcat could do that. Or just direct the form to some JSP that will print out the request parameters. Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: which to use: JK2 or JK?
Erez Efrati wrote: Hi, I am installing an apache + JBoss/tomcat and I need to run the JK module. Now I understand that the JK2 is no longer supported so does it mean that it would be better using JK1.2? What do you mean by no longer being supported? The current status is thet JK1 is considered production grade, while JK2 is still, well,... not in Beta Phase, but something like a successor to JK1. We're using mod_jk2 2.0.2 and it has been running smoothly for almost a year. I prefer JK2 to JK1, but that is my preference. JK2 will be the official connector in the future, so if it works for you, stick with it. Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PHP to run under Tomcat
Hi All, I was wondering if any of you could help me with some Tomcat administration. I am trying to configure Tomcat (and according to the specs on apache.org it can be done) to use PHP and I don't want to have Apache handling PHP and Tomcat handling JSP I would like the Tomcat to handle both. I have done the following I installed PHP4 I set the environment variable PHP_HOME to c:\php as this was where I installed it I moved phpsrvlt.jar from c:\php\sapi\ to the common\lib directory I added in the following lines in web.xml servlet servlet-namephp/servlet-name servlet-classnet.php.servlet/servlet-class /servlet servlet servlet-namephp-formatter/servlet-name servlet-classnet.php.formatter/servlet-class /servlet servlet-mapping servlet-namephp/servlet-name url-pattern*.php/url-pattern /servlet-mapping servlet-mapping servlet-namephp-formatter/servlet-name url-pattern*.phps/url-pattern /servlet-mapping I renamed the php.ini-dist to php.ini in c:\php I then modified the following lines extension_dir = .\ - extension_dir = C:\php\extensions ;extension=php_java.dll - extension=php_java.dll [Java] java.class.path = C:\php\extensions\php_java.jar java.home = C:\j2sdk1.4.0-rc\ java.library = C:\j2sdk1.4.0-rc\jre\bin\client\jvm.dll java.library.path = .\ Now my I am using Windows 2000 Server for the OS Jakarta Tomcat 5.0.27 php-4.3.9-Win32 The error message I seem to get is java.lang.UnsatisfiedLinkError: no php5servlet in java.library.path java.lang.ClassLoader.loadLibrary(ClassLoader.java:1410) java.lang.Runtime.loadLibrary0(Runtime.java:772) java.lang.System.loadLibrary(System.java:832) net.php.reflect.loadLibrary(reflect.java:34) net.php.reflect.clinit(reflect.java:29) net.php.servlet.init(servlet.java:157) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:702) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:644) and if I hit refresh on the same page I get the following different error java.lang.UnsatisfiedLinkError: send net.php.servlet.send(Native Method) net.php.servlet.service(servlet.java:190) net.php.servlet.service(servlet.java:214) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) Why I get two different errors is beyond me. I have done ALOT of research into finding the solution to this and I find there are many people who have come across the same problem but noone has a solution. Has anyone managed to get PHP to work under Jakarta Tomcat and can anyone see what I am doing wrong? Thank you all so much for your time and I thank you in advance. Kindest Regards, Matt Anderson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: which to use: JK2 or JK?
Sorry, but I think you are wrong. There have been several post in the last days from the developers, that clearly say, that there will be no further development for mod_jk2. Some features of mod_jk2 will be ported to mod_jk. The other development is mod_proxy_ajp as part of the apache webserver project. -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 7:43 AM To: Tomcat Users List Subject: Re: which to use: JK2 or JK? Erez Efrati wrote: What do you mean by no longer being supported? The current status is thet JK1 is considered production grade, while JK2 is still, well,... not in Beta Phase, but something like a successor to JK1. We're using mod_jk2 2.0.2 and it has been running smoothly for almost a year. I prefer JK2 to JK1, but that is my preference. JK2 will be the official connector in the future, so if it works for you, stick with it. 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]