Re: BSM 9.10: Error when trying to log into BSM (2975 Views)
Reply
Valued Contributor
TEX2020
Posts: 377
Registered: ‎02-02-2011
Message 1 of 28 (3,057 Views)

BSM 9.10: Error when trying to log into BSM

Hello,  

 

I am getting the below error from IIS.   I have checked everything on the Microsoft website for the article on this error. 

 

HTTP Error 500.0 - Internal Server Error Calling LoadLibraryEx on ISAPI filter "I:\HPBSM\bin\IIS\isapi_redirect.dll" failed

 

Does anyone have a clue as to hpow to resovle this or seen this with BSM 9.10 and IIS 7.5?

 

Any information greatly appreciated.

 

Thanks.

Tex2020
Advisor
kumarandp
Posts: 27
Registered: ‎07-06-2011
Message 2 of 28 (3,046 Views)

Re: BSM 9.10: Error when trying to log into BSM

Check the handlers for the IIS.

Also mention what handlers are enabled currently for the website.

 

Regards,

kumaran dp

Honored Contributor
parkar
Posts: 2,344
Registered: ‎01-23-2010
Message 3 of 28 (3,041 Views)

Re: BSM 9.10: Error when trying to log into BSM

1. Stop BSM.
2. Open the cmd prompt.
3. Go to the %topaz_home%\dat folder.
4. Run iisremoveconfig.bat.
5. Run iisconfig.bat
6. Restart BSM

 

 

Since IIS uses the process identity to load and run an ISAPI Filter, it means that the process identity failed to have ACL to load the ISAPI Filter DLL. For IIS6 in worker process isolation mode, the process identity is configurable and is at least a member of the IIS_WPG group

 

 

Also Checked permissions of the file isapi_redirect.dll, shows
Administrators (<hostname>\Administrators)
SYSTEM
 
On my (working) system there also is
Users (<hostname>\Users) with Users : Read & Execute

Changed that, now the filter loads.
Restarted IIS and BAC

 

Revert in  case you face any issue

 


.

Cheers!

Nvr Blame a day in ur life....... Good day gives "happiness" & Bad day gives "experience" ......
Honored Contributor
Rajasekhar Gundu
Posts: 1,085
Registered: ‎03-31-2008
Message 4 of 28 (3,040 Views)

Re: BSM 9.10: Error when trying to log into BSM

Hi Kumaran,

Ensure the ID with which your BSM service is running is having admin rights on GW & DPS server.

First stop BSM Service. Then run <BAC_install_dir>\dat\iisremoveconfig.bat and then again
<BAC_install_dir>\dat\iisconfig.bat. It should fix the issue.

Regards,
Raj

Like this Post? Click Kudos! to show appreciation.
Is your issue addressed? Click "ACCEPT AS SOLUTION" against the post which helped you the most.
Valued Contributor
TEX2020
Posts: 377
Registered: ‎02-02-2011
Message 5 of 28 (3,024 Views)

Re: BSM 9.10: Error when trying to log into BSM

Hello Parkar and Rajasekhar,

 

I performed the above requested steps and still I ge tthe same error.

 

 

HTTP Error 500.0 - Internal Server Error Calling LoadLibraryEx on ISAPI filter "I:\HPBSM\bin\IIS\isapi_redirect.dll" failed

 

 

I also cleared my cache and still get same error.

 

Im running IIS 7.5

 

Anything else I cna check or any ideas on how to resolve this?

 

Thanks in advance.

Tex2020
Honored Contributor
Rajasekhar Gundu
Posts: 1,085
Registered: ‎03-31-2008
Message 6 of 28 (2,999 Views)

Re: BSM 9.10: Error when trying to log into BSM

Can you attach the supervisor log to see where it is having an issue. Also check that IIS is running without any issue. You can check System/Application event logs to see if IIS is starting fine when you try to restart IIS service. If it seems to that IIS is corrupted, you can stop BSM service and re-install IIS and then run the above config mentioned.


Regards,
Raj

Like this Post? Click Kudos! to show appreciation.
Is your issue addressed? Click "ACCEPT AS SOLUTION" against the post which helped you the most.
Frequent Advisor
DannyWang
Posts: 52
Registered: ‎10-07-2010
Message 7 of 28 (2,975 Views)

Re: BSM 9.10: Error when trying to log into BSM

Make sure you have all the IIS7 roles installed

Here is all the IIS7 roles required for BSM:

ISAPI Extensions; ISAPI Filters; IIS Management Scripts and Tools.

 

Danny Wang

Frequent Advisor
Tarif Louah
Posts: 58
Registered: ‎01-06-2010
Message 8 of 28 (2,964 Views)

