Re: mod_jk for OS X PPC
On Feb 4, 2008, at 5:29 AM, [EMAIL PROTECTED] wrote: See Thread at: http://www.techienuggets.com/Detail?tx=16694 Posted on behalf of a User hi. i have an iphone and i try to downgrade it with ibrickr. it seems to work but i have a big problem. your program is start running stops and restart iphone. i dont know what to do. please help me . thanks loizos In Response To: Hi. I'm a developer of a JBoss/Tomcat app. I work on a Mac. I upgraded my Mac's OS on Saturday to OS X 10.5 (Leopard). Prior to the upgrade I was using the version of Apache that came with 10.4, which I think was 1.3. Apple is shipping 2.2.6 with 10.5. They don't include the mod_jk module built for the OS with the non-server version of the OS. (I guess they might with the server version, I'm not sure.) Anyway, I need mod_jk in order for Apache to talk to Tomcat, so I went to the Tomcat Connectors pages and found that mod_jk is only available in an x86 version as a binary. So I downloaded the source, installed the XCode tools so that I could try to compile it. I'm unable to find apxs2 on my hard drive, but I have a apxs file in my /usr/sbin directory, so I thought I would try to build using: ./configure --with-apxs=/usr/sbin/apxs When I install the resultant mod_jk.so, Apache complains that it found mod_jk mach-o, but it is for the wrong architecture. If anyone has already done this, I'd love to hear from you. Thank you, Richard Hundreds of times I've build it and it always works for me. Try the following flag --with-apxs2=/usr/sbin/apxs Also you have to build for x86_64 since apache is running in 64bit in 10.5? - To start a new topic, e-mail: [EMAIL PROTECTED] 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] -- Dale PGP.sig Description: This is a digitally signed message part
Re: Need help with multiple sites in server.xml file, almost there but not quite!
bump -- View this message in context: http://www.nabble.com/Need-help-with-multiple-sites-in-server.xml-file%2C-almost-there-but-not-quite%21-tp15217741p15372039.html 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: Need help with multiple sites in server.xml file, almost there but not quite!
bump? anyone? - 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: Need help with multiple sites in server.xml file, almost there but not quite!
bump what? your message starts here charley wrote: bump? anyone? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] and ends here the list footer is self explanatory, so i'm not sure what you want help with. p - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can Tomcat support multiple SSL certificates for multiple domains?
Hi, I have one JBoss instance (4.0.5GA) running on Linux. The machine has one IP with two domains. www.domain1.com www.domain2.com I have two SSL certificates, one for each domain, imported into keystore. I need to use both without any warnings from browser https://www.domain1.com https://www.domain2.com Can Tomcat pick the right certificate based on current domain name? But according to http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html keyAlias Add this element if your have more than one key in the KeyStore. If the element is not present the first key read in the KeyStore will be used. How to work around this? Thanks for help! Dave - Looking for last minute shopping deals? Find them fast with Yahoo! Search.
Re: Can Tomcat support multiple SSL certificates for multiple domains?
Dave wrote: Hi, I have one JBoss instance (4.0.5GA) running on Linux. The machine has one IP with two domains. www.domain1.com www.domain2.com I have two SSL certificates, one for each domain, imported into keystore. I need to use both without any warnings from browser https://www.domain1.com https://www.domain2.com Can Tomcat pick the right certificate based on current domain name? But according to http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html keyAlias Add this element if your have more than one key in the KeyStore. If the element is not present the first key read in the KeyStore will be used. How to work around this? Thanks for help! Dave Refer to the following link: http://marc.info/?l=tomcat-userm=120239893800741w=2 For additional info: http://marc.info/?l=tomcat-userw=2r=1s=sslq=b -- Regards Gabe Wong NGASI AppServer Manager JAVA AUTOMATION and SaaS Enablement a href=http://www.ngasi.comhttp://www.ngasi.com/a NEW! 8.0 - Centrally manage multiple physical servers - 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: [Eclipse-Tomcat] Problem by deploying from Eclipse to Tomcat
Hello, do you have the servlet-api-2.x.jar (or similar) loaded using the Eclipse Project Properties? What is in the Eclipse Libraries tab? Run jarscan to see where your (assuming .war) is picking up the the package and class. Are you exporting a .war from Eclipse? What is your Eclipse JavaBuilder properties? Are you working strictly from the WorkSpace? Is the target server remote or localhost? Thomas Chang wrote .. Hi all, I am not sure if I should put my question here. But I can't google out the right place. Hope someone here can help. :-) I built a web-app and can deploy it successfully from Tomcat Manager. But as I deploy it from the Eclipse, I get the following exception. P.S.: I use Eclipse 3.4 and the WTP package. Regards Thomas SCHWERWIEGEND: Error configuring application listener of class org.springframework.web.context.request.RequestContextListener java.lang.NoClassDefFoundError: javax/servlet/ServletRequestListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) 09.02.2008 20:57:23 org.apache.catalina.core.StandardContext listenerStart - E-Mails jetzt auf Ihrem Handy.. - 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: [Eclipse-Tomcat] Problem by deploying from Eclipse to Tomcat
The missing class: javax/servlet/ServletRequestListener occurs in servlet-api.jar which appears to be missing in your configuration. The best place for it is in Tomcat's common/lib. -Ken Thomas Chang wrote: Hi all, I am not sure if I should put my question here. But I can't google out the right place. Hope someone here can help. :-) I built a web-app and can deploy it successfully from Tomcat Manager. But as I deploy it from the Eclipse, I get the following exception. P.S.: I use Eclipse 3.4 and the WTP package. Regards Thomas SCHWERWIEGEND: Error configuring application listener of class org.springframework.web.context.request.RequestContextListener java.lang.NoClassDefFoundError: javax/servlet/ServletRequestListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) 09.02.2008 20:57:23 org.apache.catalina.core.StandardContext listenerStart - E-Mails jetzt auf Ihrem Handy.. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Eclipse-Tomcat] Problem by deploying from Eclipse to Tomcat
Hi all, I am not sure if I should put my question here. But I can't google out the right place. Hope someone here can help. :-) I built a web-app and can deploy it successfully from Tomcat Manager. But as I deploy it from the Eclipse, I get the following exception. P.S.: I use Eclipse 3.4 and the WTP package. Regards Thomas SCHWERWIEGEND: Error configuring application listener of class org.springframework.web.context.request.RequestContextListener java.lang.NoClassDefFoundError: javax/servlet/ServletRequestListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) 09.02.2008 20:57:23 org.apache.catalina.core.StandardContext listenerStart - E-Mails jetzt auf Ihrem Handy..
Re: [Eclipse-Tomcat] Problem by deploying from Eclipse to Tomcat
The servlet-api-2.4.jar is already in /common/lib. I doubt that's the cause. :-) * The missing class: javax/servlet/ServletRequestListener occurs in servlet-api.jar which appears to be missing in your configuration. The best place for it is in Tomcat's common/lib. -Ken Thomas Chang wrote: Hi all, I am not sure if I should put my question here. But I can't google out the right place. Hope someone here can help. :-) I built a web-app and can deploy it successfully from Tomcat Manager. But as I deploy it from the Eclipse, I get the following exception. P.S.: I use Eclipse 3.4 and the WTP package. Regards Thomas SCHWERWIEGEND: Error configuring application listener of class org.springframework.web.context.request.RequestContextListener java.lang.NoClassDefFoundError: javax/servlet/ServletRequestListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) 09.02.2008 20:57:23 org.apache.catalina.core.StandardContext listenerStart - Ihre erste Baustelle? Wissenswertes für Bastler und Hobby Handwerker.
Re: QUESTION: How to use *only* cookies for session tracking?
Hello, you might want to take a look at: http://www.coreservlets.com/ The marquee author hosting the above named site wrote a book with the same title: * According to the author (Marty Hall) the only downside(s) to cookies are privacy issues. * The client browser has to have cookies turned on and the user can turn them off anytime. * If sensitive data is embedded this is a liability problem. * Search engines can create cross-reference links (text, images, etc.) to pages that use cookies. Anyway you cut it you will need session tracking albeit cookies or URL-Rewriting i.e. the JSESSIONID. The jsessionid is in itself a type of cookie. The security risk is if someone can sniff or guess the jsessionid the page is open to hi-jacking. Theres more at the link above. HTH. Gregory Gerard wrote .. http://tomcat.apache.org/tomcat-5.5-doc/config/context.html I can turn cookies on or off but I don't see a similar setting for URL rewriting. I've already made my peace with requiring cookies for other reasons. Possible? Downsides? I'm seeing a lot of double fetching of content (JavaScript files and images) (once for when there's ;jsessionid= as part of the URL and again once the client's accepted the cookie and the URL is changed). thanks, 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: QUESTION: How to use *only* cookies for session tracking?
Lets face it, there is virtually no site of interest that doesn't require cookies (or javascript). A possibility to turn url rewriting off would be really great even it isn't covered by the servlet spec. And we all know how disturbing url rewriting is for crawlers. But since tomcat isn't a ref impl anymore, maybe a convenience method? regards Leon On Feb 10, 2008 1:05 AM, David Brown [EMAIL PROTECTED] wrote: Hello, you might want to take a look at: http://www.coreservlets.com/ The marquee author hosting the above named site wrote a book with the same title: * According to the author (Marty Hall) the only downside(s) to cookies are privacy issues. * The client browser has to have cookies turned on and the user can turn them off anytime. * If sensitive data is embedded this is a liability problem. * Search engines can create cross-reference links (text, images, etc.) to pages that use cookies. Anyway you cut it you will need session tracking albeit cookies or URL-Rewriting i.e. the JSESSIONID. The jsessionid is in itself a type of cookie. The security risk is if someone can sniff or guess the jsessionid the page is open to hi-jacking. Theres more at the link above. HTH. Gregory Gerard wrote .. http://tomcat.apache.org/tomcat-5.5-doc/config/context.html I can turn cookies on or off but I don't see a similar setting for URL rewriting. I've already made my peace with requiring cookies for other reasons. Possible? Downsides? I'm seeing a lot of double fetching of content (JavaScript files and images) (once for when there's ;jsessionid= as part of the URL and again once the client's accepted the cookie and the URL is changed). thanks, 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: managing user uploads best practices
Thanks for the suggestions! I like using the database for storage for it's easy maintenance and security, but marshalling a lot of binary data (like a large image library) adds a bit of overhead to the application. I'll look into pursuing a storage directory external to the webapp. -- Original message -- From: Johnny Kewl [EMAIL PROTECTED] --- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. Making the Java dream come true. --- - Original Message - From: [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, February 08, 2008 11:13 PM Subject: managing user uploads best practices Yes... outside. Its been a long long time now, vaguely remember struggling with Apache uploader then eventually getting all to work... Anyway... what I did is store the files in an Apache httpD folder, so I could spy on the uploads, and they available for viewing again. And whats cool is because Apache is also the load balancer in my case... can have lots of TC's doing their thing. I was making a kind of wiki thing for an estate agency... thats how I did it way back when... What's the current wisdom on managing user uploaded files to a web app that's deployed via a WAR? In other words, when the WAR is updated, the directory containing uploaded files would be wiped out. Do people save uploaded files outside of the web app root directory? Security issues with this? Do people not use auto-expanding WAR files and manage the deployment by hand? Do you not include the directory for uploaded files in the WAR (but create it at runtime) and then trust that the expanded WAR won't overwrite it on deployment? Any pointers greatly appreciated! - 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] - 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: How to use *only* cookies for session tracking?
There's an article here: http://randomcoder.com/articles/jsessionid-considered-harmful that describes how to disable URL rewriting using a filter. -- Len On Feb 8, 2008 10:30 PM, Gregory Gerard [EMAIL PROTECTED] wrote: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html I can turn cookies on or off but I don't see a similar setting for URL rewriting. I've already made my peace with requiring cookies for other reasons. Possible? Downsides? I'm seeing a lot of double fetching of content (JavaScript files and images) (once for when there's ;jsessionid= as part of the URL and again once the client's accepted the cookie and the URL is changed). thanks, 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]