[jira] [Commented] (CONNECTORS-1707) LiveLink Connector Ant build broken

2022-04-27 Thread Julien Massiera (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17528777#comment-17528777
 ] 

Julien Massiera commented on CONNECTORS-1707:
-

Thanks [~kwri...@metacarta.com], indeed I missed to clean but I needed to 
perform a global "ant clean" because just the "ant clean-core-deps" was not 
enough. 

Now I cant build everything but I still have a test fail on the cmisoutput, I 
will send a mail on the dev mailing list on the subject

> LiveLink Connector Ant build broken
> ---
>
> Key: CONNECTORS-1707
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1707
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: LiveLink connector
>Reporter: Piergiorgio Lucidi
>Priority: Major
>
> Trying to build the LiveLink connector executing Ant returns an error. Using 
> Maven everything is correctly compiled.
> The cause is related to the WSDL generation, the Ant process is failing but 
> it seems to return a success outcome even if we have the following error 
> executing ant classcreate-wsdls:
>  
> {code:java}
> WSDLToJava Error: org.apache.cxf.bus.extension.ExtensionException: Could not 
> load extension class org.apache.cxf.common.util.ASMHelperImpl.{code}
>  
> Below the entire output of the Ant build:
>  
> {code:java}
> pjlucidi@MBP-Pj csws $ant
> Buildfile: 
> /Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/connectors/csws/build.xmlcalculate-condition:precompile-warn:precompile-check:has-RMI-check:compile-interface:jar-interface:has-stubs-check:has-proprietary-materials-check:build-stubs-check:compile-stubs:compile-implementation:setup-rmic:rmic-build-all:compile-rmic:jar-rmistub:lib-rmi:classcreate-wsdls:classcreate-wsdl-cxf:
>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for 
> an explanation.
>      [java] SLF4J: Actual binding is of type 
> [org.slf4j.impl.SimpleLoggerFactory]
>      [java] WARNING: An illegal reflective access operation has occurred
>      [java] WARNING: Illegal reflective access by 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector 
> (file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/connector-common-lib/jaxb-impl-2.3.0.jar)
>  to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
>      [java] WARNING: Please consider reporting this to the maintainers of 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector
>      [java] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
>      [java] WARNING: All illegal access operations will be denied in a future 
> release
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding source
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding domsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding staxsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding saxsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding jaxb
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend jaxws
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend jaxws21
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend cxf
>      [java] [main] WARN org.apache.velocity.deprecation - configuration key 
> 'class.resource.loader.class' has been deprecated in favor of 
> 'resource.loader.class.class'
>      [java] [main] WARN org.apache.velocity.deprecation - configuration key 
> 'resource.loader' has been deprecated in favor of 'resource.loaders'
>      [java]
>      [java] WSDLToJava Error: 
> org.apache.cxf.bus.extension.ExtensionException: Could not load extension 
> class org.apache.cxf.common.util.ASMHelperImpl.
>      [java]
>      [java] Java Result: 1classcreate-wsdl-cxf:
>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: Found binding in 
> 

[jira] [Commented] (CONNECTORS-1707) LiveLink Connector Ant build broken

2022-04-27 Thread Karl Wright (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17528703#comment-17528703
 ] 

Karl Wright commented on CONNECTORS-1707:
-

Perhaps the problem seen here is simply due to the fact that the version of CXF 
has been updated and the people trying this so far have not done 
clean-core-deps?  I can believe that.


