Dreaded "must be configured to use a valid SSL cert" - 2008 R2

Hello everybody,
I've been browsing through hundreds of topics on the dreaded "The RD Gateway server must be configured to use
a valid SSL certificate" error using BPA (Windows Server 2008 R2 Std), but still haven't found a proper solution.
Here's the issue: RDGW not operating properly and sometime accepting connections, sometimes not. 
I have an external domain example.com and internally, the domain is example.local. I have one server serving Exchange and RD, this is the server responding to mail.example.com and I have an StartSSL issued cert for mail.example.com, which is properly configured
on the server (OWA is working properly with autodiscover etc.). SSL bindings seem alright, default site is using the mail.example.com SSL cert.
If I open the RDGW Manager and go to the SSL Certificate tab, the system looks happy by having the cert installed, everything looks fine. Sometimes I even manage to connect - connection is successful, I can normally connect to any of the servers or computers.
On a second attempt, I just get the message, that the logon attempt had failed. If I run BPA on the server, I get the error of not having a proper SSL cert. If I select a self-signed cert, then also the BPA goes through, but then I have problems with connections
since everybody would need this cert to have installed.
From what I read, my problems are related to the issue that the FQDN of my server is servername.example.local and the cert is issued to mail.example.com. How can I make the thing only to talk via the mail.example.com cert? I don't think I can get a cert
that'd also contain a SAN of servername.example.local from the CA.
What can I do?

Hi Andrej,
Thanks for posting in Windows Server Forum.
Here providing you the article for BPA’s configuration logs, where you can check. It also states that certificate are main problem related to this error. Please check certificate which you have bound have FQDN name of gateway server, the certificate is SSL
certificate and it’s a trusted certificate. Also check that certificate which you have importing to RD gateway must be in local computer/personal store. For more information refer below article.
1. Using the Remote Desktop Services BPA to analyze a Remote Desktop Gateway
implementation
2. RDS: The RD Gateway server must be configured to use a valid SSL certificate
In addition, you need to specify the FQDN name of RD gateway under
DefaultTSgateway in IIS setting. Please go through below article for details.
RD Gateway/Web Access Outside the Firewall
Hope it helps!
Thanks,
Dharmesh

