Database Connection Neteban DataSource

2011-12-28 Thread Lau Eng Huat
Hi tomcat experts, I'm having this problem with the mysql connection in tomcat using netbeans. I'm always having a exclamation mark on the Blue World Globe in netbeans project tabs. Everytime I try to resolve the data source problem using "New Connection Wizard" in netbeans, the database textfield

Re: Odd NIO connector behavior

2011-12-28 Thread Matthew Tyson
On Wed, Dec 28, 2011 at 8:58 AM, Stefan Mayr wrote: > Am 28.12.2011 10:04, schrieb ma...@apache.org: > > Matthew Tyson> >> wrote: >> >> That's right, there is an f5 load balancer. The valve is used to keep >>> track of whether the request was via HTTPS or not. >>> >> >> What happens if you go

Re: OT: Breadcrumbs Tomcat 7.0.11

2011-12-28 Thread Hassan Schroeder
On Wed, Dec 28, 2011 at 3:58 PM, Kiran Badi wrote: > Books > > How can I pull out name value here ? You can't, unless you have a filter parsing the outbound generated page, or use JavaScript on the client (neither of which I'd recommend). > request.getparameter is giving me null here. Of cours

Re: OT: Breadcrumbs Tomcat 7.0.11

2011-12-28 Thread Kiran Badi
First, "Books" here is link text, not "title"; title is an attribute of anchor ("a" tag), and you're not using one in this example. I agree and undestand this. Books This is just an example link.I am still building the functionality of all links.As I continue to work, I will be making these ch

Re: how can I figure out if tomcat is blocking and needs more threads? production tomcat monitoring tips.

2011-12-28 Thread Mark Thomas
On 28/12/2011 22:27, S Ahmed wrote: > While benchmarking, I want to know if/when tomcat requires more threads > (maxThreads). > > How can I figure this out? Look in the logs. Tomcat reports the first time (and only the first time) it hits maxThreads. Mark ---

[SECURITY] Apache Tomcat and the hashtable collision DoS vulnerability

2011-12-28 Thread Mark Thomas
You may have read about a recently announced vulnerability rooted in the Java hashtable implementation [1]. Since Apache Tomcat uses a hashtable for storing HTTP request parameters, it is affected by this issue. As per [1], it appears that Oracle will not be providing a fix for this vulnerability

how can I figure out if tomcat is blocking and needs more threads? production tomcat monitoring tips.

2011-12-28 Thread S Ahmed
While benchmarking, I want to know if/when tomcat requires more threads (maxThreads). How can I figure this out? i.e. I start benchmarking tomcat to see how it reacts to a high-traffic spike, I want to make sure that tomcat isn't hitting the maxThreads when my server has the ability resource wise

Re: OT: Breadcrumbs Tomcat 7.0.11

2011-12-28 Thread Hassan Schroeder
On Wed, Dec 28, 2011 at 2:02 PM, Kiran Badi wrote: > Books > > All these static title which are part of my home page and are base level > links.I need to pull *Books* between a tags  and stick it in navigational > bar. First, "Books" here is link text, not "title"; title is an attribute of ancho

Re: OT: Breadcrumbs Tomcat 7.0.11

2011-12-28 Thread Kiran Badi
this is how my links looks like Books All these static title which are part of my home page and are base level links.I need to pull *Books* between a tags and stick it in navigational bar. Other than DB calls is there any other way out.How about using link name attribute and sticking it na

Re: OT: Breadcrumbs Tomcat 7.0.11

2011-12-28 Thread Hassan Schroeder
On Wed, Dec 28, 2011 at 12:39 PM, Kiran Badi wrote: > But I am somewhat lost as how do I pull out the title of the clicked links > and stick it to breadcrumb path. Where are you getting the "title" to put into the page now? Hint: if the answer *isn't* "my database" you've got some refactoring t

Re: OT: Breadcrumbs Tomcat 7.0.11

2011-12-28 Thread Kiran Badi
Ok thanks pid for confirming this. Now that I understand this is not related to Tomcat.Can you throw some light as how can i use JSTL here ? I will be having close to 100 links in my home page and each link in my home will have atleast 30 links here.and those 30 links here further sublinks f

