[Resin-interest] just tried the s070910 release of 3.1.2 pro wih quercus

2007-09-12 Thread Alex Sharaz
And i get the following message. Works find with 3.1.2 release
Alex


java.lang.ClassFormatError:
_quercus/_includes/_ProfilerStub__php$fun_wfProfileOut
: illegal attribute length (Code:239)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:122)
at
com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1
389)
at
com.caucho.loader.DynamicClassLoader.findClassImpl(DynamicClassLoader.ja
va:1259)
at
com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.ja
va:1161)
at
com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1
105)
at
com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1
090)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
com.caucho.quercus.page.ProPageManager.createPage(ProPageManager.java:14
5)
at
com.caucho.quercus.page.ProPageManager.compilePage(ProPageManager.java:9
0)
at
com.caucho.quercus.page.PageManager.parse(PageManager.java:193)
at
com.caucho.quercus.page.PageManager.parse(PageManager.java:158)
at com.caucho.quercus.Quercus.parse(Quercus.java:794)
at com.caucho.quercus.env.Env.include(Env.java:3334)
at
_quercus._StartProfiler__php.execute(usr/web/commswiki/webapps/wiki/Star
tProfiler.php:3)
at com.caucho.quercus.env.Env.include(Env.java:3338)
at
_quercus._includes._WebStart__php.execute(usr/web/commswiki/webapps/wiki
/includes/WebStart.php:69)
at com.caucho.quercus.env.Env.include(Env.java:3338)
at
_quercus._index__php.execute(usr/web/commswiki/webapps/wiki/index.php:1)
at
com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:119)
at
com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServl
et.java:146)
at
com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:35
3)*
To view the terms under which this email is distributed, please go to 
http://www.hull.ac.uk/legal/email_disclaimer.html
*___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin 3.1.1 and Struts iterate tag problems

2007-09-12 Thread Ambar Hegde
Tried it on Resin 3.1.2 and it works just fine. Thanks!
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jason Wang
  Sent: Tuesday, September 11, 2007 7:33 AM
  To: General Discussion for the Resin application server
  Subject: Re: [Resin-interest] Resin 3.1.1 and Struts iterate tag
problems


  3.1.2 is ok, I tested iterate page in struts example project both on 3.1.1
and 3.1.2
  the exception occurs on 3.1.1 but does not occur on 3.1.2


  On 9/11/07, Jason Wang [EMAIL PROTECTED] wrote:
Resin 3.1.1 doesn't allow to nest jsp statement in a taglib, I don't
know why, maybe just a bug, you can try 3.1.2

Jason


On 9/10/07, Ambar Hegde [EMAIL PROTECTED] wrote:
  Hi,

  I'm trying to move an existing application from Resin 2x to Resin
3.1.1,
  with JDK 1.5.

  The application uses Struts 1.1, however the problem persists with
Struts
  1.3.8 as well.

  Using the iterate tag from struts-logic.tld causes resin to throw the
  following error:

  /jsp/LocationReportMain.jsp:246: not a statement
  [19:36:22.319] java.lang.Integer null;
  [19:36:22.319]  ^
  [19:36:22.319] /jsp/LocationReportMain.jsp:246: ';' expected
  [19:36:22.319] java.lang.Integer null;
  [19:36:22.319]   ^


  The source jsp is:

  logic:iterate id=driverValues name=SingleUserLocReportInitializer
  property=teamMembers type= java.util.Hashtablehtml:option
  value='%=driverValues.get(USER_ID).toString()%'
  %=driverValues.get(NAME).toString()%/html:option/logic:iterate

  Would appreciate any help on this.

  TIA

  -Ambar



  ___
  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 3.1.1 and Struts iterate tag problems

2007-09-12 Thread Leland, Robert
Our experience is that you need to use Resins implementation of the JSTL Tags 
:( 1
Remove the standard.jar
 
-Rob
 

Robert Leland   INTEGRITYOne
P: (703) 581-6522   1900 Campus Commons Drive
F: (703) 476-7405Reston, VA 20191
[EMAIL PROTECTED]   www.integrityonepartners.com



From: [EMAIL PROTECTED] on behalf of Jason Wang
Sent: Mon 9/10/2007 8:52 PM
To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] Resin 3.1.1 and Struts iterate tag problems


Resin 3.1.1 doesn't allow to nest jsp statement in a taglib, I don't know why, 
maybe just a bug, you can try 3.1.2
 
Jason

 
On 9/10/07, Ambar Hegde [EMAIL PROTECTED] wrote: 

