java.lang.VerifyError: org/jboss/remoting3/remote/HttpUpgradeConnectionProvider2019 Community Moderator Electionwhich 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

Who deserves to be first and second author? PhD student who collected data, research associate who wrote the paper or supervisor?

Should I tell my boss the work he did was worthless

PTIJ: Why can't I eat anything?

Offered promotion but I'm leaving. Should I tell?

Grey hair or white hair

If the Captain's screens are out, does he switch seats with the co-pilot?

Single word request: Harming the benefactor

How do I deal with a powergamer in a game full of beginners in a school club?

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

Is having access to past exams cheating and, if yes, could it be proven just by a good grade?

A three room house but a three headED dog

Replacing Windows 7 security updates with anti-virus?

Is there any way to damage Intellect Devourer(s) when already within a creature's skull?

Space in array system equations

How to pass a string to a command that expects a file?

Make a transparent 448*448 image

infinitive telling the purpose

How do you like my writing?

Should I take out a loan for a friend to invest on my behalf?

Is "history" a male-biased word ("his+story")?

How do I locate a classical quotation?

Examples of a statistic that is not independent of sample's distribution?

Can someone explain what is being said here in color publishing in the American Mathematical Monthly?

They call me Inspector Morse



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



2019 Community Moderator Electionwhich 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
    yesterday















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
    yesterday













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 yesterday









Justin Bertram

3,9141518




3,9141518










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
    yesterday

















  • 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
    yesterday
















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
yesterday





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

– Justin Bertram
yesterday












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

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme