0

アプリでGlassFish2.1を使用しています。

しかし、GlassFishの起動設定に問題があるようです。

GlassFishの起動中に次のエラーが発生します。

    SEVERE: loader.error_while_loading_app_desc
java.io.FileNotFoundException: D:/glassfish/domains/domain1/applications/j2ee-apps/MEjbApp
    at com.sun.enterprise.deployment.deploy.shared.FileArchive.open(FileArchive.java:79)
    at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:356)
    at com.sun.enterprise.server.ApplicationLoader.<init>(ApplicationLoader.java:112)
    at com.sun.enterprise.server.TomcatApplicationLoader.<init>(TomcatApplicationLoader.java:88)
    at com.sun.enterprise.server.ExtendedApplicationLoader.<init>(ExtendedApplicationLoader.java:94)
    at com.sun.enterprise.server.pluggable.ExtendedApplicationLoaderFactory.createApplicationLoader(ExtendedApplicationLoaderFactory.java:63)
    at com.sun.enterprise.server.ApplicationManager.getLoader(ApplicationManager.java:166)
    at com.sun.enterprise.server.AbstractManager.loadOneSystemApp(AbstractManager.java:395)
    at com.sun.enterprise.server.AbstractManager$SystemAppStarter.doRun(AbstractManager.java:664)
    at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
    at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
    at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:210)
    at com.sun.enterprise.server.AbstractManager.loadSystem(AbstractManager.java:331)
    at com.sun.enterprise.server.SystemAppLifecycle.loadSystemApps(SystemAppLifecycle.java:162)
    at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:108)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:449)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
    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:597)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

SEVERE: ERROR while loading application MEjbApp
SEVERE: LDR5006: Failed to load deployment descriptor
com.sun.enterprise.config.ConfigException: java.io.FileNotFoundException: D:/glassfish/domains/domain1/applications/j2ee-apps/MEjbApp
    at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:389)
    at com.sun.enterprise.server.ApplicationLoader.<init>(ApplicationLoader.java:112)
    at com.sun.enterprise.server.TomcatApplicationLoader.<init>(TomcatApplicationLoader.java:88)
    at com.sun.enterprise.server.ExtendedApplicationLoader.<init>(ExtendedApplicationLoader.java:94)
    at com.sun.enterprise.server.pluggable.ExtendedApplicationLoaderFactory.createApplicationLoader(ExtendedApplicationLoaderFactory.java:63)
    at com.sun.enterprise.server.ApplicationManager.getLoader(ApplicationManager.java:166)
    at com.sun.enterprise.server.AbstractManager.loadOneSystemApp(AbstractManager.java:395)
    at com.sun.enterprise.server.AbstractManager$SystemAppStarter.doRun(AbstractManager.java:664)
    at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
    at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
    at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:210)
    at com.sun.enterprise.server.AbstractManager.loadSystem(AbstractManager.java:331)
    at com.sun.enterprise.server.SystemAppLifecycle.loadSystemApps(SystemAppLifecycle.java:162)
    at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:108)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:449)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
    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:597)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: java.io.FileNotFoundException: D:/glassfish/domains/domain1/applications/j2ee-apps/MEjbApp
    at com.sun.enterprise.deployment.deploy.shared.FileArchive.open(FileArchive.java:79)
    at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:356)
    ... 22 more

SEVERE: core.unexpected_error_occured_while_loading_system_app
javax.management.MBeanException
    at com.sun.enterprise.server.ApplicationLoader.createRootMBean(ApplicationLoader.java:295)
    at com.sun.enterprise.server.AbstractManager.loadOneSystemApp(AbstractManager.java:398)
    at com.sun.enterprise.server.AbstractManager$SystemAppStarter.doRun(AbstractManager.java:664)
    at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
    at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
    at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:210)
    at com.sun.enterprise.server.AbstractManager.loadSystem(AbstractManager.java:331)
    at com.sun.enterprise.server.SystemAppLifecycle.loadSystemApps(SystemAppLifecycle.java:162)
    at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:108)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:449)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
    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:597)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: java.lang.NullPointerException
    at com.sun.enterprise.management.util.J2EEManagementObjectManager.createAppMBean(J2EEManagementObjectManager.java:547)
    at com.sun.enterprise.server.ApplicationLoader.createRootMBean(ApplicationLoader.java:284)
    ... 17 more

