geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LiWenQin (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-5755) Cannot serialize when called webfragment in servlet3.0-test testsuite.
Date Mon, 17 Jan 2011 03:51:45 GMT
Cannot serialize when called webfragment in servlet3.0-test testsuite.
----------------------------------------------------------------------

                 Key: GERONIMO-5755
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5755
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 3.0
            Reporter: LiWenQin
             Fix For: 3.0


I run the testsuite\javaee6-testsuite\servlet3.0-test, and find the server gives a warning:
2011-01-17 11:18:48,864 WARN  [config] Could not load web service module without
 loading web module
2011-01-17 11:18:52,093 WARN  [ServiceLoader] Unable to find service with class
name : [org.apache.webbeans.spi.FailOverService]
Bind
2011-01-17 11:18:52,218 WARN  [ServiceLoader] Unable to find service with class
name : [org.apache.webbeans.spi.FailOverService]
org.apache.geronimo.testsuite.servlet3.app.WebFragmentMessageRecord
org.apache.geronimo.testsuite.servlet3.app.ShowServletWithAnnotation
org.apache.geronimo.testsuite.servlet3.app.ShowFileServlet
org.apache.geronimo.testsuite.servlet3.app.WebInitParamSample
org.apache.geronimo.testsuite.servlet3.app.CViewerServlet
org.apache.geronimo.samples.javaee6.webfragment.fragment3.Payment
org.apache.geronimo.testsuite.servlet3.app.AsyncServlet
org.apache.geronimo.testsuite.servlet3.app.WebFragmentWelcomePage
org.apache.geronimo.testsuite.servlet3.app.CviewerRegis
org.apache.geronimo.testsuite.servlet3.app.AddedServletOnStartup
org.apache.geronimo.samples.javaee6.webfragment.fragment2.ShoppingCart
org.apache.geronimo.samples.javaee6.webfragment.fragment1.QueryAll
Got Classname = Integer

Died in Class.forName Integer

Got Classname =

Got Classname = java.util.ArrayList

2011-01-17 11:19:56,103 WARN  [0-test-war]] Cannot serialize session attribute s
hoppingList for session 65519DA783C372925FE67D7AA9ED4851
java.io.NotSerializableException: org.apache.geronimo.samples.javaee6.webfragmen
t.fragment2.BuyRecordItem
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)

        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
        at java.util.ArrayList.writeObject(ArrayList.java:570)
        at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:94
5)
        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:14
61)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
a:1392)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
        at org.apache.catalina.session.StandardSession.writeObject(StandardSessi
on.java:1624)
        at org.apache.catalina.session.StandardSession.writeObjectData(StandardS
ession.java:1061)
        at org.apache.catalina.session.StandardManager.doUnload(StandardManager.
java:403)
        at org.apache.catalina.session.StandardManager.unload(StandardManager.ja
va:350)
        at org.apache.catalina.session.StandardManager.stopInternal(StandardMana
ger.java:494)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:216)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext
.java:4998)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:216)
        at org.apache.geronimo.tomcat.GeronimoStandardContext.kill(GeronimoStand
ardContext.java:432)
        at org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContai
ner.java:336)
        at org.apache.geronimo.tomcat.TomcatWebAppContext.doStop(TomcatWebAppCon
text.java:587)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBean
Instance.java:1164)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(
GBeanInstanceState.java:346)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstan
ceState.java:191)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.ja
va:568)
        at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.ja
va:430)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstan
ceState.java:183)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.ja
va:568)
        at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.ja
va:430)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.stopRecu
rsive(KernelConfigurationManager.java:261)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.stop(Ker
nelConfigurationManager.java:241)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.stopConf
iguration(SimpleConfigurationManager.java:741)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.stopConf
iguration(SimpleConfigurationManager.java:725)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:872)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
245)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:872)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
245)
        at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBrid
ge.java:172)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:836)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761
)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnecti
onImpl.java:1426)
        at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectio
nImpl.java:72)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run
(RMIConnectionImpl.java:1264)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(R
MIConnectionImpl.java:1366)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImp
l.java:788)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:5
35)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTranspor
t.java:790)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:649)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
        at java.lang.Thread.run(Thread.java:619)
Unbind


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message