1 Reply Latest reply: Aug 12, 2013 10:45 AM by canada RSS

    UPK 3.6.1 Gkn.OnDemand.Library.OfflineException - Possible solution

    795990
      Hi all,

      Apology if this has been posted already, but I search Oracle articles/forums/support and various websites and couldn't find any solution until I just happen to stumble upon it by chance.

      I thought I'd try and share this solution in case someone else is having the same issue as me which took a couple of weeks to work out.

      A few weeks ago I got a request to setup Oracle UPK environment. Things went smoothly until it tries to populate the library.


      Platform: Windows 2008 R2 64bit
      Database: Oracle 11g

      Issue: While installing UPK server, encountered Gkn.OnDemand.Library.OfflineException error during populating libraries stage

      -----
      2010-08-13 01:31:54 INFO Application started
      2010-08-13 01:31:55 INFO Command line: "C:\Program Files (x86)\User Productivity Kit\UPK Developer 36Server\LibraryLoader.exe" "C:\Download\Oracle UPK v3.6.1" "/librarylocation:http://VW-UPK01:80/ODSContent" /language:EN /producttier:Server /branding:UPK /overwrite:no /update:yes /authenticationtype:windowscurrent
      2010-08-13 01:31:55 INFO Source path: C:\Download\Oracle UPK v3.6.1
      2010-08-13 01:31:55 INFO Library location: http://VW-UPK01:80/ODSContent
      2010-08-13 01:31:55 INFO Language: EN
      2010-08-13 01:31:55 INFO Product tier: Server
      2010-08-13 01:31:55 INFO Branding: UPK
      2010-08-13 01:31:55 INFO Overwrite: False
      2010-08-13 01:31:55 INFO English only: False
      2010-08-13 01:31:55 INFO Options:
      2010-08-13 01:31:55 INFO Import system documents: True
      2010-08-13 01:31:55 INFO Copy files: True
      2010-08-13 01:31:55 INFO Authenticate only: False
      2010-08-13 01:31:55 INFO Authentication type: windowscurrent
      2010-08-13 01:31:55 INFO User name:
      2010-08-13 01:31:55 INFO Password: ***
      2010-08-13 01:31:57 INFO Loading documents in Server - Client environment
      2010-08-13 01:31:57 INFO Authenticate by Windows authentication
      2010-08-13 01:32:00 ERROR Gkn.OnDemand.Library.OfflineException: There is a problem with the server configuration. See your system administrator with the following information.
      at Gkn.OnDemand.Library.LibraryComponent.AuthenticateProfile(IUserProfile userProfile) in E:\BUILDROOT\Builds\Branches\GoldStrikeGA_3.6.1\tfs\Core_DotNet\LibraryComponent\LibraryComponent.cs:line 352 at Gkn.OnDemand.Library.LibraryComponent.Run(String command) in E:\BUILDROOT\Builds\Branches\GoldStrikeGA_3.6.1\tfs\Core_DotNet\LibraryComponent\LibraryComponent.cs:line 230 at Gkn.OnDemand.ComponentModel.ApplicationCore.Run(String bootComponentId, String command) in E:\BUILDROOT\Builds\Branches\GoldStrikeGA_3.6.1\tfs\Core_DotNet\ComponentModel\AppCore.cs:line 150 at Gkn.OnDemand.ComponentModel.Application.Run(String bootComponentId, String command) in E:\BUILDROOT\Builds\Branches\GoldStrikeGA_3.6.1\tfs\Core_DotNet\ComponentModel\Application.cs:line 512
      InnerException:
      Gkn.OnDemand.Library.LibraryConnectionException: There is a problem with the server configuration. See your system administrator with the following information.
      at Gkn.OnDemand.Library.RemoteRepositoryStrategy.GetLibraryInfo() in E:\BUILDROOT\Builds\Branches\GoldStrikeGA_3.6.1\tfs\Core_DotNet\LibraryComponent\RemoteRepositoryStrategy.cs:line 72 at Gkn.OnDemand.Library.LibraryService.GetLibraryInfo(IUserProfile userProfile) in E:\BUILDROOT\Builds\Branches\GoldStrikeGA_3.6.1\tfs\Core_DotNet\LibraryComponent\LibraryService.cs:line 365 at Gkn.OnDemand.Login.LoginService.Authenticate(IUserProfile userProfile, Boolean login) in E:\BUILDROOT\Builds\Branches\GoldStrikeGA_3.6.1\tfs\Core_DotNet\LoginComponent\LoginService.cs:line 185
      InnerException:
      System.Net.WebException: The request failed with HTTP status 503: Service Unavailable.
      at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Gkn.OnDemand.Service.Content.RepositoryServer.RepositoryWSWse.GetLibraryInfo() in E:\BUILDROOT\Builds\Branches\GoldStrikeGA_3.6.1\tfs\Core_DotNet\LibraryComponent\Web References\RepositoryServer\Reference.cs:line 116 at Gkn.OnDemand.Library.RemoteRepositoryStrategy.GetLibraryInfo() in E:\BUILDROOT\Builds\Branches\GoldStrikeGA_3.6.1\tfs\Core_DotNet\LibraryComponent\RemoteRepositoryStrategy.cs:line 65
      ...
      -----

      The closest solution I could fine is:
      Gkn.Ondemand.Library.Offlineexception While Installing Upk Server [ID 785488.1]

      Which says to give full control access to everyone across the entire disk.

      Well it didn't help my issue. After searching various websites, it appears quite a number of people were experiencing the same issue, but no solution were posted or documented.
      Tested IIS and it showed it was working OK. Can see default page with big flashy IIS7 logo. Made sure oracle database and connections are ok.

      One guy from another forum said he had to resort back to installing it on Windows 2003 32 bit.
      Well I gave that a try, and still experiencing the same issue.

      For a full week I couldn't work out what's going on, until I tested IIS on the Windows 2003.
      The localhost default page was displaying access denied. Squid (Proxy server) was complaining about security issue.

      Then it hit me. This is an issue relating to the proxy server.
      My company have serveral proxy servers, therefore the server I was setting up UPK on, its Internet browser proxy setting was set to autodetect.

      After ensuring no proxy has been set and the autodetect option is not selected, UPK server installation ran without an issue.

      So if you have a similar issue as me give it a try.

      Sorry the post is quite long, but I wanted to give a good details on what the issue was and what worked for me.

      Hopefully I could save time or frustration for someone.


      Cheers.
        • 1. Re: UPK 3.6.1 Gkn.OnDemand.Library.OfflineException - Possible solution
          canada

          Proxy change did not help me. My error is below: Can you provide any help?

           

           

          2013-08-12 09:32:37 INFO    Application started


          2013-08-12 09:32:37 INFO    Command line: "E:\Apps\UPK 11.1\LibraryLoader.exe" E:\Apps\UPK_media\p13804267_111_WINNT\UPK_v11.1.0 "/librarylocation:http://A99P023:80/ODSContent" /language:EN /producttier:clientserver /branding:UPK /overwrite:no /update:yes /authenticationtype:windowscurrent


          2013-08-12 09:32:37 INFO    Source path: E:\Apps\UPK_media\p13804267_111_WINNT\UPK_v11.1.0


          2013-08-12 09:32:37 INFO    Library location: http://A99P023:80/ODSContent


          2013-08-12 09:32:37 INFO    Language: EN


          2013-08-12 09:32:37 INFO    Product tier: clientserver


          2013-08-12 09:32:37 INFO    Branding: UPK


          2013-08-12 09:32:37 INFO    Overwrite: False


          2013-08-12 09:32:37 INFO    English only: False


          2013-08-12 09:32:37 INFO    Options:


          2013-08-12 09:32:37 INFO    Import system documents: True


          2013-08-12 09:32:37 INFO    Copy files: True


          2013-08-12 09:32:37 INFO    Authenticate only: False


          2013-08-12 09:32:37 INFO    Authentication type: windowscurrent


          2013-08-12 09:32:37 INFO    User name:


          2013-08-12 09:32:37 INFO    Password: ***


          2013-08-12 09:32:37 INFO    Update: True


          2013-08-12 09:32:39 INFO    Loading documents in Server - Client environment


          2013-08-12 09:32:39 INFO    Authenticate by Windows authentication


          2013-08-12 09:32:44 ERROR   Gkn.OnDemand.Library.OfflineException:


             at Gkn.OnDemand.Library.LibraryComponent.AuthenticateProfile(IUserProfile userProfile) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\LibraryComponent.cs:line 388    at Gkn.OnDemand.Library.LibraryComponent.Run(String command) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\LibraryComponent.cs:line 264    at Gkn.OnDemand.ComponentModel.ApplicationCore.Run(String bootComponentId, String command) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\ComponentModel\AppCore.cs:line 154    at Gkn.OnDemand.ComponentModel.Application.Run(String bootComponentId, String command) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\ComponentModel\Application.cs:line 538


             InnerException:


             Gkn.OnDemand.Library.LibraryConnectionException: There is a problem with the server configuration.  See your system administrator with the following information.


                at Gkn.OnDemand.Library.RemoteRepositoryStrategy.GetLibraryInfo(IUserProfile userProfile) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\RemoteRepositoryStrategy.cs:line 98       at Gkn.OnDemand.Library.LibraryService.GetLibraryInfo(IUserProfile userProfile) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\LibraryService.cs:line 290       at Gkn.OnDemand.Login.LoginService.Authenticate(IUserProfile userProfile, Boolean login) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\Login\LoginService.cs:line 183


                InnerException:


                System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


          <html xmlns="http://www.w3.org/1999/xhtml">


          <head>


          <title>IIS 7.5 Detailed Error - 500.19 - Internal Server Error</title>


          <style type="text/css">


          <!--


          body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;}


          code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;}


          .config_source code{font-size:.8em;color:#000000;}


          pre{margin:0;font-size:1.4em;word-wrap:break-word;}


          ul,ol{margin:10px 0 10px 40px;}


          ul.first,ol.first{margin-top:5px;}


          fieldset{padding:0 15px 10px 15px;}


          .summary-container fieldset{padding-bottom:5px;margin-top:4px;}


          legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;}


          legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px;


          border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696;


          border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;'.


                       Server stack trace:           at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding)          at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)          at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)          at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)          at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)          at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)          at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)          at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)              Exception rethrown at [0]:           at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)          at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)          at Gkn.OnDemand.Service.Content.RepositoryInfoServiceReference.IRepositoryInfoService.GetLibraryInfo()          at Gkn.OnDemand.Library.RemoteRepositoryStrategy.GetLibraryInfo(IUserProfile userProfile) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\RemoteRepositoryStrategy.cs:line 91


                   InnerException:


                   System.Net.WebException: The remote server returned an error: (500) Internal Server Error.


                      at System.Net.HttpWebRequest.GetResponse()             at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)



          2013-08-12 09:40:40 INFO    Application started


          2013-08-12 09:40:40 INFO    Command line: E:\Apps\UPK\LibraryLoader.exe E:\Apps\UPK_media\p13804267_111_WINNT\UPK_v11.1.0 "/librarylocation:http://A99P023:80/ODSContent" /language:EN /producttier:clientserver /branding:UPK /overwrite:no /update:yes /authenticationtype:windowscurrent


          2013-08-12 09:40:40 INFO    Source path: E:\Apps\UPK_media\p13804267_111_WINNT\UPK_v11.1.0


          2013-08-12 09:40:40 INFO    Library location: http://A99P023:80/ODSContent


          2013-08-12 09:40:40 INFO    Language: EN


          2013-08-12 09:40:40 INFO    Product tier: clientserver


          2013-08-12 09:40:40 INFO    Branding: UPK


          2013-08-12 09:40:40 INFO    Overwrite: False


          2013-08-12 09:40:40 INFO    English only: False


          2013-08-12 09:40:40 INFO    Options:


          2013-08-12 09:40:40 INFO    Import system documents: True


          2013-08-12 09:40:40 INFO    Copy files: True


          2013-08-12 09:40:40 INFO    Authenticate only: False


          2013-08-12 09:40:40 INFO    Authentication type: windowscurrent


          2013-08-12 09:40:40 INFO    User name:


          2013-08-12 09:40:40 INFO    Password: ***


          2013-08-12 09:40:40 INFO    Update: True


          2013-08-12 09:40:40 INFO    Loading documents in Server - Client environment


          2013-08-12 09:40:40 INFO    Authenticate by Windows authentication


          2013-08-12 09:40:40 ERROR   Gkn.OnDemand.Library.OfflineException:


             at Gkn.OnDemand.Library.LibraryComponent.AuthenticateProfile(IUserProfile userProfile) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\LibraryComponent.cs:line 388    at Gkn.OnDemand.Library.LibraryComponent.Run(String command) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\LibraryComponent.cs:line 264    at Gkn.OnDemand.ComponentModel.ApplicationCore.Run(String bootComponentId, String command) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\ComponentModel\AppCore.cs:line 154    at Gkn.OnDemand.ComponentModel.Application.Run(String bootComponentId, String command) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\ComponentModel\Application.cs:line 538


             InnerException:


             Gkn.OnDemand.Library.LibraryConnectionException: There is a problem with the server configuration.  See your system administrator with the following information.


                at Gkn.OnDemand.Library.RemoteRepositoryStrategy.GetLibraryInfo(IUserProfile userProfile) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\RemoteRepositoryStrategy.cs:line 98       at Gkn.OnDemand.Library.LibraryService.GetLibraryInfo(IUserProfile userProfile) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\LibraryService.cs:line 290       at Gkn.OnDemand.Login.LoginService.Authenticate(IUserProfile userProfile, Boolean login) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\Login\LoginService.cs:line 183


                InnerException:


                System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


          <html xmlns="http://www.w3.org/1999/xhtml">


          <head>


          <title>IIS 7.5 Detailed Error - 500.19 - Internal Server Error</title>


          <style type="text/css">


          <!--


          body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;}


          code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;}


          .config_source code{font-size:.8em;color:#000000;}


          pre{margin:0;font-size:1.4em;word-wrap:break-word;}


          ul,ol{margin:10px 0 10px 40px;}


          ul.first,ol.first{margin-top:5px;}


          fieldset{padding:0 15px 10px 15px;}


          .summary-container fieldset{padding-bottom:5px;margin-top:4px;}


          legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;}


          legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px;


          border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696;


          border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;'.


                       Server stack trace:           at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding)          at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)          at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)          at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)          at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)          at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)          at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)          at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)              Exception rethrown at [0]:           at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)          at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)          at Gkn.OnDemand.Service.Content.RepositoryInfoServiceReference.IRepositoryInfoService.GetLibraryInfo()          at Gkn.OnDemand.Library.RemoteRepositoryStrategy.GetLibraryInfo(IUserProfile userProfile) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\RemoteRepositoryStrategy.cs:line 91


                   InnerException:


                   System.Net.WebException: The remote server returned an error: (500) Internal Server Error.


                      at System.Net.HttpWebRequest.GetResponse()             at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)