Log in to follow, share, and participate in this community.
Thread Problem with internet and jboss server
Problem with internet and jboss serverHi I am facing one issue with jBoss server, This is the problem i am getting in my console while starting my jboss server 09:57:36,500 WARN [PersistenceXmlLoader] Warning parsing XML: XML Input...
unexpected token: fromHi, I'm using Eclipse Helios 3.6.2 and Hibernate Tools 3.4.0 to create a dynamic web with hibernate. I got some silly errors..... When I query this statement ---> from EnvDao The results will appear as exp...
Thread Temporal reasoning with external persistence not working
Temporal reasoning with external persistence not workingI am trying to use an external storage for loading and persisting objects. But when I try a set a temporal reasoning rule it start to fail. The rule, test code and exception are given below. Please help ...
Thread Testing persistence Resource Local in Junit in JBoss 6
Testing persistence Resource Local in Junit in JBoss 6Hi all, I would like to run some Junit tests in my project in JBoss 6 with my Resouce Local Persistence Unit. {code:xml} ... <persistence-unit name="db-test" transaction-type="RESOURCE_LOCAL"> ...
HQLToken cannot be cast to Antrl.TokenHello, I want to deploy an application (Jaxws with Ejb3 + JPA) a .war file to JBOSS 6.0.0Final. But I got this error exception when the deployment is about to finish: [code] 13:16:02,8...
Help With InheritanceI am triying to define a table structure with the following logic. If i have a DataType By example Person, a person can be one of 3 types of persons he can be a costumer or a material supplier. the ...
Thread How to get SessionFactory from EntityManagerFactory
How to get SessionFactory from EntityManagerFactoryI need to create a StatelessSession(ie. no first level cache) from the SessionFactory. how do I get this from the EntityManagerFactory in hibernate. Is there a hibernate calll I can make and pass in the En...
Thread "Instance per Transaction Policy" and Commit Option A
"Instance per Transaction Policy" and Commit Option AHi, On a lot of places I read: The JBoss developers are currently exploring ways to allow commit option A as well (which would allow the use of caching for this option). Is it possible to use c...
How to let user add properties to classWe have a jsf web application using Hibernate running on JBoss. We have a class Product that defines name, model, and price. public class Product { name, model, price } Product can be clothes, car,...
Transaction is not activeHi, When I have a long process (a few minutes) and then perform a database operation. I have the following exception: ERROR 21 Mar 2006 15:50:54,910 util.EJBHomeFactory - org.jboss.util.NestedSQLException: Transactio...
EntityBean Error - Injection TargetHello Community, I have got a little problem with my j2ee application. I try to deploy it and i my jboss answers this exception: Deployment "vfszip:/D:/jboss-5.1.0.GA/server/default/deploy/Accoun...
1 datasource, 1 persistence unit, 2 war'sHi. I've got problem with JBoss 5 AS. I am trying to deploy two apps. Jbpm-console and my own application. What I am trying to achieve is to make those two web apps to be using one datasource, but I don't know how to ...
EntityManager not injected and nullpointerHello I have a simple Ejb application consisting of 3 entities and 3 stateless SB, web tier is based on a jsp page which accesses the DB making some simple operations. The application has been deployed ...
JPA + JBoss = java.lang.ClassCastExceptionDear experts, I've developed a web application that uses JPA provided by Hibernate. It is deployed to Tomcat 6 and everything work perfectly but now I need to migrate to JBoss. While deploying to JBoss I get ...