Server | communications | ike and ipsec settings

Hi
How important are the settings in monitor regarding Ike and ipsec? I was
having 3rd party site to site issues and started to modify these to try
and resolve issues. It did not seem to help and I am thinking I should
set them back. is there a way to reset them to defaults?
Thanks,
Will

oops I do know.
Would any of these cause an issue?
The number on the left shows current the right shows previous.
I am also getting a lot of ike abends. Not sure if that is related.
IKE AUTHMETHOD 0 1
IKE PFS 1 0
IKE lifetime 7200 300
ipsec hash alg for pss 1 2
ipsec encr alg for pss 2 3
IPSec encap mode 2 1
SA lifetime 7200 1000
And IPSec SA 1 0
ESP Algorithm ID 0 2
AH Algorithm ID 0 2
Thanks,
Craig Johnson wrote:
> Do you remember which ones you changed?
>
> Craig Johnson
> Novell Support Connection SysOp
> *** For a current patch list, tips, handy files and books on
> BorderManager, go to http://www.craigjconsulting.com ***
>
>

Similar Messages

  • Script to perform post server build configurations and validate settings

    Hello!
    I would like to create a script that can set numerous Windows server settings and validate that they are indeed set correctly, based on a predefined list of settings.
    For example: A third party company deploys servers from templates.  I am tasked with going through the build and verifying certain configurations and settings are set, based on my company's build request. Depending on where the server resides (physically)
    it will get specific settings.
    Is there a way to script making the correct changes and also display a validation report that all the settings/attributes that were changed, meet the expected value?
    Settings like dns settings, netbios, pagefile size/location, Terminal Server host settings(session limits etc), local admin accounts, windows features, bginfo, drive letters, drive sizes, installed ram, number of cpu cores, date/timezone, and the list goes
    on.  I currently run a few batch files to make the changes, but I'm still required to check that the settings are correct.  It would be nice to have all the batch files rolled into a script that makes changes and then runs a validation test against
    those changes. Or at the least, make changes and display all of the current values/settings so I can validate they are the correct ones.
    I have little scripting/powershell experience.  I could use some assistance to get me going in the right direction.

    Here's some intro information that should give you a place to start pulling threads:
    http://blogs.technet.com/b/heyscriptingguy/archive/2014/03/09/weekend-scripter-intro-to-powershell-4-0-desired-state-configuration.aspx
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • JCo server programming, properties and connection settings

    Greetings, SAP professionals.
    The reason I come to this forum is that I'm hoping to gain some insights into the use of the SAP Java Connector (JCo). I am a developer who was tasked with making a new component for a systems integration application. As is typical of integration software, our app can link together various different systems using a variety of protocols, as well as providing the means to apply business logic on messages passed from one location to another. We already have a connector acting as an SAP client which was implemented using JCo. Now, we were asked to develop a new component: a server capable of accepting RFCs from a remote SAP system acting as client. The server is to be created using the JCo classes, so basically an extension of JCo.Server, with some logic for creating function templates from configuration files.
    However, while I'm understanding the structure of the Java API, it's not entirely clear to me just what the classes do. I've found the JavaDoc for JCo to be mostly descriptive of the interface of classes and methods, but not really explaining what these achieve, or how. So I'm hoping to be set straight, as I fear I'm kind of misunderstanding the functionality of JCo... Being mainly an integrations developer, I unfortunately often have to settle for gaining a superficial knowledge of a variety of systems to quickly interface with them, so I don't have any prior knowledge of SAP but still need to be able to implement something with JCo without too much delay.
    The most important question I have is this: when a JCO.Server implementation is started, does it act as a fully standalone component capable of receiving calls, or does it merely act as a sort of listener for some main SAP system? I'm not talking about a reliability on the two .dll files (or .so for Linux) that are required for the use of JCo, I just wish to know if the JCo package is entirely self-sufficient for server functionality or if it is intended to be linked to some SAP system.
    A second problem I have is that the parameters passed to various constructors aren't clear to me... I'm not familiar with SAP terminology, nor have I worked with any client apps that make use of an SAP system.
    The meaning of client strings, gwhost, gwservice, ashost, system IDs and program IDs mostly elude me, especially when it comes to knowing what client parameters must match what server parameters.
    In order to familiarize myself with the classes, I've tried playing around with them a bit trying to create a small test app that first starts a JCO.Server instance, then tries to make a remote function call to it with a JCO.Client (within the same class, for simplicity and debugging purposes). I was wondering if this actually makes sense... Would a JCo client be capable of connecting to a JCo server, all running purely in Java, or is that nonsense?
    To eliminate some common troubleshooting options, I'll quicly describe the steps I've taken:
    Both librfc32.dll and sapjcorfc.dll were placed in the Windows system32 folder. Maybe only librfd32 needs to be placed there, but I copied both anyway to make sure.
    The directory containing the jar file and both dll files is included in my environment path variable.
    I've added a line to the C:\Windows\system32\drivers\etc\services file as follows:
    sapgw00          3300/tcp                           #SAP System Gateway Port
    I've opened port 3300 in my Windows firewall. In fact, I also tested with the firewall completely turned off.
    However, I do not manage to get my test class to work. I've tried ports 3300, 3200 and 3600. I've tried various permutations of the client and server properties. I've tried removing the line from the services file, which would prompt the client to state upon connecting that the service "sapgw00" is unknown. When I add it back in, the error changes to "partner not reached", so it is definitely picking something up.
    The server itself starts just fine, but connecting through a client doesn't work. My class source code is posted below. Maybe what I'm trying to do doesn't make any sense, but at the moment it's my best guess.
    I realize this is a pretty long post and the class, while not exactly big, also implies a bit of reading of its own. But if anyone could give me any answers that are new to me, I'd be hugely grateful. Right now I'm kind of stuck, and just setting up the service and letting our customer test on it is a somewhat slow approach that can't match developing and testing on one and the same host.
    Preliminary thanks to everyone who took the effort to read this.
    //Start of code
    import java.util.Properties;
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.IMetaData;
    import com.sap.mw.jco.IRepository;
    import com.sap.mw.jco.JCO;
    public class Test {
         public static void main(String[] args) {
              Test test = new Test();
              ServerThread serverThread = test.new ServerThread();
              serverThread.start();
              while(!serverThread.isReady) {
                   try {
                        Thread.sleep(5000);
                   } catch(final InterruptedException i) {
                        System.out.println("Rudely awakened");
              try {
    //               JCO.Function func = getSampleFunction(test, "STAY");
    //               serverThread.server.handleRequest(func);
    //               System.out.println(func.getExportParameterList().toXML());
    //               func = getSampleFunction(test, "STOP");
    //               serverThread.server.handleRequest(func);
    //               System.out.println(func.getExportParameterList().toXML());
                   final Properties clientProps = getClientProps();
                   JCO.Client client = JCO.createClient(clientProps);
                   client.connect();
                   IRepository rep = JCO.createRepository("1", client);
                   IFunctionTemplate templ = rep.getFunctionTemplate("TEST_FUNC");
                   JCO.Function function = templ.getFunction();
                   function.getImportParameterList().setValue("STAY", "FIELD1");
                   client.execute(function);
                   JCO.Function function2 = templ.getFunction();
                   function2.getImportParameterList().setValue("STOP", "FIELD1");
                   client.execute(function2);
              } catch(final Exception e) {
                   e.printStackTrace(System.out);
                   serverThread.requestStop();
                   while(serverThread.isAlive) {
                        try {
                             Thread.sleep(5000);
                        } catch(final InterruptedException i) {
                             System.out.println("Rudely awakened");
              } finally {
         private static Properties getClientProps() {
              final Properties props = new Properties();
              props.setProperty("jco.client.client", "100");
              props.setProperty("jco.client.user", "");
              props.setProperty("jco.client.passwd", "");
              props.setProperty("jco.client.lang", "");
              props.setProperty("jco.client.sysnr", "00");
              props.setProperty("jco.client.ashost", "/H/localhost/S/sapgw00");
              props.setProperty("jco.client.gwhost", "localhost");
              props.setProperty("jco.client.gwserv", "sapgw00");
              return props;
         public class ServerThread extends Thread {
              public void run() {
                   isAlive = true;
                   IRepository repos = new TestRepository("testrep");
                   repos.addFunctionInterfaceToCache(getFunctionInterface());
                   server = new TestServer(repos);
                   server.start();
                   System.out.println("Server successfully started");
                   isReady = true;
                   while(!stop) {
                        try {
                             Thread.sleep(1000);
                        } catch(final InterruptedException i) {
                             System.out.println("Wouldn't let me sleep...");
                        stop = server.stopRequested;
                   server.stop();
                   isAlive = false;
                   System.out.println("Server successfully stopped");
              public void requestStop() {
                   server.requestStop();
              public TestServer server;
              public boolean isReady = false;
              public boolean isAlive = false;
         public class TestServer extends JCO.Server {
              public TestServer(IRepository rep) {
                   super("localhost", "sapgw00", "PROGID", rep);
              public void handleRequest(JCO.Function fct) {
                   try {
                        JCO.ParameterList importParams = fct.getImportParameterList();
                        final String importXML = importParams.toXML();
                        System.out.println("XML representation of import parameters: ");
                        System.out.println(importXML);
                        final String input = importParams.getString("FIELD1");
                        System.out.println("FIELD1 value: " + input);
                        JCO.ParameterList exportParams = fct.getExportParameterList();
                        if(input.equals("STOP")) {
                             exportParams.getField("FIELD2").setValue("OK");
                             stopRequested = true;
                   catch(JCO.AbapException ex) {
                        throw ex;
                   catch(Throwable t) {
                        throw new JCO.AbapException("SYSTEM_FAILURE", t.getMessage());
              public boolean checkAuthorization(String functionName, int authorMode, String partner, byte[] key) {
                   System.out.println(functionName + " " + partner);
                   return true;
              public void requestStop() {
                   stopRequested = true;
              public boolean stopRequested = false;
         public class TestRepository extends JCO.BasicRepository implements IRepository {
              public TestRepository(String name) {
                   super(name);
         public static IMetaData getFunctionInterface() {
              JCO.MetaData metaData = new JCO.MetaData("TEST_FUNC");
              metaData.addInfo("FIELD1", IMetaData.TYPE_STRING, 4);
              metaData.setFlags(0, IMetaData.IMPORT_PARAMETER);
              metaData.addInfo("FIELDX", IMetaData.TYPE_STRING, 8);
              metaData.setFlags(1, IMetaData.IMPORT_PARAMETER & IMetaData.OPTIONAL_PARAMETER);
              metaData.addInfo("FIELD2", IMetaData.TYPE_STRING, 2);
              metaData.setFlags(2, IMetaData.EXPORT_PARAMETER);
              return metaData;
         public static JCO.Function getSampleFunction(Test test, String s) {
              TestRepository testRep = test.new TestRepository("testrepository");
              testRep.addFunctionInterfaceToCache(getFunctionInterface());
              JCO.Function func = testRep.getFunctionTemplate("TEST_FUNC").getFunction();
              func.getImportParameterList().setValue(s, "FIELD1");
              return func;
         private static boolean stop = false;

    If I understood you correctly, you want to provide a "service" that can be called from SAP. To provide this service you've chosen to implement an (external) RFC server program via JCo. One common method for RFC server programs is to register in SAP on the gateway - you do this by supplying the three parameters
    <ol>
    <li><b>jco.server.gwhost</b> -  SAP gateway host on which the server should be registered (so this would be the server name or IP address of the SAP gateway; localhost is only correct, if your RFC server program runs on the same server as the SAP gateway)</li>
    <li><b>jco.server.gwserv</b>  - Gateway service, i.e. the port on which a registration can be done</li>
    <li><b>jco.server.progid</b> - Program ID under which your RFC server program can be reached (free, made-up case sensitive name, that should represent the service your RFC server is providing)</li>
    </ol>
    So essentially you're creating a listener, that is registered in SAP and waits for any invocations. Within SAP they will define a <i>RFC destination</i>, which basically represents a TCP/IP connection pointing to the SAP gateway where you registered with the given program ID. If you want more details, check the SAP help pages for <a target="_blank" href="http://help.sap.com/saphelp_nw04/helpdata/en/22/04262b488911d189490000e829fbbd/content.htm">RFC destinations</a> (you're looking for destination type <b>T</b>, see explanations <a target="_blank" href="http://help.sap.com/saphelp_nw04/helpdata/en/22/042652488911d189490000e829fbbd/content.htm">here</a>).
    Usually gateway host and service (port) are given to you by the SAP basis folks and you tell them which program ID you're using. They will then enter those parameters in an RFC destination of type <b>T</b> in SAP. So no need for any of the client parameters you've mentioned. Although, I'd like to repeat, it's usually handy to also have SAP logon parameters maintained on your RFC server program, so that you can utilize the repository data from SAP (might be irrelevant in your case).
    Hope this clarifies it a bit...

  • IKE and IPSEC timers on slow connection

    Hello,
    Does anyone has recommandations regarding phase1/2 timers for ipsec tunnels via a gprs/umts connection?
    Is normal ipsec preferable (udp) or tcp?
    Thx!

    The General Packet Radio System (GPRS) facilitates the transition from phase1/2 GSM networks to 3G UMTS networks. The GPRS supplements GSM networks by enabling packet switching and allowing direct access to external packet data networks (PDNs). Data transmission rates above the 64 kbps limit of integrated services digital network (ISDN) are a requirement for the enhanced services supported by UMTS networks. The GPRS optimizes the core network for the transition to higher data rates. Therefore, the GPRS is a prerequisite for the introduction of the UMTS.
    http://www.cisco.com/en/US/netsol/ns341/ns396/ns177/ns278/networking_solutions_design_guide_chapter09186a00801219ac.html#1032030

  • I keep getting the following message after I download a book and try to open the book from my downloads (in finder) Error getting License. License Server Communication Problem: E_ACT_NOT_READY. It gives me no other information and no options other than to

    I don't really know what to do. I download a book from my library and it then goes to my download folder in finder (I have a macbook pro). When I double click on the downloaded book to open, digital editions comes up and then I get the following message
    Error getting License. License Server Communication Problem:
    E_ACT_NOT_READY
    The only option I have at that point is to close the window. My computer is registered/authorized and I have tried everything I can think of but can't get the books to download into adobe digital editions.
    Help please

    I am having this exact issue. I just downloaded a book and went to open it and got this exact problem.
    I purchased he book through indigo/kobo edition and paid for it and immediately went to open it and am getting the same error
    Error getting License. License Server Communication Problem only mine says  Bad Device key after.
    Not sure why someone has not answered this question yet...i am using windows 7 and this is how i always do it. Never had this problem before when purchasing a book.
    i hope someone answers this soon.

  • I upgraded to a new apple mac book pro and now when I try to download to adobe digital edition I receive this error:Error getting License. License Server Communication Problem: E_ACT_NOT_READY

    I upgraded to a new apple mac book pro and now when I try to download to adobe digital edition I receive this error:Error getting License. License Server Communication Problem: E_ACT_NOT_READY

    What does that have to do with Digital Publishing Suite?
    We’d love to help but if does have something to do with it, please give us
    some details.

  • I am trying to update my iPad 1 to the 5.1 version so I hooked it up ajd I click update and it just says cannot find a server please check your network settings or try again later what should I do

    I am trying to update my iPad 1 to the 5.1 version so I hooked it up ajd I click update and it just says cannot find a server please check your network settings or try again later what should I do

    See
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    If you are currently running an iOS lower than 5.0, connect to your computer & click on the "Update your device using iTunes".
    Tip - You may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update.
     Cheers, Tom

  • I am getting an error message "Adobe_unable to download, license server communications problem, e_act_not_ready".  I have downloaded Adobe Digital Editions and have authenticated the computer, but cannot download a book from the library.  What should I do

    I am getting an error message "Adobe_unable to download, license server communications problem, e_act_not_ready".  I have downloaded Adobe Digital Editions and have authenticated the computer, but cannot download a book from the library.  What should I do?

    Having exact same problem, only it's with a book I've paid for, so it hurts more . Any ideas?

  • Error getting license.  License server communication problem  E_AUTH_BAD_DEVICE_KEY_OR_PKCS12.  Does anyone know how to fix this?  I have contacted the company that I purchased the download from, and they say it is an Adobe Digital Editions problem.

    The complete error message reads:
    Error getting license.  License server communication problem  E_AUTH_BAD_DEVICE_KEY_OR_PKCS12
    I have contacted the company that I got the downloadable file from, and they say it is an Adobe problem.
    Does anyone know how to fix this?  Or how to contact Adobe?
    Thanks so much!! 

    do you have a compatible os for the ade version you're trying to use?
    ie, what os/what ade version?

  • My IPAD won't accept my wi-fi password. I have tried resetting all settings and network settings but still won't accept it. Can't download to new version of IOS either, says software update server could not be contacted.

    my IPAD won't accept my wi-fi password. I have tried resetting all settings and network settings but still won't accept it. Can't download to new version of IOS either, says software update server could not be contacted.

    Yes I have put in the correct password, its all numbers so can't get it wrong really.
    It has connected before as has my iPod and that won't connect either. I have checked that they aren't on the blocked list of the wi fi. Managed to download the new version of iOS and that hasn't made a difference.
    I have the wi fi plugged directly into the computer rather than the booster hub as the computer won't connect to it when its in the hub. I did get the iPad to connect to the internet when it twas in the hub but once I upgraded the iOS it won't accept the wifi password in the hub either.

  • Hi can someone explain what the following error code mean and how i can recifty to download a copy of ebook purchase Error getting License. License Server Communication Problem: E_ACT_NOT_READY

    Hi can any one help
    I keep getting the following error code when I try and down a ebook which I have purchase
    Error getting License. License Server Communication Problem:
    E_ACT_NOT_READY
    can someone advise me what this means and how I recifty the problem to enable me to read the ebook purchase?
    Thanks

    I am having this exact issue. I just downloaded a book and went to open it and got this exact problem.
    I purchased he book through indigo/kobo edition and paid for it and immediately went to open it and am getting the same error
    Error getting License. License Server Communication Problem only mine says  Bad Device key after.
    Not sure why someone has not answered this question yet...i am using windows 7 and this is how i always do it. Never had this problem before when purchasing a book.
    i hope someone answers this soon.

  • WLST script to set Server Overload and JTA settings

    I need to develop a WLST script to set a Server Overload settings like Max Stuck Thread Time and JTA settings like Transaction Time out. I can do it by navigating to Server->Overload tab and Services->JTA tab in weblogic admin console but my requirement is to do it in WLST.
    Any help would be appreciated.
    Thanks

    I know that ALSB used to provide APIs for SOME customizations, monitoring and control of services. I have not tried APIs in OSB for a long time and dont know if the APIs are still the same or if some of them have been deprecated. But I can say that the APIs for customization of end point values will definitely be available.
    However, I do not think there will be an API for marking HTTPS as enabled in proxy configuration, that you will need to do using the sbconsole UI or by importing an updated version of service.
    You can find the APIs here:
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e15033/toc.htm
    http://docs.oracle.com/cd/E23943_01/admin.1111/e15867/app_apis.htm#OSBAG739
    If you do need more info then search for ALSB APIs and you will get older docs but they might have more details.

  • How do I remove All OS X Server data and configuration settings

    My server app crashed and I deleted the app using app cleaner and removed the server file from the Library folder, owever when I try to reinstall the setup defults to the setting from the initial install.  Is there a way to remove all the stored data, profiles and OD included) as well as any configuration settings, such as those for AEBS and host name and ip address.  Essentially, I would like to perform an install that is the same as the initial, a truly cela install.  I am using a Mac Mini 2013 model as the server and MBP 15" as the main client.

    Completely clean install?  Wipe and install OS X, and then reload Server.app and configure that.
    Might want to report the error to the App Cleaner folks, too.

  • Remote Desktop Gateway on Windows Server 2012 R2 and IPAD

    Hi guys,
    Would love some help with an issue I been struggling for a couple of days now.
    I have a RDS 2012 R2 Gateway configured and it works great with all Windows clients both internal and external communication. The problems comes now when my I want to use  IPAD
    from APPLE. I installed latest RD Client from Microsoft and it works great from the internal network but as soon the device is moved to an external network the client get an error while connecting. Gateway is located in the domain network.
    The error is “Failed to parse authorization Challenge”,
    This is what I see in the log file from the RD Client.
    [2014-Mar-06 16:53:49] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Mar-06 16:53:49] RDP (0): lo0 af=18  addr= netmask=
    [2014-Mar-06 16:53:49] RDP (0): lo0 af=30 (AF_INET6)  addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Mar-06 16:53:49] RDP (0): lo0 af=2 (AF_INET)  addr=127.0.0.1 netmask=255.0.0.0
    [2014-Mar-06 16:53:49] RDP (0): lo0 af=30 (AF_INET6)  addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Mar-06 16:53:49] RDP (0): pdp_ip0 af=18  addr= netmask=
    [2014-Mar-06 16:53:49] RDP (0): pdp_ip0 af=2 (AF_INET)  addr=10.25.216.171 netmask=255.255.255.255
    [2014-Mar-06 16:53:49] RDP (0): pdp_ip1 af=18  addr= netmask=
    [2014-Mar-06 16:53:49] RDP (0): pdp_ip2 af=18  addr= netmask=
    [2014-Mar-06 16:53:49] RDP (0): pdp_ip3 af=18  addr= netmask=
    [2014-Mar-06 16:53:49] RDP (0): pdp_ip4 af=18  addr= netmask=
    [2014-Mar-06 16:53:49] RDP (0): en1 af=18  addr= netmask=
    [2014-Mar-06 16:53:49] RDP (0): ap1 af=18  addr= netmask=
    [2014-Mar-06 16:53:49] RDP (0): en0 af=18  addr= netmask=
    [2014-Mar-06 16:53:49] RDP (0): awdl0 af=18  addr= netmask=
    [2014-Mar-06 16:53:49] RDP (0): --- END INTERFACE LIST ---
    [2014-Mar-06 16:53:49] RDP (0): Not using any proxy
    [2014-Mar-06 16:53:49] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Mar-06 16:53:54] RDP (0): Resolved 'MB-RDS-01.contoso.LOCAL' to 'ERROR: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.' using NameResolveMethod_Unknown(0)
    [2014-Mar-06 16:53:54] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.(phase: 0, type: 0, reason: 0, systemCode: 0, systemMessage: )
    [2014-Mar-06 16:53:54] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Mar-06 16:53:54] RDP (0): Final rdp configuration used: {
        activeUsername = " Contoso\\User01";
        arcTimeout = 1800;
        cacheId = 12BF328DD1C8B841;
        certificatesUseRedirectName = 1;
        configurationVersion = 8;
        font = 1;
        gatewayId = F2EE288CD1C8B841;
        gatewayMode = 2;
        gwAutodetectState = kConnectionGwAutodectedForceGW;
        host = "MB-RDS-01.CONTOSO.LOCAL";
        label = "Murbiten - Terminal Server";
        loadBalanceInfo = "tsv://MS Terminal Services Plugin.1.Contoso_-_Termi";
        mouseMode = "-1";
        port = 3389;
        temporary = 1;
        type = rdp;
        useAlt = 0;
        utilityBar = "-1";
        webFeedVersion = "Windows 2008 R2 or newer";
        connections =     (
            F4BF288CD1C8B841,
            12BF328DD1C8B841
        host = "remote.customer.com";
        id = F2EE288CD1C8B841;
        port = 443;
        temporary = 1;
        type = rdp;
        kCFProxyTypeKey = kCFProxyTypeNone;
    [2014-Mar-06 16:53:54] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Mar-06 16:53:54] RDP (0): lo0 af=18  addr= netmask=
    [2014-Mar-06 16:53:54] RDP (0): lo0 af=30 (AF_INET6)  addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Mar-06 16:53:54] RDP (0): lo0 af=2 (AF_INET)  addr=127.0.0.1 netmask=255.0.0.0
    [2014-Mar-06 16:53:54] RDP (0): lo0 af=30 (AF_INET6)  addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Mar-06 16:53:54] RDP (0): pdp_ip0 af=18  addr= netmask=
    [2014-Mar-06 16:53:54] RDP (0): pdp_ip0 af=2 (AF_INET)  addr=10.25.216.171 netmask=255.255.255.255
    [2014-Mar-06 16:53:54] RDP (0): pdp_ip1 af=18  addr= netmask=
    [2014-Mar-06 16:53:54] RDP (0): pdp_ip2 af=18  addr= netmask=
    [2014-Mar-06 16:53:54] RDP (0): pdp_ip3 af=18  addr= netmask=
    [2014-Mar-06 16:53:54] RDP (0): pdp_ip4 af=18  addr= netmask=
    [2014-Mar-06 16:53:54] RDP (0): en1 af=18  addr= netmask=
    [2014-Mar-06 16:53:54] RDP (0): ap1 af=18  addr= netmask=
    [2014-Mar-06 16:53:54] RDP (0): en0 af=18  addr= netmask=
    [2014-Mar-06 16:53:54] RDP (0): awdl0 af=18  addr= netmask=
    [2014-Mar-06 16:53:54] RDP (0): --- END INTERFACE LIST ---
    [2014-Mar-06 16:53:54] RDP (0): Not using any proxy
    [2014-Mar-06 16:53:54] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Mar-06 16:53:54] RDP (0): Resolved 'remote.customer.com' to '194.71.11.69' using NameResolveMethod_Unknown(0)
    [2014-Mar-06 16:53:54] RDP (0): Resolved 'remote.customer.com' to '194.71.11.69' using NameResolveMethod_Unknown(0)
    [2014-Mar-06 16:53:54] RDP (0): Exception caught: Exception in file '/Users/build/jenkins/workspace/rc-ios-develop/protocols/RDP/librdp/librdp/private/httpendpoint.cpp' at line 346
        User Message : Failed to parse authorization Challenge
    [2014-Mar-06 16:53:54] RDP (0): Exception caught: Exception in file '/Users/build/jenkins/workspace/rc-ios-develop/protocols/RDP/librdp/librdp/private/httpendpoint.cpp' at line 346
        User Message : Failed to parse authorization Challenge
    [2014-Mar-06 16:53:54] RDP (0): Error message: Failed to parse authorization Challenge(phase: 0, type: 0, reason: 0, systemCode: -1, systemMessage: )
    [2014-Mar-06 16:53:54] RDP (0): Protocol state changed to: ProtocolDisconnecting(7)
    [2014-Mar-06 16:53:54] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Mar-06 16:53:54] RDP (0): ------ END ACTIVE CONNECTION ------
    en → en
    authorization
    Adam Bokiniec

    Hi Jeremy,
    I found a solution, thanks for you effort. The solutions is the following.
    First thing that needs to be done is either solution from options below, I did the Solution 1 in my case and added a NPS server to AD. (https://blogs.technet.com/b/networking/archive/2010/01/14/remote-desktop-gateway-client-fails-authentication-with-your-user-account-is-not-authorized-to-access-the-rd-gateway.aspx)
    Solution 1
    Register the NPS server in Active Directory:
    In Server Manager, browse to the following location: Roles\Network Policy and Access Services\NPS (Local).
    Right click on the NPS (Local) node and choose Register server in Active Directory.
    Click OK to authorize the server when prompted.
    Solution 2
    Open Active Directory Users and Computers on any Domain Controller of the same domain as the Remote Desktop Gateway.
    Add the Computer Name of the Remote Desktop Gateway to the RAS and IAS Servers group.
    Situation B
    Restart the RDS host and Gateway server.
    Secondly and the most important is to configure an alternate address that match your public certificate. My public certificate CNAME is “remote.domain.se”.
    All commands need to be run as administrator in PowerShell
    To show you current configuration run the following commands:
    CollectionName is the Collection Name you created for the RDS deployment.
    To get your collection name type
    Get-RDSessionCollection
    When you got the collection name type
    Get-RDSessionCollectionConfiguration -CollectionName "RDS - Terminal Server" | FL *
    The default configuration will look like this:
    CustomRdpProperty     : use redirection server name:i:1
    No to add you public domain name that match the certificate run the following command
    Set-RDSessionCollectionConfiguration –CollectionName " RDS - Terminal Server " -CustomRdpProperty "use redirection server name:i:1 `n alternate full address:s:remote.domain.se
    Run again to verify your settings
    Get-RDSessionCollectionConfiguration -CollectionName "RDS - Terminal Server" | FL *
    Now it show look something like this
    CustomRdpProperty     : use redirection server name:i:1
                             alternate full address:s:remote.domain.se
    IPADs and iPhones can now connect to your environment.
    Adam Bokiniec

  • Problems on sending mail on Websphere Application Server Community Edition

    Hi, i am using the following class for sending mail:-
    /**This class encapsulates mailing to any person. it defines method that takes parametres
    * such as mail server address,sender and recipient address, userid and password of the
    *  SMTP account
    package src;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class Mailer extends javax.mail.Authenticator{
    /** The javamail session object. */
    protected Session session;
    /** The sender's email address */
    protected String from;
    /**the Username of the account used for authentication*/
    protected String user;
    /**The password of the mail account*/
    protected String password;
    /** The subject of the message. */
    protected String subject;
    /** The recipient ("To:"), as Strings. */
    protected ArrayList toList = new ArrayList( );
    /** The CC list, as Strings. */
    protected ArrayList ccList = new ArrayList( );
    /** The BCC list, as Strings. */
    protected ArrayList bccList = new ArrayList( );
    /** The text of the message. */
    protected String body;
    /** The SMTP relay host */
    protected String mailHost;
    /** Get from */
    public String getFrom( ) {
    return from;
    /** Set from */
    public void setFrom(String fm) {
    from = fm;
    /** Get username */
    public String getUser( ) {
    return user;
    /** Set username */
    public void setUser(String us) {
    user=us;
    /** Set password*/
    public void setPassword(String password){
        this.password=password;
    /**Get Password*/
    public String getPassword(){
        return password;
    /** Get subject */
    public String getSubject( ) {
    return subject;
    /** Set subject */
    public void setSubject(String subj) {
    subject = subj;
    // SETTERS/GETTERS FOR TO: LIST
    /** Get tolist, as an array of Strings */
    public ArrayList getToList( ) {
    return toList;
    /** Set to list to an ArrayList of Strings */
    public void setToList(ArrayList to) {
    toList = to;
    public void setToList(String s) {
    toList = tokenize(s);
    /** Add one "to" recipient */
    public void addTo(String to) {
    toList.add(to);
    // SETTERS/GETTERS FOR CC: LIST
    /** Get cclist, as an array of Strings */
    public ArrayList getCcList( ) {
    return ccList;
    /** Set cc list to an ArrayList of Strings */
    public void setCcList(ArrayList cc) {
    ccList = cc;
    /** Set cc as a string like "tom, mary, robin@host". Loses any
    * previously-set values. */
    public void setCcList(String s) {
    ccList = tokenize(s);
    /** Add one "cc" recipient */
    public void addCc(String cc) {
    ccList.add(cc);
    // SETTERS/GETTERS FOR BCC: LIST
    /** Get bcclist, as an array of Strings */
    public ArrayList getBccList( ) {
    return bccList;
    /** Set bcc list to an ArrayList of Strings */
    public void setBccList(ArrayList bcc) {
    bccList = bcc;
    /** Set bcc as a string like "tom, mary, robin@host". Loses any
    * previously-set values. */
    public void setBccList(String s) {
    bccList = tokenize(s);
    /** Add one "bcc" recipient */
    public void addBcc(String bcc) {
    bccList.add(bcc);
    // SETTER/GETTER FOR MESSAGE BODY
    /** Get message */
    public String getBody( ) {
    return body;
    /** Set message */
    public void setBody(String text) {
    body = text;
    /** Check if all required fields have been set before sending.
    * Normally called e.g., by a JSP before calling doSend.
    * Is also called by doSend for verification.
    public boolean isComplete( ) {
    if (from == null || from.length( )==0) {
    System.err.println("doSend: no FROM");
    return false;
    if (subject == null || subject.length( )==0) {
    System.err.println("doSend: no SUBJECT");
    return false;
    if (toList.size( )==0) {
    System.err.println("doSend: no recipients");
    return false;
    if (body == null || body.length( )==0) {
    System.err.println("doSend: no body");
    return false;
    if (mailHost == null || mailHost.length( )==0) {
    System.err.println("doSend: no server host");
    return false;
    return true;
    public void setServer(String s) {
    mailHost = s;
    /** Send the message.
    public synchronized void doSend( ) throws MessagingException {
    if (!isComplete())
    throw new IllegalArgumentException("doSend called before message was complete");
    /** Properties object used to pass props into the MAIL API */
    Properties props = new Properties( );
    props.put("mail.smtp.host", mailHost);
    props.put("mail.smtp.user",user);
    props.put("mail.smtp.auth", "true");
    if (session == null) {
    session = Session.getDefaultInstance(props,null);
    // create a message
    final Message mesg = new MimeMessage(session);
    InternetAddress[] addresses;
    // TO Address list
    addresses = new InternetAddress[toList.size( )];
    for (int i=0; i<addresses.length; i++)
    addresses[i] = new InternetAddress((String)toList.get(i));
    mesg.setRecipients(Message.RecipientType.TO, addresses);
    // From Address
    mesg.setFrom(new InternetAddress(from));
    // CC Address list
    addresses = new InternetAddress[ccList.size( )];
    for (int i=0; i<addresses.length; i++)
    addresses[i] = new InternetAddress((String)ccList.get(i));
    mesg.setRecipients(Message.RecipientType.CC, addresses);
    // BCC Address list
    addresses = new InternetAddress[bccList.size( )];
    for (int i=0; i<addresses.length; i++)
    addresses[i] = new InternetAddress((String)bccList.get(i));
    mesg.setRecipients(Message.RecipientType.BCC, addresses);
    // The Subject
    mesg.setSubject(subject);
    // Now the message body.
    mesg.setText(body);
    // Finally, send the message!
    new Thread( ) {
    public void run( ) {
    try {
    String protocol = "smtp";
       Transport t = session.getTransport(protocol);
        try {
            t.connect(mailHost,user,password);
            t.sendMessage(mesg,mesg.getAllRecipients());
        } finally {
            t.close();
    } catch (MessagingException e) {
    throw new IllegalArgumentException(
    "Transport.send() threw: " + e.toString( ));
    }.start( );
    /** Convenience method that does it all with one call. */
    public static void send(String mailhost,String recipient, String sender,String user,String password, String subject, String message) throws MessagingException {
    Mailer m = new Mailer( );
    m.setServer(mailhost);
    m.addTo(recipient);
    m.setFrom(sender);
    m.setUser(user);
    m.setPassword(password);
    m.setSubject(subject);
    m.setBody(message);
    m.doSend( );
    /** Convert a list of addresses to an ArrayList. This will work
    * for simple names like "tom, [email protected], 123.45@c$.com"
    * but will fail on certain complex (but RFC-valid) names like
    * "(harish, munish) <[email protected]>".
    * Or even "Ian Darwin <[email protected]>".
    protected ArrayList tokenize(String s) {
    ArrayList al = new ArrayList( );
    StringTokenizer tf = new StringTokenizer(s, ",");
    // For each word found in the line
    while (tf.hasMoreTokens( )) {
    // trim blanks, and add to list.
    al.add(tf.nextToken().trim( ));
    return al;
    }Then i am using the following code snippet in a servlet to send mail by using the static send function of the above class.
    try {
                src.Mailer.send("smtp.mail.yahoo.co.in","[email protected]","[email protected]","gaurav_s_pandey","tinGSPyahootin","Subject of Servlet Mail","This is the mail sent by servlet run on geronimo");
                out.println("Request sent Successfully!!!");
            } catch (MessagingException ex) {
                out.println("Error Sending Request!!! Check Network Settings!!!");
            }My problem is that it is not working on Websphere ApplicationServer Community Edition ,but the same code and servlet is running and sending mails as desired on Apache Tomcat...
    Can some one help me plzzz as i have to make it run on WAS CE only and not tomcat....

    You didn't say anything about what exactly "not working" means.
    Some details would help debug the problem.
    My understanding is that WebSphere Community Edition is essentially just
    Apache Geronimo. I believe Geronimo has its own version of JavaMail that
    might not work as well as the Sun version that is usually included with Tomcat.
    If that's the source of the problem, you'll need to ask for help in the Geronimo
    support forum.

Maybe you are looking for

  • Screen designing - doubt in call transaction

    Hi Experts I have created the screen with 5 pushbuttons. If i click the pushbutton program calling the T.code. for example : one push button is for T.code 'MM03'. Byaccessing this i have created the material. Once the material is saved  how to go bac

  • Rip-off apps in the store

    If you do a search on the word "Microsoft" in the store, you will find several apps that are mostly purchased by people who confuse them with actual Microsoft products.  For example, we have "Microsoft(R) Word(R) 2010 -- mastering in 24h(TM)."  The r

  • Maintain Controlling Area Settings: - Transportation

    Maintain Controlling Area Settings: In development server i maintained PCA controlling area settings like "Standard Hierarchy, PCt Local Currency Type '. after i we transported to testing server these are not transported all other are transported. ca

  • How to find Table Name and Field Names given a Data Source

    Hi, I tried ROOSOURCE table in R/3 to find the Extract Structure and Extractor names for a specific data source, let us say 2LIS_02_ITM (PO Item Level). I know the extract structure for this data source is MCO2M_0ITM I am not able to find where this

  • Why I can't buy on american iTunes Store if I'm canadian ?

    Hi, I tried to purchase on american iTunes Store and I'm a canadian. But Itunes send me to the canadian iTunes store... but it doesn't have the movie I want on the american... Why I can't buy on american iTunes Store if I'm canadian ? François