ejb - How to use WebSphere Runtime libraries inside Spring Boot as stand along app -


i trying build spring boot console app. started using spring initializer v 1.3.1

it's simple 'hello world' no web, no jpa, no edited pom.xml , added dependency jar file called 'com.ibm.ws.ejb.thinclient_8.5.0.jar '

all of sudden following errors upon build

caused by: org.springframework.beans.beaninstantiationexception: failed instantiate [javax.management.mbeanserver]: factory method 'mbeanserver' threw exception; nested exception org.springframework.jmx.mbeanservernotfoundexception: not access websphere's adminservicefactory.getmbeanfactory/getmbeanserver method; nested exception java.lang.nullpointerexception @ org.springframework.beans.factory.support.simpleinstantiationstrategy.instantiate(simpleinstantiationstrategy.java:189) ~[spring-beans-4.2.4.release.jar:4.2.4.release] @ org.springframework.beans.factory.support.constructorresolver.instantiateusingfactorymethod(constructorresolver.java:588) ~[spring-beans-4.2.4.release.jar:4.2.4.release] ... 37 common frames omitted 

how can include websphere 8 run time libraries spring-boot stand-alone app

goal: trying develop simple stand alone java app, invoke ejb services via iiop. app runs out-side (as stand alone client) , talks ejb app inside websphere.

by default, jmx enabled in spring-boot.

if not using jmx project. add line in application.properties. should solve problem.

spring.jmx.enabled=false 

Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -