Re: SSLEnabled attribute in embedded Tomcat6.0

2008-05-12 Thread swati jain
On 5/13/08, swati jain <[EMAIL PROTECTED]> wrote: > > > hi > For this we need to set one more parameter and change the some property > names as well. The final code will look something like :- > > IntrospectionUtils.setProperty(this, "port", "" + port); > IntrospectionUtils.setProperty(this, "addre

Re: SSLEnabled attribute in embedded Tomcat6.0

2008-05-12 Thread swati jain
hi For this we need to set one more parameter :- IntrospectionUtils.setProperty(this, "SSLEnabled", "true"); Thanks all of you for the support Regards, Swati On 5/12/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Have you upgraded the version as now it is more than 6.1 > check &let me kn

Re: I dont want my users to see tomcat console. Any advice?

2008-05-12 Thread ryan webb
Mr. Chris, Yes thank you for your advice, I appreciate your tips. And follow your suggestion. Have a good day Mr. Chris. On Mon, May 12, 2008 at 10:39 PM, Christopher Schultz < [EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ryan, > > ryan webb wrote: > | Yes,

RE: Newbie: Tomcat LDAP Authentication

2008-05-12 Thread Caldarale, Charles R
> From: John Russell [mailto:[EMAIL PROTECTED] > Subject: Newbie: Tomcat LDAP Authentication > > 4) modified conf/web.xml to enable security-constraint Do you really want to modify conf/web.xml? Such security constraints will then apply to every webapp you have deployed, requiring a login page

Re: Newbie: Tomcat LDAP Authentication

2008-05-12 Thread Filip Hanik - Dev Lists
John Russell wrote: Hi, I'm new to Tomcat though familiar with Apache, I'm trying to configure Authentication to an LDAP server but I've missed a step somewhere. From the documentation for JNDIRealm at http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html 0) I obtained ldap-1_2_4.zip from

Newbie: Tomcat LDAP Authentication

2008-05-12 Thread John Russell
Hi, I'm new to Tomcat though familiar with Apache, I'm trying to configure Authentication to an LDAP server but I've missed a step somewhere. From the documentation for JNDIRealm at http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html 0) I obtained ldap-1_2_4.zip from Sun Microsystems. 1)

Re: Tomcat + NTLM + Heavy load + Default config = Failure

2008-05-12 Thread Filip Hanik - Dev Lists
thanks for the info, sounds like the NTLM auth is not considering the fact that keep alives are optional, and can be controlled by the server. so it's really a problem with the client, not the server in this case. but its good to know you found a workaround Filip Sanglard Fabien wrote: Hello,

Re: Streaming Video Media

2008-05-12 Thread Johnny Kewl
'youtube-dl' works... brilliant thanks. ... this is the best mailing list on the web ;) You totally right, if the data comes to the machine, you gotta be able to get it. Thanks, I will try the 'youtube-dl' util next time ;) -

Re: Streaming Video Media

2008-05-12 Thread Johnny Kewl
- Original Message - From: "?? ?. " <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, May 12, 2008 9:13 PM Subject: Re: Streaming Video Media Then you should replace your "little utility". There's a nice script in the Debian repositories, it's called 'youtube-dl'

Re: Multiple Hits to same JSP

2008-05-12 Thread Alan Chaney
If you have an apache server fronting this there are IP address controlled rate-limiting plug-ins like: http://www.topology.org/src/bwshare/README.html and http://dominia.org/djao/limitipconn2.html I have no experience of either of these. HTH Sameer Naik wrote: We just had one more inc

Re: Missing Context error text

