<div>Hi,all:</div>
<div>   Guvnor is a BRMS,it can manage the rules through Jackrabbit Repository.The default,Guvnor work well with derby database.But i want it work with my database,just like MySQL.</div>
<div>My step is :</div>
<div>  1.Run Guvnor with default,and generate the repository.xml and repository dictionary at JBOSS_HOME\bin dictionary</div>
<div>  2.delete repository dictionary and edit repository.xml,only replace the content in &lt;PersistenceManage&gt; label ,just like this:</div>
<div><font style="BACKGROUND-COLOR: #ffff33">    &lt;PersistenceManager class=&quot;org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager&quot;&gt;<br>       &lt;param name=&quot;driver&quot; value=&quot;com.mysql.jdbc.Driver&quot;/&gt;<br>
       &lt;param name=&quot;url&quot; value=&quot;jdbc:mysql://localhost:3306/guvnor_db&quot;/&gt;<br>       &lt;param name=&quot;user&quot; value=&quot;root&quot; /&gt;<br>       &lt;param name=&quot;password&quot; value=&quot;a123456&quot; /&gt;<br>
       &lt;param name=&quot;schema&quot; value=&quot;mysql&quot;/&gt;<br>       &lt;param name=&quot;schemaObjectPrefix&quot; value=&quot;${<a href="http://wsp.name">wsp.name</a>}_&quot;/&gt;<br>       &lt;param name=&quot;externalBLOBs&quot; value=&quot;false&quot;/&gt;<br>
   &lt;/PersistenceManager&gt;</font></div>
<div>  3.install Mysql database,and create the guvnor_db database instance,and copy mysql driver to JBOSS_HOME\server\deploy\lib</div>
<div>  4.Restart the JBoss ,i get the exception:</div>
<div>    <font color="#ff0000"> </font><font style="BACKGROUND-COLOR: #ff6666" color="#000000">org.drools.repository.RulesRepositoryException: javax.jcr.RepositoryException: Invalid repository configuration: repository.xml: Replacement not found for ${<a href="http://wsp.name">wsp.name</a>}.: Replacement not found for ${<a href="http://wsp.name">wsp.name</a>}.</font></div>

<div>  </div>
<div>  Why?Please help me,thanks!</div>