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) org.apache.struts.action.Re

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 > com.met.data.factory.use

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: XRQB

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(); } ... Test ... When I run above page,it can redirect

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 <[EMAI

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: > >ObjectType fn="force-type" type="text/

Re: tomcat can not connect to MySql

2007-09-23 Thread David Smith
This stack trace seems short and unusually terse. I can guess this is Sun JDK 1.4 since javax.transaction.SystemException doesn't exist in later JDKs. Since the exception is thrown by com.met.data.factory.user.UserFactory, is this class one of yours? If so, it would be great if you could add

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 it

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 web

答复: could two tomcat servers have mutual a uthentication?

2007-09-23 Thread 罗时飞
Can you refer the Chinese book named 《Agile Acegi、CAS-Architecting and Developing Secure Java Systems》 written by me? Thx. -邮件原件- 发件人: quanxin zhu [mailto:[EMAIL PROTECTED] 发送时间: 2007年9月24日 9:16 收件人: users@tomcat.apache.org 主题: could two tomcat servers have mutual authentication? I s

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

2007-09-23 Thread quanxin zhu
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? 在07-9-24,罗时飞 <[EMAIL PROTECTED]> 写道: > > Can you refer

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

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: http://tomcat.apache.org/tomcat-6.0-doc

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, wh

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 an

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 an

Re: Tomcat and webdav in general [Beginner]

2007-09-23 Thread Sven Braun
Hello again, The thing is that the company wants to implement webdav to it's own existing document and knowledge management system, allowing users to change content without downloading a document and having to upload it back again. I believe the documents are opened from within that management sy