Re: [Resin-interest] 4.0 error

2009-03-25 Thread Scott Ferguson


On Mar 21, 2009, at 8:53 AM, Aaron Freeman wrote:


This seems to be broken in 4.0.S090211.

I have attached two JSPs that when run throw the following error.

[show] java.lang.IllegalAccessException: Class  
javax.el.BeanELResolver can not

access a member of class com.caucho.server.webapp.DispatchRequest with
modifiers "public"


Thanks.  I've filed this as http://bugs.caucho.com/view.php?id=3417.

Most likely, it's something like a class declared package-private when  
it needs to be public for introspection to work.


-- Scott



--- BEGIN JSP 1 

<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>



End test1.jsp.

 END JSP 1 

 BEGIN JSP 2 

<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"; prefix="fn" %>





  Works.


End test2.

 END JSP 2 



From: resin-interest-boun...@caucho.com [mailto:resin-interest-boun...@caucho.com 
] On Behalf Of Nath Dod

Sent: Thursday, March 19, 2009 4:44 AM
To: resin-interest@caucho.com
Subject: [Resin-interest] mod_caucho filter mapping issue

Hi .. I know this has been posed before but problem similar to item http://maillist.caucho.com/pipermail/resin-interest/2007-October/001703.html 
 . I am using URLrewrite filter to remap old pages to current ones.  
This works fine in resin standalone mode but I have now setup with  
apache fronting as i need to setup other sites on the server. I have  
everything working but this urlrewrite issue as it only uses filter- 
mappings and not a servlet-mapping. The previous resin-interest  
article states he managed to solve with a sethandler request. Can  
anyone elaborate how i could adapt to work with URLrewrite as at the  
mo i'm just getting 404's from apache.. can i use this sethandler  
command in the httpd.conf for my virtual host?


any suggestions will be greatly appreciated..
Beyond Hotmail — see what else you can do with Windows Live. Find  
out more!

___
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] 4.0 error

2009-03-24 Thread Aaron Freeman
Just for closure, this is indeed working in the 2009.03.18 snapshot.
> Ah, okay I will get on the latest snapshot and re-report the error so it 
> doesn't get lost.
>
> Thanks,
>
> Aaron
>
> Rob Lockstone wrote:
>   
>> I don't know if this is a bug in resin or not. But you are running an 
>> older version of the snapshot. The most recent download on the 
>> download page  has a listed date of 
>> 2009.03.04. And, in fact, if you download it, it's actually even 
>> newer: 2009.03.18.
>>
>> Yours is 2009.02.11.
>>
>> Give the latest version a try and maybe that will solve your issue. 
>> Fwiw, the latest version isn't working for me either, but it's a 
>> different error from what you're seeing and I haven't had time to 
>> investigate it enough to file a bug or fix whatever might be wrong in 
>> our code.
>>
>> Rob
>>
>> On Mar 21, 2009, at 8:53 AM, Aaron Freeman wrote:
>>
>> 
>>> This seems to be broken in 4.0.S090211. 
>>>
>>>  
>>>
>>> I have attached two JSPs that when run throw the following error.
>>>
>>>  
>>>
>>> [show]  java.lang.IllegalAccessException: Class 
>>> javax.el.BeanELResolver can not
>>>
>>> access a member of class com.caucho.server.webapp.DispatchRequest with
>>>
>>> modifiers "public"
>>>
>>>  
>>>
>>> --- BEGIN JSP 1 
>>>
>>>  
>>>
>>> <%@ taglib uri=/_"http://java.sun.com/jsp/jstl/core"_/ prefix=/"c"/ %>
>>>
>>>  
>>>
>>> 
>>>
>>>  
>>>
>>> End test1._jsp_.
>>>
>>>  
>>>
>>>  END JSP 1 
>>>
>>>  
>>>
>>>  BEGIN JSP 2 
>>>
>>>  
>>>
>>> <%@ taglib uri=/_"http://java.sun.com/jsp/jstl/core"_/ prefix=/"c"/ %>
>>>
>>> <%@ taglib uri=/_"http://java.sun.com/jsp/jstl/functions"_/ 
>>> prefix=/"fn"/ %>
>>>
>>>  
>>>
>>> >> value="${fn:substringBefore(fn:substringAfter(pageContext.request.requestURI,
>>>  
>>> '/'), '/')}" scope=/"request"//>
>>>
>>>  
>>>
>>> 
>>>
>>>   Works.
>>>
>>> 
>>>
>>>  
>>>
>>> End test2.
>>>
>>>  
>>>
>>>  END JSP 2 
>>>
>>>   



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


