Comentários (2)

1 RuneH comentou às Link permanente

Hi

 
Did download the zip-file and did try to run it
 
D:\temp>d:\WebSphere\AppServer\java\jre\bin\java.exe -cp GetWebSphereTopology.jar;JSON4J.jar com.mike.samples.GetWebSphereTopology
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
at com.mike.samples.GetWebSphereTopology.main(GetWebSphereTopology.java:117)
 
Problem is: I am not able to find the source inside the zip file so I am a bit stuck trying to figure out what I am doing wrong.

2 MikeC711 comentou às Link permanente

Hey Rune, I should have included the source and I will put the source zip up as soon as I finish here. This was a little quick and dirty and there may be configurations I had not accounted for. That code is in a small helper method that searches for a string ... somehow the method likely got called with an empty or null String to search. I have attached the source. Can you tell me the WebSphere version and the basics of the configuration (ie: ND/Base, # nodes, ...). Thanks

Incluir um Comentário Incluir um Comentário