I am trying to create a spring console application. To start, I use the Spring v 1.3.1 initializer.
it's a simple βhello worldβ without the Internet, no JPA, nothing. Now I edited pom.xml and added a dependency on a jar file called 'com.ibm.ws.ejb.thinclient_8.5.0.jar'
all of a sudden i get the following build errors
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.management.MBeanServer]: Factory method 'mbeanServer' threw exception; nested exception is org.springframework.jmx.MBeanServerNotFoundException: Could not access WebSphere AdminServiceFactory.getMBeanFactory/getMBeanServer method; nested exception is java.lang.NullPointerException at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE] at 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 to include Websphere 8 runtime libraries in a stand-alone Spring-Boot application
Purpose: I am trying to develop a simple standalone java application that will reference EJB services through IIOP. This application works on the side (as a separate client) and talks to the EJB application inside websphere.
source share