> LiveLink Connector Ant build broken
> ---
>
> Key: CONNECTORS-1707
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1707
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: LiveLink connector
>Reporter: Piergiorgio Lucidi
>Priority: Major
>
> Trying to build the LiveLink connector executing Ant returns an error. Using 
> Maven everything is correctly compiled.
> The cause is related to the WSDL generation, the Ant process is failing but 
> it seems to return a success outcome even if we have the following error 
> executing ant classcreate-wsdls:
>  
> {code:java}
> WSDLToJava Error: org.apache.cxf.bus.extension.ExtensionException: Could not 
> load extension class org.apache.cxf.common.util.ASMHelperImpl.{code}
>  
> Below the entire output of the Ant build:
>  
> {code:java}
> pjlucidi@MBP-Pj csws $ant
> Buildfile: 
> /Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/connectors/csws/build.xmlcalculate-condition:precompile-warn:precompile-check:has-RMI-check:compile-interface:jar-interface:has-stubs-check:has-proprietary-materials-check:build-stubs-check:compile-stubs:compile-implementation:setup-rmic:rmic-build-all:compile-rmic:jar-rmistub:lib-rmi:classcreate-wsdls:classcreate-wsdl-cxf:
>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for 
> an explanation.
>      [java] SLF4J: Actual binding is of type 
> [org.slf4j.impl.SimpleLoggerFactory]
>      [java] WARNING: An illegal reflective access operation has occurred
>      [java] WARNING: Illegal reflective access by 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector 
> (file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/connector-common-lib/jaxb-impl-2.3.0.jar)
>  to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
>      [java] WARNING: Please consider reporting this to the maintainers of 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector
>      [java] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
>      [java] WARNING: All illegal access operations will be denied in a future 
> release
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding source
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding domsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding staxsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding saxsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding jaxb
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend jaxws
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend jaxws21
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend cxf
>      [java] [main] WARN org.apache.velocity.deprecation - configuration key 
> 'class.resource.loader.class' has been deprecated in favor of 
> 'resource.loader.class.class'
>      [java] [main] WARN org.apache.velocity.deprecation - configuration key 
> 'resource.loader' has been deprecated in favor of 'resource.loaders'
>      [java]
>      [java] WSDLToJava Error: 
> org.apache.cxf.bus.extension.ExtensionException: Could not load extension 
> class org.apache.cxf.common.util.ASMHelperImpl.
>      [java]
>      [java] Java Result: 1classcreate-wsdl-cxf:
>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      

[jira] [Commented] (CONNECTORS-1707) LiveLink Connector Ant build broken

2022-04-27 Thread Karl Wright (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17528701#comment-17528701
 ] 

Karl Wright commented on CONNECTORS-1707:
-

[~julienFL], you missed doing ant clean-core-deps then.

This is what you get when you do ant clean-core-deps , then ant make-core-deps:

{code}
C:\wip\mcf\trunk\lib>dir cxf*.jar
 Volume in drive C is Windows
 Volume Serial Number is F4D8-E4E0

 Directory of C:\wip\mcf\trunk\lib

04/27/2022  04:34 AM 1,433,236 cxf-core-3.5.0.jar
04/27/2022  04:33 AM   182,637 cxf-rt-bindings-soap-3.5.0.jar
04/27/2022  04:33 AM38,461 cxf-rt-bindings-xml-3.5.0.jar
04/27/2022  04:33 AM   115,309 cxf-rt-databinding-jaxb-3.5.0.jar
04/27/2022  04:34 AM   704,040 cxf-rt-frontend-jaxrs-3.5.0.jar
04/27/2022  04:33 AM   371,928 cxf-rt-frontend-jaxws-3.5.0.jar
04/27/2022  04:33 AM   107,654 cxf-rt-frontend-simple-3.5.0.jar
04/27/2022  04:34 AM   190,074 cxf-rt-rs-client-3.5.0.jar
04/27/2022  04:34 AM41,604 cxf-rt-security-3.5.0.jar
04/27/2022  04:34 AM   392,007 cxf-rt-transports-http-3.5.0.jar
04/27/2022  04:33 AM62,930 cxf-rt-transports-http-hc-3.5.0.jar
04/27/2022  04:33 AM75,762 cxf-rt-ws-addr-3.5.0.jar
04/27/2022  04:33 AM   215,385 cxf-rt-ws-policy-3.5.0.jar
04/27/2022  04:33 AM   178,390 cxf-rt-wsdl-3.5.0.jar
04/27/2022  04:33 AM   149,625 cxf-tools-common-3.5.0.jar
04/27/2022  04:33 AM74,208 cxf-tools-validator-3.5.0.jar
04/27/2022  04:33 AM65,948 cxf-tools-wsdlto-core-3.5.0.jar
04/27/2022  04:33 AM45,178 
cxf-tools-wsdlto-databinding-jaxb-3.5.0.jar
04/27/2022  04:33 AM   172,561 cxf-tools-wsdlto-frontend-jaxws-3.5.0.jar
  19 File(s)  4,616,937 bytes
   0 Dir(s)  111,555,883,008 bytes free
{code}


