You are viewing a plain text version of this content. The canonical link for it is here.
Posted to graffito-dev@incubator.apache.org by Raphaël Luta <ra...@apache.org> on 2005/07/21 11:33:18 UTC
Running graffito in J2 HEAD
I'm trying to build and run Graffito with the latest Jetspeed SVN HEAD.
There are a couple of issues at deployment phase:
- the new j2 maven plugin does not behave exactly as the old jetspeed2 plugin
and it looks for graffito components in the jetspeed2 maven repository
directory.
- the spring files need to be synchronized (esp. the datastore source name
seems to have changed from jetspeed to JetspeedDS)
And when all the above is actually done and deployed in J2, the portlets
themselves throw exceptions:
Graffito Content Browser (edit mode)
Portlet is Not Available: null
Reason: Failed to execute method :permission.retrieve
TreePortlet:
Failed to load portlet org.apache.portals.graffito.portlets.TreePortlet:
java.lang.NullPointerException
DocumentPortlet:
Failed to load portlet org.apache.portals.graffito.portlets.DocumentPortlet:
java.lang.NullPointerException
Looking into the database, I can see that the tables have been created correcly
but they have no content except for SYS_CMS_TABLES.
Is there a populate script that is actually supposed to run to populate the DB
during the deployment process ?
--
Raphaël Luta - raphael@apache.org
Apache Portals - Enterprise Portal in Java
http://portals.apache.org/
Re: Jetspeed M4 SNAPSHOT
Posted by David Sean Taylor <da...@bluesunrise.com>.
Christophe Lombart wrote:
> I'm also interested by J2 M4. Is it ok for you if I made GRF-25 before ?
> I almost finish (probably for the next week).
>
sure, no problem
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194
Re: Jetspeed M4 SNAPSHOT
Posted by Christophe Lombart <ch...@gmail.com>.
I'm also interested by J2 M4. Is it ok for you if I made GRF-25 before ?
I almost finish (probably for the next week).
Christophe
2005/7/22, David Sean Taylor <da...@bluesunrise.com>:
> I now need to run against the M4 trunk to get some features.
>
> Anyone object to moving to Jetspeed M4 trunk?
> Seems like we're have to change the way we get a datastore.
>
> Anyway no hurry on this since I'll be on vacation until Aug 2
>
> --
> David Sean Taylor
> Bluesunrise Software
> david@bluesunrise.com
> [office] +01 707 773-4646
> [mobile] +01 707 529 9194
>
Jetspeed M4 SNAPSHOT
Posted by David Sean Taylor <da...@bluesunrise.com>.
I now need to run against the M4 trunk to get some features.
Anyone object to moving to Jetspeed M4 trunk?
Seems like we're have to change the way we get a datastore.
Anyway no hurry on this since I'll be on vacation until Aug 2
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194
Re: Running graffito in J2 HEAD
Posted by Christophe Lombart <ch...@gmail.com>.
2005/7/21, Raphaël Luta <ra...@aptiwan.com>:
> I've run the deploy goal, the schema is created and SYS_CMS_* populated but
> that's it. Is there a populate script to put objects in the store ?
> I'm quite surprised the deploy script does not write anything in
> graffito_db_server and graffito_fs_server ...
>
No cms object are created on producation db. Only default permissions
are initialised and the SYS_CMS_CLASSES tables. You have to create
yourself the folders & content you need. If you want, we can create
some scripts to populate the graffito db with some contents used for a
demo.
Christophe
Re: Running graffito in J2 HEAD
Posted by Raphaël Luta <ra...@aptiwan.com>.
Christophe Lombart wrote:
> Graffito is not yet ready for the new J2 head (aka M4). it works with M3.
> We (David & myself) decide to support only J2 versions (not the head).
> When M4 will be official, we can support it.
>
> Can you create a Jira issues which contains all problems you are face to ?
> I'm making important refactoring (see in Jira : GRT-25). So, please
> wait until I commit my changes before supporting J2 M4.
>
OK, I'll also attach the patches to build it then :)
>
>>Is there a populate script that is actually supposed to run to populate the DB
>>during the deployment process ?
>
>
> see on
> http://incubator.apache.org/graffito/maven-goals.html . There are a
> couples of maven goals in the component subprojects. Feel free to add
> others.
>
I've run the deploy goal, the schema is created and SYS_CMS_* populated but
that's it. Is there a populate script to put objects in the store ?
I'm quite surprised the deploy script does not write anything in
graffito_db_server and graffito_fs_server ...
(Using Mysql if that matters)
--
Raphaël Luta - raphael.luta@aptiwan.com
Aptiwan, l'intelligence du réseau - http://www.aptiwan.com/
Re: Running graffito in J2 HEAD
Posted by Christophe Lombart <ch...@gmail.com>.
Graffito is not yet ready for the new J2 head (aka M4). it works with M3.
We (David & myself) decide to support only J2 versions (not the head).
When M4 will be official, we can support it.
Can you create a Jira issues which contains all problems you are face to ?
I'm making important refactoring (see in Jira : GRT-25). So, please
wait until I commit my changes before supporting J2 M4.
> Is there a populate script that is actually supposed to run to populate the DB
> during the deployment process ?
see on
http://incubator.apache.org/graffito/maven-goals.html . There are a
couples of maven goals in the component subprojects. Feel free to add
others.
Christophe