[rules-dev] BRMS - Connecting to a different repository

Vikrant Yagnick VikrantY at mastek.com
Thu Jan 22 03:19:55 EST 2009


There should be a file called as components.xml.
You should be able to add the following to it:

    <component name="repositoryConfiguration">
              <property name="homeDirectory">c:\repository</property>

Cheers,
Vikrant

-----Original Message-----
From: rules-dev-bounces at lists.jboss.org [mailto:rules-dev-bounces at lists.jboss.org] On Behalf Of Michael Neale
Sent: Wednesday, January 14, 2009 6:21 AM
To: petru_simion at yahoo.com; Rules Dev List
Subject: Re: [rules-dev] BRMS - Connecting to a different repository

I am sure someone else could pipe up who has actually done this ;)

But I think if you have the /repository directly still there, next to
the repository.xml - it will use that?? (I could be wrong)

On Wed, Jan 14, 2009 at 5:04 AM, petru simion <petru_simion at yahoo.com> wrote:
> Hi,
>
> I am trying to connect to another DB repository then the one that BRMS uses
> by default.
> I tried applying the WIKI info, wich states that the following peace of code
> should be inserted  after the <Repository> tag in the repository.xml found
> under the bin dir of the JBoss installation, but nothing seems to trigger
> the creation of the schema in the database I just created.
> Tested with both SQL Server and My SQL and same behavior.
>
> I guess that if something is not right either in the syntax of the
> repository.xml file, or if any of the settings: eg. name of the driver,
> username, password etc, jackrabbit does not really warn me but connects to
> the default repository.
>
> Anyone had this kind of problems ?
>
> Here is the content of the <DataStore> tag.
>
> <DataStore class="org.apache.jackrabbit.core.data.db.DbDataStore">
> <param name="url"
> value="jdbc:sqlserver://localhost\SQLEXPRESS;DatabaseName=drools_pilot;SelectMethod=cursor"/>
> <param name="user" value="johnDoe"/>
> <param name="password" value="jdpassword"/>
> <param name="databaseType" value="sqlserver"/>
> <param name="driver" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>
> <param name="minRecordLength" value="1024"/>
> <param name="maxConnections" value="3"/>
> <param name="copyWhenReading" value="true"/>
> <param name="tablePrefix" value=""/>
> </DataStore>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>



--
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com
_______________________________________________
rules-dev mailing list
rules-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


MASTEK LTD.
Mastek is in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





More information about the rules-dev mailing list