cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4592
Views
5
Helpful
14
Replies

Problems with TMS PE - HTTP Error 503

David Anstee
Level 4
Level 4

I have moved our TMS server from an old hardware to a VMware instance.

I have the main TMS application moved across OK, but I am having problems with TMS PE.

The database is stored on a SQL server seperate from the TMS server.

Unfortuantely TMS PE shows errors when checking the Diagnostics and also trying to view the Directory.

In the TMS Log File (log-tmsagentproxy.txt) I see the following errors. Can anyone help please?

2013-03-19 21:29:38,452 [15] WARN  Tandberg.TMS.Framework.Proxy.ReverseProxy - Request failure: http://localhost:8788/dr/groups/id/435c247b-569b-47a8-abb3-96a07ece3271

2013-03-19 21:29:38,452 [15] ERROR Tandberg.TMS.Framework.Proxy.ReverseProxy -

System.Net.WebException: The remote server returned an error: (503) Server Unavailable.

   at System.Net.HttpWebRequest.GetResponse()

   at Tandberg.TMS.Framework.Proxy.ReverseProxy.ProcessRequest(HttpContext httpContext, Dictionary`2 proxyRequestHeaders)

2013-03-19 21:29:38,452 [33] WARN  Tandberg.TMS.Framework.Proxy.ReverseProxy - Request failure: http://localhost:8788/fm/groups/id/1e925f2d-7762-4165-83b6-a8bef319d580

2013-03-19 21:29:38,452 [33] ERROR Tandberg.TMS.Framework.Proxy.ReverseProxy -

System.Net.WebException: The remote server returned an error: (503) Server Unavailable.

   at System.Net.HttpWebRequest.GetResponse()

   at Tandberg.TMS.Framework.Proxy.ReverseProxy.ProcessRequest(HttpContext httpContext, Dictionary`2 proxyRequestHeaders)

2013-03-19 21:29:38,452 [33] WARN  Tandberg.TMS.Framework.Proxy.ReverseProxy - Request failure: http://localhost:8788/up/groups/id/1e925f2d-7762-4165-83b6-a8bef319d580

2013-03-19 21:29:38,452 [33] ERROR Tandberg.TMS.Framework.Proxy.ReverseProxy -

System.Net.WebException: The remote server returned an error: (503) Server Unavailable.

   at System.Net.HttpWebRequest.GetResponse()

I am running Windows Server 2008

I have installed the latestl Java 32-bit from www.java.com

I have tried reinstalling both Java and TMS PE

14 Replies 14

thobonho
Level 1
Level 1

I had the same issue when TMSPE was already installed and I tried to make it point to another tmspe database.

To make it works, I had to uninstall TMSPE, attach/restore the tmspe database in SQL server (don't change its name) and re-install TMSPE again. During the setup, the existing database will be detected and you'll have the option to re-use it.

Once installation has completed, restarting the TMSPE service was not enough and I had to reboot the whole TMS server.

Hope this helps!

Hi Thomas,

Thanks for your suggestion.

I have removed TMS PE application from the old server

I also removed TMS PE application from the new server

I detatched the databse from the SQL server

I then reattached the database on the SQL server

I reinstalled TMS PE application on the new server

Following the configuration/deployment guide to the book

I still get exactly the same error

Any other suggestions?

Thanks

David

Also, it might be worth noting, from the TMS machine itself, if I browse to:

http://localhost:8788/

I get:

HTTP ERROR: 404

Problem accessing /. Reason:

    Not Found

--------------------------------------------------------------------------------

Powered by Jetty://

Is this usual?

Hi David

Try this:

1. Uninstall TMSPE completely, remove the folders after uninstall

2. Uninstall Java and make sure you install java 6 update 33 and only this java version is installed

3. Reboot

4. On the SQL server enable the SQL browser service, if not already enabled.

5. Reinstall TMSPE

I have seen a few of these issues and usually a reinstall fixes the issue. Did the TMSPE installation ever had a "Installation ended prematurely" and then you had to re-install it?

Best Regards

Magnus Ohm

Hi Magnus,

I have tried the following:

Uninstalled TMS PE

Removed the Provisioning folder

Uninstalled Java 7 update xx

Rebooted TMS server

Installed Java 6 update 33 from https://edelivery.oracle.com/akam/otn/java/jdk/6u33-b05/jre-6u33-windows-i586.exe (which was an absolute pain to find!!)

Verfified in Add/Remove programs and the only applications installed are:

    Cisco TMS Suite

    Java 6 Update 33

    Microsoft .NET Framework 4.5

    Microsoft Visual C++ 2008 x64

    Microsoft Visual C++ 2008 x86

    VMware Tools

Check that the SQL server has the browser service enabled, and it already has

Check that the SQL server has TCP/IP client enabled, and it already has

Reinstalled TMS PE

STILL the problem persists

Can you suggest anything else? Causing me a big problem now.

Thanks

David

Magnus,

Everytime I have installed and reinstalled TMS PE, it has completed without any errors at all. None of the installations taken place have produced an error or ended prematurely.

Thanks

David

labombaa69
Level 1
Level 1

Hi David,

Don't know if it will help, But I had a similar issue when we upgraded to PE on our TMS server, the fix for me was to make sure the permissions on the following directories were correct.

wwwProvisioning

wwwTMS

Right click and select Security and make sure the following users are listed and have read & execute, List folder contents and read.

Users (System name\Users)

IIS_IUSRS (System name\IIS_IUSRS)

hope this helps..

Hi Alan,

I checked and found that the MACHINENAME\Users was added with the correct permissions, but the IIS_USRS didnt have any permissions.

I have enabled the correct permissions on both accounts now.

However - unfortuantely it has not made any difference

I am still at a loss .....

Any other suggestions?

Thanks

David

Hey David

I sent you an e-mail.

/Magnus

labombaa69
Level 1
Level 1

Hi David,

One question, Do you get the same error when you try the full path of the provisioning agent??

http://localhost:8787/tmsagent/provisioning/directory/list.action

ok, This was the link we used before going to PE, so it might be a little different..But if you back out to Legacy provisioning this might help???

The isse was resolved and it was related to an SQL account. When David changed the SQL user to a working one it started working again.

The error seen in the logs was:

2013-03-20 17:11:29,436 [ur] [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] WARN  U: c.m.v.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@66c508 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (5). Last acquisition attempt exception:

java.sql.SQLException: Login failed for user ''. The user is not associated with a trusted SQL Server connection

/Magnus

rasimyigit
Level 1
Level 1

Hi,
I had the Same Problem with http error. You must connect the provisioning source with a manage phonebook . After that it should works ;-)

Sent from Cisco Technical Support iPhone App

deeswain
Level 1
Level 1

Hi,

Looks like the application is looking for some FindMe data, which it is unable to retrieve from the server. 

/fm/groups/id/1e925f2d-7762-4165-83b6-a8bef319d580 

The most likely cause is, your FindMe could be disabled. I recently came across a couple of similar issues. We enabled the FindMe on the TMS server to resolve this excessive logging issue. This way you dont have to re-install the TMSPE. Why it is looking for that FM group is still un-clear to me. But the workaround certainly helped in reducing the error logs.

 

that resolved it for me.