BusinessObjects Board

Changing Default Restful URL

Hi,
Is there a way I can change the default restful webservices URL.

Instead of using the machine name or IP can I use DNS name if I make anu changes in the tomcat file. Does this help

Thanks,


ash0550 :canada: (BOB member since 2011-09-12)

First, the REST service (as part of WACS), uses an embedded instance of Tomcat. It is not affected by the settings in the tomcat/conf directory.

In CMC -> Services -> WebApplicationContainerService, you can change the port for WACS from its default 6405 to something else.

If you want to change the URL that BO presents as the REST access URL, go to Applications -> RESTful Web Service.

Joe


joepeters :us: (BOB member since 2002-08-29)

Thanks Joe
I have another question about this
Do I need to restart any services after i change the URL from applications?


ash0550 :canada: (BOB member since 2011-09-12)

You will likely need to restart the WACS.


joepeters :us: (BOB member since 2002-08-29)

I tried changing the it to DNS and restarted the WACS server but i still have the same error. For some reason it only works with IP address


ash0550 :canada: (BOB member since 2011-09-12)

What are you changing and what error are you getting?


joepeters :us: (BOB member since 2002-08-29)

I am changing it to http://Myreports.domainname.Com:6405/bipwrs

and it says connection refused.

I used the same url on browser and I get the same error. I am thinking if i have to make any changes to BOE.war files for the changes to take effect


ash0550 :canada: (BOB member since 2011-09-12)

BOE.war is the source of the Tomcat-based web applications, not WACS.

are you able to access biprws via any host name or IP?


joepeters :us: (BOB member since 2002-08-29)

I am able to access it via machine IP and tomcathostname


ash0550 :canada: (BOB member since 2011-09-12)

I think I know what’s happening here.

You said you were using "http://Myreports.domainname.Com:6405/bipwrs ". Does myreports.domainname.com actually exist in your DNS? If not, it needs to be created.


joepeters :us: (BOB member since 2002-08-29)

The DNS does exist. We use the same DNS for our opendoc feature


ash0550 :canada: (BOB member since 2011-09-12)

You will need to have “myreports.domainname.com” created in DNS in order for it to work.


joepeters :us: (BOB member since 2002-08-29)

I am not sure if I follow and I apologize but

we use myreports.domainname.com/BOE/BI and myreports.domainname.com/BOE/CMC for our users and customers logging into BO. It does mean that we have this one created right or am I missing anything here

Once again thanks Joe for helping me with this


ash0550 :canada: (BOB member since 2011-09-12)

What is “myreports.domainname.com”? If it is a load balancer, then the problem is most likely due to the load balancer not forwarding port 6405.

Joe


joepeters :us: (BOB member since 2002-08-29)

Joe i asked my nw team to check this and they confirmed that the dns name is listening in port number 443 and in the backend servers attached to it are listening in port number 8080.

What would be my next step ?

Thanks,
Sri


ash0550 :canada: (BOB member since 2011-09-12)

Ok, that makes sense. You have a load balancer that is receiving traffic on the server’s SSL port, and redirecting to non-SSL Tomcat. Nothing wrong with that.

Probably the simplest thing to do is have the load balancer also forward port 6405 to the some port on your BO server. Thus, http://myreports.domainname.com:6405 will redirect to http://actual_bo_server_name:6405. You might have to add “myreports.domainname.com” to the WACS’ proxy server settings.

In my case, I set up a rename with a redirect, so I’m actually forwarding the /biprws directory on port 80 on my load balancer to :6405/biprws on my BO server. So, http://load_balancer/biprws redirects to http://bo_server:6405/biprws. This way I don’t have to muck around with ports when calling the REST service. You may or may not want to do the same.


joepeters :us: (BOB member since 2002-08-29)

Thanks , I will work on it and let you know


ash0550 :canada: (BOB member since 2011-09-12)

You have the URL pointing to your Tomcat server. RESTful web services do NOT run in Tomcat. They actually run in the Web Application Container Server (WACS) that is a server process on the CMS.

-Dell


hilfy :us: (BOB member since 2007-04-16)