[Resin-interest] Resin 3.1.0's bug in html charset

2007-01-05 Thread askxuefeng
Hi,
I just upgrade Resin 3.0.21 to Resin 3.1.0, and the html output encoding
is not set correct, browser (both IE  Firefox) cannot display
UTF-8-encoding html page correctly:

index.html with encoding UTF-8:
html
head
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
/head
body utf-8 encoding text... /body
/html

Here is my trace log:

GET /index.html HTTP/1.1
Host: localhost:8080

HTTP/1.x 200 OK
Server: Resin/3.1.0
Etag: H9uOAyUVMI5
Last-Modified: Fri, 05 Jan 2007 03:23:24 GMT
Accept-Ranges: bytes
Content-Type: text/html; charset=iso-8859-1
Content-Length: 370
Date: Fri, 05 Jan 2007 03:25:08 GMT

Resin 3.1.0 always add Content-Type: text/html; charset=iso-8859-1 to
static html response but should not.

Yours,
sincerely,

Liao Xuefeng
Jan. 5, 2007 


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] resin jvm problem

2007-01-05 Thread Adam Fletcher
Akila,

Check gc.log and see if it is reporting Full GC in it during the time
of the 50x error - it could be pausing the application during the full
GC, causing your front end web server to not be able to connect. 




Thanks,

Adam Fletcher
Director, Information Technology
PowerSteering Software, Inc. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Akila
Amarathunga
Sent: Friday, January 05, 2007 12:13 AM
To: General Discussion for the Resin application server
Subject: [Resin-interest] resin jvm problem

Hi All,

I have resin 3..0.21 install in a RH el4 and use apache as a frontend.
My problem with the default setting resin works ok but it gives an
'outofmemory' error when application usage is high. So I added following
in my httpd.sh,

args=-J-Xms64m -J-Xmx512m -J-verbose:gc -Xloggc:gc.log

Then i didn't get the 'outofmemory' error but after sometime resin stop
responding. When trying to conenct to application it gives http error
'500' saying server not available due to maintenance. 
Then I removed args and after that i didn't get the '500' error code
(but the memory problem is still there).

Please guys could you tell me what causes this problem ?

Thanks,
Akila


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Quercus and Java Exceptions

2007-01-05 Thread Scott Ferguson

On Jan 5, 2007, at 8:00 AM, Markus Wolf wrote:

 Hi,

 is there a way to catch a JavaException (e.g. QuercusException) in  
 PHP?
 I have webservice throwing an exception which is wrapped in an
 QuercusException, but I cannot handle it in the PHP script.

It's an open bug currently: http://bugs.caucho.com/view.php?id=1455

I haven't yet decided how that should be handled.

-- Scott


 Markus Wolf
 -- 
 NMMN - New Media Markets  Networks
 http://www.nmmn.com/
 Langbehnstrasse 6
 22761 Hamburg
 Tel. 040 284 118 - 720
 Fax 040 284 118 - 999

 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] resin jvm problem

2007-01-05 Thread akila
Hi Bill,

I use jdk 1.5. yeah gives by the apache. I didn't get a chance to check
the gc.log. Also i found 'tto many files open' error in resin log...? does
it have any connection with '5xx' error ?

Thanks,
Akila

 As you increase the heap size, the time it takes to do a full gc will also
 increase.
 You can check your gc.log to see what that is like.

 Is the 500 error reported by your Apache frontend?  If so, anything in
 resin's log
 file when that was happening?

 By the way, what version of Java are you running?

 Bill

 On 1/5/07, Akila Amarathunga [EMAIL PROTECTED] wrote:

 Hi All,

 I have resin 3..0.21 install in a RH el4 and use apache as a frontend.
 My problem with the default setting resin works ok but it gives an
 'outofmemory' error when application usage is high. So I added following
 in my httpd.sh,

 args=-J-Xms64m -J-Xmx512m -J-verbose:gc -Xloggc:gc.log

 Then i didn't get the 'outofmemory' error but after sometime resin stop
 responding. When trying to conenct to application it gives http error
 '500' saying server not available due to maintenance.
 Then I removed args and after that i didn't get the '500' error code
 (but the memory problem is still there).

 Please guys could you tell me what causes this problem ?

 Thanks,
 Akila


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest

 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] STILL Need Help w. php and resin.

2007-01-05 Thread Steve Burrus
well I guess that I must really/truly want a response from someone with this 
group to my problem about seeing a php file with the resin server thus this 
is my third time now that I have posted this problem! I am having extreme 
difficulty in trying to do this for a while now. and aLSO how do I see an 
img. with resin??



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] STILL Need Help w. php and resin.

2007-01-05 Thread Mattias Jiderhamn
Your question is so general, it is easy to assume you have not read 
the documentation yet, or do not know the basic concepts about 
web/J2EE servers.
(Re-)Read the documentation. Try the out-of-the-box settings. Try a 
static HTML page. If your still having trouble, try to be more 
specific. (For example, include your operating system, what you have 
tried etc).

At 2007-01-05 22:19, Steve Burrus wrote:
well I guess that I must really/truly want a response from someone with this
group to my problem about seeing a php file with the resin server thus this
is my third time now that I have posted this problem! I am having extreme
difficulty in trying to do this for a while now. and aLSO how do I see an
img. with resin??



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] resin jvm problem

2007-01-05 Thread Akila Amarathunga
Hi Adam,

I checked the gc.log and it happens if there's a full gc dump. After
that user has to restart the browser to access the site, refresh won't
work...

Thanks,
Akila

On Fri, 2007-01-05 at 10:30 -0500, Adam Fletcher wrote:
 Akila,
 
 Check gc.log and see if it is reporting Full GC in it during the time
 of the 50x error - it could be pausing the application during the full
 GC, causing your front end web server to not be able to connect. 
 
 
 
 
 Thanks,
 
 Adam Fletcher
 Director, Information Technology
 PowerSteering Software, Inc. 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Akila
 Amarathunga
 Sent: Friday, January 05, 2007 12:13 AM
 To: General Discussion for the Resin application server
 Subject: [Resin-interest] resin jvm problem
 
 Hi All,
 
 I have resin 3..0.21 install in a RH el4 and use apache as a frontend.
 My problem with the default setting resin works ok but it gives an
 'outofmemory' error when application usage is high. So I added following
 in my httpd.sh,
 
 args=-J-Xms64m -J-Xmx512m -J-verbose:gc -Xloggc:gc.log
 
 Then i didn't get the 'outofmemory' error but after sometime resin stop
 responding. When trying to conenct to application it gives http error
 '500' saying server not available due to maintenance. 
 Then I removed args and after that i didn't get the '500' error code
 (but the memory problem is still there).
 
 Please guys could you tell me what causes this problem ?
 
 Thanks,
 Akila
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest