[jboss-user] [JBoss Cache Users] - Re: MVCC leading to deadlocks in synchronous replication mod

2009-12-09 Thread spennec
We'll try this out, thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269732#4269732 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269732 ___ jboss-user mailing list

[jboss-user] [JBoss Messaging Users] - standalone consumer for clustered queue did not get all mess

2009-12-09 Thread arminhaaf
we are currently migrating from JBoss AS 4.2.2 with MQ to a clustered JBoss AS 5.1 with messaging We have some standalone JMS consumers to connect external systems. The problem is that a standalone JMS consumer connects to only one node and so gets the messages from this node only. The

[jboss-user] [jBPM Users] - Re: Entity variable

2009-12-09 Thread juanignaciosl
Neat. As I read at the documentation it's likely that I should be able to save as an Hibernate entity, but Serializable is good enough for the time being. Nevertheless, when I make it Serializable it gets stored but it can't be loaded, taskService.getVariables throws the following exception:

[jboss-user] [JBoss Web Services Users] - Re: @WebFault and @XmlType issues for Exception classes

2009-12-09 Thread craiggreenhalgh
Hi did you come up with a solution for this? I have the same requirement Thanks Craig View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269745#4269745 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269745

[jboss-user] [EJB 3.0 Users] - Re: Using enviroment variables in persistence.xml

2009-12-09 Thread jwirsig
I couldn't manage to get it working though i followed the advices posted here. Can anybody tell me in which versions of JBoss it is supposed to work? I have a Jboss 4.2.0 in use. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269746#4269746 Reply to the

[jboss-user] [Security] - Use EJB inside a LoginModule, repeated calls to login()

2009-12-09 Thread Thomas.Woelfl
We try to access a EJB stateless service inside a custom LoginModule. The problem is that the login() method is called again and again when the the EJB stateless service is accessed. | public class DatabaseServerLoginModuleTm3 extends DatabaseServerLoginModule | { | @Override |

[jboss-user] [JBoss Messaging Users] - how to connect jboss MDB to jboss messaging - different ver

2009-12-09 Thread pierods
Hi, we have been trying to connect an MDB running inside JBoss to a remote queue in JBoss Messaging. But since the naming context factory class of the remote JBoss messaging server has the same name and package name as the local JBoss naming context factory, BUT A DIFFERENT VERSION, JBoss

[jboss-user] [EJB] - NullPointerException with an ejbRemove

2009-12-09 Thread lukemanner
Hi, I have some problem with a remove of a stateless ejb. The error code is: 2009-12-09 10:24:10,993 ERROR [STDERR] java.lang.NullPointerException | 2009-12-09 10:24:10,994 ERROR [STDERR] at org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:101) |

[jboss-user] [JBoss Portal Users] - ClassCastException while Integrating Spring SWF portlet with

2009-12-09 Thread nikhild
Hi , I am using Jboss Portal 2.7 and Spring WebFlow 2.0 While integrating Spring sample portal with Jboss portal it gives error below, java.lang.ClassCastException: org.jboss.portal.portlet.impl.jsr168.api.PortletContextImpl cannot be cast to javax.servlet.ServletContext at

[jboss-user] [EJB 3.0 Users] - Re: transaction closed ... guess timeout problem

2009-12-09 Thread premrajwarke
increase the timeout period Regards, Premraj View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269752#4269752 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269752 ___ jboss-user

[jboss-user] [EJB 3.0 Users] - Re: Using enviroment variables in persistence.xml

2009-12-09 Thread jaikiran
Please post the exact details including what you did and what doesn't work. While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.

[jboss-user] [EJB] - String in DTO strangely truncated upon EJB call return

2009-12-09 Thread bamball
I am having a puzzling problem where the returned DTO object has its String field truncated as an empty String. This problem only occurs when the returning String is sufficiently large (30kb). I've used the eclipse debugger to trace through the code. The DTO is intact until it reaches the

[jboss-user] [JBoss OSGi Users] - JBossOSGi 1.0.0.Beta5 Released (09-Dec-2009)

2009-12-09 Thread thomas.dies...@jboss.com
I am happy to announce the release of JBossOSGi-1.0.0.Beta5. http://jbossosgi.blogspot.com/2009/12/jbossosgi-100beta5-released.html The release comes with improvements in the following areas * Improved JBoss Microcontainer based Framework support. * Improved Eclipse Equinox Integration

[jboss-user] [JBoss Messaging Users] - JBoss Messaging Newbie Needs Help

