SDK Credentials -
Running IAS Rel 2 (10.1.2) on Windows XP to try out Content Management SDK. Database is on linux server.
From IAS home I click on the CMSDK link and it takes me to a page prompting for credentials (details below).
According to the installation manual this shows up when logging on for the first time after upgrading the schema or doing other stuff I'm not doing. It could be thinking I'm upgrading since it took me more than one try to install.
Anyway - my question is, what does it want? The Windows OS system admin? I've tried that (and ensured that it had batch login) and all the other credentials in my vast collection but nothing works. Also tried domainname\username format. Any suggestions on what System Administrator or what format it needs?
Thanks.
Fred Pierce
Here's the screen content:
Content Management SDK Credentials
Enter the username and password of a valid system administrator for this domain.
Domain Name ifs://oradev:1523:dev1.oradev:SDKFS
* System Administrator
* System Administrator Password
Yes, that helps - thanks!
I still don't know why it doesn't like what I'm telling it though - that was the first one I tried, and I keep a record of all the username/pwords I configure. (this was the "system" of the "system" "guest" "scott" parameters, right?)
Any way to reset it? I don't mind reinstalling (yes, I do mind but I'll do it) but I would hope there's a simpler way - passwords do get lost sometimes.
Thanks again,
fdp
Similar Messages
-
How the user credentials are transported using BusinessObjects SDK
Hi, I would like to know in detail how the user credentials is passed with the java call (logon). Are they encrypted during the transport? Which mechanism (protocol, technology) does the sdk use to provide security for the user credentials?
ThanksThe BusinessObjects Enterprise SDK communicates with BusinessObjects Enterprise servers using a proprietary CORBA framework via TCP/IP.
This is so inter-server and server-client communication can be done transparently from the perspective of the API whether all services are on one or multiple machines.
You can configure BusinessObjects Enterprise services to use SSL through this communication. How you would do so is described in the Admin Guide.
You'd configure the SDK as you would the servers in as described in the Admin Guide.
For the BusinessObjects Enterprise Java SDK, that means specifying the four Java System Properties (as you would for Java InfoView) to point to the SSL configuration files.
That takes care of the connection from the SDK to Enterprise.
Set-up of secure communication from web browser to web app using the SDK is a separate matter.
By the way, the BusinessObjects Enterprise SDK is fully tested an supported only when used in a web application. Desktop and standalone apps using the Enterprise SDK are untested.
Sincerely,
Ted Ueda -
Cisco Jabber for Windows Client SDK
Is there an SDK for Cisco Jabber for Windows client? I could only find the Web SDK. Are there no other SDKs that would let me control features of the Jabber Windows Client?
And in order to avoid TAPI limitation, they say they have started using Jabber which controls all phone functionalities through an Application User connected to the Call Manager.
Assuming they are referring to the normal Jabber for Windows/Mac/iOS/Android applications then this is wrong. Jabber - the client, not the IM&P servers which are part of the CUCM cluster (if you're familiar with Lync consider CUCM+IM&P servers a Front End Pool) - do not use an Application User at all. When a user starts Jabber, assuming SAML SSO is off, they supply an email address. This is used to find the servers via DNS SRV records, or the Mobile and Remote Access Expressway (roughly analogous to a Lync Edge pool) to tunnel through the firewall. After the email address they are prompted for their End User username and password. This is then used to access several APIs on the server, namely the User Data Service to discover what the user has. This would include what the user has configured/available to them. After this is done the Jabber client does one of three things with respect to phone functionality:
If the user has no phone devices provisioned for them - physical or software - it becomes an IM&P client only.
If the user has a software phone phone provisioned, it registers as that using SIP. In this way Jabber is the actual phone. This is called a CSF device for Jabber Windows/OS X.
If the user has a desk phone assigned to their End User account AND administrative policy is to default to desk phone control, it registers to CTI Manager on the CUCM server to control the user's physical phone.
A user can toggle between option two and three, if appropriately provisioned, but cannot have both simultaneously. In other words, Jabber is either controlling a physical phone over CTI or is a phone itself using SIP. The difference is where the audio/video media is sent from/to.
All of this happens using that human's End User credentials.
Now, if you wanted to have a server control the user's phone - either a physical one or Jabber - you would use the TSP as an interface to CTI Manager on the CUCM server and receive real-time events (e.g. the user went off-hook, the phone is ringing with this caller ID, etc.) and issue commands to that phone (e.g. make a call to X). This is done using an Application User account because the server would need to do this for multiple users simultaneously. If you also use the Super Provider concept, the CUCM administrator doesn't have to take the extra step of associating every phone to your Application User manually. Instead, you can simply issue CTI subscriptions to see any/all device activity you want.
This is all assuming you wanted to do the integration server-side to avoid having to update the Cisco TSP application on every user PC (which also limits your WPF application to machines capable of running the TSP) every time the CUCM administrator patches the servers. If you don't care about that, then you can do this all client-side on the user's PC, and have them supply their End User credentials.
Of course, you could also reconsider the Jabber SDK and just embed the make/receive call functionality directly into your application instead. -
Error when running report using SDK
Hi, I am getting following error when I am running a report in boxi r2 sp3 on IIS. Infoview and CMC runs fine but SDK application is not able to connect to CMS. This error does not come all the time. It happens intermittently.
Error in RetrieveReport: Unable to connect to cluster @hisuatcluster to retrieve updated CMS member list. Logon cannot continue.
Anyone has seen this and any way to pin point the cause. We have used -ns and -port switch in the command line of CMS and all servers.
Thanks,will try that. But we would not be leveraging cluster benefit then. What happens if that particilar CMS in cluster goes down.
Below is the logic of SDK.
1. Create an EnterpriseSession by calling SessionMgr.Login(the credentials we use to connect on in the web.config file).
2. Get a reference to the InfoStore with EnterpriseSession.GetService(u201CInfoStoreu201D)
3. Get a reference to the report as an InfoObject by querying the InfoStore u2013 InfoStore.Query(u201CSELECT * FROM CI_INFOOBJECTS WHERE u2026u201D)
4. Get a reference to the RASReportFactory u2013 EnterpriseSession.GetService(u201Cu201D, u201CRASReportFactoryu201D)
5. Open the report using the InfoObject (line 3) and RASReportFactory (line 4) u2013 ReportClientDoc = ReportAppFactory.OpenDocument(InfoObject.ID, 0)
6. Manipulate the reportu2019s connection information.
7. Set the vieweru2019s report source with the report (this is commented out in the current tests) u2013 CrystalReportViewer.ReportSource = ReportClientDocument
8. Close the session u2013 EnterpriseSession.Logoff() -
Hello,
I have a piece of code that is used for converting files from a shared file area to SharePoint for customers that move to SharePoint and Dynamics CRM. The relation to Dynamics CRM calls for using custom code an not existing conversion tools.
The code I wrote works fine if the file sent to a regular site in SharePoint, but if I try to use the same code for files in the Site Collection. If I use the address for the site collection in the constructor for the ClientContext, and the relative URL
from that for the file, both the upload and the setting of the attributes fails (I do make sure the file is there before trying to set the attributes).
After some experimentation I am able to upload the file, by creating the client context with the main site URL, and adding the site collection path elements ("/sites/crm") to the path for the file, but using the same the setting of the attributes
fails.
I have tried some other variant where the site collection elements are in the path for both the ClientContext and the file path. Then the upload fails, the file retrival (GetFileByServerRelativeUrl) works, but the retrival of the attributes then fails.
The code below illustrates the variations.
Can someone please explain what I am doing wrong, or is this a bug in the SDK?
Regards
Anders
using System;
using System.IO;
using System.Security;
using Microsoft.SharePoint.Client;
using File = System.IO.File;
using SP = Microsoft.SharePoint.Client;
namespace TestSharePointDocumentAttributes
class DocumentAttributeTester
public void Execute(string[] args)
string userId = args[0];
string password = args[1];
string filePath = @"C:\work\TestCV1.docx";
string siteUrl;
string documentPath;
string clientContextUrl;
string serverRelativeUrl;
DateTime createdDate = new DateTime(2013, 2, 1, 11, 20, 45);
DateTime modifiedDate = new DateTime(2013, 3, 1, 11, 40, 45);
string fileName = Path.GetFileName(filePath);
SecureString securePassword = new SecureString();
foreach (char c in password.ToCharArray())
securePassword.AppendChar(c);
// Pass 1, no site collection
Console.WriteLine("Pass 1");
clientContextUrl = "https://losangas.sharepoint.com";
serverRelativeUrl = "/crmn_candidate/TestSPAttributes" + '/' + fileName;
upload(clientContextUrl, serverRelativeUrl, userId, securePassword, filePath);
setVariables(clientContextUrl, serverRelativeUrl, userId, securePassword, createdDate, modifiedDate);
Console.WriteLine();
// Pass 2, site collection, parameters as expected, both upload and set attributes fails (even if file exists)
Console.WriteLine("Pass 2");
clientContextUrl = "https://losangas.sharepoint.com/sites/crm";
serverRelativeUrl = "/kontakter/N/Test1" + '/' + fileName;
upload(clientContextUrl, serverRelativeUrl, userId, securePassword, filePath);
setVariables(clientContextUrl, serverRelativeUrl, userId, securePassword, createdDate, modifiedDate);
Console.WriteLine();
// Pass 3, site collection, parameters adjusted. Upload works and set attributes fails.
Console.WriteLine("Pass 3");
clientContextUrl = "https://losangas.sharepoint.com";
serverRelativeUrl = "/sites/crm/kontakter/N/Test1" + '/' + fileName;
upload(clientContextUrl, serverRelativeUrl, userId, securePassword, filePath);
setVariables(clientContextUrl, serverRelativeUrl, userId, securePassword, createdDate, modifiedDate);
Console.WriteLine();
// Pass 4, site collection, parameters adjusted. Upload works fails, but GetFileByServerRelativeUrl succeds and load items fails
Console.WriteLine("Pass 4");
clientContextUrl = "https://losangas.sharepoint.com";
serverRelativeUrl = "/sites/crm/kontakter/N/Test1" + '/' + fileName;
upload(clientContextUrl, serverRelativeUrl, userId, securePassword, filePath);
setVariables(clientContextUrl, serverRelativeUrl, userId, securePassword, createdDate, modifiedDate);
Console.WriteLine();
private void upload(string clientContextUrl, string serverRelativeUrl, string userId, SecureString securePassword, string filePath)
try
byte[] fileContents = File.ReadAllBytes(filePath);
string fileName = Path.GetFileName(filePath);
ClientContext clientContext = new ClientContext(clientContextUrl);
clientContext.Credentials = new SharePointOnlineCredentials(userId, securePassword);
SP.File.SaveBinaryDirect(clientContext, serverRelativeUrl, new MemoryStream(fileContents), true);
Console.WriteLine("Upload successful.");
catch (Exception ex)
Console.WriteLine(string.Format("Upload error: {0}", ex.Message));
private void setVariables(string clientContextUrl, string serverRelativeUrl, string userId, SecureString securePassword, DateTime createdDate, DateTime modifiedDate)
try
ClientContext clientContext = new ClientContext(clientContextUrl);
clientContext.Credentials = new SharePointOnlineCredentials(userId, securePassword);
Microsoft.SharePoint.Client.File uploadedFile = clientContext.Web.GetFileByServerRelativeUrl(serverRelativeUrl);
clientContext.ExecuteQuery();
ListItem listItem = uploadedFile.ListItemAllFields;
List list = listItem.ParentList;
clientContext.Load(uploadedFile.ListItemAllFields);
clientContext.ExecuteQuery();
FieldUserValue author = FieldUserValue.FromUser("Elisabeth Skaane");
FieldUserValue editor = FieldUserValue.FromUser("Elisabeth Skaane");
listItem["Created"] = createdDate.ToString("MM.dd.yyyy HH:mm:ss"); // i.e. "6/5/2012 10:19"
listItem["Modified"] = modifiedDate.ToString("MM.dd.yyyy HH:mm:ss"); // i.e. "6/5/2012 10:19"
listItem["Author"] = author;
listItem["Editor"] = editor;
listItem.Update();
clientContext.ExecuteQuery();
Console.WriteLine("Set attributes successful.");
catch (Exception ex)
Console.WriteLine(string.Format("Set attributes error: {0}", ex.Message));Hello,
Thanks for your effort, but you are not addressing the problem.
As I tried to explain, setting the date works fine in the case where there is no site collection involved. There is no reason to believe that this will be different when in a site collection. Also the logon works fine in borth cases. The FieldUserValue.FromUser
can take either an email, or a prefered name. I tested both.
Anders -
Bug Report: Lr3 does not report error when SDK version is too low.
Lr3 should report an error if SDK is under-version'd. For example, I have this in one of my plugins:
LrSdkVersion = 2.0,
LrSdkMinimumVersion = 2.0, -- minimum SDK version required by this plugin.
If I put Lr3.0 specific stuff in the plugin, Lr3 does not report an error, but it should - otherwise whats the point in specifying a version.
I have to take the plugin into Lr2 to test for inadvertent Lr3 specific inclusion mistakes. Thank goodness I'm not worrying about Lr1...
RobHi ,
Could you please helping me out on finding the Patches (SP4,SP5)?
ans also i have tested very oftenly, that my log in credentials are seems to be fine since its working for other reports too.
With Hunting,
MAK -
Oracle ADF security integration with Oracle E-Business Suite SDK JAAS
I have an Oracle ADF 11.1.2.2 application that is using ADF security for authentication and authorization.
When we deploy this application to our JDeveloper integrated weblogic server, we utilize the security setting of "Custom" and use weblogic users and roles to map to the ADF application roles. In that environment our security is working properly.
I have a Weblogic 10.3.5 standalone server that has the ADF runtime installed as well as the Oracle E-Business Suite SDK JAAS implementation installed.
When I deploy the Oracle ADF application to the standalone weblogic server, I am directed to the JAAS login page when I attempt to access any JSF page (including those that I have granted View access through the anonymous-role. Does the Oracle ADF anonymous-role work (allow for anonymous page access) when JAAS security is handled by the Oracle E-Business Suite SDK JAAS implementation?
Per the SDK instructions, when we install the Oracle ADF deployment on Weblogic we have selected "DD only" for our security setting. We have defined enterprise roles in the Oracle ADF security setup (jazn-data.xml) that are assigned the appropriate application roles. Those enterprise roles have the same name (i.e. UMX|YOURROLE) as the E-Business Suite roles that are assigned to our test users. When we login with an E-Business Suite user / password we are receiving an error:
Error 401--Unauthorized
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.2 401 Unauthorized
Any thoughts on why that would be?
Thanks
DanThanks Juan.
With the debugging options enabled it appears the issue is not an issue with the user / role credentials - it seems like the resource grants from jazn-data.xml are not being reviewed in my standalone weblogic instance EAR deployment:
[JpsAuth] Check Permission
PolicyContext: [TestApp]
Resource/Target: [untitled1PageDef]
Action: [view]
Permission Class: [oracle.adf.share.security.authorization.RegionPermission]
Result: [FAILED]
Evaluator: [ACC]
Failed ProtectionDomain:ClassLoader=sun.misc.Launcher$AppClassLoader@13f5d07
CodeSource=file:/app/oracle/product/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar
Principals=total 2 of principals(
1. JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousUserImpl "anonymous" GUID=null DN=null
2. JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl "anonymous-role" GUID=null DN=null)
When I access the same page from my integrated weblogic server I see:
[JpsAuth] Check Permission
PolicyContext: [TestApp]
Resource/Target: [untitled1PageDef]
Action: [view]
Permission Class: [oracle.adf.share.security.authorization.RegionPermission]
Result: [FAILED]
Evaluator: [ACC]
Failed ProtectionDomain:ClassLoader=sun.misc.Launcher$AppClassLoader@13f5d07
CodeSource=file:/app/oracle/product/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar
Principals=total 2 of principals(
1. JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousUserImpl "anonymous" GUID=null DN=null
2. JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl "anonymous-role" GUID=null DN=null)
When I review my EAR - I do see jazn-data.xml at:
/META-INF/jazn-data.xml
I will review the system-jazn-data.xml to see if the policy information has been migrated properly as part of the EAR deployment.
Thanks.
-Dan -
I cannot open the SCSM console . I am getting the below error message . I am not sure if its network issue or some thing else. The sdk service will not remain in started state . But when I run telnet on the workflow server , I get the message
that the "connection failed, but Networking team has confirmed that there no acls and all Ports are open . Firewall is turned off. I checked there is connectivity to SQL using ODBC , it works . I am looking into possible SPN Issues ..but not sure its
an spn problem .can someone please help and point me to the correct direction
Env : scsm2012sp1
server :2008r2
Date: 10/22/2014 7:45:32 PM
Application: Service Manager Console
Application Version: 7.5.2905.0
Severity: Error
Message: Failed to connect to server 'server'
Microsoft.EnterpriseManagement.Common.ServiceNotRunningException: The Data Access service is either not running or not yet initialized. Check the event log for more information. ---> System.ServiceModel.EndpointNotFoundException: Could not connect to
net.tcp://server:5724/DispatcherService. The connection attempt lasted for a time span of 00:00:01.0156510. TCP error code 10061: No connection could be made because the target machine actively refused it xx.xx.xx.xx:5724. ---> System.Net.Sockets.SocketException:
No connection could be made because the target machine actively refused it xx.xx.xx.xx:5724
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.LayeredChannel`1.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(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 Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConnectInternal(EnterpriseManagementConnectionSettings connectionSettings)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
--- End of inner exception stack trace ---
at Microsoft.EnterpriseManagement.Common.Internal.ExceptionHandlers.HandleChannelExceptions(Exception ex)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConstructEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore clientCallback)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.RetrieveEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Connect[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
at Microsoft.EnterpriseManagement.ServiceManagementGroup.InternalInitialize(EnterpriseManagementConnectionSettings connectionSettings, EnterpriseManagementGroupInternal internals)
at Microsoft.EnterpriseManagement.ServiceManagementGroup..ctor(ServiceManagementConnectionSettings connectionSettings)
at Microsoft.EnterpriseManagement.UI.SdkDataAccess.ManagementGroupSessionManager.Connect(String server)
at Microsoft.EnterpriseManagement.ServiceManager.UI.Console.Credentials.ManagementGroupConnection.TryConnectToManagementGroupJob(Object sender, ConsoleJobEventArgs args)
System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://edvxsmbapppu01:5724/DispatcherService. The connection attempt lasted for a time span of 00:00:01.0156510. TCP error code 10061: No connection could be made because the target machine
actively refused it xx.xx.xx.xx:5724. ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it xx.xx..xx.xx:5724
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.LayeredChannel`1.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(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 Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConnectInternal(EnterpriseManagementConnectionSettings connectionSettings)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it xx.xx.xx.xx:5724
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)Yes this is what I keep on getting
Error starting Lfx service. Tried times: 7
Error message:
The Data Access service is either not running or not yet initialized. Check the event log for more information.Stack trace
at Microsoft.EnterpriseManagement.Common.Internal.ExceptionHandlers.HandleChannelExceptions(Exception ex)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConstructEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore clientCallback)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.RetrieveEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Connect[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
at Microsoft.EnterpriseManagement.ServiceManagementGroup.InternalInitialize(EnterpriseManagementConnectionSettings connectionSettings, EnterpriseManagementGroupInternal internals)
at Microsoft.EnterpriseManagement.ServiceManagementGroup..ctor(String serverName)
at Microsoft.EnterpriseManagement.SystemCenter.LinkingFramework.MomIntegration.LfxObjects.getServiceManGroup()
at Microsoft.EnterpriseManagement.SystemCenter.LinkingFramework.MomIntegration.LfxObjects.StartMonitoring()
at Microsoft.EnterpriseManagement.Mom.Sdk.Service.LfxSubService.AsyncStartCallback(Object notUsed)Inner exception:
Error message:
Could not connect to net.tcp://localhost:5724/DispatcherService. The connection attempt lasted for a time span of 00:00:02.0157024. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:5724. Stack trace
Server stack trace:
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.LayeredChannel`1.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(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 Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConnectInternal(EnterpriseManagementConnectionSettings connectionSettings)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)Inner exception:
Error message:
No connection could be made because the target machine actively refused it 127.0.0.1:5724Stack trace
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout) -
CR prompts for user credentials after refresh even though I'm using SSO
Hello Experts,
We have a problem with a customeru2019s project concerning Crystal Reportu2019s Single Sign On feature:
Even though weu2019re using SSO, Crystal Reports prompts for user credentials every time a refresh is performed manually in the browser.
We already checked SAP note [1214594 - How to avoid database login prompts when refreshing reports in Crystal Reports|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313334333533393334%7D.do]. The note suggests using Microsoft Windows authentication (trusted connection or operating system authentication) u2013 unfortunately we cannot use this kind of authentication in our project.
Do you have any hint, idea or suggestions?
Thank you in advance!Hello,
What kind of Project are you developing? Search for Post Back in the SDK forum and Kbase system so you can keep the log on token active. Likely what is happening is the Token or connection times out after 20 minutes, which is IIS's default timeout. Using the postback method is one way of keeping the SSO connection active.
Thank you
Don -
Business Objects Enterprise SDK application.
Hi All,
I am planning to develop a custom web application using BOE 3.1 java SDK's.
I would like to create only application level users, these users would be mapped with a single BO user account to create enterprise session.
That means, My application "A" will have say 10 users (i.e. 10 userid and passwords). All these users will their different sets of userid's and passwords (custom application users), they can login into the application using application level credentials, however to login into the enterprise the application will internally use only one BO user credential (i.e. only one named user acount info.)
eg:
user1-login -> application>logins using BO userX userid and password>BO Enterprise session created
user2-login -> application>logins using BO userX userid and password>BO Enterprise session created
user3-login -> application>logins using BO userX userid and password>BO Enterprise session created
and so on.
The idea is to purchase only one named user licence and create many application level users to login into BOE; but using the same BO user account.
Is this approach legal in-terms of licensing?
Would appreciate any help on this.
Regards,
JonHello Adam,
Thank you very much.
Please see the following post:
Business Objects Enterprise 3.1 Licensing
Tim says:
names means you can have five users created, any amount logged on concurently (i.e the administrator could have 10 sessions, usera 20 etc no limit) But you can only create 5 different users names
that means 1 Named user eg: 'A' can login into the enterprise using his credentials and create any amount of enterprise sessions concurrently for self right??
Each named user is for a specific user and not to be shared. If you were using concurrent user licensing, than this would be ok to use one enterprise user account.
5 Concurrent linceses means one user account created in enterprise but, account info can be shared with 5 users, so they can login using same credentials and create five different enterprise sessions?? right?
so, I can purchase one- 5 concurrent user license and share it with 5 users? OR purchase 5 named user licences and share it with 5 users?
Either ways my understanding is number of users=number or linceses available (named or concurrent). please correct me if I am wrong.
Now, which one is cost effective named user lincenses or concurrent?
Awaiting your response.
Regards,
Jon -
Unable to set up metalink credentials in 12.1.3 OAM
trying to set up metalink credentials in our 12.1.3 OAM on a unix box and get the following error when trying to update:
"Unable to connect to Metalink. Please enter a valid Metalink userid and password. Please also check if the Web Proxy Setup information is correct". I am able to connect to metalink fine directly from GUI on same box.
OAM log shows the following:
oracle.apps.fnd.oam.sdk.util.url.URLFetchException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target;
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
any ideas??Hi,
It's hard to give you an answer without having a look at how you have configured everything, so it would probably better for you to open a TAC service request to have this investigated further.
Regards
Daniel -
How to use encoded password in ODI SDK
Dear Experts,
I found one problem in case of ODI SDK while implementing it in eclipse. As everybody knows we are hardcoding the database credentials, DBA is not interested to share the password easily.If we could implement this in such a way like we are using encoded password for configuring agent then it may be much better for everyone.
yes of course we can create one file that can contains the credentials but at the end someone can print it in console by reading line by line. Is it possible to develop one algorithm that can ensure to use the password safely (like encoded one).
Need your valuable suggestion on the same.
ThanksHi-
Yes it is possible by the way of KM custamization, You need to modify LKM call sqlldr via jython step to pass the user info and password as variable instead of ODI method. Try this command in your KM step:
userid=#GLOBAL.user/#GLOBAL.psw
Hope this will work for you.
Thanks,
Saravanan Rajavel -
Com.crystaldecisions.sdk.exception.sdkExecption$InvalidCMSSyntax
hello,
i use infowiew by programm via url
http://pa/businessobjects/enterprise11/desktoplaunch/opendoc/view_report_pack.jsp?sdoc=devel&user=Administrator&pass=&cms=pack-81b36a7e9d&userdb=fo&passdb=fo&schamp=Date_EA&stype=DATE&svaleur=01/02/2007
the reports display one page (connection cms ok , connection db ok )
When i clik on button export or button next page
or button zoom 400% (Toolbar) i have an error
com.crystaldecisions.sdk.exception.sdkExecption$InvalidCMSSyntax
Have you an idea ?
option of viewer ?
Thanks Michel
<%@ page import = "com.crystaldecisions.sdk.occa.infostore.*,
com.crystaldecisions.sdk.plugin.desktop.common.*,
com.crystaldecisions.sdk.framework.*,
com.crystaldecisions.sdk.occa.security.*,
com.crystaldecisions.sdk.exception.SDKException,
com.crystaldecisions.sdk.occa.managedreports.IReportSourceFactory,
java.util.Locale,
java.util.*,
java.lang.String,
com.crystaldecisions.sdk.occa.report.data.*,
com.crystaldecisions.report.web.viewer.*"
%>
<%
// CMS : Nom de la machine exemple sethseth
// user : nom de l'utilisateur CMS exemple Administrator
// pass : mot de passe de l'utilisateur example vide
// Sdocname : nom du rapport Rpt
// notes avant il faut l'integrer dans InfoView
// userDb : utilisateur de la base de donnee exemple rcteaxeriah
// passDb : Mot de passe de la Bd exemple rcteaxeriah
// MM : recupére les infos passés en paramétre par l'url
String cms = request.getParameter("cms");
String user = request.getParameter("user");
String pass = request.getParameter("pass");
String sdocName = request.getParameter("sdoc");
String userDb = request.getParameter("userdb");
String passDb = request.getParameter("passdb");
// Multiparametre
String[] tab_schamp = request.getParameterValues("schamp");
String[] tab_stype = request.getParameterValues("stype");
String[] tab_svaleur = request.getParameterValues("svaleur");
try {
//Log in.
IEnterpriseSession enterpriseSession = CrystalEnterprise.getSessionMgr().logon(user,pass,cms,"secEnterprise");
//Grab the InfoStore from the httpsession
IInfoStore infoStore = (IInfoStore)enterpriseSession.getService("", "InfoStore");
//Query for the report object in the CMS. See the Developer Reference guide for more information the query language.
IInfoObjects oInfoObjects = (IInfoObjects)infoStore.query("SELECT TOP 1 * " +
"FROM CI_INFOOBJECTS " +
"WHERE SI_PROGID = 'CrystalEnterprise.Report' AND SI_INSTANCE=0 AND SI_NAME='" + sdocName + "'" );
if (oInfoObjects.size() > 0) {
//Retrieve the latest instance of the report
IInfoObject oInfoObject = (IInfoObject) oInfoObjects.get(0);
//Use the PS report factory to obtain a report source that will be processed on the Page Server.
IReportSourceFactory factoryPS = (IReportSourceFactory)enterpriseSession.getService("PSReportFactory");
Object reportSource = factoryPS.openReportSource((oInfoObject), Locale.ENGLISH);
session.setAttribute("reportSource", reportSource);
//Build database logon connection infos object. A connection info object containing the logon
//credentials must be created for each connection in the report. This will be passed into the report via
//the Viewer SDK so that the user is not prompted for report database logon credentials.
ConnectionInfo dbLogonInfo = new ConnectionInfo();
dbLogonInfo.setUserName(userDb);
dbLogonInfo.setPassword(passDb);
ConnectionInfos dbLogonInfos = new ConnectionInfos();
dbLogonInfos.add(dbLogonInfo);
//Put this object in session so that it can be retrieved and used by the viewer.
session.setAttribute("dbLogonInfos", dbLogonInfos);
CrystalReportViewer viewer = new CrystalReportViewer();
viewer.setName("CrystalReportViewer");
// Active l'exportation et l'impression sur le visualisateur
viewer.setOwnPage(true);
//Impression possible sur le mode ActiveX
viewer.setPrintMode(CrPrintMode.ACTIVEX);
//le rapport sera affiché sur le Viewer
//Object reportSource = session.getAttribute("reportSource");
viewer.setReportSource(reportSource);
//cache la fenetre d'authentification à la BD (Nom utilisateur et mot de passe)
// et se connecte directement à la base de donnée oracle
//ConnectionInfos dbLogonInfos = (ConnectionInfos)session.getAttribute("dbLogonInfos");
viewer.setDatabaseLogonInfos(dbLogonInfos);
Fields fields = new Fields();
// multi parametre entree
for (int l_i_Nbr_Champ = 0; l_i_Nbr_Champ < tab_schamp.length; l_i_Nbr_Champ++)
////////////// Paramétre entrée = DATE //////////////////////////////////////////////////////
/// TEST = if (tab_stype[l_i_Nbr_Champ].equals("DATE"))
// extraction du format JJ/MM/AAAA et déclaration des variables
// Année
int iannee = Integer.parseInt(tab_svaleur[l_i_Nbr_Champ].substring(6,10));
// le mois de janvier commence a 0
int imois = Integer.parseInt(tab_svaleur[l_i_Nbr_Champ].substring(3,5)) -1 ;
// Jour
int ijour = Integer.parseInt(tab_svaleur[l_i_Nbr_Champ].substring(0,2));
setParameterValueDate(fields,tab_schamp[l_i_Nbr_Champ],"",iannee,imois,ijour,out);
////////////// Fin Parametre entree = DATE ////////////////////////////////////////
////////////// Paramétre entrée = STRING //////////////////////////////////////////////////////
if (tab_stype[l_i_Nbr_Champ].equals("STR"))
setParameterValueStr(fields,tab_schamp[l_i_Nbr_Champ],"",tab_svaleur[l_i_Nbr_Champ],out);
////////////// Fin Parametre entree = STRING ////////////////////////////////////////
// force le parametre dans le browser
viewer.setParameterFields(fields);
// prompt du parametre de saisie caché
// car on veut que le rapport s'affiche automatiquement
viewer.setEnableParameterPrompt(false);
// // Rafraichissement
viewer.refresh();
// appel browser
viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
// Nettoyage
viewer.dispose();
else {
out.println("Report " + sdocName + " not found.");
catch(SDKException sdkEx) {
out.println(sdkEx);
%>
<%!
static void setParameterValueDate(Fields oFields, String paramName, String reportName,int annee,int mois,int jour,JspWriter out) throws javax.servlet.jsp.JspException
// FORMAT DATE
Calendar calendar = Calendar.getInstance();
calendar.set(Calendar.DAY_OF_MONTH, jour);
calendar.set(Calendar.MONTH, mois);
calendar.set(Calendar.YEAR, annee);
Object value = calendar.getTime();
ParameterField oParameterField = new ParameterField();
oParameterField.setReportName(reportName);
Values oValues = new Values();
ParameterFieldDiscreteValue oParameterFieldDiscreteValue = new ParameterFieldDiscreteValue();
oParameterField.setName(paramName);
oParameterFieldDiscreteValue.setValue(value);
oValues.add(oParameterFieldDiscreteValue);
oParameterField.setCurrentValues(oValues);
oFields.add(oParameterField);
%>
<%!
private void setParameterValueStr(Fields oFields, String paramName, String reportName, Object value,JspWriter out) throws javax.servlet.jsp.JspException
ParameterField oParameterField = new ParameterField();
oParameterField.setReportName(reportName);
Values oValues = new Values();
ParameterFieldDiscreteValue oParameterFieldDiscreteValue = new ParameterFieldDiscreteValue();
oParameterField.setName(paramName);
oParameterFieldDiscreteValue.setValue(value);
oValues.add(oParameterFieldDiscreteValue);
oParameterField.setCurrentValues(oValues);
oFields.add(oParameterField);
%>
<%!
static void Affiche(JspWriter out, String s) throws javax.servlet.jsp.JspException
try
out.println(s);
catch(java.io.IOException e)
{ throw new javax.servlet.jsp.JspException(e); }
return;
%>
{code]The reason this is happening is because of how you are storing your CMS name. You are storing the CMS name in the request object
String[] tab_schamp = request.getParameterValues("schamp");
String[] tab_stype = request.getParameterValues("stype");
String[] tab_svaleur = request.getParameterValues("svaleur");
but when you change the zoom level - a postback occurs and your code is run again. However this time the request object is empty and there's no values to retrieve.
So your options are:
1. After you run through the first time, save the report / reportsource in session and just retrieve that on each subsequent postback. This is a common technique.
2. Save the values that you retrieved from the request object into something that persists between postbacks - such as session or a cookie.
Shawn -
Sybase ESP java sdk, SQL parser exception for all queries
Hi,
I am new to Sybase ESP java sdk. Trying to use sdk projection subscription, but getting for all the queries including blank string:-
com.sybase.esp.sdk.exception.ProjectErrorException: SQL parsing error
at com.sybase.esp.sdk.impl.SubscriberImplV3.doSubscribe(Unknown Source)
at com.sybase.esp.sdk.impl.SubscriberImpl.subscribeSql(Unknown Source)
My Example code :-
Credentials creds = new Credentials.Builder(Credentials.Type.USER_PASSWORD).setUser("user").setPassword("pwd").create();
Project project = s_sdk.getProject(uri, creds);
project.connect(WAIT_TIME_60000_MS);
Subscriber subscriber = project.createSubscriber();
//subscriber.subscribeStream("Trades");
subscriber.connect();
subscriber.subscribeSql("select UserMaxCpu from wSBW912");
I am new to sdk and not sure what I am doing wrong here, please suggest.
Thanks,
VenkateshThe problem you're experiencing is due to your JNDI configuration not matching the JavaDB database where you created the tables.
If you look at the config for DerbyPool in the Admin Console, you'll see that DerbyPool points to:
jdbc:derby://localhost:1527/sun-appserv-samples
In the Admin Console click Resources->Connection Pools->DerbyPool, then click Additional Properties (9.1) or look at the page (9.0).
You can either modify DerbyPool's config to point to:
jdbc:derby://localhost:1527/BookDB
Or you can create the tables in sun-appserv-samples. The create-tables ant task included with the Java EE 5 Tutorial will create the tables in the correct database.
-ian -
DIServer Login Question - Invalid Credentials Web Service Hangs
Hi everybody,
I was able to successfully configure the DIServer and connect via a web service (similar to the SDK Samples provided). I am now able to login using a valid username/password and the <dis:Login> SOAP message, but if I provide a bad username or password it seems to just hang forever, without returning an 'invalid user/password' message - just nothing. Anyone else have this problem?
The only workaround I can think of now is to just set the timeout on my web request to a short time span with a generic error message. But I'd like to be able to differentiate between invalid credentials and just a problem with the DI Server connection.
Thanks for any help.Looks like a reboot of the DI Server has fixed the problem. Probably should've tried that before posting.
Maybe you are looking for
-
ITunes being rubbish with Windows Vista Premium
Anybody with Vista Premium having a problem with iTunes 7??? Mine is rediculously slow when i impport anything and takes about 20 minutes to update my iPod with 1 song in which i can't do anything in iTunes! It just locks up until it's done it.... I
-
ITunes 11 media controls are not working on Windows 8.1 and more.
The iTunes team might be distracted or something...
-
'back' not working in Calendar
using 1.4...37 against 9.2.0.4 The 'BACK' button doesn't work but can go forward and today with no problem. http://ooug.oug-ottawa.org:7778/pls/htmldb/f?p=103:10:2450876552869646305 That's the URL for my site, will be launching it to the rest of the
-
Displaying X11 applications on multiple monitors same Mac
I have an iMac 20 with an external monitor. I can easily display any Mac OSx app window except X11 app windows such as xterm, xeyes, xman, etc. on the external monitor. Any clues? Message was edited by: Hawaiian Scuba Dude
-
2 differents results with sys.all_objects
select object_name,object_type from sys.all_objects where owner = 'GROUPE' and trunc(created) = to_date('12/08/2002','DD/MM/YYYY'); This select statement return 8 rows when running under SQL*Plus but inside a procedure it return 0 row when the proced