[Resin-interest] where is error-log tag?

2008-10-01 Thread Wade Lau
hi, all.

I am now encountering a problem related to error-log tag in resin3.1.6,
 described below:

the page code:
!--code begin--
[EMAIL PROTECTED] session=false%[EMAIL PROTECTED] 
contentType=text/html;charset=UTF-8
language=java%%



%
[EMAIL PROTECTED] import=%
jsp:useBean id=lang scope=application class=com.ufqi.base.ManXML
It works!
br/a href=/tmp/test100.jsp test page /a
!--code end--

saved the code as a.jsp

when run is in resin3.1.6

the response:


HTTP/1.1 200 OK
Date: Wed, 01 Oct 2008 16:19:51 GMT
Server: Apache
Content-Type: text/html; charset=UTF-8
Content-Length: 2
Connection: close




when run it in resin-2.1.7

the response:

HTTP/1.1 500 Internal Server Error
Date: Wed, 01 Oct 2008 16:22:19 GMT
Server: Apache
Content-Length: 299
Connection: close
Content-Type: text/html

title500 Servlet Exception/title
h1500 Servlet Exception/h1
codepre
/phone/tmp/a.jsp:10: `lt;/jsp:useBean' expected at end of file.  For
XML, the top-level tag must have a matching closing tag.
/pre/code
hr /small
Resin 2.1.17 (built Tue Jul 11 09:01:03 PDT 2006)
/small


that is the question, when an error like unclosed jsp:useBean, resin2.1.7
could throw an exception, but resin3.1.6 could not, why? it has nothing to
tell the developer what happened or how it's going about the script
a.jsp.

I read their resin.xml which two versions has different xml format, the key
point is  the resin2.1.7 has a tag errot-tag to handle this? but
resin3.1.6 has not, isn't?

I want to know how the error-tag would be added in resin3.1.6? or how
could I handled the error in resin3.1.6's log file by configuring its
resin.xml ?


thanks in advance, and looking forward to all of you!


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


[Resin-interest] Resin Pro 3.2.0 JMX Error

2008-10-01 Thread Rob Lockstone
Resin Pro 3.2.0 on OS X 10.5.5 with Java 1.5.

Anyone else seeing this? Same error is logged twice every 60 seconds.

[13:43:59.956] {resin-48} javax.management.InstanceNotFoundException:  
java.lang:type=MemoryPool,name=Tenured Gen
[13:43:59.956] {resin-48}   at  
com 
.caucho.jmx.AbstractMBeanServer.getAttribute(AbstractMBeanServer.java: 
586)
[13:43:59.956] {resin-48}   at  
com 
.caucho.server.admin.ProManagement.getMemoryUsage(ProManagement.java: 
350)
[13:43:59.956] {resin-48}   at  
com 
.caucho.server.admin.ProManagement.checkFreeMemory(ProManagement.java: 
321)
[13:43:59.956] {resin-48}   at  
com.caucho.server.admin.ProManagement.handleAlarm(ProManagement.java: 
212)
[13:43:59.956] {resin-48}   at  
com.caucho.util.Alarm.handleAlarm(Alarm.java:427)
[13:43:59.956] {resin-48}   at com.caucho.util.Alarm.run(Alarm.java:397)
[13:43:59.956] {resin-48}   at com.caucho.util.ThreadPool 
$Item.runTasks(ThreadPool.java:759)
[13:43:59.956] {resin-48}   at com.caucho.util.ThreadPool 
$Item.run(ThreadPool.java:681)
[13:43:59.956] {resin-48}   at java.lang.Thread.run(Thread.java:613)

Rob



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


Re: [Resin-interest] Resin Pro 3.2.0 JMX Error

2008-10-01 Thread Steffen Busch
see http://bugs.caucho.com/view.php?id=2839


2008/10/1 Rob Lockstone [EMAIL PROTECTED]:
 Resin Pro 3.2.0 on OS X 10.5.5 with Java 1.5.

 Anyone else seeing this? Same error is logged twice every 60 seconds.

 [13:43:59.956] {resin-48} javax.management.InstanceNotFoundException:
 java.lang:type=MemoryPool,name=Tenured Gen
 [13:43:59.956] {resin-48}   at
 com
 .caucho.jmx.AbstractMBeanServer.getAttribute(AbstractMBeanServer.java:
 586)
 [13:43:59.956] {resin-48}   at
 com
 .caucho.server.admin.ProManagement.getMemoryUsage(ProManagement.java:
 350)
 [13:43:59.956] {resin-48}   at
 com
 .caucho.server.admin.ProManagement.checkFreeMemory(ProManagement.java:
 321)
 [13:43:59.956] {resin-48}   at
 com.caucho.server.admin.ProManagement.handleAlarm(ProManagement.java:
 212)
 [13:43:59.956] {resin-48}   at
 com.caucho.util.Alarm.handleAlarm(Alarm.java:427)
 [13:43:59.956] {resin-48}   at com.caucho.util.Alarm.run(Alarm.java:397)
 [13:43:59.956] {resin-48}   at com.caucho.util.ThreadPool
 $Item.runTasks(ThreadPool.java:759)
 [13:43:59.956] {resin-48}   at com.caucho.util.ThreadPool
 $Item.run(ThreadPool.java:681)
 [13:43:59.956] {resin-48}   at java.lang.Thread.run(Thread.java:613)

 Rob



 ___
 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 Pro 3.2.0 JMX Error

2008-10-01 Thread Rob Lockstone
Thanks. I did search for it in the bug database, but neglected to  
include closed bugs in my search.

Rob

On Oct 1, 2008, at 14:22, Steffen Busch wrote:

 see http://bugs.caucho.com/view.php?id=2839


 2008/10/1 Rob Lockstone [EMAIL PROTECTED]:
 Resin Pro 3.2.0 on OS X 10.5.5 with Java 1.5.

 Anyone else seeing this? Same error is logged twice every 60 seconds.

 [13:43:59.956] {resin-48} javax.management.InstanceNotFoundException:
 java.lang:type=MemoryPool,name=Tenured Gen
 [13:43:59.956] {resin-48}   at
 com
 .caucho 
 .jmx.AbstractMBeanServer.getAttribute(AbstractMBeanServer.java:
 586)
 [13:43:59.956] {resin-48}   at
 com
 .caucho.server.admin.ProManagement.getMemoryUsage(ProManagement.java:
 350)
 [13:43:59.956] {resin-48}   at
 com
 .caucho 
 .server.admin.ProManagement.checkFreeMemory(ProManagement.java:
 321)
 [13:43:59.956] {resin-48}   at
 com.caucho.server.admin.ProManagement.handleAlarm(ProManagement.java:
 212)
 [13:43:59.956] {resin-48}   at
 com.caucho.util.Alarm.handleAlarm(Alarm.java:427)
 [13:43:59.956] {resin-48}   at  
 com.caucho.util.Alarm.run(Alarm.java:397)
 [13:43:59.956] {resin-48}   at com.caucho.util.ThreadPool
 $Item.runTasks(ThreadPool.java:759)
 [13:43:59.956] {resin-48}   at com.caucho.util.ThreadPool
 $Item.run(ThreadPool.java:681)
 [13:43:59.956] {resin-48}   at java.lang.Thread.run(Thread.java: 
 613)

 Rob



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


[Resin-interest] Obtaining a PGConnection object

2008-10-01 Thread Claire McLister
Hi,

  We have an application running on Tomcat and are evaluating  
migration to Resin.

  One of the current sticking points is the use of Postgresql Large  
Objects. In the Tomcat configuration, we could use the  
'allowAccesstoUnderlyingConnection' property to access the  
PGConnection object and use the large object API from there.

  It seems Resin supports the retrieval of the Connection object from  
the Datasource, but trying to cast it into a PGConnection gives an  
exception.

  Can someone please tell us how we can use Large Object API from  
within the Resin container.

  Thanks for any pointers.

Claire



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