This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have an application that runs fine as an application. I have (tried) to package it as a web start app, but it dies at Persistence.createEntityManagerFactory(). When I say dies, I mean nothing happens - it never returns from the call. I have not been able to debug it as a web application - I have set up a logger that prints to a file and the last thing in the file is "INFO Getting an EntityManagerFactory"
Here is part of the code:
This code is never called:
Here is my jnlp file (all three jar files listed are signed - there are others in the lib directory that are not):
Here is the list of files in my lib directory:
I am really at a loss - I have tried running from the command line in hopes that something may be printed, but am disappointed that nothing shows up.
I have tried to debug from netbeans, but cannot connect to the port (8989) I specified (any suggestions here would be very helpful.)
set JAVAWS_VM_ARGS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjwp:transport=dt_socket, address=8989,server=y,suspend=n
thanks for any help you may have for me.
No matter where you go - there you are
-- Buckaroo Banzai
Joined: Nov 09, 2009
this has been resolved - turns out that I had removed the mysql jar and added back the mysql library. Ant did not include the library (but it did include the jar.)