[JBossWS] - WS-Eventing and subscription expiration time
by palin
We implemented a ws-eventing application that receives subscription messages to our service from our customers; we found that the max expiration time accepted by jbossws is 10 minutes (MAX_LEASE_TIME) after the current date; moreover subscriptions with indefinite lifetime (ie. without wse:Expires tag) are not supported. We know that ws-eventing specification states that the event source defines the actual expiration and is not constrained to use a time less or greater than the requested expiration, however we think that you should not throw an InvalidExpirationTimeException when an expiration time beyond 10 minutes from now is requested. Is there a reason I don't know for chosing 10 minutes for that constant? What about the opportunity of using your MAX_LEASE_TIME value whenever an expiration time too much in the future is received? It would be a great help for us to have MAX_LEASE_TIME and DEFAULT_LEASE provided as config parameters by the user. This would prevent a lot network traffic since less renew messages (and responses) would be sent.
Thank you
Alessio Soldano
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970285#3970285
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970285
19 years, 7 months
[JBoss Portal] - Jboss Portlet site will not work, when there is a time out in
by krishan
Hi,
When there is a timeout in a portlet in JBoss portal, none of the portlet will be displayed and I can see a blank sceen on the browser.
I guess, if it can't get the specific portlet contents, others should work.
I want to know how should I remove the specific "WeatherPortlet" from the portal site as now I can't access any of the portal page including the "Admin" portlet. Exception is as follows,
Thanks,
Krishan
12:37:36,734 ERROR [WeatherPortlet] Fatal Error reading/parsing XML Source.
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
at sun.net.www.http.HttpClient.(HttpClient.java:214)
at sun.net.www.http.HttpClient.New(HttpClient.java:287)
at sun.net.www.http.HttpClient.New(HttpClient.java:299)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:792)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:744)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:669)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:913)
at java.net.URL.openStream(URL.java:1007)
at org.jboss.samples.portlet.weather.WeatherPortlet.doView(WeatherPortle
t.java:132)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
at org.jboss.portal.portlet.container.PortletContainer.invokeRender(Port
letContainer.java:519)
at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletC
ontainer.java:440)
at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch
(PortletContainerInvoker.java:143)
at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(Portle
tInvocation.java:242)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:140)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jbos
s$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(Tran
sactionInterceptor.java:85)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNo
tSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSuppor
ted_4827075286966232824.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.
java:101)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNo
tSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSuppor
ted_4827075286966232824.java)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNo
tSupported(TransactionInterceptor.java)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(T
ransactionInterceptor.java:55)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(Header
Interceptor.java:49)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.inv
oke(ProducerCacheInterceptor.java:50)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(Mode
sInterceptor.java:59)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.ja
va:45)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invo
ke(WindowStatesInterceptor.java:55)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizatio
nInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:76)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor
$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
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:585)
at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.j
ava:104)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:539)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:499)
at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(Abst
ractRequestContext.java:193)
at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor
$1.include(ContextDispatcherInterceptor.java:68)
at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet
.java:84)
at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor
.invoke(ContextDispatcherInterceptor.java:74)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.in
voke(ContextTrackerInterceptor.java:50)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.i
nvoke(SecureTransportInterceptor.java:65)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(Valv
eInterceptor.java:61)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:
171)
at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(Por
tletContainerInvoker.java:114)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy63.invoke(Unknown Source)
at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke
(StatefulPortletInvoker.java:249)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy65.invoke(Unknown Source)
at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invok
e(FederatedPortletInvokerService.java:139)
at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invo
ke(FederatingPortletInvokerService.java:155)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy67.invoke(Unknown Source)
at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortl
etInvoker.java:63)
at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(Portle
tInvocation.java:242)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:140)
at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronization
Interceptor.invoke(PortalSessionSynchronizationInterceptor.java:85)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.inv
oke(ConsumerCacheInterceptor.java:93)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invo
ke(InstanceSecurityInterceptor.java:83)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
Interceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:
171)
at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletIn
voker.java:123)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy49.invoke(Unknown Source)
at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(Instanc
eImpl.java:273)
at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindo
wCommand.java:108)
at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCo
mmand.java:91)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:140)
at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.
invoke(EventBroadcasterInterceptor.java:171)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.in
voke(PageNavigationInterceptor.java:80)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor
.invoke(PolicyEnforcementInterceptor.java:79)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke
(PortalNodeInterceptor.java:59)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:
171)
at org.jboss.portal.core.command.CommandContext.execute(CommandContext.j
ava:102)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionConte
xt.java:91)
at org.jboss.portal.core.command.CommandContext.chain(CommandContext.jav
a:148)
at org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(Marku
pCommand.java:463)
at org.jboss.portal.core.command.RenderPageCommand.renderFragments(Rende
rPageCommand.java:76)
at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.jav
a:340)
at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCo
mmand.java:91)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:140)
at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.
invoke(EventBroadcasterInterceptor.java:171)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.in
voke(PageNavigationInterceptor.java:80)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor
.invoke(PolicyEnforcementInterceptor.java:79)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke
(PortalNodeInterceptor.java:59)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:
171)
at org.jboss.portal.core.command.CommandContext.execute(CommandContext.j
ava:102)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionConte
xt.java:91)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionConte
xt.java:78)
at org.jboss.portal.core.CoreController.handle(CoreController.java:126)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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.ja
va:287)
at $Proxy141.handle(Unknown Source)
at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.ja
va:79)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:140)
at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(N
avigationInterceptor.java:64)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(
ContentTypeInterceptor.java:65)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleI
nterceptor.java:74)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInter
ceptor.java:174)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.
invoke(SessionInvalidatorInterceptor.java:92)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss
$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterce
ptor.java:49)
at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5
143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530
.java)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.j
ava:275)
at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5
143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530
.java)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:
171)
at org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.j
ava:294)
at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.jav
a:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:432)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
kerThread.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=3970283#3970283
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970283
19 years, 7 months
[JBoss Getting Started Documentation] - Re: Deployment failed on Duke Bank Application
by kusanagihk
To all,
I've found more errors during starting the jboss server, there are 3 services or modules that failed to be configure during startup.
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:database=localDB,service=Hypersonic
State: NOTYETINSTALLED
Depends On Me:
jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
ObjectName: jboss.j2ee:module=bank-ejb.jar,service=EjbModule
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error: can't find data sourc
e: java:/DefaultDS; - nested throwable: (javax.naming.NameNotFoundException: Def
aultDS not bound)
ObjectName: jboss.j2ee:module=team-ejb.jar,service=EjbModule
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error: can't find data sourc
e: java:/DefaultDS; - nested throwable: (javax.naming.NameNotFoundException: Def
aultDS not bound)
Seems like :
1) JNDI problems in bounding some resources
2) a DefaultDS is missing (but the getting document didn't say a thing on setting a default DS)
3) the nullPointerException in creating the EJBs (mostly because of the 1st 2 problems above; in which the related EJB JNDI entry is missing now)
Any ideas on solving the problem? Or any guides I should read before reading the "Getting Start" document?
Thanks
>From Jason (kusanagihk)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970282#3970282
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970282
19 years, 7 months