Quantcast
Channel: Siggi Gladitsch Tracker
Viewing all articles
Browse latest Browse all 426

Re: HP BSM: Cannot handle 'api_getservertime.asp'

$
0
0

Hi Hristov,

is it BPM which access the URL and fails, or are you doing this manually,
I don't understand what you mean with
> when i try to load from some bpm host

Do you try to add new BPM instances into BSM, and it fails?What BPM version and on what platform?

The url "http://gwserver/topaz/topaz_api/api_getservertime.asp"
usually returns data like
1^**^1
time
06/12/2016 10:49:42

The error
Cannot handle 'api_getservertime.asp'. Error: Error invoking ServerDispatcher.getServerTime() for uri api_getservertime.asp.
Error: Can't find class ServerDispatcher while trying to invoke getServerTime()

in fact is really strange. I think I've seen it before, but ..

Do you have multiple GW servers? Assuming that you try to register one or more BPMs, do you use a LB URL, or the GW directly?
Did you try with the other GW?

The file <BSM>\AppServer\TMC\resources\ServletDispatcher.xml tells BSM what do do in case of an access to api_getservertime.asp
 <URI
  name="api_getservertime.asp"
  class="ServerDispatcher"
  method="getServerTime"
/>

Can you check the file and make sure it contains this entry?
I'm more than confident that the issue is NOT a missing class in a .jar file, but another thing.

Do these URLs work fine?

http://<server_name>/ext/mod_mdrv_wrap.dll?type=test
should come back with
Web driver is up. Time is: 1208446128

http://<GW server>/topaz/topaz_api/api_reporttransactions_ex.asp
should come back with
0

The code you are looking for resides in <HPBSM>\ServletContainer\webapps\tmc.war and gets deployed during JBoss startup to a temporary file (for example)
<HPBSM>\EJBContainer\server\mercury\tmp\deploy\tmp8153843845401291096tmc.ear
the path to the code within the .war / .ear file is
 \WEB-INF\classes\com\mercury\topaz\tmc\networking\http\dispatchers\
where you can find ServerDispatcher.class and similar stuff.

So what you can do to start with is a plain search / find command under <HPBSM> and look for Dispatcher,
as already mentioned, I'm pretty sure that you'll find it on the GW server.

Greetings
Siggi


Viewing all articles
Browse latest Browse all 426

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>