Re: [Resin-interest] 4.0 error

2009-03-21 Thread Aaron Freeman
Ah, okay I will get on the latest snapshot and re-report the error so it 
doesn't get lost.

Thanks,

Aaron

Rob Lockstone wrote:
> I don't know if this is a bug in resin or not. But you are running an 
> older version of the snapshot. The most recent download on the 
> download page  has a listed date of 
> 2009.03.04. And, in fact, if you download it, it's actually even 
> newer: 2009.03.18.
>
> Yours is 2009.02.11.
>
> Give the latest version a try and maybe that will solve your issue. 
> Fwiw, the latest version isn't working for me either, but it's a 
> different error from what you're seeing and I haven't had time to 
> investigate it enough to file a bug or fix whatever might be wrong in 
> our code.
>
> Rob
>
> On Mar 21, 2009, at 8:53 AM, Aaron Freeman wrote:
>
>> This seems to be broken in 4.0.S090211. 
>>
>>  
>>
>> I have attached two JSPs that when run throw the following error.
>>
>>  
>>
>> [show]  java.lang.IllegalAccessException: Class 
>> javax.el.BeanELResolver can not
>>
>> access a member of class com.caucho.server.webapp.DispatchRequest with
>>
>> modifiers "public"
>>
>>  
>>
>> --- BEGIN JSP 1 
>>
>>  
>>
>> <%@ taglib uri=/_"http://java.sun.com/jsp/jstl/core"_/ prefix=/"c"/ %>
>>
>>  
>>
>> 
>>
>>  
>>
>> End test1._jsp_.
>>
>>  
>>
>>  END JSP 1 
>>
>>  
>>
>>  BEGIN JSP 2 
>>
>>  
>>
>> <%@ taglib uri=/_"http://java.sun.com/jsp/jstl/core"_/ prefix=/"c"/ %>
>>
>> <%@ taglib uri=/_"http://java.sun.com/jsp/jstl/functions"_/ 
>> prefix=/"fn"/ %>
>>
>>  
>>
>> > value="${fn:substringBefore(fn:substringAfter(pageContext.request.requestURI,
>>  
>> '/'), '/')}" scope=/"request"//>
>>
>>  
>>
>> 
>>
>>   Works.
>>
>> 
>>
>>  
>>
>> End test2.
>>
>>  
>>
>>  END JSP 2 
>>
>>  
>>
>>  
>>
>>  
>>
>> *From:* resin-interest-boun...@caucho.com 
>> [mailto:resin-interest-boun...@caucho.com] *On Behalf Of *Nath Dod
>> *Sent:* Thursday, March 19, 2009 4:44 AM
>> *To:* resin-interest@caucho.com
>> *Subject:* [Resin-interest] mod_caucho filter mapping issue
>>
>>  
>>
>> Hi .. I know this has been posed before but problem similar to item 
>> http://maillist.caucho.com/pipermail/resin-interest/2007-October/001703.html 
>> . I am using URLrewrite filter to remap old pages to current ones. 
>> This works fine in resin standalone mode but I have now setup with 
>> apache fronting as i need to setup other sites on the server. I have 
>> everything working but this urlrewrite issue as it only uses 
>> filter-mappings and not a servlet-mapping. The previous 
>> resin-interest article states he managed to solve with a sethandler 
>> request. Can anyone elaborate how i could adapt to work with 
>> URLrewrite as at the mo i'm just getting 404's from apache.. can i 
>> use this sethandler command in the httpd.conf for my virtual host?
>>
>> any suggestions will be greatly appreciated..
>>
>> 
>>
>> Beyond Hotmail — see what else you can do with Windows Live. Find out 
>> more! 
>>
>> ___
>> 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


