Setting up http connection for ADS in sm59

I have a problem setting up the http connection.
I created ADSUser and ADScallers role, but when i click on test connection in sm59, first i get a popup window: response from web server contains cookies. Accept?
I didn't get this window before, this looks strange.
I have to click twice on yes, to proceed, which is also weird.
Then i get an enter logon data window:
enter your user name and ID
Resource: WS Navigator
Username:
Password:
I tried the ADSUser username/pwd here, but it did not work
Which username/pwd should i use and how can i set those?
This already worked once before, and this is the simplest thing, I don't know why it doesn't work anymore.
If this would work, then i coud try FP_PDF_TEST_00 report, and then go on with configuring ADS.
Can anyone help please?

There are many ways.
The easiest would be over the useradmin:
http://<your_javaserver>:5xx00/useradmin
Murat

Similar Messages

  • How  to create and test HTTP connection for proxy

    HI
    Can anybody help me by providing step by step guide for how to create a HTTP connection for inbound abap proxy?
    How i will get sure that connection is working properly?
    Thanks
    Debraj

    Hi Debraj,
       You should be able to do that in SM59 of the XI Box.
    Create the connection under "HTTP Connections to R/3 System".
    Provide the Target Host IP Address.Service Number and Path Prefix.
    Select the logon procedure as SAP Standard.
    SSL Inactive.
    Provide Logon details.
    Regards,
    Ravi

  • HTTP Connection for Solution manager

    Dear Experts,
    SAP support team asked to create a http connection for solution manager for service check.We already created a R/3 connection for solution manager.why they are asking for HTTP connection? Really they required HTTP connection ?,Is they are any problem with this type of connections.What are the transaction codes which are not run in SAP GUI. Please clarify my doubts.
    Thanks and regards,
    Patan Thavaheer.

    Hi Patan,
    Solution Manager transaction codes open in http browser. You can check the behaviour yourself by making a login to solution manager and execute transaction code solman_setup.
    For SAP support to open http browser within remote support, they need to have http connection opened along with HTTP url maintained.
    Refer to the SAP help link above for the procedure.
    Hope this helps.
    Regards,
    Deepak Kori

  • Setting up Mail Connection for Infotype Changes

    Hello Experts
    I would like to set up an email notification which will be sent from the SAP to non HR personnel as soon as a Hire action is completed in order for them to know that there was an employee hired and that they need to enter relevant data in other infotypes.
    I found the option to setting up Mail Connection for Infotype Changes but is there a standard way to send a work item notification? maybe add a link to the PA40?
    Tx
    Maya

    No help available out there? If you need it explained clearer just say so and I'll do so. Thanks in advance.

  • HTTP Connection For Proxies

    Hi all,
    Can anyone explain me how to create the http connection in SM59.
    Here iam getting a status error as HTTP_CONNECTION_FAILED
    here my scenario is File to Proxy
    Suggest me where i have to make this connection means in XI or SAP system regarding this scenario (file to proxy)?
    Any suggestions.
    thanx,
    krishna.

    Hi Krishna,
    When you create a RFC in SM59 provide/check the following info
    Provid the RFC destination
    Provide connection type as G HTTP connection to external server
    In description tab provide at least one description
    In technical settings provide target host name and provide service no then provide the path prefix
    Leave the  HTTP proxy options empty
    In Logon&Security tab choose basic authentication in logon procedure
    In Status of Secure Protocol choose SSL as Inactive then choose SSL Client Certificate as DEFAULT SSL Client(standard)
    In Special Options tab choose and set Specify time out 900 msec
    In HTTP Settings choose HTTP 1.0
    Compression Status choose as inactive
    Choose compression status inactive then choose compressed response as YES
    In HTTP Cookies choose Accept Cookies choose NO
    Save the connection and do a test connection it will prompt for Response from Web Server Contains Cookies Accept?  Accept all further cookies tick the box and say YES
    If you still have problem please paste the error.
    You can refer the XI trouble shooting doc at https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bd5950ff-0701-0010-a5bc-86d45fd52283
    Cheers,
    Shyam

  • How to set min & max connections for  MSSQLconnection pool

    Hi,
    I want to set minconnection, maxconnection, idletimeout initial limit for the pool
    I have got a MSSQL database connection using following java code.
    // MSSQL DbConnection Code
    import java.sql.*;
    public class MsSqlDataSource
    public static void main(String arr[])
    Connection con = null;
    ResultSet rs = null;
    try{
    com.microsoft.sqlserver.jdbc.SQLServerDataSource ds = new com.microsoft.sqlserver.jdbc.SQLServerDataSource();
    ds.setServerName("10.50.50.51");
    ds.setPortNumber(1711);
    ds.setDatabaseName("test");
    ds.setUser("starhome");
    ds.setPassword("starhome");
    con = ds.getConnection();
    }catch(Exception e){}
    }In oracle i have passed min and max number of connection properties through setConnectionCacheProperties method.
    //Connection Pooling using Oracle Data Source:
    m_connSource = new OracleDataSource();
    m_connSource.setDriverType("thin");
    m_connSource.setServerName(m_host);
    m_connSource.setNetworkProtocol("tcp");
    m_connSource.setDatabaseName(m_db);
    m_connSource.setPortNumber(m_port);
    m_connSource.setUser(m_user);
    m_connSource.setPassword(m_password);
    // Enable caching. m_connSource.setConnectionCachingEnabled(true);
    java.util.Properties prop = new java.util.Properties();
    prop.setProperty("MinLimit", m_minConnections);
    prop.setProperty("MaxLimit", m_maxConnections);
    prop.setProperty("InitialLimit", m_initialConnections);
    prop.setProperty("InactivityTimeout", m_inactivityTimeout);
    prop.setProperty("AbandonedConnectionTimeout", m_abandonedTimeout);
    prop.setProperty("ConnectionWaitTimeout", m_connWaitTimeout);
    m_connSource.setConnectionCacheProperties(prop);I dont know how to pass min and max number of connection properties for SQLServerDataSource. Is there any method available to pass min and max number of connection properties for SQLServerDataSource.
    Iam using Tomcat. I found one way to set min and max connections for pool by doing changes in context.xml and web.xml using below url http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html
    I dont want to touch tomcat configuration files. I need to set connection pooling properties which is independent of application server.
    Please anybody give solution for this?
    Thanks,
    Prisha

    Hi,
    you need to define your database under the DB Admin tab. In the Schema objects node you'll find Sequence Implementations, and there you can definde min max values as well as caching and increments.
    Gerald

  • How do I set miminum # of connections for pool with Oracle and Tomcat?

    Hi,
    I can't seem to find any attribute to initialize the number of connections for my connection pool. Here is my current context.xml file under my /App1 directory:
    <Context path="/App1" docBase="App1"
    debug="5" reloadable="true" crossContext="true">
    <Resource name="App1ConnectionPool" auth="Container"
    type="oracle.jdbc.pool.OracleDataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver"
    factory="oracle.jdbc.pool.OracleDataSourceFactory"
    url="jdbc:oracle:thin:@127.0.0.1:1521:oddjob"
    user="app1" password="app1" />
    </Context>
    I've been googling and reading forums, but haven't found a way to establish the minimum number of connections. I've tried all sorts of parameters like InitialLimit, MinLimit, MinActive, etc, with no success.
    Here is some sample code that I am testing:
    package web;
    import oracle.jdbc.pool.OracleDataSource;
    import oracle.jdbc.OracleConnection;
    import javax.naming.*;
    import java.sql.SQLException;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.util.Properties;
    public class ConnectionPool {
    String message = "Not Connected";
    public void init() {
    OracleConnection conn = null;
    ResultSet rst = null;
    Statement stmt = null;
    try {
    Context initContext = new InitialContext();
    Context envContext = (Context) initContext.lookup("java:/comp/env");
    OracleDataSource ds = (OracleDataSource) envContext.lookup("App1ConnectionPool");
    message = "Here.";
         String user = ds.getUser();
    if (envContext == null)
    throw new Exception("Error: No Context");
    if (ds == null)
    throw new Exception("Error: No DataSource");
    if (ds != null) {
    message = "Trying to connect...";
    conn = (OracleConnection) ds.getConnection();
    Properties prop = new Properties();
    prop.put("PROXY_USER_NAME", "adavey/xxx");
    if (conn != null) {
    message = "Got Connection " + conn.toString() + ", ";
              conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME,prop);
    stmt = conn.createStatement();
    rst = stmt.executeQuery("SELECT username, server from v$session where username is not null");
    while (rst.next()) {
    message = "DS User: " + user + "; DB User: " + rst.getString(1) + "; Server: " + rst.getString(2);
    rst.close();
    rst = null;
    stmt.close();
    stmt = null;
    conn.close(); // Return to connection pool
    conn = null; // Make sure we don't close it twice
    } catch (Exception e) {
    e.printStackTrace();
    } finally {
    // Always make sure result sets and statements are closed,
    // and the connection is returned to the pool
    if (rst != null) {
    try {
    rst.close();
    } catch (SQLException e) {
    rst = null;
    if (stmt != null) {
    try {
    stmt.close();
    } catch (SQLException e) {
    stmt = null;
    if (conn != null) {
    try {
    conn.close();
    } catch (SQLException e) {
    conn = null;
    public String getMessage() {
    return message;
    I'm using a utility to repeatedly call a JSP page that uses this class and displays the message variable. This utility allows me to specify the number of concurrent web requests and an overall number of requests to try. While that is running, I look at V$SESSION in Oracle and occassionaly, I will see a brief entry for app1 or adavey depending on the timing of my query and how far along the code has processed in this example. So it seems that I am only using one connection at a time and not a true connection pool.
    Is it possible that I need to use the oci driver instead of the thin driver? I've looked at the javadoc for oci and the OCIConnectionPool has a setPoolConfig method to set initial, min and max connections. However, it appears that this can only be set via Java code and not as a parameter in my context.xml resource file. If I have to set it each time I get a database connection, it seems like it sort of defeats the purpose of having Tomcat maintain the connection pool for me and that I need to implement my own connection pool. I'm a newbie to this technology so I really don't want to go this route.
    Any advice on setting up a proper connection pool that works with Tomcat and Oracle proxy sessions would be greatly appreciated.
    Thanks,
    Alan

    Well I did some more experiments and I am able to at least create a connection pool within my example code:
    package web;
    import oracle.jdbc.pool.OracleDataSource;
    import oracle.jdbc.OracleConnection;
    import javax.naming.*;
    import java.sql.SQLException;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.util.Properties;
    public class ConnectionPool {
    String message = "Not Connected";
    public void init() {
    OracleConnection conn = null;
    ResultSet rst = null;
    Statement stmt = null;
    try {
    Context initContext = new InitialContext();
    Context envContext = (Context) initContext.lookup("java:/comp/env");
    OracleDataSource ds = (OracleDataSource) envContext.lookup("App1ConnectionPool");
    message = "Here.";
         String user = ds.getUser();
    if (envContext == null)
    throw new Exception("Error: No Context");
    if (ds == null)
    throw new Exception("Error: No DataSource");
    if (ds != null) {
    message = "Trying to connect...";
    boolean cache_enabled = ds.getConnectionCachingEnabled();
    if (!cache_enabled){
    ds.setConnectionCachingEnabled(true);
    Properties cacheProps = new Properties();
    cacheProps.put("InitialLimit","5");
         cacheProps.put("MinLimit","5");
    cacheProps.put("MaxLimit","10");
    ds.setConnectionCacheProperties(cacheProps);
              conn = (OracleConnection) ds.getConnection();
    Properties prop = new Properties();
    prop.put("PROXY_USER_NAME", "adavey/xyz");
    if (conn != null) {
    message = "Got Connection " + conn.toString() + ", ";
              conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME,prop);
    stmt = conn.createStatement();
    //rst = stmt.executeQuery("SELECT 'Success obtaining connection' FROM DUAL");
    rst = stmt.executeQuery("SELECT user, SYS_CONTEXT ('USERENV', 'SESSION_USER') from dual");
    while (rst.next()) {
    message = "DS User: " + user + "; DB User: " + rst.getString(1) + "; sys_context: " + rst.getString(2);
    message += "; Was cache enabled?: " + cache_enabled;
    rst.close();
    rst = null;
    stmt.close();
    stmt = null;
    conn.close(OracleConnection.PROXY_SESSION); // Return to connection pool
    conn = null; // Make sure we don't close it twice
    } catch (Exception e) {
    e.printStackTrace();
    } finally {
    // Always make sure result sets and statements are closed,
    // and the connection is returned to the pool
    if (rst != null) {
    try {
    rst.close();
    } catch (SQLException e) {
    rst = null;
    if (stmt != null) {
    try {
    stmt.close();
    } catch (SQLException e) {
    stmt = null;
    if (conn != null) {
    try {
    conn.close();
    } catch (SQLException e) {
    conn = null;
    public String getMessage() {
    return message;
    In my context.xml file, I tried to specify the same Connection Cache Properties as attributes, but no luck:
    <Context path="/App1" docBase="App1"
    debug="5" reloadable="true" crossContext="true">
    <Resource name="App1ConnectionPool" auth="Container"
    type="oracle.jdbc.pool.OracleDataSource"
    driverClassName="oracle.jdbc.OracleDriver"
    factory="oracle.jdbc.pool.OracleDataSourceFactory"
    url="jdbc:oracle:thin:@127.0.0.1:1521:oddjob"
    user="app1" password="app1"
    ConnectionCachingEnabled="1" MinLimit="5" MaxLimit="20"/>
    </Context>
    These attributes seemed to have no effect:
    ConnectionCachingEnabled="1" ; also tried "true"
    MinLimit="5"
    MaxLimit="20"
    So basically if I could find some way to get these attributes set within the context.xml file instead of my code, I would be a happy developer :-)
    Oh well, it's almost Miller time here on the east coast. Maybe a few beers will help me find the solution I'm looking for.

  • Setting up default connection for accessing emails...

    I had a quick look and found similar problems on here, but none that I thought were the same.
    I've been able to set up Gmail to be received through my 'Messaging' on my N96. Turns out its quite a handy function. Also figured out that you can get it to automatically check you mail at regular intervals. I want to use this, but I don't want to have to select the connection every time the phone wants to check for new mail. So I need to set up a preferred connection. That's no problem...
    The problem occurs when I try to select my WLAN as default. However, every time I select it, the phone freezes up. Not completely, as I can change programs and even exit the messaging settings via the hang up key, but if I do that, it doesn't make any changes.
    I have deleted and restored the WLAN connection, I have accessed my inbox manually, so it isn't a problem on Google's end, and I have checked the various connection options to no avail.
    So, does anyone know why it my phone would freeze when trying to set up my WLAN connection as the default connection for accessing my e-mails? Any questions about my situation, just ask and I will gladly supply whatever you ask for.
    Regards,
    Jarvis
    Message Edited by jarvis187 on 15-Jan-2009 01:24 AM

    No help available out there? If you need it explained clearer just say so and I'll do so. Thanks in advance.

  • Http Connection for UIViewController

    Hi guys.
    I am developing an application with Http connection.
    This application has 5 UIViewControllers.
    Each UIViewController can create a Http Connection.
    In this case, Do I need to code NSURLConnection for each UIViewController ?
    Or, Do need to code one NSURLConnection for 5 UIViewControllers?
    If so, How to make a transition between one NSURLConnection and 5 UIViewControllers ?
    Which one is better ?
    Thanks in advance.

    Thanks for reply.
    hat is hard to tell without knowing what each of these connections are supposed to do. I would >definitely create a separate class that handles the HTTP request, check connectivity etc. and use >that from each controller.
    If so, Do I need to define 5 UIViewControllers as static variable in separate class that handles the HTTP request ?
    I am trying yours idea. To do that, defines static variable for each UIViewController in AppDelegate.m.
    Actually i wanna do it as local variable. But I have one separate class that handles. So, I defined these 5 UIViewControllers as static.
    If need to define as local variable, what do I need to ?
    Any suggestion ?
    Thanks in advance.

  • Exchange msstd: setting in outlook connection for Outlook Anywhere

    I currently have the Exchange Provider for EXPR set to $null, however I still seem to get msstd:mail.mydomain.com set in my Outlook connection string setting on all machines. Where is this setting coming from? We do push the Outlook Anywhere settings
    via GPO and have the ProxyServer string defined set to mail.mydomain.com. The flags are set to ensure SSL is defined on the connection.
    We are in the process of moving from Exchange 2007 to Echange 2013. Will it be a problem moving from a UCC cert with a friendly name of mail.mydomain.com to a wild card SSL cert on the 2013 servers with *.mydomain.com set, if the
    "connect to proxy servers that have this principal name in their certificate is selected? I'm concerned that msstd:mail.mydomain.com  does not match msstd:*.mydomain.com?
    Thanks in advance

    Hi,
    We can run the following command to set with Ed’s suggestion:
    Set-OutlookProvider -Identity EXPR -CertPrincipalName msstd:*.mydomain.com
    Regards,
    Winnie Liang
    TechNet Community Support

  • Outlook 2010 makes unexpected HTTPS connection for unrelated profile

    I originally posted this in the Outlook forum, but was pointed here instead.
    I have a number of different Outlook profiles, for unrelated Exchange accounts.
    I recently noticed that a client's firewall log was showing unexpected failed logon attempts to port 443, from my IP, using my PC name and username. I eventually found that these connections corresponded to my starting Outlook 2010 on my PC, loading my usual
    Outlook profile (unrelated to the client, although I do have another Outlook profile for this client's Exchange server.)
    Recreating my usual profile didn't fix it. Eventually I created a test profile that contains just an empty PST file and the Fax service, and even opening this profile causes a failed HTTPS (presumably RPC over HTTPS) connection to the client.
    Why would Outlook be making HTTPS connections (presumably RPC over HTTPS) to a server that isn't referenced in a profile? How can I remove such references?
    Thanks.

    This was marked as the answer, but it is not.
    I use RPC-over-HTTP for all the accounts, so I can't disable it.
    The question is why is Outlook attempting to connect to the server referenced in profile X when I'm connecting (successfully) to a entirely different server referenced in different profile Y?
    Thanks.

  • Printer setting - Device type unsuitable for ADS documents - reg

    Hai  Expert
    I am trying to generate print  preview, From 16, I am getting error  "Device type unsuitable for ADS documents"
    guide me to where have to do corrections
    Regards
    Vincent

    May be you should try the right forum:
    pk

  • Can't set up wireless connection for HP C4385 All-In-One with Windows 7.

    Hi guys,
    I just got a new laptop with Windows 7 64 bit. I already had an HP C4385 All-In-One that I was using with my last computer. I have also just set up a new wireless network because I got a new cable provider. So basically I needed to do everything from the beginning.
    When I inserted the setup CD and ran the setup program, it said I couldn't continue because my OS was not supported. I went to the HP website and found the solution, which was to plug the printer in via USB and let Windows Update find the latest driver. Ok, that's fine, the printer works now when the USB cord is plugged in.
    To set up the wireless connection, the instruction manual says I need to do it through the network setup wizard p on the CD. But that brings me back to my original problem-- the setup CD won't work because it doesn't recognise Windows 7.
    So my question is-- how can I update the network settings (SSID and key) on the printer without the network setup wizard?
    Thanks for any help, this is really driving me crazy!

    Download from hp.com here.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • How to set custom HTTP header for single sign on

    Currently we just begin to use an application called "etran". This application requires user name and password to login. Now, my assignment is to integrate etran application in our internal application. This means that somewhere in our internal application, there is a link leads to the etran application.
    It is going to be single sign on, that means that once user logs into our internal application, when he/she clicks on the etran link, no sign on to etran is needed.
    I consult with the technical people in etran. they said that our internal application needs to send a "login request" to etran via SSL with the user's information encoded in base 64 format. etran captures the HTTP header containing user authentication and authorization information, and parses the required information from the HTTP header.
    My question is that how I set user information in HTTP header? From my understanding, once I am able to set the user information in HTTP header, it is in base 64 format?
    Thanks in advance for your help.

    sharon38_74 wrote:
    they said that our internal application needs to send a "login request" to etran via SSL with the user's information encoded in base 64 format. etran captures the HTTP header containing user authentication and authorization information, and parses the required information from the HTTP header.
    My question is that how I set user information in HTTP header? From my understanding, once I am able to set the user information in HTTP header, it is in base 64 format?Your application need to act like a proxy. You can invoke a HTTP request programmatically using java.net.URLConnection. You can set request headers using URLConnection#setRequestProperty(). Also see the API docs: [http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html]. You only need to know the header field name where to set the Base64-encoded value in. You need to Base64-encode the value yourself.

  • Http connection for Palm OS4x

    any way to do this for Palm 125?
    (connection to PC is via USB)
    can i confirm that can use mochasoft if its via serial?
    anyone got any idea if its for USB connection?
    thanks in advance

    I have the same problem.
    I have a laptop with only USB connection, no built in com ports.
    It is configured as follow:
    -Internal 56K modem is mapped in com3.
    -I have a virtual COM1 port from a USB-COM adapter, and there I have connected a PalmIIIc
    -I have a ADSL modem connected to the USB
    The best goal would be surfing the web through the ADSL modem...is it just a dream?
    The second possibility would be the connection through the 56K modem.
    This would be a COM to COM operation and it should be possible.
    ....it should!!
    I have tried mochasoft, pilotnet and pilot redirector with the same result: Modem error (no data recived).
    Any idea?
    Thank you

Maybe you are looking for

  • I updated my iTunes and now it wont open

    I have recently updated my iTunes and everytime i go to open it up to play music or to put music on to my device it comes up with a little box and then it wont open i just need help please

  • In the right and wrong place.

    I know this thread belongs in another forum. I actually placed it in another forum and received next-to-no response. I guess those guys aren't you guys. Here it is: "Amplification without iTunes." Volume's become a serious issue. My sound is uneven.

  • Trouble with SWF files in Keynote 3

    I am working in Keynote for the first time and having trouble bringing in a .swf file. I am having to use a Windows XP box to build the flash file and then moving them over to a Mac to drop into Keynote. I have Keynote 3 and have QuickTime Version 7.

  • Maintaing Bank Calender

    Dear Gurus, Maintain the calendar in SAP as per the Bank Holidays which is required for "Payment Schedule Run" and "Payment Notice Report". How we can configure the same. If we maintaing changes in Factory calender directly what was the impact to oth

  • Managing sessions in a "secure" application

    Right now I'm working on securing part of a ColdFusion 9 site with some more robust security. I use the basic cflogin / cflogout system for handling logins that is described in most Adobe tutorials online. What I'd like to do is the following: Be abl