Contradicting info about resources accessing

Hello,
I am a servlet newbie. I have gone through a lot of posts
in the archives on accessing resources and now I am confused
more than ever. The problem is that my guestbook servlet's doPost() will
read and write a file on the same server.
Now some posts say it should be rare that the servlet is called by two users at the same
time and you shouldn't be worried about file locking. While other posts
imply I need to make the servlet a single Thread servlet for this to work.
And yet another group of posts suggest I could use normal servlet and
synchronize the methods that read and write.
So what exactly is the way to go about read and write one file?
Any hints would be much appreciated!

Now some posts say it should be rare that the servlet
is called by two users at the same
time and you shouldn't be worried about file locking.Very dangerous. If your app allows concurrent users, you must deal with concurrency issues.
While other posts
imply I need to make the servlet a single Thread
servlet for this to work.If every user's session writes to the same file, then a single thread servlet will not solve the problem. You'll just have multiple instances of a servlet writing to one file instead of multiple threads of the same instance writing to one file.
And yet another group of posts suggest I could use
normal servlet and
synchronize the methods that read and write. Sounds like the safest approach. If the same flat file is used by all, then synchronization is necessary. Create a class that handles all i/o to your file and add the synchronization code there.

Similar Messages

  • 5000 $ for info about the "MUI" resource

    Problem: missing documents from Microsoft
    Offer: 5000 US-$ for the guy who can find the information
    Description:
    On https://msdn.microsoft.com/en-us/library/windows/desktop/ms648007(v=vs.85).aspx you can find all resource formats (binary) that you need if you want
    to build an exe/dll and use them on Windows... but, they missed one... it's a new one and it only exists since Vista (maybe XP, I'm not sure... but that's not the point). The missing resource is the "MUI" resource (it's a named resource and the name
    is "MUI").
    Microsoft describes how to split resources into 2 parts (the neutral and the language specific part) which would generate such a MUI resource. The problem is, that this is not working the way they describe it (generates damaged data) and rc.exe
    has also other "incapabilities" (e.g. compiling DialogTemplate's). But without the info about how to create the MUI resource by hand, it's almost impossible to create good quality multilingual applications.
    That's why I want to offer the money to who ever is able to find this information (I guess it must be an employee of Microsoft, because I guess outside of Microsoft it's hard to find this info... maybe it's only "documented" in the source code
    of tools like rc.exe or muirct.exe).
    Contact me if you have the info... (this info cannot be classified... but if it is, it would be nice to hear an explanation of Microsoft, why an API which all of us SHOULD use according to Microsofts documents is not publicly documented).
    thanks a lot... I hope to hear from someone soon...

    Problem: missing documents from Microsoft
    Offer: 5000 US-$ for the guy who can find the information
    Description:
    On https://msdn.microsoft.com/en-us/library/windows/desktop/ms648007(v=vs.85).aspx you can find all resource formats (binary) that you need if you want
    to build an exe/dll and use them on Windows... but, they missed one... it's a new one and it only exists since Vista (maybe XP, I'm not sure... but that's not the point). The missing resource is the "MUI" resource (it's a named resource and the name
    is "MUI").
    Microsoft describes how to split resources into 2 parts (the neutral and the language specific part) which would generate such a MUI resource. The problem is, that this is not working the way they describe it (generates damaged data) and rc.exe
    has also other "incapabilities" (e.g. compiling DialogTemplate's). But without the info about how to create the MUI resource by hand, it's almost impossible to create good quality multilingual applications.
    That's why I want to offer the money to who ever is able to find this information (I guess it must be an employee of Microsoft, because I guess outside of Microsoft it's hard to find this info... maybe it's only "documented" in the source code
    of tools like rc.exe or muirct.exe).
    Contact me if you have the info... (this info cannot be classified... but if it is, it would be nice to hear an explanation of Microsoft, why an API which all of us SHOULD use according to Microsofts documents is not publicly documented).
    thanks a lot... I hope to hear from someone soon...
    just to make it clear: I'm talking about the "MUI" resource that's embedded in an multilingual exe/dll and the corresponding resource-dll (in this case it has the ending .exe.mui or .dll.mui). I'm not talking about the .mui file itself. (see
    http://rcecafe.net/?p=266 for more information or contact me if you want to get a bether explanation why it is a problem not having this information -> by the way: it has been confirmed by the Microsoft
    support team, that this is information is missing and that it is a problem for the development of MUI software -> they suggested to contact/bother the developers privately to get the information... because other possible ways to get the info that they
    could imagine, aren't legal)

  • OIM Custom reports - User Resource Access History

    HI,
    I am working on OIM custom reports . I was trying to get custom user resource access history( i.e., need to include information like field changed, its old value , its new value etc are the extra info I need in the report ). To achieve this I had used UPA_UD_FORMS and UPA_UD_FORMFIELDS. I have few questions in this process..
    1. The audit result does not include the about the initial access info of the user which he obtained during usr creation, the table are containing only the changes occured after the user creation. Am I missing something please suggest.
    2. And update_date and Effective_from date are not in sync .. any omments
    Thanks,
    Anumolu.

    I have been told that this historic data is stored in upa_ud_forms and upa_ud_formfields table.
    However, these tables are empty in my OIM environment. Is there a necessity to enable that audit data is written?

  • How do you use Default Resource Access Information?

    I have some 10g Forms & Reports that I want to use with SSO and they will all be connecting to the database with the same connection info. I know how to configure a Default Resource Access Information, but how do you use this with Forms & Reports?

    Douglas,
    the default Resource Access Infomation should be the connection information right? This is used in conjunction with SSO. You need to configure your F&R applications to delegate authentication to SSO by placing ssoMode=true in the config section of formsweb.cfg.
    The Forms Servlet will connect to OID retrieve the Resource Access Information (descriptor) for a given user and automatically log them into the application.
    Users will need a global identity in OID and SSO must be enabled to use resource access info with F&R
    regards,
    tt

  • HT5085 Gathering Info About your iTunes Library - Keep getting Network error

    I bought iTunes Match yesterday, and so far have not been able to use it.
    It gets to Stage 1: Gathering Info About Your iTunes Library and makes progress, but right at the end an error box appears saying:
    "We could not complete your iTunes request. The network connection was reset.
    Make sure your network connection is active and try again"
    Well I know the network connection is active as I was able to be charged for iTunes Match and have had no problems making other purchases. I went to Advance > Run Diagnostics Tests from Help in iTunes and ran the Network Connectivity Diagnostics and it reported no problems.
    Now I know how much Apple hate giving back refunds, but if people can't help, does anyone know how I can get my money back? If I click "Report a Problem" it simply takes me to the help pages. I tried contacting support but I received an email saying they can't help.
    I'm getting quite frustrated now, so I'm reaching out and hoping someone can help me?
    I've copied the diagnostic results below:
    Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    Dell Inc. Dell System XPS L502X
    iTunes 10.6.1.7
    QuickTime 7.7.2
    FairPlay 1.14.37
    Apple Application Support 2.1.7
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 5.1.1.4
    Apple Mobile Device Driver 1.59.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 003CA7C40B1E98E0
    Current user is not an administrator.
    The current local date and time is 2012-05-18 20:20:20.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    NVIDIA, NVIDIA GeForce GT 540M 
    Intel Corporation, Intel(R) HD Graphics Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: bb5c046694c1f4c590202360da9f2bc5
    iPodService 10.6.1.7 (x64) is currently running.
    iTunesHelper 10.6.1.7 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:          {444AF521-4D63-434F-AC33-8F05DA9C6C64}
    Description:          Microsoft Virtual WiFi Miniport Adapter #2
    IP Address:          0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:          0.0.0.0
    DHCP Enabled:          Yes
    DHCP Server:
    Lease Obtained:          Thu Jan 01 00:00:00 1970
    Lease Expires:          Thu Jan 01 00:00:00 1970
    DNS Servers:
    Adapter Name:          {4F46CBF3-C53C-4615-AF14-B46B9785D100}
    Description:          Microsoft Virtual WiFi Miniport Adapter
    IP Address:          0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:          0.0.0.0
    DHCP Enabled:          Yes
    DHCP Server:
    Lease Obtained:          Thu Jan 01 00:00:00 1970
    Lease Expires:          Thu Jan 01 00:00:00 1970
    DNS Servers:
    Adapter Name:          {6D3CAB28-0C0B-4701-A440-B1A90BE75551}
    Description:          Dell Wireless 5540 HSPA Mini-Card Network Adapter
    IP Address:          0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:          0.0.0.0
    DHCP Enabled:          No
    DHCP Server:
    Lease Obtained:          Thu Jan 01 00:00:00 1970
    Lease Expires:          Thu Jan 01 00:00:00 1970
    DNS Servers:
    Adapter Name:          {8C130DAB-E810-4FA6-8946-1600FFE0DB2F}
    Description:          Intel(R) WiFi Link 1000 BGN
    IP Address:          192.168.1.69
    Subnet Mask:          255.255.255.0
    Default Gateway:          192.168.1.254
    DHCP Enabled:          Yes
    DHCP Server:          192.168.1.254
    Lease Obtained:          Fri May 18 20:01:40 2012
    Lease Expires:          Sat May 19 20:01:40 2012
    DNS Servers:          192.168.1.254
    Adapter Name:          {B32D9395-8937-42EC-BC5F-352D07958EDF}
    Description:          Realtek PCIe GBE Family Controller
    IP Address:          0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:          0.0.0.0
    DHCP Enabled:          Yes
    DHCP Server:
    Lease Obtained:          Thu Jan 01 00:00:00 1970
    Lease Expires:          Thu Jan 01 00:00:00 1970
    DNS Servers:
    Active Connection:          LAN Connection
    Connected:          Yes
    Online:                    Yes
    Using Modem:          No
    Using LAN:          Yes
    Using Proxy:          No
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was successful.
    Connection attempt to firmware update server was successful.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2012-05-18 20:14:07.

    @ deggie, I wasn't threatening ANYONE. I was simply saying how frustrating this has become, seeing how I have been trying on my own to figure this issue out for more then a month with no results. Like I said in the beginning, I have not used any other account to purchase apps or other products on my phone. I have only ever used one account. There are 23 apps that are saying they can't sync. It directs me to authorize the computer, which I do but it doesn't change the outcome. If I proceed, I lose those 23 apps correct? Do I also lose all my text messages saved, and other things such as documents in the "notes"?

  • Android MS RDP - RPC Error: Your connection was denied because of a Resource Access Policy (TS_RAP). Please contact your server administrator. (2147965402).

    I love iTap Mobile.  Paid for the app.  Sorry to see them discontinue it, but now I know why.  Microsoft bought them out!  But even though free, I am getting an error: RPC Error: Your connection was denied because of a Resource Access
    Policy (TS_RAP). Please contact your server administrator. (2147965402).  I worked with iTap to fix this so I guess they sold Microsoft their older buggy code...  Microsoft, please fix!
    PS: This is the Android version.  Mac and iOS are both okay.
    EDIT:  After an update a few months ago, iOS is no longer working.  Not sure if the problem is related to the Android MSRDP issue.
    UPDATE - Relevant posts (need Android RDP software engineer to fix):
    Event Viewer Log when using Android client:
    The user
    "DOMAIN\testuser", on client computer "10.x.x.x", met connection authorization policy requirements and was therefore authorized to access the RD Gateway server. The following authentication method was used: "NTLM". (This
    is most likely for logging into RD Web - icons shows up).
    The
    user "DOMAIN\testuser", on client computer "10.x.x.x", did not meet resource authorization policy requirements and was therefore not authorized to resource"localhost".
    The following error occurred: "23002".  (This is after clicking on any
    of the icons).
    I
    think the Android MS RDP client is providing the incorrect resource.  It shouldn't be "localhost".
     It should be the RD Connection Broker's hostname, I believe.
    Here's what it should look like (connected using a Windows PC going
    through the RD Web portal via Internet Explorer):
    The user "DOMAIN\testuser", on client computer "10.x.x.x", met connection
    authorization policy requirements and was therefore authorized to access the RD Gateway server. The following authentication method was used: "NTLM".
    The user "DOMAIN\testuser", on client computer "10.x.x.x", met resource
    authorization policy requirements and was therefore authorized to connect to resource "rdsfarm.domain.com".
    The user "DOMAIN\testuser", on client computer "10.x.x.x", connected
    to resource "rdsfarm.domain.com".
    Stephan,
    Do you have any way to contact the software engineer who worked on the Android version of the RDP client?  Please
    have them read this thread.  They need to fix the hard coded "localhost" resource to be a variable (namely whatever the user put in for the server).
    This is why the MS RDP app is failing in situations where the FQDN for the RD Gateway and Connection Broker uses
    the same host name.
    Again, this is not a configuration problem on our end as it works as intended with the native Windows RDP client
    as well as the Mac and iOS version of the mobile RDP client (all based on iTap Mobile's RDP app).
    This is a problem specific to the Android RDP app.
    PS: No matter how hard I try, the WYSIWYG editor is not very WYSIWYG at all, and so everything here looks messed up even though it looked right when I posted it (it is deleting new blank lines I'm inserting to make it spaced out and easier to read). See
    below to read the post in context.

    Thanks for the bumps, everyone.  I haven't check this thread in a while because I basically gave up on Microsoft's ability to respond.  Unlike paid apps, there's no number to call or ticket to open when an app like this malfunctions.
    Just to give you an update, iOS users started having issues connecting a few months ago.  I don't remember what version started this.  I'm not sure if it's the same problem.
    Also, the newest version now gives a slightly different error message:  RpcOverHttpEndpointException: 2, Your connection was denied because of a Resource Access Policy (TS_RAP).  Please contact your server administrator.
    For Android users, I am starting to recommend Xtralogic Remote Desktop Client.  It's a paid app, but it works great.  I don't know of any alternative for iOS.
    MSRDP for Mac OSX (was also an iTap application) continues to work throughout the many updates.
    We need a software engineer from MS to read my first post.  All the information that will point to a fix is there.  I strongly believe someone hardcoded the string "localhost" instead of using a variable to point to the FQDN of the rdsfarm
    name.
    Here's that info again (copied/pasted).  It doesn't take an engineer to understand the issue.  If you know how to decipher Event Logs, you can see where the problem is.
    Event
    Viewer Log when using Android client:
    The
    user "DOMAIN\testuser", on client computer "10.x.x.x", met connection authorization policy requirements and was therefore authorized to access the RD Gateway server. The following authentication method was used: "NTLM". (This
    is most likely for logging into RD Web - icons shows up).
    The
    user "DOMAIN\testuser", on client computer "10.x.x.x", did not meet resource authorization policy requirements and was therefore not authorized to resource"localhost".
    The following error occurred: "23002".  (This
    is after clicking on any of the icons).
    I
    think the Android MS RDP client is providing the incorrect resource.  It shouldn't be "localhost".
     It should be the RD Connection Broker's hostname, I believe.
    Here's
    what it should look like (connected using a Windows PC going through the RD Web portal via Internet Explorer):
    The user "DOMAIN\testuser", on client computer "10.x.x.x",
    met connection authorization policy requirements and was therefore authorized to access the RD Gateway server. The following authentication method was used: "NTLM".
    The user "DOMAIN\testuser", on client computer "10.x.x.x",
    met resource authorization policy requirements and was therefore authorized to connect to resource "rdsfarm.domain.com".
    The user "DOMAIN\testuser", on client computer "10.x.x.x",
    connected to resource "rdsfarm.domain.com".

  • Need info about RH Server 6 and reports

    I'm interisted in RH Server 6 but I'm unable to locate much
    practical info about it on the Web site, and a call to sales didn't
    help. I need to know what I'm getting us into before I contribute
    our $2,000. Can anyone provide this information or point me to its
    location on the site:
    --I have system requirements from the Adobe site, but what is
    the "server" and what does installation and setup entail? About how
    how long does it take, or how difficult, to achieve operability?
    --According to a piece by John Daigle, the server component
    should be installed on a Windows server running IIS 5+. Is IIS a
    separate software or standart part of Windows server? If separate,
    what preparation should that server have before the installation in
    addition to installation of IIS?
    --I know nothing about security/firewall protocols. We will
    have our own and our customer firewalls to navigate. Are the server
    setup instructions adequate for setting all that up? Or are
    purchasers expected to have sys admins knowledgeable to set that
    up? Is that applied to the RH server or the Windows server? if RH
    server, how can I get a copy of instructions for my system people
    to review?
    --Have users found the RH server/RoboEngine reliable, once
    it's operable?
    --Is it true that the usage reports aren't customizable? Can
    additional usage data be specified in the RH server?
    --These report summaries are vague--Areas Requiing Help,
    Frequently Viewed Content--stating only that repoorts show the
    suchandsuch done "most frequently" or "most often." Does that mean
    the top 3, 5, 10 or what? Is there a way to track all of that
    activity from most to least?
    --The summaries of the reports Unanswered Questions and
    Frequently Asked Questions say that terms entered in the Search
    field are identified. Questions and terms aren't the same in my
    book--am I right that it captures anything entered? Can it do the
    same for the Index field?
    --I saw no RH server under downloads, or maybe missed it.
    Correct in guessing that a demo version is not available?
    --Is RH server user doc available on the web site? I found
    the Getting Started gude, which isn't much use in evaluating the
    product.
    I have additional questions, but if you can answer these
    questions or direct me to answers some of those may be covered.
    Thanks,
    Mike
    Access database.

    Hey, Mike!
    I found a few things for you. I'm in a hurry, so I'll list
    them quickly.
    For the Trial, go to the Adobe downloads page
    http://www.adobe.com/downloads/
    Then select RoboHelp Server 6 from the dropdown list. You
    will be asked to register (free) if you haven't already. When you
    arrive at the download page make sure you note the Trial Serial #
    To make it easier for you, its:
    1336-1033-2628-5062-0993-4570
    You can also find a RoboHelp Server 6 Getting Started Guide
    here
    http://www.adobe.com/support/robohelp/downloads/getting_started_rh6_server.pdf
    You were asking about IIS. Yes. As Colum says, this comes
    with virtually any version of Windows Server (or Windows XP
    Professional). However, you must install and configure it. I am not
    an IT or web administrator so it took me a while to learn, but
    amazingly I got it to work if you're patient and follow the steps.
    (I'm speaking of both IIS and Robohelp Server) Clearly IIS
    configuration is not a trivial thing and it is assumed that an
    author would have help and cooperation from the IT or Web Admin
    folks.
    As for customizing reports. At present, the existing reports
    are the only ones offered. Since these reports are generated from a
    database (Access, SQL Server or Oracle) I would think (haven't done
    it myself) that someone familiar with database adminstration could
    open the DB (after a backup that is) and be more creative with
    generating customized reports.
    You are right that the "Question" does in fact mean any
    search term or phrase that an end user puts in the search field.
    This is the string that is stored and reported as a question. In
    discussing this with the Adobe team at STC last month, they agreed
    that this was definitely a holdover from the legacy software and is
    due for a change sometime in the future.
    To answer your other question, text entered in the Index
    field is not stored in the database, only the search term field.
    Since taking on the old legacy product from eHelp and
    Macromedia, Adobe is focusing most of its attention on beefing up
    the client authoring app for the next version (Adobe RoboHelp 7).
    My assumption is that they are keen on improving the RoboHelp
    Server as well. I have passed along many feature requests along the
    lines you seem to suggest and hopefully the server will evolve
    along with the client app.
    Even with its limitations, my clients tell me RoboHelp Server
    provides very useful feedback to help them improve their knowledge
    base content to make it more helpful and responsive to users needs.
    They also like the searchability of PDF, Word, PPT and Excel as
    well...something which plain WebHelp without the RoboHelp Server
    does not do.
    I probably didn't get to everything, but hope this helps.
    John

  • Need deeper info about RPC paradigm

    Having scoured the Web for info about RPC, I find the same few discussions repeated widely, but certain things left unexplored. I therefore have particular questions that remain unanswered.
    1) RPC server behavior appears predicated around "connect-call-disconnect, connect-call-disconnect, ..." behavior on the part of the RPC client; that is, a connect-and-disconnect around every remote procedure call. I, on the other hand, need my clients to implement "connect-wait-call-wait-call-wait-call-...-disconnect" behavior; that is, to connect, REMAIN connected for an extended period of time across multiple procedure calls, and disconnect only when the client is ready to terminate all use of the server. It appears that svc_run() supports this, but I want to avoid surprises; is there any restriction on this usage of svc_run()? Can this paradigm be supported by appropriate use of the RPC library routines available for replacing svc_run() with my own code?
    2) The only "documentation" I have been able to find about how to write actual RPC programs dates back to 1992 and does not come from Sun. Virtually all of the routines appearing in its example programs are designated "obsolete" or "for backward compatibility" in their manpages on Solaris 8. Can you recommend/point to an instructional text that describes RPC programming as it would be done with "today's" interface?
    3) Probably the largest single obstacle to my organization's possible use of RPC in "real," critical applications, is RPC's continuing C-specificity. We write all our applications in C++, and mostly object-oriented C++ at that -- whereas RPC appears not to have advanced beyond the "C with global variables" architecture (with one possible exception, following). Code generated by RPCGEN (without the -C switch, I admit; I haven't gotten that far in my trial-and-error experiments, yet) requires extensive hand-editing in order to compile C++ code that uses it, or link successfully with compiled C++ code. This obstacle is severe enough to potentially render RPC an unacceptable solution for us.
    The possible exception I mentioned is that I found a webpage that discussed something called 'rpcc,' which appeared to be an object-oriented, C++ implementation of RPC. The page said this was available "on Sun machines," but I don't find it on MY Sun machines. Other searches do not turn up other references. Such a thing would be a godsend if it existed, and it would seem not to be so difficult for Sun's professional developers to create. So does it exist? If so, how can I get my hands on it?
    4) Different sources contradict each other as to the "semantics" of an RPC procedure call. Sun's ONC manual says flat-out that Sun RPC provides only "at least once" semantics -- but then, the manual takes the approach that one is using RPC in a "transport-independent" manner. Other references discuss the issue at greater length (hint, hint) and imply that any RPC implementation can provide "exactly once" semantics, providing that one specifically force it to use "a reliable transport such as TCP." It is not clear how much to infer, or disregard, in Sun's simple statement. I need to know FOR SURE whether Sun RPC can be made, forced, tricked, etc. into providing "exactly once" semantics. If so, is "use of TCP" sufficient? Or are other tricks needed? Please outline the necessary steps that might be needed in addition to using TCP.
    5) (Related to 4. Sun documentation contains language to the effect that Sun RPC provides "at least once" semantics because providing "exactly once" semantics "would be too difficult." However, a graduate student (at Syracuse U if I recall correctly) posts a research paper in which he describes an RPC facility, developed from scratch, that provides "exactly once" semantics. Apparently it's not THAT difficult, after all. The fact that it's "too difficult" for Sun does not exactly flatter the company. They may want to revisit this, and provide yet another RPC interface (in C++ while they're at it). I won't even charge a finder's fee. ;-) )
    Thanks in advance,
    Chris

    I agree fully.
    None of the example code applies to todays
    "real-world" applications. Im trying to implement
    multithreaded RPC on Solaris using rpcgen's -N
    "NewStyle", -A "Auto multithreaded" and -C "ANSI C"
    options but none of the examples anywhere show how to
    do this. Is their a better technology that everyone
    is using now that does a similar thing?I have an example that might help. It's a multi-threaded
    NIS server that's been running in production for several
    years. There are a few tricks in the source that might help.
    You can download the source with anonymous FTP at
    ftp.cc.umanitoba.ca. Look in the `src' directory for
    midas.tar.Z.

  • Info about AD Domain Controller to which I'm connected

    Hi,
    Is there a way to find the AD Domain Controller to which I'm connected ?
    Some time I find the info in these file :
    /Library/Preferences/OpenDirectory/DynamicData/Active Directory/<MYDOMAIN>.plist
    under 'last used server' but this field is not always populated..
    Is there any other place where find or some command to use ?? (or even more info about the previous plist file and how is created/populated.. i have several Macsac on same domain but not all computers have the file populated in the same way..)
    Any help appreciated
    Thanks
    m.

    Some added toolbar and anti-virus add-ons are known to cause
    Firefox issues. '''Disable All of them.'''
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''Network.'''
    Look for '''Configure How Firefox Connects''' and press the '''Settings''' button.
    Check the settings.
    Some problems occurs when your Internet security program was set
    to trust the previous version of Firefox, but no longer recognizes your
    updated version as trusted. Now how to fix the problem: To allow
    Firefox to connect to the Internet again;
    * Make sure your Internet security software is up-to-date (i.e. you are running the latest version).
    * Remove Firefox from your program's list of trusted or recognized programs. For detailed instructions, see
    '''[https://support.mozilla.org/en-US/kb/configure-firewalls-so-firefox-can-access-internet Configure firewalls so that Firefox can access the Internet.]''' {web link}

  • Info about the RFC

    Hi,
    I have to work on RFC FM.  Can any body give me the info about the RFC? especially for Function module?
    Will give Reward points
    regards,Ram

    Hi
    RFC (Remote Function Call) is similar to the general SAP fun module: except that in the attributes you click the radio button: RFC enabled;
    and you will be passing an Import parameter DESTINATION to it.
    Other code and usage will be similar to any fun module;
    Have a look at any fun module in SE37 to understand better about the different components of Fun modules;
    Refer this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/22/042518488911d189490000e829fbbd/frameset.htm
    Function Modules doc
    Function Modules;
    Check this matter.
    Function Modules are Global ABAP programs created by SAP for reusable purpose.they have IMPORT,EXPORT and TABLE parameters, and EXCEPTIONS to through when error occurs.
    You can create them from TCode SE37.
    Go through the following doc:
    Function modules are cross-program, reusable procedures that are organized into function groups, and whose functions are implemented between the statements FUNCTION and ENDFUNCTION. Function modules and their interfaces are created in the Function Builder.
    Function Module Interfaces
    The parameter interface of a function module is defined in the Function Builder. It includes the definition of interface parameters and the specification of exceptions that can be triggered by a function module. The Function Builder automatically generates comment lines below the FUNCTION statement in the source code of the function module, which represent the interface of the function module with the following syntax:
    Syntax
    ... [IMPORTING parameters]
    [EXPORTING parameters]
    [CHANGING parameters]
    [TABLES table_parameters]
    [{RAISING|EXCEPTIONS} exc1 exc2 ...]
    The syntax and semantics of IMPORTING, EXPORTING, CHANGING, RAISING, and EXCEPTIONS mainly correspond to the definition of method interfaces with [CLASS-]METHODS. The additional option of defining table parameters using TABLES is obsolete.
    Interface parameters
    The interface parameters are defined on the relevant tab pages in the Function Builder.
    IMPORTING parameters are input parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input parameter. The content of the actual parameter is passed to the input parameter when the call is made. The content of an input parameter for which 'pass by reference' is defined cannot be changed in the function module.
    EXPORTING parameters are output parameters. When the function module is called, a suitable actual parameter can be specified for every output parameter. The content of an output parameter that is defined for 'pass by value' is transferred to the actual parameter if the function module is completed without errors. An output parameter that is defined for pass by reference is not initialized when the function module is called.
    CHANGING parameters are input and output parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input or output parameter. When the function module is called, the content of the actual parameter is passed to the input/output parameter, and when the function module is completed, the content of the input/output parameter is passed to the actual parameter.
    TABLES parameters are table parameters. Table parameters are obsolete CHANGING parameters that are typed as standard tables with a header line. If an internal table without a header line or a table body is passed as an actual parameter to a formal parameter of this type, an empty local header line is generated in the function module. If an internal table with a header line is used as an actual parameter, both the table body and the header line are passed to the function module. Pass by value is not possible in formal parameters defined using TABLES. Formal parameters defined with TABLES can be replaced by formal parameters defined with CHANGING. A local work area can be created for the internal table in the function module by using the addition LIKE LINE OF itab of the DATA statement.
    Exceptions
    The exception of a function module are defined on the Exceptions tab page in the Function Builder. Here you can select exception classes to define whether class-based exceptions are declared or non-class-based exception are defined. Class-based exceptions are represented in the above syntax by RAISING, and non-class-based exceptions are represented by EXCEPTIONS.
    The addition RAISING is used to declare class-based exceptions that can be propagated from the function module to the caller. Exceptions in the categories CX_STATIC_CHECK and CX_DYNAMIC_CHECK must be explicitly declared, otherwise a propagation can lead to an interface violation. A violation of the interface leads to the treatable exception CX_SY_NO_HANDLER. Exceptions of the category CX_NO_CHECK are implicitly always declared. The declaration of exceptions of the category CX_STATIC_CHECK is statically checked in the syntax check. For exceptions of the category CX_DYNAMIC_CHECK, the check is not performed until runtime. In a function module in which class-based exceptions are declared with the RAISING addition, the statement CATCH SYSTEM-EXCEPTIONS cannot be used. Instead, the relevant treatable exceptions should be handled in a TRY control structure.
    The addition EXCEPTIONS is used to define a list of non-class-based exceptions that can be triggered in the function module using the statements RAISE or MESSAGE RAISING. Exceptions defined in this way - as with formal parameters - are bound to the function module and cannot be propagated. If an exception of this type is triggered in a function module, and no return value has been assigned to it with the homonymous addition EXCEPTIONS of the CALL FUNCTION statement when the call was made, this leads to a runtime error.
    Note
    For new developments after release 6.10, SAP recommends that you work with class-based exceptions that are independent of the function module.
    RFC is a technology which is used to access a functions (Modules) from
    the remote systems.
    If a function module is set as remote enabled which can be access from
    the remote system via RFC.Eg: U can access the Remote enabled function modules in ur VB,Webdynpro,Java,Visual composer program.
    A function module can be set as remote enabled by SE37->Go to ur FM->click the option Button "remote enabled".
    But Normal function modules can not accessd from the remote system.
    Good Example for RFC enabled function module is : BAPI(Business Application Programming Interface)
    Note: All BAPIs are Remote enabled but not all remote enabled function modules are BAPI.
    CALLING A FUNCTION MODULE:
    1)In U ABAP Editor --> Click "Patter" ---> Selection Option Button "Call Function"
    --> Write the Corresponding FM name --> Hit Enter
    2)The appropriate import ,export Parameters will be displayed in ur editor
    3)Pass the Values Here.
    Also check these links.
    http://www.geocities.com/victorav15/sapr3/abapfun.html
    Check this link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    Check this link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    See the following links:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    Reward points for useful Answers
    Regards
    Anji

  • Info about select

    Hello
    if possible, i need a info about a select in a table of 165.000.000 with the following fields:
    Name Null? Type
    MANDT NOT NULL VARCHAR2(3)
    DOCNUM NOT NULL VARCHAR2(16)
    COUNTER NOT NULL VARCHAR2(3)
    PAGENO NOT NULL NUMBER(5)
    TIMESTMP NOT NULL VARCHAR2(14)
    PAGELG NOT NULL NUMBER(5)
    VARDATA LONG RAW
    I've seen that there are many records with blank in vardata field. So I did a select 'where vardata is null' but i didn't find records. This is not possible so i think that field has all blank characters and i should find a select that show me how many records have vardata with blank. I know that this select goes in table access full but is not important at the moment. Can you help me?
    Thanks
    Nick

    SQL> create table a(c1 varchar2(10));
    Table created.
    SQL> insert into a values('   ');
    1 row created.
    SQL> select * from a where c1 is null;
    no rows selected
    SQL> select * from a where trim(c1) is null;
    C1
    SQL>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Info about Tr Cd : PFCG

    I need some info about Tr Cd : PFCG. If anybody can send any document or give some link that will be very helpful.
    Thanking you in anticipation.
    Regards,
    Subhasish

    HI Subhasish,
         Tr. Code PFCG stands for Role maintenance.
         This is basically used by the Basis team.
         You can create simple and composite roles using this transaction .
         You can describe the functions that the role is to include .
          You can assign transactions to the role on the menu tab .
          The menu options selected in this step are displayed in the session manager
          and on the 'SAP easy access  logon screen as the User menu for all users
           who are assigned to the role .
    Reward if useful !
    Thanks
    Ranjita

  • How to get info about web service caller inside Web Service

    Hi..
    I want to know that can we get info about Web Service Caller inside called web service..
    Info Like IP Address, User Id, User Name
    Regards,
    Ajay Sharma

    Hi,
    I tested following code using JDevloper 11g
    @Resource 
        WebServiceContext wsc;
        @WebMethod
        public String webMethod() {
                    MessageContext msgCtxt = wsCtxt.getMessageContext();
            HttpServletRequest req = (HttpServletRequest)msgCtxt.get(MessageContext.SERVLET_REQUEST);
            System.out.println("Client IP = " + req.getRemoteAddr());
            return req.getRemoteAddr();
        }It is giving me IP address but when i tested this web service from another computer there also it is giving my machine address instead of the machine IP from where the web service is called.
    What is wrong in my code ?
    Regards,
    Ajay
    Edited by: Ajay Sharma on Dec 31, 2012 1:06 PM

  • OID Resource Access Descriptors in Forms and Reports

    Dear Colleage,
    In my Forms application (Oracle Application Server 10g (version 9.04), I call Reports from certain Forms. I have have SSO activated in both Forms and Reports. I have also defined two RADs (Resource Access Descriptors) in the OID called RKMSPROD and RKMSTEST, i.e. for the production DB and test DB respectively. I successfuly configured my formsweb.cfg file with [RKMSPROD] and [RKMSTEST] and can access the the corresponding DB using the URL parameter, e.g. CONFIG=RKMSTEST.
    Question 1
    ========
    Is the DB connection associated with the RADs (i.e. RKMSPROD or RKMSTEST in my case) implicitly passed on to the Reports server when I start a report job via the built-in RUN_REPORT_OBJECT or do I have to explicitly add the SSOCONN=RKMSTEST parameter before using the built-in RUN_REPORT_OBJECT?
    Question 2
    ========
    If I have to set the SSOCONN, how can I find out programatically, which RAD is currently active? I am using the same forms to access the two different DBs.
    Best regards,
    Charles

    Connect info is passed when making the RUN_REPORT_OBJECT call. No changes to Reports is needed. The only requirement is that both Forms and Reports have SSO enabled. The same information used to connect to Forms will be used to connect to Reports.
    More details are described in the Forms/Reports Integration White Paper:
    http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    Specifically refer to the section titled "Using the Run_Report_Object () Built-in" on page 20.

  • 920628 - info about 206 required

    hi
    this is a pre-purchase request for info about Nokia 206. let me know the answer for the following questions. thx
    1. if i don't want to open the case, the only way for communicating with the device via PC is bluetooth, right? ok, now, what kind of data i may transfer between them?
            a. may i send SMS with PC via bluetooth?
            b. may i store and collect SMS'es in the PC with a software which shows all of the collected SMS'es the same way as the phone itself does (threaded-view)?
            c. may i update the phone's contact list via PC?
            d. may i access data stored on the SD card and update them (or the phone's internal memory)?
            e. any other abilities?
    2. does it support bluetooth handfree for listening into music? if yes,
    3. when i'm listening into music with a bluetooth handsfree and i receive an incoming call, does it automatically (or manually with the handfree key, not touching the phone itself) suspends the music, let me answer the call and after hanging up resumes the music?
    4. i've heard that the maximum number of contacts are 1000. may i store more that one number for a contact? is there any limitation for name length of a contact?
    6. is there any limitation in the number of SMS'es?
    7. is there any option to store contact list and SMS'es in SD instead of the phone's internal memory or SIM?
    waiting anxiously for your responses.
    thx & regards

    really? are you sure? if so, i've to choose another phone. please give me answers to the same questions about Nokia 301 or any other phone which may be a good replacement.

Maybe you are looking for

  • Screen in PCH Logical Database

    Hi Can i change the screen selection of a PCH Logical Database?? is possible do it?? Regards Gregory

  • How do I embed streaming audio into a PDF?

    I've seen threads and question on embedding a YouTube video which I can do, but haven't seen anything regarding streaming audio embedding.  There are music sites out there that let you embed their song players (Soundcloud for example), how would I go

  • Apple script for contacts?

    iPhone does not search anything besides first name, last name & company in contacts. Since I dont always remember people's name, I want to search for them using job title or even text in their notes. Is there any solution I can search completely in c

  • What does "LSX-00204: extra data at end of complex element" mean?

    When trying to validate an XML instance against a schema definition, we consistenly get: ORA-31154: invalid XML document ORA-19202: Error occurred in XML processing LSX-00204: extra data at end of complex element. Can somebody explain to me, when one

  • NAC Inband Trunk on Untrusted Interface

    Hi, I am query regarding inband implementation of NAC server. Is it possible to have multiple vlans to terminate on the untrusted interface of the NAS in real gateway mode? Is this is the case, how can  I add an IP address to each vlan ID on the untr