2 Replies Latest reply on Mar 23, 2006 8:20 AM by Olaf Maass

    Error in deploying JBoss portal

    Adel Newbie

      Dear All,

      I am trying to install and deploy Jboss portal in my machine, i follow the whole instruction in the user guide and tried to deploy it but the below error shows up, Any idea why i am having this error. By the way, i am using the follow:

      Windows 2000
      Jboss 4.3
      postgres 8.0
      postgresql-8.0-315.jdbc3.jar and my portal-postgresql-ds.xml looks like:

      <?xml version="1.0" encoding="UTF-8" ?>
      -
      - <local-tx-datasource>
      <jndi-name>AwareportalDB</jndi-name>
      <connection-url>jdbc:postgresql://localhost:5432/AwareportalDB</connection-url>
      <driver-class>org.postgresql.Driver</driver-class>
      <user-name>postgres</user-name>
      stafford
      </local-tx-datasource>




      The Error Message:

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.jca:service=DataSourceBinding,name=PortalDS
      State: NOTYETINSTALLED
      Depends On Me:
      portal:service=CMS
      portal:service=TreeCache,type=persistent
      portal:service=TreeCache,type=transient
      portal:service=Hibernate
      portal:service=Hibernate,type=globalinstance
      portal:service=Hibernate,type=globalportal


      11:59:19,787 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      11:59:19,896 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      11:59:19,912 INFO [JkMain] Jk running ID=0 time=0/32 config=null
      11:59:19,943 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)] Started in 27s:
      890ms
      11:59:58,833 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception
      java.lang.NullPointerException
      at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObject(PersistentPortalObjectContainer.ja
      va:129)
      at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getContext(PersistentPortalObjectContainer.j
      ava:147)
      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.AttributeDispatcher.invoke(AttributeDispatcher.java:84)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:182)
      at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:61)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:343)
      at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:541)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:106)
      at $Proxy46.getContext(Unknown Source)
      at org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:73)
      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(ModelMBeanOperationInterceptor.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 $Proxy50.doMapping(Unknown Source)
      at org.jboss.portal.core.CoreController.handle(CoreController.java:176)
      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(ModelMBeanOperationInterceptor.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 $Proxy111.handle(Unknown Source)
      at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:35)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:40)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:55)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:56)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:171)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:74)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:62)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:208)
      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.java: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.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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java: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(Http11Protocol.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)