[jboss-user] [JBoss Portal] - Re: Portal 2.4 on 4.0.4.GA - EJB3
juan_pane
do-not-reply at jboss.com
Tue Aug 1 11:29:34 EDT 2006
JBoss Portal 2.2.1-SP3 on 4.0.4.GA.
I get the error when I try to reload a WAR application while the Jboss Server is running. When I start the server all the applicactions a correctly deployed and everithing works fine, but when I try to redeploy any application I get a similar error posted in this thread. It seem to me that the cache is not liberated when the application is undeployed, so when It is redeployed I tries to use the same cache not liberated...
Does the developer team has any solution to this bug yet?
| 11:12:38,828 INFO [TomcatDeployer] undeploy, ctxPath=/Buscador, warUrl=.../tmp/deploy/tmp44491Buscador-exp.war/
| 11:12:39,718 INFO [TomcatDeployer] deploy, ctxPath=/Buscador, warUrl=.../tmp/deploy/tmp44560Buscador-exp.war/
| 11:13:05,500 INFO [Configuration] configuring from resource: WEB-INF/hibernate.cfg.xml
| 11:13:05,500 INFO [Configuration] Configuration resource: WEB-INF/hibernate.cfg.xml
| 11:13:05,500 INFO [Configuration] Reading mappings from resource: WEB-INF/CMSIndex.hbm.xml
| 11:13:05,515 INFO [HbmBinder] Mapping class: py.com.sif.set.portal.hibernate.CMSIndex -> jbp_cms_index
| 11:13:05,515 INFO [Configuration] Configured SessionFactory: null
| 11:13:05,515 INFO [NamingHelper] JNDI InitialContext properties:{}
| 11:13:05,515 INFO [DatasourceConnectionProvider] Using datasource: java:PortalDS
| 11:13:05,515 INFO [SettingsFactory] RDBMS: Oracle, version: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Produ
| ction
| With the Partitioning, OLAP and Oracle Data Mining options
| JServer Release 9.2.0.1.0 - Production
| 11:13:05,515 INFO [SettingsFactory] JDBC driver: Oracle JDBC driver, version: 10.1.0.2.0
| 11:13:05,515 INFO [Dialect] Using dialect: org.hibernate.dialect.Oracle9Dialect
| 11:13:05,515 INFO [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
| 11:13:05,515 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of
| read-write or transactional second-level cache is not recommended)
| 11:13:05,515 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
| 11:13:05,515 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| 11:13:05,515 INFO [SettingsFactory] JDBC batch size: 15
| 11:13:05,515 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
| 11:13:05,515 INFO [SettingsFactory] Scrollable result sets: enabled
| 11:13:05,515 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
| 11:13:05,515 INFO [SettingsFactory] Connection release mode: auto
| 11:13:05,515 INFO [SettingsFactory] Default batch fetch size: 1
| 11:13:05,515 INFO [SettingsFactory] Generate SQL with comments: disabled
| 11:13:05,515 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 11:13:05,515 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 11:13:05,515 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 11:13:05,515 INFO [SettingsFactory] Query language substitutions: {}
| 11:13:05,515 INFO [SettingsFactory] Second-level cache: enabled
| 11:13:05,515 INFO [SettingsFactory] Query cache: enabled
| 11:13:05,515 INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
| 11:13:05,531 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| 11:13:05,531 INFO [SettingsFactory] Structured second-level cache entries: disabled
| 11:13:05,531 INFO [SettingsFactory] Query cache factory: org.hibernate.cache.StandardQueryCacheFactory
| 11:13:05,531 INFO [SettingsFactory] Statistics: disabled
| 11:13:05,531 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| 11:13:05,531 INFO [SettingsFactory] Default entity-mode: pojo
| 11:13:05,531 INFO [SessionFactoryImpl] building session factory
| 11:13:05,546 ERROR [STDERR] org.hibernate.cache.CacheException: Attempt to restart an already started EhCacheProvider. U
| se sessionFactory.close() between repeated calls to buildSessionFactory. Consider using net.sf.ehcache.hibernate.Single
| tonEhCacheProvider. Error from ehcache was: Cannot parseConfiguration CacheManager. Attempt to create a new instance of
| CacheManager using the diskStorePath "C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\/CMSIndex_buscador" which is already used by a
| n existing CacheManager. The source of the configuration was URL of file:/C:/Archivos de programa/jboss-4.0.4.GA/server/
| default/tmp/deploy/tmp44560Buscador-exp.war/WEB-INF/ehcache.xml.
| at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:133)
| at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:180)
| at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1213)
| at py.com.sif.set.portal.Interfaces.ServiceCMSIndex.getInstance(ServiceCMSIndex.java:34)
| at py.com.sif.set.portal.Buscador.Catalog.consultaDB(Catalog.java:37)
| at py.com.sif.set.portal.Buscador.Catalog.getCmsIndexes(Catalog.java:18)
| at py.com.sif.set.portal.Buscador.View.getCmsIndexes(View.java:33)
| at py.com.sif.set.portal.Buscador.View.onBuscar(View.java:43)
| 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.tapestry.listener.ListenerMethodInvokerImpl.invokeTargetMethod(ListenerMethodInvokerImpl.java:214)
|
| at org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:15
| 5)
| at org.apache.tapestry.listener.ListenerMethodInvokerImpl.searchAndInvoke(ListenerMethodInvokerImpl.java:124)
| at org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:69
| )
| at org.apache.tapestry.listener.SyntheticListener.actionTriggered(SyntheticListener.java:51)
| at org.apache.tapestry.binding.ListenerMethodBinding.actionTriggered(ListenerMethodBinding.java:77)
| at org.apache.tapestry.listener.ListenerInvokerTerminator.invokeListener(ListenerInvokerTerminator.java:51)
| at $ListenerInvoker_10cca1442bc.invokeListener($ListenerInvoker_10cca1442bc.java)
| at $ListenerInvoker_10cca1442bb.invokeListener($ListenerInvoker_10cca1442bb.java)
| at org.apache.tapestry.form.Form.renderComponent(Form.java:230)
| at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
| at org.apache.tapestry.form.Form.rewind(Form.java:327)
| at org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:439)
| at org.apache.tapestry.form.Form.trigger(Form.java:338)
| at org.apache.tapestry.engine.DirectService.triggerComponent(DirectService.java:146)
| at org.apache.tapestry.engine.DirectService.service(DirectService.java:132)
| at $IEngineService_10cca144309.service($IEngineService_10cca144309.java)
| at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:66)
| at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:248)
| at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:60)
| at $WebRequestServicer_10cca1442d3.service($WebRequestServicer_10cca1442d3.java)
| at $WebRequestServicer_10cca1442d1.service($WebRequestServicer_10cca1442d1.java)
| at org.apache.tapestry.portlet.ActionRequestServicerToWebRequestServicerBridge.service(ActionRequestServicerToWe
| bRequestServicerBridge.java:48)
| at $ActionRequestServicer_10cca1443b9.service($ActionRequestServicer_10cca1443b9.java)
| at org.apache.tapestry.portlet.multipart.PortletMultipartDecoderFilter.service(PortletMultipartDecoderFilter.jav
| a:48)
| at $ActionRequestServicerFilter_10cca1443bb.service($ActionRequestServicerFilter_10cca1443bb.java)
| at $ActionRequestServicer_10cca1443bd.service($ActionRequestServicer_10cca1443bd.java)
| at $ActionRequestServicer_10cca1442c3.service($ActionRequestServicer_10cca1442c3.java)
| at org.apache.tapestry.portlet.ApplicationPortlet.processAction(ApplicationPortlet.java:142)
| at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492)
| at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428)
| at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
| at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76)
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:67)
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88)
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87)
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchIntercept
| or.java:65)
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispa
| tcherInterceptor.java:129)
| at sun.reflect.GeneratedMethodAccessor238.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101)
| at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
| at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
| at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
| at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247)
| at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor
| .java:73)
| at org.jboss.portal.server.servlet.CommandServlet
| 11:13:05,562 ERROR [STDERR] .include(CommandServlet.java:81)
| at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.ja
| va:79)
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor
| .java:94)
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:49)
|
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:
| 69)
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:64)
| at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
| at org.jboss.portal.core.command.InvokeWindowActionCommand.execute(InvokeWindowActionCommand.java:134)
| at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
| at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:
| 85)
| at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.jav
| a:168)
| at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61)
| at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58)
| at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
| at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107)
| at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93)
| at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77)
| at org.jboss.portal.core.CoreController.handle(CoreController.java:190)
| at sun.reflect.GeneratedMethodAccessor270.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
| at $Proxy134.handle(Unknown Source)
| at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
| at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:
| 47)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52
| )
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.jav
| a:87)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75)
| at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
| at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
| at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
| at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221)
| at org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:149)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 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.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 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$Http11C
| 11:13:05,562 ERROR [STDERR] onnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962219#3962219
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962219
More information about the jboss-user
mailing list