glassfish
  1. glassfish
  2. GLASSFISH-20743

Error while upgrading an application on glassfish3.1.2.2

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: deployment
    • Labels:
      None

      Description

      Hi

      While upgrading the application(pss) on glassfish server i have seen exception like this

      22T14:40:52.854+0100|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=39;_ThreadName=Thread-2;|Exception while loading the app : Error in linking security policy for pss – Inconsistent Module State|#]

      Log Trace:

      [#|2013-07-22T14:40:09.430+0100|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=40;_ThreadName=Thread-2;|User [admin] from host atrcxb1345 does not have administration access|#]

      [#|2013-07-22T14:40:09.459+0100|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=39;_ThreadName=Thread-2;|User [admin] from host atrcxb1345 does not have administration access|#]

      [#|2013-07-22T14:40:09.472+0100|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=37;_ThreadName=Thread-2;|User [admin] from host atrcxb1345 does not have administration access|#]

      [#|2013-07-22T14:40:24.552+0100|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=36;_ThreadName=Thread-2;|User [admin] from host atrcxb1345 does not have administration access|#]

      [#|2013-07-22T14:40:24.582+0100|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=37;_ThreadName=Thread-2;|User [admin] from host atrcxb1345 does not have administration access|#]

      [#|2013-07-22T14:40:47.622+0100|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=37;_ThreadName=Thread-2;|User [admin] from host atrcxb1345 does not have administration access|#]

      [#|2013-07-22T14:40:47.654+0100|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=40;_ThreadName=Thread-2;|User [admin] from host atrcxb1345 does not have administration access|#]

      [#|2013-07-22T14:40:52.671+0100|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=39;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB NotifBroker: [java:global/pss/pss-ejb/NotifBroker!se.ericsson.security.pss.webservice.NotifBroker, java:global/pss/pss-ejb/NotifBroker]|#]

      [#|2013-07-22T14:40:52.689+0100|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=39;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB NotificationHandler: [java:global/pss/pss-ejb/NotificationHandler!com.ericsson.oss.utilities.cifadaptation.notification.IMoEventHandler, java:global/pss/pss-ejb/NotificationHandler!com.ericsson.oss.utilities.cifadaptation.notification.IAttributeChangeHandler]|#]

      [#|2013-07-22T14:40:52.719+0100|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=39;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB CsData: [java:global/pss/pss-ejb/CsData, java:global/pss/pss-ejb/CsData!se.ericsson.security.pss.webservice.api.CsDataSource]|#]

      [#|2013-07-22T14:40:52.757+0100|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=39;_ThreadName=Thread-2;|TopLevel AvailabilityService.getAvailabilityEnabled => true|#]

      [#|2013-07-22T14:40:52.757+0100|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=39;_ThreadName=Thread-2;|TopLevel EjbAvailabilityService.getAvailabilityEnabled => true|#]

      [#|2013-07-22T14:40:52.758+0100|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=39;_ThreadName=Thread-2;|**Global AvailabilityEnabled => true; isAppHAEnabled: false|#]

      [#|2013-07-22T14:40:52.758+0100|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=39;_ThreadName=Thread-2;|StatefulContainerBuilder AvailabilityEnabled for this app => false|#]

      [#|2013-07-22T14:40:52.759+0100|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=39;_ThreadName=Thread-2;|StatefulContainerBuilder.buildStoreManager() storeName: certm.CertM-90079117418823685-BackingStore|#]

      [#|2013-07-22T14:40:52.760+0100|INFO|glassfish3.1.2|org.glassfish.ha.store.adapter.file.FileBackingStore|_ThreadID=39;_ThreadName=Thread-2;|[FileBackingStore::initialize] Successfully Created and initialized store. Working dir: /opt/glassfish3/glassfish/domains/domain1/session-store/certm.CertM-90079117418823685; Configuration: BackingStoreConfiguration{clusterName='null', instanceName='null', storeName='certm.CertM-90079117418823685-BackingStore', shortUniqueName='90079117418823685', storeType='file', maxIdleTimeInSeconds=-1, relaxVersionCheck='null', maxLoadWaitTimeInSeconds=0, baseDirectoryName='/opt/glassfish3/glassfish/domains/domain1/session-store/certm.CertM-90079117418823685', keyClazz=interface java.io.Serializable, valueClazz=class org.glassfish.ha.store.util.SimpleMetadata, synchronousSave=false, typicalPayloadSizeInKiloBytes=0, vendorSpecificSettings={start.gms=false, async.replication=true, key.transformer=com.sun.ejb.base.sfsb.util.SimpleKeyGenerator@18671cd, local.caching=true, value.class.is.thread.safe=true, broadcast.remove.expired=false}}|#]

      [#|2013-07-22T14:40:52.760+0100|WARNING|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers.builder|_ThreadID=39;_ThreadName=Thread-2;|StatefulContainerbuilder instantiated store: org.glassfish.ha.store.adapter.file.FileBackingStore@1998709; ha-enabled: false ==> BackingStoreConfiguration{clusterName='null', instanceName='null', storeName='certm.CertM-90079117418823685-BackingStore', shortUniqueName='90079117418823685', storeType='file', maxIdleTimeInSeconds=-1, relaxVersionCheck='null', maxLoadWaitTimeInSeconds=0, baseDirectoryName='/opt/glassfish3/glassfish/domains/domain1/session-store/certm.CertM-90079117418823685', keyClazz=interface java.io.Serializable, valueClazz=class org.glassfish.ha.store.util.SimpleMetadata, synchronousSave=false, typicalPayloadSizeInKiloBytes=0, vendorSpecificSettings={start.gms=false, async.replication=true, key.transformer=com.sun.ejb.base.sfsb.util.SimpleKeyGenerator@18671cd, local.caching=true, value.class.is.thread.safe=true, broadcast.remove.expired=false}}|#]

      [#|2013-07-22T14:40:52.764+0100|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=39;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB certm.CertM: [java:global/pss/pss-ejb/certm.CertM!se.ericsson.security.pss.webservice.api.certm.ICertM, java:global/pss/pss-ejb/certm.CertM]|#]

      [#|2013-07-22T14:40:52.786+0100|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=39;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB PwService: [java:global/pss/pss-ejb/PwService!se.ericsson.security.pss.webservice.PwService, java:global/pss/pss-ejb/PwService]|#]

      [#|2013-07-22T14:40:52.808+0100|INFO|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=39;_ThreadName=Thread-2;|EJB5181:Portable JNDI names for EJB WranCM: [java:global/pss/pss-ejb/WranCM, java:global/pss/pss-ejb/WranCM!se.ericsson.security.pss.webservice.WranCM]|#]

      [#|2013-07-22T14:40:52.826+0100|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=39;_ThreadName=Thread-2;|Exception while loading the app|#]

      [#|2013-07-22T14:40:52.854+0100|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=39;_ThreadName=Thread-2;|Exception while loading the app : Error in linking security policy for pss -- Inconsistent Module State|#]

      [#|2013-07-22T14:40:52.861+0100|WARNING|glassfish3.1.2|javax.enterprise.system.core.classloading.com.sun.enterprise.loader|_ThreadID=41;_ThreadName=Thread-2;|LDR5207: ASURLClassLoader EarLibClassLoader :
      doneCalled = true
      doneSnapshot = ASURLClassLoader.done() called ON EarLibClassLoader :
      urlSet = []
      doneCalled = false
      Parent -> org.glassfish.internal.api.DelegatingClassLoader@1d90d9

      AT Mon Jul 22 14:40:52 IST 2013
      BY :java.lang.Throwable: printStackTraceToString
      at com.sun.enterprise.util.Print.printStackTraceToString(Print.java:639)
      at com.sun.enterprise.loader.ASURLClassLoader.done(ASURLClassLoader.java:211)
      at com.sun.enterprise.loader.ASURLClassLoader.preDestroy(ASURLClassLoader.java:179)
      at org.glassfish.javaee.full.deployment.EarClassLoader.preDestroy(EarClassLoader.java:114)
      at org.glassfish.deployment.common.DeploymentContextImpl.preDestroy(DeploymentContextImpl.java:151)
      at com.sun.enterprise.v3.server.ApplicationLifecycle$1.actOn(ApplicationLifecycle.java:281)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:465)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
      at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
      at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
      at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:662)
      Parent -> org.glassfish.internal.api.DelegatingClassLoader@1d90d9
      was requested to find class com.sun.jndi.url._internal_java_app_for_app_clientpssjava.internal_java_app_for_app_clientpss_javaURLContextFactory after done was invoked from the following stack trace
      java.lang.Throwable
      at com.sun.enterprise.loader.ASURLClassLoader.findClassData(ASURLClassLoader.java:780)
      at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:696)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:247)
      at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:54)
      at com.sun.naming.internal.ResourceManager.getFactory(ResourceManager.java:371)
      at javax.naming.spi.NamingManager.getURLObject(NamingManager.java:575)
      at javax.naming.spi.NamingManager.getURLContext(NamingManager.java:533)
      at com.sun.enterprise.naming.impl.WrappedSerialContext.getURLOrDefaultInitCtx(WrappedSerialContext.java:106)
      at javax.naming.InitialContext.unbind(InitialContext.java:416)
      at javax.naming.InitialContext.unbind(InitialContext.java:416)
      at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.unpublishObject(GlassfishNamingManagerImpl.java:246)
      at com.sun.appserv.connectors.internal.api.ResourceNamingService.unbindAppScopedNameForAppclient(ResourceNamingService.java:191)
      at com.sun.appserv.connectors.internal.api.ResourceNamingService.unpublishObject(ResourceNamingService.java:182)
      at com.sun.enterprise.resource.deployer.CustomResourceDeployer.deleteResource(CustomResourceDeployer.java:166)
      at com.sun.enterprise.resource.deployer.CustomResourceDeployer.undeployResource(CustomResourceDeployer.java:146)
      at com.sun.enterprise.connectors.module.ResourcesDeployer.undeployResources(ResourcesDeployer.java:977)
      at com.sun.enterprise.connectors.module.ResourcesDeployer.cleanupResources(ResourcesDeployer.java:946)
      at com.sun.enterprise.connectors.module.ResourcesDeployer.event(ResourcesDeployer.java:760)
      at org.glassfish.kernel.event.EventsImpl$1.run(EventsImpl.java:120)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      #]

      [#|2013-07-22T14:40:52.863+0100|WARNING|glassfish3.1.2|javax.enterprise.system.core.classloading.com.sun.enterprise.loader|_ThreadID=41;_ThreadName=Thread-2;|LDR5207: ASURLClassLoader EarClassLoader :
      doneCalled = true
      doneSnapshot = ASURLClassLoader.done() called ON EarClassLoader :
      urlSet = [URLEntry : file:/opt/glassfish3/glassfish/domains/domain1/applications/pss/pss-ejb_jar/, URLEntry : file:/opt/glassfish3/glassfish/domains/domain1/generated/ejb/pss/pss-ejb_jar]
      doneCalled = false
      Parent -> org.glassfish.internal.api.DelegatingClassLoader@9a3c36

      AT Mon Jul 22 14:40:52 IST 2013
      BY :java.lang.Throwable: printStackTraceToString
      at com.sun.enterprise.util.Print.printStackTraceToString(Print.java:639)
      at com.sun.enterprise.loader.ASURLClassLoader.done(ASURLClassLoader.java:211)
      at com.sun.enterprise.loader.ASURLClassLoader.preDestroy(ASURLClassLoader.java:179)
      at org.glassfish.javaee.full.deployment.EarClassLoader.preDestroy(EarClassLoader.java:100)
      at org.glassfish.deployment.common.DeploymentContextImpl.preDestroy(DeploymentContextImpl.java:151)
      at com.sun.enterprise.v3.server.ApplicationLifecycle$1.actOn(ApplicationLifecycle.java:281)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:465)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
      at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
      at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
      at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:662)
      Parent -> org.glassfish.internal.api.DelegatingClassLoader@9a3c36
      was requested to find class com.sun.jndi.url._internal_java_app_for_app_clientpssjava.internal_java_app_for_app_clientpss_javaURLContextFactory after done was invoked from the following stack trace
      java.lang.Throwable
      at com.sun.enterprise.loader.ASURLClassLoader.findClassData(ASURLClassLoader.java:780)
      at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:696)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:247)
      at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:54)
      at com.sun.naming.internal.ResourceManager.getFactory(ResourceManager.java:371)
      at javax.naming.spi.NamingManager.getURLObject(NamingManager.java:575)
      at javax.naming.spi.NamingManager.getURLContext(NamingManager.java:533)
      at com.sun.enterprise.naming.impl.WrappedSerialContext.getURLOrDefaultInitCtx(WrappedSerialContext.java:106)
      at javax.naming.InitialContext.unbind(InitialContext.java:416)
      at javax.naming.InitialContext.unbind(InitialContext.java:416)
      at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.unpublishObject(GlassfishNamingManagerImpl.java:246)
      at com.sun.appserv.connectors.internal.api.ResourceNamingService.unbindAppScopedNameForAppclient(ResourceNamingService.java:191)
      at com.sun.appserv.connectors.internal.api.ResourceNamingService.unpublishObject(ResourceNamingService.java:182)
      at com.sun.enterprise.resource.deployer.CustomResourceDeployer.deleteResource(CustomResourceDeployer.java:166)
      at com.sun.enterprise.resource.deployer.CustomResourceDeployer.undeployResource(CustomResourceDeployer.java:146)
      at com.sun.enterprise.connectors.module.ResourcesDeployer.undeployResources(ResourcesDeployer.java:977)
      at com.sun.enterprise.connectors.module.ResourcesDeployer.cleanupResources(ResourcesDeployer.java:946)
      at com.sun.enterprise.connectors.module.ResourcesDeployer.event(ResourcesDeployer.java:760)
      at org.glassfish.kernel.event.EventsImpl$1.run(EventsImpl.java:120)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      #]

      Thanks,
      Vinod

        Activity

        Hide
        Jeremy_Lv added a comment -

        vinodkumarbolla:
        It seems the security's problem from the server log, maybe you just use the user role to load the application that the user can't access. Could you please use the administrator's role to update your application first?

        Thanks
        -Jeremy

        Show
        Jeremy_Lv added a comment - vinodkumarbolla: It seems the security's problem from the server log, maybe you just use the user role to load the application that the user can't access. Could you please use the administrator's role to update your application first? Thanks -Jeremy
        Hide
        vinodkumarbolla added a comment -

        Hi Jeremy,

        Thanks for the response.I just want to add one more thing.For the same issue if we undeploy the ear and deploy the ear then the application was properly deployed.

        And we are not specifying any roles in sun-application.xml for the application do you think is this the root cause of the issue.

        Thanks,
        Vinod

        Show
        vinodkumarbolla added a comment - Hi Jeremy, Thanks for the response.I just want to add one more thing.For the same issue if we undeploy the ear and deploy the ear then the application was properly deployed. And we are not specifying any roles in sun-application.xml for the application do you think is this the root cause of the issue. Thanks, Vinod
        Hide
        Jeremy_Lv added a comment -

        Vinod:

        You can try to use the root role to update the application, if you still come across the same issue, please tell me your reproduced steps so that I can help you to found out the reason.

        Jeremy

        Show
        Jeremy_Lv added a comment - Vinod: You can try to use the root role to update the application, if you still come across the same issue, please tell me your reproduced steps so that I can help you to found out the reason. Jeremy
        Hide
        vinodkumarbolla added a comment -

        Hi Jeremy

        Actually i am new to this glassfish.
        Can you please explain in which file(eg application.xml) i need to keep this,with syntax(root role to add).

        my project structure is like this
        ear
        --application.xml
        --glassfish-resources.xml
        --sun-application.xml(recently added as fix for client not authorized for invocation exception but still we are facing that exception. It does not have any roles)

        jar
        --META-INF
        --ejb-jar.xml
        --sun-ejb-jar.xml
        --web.xml

        war
        --web.xml

        And also We have not specified roles any where in above files.

        One more thing is the exception occured in testing environments i am trying to reproduce the issue but i am not able to reproduce that issue.

        Can you please provide your mail id so that if you want i can add the content of thise files.

        One of the solutions i found in google is like remove osgi-cache before deploy the application.Please help us on this.

        Thanks,
        Vinod

        Show
        vinodkumarbolla added a comment - Hi Jeremy Actually i am new to this glassfish. Can you please explain in which file(eg application.xml) i need to keep this,with syntax(root role to add). my project structure is like this ear --application.xml --glassfish-resources.xml --sun-application.xml(recently added as fix for client not authorized for invocation exception but still we are facing that exception. It does not have any roles) jar --META-INF --ejb-jar.xml --sun-ejb-jar.xml --web.xml war --web.xml And also We have not specified roles any where in above files. One more thing is the exception occured in testing environments i am trying to reproduce the issue but i am not able to reproduce that issue. Can you please provide your mail id so that if you want i can add the content of thise files. One of the solutions i found in google is like remove osgi-cache before deploy the application.Please help us on this. Thanks, Vinod
        Hide
        Jeremy_Lv added a comment - - edited

        Here's my mail address: lvsongping@cn.fujitsu.com or lvsongping@gmail.com

        BTW: I want to make sure how did you update your application when you get such failure messages?

        Show
        Jeremy_Lv added a comment - - edited Here's my mail address: lvsongping@cn.fujitsu.com or lvsongping@gmail.com BTW: I want to make sure how did you update your application when you get such failure messages?

          People

          • Assignee:
            Hong Zhang
            Reporter:
            vinodkumarbolla
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: