cancel
Showing results for 
Search instead for 
Did you mean: 

relay server and rsoe on the same machine for testing supported ?

Former Member
3,653

Hi All,

I want to check if the relay server and outbound enabler can be installed on the same machine ?

If tried , getting error 405 in the logs :

E. 2013-03-06 12:54:42. <OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 405 Method Not Allowed
                         Cache-Control: private
                         Allow: GET, HEAD, OPTIONS, TRACE
                         Content-Type: text/html; charset=utf-8
                         Server: Microsoft-IIS/7.0
                         X-Powered-By: ASP.NET
                         Date: Wed, 06 Mar 2013 12:54:41 GMT
                         Content-Length: 5663

~Regards

reimer_pods
Participant

Could you be more specific about what you've done so far, SQL Anywhere version etc?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member

For example, I have my server/rs_server.dll deployed to a virtually directory called RS under the Default Web Site. In IIS manager GUI, I would select go down Default Web Site -> RS in the left pane and then on the right pane I would go in Handler Mappings -> ISAPI-dll -> Edit -> Request Restrictions -> Verbs and make sure All verbs is selected there. To my understanding, this is the default setup of IIS and if yours is different then may be there are hardening process done to your IIS configuration. If such hardening process will be performed again then I think you need to figureout the root cause of such post-configuration change and to disable this intrusive aspect.

Alternatively, you can use appcmd command line utility to do this. You can have a look in the rs_setup.bat as a reference. It is part of the quick setup script we added last year in order to make initial setup an easy job for everyone even without web server specific experience. If the RS installation is bundled with something that doesn't supply the quick setup script, please let us know, we would like to followup with the re-distributing group.

The OE performs both POST and GET and the example I gave didn't make the restriction tightest for simplicity.

I had examine what is the effect of denying POST using Request Filtering. The result I get is 404 instead of 405. So, I believe Request Filtering is not what you need to look into.

Hope this help. Let us know if you have further RS setup issue.

-Wing

Former Member

POST needs to be allowed as well.

Former Member
0 Kudos

How can this be done ?

regdomaratzki
Product and Topic Expert
Product and Topic Expert

This is absolutely supported, and the majority of the automatted Relay Server testing is done this way. You would likley get the same error if the RSOE was on another machine.

Can you provide the applicationHost.config file for the IIS server so we can see how the Relay Server is configured, and the start line for the RSOE as well?

Former Member
0 Kudos

Hi Reg,

Thanks for the update. We checked with creating a single farm with the relay server and rsoe and getting the same error. RS version is 12.0.1.3769

RSOE logs as below :

I. 2013-03-06 12:54:28. iAnywhere Outbound Enabler Version 12.0.1.3769
I. 2013-03-06 12:54:28. 
I. 2013-03-06 12:54:28. Copyright © 2001-2012, iAnywhere Solutions, Inc.
I. 2013-03-06 12:54:28. Portions copyright © 1988-2012, Sybase, Inc. All rights reserved.
I. 2013-03-06 12:54:28. Use of this software is governed by the Sybase License Agreement.
I. 2013-03-06 12:54:28. Refer to http://www.sybase.com/softwarelicenses.
I. 2013-03-06 12:54:28. 
I. 2013-03-06 12:54:28. <OEHost> 
I. 2013-03-06 12:54:28. <OEHost> iAnywhere Outbound Enabler Version 12.0.1.3769
I. 2013-03-06 12:54:28. <OEHost> Machine vm-10-27-104-17 is running Windows 2008 Build 6002 Service Pack 2
I. 2013-03-06 12:54:28. <OEHost> Software built for X86_64
I. 2013-03-06 12:54:28. <OEHost> Time zone offset from UTC in minutes: 0
I. 2013-03-06 12:54:28. <OEHost> 
E. 2013-03-06 12:54:30. <OEMaster> Backend server: localhost:2480 is down or not accepting requests, pinging again..
I. 2013-03-06 12:54:42. <OEMaster> Successfully connected to backend server: localhost:2480
E. 2013-03-06 12:54:42. <OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 405 Method Not Allowed
                        Cache-Control: private
                        Allow: GET, HEAD, OPTIONS, TRACE
                        Content-Type: text/html; charset=utf-8
                        Server: Microsoft-IIS/7.0
                        X-Powered-By: ASP.NET
                        Date: Wed, 06 Mar 2013 12:54:41 GMT
                        Content-Length: 5663
E. 2013-03-06 12:54:42. <OEHost> doHTTPRequest: read reply failed
E. 2013-03-06 12:54:42. <OEHost> Failed to retrieve relay server peer list. Retrying...

applicationHost.config can be accessed from : http://www-panther.sybase.com/remote/cases/BCP/2013/200000s/209776/applicationHost.config

~Regards