<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p>After moving to openJPA 2.0.1 I am getting the error as attached. Please advise on how do I fix this issue.
</p>
<p> </p>
<p>Following were the changes made to get opencms working on jboss. </p>
<p> </p>
<ul>
<li>replaced jstl with jar shipped with jboss. </li><li><span style="WIDOWS: 2; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; DISPLAY: inline !important; FONT: 13px/19px sans-serif; WHITE-SPACE: normal; ORPHANS: 2; FLOAT: none; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">created
 jboss-web.xml</span> </li><li>removed <span style="WIDOWS: 2; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; DISPLAY: inline !important; FONT: 13px/19px sans-serif; WHITE-SPACE: normal; ORPHANS: 2; FLOAT: none; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">
xerces and xml-apis jars from opecms lib</span> </li><li><span style="WIDOWS: 2; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; DISPLAY: inline !important; FONT: 13px/19px sans-serif; WHITE-SPACE: normal; ORPHANS: 2; FLOAT: none; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">added
 following to web.xml</span></li></ul>
<p><span style="WIDOWS: 2; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; DISPLAY: inline !important; FONT: 13px/19px sans-serif; WHITE-SPACE: normal; ORPHANS: 2; FLOAT: none; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"> <resource-ref><br>
  <description>Oracle Datasource example</description><br>
  <res-ref-name>OpencmsDS</res-ref-name><br>
  <res-type>javax.sql.DataSource</res-type><br>
  <res-auth>Container</res-auth><br>
  <res-sharing-scope>Shareable</res-sharing-scope><br>
 </resource-ref></span></p>
<p><span style="WIDOWS: 2; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; DISPLAY: inline !important; FONT: 13px/19px sans-serif; WHITE-SPACE: normal; ORPHANS: 2; FLOAT: none; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"></span> </p>
<ul style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">
<li><span style="WIDOWS: 2; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; DISPLAY: inline !important; FONT: 13px/19px sans-serif; WHITE-SPACE: normal; ORPHANS: 2; FLOAT: none; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">added
 following after  <persistence-unit name="OpenCmsJPAPool"></span><span style="WIDOWS: 2; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; DISPLAY: inline !important; FONT: 13px/19px sans-serif; WHITE-SPACE: normal; ORPHANS: 2; FLOAT: none; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><br>
     <jta-data-source>java:/OpencmsDS</jta-data-source></span> </li><li><span style="WIDOWS: 2; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; DISPLAY: inline !important; FONT: 13px/19px sans-serif; WHITE-SPACE: normal; ORPHANS: 2; FLOAT: none; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Created
 jdbc connection pool.</span></li></ul>
<span style="WIDOWS: 2; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; DISPLAY: inline !important; FONT: 13px/19px sans-serif; WHITE-SPACE: normal; ORPHANS: 2; FLOAT: none; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">
<p>    <local-tx-datasource><br>
        <jndi-name>OpencmsDS</jndi-name><br>
        <use-java-context>true</use-java-context><br>
        <connection-definition>javax.sql.DataSource</connection-definition><br>
        <min-pool-size>2</min-pool-size><br>
        <max-pool-size>10</max-pool-size><br>
        <blocking-timeout-millis>30000</blocking-timeout-millis><br>
        <idle-timeout-minutes>30</idle-timeout-minutes><br>
        <prefill>false</prefill><br>
        <user-name>xxxx</user-name><br>
        <password>xxxx</password><br>
        <check-valid-connection-sql>SELECT 1</check-valid-connection-sql><br>
        <driver-class>org.gjt.mm.mysql.Driver</driver-class><br>
        <connection-url>jdbc:mysql://localhost:3306/opencms</connection-url><br>
    </local-tx-datasource><br>
<br>
</p>
<p>Thanks,</p>
<p>Hemen<br>
</p>
</span>
<p> </p>
<div>
<p> </p>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px">
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"><strong>
<hr>
</strong></div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"><strong>Hemen Thacker</strong><br>
<strong>Aon Hewitt  </strong>|  4 Overlook Point, Lincolnshire, IL 60069<br>
<a tabindex="0" href="mailto:hemen.thacker@aonhewitt.com" target="">hemen.thacker@aonhewitt.com</a>  | <font face="Wingdings">(</font> +1 (847) 442-9425 |<a tabindex="0" href="http://www.aonhewitt.com/" target="">http://www.aonhewitt.com/</a></div>
</div>
</div>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 16px">
<hr tabindex="-1">
<div style="DIRECTION: ltr" id="divRpF742818"><font color="#000000" size="2" face="Tahoma"><b>From:</b> Hemen Thacker<br>
<b>Sent:</b> Friday, May 11, 2012 4:05 PM<br>
<b>To:</b> opencms-dev@opencms.org<br>
<b>Subject:</b> OpenJPA issue<br>
</font><br>
</div>
<div></div>
<div>
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 10pt">
<div>
<p>I am trying to deploy OpenCMS 8.0.4 on JBoss 5.10 which is java 5 compatible. OpenJPA2.2.0.jar is built on java 6 making it uncompatible with java 1.5 server.</p>
<p> </p>
<p>OpenJPA 2.0.x is java 1.5 compatible. Can you fix this issue or I will manually replace it.</p>
<p> </p>
<p>-Hemen</p>
<p> </p>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px">
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"><strong>
<hr>
</strong></div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"><strong>Hemen Thacker</strong><br>
<strong>Aon Hewitt  </strong>|  4 Overlook Point, Lincolnshire, IL 60069<br>
<a tabindex="0" href="mailto:hemen.thacker@aonhewitt.com" target="_blank">hemen.thacker@aonhewitt.com</a>  | <font face="Wingdings">(</font> +1 (847) 442-9425 |<a tabindex="0" href="http://www.aonhewitt.com/" target="_blank">http://www.aonhewitt.com/</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>