Re: tomcat can not connect to MySql

2007-09-23 Thread fdehghani
Tomcat 5.5.9 OS Windows Server 2003 , Windows XP Mysql 5.0 tomcat and mysql on the same server javax.transaction.SystemException com.met.data.factory.user.UserFactory.getUser(UserFactory.java:694) com.met.action.LoginAction.execute(LoginAction.java:56)

Re: tomcat can not connect to MySql

2007-09-23 Thread fdehghani
also i have to say that i use hibernate 3 to connect to Mysql thanks for your attention -- Fatemeh fdehghani wrote: Tomcat 5.5.9 OS Windows Server 2003 , Windows XP Mysql 5.0 tomcat and mysql on the same server javax.transaction.SystemException

Re: How to control encoding of response.sendRedirect? (Tomcat 5.5.17)

2007-09-23 Thread Alex Funk
Thanks to all that responded, that helped me a lot to make sense from it all. On 22/09/2007, at 10:27 AM, Mark Thomas wrote: Check the HTTP spec. I am pretty sure (but haven't checked) that the headers must always be in ISO-8859-1. Yes, the RFC2616 says: message-header = field-name : [

Re: tomcat can not connect to MySql

2007-09-23 Thread mgainty
did you check the listener to make sure the MySQL listener is actually listening? netstat -a | grep 3306 if you run your mysql client with the same parameters that your webpp is using mysql [EMAIL PROTECTED] Username -p password DBName can you connect? M-- - Original Message - Wrom:

Warn:Parameters: Invalid chunk ignored

2007-09-23 Thread red phoenix
I have a jsp page,and there is a button in it,when I click this button,it will call Javascript,and redirect another page,my code is follows: ... functioin test(){ document.forms[0].action=a.do; document.forms[0].submit(); } ... s:form table tda href=javascript:test() Test/a/td /tr

Re: UTF8

2007-09-23 Thread Lucas Galfaso
hi, What happens if you escape every char in the XML file? This is you replace character number nnn to #nnn; (quotes for clarity.) The number has to be the ISO-10646 of the character and, lucky for you, this is the case of Javas internal encoding. Regards, lg On 9/22/07, Amnon Lahav [EMAIL

Re: Problem with nsapi_connector.so and HTTP 304 response from JBoss

2007-09-23 Thread Rainer Jung
Hi Matt, I tried with SJSWS 6 sp11 on Solaris 8 together with nsapi redirector 1.2.25. I could reproduce the problem, and I could fix it with a small variation of your configuration, which seems syntactically invalid: Your original configuration: Object name=jboss ObjectType

Single Sign-On across multiple webapps

2007-09-23 Thread A Sunley
Greeting Tomcat gurus, I'm experiencing some problems implementing SSO across two webapps. Basically we have a main website which presently uses FORM authentication with a JAASRealm – this works fine for the website. However we now want to add a forum, specifically JForum ( www.jforum.net ) as

could two tomcat servers have mutual authentication?

2007-09-23 Thread quanxin zhu
I setup a tomcat server 1 using client authentication, and deployed a webservice on it. So, when invoke the webservice, a certification is needed. In server 2 , I want a servlet to invoke the webservice in server 1. could server 2 automatically provide its certification to tomcat 1 when invoke

Re: 答复: could two tomcat servers have m utual authentication?

2007-09-23 Thread Mark Thomas
quanxin zhu wrote: I am using certification for client authentication, so yale CAS is not what I want. My point is that, does tomcat provide the function, that when invoke other tomcat's webservice, it could provide its certification to other tomcat servers? There is no functionality to do

RE: Single Sign-On across multiple webapps

2007-09-23 Thread Caldarale, Charles R
From: A Sunley [mailto:[EMAIL PROTECTED] Subject: Single Sign-On across multiple webapps I'm experiencing some problems implementing SSO across two webapps. You make no mention of having read the Tomcat documentation for SSO, let alone enabling it:

Re: 答复: could two tomcat servers have mutual authentication?

2007-09-23 Thread quanxin zhu
Thanks for your reply Could you explain it in detail? where could I find the instruction to modify the code to implement this function? Any suggestion? I have another questions, when navigate a servlet using browser, the tomcat server could trasfer the certification to browser automatically,

Re: ??: could two tomcat servers have mutual authentication?

2007-09-23 Thread Mark Thomas
quanxin zhu wrote: Could you explain it in detail? You have written the code to call a web service. You need to write additional code to pass a certificate. where could I find the instruction to modify the code to implement this function? Goggle woudl be a good place to start. I have

Re: ??: could two tomcat servers have mutual authentication?

2007-09-23 Thread Mark Thomas
quanxin zhu wrote: Could you explain it in detail? You have written the code to call a web service. You need to write additional code to pass a certificate. where could I find the instruction to modify the code to implement this function? Goggle woudl be a good place to start. I have