я новичок в ejb и java ee .....
я создал приложение java ee с компонентом управления данными и сессионным компонентом плюс мои (jsp) веб-страницы в условиях войныпапка -> веб-страницы
при развертывании приложения появляется следующее сообщение:
build-impl.xml: 307: модуль не был развернут.Подробности смотрите в журнале сервера.
какие-либо решения?заранее спасибо.
и это журнал Glassfish:
Предупреждение: using.default.ds Информация: посещение не посещенных ссылок Информация: посещение не посещенных ссылок Серьезный: Исключение при вызове класса org.glassfish.persistence.jpa.JPADeployer метод подготовки Severe: исключение при вызове класса org.glassfish.javaee.full.deployment.EarDeployer метод подготовки Severe: org.glassfish.deployment.common.DeploymentException: недопустимый ресурс: java: module / JNDIName__pm в org.glassfish.javaee.full.deployment.EarDeployer.prepare (EarDeployer.java:182) в com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule (ApplicationLifecycle.java:925) в com.sun.enterprise.v3.server.ApplicationLifecycle.deploy (ApplicationLifecycle.java:434) на com.sun.enterprise.v3.server.ApplicationLifecycle.deploy (ApplicationLifecycle.java:219) на org.glassfish.deployment.admin.DeployCommand.execute (DeployCommand.java:491) вcom.sun.enterprise.v3.admin.CommandRunnerImpl $ 2 $ 1.run (CommandRunnerImpl.java:539) в com.sun.enterprise.v3.admin.CommandRunnerImpl $ 2 $ 1.run (CommandRunnerImpl.java:535) в java.security.AccessController.doPrivileged (собственный метод) в javax.security.auth.Subject.doAs (Тема.Java: 360) на com.sun.enterprise.v3.admin.CommandRunnerImpl $ 2.execute (CommandRunnerImpl.java:534) на com.sun.enterprise.v3.admin.CommandRunnerImpl $ 3.run (CommandRunnerImpl.java:565) на.sun.enterprise.v3.admin.CommandRunnerImpl $ 3.run (CommandRunnerImpl.java:557) в java.security.AccessController.doPrivileged (собственный метод) в javax.security.auth.Subject.doAs (Subject.java:360) вcom.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand (CommandRunnerImpl.java:556) в com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand (CommandRunnerImpl.java:1464) в com.sun.enterprise.3.admin.CommandRunnerImpl.access $ 1300 (CommandRunnerImpl.java:109) на com.sun.enterprise.v3.admin.CommandRunnerImpl $ ExecutionContext.execute (CommandRunnerImpl.java:1846) на com.sun.enterprise.v3.adminIomComntext.execute (CommandRunnerImpl.java:1722) на com.sun.enterprise.v3.admin.AdminAdapter.doCommand (AdminAdapter.java:534) на com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource (AdminAdapter.java:224) в org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service (StaticHttpHandlerBase.java:189) в com.sun.enterprise.v3.services.impl.ContainerMapper $ HttpHandlerCallable.call (ContainerMapper) atj..sun.enterprise.v3.services.impl.ContainerMapper.service (ContainerMapper.java:167) в org.glassfish.grizzly.http.server.HttpHandler.runService (HttpHandler.java:206) в org.glassfish.grizzly.hpp.server.HttpHandler.doHandle (HttpHandler.java:180) в org.glassfish.grizzly.http.server.HttpServerFilter.handleRead (HttpServerFilter.java:235) в org.glassfish.grizzly.filterchainverExecutor.Java: 119) в org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter (DefaultFilterChain.java:283) в org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart (DefaultFilterChain.java:200) по адресу org.glassfish.grizzly.filterchain.DefaultFilterChain.execute (DefaultFilterChain.java:132) по адресу org.glassfish.grizzly.filterchain.DefaultFilterChain.process1.jj: atFF.grizzly.ProcessorExecutor.execute (ProcessorExecutor.java:77) в org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent (TCPNIOTransport.java:536)по адресу org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent (AbstractIOStrategy.java:112) по адресу org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0 (WorkerThreadIOStrategy.java:117) по адресу org.glassstreadII$ 100 (WorkerThreadIOStrategy.java:56) в org.glassfish.grizzly.strategies.WorkerThreadIOStrategy $ WorkerThreadRunnable.run (WorkerThreadIOStrategy.java:137) в org.glassfish.grizzly.threadpool.AbstractThreaderWol.ool $ ($)в org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.run (AbstractThreadPool.java:571) в java.lang.Thread.run (Thread.java:748) Причина: java.lang.RuntimeException: Неверный ресурс: java:module / JNDIName__pm на com.sun.enterprise.connectors.ConnectorRuntime.lookupDataSourceInDAS (ConnectorRuntime.java:593) на com.sun.enterprise.connectors.ConnectorRuntime.lookupPMResource (ConnectorRuntime.java:517) на org.glassfishpers.suPersistenceHelper.lookupPMResource (PersistenceHelper.java:63) в org.glassfish.persistence.jpa.ProviderContainerContractInfoBase.lookupDataSource (ProviderContainerContractInfoBase.java:71) в org.glassfish.persistence.jpa.PersistenceUnitInfoImpl.jpa.PersistenceUnitLoader.loadPU (PersistenceUnitLoader.java:142) в org.glassfish.persistence.jpa.PersistenceUnitLoader. (PersistenceUnitLoader.java:107) в org.glassfish.persistence.jpa.JPADeployer $ 1.visitPer ($ 1.visit)в org.glassfish.persistence.jpa.JPADeployer $ PersistenceUnitDescriptorIterator.iteratePUDs (JPADeployer.java:510) в org.glassfish.persistence.jpa.JPADeployer.createEMFs (JPADeployer.jistence:230JJ.jerjpers.pers.pers.pers.fish.prepare (JPADeployer.java:168) в com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule (ApplicationLifecycle.java:925) в org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle (EarDeployer.java9) в org.glassfish.javaee.full.deployment.EarDeployer.access $ 200 (EarDeployer.java:88) в org.glassfish.javaee.full.deployment.EarDeployer $ 1.doBundle (EarDeployer.java:155) в org.glassfish.javaee.full.deployment.EarDeployer $ 1.doBundle (EarDeployer.java: 152) в org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles (EarDeployer.java:232) в org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles (EarDeployer.java:24.)glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles (EarDeployer.java:267) в org.glassfish.javaee.full.deployment.EarDeployer.prepare (EarDeployer.java:152) ... еще 40 вызвано: com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: недопустимый ресурс: java: module / JNDIName__pm в org.glassfish.jdbcruntime.service.JdbcDataSource.validateResource (JdbcDataSource.java:81) в org.glassr.(JdbcDataSource.java:62) в org.glassfish.jdbcruntime.JdbcRuntimeExtension.lookupDataSourceInDAS (JdbcRuntimeExtension.java:136) в com.sun.enterprise.connectors.ConnectorRuntime.lookupDataSourceInDAS (ConnectorRuntime.java:589) ... еще 59 Серьезно: исключение при подготовке приложения Серьезно: исключение при обработке жизненного цикла org.glassfish.deployment.common.DeploymentException: недопустимый ресурс: java: module / JNDIName__pm at org.glassfish.javaee.full.deployment.EarDeployer.prepare (EarDeployer.java:182) в com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule (ApplicationLifecycle.java:925) в com.sun.enterprise.v3.server.ApplicationLifecycle.deploy (ApplicationLifecycle.java:434) на com.sun.enterprise.v3.server.ApplicationLifecycle.deploy (ApplicationLifecycle.java:219) на org.glassfish.deployment.admin.DeployCommand.execute (DeployCommand.java:491) на com.sun.enterprise.v3.admin.CommandRunnerImpl $ 2 $ 1.run (CommandRunnerImpl.java:539)в com.sun.enterprise.v3.admin.CommandRunnerImpl $ 2 $ 1.run (CommandRunnerImpl.java:535) в java.security.AccessController.doPrivileged (собственный метод) в javax.security.auth.Subject.doAs (Subject.java:360) на com.sun.enterprise.v3.admin.CommandRunnerImpl $ 2.execute (CommandRunnerImpl.java:534) на com.sun.enterprise.v3.admin.CommandRunnerImpl $ 3.run (CommandRunnerImpl.java:565) на com.sun.enterprise.v3.admin.CommandRunnerImpl $ 3.run (CommandRunnerImpl.java:557) в java.security.AccessController.doPrivileged (собственный метод) в javax.security.auth.Subject.doAs (Subject.java:360) в com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand (CommandRunnerImpl.java:556) в com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand (CommandRunnerImpl.java:1464) в com.sun.enterprise.v3.admin.CommandRunnerImpl.access $ 1300 (CommandRunnerImpl.java:109) в com.sun.enterprise.v3.admin.CommandRunnerImpl $ ExecutionContext.execute (CommandRunnerImpl.java:1846) в com.sun.enterprise.v3.admin.CmpmandRunxt.execute (CommandRunnerImpl.java:1722) в com.sun.enterprise.v3.admin.AdminAdapter.doCommand (AdminAdapter.java:534) в com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource (AdminAdapter.java:224) в org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service (StaticHttpHandlerBase.java:189) в com.sun.enterprise.v3.services.impl.ContainerMapper $ HttpHandlerCallable.call (ContainerMapper) atj..sun.enterprise.v3.services.impl.ContainerMapper.service (ContainerMapper.java:167) в org.glassfish.grizzly.http.server.HttpHandler.runService (HttpHandler.java:206) в org.glassfish.grizzly.hpp.server.HttpHandler.doHandle (HttpHandler.java:180) в org.glassfish.grizzly.http.server.HttpServerFilter.handleRead (HttpServerFilter.java:235) в org.glassfish.grizzly.filterchainverExecutor.Java: 119) в org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter (DefaultFilterChain.java:283) в org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart (DefaultFilterChain.java:200) по адресу org.glassfish.grizzly.filterchain.DefaultFilterChain.execute (DefaultFilterChain.java:132) по адресу org.glassfish.grizzly.filterchain.DefaultFilterChain.process (DefaultF): atFF:.grizzly.ProcessorExecutor.execute (ProcessorExecutor.java:77) в org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent (TCPNIOTransport.java:536) в org.glassfish.grizzly.strategies.AbstractIOStrategy.jpg: 112) в org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0 (WorkerThreadIOStrategy.java:117) в org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access $ 100 (WorkerThreadIOStrategy.java.gfish.g.gg.gst.gif.g org.g.gt.gif.gif.gif.gif.gif.gif.gif.gif.gif.gif.gif.gif.gif.gif.gif.gif.gif.gifgggg_5 или в).WorkerThreadIOStrategy $ WorkerThreadRunnable.run (WorkerThreadIOStrategy.java:137) в org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.doWork (AbstractThreadPool.java:591) в org.glassfish.grizzolo..java: 571) at java.lang.Thread.run (Thread.java:748) Причина: java.lang.RuntimeException: Неверный ресурс: java: module / JNDIName__pm в com.sun.enterprise.connectors.ConnectorRuntime.lookupDataSourceInDAS (ConnectorRuntime.java): 593) в com.sun.enterprise.connectors.ConnectorRuntime.lookupPMResource (ConnectorRuntime.java:517) в org.glassfish.persistence.common.PersistenceHelper.lookupPMResource (PersistenceHelper.java:63) в org.glassfish.persistence.jpa.ProviderContainerContractInfoBase.lookupDataSource (ProviderContainerContractInfoBase.java:71) в org.glassfish.persistence.jpa.PersistenceUnitInfoImpl. (PersistenceUnitInfoImpl.java:108) в org.glassfish.persistence.jn2.UU.Lu.Upglassfish.persistence.jpa.PersistenceUnitLoader. (PersistenceUnitLoader.java:107)в org.glassfish.persistence.jpa.JPADeployer $ 1.visitPUD (JPADeployer.java:223) в org.glassfish.persistence.jpa.JPADeployer $ PersistenceUnitDescriptorIterator.iteratePUDs (JPADeployer.jistence:510) в org.glass.pers.JPADeployer.createEMFs (JPADeployer.java:230) в org.glassfish.persistence.jpa.JPADeployer.prepare (JPADeployer.java:168) в com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule (ApplicationLifecycle )java: ApplicationLifecycle.javaна org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle (EarDeployer.java:309) на org.glassfish.javaee.full.deployment.EarDeployer.access $ 200 (EarDeployer.java:88) на org.glassfish.javaee.full.deployment.EarDeployer $ 1.doBundle (EarDeployer.java:155) в org.glassfish.javaee.full.deployment.EarDeployer $ 1.doBundle (EarDeployer.java:152) в org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles (EarDeployer.java:232) в org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles (EarDeployer.java:241) в org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles (EarDeployer.java:267) в org.glassfish.javaee.full.deployment.EarDeployer.prepare (EarDeployer.java:152) ... еще 40 причин, вызванных: com.sun.appserv.connectors.internalИсключение) в org.glassfish.jdbcruntime.JdbcRuntimeExtension.lookupDataSourceInDAS (JdbcRuntimeExtension.java:136) в com.sun.enterprise.connectors.ConnectorRuntime.lookupDataSourceInDAS (ConnectorRuntime.java:583re * * 101 * 1014) ... еще 101Исключительная ситуация при подготовке приложения: Неверный ресурс: java: module / JNDIName__pm java.lang.RuntimeException: Неверный ресурс: java: module / JNDIName__pm на com.sun.enterprise.connectors.ConnectorRuntime.lookupDataSourceInDAS (ConnectorRuntime.java:593) в com.sun.enterprise.connectors.ConnectorRuntime.lookupPMResource (ConnectorRuntime.java:517) по адресу org.glassfish.persistence.common.PersistenceHelper.lookupPMResource (PersistenceHelper.java:63) по адресу org.glassfish.persistence.jpa.ProviderContainerContractInfoBase.lookupDataSource (ProviderContainer.jasg.gif.gif.dll).persistence.jpa.PersistenceUnitInfoImpl. (PersistenceUnitInfoImpl.java:108) при org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU (PersistenceUnitLoader.java:142) при org.glassfish.persistence.jpa.PersistenceUnitLoader. (PersistenceUnitLoader.java:107) на org.glassfish.persistence.jpa.JPADeployer $ 1.visitPUD (JPADeployer.java:223) на org.glassfish.persistence.jpa.JPADeployer $ PersistenceUnitDescriptorIterator.iteratePUDs (JPADeployer.jistence:510) на org.glass.pa.JPADeployer.createEMFs (JPADeployer.java:230) в org.glassfish.persistence.jpa.JPADeployer.prepare (JPADeployer.java:168) в com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule (ApplicationL925).) на org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle (EarDeployer.java:309) по адресу org.glassfish.javaee.full.deployment.EarDeployer.access $ 200 (EarDeployer.java:88) по адресу org.glassfish.javaee.full.deployment.EarDeployer $ 1.doBundle (EarDeployer.java:155) в org.glassfish.javaee.full.deployment.EarDeployer $ 1.doBundle (EarDeployer.java:152) в org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles (EarDeployer.j) в org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles (EarDeployer.java:241) в org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles (EarDeployer.java:267g) или вfull.deployment.EarDeployer.prepare (EarDeployer.java:152) на com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule (ApplicationLifecycle.java:925)на com.sun.enterprise.v3.server.ApplicationLifecycle.deploy (ApplicationLifecycle.java:434) на com.sun.enterprise.v3.server.ApplicationLifecycle.deploy (ApplicationLifecycle.java:219) на org.glassfish.deployment.admin.DeployCommand.execute (DeployCommand.java:491) на com.sun.enterprise.v3.admin.CommandRunnerImpl $ 2 $ 1.run (CommandRunnerImpl.java:539) на com.sun.enterprise.v3.admin.CommandRunnerImpl $ 2 $ 1.r(CommandRunnerImpl.java:535) в java.security.AccessController.doPrivileged (собственный метод) в javax.security.auth.Subject.doAs (Subject.java:360) в com.sun.enterprise.v3.admin.CommandRunnerImpl $ 2.выполнить (CommandRunnerImpl.java:534) в com.sun.enterprise.v3.admin.CommandRunnerImpl $ 3.run (CommandRunnerImpl.java:565) в com.sun.enterprise.v3.admin.CommandRunnerImpl $ 3.run (CommandRunnerImpl.java:557) в java.security.AccessController.doPrivileged (собственный метод) в javax.security.auth.Subject.doAs (Subject.java:360) в com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand (CommandRunnerImpl.java:556) на com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand (CommandRunnerImpl.java:1464) на com.sun.enterprise.v3.admin.CommandRunnerImpl.access $ 1300 (CommandRunnerImpl.java:109) на com.sun.enterprise.v3.admin.CommandRunnerImpl $ ExecutionContext.execute (CommandRunnerImpl.java:1846) в com.sun.enterprise.v3.admin.CommandRunnerImpl $ ExecutionContext.execute (CommandRunnerImpl.java:1722) в com.sun.enter.admin.AdminAdapter.doCommand (AdminAdapter.java:534) в com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource (AdminAdapter.java:224) в org.glassfish.grizzly.http.server.StaticHttpHandlerBase.serp. (Stat.Java: 189) на com.sun.enterprise.v3.services.impl.ContainerMapper $ HttpHandlerCallable.call (ContainerMapper.java:459) на com.sun.enterprise.v3.services.impl.ContainerMapper.service (ContainerMapper.java:167) по адресу org.glassfish.grizzly.http.server.HttpHandler.runService (HttpHandler.java:206) по адресу org.glassfish.grizzly.http.server.HttpHandler.doHandle (HttpHandler.java:180) по адресу org.glassfish.grizzly.http.server.HttpServerFilter.handleRead (HttpServerFilter.java:235) по адресу org.glassfish.grizzly.filterchain.ExecutorResolver $ 9.execute (ExecutorResolver.java:11.g.g.gg.glg.gg) илиfilterchain.в org.glassfish.grizzly.filterchain.DefaultFilterChain.process (DefaultFilterChain.java:111) в org.glassfish.grizzly.ProcessorExecutor.execute (ProcessorExecutor.java:77) в org.glassfish.grizzly.nio.transvent.portNTI.(TCPNIOTransport.java:536) по адресу org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent (AbstractIOStrategy.java:112) по адресу org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0 (WorkerThreadIOS.gtg.gt).grizzly.strategies.WorkerThreadIOStrategy.acCess $ 100 (WorkerThreadIOStrategy.java:56) в org.glassfish.grizzly.strategies.WorkerThreadIOStrategy $ WorkerThreadRunnable.run (WorkerThreadIOStrategy.java:137) в org.glassfish.grizzly.threadpool.AbstractTher.ol59 (Work.ol59)) в org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.run (AbstractThreadPool.java:571) в java.lang.Thread.run (Thread.java:748). Вызывается: com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: недопустимый ресурс: java: module / JNDIName__pm в org.glassfish.jdbcruntime.service.JdbcDataSource.validateResource (JdbcDataSource.java:81) в org.glassfish.jdbcruntime.serd.jata.Source.set.dllв org.glassfish.jdbcruntime.JdbcRuntimeExtension.lookupDataSourceInDAS (JdbcRuntimeExtension.java:136)в com.sun.enterprise.connectors.ConnectorRuntime.lookupDataSourceInDAS (ConnectorRuntime.java:589) ... еще 59
Предупреждение: