glassfish
  1. glassfish
  2. GLASSFISH-12077

MalformedObjectNameException when deploying the attached WAR with application versioning

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: V3
    • Fix Version/s: 3.1
    • Component/s: deployment
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      12,077

      Description

      Deploy the WAR at:

      http://wiki.glassfish.java.net/attach/3.1MS1ClusteringDemo/helloworld.war

      as

      ./bin/asadmin deploy --name=helloworld:test helloworld.war

      to see the stack trace as:

      [#|2010-05-27T18:31:17.331-0700|INFO|glassfish3.1|org.apache.catalina.valves.ValveBase|_ThreadID=29;_ThreadName=Grizzly-4848(5);|Can't
      register valve org.apache.catalina.authenticator.BasicAuthenticator@57794ba1
      javax.management.MalformedObjectNameException: Invalid character ':' in value
      part of property
      at javax.management.ObjectName.construct(ObjectName.java:602)
      at javax.management.ObjectName.<init>(ObjectName.java:1403)
      at org.apache.catalina.valves.ValveBase.createObjectName(ValveBase.java:496)
      at org.apache.catalina.valves.ValveBase.registerMBean(ValveBase.java:527)
      at org.apache.catalina.valves.ValveBase.start(ValveBase.java:351)
      at
      org.apache.catalina.authenticator.AuthenticatorBase.start(AuthenticatorBase.java:1049)
      at
      org.apache.catalina.core.StandardPipeline.addValve(StandardPipeline.java:470)
      at org.apache.catalina.core.ContainerBase.addValve(ContainerBase.java:1373)
      at
      com.sun.enterprise.web.WebModuleContextConfig.authenticatorConfig(WebModuleContextConfig.java:383)
      at
      com.sun.enterprise.web.WebModuleContextConfig.start(WebModuleContextConfig.java:266)
      at
      com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextConfig.java:163)
      at
      org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:145)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:5257)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:482)
      at
      org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:913)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:897)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:681)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1923)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1602)
      at com.sun.enterprise.web.WebApplication.start(WebApplication.java:87)
      at org.glassfish.internal.data.EngineRef.start(EngineRef.java:127)
      at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:242)
      at
      org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:249)
      at
      com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:352)
      at
      com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:194)
      at
      org.glassfish.deployment.admin.EnableCommand.execute(EnableCommand.java:201)
      at
      com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:329)
      at
      com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:344)
      at
      com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:913)
      at
      com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:91)
      at
      com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1016)
      at
      com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1005)
      at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:366)
      at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:203)
      at
      com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
      at
      com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:113)
      at
      com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:803)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:706)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:987)
      at
      com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:178)
      at
      com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
      at
      com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
      at
      com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
      at
      com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
      at
      com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
      at
      com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:526)
      at
      com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:507)
      at java.lang.Thread.run(Thread.java:637)

      #]

      list-applications show that the application is deployed correctly.

      1. versioning_MS2_4.diff
        26 kB
        Romain Grécourt

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Romain Grécourt
            Reporter:
            arungupta
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: