[JBoss JIRA] (FORGE-2531) Using mixed versions of slf4j causes SLF4J to print to console a WARN about this
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2531?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2531:
----------------------------------------
Looks like we´ll need to implement package excludes/includes in Furnace addons
> Using mixed versions of slf4j causes SLF4J to print to console a WARN about this
> --------------------------------------------------------------------------------
>
> Key: FORGE-2531
> URL: https://issues.jboss.org/browse/FORGE-2531
> Project: Forge
> Issue Type: Bug
> Affects Versions: 2.20.1.Final
> Reporter: Claus Ibsen
> Priority: Minor
>
> You can reproduce by installing the fabric8 devops addon
> {code}
> addon-install --coordinate io.fabric8.forge:devops,2.2.63
> ***SUCCESS*** Addon io.fabric8.forge:devops,2.2.63 was installed successfully.
> [forge-distribution-2.20.1.Final]$ deSLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/opt/forge-distribution-2.20.1.Final/addons/org-jboss-forge-addon-maven-2-20-1-Final/slf4j-jdk14-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/opt/forge-distribution-2.20.1.Final/addons/org-jboss-forge-addon-database-tools-2-20-1-Final/slf4j-jdk14-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
> {code}
> And then wait some seconds then you see all the slf4j logging. As you can see those 2 addons from forge itself are using mixed slf4j versions.
> 1.7.5 and 1.5.8
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2531) Using mixed versions of slf4j causes SLF4J to print to console a WARN about this
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2531?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2531:
----------------------------------------
Hi,
[~ceposta], what do you mean by "impossible to even use forge"? Does it freeze Forge? Is this warning being displayed several times or just once?
Thanks!
> Using mixed versions of slf4j causes SLF4J to print to console a WARN about this
> --------------------------------------------------------------------------------
>
> Key: FORGE-2531
> URL: https://issues.jboss.org/browse/FORGE-2531
> Project: Forge
> Issue Type: Bug
> Affects Versions: 2.20.1.Final
> Reporter: Claus Ibsen
> Priority: Minor
>
> You can reproduce by installing the fabric8 devops addon
> {code}
> addon-install --coordinate io.fabric8.forge:devops,2.2.63
> ***SUCCESS*** Addon io.fabric8.forge:devops,2.2.63 was installed successfully.
> [forge-distribution-2.20.1.Final]$ deSLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/opt/forge-distribution-2.20.1.Final/addons/org-jboss-forge-addon-maven-2-20-1-Final/slf4j-jdk14-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/opt/forge-distribution-2.20.1.Final/addons/org-jboss-forge-addon-database-tools-2-20-1-Final/slf4j-jdk14-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
> {code}
> And then wait some seconds then you see all the slf4j logging. As you can see those 2 addons from forge itself are using mixed slf4j versions.
> 1.7.5 and 1.5.8
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2531) Using mixed versions of slf4j causes SLF4J to print to console a WARN about this
by christian posta (JIRA)
[ https://issues.jboss.org/browse/FORGE-2531?page=com.atlassian.jira.plugin... ]
christian posta commented on FORGE-2531:
----------------------------------------
I get this same error; makes it impossible to even use forge.
{code}
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/Cellar/jboss-forge/2.20.1.Final/libexec/addons/org-jboss-forge-addon-maven-2-20-1-Final/slf4j-jdk14-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/Cellar/jboss-forge/2.20.1.Final/libexec/addons/org-jboss-forge-addon-database-tools-2-20-1-Final/slf4j-jdk14-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
{code}
> Using mixed versions of slf4j causes SLF4J to print to console a WARN about this
> --------------------------------------------------------------------------------
>
> Key: FORGE-2531
> URL: https://issues.jboss.org/browse/FORGE-2531
> Project: Forge
> Issue Type: Bug
> Affects Versions: 2.20.1.Final
> Reporter: Claus Ibsen
> Priority: Minor
>
> You can reproduce by installing the fabric8 devops addon
> {code}
> addon-install --coordinate io.fabric8.forge:devops,2.2.63
> ***SUCCESS*** Addon io.fabric8.forge:devops,2.2.63 was installed successfully.
> [forge-distribution-2.20.1.Final]$ deSLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/opt/forge-distribution-2.20.1.Final/addons/org-jboss-forge-addon-maven-2-20-1-Final/slf4j-jdk14-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/opt/forge-distribution-2.20.1.Final/addons/org-jboss-forge-addon-database-tools-2-20-1-Final/slf4j-jdk14-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
> {code}
> And then wait some seconds then you see all the slf4j logging. As you can see those 2 addons from forge itself are using mixed slf4j versions.
> 1.7.5 and 1.5.8
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FURNACE-99) furnance-demo - do not work and is not up to date
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-99?page=com.atlassian.jira.plugin... ]
George Gastaldi moved FORGE-2563 to FURNACE-99:
-----------------------------------------------
Project: Forge: Furnace (was: Forge)
Key: FURNACE-99 (was: FORGE-2563)
> furnance-demo - do not work and is not up to date
> -------------------------------------------------
>
> Key: FURNACE-99
> URL: https://issues.jboss.org/browse/FURNACE-99
> Project: Forge: Furnace
> Issue Type: Bug
> Reporter: Claus Ibsen
>
> This repo is out of date
> https://github.com/forge/furnace-demo
> And it does not work if you use latest furnance 2.22.9.Final version with forge 2.20.1.Final
> You get a class cast exception such as
> {code}
> Dec 19, 2015 12:28:36 PM org.jboss.forge.furnace.impl.FurnaceImpl start
> INFO: Furnace [2.22.9.Final] starting.
> Dec 19, 2015 12:28:36 PM org.jboss.forge.furnace.impl.addons.AddonLoader loadAddon
> WARNING: Addon [io.fabric8.forge:camel,2.2.81-SNAPSHOT +NEW] has [8] missing dependencies: [[MISSING: org.jboss.forge.addon:ui,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:rest-client,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.furnace.container:cdi,2.22.7.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:maven,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:parser-java,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:projects,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:parser-xml,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:templates,2.20.1.Final: [IMPORTED] [REQUIRED]]] and will be not be loaded until all required dependencies are available.
> Dec 19, 2015 12:28:36 PM org.jboss.forge.furnace.impl.addons.AddonLoader loadAddon
> WARNING: Addon [io.fabric8.forge:camel,2.2.81-SNAPSHOT +NEW] has [8] missing dependencies: [[MISSING: org.jboss.forge.addon:ui,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:rest-client,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.furnace.container:cdi,2.22.7.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:maven,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:parser-java,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:projects,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:parser-xml,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:templates,2.20.1.Final: [IMPORTED] [REQUIRED]]] and will be not be loaded until all required dependencies are available.
> Exception in thread "main" java.lang.ClassCastException: org.jboss.forge.furnace.versions.SingleVersion cannot be cast to org.jboss.forge.furnace.versions.Version
> at org.jboss.forge.furnace.versions.SingleVersion.compareTo(SingleVersion.java:37)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:123)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96)
> at org.jboss.forge.furnace.versions.Version_$$_javassist_007f9a16-5bd3-4c49-8a64-f19be424f395.compareTo(Version_$$_javassist_007f9a16-5bd3-4c49-8a64-f19be424f395.java)
> at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.createRequest(AddonManagerImpl.java:202)
> at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.install(AddonManagerImpl.java:91)
> at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.install(AddonManagerImpl.java:78)
> at io.fabric8.forge.camel.maven.DeleteMe.execute(DeleteMe.java:57)
> at io.fabric8.forge.camel.maven.DeleteMe.main(DeleteMe.java:44)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2564) jpa-generate-entities-from-tables does not work with oracle db
by Thomas Stuetz (JIRA)
Thomas Stuetz created FORGE-2564:
------------------------------------
Summary: jpa-generate-entities-from-tables does not work with oracle db
Key: FORGE-2564
URL: https://issues.jboss.org/browse/FORGE-2564
Project: Forge
Issue Type: Bug
Affects Versions: 3.0.0.Alpha3
Reporter: Thomas Stuetz
Priority: Minor
after jpa-generate-entities-from-tables the following error occures. It is not possible to choose your schema. All schemes are searched. You have to wait 15min for the error-result
***ERROR*** Duplicate class name 'at.htl.rev_eng_db.model.Dept' generated for 'org.hibernate.mapping.Table(HE120016.DEPT)'. Same name where generated for 'org.hibernate.mapping.Table(HE120016.DEPT)'
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2563) furnance-demo - do not work and is not up to date
by Claus Ibsen (JIRA)
Claus Ibsen created FORGE-2563:
----------------------------------
Summary: furnance-demo - do not work and is not up to date
Key: FORGE-2563
URL: https://issues.jboss.org/browse/FORGE-2563
Project: Forge
Issue Type: Bug
Reporter: Claus Ibsen
This repo is out of date
https://github.com/forge/furnace-demo
And it does not work if you use latest furnance 2.22.9.Final version with forge 2.20.1.Final
You get a class cast exception such as
{code}
Dec 19, 2015 12:28:36 PM org.jboss.forge.furnace.impl.FurnaceImpl start
INFO: Furnace [2.22.9.Final] starting.
Dec 19, 2015 12:28:36 PM org.jboss.forge.furnace.impl.addons.AddonLoader loadAddon
WARNING: Addon [io.fabric8.forge:camel,2.2.81-SNAPSHOT +NEW] has [8] missing dependencies: [[MISSING: org.jboss.forge.addon:ui,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:rest-client,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.furnace.container:cdi,2.22.7.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:maven,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:parser-java,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:projects,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:parser-xml,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:templates,2.20.1.Final: [IMPORTED] [REQUIRED]]] and will be not be loaded until all required dependencies are available.
Dec 19, 2015 12:28:36 PM org.jboss.forge.furnace.impl.addons.AddonLoader loadAddon
WARNING: Addon [io.fabric8.forge:camel,2.2.81-SNAPSHOT +NEW] has [8] missing dependencies: [[MISSING: org.jboss.forge.addon:ui,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:rest-client,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.furnace.container:cdi,2.22.7.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:maven,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:parser-java,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:projects,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:parser-xml,2.20.1.Final: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.addon:templates,2.20.1.Final: [IMPORTED] [REQUIRED]]] and will be not be loaded until all required dependencies are available.
Exception in thread "main" java.lang.ClassCastException: org.jboss.forge.furnace.versions.SingleVersion cannot be cast to org.jboss.forge.furnace.versions.Version
at org.jboss.forge.furnace.versions.SingleVersion.compareTo(SingleVersion.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:123)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96)
at org.jboss.forge.furnace.versions.Version_$$_javassist_007f9a16-5bd3-4c49-8a64-f19be424f395.compareTo(Version_$$_javassist_007f9a16-5bd3-4c49-8a64-f19be424f395.java)
at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.createRequest(AddonManagerImpl.java:202)
at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.install(AddonManagerImpl.java:91)
at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.install(AddonManagerImpl.java:78)
at io.fabric8.forge.camel.maven.DeleteMe.execute(DeleteMe.java:57)
at io.fabric8.forge.camel.maven.DeleteMe.main(DeleteMe.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FURNACE-98) Introduce a Container lookup API
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-98?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FURNACE-98:
----------------------------------------
One idea would be to add a default method {{Furnace.instance()}} and make the default implementation query a SPI interface (implemented by the existing containers). In case no container is found, the following exception would be thrown:
{code}
"No Furnace container found in the current Addon ["org.example.blah:blah-blah"]. This method must be called within a running Furnace Addon that references a valid Furnace Container. Please see http://forge.jboss.org/document/XYZ for more information.
{code}
We should probably document and number our exceptions.
> Introduce a Container lookup API
> --------------------------------
>
> Key: FURNACE-98
> URL: https://issues.jboss.org/browse/FURNACE-98
> Project: Forge: Furnace
> Issue Type: Feature Request
> Components: Container - CDI, Container - Simple, Runtime
> Affects Versions: 2.22.8.Final
> Reporter: George Gastaldi
> Fix For: 2.x Future
>
>
> It would be nice if Furnace provided a standard way to lookup services, without relying on specific classes for each container.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FURNACE-98) Introduce a Container lookup API
by George Gastaldi (JIRA)
George Gastaldi created FURNACE-98:
--------------------------------------
Summary: Introduce a Container lookup API
Key: FURNACE-98
URL: https://issues.jboss.org/browse/FURNACE-98
Project: Forge: Furnace
Issue Type: Feature Request
Components: Container - CDI, Container - Simple, Runtime
Affects Versions: 2.22.8.Final
Reporter: George Gastaldi
Fix For: 2.x Future
It would be nice if Furnace provided a standard way to lookup services, without relying on specific classes for each container.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month