Adpater connection causing the system to hang

Hi

I had a completely working system. I guess this started once after I had to kill the system since it was not responding.

The jdbc adapter started to hang once the system was coming up. So I reinstalled the jdbc adapter assuming that the killing would have messed something up. That did not help.

Then I went to the books and realised that now package dependencies are MANDATORY when using JDBC Adapters. That means that you need to show the adapter services package that its depending on JDBC Adapter pacakge and up the chain. This was required so that the server loads the correct packages in order.

After this change I can see that the JDBC Adapter is correctly loading, but when it loads my adapter connection it reports this error and hangs. Then the server becomes unresponsive and I have to kill it.

This is the error at log level 7 while loading my adpater connections.

2006-01-30 09:51:43 GST [ISS.0028.0012C] WmJDBCAdapter: Startup service (wm.adapter.wmjdbc.admin:registerAdapter)
2006-01-30 09:51:43 GST [ART.0114.1500V3] Adapter Runtime: com.wm.adapter.wmjdbc.JDBCAdapter.constuctor Started.
2006-01-30 09:51:43 GST [ART.0114.1500V3] Adapter Runtime: com.wm.adapter.wmjdbc.JDBCAdapter._init() Started.
2006-01-30 09:51:43 GST [ART.0114.1500V3] Adapter Runtime: com.wm.adapter.wmjdbc.JDBCAdapter.getAdapterDisplayName() Started.
2006-01-30 09:51:43 GST [ART.0114.1108V1] Adapter Runtime: Registering adapter type JDBCAdapter in adapter type manager.
2006-01-30 09:51:43 GST [ART.0114.1500V3] Adapter Runtime: com.wm.adapter.wmjdbc.JDBCAdapter.getAdapterOnlineHelp() Started.
2006-01-30 09:51:43 GST [ART.0118.5504V1] Adapter Runtime (Connection): Starting connection for adapter type JDBCAdapter.
2006-01-30 09:51:43 GST [ART.0118.5505V1] Adapter Runtime (Connection): Starting connection eBankAdapterServices.adapter:BANCS.
2006-01-30 09:51:43 GST [ART.0118.5505V1] Adapter Runtime (Connection): Starting connection eBankAdapterServices.adapter:BANCS.
2006-01-30 09:51:43 GST [ART.0118.5517V1] Adapter Runtime (Connection): [B]Creating connection manager properties: >>>BasicData:Poolable=true,minimumPoolSize=1,maximumPoolSize=10,poolIncrementSize=1,bloc[/b]
[B]kingTimeout=1000,expireTimeout=1000,selectionSize=0,poolOnCommit=true<<[/b]<.
2006-01-30 09:51:45 GST [ETD.0000.0000V1] [STARTUP] Glue 6.0 build 223 (c) 2001-2005 webMethods, Inc.
2006-01-30 09:51:45 GST [ETD.0000.0000V1] [B]Exception in thread "main" java.net.BindException: Address already in use: NET_Bind[/b]
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at java.net.PlainSocketImpl.socketBind(Native Method)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:357)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at java.net.ServerSocket.bind(ServerSocket.java:341)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at java.net.ServerSocket.<init>(ServerSocket.java:208)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at java.net.ServerSocket.<init>(ServerSocket.java:164)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at javax.net.DefaultServerSocketFactory.createServerSocket(Unknown Source)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at electric.net.socket.tcp.TCPSocketFactory.createServerSocket(Unknown Source)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at electric.net.socket.SocketFactories.createServerSocket(Unknown Source)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at electric.net.socket.SocketServer.<init>(Unknown Source)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at electric.webserver.WebServer.<init>(Unknown Source)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at electric.webserver.WebServer.<init>(Unknown Source)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at electric.webserver.WebServers.startWebServer(Unknown Source)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at electric.webserver.WebServers.startWebServer(Unknown Source)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at electric.server.http.HTTP.startup(Unknown Source)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at electric.server.http.HTTP.startup(Unknown Source)
2006-01-30 09:51:45 GST [ETD.0000.0000V1] at com.wm.deployer.main.Test.main(Test.java:19)

Anybody ever came across these things, please share. Since my system is a development laptop I am kind of struck

:slight_smile:

Thahir

Does your IS make use of an embedded instance of webMethods Glue? It appears that a port that either an adapter, Glue or IS needs is already in use.

Mark

Mark

Thanks for the response. Well the problem is solved but the cause and solution is really absurd.

I thought it all happened since I have to kill the IS, well apparently not.

I had a problem with my usual ‘free’ download manager since it always fails to download stuff from https sites. So I installed our companys ‘paid’ download manager and successfully started downloading stuffs. Funny the installtion of the download manager requires a reboot on an XP system, that might tell you many things. The download manager wanted to stay up all the time, but I disabled that feature and decided to turn it on when I needed it.

Any way after the reboot my IS hanged and I had to kill it. For two days I was trying many things and I also checked if I could access the resource (oracle database) and found that oracle was up and running and I could access it using sqlplus. Then I realized that Toad was not able to access anymore. So I wrote a little utility with jdbc driver to connect to the database and even that hung. Somehow my supposedly_turned_off download manager was preventing jdbc connections to the database.

Realising that the only recent change to the system was the download manager, I uninstalled it, yes it required another reboot.

Things are fine and normal now, I wonder what makes us think that when you pay for software you get some quality.

Thahir