Re: BSM 9.10: Error when trying to log into BSM

Are you using OutOftheBox setup or you changed the "default web site"?.

Also, please check if  full path is used  in IISconfig.bat and IISRemoveConfig.bat? if not, you may open a ticket with HP support.

Valued Contributor
TEX2020
Posts: 377
Registered: ‎02-02-2011
Message 9 of 28 (2,933 Views)

Re: BSM 9.10: Error when trying to log into BSM

Rajeskare,

 

Here are the supervisor log files attached.

 

Let me know what you find.

 

Thanks.

Tex2020
Honored Contributor
Rajasekhar Gundu
Posts: 1,085
Registered: ‎03-31-2008
Message 10 of 28 (2,922 Views)

Re: BSM 9.10: Error when trying to log into BSM

I don't see any issues on BSM side and there is no information about attaching to IIS. Have you tried re-installing IIS? Can you try again running the batch files manually from command prompt & provide the output?

See the application/system event logs for any error information for IIS. One way to verify if your IIS is working fine is to remove topaz at the end BSM URL and open it in a browser. You should get "It Works" message.

Just wondering if this is an upgraded environment from BAC 8.x to BSM 9.10 environment? If so, there is a bigger issue that need to be addressed.

On the other note, is this a single server deployment & your DB installed on same server?

Regards,
Raj

Like this Post? Click Kudos! to show appreciation.
Is your issue addressed? Click "ACCEPT AS SOLUTION" against the post which helped you the most.
Honored Contributor
Sujith Kumar C.S
Posts: 871
Registered: ‎04-07-2010
Message 11 of 28 (2,912 Views)

Re: BSM 9.10: Error when trying to log into BSM

Looks to me like there was an upgrade and IIS settings (path to isapi_redirect.dll) have not been updated properly during the upgrade, causing access to BSM Gateway server to fail with HTTP error.

 

The IIS configuration needs to be changed (via IIS applet in Windows) to reflect the new updated path.


Can you try this, stop BSM services and on GW execute the following

 

In the example below BAC 8.07 was installed in D:\HPBAC, BSM 9.12 was installed to D:\HPBSM,
So the path needs to be changed from "D:\HPBAC" to "D:\HPBSM"

start
 Internet Information Services (IIS) Manager
on the left pane select
 <BSM_GW_host>
  IIS
on the right pane click on
    ISAPI Filters
      Filter name : jakartaFilter
      Executable  : D:\HPBSM\bin\IIS\isapi_redirect.dll

on the right pane click on
    ISAPI and CGI Restrictions
      ISAPI or CGI path : D:\HPBSM\bin\IIS\isapi_redirect.dll
      Description       : jakartaFilter
      Allow extension path to execute : checked

 


--Sujith

Close the thread if your issue is resolved to make the thread meaningful and complete. Do show gratitude to people who helped you by assigning points.
Valued Contributor
TEX2020
Posts: 377
Registered: ‎02-02-2011
Message 12 of 28 (2,904 Views)

Re: BSM 9.10: Error when trying to log into BSM

Rajasekhar,

 

IIS has not been reinstalled as it has been working prior to BSM isntall.

 

I ran the batch scripts again and outputs are attahced.

 

I can see IIS 7 is working fine and says "It works"

 

No this is not an upgraded environment. This is a new clean install on W2K8 Server.

 

This is a single server deployment.

 

Also, I got this error after running the iisconfig.bat script:

 

 

I:\HPBSM\dat>iisconfig.bat
log4j:WARN No appenders could be found for logger (com.mercury.infra.utils.logge
r.LogFactory).
log4j:WARN Please initialize the log4j system properly.

 

Thanks.

Tex2020
Honored Contributor
parkar
Posts: 2,344
Registered: ‎01-23-2010
Message 13 of 28 (2,898 Views)

Re: BSM 9.10: Error when trying to log into BSM

you are getting it works message without topaz

 

Can you provide screenshot of error you are getting while accessing bsm url ?

Cheers!

Nvr Blame a day in ur life....... Good day gives "happiness" & Bad day gives "experience" ......
Valued Contributor
TEX2020
Posts: 377
Registered: ‎02-02-2011
Message 14 of 28 (2,897 Views)

Re: BSM 9.10: Error when trying to log into BSM

Sujith,

 

Here is what I have and it seems correct. I am running in a Standalone setup.

 

 Internet Information Services (IIS) Manager
on the left pane select
 om-w2k8-t-blv1.nw.nos.boeing.com
  IIS
on the right pane click on
    ISAPI Filters
      Filter name : jakartaFilter
      Executable  : I:\HPBSM\bin\IIS\isapi_redirect.dll

