There's on-line export/import feature in the Psml Browser (in the admin
profile). PsmlImportManager was really designed for the initial import and
is command-line driven.

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: [EMAIL PROTECTED]
web: http://www.ngsltd.com


> -----Original Message-----
> From: Pierre Henry [mailto:phenry@;proconcept.ch]
> Sent: Monday, November 11, 2002 9:19 AM
> To: Jetspeed Users List
> Subject: RE: build/deploy/war file and PSML database
>
>
> Hello !
>
> This :
>
> > This is fixed in the cvs, personnaly I managed to do it by
> > uncommenting the
> > following line in
> > Jetspeedresources.properties one jetspeed installed :
> > #services.PsmlImportManager.classname=org.apache.jetspeed.serv
> > ices.psmlmanag
> > er.CastorPsmlManagerService
> >
> > Then run tomcat, look at the console, the import goes ok.
>
> worked perfectly when putting data *from files to db*.
>
> But now I need to edit the anonymous user's psml, so I want to export the
> psml back to files just to edit it.
>
> I switched the psmlManager and psmlImportManager services :
>
> services.PsmlManager.classname=org.apache.jetspeed.services.psmlma
> nager.Cast
> orPsmlManagerService
> #
> services.PsmlImportManager.classname=org.apache.jetspeed.services.
> psmlmanage
> r.CastorPsmlManagerService
> services.PsmlImportManager.classname=org.apache.jetspeed.services.
> psmlmanage
> r.db.DatabasePsmlManagerService
> #
> services.PsmlManager.classname=org.apache.jetspeed.services.psmlma
> nager.db.D
> atabasePsmlManagerService
> services.PsmlManager.root=/WEB-INF/psml
>
> The Castor (filesystem) service is now the psml manager, and the
> db service
> is the import service. (just the opposite of before)
>
> But when I start Tomcat, nothing seems to happen, the import is not done !
> Looking at the logs, I see that the services are started, but no import is
> done :
>
> [15:04:54,007 INFO ] Start Initializing service (early): PsmlManager
> [15:04:54,077 DEBUG] Loading psml mapping file
> C:\MyJava\jakarta-tomcat-4.0.4\webapps\jetspeed\WEB-INF\conf\psml-
> mapping.xm
> l
> [15:04:54,097 INFO ] Finish Initializing service (early): PsmlManager
> [15:04:54,097 INFO ] Start Initializing service (early): PsmlImportManager
> [15:04:54,197 INFO ] Initializing DatabasePsmlManagerService...
> [15:04:54,197 DEBUG] Loading psml mapping file
> C:\MyJava\jakarta-tomcat-4.0.4\webapps\jetspeed\WEB-INF\conf\psml-
> mapping.xm
> l
> [15:04:54,217 INFO ] Done initializing DatabasePsmlManagerService.
> [15:04:54,217 INFO ] Finish Initializing service (early):
> PsmlImportManager
>
> This is what happens when I try to connect to Jetspeed :
>
> [15:07:57,360 INFO ] PSML-Man: calculated
> resource:\html\fr\CH\default.psml.
> Base: C:\MyJava\jakarta-tomcat-4.0.4\webapps\jetspeed\WEB-INF\psml
> [15:07:57,360 INFO ] CastorPsmlManager: about to return null doc:
> [15:07:57,360 INFO ] PSML-Man: calculated resource:\html\fr\default.psml.
> Base: C:\MyJava\jakarta-tomcat-4.0.4\webapps\jetspeed\WEB-INF\psml
> [15:07:57,360 INFO ] CastorPsmlManager: about to return null doc:
> ... the same for every file.
>
> The psml dir is actually empty...
>
> I get this on the Jetspeed home :
> Error processing ecs screen 'default'. See log for more information.
>
> I don't understand why it works one way and not the other. Maybe
> I am tired
> and I forget something elementary... Could you please let me know if you
> have already done this, this way or another...
>
> Do you know any way to force Jetspeed to perform the import ?
>
> Thanks in advance for your help.
>
> Pierre
>


--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>

Reply via email to