enes faruk meniz
enes faruk meniz

Reputation: 21

GlassFish Server 4.0 start error with JDK

I'm using NetBeans 7.3.1 with GlassFish Server 4

When I try to run a(any) project I get the following error.

Starting GlassFish Server GlassFish Server Server start failed. Cant create start proccess. C:\Users\ENES\Documents\NetBeansProjects\Tezmaksan\nbproject\build-impl.xml:1041: Deployment error: GlassFish Server Server start failed. Cant create start proccess. See the server log for details. BUILD FAILED (total time: 2 seconds)

I don't know where the log file is, I couldn't find it.

When I go bin directory of GlassFish and run startserv.bat, it looks like working because localhost:8080/ and localhost:4848/ are working. But my application still can't start. When I go localhost:8080/Tezmaksan/ there is this error there

HTTP Status 500 - Internal Server Error

type Exception report

messageInternal Server Error

descriptionThe server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac.  A full JDK (not just JRE) is required
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.0 logs.

GlassFish Server Open Source Edition 4.0

I have last verison of JDK (1.7u25) installed and when I check from NetBeans it is selected for GlassFish. I'm using x64 Windows 7. I didn't have this problem 2-3 months ago, it just popped out. I tried uninstalling and reinstalling NetBeans, GlassFish and JDK and problem is still there.

Thanks for your helps

Upvotes: 0

Views: 12642

Answers (1)

enes faruk meniz
enes faruk meniz

Reputation: 21

I got the solution after searching through the web. Adding an option to a NetBeans setting file will do it.

Open NETBEANS_DIRECTORY/etc/netbeans.conf

Search for "netbeans_default_options" Then add "--locale en"

So it will look like from this

netbeans_default_options="-J-client...

to this

netbeans_default_options="--locale en -J-client...

restart NetBeans, problem solved.

Upvotes: 2

Related Questions