1 Reply Latest reply on Apr 14, 2013 12:38 AM by 0000000000

    How to set up "Simplest Hello World Portlet" in GateIn 3.5.0 Final

    0000000000

      Hi !

       

      I am having some trouble with the "Simplets Hello World Portlet" on GateIn.

      I am very beginner for this installation and I would appreciate if someone can help me out.

       

      Following is little bit of introduction with my platform,

       

      OS : CentOS v 6.3 64 bit

      Installed package : JBOSS AS 7 + GateIn 3.5

         I have used the GateIn-3.5.0.Final-jbossas7.zip for the installation.

      Maven : apache^maven-3.0.5

      Databse : default HSQL

       

      I have confirmed that JBOSS AS 7 started properly by accessing the admin console

      and also followed the README.md for creating the project.

       

      But when I got to the following part and pointed the browser to http://127.0.0.1/portal.classic,

       

        To ensure that the example portlet has been deployed successfully do the following:

        * Point your web browser at the base URL of your portal (URL of a default local GateIn Portal installation is

        [http://127.0.0.1:8080/portal/classic](http://127.0.0.1:8080/portal/classic)).

        * Sign in as root or other user with manager:/platform/administrators permissions.

        * Go to Top Menu > Group > Administration > Application Registry and hit Import Applications. After that, you should

       

      nothing was shown there was following errors in the server.log,

       

      Caused by: java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.web.WebAppController type=org.exoplatform.web.WebAppController found at jndi:/default-host/portal/WEB-INF/conf/portal/controller-configuration.xml

       

      Could someone give me an advice about what I am lacking in the setting?

      I have not changed any settings in any of the configuration files that are in the JBOSS HOME directory.

       

      Thanks,
      yu

        • 1. Re: How to set up "Simplest Hello World Portlet" in GateIn 3.5.0 Final
          0000000000

          I got it working .

           

          I found this error in the server.log

           

          13:18:22,085 ERROR [exo.kernel.component.common.IDGeneratorServiceImpl] (MSC service thread 1-2) TestEnvironment1: TestEnvironment1: java.net.UnknownHostException: TestEnvironment1: TestEnvironment1

           

          I added the hostname in the hosts and finally saw the defaut screen ! So cool .

          Now I can continue with the tutorial...

           

          Thanks,

          Yu