[jboss-user] [JBoss Portal] - problem with spring mvc

adamzrk do-not-reply at jboss.com
Fri Sep 1 08:22:31 EDT 2006


I use spring mvc with jboss portal. Sometimes when I use simpleformcontroller with command object i get exception:

  | 
  | org.jboss.portal.core.ObjectNotFoundException: Not allowed to access resourceDefault portal does not
  |  exist
  |         at org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalComm
  | andMapper.java:94)
  |         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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
  | ptor.java:127)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  |         at $Proxy55.doMapping(Unknown Source)
  |         at org.jboss.portal.core.CoreController.handle(CoreController.java:189)
  |         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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
  | ptor.java:127)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
  |         at $Proxy131.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(SubjectAssociat
  | ionInterceptor.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(PolicyAssociatio
  | nInterceptor.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(ContentTypeIntercept
  | or.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(SessionInvali
  | datorInterceptor.java: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 javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
  | ava:252)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 
  |         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
  | ava: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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
  |         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja
  | va:159)
  |         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
  |         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  |         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:856)
  |         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P
  | rotocol.java:744)
  |         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)
  | 



What is the problem?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968912#3968912

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968912



More information about the jboss-user mailing list