Essentials Overview Features License Installation FAQ Sample Sites Resources Todo Changes Download Binaries Source Code Supporting Projects Documentation Configuration Guide Javadocs Development Jetspeed Tutorial Portlet Catalog Components Registry Security Syndication WAP Customization Cache PSML Forwards Get Involved Contributors CVS Repository View CVS CVS Branches Coding Spec Bug Database |
Supporting Jakarta Projects
Jetspeed is dependent on many open source projects. We provide downloads to the most dependent projects used in Jetspeed: Turbine Torque The supporting projects for version 1.4b3 can be checked out from their cvs repositories for their given release tags cvs co -r TURBINE_2_2_0 jakarta-turbine-2 cvs co -r TORQUE_3_0_0 jakarta-turbine-torque Or the binaries are available here: Turbine 2.2 release binary Torque 3.0 release binary
Upgrading Torque 3.0 b2 to Torque 3.0.0 or later
All Torque queries that used to return java.util.Vector now return java.util.List DBConnection has been removed. You must convert your code to use java.sql.Connection Accessors for PKs and FK columns return the actual data type, including Java primitive data types, not an ObjectKey (or derivative). For ex: a column that is an INTEGER called USER_ID will return have accessors : int getUserId() void setUser(int userId) Torque.getConnection() (with no params) now throws TorqueException, java.sql.SQLException, javax.naming.NamingException (it used to throw just TorqueException) releaseConnection() was changed to closeConnection(), and it no longer throws an exception It appears that maxExpiryTime and connectionWaitTime have changed from milliseconds to seconds {$webapp_root} no longer seems to work, just remove it You have a lot more choice for Connection pooling, such as using JNDI, Jdbc2Pool, and ConnectionPoolDataSource. See the Torque.properties in Jetspeed cvs for examples. The format of the connection properties have changed. You will need to change your Torque.properties to the new format: # MySQL torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver torque.dsfactory.default.connection.url = jdbc:mysql://localhost:3306/torque torque.dsfactory.default.connection.user = user torque.dsfactory.default.connection.password = password Torque.properties now prefixes Torque properties with "torque." Components are all prefixed with "services.ComponentService." We need to include build-torque.properties in your ant build and call it from your build.properties Torque now supports excludes and includes to choose which xml files to build. If you don't specify excludes and includes, Torque will generate for all xml files found in the schemaDirectory: torque.schema.sql.includes = security-schema.xml, turbine-schema.xml, coffees-schema.xml torque.schema.create-db.includes = security-schema.xml, turbine-schema.xml, coffees-schema.xml torque.schema.init-sql.includes = security-schema.xml, turbine-schema.xml, coffees-schema.xml torque.schema.om.includes = security-schema.xml, turbine-schema.xml, coffees-schema.xml Also see the Torque Change Log
Copyright © 1999-2002, Apache Software Foundation