This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have the following problem.
I create a server in NetBeans 7.0.1 - Glassfish. Everything is fine and I can start and stop the server. When I deploy the application it runs fine but I can not restart the server. Every time I do that I have to create a new domain via asadmin.bat and then remove Glassfish from Netbeans and create the new one.
The solution is not to use non-english chars in the path where you hold your netbeans projects. Unfortunately there is a polish sign in my name (the windows account's name has that polish letter as well) and because of that the path to netbeans project (which was deployed in the glassfish - the path was added to domain.xml) contained that polish character. But netbeans uses ANSI character encoding and Glassfich - UTF-8. So Glassfish saw a bunch of crap in the place of that polish letter and was unable to parse domain.xml.
The solution is not to use non-english chars in the path where you hold your netbeans projects
I hope that will save the day of the others. (My day was lost )