6 Replies Latest reply on Feb 3, 2012 12:23 AM by uwew

    GateIn 3.2 Startup Fail

    uwew

      GateIn: 3.2

      JBoss: 5.1.0.GA

      eXo KS Suite: 2.2.0.GA

      Java: Java(TM) SE Runtime Environment (build 1.6.0_20-b02)

       

      I checked out eXo KS from SVN, performed a build and installed it to a clean JBoss 5.1.0.GA. When starting up it gives me the following error:

       

      2012-01-17 07:34:31,000 DEBUG [org.exoplatform.container.util.ContainerUtil] Attempt to load property file /C:/XXXXXXX/jboss/server/default/conf/gatein/configuration.properties

      2012-01-17 07:34:31,000 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)

          at java.lang.Class.getMethod(Class.java:1605)

          at org.exoplatform.container.definition.PortalContainerConfig.mergeSettings(PortalContainerConfig.java:1091)

          at org.exoplatform.container.definition.PortalContainerConfig.initializeSettings(PortalContainerConfig.java:845)

          at org.exoplatform.container.definition.PortalContainerConfig.initialize(PortalContainerConfig.java:1186)

          at org.exoplatform.container.definition.PortalContainerConfig.start(PortalContainerConfig.java:1300)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

       

      When i the try to access /portal or /ksdemo the response fails with a blank page.

       

      HSQL Databases and tables in JBOSS_HOME/server/default/data/gatein are not created, same behaviour when i try to switch to a PostgreSQL Database. Seems that GateIn has a problem to read the configuration files.

       

      Any hints on this?

        • 1. Re: GateIn 3.2 Startup Fail
          ndkhoiits

          Did you have any prb if start GateIn 3.2 without KS suite?

          • 2. Re: GateIn 3.2 Startup Fail
            uwew

            no, the plain GateIn 3.2/JBoss 5.1 bundle starts without a problem, so the environment seems to be fok.

            • 3. Re: GateIn 3.2 Startup Fail
              nfilotto

              Hi,

               

              If you cannot start GateIn, it is clearly not due to this exception as you can see it is an exception for debugging purpose only, it cannot prevent the product to work normally. First of all, I believe that you should set another logging level otherwise the perfs will be terrible, then please provide the full log file to let us identify the real issue.

               

              BR,

              Nicolas

              • 4. Re: GateIn 3.2 Startup Fail
                macois

                Hi,

                 

                Are you sure you start GateIn with a jdk6 ???

                 

                M.

                • 5. Re: GateIn 3.2 Startup Fail
                  ndkhoiits

                  @macois: I think he's using jdk6, because He could start GateIn if KS suite wasn't bundled.

                  • 6. Re: GateIn 3.2 Startup Fail
                    uwew

                    Sorry for the late reply.

                     

                    Meanwhile i figured it out: as you mentioned, the message i posted is just for debugging. I don't think that the checkout, build and installation to a clean 5.1. app server works with the versions i tried (Gatein 3.2, App Server 5.1, KS Suite 2.2) - at least i was unable to get that running. What worked for me was the build of the KS Suite 2.1.0.GA and the installation/deploy of gatein-exo-ks-2.1.0-GA.ear to a Jboss 5.1/Gatein 3.1 bundle.

                     

                    Thanks for your Support.

                     

                    Uwe