SEVERE: loader.error_while_loading_app_desc
java.io.FileNotFoundException: D:/glassfish/domains/domain1/applications/j2ee-apps/__ejb_container_timer_app
    at com.sun.enterprise.deployment.deploy.shared.FileArchive.open(FileArchive.java:79)
    at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:356)
    at com.sun.enterprise.server.ApplicationLoader.<init>(ApplicationLoader.java:112)
    at com.sun.enterprise.server.TomcatApplicationLoader.<init>(TomcatApplicationLoader.java:88)
    at com.sun.enterprise.server.ExtendedApplicationLoader.<init>(ExtendedApplicationLoader.java:94)
    at com.sun.enterprise.server.pluggable.ExtendedApplicationLoaderFactory.createApplicationLoader(ExtendedApplicationLoaderFactory.java:63)
    at com.sun.enterprise.server.ApplicationManager.getLoader(ApplicationManager.java:166)
    at com.sun.enterprise.server.AbstractManager.loadOneSystemApp(AbstractManager.java:395)
    at com.sun.enterprise.server.AbstractManager$SystemAppStarter.doRun(AbstractManager.java:664)
    at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
    at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
    at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:210)
    at com.sun.enterprise.server.AbstractManager.loadSystem(AbstractManager.java:331)
    at com.sun.enterprise.server.SystemAppLifecycle.loadSystemApps(SystemAppLifecycle.java:162)
    at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:108)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:449)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
    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:597)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

SEVERE: ERROR while loading application __ejb_container_timer_app
SEVERE: LDR5006: Failed to load deployment descriptor
com.sun.enterprise.config.ConfigException: java.io.FileNotFoundException: D:/glassfish/domains/domain1/applications/j2ee-apps/__ejb_container_timer_app
    at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:389)
    at com.sun.enterprise.server.ApplicationLoader.<init>(ApplicationLoader.java:112)
    at com.sun.enterprise.server.TomcatApplicationLoader.<init>(TomcatApplicationLoader.java:88)
    at com.sun.enterprise.server.ExtendedApplicationLoader.<init>(ExtendedApplicationLoader.java:94)
    at com.sun.enterprise.server.pluggable.ExtendedApplicationLoaderFactory.createApplicationLoader(ExtendedApplicationLoaderFactory.java:63)
    at com.sun.enterprise.server.ApplicationManager.getLoader(ApplicationManager.java:166)
    at com.sun.enterprise.server.AbstractManager.loadOneSystemApp(AbstractManager.java:395)
    at com.sun.enterprise.server.AbstractManager$SystemAppStarter.doRun(AbstractManager.java:664)
    at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
    at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
    at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:210)
    at com.sun.enterprise.server.AbstractManager.loadSystem(AbstractManager.java:331)
    at com.sun.enterprise.server.SystemAppLifecycle.loadSystemApps(SystemAppLifecycle.java:162)
    at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:108)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:449)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
    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:597)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: java.io.FileNotFoundException: D:/glassfish/domains/domain1/applications/j2ee-apps/__ejb_container_timer_app
    at com.sun.enterprise.deployment.deploy.shared.FileArchive.open(FileArchive.java:79)
    at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:356)
    ... 22 more

SEVERE: core.unexpected_error_occured_while_loading_system_app
javax.management.MBeanException
    at com.sun.enterprise.server.ApplicationLoader.createRootMBean(ApplicationLoader.java:295)
    at com.sun.enterprise.server.AbstractManager.loadOneSystemApp(AbstractManager.java:398)
    at com.sun.enterprise.server.AbstractManager$SystemAppStarter.doRun(AbstractManager.java:664)
    at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
    at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
    at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:210)
    at com.sun.enterprise.server.AbstractManager.loadSystem(AbstractManager.java:331)
    at com.sun.enterprise.server.SystemAppLifecycle.loadSystemApps(SystemAppLifecycle.java:162)
    at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:108)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:449)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
    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:597)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: java.lang.NullPointerException
    at com.sun.enterprise.management.util.J2EEManagementObjectManager.createAppMBean(J2EEManagementObjectManager.java:547)
    at com.sun.enterprise.server.ApplicationLoader.createRootMBean(ApplicationLoader.java:284)
    ... 17 more