on the right pane click on
    ISAPI and CGI Restrictions
      ISAPI or CGI path : I:\HPBSM\bin\IIS\isapi_redirect.dll
      Description       : jakartaFilter
      Allow extension path to execute : checked

 

Thanks.

Tex2020
Valued Contributor
TEX2020
Posts: 377
Registered: ‎02-02-2011
Message 15 of 28 (2,892 Views)

Re: BSM 9.10: Error when trying to log into BSM

Honored Contributor
Rajasekhar Gundu
Posts: 1,085
Registered: ‎03-31-2008
Message 16 of 28 (2,881 Views)

Re: BSM 9.10: Error when trying to log into BSM

[ Edited ]

I hope you have followed this during initial IIS configuration, if not please stop BSM & do this.

If you are installing on a Microsoft Windows Server 2008 and using the IIS 7.X Web server, you must perform the following procedure:
1 In the Control Panel, select Administrative Tools > Server Manager.
2 Right-click Roles and select Add server role to launch the Add Roles wizard.
3 On the Select Role Services page, select Web Server (IIS) role to install.
If a popup opens with the question Add features required for Web Server (IIS)?, click the Add required features button.
4 Click Next twice.
5 In the Select Role Services panel, select the following roles:
➤ Application Development section: ISAPI Extensions and ISAPI Filters.
➤ Management Tools section: IIS Management Scripts and Tools
6 Click Install.


Regards,
Raj

Like this Post? Click Kudos! to show appreciation.
Is your issue addressed? Click "ACCEPT AS SOLUTION" against the post which helped you the most.
Honored Contributor
Rajasekhar Gundu
Posts: 1,085
Registered: ‎03-31-2008
Message 17 of 28 (2,877 Views)

Re: BSM 9.10: Error when trying to log into BSM

Ok. after reading through the logs you have provided, understood that the IIS Config has failed.

In the same directory, you will see IISRemoveConfigNEW.bat & IISConfigNEW.bat batch files. Can you run them manually in command prompt & provide the output. This should fix the issue. Ensure that your BSM is stopped while you are doing this. If possible do a hard reboot of the server.

Let us know if it fixed the environment.

Regards,
Raj

Like this Post? Click Kudos! to show appreciation.
Is your issue addressed? Click "ACCEPT AS SOLUTION" against the post which helped you the most.
Valued Contributor
TEX2020
Posts: 377
Registered: ‎02-02-2011
Message 18 of 28 (2,868 Views)

Re: BSM 9.10: Error when trying to log into BSM

Rajasekhar,

 

I performed steps as you requested.

 

I have attached the outputs of the IISRemoveConfigNEW and IISConfigNEW.

 

I also performed a reboot of server afterwards.

 

Still having the same issue.

 

Also, Why is the website:  http://om-w2k8-t-blv1.nw.nos.boeing.com/HPBSM/  trying to download files to my computer?

 

It does this everytime.

 

Thanks.

 

 

Tex2020
Honored Contributor
Sujith Kumar C.S
Posts: 871
Registered: ‎04-07-2010
Message 19 of 28 (2,861 Views)

Re: BSM 9.10: Error when trying to log into BSM

Just a quick thought. I hope you are not running both web servers (apache and IIS)

 

Try the following

 

