[Gridsphere-users] Gridsphere 3.1 - HelloWorld Portlet Trouble
Cor Cornelisse
ccorneli at liacs.nl
Wed May 7 05:15:37 PDT 2008
Hi All,
I'm sorry for all the noise I've caused, I think I've solved the problem,
after running ant deploy, or ant install with the dbtask part commented
out. I've to manually touch /usr/share/tomcat5
($CATALINA_HOME)/.gridsphere/portlets/helloworld
Then, after a restart of tomcat it shows up. The weird thing is, after the
deployment this file is present in:
/usr/share/tomcat5/webapps/gridsphere/WEB-INF/CustomPortal/portlets
Though this doesn't seem to bother tomcat, until you touch this file in
the .gridsphere/portlets directory.
BUG? Shouldn't this migrate to the .gridsphere/portlets?
Kind Regards,
Cor
> Hi All,
>
> Here I'm again, I did some more research, and read on the gridsphere
> website itself, right under my nose. That indeed database updates are
> broken in 3.1 release.
>
> So, my next question: if I deploy the hello world portlet, but it doesn't
> show up under the "layout" option inside gridsphere.
>
> I'll assume this is because the database isn't updated? How would one
> proceed after deployment of the hello-world-portlet, when one would like
> to have it show up under layout, or under a new tab?
>
> Kind regards,
>
> Cor
>
>
>> Hi All,
>>
>> I'm trying to deploy the HelloWorld example as described here:
>>
>> http://docs.gridsphere.org/display/gs30/Hello+World+Portlet
>>
>> The first error was GridSphere complaining about the configdir attribute
>> under dbtask in build.xml. I read on the March mailing-list this could
>> easily be fixed by removing the configdir attribute. However, I'm now
>> presented with the following error and don't have a clue what causes
>> this.
>>
>> ==========
>>
>> create-database:
>> [echo] Creating database
>> [dbtask] 1 [main] (DBTask.java:31) INFO
>> org.gridsphere.tools.DBTask
>> - Database:
>> [dbtask] 26 [main] (DBTask.java:33) INFO
>> org.gridsphere.tools.DBTask
>> - Action: CREATE
>> [dbtask] 28 [main] (CreateDatabase.java:185) INFO
>> org.gridsphere.services.core.persistence.impl.CreateDatabase -
>> Database:
>> [dbtask] 30 [main] (CreateDatabase.java:186) INFO
>> org.gridsphere.services.core.persistence.impl.CreateDatabase - Action:
>> CREATE
>> [dbtask] 31 [main] (CreateDatabase.java:189) INFO
>> org.gridsphere.services.core.persistence.impl.CreateDatabase - Using
>> project database
>> [dbtask] 54 [main] (PortletServiceFactory.java:177) ERROR
>> org.gridsphere.portlet.service.spi.PortletServiceFactory - Unable to
>> find portlet service interface:
>> org.gridsphere.services.core.customization.SettingsService . Please
>> check PortletServices.xml file for proper service entry
>>
>> BUILD FAILED
>> /home/users/ccorneli/GridSphere/gridsphere-3.1/projects/hellonearth/build.xml:412:
>> The following error occurred while executing this line:
>> /home/users/ccorneli/GridSphere/gridsphere-3.1/projects/hellonearth/build.xml:226:
>> org.gridsphere.portlet.service.PortletServiceNotFoundException: Unable
>> to
>> find portlet service:
>> org.gridsphere.services.core.customization.SettingsService
>>
>> ===========
>>
>> Any suggestions/solutions are appreciated!
>>
>> Version info:
>> CentOS-5 2.6.18-53.el5
>> Ant-1.6.5
>> Tomcat-5.5.23
>> Java(TM) SE Runtime Environment build 1.6.0-b105
>>
>>
>> Kind Regards,
>>
>> Cor
>>
>> --
>> A lie told often enough becomes the truth.
>>
>> Lenin (1870 - 1924)
>> _______________________________________________
>> Gridsphere-users mailing list
>> Gridsphere-users at gridsphere.org
>> http://lists.gridsphere.org/mailman/listinfo/gridsphere-users
>>
>
>
> --
> A lie told often enough becomes the truth.
>
> Lenin (1870 - 1924)
> _______________________________________________
> Gridsphere-users mailing list
> Gridsphere-users at gridsphere.org
> http://lists.gridsphere.org/mailman/listinfo/gridsphere-users
>
--
A lie told often enough becomes the truth.
Lenin (1870 - 1924)
More information about the Gridsphere-users
mailing list