﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Martin's Home-文章分类-JBPM</title><link>http://www.blogjava.net/martinyuan/category/28894.html</link><description /><language>zh-cn</language><lastBuildDate>Thu, 10 Jan 2008 16:11:21 GMT</lastBuildDate><pubDate>Thu, 10 Jan 2008 16:11:21 GMT</pubDate><ttl>60</ttl><item><title>JbpmOnTomcat</title><link>http://www.blogjava.net/martinyuan/articles/174370.html</link><dc:creator>Martin Yuan</dc:creator><author>Martin Yuan</author><pubDate>Thu, 10 Jan 2008 09:43:00 GMT</pubDate><guid>http://www.blogjava.net/martinyuan/articles/174370.html</guid><wfw:comment>http://www.blogjava.net/martinyuan/comments/174370.html</wfw:comment><comments>http://www.blogjava.net/martinyuan/articles/174370.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/martinyuan/comments/commentRss/174370.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/martinyuan/services/trackbacks/174370.html</trackback:ping><description><![CDATA[
		<h3 style="MARGIN: 6pt 0cm 0pt">
				<span lang="EN-US">
						<font face="Verdana" size="3">This how-to outlines the necessary steps to get jBPM 3.2 working with Tomcat and </font>
						<a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=MySQL">
								<font face="Verdana" color="#005eb6" size="3">MySQL</font>
						</a>
						<font face="Verdana" size="3">.</font>
				</span>
		</h3>
		<p style="MARGIN-BOTTOM: 12pt">
				<span lang="EN-US" style="FONT-SIZE: 8.5pt; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana">It has been tested with the following <b>environment:</b><br />Tomcat 6.0.10 (see the notes at the bottom of this page if you are using an older Tomcat version such as Tomcat 5.0.28)<br /><a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=MySQL"><font color="#005eb6">MySQL</font></a> 5.0.15<br />jBPM 3.2.GA <b>and also with jBPM 3.2.1</b> (just some minor changes highlighted in the text below!)<br style="mso-special-character: line-break" /><br style="mso-special-character: line-break" /><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /?><o:p></o:p></span>
		</p>
		<h4 style="MARGIN: 6pt 0cm 0pt">
				<span lang="EN-US">
						<font face="Verdana">1. Create schema and tables in </font>
						<a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=MySQL">
								<font face="Verdana" color="#005eb6">MySQL</font>
						</a>
				</span>
		</h4>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 12pt">
				<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
						<br />
						<br />1.1 In this example a schema </span>
				<tt>
						<span lang="EN-US">
								<font face="宋体">'jbpm32'</font>
						</span>
				</tt>
				<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">with a user </span>
				<tt>
						<span lang="EN-US">
								<font face="宋体">'jbossjbpm'</font>
						</span>
				</tt>
				<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">is used. <br /><br />1.2 Generate all jBPM tables using the script from the downloaded jBPM 3.2 suite, which has to be modified a bit to suite the <a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=MySQL"><font color="#005eb6">MySQL</font></a> syntax. Attached to this page is a script (jbpm.jpdl.mysql.sql) with these modifications already done - just for your convenience! If you want your users/roles information (the identity components) also from the <a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=MySQL"><font color="#005eb6">MySQL</font></a> db, use the second sql script attached here (mysql.identity.script.sql for jBPM 3.2.GA and mysql.identity.script.jbpm321.sql for <b>jBPM 3.2.1</b>) to set up the necessary tables and fill them with the demo values. <br style="mso-special-character: line-break" /><br style="mso-special-character: line-break" /><o:p></o:p></span>
		</p>
		<h4 style="MARGIN: 6pt 0cm 0pt">
				<span lang="EN-US">
						<font face="Verdana">2. Prepare your jBPM archive</font>
				</span>
		</h4>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
						<br />
						<br />2.1 In jbpm-jpdl-3.2.GA/deploy (or jbpm-jpdl-3.2.1/deploy) run<br /></span>
				<tt>
						<span lang="EN-US">
								<font face="宋体">ant customize.console.for.tomcat</font>
						</span>
				</tt>
				<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
						<br />
						<br />
						<br />2.2 This builds a jbpm-console.war in jbpm-jpdl-3.2.GA/deploy/customized (almost) ready for deployment in TC <br /><br />2.3 Change the jbpm-console.war/WEB-INF/classes/hibernate.cfg.xml to reflect the following changes: <br /></span>
		</p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #008080"> 1</span>
				<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #000000">&lt;hibernate-configuration&gt;<br /></span>
				<span style="COLOR: #008080"> 2</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />  &lt;session-factory&gt;<br /></span>
				<span style="COLOR: #008080"> 3</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
						<br />
				</span>
				<span style="COLOR: #008080"> 4</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    &lt;!-- hibernate dialect --&gt;<br /></span>
				<span style="COLOR: #008080"> 5</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    &lt;property name</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">hibernate.dialect</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">&gt;org.hibernate.dialect.MySQLInnoDBDialect&lt;/property&gt;<br /></span>
				<span style="COLOR: #008080"> 6</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
						<br />
				</span>
				<span style="COLOR: #008080"> 7</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    &lt;!-- JDBC connection properties (begin) --&gt;<br /></span>
				<span style="COLOR: #008080"> 8</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    &lt;property name</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">hibernate.connection.driver_class</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">&gt;com.mysql.jdbc.Driver&lt;/property&gt;<br /></span>
				<span style="COLOR: #008080"> 9</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    &lt;property name</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">hibernate.connection.url</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">&gt;jdbc:mysql://localhost:</span>
				<span style="COLOR: #000000">3306</span>
				<span style="COLOR: #000000">/jbpm32&lt;/property&gt;<br /></span>
				<span style="COLOR: #008080">10</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    &lt;property name</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">hibernate.connection.username</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">&gt;jbossjbpm&lt;/property&gt;<br /></span>
				<span style="COLOR: #008080">11</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    &lt;property name</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">hibernate.connection.password</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">&gt;jbossjbpm&lt;/property&gt;<br /></span>
				<span style="COLOR: #008080">12</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />     &lt;!-- JDBC connection properties (end) --&gt;<br /></span>
				<span style="COLOR: #008080">13</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    <br /></span>
				<span style="COLOR: #008080">14</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    &lt;property name</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">hibernate.cache.provider_class</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">&gt;org.hibernate.cache.HashtableCacheProvider&lt;/property&gt;<br /></span>
				<span style="COLOR: #008080">15</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    <br /></span>
				<span style="COLOR: #008080">16</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    &lt;!-- DataSource properties (begin) </span>
				<span style="COLOR: #000000">==</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">17</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    &lt;property name</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">hibernate.connection.datasource</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">&gt;java:/JbpmDS&lt;/property&gt;<br /></span>
				<span style="COLOR: #008080">18</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    </span>
				<span style="COLOR: #000000">==</span>
				<span style="COLOR: #000000"> DataSource properties (end) --&gt;<br /></span>
				<span style="COLOR: #008080">19</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    &lt;property name</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">hibernate.transaction.factory_class</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">&gt;org.hibernate.transaction.JDBCTransactionFactory&lt;/property&gt;<br /></span>
				<span style="COLOR: #008080">20</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
						<img src="http://www.blogjava.net/images/dot.gif" />
						<br />
				</span>
				<span style="COLOR: #008080">21</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
		</div>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
						<br />(Make sure to use the hibernate.connection.driver/url attributes to connect to the db and not the hibernate.connection.datasource property. Also set hibernate.transaction.factory_class to <u>JDBCTransactionFactory</u><a href="http://wiki.jboss.org/wiki/Edit.jsp?page=JDBCTransactionFactory"><font color="#005eb6">?</font></a> instead of the <u>JTATransactionFactory</u><a href="http://wiki.jboss.org/wiki/Edit.jsp?page=JTATransactionFactory"><font color="#005eb6">?</font></a> or <u>CMTTransactionFactory</u><a href="http://wiki.jboss.org/wiki/Edit.jsp?page=CMTTransactionFactory"><font color="#005eb6">?</font></a> which are already in this file.) <br /><br />2.4 Copy jboss-j2ee.jar (or maybe as well any jar that contains the default javax.transaction package) to jbpm-console.war/WEB-INF/lib. (Note: jboss-j2ee.jar can be found in a standard JBoss AS distribution eg. jboss-4.0.5.GA/client) <br /><br />2.4.1 FOR <b>jBPM 3.2.1</b> ONLY: Copy commons-collections.jar to jbpm-console.war/WEB-INF/lib. (Note: commons-collections.jar can be found in a standard JBoss AS distribution eg. jboss-4.0.5.GA/server/default/lib) <br /><br />2.5 Copy the jar containing the mysql jdbc driver to /$CATALINA_HOME/lib <br /><br />2.6 Copy the adapted jbpm-console.war to /$CATALINA_HOME/webapps <br /><br /><i>You can now give it a try and start Tomcat. You should be able to start the jbpm web application, but for now you cannot successfully log in. </i><br /><br />Next thing to do would be to properly configure your security realm. You could either go for the standard file based <u>MemoryRealm</u><a href="http://wiki.jboss.org/wiki/Edit.jsp?page=MemoryRealm"><font color="#005eb6">?</font></a> and just add the jBPM specific users and roles to /$CATALINA_HOME/conf/tomcat-users.xml, OR... <br style="mso-special-character: line-break" /><br style="mso-special-character: line-break" /><o:p></o:p></span>
		</p>
		<h4 style="MARGIN: 6pt 0cm 0pt">
				<span lang="EN-US">
						<font face="Verdana">3. Setup a JDBC Realm in Tomcat</font>
				</span>
		</h4>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
						<br />
						<br />3.1 Create a file jbpm-console.xml in /$CATALINA_HOME/conf/Catalina/localhost similar to <br /></span>
		</p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #008080"> 1</span>
				<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #000000">&lt;Context&gt;<br /></span>
				<span style="COLOR: #008080"> 2</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />&lt;Realm  className</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">org.apache.catalina.realm.JDBCRealm</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080"> 3</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    driverName</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">com.mysql.jdbc.Driver</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080"> 4</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    connectionURL</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">jdbc:mysql://localhost:3306/jbpm32</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080"> 5</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    connectionName</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">jbossjbpm</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080"> 6</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    connectionPassword</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">jbossjbpm</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080"> 7</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    userTable</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">JBPM_ID_USER u, JBPM_ID_MEMBERSHIP m, JBPM_ID_GROUP g</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080"> 8</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    userNameCol</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">g.TYPE_ = 'security-role' AND m.GROUP_ = g.ID_ AND m.USER_ = u.ID_ AND u.NAME_</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080"> 9</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    userCredCol</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">DISTINCT u.PASSWORD_</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">
						<br />
				</span>
				<span style="COLOR: #008080">10</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    userRoleTable</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">JBPM_ID_USER u, JBPM_ID_MEMBERSHIP m, JBPM_ID_GROUP g</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080">11</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    roleNameCol</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">g.NAME_</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000"> /&gt;<br /></span>
				<span style="COLOR: #008080">12</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />&lt;/Context&gt;<br /></span>
				<span style="COLOR: #008080">13</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
		</div>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
						<br />Now you should be able to run jBPM default web app in Tomcat and login with the username/password (eg. ernie/ernie for jBPM 3.2.GA or manager/manager for <b>jBPM 3.2.1</b>) from the db. <br /><br /><br />(Note: This how-to first found its way in <a href="http://www.jboss.com/index.html?module=bb&amp;op=viewtopic&amp;p=4032532"><font color="#005eb6">this post</font></a><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /?><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype><v:shape id="_x0000_i1025" style="WIDTH: 4.5pt; HEIGHT: 4.5pt" type="#_x0000_t75" alt=""><v:imagedata src="file:///C:\DOCUME~1\MARTIN~1.YUA\LOCALS~1\Temp\msohtml1\01\clip_image001.gif" o:href="http://wiki.jboss.org/wiki/images/out.png"></v:imagedata></v:shape>, so you might find some more discussion about this there.) <br /><br /><br />(Notes for users of older Tomcat versions, such as <b>Tomcat 5.0.28</b>: Tomcat 5.0.28 doesn't include the el*.jars by default as the TC 6.0 series does, you will have to repackage el-api.jar and el-ri.jar back into jbpm-console.war/WEB-INF/lib (these files get deleted by the ant call described in step 2.1 above and can be found in the original web app jbpm-jpdl-3.2.1/deploy/jbpm-console.war/WEB-INF/lib). In addition, the included xml parses make problems as well, so you will also have to replace/delete the content in common/endorsed.) <o:p></o:p></span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
						<br clear="all" />
						<b>Attachments:</b>
						<o:p>
						</o:p>
				</span>
		</p>
		<div align="center">
				<table class="MsoNormalTable" style="WIDTH: 90%; mso-cellspacing: 1.5pt" cellpadding="0" width="90%" border="0">
						<tbody>
								<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes">
										<td style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">
												<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
														<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
																<a href="http://wiki.jboss.org/wiki/attach?page=JbpmOnTomcat%2Fjbpm.jpdl.mysql.sql">jbpm.jpdl.mysql.sql</a>
																<o:p>
																</o:p>
														</span>
												</p>
										</td>
										<td style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">
												<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
														<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
																<a href="http://wiki.jboss.org/wiki/PageInfo.jsp?page=JbpmOnTomcat%2Fjbpm.jpdl.mysql.sql">
																		<v:shape id="_x0000_i1026" style="WIDTH: 36pt; HEIGHT: 12pt" type="#_x0000_t75" alt="Info on jbpm.jpdl.mysql.sql" href="http://wiki.jboss.org/wiki/PageInfo.jsp?page=JbpmOnTomcat%2Fjbpm.jpdl.mysql.sql" o:button="t">
																				<v:imagedata src="file:///C:\DOCUME~1\MARTIN~1.YUA\LOCALS~1\Temp\msohtml1\01\clip_image002.png" o:href="http://www.jboss.com/images/attachment_big.png">
																				</v:imagedata>
																		</v:shape>
																</a>
																<o:p>
																</o:p>
														</span>
												</p>
										</td>
										<td style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">
												<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
														<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">25762 bytes<o:p></o:p></span>
												</p>
										</td>
								</tr>
								<tr style="mso-yfti-irow: 1">
										<td style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">
												<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
														<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
																<a href="http://wiki.jboss.org/wiki/attach?page=JbpmOnTomcat%2Fmysql.identity.script.sql">mysql.identity.script.sql</a>
																<o:p>
																</o:p>
														</span>
												</p>
										</td>
										<td style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">
												<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
														<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
																<a href="http://wiki.jboss.org/wiki/PageInfo.jsp?page=JbpmOnTomcat%2Fmysql.identity.script.sql">
																		<v:shape id="_x0000_i1027" style="WIDTH: 36pt; HEIGHT: 12pt" type="#_x0000_t75" alt="Info on mysql.identity.script.sql" href="http://wiki.jboss.org/wiki/PageInfo.jsp?page=JbpmOnTomcat%2Fmysql.identity.script.sql" o:button="t">
																				<v:imagedata src="file:///C:\DOCUME~1\MARTIN~1.YUA\LOCALS~1\Temp\msohtml1\01\clip_image002.png" o:href="http://www.jboss.com/images/attachment_big.png">
																				</v:imagedata>
																		</v:shape>
																</a>
																<o:p>
																</o:p>
														</span>
												</p>
										</td>
										<td style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">
												<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
														<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">2531 bytes<o:p></o:p></span>
												</p>
										</td>
								</tr>
								<tr style="mso-yfti-irow: 2; mso-yfti-lastrow: yes">
										<td style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">
												<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
														<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
																<a href="http://wiki.jboss.org/wiki/attach?page=JbpmOnTomcat%2Fmysql.identity.script.jbpm321.sql">mysql.identity.script.jbpm321.sql</a>
																<o:p>
																</o:p>
														</span>
												</p>
										</td>
										<td style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">
												<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
														<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">
																<a href="http://wiki.jboss.org/wiki/PageInfo.jsp?page=JbpmOnTomcat%2Fmysql.identity.script.jbpm321.sql">
																		<v:shape id="_x0000_i1028" style="WIDTH: 36pt; HEIGHT: 12pt" type="#_x0000_t75" alt="Info on mysql.identity.script.jbpm321.sql" href="http://wiki.jboss.org/wiki/PageInfo.jsp?page=JbpmOnTomcat%2Fmysql.identity.script.jbpm321.sql" o:button="t">
																				<v:imagedata src="file:///C:\DOCUME~1\MARTIN~1.YUA\LOCALS~1\Temp\msohtml1\01\clip_image002.png" o:href="http://www.jboss.com/images/attachment_big.png">
																				</v:imagedata>
																		</v:shape>
																</a>
																<o:p>
																</o:p>
														</span>
												</p>
										</td>
										<td style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent">
												<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
														<span lang="EN-US" style="FONT-SIZE: 8.5pt; FONT-FAMILY: Verdana">2538 bytes<o:p></o:p></span>
												</p>
										</td>
								</tr>
						</tbody>
				</table>
		</div>
<img src ="http://www.blogjava.net/martinyuan/aggbug/174370.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/martinyuan/" target="_blank">Martin Yuan</a> 2008-01-10 17:43 <a href="http://www.blogjava.net/martinyuan/articles/174370.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>