Hi,

I'm trying to move an existing application from Resin 2x to Resin 3.1.1,
with JDK 1.5.

The application uses Struts 1.1, however the problem persists with 
Struts
1.3.8 as well.

Using the iterate tag from struts-logic.tld causes resin to throw the
following error:

/jsp/LocationReportMain.jsp:246: not a statement 
[19:36:22.319] java.lang.Integer null;
[19:36:22.319]  ^
[19:36:22.319] /jsp/LocationReportMain.jsp:246: ';' expected
[19:36:22.319] java.lang.Integer null; 
[19:36:22.319]   ^


The source jsp is:

logic:iterate id=driverValues name=SingleUserLocReportInitializer
property=teamMembers type= java.util.Hashtablehtml:option
value='%=driverValues.get(USER_ID).toString()%'
%=driverValues.get(NAME).toString()%/html:option/logic:iterate 

Would appreciate any help on this.

TIA

-Ambar



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



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


Re: [Resin-interest] Filters are not run when using rewrite-dispatch forward

2007-09-12 Thread Sam
 Date: Tue, Sep 11, 2007 at 01:10:45PM +0200
 Subject: [Resin-interest] Filters are not run when using rewrite-dispatch 
 forward

 Hi,
 
 Filters are not run when requests are forwarded with rewrite-dispatch.
 
 According to these bug reports it's fixed in 3.1:
 
 http://bugs.caucho.com/view.php?id=1510
 http://bugs.caucho.com/view.php?id=1514

Resin 3.0 includes the RewriteFilter.  Since it's a filter, you can use
the regular ordering of filters to place a filter before it.

http://www.caucho.com/resin-3.0/servlet/filter-library.xtp#RewriteFilter

-- Sam



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


[Resin-interest] resin 3.1 JAX-WS exception

2007-09-12 Thread Huitang Li
Hi,

I downloaded the code in 
http://www.caucho.com/resin-3.1/examples/soa-jaxws/index.xtp and 
installed in resin 3.1.

The following exception is shown when accessing the demo.jsp:

java.lang.NullPointerException
[17:21:55.828] at 
com.caucho.jaxb.skeleton.SkeletonProperty.write(SkeletonProperty.java:82)
[17:21:55.828] at 
com.caucho.soap.skeleton.OutParameterMarshal.serializeReply(OutParameterMarshal.java:89)
[17:21:55.828] at 
com.caucho.soap.skeleton.DocumentWrappedAction.invoke(DocumentWrappedAction.java:222)
[17:21:55.828] at 
com.caucho.soap.skeleton.DirectSkeleton.invoke(DirectSkeleton.java:274)
[17:21:55.828] at 
com.caucho.soa.encoding.SoapEncoding.invoke(SoapEncoding.java:85)
[17:21:55.828] at 
com.caucho.soa.servlet.SoapProtocolServlet.service(SoapProtocolServlet.java:77)
[17:21:55.828] at 
com.caucho.server.dispatch.WebServiceFilterChain.doFilter(WebServiceFilterChain.java:108)
[17:21:55.828] at 
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:167)
[17:21:55.828] at 
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:226)
[17:21:55.828] at 
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
[17:21:55.828] at 
com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
[17:21:55.828] at 
com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:591)
[17:21:55.828] at 
com.caucho.util.ThreadPool$Item.run(ThreadPool.java:513)
[17:21:55.828] at java.lang.Thread.run(Thread.java:595)
[17:21:55.828] [7] HTTP/1.1 500 Internal Server Error
[17:21:55.828] [7] Transfer-Encoding: chunked
[17:21:55.828] [7] write-chunk(7)
[17:21:55.828] [7] keepalive
[17:21:55.828] java.lang.ClassCastException: java.lang.Integer
[17:21:55.828] at $Proxy8.getUsers(Unknown Source)
[17:21:55.828] at _jsp._demo__jsp._jspService(_demo__jsp.java:40)
[17:21:55.828] at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
[17:21:55.828] at com.caucho.jsp.Page.pageservice(Page.java:577)
[17:21:55.828] at 
com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:190)
[17:21:55.828] at 
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:167)
[17:21:55.828] at 
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:226)
[17:21:55.828] at 
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
[17:21:55.828] at 
com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
[17:21:55.828] at 
com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:591)
[17:21:55.828] at 
com.caucho.util.ThreadPool$Item.run(ThreadPool.java:513)
[17:21:55.828] at java.lang.Thread.run(Thread.java:595)


Does anyone know why it is complaining like this?

Thanks.



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