2009-12-09 Thread ericy
Hi, I am relatively new to JBoss Messaging and I am currently evaluating it in the context of a project. The project itself consists of the development of a distributed Java application based on a client/server architecture. The clients are disparate UI technologies (Swing, Web and Command

[jboss-user] [EJB 3.0 Users] - Re: unidirectional and bidirectional relationship

2009-12-09 Thread Wolfgang Knauf
Hi, assume that you have a relation Person has many addresses with two entities Person and Address. If you declare a bidirectional relationship, your code can navigate from Person to Address, and from Adress to Person. With a unidirectional relationship, your code can navigate only from one

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-09 Thread kukeltje
Uhh I assume you have WAY more logging if so please post here. If not, it is very, very hard for us to help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269773#4269773 Reply to the post :

[jboss-user] [JBoss Tools Users] - Re: Galileo JBoss Tools

2009-12-09 Thread snjeza
I believe you faced https://jira.jboss.org/jira/browse/JBIDE-5402 Create new Portlet wizard - portlet source not generated View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269779#4269779 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Re: Setting up classloaders to override JSF version in JBoss

2009-12-09 Thread hirowla
Do any of these still apply for JBoss 5 and 6? Some of them are dated back to 2004 when I know the classloading was different. That's what makes it really hard to tell what to do. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269782#4269782 Reply to the post

[jboss-user] [EJB] - Re: Transaction and EJB3 Singleton

2009-12-09 Thread sandello
Thx. The problem was solved after installing ejb3 plugin v.1.0.19 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269787#4269787 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269787

[jboss-user] [jBPM Users] - Re: How a pass signal from state a task or java?? I do not u

2009-12-09 Thread cmjhingeniero
Thanks for answering I want that when response comes in N get out of the event and pass the task, hello. The variable response is filled with | response = reposicion.verificarCarguePorReposicion(documento, caf); //RETURN N or S | I this error when I go out the signal

[jboss-user] [JBoss Messaging Users] - Re: JBoss Messaging Newbie Needs Help

2009-12-09 Thread timfox
Have you considered using HornetQ - HornetQ supersedes JBoss Messaging. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269790#4269790 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269790

[jboss-user] [JBoss Messaging Users] - Re: JBoss Messaging Newbie Needs Help

2009-12-09 Thread ericy
Tim, thx for the suggestion. No I haven't considered using HornetQ and I will look into it. But I think the questions raised in my post ealier will still stand though and I am very keen to the answers to them. View the original post :

[jboss-user] [JBoss Web Services Users] - Re: Failed to load org.jboss.wsf.spi.invocation.WebServiceCo

2009-12-09 Thread pa12399
Yes, I did use ant deploy-jboss423 to update the webservices on JBoss 4.2.3. It is still giving this exception. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269795#4269795 Reply to the post :

[jboss-user] [jBPM Users] - Re: Docs recommend ProcessEngine in JNDI But fails with Thre

2009-12-09 Thread jedizippy
Ok figured out how this is done in JBoss and implemented the same strategy in WLS and it appears to work. In the meantime saw some nice bugs in JBPMService class not closing initial context and ignoring supplied jndi name.. View the original post :

[jboss-user] [JBoss Messaging Users] - Re: standalone consumer for clustered queue did not get all

2009-12-09 Thread arminhaaf
it seems it is a misconfiguration of the servers, on another installation it works as expected View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269802#4269802 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269802

[jboss-user] [JBoss Messaging Users] - Re: Conterpart of UIL2XAConnectionFactory?

2009-12-09 Thread Marco.Pehla
Here is the configuration file from JBoss MQ. uil2-service.xml: server | | !-- JBossMQ using the Unified Invocation Layer |All communication uses one socket connection -- | | mbean code=org.jboss.mq.il.uil2.UILServerILService |

[jboss-user] [JCA] - Re: RAR classloading inversion

2009-12-09 Thread kukeltje
Env: - JBoss AS 5.1.0.GA - JDK 1.6.0_12 - Windows XP I'm trying to create a rar for the filesystem jca example that I pointed to in my other post The rar gets deployed, but when I try to create a corresponding -service.xml file, I get classloading errors. The error I get is : Caused by:

[jboss-user] [JNDI and Naming] - EJB (SLSB) invocation ignores read timeout, blocks indefinit

2009-12-09 Thread sumitsu
I have an application which is exposed as an EJB 3 stateless session bean, and which is running on a clustered environment of JBoss 4.2.3 instances under Java 6. In some cases, the service exposed by the SLSB never returns after invocation, and in that event, it is imperative that the client

[jboss-user] [jBPM Users] - Re: async fork

2009-12-09 Thread nizzy
Fixed by updating to 3.3.1.GA and adding lock=pessimistic to join. Thanks for your help! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269822#4269822 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269822

[jboss-user] [JBoss Messaging Users] - Re: Durable subscriptions management via JMX console

2009-12-09 Thread jeffleboss
I have the same requirement. The problem is that I cannot upgrade to HornetQ, since we are using JBoss 5.1.0. I have a solution where we delete the subscription from the persistence database which works partially because, the server does not refresh its memory and does not see that its has

[jboss-user] [JBoss Cache Users] - JBC spends 90% of its time in TPE$Worker.run

2009-12-09 Thread chtimi2
I'm benchmarking JBC writes with our application POJOs (80% update, 10% create, 10% delete). So far it is too slow for our requirements, but i haven't spent a lot of time tuning it yet. The topology of the bench is: -there are two nodes, on a local network -i write to a node A (always the

[jboss-user] [jBPM Users] - Re: ProcessEngine.close() in jBPM 4 javadocs but not in sour

2009-12-09 Thread jedizippy
OK seems to be added between 4.1 and 4.2 so upgrading to 4.2 should hopefully solve our issues with undeployment. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269827#4269827 Reply to the post :

[jboss-user] [JBoss Messaging Users] - Re: Durable subscriptions management via JMX console

2009-12-09 Thread timfox
jeffleboss wrote : | I have the same requirement. | | The problem is that I cannot upgrade to HornetQ, since we are using JBoss 5.1.0. | HornetQ works with both JBoss 4 and JBoss 5 (see quickstart guide) View the original post :

[jboss-user] [jBPM Users] - Re: [jbpm 4.2] Finding a Process Instance

2009-12-09 Thread mike_burton
Thanks for your reply. environment-interceptor / is specified in jbpm.cfg.xml. Here is my complete configuration. jbpm-configuration process-engine-context repository-service / repository-cache / execution-service / history-service /

[jboss-user] [JCA] - Re: RAR classloading inversion

2009-12-09 Thread jaikiran
mbean code=org.jboss.resource.connectionmanager.XATxConnectionManager | java.lang.ClassNotFoundException: org.jboss.resource.connectionmanager.XATxConnectionManager That looks like a genuine CNFE and not related to any classloading configurations. I don't see that class being shipped in the

[jboss-user] [EJB 3.0 Users] - Re: unidirectional and bidirectional relationship

2009-12-09 Thread amira88
Wolfgang Knauf wrote : Hi, | | assume that you have a relation Person has many addresses with two entities Person and Address. | | If you declare a bidirectional relationship, your code can navigate from Person to Address, and from Adress to Person. | | With a unidirectional

[jboss-user] [JBoss Microcontainer Users] - Re: Running a deployer on resource in classpath

2009-12-09 Thread rareddy
I extended the my deployer using the AbstractSimpleVFSRealDeployer as below | public class SystemVDBDeployer extends AbstractSimpleVFSRealDeployerSystemVDBMetadata { | | public SystemVDBDeployer() { | super(SystemVDBMetadata.class); | } | | @Override | public

[jboss-user] [jBPM Users] - Re: [jbpm 4.2] Finding a Process Instance

2009-12-09 Thread saraswati.santanu
Name of the command service and the id-generator are to be changed in 4.2. Yours is for 4.1. But you should have got exception at some other step because of these. This is a sample cfg file for 4.2 | jbpm-configuration | | import resource=jbpm.businesscalendar.cfg.xml / | import

[jboss-user] [JBoss Web Services Users] - Namespace defined in method tag

2009-12-09 Thread mbarker
I'm deploying a web service on JBoss 4.2. I am a consumer of a vendor's web service. I submit my request and receive a response indicating a successful submission. Some time later, possibly hours, the vendor sends me a status thus I become the provider. The vendor is sending me the following

[jboss-user] [JBoss Messaging Users] - Re: Durable subscriptions management via JMX console

2009-12-09 Thread jeffleboss
Thanks for the info. In our setup, we have a JBoss 5.1.0 MDB client and the JBoss 5.1.0 which has the topic. If we decide to upgrade our server JMS solution with HornetQ, will this require that JBoss client on which the MDB lives be upgraded as well ? In theory, if we are implementing the

[jboss-user] [JBoss Web Services Users] - Re: How to recieve RPC/encoded SOAP messages in JBoss5?

2009-12-09 Thread shadowcreeper
OK, here's what seems to be working for me... It's a horrible hack, but it works... First, take your WSDL file and turn it into RPC/literal (for me it was as easy as replacing the word encoded with literal). Next, setup your JBossWS stuff as though you will be receiving RPC/literal documents

[jboss-user] [JBoss Microcontainer Users] - Re: Running a deployer on resource in classpath

2009-12-09 Thread alesj
rareddy wrote : | Then I thought there is no deployment unit available for this to be invoked, so added @ManagementDeployment and @ManagementObject annotations to my metadata object SystemVDBMetadata class and deployed that object, this object is available as input to the deployer by adding

[jboss-user] [JBoss Web Services Users] - Re: How to run a Filter before the WebService to alter the S

2009-12-09 Thread shadowcreeper
Never mind, it was easier than I thought. The servlet doesn't do anything until after the filters run, so all you have to do is pass in a modified ServletRequest to the next filter on the chain. The trickiest part is faking an HttpServletRequest with the modified String as the

[jboss-user] [jBPM Users] - Re: Docs recommend ProcessEngine in JNDI But fails with Thre

2009-12-09 Thread kukeltje
Then please makea jira issue for it. (DEFAULT_JNDI;-)) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269877#4269877 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269877 ___

[jboss-user] [Installation, Configuration Deployment] - Getting JBoss to work with Apache and Coldfusion

2009-12-09 Thread fsweb
First let me start off by saying I'm a JBoss newbie :) I have Jboss 5.0 installed along with Apache 2.2.14 and Coldfusion 9 on a Windows box. I'm having a hard time getting Apache to hand off to JBoss/CF to get the CFML processed. I've been reading up on it a lot but everything I seem to find

[jboss-user] [JBoss Tools Users] - Error when deploying JBossESB SmooksAction to server

2009-12-09 Thread bbuzzard
I'm using JBossESB 4.5GA. I created an ESB that has a SmooksAction. Everything works fine in the IDE, but when I try to deploy the ESB to the server I get an error stating that smooks-graphics-ext.xsd can not be located. I copied the xsd into my browser and I got a site that had nothing to

[jboss-user] [JCA] - Re: RAR classloading inversion

2009-12-09 Thread kukeltje
Yes, I noticed the relation ;-) In the debug/trace logging, you can see it is found, at least that was my interpretation, in combination with things like 'blacklisted' etc... but that could be 'matching generic filters e.g. org.jboss.* ;-( I read many posts about this subject, but the one you

[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-12-09 Thread hrworx
In the previous post I pasted in an old jbpm.cfg.xml Here is the actual current one: | jbpm-configuration | import resource=jbpm.businesscalendar.cfg.xml / | import resource=jbpm.jpdl.cfg.xml / | | | process-engine-context | repository-service / |

[jboss-user] [Advanced Documentation] - Re: How to Configure Jboss4.2.2 using Https

2009-12-09 Thread deveshkbhatia
I am getting following error when i run java -Djavax.net.ssl.keyStore=client.keystore -Djavax.net.ssl.keyStorePassword=123456 -Djavax.net.ssl.trustStore=client.truststore -Djavax.net.ssl.trustStorePassword=123456 acme/ReadHttpsURL2 https://localhost:8443 Exception in thread

[jboss-user] [JBoss Web Services Users] - Re: WS client reuse http connection

2009-12-09 Thread cdebergh
I've discovered the http.maxConnections property for JAX-WS. I understand the default is 5 connections, but I am confused as to why my JAX-WS client is opening more that 5 socket connections if there is a max and http.keepAlive is true? If anyone could point me in the right direction or let me

[jboss-user] [Persistence] - Urgent: Problem of set the jboss datasource with name

2009-12-09 Thread SARA1232007
Hi, I tried to deploy juddi onto jboss-4.0.5.GA. I have modified and declared datasource with name comp/env/jdbc/juddiDB on jboss. And I get the information as following when the jboss server starting: | 17:11:25,150 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb |

[jboss-user] [Persistence] - Urgent: Problem of set the jboss datasource with name

2009-12-09 Thread SARA1232007
Hi, I tried to deploy juddi onto jboss-4.0.5.GA. I have modified and declared datasource with name comp/env/jdbc/juddiDB on jboss. And I get the information as following when the jboss server starting: | 17:11:25,150 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb |

[jboss-user] [JBoss Messaging Users] - Re: Durable subscriptions management via JMX console

2009-12-09 Thread gaohoward
I think you do need to upgrade. HornetQ has a pluggable transport layer and doesn't require remoting. Currently it comes with netty as its transport. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269908#4269908 Reply to the post :

[jboss-user] [JBoss Messaging Users] - Re: Conterpart of UIL2XAConnectionFactory?

2009-12-09 Thread gaohoward
I'm sorry I don't know much about MQ. The UIL2XAConnectionFactory seems just a name for a XAConnectionFactory JMS object. I think you can post the question to JBoss MQ forum for more help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269909#4269909 Reply

[jboss-user] [JBoss Messaging Users] - Re: standalone consumer for clustered queue did not get all

2009-12-09 Thread gaohoward
I think it was not properly configured. Have a look at the user's manual and also compare it with your workable installation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269910#4269910 Reply to the post :

[jboss-user] [JBoss Messaging Users] - Re: how to connect jboss MDB to jboss messaging - different

2009-12-09 Thread gaohoward
I think you need ask JBoss AS forum. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269912#4269912 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269912 ___ jboss-user mailing

[jboss-user] [jBPM Users] - Bug in process designer eclipse

2009-12-09 Thread suganda
Hi All, I found weird behaviour of eclipse plugin for jbpm4.2 when i write manually xml using decision state like I move one of state using eclipse process designer , then when i check again the

[jboss-user] [jBPM Users] - Re: Advice regarding complex proccess modeling

2009-12-09 Thread siva_movva
Hi, Is there a similar API in JBPM3 that allows subTask creation for an existing task? Any help would be appreciated. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269914#4269914 Reply to the post :

[jboss-user] [jBPM Users] - Re: Bug in process designer eclipse

2009-12-09 Thread suganda
Sorry, i forgot to put the xml in code tag when i write manually xml using decision state like | decision g=428,221,80,40 name=INPUT.READY | handler class=com.abc.def.jbpm.impl.InputImpl | field name=phasestring value=INPUT//field | field

[jboss-user] [JBoss Messaging Users] - Re: Conterpart of UIL2XAConnectionFactory?

2009-12-09 Thread bershath27
bershath27 wrote : Marco.Pehla wrote : Hello Howard, | | | | since I didn't wrote the application, I don't know if there's a reason why this special UIL2XAConnectionFactory has been used. The following Wiki page is everything I know so far. | | | |

[jboss-user] [JBoss Tools Users] - Re: Error when deploying JBossESB SmooksAction to server

2009-12-09 Thread dennyxu
Did you get the smooks-graphics-ext.xsd can not be located error from server console or from project deployment ui? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269920#4269920 Reply to the post :

[jboss-user] [jBPM Users] - List of Tasks assigned to a user

2009-12-09 Thread raghavarapu
Hi, In jbpm4.1 is there any method that can find out the list of tasks assigned to a particular user? In the examples, I could find out, taskService.findPersonalTasks(username); but this extends the class, JbpmTestCase, which may not be used in the actual production code. So, is there any

[jboss-user] [jBPM Users] - Re: List of Tasks assigned to a user

2009-12-09 Thread raghavarapu
Sorry guys, I was able to use the same method, once I created the TaskService.class in the environment. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269923#4269923 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269923

[jboss-user] [JBoss Messaging Users] - Re: Got marshalling exception, exiting java.io.IOException:

2009-12-09 Thread GoldenHawk
gaohoward wrote : The connections used to deliver messages are those from which you create your consumers. | | I'm not sure what you mean by 'scan data'? | | Howard By 'scan data' I meant peaking into the messages going to from the topic View the original post :

[jboss-user] [JBoss Tools Users] - Re: Error when deploying JBossESB SmooksAction to server

2009-12-09 Thread DartPeng
Hi bbuzzard: If you removed the smooks-graphics-ext.xsd namespace uri from the smooks config file , the Smooks editor can open it also, but some input informations will lose. Are you sure that you have removed all XML elements associated the smooks-graphics-ext.xsd namespace ? View the

[jboss-user] [Persistence] - Re: Urgent: Problem of set the jboss datasource with name

2009-12-09 Thread jaikiran
java:comp/env namespace has a special meaning. Why are you setting the JNDI in the datasource to this format? Why not set the jndi-name in the -ds.xml to: jndi-namejdbc/juddiDB/jndi-name Then you can lookup using: initCtx.lookup(java:jdbc/juddiDB); If you want the datasource to be available

[jboss-user] [Persistence] - Re: Weird generated SQL with JBoss 5.1

2009-12-09 Thread jaikiran
You might have better luck asking this in the Hibernate user forum https://forum.hibernate.org/viewforum.php?f=1. Also, try specifying the return type of the query result: getEntityManager().createNativeQuery(nativeQuery, Date.class); I don't know if that's going to make a difference though.