Implement dragsort in oracle adf

Hello
I would like to implement the sort of drag (for example: http://jqueryui.com/sortable/#display-grid) in oracle adf.
It comes to my sample code in oracle adf.

<? XML version = "1.0" encoding = "UTF - 8"? >
< jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1".
xmlns:f = "http://java.sun.com/jsf/core".
xmlns:h = "http://java.sun.com/jsf/html".
xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
xmlns:trh = "http://myfaces.apache.org/trinidad/html" >
< jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >
< f: view >
< af:document id = "d1" title = 'Sortable' >
< af:form id = "f1" >
< af:resource type = "css" source="/css/test.css"/ >
< af:resource type = "javascript" source="/js/jquery-1.9.1.js"/ >
< af:resource type = "javascript" source="/js/jquery-ui.js"/ >
< trh:script id = "sx4" >
$(function () {})
$("#sortable").sortable ();
$("#sortable").disableSelection ();
});
$(function () {})
$("#test").sortable ();
$("#test").disableSelection ();
});
$(function () {})
$("#sortable1").sortable ();
$("#sortable1").disableSelection ();
});
< / trh:script >

< af:panelList lines argument maxColumns = '6' = '3' id = 'sortable1 '.
listStyle = "thumbnail" inlineStyle = "" list-style-type: none ">"
< varStatus = 'vs' af:forEach start = end of the '1' = "17" >
< af:panelList lines argument maxColumns = '6' = '3' styleClass = "span4" id = 'test '.
listStyle = "thumbnail" inlineStyle = "list-style-type: none" >
< af:outputText id = "ot2" value = "#{vs.index} #{vs.count} #{vs.begin}" / >
< / af:panelList >
< / af:forEach >
< / af:panelList >
< / af:form >
< / af:document >
< / f: view >
< / jsp:root >


Can someone help me...

I use JDeveloper 11.1.1.6.0 version.

Thanks and greetings

Malenfant

Published by: Madhava Maiya on April 18, 2013 02:17

I used Control Panel dashboard for the fulfilment of the condition of dragsort.

The code I used is below one:








The component going to do drag, sort of items (box set)

Thank you

Malenfant

Published by: Madhava Maiya on April 17, 2013 05:06

Published by: Madhava Maiya on April 18, 2013 02:15

Tags: Java

