goodluckwgw / paoding-rose

Automatically exported from code.google.com/p/paoding-rose
0 stars 0 forks source link

portal在tomcat下的classcastexception(resin下正常) #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. 使用paoding-rose-portal,开发portal应用
2. 启动Tomcat6.0服务器
3. 请求portal页面

What is the expected output? What do you see instead?

输出portal页面,但却出现异常:
00:53:14,312 - ERROR [portalExecutor-2] (WindowTask.java:64) -
java.lang.ClassCastException: 
net.paoding.rose.web.portal.impl.PrivateRequestWrapper cannot be cast to 
javax.servlet.Ser
vletRequestWrapper
        at 
org.apache.catalina.core.ApplicationDispatcher.unwrapRequest(ApplicationDis
patcher.java:776)
        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatc
her.java:382)
        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatche
r.java:292)
        at 
net.paoding.rose.web.portal.impl.WindowTask.run(WindowTask.java:59)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.j
ava:885)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:
907)
        at java.lang.Thread.run(Thread.java:619)

Please use labels and text to provide additional information.

resin下不会出现此错误!

Original issue reported on code.google.com by qieqie.wang on 21 Dec 2009 at 4:56

GoogleCodeExporter commented 9 years ago
代码没上传..

<bean id="rose.portalListeners" 
class="net.paoding.rose.web.portal.PortalListeners">
现在不是改为net.paoding.rose.web.portal.WindowListeners了吗.

Original comment by hacksu...@gmail.com on 2 Sep 2010 at 1:41

GoogleCodeExporter commented 9 years ago
嗯,svn上的改了,但还没作为download发布

Original comment by qieqie.wang on 3 Sep 2010 at 8:15