Re: How to config the Tomcat 7.x JNDI datasource by using BoneCP ??

2012-06-06 Thread zuxiong lin
Hi ALL. Anybody help ? On Thu, May 3, 2012 at 10:00 PM, zuxiong lin linzuxiong1...@gmail.comwrote: Hei. Of course, I write the name in Resource element. But Tomcat 7's logs report it . Please to find others before this letter, and you will read the Tomcat's logs!

RE: Help Linking Static Content In a WebApp before and after (6.0.30.x)

2012-06-06 Thread Morgan, Russel
Thanks for the reply Christopher: The filter / URL rewrite works great on all versions, correct. I could certainly post my config but It works fine, so I am going to try to clarify what doesn't work. What I can't get to work in both versions is a link to a static resource. I have to feed the

Re: / getting added to action path

2012-06-06 Thread Konstantin Kolinko
2012/6/6 Dharamshila Khandelwal dharmshil...@gmail.com: Tim, It worked fine with IE 6. Tomcat logs clearly say that the path is invalid. Wierd this is that when the screen is loaded for the first time, it works fine. If I click on save (which makes a call to servlet) , it starts giving

Re: Help Linking Static Content In a WebApp before and after (6.0.30.x)

2012-06-06 Thread Konstantin Kolinko
2012/6/6 Morgan, Russel russel.mor...@disney.com: What I don't know how to do is use that redirect filter/rewrite to change the url based on the version of tomcat, which it seems I need to do, since the container pathing logic changed across versions. Do not use your trick of mapping

RE: Help Linking Static Content In a WebApp before and after (6.0.30.x)

2012-06-06 Thread Morgan, Russel
Thanks for the reply. So if I bundle the default servlet with my application and then configure it to run as a different named servlet, and map static resources to it within the webapp that should work? (I will certainly try that) Also, all tricks aside, what is the proper way to address

Re: How to config the Tomcat 7.x JNDI datasource by using BoneCP ??

2012-06-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zuxiong, On 6/6/12 6:47 AM, zuxiong lin wrote: Hi ALL. Anybody help ? Filip asked for your startup logs and you never posted them. If you post them, perhaps we can help. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17

Re: Help Linking Static Content In a WebApp before and after (6.0.30.x)

