Re: change in versions?
Dan Adams wrote: I had a tomcat 5.5.17 install with a bunch of webapps that was running great. Then I had to set up a new tomcat install on another server so I grabbed 5.5.20 and all of a sudden the urlrewritefilter in my apps stopped working completely. So after like a day of frustration and trying to figure out the cause I copied the old tomcat install from the other machine and everything worked perfect. Anyone have any clues as to what this could be? not without more detail, perhaps the errors from your logs? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AXIS: tomcat always do http compression without watch min size
Hi, I have an apache tomcat 5.5.17. In my server.xml file I have put Connector port=8080 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 connectionTimeout=2 disableUploadTimeout=true compression=on *compressionMinSize=2048000 * noCompressionUserAgents=gozilla, traviata compressableMimeType=text/html,text/xml,text/plain,application/dime / It run sucessfull with normal html tomcat pages. But when I ask to axis 1.4 webservices it always compress the response althought it be less than 1kb. Why axis don't respect compressionMinSize parameter? Thanks -- View this message in context: http://www.nabble.com/AXIS%3A-tomcat-always-do-http-compression-without-watch-min-size-tf2386947.html#a6654078 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AXIS: tomcat always do http compression without watch min size
Which mime type send axis as responce? Peter Am 05.10.2006 um 09:46 schrieb wakeup: Hi, I have an apache tomcat 5.5.17. In my server.xml file I have put Connector port=8080 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 connectionTimeout=2 disableUploadTimeout=true compression=on *compressionMinSize=2048000 * noCompressionUserAgents=gozilla, traviata compressableMimeType=text/html,text/xml,text/plain,application/dime / It run sucessfull with normal html tomcat pages. But when I ask to axis 1.4 webservices it always compress the response althought it be less than 1kb. Why axis don't respect compressionMinSize parameter? Thanks -- View this message in context: http://www.nabble.com/AXIS%3A-tomcat- always-do-http-compression-without-watch-min-size- tf2386947.html#a6654078 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CGI vs SMTP vs Tomcat
Really?! I've been on this list for a while and do not recall such derisive comments. Perhaps a more optimistic approach would help. As to the problem, I don't use the setup you are attempting, so you are going to have to help with some more info. Specifically a code example and logs for the moment when the connection is attempted. Further, some information regarding the environment would also be helpful -- security settings, etc., ... It may be that the CGI is relying on environment variables that aren't available to the tomcat service. --David HALSTEAD SGT WARREN F wrote: Good Afternoon, I am running Tomcat 5 with CGI enabled. I am attempting to use Net::SMTP to send e-mail, and it works fine from the command line, but not running as a CGI script. I have scoured the internet and found other people with this problem, but the derisive answer to their pleas for help has been Write it in Java dummy! I do not have that option, and so I must ask if there is some security function in Tomcat or a workaround, that allows perl CGI scripts to make a socket connection to port 25 of another server. Thank you for your help in this matter. If you feel any other details are required to troubleshoot my problem, please feel free to contact me and ask. Very Respectfully, ~Sgt Halstead 15th MEU USMC - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat doesn't reload my classes
Hi there, on a remote tomcat 5.5 webserver we uploaded new .class files, we reloaded at least three times trough the manager but anytime we test it, looks like the old files are still running. The META-INF folder contain the following context.xml configuration file: Context path= docBase=/home/virtual/*/fst/var/www/html/tomcat/ debug=0 reloadable=true Realm className=org.apache.catalina.realm.JDBCRealm debug=0 digest=MD5 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://*** userTable=user userNameCol=user userCredCol=password userRoleTable=role roleNameCol=role/ /Context which it seems be ok. Any help are welcome, thanks in advance. Alessandro ilardo - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CGI vs SMTP vs Tomcat
A CGI run from tomcat is just like any other exe. It runs outside the JVM sandbox so it may do as much evil (or good) as it wants. If Tomcat is being run as a service. It could be your PATH and other environment variables may not be configured correctly. (Or at all) -Tim HALSTEAD SGT WARREN F wrote: Good Afternoon, I am running Tomcat 5 with CGI enabled. I am attempting to use Net::SMTP to send e-mail, and it works fine from the command line, but not running as a CGI script. I have scoured the internet and found other people with this problem, but the derisive answer to their pleas for help has been Write it in Java dummy! I do not have that option, and so I must ask if there is some security function in Tomcat or a workaround, that allows perl CGI scripts to make a socket connection to port 25 of another server. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AXIS: tomcat always do http compression without watch min size
compressionMinSize only works with fixed file sizes. If axis is NOT setting the ContentLength before serving back results - then compressionMinSize can't be checked to see if compression can be done. And then compression will be done based on the client input headers. -Tim wakeup wrote: Hi, I have an apache tomcat 5.5.17. In my server.xml file I have put Connector port=8080 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 connectionTimeout=2 disableUploadTimeout=true compression=on *compressionMinSize=2048000 * noCompressionUserAgents=gozilla, traviata compressableMimeType=text/html,text/xml,text/plain,application/dime / It run sucessfull with normal html tomcat pages. But when I ask to axis 1.4 webservices it always compress the response althought it be less than 1kb. Why axis don't respect compressionMinSize parameter? Thanks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IIS 6.0 with JK 1.2.19
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Sorry for the errors on there, and obviously causing you problems. I've fixed the worker(s).properties error. I also fixed the uriworkermap.properties, according to the resolution described below. I blindly assumed that this web page was clean but it is full of errors. Please report these errors to me, and I will fix the docs, and together we'll make the world a better place to live in. best regards, - -reynir Fisher, Mitchell L wrote: Yes, thank you. The problem with not being able to access the worker.properties file is also another error with http://reynir.net/java/greinar/nr/52/ath. That page recommends creating a registry entry of ...\worker.properties, but says create the file as workerS.properties. Fixing the registry entry fixed the problem. I blindly assumed that this web page was clean but it is full of errors. I have gotten past the errors, but all requests get back a 404. I can't see any evidence in the iis_redirect.log or a network monitor that it ever opened a connection to the remote tomcat. I have tried both a domain name and IP address for the host setting. Should I see something in the log? For a request to http://localhost/index.jsp what I see in the log is: [debug] jk_isapi_plugin.c (785): Filter started [debug] jk_isapi_plugin.c (852): Virtual Host redirection of /localhost/index.jsp [debug] jk_uri_worker_map.c (513): Attempting to map URI '/localhost/index.jsp' from 3 maps [debug] jk_uri_worker_map.c (525): Attempting to map context URI '/servlet/*' [debug] jk_uri_worker_map.c (525): Attempting to map context URI '/servlet/' [debug] jk_uri_worker_map.c (525): Attempting to map context URI '/*.jsp' [debug] jk_uri_worker_map.c (539): Found a wildchar match main - /*.jsp [debug] jk_isapi_plugin.c (869): check if [/index.jsp] is points to the web-inf directory [debug] jk_isapi_plugin.c (887): [/index.jsp] is a servlet url - should redirect to main Mitchell Fisher | Unisys Corp., ST, ClearPath MCP | Net 385-3450 External 610-648-3450 Fax 610-695-5060 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. -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 4:10 PM To: Tomcat Users List Subject: Re: IIS 6.0 with JK 1.2.19 I'm not sure about the iis redirect, but in general mod_jk only permitts patterns with a leading slash /. So please try /*.jsp. Regards, Rainer Fisher, Mitchell L schrieb: There is no problem with the missing arrow. http://support.microsoft.com/kb/317204/en-us says: In Internet Information Services (IIS) 6.0, an ISAPI filter that has been added at the site level does not load until the Web server has served at least one request to that site. Once I made a request to the site, I got my green arrow. I used the Default Web Site for the filter, and not the enclosing Web Sites folder. Although, when I rebooted and before making another request, I got the green arrow anyway. I am however getting errors in the iis_redirect.log: [error] jk_uri_worker_map.c (322): invalid context *.jsp [error] jk_uri_worker_map.c (615): invalid mapping rule *.jsp-main [emerg] jk_isapi_plugin.c (1253): Unable to read worker file C:\Inetpub\wwwroot\tomcat\conf\worker.properties. I changed permissions for the \conf folder as I did for \logs and \bin\native below, rebooted, and still get this [emerg] error. Ideas? Mitchell Fisher | Unisys Corp., ST, ClearPath MCP | Net 385-3450 External 610-648-3450 Fax 610-695-5060 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. -Original Message- From: Fisher, Mitchell L [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 2:36 PM To: Tomcat Users List Subject: RE: IIS 6.0 with JK 1.2.19 Turk, Mladen wrote: One of the problems can be caused by the access rights for the folder having isapi_redirect.dll Also the IIS process must have full access rights to logs folder. I changed security of \tomcat\bin\native \tomcat\logs to: . IIS_WPG to Allow Full Control . Internet Guest Account to Allow Full Control . Users to Allow Full Control Restarted IIS and no change. Is this what you meant? I have not created a log file in the logs folder. Sometimes the IIS Metabase can get corrupted. Use the IIS MetabaseExplorer from: http://www.ripcordsoftware.com/IISMetabaseExplorer/Default.aspx http://www.ripcordsoftware.com/IISMetabaseExplorer/Default.aspx and remove any duplicate Filter entries for jakarta if they
Re: tomcat doesn't reload my classes
On the outset, looks good to me. Can you confirm the location of your new class files are where they belong inside of WEB-INF/classes of the webapp? Are there any logging messages that might suggest tomcat isn't reading classes from the expected location? This comment has nothing to do with your problem, just an observation. The mysql driver name org.gjt.mm.mysql.Driver is very old and kept only for compatibility reasons. The driver location is currently at com.mysql.jdbc.Driver. --David Alessandro Ilardo wrote: Hi there, on a remote tomcat 5.5 webserver we uploaded new .class files, we reloaded at least three times trough the manager but anytime we test it, looks like the old files are still running. The META-INF folder contain the following context.xml configuration file: Context path= docBase=/home/virtual/*/fst/var/www/html/tomcat/ debug=0 reloadable=true Realm className=org.apache.catalina.realm.JDBCRealm debug=0 digest=MD5 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://*** userTable=user userNameCol=user userCredCol=password userRoleTable=role roleNameCol=role/ /Context which it seems be ok. Any help are welcome, thanks in advance. Alessandro ilardo - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat doesn't reload my classes
Your suggestion is appreciated, all my webapp implement the driver you've suggested, but regarding the Realm configuration I preferred follow the tomcat docs which says: The fully qualified Java class name of this Realm implementation. You *MUST* specify the value |org.apache.catalina.realm.JDBCRealm| here. (see http://tomcat.apache.org/tomcat-5.0-doc/realm-howto.html). back to my problem: I discovered that the kindly network administrator had configured two tomcat instances, one working with apache connector for the normal http request and the other on a different port for the ssl. Both instances get the classes from the same directory, but apparently on the one set for the ssl, reload attribute was disabled for some how. In another words it means that each time I reloaded the tomcat I only did it for the http connection. I have to say that I didn't have an easy life with Apache http connector and Tomcat, especially for what regards ssl. I believe that for future I'll opt for using tomcat as standalone webserver which to serve html pages too, instead to lose working days again. Thanks for your help David Smith ha scritto: On the outset, looks good to me. Can you confirm the location of your new class files are where they belong inside of WEB-INF/classes of the webapp? Are there any logging messages that might suggest tomcat isn't reading classes from the expected location? This comment has nothing to do with your problem, just an observation. The mysql driver name org.gjt.mm.mysql.Driver is very old and kept only for compatibility reasons. The driver location is currently at com.mysql.jdbc.Driver. --David Alessandro Ilardo wrote: Hi there, on a remote tomcat 5.5 webserver we uploaded new .class files, we reloaded at least three times trough the manager but anytime we test it, looks like the old files are still running. The META-INF folder contain the following context.xml configuration file: Context path= docBase=/home/virtual/*/fst/var/www/html/tomcat/ debug=0 reloadable=true Realm className=org.apache.catalina.realm.JDBCRealm debug=0 digest=MD5 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://*** userTable=user userNameCol=user userCredCol=password userRoleTable=role roleNameCol=role/ /Context which it seems be ok. Any help are welcome, thanks in advance. Alessandro ilardo - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- gent Alessandto Ilardo [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] NEVENT srl Via Giardini 456/C - 41100 MODENA Tel. 059.2929413 - Fax 059.2920320 www.nevent.it http://www.nevent.it [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Response already committed
On 03 October 2006, Dan Adams said: Hmm, I don't think that is the culprit. I think all of our stuff is thread safe. We're using a framework (Tapestry) which shields us from threading issues like that and prevents us from storing request stuff in the session. Also, if that were the case would that cause problems when loading static files? I don't think so. We have occasionally seen response not committed errors with our Tapestry-based app. I suspect it's a subtle bug in our code that we haven't tracked down yet. You might ask on the Tapestry list for advice. Also, we are using a filter which when it tries to do a redirect will throw an error complaining about this so this happens way before our app ever gets to do anything: I don't understand that paragraph, but you might try disabling that filter and seeing if the problem goes away (assuming you can reproduce in non-production environment). Greg - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Response already committed
Another thought to consider: a redirect does not stop processing on the current request. If you call a redirect in a filter and don't return immediately, this condition can occur. --David Greg Ward wrote: On 03 October 2006, Dan Adams said: Hmm, I don't think that is the culprit. I think all of our stuff is thread safe. We're using a framework (Tapestry) which shields us from threading issues like that and prevents us from storing request stuff in the session. Also, if that were the case would that cause problems when loading static files? I don't think so. We have occasionally seen response not committed errors with our Tapestry-based app. I suspect it's a subtle bug in our code that we haven't tracked down yet. You might ask on the Tapestry list for advice. Also, we are using a filter which when it tries to do a redirect will throw an error complaining about this so this happens way before our app ever gets to do anything: I don't understand that paragraph, but you might try disabling that filter and seeing if the problem goes away (assuming you can reproduce in non-production environment). Greg - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CGI vs SMTP vs Tomcat
--- HALSTEAD SGT WARREN F [EMAIL PROTECTED] wrote: Good Afternoon, I am running Tomcat 5 with CGI enabled. I am attempting to use Net::SMTP to send e-mail, and it works fine from the command line, but not running as a CGI script. I have scoured the internet and found other people with this problem, but the derisive answer to their pleas for help has been Write it in Java dummy! I do not have that option, and so I must ask if there is some security function in Tomcat or a workaround, that allows perl CGI scripts to make a socket connection to port 25 of another server. Thank you for your help in this matter. If you feel any other details are required to troubleshoot my problem, please feel free to contact me and ask. Very Respectfully, ~Sgt Halstead 15th MEU USMC On the same machine running your CGI script from the command line and setting up the appropriate env variables does it work, or using the same code and using command line application does it work? There should be no difference. The CGI module will have to run it as a normal CGI, and java definitely has no firewall or blocking capabilities unless someone codes them and starts them. It sounds like something else on the system or a script error to me. Wade - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat doesn't reload my classes
--- Alessandro Ilardo [EMAIL PROTECTED] wrote: back to my problem: I discovered that the kindly network administrator had configured two tomcat instances, one working with apache connector for the normal http request and the other on a different port for the ssl. Both instances get the classes from the same directory, but apparently on the one set for the ssl, reload attribute was disabled for some how. In another words it means that each time I reloaded the tomcat I only did it for the http connection. Not sure why he had two instances for HTTPS vs HTTP. Apache filters out the encryption and passes off to Tomcat, so you should only have had to have Apache with the certificate installed, one tomcat instance (or multiple workers for session sharing), and there you go. Bad configuration. I have to say that I didn't have an easy life with Apache http connector and Tomcat, especially for what regards ssl. I believe that for future I'll opt for using tomcat as standalone webserver which to serve html pages too, instead to lose working days again. Yes if you are not going to use any Apache modules for anything it is a good option to just use Tomcat. I have a server running pure Tomcat, and I've had no problems, though once you have the connector and SSL setup for Apache there really isn't anything different from a plain install. What problems have you had really? Wade - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
specify filter in server.xml
Hi, I would like to add a filter to server.xml, to have a server-wide-filter, but it doesn't seem to be registered. It works fine if I put it in any-webapp/WEB-INF/web.xml or in $CATALINA_HOME/conf/web.xml, but it doesn't work if I put it in server.xml? Exact where in server.xml should I specify it? Any help appreciated /magnus - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: specify filter in server.xml
Magnus Bergman wrote: Hi, I would like to add a filter to server.xml, to have a server-wide-filter, but it doesn't seem to be registered. It works fine if I put it in any-webapp/WEB-INF/web.xml or in $CATALINA_HOME/conf/web.xml, but it doesn't work if I put it in server.xml? Exact where in server.xml should I specify it? If you put it in conf/web.xml it will be applied to all deployed applications. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Question
QUMAS is the only global compliance company offering a complete solution to regulated industries. Recognized as the world leader in Enterprise Compliance Management. 8 Website: www.qumas.com * Address:Cleve Business Park, Monahan Road, Cork, Ireland (Office:+353-21-491 5100 +177 ( Fax: +353-21-432 0394 From: Miriam Keating Sent: 05 October 2006 17:02 To: 'users@tomcat.apache.org' Subject: FW: Question Importance: High QUMAS is the only global compliance company offering a complete solution to regulated industries. Recognized as the world leader in Enterprise Compliance Management. 8 Website: www.qumas.com * Address:Cleve Business Park, Monahan Road, Cork, Ireland (Office:+353-21-491 5100 +177 ( Fax: +353-21-432 0394 From: Miriam Keating Sent: 05 October 2006 16:59 To: 'users@tomcat.apache.org' Subject: Question Importance: High To whom it may concern, I am connecting to LDAP using Tomcat 5.5.12 and everything is fine. However, when I change over to Tomcat 5.5.16, I can no longer connect to LDAP because of a binding error. The error I see is included in this email. The cause of my problem is due to a change made to the JNDIRealm class, the getUserByPattern(). The change made ( I dont think) has not been documented in the change log html. Two lines of code have been removed from the above class and method. Basically, can you tell me why the change was made and also can you tell me is there a complimentary change I need to make to my code, to get the LDAP to work. Any help you can give me would be really appreciated. Regards Miriam QUMAS is the only global compliance company offering a complete solution to regulated industries. Recognized as the world leader in Enterprise Compliance Management. 8 Website: www.qumas.com * Address:Cleve Business Park, Monahan Road, Cork, Ireland (Office:+353-21-491 5100 +177 ( Fax: +353-21-432 0394 [05/Oct/2006 15:40:35 IST] ERROR [/qprocess]:837 - Exception performing authentication javax.naming.NamingException: [LDAP: error code 1 - : LdapErr: DSID-0C0905FF, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece remaining name 'qtest\fmccarthy' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3025) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737) at com.sun.jndi.ldap.LdapCtx.c_getAttributes(LdapCtx.java:1291) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:213) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:121) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:109) at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:123) at org.apache.catalina.realm.JNDIRealm.getUserByPattern(JNDIRealm.java:992) at org.apache.catalina.realm.JNDIRealm.getUser(JNDIRealm.java:956) at org.apache.catalina.realm.JNDIRealm.authenticate(JNDIRealm.java:882) at org.apache.catalina.realm.JNDIRealm.authenticate(JNDIRealm.java:808) at org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:180) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: specify filter in server.xml
You don't, you were right when you put it in $CATALINA_HOME/conf/web.xml -Tim Magnus Bergman wrote: Hi, I would like to add a filter to server.xml, to have a server-wide-filter, but it doesn't seem to be registered. It works fine if I put it in any-webapp/WEB-INF/web.xml or in $CATALINA_HOME/conf/web.xml, but it doesn't work if I put it in server.xml? Exact where in server.xml should I specify it? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Question
Hi Miriam, We had the same problem here. Our LDAP authentication was working up to version 5.5.12 but broke on anything above it. I finally got it fixed and I'll show you what we had previously and what we have now. WORKED WITH 5.5.12 AND BELOW: Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionName=uid=xxx,ou=users,dc=bc,dc=com connectionPassword=passwd connectionURL=ldap://ldap.bc.com; roleBase= roleName=cn roleSearch=(uniqueMember={0}) roleSubtree=true userPattern=uid={0},ou=users,dc=bc,dc=com userSearch=(uid={0}) userSubtree=true / WORKS WITH LATEST TOMCAT: Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionName=uid=xxx,ou=users,dc=bc,dc=com connectionPassword=passwd connectionURL=ldap://ldap.bc.com; roleBase=ou=roleBase,dc=bc,dc=com roleName=cn roleSearch=(uniqueMember={0}) roleSubtree=true userBase=ou=Users,dc=bc,dc=com userSearch=(uid={0}) / From: Miriam Keating [mailto:[EMAIL PROTECTED] Sent: Thursday, October 05, 2006 10:03 AM To: users@tomcat.apache.org Subject: FW: Question Importance: High QUMAS is the only global compliance company offering a complete solution to regulated industries. Recognized as the world leader in Enterprise Compliance Management. * Website: www.qumas.com BLOCKED::http://www.qumas.com/ * Address: Cleve Business Park, Monahan Road, Cork, Ireland * Office: +353-21-491 5100 +177 * Fax: +353-21-432 0394 From: Miriam Keating Sent: 05 October 2006 17:02 To: 'users@tomcat.apache.org' Subject: FW: Question Importance: High QUMAS is the only global compliance company offering a complete solution to regulated industries. Recognized as the world leader in Enterprise Compliance Management. * Website: www.qumas.com BLOCKED::http://www.qumas.com/ * Address: Cleve Business Park, Monahan Road, Cork, Ireland * Office: +353-21-491 5100 +177 * Fax: +353-21-432 0394 From: Miriam Keating Sent: 05 October 2006 16:59 To: 'users@tomcat.apache.org' Subject: Question Importance: High To whom it may concern, I am connecting to LDAP using Tomcat 5.5.12 and everything is fine. However, when I change over to Tomcat 5.5.16, I can no longer connect to LDAP because of a binding error. The error I see is included in this email. The cause of my problem is due to a change made to the JNDIRealm class, the getUserByPattern(). The change made ( I don't think) has not been documented in the change log html. Two lines of code have been removed from the above class and method. Basically, can you tell me why the change was made and also can you tell me is there a complimentary change I need to make to my code, to get the LDAP to work. Any help you can give me would be really appreciated. Regards Miriam QUMAS is the only global compliance company offering a complete solution to regulated industries. Recognized as the world leader in Enterprise Compliance Management. * Website: www.qumas.com BLOCKED::http://www.qumas.com/ * Address: Cleve Business Park, Monahan Road, Cork, Ireland * Office: +353-21-491 5100 +177 * Fax: +353-21-432 0394
Re: Problem: Tomcat server hang because CPU goes to 100%
Thank you very much Praveen Balaji. Tu On 10/4/06, Praveen Balaji [EMAIL PROTECTED] wrote: Check how Heinz would do it: http://www.javaspecialists.co.za/archive/newsletter.do?issue=132locale= en_US -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 2:56 PM To: Tomcat Users List Subject: Re: Problem: Tomcat server hang because CPU goes to 100% create a thread dump (kill -QUIT pid) and look for the thread that hangs. then fix the bug :-) regards Leon On 10/4/06, Minh Tu Thanh Tran [EMAIL PROTECTED] wrote: Dear friends, When I click on different links or button in my jsp page quickly, normally everythings is ok but sometime the tomcat server hang, it can not response to the requests anymore because the CPU goes to 100% If I publish my website, and when it may happens again the CPU goes to 100% long enough to break down the CPU. That would be terrible. Does anyone know any reason that may cause the CPU runs to 100% like this? Seconds, is there any java method that can take care the CPU and he can shut down or start up the tomcat server if needed? Many thanks, Tu - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem: Tomcat server hang because CPU goes to 100%
Hi Leon Rosenberg, Do you have the sample code like what you show me? I would be much graceful if you could send me some more code on this matter. Thank you very much Tu On 10/4/06, Leon Rosenberg [EMAIL PROTECTED] wrote: create a thread dump (kill -QUIT pid) and look for the thread that hangs. then fix the bug :-) regards Leon On 10/4/06, Minh Tu Thanh Tran [EMAIL PROTECTED] wrote: Dear friends, When I click on different links or button in my jsp page quickly, normally everythings is ok but sometime the tomcat server hang, it can not response to the requests anymore because the CPU goes to 100% If I publish my website, and when it may happens again the CPU goes to 100% long enough to break down the CPU. That would be terrible. Does anyone know any reason that may cause the CPU runs to 100% like this? Seconds, is there any java method that can take care the CPU and he can shut down or start up the tomcat server if needed? Many thanks, Tu - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A question.
On Wed, 2006-10-04 at 09:05 -0600, [EMAIL PROTECTED] wrote: Hi, there I've been experiencing some troubles in my apache-tomcat, I have a Open Enterprise Server with IDM from Novell, so I try to install the Net Storage services, but to manage these I have to use the iManager web page, but there is something strange everytime I try to reache that page it gives me a 500 error, from Novell they all told me Tomcat s not fully initialized after a reboot, or has failed to start, so I go to the directory and it says to me, everything is working fine, can anybody elp me? In advance thank you. Gustavo Ezquerro Morales I don't think you have provided enough information about the problem. Is iManager web page not accessible? Check the logs, perhaps you have left some details out. -- Darek Czarkowski darekc at infinitesource dot ca - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A question.
The exact problem is that the logs it's not telling me anything at all, so the iManager web page gives me the 500 error, so I can give any more information. Thank you. Darek Czarkowski [EMAIL PROTECTED] 05/10/2006 11:57 a.m. Por favor, responda a Tomcat Users List users@tomcat.apache.org Para Tomcat Users List users@tomcat.apache.org cc Asunto Re: A question. On Wed, 2006-10-04 at 09:05 -0600, [EMAIL PROTECTED] wrote: Hi, there I've been experiencing some troubles in my apache-tomcat, I have a Open Enterprise Server with IDM from Novell, so I try to install the Net Storage services, but to manage these I have to use the iManager web page, but there is something strange everytime I try to reache that page it gives me a 500 error, from Novell they all told me Tomcat s not fully initialized after a reboot, or has failed to start, so I go to the directory and it says to me, everything is working fine, can anybody elp me? In advance thank you. Gustavo Ezquerro Morales I don't think you have provided enough information about the problem. Is iManager web page not accessible? Check the logs, perhaps you have left some details out. -- Darek Czarkowski darekc at infinitesource dot ca - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ Correo revisado por la proteccion perimetral antivirus de CFE.
Re: CGI vs SMTP vs Tomcat
Dave and crew- Its Like anything else ...the solution will be that more expensive .. Your battle plan should include looking into exec/spawn/system call function(s) Long and short is you can probably exec a telnet to WhateverMailServer on Port 25 and issue SMTP commands from the exec'ed shell (At least this is what us old timers did in the old days..) Anyone else? M- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: David Smith [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, October 05, 2006 5:08 AM Subject: Re: CGI vs SMTP vs Tomcat Really?! I've been on this list for a while and do not recall such derisive comments. Perhaps a more optimistic approach would help. As to the problem, I don't use the setup you are attempting, so you are going to have to help with some more info. Specifically a code example and logs for the moment when the connection is attempted. Further, some information regarding the environment would also be helpful -- security settings, etc., ... It may be that the CGI is relying on environment variables that aren't available to the tomcat service. --David HALSTEAD SGT WARREN F wrote: Good Afternoon, I am running Tomcat 5 with CGI enabled. I am attempting to use Net::SMTP to send e-mail, and it works fine from the command line, but not running as a CGI script. I have scoured the internet and found other people with this problem, but the derisive answer to their pleas for help has been Write it in Java dummy! I do not have that option, and so I must ask if there is some security function in Tomcat or a workaround, that allows perl CGI scripts to make a socket connection to port 25 of another server. Thank you for your help in this matter. If you feel any other details are required to troubleshoot my problem, please feel free to contact me and ask. Very Respectfully, ~Sgt Halstead 15th MEU USMC - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Filter Not Retro Active
I am using a filter to set the content type and header to to force downloading of linked files, so that they open with their registered app instead of within IE. I am doing this with the following code: response.setContentType(application/octet-stream); response.setHeader(Content-Disposition,attachment; filename= + fileName); It is working great for files uploaded to the server after the changes. But files uploaded before the changes are still either opening in the web browser using the apps plugin or displaying directly in the web browser usually as jumbled binary. I was wondering why this is happening? I thought the filter was to apply at run time, so when the file is being downloaded, and thus should open as the newly upload files do. Thanks for the help. Joe -- View this message in context: http://www.nabble.com/Tomcat-Filter-Not-Retro-Active-tf2391606.html#a6667835 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat not passing resources to my filters
Okay, I just set up a new tomcat with the latest version (5.5.20). My webapp is using urlrewritefilter. Whenever I request a url the filter will output what it's doing to the log even if it doesn't end up doing anything with a url. I've got this down to a base test case and what's happening is that if I request a url that does not end in .html then urlrewritefilter is called during the request and can do it's thing. But if the file ends .html then tomcat serves up the file as-is and the filter never even gets called. Is this something new? This seems to be something that has changed since 5.5.17 because it didn't do this then. Anyone have any ideas? -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How To: Postgresql XA Datasource
Hi, I'm trying to create a XA datasource as resource in my context.xml file. Can one of you tell me how can I do that, I don't find any documentation on the matter. I use Postgresql 8.1.4 with the latest production driver. This version supports XA Data Source and they have a class for that PGXADataSource. Any idea will be highly appreciated! MC - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Filter Not Retro Active
Could it be that the old files are already cached by the browser? Try clearing the browser's cache, and put some logging in your filter so you can see if the filter is actually executed when you request a file. -- Len On 10/5/06, Threepwood [EMAIL PROTECTED] wrote: I am using a filter to set the content type and header to to force downloading of linked files, so that they open with their registered app instead of within IE. I am doing this with the following code: response.setContentType(application/octet-stream); response.setHeader(Content-Disposition,attachment; filename= + fileName); It is working great for files uploaded to the server after the changes. But files uploaded before the changes are still either opening in the web browser using the apps plugin or displaying directly in the web browser usually as jumbled binary. I was wondering why this is happening? I thought the filter was to apply at run time, so when the file is being downloaded, and thus should open as the newly upload files do. Thanks for the help. Joe -- View this message in context: http://www.nabble.com/Tomcat-Filter-Not-Retro-Active-tf2391606.html#a6667835 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Filter Not Retro Active
Thanks mate, appears that it was a browser caching issue. Joe Len Popp wrote: Could it be that the old files are already cached by the browser? Try clearing the browser's cache, and put some logging in your filter so you can see if the filter is actually executed when you request a file. -- Len On 10/5/06, Threepwood [EMAIL PROTECTED] wrote: I am using a filter to set the content type and header to to force downloading of linked files, so that they open with their registered app instead of within IE. I am doing this with the following code: response.setContentType(application/octet-stream); response.setHeader(Content-Disposition,attachment; filename= + fileName); It is working great for files uploaded to the server after the changes. But files uploaded before the changes are still either opening in the web browser using the apps plugin or displaying directly in the web browser usually as jumbled binary. I was wondering why this is happening? I thought the filter was to apply at run time, so when the file is being downloaded, and thus should open as the newly upload files do. Thanks for the help. Joe -- View this message in context: http://www.nabble.com/Tomcat-Filter-Not-Retro-Active-tf2391606.html#a6667835 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Tomcat-Filter-Not-Retro-Active-tf2391606.html#a6669356 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat installation issue on AIX
Abhishek, where will i get the GNU compatible version of TAR Sorry nobody answered this for you, although the answer should be entirely obvious. Googling for gnu tar yields this page as the first link: http://www.gnu.org/software/tar/ I wouldn't recommend downloading the tar'd version of the source, since I'm sure you need gnu tar to download it (what a cruel joke). Stick with the shar file instead. Another option is to ask your local system administrator. That person ought to know how to get gnu tar going on your AIX box. -chris NB: I have a friend working on a 64-bit AIX box that was having problems opening a file bigger than 2GB (it was 55GB) using IBM's JVM. Apparently, IBM's 32-bit JVM can't open large files on AIX, so you have to switch to the 64-bit JVM. Just thought I'd put that out there. signature.asc Description: OpenPGP digital signature
Re: HOWTO disable Tomcat from caching dynamic picture
John, I have a servlet, namely BMPImageViewer, which retrieves a BMP image from database with conversion into PNG format via JAI. The servlet is referenced in XSL-FO for PDF generation. Do you use Cocoon or something similar to do the XSL-FO-PDF conversion? If so, do you have caching turned on in that pipeline? Just a thought. -chris signature.asc Description: OpenPGP digital signature
Re: extending JDBCRealm
Magnus, Check out Securityfilter: http://securityfilter.sourceforge.net/ I have submitted patches and sample (check the forums) that include the ability to get access to the IP, etc. My app currently logs successful and failed login attempts. As for logging the user in... that's not really part of authentication or authorization, is it? I maintain that logic such as that should not be in the component that is doing your AAA. What I have done is create a Filter that checks to see if the user's session contains my own user object. If not, I log them in and stick their user object into the session. This setup (including Securityfilter) is completely portable across app servers if you find yourself in the unfortunate situation of having to switch. -chris Magnus Bergman wrote: Hi, I'm using the JDBCRealm to authorize users to access my applications. I would like to log users when they login or tries to login to any application on my tomcat, to do this I have extended the JDBCRealm and overridden the authenticate-methods, by this I can log when and which user login to any application on my tomcat, but I also want to log which host/ip-number they login from? I know that information is in the HttpServletRequest, but how do I get hold of that information in my extended JDBCRealm? Or maybe there is a better way to solve this? /magnus - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] signature.asc Description: OpenPGP digital signature
Re: Tomcat Filter Not Retro Active
Joe, Thanks mate, appears that it was a browser caching issue. Whoops ;) Also, please note that MSIE is a steaming pile of dung when it comes to content-type headers. http://ppewww.ph.gla.ac.uk/~flavell/www/content-type.html and more importantly: http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.asp Quick recap: MSIE always ignores your content-type and tries to guess what it is based upon the content. (See step #2 in the MSDN article). -chris signature.asc Description: OpenPGP digital signature
AW: error while running a webapp
Thanks for your hint. The PDF can be reached at: http://www.tv-wetzlar-badminton.de/errorMessageTomcat.pdf the code from the Method conOK: public boolean conOK(int pointer) { PreparedStatement pstmt = null; try { pstmt = con[pointer].prepareStatement(SELECT * FROM kostensaetze); pstmt.executeQuery(); } catch (Exception e) { return false; } finally { try { if (pstmt != null) pstmt.close(); } catch (Exception e) {} } return true; } This method should test if the connection is still ok. I hope someone can help me. tia, Oli PS: I think the DB close the connection while the tomcat is running and I don't know (at my Connection-Pool) how to know when that happened. Because isClosed() don’t care about that problem. :-( -Ursprüngliche Nachricht- Von: Propes, Barry L [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 4. Oktober 2006 23:27 An: Tomcat Users List; [EMAIL PROTECTED] Betreff: RE: error while running a webapp pdf didn't come through. -Original Message- From: Oliver Wagner [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 4:21 PM To: users@tomcat.apache.org Subject: error while running a webapp Hello, I wrote a web application (JSPs, Beans, JDBC and MYSQL) and use the tomcat container. But if the container runs a while the strange error occurs. I don't know how to solve this problem. While the problem occurs the other web applications are still running without a problem. After a restart of the tomcat-Container the problem is gone and the web application (with the problem before) works again - but some hours later the error comes again. I attached the message as a pdf-File and hope someone can help me to solve the problem, because I don't have any ideas anymore. Tia and greets Oli - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error while running a webapp
On 10/5/06, Oliver Wagner [EMAIL PROTECTED] wrote: I think the DB close the connection while the tomcat is running and I don't know (at my Connection-Pool) how to know when that happened. set autoReconnect=true in your driver config, or catch the exception when the timeout occurs and retry connecting to see if it's a simple timeout/transient failure or something more persistent. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem Integrating Tomcat5.x with Apache2.x using mod_jk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi there, I'm trying to integrate Apache2.0.55 with Tomcat5.5 using mod_jk. I did the following but failed to achieve what I want. WinXP Professional SP2 Apache2.0.55 Tomcat5.5.17 My Apache and Tomcat servers are working fine. http://localhost/ gives me Apache Welcome Page and http://localhost:8080/ gives me Tomcat Welcome Page. I downloaded the mod_jk-apache-2.0.55.so, renamed it to mod_jk.so and copied to Apache's modules/ folder. Then I edit the server.xml in Tomcat's conf/ folder and added the line below. engine --- ... Listener className=org.apache.jk.config.ApacheConfig modJk=c:/PROGRA~/APACHE~/apache2/modules/mod_jk.so / ... /engine Then I restarted the Tomcat. This has generated a folder auto/ in the Tomcat's conf/ folder and a configuration file mod_jk.conf in the auto/ folder. And then at the end of Apache's configuration file httpd.conf I have added: Include C:/tomcat/Tomcat 5.5/conf/auto/mod_jk.conf then I have tested if very thing is fine in httpd.conf by typing apache -t at the command prompt. This has gave me the following error: C:\Program Files\Apache Group\Apache2\binapache -t Syntax error on line 4 of C:/Program Files/Apache Group/Apache2/conf/mod_jk.conf : Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_jk.so into server: The specified module could not be found. And then i couldn't start the Apache server again. Could any one please help me to bring up everything works fine. regd chez. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFJntdTcOHDeUoJQURAqCAAJ46ye8mlOyMeef3Bb/Mjps/+EDaoACfV0ER n7d0x5sy943pe697NPluLPE= =tEqh -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
apache+ssl with tomcat ..
Hi Gurus... Can any one tell me how to integrate apache+ssl, with tomcat. I have apache Apache/2.0.59 (Win32) mod_ssl/2.0.59 OpenSSL/0.9.8b mod_jk/1.2.19 . http://server_name/jsp-examples is working fine, now i configured apache for ssl, https://server_name is working fine. How do i configure apache/ tomcat so that i https://server_name/jsp-examples starts working. Thanks -Sid - Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail.
Re: Can not expand the .war file
Update/Summary: It was a permission issue as we're running Tomcat under a different (non-root) user. The permission/ownership issue was with the 'webapps' directory. Farid On Fri, 29 Sep 2006, Farid Hamjavar wrote: Date: Fri, 29 Sep 2006 17:22:35 -0600 (MDT) From: Farid Hamjavar [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Subject: Can not expand the .war file Redhat AS 3 Tomcat 5.0.28 Hello, I verified ('tar xvf' or 'jar tvf') my .war file is not corrupted. Any ideas as what might be causing this when I try to expand the .war file ? From catalina.out: WARNING: Exception while expanding web application archive myapp.war Thanks, Farid - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]