0 Replies Latest reply on Jan 21, 2016 5:53 AM by davidklchan

    Exception found when deploying Coldfusion 11 to Wildfly

    davidklchan Level 1

      Hi all,

       

      I am trying to deploy ColdFusion 11 as an EAR application to Wildfly. What I have done is:

       

      1. Install ColdFusion 11 in my computer using JEE configuration

      2. Copy the cfusion.ear from ColdFusion11 directory to my Wildfly (version 8.0.0 Final) standalone/deployments directory.

      3. Start Wildfly.

       

      Actually I can access Coldfusion admin page and run the template without errors. However, I find several exception errors in my startup log and don't know what it is. I only capture the first one encountered as below:

       

      21:21:17,918 INFO  [stdout] (Thread-91) [2016/01/21 21:21:17] [DEBUG] [Thread-91] Unable to inject com/adobe/internal/ddxm/model/FolderType$Description$JaxbAccessorF_content
      
      21:21:17,918 INFO  [stdout] (Thread-91) java.lang.reflect.InvocationTargetException
      21:21:17,918 INFO  [stdout] (Thread-91)      at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      21:21:17,934 INFO  [stdout] (Thread-91)      at java.lang.reflect.Method.invoke(Method.java:497)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:181)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:85)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:87)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:164)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection.optimize(Accessor.java:252)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.(TransducedAccessor.java:231)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor.get(TransducedAccessor.java:173)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.property.ValueProperty.(ValueProperty.java:77)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:106)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.(ClassBeanInfoImpl.java:171)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:481)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:500)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.(ArrayElementProperty.java:108)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.(ArrayElementNodeProperty.java:58)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.GeneratedConstructorAccessor38.newInstance(Unknown Source)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      21:21:17,934 INFO  [stdout] (Thread-91)      at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:124)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.(ClassBeanInfoImpl.java:171)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:481)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:500)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.(SingleElementNodeProperty.java:100)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.GeneratedConstructorAccessor37.newInstance(Unknown Source)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      21:21:17,934 INFO  [stdout] (Thread-91)      at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:124)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.(ElementBeanInfoImpl.java:91)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:467)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:498)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.property.ArrayReferenceNodeProperty.(ArrayReferenceNodeProperty.java:83)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      21:21:17,934 INFO  [stdout] (Thread-91)      at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:124)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.(ClassBeanInfoImpl.java:171)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:481)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.(ClassBeanInfoImpl.java:158)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:481)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:500)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.(SingleElementNodeProperty.java:100)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.GeneratedConstructorAccessor37.newInstance(Unknown Source)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      21:21:17,934 INFO  [stdout] (Thread-91)      at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:124)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.(ClassBeanInfoImpl.java:171)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:481)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:315)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:188)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      21:21:17,934 INFO  [stdout] (Thread-91)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      21:21:17,934 INFO  [stdout] (Thread-91)      at java.lang.reflect.Method.invoke(Method.java:497)
      21:21:17,934 INFO  [stdout] (Thread-91)      at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:137)
      21:21:17,934 INFO  [stdout] (Thread-91)      at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:108)
      21:21:17,934 INFO  [stdout] (Thread-91)      at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
      21:21:17,934 INFO  [stdout] (Thread-91)      at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
      21:21:17,934 INFO  [stdout] (Thread-91)      at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
      21:21:17,934 INFO  [stdout] (Thread-91)      at com.adobe.internal.ddxm.Executive.(Executive.java:89)
      21:21:17,934 INFO  [stdout] (Thread-91)      at coldfusion.document.DocumentServiceImpl.callAssemblerInitFonts(DocumentServiceImpl.java:1827)
      21:21:17,934 INFO  [stdout] (Thread-91)      at coldfusion.document.DocumentServiceImpl.initializeDocumentService(DocumentServiceImpl.java:308)
      21:21:17,934 INFO  [stdout] (Thread-91)      at coldfusion.document.DocumentServiceImpl.access$000(DocumentServiceImpl.java:85)
      21:21:17,934 INFO  [stdout] (Thread-91)      at coldfusion.document.DocumentServiceImpl$1.run(DocumentServiceImpl.java:251)
      21:21:17,934 INFO  [stdout] (Thread-91) Caused by: java.lang.LinkageError: loader (instance of  coldfusion/bootstrap/BootstrapClassLoader): attempted  duplicate class definition for name: "com/adobe/internal/ddxm/model/FolderType$Description$JaxbAccessorF_content"
      21:21:17,934 INFO  [stdout] (Thread-91)      at java.lang.ClassLoader.defineClass1(Native Method)
      21:21:17,934 INFO  [stdout] (Thread-91)      at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
      21:21:17,934 INFO  [stdout] (Thread-91)      at java.lang.ClassLoader.defineClass(ClassLoader.java:642)
      21:21:17,934 INFO  [stdout] (Thread-91)      ... 68 more
      
      

       

      I hope there's a solution and let me get rid of it. Any ideas/hints are highly appreciated. Thanks for the help.

       

      David