Similar Questions

  • &lt; oracle.adf.view &gt; &lt; UnifiedPopupTag &gt; &lt; setVisible &gt; &lt; 'visible' accessor property Set uses a no-op implementation.

    Jdev Version: JDEVADF_11.1.1.7.2ADF - FAREL8 - BP_GENERIC_131030.1412.6661.3

    Click and cancel popup, we see the following in the console:

    < oracle.adf.view > < UnifiedPopupTag > < setVisible > < 'visible' accessor property Set uses a no-op implementation. Used in the extreme cases, when the value of the property, beyond the default value, leads to undesirable behaviors. >

    Is this a problem? If so, suggestions on how to fix?

    Thank you

    R

    This message is a warning that you somehow try to use the setVisible of a popup that does not work as it does nothing. The setVisible() method is obsolete and does nothing but write the message in the log.

    There is not that you can do about it, but to avoid calling setVisible on the popup.

    Do you have somewhere in your code call setVisible on the popup (or use the visible property of the popup on the page?

    Timo

  • Implementation of internationalization in Oracle ADF, little problem

    Hi all I have a simple question.
    I can't internationalization dialog box find and select popup.
    I read all the document on the implementation of internationalization in Oracle ADF and can't see where are a mistake.

    Anyway what I did:
    Create Java class in the proposed notice:
    SerializableAttribute public class BLAFBundle_sr extends ListResourceBundle {}
    public Object [] [] getContents()
    {
    return the content;
    }
    public static final [] content object [] = {}
    {'Is', "Pretraga"},
    {"SIMPLE_SEARCH_TEXT", "Prosta pretraga"},
    {"ADVANCED_SEARCH_TEXT", "Napredna pretraga"}
    }
    Faces-config as a whole
    <>regional-config settings
    SR < default locale > - < / default locale >
    <>- taken in charge local sr < / supported regional settings >
    < / regional-config settings >
    <>resources-bundle
    < name-base > SistemskeKlase.BLAFBundle_sr < / base-name >
    SR < var > < / var >
    < / resource-bundle >

    The value of my internet explore on the language of the sr,
    Project set up to use Automaticly bundle sync
    and the name of the default package as SistemskeKlase.BLAFBundle_sr

    And nothing happened after the creation and execution of project

    I think that you are using the incorrect name of resource string in your method

    static final Object[][] contents = {
    {"SEARCH_TEXT", "Pretraga"},
    {"SIMPLE_SEARCH_TEXT", "Prosta pretraga"},
    {"ADVANCED_SEARCH_TEXT", "Napredna pretraga"}
    }
    

    I can't find these strings SEARCH_TEXT, SIMPLE_SEARCH_TEXT, ADVANCED_SEARCH_TEXT in the selectors for ADF Faces components counting merger
    http://docs.Oracle.com/CD/E21764_01/apirefs.1111/e15862/TOC.htm

  • County of 'badge' or bubble in Oracle ADF Mobile


    Hello

    Can someone give me a sample of strategy of the County 'badge' or bubble in Oracle ADF Mobile?

    Thank you.

    Hello

    For what I can see there is no such thing for mobile of the box (I hope someone will correct me). For now, you will need to implement your own component using css and so on. The link that I sent is the app icon badge (and it's just for iOS). As for example when you receive new messages and shows you the number of new messages in the application icon. If you find something, please let us know.

    Concerning

  • Development of rich Web Applications with Oracle ADF tutorial

    Oracle JDeveloper 12 c (12.1.2) tutorials - developing rich Web Applications with Oracle ADF

    3.8 step that a change in the Salary field should translate into a auto update, partial trigger, in terms of annual salary after tabbing off the Salary field, but it doesn't. If I do a update for the Salary field and click on the next button, click the back button, I can see the field update of annual salary.

    I use the version of the JDeveloper IDE with the logical Web server and Apache Derby network server - 10.8.2.2.

    Oracle IDE12.1.2.0.40.66.68

    I made all the changes or the steps in the tutorial.

    No idea why the automatic update does not work on my system?

    Thanks in advance for your suggestions!

    Hello

    two suggestions

    1 set the property clientComponent on the field of output annual salary to 'true '. Because the field is an element of output text sometimes what makes a client component helps the update.

    2 obtain the completed application to http://docs.oracle.com/cd/E37547_01/tutorials/tut_rich_app/labs/richclient.zip and check if she works there. If this works it then the problem is in your implementation. But then you have a working example to compare with.

    Frank

  • Oracle ADF Application Social network in the user interface integration

    Hello

    I'm new to ADF so that NSOS, I went through the tutorial of the ADF (development of RIA Web Applications with Oracle ADF) and heard a little.

    My requirement is to integrate the Social network of the Oracle ADF web application user interface. I found the link "implementation Oracle integration of social networks - 11g Release 7 (11.1.7)" "

    I find difficulty in the rest of the documentation, especially the pre-requisites.

    * I use JDeveloper version 11.1.1.7.0 and I downloaded all updates related to webcenter in my JDeveloper.

    I would ask to add a few screenshots more that explain where to find the URL of network Social Oracle JDeveloper.

    Otherwise a simple tutorial with screenshots would be a great help!

    Thank you

    MC.

    MC, the documentation you are looking at is specific to the Fusion Apps integration with Oracle Social Network developers.  If you are looking to make the ADF development credits, including work against NSO then this is probably not the starting point.  You are a developer of Fusion applications, or you are already a customer Oracle Cloud Apps with a NSO and application that you are trying to extend?  If you could give a little more background on what you're trying to achieve, we will be able to advise the right path to take.

    Thank you, Andy

  • How to keep the main custom security Oracle ADF framework

    Hi guys, hope someone will help me.
    I am faced with the following question, I need to have a custom main instance after oracle adf security framework to authenticate and authorize the user.
    My custom main instance must have by adding attribute clientId say say. I use Jdeveloper 11.1.2.4 and I configure weblogic to use ReadOnlySQLAuthenticator (he did most of the features you want).
    As far as I understand, I would implement a custom provider to have a chance to implement a custom LoginModule, so I can put it up to use my custom entity, am I right? and I do not know how ReadOnlySQLAuthenticatorImpl I chose in weblogic is related to
    DBMSAtnLoginModuleImpl (I mean how is he knows what LoginModule it should use) and if I can, how can I do ReadOnlySQLAuthenticatorImpl use my custom LoginModule.
    Sorry if I violated the forum rules.

    Hello

    Yes, you must create a custom LoginModule, then create a WLS her authentication provider. Then, configure you the authentication provider customized with your WLS domain name and set the required flag 8Si authentication should be passed) or optional (if it does not need to be transmitted - for example if it does not authenticate itself, but that it only adds a main class)

    Frank

  • The getCurrent method on the oracle.adf.share.ADFContext class is not allowed

    Hi all

    I've migrated my old project i.e 12.1.3 to new version 12.2.1.

    After the migration of the project where ever, we use ADFContext.getCurrent () .getSessionScope () .put ("dummy", 1);

    put the variable in the session. We receive the exception as Houston-25150: the getCurrent method on the oracle.adf.share.ADFContext class is not allowed. In the earlier version, but its works very well.

    What will be the question. Please can someone let me know.

    Thank you

    Amar

    This error except for security, so try to use the expression adf.context.current.sessionScope.get ("dummy") (or attempt to use this as a groovy adf.context.sessionScope.dummy expression) attribute EO and trustMode = "true" for this attribute set.

    For more details check this url

    Tarek Fathy: oracle.jbo.ExprSecurityException Houston-25150

  • How to convert a number in bar code format in oracle ADF?

    Hello

    In oracle adf application I want to convert the format of a column in my view object is displayed as a barcode without changing its data type in the database table?

    Thank you

    Check this URL:

    Blog of Ashish Awasthi (Jdev/ADF): generate the barcode Image in Oracle ADF using the OnBarcode API

  • Maven error: could not solve addiction com.oracle.adf:junit:jar: [12.1.3,12.1.4)

    Hello everyone.

    Using Jdeveloper 12.1.3 with extensions "Integration of JUnit BC4J" and "Integration of JUnit.

    I created a maven project using JUnit to create unit tests. This is dependency added to my pom.xml file in JDeveloper after configuration created the first unit test:

    <dependency>
         <groupId>com.oracle.adf.library</groupId>
         <artifactId>JUnit-4-Runtime</artifactId>
         <version>12.1.3-0-0</version>
         <type>pom</type>
         <scope>test</scope>
    </dependency>
    
    

    If I compile and run my tests from JDeveloper whatever it works but once I order my source code and build the project Hudson (Continuous Integration server), it fails. The error shown in the console of Hudson's (CommonCode is the name of the project I'm building):

    [ERROR] Cannot run the goal on the CommonCode project: could not resolve the project com.company.project.common:CommonCode:jar:1.0 - SNAPSHOT dependencies: could not collect the dependencies to com.oracle.adf.library:JUnit - 4 - Runtime:pom:12.1.3 - 0-0-> com.oracle.adf:junit:jar: [12.1.3,12.1.4): no version available for com.oracle.adf:junit:jar: [12.1.3,12.1.4) in this range-> [help 1]]]

    I have already installed the plugin maven-oracle-sync and completing my private repository (Artifactory) as described in this document. However, when I browse my private repository I can't find the artifact com.oracle.adf:junit:jar: [12.1.3,12.1.4) and I guess that's why my build has failed.]

    Why JDeveloper add a dependency that is not included when the maven-oracle-sync plugin is pushed on the maven repository?

    I forgot to mention that, when you use the following dependency for JUnit instead of one provided by Jdeveloper, the project compiles in my continuous integration server:

    <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>4.11</version>
         <scope>test</scope>
         <type>jar</type>
    </dependency>
    
    

    Clues about why Jdeveloper adds a dependency that cannot be met by the maven-oracle-sync plugin?

    Thank you.

    Alexis

    Hello

    Please check below blog.

    https://blogs.Oracle.com/Groundside/entry/maven_and_adfbc_unit_tests

    A question which has developed recently turned around to configure your Maven POM in 12.1.3, such that you can run the JUnit Tests ADF BC successfully interactively in the IDE and headless via Maven perhaps in your work of Hudson.  Out of the box, the default value that you will end up with POM will be missing two vital pieces of information and need a little extra configuration.

    Once you have created some unit tests JDeveloper will have added dependencies for JUnit extensions JDeveloper JUnit, something like this:

    com Oracle.ADF.Library

    JUnit-4-LIFE

    12.1.3 - 0-0

    POM

    test

    com Oracle.ADF.Library

    JUnit-Runtime

    12.1.3 - 0-0

    POM

    test

    Thank you

    Amey

  • Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?



    I did a POC sample on it. I can share with you. I can't put in my dropbox because dropbox is blocked in my network. Share your email. I'll send the POC through

  • getCustomDatum not implemented for the oracle.jdbc.driver.T4CNamedTypeAccessor class

    Hello world

    running mapviewer Ver11_1_1_7_3_B140717 we met the error above in newspapers trying to create maptiles.

    Installation program:

    -Table with a column of type ordimage (no available georaster here, we have to keep the files in the file system)

    -Spatial index for column in mbr, metadata are

    -All the files using the 31466 (Gauss-Krueger 2) coordinate system

    -Image theme in mapbuilder shows images

    -Bottom of mapbuilder card shows images

    Trying to create the maptiles by using mapviewer administration - manage tile layers creates the above error (same details in the excerpts above).

    AM PIZZABOTEN: Query [p ImageTheme] = SELECT ROWID, RAS_DOB MBR WHERE MDSYS. SDO_FILTER (MBR, MDSYS. SDO_GEOMETRY (2003, 31466, NULL, MDSYS.) SDO_ELEM_INFO_ARRAY (1, 1003, 3), MDSYS. SDO_ORDINATE_ARRAY(:mvqboxxl,:mvqboxyl,:mvqboxxh,:mvqboxyh)), 'querytype = WINDOW') = 'TRUE' AND (pyramid = 25)

    August 14, 2015 15:36:37 oracle.sdovis.theme.ImageThemeProducer loadImagesFromDBCached

    FEINER: Fetch size: 100

    August 14, 2015 15:36:37 oracle.sdovis.theme.ImageThemeProducer loadImageBlock

    AGAIN: Ungultiger Spaltentyp (invalid column type?): getCustomDatum not implemented for the oracle.jdbc.driver.T4CNamedTypeAccessor class

    August 14, 2015 15:36:37 oracle.sdovis.theme.ImageThemeProducer loadImagesFromDBCached

    WARNUNG: unable to load keyframe: AAAVuOAAMAAAACFAAB

    August 14, 2015 15:36:37 oracle.sdovis.theme.ImageThemeProducer loadImagesFromDBCached

    INFORMATION: Exec sql [RAS_DOB_2014_TEST] time: 7ms, 0 images of loading time: 1 ms.

    August 14, 2015 15:36:37 oracle.sdovis.DBMapMaker renderEm

    INFORMATION: * the time spent on the loading features: 14ms.

    MapTiles records only show the background color.

    Has anyone else experienced this problem?

    Best regards

    NilsO

    Hi Nils

    12.1.3 WebLogic jdbc libraries are located in the MW_HOME/oracle_common/modules/oracle.jdbc_12.1.0 directory level.

    For this WLS jdbc driver is ojdbc7.jar which is loaded on startup of WLS.

    As mentioned on the post preceding this is is not compatible with the 11.1.1.7.3 MapViewer to display the ORDIMAGE. Seems that even the ojdbc6.jar that exists in this directory cannot be used.

    What to do is make the WLS Server uses the ojdbc6.jar for 11.1.1.7.3. There are different ways to use a different pot in WebLogic.

    This page http://docs.oracle.com/middleware/1212/wls/JDBCA/third_party_drivers.htm was noted in this regard.

    As a quick test, you can try to make the ORDIMAGE with the following steps;

    (1) on page MapViewer OTN, Oracle Fusion Middleware MapViewer access downloads and download the quick start for the 11.1.1.7.3 Version.

    You will find the glassfish3/glassfish/domains/Domain1/lib folder a file jdbc ojdbc6.jar.

    (2) on your installation of a WebLogic domain:

    Navigate to the oracle_common/modules/oracle.jdbc_12.1.0 directory

    make a backup of ojdbc7.jar

    copy the ojdbc6.jar on top of ojdbc7.jar

    (3) start Weblogic server and try to make your theme ORDIMAGE.

    As I mentioned before, there are different ways to add a jar to WebLogic classpath. The quick test above is just replace the original ojdbc7.jar in a facility that is not good, as you lose you original ojdbc7.jar.

    Best regards.

    João

  • Need help to unlock the user account HR in the example (rich Web Applications with Oracle ADF development)

    I am very new to Java development and have tried to launch the sample application (Development of Web Applications with Oracle ADF rich) in the start-up, the author of this app has advised developers to unlock the HR user account.

    What I did to connect to Oracle as user = system/password = system and running this SQL command 'ALTER USER HR IDENTIFIED BY NewPwd ACCOUNT UNLOCK"in Sqlplus and with a return code 2.

    Don't code 2: success or failure?

    However, the HR user is always unlocked after issuing this command, and can someone please tell me what I'm doing wrong?

    Thank you.

    Timo,

    Thanks for confirming. The essential difference is that the command must be run as

    SYS AS SYSDBA

    instead of such as SYSTEM

  • How to download a file using af: inputFile in Oracle ADF

    Can someone tell me please how to download the file to the server using af: inputFile in Oracel ADF. I searched for this topic and found, we can use the following

    <af:form usesUpload="true">

         <af:inputFile columns="10" valueChangeListener="#{backing.fileUploaded}"/>

    </af:form>

    using the above code, I can define a method that runs when some people choose some files in the form. So now, I need to know in fileUploaded method what should be the java code to download the file on the server.

    Please help me. How can I achieve this.

    Thanks in advance.

    You searched for but do not read messages completely

    Now, you gotta read this post completely to do your job

    Check - Blog of Ashish Awasthi (Jdev/ADF): downloading files path absolute server in Oracle ADF (12.1.3)

    You can also download and check the sample adf application attached with blog post

    Ashish

  • org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl: java.io.EOFException when sending an attachment in email in Oracle ADF

    Hello I'm developing a web application Oracle ADF Essentials using jdeveloper11.1.2.4. In this, I have a java program which allows you to send an email. I sent this request the Tomcat6.x and Glassfish3.1.

    My e-mail program works fine in tomcat6.x. E-mail program is sending e-mail with an attachment when running application that has deployed on tomcat. But when am under application that was deployed to Glassfish3.1 this email program gives the following exception.

    org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl | _ThreadID = 94; _ThreadName = thread 2;: java.io.EOFException

    at org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler._readLine(MultipartFormHandler.java:253)

    at org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler._readLine(MultipartFormHandler.java:237)

    at org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler._skipBoundary(MultipartFormHandler.java:223)

    to org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler. < init > (MultipartFormHandler.java:102)

    to org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler. < init > (MultipartFormHandler.java:75)

    at org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl.beginRequest(FileUploadConfiguratorImpl.java:114)

    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:562)

    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:212)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:174)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)

    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)

    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)

    to com.sun.enterprise.v3.services.impl.ContainerMapper$ AdapterCallable.call (ContainerMapper.java:317)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)

    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)

    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)

    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)

    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)

    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)

    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)

    at java.lang.Thread.run(Thread.java:745)

    |#]

    And use the following code to load a file

    / * Method to download the file to the actual path on the server * /.

    private String uploadFile (file UploadedFile) {}

    System.out.println ("will transfer");

    File UploadedFile = myfile;

    String path = null;

    If (myfile == null) {}

    System.out.println ("in uploadFile if - 279: myfile == null");

    } else {}

    All the downloaded files will be stored in the following path

    System.out.println ("in uploadFile if - 282: myfile.") = null");

    path = "D: / / EasyRunFileStore / /" + myfile.getFilename ();

    InputStream inputStream = null;

    try {}

    FileOutputStream out = new FileOutputStream (path);

    inputStream = myfile.getInputStream ();

    ubyte [] buffer = new byte [8192];

    int bytesRead = 0;

    While ((bytesRead = inputStream.read (buffer, 0, 8192))! = - 1) {}

    out. Write (buffer, 0, bytesRead);

    }

    out. Flush();

    out. Close();

    } catch (Exception ex) {}

    handle the exception

    ex.printStackTrace ();

    System.out.println ("emailPage 277" + ex.getMessage ());

    } {Finally

    try {}

    inputStream.close ();

    } catch (IOException e) {}

    e.printStackTrace ();

    System.out.println ("email 302" + e.getMessage ());

    }

    }

    }

    Please help me.

    GlassFish - sending pictures in the application of the ADF - Stack Overflow

    Citattion:

    This is a bug on that version of Glassfish server you use. Check this list for reference bugs:TRINIDAD-10033 & GLASSFISH-18446. You have to move from 3.1.2 to 3.1.2.2 it is fixed to the furthest.

Maybe you are looking for