Re: [Resin-interest] 4.0 error

2009-03-21 Thread Rob Lockstone
I don't know if this is a bug in resin or not. But you are running an  
older version of the snapshot. The most recent download on the  
download page  has a listed date of  
2009.03.04. And, in fact, if you download it, it's actually even  
newer: 2009.03.18.


Yours is 2009.02.11.

Give the latest version a try and maybe that will solve your issue.  
Fwiw, the latest version isn't working for me either, but it's a  
different error from what you're seeing and I haven't had time to  
investigate it enough to file a bug or fix whatever might be wrong in  
our code.


Rob

On Mar 21, 2009, at 8:53 AM, Aaron Freeman wrote:


This seems to be broken in 4.0.S090211.



I have attached two JSPs that when run throw the following error.



[show] java.lang.IllegalAccessException: Class  
javax.el.BeanELResolver can not


access a member of class com.caucho.server.webapp.DispatchRequest with

modifiers "public"



--- BEGIN JSP 1 



<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>







End test1.jsp.



 END JSP 1 



 BEGIN JSP 2 



<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"; prefix="fn" %>



scope="request"/>






  Works.





End test2.



 END JSP 2 







From: resin-interest-boun...@caucho.com [mailto:resin-interest- 
boun...@caucho.com] On Behalf Of Nath Dod

Sent: Thursday, March 19, 2009 4:44 AM
To: resin-interest@caucho.com
Subject: [Resin-interest] mod_caucho filter mapping issue



Hi .. I know this has been posed before but problem similar to item  
http://maillist.caucho.com/pipermail/resin-interest/2007-October/ 
001703.html . I am using URLrewrite filter to remap old pages to  
current ones. This works fine in resin standalone mode but I have  
now setup with apache fronting as i need to setup other sites on  
the server. I have everything working but this urlrewrite issue as  
it only uses filter-mappings and not a servlet-mapping. The  
previous resin-interest article states he managed to solve with a  
sethandler request. Can anyone elaborate how i could adapt to work  
with URLrewrite as at the mo i'm just getting 404's from apache..  
can i use this sethandler command in the httpd.conf for my virtual  
host?


any suggestions will be greatly appreciated..

Beyond Hotmail — see what else you can do with Windows Live. Find  
out more!


___
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] 4.0 error

2009-03-21 Thread Aaron Freeman
This seems to be broken in 4.0.S090211.  

 

I have attached two JSPs that when run throw the following error. 

 

[show]   java.lang.IllegalAccessException: Class
javax.el.BeanELResolver can not

access a member of class com.caucho.server.webapp.DispatchRequest with

modifiers "public"

 

--- BEGIN JSP 1 

 

<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>

 



 

End test1.jsp.

 

 END JSP 1 

 

 BEGIN JSP 2 

 

<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"; prefix="fn" %>

 



 



  Works.



 

End test2.

 

 END JSP 2 

 

 

 

From: resin-interest-boun...@caucho.com
[mailto:resin-interest-boun...@caucho.com] On Behalf Of Nath Dod
Sent: Thursday, March 19, 2009 4:44 AM
To: resin-interest@caucho.com
Subject: [Resin-interest] mod_caucho filter mapping issue

 

Hi .. I know this has been posed before but problem similar to item
http://maillist.caucho.com/pipermail/resin-interest/2007-October/001703.html
. I am using URLrewrite filter to remap old pages to current ones. This
works fine in resin standalone mode but I have now setup with apache
fronting as i need to setup other sites on the server. I have everything
working but this urlrewrite issue as it only uses filter-mappings and not a
servlet-mapping. The previous resin-interest article states he managed to
solve with a sethandler request. Can anyone elaborate how i could adapt to
work with URLrewrite as at the mo i'm just getting 404's from apache.. can i
use this sethandler command in the httpd.conf for my virtual host?

any suggestions will be greatly appreciated..

  _  

Beyond Hotmail - see what else you can do with Windows Live. Find out
  more!

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