java.lang.VerifyError: org/jboss/remoting3/remote/HttpUpgradeConnectionProviderwhich version of Spring + Hibernate + JBoss workWaffle as a module in Jboss 7.1Broadleaf Demosite on JBOSS 7jboss deployment error spring hibernate mavenSpring Boot Spring Data JPA JBoss EAP 6.4Apache-camel with spring-bootDeploy Spring Boot to Wildfly 10Failed to convert property value of type 'com.ibm.mq.jms.MQQueueConnectionFactory' to required type 'javax.jms.ConnectionFactory'Spring application on JBoss ActiveMQ artemis JMS deployment issueJboss logging error while deploying springboot application in jboss server

Why do we read the Megillah by night and by day?

Why is so much work done on numerical verification of the Riemann Hypothesis?

Why electric field inside a cavity of a non-conducting sphere not zero?

Is there a working SACD iso player for Ubuntu?

How to explain what's wrong with this application of the chain rule?

It grows, but water kills it

Fear of getting stuck on one programming language / technology that is not used in my country

Which one is correct as adjective “protruding” or “protruded”?

What is the evidence for the "tyranny of the majority problem" in a direct democracy context?

Approximating irrational number to rational number

Can someone explain how this makes sense electrically?

In Qur'an 7:161, why is "say the word of humility" translated in various ways?

What is Cash Advance APR?

How can Trident be so inexpensive? Will it orbit Triton or just do a (slow) flyby?

What does chmod -u do?

Biological Blimps: Propulsion

Travelling outside the UK without a passport

Why does the Sun have different day lengths, but not the gas giants?

Did arcade monitors have same pixel aspect ratio as TV sets?

Calculating Wattage for Resistor in High Frequency Application?

Closed-form expression for certain product

Can I sign legal documents with a smiley face?

When were female captains banned from Starfleet?

Why did the Mercure fail?



java.lang.VerifyError: org/jboss/remoting3/remote/HttpUpgradeConnectionProvider


which version of Spring + Hibernate + JBoss workWaffle as a module in Jboss 7.1Broadleaf Demosite on JBOSS 7jboss deployment error spring hibernate mavenSpring Boot Spring Data JPA JBoss EAP 6.4Apache-camel with spring-bootDeploy Spring Boot to Wildfly 10Failed to convert property value of type 'com.ibm.mq.jms.MQQueueConnectionFactory' to required type 'javax.jms.ConnectionFactory'Spring application on JBoss ActiveMQ artemis JMS deployment issueJboss logging error while deploying springboot application in jboss server













0















I have a spring boot application. This app need to listen to the messages from JMS topics deployed in another application (let’s say this application name is Topic) . This topic application runs on wildfly 11 and uses ActiveMQ Artemis.



Did the following things,



Pointed my JNDI properties to the Topic application’s address like below,



 java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory
java.naming.provider.url=http-remoting://topic-application-address:port
java.naming.security.principal=username
java.naming.security.credentials=password


Included the jboss-as-cli libraries in the Spring Boot application.



 compile group: 'org.jboss.as', name: 'jboss-as-cli', version: '7.2.0.Final'


When I start the Spring Boot application ,



