4 Replies Latest reply: Sep 29, 2012 8:39 AM by Antoine Herzog RSS

    Running GateIn Portal thanks to Eclipse server plugin

    Julien Deruère Newbie

      Hello,

       

      I tried to run GateIn with eclipse server configuration. I downloaded GateIn bundle with tomcat, I created a new environment in eclipse pointing on GateIn location, I create a new server, and when I run, the server start but it's not working, nothing happend.

       

      How can I configure GateIn to be run with eclipse wst server environment?

       

      Thanks,

        • 1. Re: Running GateIn Portal thanks to Eclipse server plugin
          Patrice Lamarque Novice

          Hello,

           

          I manage to start gatein-tomcat from eclipse like this :

           

          • Configure a new tomcat6 server runtime to point to your gatein-tomcat directory (with JRE 6 indeed)
          • In servers view, new > server, choose the runtime created above, save
          • double click on server, open launch configuration > Arguments
          • add this to the VM arguments : -Dcom.sun.management.jmxremote -Dexo.product.developing=true -Dexo.conf.dir.name=gatein/conf -Xms512m -Xmx1500m -XX:MaxPermSize=256m -Dorg.exoplatform.container.configuration.debug -Djava.security.auth.login.config=../conf/jaas.conf
          • in working directory, choose gatein-tomcat/bin

           

          Now start your server.

           

          HTH

          • 2. Re: Running GateIn Portal thanks to Eclipse server plugin
            cupps102 Newbie

            Hello Patrice, I tried the instructions you supplied and nithing happen when I went to http://localhost:8080/portal. I did not see the portal running in the background.

             

            May 22, 2012 4:32:58 PM org.apache.catalina.core.AprLifecycleListener init

            INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:%JAVA_HOME%/bin ;C:%XMLBEANS_HOME%/bin;;C:\Users\kevinm\Documents\eclipse-jee-indigo-win32\eclipse;;.

            May 22, 2012 4:32:58 PM org.apache.coyote.http11.Http11Protocol init

            INFO: Initializing Coyote HTTP/1.1 on http-8080

            May 22, 2012 4:32:58 PM org.apache.catalina.startup.Catalina load

            INFO: Initialization processed in 763 ms

            May 22, 2012 4:32:58 PM org.apache.catalina.core.StandardService start

            INFO: Starting service Catalina

            May 22, 2012 4:32:58 PM org.apache.catalina.core.StandardEngine start

            INFO: Starting Servlet Engine: Apache Tomcat/6.0.32

            May 22, 2012 4:32:59 PM org.apache.coyote.http11.Http11Protocol start

            INFO: Starting Coyote HTTP/1.1 on http-8080

            May 22, 2012 4:32:59 PM org.apache.jk.common.ChannelSocket init

            INFO: JK: ajp13 listening on /0.0.0.0:8009

            May 22, 2012 4:32:59 PM org.apache.jk.server.JkMain start

            INFO: Jk running ID=0 time=0/47 config=null

            May 22, 2012 4:32:59 PM org.apache.catalina.startup.Catalina start

            INFO: Server startup in 521 ms

            • 3. Re: Running GateIn Portal thanks to Eclipse server plugin
              cupps102 Newbie

              Hello Patrice, I was able to get it started but recieved the following errrors

              May 22, 2012 5:47:58 PM org.exoplatform.container.util.ContainerUtil loadProperties
              SEVERE: Cannot load property file file:/U:/GateIn/lib/exo.core.component.xml-processing-2.4.2-GA.jar!/conf/configuration.properties
              java.io.FileNotFoundException: JAR entry conf/configuration.properties not found in U:\GateIn\lib\exo.core.component.xml-processing-2.4.2-GA.jar

              • 4. Re: Running GateIn Portal thanks to Eclipse server plugin
                Antoine Herzog Master

                Hi,

                 

                For this error,

                java.io.FileNotFoundException: JAR entry conf/configuration.properties not found in U:\GateIn\lib\exo.core.component.xml-processing-2.4.2-GA.jar

                I set the JAVA_HOME variable, and the working folder.

                 

                See my other post, to your other question :

                https://community.jboss.org/message/762329#762329

                 

                Antoine

                Presta-Expert, trouvez un expert.