I was following sahoo's Blog for creating an enterprise application with ejb3.0.
http://weblogs.java.net/blog/ss141213/archive/2005/12/using_java_pers.html
Ran into problem since JavaDB isn't started automatically when glassfish starts.
Error was "Error connecting to server localhost on port 1527 with message Connection refused: connect."
Solution:
You will have to issue below command to start derby database:
GlassFishHome/bin/> asadmin start-database
Hope this helps someone having similar issues.
Sunday, June 21, 2009
Subscribe to:
Post Comments (Atom)
2 comments:
Thanks! It was very helpful.
tnx a lot !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Post a Comment