Similar Messages

  • Creating "Valid" SSL Cert

    Hi.
    I have a small webserver and I want to run ssl for my webmail and I created a ssl cert by running
    openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
    Firefox 2, and IE 7 both give me a nice warning that the cert might not be valid. Firefox 3 (cvs) however completely blocks from going the site. So how can I make a "valid" ssl cert?
    Thanks!

    Well I found how to do it...
    http://boblord.livejournal.com/18402.html wrote:To override the error, you need to create an exception. The SSL exception dialog is located in the Preferences window, under Advanced/Encryption/View Certificates. Once there, click on the Servers tab, and then on "Add Exception...". The UI should be straightforward from there.
    It suppose to be a new feature, but I do hope they add some button to easily add a cert or else I'm afraid the user base might drop drastically as there are many sites that have "untrusted" ssl certs.
    For those interested in seeing what the error looks like... http://mezoko.net/stuff/fxsslcerterror.png

  • Use of Wildcard SSL cert with DRM

    DRM needs a URL to be embedded in the protected PDF document(e.g., mysite.mycompany.com).  The SSL certificate for the URL must be from a trusted provider (e.g., Verisign).  My question is will Adobe Reader accept for DRM a wild card SSL certificate (e.g., *.mycompany.com) from a trusted provider?

    Hi,
    The Operations Manager agents support two types of authentication method, Kerberos or certificate based authentication. In order to monitor servers and clients located outside the Operations Manager’s native Active Directory domain, you will need to configure
    certificate authentication using either an internal Certificate Authority or through a 3rd party Certificate Authority.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Use a chained SSL cert instead of root CA cert?

    We have a PKI infrastructure in place, and I was wondering if I could use the cert and key from one of our issuing CA's which chains back to our root CA, instead of the root CA's cert to do HTTPS proxy?           
    or more technically, will the WSA take an intermediate cert to use for HTTPS Proxy?
    Ken

    The only thing to watch out for is that on some of the older versions, I don't recall specifically which - but it's pretty old, the WSA doesn't send the root (intermediate in this case) along with server cert, so it can cause trust issues in your clients that don't already have the intermediate in their trust store.
    You should be fine on any 6.3.5+ / 7.0+ version.

  • "XI demo examples must be configured before first use"

    Trying to execute the "Checking Flight Seat Availability" (Proxy-to-Proxy Communication) in Client 105 but there seems to be a problem. A new SAP screen states "XI demo examples must be configured before first use, Read the documentation under Help - Application Help", and unfortunately there is no content in the Help either. I am 100% sure that the example have been properly configured according to the Configuration Guide but obviously I have missed something. The BSP application in the SAP system of the Integration Server (client 105) has been activated.

    Hi,
    please check the following link.
    http://help.sap.com/saphelp_erp2005/helpdata/en/ae/fd773f12f14a18e10000000a114084/frameset.htm
    Please note the following points from SAP help. please note the sentence in bold wich states that you must create the configuration objects yourself. Since different customers have different requirements in an integration scenario, Integration Directory content is not shipped. It is the task of consultants and administrators to configure the data in the Integration Directory at the customer site
    The features of the demo examples include several complete integration scenarios and comprise the following parts:
    ·        Design objects in the Integration Repository
    The design objects are defined and shipped by SAP.
    ·        Configuration objects in the Integration Directory
    You must create the configuration objects yourself. SAP provides comprehensive recommendations to help you.
    ·        Example applications
    SAP has implemented example applications for the communication parties involved. These example applications also contain user interfaces. You use these to execute the demo examples.
    ·        Configuration guide
    Detailed configuration instructions for the standard configuration recommended by SAP are available for the demo examples. These describe all the steps required to configure the demo examples in detail. A basic knowledge of Process Integration is sufficient to be able to make the relevant configuration settings.
    ·        Documentation
    Besides the detailed configuration instructions, additional documentation is also available. This also describes how to use the individual demo examples and explains the technical concepts addresse
    Please award points for helpful answer.
    thanks
    sharmistha

  • REST API: Create Deployment throwing error BadRequest (The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.)

    Hi All,
    We are trying to access the Create Deployment method stated below
    http://msdn.microsoft.com/en-us/library/windowsazure/ee460813
    We have uploaded the Package in the blob and browsing the configuration file. We have checked trying to upload manually the package and config file in Azure portal and its working
    fine.
    Below is the code we have written for creating deployment where "AzureEcoystemCloudService" is our cloud service name where we want to deploy our package. I have also highlighted the XML creation
    part.
    byte[] bytes =
    new byte[fupldConfig.PostedFile.ContentLength + 1];
                fupldConfig.PostedFile.InputStream.Read(bytes, 0, bytes.Length);
    string a = Encoding.UTF8.GetString(bytes, 0, bytes.Length);
    string base64ConfigurationFile = a.ToBase64();
    X509Certificate2 certificate =
    CertificateUtility.GetStoreCertificate(ConfigurationManager.AppSettings["thumbprint"].ToString());
    HostedService.CreateNewDeployment(certificate,
    ConfigurationManager.AppSettings["SubscriptionId"].ToString(),
    "2012-03-01", "AzureEcoystemCloudService", Infosys.AzureEcosystem.Entities.Enums.DeploymentSlot.staging,
    "AzureEcoystemDeployment",
    "http://shubhendustorage.blob.core.windows.net/shubhendustorage/Infosys.AzureEcoystem.Web.cspkg",
    "AzureEcoystemDeployment", base64ConfigurationFile,
    true, false);   
    <summary>
    /// </summary>
    /// <param name="certificate"></param>
    /// <param name="subscriptionId"></param>
    /// <param name="version"></param>
    /// <param name="serviceName"></param>
    /// <param name="deploymentSlot"></param>
    /// <param name="name"></param>
    /// <param name="packageUrl"></param>
    /// <param name="label"></param>
    /// <param name="base64Configuration"></param>
    /// <param name="startDeployment"></param>
    /// <param name="treatWarningsAsError"></param>
    public static
    void CreateNewDeployment(X509Certificate2 certificate,
    string subscriptionId,
    string version, string serviceName, Infosys.AzureEcosystem.Entities.Enums.DeploymentSlot deploymentSlot,
    string name, string packageUrl,
    string label, string base64Configuration,
    bool startDeployment, bool treatWarningsAsError)
    Uri uri = new
    Uri(String.Format(Constants.CreateDeploymentUrlTemplate, subscriptionId, serviceName, deploymentSlot.ToString()));
    XNamespace wa = Constants.xmlNamespace;
    XDocument requestBody =
    new XDocument();
    String base64ConfigurationFile = base64Configuration;
    String base64Label = label.ToBase64();
    XElement xName = new
    XElement(wa + "Name", name);
    XElement xPackageUrl =
    new XElement(wa +
    "PackageUrl", packageUrl);
    XElement xLabel = new
    XElement(wa + "Label", base64Label);
    XElement xConfiguration =
    new XElement(wa +
    "Configuration", base64ConfigurationFile);
    XElement xStartDeployment =
    new XElement(wa +
    "StartDeployment", startDeployment.ToString().ToLower());
    XElement xTreatWarningsAsError =
    new XElement(wa +
    "TreatWarningsAsError", treatWarningsAsError.ToString().ToLower());
    XElement createDeployment =
    new XElement(wa +
    "CreateDeployment");
                createDeployment.Add(xName);
                createDeployment.Add(xPackageUrl);
                createDeployment.Add(xLabel);
                createDeployment.Add(xConfiguration);
                createDeployment.Add(xStartDeployment);
                createDeployment.Add(xTreatWarningsAsError);
                requestBody.Add(createDeployment);
                requestBody.Declaration =
    new XDeclaration("1.0",
    "UTF-8", "no");
    XDocument responseBody;
    RestApiUtility.InvokeRequest(
                    uri, Infosys.AzureEcosystem.Entities.Enums.RequestMethod.POST.ToString(),
    HttpStatusCode.Accepted, requestBody, certificate, version,
    out responseBody);
    <summary>
    /// A helper function to invoke a Service Management REST API operation.
    /// Throws an ApplicationException on unexpected status code results.
    /// </summary>
    /// <param name="uri">The URI of the operation to invoke using a web request.</param>
    /// <param name="method">The method of the web request, GET, PUT, POST, or DELETE.</param>
    /// <param name="expectedCode">The expected status code.</param>
    /// <param name="requestBody">The XML body to send with the web request. Use null to send no request body.</param>
    /// <param name="responseBody">The XML body returned by the request, if any.</param>
    /// <returns>The requestId returned by the operation.</returns>
    public static
    string InvokeRequest(
    Uri uri,
    string method,
    HttpStatusCode expectedCode,
    XDocument requestBody,
    X509Certificate2 certificate,
    string version,
    out XDocument responseBody)
                responseBody =
    null;
    string requestId = String.Empty;
    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(uri);
                request.Method = method;
                request.Headers.Add("x-ms-Version", version);
                request.ClientCertificates.Add(certificate);
                request.ContentType =
    "application/xml";
    if (requestBody != null)
    using (Stream requestStream = request.GetRequestStream())
    using (StreamWriter streamWriter =
    new StreamWriter(
                            requestStream, System.Text.UTF8Encoding.UTF8))
                            requestBody.Save(streamWriter,
    SaveOptions.DisableFormatting);
    HttpWebResponse response;
    HttpStatusCode statusCode =
    HttpStatusCode.Unused;
    try
    response = (HttpWebResponse)request.GetResponse();
    catch (WebException ex)
    // GetResponse throws a WebException for 4XX and 5XX status codes
                    response = (HttpWebResponse)ex.Response;
    try
                    statusCode = response.StatusCode;
    if (response.ContentLength > 0)
    using (XmlReader reader =
    XmlReader.Create(response.GetResponseStream()))
                            responseBody =
    XDocument.Load(reader);
    if (response.Headers !=
    null)
                        requestId = response.Headers["x-ms-request-id"];
    finally
                    response.Close();
    if (!statusCode.Equals(expectedCode))
    throw new
    ApplicationException(string.Format(
    "Call to {0} returned an error:{1}Status Code: {2} ({3}):{1}{4}",
                        uri.ToString(),
    Environment.NewLine,
                        (int)statusCode,
                        statusCode,
                        responseBody.ToString(SaveOptions.OmitDuplicateNamespaces)));
    return requestId;
    But every time we are getting the below error from the line
     response = (HttpWebResponse)request.GetResponse();
    <Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Code>BadRequest</Code>
      <Message>The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.</Message>
    </Error>
     Any help is appreciated.
    Thanks,
    Shubhendu

    Please find the request XML I have found it in debug mode
    <CreateDeployment xmlns="http://schemas.microsoft.com/windowsazure">
      <Name>742d0a5e-2a5d-4bd0-b4ac-dc9fa0d69610</Name>
      <PackageUrl>http://shubhendustorage.blob.core.windows.net/shubhendustorage/WindowsAzure1.cspkg</PackageUrl>
      <Label>QXp1cmVFY295c3RlbURlcGxveW1lbnQ=</Label>
      <Configuration>77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0NCiAgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg0KDQogIFRoaXMgZmlsZSB3YXMgZ2VuZXJhdGVkIGJ5IGEgdG9vbCBmcm9tIHRoZSBwcm9qZWN0IGZpbGU6IFNlcnZpY2VDb25maWd1cmF0aW9uLkNsb3VkLmNzY2ZnDQoNCiAgQ2hhbmdlcyB0byB0aGlzIGZpbGUgbWF5IGNhdXNlIGluY29ycmVjdCBiZWhhdmlvciBhbmQgd2lsbCBiZSBsb3N0IGlmIHRoZSBmaWxlIGlzIHJlZ2VuZXJhdGVkLg0KDQogICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCi0tPg0KPFNlcnZpY2VDb25maWd1cmF0aW9uIHNlcnZpY2VOYW1lPSJXaW5kb3dzQXp1cmUxIiB4bWxucz0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9TZXJ2aWNlSG9zdGluZy8yMDA4LzEwL1NlcnZpY2VDb25maWd1cmF0aW9uIiBvc0ZhbWlseT0iMSIgb3NWZXJzaW9uPSIqIiBzY2hlbWFWZXJzaW9uPSIyMDEyLTA1LjEuNyI+DQogIDxSb2xlIG5hbWU9IldlYlJvbGUxIj4NCiAgICA8SW5zdGFuY2VzIGNvdW50PSIyIiAvPg0KICAgIDxDb25maWd1cmF0aW9uU2V0dGluZ3M+DQogICAgICA8U2V0dGluZyBuYW1lPSJNaWNyb3NvZnQuV2luZG93c0F6dXJlLlBsdWdpbnMuRGlhZ25vc3RpY3MuQ29ubmVjdGlvblN0cmluZyIgdmFsdWU9IkRlZmF1bHRFbmRwb2ludHNQcm90b2NvbD1odHRwcztBY2NvdW50TmFtZT1zaHViaGVuZHVzdG9yYWdlO0FjY291bnRLZXk9WHIzZ3o2aUxFSkdMRHJBd1dTV3VIaUt3UklXbkFrYWo0MkFEcU5saGRKTTJwUnhnSzl4TWZEcTQ1ZHI3aDJXWUYvYUxObENnZ0FiZnhONWVBZ2lTWGc9PSIgLz4NCiAgICA8L0NvbmZpZ3VyYXRpb25TZXR0aW5ncz4NCiAgPC9Sb2xlPg0KPC9TZXJ2aWNlQ29uZmlndXJhdGlvbj4=</Configuration>
      <StartDeployment>true</StartDeployment>
      <TreatWarningsAsError>false</TreatWarningsAsError>
    </CreateDeployment>
    Shubhendu G

  • How to populate the configurator UI using CIO

    Requirement : Based on the user entered string (Basemodel.Option1.Options2.Optiopn3.Options4.Option5) a free text at sales order line. In case of bad line(meaning any one of the options is invalid) the user hits the configurator button and the valid options need to be populated to the configurator UI. As of now i able to populate one value. I am missing some where when i am trying to populate multiple options. Below is the java code which iam using.
    I tried using ArrayString and by result set but no luck :( , Please let me know if any one came accross this type of requirement.
    //The class CfgExtTest contains two methods, namely displayAttributes and getCountrySelected.
    //The displayAttributes accepts a runtime node as a parameter, through which the connection to the database can be established.
    //Once a connection is established, the getCountrySelected method can be used to obtain the value entered in the DFF for the Order Header Id.
    //The java code also selects the option from an Option Feature which matches the option selected in the DFF.
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.StringTokenizer;
    import oracle.apps.cz.cio.IOption;
    import oracle.apps.cz.cio.IRuntimeNode;
    import oracle.apps.cz.cio.LogicalException;
    import oracle.apps.cz.cio.NoSuchChildException;
    import oracle.apps.cz.cio.TransactionException;
    import oracle.apps.cz.utilities.NameValuePairSet;
    import oracle.apps.cz.cio.*;
    public class Configtestui {
    public void displayAttributes(IRuntimeNode irn){
    try{
                   Configuration config = irn.getConfiguration();
                   InformationalMessage iMsg1 = new InformationalMessage("config---->"+config, irn);
                   config.addInformationalMessage(iMsg1);
              ConfigTransaction tr = config.beginConfigTransaction();
              InformationalMessage iMsg2 = new InformationalMessage("ConfigTransaction---->"+tr, irn);
              config.addInformationalMessage(iMsg2);
    String country= getCountrySelected(irn);
    InformationalMessage iMsg3 = new InformationalMessage("getCountrySelected---->"+country,irn);
    config.addInformationalMessage(iMsg3);
    try{
              config.commitConfigTransaction(tr);
              IRuntimeNode udcc = irn.getChildByName("Select Monitor");//Select Hard Drive
              IOption option = (IOption)udcc.getChildByName(country);
              option.setState(IState.TRUE);
              catch(Exception e)
              Configuration conf = irn.getConfiguration();
              ConfigTransaction trans = conf.beginConfigTransaction();
                   InformationalMessage iMsg = new InformationalMessage("Exception caused while reading property - First", irn);
                   config.addInformationalMessage(iMsg);
                   try{
                        config.commitConfigTransaction(trans);
                   catch(Exception ee){
    catch (Exception le){
         public String getCountrySelected(IRuntimeNode baseNode)
              Connection conn = baseNode.getConfiguration().getContext().getJDBCConnection();
              PreparedStatement pStmt = null;
              ResultSet rs;
              String UDC=null;
              String sql = "select ATTRIBUTE2 from cz.CZ_CONFIG_ATTRIBUTES" ;//"select attribute2 "+ "from oe_order_headers_all ooha ";//+ "where ooha.header_id ="+orderid;
              try
              pStmt = conn.prepareStatement(sql);
              rs = pStmt.executeQuery();
              if (rs.next())
                   UDC = rs.getString(1);
              System.out.println(UDC);
              rs.close();
              pStmt.close();
                        // Close database cursors.
              catch(Exception e){
              return UDC;
         }

    Hi Pankaj,
    Thanks a lot for your reply. I am very new to java and configurator extensions.
    There is an option feature "Select hard drive" on UI and 2GB ,10GB , 20GB are my options.
    I am trying to select 2GB on the UI. Iam fetching this value from a table '"Select selection from xxcz.TEST_CONFIG"' using this query.(below is my code)
    <some part of code where iam fetching the question and selecting its option >
    IRuntimeNode udcc = irn.getChildByName("Select Hard Drive");
    IOption option = (IOption)udcc.getChildByName(country);
    option.setState(IState.TRUE);
    My requirement i have multiple options from different questions to select in UI.. Can i select directly option ( as in my example 2GB) ? PLease let me know you thougths on this.
    -------------------------- Entire code ---------------------------------
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.StringTokenizer;
    import oracle.apps.cz.cio.IOption;
    import oracle.apps.cz.cio.IRuntimeNode;
    import oracle.apps.cz.cio.LogicalException;
    import oracle.apps.cz.cio.NoSuchChildException;
    import oracle.apps.cz.cio.TransactionException;
    import oracle.apps.cz.utilities.NameValuePairSet;
    import oracle.apps.cz.cio.*;
    public class CreateConfig {
         public void displayAttributes(IRuntimeNode irn){
              try{
         Configuration config = irn.getConfiguration();
              InformationalMessage iMsg1 = new InformationalMessage("config---->"+config, irn);
              config.addInformationalMessage(iMsg1);
              ConfigTransaction tr = config.beginConfigTransaction();
              InformationalMessage iMsg2 = new InformationalMessage("ConfigTransaction---->"+tr, irn);
              config.addInformationalMessage(iMsg2);
    String country= getModelOptions(irn);
    InformationalMessage iMsg3 = new InformationalMessage("getCountrySelected---->"+country,irn);
    config.addInformationalMessage(iMsg3);
    try{
              config.commitConfigTransaction(tr);
              IRuntimeNode udcc = irn.getChildByName("Select Hard Drive");
              IOption option = (IOption)udcc.getChildByName(country);
              option.setState(IState.TRUE);          
              catch(Exception e)
              Configuration conf = irn.getConfiguration();
              ConfigTransaction trans = conf.beginConfigTransaction();
                   InformationalMessage iMsg = new InformationalMessage("Exception caused while reading property - First", irn);
                   config.addInformationalMessage(iMsg);
                   try{
                        config.commitConfigTransaction(trans);
                   catch(Exception ee){
    catch (Exception le){
    public String getModelOptions(IRuntimeNode baseNode)
              Connection conn = baseNode.getConfiguration().getContext().getJDBCConnection();
              PreparedStatement pStmt = null;
              ResultSet rs;
              String UDC=null;
              String sql = "Select selection from xxcz.TEST_CONFIG" ; // < Here iam getting value 2GB one of the option under 'Select Hard Drive'
              try
              pStmt = conn.prepareStatement(sql);
              rs = pStmt.executeQuery();
              if (rs.next())
              UDC = rs.getString(1);
              rs.close();
              pStmt.close();
              catch(Exception e){
              return UDC;
         }

  • Virtual PC / XP Mode Error outs with Required configuration: - Windows must be configured in mode 800x600 minimum - Windows must be configured in mode 'true colors'.

    Hello,
    I am running Application using XP mode and Virtual PC on Windows 7. I have 8 GB RAM and more than 300 GB free disk space. When I launch application in XP, I receive following error 
    Required configuration: 
    - Windows must be configured in mode 800x600 minimum
    - Windows must be configured in mode 'true colors'.
    My screen resolution is  1024
    × 768
    and I do not see any other options to resolve this problem.
    Any guidance is greatly appreciated.
    Ganesh

    This is a thread that discusses your problem.
    https://social.technet.microsoft.com/Forums/windows/en-US/12a17fa5-ddab-4480-8973-1a13bfb2e8fd/need-more-than-16bit-color-depth-on-windows-xp-mode?forum=w7itprovirt
    Your app is probably calling for 32-bit color, and XP Mode with
    integration features doesn't support that.  There's 3 ways around it. 
    one, is to enable remote desktop in XP Mode and connect to the VM with
    remote desktop.
    2nd is to turn off the integration features and then you can set the XP
    Mode desktop to 1024x7687 and 32-bit color
    and 3rd, if you app supports 24-bit color, there's a registry hack to do
    it.  It's in the thread I posted above.
    Bob Comer

  • Unable to configure/build using studio12u1 compiler

    I am trying this on sol10 host:
    Solaris 10 10/08 s10s_u6wos_07b SPARC
    Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 27 October 2008
    Here is my script that I run to start configure:
    #!/bin/ksh
    pwd=`pwd`
    LD_LIBRARY_PATH=${pwd}/build_unix/.libs
    uname=$(uname -p)
    CFLAGS="-m64 -D_HAVE_SQLITE_CONFIG_H -I${pwd}/sql -I/usr/java/include -I/usr/java/include/solaris"
    CXXFLAGS="-m64 -library=stlport4"
    CPPFLAGS="-m64 -DSQLITE_ENABLE_RTREE -I${pwd}/sql -I/usr/java/include -I/usr/java/include/solaris"
    LDFLAGS="-m64 "
    CC=/import/datools/vendor/sun/${uname}/studio12u1/bin/cc
    CXX=/import/datools/vendor/sun/${uname}/studio12u1/bin/CC
    export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS CC CXX
    ../dist/configure prefix=/import/pdtools/external/db-5.0.26.NC exec-prefix=/import/pdtools/external/db-5.0.26.NC/${uname} enable-cxx enable-sql enable-sql_compat enable-tcl
    with-pic with-tcl=/import/pdtools/external/tcl-8.5.8/${uname}/lib -enable-java enable-jdbc enable-stl
    Here is the error given by the configure script at the end:
    checking whether the C++ compiler supports templates for STL... configure: error: no
    Let me how to add the config.log file and I can attach that here as well.

    I am able to get past the configure step using studio12u2 compiler. Now the build fails with the following message:
    libtool: compile: /import/datools/vendor/sun/sparc/studio12u2/bin/CC -c -I. -I../dist/.. -m64 -DSQLITE_ENABLE_RTREE -I/import/cad/tools/src/db-5.0.26.NC/build_unix/sql -I/usr/java/include -I/usr/java/include/solaris -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/bin/../java/include -I/usr/bin/../java/include/solaris -m64 -library=stlport4 -I../dist/../stl ../dist/../stl/dbstl_container.cpp -KPIC -DPIC -o .libs/dbstl_container.o
    "../dist/../stl/dbstl_exception.h", line 168: Error: The function "strlen" must have a prototype.
    "../dist/../stl/dbstl_exception.h", line 169: Error: The function "strlen" must have a prototype.
    "../dist/../stl/dbstl_exception.h", line 183: Error: The function "strlen" must have a prototype.
    "../dist/../stl/dbstl_exception.h", line 184: Error: The function "strcpy" must have a prototype.
    "../dist/../stl/dbstl_exception.h", line 188: Error: The function "free" must have a prototype.
    "../dist/../stl/dbstl_utility.h", line 445: Error: The function "memcpy" must have a prototype.
    "../dist/../stl/dbstl_utility.h", line 473: Error: The function "memcpy" must have a prototype.
    "../dist/../stl/dbstl_utility.h", line 485: Error: The function "free" must have a prototype.
    "../dist/../stl/dbstl_utility.h", line 486: Error: The function "memset" must have a prototype.
    "../dist/../stl/dbstl_container.cpp", line 44: Error: The function "realloc" must have a prototype.
    "../dist/../stl/dbstl_container.cpp", line 56: Error: The function "malloc" must have a prototype.
    "../dist/../stl/dbstl_container.cpp", line 177: Error: The function "rand" must have a prototype.
    "../dist/../stl/dbstl_container.cpp", line 243: Error: The function "strcmp" must have a prototype.
    "../dist/../stl/dbstl_container.cpp", line 247: Error: The function "strcmp" must have a prototype.
    "../dist/../stl/dbstl_container.cpp", line 262: Error: The function "strcmp" must have a prototype.
    "../dist/../stl/dbstl_container.cpp", line 272: Error: The function "memcmp" must have a prototype.
    "../dist/../stl/dbstl_container.cpp", line 280: Error: The function "memcmp" must have a prototype.
    17 Error(s) detected.
    gmake: *** [dbstl_container.lo] Error 1

  • Error "To run a SSIS package outside of SQL Server data tools you must install task name used in package of Integration service or highter.

    Hello Team,
    I am trying to execute a SSIS package from web page. When i try to do that i am getting following error.
    "To run a SSIS package outside of SQL Server data tools you must install <task name used in package> of Integration service or highter."
    In my machine Integration Services are installed and its service is also in running state.
    Please help me on this.
    Thanks,
    Ramesh
    Thanks, Ramesh Arige

    The SSIS package developed using SSIS 2008 Server R2 and Integrations Services 10.0 is exists in my machine. Is this wrong configuration, please help me on this.
    I am using the below code copied from CodeProject
    Thank you so much for responding.
    Ramesh
    Thanks, Ramesh Arige
    Which way are you using from the provided blog? Using 1) C# Code or 2) C# and Stored Procedure?
    Cheers,
    Vaibhav Chaudhari
    MCP, MCTS, MCSA (SQL Server 2012)

  • Creating Configuration MBean using RemoteMBeanServer

    Hi
    I'm trying to create a configuration MBean using the RemoteMBeanServer. More precisely, I get a reference to the RemoteMBeanServer using the MBeanHome.
    Then I use the standard createMBean method of the javax.management.MBeanServer to create a Configuration MBean. In my case it is a JDBCConnectionPoolMBean.
    However, when I try to run this from lets say a webapp, it throws a quote: "javax.management.NotCompliantMBeanException: The MBean must be have a concrete class"
    I know I can use the MBeanHome to create ConfigurationMBeans but for sake of reuse I'd like to use the MBeanServer's interface. I can use the MBeanHome to get the RemoteMBeanServer, but I don't want to use the MBeanHome interface for MBean management.
    I can lookup/query the Configuration MBeans using the generic MBeanServer but I'm not able to create any.
    The core of the code is something like this:
    ObjectName oname = new ObjectName("devel:Name=testPool,Type=JDBCConnectionPool");
    ObjectInstance oi = mbeanServer.createMBean(
    "weblogic.management.configuration.JDBCConnectionPoolMBean" oname );
    where mbeanServer is a reference to a javax.management.MBeanServer retrieved from MBeanHome
    How can I do this then? Do I have to use one of the other overloaded createMBean methods? different name?
    Hope someone can help.

    Hi PunisheerII,
    Would you please post more information about this issue?
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

  • Publishing MA to ERP: What validations are included with Use ERP Validation

    If I select the "Use ERP Validation" checkbox in my integrated document type for Master Agreements, what is the list of validations that will be enforced?  I would like to know this so that I know what additional custom validations I should add that are not included with the standard selected.  The SAP Integration Guide does not give this level of detail.  Thanks.

    Hi,
    Here are some hints:
    @Header:
    Some of the validations done here are related to filelds in the integration tab like transaction type, purchasing org, purchasing group, . The fields mandatory check &  replicated flag check on this objects are checked..
    in addition at the Contract document level other integrated objects like vendor, payment terms are also checked for replication flags.. The purchase org selected in integration tab should match one of vendor's purchase org.
    @Item:
    There is an array of validations again.. here the focus is the master data used in line items are checked for consistency:
    1. If Plant is replicated, check that it is assigned to a company code. 2. All item plants must belong to the same Company Code and this must match the Company Code on the header. If Plant is not set, it is treated as valid. 3. If both Plant and P-org are ECC replicated, check that there exists a relationship.
    Guess best way to go forward is to do some tests for your particular scenario and see if it is covered in standard. if not you can implement a custom validation in the prepublish script
    Thanks, baski

  • Validate integer with a comma thousands seperator using struts Validator

    Using struts validator.
    have to validate the user entered value.
    The value entered should be a positive integer with a comma thousands seperator. the number need not be in thousands.
    I have as below to check for positive integer without comma seperator. but not sure how to validate if the user entered value with a comma seperator?
    i.e value like 25,349 // how to validate this?
    <field property="hrs" depends="integer,validwhen">
    <msg name="integer" key="errors.notvalid"/>
    <msg name="validwhen" key="errors.notvalid"/>
    <var>
    <var-name>test</var-name>
    <var-value>(*this* >= 0)</var-value>
    </var>
    </field>
    how to validate the user entered value with a comma seperator? Thanks.

    Found this in Struts' Building View Components section: Note: If your required form property is one of the Java object representations of primitive types (ie. java.lang.Integer), you must set the ActionServlet's convertNull init. parameter to true. Failing to do this will result in the required validation not being performed on that field because it will default to 0. This seems to be part of my problem. With it turned on, Validator picks up that the value is required. Now to figure out the issue with putting in a double value instead of an Integer.

  • Configurations and uses of productionresource/tool..?

    Hii friends.
    Please let me know the uses of productionresource/tool and its configurations and uses. i heard that most of the manufacturing industries use this senarious.
    Please help me
    Regards,
    Sirish

    Dear,
    Production Resource/Tool(PRT) is a moveable operating resource used in production
    You can assign production resources and tools to the task lists and production orders for which they are required.
    Production resources/tools that are used for testing during production can be assigned to the corresponding inspection characteristic in the inspection plan.
    Purpose
    Unlike machines and fixed assets, production resources and tools (PRTs) are movable (not stationary) operating resources that are required to perform an activity and can be used repeatedly. For example, PRTs include documents, engineering drawings, jigs and fixtures, and measurement instruments.
    You can assign production resources/tools to internal and external activities. You use the assignment to determine:
    The quantity
    The operating time
    The dates
    of the PRTs required to carry out the activity.
    There are several categories of production resources and tools in the R/3 System. The category determines the characteristics and business functions that a PRT can have.
    You can create production resources/tools with the following categories:
    A material PRT has its own material master record with the view "PRT". A material PRT can be procured, that is, it can either be purchased or produced. You can also keep it in stock and track both its value and quantity.
    A miscellaneous PRT has its own PRT master record and can neither be procured nor kept in stock.
    A document PRT has its own document info record, (for example engineering drawings or NC programs). You can manage these PRTs using the R/3 Document Management System.
    In the Project System you can assign documents directly to activities. Consequently you will not use this type of PRT very often.
    An equipment PRT has its own equipment master record and has the full equipment functionality. This category is particularly useful for those production resources or tools which you must maintain yourself or which must be serviced at regular intervals. With the equipment category, you can furnish proof of service or usage values for the production resource/tool.
    PRT as a material - MM01
    PRT Master - CF01
    Document - CV01N
    Equipment - IE01
    PRT availability check - OPJK
    PRT control keys - IMG>Production>Basic data>PRT>define control keys
    Also refer the links below...
    http://help.sap.com/saphelp_47x200/helpdata/en/89/a42719461e11d182b50000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/bf/5ffd0e6d4311d1ad5e0000e8a6353a/frameset.htm
    Hope this helps...
    Regards
    R.Brahmankar

  • You must register your tables using JDDI before you request them

    Hey Guys....
    I'm trying to query a custom table created on a SQL Server 2005 database, the same RDBMS for the SAP Web AS. I'm using a different database from the sytem's standard.
    I created a Datasource for it. I can get the connection, but when I execute a query I get the following message.
    Please note that I used everything SAP recommends for JDBC connector. I have done this previously for an oracle database but this time this approach (MS SQL) is not working...
    I don't understand what it means for registering the tables using JDDI.
    Could you please show me some light?
    java.rmi.RemoteException: com.sap.engine.services.dbpool.exceptions.BaseRemoteException: SQL statement(s) cannot be executed over DataSource "ZPORTAL". If you are using an Open SQL DataSource, you must register your tables using JDDI before you request them. Reason: java.sql.SQLException: [NWMss][SQLServer JDBC Driver][SQLServer]Invalid object name 'BC_DDDBTABLERT'. [id = Unknown]
         at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.executeFromAppThread(DataSourceManagerImpl.java:1201)
         at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.executeInitStatements(DataSourceManagerImpl.java:532)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
         at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
         at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
         at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)
         at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
         at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)
         at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
         at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:131)
         at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:212)
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:766)
         at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: java.sql.SQLException: [NWMss][SQLServer JDBC Driver][SQLServer]Invalid object name 'BC_DDDBTABLERT'.
         at com.sap.dictionary.database.catalog.XmlCatalogReader.getTable(XmlCatalogReader.java:98)
         at com.sap.sql.catalog.impl.BufferedCatalogReader.getTable(BufferedCatalogReader.java:126)
         at com.sap.sql.catalog.impl.BufferedCatalogReader.getTable(BufferedCatalogReader.java:89)
         at com.sap.sql.sqlparser.CheckColAndTabVisitor.checkTabs(CheckColAndTabVisitor.java:247)
         at com.sap.sql.sqlparser.CheckColAndTabVisitor.performCatalogChecks(CheckColAndTabVisitor.java:170)
         at com.sap.sql.sqlparser.CommonSQLStatement.checkSemantics(CommonSQLStatement.java:184)
         at com.sap.sql.jdbc.common.StatementAnalyzerImpl.check(StatementAnalyzerImpl.java:42)
         at com.sap.sql.jdbc.common.StatementAnalyzerImpl.preprepareStatement(StatementAnalyzerImpl.java:126)
         at com.sap.sql.jdbc.common.StatementAnalyzerImpl.preprepareStatement(StatementAnalyzerImpl.java:109)
         at com.sap.sql.jdbc.common.CommonStatementImpl.execute(CommonStatementImpl.java:217)
         at com.sap.engine.services.dbpool.wrappers.StatementWrapper.execute(StatementWrapper.java:167)
         at com.sap.engine.services.dbpool.deploy.DBInitializer.run(DBInitializer.java:69)
         ... 4 more

    I changed the SQL Engine parameter to "Vendor SQL" under Additional tab of my datasource configuration

Maybe you are looking for

  • JDBC error in PreparedStatement using TimesTen 6.0.3

    TimesTen supports this kind of sql statement select rows 3 to 5 * from products (it returns 2 rows started from row #3) I want to implement this in java thru JDBC PreparedStatement pstmt = con.prepareStatement(select rows ? to ? * from products); pst

  • Help: Macbook goes into deep sleep instead of sleeping

    Any time my Mac is supposed to go into sleep, like when I leave it alone for 15 mins or close the lid, it goes into deep sleep (hibernates). How do I fix this? Also, it started happening after I changed the starup disk from Windows to OS X through th

  • Learning how to do books/journals

    I regularly use CS2 (OS 10.5) for making magazines and booklets - lots of photos, very short articles, few pages. I have the opportunity to do a full-fledged academic journal - text & tables, a long document, footnotes, bibliographies, etc. Does anyo

  • [vmware] Virtual machine communication interface failed

    hello, on a fresh install of archlinux, i have installed vmware workstation 11.0 but when i execute this command : vmware-modconfig --console --install-all i have this error Virtual machine communication interface failed full log vmware-modconfig --c

  • Palm desktop software down load driver - Palm T/X

    Tried to sync on my new computer - Windows 7. It appears the Palm software I got on line is not working with Windows 7. Can you you pls attach the download software to my email. A Odunlami MD. 352-433-2633 Post relates to: Palm TX