Re: Odd NIO connector behavior

2011-12-28 Thread Stefan Mayr
Am 28.12.2011 10:04, schrieb ma...@apache.org: Matthew Tyson wrote: That's right, there is an f5 load balancer. The valve is used to keep track of whether the request was via HTTPS or not. What happens if you go direct to Tomcat and bypass the F5? tcpdump seems to confirm the same. What

Re: Downloading an entire website from a specific URL?

2011-12-28 Thread jaiswal
wget command might help you!! On Wed, Dec 28, 2011 at 7:42 PM, Mark Shifman wrote: > wget > > On 12/28/2011 2:19 AM, Craig Burlock wrote: > >> Hello smart-people, >> >> This isn't strictly a Tomcat question, however I thought you were the >> people to ask: >> >> *Can anyone recommend a utility

Re: [OT] ClassFormatException: Invalid constant pool reference

2011-12-28 Thread Pid *
On 28 Dec 2011, at 10:25, Denis Ivanov wrote: > >> Date: Tue, 27 Dec 2011 16:56:41 -0500 >> From: ch...@christopherschultz.net >> To: users@tomcat.apache.org >> Subject: Re: [OT] ClassFormatException: Invalid constant pool reference >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Den

Re: Downloading an entire website from a specific URL?

2011-12-28 Thread Mark Shifman
wget On 12/28/2011 2:19 AM, Craig Burlock wrote: Hello smart-people, This isn't strictly a Tomcat question, however I thought you were the people to ask: *Can anyone recommend a utility for downloading an entire website (including links and child pages) from a specific URL?* I need to get a

RE: [OT] ClassFormatException: Invalid constant pool reference

2011-12-28 Thread Denis Ivanov
> Date: Wed, 28 Dec 2011 13:11:32 + > From: ma...@apache.org > To: users@tomcat.apache.org > Subject: Re: [OT] ClassFormatException: Invalid constant pool reference > > On 28/12/2011 10:24, Denis Ivanov wrote: > > Can you post the full stack trace? > >> Dec 27, 2011 8:50:26 AM org.apache.cat

Re: [OT] ClassFormatException: Invalid constant pool reference

2011-12-28 Thread Mark Thomas
On 28/12/2011 10:24, Denis Ivanov wrote: > Can you post the full stack trace? >> Dec 27, 2011 8:50:26 AM org.apache.catalina.startup.HostConfig >> checkResources INFO: Undeploying context [/GlobziWebApplication] >> Dec 27, 2011 8:50:26 AM org.apache.catalina.startup.HostConfig >> deployWAR INFO: D

RE: [OT] ClassFormatException: Invalid constant pool reference

2011-12-28 Thread Denis Ivanov
> Date: Tue, 27 Dec 2011 16:56:41 -0500 > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: [OT] ClassFormatException: Invalid constant pool reference > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Denis, > > On 12/27/11 7:53 AM, Denis Ivanov wrote: > >

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-28 Thread markt
Saravanan L wrote: >Tomcat does not pass through any proxy. My firefox browser has a proxy >plugin configured which RELAYED this message. > >I enabled this plugin because, I wanted to be sure of whats happening. >(I guess I should made it clear) > >So the end line is tomcat does not responds to

Re: Odd NIO connector behavior

2011-12-28 Thread markt
Matthew Tyson wrote: >That's right, there is an f5 load balancer. The valve is used to keep >track of whether the request was via HTTPS or not. What happens if you go direct to Tomcat and bypass the F5? >tcpdump seems to confirm the same. What are you thinking? Probably, like me, that the F5

Re: Breadcrumbs Tomcat 7.0.11

2011-12-28 Thread Pid *
On 28 Dec 2011, at 03:50, Kiran Badi wrote: > Hi , > > Just wanted to check if Tomcat has any packages that can be used for building > Breadcrumbs. No, it's an app server not a set of libraries. > I think some j2ee servers provide some inbuilt packages which can be used for > building breadc