Date: Fri, 14 Jun 2002 23:03:18 -0500 (CDT) From: <jps@funeralexchange.com> To: <splazo@telus.net> Cc: <freebsd-java@FreeBSD.ORG> Subject: Re: Apache 1.3_Modssl + Warp + Tomcat problems Message-ID: <4834.66.171.47.53.1024113798.squirrel@webmail.allneo.com> In-Reply-To: <009201c21413$01843190$0100a8c0@woodle> References: <3887.66.171.47.53.1024101152.squirrel@webmail.allneo.com> <009201c21413$01843190$0100a8c0@woodle>
next in thread | previous in thread | raw e-mail | index | archive | help
Yes i have but correct me if i am wrong but i thought you only needed to use that connector if you where using a stand alone tomcat server without the warp + apache front end. thanks Jps > Have you seen this bit in the server.xml file? > <!-- > > Uncomment this for SSL support. > You _need_ to set up a server certificate if you want this > to work, and you need JSSE. > 1. Add JSSE jars to CLASSPATH > 2. Edit java.home/jre/lib/security/java.security > Add: > security.provider.2=com.sun.net.ssl.internal.ssl.Provider > 3. Do: keytool -genkey -alias tomcat -keyalg RSA > RSA is essential to work with Netscape and IIS. > Use "changeit" as password. ( or add keypass attribute ) > You don't need to sign the certificate. > > You can set parameter keystore and keypass if you want to > change the default ( user.home/.keystore with changeit ) > --> > <!-- > <Connector > className="org.apache.tomcat.service.PoolTcpConnector"> > <Parameter name="handler" > > value="org.apache.tomcat.service.http.HttpConnectionHandler"/> > <Parameter name="port" > value="8443"/> > <Parameter name="socketFactory" > value="org.apache.tomcat.net.SSLSocketFactory" /> > </Connector> > --> > > <!-- Apache AJP12 support. This is also used to shut down > tomcat. > --> > <Connector > className="org.apache.tomcat.service.PoolTcpConnector"> > <Parameter name="handler" > value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/> > <Parameter name="port" value="8007"/> > </Connector> > > ----- Original Message ----- > From: <jps@funeralexchange.com> > To: <freebsd-java@FreeBSD.ORG> > Sent: Friday, June 14, 2002 5:32 PM > Subject: Apache 1.3_Modssl + Warp + Tomcat problems > > >> # Problem Tomcat + Apache Mod_SSL using Warp do not cooperate. >> >> # URLs to view to see the error happen. >> > https://www.funeralbiz.com/ASIMAS/funeralbiz/product.jsp?domain_id=39&catego> ryID=90 >> Add a few items to your shopping cart and then proceed to check out. >> If you are prompted for a CC# please use 4111 1111 1111 1111 with no >> spaces. the payment system is not setup right now so a false CC# will >> work properly once the you fill out the forms for the shipping & >> billing details (if you make it that far without it crashing) you will >> have the application crash on you somewhere inbetween there. This >> problem ONLY occurs under SSL and it works flawlessly under plain >> HTTP. I have had it work fine a few times under SSL but it crashes >> more times then it is successfull. >> Do i need to setup anything specail in my server.xml for the SSL >> connections to all be handled by apache and then have all the jsp >> pages be handled by tomcat and passed back to apache to then send it >> back to the client over SSL . I am using a pretty much stock >> server.xml file the only things i have changed is the enable lookups >> to false and upped the max connections. If someone out there can give >> me any information on how to resolve this problem that would be great. >> I can send you more details or snips from the logs if you would like >> just please tell me what you need. >> >> # Software versions >> Linux Jarkata Tomcat 4.03LE Binary >> Linux j2sdk1.4 Binary >> mod_webapp.so built from source on FreeBSD 4.5 >> >> #uname -a output >> FreeBSD mortus.ideathcare.com 4.6-RC FreeBSD 4.6-RC #4: Tue Jun 4 >> 22:23:57 CDT 2002 >> root@mortus.ideathcare.com:/usr/obj/usr/src/sys/MORTUS i386 >> # Java -version output >> java version "1.4.0" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) >> Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) >> >> # file output >> [root@mortus]/usr/local/jdk1.4.1/bin% file java >> java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), >> dynamically linked (uses shared libs), stripped >> # ldd output >> [root@mortus]/usr/local/jdk1.4.1/bin% ldd java >> java: >> libpthread.so.0 => /lib/libpthread.so.0 (0x28062000) >> libdl.so.2 => /lib/libdl.so.2 (0x28074000) >> libc.so.6 => /lib/libc.so.6 (0x28077000) >> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2804d000) >> >> #apache version from ports >> apache+mod_ssl-1.3.24+2.8.8 The Apache 1.3 webserver with SSL/TLS >> functionality >> # linux base >> linux_base-6.1_1 >> >> Thanks >> >> Jeremy Suo-Anttila >> jps@funeralexchange.com >> >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4834.66.171.47.53.1024113798.squirrel>