6 Replies Latest reply on Jul 30, 2010 2:49 AM by hoang_to

    Running The Portal

    rlespinola

      After installing GateIn 3.1.0 with JBoss 5.1.0, I navigate to "http://localhost:8080/portal" and receive the following error below. Is there further configuration necessary to run the sample portal?

       

      I also notice that the server takes 5m:31s:577ms to start with numerous warnings:

       

           WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: ...

       

      Attached is the full server.log.

       

      2010-07-28 17:48:58,454 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal].[jsp]] Servlet.service() for servlet jsp threw exception
      java.lang.NullPointerException
          at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:132)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:62)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
          at java.lang.Thread.run(Thread.java:619)

        • 1. Re: Running The Portal
          mwringe

          What operating system are you running, what jvm version, have you made any changes or done any other steps other than unziping and running the server (ie configuration changes, deploying other archives, etc...)?

          • 2. Re: Running The Portal
            rlespinola

            I am running on Windows XP, Java 1.6.0_20.

             

            No other changes, just unzipped and ran.

             

            I had forgotten to change JBOSS_HOME to C:\GateIn-3.1.0-GA but after doing so, I still get the same errors.

             

            I re-posted the log file.

             

            In the log I also noticed the following errors:

             

            2010-07-29 09:13:28,638 DEBUG [exo.kernel.container.PortalContainerConfig] The static method valueOf(String) cannot be found for the class class java.lang.String java.lang.NoSuchMethodException: java.lang.String.valueOf(java.lang.String)

            • 3. Re: Running The Portal
              mwringe

              How are you running the server? why do you need to set JBOSS_HOME?

               

              In the log I also noticed the following errors:

               

              2010-07-29 09:13:28,638 DEBUG [exo.kernel.container.PortalContainerConfig] The static method valueOf(String) cannot be found for the class class java.lang.String java.lang.NoSuchMethodException: java.lang.String.valueOf(java.lang.String)

               

              Are you sure you are running Java 1.6?

              • 4. Re: Running The Portal
                rlespinola

                I re-installed from scratch and the portal now comes up.

                 

                However, I still see the "Trying to resolve systemId" warnings and "java.lang.NoSuchMethodException: java.lang.String.valueOf(java.lang.String)" messages.

                • 5. Re: Running The Portal
                  rlespinola

                  "java -version" returns:

                   

                       java version "1.6.0_20"
                       Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
                       Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode)

                   

                  I then run "C:\GateIn-3.1.0-GA\bin\run.bat"

                  • 6. Re: Running The Portal
                    hoang_to

                    Try to double click the run.bat instead of execute it from command line.

                     

                    I had trouble with running GateIn in JBoss when i were under Window Vista. Then double click did help