<!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;">&#160;</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>&#160;&#160;&#160; at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)</p><p>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:588)</p><p>&#160;&#160;&#160; at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1093)</p><p>&#160;&#160;&#160; at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:982)</p><p>&#160;&#160;&#160; at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:375)</p><p>&#160;&#160;&#160; ... 114 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Below is the sample bpmn we are trying to deploy:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code jive-xml"><span class="jive-xml-tag">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span> 
<span class="jive-xml-tag"><span>&lt;definitions id="Definition"
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; targetNamespace="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools" target="_blank">http://www.jboss.org/drools</a><span>"
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; typeLanguage="</span><a class="jive-link-external-small" href="http://www.java.com/javaTypes" target="_blank">http://www.java.com/javaTypes</a><span>"
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 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>"
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 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>"
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 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>"
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 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"
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 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>"
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 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>"
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 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>"
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:tns="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools" target="_blank">http://www.jboss.org/drools</a><span>"&gt;</span></span>

&#160; <span class="jive-xml-tag">&lt;process processType="Private" isExecutable="true" id="com.sample.bpmn.hello" name="Hello World" &gt;</span>

&#160;&#160;&#160; <span class="jive-xml-comment">&lt;!-- nodes --&gt;
&#160;&#160;&#160; <span class="jive-xml-tag">&lt;scriptTask id="_2" name="Hello" &gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;script&gt;</span>System.out.println("Hello World");<span class="jive-xml-tag">&lt;/script&gt;</span>
&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/scriptTask&gt;</span>
&#160;&#160;&#160; <span class="jive-xml-tag">&lt;startEvent id="_1" name="StartProcess" /&gt;</span>
&#160;&#160;&#160; <span class="jive-xml-tag">&lt;endEvent id="_3" name="EndProcess" &gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;terminateEventDefinition/&gt;</span>
&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/endEvent&gt;</span>

&#160;&#160;&#160; &lt;!-- connections --&gt;</span>
&#160;&#160;&#160; <span class="jive-xml-tag">&lt;sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" /&gt;</span>
&#160;&#160;&#160; <span class="jive-xml-tag">&lt;sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" /&gt;</span>

&#160; <span class="jive-xml-tag">&lt;/process&gt;</span>

&#160; <span class="jive-xml-tag">&lt;bpmndi:BPMNDiagram&gt;</span>
&#160;&#160;&#160; <span class="jive-xml-tag">&lt;bpmndi:BPMNPlane bpmnElement="com.sample.bpmn.hello" &gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;bpmndi:BPMNShape bpmnElement="_2" &gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;dc:Bounds x="96" y="16" width="80" height="48" /&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/bpmndi:BPMNShape&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;bpmndi:BPMNShape bpmnElement="_1" &gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;dc:Bounds x="16" y="16" width="48" height="48" /&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/bpmndi:BPMNShape&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;bpmndi:BPMNShape bpmnElement="_3" &gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;dc:Bounds x="206" y="17" width="48" height="48" /&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/bpmndi:BPMNShape&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;bpmndi:BPMNEdge bpmnElement="_1-_2" &gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;di:waypoint x="40" y="40" /&gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;di:waypoint x="136" y="40" /&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/bpmndi:BPMNEdge&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;bpmndi:BPMNEdge bpmnElement="_2-_3" &gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;di:waypoint x="136" y="40" /&gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;di:waypoint x="230" y="41" /&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/bpmndi:BPMNEdge&gt;</span>
&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/bpmndi:BPMNPlane&gt;</span>
&#160; <span class="jive-xml-tag">&lt;/bpmndi:BPMNDiagram&gt;</span>

<span class="jive-xml-tag">&lt;/definitions&gt;</span>
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</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>