<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi everyone,<br>My drools rules failed to compile from  web application deployed on Glassfish(application server) that run on Fedora 11 (Linux distro from RedHat).<br>When I deploy the application  on application server with Windows machine everything is working fine. <br>Also it works if application made as regular  Java SE application.<br><br>I got the following error:<br><br>Unable to build expression for 'consequence': Failed to compile: 3
compilation error(s): - (1,4) unqualified type in strict mode for: $map
- (1,13) unable to resolve method using strict-mode:
java.lang.Object.get(java.lang.String) - (1,29) unable to resolve
method using strict-mode: java.lang.Object.getSomeMethod() '
System.out.println($map.get("x").getSomeMethod());
' : [Rule name='TEST']
<br><br><br>Here is the rule that failed to compile on Linux:<br><br>rule "TEST"<br>&nbsp;&nbsp;&nbsp; dialect "mvel"<a title="Send (Ctrl+Enter)" href="javascript:;" id="SendMessage">
    <span class="Label">Send</span></a><br>&nbsp;&nbsp;&nbsp; when<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; map : Map()<br>&nbsp;&nbsp;&nbsp; then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println($map.get("x").getSomeMethod());<br>end<br><br>My Environment:<br>Fedora 11<br>JDK 1.6<br>Glassfish v3 build 65 (supported JAVA EE6)<br><br>I really need to resolve the issue  as soon as possible. Any idea would be highly appreciated.<br><br>Thanks in advance,<br>Vladimir<br>                                               <br /><hr />Lauren found her dream laptop. <a href='http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290' target='_new'>Find the PC that’s right for you.</a></body>
</html>