File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Running application on web start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Running application on web start" Watch "Running application on web start" New topic

Running application on web start

Alessandro Rogerio Araujo

Joined: Jul 18, 2011
Posts: 1
Hi guys!!! I'm from Brazil.

I'm developing a web start desktop application with hibernate, spring and mysql.
when I run local (without jboss), everything works fine, I run the queries in the database normally.
when I deploy in jboss (jboss-5.1.0.GA) and run the webstart, the queries in database returns the following error:
org.hibernate.hql.ast.QuerySyntaxException: Empresa is not mapped [ select distinct e from Empresa e left join fetch e.ambientes a where 1=1 order by e.nome ]

I'm trying to figure out the problem to a long time, but without success. I do not know what to do.

Can someone help me, please ?

I thank everyone in advance

I agree. Here's the link:
subject: Running application on web start
It's not a secret anymore!