I’m getting the below exception



 2019-03-07 08:43:45.384 WARN 5307 --- [main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [org/springframework/boot/autoconfigure/jms/JndiConnectionFactoryAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.jms.ConnectionFactory]: Factory method 'connectionFactory' threw exception; nested exception is javax.naming.NamingException: Failed to create remoting connection [Root exception is java.lang.VerifyError: org/jboss/remoting3/remote/HttpUpgradeConnectionProvider]
2019-03-07 08:43:45.385 INFO 5307 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'threadPoolTaskScheduler'
2019-03-07 08:43:45.395 INFO 5307 --- [main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2019-03-07 08:43:45.395 INFO 5307 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2019-03-07 08:43:45.399 INFO 5307 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.


This exception is thrown from jboss-client.jar. This jar is needed since I'm using



java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory



If i remove this jar, I'm getting below error



 2019-03-06 08:38:10.015 WARN 39134 --- [main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [org/springframework/boot/autoconfigure/jms/JndiConnectionFactoryAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.jms.ConnectionFactory]: Factory method 'connectionFactory' threw exception; nested exception is javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory]


So i'm in need of both these jars but not sure how to fix this error










share|improve this question
























  • What JDK are you using to compile / run ?

    – ehsavoie
    Mar 7 at 10:33











  • JDK version is 1.8.0

    – Heisenberg
    Mar 7 at 13:02











  • Did you tried restarting the server using VM argument -verbose:class.

    – Atul
    Mar 7 at 20:04












  • You shouldn't use the cli but the client jar. And also i'm a bit lost there as the client GAV are org.wildfly wildfly-client-all 11.0.0.Final so you should use compile group: 'org.wildfly', name:'wildfly-client-all', version: '11.0.0.Finall'

    – ehsavoie
    Mar 8 at 7:51











  • At this point there's no evidence that indicates ActiveMQ Artemis is involved here. The failure is happening at the JNDI level.

    – Justin Bertram
    Mar 11 at 15:45















0















I have a spring boot application. This app need to listen to the messages from JMS topics deployed in another application (let’s say this application name is Topic) . This topic application runs on wildfly 11 and uses ActiveMQ Artemis.



Did the following things,



Pointed my JNDI properties to the Topic application’s address like below,



 java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory
java.naming.provider.url=http-remoting://topic-application-address:port
java.naming.security.principal=username
java.naming.security.credentials=password


Included the jboss-as-cli libraries in the Spring Boot application.



 compile group: 'org.jboss.as', name: 'jboss-as-cli', version: '7.2.0.Final'


When I start the Spring Boot application ,



I’m getting the below exception



 2019-03-07 08:43:45.384 WARN 5307 --- [main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [org/springframework/boot/autoconfigure/jms/JndiConnectionFactoryAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.jms.ConnectionFactory]: Factory method 'connectionFactory' threw exception; nested exception is javax.naming.NamingException: Failed to create remoting connection [Root exception is java.lang.VerifyError: org/jboss/remoting3/remote/HttpUpgradeConnectionProvider]
2019-03-07 08:43:45.385 INFO 5307 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'threadPoolTaskScheduler'
2019-03-07 08:43:45.395 INFO 5307 --- [main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2019-03-07 08:43:45.395 INFO 5307 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2019-03-07 08:43:45.399 INFO 5307 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.


This exception is thrown from jboss-client.jar. This jar is needed since I'm using



java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory



If i remove this jar, I'm getting below error



 2019-03-06 08:38:10.015 WARN 39134 --- [main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [org/springframework/boot/autoconfigure/jms/JndiConnectionFactoryAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.jms.ConnectionFactory]: Factory method 'connectionFactory' threw exception; nested exception is javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory]


So i'm in need of both these jars but not sure how to fix this error










share|improve this question
























  • What JDK are you using to compile / run ?

    – ehsavoie
    Mar 7 at 10:33











  • JDK version is 1.8.0

    – Heisenberg
    Mar 7 at 13:02











  • Did you tried restarting the server using VM argument -verbose:class.

    – Atul
    Mar 7 at 20:04












  • You shouldn't use the cli but the client jar. And also i'm a bit lost there as the client GAV are org.wildfly wildfly-client-all 11.0.0.Final so you should use compile group: 'org.wildfly', name:'wildfly-client-all', version: '11.0.0.Finall'

    – ehsavoie
    Mar 8 at 7:51











  • At this point there's no evidence that indicates ActiveMQ Artemis is involved here. The failure is happening at the JNDI level.

    – Justin Bertram
    Mar 11 at 15:45













0












0








0








I have a spring boot application. This app need to listen to the messages from JMS topics deployed in another application (let’s say this application name is Topic) . This topic application runs on wildfly 11 and uses ActiveMQ Artemis.



Did the following things,



Pointed my JNDI properties to the Topic application’s address like below,



 java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory
java.naming.provider.url=http-remoting://topic-application-address:port
java.naming.security.principal=username
java.naming.security.credentials=password


Included the jboss-as-cli libraries in the Spring Boot application.



 compile group: 'org.jboss.as', name: 'jboss-as-cli', version: '7.2.0.Final'


When I start the Spring Boot application ,



I’m getting the below exception



 2019-03-07 08:43:45.384 WARN 5307 --- [main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [org/springframework/boot/autoconfigure/jms/JndiConnectionFactoryAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.jms.ConnectionFactory]: Factory method 'connectionFactory' threw exception; nested exception is javax.naming.NamingException: Failed to create remoting connection [Root exception is java.lang.VerifyError: org/jboss/remoting3/remote/HttpUpgradeConnectionProvider]
2019-03-07 08:43:45.385 INFO 5307 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'threadPoolTaskScheduler'
2019-03-07 08:43:45.395 INFO 5307 --- [main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2019-03-07 08:43:45.395 INFO 5307 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2019-03-07 08:43:45.399 INFO 5307 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.


This exception is thrown from jboss-client.jar. This jar is needed since I'm using



java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory



If i remove this jar, I'm getting below error



 2019-03-06 08:38:10.015 WARN 39134 --- [main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [org/springframework/boot/autoconfigure/jms/JndiConnectionFactoryAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.jms.ConnectionFactory]: Factory method 'connectionFactory' threw exception; nested exception is javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory]


So i'm in need of both these jars but not sure how to fix this error










share|improve this question
















I have a spring boot application. This app need to listen to the messages from JMS topics deployed in another application (let’s say this application name is Topic) . This topic application runs on wildfly 11 and uses ActiveMQ Artemis.



Did the following things,



Pointed my JNDI properties to the Topic application’s address like below,



 java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory
java.naming.provider.url=http-remoting://topic-application-address:port
java.naming.security.principal=username
java.naming.security.credentials=password


Included the jboss-as-cli libraries in the Spring Boot application.



 compile group: 'org.jboss.as', name: 'jboss-as-cli', version: '7.2.0.Final'


When I start the Spring Boot application ,



I’m getting the below exception



 2019-03-07 08:43:45.384 WARN 5307 --- [main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [org/springframework/boot/autoconfigure/jms/JndiConnectionFactoryAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.jms.ConnectionFactory]: Factory method 'connectionFactory' threw exception; nested exception is javax.naming.NamingException: Failed to create remoting connection [Root exception is java.lang.VerifyError: org/jboss/remoting3/remote/HttpUpgradeConnectionProvider]
2019-03-07 08:43:45.385 INFO 5307 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'threadPoolTaskScheduler'
2019-03-07 08:43:45.395 INFO 5307 --- [main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2019-03-07 08:43:45.395 INFO 5307 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2019-03-07 08:43:45.399 INFO 5307 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.


This exception is thrown from jboss-client.jar. This jar is needed since I'm using



java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory



If i remove this jar, I'm getting below error



 2019-03-06 08:38:10.015 WARN 39134 --- [main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [org/springframework/boot/autoconfigure/jms/JndiConnectionFactoryAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.jms.ConnectionFactory]: Factory method 'connectionFactory' threw exception; nested exception is javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory]


So i'm in need of both these jars but not sure how to fix this error







jboss jms wildfly






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 11 at 15:44









Justin Bertram

3,9821519




3,9821519










asked Mar 7 at 7:54









HeisenbergHeisenberg

3817




3817












  • What JDK are you using to compile / run ?

    – ehsavoie
    Mar 7 at 10:33











  • JDK version is 1.8.0

    – Heisenberg
    Mar 7 at 13:02











  • Did you tried restarting the server using VM argument -verbose:class.

    – Atul
    Mar 7 at 20:04












  • You shouldn't use the cli but the client jar. And also i'm a bit lost there as the client GAV are org.wildfly wildfly-client-all 11.0.0.Final so you should use compile group: 'org.wildfly', name:'wildfly-client-all', version: '11.0.0.Finall'

    – ehsavoie
    Mar 8 at 7:51











  • At this point there's no evidence that indicates ActiveMQ Artemis is involved here. The failure is happening at the JNDI level.

    – Justin Bertram
    Mar 11 at 15:45

















  • What JDK are you using to compile / run ?

    – ehsavoie
    Mar 7 at 10:33











  • JDK version is 1.8.0

    – Heisenberg
    Mar 7 at 13:02











  • Did you tried restarting the server using VM argument -verbose:class.

    – Atul
    Mar 7 at 20:04












  • You shouldn't use the cli but the client jar. And also i'm a bit lost there as the client GAV are org.wildfly wildfly-client-all 11.0.0.Final so you should use compile group: 'org.wildfly', name:'wildfly-client-all', version: '11.0.0.Finall'

    – ehsavoie
    Mar 8 at 7:51











  • At this point there's no evidence that indicates ActiveMQ Artemis is involved here. The failure is happening at the JNDI level.

    – Justin Bertram
    Mar 11 at 15:45
















What JDK are you using to compile / run ?

– ehsavoie
Mar 7 at 10:33





What JDK are you using to compile / run ?

– ehsavoie
Mar 7 at 10:33













JDK version is 1.8.0

– Heisenberg
Mar 7 at 13:02





JDK version is 1.8.0

– Heisenberg
Mar 7 at 13:02













Did you tried restarting the server using VM argument -verbose:class.

– Atul
Mar 7 at 20:04






Did you tried restarting the server using VM argument -verbose:class.

– Atul
Mar 7 at 20:04














You shouldn't use the cli but the client jar. And also i'm a bit lost there as the client GAV are org.wildfly wildfly-client-all 11.0.0.Final so you should use compile group: 'org.wildfly', name:'wildfly-client-all', version: '11.0.0.Finall'

– ehsavoie
Mar 8 at 7:51





You shouldn't use the cli but the client jar. And also i'm a bit lost there as the client GAV are org.wildfly wildfly-client-all 11.0.0.Final so you should use compile group: 'org.wildfly', name:'wildfly-client-all', version: '11.0.0.Finall'

– ehsavoie
Mar 8 at 7:51













At this point there's no evidence that indicates ActiveMQ Artemis is involved here. The failure is happening at the JNDI level.

– Justin Bertram
Mar 11 at 15:45





At this point there's no evidence that indicates ActiveMQ Artemis is involved here. The failure is happening at the JNDI level.

– Justin Bertram
Mar 11 at 15:45












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55038662%2fjava-lang-verifyerror-org-jboss-remoting3-remote-httpupgradeconnectionprovider%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55038662%2fjava-lang-verifyerror-org-jboss-remoting3-remote-httpupgradeconnectionprovider%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

1928 у кіно

Захаров Федір Захарович

Ель Греко