Want to access server

I have the following web server and want to access it from a client but am not sure how. I was just wondeing if anyone could help. I know I have to type into IE on the client the following:
http://localhost."port number"/"file name"
I am unsure as how to type in the file name and I am using 80 as the port number which I think is right. I am also typing this into the client which is the other PC on my network. Here is my server code:
import java.io.*;
import java.net.*;
import java.util.*;
class WebServer
     public static void main(String[] args) throws Exception
          String requestMessageLine;
          String fileName;
          ServerSocket listenSocket = new ServerSocket(80);
          Socket connectionSocket = listenSocket.accept();
BufferedReader inFromClient =
                    new BufferedReader(new InputStreamReader(
          connectionSocket.getInputStream()));
          DataOutputStream outToClient = new DataOutputStream(
          connectionSocket.getOutputStream());
          requestMessageLine = inFromClient.readLine();
          StringTokenizer tokenizedLine =
               new StringTokenizer(requestMessageLine);
               if (tokenizedLine.nextToken().equals("GET"))
                    fileName = tokenizedLine.nextToken();
                    if ( fileName.startsWith("/")==true )
                         fileName = fileName.substring(1);
                    File file = new File(fileName);
                    int numOfBytes = (int)file.length();
                    FileInputStream inFile = new FileInputStream(fileName);
                    byte[] fileInBytes = new byte[numOfBytes];
                    inFile.read(fileInBytes);
                    /* Send the HTTP header */
                    outToClient.writeBytes("HTTP/1.1 200 Document Follows\r\n");
                    if (fileName.endsWith(".jpg"))
                         outToClient.writeBytes("Content-Type: image/jpeg\r\n");
                    if (fileName.endsWith(".gif"))
                         outToClient.writeBytes("Content-Type: image/gif\r\n");
                    outToClient.writeBytes("Content-Length: " + numOfBytes + "\r\n");
                    outToClient.writeBytes("\r\n");
                    /* Now send the actual data */
                    outToClient.write(fileInBytes, 0, numOfBytes);
                    connectionSocket.close();
               else
               System.out.println("Bad Request Message");

Currently your code looks for the file in the current directory. You might want to change that to something like
import java.io.*;
import java.net.*;
import java.util.*;
class WebServer
     /* Define the root directory, where web pages are stored */
     static String webRoot = System.getProperty("user.dir")+File.separator+"webRoot";
     public static void main(String[] args) throws Exception
          String requestMessageLine;
          String fileName;
          ServerSocket listenSocket = new ServerSocket(80);
          Socket connectionSocket = listenSocket.accept();
          BufferedReader inFromClient
               = new BufferedReader
                    (new InputStreamReader( connectionSocket.getInputStream() ));
          DataOutputStream outToClient
               = new DataOutputStream( connectionSocket.getOutputStream() );
          requestMessageLine = inFromClient.readLine();
          StringTokenizer tokenizedLine = new StringTokenizer(requestMessageLine);
          System.out.println(requestMessageLine);
          if (tokenizedLine.nextToken().equals("GET"))
               fileName = tokenizedLine.nextToken();
               /* check for file existence */
               File file = new File(webRoot+fileName);
               if ( !file.exists() )
                    outToClient.writeBytes("HTTP/1.1 400 Document not found\r\n");
                    return;
               int numOfBytes = (int)file.length();
               FileInputStream inFile = new FileInputStream(file);
               byte[] fileInBytes = new byte[numOfBytes];
               inFile.read(fileInBytes);
               /* Send the HTTP header */
               outToClient.writeBytes("HTTP/1.1 200 Document Follows\r\n");
               if (fileName.endsWith(".jpg"))
                    outToClient.writeBytes("Content-Type: image/jpeg\r\n");
               if (fileName.endsWith(".gif"))
                    outToClient.writeBytes("Content-Type: image/gif\r\n");
               outToClient.writeBytes("Content-Length: " + numOfBytes + "\r\n");
               outToClient.writeBytes("\r\n");
               /* Now send the actual data */
               outToClient.write(fileInBytes, 0, numOfBytes);
               connectionSocket.close();
          else
               System.out.println("Bad Request Message");
}

