4 Replies Latest reply on Sep 19, 2007 5:15 AM by Thomas Heute

    portal.sar deployed but browser/tomcat returns nullpointerex

    Kosta Kontos Newbie

      hi all

      i have a default install of jboss-4.0.5.GA (i used the jems installer with the '-installGroup default' option)

      i have downloaded jboss-portal-2.6.1.GA, unzipped the archive, and uploaded the jboss-portal.sar folder to my $jboss-home/server/default/deploy/ directory (as per the documentation's instructions).

      i then navigate to my portal site, namely http://41.204.222.108:8080/portal/ - but as you can see i get a ServletException, with root cause NullPointerException - and i have no idea why.

      i followed the rather simple instructions step by step and it's not working. any ideas?

      thanks,

        • 1. Re: portal.sar deployed but browser/tomcat returns nullpoint
          Thomas Heute Master

          You installed the datasource descriptor ?
          (The doc says not oi use the JEMS installer by the way, because it is just not part of the test suite)

          • 2. Re: portal.sar deployed but browser/tomcat returns nullpoint
            Kosta Kontos Newbie

            no i have not :-)

            i am wanting to use our postgresql database, so ill try configure the datasource descriptor for that. i'll come back here if i run into problems.

            ps: thanks for pointing out the lack of jems support; if all else fails i'll try installing the proper way.

            • 3. Re: portal.sar deployed but browser/tomcat returns nullpoint
              Kosta Kontos Newbie

              heya thomas

              for what it's worth:

              i've configured the datasource descriptor and uploaded it, along with the jdbc driver for postgresql (having already create a user and jbossportal database).

              after restarting the jboss server, everything seems to work now. ie: the portal loads up as expected, i can log in, and navigate around the default portlets with no fuss.

              however i've been tailing jboss's logfile and while viewing the portal's homepage i kept seeing this (repeated over and over every 5 seconds or so):

              10:55:30,367 WARN [CacheLoaderInterceptor] The CacheLoader interface has changed since JBossCache 1.3.x
              10:55:30,367 WARN [CacheLoaderInterceptor] Please see http://jira.jboss.com/jira/browse/JBCACHE-118
              10:55:30,367 WARN [CacheLoaderInterceptor] CacheLoader.get() should return an empty Map if the node does exist but doesn't have any attributes.
              10:55:30,368 WARN [CacheLoaderInterceptor] CacheLoader.get(Fqn) returned a null; assuming the node nodes not exist.
              


              also, when i tried to log in (by clicking on the Login link on Portal's front page), i noticed this in the log file output:


              10:56:40,279 ERROR [IOTools] Error while closing outstream
              ClientAbortException: java.net.SocketException: Broken pipe
              ...
              


              ... and this a bit below:

              10:56:40,280 ERROR [Controller] Cound not send http response
              ClientAbortException: java.net.SocketException: Broken pipe
              ...
              


              but yeah, i still manage to log in and browse around, edit my user profile, etc.

              and all of this with the JEMS install.

              i hope this information may be of use to you and your team. thanks for the tip earlier.

              cheers,

              • 4. Re: portal.sar deployed but browser/tomcat returns nullpoint
                Thomas Heute Master

                The WARN are safe to ignore, Hibernate got verbose.
                The 2 errors are not normal.