<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
jBPM 5.2 issue Jboss7.1Beta
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/pushpak1981">pushpak1981</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/646636#646636">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi</p><p> We have setup jBPM5.2 on JBoss7.1Beta when we try to execute sample business process we get the following error.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Caused by: java.lang.IllegalAccessException: Class org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer can not access a member of class org.jboss.stdio.StdioContext$DelegatingPrintStream with modifiers "public"</p><p>    at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)</p><p>    at java.lang.reflect.Method.invoke(Method.java:588)</p><p>    at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1093)</p><p>    at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:982)</p><p>    at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:375)</p><p>    ... 114 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Below is the sample bpmn we are trying to deploy:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre"><code class="jive-code jive-xml"><span class="jive-xml-tag"><?xml version="1.0" encoding="UTF-8"?></span>
<span class="jive-xml-tag"><span><definitions id="Definition"
             targetNamespace="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools" target="_blank">http://www.jboss.org/drools</a><span>"
             typeLanguage="</span><a class="jive-link-external-small" href="http://www.java.com/javaTypes" target="_blank">http://www.java.com/javaTypes</a><span>"
             expressionLanguage="</span><a class="jive-link-external-small" href="http://www.mvel.org/2.0" target="_blank">http://www.mvel.org/2.0</a><span>"
             xmlns="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" target="_blank">http://www.omg.org/spec/BPMN/20100524/MODEL</a><span>"
             xmlns:xsi="</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span>"
             xsi:schemaLocation="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" target="_blank">http://www.omg.org/spec/BPMN/20100524/MODEL</a><span> BPMN20.xsd"
             xmlns:bpmndi="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/DI" target="_blank">http://www.omg.org/spec/BPMN/20100524/DI</a><span>"
             xmlns:dc="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DC" target="_blank">http://www.omg.org/spec/DD/20100524/DC</a><span>"
             xmlns:di="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DI" target="_blank">http://www.omg.org/spec/DD/20100524/DI</a><span>"
             xmlns:tns="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools" target="_blank">http://www.jboss.org/drools</a><span>"></span></span>
  <span class="jive-xml-tag"><process processType="Private" isExecutable="true" id="com.sample.bpmn.hello" name="Hello World" ></span>
    <span class="jive-xml-comment"><!-- nodes -->
    <span class="jive-xml-tag"><scriptTask id="_2" name="Hello" ></span>
      <span class="jive-xml-tag"><script></span>System.out.println("Hello World");<span class="jive-xml-tag"></script></span>
    <span class="jive-xml-tag"></scriptTask></span>
    <span class="jive-xml-tag"><startEvent id="_1" name="StartProcess" /></span>
    <span class="jive-xml-tag"><endEvent id="_3" name="EndProcess" ></span>
        <span class="jive-xml-tag"><terminateEventDefinition/></span>
    <span class="jive-xml-tag"></endEvent></span>
    <!-- connections --></span>
    <span class="jive-xml-tag"><sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" /></span>
    <span class="jive-xml-tag"><sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" /></span>
  <span class="jive-xml-tag"></process></span>
  <span class="jive-xml-tag"><bpmndi:BPMNDiagram></span>
    <span class="jive-xml-tag"><bpmndi:BPMNPlane bpmnElement="com.sample.bpmn.hello" ></span>
      <span class="jive-xml-tag"><bpmndi:BPMNShape bpmnElement="_2" ></span>
        <span class="jive-xml-tag"><dc:Bounds x="96" y="16" width="80" height="48" /></span>
      <span class="jive-xml-tag"></bpmndi:BPMNShape></span>
      <span class="jive-xml-tag"><bpmndi:BPMNShape bpmnElement="_1" ></span>
        <span class="jive-xml-tag"><dc:Bounds x="16" y="16" width="48" height="48" /></span>
      <span class="jive-xml-tag"></bpmndi:BPMNShape></span>
      <span class="jive-xml-tag"><bpmndi:BPMNShape bpmnElement="_3" ></span>
        <span class="jive-xml-tag"><dc:Bounds x="206" y="17" width="48" height="48" /></span>
      <span class="jive-xml-tag"></bpmndi:BPMNShape></span>
      <span class="jive-xml-tag"><bpmndi:BPMNEdge bpmnElement="_1-_2" ></span>
        <span class="jive-xml-tag"><di:waypoint x="40" y="40" /></span>
        <span class="jive-xml-tag"><di:waypoint x="136" y="40" /></span>
      <span class="jive-xml-tag"></bpmndi:BPMNEdge></span>
      <span class="jive-xml-tag"><bpmndi:BPMNEdge bpmnElement="_2-_3" ></span>
        <span class="jive-xml-tag"><di:waypoint x="136" y="40" /></span>
        <span class="jive-xml-tag"><di:waypoint x="230" y="41" /></span>
      <span class="jive-xml-tag"></bpmndi:BPMNEdge></span>
    <span class="jive-xml-tag"></bpmndi:BPMNPlane></span>
  <span class="jive-xml-tag"></bpmndi:BPMNDiagram></span>
<span class="jive-xml-tag"></definitions></span>
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Are we missing any configuration for JBoss7 ?</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/646636#646636">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>