[rules-users] Replacement not found for ${wsp.name}.

Vikas Phonsa VPhonsa at mercuryinsurance.com
Wed May 7 14:08:42 EDT 2008


Hi Everybody,

I'm a newbie to Drools. I am trying to run BRMS on Websphere 6.1. The
application started up fine with the default settings.

Now I'm trying to use MS SQL Server instead of Derby. I replaced the
DerbyPersistanceManager settings with the following values in the
repository.xml

<PersistenceManager
class="org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceMana
ger">
<param name="driver"
value="com.microsoft.jdbc.sqlserver.SQLServerDriver"/>
<param name="url"
value="jdbc:microsoft:sqlserver://MyMachine:1433;;DatabaseName=Drools;Se
lectMethod=Cursor;"/>
<param name="schema" value="mssql"/>
<param name="user" value="droolsuser"/>
<param name="password" value="droolspwd"/>
<param name="schemaObjectPrefix" value="${wsp.name}_"/>
<param name="externalBLOBs" value="false"/>
</PersistenceManager>


When I start up the server, I get an exception with message "Replacement
not found for ${wsp.name}."

If I replace "${wsp.name}." with "default_", the application starts up
successfully and tables are created in my database.


Does anybody have a clue? 

Thanks in advance for your help.

Vikas








This email and/or any files or attachments transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and/or any files or attachments transmitted with it is strictly forbidden. If you have received this email in error, please delete the e-mail and/or any files or attachments, and also notify the system manager (PostMaster at mercuryinsurance.com) of the error. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email and/or any files or attachments transmitted with it.






More information about the rules-users mailing list