Similar Messages

  • OAM Access Server - Cannot load cert chain file aaa_chain.pem

    Hi experts,
    I am in the midst of changing the Transport Layer Security (TLS) of OAM Access Server from Open mode to Cert mode, and encountering the error not able to load aaa_chain.pem.
    Below are the steps which I have did:-
    1. Change the TLS mode for both Access Server and Webgate from Open >> Cert mode in the Access System console
    2. Stop the Access Server from Services
    3. From the <access server install dir> run ConfigureAAAServer.exe to generate aaa_req.pem and aaa_key.pem.
    4. Copy the certificate request from the aaa_req.pem and submit to Internal CA (Ms CA).
    5. Download the Certificate and Certificate Chain in Base 64 encoding, and rename into *.pem. E.g. certnew.cer >> aaa_cert.pem certnew.p7b >> aaa_chain.pem.
    6. Copy *.pem files in to <access server install dir>/oblix/config
    7. Rerun ConfigureAAAServer.exe to install the cert, all went smoothly without issue.
    8. Start Access Server from Services. <<< Service failed to start.
    NOTE: I did the same thing for Policy Manager, used genCert.exe to generate certificate request, submit the CA to sign and installed.
    Check on the event viewer, the following error was found.
    **===========================================================================**
    Log Name: Application
    Source: ObAAAServer-AccSvr01
    Date: 16/8/2010 1:06:39 AM
    Event ID: 1
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: IDMsvr.SSO.com
    Description:
    The description for Event ID 1 from source ObAAAServer-AccSvr01 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Access Server Exception: Error: Cannot load cert chain file C:\Program Files (x86)\NetPoint\access/oblix/config/aaa_chain.pem
    the message resource is present but the message is not found in the string/message table
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="ObAAAServer-AccSvr01" />
    <EventID Qualifiers="49152">1</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-08-15T17:06:39.000Z" />
    <EventRecordID>1072</EventRecordID>
    <Channel>Application</Channel>
    <Computer>IDMsvr.SSO.com</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Access Server Exception: Error: Cannot load cert chain file C:\Program Files (x86)\NetPoint\access/oblix/config/aaa_chain.pem</Data>
    </EventData>
    </Event>
    **===========================================================================**
    The ConfigureAAAServer.exe_
    C:\Program Files (x86)\NetPoint\access\oblix\tools\configureAAAServer>configureA
    AAServer.exe reconfig "C:\Program Files (x86)\NetPoint\access"
    Please enter the Mode in which you want the Access Server to run : 1(Open) 2(Si
    mple) 3(Cert) : 3
    Do you want to request a certificate (1) or install a certificate (2) ? : 1
    Please enter the Pass phrase for this Access Server :
    Do you want to store the password in the file ? : 1(Y) 2(N) : 1
    Preparing to generate certificate. This may take up to 60 seconds. Please wai
    t.
    Loading 'screen' into random state - done
    Generating a 1024 bit RSA private key
    .............++++++
    ..++++++
    writing new private key to 'C:\Program Files (x86)\NetPoint\access\oblix\config\
    aaa_key.pem'
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    Country Name (2 letter code) [US]:.
    State or Province Name (full name) [Some-State]:.
    Locality Name (eg, city) []:.
    Organization Name (eg, company) [Some-Organization Pty Ltd]:.
    Organizational Unit Name (eg, section) []:.
    Common Name (eg, hostName.domainName.com) []:IDMsvr.sso.com
    Email Address []:.
    writing RSA key
    Your certificate request is in file : C:\Program Files (x86)\NetPoint\access/ob
    lix/config/aaa_req.pem
    Please get your certificate request signed by the Certificate Authority.
    On obtaining your certificate, please place your certificate in 'C:\Program Fil
    es (x86)\NetPoint\access/oblix/config/aaa_cert.pem' file and the certificate aut
    hority's certificate for the corresponding component (for example: WebGate, AXML
    Server) in 'C:\Program Files (x86)\NetPoint\access/oblix/config/aaa_chain.pem'
    file.
    Once you have your certificate placed at the above mentioned location, please f
    ollow the instructions on how to start the Access Server.
    More Information on setting up Access Server in Certificate mode can be obtaine
    d from the Setup Installation Guide.
    Access Server mode has been re-configured successfully.
    Please note that new security mode will take effect only after the security mod
    e for this Access Server is changed to 'cert' from the Access Manager System Con
    sole.
    Do you want to specify or update the failover information ? : 1(Y) 2(N) :2
    Please restart the Access Server from the Control Panel Services once you have
    placed your certificates at the above mentioned location.
    Press enter key to continue ...
    C:\Program Files (x86)\NetPoint\access\oblix\tools\configureAAAServer>configureA
    AAServer.exe reconfig "C:\Program Files (x86)\NetPoint\access"
    Please enter the Mode in which you want the Access Server to run : 1(Open) 2(Si
    mple) 3(Cert) : 3
    Do you want to request a certificate (1) or install a certificate (2) ? : 2
    Please enter the Pass phrase for this Access Server :
    Do you want to store the password in the file ? : 1(Y) 2(N) : 1
    Please provide the full path to the Certificate key file [C:\Program Files (x86)
    \NetPoint\access/oblix/config/aaa_key.pem] : C:\Program Files (x86)\NetPoint\acc
    ess\oblix\config\aaa_key.pem
    Please provide the full path to the Certificate file [C:\Program Files (x86)\Net
    Point\access/oblix/config/aaa_cert.pem] : C:\Program Files (x86)\NetPoint\access
    \oblix\config\aaa_cert.pem
    Please provide the full path to the Certificate authority's certificate chain fi
    le [C:\Program Files (x86)\NetPoint\access/oblix/config/aaa_chain.pem] : C:\Prog
    ram Files (x86)\NetPoint\access\oblix\config\aaa_chain.pem
    Access Server mode has been re-configured successfully.
    Please note that new security mode will take effect only after the security mod
    e for this Access Server is changed to 'cert' from the Access Manager System Con
    sole.
    Do you want to specify or update the failover information ? : 1(Y) 2(N) :2
    Please restart the Access Server from the Control Panel Services.
    Press enter key to continue ...
    **===========================================================================**
    I followed through the documentation on OAM Identity & Common Admin - Chapter 8 guide.
    Is there anything which I have missed or something to do with the certificate.
    Thanks in advance.
    Regards,
    Wing
    Edited by: user13340813 on Aug 19, 2010 8:56 PM

    No, you didn't do anything wrong, JeanPhilippe. I'm right there with you. There's even another thread on this issue:
    <http://discussions.apple.com/thread.jspa?messageID=10808126>
    I had the same problem: IMAP & POP services would not launch using SSL. Finally got it resolved today. It had nothing to do with certificates and their names, or creating them in openssl, and everything to do with a botched dovecot.conf file, courtesy of Server Admin.
    It appears that every time I changed the certificate for IMAP & POP SSL in Server Admin, it appended the new selection to the dovecot.conf file on 3 separate lines. The result was an unhealthy list of every certificate file Server Admin had ever been pointed to for this service.
    After making a backup, I edited the file (/etc/dovecot/dovecot.conf) down to the single cert file I wanted it to use. It happened to be first in the list, FWIW.
    If you want to duplicate this, look for the lines beginning with:
    "sslcertfile"
    "sslkeyfile"
    "sslcafile"
    Obviously you need to be careful in there. But I did not even have to bounce the service before it took my changes. Thankfully, Server Admin did not overwrite my edits (which I've seen happen with manual config of other services, such as the iChat service.)
    Good luck, and let me know if I can provide more detail.

  • HT1430 why does my ipad asks me to keyin password everytime i want to access my Yahoo.Account but after I have keyed in the password, it gives out : "Yahoo! Server Unavailable. Pls try again later." and i have been doing this for the past three days witho

    Why cant i access my Yahoo emails?
    why does my iPad ask me to key in my password everytime i want to access my emails, and after doing keying my password it gives me a notice" Yahoo! Server Unavailable. Please try again later"? but i have been doing this for three days. but if i use directly my Yahoo browser, i can access my mails.

    thanks for the reply, but have tried it several times, but still not successful.

  • We have two company user,till now there are using same URL.but they wanted to access particular URL to related company user in single server

    Hi Experts,
    We have two company user,till now there are using same URL.but they wanted to access particular URL to related company user in single server.
    As per my knowledge ,it is possible through create new aliases with different URLs in network.
    But i dont how to create. Please help on this.
    Thanks in advance.
    Regards,
    Prasad

    Hi Prasad,
    Please explain in clear english as to what is your requirement. I got lost after "two company user" . I suppose it means there are users from two separate company: A and B. They were using same portal till now: http://commonportal:50000/irj/portal.
    Now they need different urls - specific for each company say companyAportal.com and companyBportal.com. But still the same old common portal in the end.
    If that's your requirement please search the forum with correct terms, else "Google".
    Thanks,

  • Have to restart Lion server every time I want to access it remotely

    L.S.,
    My Mac Mini Server (10.7.3) is colocated at a data center.
    At this point I have to restart Lion server every time I want to access it remotely for screen sharing over the internet.
    I can make the connection, so all the right ports are open, as the port scan also shows, but it just times out when I wish to connect again within the same server without rebooting.
    I bought Apple Remote Desktop but that doesn't help either. I can still connect through AFP, web and VPN.
    I do hope that someone can give me some more insight in this problem.
    Rebooting isn't a problem by the way...
    UPDATE:
    If I keep the session active overnight, there is no problem whatsoever, but when I log off as a "good practice", which I've learned using Windows, screen sharing will not work any longer. Forgetting about logging off seems to be a viable workaround at this point .
    regards,
    Mark

    Double post... https://discussions.apple.com/message/17729558#17729558

  • I want to access my Icloud account through my office computer but every time I get a message saying ''iCloud encountered an error while trying to connect to the server''

    I want to access my Icloud account through my office computer but every time I get a message saying ''iCloud encountered an error while trying to connect to the server''

    My recommendation is to download Apple’s Safari version 5.1.7 for Windows to access iCloud.com. It consistently works for me!!!! To make things easier with Safari, I made iCloud.com its Homepage. I’m using it to access iCloud.com from all of my PCs.
    On my Windows 7 systems it appears that some add-ons are causing problems when you try to access iCloud.com with the 32-bit version of IE9, but the 64-bit version seems to work fine, more than likely because there are few add-ons that are 64-bit and the 64-bit version of IE9 can't be the default browser in Windows 7.

  • Can I use my iPad to connect to a Mobile Access Server on a Mac mini ?

    I run a small business and am considering setting up an internal network. The online "features" description for Mobile Access Server (a component of Snow Leopard Server) says I can connect remoetley from an iPod or a Mac. The iPad is not mentioned. can I use my iPad to connect to a Mobile Access Server?

    Yes. It's the same as connecting from an iPod touch or iPhone.
    Logmeinigniton or teamviewer are a few of the apps you can use.
    Teamvewer has free app and you can see if it does what you want.

  • How do I change the URL to the Remote Web Access server in Windows Server 2012?

    Hallo!
    I have set up a Remote Dexktop Service using the "Quick" deployment method in Server Manager and everything is working greate internally, but I cannot start an app published in Remote Web Access from outside our network.
    The problem is that it wants to start the using the internal URL, for example, server.domain.local, instead of the external one, for example remote.server.com.
    I therefore want to know how I can change the default URL for the Remote Web Access server and all the Remote Web Apps in Windows Server 2012?
    I have allready looked in Server Manager and I can change some of the deployment settings in server manager, but there is no way to alter the URL of the Remote Web Access server. See below images:
    Pressing the internal URL only results in opening the internal URL.
    This was very simple to do in Windows Server 2008 R2 using the tsconfig tool, but it does not seam to be any way of solving this in server manager.
    A possible sollution would be to alter the registry someware in HKLM->Software->Microsoft->Windows NT->Terminal Services. But this can easaly lead to problems due to wrong format, etc. and is probably not supported.
    Is there a simpler and supported way?

    That option can be used to connect to any machine that you want.  The error message indicates that the client machine cannot resolve the name "server.domain.local" to an IP address that it can connect to.
    You have several options for configuring that tab on the RDweb site.  You can even remove it entirely. 
    Customization of RD Web Site
    RD Web provides a number of customization options for the RD Web interface, including the ability to control default Gateway server settings and redirection settings. These settings
    are controlled by editing the web.config file located in %SYSTEMROOT%\Web\RDWeb\Pages.
    Displaying Local Help
    To display local help for users instead of the web-based help, edit the LocalHelp value and change the value from false to true.
    <!-- LocalHelp: Displays local help for users, instead of the web-based help. Value must be "true" or "false" -->
    <add key="LocalHelp" value="false" />
    When this value is changed, a user that clicks on Help in the upper right corner of the RD Web login page will open the local help file instead of web-based help.
    Hiding the Connect to a Remote PC Tab
    The RDWeb page
    Connect to a Remote PC tab can be hidden from users to prevent connections to any servers through RD Web other than the servers configured in a collection. By default, this setting is set to true and the
    Remote Desktops tab is displayed. To hide the tab, set the value to false.
    <!-- ShowDesktops: Displays or hides the Remote Desktops tab. Value must be "true" or "false" -->
    <add key="ShowDesktops" value="true" />
    When the value is set to false, a user will not see the Connect to a Remote PC tab when logged on to the RD Web page
    RD Gateway Settings
    If the Connect to a Remote PC tab is enabled, an administrator can configure RD Web to use a Gateway server when connecting to remote computers. To specify a gateway, edit the below
    value with the name of the RD Gateway server:
    <!-- DefaultTSGateway: Admin can preset this to a given Gateway name, or set to "" for no gateway. -->
    <add key="DefaultTSGateway" value="" />
    The default authentication method for the RD Gateway server can also be configured by editing the following section of the web.config:
    <!-- GatewayCredentialsSource: TS Gateway Authentication Type.
    Admins can preset this.
    0 = User Password
    1 = Smartcard
    4 = "Ask me later"
    -->
    <add key="GatewayCredentialsSource" value="0" />
    Devices and Resources
    By default, only Printers and Clipboard are redirected on connections made using the Connect to a Remote PC tab. If the user clicks the
    Options << button, the redirection settings for a specific connection can be modified
    To configure each specified redirection option to be enabled or disabled by default, edit the following section in the web.config file:
    <!-- Devices and resources: Preset the Checkbox values to either true or false -->
    <add key="xPrinterRedirection" value="true" />
    <add key="xClipboard" value="true" />
    <add key="xDriveRedirection" value="false" />
    <add key="xPnPRedirection" value="false" />
    <add key="xPortRedirection" value="false" />
    LAN Experience Defaults
    Windows Server 2012 RD Web Access can display a new user selectable option for optimizing the connection for a LAN experience. This option is displayed at the bottom of the RD Web
    page and can be controlled by the administrator using the following section of the web.config file:
    <!--  Checkbox to opt for optimized LAN experience -->
    <add key="ShowOptimizeExperience" value="false" />
    <add key="OptimizeExperienceState" value="false" />
    This value is set to false by default, but when changed to true, the following checkbox will display at the bottom of the webpage. The LAN experience
    checkbox can also be set as enabled by default.
    Each setting can also be modified using the IIS Manager user interface:
    Don Geddes - SR Support Escalation Engineer - Remote Desktop Services - Printing and Imaging

  • Mobile Access Server setup

    So, I'm setting up a 10.6.1 server in the DMZ to be a Mobile Access Server to reverse proxy mail, calendaring, and web. Couple issues I have:
    1. I want to manage this DMZ server from a different internal 10.6.1 Server inside my network. I have turned on Remote Management on the DMZ server, but cannot connect from Server Admin on the internal server to the DMZ server. I need to be able to manage both servers from one Server Admin console. I also need to be able to screen share the DMZ server for access ONLY from the internal server. How do I accomplish this?
    2. My internal 10.6.1 server is my Open Directory Master already, and working nicely. But to use Mobile Access Server and reverse proxy services back to the internal server, I need the DMZ server to be aware of my existing directory inside. Would I want to make the DMZ server an Open Directory Replica, or should I use the middle option for Open Directory types called "Connect to another directory"? Obviously, I know that it should NOT be another master.
    3. I have purchased and implemented a wildcard cert on my internal 10.6.1 server to use for TLS, HTTPS, etc. I have also told the Open Directory Master to use ssl for the LDAP piece of it (there's a GUI option for that). Figured I might as well secure everything I can a bit more since I purchased the cert. What effect will this have on Question 2 above? Will I need to open a different port for instance on the firewall for LDAP over SSL? Or any issues with creating a Replica or "connect to another OD server" on the OD server in the DMZ to get it to connect to the internal OD Master?
    Thanks for all the help here.

    To your #1: When you use a firewall to place a device in a DMZ, that device is not part of the internal network. It 'technically' sits on the outside of the firewall at nearly the same place as your external connection.
    Some discussions about a firewall use colors to designate the 'data protection' level or 'threat' vector.
    (Below was 'borrowed' from http://riskless.com/firewall_configuration.aspx)
    * RED Network Interface
    This network is the Internet or other untrusted network. IPCop’s primary purpose is to protect the GREEN, BLUE and ORANGE networks and their computers from traffic originating on the RED network. Your current connection method and hardware are used to connect to this network.
    * GREEN Network Interface
    This interface only connects to the computer(s) that IPCop is protecting. It is presumed to be local. Traffic to it is routed though an Ethernet NIC on the IPCop computer firewall.
    * BLUE Network Interface
    This optional network allows you to place wireless devices on a separate network. Computers on this network cannot get to the GREEN network except tightly controlled “pinholes”, or via a VPN. Traffic to this network is routed through an Ethernet NIC.
    * ORANGE Network Interface
    This optional network allows you to place publicly accessible servers on a separate network. Computers on this network cannot get to the GREEN or BLUE networks, except through tightly controlled “DMZ pinholes”. Traffic to this network is routed through an Ethernet NIC.
    * The GREEN and RED networks are required
    * The ORANGE and BLUE networks are optional
    The interface requirements for your RED network will vary depending on your connection to the Internet. The RED network may require an additional Ethernet card and cable.
    you can also read up all this from a more neutral article here: http://www.ocmodshop.com/ocmodshop.aspx?a=1526
    The point of all this is that, depending on 'where' the dat is comgin from , it either is denied access ,or must be 'punched through' to allow access. Her is a diagram of that process (from a linux firewall called ipcop)
    !http://www.ipcop.org/1.4.0/en/admin/images/traffic.png!
    Soaccess from inside (your network) to your DMZ device should work without any trouble but from DMZ to inside should require ports to be opened up. On most Firewalls, they call this port access 'Pin Holes' as the DMZ is itself protected by only allowing the ip address of that network into through the firewall. Possibly Your firewall is not doing any kind of Statefull Packet Inspection so all conversations must have a pinhole to come 'back' out of the dmz? Tell us your firewall brand and that might help.
    #2: I would use "Connect to another directory". YOu want to limit the amount of data that can be compromised in the DMZ. As I mentioned the DMZ is outside your network, technically naked to the world. I believe that any port that does NOT get routed (forwarded) into your green, will automatically be forwarded to your DMZ, so it will be hammered with all manner of hack and virus vectors.
    Peter

  • How to setup Mobile Access Server

    Hi,
    I am trying to setup Mobile Access Server on my Mac Mini Server. The setup I have is a small network behind a Airport Extreme. I would like to give all users access to services using Mobile Access Server and was hoping initial setup was going to take care of that....no such luck.
    What do I fill in for the local servers? How do I access this service from the outside the lan? How do I need to configure my Airport (with the other services, it happened almost automatically from the security pane).
    Thanks,
    Ian

    Hi,
    In the field for local server you just type in the local dns name for your calendar server, mail server etc... Also select which port you want publish externally and the the correct port your service is actually using on your lan (Selected under advanced tab). Make sure your mobile access server can resolv your hostnames correctly. It should point to an local ip. If an nslookup shows your public ip, you have to correct your local dns server (This is often called split dns configuration.)
    To access this from outside your LAN you have setup NAT and permit the port you have configure your mobile access server to be the incomming port. How exactly you do that on the airport I am not sure, but I am sure it is explained in the user manual for the airport.
    I found this video about the mobile access server on youtube: http://www.youtube.com/watch?v=_VRgl2bncZU
    Hope this helps.
    Bernt

  • BW: The following objects were not found when accessing server

    Hi All,
    Problem:
    - on the infoprovider, no authorization object is flagged as authorization relevant
    When trying to open the query in display mode, I get the message "The following objects were not found when accessing server", when I press cancel, the attributes are not available in the query.
    I tested with authorization objects and the only way to get these attributes visible is to put them in an authorization object with full (*) authorization for the field.
    Why does the system checks this? Because I don't want to give full authorization.
    Is there a way to unable this check, as I want the attributes to be visible (also without the *)
    +
    When a query administrator with the sufficient authorization (sap_all or the * authorization for the field in the authorization object) is creating the query in query designer including the 'attributes' which are not visible with the 'normal' authorizations, the query will not list the columns in the output when it is executed by the normal user.
    What can I do to get them visibIe in the output?
    I can not create an authorization object for each of these attributes with * (full authorization)... as it is not logic, and no authorization should need to be checked...
    Anyone who faced the same problem?
    (>> it seems the system acts as if the attributes are keyfigures, for which you need * authorization to be visisble)
    The attributes are navigational attributes.
    Thanks for your reply

    Hi Shivraj,
    BW 3.5 version
    Thanks

  • Want to access non SAP system from EP

    Hey Guys,
    We are having a system (CRMS) which is a non SAP system. I know through EP we can connect to the non SAP system.
    Can somebody pls tell me the steps to do this.  I want to access the data from non SAP system on Enterprise Portal.
    Pls provide me the useful links / doc.
    Thanks in advance.
    NIkesh Shah

    Hello Nikesh,
    As I mentioned, kindly check up on help.sap.com.
    Anyways:
    Create an HTTP system using the System Templates Provided. Instead of selecting SAP Systems you select HTTP system. Provide parameters:
    Authentication method: POST
    Authentication Type: Server
    URL Parameter for Password & URL Parameter for Username: This you can get by doing a View Source on the Login Page of your CRMS appln. e.g. <input type = "hidden" name ="user"> -> So in this case you pick up user
    In User management property select Usermapping and admin,user
    Now create a URL iView:
    System: Select the 1 you created.
    URL: URL to your application till before any query string starts.
    REQUEST Methid: GET
    URL Parameter 1: <the user param from the source> TYPE = Mapped User
    URL Parameter 2: <the pwd param from the source> TYPE = Mapped Password
    Enter the user mapping for that user and test the iview.

  • The following objects were not found when accessing server

    Hi All,
    Problem:
    - on the infoprovider, no authorization object is flagged as authorization relevant
    When trying to open the query in display mode, I get the message "The following objects were not found when accessing server", when I press cancel, the attributes are not available in the query.
    I tested with authorization objects and the only way to get these attributes visible is to put them in an authorization object with full (*) authorization for the field.
    Why does the system checks this? Because I don't want to give full authorization.
    Is there a way to unable this check, as I want the attributes to be visible (also without the *)
    Can anyone help me with this? Thanks in advance for your reply

    When a query administrator with the sufficient authorization (sap_all or the * authorization for the field in the authorization object) is creating the query in query designer including the 'attributes' which are not visible with the 'normal' authorizations, the query will not list the columns in the output when it is executed by the normal user.
    What can I do to get them visibIe in the output?
    I can not create an authorization object for each of these attributes with * (full authorization)... as it is not logic, and no authorization should need to be checked...
    Anyone who faced the same problem?
    (>> it seems the system acts as if the attributes are keyfigures, for which you need * authorization to be visisble)
    The attributes are navigational attributes.

  • How to use Access Server SDK

    Hi All,
    Can someone please brief me how we can use the Access Server SDK and purpose of it

    Its an SDK to impement you own custom Access Gate.
    Typically OAM is used to protect Web applications but if you want to protect a Windows Client server application / Microsoft Smart Client type of applications, you can write Custom Access Gate and protect the resource.
    the Advantage of OAM is to define resources and policieis in one central place and enforce those policies. You can leverage Access Server SDK to implement custom access gate.
    its also used in directly if you have both OAM and OWSM.
    I have used it to protect Smart client applications ( Microsoft client server app) , Web Services that are called from a Web Application which is protected by OAM ( passing the same cookie in the header and validating the privileges)
    Thanks
    Ram
    www.identris.com

  • How to configure the Access Server?

    Hi All
    I am in the process of migrating from 11.0.1 to 12.0.
    I have some real-time jobs.
    For this I need to configure the Access Server.
    I can understand I should do this from Server Manager>Edit Access Server Config>Add
    Here what info we need to give? Does it mean we need to give the server name on which current version is installed? How to choose the port?
    My old version DI 11.0.1 is using port 4000. Also in the DS Mgmt Console, I am defaultly getting the Old Job Server in the Adapter Config node. How to remove this?
    Someone plz help me on this.
    Thank You
    Ganesh Sampath

    You have to explicitly share directories on external/secondary volumes.
    Use the Server admin app to configure file sharing, and select which directory/directories on the second drive you want to share, then they'll be available to clients.

Maybe you are looking for