0 Replies Latest reply on Feb 8, 2006 12:46 PM by Anant Mathur

    Problem deploying JBoss Portal

    Anant Mathur Newbie

      I'm following the User Guide to deploying JBoss portal on SLES 9 with JDK 1.4. I created the MySQL DB as named and defined in the guide. I placed the jboss-portal.sar and the mysql-ds.xml file under the jboss/server/default/deploy folder...then started up the application server and logged into the JXM console and it worked fine. I then tried opening localhost:8080/portal and got the following Error 500:

      java.lang.NullPointerException
      org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObject(PersistentPortalObjectContainer.java:129)
      org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getContext(PersistentPortalObjectContainer.java:147)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:324)
      org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:84)
      org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:182)
      org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:61)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:343)
      org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:541)
      org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:106)
      $Proxy43.getContext(Unknown Source)
      org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:73)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:324)
      org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      $Proxy47.doMapping(Unknown Source)
      org.jboss.portal.core.CoreController.handle(CoreController.java:176)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:324)
      org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
      $Proxy111.handle(Unknown Source)
      org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:35)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:40)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:55)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:56)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:171)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:74)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:62)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:208)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

      What am I doing wrong?