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

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved