portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zufeng Huang <huangzuf...@sungoal.com>
Subject Re: Converting from PSML files to a PSML Database failed.
Date Wed, 30 Jul 2003 18:08:16 GMT
My configuration:


My database already has these tables:
| COFFEES                 |
| TURBINE_GROUP           |
| TURBINE_ROLE            |
| TURBINE_USER            |

When #ant import, cause the following error:
     [java] ***** PSML Importer *****
     [java] Exception in thread "main" java.lang.Error: Error in 
BasePeer.initTableSchema(TURBINE_USER): There was no DataSourceFactory 
configured for the connection default

My system environment: redhat Linux 9.0 + JDK1.4.1 + Jetspeed-1.4-b4 + 
ant-1.5.x + MySQL-4.0.14

Jason Weiss wrote:

>You are getting the error you describe "profile not found" because you
>failed to successfully populate the TURBINE_* tables-- this is the purpose
>of ant import.  Your DB should have two sets of tables -- 3 JETSPEED_*
>tables and 6 TURBINE_* tables before you run ant import.  When you run ant
>import, it will populate and move all of the PSML stored in the .xml files
>into the database.  Until these tables are populated, when you attempt to
>login, Turbine attempts to locate the profile for "anon" user and can't
>find any rows with that data.  Thus, you get the error you see.
>-----Original Message-----
>From: Zufeng Huang [mailto:huangzufeng@sungoal.com]
>Sent: Wednesday, July 30, 2003 8:39 AM
>To: Jetspeed Developers List
>Subject: Converting from PSML files to a PSML Database failed.
>According to the document:
>I successfully setup Database supporting for Jetspeed, but I don't know
>how to convert
>from PSML files to PSML database.
>1. I have already changed the configuration files as needed.
>2. When I am going to run script* **src/sql/dbpsml-schema.sql**,*I found
>that all tables have been
>created, so I think it's not necessary to create them again. Skip this
>3. I don't know the purpose of running #ant import, anyway I do it. Now,
>error take place,
>the error message is: "Error retrieving Portal Page: Profile not found."
>4. I found that no PSML file store into any table in database, so I am
>confused with the meaning of PSML database.
>Does it really store PSML files into database? how to?
>To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

View raw message