Hi,
Please check the glassfish/config/asenv.conf file, and make sure, that
under AS_JAVA name is your JDK not JRE.
Regards,
Peter
2010-03-24 11:15 keltezéssel, glassfish_at_javadesktop.org írta:
> Hi All,
> I am using Glassfish v3 bundle with Netbeans 6.8. I have wrote JSP application to read data from MySQL and successfully done. I have created the jdbc-resource and jdbc-connection-pool via IDE. I can run the application with no error at all.
>
> Now I try to start the Glassfish without Netbeans. I can do it with CLI start-domain. The glassfish is running (i can open the admin console). From admin console, I can see the jdbc-resource and jdbc-connection-pool is there. Also the application that I have deployed using Netbeans. But when i try to run the application, i kept getting this error.
>
> org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required.
>
> After reading from some mailing-list, I have put the jdk into my PATH. But still the error is there.
>
> Can somebody give me solution to this?
> [Message sent by forum member 'azfnd']
>
> http://forums.java.net/jive/thread.jspa?messageID=393453