File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Java EE 6 Glassfish App problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Java EE 6 Glassfish App problem" Watch "Java EE 6 Glassfish App problem" New topic

Java EE 6 Glassfish App problem

Bj�rn Tikkanen

Joined: May 29, 2007
Posts: 8
I have a problem trying to get my Java EE 6 test setup working according to
In my case I use Eclipse instead of Netbeans.

I have installed Eclipse 3.4.1, GlassFish v3 Java EE 6, MySQL 5.1 and have the sakila connection set up in database perspective. Here I can see the tables alright.

In project facets I have Java persistence (v 1.0) enabled set up with my connection to the sakila databse. I have two entitites Film and Language set up in persisence.xml
and these are read from Servlet class.

When I deploy and try to run the servlet I get following error :

What is the problem? Is my MySQL running in SSL mode? when I check this with mysq --help I get ssl = false. I have also tried to start mysqld-nt.exe with --skip-ssl with same
result. Is this a Glassfish, JPA or Mysql problem, any guesses?

--------------------<br /> <br />SCJP 5<br />SCJD<br /><a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: Java EE 6 Glassfish App problem
It's not a secret anymore!