![]() But I could very well be failing earlier because of that dependency I added. But I can't tell that for sure, I'm guessing, based on what I see above, and the use of the 'VirtualMachineImpl' class. However, to my untrained eye, it almost looks like I may be getting farther past my original error. VirtualMachineImpl.getSystemProperties(VirtualMachineImpl.java:173)Īt 9VirtualMachine.getSystemProperties(J9VirtualMachine.java:52)Īt .was.wlp_managed_8_5.WLPManagedContainer.getVMLocalConnectorAddress(WLPManagedContainer.java:220) : Could not start containerĪt .was.wlp_managed_8_5.WLPManagedContainer.start(WLPManagedContainer.java:194)Īt .(ContainerImpl.java:199)Īt .$8.perform(ContainerLifecycleController.java:163)Ĭaused by: java.io.IOException: input stream closedĪt .(AttachmentConnection.java:49)Īt .(VirtualMachineImpl.java:189)Īt .javaSE. I tried adding that same dependency to my own parent POM, but then I am getting a different error: The tools.jar is still found in the location from the link you included above. I've even tried to add the jar to the CLASSPATH of the running Maven step, but nothing resolves the error.ĭoes this look familiar to anyone? Does that 'VirtualMachine' class only get called under certain circumstances? Does anyone know what those circumstances are? I'm going under the assumption that my code is the only one that is causing that class to be loaded, and none of my colleagues are - but that might be a bad assumption. That "missing" 'tools.jar' file is in the JDK that I am using (and yes, I have verified that the correct JDK is being used). None of my other colleagues are getting this error when running in the same environment, so I'm not sure if my Arquillian tests are using some other functionality that no one else is. ![]() ![]() Ĭaused by: : .VirtualMachineĪt (URLClassLoader.java:600)Īt (ClassLoader.java:941)Īt (ClassLoader.java:868)Īt $AppClassLoader.loadClass(Launcher.java:326)Īt (ClassLoader.java:846)Īt (Native Method)Īt (Class.java:986)Īt .(Reflections.java:52) ![]() Caused by: : .VirtualMachine at (Native Method) at (Class.java:986) at .(Reflections.java:52) at .(ExtensionImpl.java:55) at .(ManagerImpl.java:211) at .(InjectorImpl.java:58) at .(ServiceRegistryLoader.java:108) at .(ServiceRegistryLoader.java:55). Caused by: : null at 0(Native Method) at (NativeConstructorAccessorImpl.java:86) at (DelegatingConstructorAccessorImpl.java:58) at .newInstance(Constructor.java:542) at .(SecurityActions.java:156). But when I try to build using Jenkins on Linux, I am getting the following error:Ĭom. Time elapsed: 0.446 sec <<< ERROR! : Could not create new instance of class .impl.EventTestRunnerAdaptor at .(SecurityActions.java:160). When I run on my local Windows machine, everything runs fine (without Jenkins). I am trying to run my integration tests via a Jenkins build using Maven running JUnit and Arquillian. ![]()
0 Comments
Leave a Reply. |