dev@glassfish.java.net

Fatal Error from EJB Compiler -- Compilation failed: Native java compiler

From: Yunpeng Zhang <Yunpeng.Zhang_at_Sun.COM>
Date: Mon, 14 May 2007 17:58:58 -0700

Hi

On one of my Windows XP machines, I always get this error when I started
a domain, the other XP machines are fine. I couldn't figure why. It
will be great if somebody can shed some light on this. Thanks a lot.

Yunpeng

The error msg:

[#|2007-05-14T17:22:31.296-0700|WARNING|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;_RequestID=740f06a2-74a9-4ce1-9fa1-5058ba3aeebf;|Compilation
failed: Native java compiler threw an Exception|#]

[#|2007-05-14T17:22:31.500-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;_RequestID=740f06a2-74a9-4ce1-9fa1-5058ba3aeebf;|Exception
occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal
Error from EJB Compiler -- Compilation failed: Native java compiler
threw an Exception
    at com.sun.ejb.codegen.IASEJBC.compileClasses(IASEJBC.java:318)
    at com.sun.ejb.codegen.CmpCompiler.compile(CmpCompiler.java:260)
    at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:635)
    at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:580)
    at
com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:277)
    at
com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:213)
    at
com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:305)
    at
com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:226)
    at
com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:135)
    at
com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:174)
    at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
    at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:892)
    at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:263)
    at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:281)
    at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:542)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:359)
    at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:342)
    at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:448)
    at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:77)
    at $Proxy1.invoke(Unknown Source)
    at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
    at
com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:508)
    at
com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:489)
    at
com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:436)
    at
com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:253)
    at
com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:206)
    at
com.sun.enterprise.server.SystemAppLifecycle.deployToTarget(SystemAppLifecycle.java:196)
    at
com.sun.enterprise.server.SystemAppLifecycle.deploySystemApps(SystemAppLifecycle.java:171)
    at
com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:93)
    at
com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:401)
    at
com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:104)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:381)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:308)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
|#]

[#|2007-05-14T17:22:31.515-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;Fatal
Error from EJB Compiler -- Compilation failed: Native java compiler
threw an
Exception;_RequestID=740f06a2-74a9-4ce1-9fa1-5058ba3aeebf;|"DPL8011:
autodeployment failure while deploying the application : Fatal Error
from EJB Compiler -- Compilation failed: Native java compiler threw
anException"|#]