cancel
Showing results for 
Search instead for 
Did you mean: 

JSPM not accepting SDM password

Former Member
0 Kudos

Hi,

I am in process of applying java packages in my solman java instance.I have mapped the rootbin to windows from where I am executing my JSPM.When JSPM asks for SDM password,Its not accepting the password supplied.But I can login to SDM using the same password.Below is the log of SDTgui.err. I have already maintained host enteries in the host file of local and remote machine.

com.sap.sdt.server.core.services.tool.ToolConnectFailedException: Connection to JSPM could not be established, see following messages.

Could not connect to host localhost on port 6240.

java.net.ConnectException: Connection refused: connect

at com.sap.sdt.server.core.services.tool.AbstractToolService.connectTool(AbstractToolService.java:88)

at com.sap.sdt.server.core.services.tool.AbstractToolService.addGui(AbstractToolService.java:61)

at com.sap.sdt.server.ext.jump.AbstractJumpService.addGui(AbstractJumpService.java:75)

at com.sap.sdt.gui.core.admin.SDTGuiAdmin.logon(SDTGuiAdmin.java:229)

at com.sap.sdt.gui.core.SDTGui.initLocalGui(SDTGui.java:166)

at com.sap.sdt.gui.core.SDTGui.initGui(SDTGui.java:130)

at com.sap.sdt.gui.core.SDTGui.start(SDTGui.java:73)

at com.sap.sdt.gui.core.SDTGui.main(SDTGui.java:57)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.sap.sdt.server.core.admin.GuiManager.startAsMethod(GuiManager.java:178)

at com.sap.sdt.server.core.admin.GuiManager.startGui(GuiManager.java:109)

at com.sap.sdt.server.core.admin.SDTServerAdmin.startGui(SDTServerAdmin.java:814)

at com.sap.sdt.server.core.admin.SDTServerAdmin.start(SDTServerAdmin.java:583)

at com.sap.sdt.server.core.SDTServer.start(SDTServer.java:82)

at com.sap.sdt.server.core.SDTServer.main(SDTServer.java:54)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:80)

at com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:77)

at SDTGui.main(SDTGui.java:50)

Exception in thread "AWT-EventQueue-0" Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(Unknown Source)

at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source)

at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown Source)

at javax.swing.JScrollBar.setValues(Unknown Source)

at javax.swing.plaf.basic.BasicScrollPaneUI.syncScrollPaneWithViewport(Unknown Source)

at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.viewportStateChanged(Unknown Source)

at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(Unknown Source)

at javax.swing.JViewport.fireStateChanged(Unknown Source)

at javax.swing.JViewport$ViewListener.componentResized(Unknown Source)

at java.awt.Component.processComponentEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(Unknown Source)

at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source)

at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown Source)

at javax.swing.JScrollBar.setValues(Unknown Source)

at javax.swing.plaf.basic.BasicScrollPaneUI.syncScrollPaneWithViewport(Unknown Source)

at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.viewportStateChanged(Unknown Source)

at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(Unknown Source)

at javax.swing.JViewport.fireStateChanged(Unknown Source)

at javax.swing.JViewport.setViewSize(Unknown Source)

at javax.swing.ViewportLayout.layoutContainer(Unknown Source)

at java.awt.Container.layout(Unknown Source)

at java.awt.Container.doLayout(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validate(Unknown Source)

at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)

at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

java.lang.NullPointerException

at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(Unknown Source)

at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source)

at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown Source)

at javax.swing.JScrollBar.setValues(Unknown Source)

at javax.swing.plaf.basic.BasicScrollPaneUI.syncScrollPaneWithViewport(Unknown Source)

at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.viewportStateChanged(Unknown Source)

at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(Unknown Source)

at javax.swing.JViewport.fireStateChanged(Unknown Source)

at javax.swing.JViewport.reshape(Unknown Source)

at java.awt.Component.setBounds(Unknown Source)

at java.awt.Component.setBounds(Unknown Source)

at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)

at java.awt.Container.layout(Unknown Source)

at java.awt.Container.doLayout(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validate(Unknown Source)

at javax.swing.SwingUtilities.updateComponentTreeUI(Unknown Source)

at javax.swing.plaf.metal.MetalLookAndFeel$AATextListener.updateWindowUI(Unknown Source)

at javax.swing.plaf.metal.MetalLookAndFeel$AATextListener.updateAllUIs(Unknown Source)

at javax.swing.plaf.metal.MetalLookAndFeel$AATextListener.access$200(Unknown Source)

at javax.swing.plaf.metal.MetalLookAndFeel$AATextListener$1.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Any help will be highly appreciated.

Regards!!

Ravi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Christoph ,

Thanks for the input,unfortunately we cannot stop and start tcp now as its hosting some other business application.

Is there any other workaround to clear off that ping thing?Can you please let me know how you figured out the ping stuck?

Regards!!

Ravi

Former Member
0 Kudos

Hi Ravi,

just do ping 'hostname' on your greenscreen to os400. Then you will recognizie that it takes several seconds before the (successful) ping is done. When JSPM is started, the process also waits sometimes for a few seconds (without CPU usage) which I guess is also due to resolving hostnames.

BTW: I chechked the SDM log during a JSPM connect and you can see that some connection attempt is being made but then the connection is closed. It doesn't read like the password is being rejected.

So I really think it has something to do with your network. When do you think you can stop IPv6?

Thanks

Christoph

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Christoph,

Thanks for pointing us in the right direction.we changed the the hostname search priority to local from remote in CHGTCPDMN and its worked.Now jspm is accepting the password.

Thanks again for you help!!

Regards!!

Ravi

Former Member
0 Kudos

Hi Christoph,

We tried stopping and starting tcp without IPv6,unfortunately after start we were not able to ping to the server so We stopped all the subsystem and started it again.But still I can see the delay using hostname.Is there any other way to disable Ipv6 or can we increase the time out in JSPM?

Regards!!

Ravi

Former Member
0 Kudos

Hi Christoph,

Yes you are right I have opened the OSS message but the reponse from SAP is very slow.

I am able to ping from OS400 host also, its working fine.I had already configured those hostname and IP address on AS400 side.

Any other suggestion??

Regards!!

Ravi

Former Member
0 Kudos

Hi Ravi,

I logged on to your system via service connection. I can see that ping is stuck for quite a while, probably during name resolution. I know of issues with DNS when IPv6 is enabled on V5R4. Can you disable IPv6? E.g. by ENDTCP and STRTCP STRIP6(*NO)?

See if that helps...

Christoph

Former Member
0 Kudos

Hi,

Yes I had checked ,no other JSPM is running and also the port 6240 is idle.

Regards!!

Ravi

Former Member
0 Kudos

Have you checked that there isn't already another JSPM process active or some other process blocks port 6240?

Kind regards,

Former Member
0 Kudos

Hi Ravi,

I think this is about the problem you reported with OSS ticket 1024650, right?

Do the ping test that you did on your windows server also on the os400 server. Does it work there? ... I guess not since you have fixed it on windows with a hostname entry. So your server name doesn't seem to be maintained in DNS (if you are using DNS at all). I guess you can fix the issue in any case by adding your server name to the host table on your OS400 server (CFGTCP, option 10).

Best regards

Christoph