users@glassfish.java.net

PWC6345 Error

From: <forums_at_java.net>
Date: Thu, 4 Oct 2012 14:49:14 -0500 (CDT)

Hello all, I am a total newbie to both java and glassfish and I'm just
getting started figuring everything out. I've setup a domain in glassfish and
my instance is running. I've tried getting a test app running but when I
visit the URL for it I receive the following error:
/org.apache.jasper.JasperException: PWC6345: There is an error in invoking
javac. A full JDK (not just JRE) is required/ I've followed many things I
found on google but none of it has helped. A few things about my environment
now as a result of working on the issue and google "resolutions": *> echo
$JAVA_HOME* */u01/app/jdk1.6.0_30* I've modified 'asadmin' to echo which jdk
it's using to make sure I have the correct java and when I start or
stop-domain I get the following echo'd: *> ./asadmin stop-domain scottTest*
*Using /u01/app/jdk1.6.0_30/bin/java* *> yum list *jdk** *Plugin "product-id"
can't be imported* *Plugin "subscription-manager" can't be imported* *Loaded
plugins: security* *Repository 'RHEL6' is missing name in configuration,
using id* *Installed Packages* *java-1.6.0-openjdk.x86_64
1:1.6.0.0-1.41.1.10.4.el6
@anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2*
*java-1.6.0-openjdk-devel.x86_64 1:1.6.0.0-1.41.1.10.4.el6 @RHEL6*
*java-1.6.0-openjdk-javadoc.x86_64 1:1.6.0.0-1.41.1.10.4.el6 @RHEL6*
*jdk.i586 2000:1.7.0_07-fcs installed* *Available Packages* *ldapjdk.x86_64
4.18-6.el6 RHEL6* ** *> which java* */u01/app/jdk1.6.0_30/bin/java* Any
assistance is appreciated, please let me know if you need anything else
pertaining to my configuration.

--
[Message sent by forum member 'scottrowley']
View Post: http://forums.java.net/node/891184