Limiting numerical (integer) entries to between 1 and 5

I am creating a form to allow ratings on many topics. Each rating must be an integer between 1-5. I know how to limit the entries to integers. I have also set the field length to one character(so only the numbers 0-9 are accepted), but cannot figure out how to limit the acceptable entries to only 1, 2, 3, 4, or 5.
Any and all help is greatly appreciated.
Eric

Try the following code...may have to tweak little to suite your situation... Following JavaScript code I used in change event of the text field to limit the entries to characters 0 through 9 and length not to exceed 5 digits.
var keyPressed
keyPressed = xfa.event.change
var lenKey
lenKey = keyPressed.length
//app.alert(lenKey)
if (lenKey > 0) {
keyPressed = ScriptOne.ascii_value(xfa.event.change)
//if ((keyPressed == 46) || (keyPressed >= 48 && keyPressed <= 58)) {
if (keyPressed >= 48 && keyPressed <= 57) {
//xfa.host.messageBox("Numaric and OK")
}else {
xfa.host.messageBox("Please enter valid hours in format ##### (99999).")
xfa.event.change = "";
var newtext = xfa.event.newText
newtext = Number(newtext);
if (newtext > 99999) {
xfa.host.messageBox("Allowed upto 99999");
xfa.event.change = "";

Similar Messages

  • Can I set my macbook to install updates at a specific time? My internet is limited through the day but between 2am and 7am it is unlimited?

    My internet is limited through the day and I want to know if I can set a specific time for updates to be carried out to make sure my macbook is working efficiently.

    Yes. When you get a notification that an update is available, select "Try Tonight". That will constrain the update to occur between 2:00 and 5:00 AM.

  • Calendar Entry Sync between iPhone and MacBook

    when I delete a calendar entry on my iPhone, it does not get reflected on my calendar on MacBook.
    What's up with that? 
    How can I sync them automatically back and forth?   (i.e. if I make a change on one it gets synced and reflected on the other)
    I thought this was the whole point of iCloud instead of syncing.

    Welcome to the Apple community.
    First check that all your settings are correct, that calendar syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the calendars you are using are in your 'iCloud' account and not an 'On My Mac', 'On My Phone' or other non iCloud account (you can do this by clicking/tapping the calendar button in the top left corner of the application ), non iCloud calendars will not sync.
    If you are sure that everything is set up correctly and your calendars are in the iCloud account, you might try unchecking calendar syncing in the iCloud settings, restarting your device and then re-enabling calendar syncing settings.

  • HTTP type connectivity between XI and R3 - load balancing options ?

    Hi
       We have a http type connectivity setup between XI and R3 in order enable XI to communicate with R3 using ABAP proxies. We did this by creating a RFC destination on the ABAP stack of XI of type 'H' ( http connection between R3 systems ). Now, while setting up this rfc destination, there is no option to specify a message server on R3 - we just see a target server field that can be filled in.
    In an rfc destination of type 3 - on the XI box ( which is used for a XI --> R3 idoc adapter ) , I  can see an option for specifying message server.
    Does this mean that using type 'H' connectivity between XI and R3 does not give us an option of hitting the load balancing - message server on R3 and thus cannot use the load balancing setup on R3 ? Is this is a limitation of type 'H' connectivity between XI and R3 ?

    for HTTP load balancing the options seems to be somewhat different....check if these threads provide you any help:
    http://help.sap.com/saphelp_nw04s/helpdata/en/ae/9bfc3f9ec4e669e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/79/a1ce9569444647956b0ec1cf443c4d/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/43/39c7b227b91bcbe10000000a1553f7/content.htm
    Regards,
    Abhishek.

  • What is the diffrence between  map and map.entry in core java

    what is the diffrence between map and map.entry in core java . where it will be use ful. any one give one example plz.

    A Map contains Map.Entry's
    e.g.
            Map map = new LinkedHashMap(8);
            map.put(new Integer(1), "one");
            map.put(new Integer(2), "two");
            final Iterator iterator = map.entrySet().iterator();
            while (iterator.hasNext()) {
                Map.Entry entry = (Map.Entry) iterator.next();
                System.out.println("key=" + entry.getKey() + ", value=" + entry.getValue());
            }

  • Do any of you experience Im having with my ipad? I can't make a comment in Facebook for older posts and I can't open numerous comments from old posts of my friends. but everything works perfectly when I use laptop. is there problem between apple and FB?

    do any of you experience Im having with my ipad? I can't make a comment in Facebook for older posts and I can't open numerous comments from old posts of my friends. but everything works perfectly when I use my laptop(non-apple). is there problem between apple and FB?

    Facebook apparently has their site coded poorly for tablets with touch screens. Try using the Facebook app. It is not perfect either but it is better than view in a browser lately.

  • Value must be of type integer (between -2147483648 and 2147483647)

    Hi,
    Does anyone knows how to overcome this issue?
    NW7.01.05
    My Table in the View uses as dataSource a node called "DumpReport" - This has been created using a Structure type Zwd_S_Dumpage_Data.
    The structure has some elements, and my issue is in the Quantity element. This element is defined as:
    Element Name: Quantity
    Simple Type Package: [irrelevant]
    Simple Type: Zwd_E_Dumpqty
    Built-in Type: decimal
    Length: 13
    Decimals: 3
    I have one InputField, binding to this property. When I try to submit any decimal values, I get this error:
    " Value must be of type integer (between -2147483648 and 2147483647) " - related to that Context Property (Quantity).
    Regards,
    Daniel

    For future reference,
    External Length for this dataType was 17. We made it bigger in the R/3, since we compared to a Price field and it was 18 and working.
    Somehow this fixed our issue. I'm still looking for some additional information, since the Built-in type was a Decimal (WDP side) and it was being validated as an Integer?!!?
    Daniel

  • Discrepancy between birthday entries on my iPhone and my MacBook Pro Calendar

    How do I correct the discrepancy between birthday entries on my iPhone and my Macbook Pro Calendar? Say I entered June 11 on my iPhone and it will appear in my Calendar as June 12-- one day late! I use iCloud to sync Calendar and Contacts in my Apple devices.

    Make sure you have iCloud setup correctly >  Apple - iCloud - Learn how to set up iCloud on all your devices

  • ERROR-- 9 [Motor unable to stabilize between min and max limits] -- (2708) TEST FAILED

    Re: ERROR -- 9 [Motor unable to stabilize between min and max limits] -- (2708) TEST FAILED
    Please Somebody Tell me What Is The Issue.

    It might be helpful if indicated exactly what you were doing when the error appeared.

  • DIFF BETWEEN ABSOLUTE AND PERCENTAG TOLERANCE LIMITS

    Gud morning Gurus
    Can anyone tell me what is the exact difference between Absolute & Percentange tolerance limits in invoices that we set in customizing.
    it wud be better if any example is given.
    Thanks

    I WENT THRU THE URL SUGGESTED BY YOU.
    BUT I WANT TO KNOW IN WHAT CASES EXACTLY THE SYSTEM CONSIDERS ABSOLUTE AND PERCENTAGE LIMITS.
    ACTUALLY I READ A STATEMENT THAT THERE IS A DIFF BETWEEN ABSOLUTE AND PERCENTAGE LIMITS, SO WHAT IS IT?
    IN QUANTITY VARIANCES,AMOUNT VALRIANCES ETC.
    . Quantity variance: For a purchase order, the open quantity to invoice is a result of the delivered quantity and the quantity already invoiced. There is a quantity variance if the invoice quantity does not match this open quantity. At the absolute upper limit, the quantity variance is evaluated on the basis of the amount in the invoice item. This means that invoice items with a small amount result in a relatively large quantity variance, and that invoice items with a large amount result in a small variance. You can also define percentage limits for the quantity variance check, for which the system does not take account of the purchase order price.
    WHAT DOES THE ABOVE STATEMENT EXACTLY MEAN?CAN U EXPLAIN UDAY...
    THANKS
    Edited by: sapppfresher on Oct 3, 2011 6:56 AM

  • Share Configuration Manager Entries between WebDynpro and EJB

    Hi there,
    I have an annoying problem: I would like to have a WebDynpro as full-blown configuration interface for my EJBs. As steted in the docu, it is not possible to share configurations between applications.
    With EJB and Web Modules I would just place them in the same Enterprise Application. But I cannot as WebDynpro projects to enterprise applications (as far as I know).
    Does anyone have a clou about I could manage this issue?
    Thanks!
    helge

    Hi Maksim,
    at the link you've provided it is described how to use the Configuration Manager within an EJB Module.
    My Problem is that I want to use it from an WebDynpro Application. But there I don't have a META-INF\application-j2ee-engine.xm to configure the dependency.
    This itself is not a problem since you can also access the Configuration Manager via JNDI.
    My problem now is that the EJB Module (more precise the enterprise application where the EJB Module is included) needs to share the configurtion with the Dynpro. But vi JNDI you only get the ApplicationConfigurationManager - which is application specific.
    So the question is how I could share the configuration between WebDynpro and EjbModule...
    Regards,
    helge

  • What do i need to do to share TB and Lightning files between W7 and Ubuntu 14.04 on a dual boot system?

    I recently installed Ubuntu 14.04 alongside W7. Since I'm not comfortable dropping Windows completely yet, I want my W7 Thunderbird and my Ubuntu TB to have access to the same data file holding current messages, so I don't have to get out of one to use TB on the other. I rely on Lightning and also want my reminders to be consistent from either OS. I have a separate NTFS data partition which, I understand, can be used to house the profile directory (though I've not seen that as a solution for Lightning).
    In trying to set it up, I've run into questions that I can't find a good answer for -- want sources that address the problem and are recent. I'm pretty patient, and I can stumble through a lot of things (like learningn about partitions). But I'm not a programmer, and this start-stop-sort-through-dozens-of-old-incomplete-and-irrelevant-answers process is frustrating. (Nor do I lift the hood and tune my own car engine.) I also recognize that some things I want to do aren't necessarily common, so they're not at the top of anyone's "tell the world how to do this" list.
    1. My profiles directory has 6 *.default files. I assume the current one is the most recent. Do I need the older ones? How did I get them, since I've never knowingly created a new one? I'm the only user of my machine and thus the only user for TB.
    2. I saw the following before setting up the dual boot system, so it's likely not related -- but if someone who knows TB well can comment I'll appreciate it: when I view All folders, I see 58(!) folders with names nstmp-##. The contents overlap with normally-named folders, but the sets of messages are not identical. Do these indicate a problem and/or should I change something? Does this have to do with compacting or archiving, neither of which I do? Never saw the need, and never saw an article saying that they're important. I just want to use mail and reminders. And BTW I've been using TB/Lightning for years and am Very happy with them, so I want to keep using them.
    3. Is there a way to set up Lightning to hit the same data file(s) on my data partition? Or somewhere? Where are Lightning's files? I remember one source mentioned linking to "storage.sdb", but (1) I can't find the reference again, and (2) links to some of my files don't always work. Broken links aren't Mozilla's problem, but someone might know how to geet around the problem for the sake of Lightning. Also, storage.sdb and calendar* directories exist inside my *.default profile directory -- so why would I need to link anything? Are these not where calendar data is stored? If not, where?
    I'd rather understand the reasons behind recommended procedures ("do A because Y is how Lightning/TB works" -- vs "do A, then B, then C...and it will/should(!) work."). But if you can point me to a clear procedure that will get me where I want to go, that will be enough.
    Last, the following two URLs looked like they would help but don't -- so you don't need to point me to them again:
    http://kb.mozillazine.org/Sharing_a_profile_between_Windows_and_Linux -- this is only 2 years old but:
    (1) it only says that "settings" specify file locations, without saying which settings. Stumbling around, I found "Local directories" under Server Settings. For more detail the page refers to an article that's 10 years old. Neither source says which subdirectory under *.default should be the target. The older one references ".../mail", but when I enter that value in Local Directories under Ubuntu, nothing shows up. When I went down one more level to "/Local Folders", the folders appear and the new-message counts seem(!) ok. But I also got a couple "folder missing...will adjust filters" messages. I never got those under Windows. So am I good to go, or am I missing messages?
    (2) The above page only says that Lightning is a "potential problem", with no suggestion of a solution or link to a discussion. Searching results in many hits, but I haven't found anything helpful.
    http://ubuntuforums.org/showthread.php?t=1624973 -- this looked promising, but the comments are dated 2009-2010, deal with ubuntu 10 and XP, and don't seem to address my problem -- unless I'm not savvy enough to recognize it, which is entirely possible.
    Thanks for any insights.

    Lightning is a problem for you because it hooks into Thunderbird at a low level and you need a version compiled for the platform Thunderbird is running on. So you can't do the preferred solution, which is to put your whole profile in a shared folder and have both instances of Thunderbird reference the same profile. (Ditto for Enigmail). Lightning may become an integral part of Thunderbird in an upcoming release, at which point this limitation due to Lightning should disappear.
    And if you can't use a shared profile, you can't set your Lightning, or your Address Book, to share a common set of files. Put another way, the linkage from Thunderbird to its address book files and calendar data is hard-coded, and not exposed where we can adjust it. :-(
    The halfway house is to place your mail stores in a shared place, and use the Local Directory setting in each account's settings to connect to it. They don't need to be in the profile; what's more important in your case is that they are in a folder accessible to both operating systems.
    Look in your profile; everything under Mail and ImapMail needs to be moved out to a shared folder. Note the entries in Thunderbird under Local Directory before you do this, and reconstruct those pathnames in Thunderbird, but adjusted to suit their new locations.
    (You can see here that you need to make many adjustments, one per account, in each instance of Thunderbird, so it's a high-maintenance solution and this is why we don't recommend it when the alternative, moving the whole profile, is possible.)
    I share address books and calendars between Thunderbirds on various computers (and my phone and tablet) by syncing to something in the cloud; Google Contacts and Google Calendar are my choices, using gContactSync and CalDav.
    Having made the break myself some years ago, I'd recommend you break away from Windows. ;-)

  • SSL between NSAPI and WLS with custom certificate and RequireSSLHostMatch=true fails

    I am trying to use SSL for communication between NSAPI and WebLogic
    server (server authentication at the NSAPI).
    Therefore, a custom server certificate is installed on WLS, containing this
    server's hostname. The NSAPI is configured (RequireSSLHostMatch=true) to
    check the hostname contained in the certificate against the WebLogicHost
    parameter in the "obj.conf" file. The corresponding TrustedCAFile is installed
    for NSAPI.
    The SSL setup seems to work ok, but when matching the hostname, it seems like
    NSAPI is trying to do a string-match against the numeric IP of the WebLogicHost,
    not on the hostname as configured in the WebLogicHost parameter.
    The relevant entry in the "obj.conf" file:
    <Object name="weblogic" ppath="*">
    Service fn=wl-proxy WebLogicHost=btsun2a.muc \
    WebLogicPort=7162 \
    Debug=ALL \
    SecureProxy=ON \
    TrustedCAFile=/home/qx13604/wls61/config/testdomain/TC_RootServer_PEM_Class0.pem
    RequireSSLHostMatch=true
    </Object>
    I am using WLS6.1 with NSAPI (both Solaris). The content of "wlproxy.log" is as
    follows.
    Any ideas?
    Content of "wlproxy.log":
    Thu Oct 11 12:30:22 2001 INFO: SSL is configured
    Thu Oct 11 12:30:22 2001 INFO: Initializing SSL library
    Thu Oct 11 12:30:22 2001 Loaded 1 trusted CA's
    Thu Oct 11 12:30:22 2001 INFO: Successfully initialized SSL
    Thu Oct 11 12:30:22 2001 INFO: SSL configured successfully
    Thu Oct 11 12:30:22 2001 ....relFile.../index.jsp...
    Thu Oct 11 12:30:22 2001 URI=[index.jsp]
    Thu Oct 11 12:30:22 2001 Initializing lastIndex=0 for a list of length=1
    Thu Oct 11 12:30:22 2001 attempt #0 out of a max of 5
    Thu Oct 11 12:30:22 2001 general list: trying connect to '160.50.106.101'/7162/7162
    at line 1156 for '/index.jsp'
    Thu Oct 11 12:30:22 2001 New SSL URL: match = 1 oid = 22
    Thu Oct 11 12:30:22 2001 Going to check the general server list
    Thu Oct 11 12:30:22 2001 WLS info : 160.50.106.101:7162 recycled? 0
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[connection]=[Keep-Alive]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[user-agent]=[Mozilla/4.72 [de]C-CCK-MCD
    (WinNT; U)]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[host]=[btsun1a.muc:99]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept]=[image/gif, image/x-xbitmap,
    image/jpeg, image/pjpeg, image/png, */*]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-encoding]=[gzip]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-language]=[de,en]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-charset]=[iso-8859-1,*,utf-8]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[connection]=[Keep-Alive]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[user-agent]=[Mozilla/4.72 [de]C-CCK-MCD
    (WinNT; U)]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[host]=[btsun1a.muc:99]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept]=[image/gif, image/x-xbitmap, image/jpeg,
    image/pjpeg, image/png, */*]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-encoding]=[gzip]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-language]=[de,en]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-charset]=[iso-8859-1,*,utf-8]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[WL-Proxy-SSL]=[false]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[X-WebLogic-Force-Cookie]=[true]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Client-IP]=[160.50.136.171]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[X-Forwarded-For]=[160.50.136.171]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Path-Translated]=[wwws/ns-homeV417/docs/index.jsp]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Path-Translated-Base]=[wwws/ns-homeV417/docs]
    Thu Oct 11 12:30:22 2001 INFO: sysSend 52
    Thu Oct 11 12:30:22 2001 Partial read socket
    Thu Oct 11 12:30:22 2001 INFO: SSLWrite sent 0
    Thu Oct 11 12:30:22 2001 INFO: Host (btsun2a.muc) doesn't match (160.50.106.101),
    validation failed
    Thu Oct 11 12:30:22 2001 ERROR: SSLWrite failed
    Thu Oct 11 12:30:22 2001 SEND failed (ret=-1) at 549 of file URL.cpp
    Thu Oct 11 12:30:22 2001 *******Exception type [WRITE_ERROR] raised at line 550
    of URL.cpp
    Thu Oct 11 12:30:22 2001 got exception in sendRequest phase: WRITE_ERROR [os error=0,
    line 550 of URL.cpp]: at line 944
    Thu Oct 11 12:30:22 2001 INFO: Closing SSL context
    Thu Oct 11 12:30:22 2001 INFO: sysSend 14
    Thu Oct 11 12:30:22 2001 Failing over after sendRequest exception
    Thu Oct 11 12:30:22 2001 attempt #1 out of a max of 5
    Thu Oct 11 12:30:22 2001 general list: trying connect to '160.50.106.101'/7162/7162
    at line 1156 for '/index.jsp'
    Thu Oct 11 12:30:22 2001 New SSL URL: match = 1 oid = 22
    Thu Oct 11 12:30:22 2001 Going to check the general server list
    Thu Oct 11 12:30:22 2001 WLS info : 160.50.106.101:7162 recycled? 0
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[connection]=[Keep-Alive]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[user-agent]=[Mozilla/4.72 [de]C-CCK-MCD
    (WinNT; U)]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[host]=[btsun1a.muc:99]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept]=[image/gif, image/x-xbitmap,
    image/jpeg, image/pjpeg, image/png, */*]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-encoding]=[gzip]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-language]=[de,en]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-charset]=[iso-8859-1,*,utf-8]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[connection]=[Keep-Alive]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[user-agent]=[Mozilla/4.72 [de]C-CCK-MCD
    (WinNT; U)]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[host]=[btsun1a.muc:99]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept]=[image/gif, image/x-xbitmap, image/jpeg,
    image/pjpeg, image/png, */*]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-encoding]=[gzip]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-language]=[de,en]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-charset]=[iso-8859-1,*,utf-8]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[WL-Proxy-SSL]=[false]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[X-WebLogic-Force-Cookie]=[true]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Client-IP]=[160.50.136.171]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[X-Forwarded-For]=[160.50.136.171]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Path-Translated]=[wwws/ns-homeV417/docs/index.jsp]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Path-Translated-Base]=[wwws/ns-homeV417/docs]
    Thu Oct 11 12:30:22 2001 INFO: sysSend 52
    Thu Oct 11 12:30:22 2001 Partial read socket
    Thu Oct 11 12:30:22 2001 INFO: SSLWrite sent 0
    Thu Oct 11 12:30:22 2001 INFO: Host (btsun2a.muc) doesn't match (160.50.106.101),
    validation failed
    Thu Oct 11 12:30:22 2001 ERROR: SSLWrite failed
    Thu Oct 11 12:30:22 2001 SEND failed (ret=-1) at 549 of file URL.cpp
    Thu Oct 11 12:30:22 2001 *******Exception type [WRITE_ERROR] raised at line 550
    of URL.cpp
    Thu Oct 11 12:30:22 2001 got exception in sendRequest phase: WRITE_ERROR [os error=0,
    line 550 of URL.cpp]: at line 944
    Thu Oct 11 12:30:22 2001 INFO: Closing SSL context
    Thu Oct 11 12:30:22 2001 INFO: sysSend 14
    Thu Oct 11 12:30:22 2001 Failing over after sendRequest exception
    Thu Oct 11 12:30:22 2001 attempt #2 out of a max of 5
    Thu Oct 11 12:30:22 2001 general list: trying connect to '160.50.106.101'/7162/7162
    at line 1156 for '/index.jsp'
    Thu Oct 11 12:30:22 2001 New SSL URL: match = 1 oid = 22
    Thu Oct 11 12:30:22 2001 Going to check the general server list
    Thu Oct 11 12:30:22 2001 WLS info : 160.50.106.101:7162 recycled? 0
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[connection]=[Keep-Alive]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[user-agent]=[Mozilla/4.72 [de]C-CCK-MCD
    (WinNT; U)]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[host]=[btsun1a.muc:99]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept]=[image/gif, image/x-xbitmap,
    image/jpeg, image/pjpeg, image/png, */*]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-encoding]=[gzip]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-language]=[de,en]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-charset]=[iso-8859-1,*,utf-8]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[connection]=[Keep-Alive]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[user-agent]=[Mozilla/4.72 [de]C-CCK-MCD
    (WinNT; U)]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[host]=[btsun1a.muc:99]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept]=[image/gif, image/x-xbitmap, image/jpeg,
    image/pjpeg, image/png, */*]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-encoding]=[gzip]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-language]=[de,en]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-charset]=[iso-8859-1,*,utf-8]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[WL-Proxy-SSL]=[false]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[X-WebLogic-Force-Cookie]=[true]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Client-IP]=[160.50.136.171]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[X-Forwarded-For]=[160.50.136.171]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Path-Translated]=[wwws/ns-homeV417/docs/index.jsp]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Path-Translated-Base]=[wwws/ns-homeV417/docs]
    Thu Oct 11 12:30:22 2001 INFO: sysSend 52
    Thu Oct 11 12:30:22 2001 Partial read socket
    Thu Oct 11 12:30:22 2001 INFO: SSLWrite sent 0
    Thu Oct 11 12:30:22 2001 INFO: Host (btsun2a.muc) doesn't match (160.50.106.101),
    validation failed
    Thu Oct 11 12:30:22 2001 ERROR: SSLWrite failed
    Thu Oct 11 12:30:22 2001 SEND failed (ret=-1) at 549 of file URL.cpp
    Thu Oct 11 12:30:22 2001 *******Exception type [WRITE_ERROR] raised at line 550
    of URL.cpp
    Thu Oct 11 12:30:22 2001 got exception in sendRequest phase: WRITE_ERROR [os error=0,
    line 550 of URL.cpp]: at line 944
    Thu Oct 11 12:30:22 2001 INFO: Closing SSL context
    Thu Oct 11 12:30:22 2001 INFO: sysSend 14
    Thu Oct 11 12:30:22 2001 Failing over after sendRequest exception
    Thu Oct 11 12:30:22 2001 attempt #3 out of a max of 5
    Thu Oct 11 12:30:22 2001 general list: trying connect to '160.50.106.101'/7162/7162
    at line 1156 for '/index.jsp'
    Thu Oct 11 12:30:22 2001 New SSL URL: match = 1 oid = 22
    Thu Oct 11 12:30:22 2001 Going to check the general server list
    Thu Oct 11 12:30:22 2001 WLS info : 160.50.106.101:7162 recycled? 0
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[connection]=[Keep-Alive]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[user-agent]=[Mozilla/4.72 [de]C-CCK-MCD
    (WinNT; U)]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[host]=[btsun1a.muc:99]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept]=[image/gif, image/x-xbitmap,
    image/jpeg, image/pjpeg, image/png, */*]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-encoding]=[gzip]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-language]=[de,en]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-charset]=[iso-8859-1,*,utf-8]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[connection]=[Keep-Alive]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[user-agent]=[Mozilla/4.72 [de]C-CCK-MCD
    (WinNT; U)]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[host]=[btsun1a.muc:99]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept]=[image/gif, image/x-xbitmap, image/jpeg,
    image/pjpeg, image/png, */*]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-encoding]=[gzip]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-language]=[de,en]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-charset]=[iso-8859-1,*,utf-8]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[WL-Proxy-SSL]=[false]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[X-WebLogic-Force-Cookie]=[true]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Client-IP]=[160.50.136.171]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[X-Forwarded-For]=[160.50.136.171]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Path-Translated]=[wwws/ns-homeV417/docs/index.jsp]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Path-Translated-Base]=[wwws/ns-homeV417/docs]
    Thu Oct 11 12:30:22 2001 INFO: sysSend 52
    Thu Oct 11 12:30:22 2001 Partial read socket
    Thu Oct 11 12:30:22 2001 INFO: SSLWrite sent 0
    Thu Oct 11 12:30:22 2001 INFO: Host (btsun2a.muc) doesn't match (160.50.106.101),
    validation failed
    Thu Oct 11 12:30:22 2001 ERROR: SSLWrite failed
    Thu Oct 11 12:30:22 2001 SEND failed (ret=-1) at 549 of file URL.cpp
    Thu Oct 11 12:30:22 2001 *******Exception type [WRITE_ERROR] raised at line 550
    of URL.cpp
    Thu Oct 11 12:30:22 2001 got exception in sendRequest phase: WRITE_ERROR [os error=0,
    line 550 of URL.cpp]: at line 944
    Thu Oct 11 12:30:22 2001 INFO: Closing SSL context
    Thu Oct 11 12:30:22 2001 INFO: sysSend 14
    Thu Oct 11 12:30:22 2001 Failing over after sendRequest exception
    Thu Oct 11 12:30:22 2001 attempt #4 out of a max of 5
    Thu Oct 11 12:30:22 2001 general list: trying connect to '160.50.106.101'/7162/7162
    at line 1156 for '/index.jsp'
    Thu Oct 11 12:30:22 2001 New SSL URL: match = 1 oid = 22
    Thu Oct 11 12:30:22 2001 Going to check the general server list
    Thu Oct 11 12:30:22 2001 WLS info : 160.50.106.101:7162 recycled? 0
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[connection]=[Keep-Alive]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[user-agent]=[Mozilla/4.72 [de]C-CCK-MCD
    (WinNT; U)]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[host]=[btsun1a.muc:99]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept]=[image/gif, image/x-xbitmap,
    image/jpeg, image/pjpeg, image/png, */*]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-encoding]=[gzip]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-language]=[de,en]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-charset]=[iso-8859-1,*,utf-8]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[connection]=[Keep-Alive]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[user-agent]=[Mozilla/4.72 [de]C-CCK-MCD
    (WinNT; U)]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[host]=[btsun1a.muc:99]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept]=[image/gif, image/x-xbitmap, image/jpeg,
    image/pjpeg, image/png, */*]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-encoding]=[gzip]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-language]=[de,en]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-charset]=[iso-8859-1,*,utf-8]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[WL-Proxy-SSL]=[false]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[X-WebLogic-Force-Cookie]=[true]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Client-IP]=[160.50.136.171]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[X-Forwarded-For]=[160.50.136.171]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Path-Translated]=[wwws/ns-homeV417/docs/index.jsp]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Path-Translated-Base]=[wwws/ns-homeV417/docs]
    Thu Oct 11 12:30:22 2001 INFO: sysSend 52
    Thu Oct 11 12:30:22 2001 Partial read socket
    Thu Oct 11 12:30:22 2001 INFO: SSLWrite sent 0
    Thu Oct 11 12:30:22 2001 INFO: Host (btsun2a.muc) doesn't match (160.50.106.101),
    validation failed
    Thu Oct 11 12:30:22 2001 ERROR: SSLWrite failed
    Thu Oct 11 12:30:22 2001 SEND failed (ret=-1) at 549 of file URL.cpp
    Thu Oct 11 12:30:22 2001 *******Exception type [WRITE_ERROR] raised at line 550
    of URL.cpp
    Thu Oct 11 12:30:22 2001 got exception in sendRequest phase: WRITE_ERROR [os error=0,
    line 550 of URL.cpp]: at line 944
    Thu Oct 11 12:30:22 2001 INFO: Closing SSL context
    Thu Oct 11 12:30:22 2001 INFO: sysSend 14
    Thu Oct 11 12:30:22 2001 Failing over after sendRequest exception
    Thu Oct 11 12:30:22 2001 attempt #5 out of a max of 5
    Thu Oct 11 12:30:22 2001 general list: trying connect to '160.50.106.101'/7162/7162
    at line 1156 for '/index.jsp'
    Thu Oct 11 12:30:22 2001 New SSL URL: match = 1 oid = 22
    Thu Oct 11 12:30:22 2001 Going to check the general server list
    Thu Oct 11 12:30:22 2001 WLS info : 160.50.106.101:7162 recycled? 0
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[connection]=[Keep-Alive]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[user-agent]=[Mozilla/4.72 [de]C-CCK-MCD
    (WinNT; U)]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[host]=[btsun1a.muc:99]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept]=[image/gif, image/x-xbitmap,
    image/jpeg, image/pjpeg, image/png, */*]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-encoding]=[gzip]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-language]=[de,en]
    Thu Oct 11 12:30:22 2001 Hdrs from Client:[accept-charset]=[iso-8859-1,*,utf-8]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[connection]=[Keep-Alive]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[user-agent]=[Mozilla/4.72 [de]C-CCK-MCD
    (WinNT; U)]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[host]=[btsun1a.muc:99]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept]=[image/gif, image/x-xbitmap, image/jpeg,
    image/pjpeg, image/png, */*]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-encoding]=[gzip]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-language]=[de,en]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[accept-charset]=[iso-8859-1,*,utf-8]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[WL-Proxy-SSL]=[false]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[X-WebLogic-Force-Cookie]=[true]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Client-IP]=[160.50.136.171]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[X-Forwarded-For]=[160.50.136.171]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Path-Translated]=[wwws/ns-homeV417/docs/index.jsp]
    Thu Oct 11 12:30:22 2001 Hdrs to WLS:[Proxy-Path-Translated-Base]=[wwws/ns-homeV417/docs]
    Thu Oct 11 12:30:22 2001 INFO: sysSend 52
    Thu Oct 11 12:30:22 2001 Partial read socket
    Thu Oct 11 12:30:22 2001 INFO: SSLWrite sent 0
    Thu Oct 11 12:30:22 2001 INFO: Host (btsun2a.muc) doesn't match (160.50.106.101),
    validation failed
    Thu Oct 11 12:30:22 2001 ERROR: SSLWrite failed
    Thu Oct 11 12:30:22 2001 SEND failed (ret=-1) at 549 of file URL.cpp
    Thu Oct 11 12:30:22 2001 *******Exception type [WRITE_ERROR] raised at line 550
    of URL.cpp
    Thu Oct 11 12:30:22 2001 got exception in sendRequest phase: WRITE_ERROR [os error=0,
    line 550 of URL.cpp]: at line 944
    Thu Oct 11 12:30:22 2001 INFO: Closing SSL context
    Thu Oct 11 12:30:22 2001 INFO: sysSend 14
    Thu Oct 11 12:30:22 2001 Failing over after sendRequest exception
    Thu Oct 11 12:30:22 2001 request [index.jsp] processed ..................

    I tried some other case and configured a certificate containing
    the numeric IP as hostname. The authentication works fine then,
    but it wouldn't be nice to hard-code the IP in the certificate
    (btw. the WebLogicHost parameter is still given as DNS name, not
    as IP address).
    Has anyone got a solution for this?
    "Wolfgang Jodl" <[email protected]> wrote:
    >
    I am trying to use SSL for communication between NSAPI and WebLogic
    server (server authentication at the NSAPI).
    Therefore, a custom server certificate is installed on WLS, containing
    this
    server's hostname. The NSAPI is configured (RequireSSLHostMatch=true)
    to
    check the hostname contained in the certificate against the WebLogicHost
    parameter in the "obj.conf" file. The corresponding TrustedCAFile is
    installed
    for NSAPI.
    The SSL setup seems to work ok, but when matching the hostname, it seems
    like
    NSAPI is trying to do a string-match against the numeric IP of the WebLogicHost,
    not on the hostname as configured in the WebLogicHost parameter.
    The relevant entry in the "obj.conf" file:
    <Object name="weblogic" ppath="*">
    Service fn=wl-proxy WebLogicHost=btsun2a.muc \
    WebLogicPort=7162 \
    Debug=ALL \
    SecureProxy=ON \
    TrustedCAFile=/home/qx13604/wls61/config/testdomain/TC_RootServer_PEM_Class0.pem
    RequireSSLHostMatch=true
    </Object>
    I am using WLS6.1 with NSAPI (both Solaris). The content of "wlproxy.log"
    is as
    follows.
    Any ideas?

  • Would you please summarize what the difference between tc and alv?

    hi, experts,
      would you please summarize what the difference between table control and alv base on the function and usage practice.
    for example, as i know:
    1.edit
      tc: can edit in the same screen and save.
      alv: pop up a sub screen to let user edit, so this is unconvenient.
    2.functional button
      alv: can have many functional button as default ,eg. sort, summary and so on
      tc:  developers must implements by himself.
    3.color
      alv: can have and change color
      tc:  cann't changed color
    some client may required the data displayed in alv and edit in tc ,such as example BCALV_EDIT_02.
    above are my idea, experts, would you give me some comments on my opinion and summarize what the difference between those two components? i should make it clear in order to consult the UI with my client.hunger for your advice, thanks!
    Message was edited by:
            liu shaochang

    ALV Grid is basically used for display puropse. It is more user friendly. There are arious features ( such as coloring, sorting, saving to a local file, sedning by mail etc. ) These featurs make ALV Grid a very good option to display the data .
    However , the table control is not only used to display data take from the database table, but also you can do operation such as deletion of data from database table, insertion of data into the database table and updation also. Yeah it has not got the various features whihc ALV has.
    So table control and ALV Grid , if you are just using for display purpose, then ALV Grid is a better option due to its layout and attractive features. But if you want to do the database operations other than display, table control can be used.
    As far as execution is concerned, I think ALV Grid is faster.
    ALV grid control is faster when compared to Table control. But the comaprision is Negligible .
    One of the major differences comes in taking of line items - ALV has an advantage over Table Control when it comes to update database from it.Table control only allows maximum of 999 records at a time where as this limitation is not there in ALV.
    Also,a main feature of ALV Grid is that it contains a standard set of functions. These functions extend beyond the functions of a table control.
    These two UI elements require different keyboard navigation, with ALV Grid being more user-friendly.
    An application can display table data in ALV Grid or in a table control. In some applications you can choose between displaying and editing data in either ALV Grid or a table control. If a configurable button () appears in the right upper corner of the table, it is a table control.
    Basically ALV is a way to display the output and Table Control is designed in screen painter through which you can get entries in Table Control, can delete some records etc for further processing and its not use only for Display.
    ALV is Application List viewer:-
    Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.
    In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.
    TABLE CONTROL:-
    ABAP offers two mechanisms for displaying and using table data in a screen. These mechanisms are table controls and step loops. Table controls and step loops are types of screen tables you can add to a screen in the Screen Painter.

  • REAL differences between STCMS and JMQ that can cause trouble?

    hi *,
    i wanted to start a collection of differences between STCMS and JMQ. before i was working with JMQ i had a very naive point of view and thought we would migrate to JMQ without having any difficulties besides administration process changes....
    so far the bigest differences for me that i found until now are:
    1) JMS properties are not allowed to start numerical like 1_firstJmsProp now they must be named like _1firstJmsProp
    2) setting null values as property causes exceptions (i think it was JMSMessageFormatException or something like this..)
    any other points you have found out till now?
    regards chris

    Hi Chris,
    what I also found out and not really forces me to use JMQ in production is, that in eManager the Queues of the Sun_JMQ - message server can not really be addressed! I have a test-project running that pulls regularly data into that queue running on the Sun_JMQ, but when I go to the Sun_JMQ - entry in eManager, I only see the queue, but the eManager says it is an empty queue - no "Min Sequence Number", "Max Sequence Number", ... not even the "Last Published Date/Time" is set. So, in production you would not be able to see how many data was already processed and when the last message was sent!
    I assume this is related to the way data is gathered from the JMS-server and maybe Sun uses the SeeBeyond implementation here?!
    Funny is, that when you stop the receiver of the Sun_JMQ - queue, you at least see how many data are waiting in the queue to be processed and you can also take a look at the messages waiting!
    Edit: What I just saw is, that when you look at the "Logging"-tab of the Sun_JMQ-server in eManager you see the log-entries of the stcms-server in there (so from the other JMS-server)?!?!
    Just my 2 cents...
    Bernhard
    Edited by: nocomm on Jul 31, 2008 10:55 PM

Maybe you are looking for