2012-06-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Russel, On 6/6/12 8:45 AM, Morgan, Russel wrote: So if I bundle the default servlet with my application and then configure it to run as a different named servlet, and map static resources to it within the webapp that should work? (I will

Re: getting frustrated with web sockets

2012-06-06 Thread Ravi
Mark / Chris, Essentially, if I want to use websockets, you are asking me to rewrite my app + rewrite grails + rewrite hibernate + rewrite apache http utilities + rewrite several other web libraries I use. I do not think this is a reasonable option. On 6/5/2012 9:04 PM, Christopher

Re: getting frustrated with web sockets

2012-06-06 Thread David kerber
On 6/6/2012 10:54 AM, Ravi wrote: Mark / Chris, Essentially, if I want to use websockets, you are asking me to rewrite my app + rewrite grails + rewrite hibernate + rewrite apache http utilities + rewrite several other web libraries I use. I do not think this is a reasonable option. Or

Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-06 Thread Kiran Badi
Hi, I have a requirement to send pw reset mails,send deals HTML mails etc. So for this I was looking for some mail servers which can work with my existing setup which I can integrate with Tomcat 7.0x,should have pop3/smtp support. can some one give me some other names which I can check ?.

Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-06 Thread David kerber
On 6/6/2012 12:24 PM, Kiran Badi wrote: Hi, I have a requirement to send pw reset mails,send deals HTML mails etc. So for this I was looking for some mail servers which can work with my existing setup which I can integrate with Tomcat 7.0x,should have pop3/smtp support. can some one give me

Re: getting frustrated with web sockets

2012-06-06 Thread Steve Millidge
Mark, I think it would be useful to get access to the session at least when you are bootstrapping the web socket and creating the MessageInBound subclass instance. It is very likely that a user will have accessed a web application and logged in etc. prior to bootstrapping the websocket

Re: getting frustrated with web sockets

2012-06-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 6/6/12 11:09 AM, David kerber wrote: On 6/6/2012 10:54 AM, Ravi wrote: Mark / Chris, Essentially, if I want to use websockets, you are asking me to rewrite my app + rewrite grails + rewrite hibernate + rewrite apache http utilities

Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 6/6/12 12:24 PM, Kiran Badi wrote: I have a requirement to send pw reset mails,send deals HTML mails etc. So for this I was looking for some mail servers which can work with my existing setup which I can integrate with Tomcat

Re: getting frustrated with web sockets

2012-06-06 Thread Mark Thomas
On 06/06/2012 17:40, Steve Millidge wrote: Mark, I think it would be useful to get access to the session at least when you are bootstrapping the web socket and creating the MessageInBound subclass instance. It is very likely that a user will have accessed a web application and logged

Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-06 Thread Kiran Badi
Thanks David ,I will research java email server and Chris for replying, High level requirement which I feel I need is, to send mail(ex pw reset mails, welcome mails, HTML Content deals mails etc), receive mails( yes I need to receive mails as well), Integrate well with Tomcat means that it

Re: getting frustrated with web sockets

2012-06-06 Thread smilli...@c2b2.co.uk
Thinking off the top of my head. How about passing in an unmodifiable map of the session attributes to give some context to the creation of the MessageInbound class? Hmm however then some bright spark will probably want the URL and the request parameters, then the cookies etc. of the initiating

Re: getting frustrated with web sockets

2012-06-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 6/6/12 2:42 PM, Mark Thomas wrote: I'd rather not pass in the session object since it just encourages folks to retain a copy of it and I am not at all convinced that is a good idea for WebSockets. I have no objection to making session

Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 6/6/12 2:56 PM, Kiran Badi wrote: High level requirement which I feel I need is, to send mail(ex pw reset mails, welcome mails, HTML Content deals mails etc), receive mails( yes I need to receive mails as well), Okay. Integrate well

RE: Help Linking Static Content In a WebApp before and after (6.0.30.x)

2012-06-06 Thread Morgan, Russel
I found a fix :) Thanks again for all the replies, the thought that if a resource wasn't mapped it would drop to the default servlet got me thinking. I did some looking and it was actually my spring dispatcher picking up /* and causing calls to static resources to fail as the dispatcher picked

Java process killed by oom-killer in Ubuntu

2012-06-06 Thread Jorge Medina
Hello, I have an application that runs under Tomcat 7.0.23 that periodically crashes. The java process running tomcat keeps growing in memory until the Linux oom-killer kills the process. I do not get an OutOfMemoryError because the memory leak is not in the Java heap. In fact, it seems the

isHexDigit error problems and upgrading Tomcat and jdk

2012-06-06 Thread Miguel González Castaños
Hi, We are getting isHexDigit errors again, although there is no malformed URL requests We are using Tomcat 5.5 and jdk 1.5 (from Sun). As some of you have suggested me in the past, I'm considering to upgrade to a more up-to-date Tomcat and/or jdk so I can get more support and help from

Re: isHexDigit error problems and upgrading Tomcat and jdk

2012-06-06 Thread Konstantin Kolinko
2012/6/7 Miguel González Castaños miguel_3_gonza...@yahoo.es: Hi,  We are getting isHexDigit errors again, although there is no malformed URL requests It is parameter parsing code. It cannot claim the request as malformed (API does not allow it). It can only skip malformed parameters. It

RE: Request for Aliases or Alias as element inside Context

2012-06-06 Thread Esmond Pitt
For information of the list, this was first opened as a feature request: https://issues.apache.org/bugzilla/show_bug.cgi?id=53359 but after discussion the following was implemented instead and will be in 7.0.28: https://issues.apache.org/bugzilla/show_bug.cgi?id=53373. Basically whitespace is now

Re: Can someone suggest mail some opensource mail server which works well with Tomcat.

2012-06-06 Thread Kiran Badi
If you are going to use Javamail to access a remote mailbox (even if it's on localhost), then you can use any email server software that otherwise meets your needs. Javamail can communicate with any POP3 or IMAP server -- it need not be Java-based. You can even use Google Mail as your email