Oops, you're right, here it is:

-----

############################################################################
#############
# To use the File-based PSML service, select (uncomment) this service (this
is the default setting):
services.PsmlManager.classname=org.apache.jetspeed.services.psmlmanager.Cast
orPsmlManagerService
############################################################################
#############
############################################################################
#############
# To use the DB-PSML service, select (uncomment) this service, and comment
out the above service:
#
services.PsmlManager.classname=org.apache.jetspeed.services.psmlmanager.db.D
atabasePsmlManagerService
############################################################################
#############

-----

Anyway, I think I know what I am doing wrong. I changed the system to use
DbPsml, but then changed it back to
FilePsml. But then I wrongfully assumed I didn't need the database at all,
and removed hsqldb. Hence it isn't working.

I don't want to use hsqldb, but mysql. I know there is documentation how to
switch databases, but I forgot where I
have seen it. Could someone point me to it?

Stijn


----- Original Message -----
From: "Pernoud Aurelien" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 4:31 PM
Subject: RE: Trying to split Jetspeed and project code



This setting is for PSMLImport only, but it looks ok. The line for psml
manager, (not IMPORT) is just before those lines, check if you're using
castor and not db.

Jetspeed uses a DB to at least store users info (login / pass). By default
it uses hypersonic sql, so you should have it if you didn't migrate to
another real db.

Aurelien


Stijn de Witt a �crit :

> Aurelien,
>
> Below is the relevant snippet from my
> jetspeedResources.properties file:
>
> -----
>
> #########################################
> # PSMLImportManager Service             #
> #########################################
> # Select your PSML Import Manager service by uncommenting it. The
> default is 'CastorPsmlManagerService'
> # If you uncomment one importer service, you must comment-out the
> other service
> # You must run the importer manually. From the build directory, type
> 'ant import'
> # the PsmlImportManager is the service which will export the psml
> from its datastore to the current
> # PsmlManager's datastore. The PsmlImportManager and PsmlManager
> should never be the same.
> ##############################################################
> ############## ############################
>
> # Select this service to import from File System to the Database
> (make sure that DatabasePsmlManagerService is selected above)
> services.PsmlImportManager.classname=org.apache.jetspeed.servi
> ces.psmlmanage r.CastorPsmlManagerService
>
> # Select this service to import from the Database to the File System
> (make sure that CastorPsmlManagerService is selected above) #
> services.PsmlImportManager.classname=org.apache.jetspeed.servi
> ces.psmlmanage r.db.DatabasePsmlManagerService
>
> services.PsmlManager.root=/WEB-INF/psml
> services.PsmlManager.ext=.psml
> services.PsmlManager.mapping=/WEB-INF/conf/psml-mapping.xml
> #The following property is used for
> DatabasePsmlManagerService only. The
> default is false that is caching is
> #not allowed with DatabasePsmlManagerService, as the current
> implementation of caching does not work on a
> #distributed environment. It works only in a single server
> environment. services.PsmlManager.caching-on=false
> #services.PsmlManager.default-resource=default.psml
> #services.PsmlManager.media-types=html:wml
> #services.PsmlManager.admin=admin
>
> ## only used by Castor(File) PSML Manager
> # scan rate in seconds (every 2 minutes)
> services.PsmlManager.scanRate=120
> # cache size - number of PSML pages to cache
> services.PsmlManager.cacheSize=100
>
> -----
>
> Also, I just though about this, isn't there a entry in the database
> for the username and password?
> Somehow I feel as if jetspeed is trying to connect to a database that
> just isn't there.
> Is hsqldb necessary? I removed it...
>
> Thanks again,
> Stijn

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to