1. Using Windows Explorer go to %TOPAZ_HOME%\dat folder.
2. Edit the IISConfig.bat file.
3. Under the IIS7 section make sure the full path to APPCMD is specified:
e.g. %systemroot%\system32\inetsrv\APPCMD
4. Lines 35 - 51 have double quotes (") at the beginning of the line which start "%systemroot%\system32\inetsrv\APPCMD. Remove the double quote (") at the beginning of the each line (line numbers 35 to 51).
5. Save the file.
6. Run: IISConfig.bat
7. Open Internet Explorer and connect to the HP BSM again

 

--Sujith 

Close the thread if your issue is resolved to make the thread meaningful and complete. Do show gratitude to people who helped you by assigning points.
Valued Contributor
TEX2020
Posts: 377
Registered: ‎02-02-2011
Message 20 of 28 (2,858 Views)

Re: BSM 9.10: Error when trying to log into BSM

Sujith,

 

I did as you requested and now I am getting this error:

 

http://om-w2k8-t-blv1.nw.nos.boeing.com/HPBSM

 

HTTP Error 500.0 - Internal Server Error Calling LoadLibraryEx on ISAPI filter "I:\HPBSM\bin\ApmApiIsapiFilter.dll" failed

 

I searched for this file and it is nowhere on my server and not in that directory.

 

Any ideas?

 

Thanks.

Tex2020
Honored Contributor
Rajasekhar Gundu
Posts: 1,085
Registered: ‎03-31-2008
Message 21 of 28 (2,854 Views)

Re: BSM 9.10: Error when trying to log into BSM

As I know The ApmApiISAPIFilter is a old IIS filter used in IIS 5.x & IIS 6.0. I think, this time IIS reconfig worked fine, but you used OLD IISConfig.bat file can you follow the same guidelines as mentioned by Sujeet (or refer the below link for additional safety precautions) and run the IISConfigRemoveNEW.bat & then IISConfigNEW.bat files.

 

http://support.openview.hp.com/selfsolve/document/KM1416574

 

1. Ensure to change the absolute path in 3 files (IISConfigRemove.bat, IISConfigRemoveNEW.bat & IISConfigNEW.bat)

2. First run the remove config for OLD filter by executing IISConfigRemove.bat

3. And then the remove config for NEW filter by executing IISConfigRemoveNEW.bat

4. Then finally run the IISConfigNEW.bat

 

Make sure to execute all these batch files from Command prompt by admin login to the server. Ensure to stop BSM server before doing this.

 

After completing the steps, verify that there is only one Jakarta filter in webserver which is the indication that IIS Config executed correctly. If still issue persists, the output from the above three executions help further.

 

 


Regards,
Raj

Like this Post? Click Kudos! to show appreciation.
Is your issue addressed? Click "ACCEPT AS SOLUTION" against the post which helped you the most.
Honored Contributor
Rajasekhar Gundu
Posts: 1,085
Registered: ‎03-31-2008
Message 22 of 28 (2,850 Views)

Re: BSM 9.10: Error when trying to log into BSM

Hi

The files (login.jsp & others) getting downloaded instead of executing them is because of permission issues in IIS. It is known issue when right permissions are not set.

Refer: http://forums.iis.net/t/1166609.aspx

If you run the NEW IIS Config successfully, it should fix this permission issue as well.

Regards,
Raj

Like this Post? Click Kudos! to show appreciation.
Is your issue addressed? Click "ACCEPT AS SOLUTION" against the post which helped you the most.
Valued Contributor
TEX2020
Posts: 377
Registered: ‎02-02-2011
Message 23 of 28 (2,830 Views)

Re: BSM 9.10: Error when trying to log into BSM

Rajasekhar,

 

I have attached the outputs of all three IISConfig commands that you requested I run.

 

It looks like it can not find APPCMD from within scripts.

 

Also, the Jakarta Filter was not created within the ISAPI Filters area of IIS.

 

Any ideas?

 

Thanks.

Tex2020
Honored Contributor
Rajasekhar Gundu
Posts: 1,085
Registered: ‎03-31-2008
Message 24 of 28 (2,820 Views)

Re: BSM 9.10: Error when trying to log into BSM

You have not modified the IISConfigNEW..bat file :).

I have asked to modify both the NEW batch files to include absolute path for APPCMD as %systemroot%\system32\inetsrv\APPCMD. Try again only this.

Regards,
Raj

Like this Post? Click Kudos! to show appreciation.
Is your issue addressed? Click "ACCEPT AS SOLUTION" against the post which helped you the most.
Valued Contributor
TEX2020
Posts: 377
Registered: ‎02-02-2011
Message 25 of 28 (2,815 Views)

Re: BSM 9.10: Error when trying to log into BSM

Rajasekhar,

 

I performed what update within the IISConfigNEW.bat file.

 

Here is output from command and errors:

 

I:\HPBSM\dat>IISConfigNEW.bat

I:\HPBSM\dat>rem IIS configuration

I:\HPBSM\dat>if "1" == "0" goto end

I:\HPBSM\dat>echo
ECHO is on.

I:\HPBSM\dat>copy I:\HPBSM\bin\IIS\isapi_redirect-amd64.dll I:\HPBSM\bin\IIS\isa
pi_redirect.dll
        1 file(s) copied.

I:\HPBSM\dat>call I:\HPBSM\bin\run64bit-batch.bat I:\HPBSM\dat\IISRegisterIsapiR
edirect.bat

I:\HPBSM\dat>SET PRODUCT_HOME_PATH=I:\HPBSM

I:\HPBSM\dat>I:\HPBSM\JRE64\bin\java.exe -cp I:\HPBSM\lib\configserver.jar;I:\HP
BSM\lib\javacore.jar;I:\HPBSM\lib\log4j.jar com.mercury.infra.configserver.Execu
teWindows64BitBatch I:\HPBSM\dat\IISRegisterIsapiRedirect.bat
log4j:WARN No appenders could be found for logger (com.mercury.infra.utils.logge
r.LogFactory).
log4j:WARN Please initialize the log4j system properly.
I:\HPBSM\dat>regedit /s I:\HPBSM\dat\64bitRedirector.reg

I:\HPBSM\dat>rem mark filter - for redirect filter configuration. Don't delete t
his

I:\HPBSM\dat>rem mark 1 for iis config class - don't delete this

I:\HPBSM\dat>if "7" == "7" goto iis7

I:\HPBSM\dat>CD C:\Windows\System32\inetsrv

I:\HPBSM\dat>C:\Windows\System32\inetsrv\APPCMD set app "Default Web Site/" /app
licationPool:DefaultAppPool
APP object "Default Web Site/" changed

I:\HPBSM\dat>C:\Windows\System32\inetsrv\APPCMD add app /site.name:"Default Web
Site" /path:/ext  /physicalPath:I:\HPBSM\bin /applicationPool:DefaultAppPool
APP object "Default Web Site/ext" added
VDIR object "Default Web Site/ext" added

I:\HPBSM\dat>C:\Windows\System32\inetsrv\APPCMD add app /site.name:"Default Web
Site" /path:/jakarta  /physicalPath:I:\HPBSM\bin\IIS /applicationPool:DefaultApp
Pool
APP object "Default Web Site/jakarta" added
VDIR object "Default Web Site/jakarta" added

I:\HPBSM\dat>C:\Windows\System32\inetsrv\APPCMD set site "Default Web Site" /bin
dings:"http/*:80:" /limits.connectionTimeout:00:15:00
SITE object "Default Web Site" changed

I:\HPBSM\dat>C:\Windows\System32\inetsrv\APPCMD set config -section:system.webSe
rver/staticContent /+"[fileExtension='.properties',mimeType='application/octet-s
tream']"
Applied configuration changes to section "system.webServer/staticContent" for "M
ACHINE/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"

I:\HPBSM\dat>C:\Windows\System32\inetsrv\APPCMD set config -section:system.webSe
rver/staticContent /+"[fileExtension='.SSX',mimeType='application/octet-stream']
"
Applied configuration changes to section "system.webServer/staticContent" for "M
ACHINE/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"

I:\HPBSM\dat>C:\Windows\System32\inetsrv\APPCMD set config -section:system.webSe
rver/staticContent /+"[fileExtension='.SHP',mimeType='application/octet-stream']
"
Applied configuration changes to section "system.webServer/staticContent" for "M
ACHINE/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"

I:\HPBSM\dat>C:\Windows\System32\inetsrv\APPCMD set config -section:system.webSe
rver/staticContent /+"[fileExtension='.savf,mimeType='application/octet-stream']
"
ERROR ( message:Malformed collection indexer; format is [@position,name='value',
name2='value2',...].  The @position specifier is optional, and be '@start', '@en
d', or '@N' where N is a numeric index into the collection. )

I:\HPBSM\dat>C:\Windows\System32\inetsrv\APPCMD set config -section:system.webSe
rver/isapiFilters /+"[name='jakartaFilter',path='I:\HPBSM\bin\IIS\isapi_redirect
.dll',enabled='True']" /commit:apphost
Applied configuration changes to section "system.webServer/isapiFilters" for "MA
CHINE/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"

I:\HPBSM\dat>C:\Windows\System32\inetsrv\APPCMD set config "Default Web Site/jak
arta" -section:system.webServer/handlers /accessPolicy:Read,Script,Execute /comm
it:apphost
Applied configuration changes to section "system.webServer/handlers" for "MACHIN
E/WEBROOT/APPHOST/Default Web Site/jakarta" at configuration commit path "MACHIN
E/WEBROOT/APPHOST"

I:\HPBSM\dat>C:\Windows\System32\inetsrv\APPCMD set config -section:system.webSe
rver/security/isapiCgiRestriction /+"[path='I:\HPBSM\bin\IIS\isapi_redirect.dll'
,allowed='True',description='jakartaFilter']" /commit:apphost
ERROR ( message:New add object missing required attributes. Cannot add duplicate
 collection entry of type 'add' with unique key attribute 'path' set to 'I:\HPBS
M\bin\IIS\isapi_redirect.dll'
. )

I:\HPBSM\dat>net stop w3svc
The World Wide Web Publishing Service service is stopping.
The World Wide Web Publishing Service service was stopped successfully.


I:\HPBSM\dat>net start w3svc
The World Wide Web Publishing Service service is starting.
The World Wide Web Publishing Service service was started successfully.

I:\HPBSM\dat>

 

Any ideas?

 

Thanks.



Tex2020
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.