> LiveLink Connector Ant build broken
> ---
>
> Key: CONNECTORS-1707
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1707
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: LiveLink connector
>Reporter: Piergiorgio Lucidi
>Priority: Major
>
> Trying to build the LiveLink connector executing Ant returns an error. Using 
> Maven everything is correctly compiled.
> The cause is related to the WSDL generation, the Ant process is failing but 
> it seems to return a success outcome even if we have the following error 
> executing ant classcreate-wsdls:
>  
> {code:java}
> WSDLToJava Error: org.apache.cxf.bus.extension.ExtensionException: Could not 
> load extension class org.apache.cxf.common.util.ASMHelperImpl.{code}
>  
> Below the entire output of the Ant build:
>  
> {code:java}
> pjlucidi@MBP-Pj csws $ant
> Buildfile: 
> /Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/connectors/csws/build.xmlcalculate-condition:precompile-warn:precompile-check:has-RMI-check:compile-interface:jar-interface:has-stubs-check:has-proprietary-materials-check:build-stubs-check:compile-stubs:compile-implementation:setup-rmic:rmic-build-all:compile-rmic:jar-rmistub:lib-rmi:classcreate-wsdls:classcreate-wsdl-cxf:
>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for 
> an explanation.
>      [java] SLF4J: Actual binding is of type 
> [org.slf4j.impl.SimpleLoggerFactory]
>      [java] WARNING: An illegal reflective access operation has occurred
>      [java] WARNING: Illegal reflective access by 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector 
> (file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/connector-common-lib/jaxb-impl-2.3.0.jar)
>  to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
>      [java] WARNING: Please consider reporting this to the maintainers of 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector
>      [java] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
>      [java] WARNING: All illegal access operations will be denied in a future 
> release
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding source
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding domsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding staxsource
>      [java] [main] INFO 

[jira] [Commented] (CONNECTORS-1707) LiveLink Connector Ant build broken

2022-04-27 Thread Julien Massiera (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17528686#comment-17528686
 ] 

Julien Massiera commented on CONNECTORS-1707:
-

[~kwri...@metacarta.com] , I see that the WSDLToJava includes the cxf jars of 
the connector-common-lib of the dist folder. So I checked it and in my case it 
contains two versions of each cxf lib : the version 3.3.1 and the 3.5.0. This 
is for sure causing troubles 

> LiveLink Connector Ant build broken
> ---
>
> Key: CONNECTORS-1707
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1707
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: LiveLink connector
>Reporter: Piergiorgio Lucidi
>Priority: Major
>
> Trying to build the LiveLink connector executing Ant returns an error. Using 
> Maven everything is correctly compiled.
> The cause is related to the WSDL generation, the Ant process is failing but 
> it seems to return a success outcome even if we have the following error 
> executing ant classcreate-wsdls:
>  
> {code:java}
> WSDLToJava Error: org.apache.cxf.bus.extension.ExtensionException: Could not 
> load extension class org.apache.cxf.common.util.ASMHelperImpl.{code}
>  
> Below the entire output of the Ant build:
>  
> {code:java}
> pjlucidi@MBP-Pj csws $ant
> Buildfile: 
> /Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/connectors/csws/build.xmlcalculate-condition:precompile-warn:precompile-check:has-RMI-check:compile-interface:jar-interface:has-stubs-check:has-proprietary-materials-check:build-stubs-check:compile-stubs:compile-implementation:setup-rmic:rmic-build-all:compile-rmic:jar-rmistub:lib-rmi:classcreate-wsdls:classcreate-wsdl-cxf:
>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for 
> an explanation.
>      [java] SLF4J: Actual binding is of type 
> [org.slf4j.impl.SimpleLoggerFactory]
>      [java] WARNING: An illegal reflective access operation has occurred
>      [java] WARNING: Illegal reflective access by 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector 
> (file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/connector-common-lib/jaxb-impl-2.3.0.jar)
>  to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
>      [java] WARNING: Please consider reporting this to the maintainers of 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector
>      [java] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
>      [java] WARNING: All illegal access operations will be denied in a future 
> release
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding source
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding domsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding staxsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding saxsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding jaxb
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend jaxws
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend jaxws21
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend cxf
>      [java] [main] WARN org.apache.velocity.deprecation - configuration key 
> 'class.resource.loader.class' has been deprecated in favor of 
> 'resource.loader.class.class'
>      [java] [main] WARN org.apache.velocity.deprecation - configuration key 
> 'resource.loader' has been deprecated in favor of 'resource.loaders'
>      [java]
>      [java] WSDLToJava Error: 
> org.apache.cxf.bus.extension.ExtensionException: Could not load extension 
> class org.apache.cxf.common.util.ASMHelperImpl.
>      [java]
>      [java] Java Result: 1classcreate-wsdl-cxf:
>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: Found binding in 
> 

