[jboss-user] [JBoss Seam] - ClassNotFoundException while loading persisted sessions:
fmi2
do-not-reply at jboss.com
Wed Nov 29 16:47:44 EST 2006
Hi, I am getting the following exception when deploying my application on tomcat. Although it deploys regardless of the error, when the search button is clicked on the web page a 'Bean not bound' exception.
|
| 2006-11-29 16:20:53,531 ERROR [org.apache.catalina.session.ManagerBase] ClassNotFoundException while
| loading persisted sessions: java.lang.ClassNotFoundException: portal.command.SearchCriteria$$Enhanc
| erByCGLIB$$ac500b39
| java.lang.ClassNotFoundException: portal.command.SearchCriteria$$EnhancerByCGLIB$$ac500b39
| at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:242)
| at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585)
| at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectInputStream.java:77)
| at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
| at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
| at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1392)
| at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:921)
| at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:393)
| at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)
| at org.apache.catalina.session.StandardManager.start(StandardManager.java:636)
| at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4155)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
| at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
| at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
| at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
| at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
| at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
| at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
| at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
| at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
| at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
| at org.apache.catalina.core.StandardService.start(StandardService.java:450)
| at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
| at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
| at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
| 2006-11-29 16:20:53,531 ERROR [org.apache.catalina.session.ManagerBase] Exception loading sessions f
| rom persistent storage
| java.lang.ClassNotFoundException: portal.command.SearchCriteria$$EnhancerByCGLIB$$ac500b39
| at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:242)
| at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585)
| at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectInputStream.java:77)
| at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
| at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
| at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1392)
| at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:921)
| at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:393)
| at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)
| at org.apache.catalina.session.StandardManager.start(StandardManager.java:636)
| at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4155)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
| at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
| at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
| at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
| at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
| at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
| at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
| at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
| at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
| at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
| at org.apache.catalina.core.StandardService.start(StandardService.java:450)
| at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
| at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
| at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
| 2006-11-29 16:20:53,703 INFO [org.apache.myfaces.config.FacesConfigurator] Reading standard config
| org/apache/myfaces/resource/standard-faces-config.xml
| 2006-11-29 16:20:54,171 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:
| /C:/tomcat/webapps/caGridAdminPortal/WEB-INF/lib/apache-myfaces-tomahawk-1.1.3.jar!/META-INF/faces-c
| onfig.xml
| 2006-11-29 16:20:54,234 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:
| /C:/tomcat/webapps/caGridAdminPortal/WEB-INF/lib/seam-1.0.1GA.jar!/META-INF/faces-config.xml
| 2006-11-29 16:20:54,265 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config /WEB-INF/
| faces-config.xml
| 2006-11-29 16:20:54,359 WARN [org.apache.myfaces.shared_impl.util.LocaleUtils] Locale name in faces
| -config.xml null or empty, setting locale to default locale : en_US
| 2006-11-29 16:20:54,937 INFO [org.apache.myfaces.webapp.StartupServletContextListener] ServletConte
| xt 'C:\tomcat\webapps\caGridAdminPortal\' initialized.
| 2006-11-29 16:20:54,937 INFO [javax.servlet.ServletContextListener] Welcome to Seam 1.0.1.GA
| 2006-11-29 16:20:54,953 INFO [org.jboss.seam.init.Initialization] reading components.xml
| 2006-11-29 16:20:55,140 INFO [org.jboss.seam.init.Initialization] reading properties from: /seam.pr
| operties
| 2006-11-29 16:20:55,140 INFO [org.jboss.seam.init.Initialization] reading properties from: /jndi.pr
| operties
| 2006-11-29 16:20:55,140 DEBUG [org.jboss.seam.init.Initialization] not found: /seam-jndi.properties
| 2006-11-29 16:20:55,140 INFO [org.jboss.seam.init.Initialization] initializing Seam
| 2006-11-29 16:20:55,203 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.init, scope:
| APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
| 2006-11-29 16:20:55,218 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.myFacesLifecycleBu
| g=false
| 2006-11-29 16:20:55,218 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.debug=true
| 2006-11-29 16:20:55,234 DEBUG [org.jboss.seam.Component] org.jboss.seam.core.init.jndiPattern=#{ejbN
| ame}/local
| 2006-11-29 16:20:55,515 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea
| m.core.init
| 2006-11-29 16:20:55,515 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.pages, scope
| : APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
| 2006-11-29 16:20:55,546 INFO [org.jboss.seam.Component] Component: events, scope: APPLICATION, type
| : JAVA_BEAN, class: org.jboss.seam.core.Events
| 2006-11-29 16:20:55,546 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.manager, sco
| pe: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
| 2006-11-29 16:20:55,578 INFO [org.jboss.seam.Component] Component: switcher, scope: PAGE, type: JAV
| A_BEAN, class: org.jboss.seam.core.Switcher
| 2006-11-29 16:20:55,593 INFO [org.jboss.seam.Component] Component: redirect, scope: CONVERSATION, t
| ype: JAVA_BEAN, class: org.jboss.seam.core.Redirect
| 2006-11-29 16:20:55,609 INFO [org.jboss.seam.Component] Component: httpError, scope: APPLICATION, t
| ype: JAVA_BEAN, class: org.jboss.seam.core.HttpError
| 2006-11-29 16:20:55,609 INFO [org.jboss.seam.Component] Component: userPrincipal, scope: APPLICATIO
| N, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
| 2006-11-29 16:20:55,625 INFO [org.jboss.seam.Component] Component: isUserInRole, scope: APPLICATION
| , type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
| 2006-11-29 16:20:55,640 INFO [org.jboss.seam.Component] Component: conversation, scope: CONVERSATIO
| N, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
| 2006-11-29 16:20:55,656 INFO [org.jboss.seam.Component] Component: conversationList, scope: PAGE, t
| ype: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
| 2006-11-29 16:20:55,656 INFO [org.jboss.seam.Component] Component: conversationStack, scope: PAGE,
| type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
| 2006-11-29 16:20:55,671 INFO [org.jboss.seam.Component] Component: facesContext, scope: APPLICATION
| , type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
| 2006-11-29 16:20:55,671 INFO [org.jboss.seam.Component] Component: pageContext, scope: APPLICATION,
| type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
| 2006-11-29 16:20:55,703 INFO [org.jboss.seam.Component] Component: eventContext, scope: APPLICATION
| , type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
| 2006-11-29 16:20:55,718 INFO [org.jboss.seam.Component] Component: sessionContext, scope: APPLICATI
| ON, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
| 2006-11-29 16:20:55,718 INFO [org.jboss.seam.Component] Component: statelessContext, scope: APPLICA
| TION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
| 2006-11-29 16:20:55,718 INFO [org.jboss.seam.Component] Component: applicationContext, scope: APPLI
| CATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
| 2006-11-29 16:20:55,734 INFO [org.jboss.seam.Component] Component: conversationContext, scope: APPL
| ICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
| 2006-11-29 16:20:55,734 INFO [org.jboss.seam.Component] Component: businessProcessContext, scope: A
| PPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
| 2006-11-29 16:20:55,750 INFO [org.jboss.seam.Component] Component: locale, scope: STATELESS, type:
| JAVA_BEAN, class: org.jboss.seam.core.Locale
| 2006-11-29 16:20:55,750 INFO [org.jboss.seam.Component] Component: messages, scope: SESSION, type:
| JAVA_BEAN, class: org.jboss.seam.core.Messages
| 2006-11-29 16:20:55,750 INFO [org.jboss.seam.Component] Component: interpolator, scope: STATELESS,
| type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
| 2006-11-29 16:20:55,765 INFO [org.jboss.seam.Component] Component: facesMessages, scope: CONVERSATI
| ON, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
| 2006-11-29 16:20:55,781 INFO [org.jboss.seam.Component] Component: resourceBundle, scope: SESSION,
| type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
| 2006-11-29 16:20:55,796 INFO [org.jboss.seam.Component] Component: localeSelector, scope: SESSION,
| type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
| 2006-11-29 16:20:55,796 INFO [org.jboss.seam.Component] Component: uiComponent, scope: STATELESS, t
| ype: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
| 2006-11-29 16:20:55,812 INFO [org.jboss.seam.Component] Component: org.jboss.seam.remoting.messagin
| g.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messagin
| g.SubscriptionRegistry
| 2006-11-29 16:20:55,828 INFO [org.jboss.seam.Component] Component: pojoCache, scope: APPLICATION, t
| ype: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
| 2006-11-29 16:20:55,828 INFO [org.jboss.seam.Component] Component: org.jboss.seam.debug.introspecto
| r, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
| 2006-11-29 16:20:55,859 INFO [org.jboss.seam.Component] Component: org.jboss.seam.debug.contexts, s
| cope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
| 2006-11-29 16:20:55,875 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.ejb, scope:
| APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Ejb
| 2006-11-29 16:20:55,890 INFO [org.jboss.seam.deployment.Scanner] scanning: C:\tomcat\webapps\caGrid
| AdminPortal\WEB-INF\classes
| 2006-11-29 16:20:55,890 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes
| 2006-11-29 16:20:55,890 DEBUG [org.jboss.seam.deployment.Scanner] directory:
| 2006-11-29 16:20:55,890 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes\portal
| 2006-11-29 16:20:55,890 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes\portal\command
| 2006-11-29 16:20:55,890 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes\portal\domain
| 2006-11-29 16:20:55,906 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes\portal\map
| 2006-11-29 16:20:55,906 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes\portal\messages
| 2006-11-29 16:20:55,921 DEBUG [org.jboss.seam.deployment.Scanner] directory: C:\tomcat\webapps\caGri
| dAdminPortal\WEB-INF\classes\portal\util
| 2006-11-29 16:20:55,921 INFO [org.jboss.seam.Component] Component: searchCriteria, scope: SESSION,
| type: JAVA_BEAN, class: portal.command.SearchCriteria
| 2006-11-29 16:20:55,953 INFO [org.jboss.seam.Component] Component: search, scope: STATELESS, type:
| STATELESS_SESSION_BEAN, class: portal.command.SearchBean, JNDI: SearchBean/local
| 2006-11-29 16:20:56,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea
| m.core.ejb
| 2006-11-29 16:20:56,015 INFO [org.jboss.seam.core.Ejb] starting the embedded EJB container
| 2006-11-29 16:20:56,578 WARN [org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding] You should
| use the 2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0'
| 2006-11-29 16:20:57,062 INFO [org.jboss.resource.adapter.jdbc.local.LocalTxDataSource] Bound dataso
| urce to JNDI name 'java:/DefaultDS'
| 2006-11-29 16:20:57,921 INFO [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 312
| 2006-11-29 16:20:57,968 INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:jar=c
| lasses,name=SearchBean,service=EJB3 with dependencies:
| 2006-11-29 16:20:57,968 INFO [org.jboss.ejb3.MCKernelAbstraction] AbstractDependencyMetaData at 13531
| 54{dependency=persistence.units:unitName=portaltest}
| 2006-11-29 16:20:58,000 DEBUG [org.jboss.seam.Component] instantiating Seam component: applicationCo
| ntext
| 2006-11-29 16:20:58,000 DEBUG [org.jboss.seam.Component] instantiating Seam component: isUserInRole
| 2006-11-29 16:20:58,000 DEBUG [org.jboss.seam.Component] instantiating Seam component: statelessCont
| ext
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: userPrincipal
|
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: sessionContex
| t
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesContext
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: businessProce
| ssContext
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: eventContext
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: pageContext
| 2006-11-29 16:20:58,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: conversationC
| ontext
| 2006-11-29 16:20:58,015 INFO [org.jboss.seam.init.Initialization] done initializing Seam
| 2006-11-29 16:26:39,421 DEBUG [org.jboss.seam.contexts.Lifecycle] Session started
| 2006-11-29 16:26:39,453 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 2006-11-29 16:26:39,468 DEBUG [org.jboss.seam.Component] instantiating Seam component: localeSelecto
| r
| 2006-11-29 16:26:39,484 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea
| m.core.manager
| 2006-11-29 16:26:39,484 DEBUG [org.jboss.seam.core.Manager] No stored conversation
| 2006-11-29 16:26:39,484 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.j
| boss.seam.core.init
| 2006-11-29 16:26:39,484 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring convers
| ation context: ConversationContext(1)
| 2006-11-29 16:26:39,656 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea
| m.core.pages
| 2006-11-29 16:26:39,656 INFO [org.jboss.seam.core.Pages] no pages.xml file found
| 2006-11-29 16:26:39,656 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages
|
| 2006-11-29 16:26:39,781 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init
| parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 2006-11-29 16:26:39,781 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init
| parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 2006-11-29 16:26:39,781 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init
| parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.rend
| erkit.html.util.DefaultAddResource
| 2006-11-29 16:26:39,781 INFO [org.apache.myfaces.shared_impl.config.MyfacesConfig] No context init
| parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
| 2006-11-29 16:26:39,796 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 1
| 2006-11-29 16:26:39,796 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying
| contexts
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.servlet.forward.r
| equest_uri
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.servlet.forward.c
| ontext_path
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.servlet.forward.s
| ervlet_path
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.man
| ager
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: class org.apache.myface
| s.shared_tomahawk.renderkit.html.util.JavascriptUtils.OLD_VIEW_ID
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.faces.webapp.UICo
| mponentTag.UNIQUE_ID_COUNTER
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.appl
| ication.jsp.JspStateManagerImpl.SERIALIZED_VIEW
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation
| context
| 2006-11-29 16:26:39,812 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request
| 2006-11-29 16:26:39,812 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context i
| nit parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 2006-11-29 16:26:39,812 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context i
| nit parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 2006-11-29 16:26:39,812 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context i
| nit parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.
| renderkit.html.util.DefaultAddResource
| 2006-11-29 16:26:39,812 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] No context i
| nit parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
| 2006-11-29 16:26:41,812 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 2006-11-29 16:26:41,812 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea
| m.core.manager
| 2006-11-29 16:26:41,812 DEBUG [org.jboss.seam.core.Manager] No stored conversation
| 2006-11-29 16:26:41,812 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.j
| boss.seam.core.init
| 2006-11-29 16:26:41,812 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring convers
| ation context: ConversationContext(2)
| 2006-11-29 16:26:41,812 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages
|
| 2006-11-29 16:26:42,109 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: search_msg
| 2006-11-29 16:26:42,109 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: search_msg
| 2006-11-29 16:26:42,109 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:42,109 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:42,109 DEBUG [org.jboss.seam.Component] instantiating Seam component: searchCriteri
| a
| 2006-11-29 16:26:42,171 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: search_msg
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: search_msg
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:42,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:42,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: results
| 2006-11-29 16:26:42,218 DEBUG [org.jboss.seam.Component] seam component not found: results
| 2006-11-29 16:26:42,218 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-11-29 16:26:42,218 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 2
| 2006-11-29 16:26:42,218 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying
| contexts
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.man
| ager
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: class org.apache.myface
| s.shared_tomahawk.renderkit.html.util.JavascriptUtils.OLD_VIEW_ID
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.AddR
| esourceFactory.CACHE_MAP_KEY
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: search_msg
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.comp
| onent.html.util.ExtensionFilter.doFilterCalled
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: javax.faces.webapp.UICo
| mponentTag.UNIQUE_ID_COUNTER
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.appl
| ication.jsp.JspStateManagerImpl.SERIALIZED_VIEW
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation
| context
| 2006-11-29 16:26:42,281 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request
| 2006-11-29 16:26:45,875 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 2006-11-29 16:26:45,937 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea
| m.core.manager
| 2006-11-29 16:26:45,937 DEBUG [org.jboss.seam.core.Manager] No stored conversation
| 2006-11-29 16:26:45,937 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.j
| boss.seam.core.init
| 2006-11-29 16:26:45,937 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring convers
| ation context: ConversationContext(3)
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: results
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.Component] seam component not found: results
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: results
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.Component] seam component not found: results
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: searchCriter
| ia
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: searchCri
| teria
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon
| ent
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: results
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.Component] seam component not found: results
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: search
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.Component] instantiating Seam component: search
| 2006-11-29 16:26:45,953 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami
| ng.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory, java.naming.factory.url.pkgs=org.jbos
| s.naming:org.jnp.interfaces}
| 2006-11-29 16:26:45,968 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami
| ng.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory, java.naming.factory.url.pkgs=org.jbos
| s.naming:org.jnp.interfaces}
| 2006-11-29 16:26:45,968 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/caGri
| dAdminPortal].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
| javax.faces.FacesException: Error calling action method of component with id _idJsp14:_idJsp23
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
| at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252
| )
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202
| )
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202
| )
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11Base
| Protocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
| at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{search.performB
| asicSearch}
| at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| ... 26 more
| Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: search
| at org.jboss.seam.Component.newInstance(Component.java:735)
| at org.jboss.seam.Component.newInstance(Component.java:1308)
| at org.jboss.seam.Component.getInstance(Component.java:1263)
| at org.jboss.seam.Component.getInstance(Component.java:1246)
| at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChai
| n.java:42)
| at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:
| 574)
| at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
| at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:455)
| at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180)
| at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114)
| ... 27 more
| Caused by: javax.naming.NameNotFoundException: SearchBean not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:626)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jboss.seam.Component.instantiate(Component.java:774)
| at org.jboss.seam.Component.newInstance(Component.java:731)
| ... 37 more
|
|
Here is my persistence.xml file
|
| <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
| <persistence-unit name="portaltest">
| <!-- provider must be explicitly stated for Java SE, but not Java EE-->
|
| <!-- javax.persistence.EntityManagerFactory -->
| <!-- org.hibernate.ejb.EntityManagerFactoryImpl DOES NOT WORK -->
| <provider>org.hibernate.ejb.HibernatePersistence</provider> <!-- works, kinda -->
|
| <!-- I don't think that we need this for external testing -->
| <jta-data-source>java:/DefaultDS</jta-data-source>
|
| <class>portal.domain.OutputParameter</class>
| <class>portal.domain.DomainObject</class>
| <class>portal.domain.Fault</class>
| <class>portal.domain.Service</class>
| <class>portal.domain.InputParameter</class>
| <class>cagrid.portal.domain.PointOfContact</class>
| <class>portal.domain.Operation</class>
| <class>portal.domain.ResearchCenter</class>
|
| <properties>
|
| <property name="hibernate.hbm2ddl.auto" value="update"/>
| <!--
| <property name="hibernate.hbm2ddl.auto" value="update"/>
| <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
| -->
|
| <!-- DB connection properties -->
| <!-- <property name="jdbc.driver" value="org.hsqldb.jdbcDriver" /> -->
| <!-- <property name="jdbc.url" value="jdbc:hsqldb:hsql://localhost" /> -->
| <!-- <property name="jdbc.user" value="sa" /> -->
| <!-- <property name="jdbc.password" value="" /> -->
|
| <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect" />
| <property name="hibernate.connection.driver_class" value="org.hsqldb.jdbcDriver" />
| <property name="hibernate.connection.url" value="jdbc:hsqldb:file:c\db\testdb" />
| <property name="hibernate.connection.user" value="sa" />
| <property name="hibernate.connection.password" value="" />
| </properties>
| </persistence-unit>
| </persistence>
|
| <!--
| vim: sw=4:ts=4:et:sm:ai:textwidth=70:nohlsearch:syntax=off
| -->
|
|
Any insight to this error would be greatly appreciated.
Thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989838#3989838
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989838
More information about the jboss-user
mailing list