2008-05-12 Thread Mark Thomas
Eric Dalquist wrote: Is this behavior, writing to the underlying response object, dictated by the spec? Is this required of Tomcat versus writing to the PrintWriter provided by the response wrapper. Not that I can see in the spec. Also, my quick test shows that the DefaultServlet (which creat

Re: Multiple Hits to same JSP

2008-05-12 Thread Sameer Naik
We just had one more incident today, 3000 hits total in 5 minutes! User agent in MSIE 7.0. We have a load balancer and 3 apache servers behind it. Since Apache is logging the request in access, for sure, it is not generating flood itself. Then the culprit could be load balancer hardware, user's

Re: Multiple Hits to same JSP

2008-05-12 Thread Per Jonsson
Hi, I hade a similar experience when I run the FireBug extention in FireFox. but there was not as many as 500 requests more like 20 under some circumstances. /Per Jonsson Christopher Schultz skrev: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan, Alan Chaney wrote: | Have you checked to

Re: Unable to display UK Pound Sign

2008-05-12 Thread Bill Davidson
I had some more thoughts on this. I'm curious how you manage to have an encoding type mismatch. In JSP's, encoding is set with the "<[EMAIL PROTECTED]>" or "" tags with "encodingType" or "contentType" attributes. In servlets, it's set with javax.servlet.ServletResponse.setContentType(String) th

Re: Tomcat configuration question

2008-05-12 Thread Neil B. Cohen
Mark Thomas wrote: Neil B. Cohen wrote: I have written a web app that I want to install on the same machine, but for various reasons (commercial, political, version-related) I need to run it on a new (and different) instance of Tomcat. I can install the latest Tomcat in a directory where it doe

Re: Tomcat configuration question

2008-05-12 Thread Mark Thomas
Neil B. Cohen wrote: I have written a web app that I want to install on the same machine, but for various reasons (commercial, political, version-related) I need to run it on a new (and different) instance of Tomcat. I can install the latest Tomcat in a directory where it does not conflict with

Re: Tomcat configuration question

2008-05-12 Thread Neil B. Cohen
Caldarale, Charles R wrote: From: Neil B. Cohen [mailto:[EMAIL PROTECTED] Subject: Tomcat configuration question I know I have to edit the server.xml file and change the shutdown port (8005) and the default connection port (8080). I will probably change the secure connection port (8443) as well

RE: Tomcat configuration question

2008-05-12 Thread Caldarale, Charles R
> From: Neil B. Cohen [mailto:[EMAIL PROTECTED] > Subject: Tomcat configuration question > > I know I have to edit the server.xml file and change > the shutdown port (8005) and the default connection > port (8080). I will probably change the secure connection > port (8443) as well Yes, that sh

Re: Failing to using OpenSSL v0.9.8g with tomcat 5.5.9 over TLS

2008-05-12 Thread Mark Thomas
Wahaj Khan wrote: Hi, I am trying to use OpenSSL 0.9.8e/0.9.8g to communicate with web-server (Apache tomcat v5.5.9) and failing over TLS. If I communicate on non secure channel, I succeed. I can access my web-server using IE 7.0, firefox2.0+ successfully suggesting that the web-server is OK

Re: Streaming Video Media

2008-05-12 Thread Александър Л . Димитров
Quoth Johnny Kewl: > Oh I see... something interesting to look at, and its fun (very off topic > though ;) > http://www.youtube.com/watch?v=1uwOL4rB-go > > That is not easy to save... little utility I have fails to get this video. > I dont know how they doing it... but it may be a trick the op can

Tomcat configuration question

2008-05-12 Thread Neil B. Cohen
Hi, I am running a commercial program which has a (n older) version of tomcat embedded in it. The target machines are running AIX or Linux (RHEL4, usually). I have written a web app that I want to install on the same machine, but for various reasons (commercial, political, version-related) I

RE: What is audio_jsp?

2008-05-12 Thread Caldarale, Charles R
> From: Jonathan Mast [mailto:[EMAIL PROTECTED] > Subject: What is audio_jsp? > > SEVERE: Servlet.service() for servlet jsp threw exception > java.lang.NullPointerException > at org.apache.jsp.audio_jsp._jspService(audio_jsp.java:792) > > What is audio_jsp? Part of your webapp, generate

What is audio_jsp?

2008-05-12 Thread Jonathan Mast
Here is a top of a stack trace from catalina.out: SEVERE: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at org.apache.jsp.audio_jsp._jspService(audio_jsp.java:792) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at ja

Re: Unable to display UK Pound Sign

2008-05-12 Thread Bill Davidson
Peter Crowther wrote: >Ah! A good, soft solution! It works around the underlying problem but that problem (encoding mismatch) is still there which would still bother me if it was my app. --Bill Davidson - To start a new topic,

Missing Context error text

2008-05-12 Thread Eric Dalquist
Is it expected that when attempting a cross-context dispatch to a missing context that error text is written to the PrintWriter of the underlying HttpServletResponse? I wrap the response before the dispatch with an extension of HttpServletResponseWrapper which redirects all content (PrintWrite

Re: Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
On Mon, May 12, 2008 at 4:56 PM, Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] > > > UPDATE currencies SET symbol = '£' WHERE ISO_CODE = 'GBP'; > > Ah! A good, soft solution! I hope there was a semicolon in there just > before the closing sin

RE: Unable to display UK Pound Sign

2008-05-12 Thread Peter Crowther
> From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] > UPDATE currencies SET symbol = '£' WHERE ISO_CODE = 'GBP'; Ah! A good, soft solution! I hope there was a semicolon in there just before the closing single quote, though! UPDATE currencies SET symbol = '£' WHERE ISO_CODE = 'GBP';

Re: Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
Hi... > Changing the encoding in the first. You want to change the second. I changed the second. > If they're writing XHTML rather than HTML, I'm not sure that entity exists - > they need to check. That may be why they're writing the value directly, > although £ would also do the job. UP

RE: Unable to display UK Pound Sign

2008-05-12 Thread Peter Crowther
> From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] > > What encoding are you using? > > The config files all used UTF-8. I've changed them to ISO8859-1 and > restarted Tomcat, but I see the same behaviour. What do you mean by "used UTF-8"? Remember that there are: - The encoding in which t

Re: Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
Hi... > What encoding are you using? The config files all used UTF-8. I've changed them to ISO8859-1 and restarted Tomcat, but I see the same behaviour. > You can go hunting for all the places in which the encoding could be > specified At the Tomcat level? > or you can tell the developers

RE: Unable to display UK Pound Sign

2008-05-12 Thread Peter Crowther
> From: Yuval Perlov [mailto:[EMAIL PROTECTED] > Use the £ to side step the issue. diff the old and the new page > to see what changed (something must have, right?) Not necessarily - the obvious thing to have changed is the encoding passed in the Content-Type HTTP header. Diffing the bytes in th

Re: Unable to display UK Pound Sign

2008-05-12 Thread Yuval Perlov
Use the £ to side step the issue. diff the old and the new page to see what changed (something must have, right?) On May 12, 2008, at 5:33 PM, Stephen Nelson-Smith wrote: Hello, On Mon, May 12, 2008 at 3:30 PM, Yuval Perlov <[EMAIL PROTECTED]> wrote: Probably the encoding has changed Whic

Re: I dont want my users to see tomcat console. Any advice?

2008-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ryan, ryan webb wrote: | Yes, I will also read TC documentations. But for now I want a quick and | simple explanation.. The TC documentation is quick and simple. If not, you should suggest editions. | and besides all your experiences are the best t

RE: Unable to display UK Pound Sign

2008-05-12 Thread Peter Crowther
> From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] > I've just upgraded from 4.1.37 to 6.0.16. My app works, but where my > code usually displays a British Pound sign, I get an odd char - a ? in > a diamond on Linux, an empty box on Windows. > > Here's the html that the app produces, shown in

Re: Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
Hello, On Mon, May 12, 2008 at 3:30 PM, Yuval Perlov <[EMAIL PROTECTED]> wrote: > Probably the encoding has changed Which encoding? I don't believe the source code has changed. How would I test and/or change this? Where? S.

Re: Unable to display UK Pound Sign

2008-05-12 Thread Yuval Perlov
Probably the encoding has changed On May 12, 2008, at 5:15 PM, Stephen Nelson-Smith wrote: I've just upgraded from 4.1.37 to 6.0.16. My app works, but where my code usually displays a British Pound sign, I get an odd char - a ? in a diamond on Linux, an empty box on Windows. Here's the html t

Re: CPU usage quirk with multiple tomcat instances

2008-05-12 Thread Lists
no; We run sar and capture data every 5 seconds. - Original Message From: Tomcat Users List To: Tomcat Users List , Lists <[EMAIL PROTECTED]> Subject: Re: CPU usage quirk with multiple tomcat instances Date: 08/05/08 10:21 > but sar only shows you 10 minute averages ,right? > It

Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
I've just upgraded from 4.1.37 to 6.0.16. My app works, but where my code usually displays a British Pound sign, I get an odd char - a ? in a diamond on Linux, an empty box on Windows. Here's the html that the app produces, shown in hexl-mode in emacs: 5860: 223e 4361 7368 2050 7269 6365 20a

Tomcat + NTLM + Heavy load + Default config = Failure

2008-05-12 Thread Sanglard Fabien
Hello, It seems Tomcat 6 will close a connection even tough the browser requested it to remain open via a "Connection: Keep-Alive" header if the ration (usedThread/totalThread) > 0.75 (Is this meant to prevent outage or DOS ?) Http11Processor.java (line 778) if (threadRatio > 75)=20 {

Re: Streaming Video Media

2008-05-12 Thread Johnny Kewl
--- 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. --

RE: [newbie] Error starting endpoint

2008-05-12 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: [newbie] Error starting endpoint > > 12.5.2008 7:30:51 org.apache.coyote.http11.Http11Protocol init > SEVERE: Error initializing endpoint > java.net.BindException: Address already in use:8080 You already had something running using p

Re: Streaming Video Media

2008-05-12 Thread bperquku
Thanks a lot, Alan Chaney wrote: > > My understanding is that you want your users to be able to *view* a > streaming file but not download it to their file system? > > Unfortunately there is no way to absolutely prevent this happening, > because the data of the file MUST be transferred from

Re: Streaming Video Media

2008-05-12 Thread Alan Chaney
My understanding is that you want your users to be able to *view* a streaming file but not download it to their file system? Unfortunately there is no way to absolutely prevent this happening, because the data of the file MUST be transferred from the server to the browser to allow the end user

Re: Streaming Video Media

2008-05-12 Thread Johnny Kewl
--- 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. --

Re: Streaming Video Media

2008-05-12 Thread bperquku
thank you for your reply, Actually my webapp uses a db authentication, but even registered users will not have to download videos, only to see them. thnx. Александър Л. Димитров wrote: > > Hi, > > Quoth bperquku: >> Hi, >> I installed Tomcat 6.0. I have sample webapp that streams's video >>

Failing to using OpenSSL v0.9.8g with tomcat 5.5.9 over TLS

2008-05-12 Thread Wahaj Khan
Hi, I am trying to use OpenSSL 0.9.8e/0.9.8g to communicate with web-server (Apache tomcat v5.5.9) and failing over TLS. If I communicate on non secure channel, I succeed. I can access my web-server using IE 7.0, firefox2.0+ successfully suggesting that the web-server is OK. By default Apache t

Re: [newbie] Error starting endpoint

2008-05-12 Thread vishvanathani
it will work only on windows check it out Thnaks Vishvanathan Quoting [EMAIL PROTECTED]: > Quoting [EMAIL PROTECTED]: > > > I'm trying to install Tomcat 6.0.16 on a Linux machine running OpenSUSE > > 10.3, but cannot get past the "Error starting endpoint". Here is output > > from $CATALINA_HOM

Re: SSLEnabled attribute in embedded Tomcat6.0

2008-05-12 Thread vishvanathani
Have you upgraded the version as now it is more than 6.1 check &let me know thanks Vishvanathan Quoting swati jain <[EMAIL PROTECTED]>: > hi > Please tell me a way to configure SSL environment using embedded tomcat 6.0 > > I have tried it using Embedded tomcat 5.5.9 and it accepts the https > r

Re: Streaming Video Media

2008-05-12 Thread Александър Л . Димитров
Hi, Quoth bperquku: > Hi, > I installed Tomcat 6.0. I have sample webapp that streams's video content. > Is it possible somke how to protect video from downloading Simplest suggestion: why don't you just let the webapp authenticate the user against some user DB? If security isn't a concern there

Streaming Video Media

2008-05-12 Thread bperquku
Hi, I installed Tomcat 6.0. I have sample webapp that streams's video content. Is it possible somke how to protect video from downloading -- View this message in context: http://www.nabble.com/Streaming-Video-Media-tp17185149p17185149.html Sent from the Tomcat - User mailing list archive at Nabb

SSLEnabled attribute in embedded Tomcat6.0

2008-05-12 Thread swati jain
hi Please tell me a way to configure SSL environment using embedded tomcat 6.0 I have tried it using Embedded tomcat 5.5.9 and it accepts the https requests. But when trying to run the same code using embedded Apache tomcat 6.0, it doesnt accepts https requests. When I debugged it, I found that n

Re: [newbie] Error starting endpoint

2008-05-12 Thread sakari . aaltonen
Quoting [EMAIL PROTECTED]: I'm trying to install Tomcat 6.0.16 on a Linux machine running OpenSUSE 10.3, but cannot get past the "Error starting endpoint". Here is output from $CATALINA_HOME/logs/catalina.out: ### 12.5.

SSLEnabled attribute in embedded Tomcat6.0

2008-05-12 Thread swati jain
hi Please tell me a way to configure SSL environment using embedded tomcat 6.0 I have tried it using Embedded tomcat 5.5.9 and it accepts the https requests. But when trying to run the same code using embedded Apache tomcat 6.0, it doesnt accepts https requests. When I debugged it, I found that n

RE: Tomcat installation on Windows - different install directory than default

2008-05-12 Thread Peter Crowther
> From: Doom Dog [mailto:[EMAIL PROTECTED] > I'd like to launch the Tomcat installation on Windows, > silently, so that I can install it in a different directory > than the usual \Program Files\Apache Software > Foundation\Tomcat 5.5, is there a way of passing the > alternate directory on the co