Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5920

Error deploying EJB jar with bean names containing international characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.1
    • None
    • None
    • Security Level: public (Regular issues)
    • None

    Description

      A user reported the following error deploying an ejb jar containing beans with international characters. They also reported that specifying "-Dfile.encoding=UTF8" as GERONIMO/JAVA_OPTS resolved the issue. This was on windows.

      Are international characters valid, spec-wise? If so, we should consider updating our startup script. This behavior may be windows specific.

      2011-04-18 18:45:58,666 ERROR [DirectoryHotDeployer] Unable to deploy: EJB not gbean not found 测试�务器.MapServer
      org.apache.geronimo.common.DeploymentException: EJB not gbean not found 测试�务器.MapServer
                      at org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.getEjbGBean(EjbDeploymentBuilder.java:462)
                      at org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java:382)
                      at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:764)
                      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652)
                      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
                      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:136)
                      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 org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
                      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
                      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:851)
                      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
                      at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
                      at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
                      at java.lang.Thread.run(Thread.java:619)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevan Kevan Lee Miller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: