Re: Filter RequestWrapper

2009-07-13 Thread Pid
On 13/7/09 20:51, Ivo Silva wrote: Hi again, Christopher! Yes, but that is the last resort! We are still testing this approach but all is working as expected. The main reason to adopt this is to provide the possibility to deploy the legacy application in a portal environment (as a portlet) and

Re: Tuniing Apache-Tomcap

2009-07-13 Thread Pid
On 13/7/09 20:57, Vida Luz Arista wrote: Hi All We have a application running on Apache Tomcat, but the performance is very slow, the application was developer in netbeans, but now is runing in the server is very slow. Which versions of: Tomcat, OS? How much memory on your dev machine, how m

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Pid
On 14/7/09 09:42, Neil Youngman wrote: I'm having trouble getting Oracle access from Axis2 to work under Tomcat 6. I've spent a lot of time Googling and prodding and poking the application and I haven't found a solution that works for me. > Oddly the configuration I'm using seems to work for an

Re: Http Session Null issue

2009-07-14 Thread Pid
r.jar JSPServletWrapper.java) Can you analyze what would be code changes on application side in this case? On Sat, Jul 4, 2009 at 2:52 PM, Pid wrote: On 4/7/09 00:22, Konstantin Kolinko wrote: HttpSession session = request.getSession(); Is the request a legit one (that is, the one that is being serv

Re: Deploying ROOT application errors.

2009-07-15 Thread Pid
On 15/7/09 23:58, Wesley Acheson wrote: Tomcat 6.0.18 windows vista professional 32 bit. Although I seem to have seen a related issue on tomcat 5.5 here In that it appears to involve ROOT.war? https://issues.apache.org/bugzilla/show_bug.cgi?id=36990 Sounds like you have a jar locking issue

Re: java.lang.ClassNotFoundException & error 404

2009-07-16 Thread Pid
On 16/7/09 13:43, Thomas Vite wrote: The real case is : C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ViClientWebApp Is your TestServlet properly located in a package? p 2009/7/16 Mark Thomas Thomas Vite wrote: Yeah but after restarting Tomcat i still receive that infamo

Re: java.lang.ClassNotFoundException & error 404

2009-07-16 Thread Pid
On 16/7/09 13:59, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: java.lang.ClassNotFoundException& error 404 Is your TestServlet properly located in a package? Servlets do not have to be in a package (although they should be); it's JSPs that mus

Re: Converting to container based security.

2009-07-19 Thread Pid
On 19/7/09 04:56, Bill Davidson wrote: Tomcat 6.0.18 Java 1.6.0_14 RedHat 5.2 Server Oracle 10g I've got an old web app that was originally spec'd in 1999. Last year, I got it migrated from Tomcat 3.2.4 for 6.0.16 and more recently from Java 1.4.2 to 1.6. I'm gradually trying to modernize it.

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-19 Thread Pid
On 19/7/09 05:13, Lucas Vickers wrote: For what it's worth. Every now and then tomcat throws that exception again. I then shut down tomcat, touch the .policy file, start tomcat, and it works. Are you using a repackaged Tomcat or have you downloaded and installed it yourself? How, exactly, a

Re: Converting to container based security.

2009-07-19 Thread Pid
On 19/7/09 18:52, Bill Davidson wrote: Mark Thomas wrote: >Alternatively, you could use a database view to present the two sets of >users as a single table. What about duplicated user names between the two sides? That might not be an issue if admin users don't use the public site, and vice

Re: Can a Realm communicate with a web application?

2009-07-22 Thread Pid
On 21/7/09 23:23, Mitch Claborn wrote: I am toying with the idea of writing my own Realm for authentication. Much of the code and structures that I need are already present in the web application. Is there any way for the Realm to access Java objects from the web application? They don't appear

Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development

2009-07-22 Thread Pid
On 22/7/09 04:37, Varuna Seneviratna wrote: Please read the whole story behind and reply without bulling.I am trying to figure out what is the cause for not being able to install Tomcat as a service when JRun can be .My guess was is Kaspersky blocking Tomcat setup since Kaspersky prompted for us

Re: Can a Realm communicate with a web application?

2009-07-23 Thread Pid
On 22/7/09 19:32, Mitch Claborn wrote: Pid wrote: On 21/7/09 23:23, Mitch Claborn wrote: I am toying with the idea of writing my own Realm for authentication. Much of the code and structures that I need are already present in the web application. Is there any way for the Realm to access Java

Re: Multiple tomcat instances in linux server

2009-07-28 Thread Pid
On 28/7/09 10:31, given.shiri...@sita.co.za wrote: Hi Guyz. I want to run multiple tomcats in my server,I tried the following tutorials from this link http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html. I created the following folders tomcat_instance1 tomcat_instance2 tomcat_instanc

Re: Multiple tomcat instances in linux server

2009-07-28 Thread Pid
On 28/7/09 14:49, André Warnier wrote: Pid wrote: On 28/7/09 10:31, given.shiri...@sita.co.za wrote: Hi Guyz. ... For tomcat_instances1. I made this changes to etc.. Pid, you missed it. The OP seems to have made the necessary changes. doh. once again, email before coffee proven to

Re: share session between 2 different webapp

2009-08-03 Thread Pid
On 03/08/2009 04:53, zhang99 wrote: can http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Single%20Sign%20On be used if 2 web application are different? Let say 2 web app are deployed on same tomcat server. i looking for way, if i login to web app1, when i go to web app2, i do not need to

Re: change the default JSP index.jsp for ROOT context in Tomcat 6

2009-08-12 Thread Pid
On 12/08/2009 14:26, Jörg Spilling wrote: I'm running Tomcat 6 on Linux and I want change the index.jsp of the ROOT context which is displayed by http://localhost:8080/. For Tomcat 5 I could comment out the index_jsp mapping in web.xml for ROOT. The web.xml for the ROOT in Tomcat 6 doesn't cont

Re: avoiding ssl vulnerabilities in tomcat

2009-08-13 Thread Pid
On 13/08/2009 06:17, sunil chandran wrote: Hello all, As per Christopher response. 1. Upgrade to the latest version of 4.1.x, which is 4.1.40. This will provide the least headache because you will be staying on your current Tomcat version, just improving your patch level. Plan to upgr

Re: Listener Start Error

2009-08-13 Thread Pid
On 13/08/2009 09:00, Mohamed Shah wrote: Hi, I am getting a Listener Start Error during deployment. This is the error in log. Aug 13, 2009 7:26:37 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 53316 ms Aug 13, 2009 7:27:37 AM org.apache.catalina.startup.HostConfig check

Re: How to set Realm digest for base64 password

2009-08-13 Thread Pid
Tomcat version? JVM version? OS version? p On 13/08/2009 10:37, Lin Chun wrote: hi, I am using the JDBCRealm , but the password of user is not pure text, but stored in base64 encoding Followd the doc, seems I have to set the digest , but I don't know which digest and digestEncoding should I u

Re: Tomcat 6 clustering and engine's defaulthost

2009-08-13 Thread Pid
On 13/08/2009 10:55, Ossi wrote: On Wed, Aug 12, 2009 at 5:26 PM, Caldarale, Charles R< chuck.caldar...@unisys.com> wrote: From: Ossi [mailto:los...@gmail.com] Subject: Tomcat 6 clustering and engine's defaulthost Looks like if configuring a Tomcat 6 cluster Engine's and host's default host

Re: Clustering in Tomcat

2009-08-13 Thread Pid
On 13/08/2009 11:17, kiransarv wrote: Hi all, I am using an apache server as a front end and redirecting all http requests to tomcat server at the back. I want to make my cluster highly available. I have set up HA at apache server level using heartbeat with the help of virtual. Now I also want

Re: Clustering in Tomcat

2009-08-13 Thread Pid
balancing activities. This is probably better than trying to hide lots of Tomcats behind one IP address. p Pid-6 wrote: On 13/08/2009 11:17, kiransarv wrote: Hi all, I am using an apache server as a front end and redirecting all http requests to tomcat server at the back. I want to make my clust

Re: response header fields

2009-08-13 Thread Pid
On 13/08/2009 12:18, acastanheira2001 wrote: Hi, Can you tell me what response headers do I need to suppress in order to improve security? I'm sure it'll start a vigorous discussion if I say it, but IMHO there's not much of an improvement to security to be gained from hiding these headers.

Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Pid
On 13/08/2009 14:56, Christoph Kukulies wrote: Caldarale, Charles R schrieb: From: Christoph Kukulies [mailto:k...@kukulies.org] Subject: increasing JVM heap space in Tomcat 6.0 (Windows XP) I tried to start the Tomcat6 service under Windows XP then manually giving it the start parameters -Xms6

Re: Running an applet when tomcat starts

2009-08-13 Thread Pid
On 13/08/2009 13:12, Aditya R wrote: Hello, I'm trying to run a swing applet in a jar executable as soon as tomcat starts. I tried to put the following command inside startup.sh 'java -jar frontend2.jar'. I'm able to run the script by running the mentioned command from my own shell script

Re: Tomcat questions

2009-08-13 Thread Pid
On 13/08/2009 20:42, hruesga wrote: Listers: We have some issues with one application published over Tomcat 5.5.15 during our troubleshooting we had seen the next errors / messages, and we like to know more about them: I can't find 5.5.15 in the archives, but 5.5.16 seems to be dated 16th Ma

Re: Tomcat questions

2009-08-14 Thread Pid
oblem with Tomcat, or anything other than your application, yet and you haven't provided more info about what's in the logs we're not going to be able to help you. p Pid-6 wrote: On 13/08/2009 20:42, hruesga wrote: Listers: We have some issues with one application published

Re: Need help for configuration tomcat with apache webserver and ssl

2009-08-14 Thread Pid
On 14/08/2009 10:05, Christoph Thodte wrote: Hello, I need help to configure my apache webserver and my tomcat by mod_jk using ssl. I have installed a certificate in my tomcat keystore. It works fine when I call my webapp directly from tomcat. Now I have the aim that my webapp is served by the

Re: Tomcat questions

2009-08-14 Thread Pid
On 14/08/2009 11:09, hruesga wrote: By the way what i'm requesting is information, this information is gained from the catalina.out log file, so if any of you need the full trace of log please advice. See below: - We have reached the max number proxies in the pool; wait for one to become ava

Re: JSESSIONID cookie permanent?

2009-08-14 Thread Pid
On 14/08/2009 19:32, Mitch Claborn wrote: I was able to change the expiration on the cookie with a one line change to org.apache.catalina.connector.Request and it works like I need it to. What is the official way to request an enhancement to allow this to be configurable? Doesn't HttpSession.

Re: Question on setting of context path in Tomcat 6

2009-08-20 Thread Pid
On 19/08/2009 23:36, Roger Powers wrote: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html it seems the context path will come from either the name of the context xml file of the web app (if there is one), or from the directory holding the web app (if there is no context xml file a

Re: Question on allowLinking

2009-08-20 Thread Pid
On 20/08/2009 07:52, Nachiketh G Rao wrote: Hi, I had a query regarding Tomcat 6.X. We are developing a web application which will be using soft-links for files on a the server. To do this we have set allowLinking property to true in the "context.xml" configuration. We have observed that, upon

Re: Enabling allowLinking in tomcat 6, deleting the soft link contents while undeploying!

2009-08-20 Thread Pid
On 20/08/2009 08:36, Ningappa Koneri wrote: Hi, By Using "allowLinking=true" in context.xml of tomcat 6, I am able to access soft links within the application project directory. But the problem is when I undeploy the application by deleting only project.war file, tomcat is deleting all the co

Re: 100% CPU by java process in Tomcat

2009-08-20 Thread Pid
On 20/08/2009 10:24, Peter Crowther wrote: 2009/8/20 Phani Raj Kumar Here is the info: *JDK version* : j2sdk1.4.2_11 This is old, though that probably isn't the cause of this problem. Do you need to run this JDK, or can you upgrade? *Tomcat Version*: jakarta-tomcat-5.0.28 This is no longe

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Pid
On 20/08/2009 10:40, Dean Chester wrote: Hi, I've written my application using j_security_check yet i keep having to log in in the restricted area. Has anyone else experienced this? Yep. I have to log in each time I want to use our app - it's a side effect of implementing security. Or is you

Re: Tomcat 4 start up as (/sbin/service)

2009-08-20 Thread Pid
On 20/08/2009 10:15, sunil chandran wrote: Hello all, As per everyone suggestion, I went ahead and installed tomcat 4.1.40It is successful Now i want to set as /sbin/service. I know it points to /etc/init.d/. How can i make it as /sbin/service tomcat4 stop/start/restart . What changes are re

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Pid
in them? If so, what are they? Are you encoding all of the URLs properly? How long between clicks? What is the session timeout in your web.xml? How have you defined the in web.xml? Which Realm are you using? Perhaps you could post a little bit more information? p On Thu, Aug 20, 2009

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Pid
/login-error.jsp admin user I am using the default realm which i know works. Dean On Thu, Aug 20, 2009 at 12:19 PM, Pid wrote: On 20/08/2009 11:55, Dean Chester wrote: Sorry Tomcat 6.20, Red Hat Enterprise edition 4 i think. java 1.6. And

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Pid
admin FORM /login.jsp /login-error.jsp admin user I am using the default realm which i know works. Dean On Thu, Aug 20, 2009 at 12:19 PM, Pid wrote: On 20/08/2009 11:55, Dean Cheste

Re: Keep having to login with container based authentaction.

2009-08-20 Thread Pid
On 20/08/2009 13:00, Pid wrote: On 20/08/2009 12:36, Dean Chester wrote: Sorry about that. Yes i have a index page in the restricted area that has links to other restricted jsps. The Logs are not reporting anything. How do you mean encode your urls? If you're being asked to log in

Re: Custom 404 page when webapp stopped

2009-08-20 Thread Pid
On 20/08/2009 14:25, llg wrote: Hi, I have a webapp that needs to be down if we are doing some maintenance. I use the manager to make the application unavailable but in this case the 404 customized error-page is not displayed. I modified the default web.xml (in conf/) to add the error-page 404,

Re: [OT] The perfect answer

2009-08-20 Thread Pid
On 20/08/2009 15:59, André Warnier wrote: Can't resist copying it The original poster's message was : On Thu, Aug 20, 2009 at 12:17 PM, Apache Admin wrote: Hi , users How to create Payment Gateway by Apache with other Application ... And here was Krist's answer (try it) : http://lmgtfy.com

Re: Accessing Properties file located in Conf Directory of Tomcat 5.XX

2009-08-20 Thread Pid
On 20/08/2009 16:24, Martin Gainty wrote: there are at least 100 people on this list that can accomplish this requirement *Can* yes. *Will*, no. you will need to handle this requirement by posting a statement of work details on how to write a statement of work referenced here http://www.usab

Re: Custom 404 page when webapp stopped

2009-08-20 Thread Pid
On 20/08/2009 16:04, llg wrote: Le 20/08/09 15:41, Pid a écrit : On 20/08/2009 14:25, llg wrote: Hi, I have a webapp that needs to be down if we are doing some maintenance. I use the manager to make the application unavailable but in this case the 404 customized error-page is not displayed

Re: Custom 404 page when webapp stopped

2009-08-20 Thread Pid
On 20/08/2009 20:51, llg wrote: Le 20/08/09 21:25, André Warnier a écrit : llg wrote: ... I added in ${CATALINA_HOME}/conf/web.xml 404 /my404.html 503 /my503.html I do not really *know* this, but based on the XML structure of other Tomcat config files, the above form looks fishy to me.

Re: Running multiple tomcats

2009-08-21 Thread Pid
On 21/08/2009 16:39, André Warnier wrote: Malladi, Sasikanth wrote: I'm surprised to see a solicitation in this list. So are we. But just ignore Martin, he's sometimes helpful but mostly a nuisance. Second one this week. Recession.com? p --

Re: confused about beans

2009-08-21 Thread Pid
On 21/08/2009 23:50, Tena Sakai wrote: Hi folks, I am confused about beans. And apparently about how a servlet based web application ought to be built. You should start by reading the Servlet Specification and gaining an understanding of what you're trying to build. I think it has to do

Re: [OT] multipart/form-data solutions

2009-08-22 Thread Pid
On 22/08/2009 06:11, Tommy Pham wrote: Hi, I need some to process some multipart/form-data. Are the any other solutions other than: What are you really trying to achieve? Are you uploading a file, or doing something else? Solution A: 1. download http://www.servlets.com/cos/index.html

Re: Apache Tomcat hangs

2009-08-23 Thread Pid
On 23/08/2009 11:08, fps wrote: I got this kind of exception with a jsp defined with session="false" (in the <%@ page... %> section at the top of the file) including another jsp which was not including that session="false" directive Which kind of exception? Which version of Tomcat? Which ver

Re: Connector set up

2009-08-23 Thread Pid
On 22/08/2009 21:37, Gerardo Corro wrote: Hi, I have 6 different web-apps (let's call their contexts /wa1, /wa2 ... /wa6) running in port 8080. I have another web-app named /proxy running on port 80. As the name suggests this web-app does proxy functions for the other 6 web-apps. This proxy

Re: Dynamic Common/Share ClassLoader Reload

2009-08-23 Thread Pid
On 23/08/2009 11:52, NickyPhan wrote: Hi all, I am creating an Jar file to be used accross multiple portlet application which is working fine. I only have one issue is everytime I made change to the class and export to JAR file, I need to restart Tomcat server for all portlets to take effect s

Re: Connector set up

2009-08-23 Thread Pid
On 23/08/2009 12:23, André Warnier wrote: Gerardo Corro wrote: Hi, I have 6 different web-apps (let's call their contexts /wa1, /wa2 ... /wa6) running in port 8080. I have another web-app named /proxy running on port 80. As the name suggests this web-app does proxy functions for the other 6 we

Re: Updating Roles for a logged-in user while using SingleSignOn

2009-08-23 Thread Pid
On 21/08/2009 19:31, nkrasnov wrote: Hi, I have several Tomcat webapps which use SSO and the same Realm for authentication. All is working as expected, except that I now need to update roles for the user that's already been authenticated in the past. I seem to be able to do it successfully for

Re: Dynamic Common/Share ClassLoader Reload

2009-08-23 Thread Pid
On 23/08/2009 12:49, NickyPhan wrote: Thank PID-6 for your response, Honestly this is my second post in this forum so forgive my mistake not mentioning Tomcat and Java version. Both Tomcat and Java are 6. The subversions actually make a difference too. 6.0.20 is the most recent version of

Re: Apache Tomcat hangs

2009-08-23 Thread Pid
On 23/08/2009 15:11, Len Popp wrote: 2009/8/23 Pid: On 23/08/2009 11:08, fps wrote: I got this kind of exception with a jsp defined with session="false" (in the <%@ page... %>section at the top of the file) including another jsp which was not including that session=&

Re: Updating Roles for a logged-in user while using SingleSignOn

2009-08-24 Thread Pid
nctionality: http://securityfilter.sourceforge.net/ p Pid-6 wrote: On 21/08/2009 19:31, nkrasnov wrote: Hi, I have several Tomcat webapps which use SSO and the same Realm for authentication. All is working as expected, except that I now need to update roles for the user that's alre

Re: Connector set up

2009-08-24 Thread Pid
On 24/08/2009 08:03, Gerardo Corro wrote: Hi, I need the intercept the calls (/*) to all webapps since these are actually wap apps; many handsets cannot process properly the 302 redirect code, so I need to deliver the final result of forward redirects to clients. I'm already able to process

Re: Virtual Hosts and manager application.

2009-08-24 Thread Pid
On 24/08/2009 16:09, Wesley Acheson wrote: Hi, Assuming that you've copied and pasted, set "appBase" not "appbase" p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional comman

Re: tow instances but one webapps : possible ?

2009-08-27 Thread Pid
On 27/08/2009 08:28, coucou78 coucou78 wrote: hello, Here we need to have two instances of Tomcat 5.0.30 running at the same time (tomcat1 , tomcat2) , for sure on differents ports, BUT those instances must have the same webapps folder. Why? This requirement is not compatible with Tomcat conf

Re: ServletContext.getContext() always returns when calling from "root" context (even with crossContext)

2009-08-28 Thread Pid
On 28/08/2009 09:57, Jan Jonas wrote: I have a very annoying problem with tomcat 6: ServletContext.getContext() always returns null if I call the method from the "root" context, i.e. the context I have defined with path="/" in my server.xml. I also tried setting path="" (I read that this could

Re: website offline

2009-08-28 Thread Pid
On 28/08/2009 13:08, Nikolay Diulgerov wrote: Well if is avalilable again but couple of minutes ago the message was(see below) so my question stays? The Infrastructure Team of The Apache Software Foundation is currently investigating a potential compromise of one of our servers. For security rea

Re: Display of velocity template emails in clients that might not display HTML

2009-08-28 Thread Pid
On 28/08/2009 17:21, Pradnya Gawade wrote: Hi folks, one more quick question about this. Can I go for sending multipart message with Velocity? or I will have to g for FreeMarker-based multipart email necessarily? I already have implemented Velocity based email so I was thinking if I have change

Re: how to redirect web appl url

2009-08-29 Thread Pid
Someone has already answered you. p suresh34 wrote: Hi Gurus, Iam new to tomcat world, Pls kindly help me I have one web application folder called "xyz" under tomcat-->webapps,which will be used when launching an url say https://pol.com/xyz .Now i want this folder to be renamed to ab

Re: How to redirect from HTTPS to HTTP

2009-08-29 Thread Pid
On 29/08/2009 14:23, Thilani wrote: Hi All, I am developing a web application which is require login for users. I want to use HTTPS for login only. Application server is tomcat 6.x and following is the url for login. https://localhost:8443/GIShome/index.shtm After successfully login I want to

Re: java heap space error

2009-09-01 Thread Pid
On 01/09/2009 08:58, Suleyman Akpinar wrote: Hi all, I have a java web application running on tomcat and I get java heap space not enough error temporarily. Each time I am increasing the JMV heap option by modifying the system variable CATALINA_OPTS. However, this solves the problem temporarily.

[OT] How to build cheap storage

2009-09-02 Thread Pid
Interesting reading: http://blog.backblaze.com/2009/09/01/petabytes-on-a-budget-how-to-build-cheap-cloud-storage/ I wonder what performance gain they'd get from a newer version of Tomcat and if they're using APR. p - To uns

Re: REMOVE ME FROM THIS LIST

2009-09-02 Thread Pid
On 02/09/2009 17:09, Chris Lenart wrote: It iss broke That's a splendidly informative statement. Sometimes unsubscribe messages get lost in spam folders, or don't get sent because the request is sent from a different address to the one that was subscribed. p -Original Message

Re: catalina error file

2009-09-08 Thread Pid
On 08/09/2009 20:37, André Warnier wrote: David Smith wrote: ... Pure speculation on my part, but maybe the OP is looking for log rotation. Nah, much too simple. And so are syslog and other Windows Event logs. Neither did the OP tell us on which platform this would be, nor really even if it i

Re: tomcat & url rewrite

2009-09-11 Thread Pid
On 11/09/2009 08:07, André Warnier wrote: WILLIAMer wrote: I get a problem with the URL. My application has url rewrite for SEO. I use this format http://mydomain/item.html for display. There is an error that if the item name like LF/123, then the url become http://mydomain/LF/123.html. Because

Re: tomcat & url rewrite

2009-09-11 Thread Pid
On 11/09/2009 11:18, WILLIAMer wrote: Thanks for replies. To awarnier: Change the item name will lost the SEO for this item. To Pid-6: It is dynamic page and item data are from database. I use url rewrite for looking like static page. Why not just make the URLs in such a way that you can

Re: reply_timeout

2009-09-11 Thread Pid
On 11/09/2009 15:28, Martin Gainty wrote: //assume you have releaseNotes2document.xsl stylesheet http://www.w3.org/1999/XSL/Transform"; version="1.0"> http://issues.apache.org/bugzilla/buglist.cgi?bug_id='"/>

Re: tomcat & url rewrite

2009-09-14 Thread Pid
On 14/09/2009 03:05, WILLIAMer wrote: I think look up the url in database is not a Immediately way to me. Because most of item not have the "/" char in name. My original url would like http://myDomain/getItemPage?itemName=xxx After the url rewrite rule, url become http://myDomain/item_xxx.html

Re: decouple authentication and authorization of TOMCAT

2009-09-14 Thread Pid
On 14/09/2009 17:40, André Warnier wrote: John Chen wrote: ... I am also thinking using Apache Web Server to do the authentication and use tomcat for authorization, do you think it would work? With the Apache/mod_jk/Tomcat combination it can, certainly. There exists (I believe in the element

Re: Loss of body POST request...

2009-09-15 Thread Pid
On 15/09/2009 11:30, Eugene wrote: Hello. My next trouble. Periodically, the body disappears POST-request with the same query! I wrote a test client. It httpClient sends a test request, and on the server side, the servlet it takes. And trying to read. Sometimes there is a situation that the titl

Re: Loss of body POST request...

2009-09-15 Thread Pid
On 15/09/2009 14:25, Eugene wrote: I use POST URI. With what, some code you wrote? Headers remain constant. And header receive normal, but body loss?!?!? error trace: This isn't the whole of the stacktrace, so I can't tell what it means. What about the lines immediately before this?

Re: Loss of body POST request...

2009-09-15 Thread Pid
On 15/09/2009 15:16, Eugene wrote: I put testcase, which has everything to reproduce the problemI put testcase, which has everything to reproduce the problem. Is this stacktrace the same one as the problem you originally reported? What happens if you comment out this line in your test servlet

Re: Container based authentication using LDAP and Active Directory

2009-09-15 Thread Pid
On 15/09/2009 21:08, George Sexton wrote: You can use LDAP to authenticate against AD. I can feel a lmgtfy coming on... ;) p George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: sharda k [mailto:sktom...@gmail.com] Sent: Tuesday,

Re: Container based authentication using LDAP and Active Directory

2009-09-16 Thread Pid
On 15/09/2009 22:42, George Sexton wrote: Asking the same question a different way will not yield a different result. You're going to have to figure that out yourself. @Sharda If you need to do something more complex than configure an existing Realm, ie implement your own JAASRealm, there is

Re: Configuring second tomcat instance on same box

2009-09-17 Thread Pid
On 17/09/2009 17:39, Nagulapalli, Srinivas wrote: From: Mark Thomas [mailto:ma...@apache.org] http://markmail.org/message/rz3rii2w4bdtines http://www.google.co.uk/#q=How+to+view+email+headers Thanks for the links. Beats me why changing subject is linked to original mail, when user intent

Re: Security Constraint conflict

2009-09-21 Thread Pid
On 21/09/2009 01:20, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Security Constraint conflict On 9/18/2009 9:47 PM, Bill Barker wrote: I haven't checked the Servlet 3 spec, but with earlier versions, the union process is to give you t

Re: accesing webapplication without the web context

2009-09-24 Thread Pid
On 24/09/2009 07:12, rama.honge wrote: Hi, What to know to to access a webapp without using the context in the url in tomcat 6.0 for ex: Instead of using http://myserver.com/TestApp, it should be accessible with http://myserver.com There is only one web application deployed in tomcat. You wi

Re: webapps examples and security manager

2009-09-24 Thread Pid
On 24/09/2009 14:11, Alan wrote: Hallelujah! I finally figured out what's going on with tomcat 5.5.26 when running webapps in security mode. In Ubuntu 9.04, with just the addition of 'permission java.lang.RuntimePermission "setContextClassLoader";' in catalina.policy solved the problem. This is

Re: webapps examples and security manager

2009-09-24 Thread Pid
ac OSX and Fink use this distribution. Did it help? You seemed to be suggesting that there were multiple problems, or was that a figure of speech? Faint alarm bells were ringing... p Alan On Thu, Sep 24, 2009 at 14:57, Pid wrote: On 24/09/2009 14:11, Alan wrote: Hallelujah! I fina

Re: Virtual host configuration - best practise?

2009-09-25 Thread Pid
On 25/09/2009 08:26, hepabolu wrote: awarnier wrote: hepabolu wrote: ... However, from the Tomcat docs I understand that any change to server.xml requires a restart of Tomcat which would mean that the existing (non-dummy) hosts which are already in production, i.e. up and running, will also

Re: Virtual host configuration - best practise?

2009-09-25 Thread Pid
On 25/09/2009 14:03, Pid wrote: On 25/09/2009 08:26, hepabolu wrote: awarnier wrote: hepabolu wrote: ... However, from the Tomcat docs I understand that any change to server.xml requires a restart of Tomcat which would mean that the existing (non-dummy) hosts which are already in

Re: Error opening zip file /usr/bin/build-classpath

2009-09-27 Thread Pid
On 27/09/2009 13:51, Andreas Forstmayr wrote: Hello! I wrote a Java/Spring application and it works on my local SLES 10 testing vm and all other test systems perfectly. If I deploy it on another SLES 10 SP2 (x86_64) server with Tomcat 5.0.28 and java-1_5_0-ibm-1.5.0_sr7 it also works at first vi

Re: Upgrade from 5.5.9 to 5.5.20 Help

2009-09-28 Thread Pid
On 28/09/2009 20:34, Corrin, Simon P wrote: Hello, I have never upgraded Tomcat before and need to upgrade it from version 5.5.9 to 5.5.20 for application compatibility. I had a search through the documentation and didn't come across a section on how to do this type of thing (maybe I missed it)

Re: Apache/Tomcat with SSL

2009-09-29 Thread Pid
On 29/09/2009 03:17, Crypto Sal wrote: Miguel, Do you have Tomcat serving up Port 80 traffic or is that Apache's httpd? I suggest you have one web server handle both normal web traffic and SSL traffic (if possible), since this page is a login page, you might want to FORCE https on that page a

Re: Apache Webserver and static conent

2009-09-29 Thread Pid
On 29/09/2009 08:53, Angelo Chen wrote: Hi, I use the mod_proxy to allow a tomcat's app running behind Apache server, now I'd like to let Apache server handle some static contents: www.example.com/information the content of information is not part of tomcat app, but a directory in the file sy

Re: How to check if the client dropped the connection

2009-09-29 Thread Pid
On 29/09/2009 09:15, André Warnier wrote: aaime74 wrote: ... Hi. Kind of restarting from the beginning, I think that the first question to ask is whether whatever method which actually does the rendering of the maps, and which is "heavy" in terms of resources, is capable of being interrupted clea

Re: How to check if the client dropped the connection

2009-09-29 Thread Pid
On 29/09/2009 09:34, aaime74 wrote: awarnier wrote: aaime74 wrote: ... Hi. Kind of restarting from the beginning, I think that the first question to ask is whether whatever method which actually does the rendering of the maps, and which is "heavy" in terms of resources, is capable of being i

Re: How to check if the client dropped the connection

2009-09-29 Thread Pid
On 29/09/2009 09:47, aaime74 wrote: Markus Meyer wrote: I'm not saying you should store the whole map all at once. My approach was to dynamically cache requests that the client may want to make in advance. An easy example would be if a client makes a request for the city center, you create th

Re: Apache/Tomcat with SSL

2009-09-29 Thread Pid
Pid, > Thanks for the response, I have contacted the developers of our web site to separate the documentRoot directories. Also, I have tested the SSL with httpd turned off, and I don't seem to have the same luck. I received the following error: Error code: ssl_error_rx_record_too_

Re: Tomcat 6.X and MySQL connection pooling issue

2009-09-30 Thread Pid
On 30/09/2009 13:38, MartinOShea wrote: So select now() is fine. (Where "fine" is defined as "not what you were advised to use, for sound reasons that are require a longer explanation than was necessary at the time".) p Thanks. markt-2 wrote: MartinOShea wrote: Thanks for the reply

Re: Default character encoding for ServletRequest

2009-10-01 Thread Pid
On 01/10/2009 10:44, Halm Reusser wrote: Hi, Calling <%= request.getCharacterEncoding() %> in a jsp deployed in a Tomcat 6.0.20 container returns null. Is there any possibility to force a default CharacterEncoding for such requests? How about? request.setCharacterEncoding("ENCODING"); Bear

Re: Graphing packages

2009-10-02 Thread Pid
On 01/10/2009 22:24, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark and David, On 10/1/2009 12:55 PM, Mark Shifman wrote: http://www.jfree.org/jfreechart/ is pretty good. FWIW, I believe JasperReports uses jFreeChart to do its graphics, and I've been very happy

Re: SEVERE: Parse error in default web.xml

2009-10-04 Thread Pid
On 04/10/2009 09:33, André Warnier wrote: Eric B. wrote: "andre" wrote in message news:003c01ca43b9$0ef57ae0$2ce070...@com... ... Are your all your files readable by the process that is running tomcat? For instance, if tomcat is running under user "tomcat", and your files are only readable

Re: Tomcat blocks many threads

2009-10-05 Thread Pid
On 05/10/2009 07:27, trucbinh wrote: Hi, I used Yourkit Profiler to check my web application, and I found that many http threads are blocked here. org.apache.jasper.servlet.JspServletWrapper.service(HttpServletRequest, HttpServletResponse, boolean) (The method calls itself recursively) org.apache

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-11 Thread Pid
On 10/10/2009 23:52, André Warnier wrote: Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars Not that it was my thread to begin with, and not thjat it's really dramatic either, but I suppose you guys must r

<    5   6   7   8   9   10   11   12   13   14   >