You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Vladimir Figurov <VF...@asia-soft.kz> on 2006/01/17 10:05:49 UTC
Re: J1.6 - fusion: What for one more database is started separately?
David Sean Taylor wrote:
>The "Fusion" database is really just the Jetspeed-2 database.
>J2 does not use or will ever use Torque.
>So with Fusion, you are stuck with two different database connection
>configurations. That said, feel free to configure the J1 and J2
>connections to point to the same database
Well. Clearly. But, this J2 connection need only for autodeploy
JSR168portlets - it is inconvenient (not usability) only for
accommodation of the constant information about Portlets
to startUp the whole database. And - separately.
Can make is better so:
[CATALINA_HOME]/conf/Catalina/localhost/jetspeed.xml:
...
<Realm className="org.apache.catalina.realm.JAASRealm"
.../>
<ResourceParams name="jdbc/jetspeed">
...
<!-- The JDBC connection url for connecting to your HSQL dB. -->
<parameter>
<name>url</name>
<!-- VFigurov - the old connect for standalone DB Server -->
<!--value>jdbc:hsqldb:hsql://127.0.0.1:9001</value-->
<!-- VFigurov - the NEW connect for AUTOSTARTUP mode HSQL DB -->
<value>jdbc:hsqldb:C:/db-fusion/jetspeed-database/hsql/Production</value>
</parameter>
</ResourceParams>
...
- then at start Tomcat the DB for J2 connections will automatically be
started also!
- I check it - working excellently. 8-)
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org