[jira] [Commented] (CONNECTORS-1707) LiveLink Connector Ant build broken

2022-04-27 Thread Karl Wright (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17528652#comment-17528652
 ] 

Karl Wright commented on CONNECTORS-1707:
-

If you want to try experimenting with the ant method that invokes WSDL-to-Java, 
here is the ant production you need to modify (from connector-build.xml):

{code}

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  http://localhost/${wsdlname}"/>
  
  
  
  


{code}

Note that it contains references needed for Java 11, as well as ALL the cxf 
jars in the classpath.

The connector-build.xml jar lives in framework/buildfiles.  It is copied to the 
dist area when the framework part of MCF is built, before the connectors get 
built, so be sure you modify the copy that is being used by the connector build.

As I said before, I cannot much help here since there is no failure for me.


> LiveLink Connector Ant build broken
> ---
>
> Key: CONNECTORS-1707
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1707
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: LiveLink connector
>Reporter: Piergiorgio Lucidi
>Priority: Major
>
> Trying to build the LiveLink connector executing Ant returns an error. Using 
> Maven everything is correctly compiled.
> The cause is related to the WSDL generation, the Ant process is failing but 
> it seems to return a success outcome even if we have the following error 
> executing ant classcreate-wsdls:
>  
> {code:java}
> WSDLToJava Error: org.apache.cxf.bus.extension.ExtensionException: Could not 
> load extension class org.apache.cxf.common.util.ASMHelperImpl.{code}
>  
> Below the entire output of the Ant build:
>  
> {code:java}
> pjlucidi@MBP-Pj csws $ant
> Buildfile: 
> /Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/connectors/csws/build.xmlcalculate-condition:precompile-warn:precompile-check:has-RMI-check:compile-interface:jar-interface:has-stubs-check:has-proprietary-materials-check:build-stubs-check:compile-stubs:compile-implementation:setup-rmic:rmic-build-all:compile-rmic:jar-rmistub:lib-rmi:classcreate-wsdls:classcreate-wsdl-cxf:
>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for 
> an explanation.
>      [java] SLF4J: Actual binding is of type 
> [org.slf4j.impl.SimpleLoggerFactory]
>      [java] WARNING: An illegal reflective access operation has occurred
>      [java] WARNING: Illegal reflective access by 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector 
> (file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/connector-common-lib/jaxb-impl-2.3.0.jar)
>  to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
>      [java] WARNING: Please consider reporting this to the maintainers of 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector
>      [java] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
>      [java] WARNING: All illegal access operations will be denied in a future 
> release
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding source
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding domsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding staxsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding saxsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default 

[jira] [Commented] (CONNECTORS-1707) LiveLink Connector Ant build broken

2022-04-27 Thread Karl Wright (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17528648#comment-17528648
 ] 

Karl Wright commented on CONNECTORS-1707:
-

The class in question is in:

Artifact cxf-core
Group org.apache.cxf
Version 3.5.2



> LiveLink Connector Ant build broken
> ---
>
> Key: CONNECTORS-1707
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1707
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: LiveLink connector
>Reporter: Piergiorgio Lucidi
>Priority: Major
>
> Trying to build the LiveLink connector executing Ant returns an error. Using 
> Maven everything is correctly compiled.
> The cause is related to the WSDL generation, the Ant process is failing but 
> it seems to return a success outcome even if we have the following error 
> executing ant classcreate-wsdls:
>  
> {code:java}
> WSDLToJava Error: org.apache.cxf.bus.extension.ExtensionException: Could not 
> load extension class org.apache.cxf.common.util.ASMHelperImpl.{code}
>  
> Below the entire output of the Ant build:
>  
> {code:java}
> pjlucidi@MBP-Pj csws $ant
> Buildfile: 
> /Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/connectors/csws/build.xmlcalculate-condition:precompile-warn:precompile-check:has-RMI-check:compile-interface:jar-interface:has-stubs-check:has-proprietary-materials-check:build-stubs-check:compile-stubs:compile-implementation:setup-rmic:rmic-build-all:compile-rmic:jar-rmistub:lib-rmi:classcreate-wsdls:classcreate-wsdl-cxf:
>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for 
> an explanation.
>      [java] SLF4J: Actual binding is of type 
> [org.slf4j.impl.SimpleLoggerFactory]
>      [java] WARNING: An illegal reflective access operation has occurred
>      [java] WARNING: Illegal reflective access by 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector 
> (file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/connector-common-lib/jaxb-impl-2.3.0.jar)
>  to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
>      [java] WARNING: Please consider reporting this to the maintainers of 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector
>      [java] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
>      [java] WARNING: All illegal access operations will be denied in a future 
> release
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding source
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding domsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding staxsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding saxsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding jaxb
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend jaxws
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend jaxws21
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend cxf
>      [java] [main] WARN org.apache.velocity.deprecation - configuration key 
> 'class.resource.loader.class' has been deprecated in favor of 
> 'resource.loader.class.class'
>      [java] [main] WARN org.apache.velocity.deprecation - configuration key 
> 'resource.loader' has been deprecated in favor of 'resource.loaders'
>      [java]
>      [java] WSDLToJava Error: 
> org.apache.cxf.bus.extension.ExtensionException: Could not load extension 
> class org.apache.cxf.common.util.ASMHelperImpl.
>      [java]
>      [java] Java Result: 1classcreate-wsdl-cxf:
>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for 
> an explanation.
>      

