Deploy Problem JRebel x Netbeans/Payara/Weld project

ZeroTurnaround Homepage Forums JRebel Support Deploy Problem JRebel x Netbeans/Payara/Weld project

This topic contains 1 reply, has 2 voices, and was last updated by  Hannes Metssalu 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #66986

    edilista
    Member

    Hi,

    I installed JRebel plugin in NetBeans 8.1, using the howto https://zeroturnaround.com/software/jrebel/quickstart/netbeans.

    Then, I checked the project “sitesat2” (Payara4.1.174 + JSF 2.2 + CDI Weld + JPA 2 + Hibernate 4.3.11) to use JRebel.

    The file rebel.xml was created like this:

    
    <?xml version="1.0" encoding="UTF-8"?>
    
    <!--
      This is the JRebel configuration file. It maps the running application to your IDE workspace, enabling JRebel reloading for this project.
      Refer to https://manuals.zeroturnaround.com/jrebel/standalone/config.html for more information.
    -->
    <application generated-by="netbeans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://update.zeroturnaround.com/jrebel/rebel-2_1.xsd">
    
        <classpath>
            <dir name="/sistemas/sitesat2/build/web/WEB-INF/classes">
            </dir>
        </classpath>
    
        <web>
            <link target="/">
                <dir name="/sistemas/sitesat2/web">
                </dir>
            </link>
        </web>
    
    </application>
    

    When I try to deploy the app, it doesn’t work.
    NOTE: the app works fine without JRebel.
    Below the complete server.log:

    
    Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=512m; support was removed in 8.0
    Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=4096m; support was removed in 8.0
    Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=512m; support was removed in 8.0
    2018-01-30 15:57:13 JRebel:  Starting logging to file: /sistemas/home/edilmar/.jrebel/jrebel.log
    2018-01-30 15:57:13 JRebel: 
    2018-01-30 15:57:13 JRebel:  #############################################################
    2018-01-30 15:57:13 JRebel: 
    2018-01-30 15:57:13 JRebel:  JRebel Agent 7.1.5 (201801171200)
    2018-01-30 15:57:13 JRebel:  (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
    2018-01-30 15:57:13 JRebel: 
    2018-01-30 15:57:13 JRebel:  Over the last 2 days JRebel prevented
    2018-01-30 15:57:13 JRebel:  at least 0 redeploys/restarts saving you about 0 hours.
    2018-01-30 15:57:13 JRebel: 
    2018-01-30 15:57:13 JRebel:  Licensed to Edilmar Alves (InterSite Sistemas)
    2018-01-30 15:57:13 JRebel: 
    2018-01-30 15:57:13 JRebel:  License type: evaluation
    2018-01-30 15:57:13 JRebel:  Valid from: January 30, 2018
    2018-01-30 15:57:13 JRebel:  Valid until: February 13, 2018
    2018-01-30 15:57:13 JRebel: 
    2018-01-30 15:57:13 JRebel:  You are using an EVALUATION license.
    2018-01-30 15:57:13 JRebel:  Days left until license expires: 14
    2018-01-30 15:57:13 JRebel: 
    2018-01-30 15:57:13 JRebel:  To extend your evaluation or purchase a license,
    2018-01-30 15:57:13 JRebel:  contact sales@zeroturnaround.com.
    2018-01-30 15:57:13 JRebel: 
    2018-01-30 15:57:13 JRebel:  If you think this is an error, contact support@zeroturnaround.com.
    2018-01-30 15:57:13 JRebel: 
    2018-01-30 15:57:13 JRebel: 
    2018-01-30 15:57:13 JRebel:  #############################################################
    2018-01-30 15:57:13 JRebel: 
    Launching GlassFish on Felix platform
    jan 30, 2018 3:57:17 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
    INFORMAÇÕES: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
    Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@1f3a74ef in service registry.
    #!## LogManagerService.postConstruct : rootFolder=/opt/lp/payara41/glassfish
    #!## LogManagerService.postConstruct : templateDir=/opt/lp/payara41/glassfish/lib/templates
    #!## LogManagerService.postConstruct : src=/opt/lp/payara41/glassfish/lib/templates/logging.properties
    #!## LogManagerService.postConstruct : dest=/opt/lp/payara41/glassfish/domains/domain1/config/logging.properties
    INFORMAÇÕES:   Running Payara Version: Payara Server  4.1.2.174 #badassfish (build 192)
    INFORMAÇÕES:   Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter
    INFORMAÇÕES:   Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
    INFORMAÇÕES:   Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
    INFORMAÇÕES:   Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
    INFORMAÇÕES:   Authorization Service has successfully initialized.
    INFORMAÇÕES:   Grizzly Framework 2.3.31 started in: 146ms - bound to [/0.0.0.0:8080]
    INFORMAÇÕES:   Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
    INFORMAÇÕES:   Grizzly Framework 2.3.31 started in: 11ms - bound to [/0.0.0.0:8181]
    INFORMAÇÕES:   Registered fish.payara.ha.hazelcast.store.HazelcastBackingStoreFactoryProxy for persistence-type = hazelcast in BackingStoreFactoryRegistry
    INFORMAÇÕES:   Registered Hazelcast BackingStoreFactory with persistence-type = hazelcast
    INFORMAÇÕES:   Grizzly Framework 2.3.31 started in: 4ms - bound to [/0.0.0.0:4848]
    INFORMAÇÕES:   Grizzly Framework 2.3.31 started in: 2ms - bound to [/0.0.0.0:3700]
    INFORMAÇÕES:   2018-01-30 15:57:31 JRebel: Directory '/sistemas/sitesat2/build/web/WEB-INF/classes' will be monitored for changes.
    INFORMAÇÕES:   2018-01-30 15:57:31 JRebel: Directory '/sistemas/sitesat2/web' will be monitored for changes.
    INFORMAÇÕES:   Web service endpoint deployment events listener registered successfully.
    INFORMAÇÕES:   GlassFishORBFactory service initialized.
    INFORMAÇÕES:   Java security manager is disabled.
    INFORMAÇÕES:   Entering Security Startup Service.
    INFORMAÇÕES:   Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
    INFORMAÇÕES:   Security Service(s) started successfully.
    INFORMAÇÕES:   Created HTTP listener http-listener-1 on host/port 0.0.0.0:8080
    INFORMAÇÕES:   Created HTTP listener http-listener-2 on host/port 0.0.0.0:8181
    INFORMAÇÕES:   Created HTTP listener admin-listener on host/port 0.0.0.0:4848
    INFORMAÇÕES:   Created virtual server server
    INFORMAÇÕES:   Created virtual server __asadmin
    INFORMAÇÕES:   Setting JAAS app name glassfish-web
    INFORMAÇÕES:   Virtual server server loaded default web module
    INFORMAÇÕES:   Webservice Endpoint deployed PropWS
     listening at address at http://edilmar.intersite.com.br:8080/sitesat2/PropWS.
    INFORMAÇÕES:   Webservice Endpoint deployed FornPagtoViagensWS
     listening at address at http://edilmar.intersite.com.br:8080/sitesat2/FornPagtoViagensWS.
    INFORMAÇÕES:   Webservice Endpoint deployed ConfigWS
     listening at address at http://edilmar.intersite.com.br:8080/sitesat2/ConfigWSService.
    INFORMAÇÕES:   Loading WS-TX Services. Please wait.
    INFORMAÇÕES:   Webservice Endpoint deployed CoordinatorPortTypePortImpl
     listening at address at http://edilmar.intersite.com.br:8080/__wstx-services/CoordinatorPortType11.
    INFORMAÇÕES:   Webservice Endpoint deployed ParticipantPortTypeImpl
     listening at address at http://edilmar.intersite.com.br:8080/__wstx-services/ParticipantPortType.
    INFORMAÇÕES:   Webservice Endpoint deployed RegistrationRequesterPortTypeImpl
     listening at address at http://edilmar.intersite.com.br:8080/__wstx-services/RegistrationRequesterPortType.
    INFORMAÇÕES:   Webservice Endpoint deployed ParticipantPortTypePortImpl
     listening at address at http://edilmar.intersite.com.br:8080/__wstx-services/ParticipantPortType11.
    INFORMAÇÕES:   Webservice Endpoint deployed RegistrationPortTypeRPCPortImpl
     listening at address at http://edilmar.intersite.com.br:8080/__wstx-services/RegistrationPortTypeRPC11.
    INFORMAÇÕES:   Webservice Endpoint deployed CoordinatorPortTypeImpl
     listening at address at http://edilmar.intersite.com.br:8080/__wstx-services/CoordinatorPortType.
    INFORMAÇÕES:   Webservice Endpoint deployed RegistrationPortTypeImpl
     listening at address at http://edilmar.intersite.com.br:8080/__wstx-services/RegistrationPortTypeRPC.
    INFORMAÇÕES:   Webservice Endpoint deployed RegistrationRequesterPortTypePortImpl
     listening at address at http://edilmar.intersite.com.br:8080/__wstx-services/RegistrationRequesterPortType11.
    INFORMAÇÕES:   Loading application [wstx-services] at [/__wstx-services]
    INFORMAÇÕES:   WS-TX Services successfully started.
    Informações:   HV000001: Hibernate Validator 5.2.4.Final
    Informações:   HHH000204: Processing PersistenceUnitInfo [
        name: sitesat2PU
        ...]
    Informações:   HHH000412: Hibernate Core {4.3.11.Final}
    Informações:   HHH000206: hibernate.properties not found
    Informações:   HHH000021: Bytecode provider name : javassist
    Informações:   HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
    Informações:   HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect
    Informações:   HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
    Informações:   HHH000397: Using ASTQueryTranslatorFactory
    Informações:   HHH000204: Processing PersistenceUnitInfo [
        name: sitesat2logPU
        ...]
    Informações:   HHH000400: Using dialect: org.hibernate.dialect.FirebirdDialect
    Informações:   HHH000397: Using ASTQueryTranslatorFactory
    Informações:   WELD-000900: 2.4.5 (Final)
    GRAVE:   Exception while invoking class org.glassfish.weld.WeldDeployer load method
    java.lang.IllegalStateException: This web container has not yet been started
        at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1544)
        at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1501)
        at org.glassfish.weld.ejb.EjbDescriptorImpl.getBeanClass(EjbDescriptorImpl.java:100)
        at org.glassfish.weld.BeanDeploymentArchiveImpl.populateEJBsForThisBDA(BeanDeploymentArchiveImpl.java:208)
        at org.glassfish.weld.BeanDeploymentArchiveImpl.<init>(BeanDeploymentArchiveImpl.java:162)
        at org.glassfish.weld.RootBeanDeploymentArchive.createModuleBda(RootBeanDeploymentArchive.java:97)
        at org.glassfish.weld.RootBeanDeploymentArchive.<init>(RootBeanDeploymentArchive.java:90)
        at org.glassfish.weld.DeploymentImpl.createModuleBda(DeploymentImpl.java:731)
        at org.glassfish.weld.DeploymentImpl.<init>(DeploymentImpl.java:145)
        at org.glassfish.weld.WeldDeployer.load(WeldDeployer.java:525)
        at org.glassfish.weld.WeldDeployer.load(WeldDeployer.java:112)
        at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:209)
        at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:318)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:406)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:243)
        at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:327)
        at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)
        at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
        at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
        at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
        at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
        at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)
        at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)
        at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)
        at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
    
    GRAVE:   Exception during lifecycle processing
    java.lang.IllegalStateException: This web container has not yet been started
        at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1544)
        at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1501)
        at org.glassfish.weld.ejb.EjbDescriptorImpl.getBeanClass(EjbDescriptorImpl.java:100)
        at org.glassfish.weld.BeanDeploymentArchiveImpl.populateEJBsForThisBDA(BeanDeploymentArchiveImpl.java:208)
        at org.glassfish.weld.BeanDeploymentArchiveImpl.<init>(BeanDeploymentArchiveImpl.java:162)
        at org.glassfish.weld.RootBeanDeploymentArchive.createModuleBda(RootBeanDeploymentArchive.java:97)
        at org.glassfish.weld.RootBeanDeploymentArchive.<init>(RootBeanDeploymentArchive.java:90)
        at org.glassfish.weld.DeploymentImpl.createModuleBda(DeploymentImpl.java:731)
        at org.glassfish.weld.DeploymentImpl.<init>(DeploymentImpl.java:145)
        at org.glassfish.weld.WeldDeployer.load(WeldDeployer.java:525)
        at org.glassfish.weld.WeldDeployer.load(WeldDeployer.java:112)
        at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:209)
        at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:318)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:406)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:243)
        at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:327)
        at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)
        at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
        at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
        at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
        at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
        at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)
        at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)
        at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)
        at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
    
    GRAVE:   Exception while loading the app
    GRAVE:   Application deployment failed: Exception while loading the app
    INFORMAÇÕES:   Payara Server  4.1.2.174 #badassfish (192) startup time : Felix (7.057ms), startup services(70.543ms), total(77.600ms)
    ADVERTÊNCIA:   Exception while dispatching an event
    java.lang.IllegalStateException: This web container has not yet been started
        at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1544)
        at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1501)
        at org.zeroturnaround.javarebel.integration.hibernate.HibernateWrapper$HibernateUpToDate.updated(HibernateWrapper.java:107)
        at org.hibernate.internal.SessionFactoryImpl.checkReload(SessionFactoryImpl.java)
        at org.hibernate.internal.SessionFactoryImpl.isClosed(SessionFactoryImpl.java)
        at org.hibernate.jpa.internal.EntityManagerFactoryImpl.isOpen(EntityManagerFactoryImpl.java:537)
        at org.hibernate.jpa.internal.EntityManagerFactoryImpl.validateNotClosed(EntityManagerFactoryImpl.java:387)
        at org.hibernate.jpa.internal.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:368)
        at org.glassfish.persistence.jpa.JPADeployer.closeEMFs(JPADeployer.java:424)
        at org.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:415)
        at org.glassfish.kernel.event.EventsImpl$1.run(EventsImpl.java:123)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
    
    INFORMAÇÕES:   Cleaning JarFileFactory Cache to prevent jar FD leaks
    INFORMAÇÕES:   Grizzly Framework 2.3.31 started in: 28ms - bound to [/0.0.0.0:7677]
    INFORMAÇÕES:   Creating a SecureRMIServerSocketFactory @ 0.0.0.0 with ssl config = GlassFishConfigBean.org.glassfish.grizzly.config.dom.Ssl
    INFORMAÇÕES:   SSLParams =org.glassfish.admin.mbeanserver.ssl.SSLParams@2d75bb7c
    ADVERTÊNCIA:   All SSL cipher suites disabled for network-listener(s).  Using SSL implementation specific defaults
    INFORMAÇÕES:   SSLParams =org.glassfish.admin.mbeanserver.ssl.SSLParams@2d75bb7c
    ADVERTÊNCIA:   All SSL cipher suites disabled for network-listener(s).  Using SSL implementation specific defaults
    INFORMAÇÕES:   SSLServerSocket /0.0.0.0:8686 and [SSL: ServerSocket[addr=/0.0.0.0,localport=8686]] created
    INFORMAÇÕES:   Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@10aabada as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@401358e5.
    INFORMAÇÕES:   /opt/lp/payara41/glassfish/domains/domain1/autodeploy/bundles does not exist, please create it.
    INFORMAÇÕES:   JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://0.0.0.0:8686/jndi/rmi://0.0.0.0:8686/jmxrmi
    INFORMAÇÕES:   failure, not retryable...
    INFORMAÇÕES:   Webservice Endpoint deployed ConfigWS
     listening at address at http://edilmar.intersite.com.br:8080/sitesat2/ConfigWSService.
    INFORMAÇÕES:   Webservice Endpoint deployed FornPagtoViagensWS
     listening at address at http://edilmar.intersite.com.br:8080/sitesat2/FornPagtoViagensWS.
    INFORMAÇÕES:   Webservice Endpoint deployed PropWS
     listening at address at http://edilmar.intersite.com.br:8080/sitesat2/PropWS.
    Informações:   HHH000204: Processing PersistenceUnitInfo [
        name: sitesat2PU
        ...]
    Informações:   HHH000412: Hibernate Core {4.3.11.Final}
    Informações:   HHH000206: hibernate.properties not found
    Informações:   HHH000021: Bytecode provider name : javassist
    Informações:   HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
    Informações:   HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect
    Informações:   HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
    Informações:   HHH000397: Using ASTQueryTranslatorFactory
    Informações:   HHH000204: Processing PersistenceUnitInfo [
        name: sitesat2logPU
        ...]
    Informações:   HHH000400: Using dialect: org.hibernate.dialect.FirebirdDialect
    Informações:   HHH000397: Using ASTQueryTranslatorFactory
    GRAVE:   Exception while invoking class org.glassfish.weld.WeldDeployer load method
    java.lang.IllegalStateException: This web container has not yet been started
        at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1544)
        at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1501)
        at org.glassfish.weld.ejb.EjbDescriptorImpl.getBeanClass(EjbDescriptorImpl.java:100)
        at org.glassfish.weld.BeanDeploymentArchiveImpl.populateEJBsForThisBDA(BeanDeploymentArchiveImpl.java:208)
        at org.glassfish.weld.BeanDeploymentArchiveImpl.<init>(BeanDeploymentArchiveImpl.java:162)
        at org.glassfish.weld.RootBeanDeploymentArchive.createModuleBda(RootBeanDeploymentArchive.java:97)
        at org.glassfish.weld.RootBeanDeploymentArchive.<init>(RootBeanDeploymentArchive.java:90)
        at org.glassfish.weld.DeploymentImpl.createModuleBda(DeploymentImpl.java:731)
        at org.glassfish.weld.DeploymentImpl.<init>(DeploymentImpl.java:145)
        at org.glassfish.weld.WeldDeployer.load(WeldDeployer.java:525)
        at org.glassfish.weld.WeldDeployer.load(WeldDeployer.java:112)
        at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:209)
        at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:318)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:220)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:508)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:544)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:540)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:360)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:539)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:570)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:562)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:360)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:561)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1469)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:111)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1851)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1727)
        at org.glassfish.deployment.admin.ReDeployCommand.execute(ReDeployCommand.java:131)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:544)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:540)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:360)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:539)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:570)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:562)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:360)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:561)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1469)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:111)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1851)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1727)
        at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
        at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)
        at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189)
        at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:483)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
        at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
        at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
        at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
        at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
        at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
        at org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)
        at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
        at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
        at org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)
        at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
        at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
        at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:539)
        at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:593)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:573)
        at java.lang.Thread.run(Thread.java:748)
    
    GRAVE:   Exception during lifecycle processing
    java.lang.IllegalStateException: This web container has not yet been started
        at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1544)
        at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1501)
        at org.glassfish.weld.ejb.EjbDescriptorImpl.getBeanClass(EjbDescriptorImpl.java:100)
        at org.glassfish.weld.BeanDeploymentArchiveImpl.populateEJBsForThisBDA(BeanDeploymentArchiveImpl.java:208)
        at org.glassfish.weld.BeanDeploymentArchiveImpl.<init>(BeanDeploymentArchiveImpl.java:162)
        at org.glassfish.weld.RootBeanDeploymentArchive.createModuleBda(RootBeanDeploymentArchive.java:97)
        at org.glassfish.weld.RootBeanDeploymentArchive.<init>(RootBeanDeploymentArchive.java:90)
        at org.glassfish.weld.DeploymentImpl.createModuleBda(DeploymentImpl.java:731)
        at org.glassfish.weld.DeploymentImpl.<init>(DeploymentImpl.java:145)
        at org.glassfish.weld.WeldDeployer.load(WeldDeployer.java:525)
        at org.glassfish.weld.WeldDeployer.load(WeldDeployer.java:112)
        at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:209)
        at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:318)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:220)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:508)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:544)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:540)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:360)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:539)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:570)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:562)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:360)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:561)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1469)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:111)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1851)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1727)
        at org.glassfish.deployment.admin.ReDeployCommand.execute(ReDeployCommand.java:131)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:544)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:540)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:360)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:539)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:570)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:562)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:360)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:561)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1469)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:111)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1851)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1727)
        at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
        at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)
        at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189)
        at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:483)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
        at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
        at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
        at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
        at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
        at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
        at org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)
        at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
        at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
        at org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)
        at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
        at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
        at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:539)
        at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:593)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:573)
        at java.lang.Thread.run(Thread.java:748)
    
    GRAVE:   Exception while loading the app
    GRAVE:   Exception while loading the app : This web container has not yet been started
    
    #66995

    Hannes Metssalu
    Rebel Staff

    Hey,

    Thanks for letting us know. I quickly tried setting up a project with similar dependencies but wasn’t able to reproduce the issue just yet. Do you happen to have a small repro app which you could send?

    If not, please start Payara with the following additional VM argument ‘-Drebel.log=trace‘ and reproduce the issue once more. This will generate a detailed log to {user.home}/.jrebel/jrebel.log.

    Please send this log (or repro app) to support@zeroturnaround.com, that’ll speed up our debugging process. Anyway, I’ll continue trying to reproduce this issue and will notify you as soon as I have any progress!

    Best,
    Hannes

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.