SEVERE: loader.error_while_loading_app_desc
java.io.FileNotFoundException: D:/glassfish/domains/domain1/applications/j2ee-apps/__JWSappclients
    at com.sun.enterprise.deployment.deploy.shared.FileArchive.open(FileArchive.java:79)
    at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:356)
    at com.sun.enterprise.server.ApplicationLoader.<init>(ApplicationLoader.java:112)
    at com.sun.enterprise.server.TomcatApplicationLoader.<init>(TomcatApplicationLoader.java:88)
    at com.sun.enterprise.server.ExtendedApplicationLoader.<init>(ExtendedApplicationLoader.java:94)
    at com.sun.enterprise.server.pluggable.ExtendedApplicationLoaderFactory.createApplicationLoader(ExtendedApplicationLoaderFactory.java:63)
    at com.sun.enterprise.server.ApplicationManager.getLoader(ApplicationManager.java:166)
    at com.sun.enterprise.server.AbstractManager.loadOneSystemApp(AbstractManager.java:395)
    at com.sun.enterprise.server.AbstractManager$SystemAppStarter.doRun(AbstractManager.java:664)
    at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
    at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
    at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:210)
    at com.sun.enterprise.server.AbstractManager.loadSystem(AbstractManager.java:331)
    at com.sun.enterprise.server.SystemAppLifecycle.loadSystemApps(SystemAppLifecycle.java:162)
    at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:108)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:449)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
    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:597)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)

SEVERE: ERROR while loading application __JWSappclients
SEVERE: LDR5006: Failed to load deployment descriptor
com.sun.enterprise.config.ConfigException: java.io.FileNotFoundException: D:/glassfish/domains/domain1/applications/j2ee-apps/__JWSappclients
    at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:389)
    at com.sun.enterprise.server.ApplicationLoader.<init>(ApplicationLoader.java:112)
    at com.sun.enterprise.server.TomcatApplicationLoader.<init>(TomcatApplicationLoader.java:88)
    at com.sun.enterprise.server.ExtendedApplicationLoader.<init>(ExtendedApplicationLoader.java:94)
    at com.sun.enterprise.server.pluggable.ExtendedApplicationLoaderFactory.createApplicationLoader(ExtendedApplicationLoaderFactory.java:63)
    at com.sun.enterprise.server.ApplicationManager.getLoader(ApplicationManager.java:166)
    at com.sun.enterprise.server.AbstractManager.loadOneSystemApp(AbstractManager.java:395)
    at com.sun.enterprise.server.AbstractManager$SystemAppStarter.doRun(AbstractManager.java:664)
    at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
    at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
    at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:210)
    at com.sun.enterprise.server.AbstractManager.loadSystem(AbstractManager.java:331)
    at com.sun.enterprise.server.SystemAppLifecycle.loadSystemApps(SystemAppLifecycle.java:162)
    at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:108)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:449)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:134)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
    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:597)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: java.io.FileNotFoundException: D:/glassfish/domains/domain1/applications/j2ee-apps/__JWSappclients
    at com.sun.enterprise.deployment.deploy.shared.FileArchive.open(FileArchive.java:79)
    at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:356)
    ... 22 more

アプリケーションをデプロイしようとしても、エラーの詳細や「アプリが正常にデプロイされました」などのメッセージが表示されません。

誰か教えてもらえますか、javax.management.MBeanExceptionとは何ですか。そして、いつ生成されますか?

4

1 に答える 1

0

本当の問題はこれのようです:java.io.FileNotFoundException: D:/glassfish/domains/domain1/applications/j2ee-apps/__JWSappclients

フォルダを削除することで、これを修正することができますD:/glassfish/domains/domain1/applications/j2ee-apps。その後、Glassfish がエラーなしで起動するかどうかを試して、アプリケーションを再デプロイできます。展開中にエラーが再発する場合は、アプリケーションに問題があります。問題を詳細に説明するために、環境に関する情報を追加する必要があります。

于 2012-12-28T19:51:15.570 に答える