[jira] [Commented] (CONNECTORS-1707) LiveLink Connector Ant build broken

2022-04-27 Thread Karl Wright (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17528645#comment-17528645
 ] 

Karl Wright commented on CONNECTORS-1707:
-

On a windows system running either Java 8 or Java 11, this does not occur.

It sounds like CXF does some kind of autolocate for this class, and it cannot 
find it on a Mac.  Not sure that we can fix this in ManifoldCF.



> LiveLink Connector Ant build broken
> ---
>
> Key: CONNECTORS-1707
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1707
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: LiveLink connector
>Reporter: Piergiorgio Lucidi
>Priority: Major
>
> Trying to build the LiveLink connector executing Ant returns an error. Using 
> Maven everything is correctly compiled.
> The cause is related to the WSDL generation, the Ant process is failing but 
> it seems to return a success outcome even if we have the following error 
> executing ant classcreate-wsdls:
>  
> {code:java}
> WSDLToJava Error: org.apache.cxf.bus.extension.ExtensionException: Could not 
> load extension class org.apache.cxf.common.util.ASMHelperImpl.{code}
>  
> Below the entire output of the Ant build:
>  
> {code:java}
> pjlucidi@MBP-Pj csws $ant
> Buildfile: 
> /Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/connectors/csws/build.xmlcalculate-condition:precompile-warn:precompile-check:has-RMI-check:compile-interface:jar-interface:has-stubs-check:has-proprietary-materials-check:build-stubs-check:compile-stubs:compile-implementation:setup-rmic:rmic-build-all:compile-rmic:jar-rmistub:lib-rmi:classcreate-wsdls:classcreate-wsdl-cxf:
>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for 
> an explanation.
>      [java] SLF4J: Actual binding is of type 
> [org.slf4j.impl.SimpleLoggerFactory]
>      [java] WARNING: An illegal reflective access operation has occurred
>      [java] WARNING: Illegal reflective access by 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector 
> (file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/connector-common-lib/jaxb-impl-2.3.0.jar)
>  to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
>      [java] WARNING: Please consider reporting this to the maintainers of 
> com.sun.xml.bind.v2.runtime.reflect.opt.Injector
>      [java] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
>      [java] WARNING: All illegal access operations will be denied in a future 
> release
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding source
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding domsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding staxsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding saxsource
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default databinding jaxb
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend jaxws
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend jaxws21
>      [java] [main] INFO org.apache.cxf.tools.wsdlto.core.PluginLoader - 
> Replaced default frontend cxf
>      [java] [main] WARN org.apache.velocity.deprecation - configuration key 
> 'class.resource.loader.class' has been deprecated in favor of 
> 'resource.loader.class.class'
>      [java] [main] WARN org.apache.velocity.deprecation - configuration key 
> 'resource.loader' has been deprecated in favor of 'resource.loaders'
>      [java]
>      [java] WSDLToJava Error: 
> org.apache.cxf.bus.extension.ExtensionException: Could not load extension 
> class org.apache.cxf.common.util.ASMHelperImpl.
>      [java]
>      [java] Java Result: 1classcreate-wsdl-cxf:
>      [java] SLF4J: Class path contains multiple SLF4J bindings.
>      [java] SLF4J: Found binding in 
> [jar:file:/Users/pjlucidi/workspaces/manifoldcf/manifoldcf-trunk/dist/lib/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>      [java] SLF4J: Found binding in 
>