Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WPSconfig.sh failed to run and returns java.net.ConnectException

1 view
Skip to first unread message

ian.f...@qedcs.co.uk

unread,
Oct 9, 2006, 4:19:41 AM10/9/06
to
Hi,
I tried to execute WPSConfig.sh in an iSeries machine(using qshell) with WPS 5.1.0.1 to validate the ldap with correct parameters but i got a java.net.ConnectException error. I had even tried to execute the WPSconfig.sh without any parameters and still returns the same error. Please let me know what the problem is and here is the output:

cd /QIBM/UserData/WebAS51/Base/wpefirst/PortalServer51/config
£
wpsconfig.sh validate-ldap
Licensed Materials - Property of IBM
5724-E76, 5724-E77, 5655-M44
(C) Copyright IBM Corp. 2001, 2005 All Rights Reserved.

Running WebSphere Portal 5.1.0.1 configuration
java.lang.reflect.InvocationTargetException
at java.lang.Throwable.<init>(Throwable.java:240)
at java.lang.Exception.<init>(Exception.java:77)
at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at com.ibm.wps.config.FileUtils.createFileOutputStream(FileUtils.java:89)
at com.ibm.wps.config.WpsConfigMain.process(WpsConfigMain.java:435)
at com.ibm.wps.config.WpsConfigMain.main(WpsConfigMain.java:204)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:222)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.ConnectException: A remote host refused an attempted connect operation.
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at java.net.SocketException.<init>(SocketException.java:29)
at java.net.ConnectException.<init>(ConnectException.java:27)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:475)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.<init>(Socket.java:146)

at com.ibm.as400.access.PortMapper.getServerSocket(PortMapper.java:143)
at com.ibm.as400.access.AS400ImplRemote.getConnection(AS400ImplRemote.java:977)
at com.ibm.as400.access.AS400ImplRemote.connect(AS400ImplRemote.java:392)
at com.ibm.as400.access.AS400.connectService(AS400.java:855)
at com.ibm.as400.access.IFSFileOutputStream.connectAndOpen(IFSFileOutputStream.java:598)
at com.ibm.as400.access.IFSFileOutputStream.myConstructor(IFSFileOutputStream.java:393)
at com.ibm.as400.access.IFSFileOutputStream.<init>(IFSFileOutputStream.java:222)
... 11 more
ERROR: Unable to open trace file. Exception follows
java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java:180)
at java.lang.Exception.<init>(Exception.java:29)
at java.lang.RuntimeException.<init>(RuntimeException.java:32)
at java.lang.NullPointerException.<init>(NullPointerException.java:36)
at java.io.Writer.<init>(Writer.java:70)
at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:91)
at com.ibm.wps.config.WpsConfigMain.process(WpsConfigMain.java:435)
at com.ibm.wps.config.WpsConfigMain.main(WpsConfigMain.java:204)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:222)
at java.lang.Thread.run(Thread.java:534)
java.lang.reflect.InvocationTargetException
at java.lang.Throwable.<init>(Throwable.java:240)
at java.lang.Exception.<init>(Exception.java:77)
at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:222)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java:180)
at java.lang.Exception.<init>(Exception.java:29)
at java.lang.RuntimeException.<init>(RuntimeException.java:32)
at java.lang.NullPointerException.<init>(NullPointerException.java:36)
at java.io.Writer.<init>(Writer.java:70)
at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:91)
at com.ibm.wps.config.WpsConfigMain.process(WpsConfigMain.java:435)
at com.ibm.wps.config.WpsConfigMain.main(WpsConfigMain.java:204)
... 5 more
£

0 new messages