Time Validation question

I am using the time validation and it works well, however my
case (which I think would be common) doesn't seem to be supported,
or I am just not sure how to configure. I want someone to enter in
a time such as '8:45 AM' or '11:30 PM'. It seems as though it
requires either a leading zero, or a single diget, but not a way to
do both. The code below allows for the '8:45 PM' option. But not
11:45 PM.
<script type="text/javascript">
var eventtime = new
Spry.Widget.ValidationTextField("eventtime", "time", {format:"h:mm
tt", hint:"8:00 AM", validateOn:["blur", "change"],
useCharacterMasking:true});
</script>
The example on this page is forces the leading zero.
http://labs.adobe.com/technologies/spry/samples/validationwidgets/TextfieldValidationSampl e.html
Am I missing something or does that pretty much require users
to always do leading zero in order to enter the full range of
time?

The textfield validation widget implementation doesn't
support variable length for time format. To cover your use-case you
might use the "hh:mm:tt" format and add the leading zero for single
digit case.
The time formats that are accepted are: "HH:mm" (default),
"HH:mm:ss", "hh:mm tt", "hh:mm:ss tt", "hh:mm t", "hh:mm:ss t".

Similar Messages

  • Real time interview questions

    Hi gurus
    Can anyone of u pls give answers for the following real time interview questions.
    1.How do you implement a new object required by ur Client...and what are all the proccess up to Production Server....?
    2.What is the Role played by RFC is SAP Systems
    3.. What are all the initial things done to you while u are put in to the team....?
    Pls do the needfull
    Thanking you
    sure i will assign full points

    1._How do you implement a new object required by ur Client...and what are all the proccess up to Production Server....?_
    - Develop the New Info object
    - Test them Info object in Quality(if you got one in your Landscape)
       - To test in Quality,Firstly you need to "TRANSPORT"the obj to Quality(TRANSPORT CONNECTION - OBJ - TRANSPORT(assign to a Transport Request)(truck icon)
       - Once the obj is Tested fine without any bugs.errors,
    - Transport the obj from DEV to PROD
      - Transport Conn - Obj -Transport(truck icon)
       - SE09 (Release the particular Request)
       - STMS (Import the Request to PROD) (Can be done by BASIS)
    2)_What is the Role played by RFC is SAP Systems_ 
        -  RFC(Remote Function Call) used to help establish connection between the BW and the Source system.
        -  You setup the RFC in SM59
    3)_What are all the initial things done to you while u are put in to the team....?_
        - This literally depends on the Type of Project you are deployed.(Implementation/Support)
    Hope this stuff help you out..
    cheers

  • Real time interview questions in XI

    Hi guys,
               Can anyone send me Real time interview questions in XI to my mail id [email protected] will be awarded.
    Thanks in advance

    Hi , check some of the FAQS.
    Some of them not answered.
    . Which of the following are Components of XI
    MDM, Adapter Framework, RWB, SLD, IS

    2. What is a XI Pipeline?
    3. Source element occurs once whereas the target element it is mapped to is produced 3 times when the mapping is executed. Why does this happen?
    4. A context object is used in place of what?
    5. what is UDF? What are the mandatory functions that you use in a Java based UDF
    a. Init() , Execute(), Destroy(), Run(), SetParameter()
    6. ABAP mapping is implemented using what?
    7. When you don’t find the ABAP mapping option in IR what do u do?
    8. Any of the of different Mapping types (Java, MM, XSLT, ABAP) can be called in any order for Interface mapping ? True of False
    9. Is true case sensitive in case of a Boolean function and can 1 be interpreted a Boolean TRUE?
    10. what is Context Changes ?
    11. What are the protocols that the Mail adapter supports
    12. Why is a SAP BC used?
    13. WSDL representation of a Message Interface is used to generate what kind of proxies?
    a. ABAP Proxies
    b. Java Proxies
    c. Neither ABAP nor Java
    d. Both ABAP and Java proxies
    14. Would you configure a Sender IDOC communication channel?
    15. You are required to upload additional libraries for the JMS adapter. How would you do it?
    16. QoS that a Sender JDBC communication channel supports
    17. What are the transport protocols a JMS adapter supports?
    18. Would you configure the Integration Server as a Logical system in a scenario where IDOCs are being sent from a SAP R/3 system to XI?
    19. Why do we specify the Logical System name in the SLD?
    20. The pre-requisites for sending IDOCs to an XI system
    a. Connection parameters must be maintained in SWCV
    b. User must have administration rights in XI
    c. The IDOC metadata must be imported into IR
    21. You need to post a transaction using a RFC. How would you accomplish this?
    a. Use a async BAPI call with implicit Commit?
    b. Use a async BAPI call with explicit Commit?
    22. what is PCK? What is the necessity for a PCK?
    23. In a company the Central Adapter Engine is installed close to the business partner site. Why do you this this is done?
    24. The flow of a message entering the Adapter Engine from Integration Server is--
    a. It is queued, processed using module processors and then posted to the backend application
    b. It is processed using module processors, queued and then posted to the backend application
    25. Is the persistence layer used by the Adapter Engine and the Integration Engine (Integration Server) same?
    26. Is the Message ID specified in the Integration Engine same as the Message ID used during the Message transformation in the Adapter engine?
    27. Would you configure a Sender HTTP adapter?
    28. QoS in case of a RFC Receiver adapter
    29. Sync-Async bridge is used for?
    30. A Business Process is
    a. Executable cross component
    b. Can send and receive messages
    31. What is the purpose of a deadline branch
    32. What is SXI_CACHE used for?
    33. Container elements can be typed to what ?
    34. Why is a Wait step used?
    35. A block can have which of the following?
    a. Multiple Exception branches
    b. Multiple Condition branches
    36. For what all step types can you use a Corelation?
    37. Which of the following is true?
    a. Blocks can be Nested
    b. Blocks can be Overlapped
    38. You need to collect and club messages in a container element coming from different steps. How would you do this?
    39. In case of a Block, which of the following is true?
    Elements of a super container are visible in sub-containers
    Elements of a subordinate container are not visible in all blocks
    Elements defined in the process container are visible in all blocks
    40. what is Co relation & Local Co-relation
    41. Where can you use N: M transformation?
    42. Alert framework uses/leverages CCMS?
    43. If you want to cancel a process and set its status to ‘Logically Deleted’ when a Deadline is reached, do you need to use a Control Step having its Action as ‘CancelProcess’ or is it automatically done?
    44. What are the ways an Exception can be triggered?
    45. What would be the best architecture after implementing SAP XI? Implementing EDI adapter(s).
    46. How to run the Adapter engine as a service?
    47. How SAP Netweaver supports a holistic approach to BPM (Business Process Management)?
    48. What is the role of SAP XI?
    49. How can we differentiate SAP XI from Business Connector (BC)?
    50. How to send mail from SAP XI?
    51. What are the migration steps from XI 2.0 to XI 3.0?
    52. XI will support synchronous communication and asynchronous communication?
    A. Yes
    B. No
    53. Integration server contains the following components?
    A. Additional integration services
    B. Integration Engine
    C. Business Process Engine
    D. Integration Repository
    54. Integration Repository provides the following components?
    A. Business processes
    B. Mapping Objects
    C. Components at design time
    D. Imported objects
    55. What is the usage of Web Application server in XI?
    56. What is the use of RFC and IDOC Adapters in XI?
    57. How to convert WSDL (Web Services Descriptive Language) to target language?
    58. What is the component to generate Jave classes?
    59. What is ESA (Enterprise Service Architecture)?
    60. What are the key elements of ESA?
    61. How to transport SLD, Integration Directory & Integration Repository objects to the Production system?
    62. Can we import XSD Schemas into XI 2.0?
    63. which api you use for java mapping.
    64. You use context object in place of what?
    65. To make non mandatory node mandatory which you should to?
    66. In case of RFC communication sender system sends a rfc call but target system does not receive it. What you think went wrong?
    67 Difference between Xi business process and workflow ?
    68. When you use transaction SXMB_MONI for process monitoring, which field tells you that the entry is for business process.
    69. What are different Xi components?
    70. In which all places you can use receive process?
    71 In which all steps you can activate correlation?
    1. How many interfaces are u developed in u r project.
    2,What is land accepted.?
    3.What is Your team size ?
    4.The work assignment procedure in your organization?
    5.What is your complete company object.?
    6.What is the nesicity of developing that scenario.?
    7.What is the advantage over other integration tools.?
    8.What is Sender agreement?
    9.What is Receiver agreement?
    10.Tell me the steps for Multiple Idoc to File.(BPM Scenarios)
    11.Tell me the steps for file to Multiple Idoc (BPM)
    12.How to Create Alerts in BPM?
    13.How to Use Third Party Adaptors in u r project.?
    14.How to Use External Objects?
    15.What is the Use of Node Fictions in XI?(example)
    16 Examples on RFC lookups?
    regards,
    Brahmaji.

  • Time validator

    I am trying to come up with some way of producing an applet that will deal with the following:
    In this task you are required to design, create and test a new class called newTime.
    1. Design a solution for a new class called newTime.      
    a. public boolean valid24Time (int hh, int mm)
         The hours (hh) can only be in the range 0-23 and the
    minutes (mm) can only be in the range 0-59.
         This method must return true if the time is valid and false
    if the time is invalid.
         b. public String convert24ToStd (int hh, int mm)
         The time is passed to the method as hours (hh) and minutes
    (mm)with the time in 24
         hour format. The 24 hour format must be changed into standard
    format in the form
         hh:mm AM for a morning time and hh:mm PM for an afternoon time.
         This method must return a string containing the time in
    standard format.
         c. public int convertStdTo24 (String hhmm)
         The time is passed to the method as a string in standard format
    in the form hh:mm
         AM for a morning time and hh:mm PM for an afternoon time. The
    standard format     must be changed into 24 hour format.
         This method must return an integer containing the time in 24
    hour format.
         d. public int addTime (int hh1, int mm1, int hh2, int mm2)
         Two times are passed to the method in 24 hour format as hours
    and minutes (hh1 and mm1, hh2 and mm2). The two times must be
    added together.
         This method returns the calculated time as an integer in 24
    hour format.
         e. public int subtractTime (int hh1, int mm1, int hh2, int mm2)
         Two times are passed to the method in 24 hour format as hours
    and minutes (hh1 and mm1, hh2 and mm2). The second time must be
    subtracted from the first.
         This method must return the calculated time as an integer in 24
    hour format.
    2. Error handling routines must be included to deal with exceptions.
    3. Write the code for the newTime class.
    4. Design and create a testnewTime class which tests the methods in the newTime class.
    Document the layout of any input and output screens used.
    5. Create test data to test the newTime class and determine the expected results.
    6. Prepare a test plan.
    7. Test the software, compare the actual results to the expected results keeping a log for
    each test which identifies any discrepancies between actual and expected results and
    records any amendments made to correct errors.
    8. Produce technical documentation to describe the class interface and purpose and
    operation of the newTime class.
    9. Produce a printed program listing.
    Any help would be grateful
    Regards
    Rary Geddi

    I've have tried all ways to get this to work but with out any luck.
    What am I doing wrong?
    public class Frame1 extends JFrame {
    String inputHour;
    String inputMin;
    int hh = 0;
    int mm = 0;
    boolean isHourValid;
    boolean isMinValid;
    public boolean valid24Time ( int hh, int mm)
    {  boolean isHourValid = ( hh>= 0 && hh<24);
    boolean isMinValid = ( mm>= 0 && mm <60);
    return (isHourValid & isMinValid);
    private JPanel contentPane;
    private JPanel jPanel1 = new JPanel();
    private JButton jButton1 = new JButton();
    private JButton jButton2 = new JButton();
    private JButton jButton3 = new JButton();
    private JButton jButton4 = new JButton();
    private JButton jButton5 = new JButton();
    private GridBagLayout gridBagLayout1 = new GridBagLayout();
    private GridBagLayout gridBagLayout2 = new GridBagLayout();
    void jButton1_actionPerformed(ActionEvent e) {
    inputHour = JOptionPane.showInputDialog("Enter Hour");
    hh = Integer.parseInt(inputHour);
    inputMin = JOptionPane.showInputDialog("Enter minute");
    mm = Integer.parseInt(inputMin);
    if ( isHourValid & isMinValid )
    JOptionPane.showMessageDialog
    (null,"Time invalid" hh mm,"Invalid time", JOptionPane.PLAIN_MESSAGE);
    else
    JOptionPane.showMessageDialog
    (null, "Time valid" hh mm, "Valid time", JOptionPane.PLAIN_MESSAGE);
    }

  • Date and Time validation together...

    Hi,
    I want to have the date and time validation together. Is it posible?
    I am not able to do it using "AT SELECTION-SCREEN".
    e.g.
    DATE1 - DATE2 is 12/22/2009 - 05/27/2010
    TIME1 - TIME2 is 15:00:00 - 01:00:00
    This will result in error because the time1 is more than time2 but it is correct when it is tied to date1.
    I tries to validate them together but it gives the standard error all the time.
    Please help me.
    Thank you.

    Hi,
    You could have a normal range for your date field and two parameters for the times...no?
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(33) ttime FOR FIELD p_time1.
    PARAMETERS: p_time1 type t.
    SELECTION-SCREEN COMMENT 54(2) tto FOR FIELD p_time2.
    SELECTION-SCREEN POSITION 60.
    PARAMETERS: p_time2 TYPE t.
    SELECTION-SCREEN END OF LINE.
    INITIALIZATION.
       ttime = 'Time'.
       tto = 'to'.
    Kr,
    Manu.

  • Where to Post Time Machine Question?

    My question title says it all. How do I find the area in which to post a Time Machine question? Or do I just do it here? Thanks.

    There is no place to post a question on Time Machine

  • Time validation from validation.xml file

    i've inherited part of a project and need to be able to validate a user inputting time into a field, at present it's set for a 24 hr clock, but the mask as it is will let them input eg 25:45, because its checking each digit rather than is it less than 24
    entry from our validation.xml file:
    <field property="time" indexedListProperty="configBillingPeriodTable" depends="mask">
    <arg0 key="taWebLabel.Time"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^[0-2][0-9]:[0-5][0-9]$</var-value>
    </var>
    </field>
    this stuff is new to me, so excuse the basic questions!! how can I set the first part of the mask to limit to 23, and where can I find info on what expressions I can use between the <var-value></var-value> tags
    thnx

    I believe it would be this:
    ^([0-1][0-9]|[2][0-3]):[0-5][0-9]$
    or if you don't want leading 0's for 0-9...
    ^([0-9]|[1][0-9]|[2][0-3]):[0-5][0-9]$

  • Data Template construction AND data template validation questions:

    Hello World.
    I am new to Oracle BI and I have sucessfully used the BI Java APIs to create from start to finish a pdf report process. I use the DataProcessor, RTFProcessor, and FOProcessor classes to do this. My question is other than the most simple of Data Templates being used, how is everyone building their data templates? And I would also like to know how are developers validating the actual data template file? I have submitted a request through my MetaLink account for obtaining either a "dtd" or "xsd" file that could be used to validate a constructed data template. I have not received any real answers. I plan on using either XMLSpy or MyEclispse 6 to create my data templates, but I need a "rule book" dtd or xsd file in order to use the auto prompting feature. Making a data template "in the dark" cannot be the method of choice for all of the developers that visit this forum. I see some really fancy/detailed reports and I would like to see how people are building there data templates. Building the data template is at least half the battle when constructing a BI report.
    Thanks for your time.

    Notepad is the developer's choice for data definitions, seriously.
    I have seen and used XMLSpy and have Stylus Studio but they are really a bit of overkill for the data templates. I use Stylus Studio for some of our XML-FO format templates, but that is another story.
    Scott
    Edited by: ScottC on Oct 22, 2008 3:00 PM

  • I can't buy apps in my iPhone because iTunea ask me all time security questions and I don't remember the answers, but I send to my email and itune didn't send me for single up

    how come I can reset my security questions? I sens to my email and iTunes didn't send me for reset them

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • Time Machine question.

    Hello. Im not sure exactly where to post this, i couldnt find a Time Machine section. Ill make this as short as possible.
    I have a 2011 mac mini with snow leopard 10.6.8 and my wife just bought quick books accounting software which requires 10.8 mountain lion, so i just bought it, although i havent installed it yet and here is why. I started another thread the other day about weather or not i HAD to update to Yosemite, all the reviews are making me nervous so im opting for Mountain Lion. So, in my thread a member asked me how i back up my mac mini, well i dont and never have. But i recently got a 1TB external hard drive which im going to return for a 2TB. This member was talking to me about mountain lion and suggested that i install it on my external hard drive so that i could keep my nicely working Snow Leopard as well as having Mountain Lion for my wifes quick book program. As we spoke, the member said he wasnt sure id be able to back up my mac mini with Time Machine onto the 1TB as well as install Mountain Lion onto it and i also plan on putting a few thousand pictures on it. Can someone tell me if this is possible? I know ZERO about time machine and backing up for that matter. Ive never done it. So another question, if i was to back up using Time Machine and a 2TB external hard drive, would that also back up all my photos in iphoto, my photoshop program and Toast editing? Would all of that be backed up? Am i making any sense? LOL.
    Thanks.

    zowenso wrote:
    So, are you saying that I should have a totally different external hard drive to use for time machine back ups?
    Would it be safe to store all my pictures and the installation Mountain lion back up on one external hard drive or am I going to have to get a separate one for each?
    Also, what if I just did the standard update to mountain lion and didn't save it to an external hard drive? Could I then use one external hard drive for my pictures and the time machine back ups?
    Yes. Use a different drive for your Time Machine back ups.
    You could use a 2TB external USB drive, partition it into 2-1TB partitions, install OS X Mountain Lion on one and point your Time Machine back ups to the 2nd 1TB partition. I think you should be able to use this 1TB partition for both your Snow Leopard and Mountain Lion Time Machine back ups. Just point each to that 1TB partition. All of your data (photos, music, documents, Quickbooks data, etc.) would be backed up by Time Machine as it backs up the entire drive (OS/Apps/Data). So, if you use that 1TB partition for both back ups, both drives (SL on your Mac Mini and ML on the external 1TB partition) will be backed up.

  • Time machine questions... how to use with an external drive etc.

    Hi,
    I am about to start using Time Machine. I have a few questions:
    1. Can Time machine be used to restore data and applications / application settings?
    2. I have a CalDigit VR eSATA drive which is 1TB RAID 1 which I was going to use as the Time Machine target drive.
    Does Time machine store all of its data files in one main folder with many sub folders?
    If my TM backup data takes up 600GB on the drive can I safely store other data on the 400GB or is it best to partition the drive HFS+ Journaled 600/400 and leave TM to its own dedicated partition?
    3. Does TM keep adding data until it runs out of disk space and only then delete older BUs?
    4. Is TM a good backup software for total recovery or is something like SuperDuper better? I would almost never use TM to recover a file that was deleted... but I am looking for a way to protect against data lost in the case of HD failure.

    If you haven't found this yet, take a look here: http://www.apple.com/findouthow/mac/#tutorial=leopardtimemachine
    That should give you a rough idea of the "look and feel."
    1. Can Time machine be used to restore data and applications / application settings?
    Yes, unless you tell it not to, it saves everything (except some system caches, temp files, etc.). If your HD fails, you can recover your entire system to a new/repaired HD via your Leopard install disc (it has the restore utility) and your TM backups. OS, apps (Apple and 3rd-party), preferences, settings, data, the whole system.
    Does Time machine store all of its data files in one main folder with many sub folders?
    As you may be able to see in the video, the small Finder window is very much like the main one; you can see your data in the same way. TM presents a "picture" that appears to be a full, separate backup of the way your Mac looked at any time. Of course, that's an illusion. It only actually copies files/folders that have been added or changed since the last backup.
    You can't tell which items are "real" and which are the "multi-links" representing a file that didn't change on that particular backup.
    For more info on the internals: http://www.appleinsider.com/articles/07/10/12/roadto_mac_os_x_leopard_timemachine.html
    3. Does TM keep adding data until it runs out of disk space and only then delete older BUs?
    Sort of. After an initial Full backup, it does incrementals (hourly, if you let it). Then it converts the first of the day to a daily backup, which it keeps for a month, and deletes the other hourlies after they're 24 hours old.
    After a month, it converts one per week into a weekly backup and deletes the dailies.
    It keeps the weeklies until it runs out of room, then begins deleting the oldest. But because of the "multi-links," it doesn't delete it's copy of anything that's still on your internal HD. So it manages it's space and deletions automatically and intelligently.
    4. Is TM a good backup software for total recovery or is something like SuperDuper better?
    They both have their advantages and disadvantages. Many of us use a clone plus TM. The clone advantage is, of course, being bootable. TM isn't. TM's advantages are the very fast incremental backups (it doesn't have to examine every file and folder to see what's changed): the ability to restore old items; and the ability to restore your entire system to a previous state, even if that's a prior version of Leopard!

  • Time Machine questions: Handling backups for multiple Macs to one FW drive

    I am reviewing the Time Machine thread and seeing a lot of helpful information, but I would like to ask something I haven't quite found yet.
    We have 2 Leopard Macs, a MacBook Pro and an intel iMac... with plans to upgrade another MBP from Tiger to Leopard at some point.
    In planning for Time Machine, we set up a 1 TB drive, attached it via FW 800 to the iMac, partitioned it GUID for Intel, and made 3 partitions, one for each planned Mac we want to back up to it.
    I started Time Machine on the iMac first and the first backup of about 100 gb took maybe 4 hours.
    Then we tried to start the Time Machine backup for the MBP over the network (wireless). It was understandably much slower and quit with some error last evening, so I took advantage of the pause to move the notebook to a wired ethernet connection. It got even slower so this morning I directly connected it FW 800, erased what had been backed up, and started over. So far, so good. 6GB out of 100 in 10 minutes or so. The idea being, if we can get the first backup completed faster over wired connection, maybe doing the incrementals over wireless network will be okay. Sounds like some folks are doing that successfully. I am hoping that works out.
    Questions: Was it necessary to partition my 1TB drive into a partition for each Mac's Time Machine backup? I did make each partition bigger than the hard drive it is designated for.
    To get the MBP to mount the external FW drive on its desktop, I had to disconnect the drive from the iMac. Is there any way I can connect the FW drive to both the MBP and the iMac (the drive has two FW 800 out connections, so it is physically possible)? I'm thinking (from reading posts of others with notebooks) that one strategy is to connect your notebook to your Time Machine drive at night and let it back up, but it'd be great if I could leave the iMac connected while doing so. Is there a way the volumes on the drive can mount on both desktops?
    When I try wireless again, I'm seeing mixed posts regarding whether the MBP will need a password to log in to the remote volume each time, or only the first time when the Time Machine backup is established... if I could get clarification on that, it would be helpful.
    Thanks!
    thanks

    What do you see on your notebook when you click on your TimeMachine icon in the Dock?
    My notebook is mounting the backup drive on an hourly basis, running a backup, and looking like it is doing something... but when I then look at TimeMachine, I can't see the backups. (On my iMac with the drive directly attached, I see a progression of windows showing all the hourly backups the last 24 hours, etc.) I just called Apple to ask why this is so, and they told me they couldn't help me because wireless Time Machine backups aren't supported.
    I know backups to a hard drive attached to an Airport Express Base Station are not supported. But when they say "You can designate just about any HFS+ formatted FireWire or USB drive connected to a Mac as a Time Machine backup drive. +Time Machine can also back up to another Mac running Leopard with Personal File Sharing, Leopard Server, or Xsan storage devices+"... well, how can you DO that?

  • Setting up a cluster for the first time: newbie questions

    Any help appreciated with this situation:
              I'm trying to set up a cluster for the first time and running into
              issues (no big surprise). I'll outline my situation and pose questions
              as they arise. If/when I get things to work I'll post a step-by-step
              summary of what it took to get a simple cluster going.
              Here's what I have:
              machines:
              1 Windows 2000 machines with WL 6.1
              2 RedHat Linux machines with WL 6.1
              All machines are on the same Home LAN, can see each other, etc.
              IP addresses are:
              Windows box: 192.168.1.100
              Linux box 1: 192.168.1.102
              Linux box 2: 192.168.1.103
              servers:
              I've set up the Windows machine as my admin server, and set up
              a managed server on each Linux machine. I created a cluster that consists
              of the 2 Linux machines and deployed the web app and EJB to the cluster.
              The Windows machine is acting as a Proxy using ClusterServlet.
              The web application has been set as the Default Web Application on the
              two Linux machines. All 3 machines are listening on ports 80/443. I also
              set up session memory replication through the console.
              Application:
              I have an application that I package as an EAR file. I'm using it as a
              "reference" application designed to mimic a real world app as much as possible.
              The EAR file contains a web application that uses Struts. It also consists
              of a single Stateless Session Bean. The WAR file and EJB Jar are all
              packaged up into the EAR file. I've been able to run this application just
              fine on a single managed server on all 3 machines.
              The web application works fine, and it can invoke the EJB. I can also
              invoke the EJB from Java stand-alone clients. Struts works great. All is
              well with the world. Now I'm trying to "cluster-ize" this app using
              the environment described above and encountering issues.
              I've read the docs and followed the instructions according to the
              "Weblogic Bible" book. I can bring up all 3 servers and the Linux
              managed servers connect to the cluster just fine. I can also
              see the Struts messages in their logs which normally happens and tells me
              the webapp is initialized properly. The console tells me that the managed
              servers are running. I get no error messages starting up any of the serves.
              Here are the problems I am encountering.
              When I try to access the Web Application (through a browser on the
              Windows machine using http://localhost) I get the following error message:
              <Nov 19, 2002 6:44:33 AM EST> <Error> <HTTP> <HttpServer(1754841,null default ct
              x,admin) found no context for "/". This request does not match the context path
              for any installed web applications and there is no default web application confi
              gured.>
              Also, when I try to invoke the EJB through a stand-alone Java client,
              I get a JNDI lookup error on the EJB's home interface.
              Questions:
              Question1: I noticed when setting up the machines that console lets you
              define a "Machine" or a "Unix Machine". What's the difference? Should I
              define the Linux machines as Unix machines or machines, and what are the
              consequences of either choice?
              Question2:
              I'm not totally clear on how my web.xml should look to set up Struts,
              the ClusterServlet, and a servlet filter I'm using to test Servlet filters.
              Here is what I had before I tried to cluster and which works fine:
              <filter>
              <filter-name>MainFilter</filter-name>
              <filter-class>com.refapp.servlets.MainFilter</filter-class>
              <init-param>
              <param-name>myAttribute</param-name>
              <param-value>Foo</param-value>
              </init-param>
              </filter>
              <filter-mapping>
              <filter-name>MainFilter</filter-name>
              <url-pattern>/*</url-pattern>
              </filter-mapping
              <!-- Struts ActionServlet Configuration -->
              <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              <init-param>
              <param-name>application</param-name>
              <param-value>refappstruts</param-value>
              </init-param>
              <init-param>
              <param-name>config</param-name>
              <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <init-param>
              <param-name>debug</param-name>
              <param-value>2</param-value>
              </init-param>
              <init-param>
              <param-name>mapping</param-name>
              <param-value>org.apache.struts.action.RequestActionMapping</param-value>
              </init-param>
              <load-on-startup>2</load-on-startup>
              </servlet>
              <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>
              </servlet-mapping>
              <welcome-file-list>
              <welcome-file>index.do</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>index.html</welcome-file>
              </welcome-file-list>
              (I have set up a "dummy" 0-length file called index.do that triggers
              Struts to go into its ActionServlet when first accessing the web site).
              Here is how I added ClusterServlet to web.xml:
              servlet>
              <servlet-name>ClusterServlet</servlet-name>
              <servlet-class>weblogic.servlet.internal.HttpClusterServlet</servlet-class>
              <load-on-startup>0</load-on-startup>
              <init-param>
              <param-name>defaultServers</param-name>
              <param-value>192.168.1.102:80:443|192.168.1.103:80:443</param-value>
              </init-param>
              <init-param>
              <param-name>DebugConfigInfo</param-name>
              <param-value>ON</param-value>
              </init-param>
              </servlet>
              <servlet-mapping>
              <servlet-name>InitServlet</servlet-name>
              <url-pattern>/servlet/InitServlet</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusterServlet</servlet-name>
              <url-pattern>/</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusterServlet</servlet-name>
              <url-pattern>*.html</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusterServlet</servlet-name>
              <url-pattern>*.jsp</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusterServlet</servlet-name>
              <url-pattern>*.do</url-pattern>
              </servlet-mapping>
              Clearly there is a problem with the Default Web application not being
              seen/mapped properly. Any chances my URL mappings for the filter servlet,
              Struts, and ClusterServlet are stepping on each other?
              With respect to the EJB, here is what my weblogic-ejb-jar looks like:
              <weblogic-ejb-jar>
              <weblogic-enterprise-bean>
              <ejb-name>Hello</ejb-name>
              <stateless-session-descriptor>
              <pool>
                   <max-beans-in-free-pool>100</max-beans-in-free-pool>
              </pool>
              <stateless-clustering>
              <stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
              <stateless-bean-load-algorithm>
              round-robin
              </stateless-bean-load-algorithm>
              <stateless-bean-methods-are-idempotent>
              true
              </stateless-bean-methods-are-idempotent>
              </stateless-clustering>
              </stateless-session-descriptor>
              <jndi-name>Hello.Home</jndi-name>
              </weblogic-enterprise-bean>
              I run this through ejbc and package everything up into the EAR file.
              However, I get a JNDI lookup failure when I try to access the Bean from
              a standalone Java client running on the Windows machine.
              Here is the jndi.properties file that I am using:
              java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
              java.naming.provider.url=t3://localhost:80
              Any ideas what I'm doing wrong here? I can post config.xml also if needed.
              Thanks in advance!
              

    Let me try to answer :)....
              A1> No need to name diff machines by default weblogic
              considers the servers are physically located in diff boxes.
              The names are used to differtiate the mang servers which are in
              multihomed
              Some things to chk
              1> Did u targeted the ear file Target as cluster.
              2> Can u see on the Admin console that both the man servers
              are participated in the cluster( u can see by clicking the monitoring
              tab on the Cluster node).
              3>Is the URL:PORT for the default web app correct?
              the reason: is I dont see the port# on the link u mentioned
              4> probably ur ejb might not been deployed on the target thats the
              reason u cant access thru java client. If u correct the targets that
              will probably fix it.
              Hope this helps
              Please post the result
              Thanks
              Sudhir
              [email protected] (Chris) wrote in message news:<[email protected]>...
              > Any help appreciated with this situation:
              > I'm trying to set up a cluster for the first time and running into
              > issues (no big surprise). I'll outline my situation and pose questions
              > as they arise. If/when I get things to work I'll post a step-by-step
              > summary of what it took to get a simple cluster going.
              > Here's what I have:
              >
              > machines:
              > 1 Windows 2000 machines with WL 6.1
              > 2 RedHat Linux machines with WL 6.1
              > All machines are on the same Home LAN, can see each other, etc.
              > IP addresses are:
              > Windows box: 192.168.1.100
              > Linux box 1: 192.168.1.102
              > Linux box 2: 192.168.1.103
              >
              > servers:
              > I've set up the Windows machine as my admin server, and set up
              > a managed server on each Linux machine. I created a cluster that consists
              > of the 2 Linux machines and deployed the web app and EJB to the cluster.
              > The Windows machine is acting as a Proxy using ClusterServlet.
              > The web application has been set as the Default Web Application on the
              > two Linux machines. All 3 machines are listening on ports 80/443. I also
              > set up session memory replication through the console.
              >
              > Application:
              > I have an application that I package as an EAR file. I'm using it as a
              > "reference" application designed to mimic a real world app as much as possible.
              > The EAR file contains a web application that uses Struts. It also consists
              > of a single Stateless Session Bean. The WAR file and EJB Jar are all
              > packaged up into the EAR file. I've been able to run this application just
              > fine on a single managed server on all 3 machines.
              > The web application works fine, and it can invoke the EJB. I can also
              > invoke the EJB from Java stand-alone clients. Struts works great. All is
              > well with the world. Now I'm trying to "cluster-ize" this app using
              > the environment described above and encountering issues.
              >
              > I've read the docs and followed the instructions according to the
              > "Weblogic Bible" book. I can bring up all 3 servers and the Linux
              > managed servers connect to the cluster just fine. I can also
              > see the Struts messages in their logs which normally happens and tells me
              > the webapp is initialized properly. The console tells me that the managed
              > servers are running. I get no error messages starting up any of the serves.
              >
              > Here are the problems I am encountering.
              >
              > When I try to access the Web Application (through a browser on the
              > Windows machine using http://localhost) I get the following error message:
              >
              > <Nov 19, 2002 6:44:33 AM EST> <Error> <HTTP> <HttpServer(1754841,null default ct
              > x,admin) found no context for "/". This request does not match the context path
              > for any installed web applications and there is no default web application confi
              > gured.>
              >
              > Also, when I try to invoke the EJB through a stand-alone Java client,
              > I get a JNDI lookup error on the EJB's home interface.
              >
              > Questions:
              > Question1: I noticed when setting up the machines that console lets you
              > define a "Machine" or a "Unix Machine". What's the difference? Should I
              > define the Linux machines as Unix machines or machines, and what are the
              > consequences of either choice?
              >
              > Question2:
              > I'm not totally clear on how my web.xml should look to set up Struts,
              > the ClusterServlet, and a servlet filter I'm using to test Servlet filters.
              > Here is what I had before I tried to cluster and which works fine:
              >
              > <filter>
              > <filter-name>MainFilter</filter-name>
              > <filter-class>com.refapp.servlets.MainFilter</filter-class>
              > <init-param>
              > <param-name>myAttribute</param-name>
              > <param-value>Foo</param-value>
              > </init-param>
              > </filter>
              >
              > <filter-mapping>
              > <filter-name>MainFilter</filter-name>
              > <url-pattern>/*</url-pattern>
              > </filter-mapping
              >
              >
              > <!-- Struts ActionServlet Configuration -->
              > <servlet>
              > <servlet-name>action</servlet-name>
              > <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              >
              > <init-param>
              > <param-name>application</param-name>
              > <param-value>refappstruts</param-value>
              > </init-param>
              >
              > <init-param>
              > <param-name>config</param-name>
              > <param-value>/WEB-INF/struts-config.xml</param-value>
              > </init-param>
              >
              > <init-param>
              > <param-name>debug</param-name>
              > <param-value>2</param-value>
              > </init-param>
              >
              > <init-param>
              > <param-name>mapping</param-name>
              > <param-value>org.apache.struts.action.RequestActionMapping</param-value>
              > </init-param>
              > <load-on-startup>2</load-on-startup>
              > </servlet>
              >
              > <servlet-mapping>
              > <servlet-name>action</servlet-name>
              > <url-pattern>*.do</url-pattern>
              > </servlet-mapping>
              >
              > <welcome-file-list>
              > <welcome-file>index.do</welcome-file>
              > <welcome-file>index.jsp</welcome-file>
              > <welcome-file>index.html</welcome-file>
              > </welcome-file-list>
              >
              > (I have set up a "dummy" 0-length file called index.do that triggers
              > Struts to go into its ActionServlet when first accessing the web site).
              >
              > Here is how I added ClusterServlet to web.xml:
              >
              > servlet>
              > <servlet-name>ClusterServlet</servlet-name>
              > <servlet-class>weblogic.servlet.internal.HttpClusterServlet</servlet-class>
              > <load-on-startup>0</load-on-startup>
              > <init-param>
              > <param-name>defaultServers</param-name>
              > <param-value>192.168.1.102:80:443|192.168.1.103:80:443</param-value>
              > </init-param>
              > <init-param>
              > <param-name>DebugConfigInfo</param-name>
              > <param-value>ON</param-value>
              > </init-param>
              > </servlet>
              >
              > <servlet-mapping>
              > <servlet-name>InitServlet</servlet-name>
              > <url-pattern>/servlet/InitServlet</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>action</servlet-name>
              > <url-pattern>*.do</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>ClusterServlet</servlet-name>
              > <url-pattern>/</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>ClusterServlet</servlet-name>
              > <url-pattern>*.html</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>ClusterServlet</servlet-name>
              > <url-pattern>*.jsp</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>ClusterServlet</servlet-name>
              > <url-pattern>*.do</url-pattern>
              > </servlet-mapping>
              >
              >
              > Clearly there is a problem with the Default Web application not being
              > seen/mapped properly. Any chances my URL mappings for the filter servlet,
              > Struts, and ClusterServlet are stepping on each other?
              >
              > With respect to the EJB, here is what my weblogic-ejb-jar looks like:
              >
              > <weblogic-ejb-jar>
              > <weblogic-enterprise-bean>
              > <ejb-name>Hello</ejb-name>
              > <stateless-session-descriptor>
              > <pool>
              >      <max-beans-in-free-pool>100</max-beans-in-free-pool>
              > </pool>
              > <stateless-clustering>
              > <stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
              > <stateless-bean-load-algorithm>
              > round-robin
              > </stateless-bean-load-algorithm>
              > <stateless-bean-methods-are-idempotent>
              > true
              > </stateless-bean-methods-are-idempotent>
              > </stateless-clustering>
              > </stateless-session-descriptor>
              > <jndi-name>Hello.Home</jndi-name>
              > </weblogic-enterprise-bean>
              >
              > I run this through ejbc and package everything up into the EAR file.
              > However, I get a JNDI lookup failure when I try to access the Bean from
              > a standalone Java client running on the Windows machine.
              > Here is the jndi.properties file that I am using:
              >
              > java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
              > java.naming.provider.url=t3://localhost:80
              >
              > Any ideas what I'm doing wrong here? I can post config.xml also if needed.
              >
              > Thanks in advance!
              

  • (second time) Two questions - One is, Firefox will not sign me in completely and remember passweords., shown in details. Two- how to stop the loading animations

    Since no one is replying, i have to try again
    Deatails for number 1:
    Firefox will not sign me in and remember my passwords at all. It first started on this site, New Jersey Online (NJ.com). I created an account there and Firefox will not log me in. That happened, January 3rd, 2012.
    About NJ.com problem
    I created an account there. Then I signed into my new account. I did get correct username and password. But the browser does not log me into the acount. I looked all around NJ.com for answer and my problem was not in the forums/blogs.
    On Jan 4, 2012 - On the City Data forum I logged into my account there.
    About the city data forum problem
    I logged into my account there.
    Firefox asked me if I want to remember this passwod, i said Yes. The box in city data forum has a remember be box I checked it.
    The result means- I did not get signed in at all.
    I tried multiple times, none worked.
    I allowed firefox to do these things -
    1. Remember browsing history for at lease one day
    2. Remember download histroy.
    3. Accept cookies from sites, including third party cookies, until their expiration
    4. Clear the folowing when firefox closes: browsing history, download history, and form/search history.
    I feel afraid this problem is gonna hsppen forever (and maybe even on this site!), and it will not sign me in to any site on the internet.
    Number 2 Question
    Any way to disable the loading animation in Firefox 3.6.15? it makes me forget what I was going to do. it's also shown in the addon update information. PLease help me disable the loading animation Everywhere in the Firefox browser.
    For other sites with loading animations, I can use the Adblock plus element hiding helper . Just need to remove the animations by firefox
    Please help me ASAP (as soon as possible), thank you!

    See:
    *https://support.mozilla.org/kb/Cannot+log+in+to+websites
    Can't you sign in at all or aren't you signed in anymore if you revisit that website another time (next day)?
    See also:
    *http://kb.mozillazine.org/Websites_report_cookies_are_disabled
    *http://kb.mozillazine.org/Cookies
    What do you mean with the ''loading animation''?
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • External Hard Drive and Time Machine questions

    Hello, I am new here to the forums and I have looked all over for the answers to two questions that I have regarding external hard drives and the time machine feature.
    For some background, I recently had a scare (water spill but luckily I had a keyboard cover on and the entire spill landed on the cover) with my Mid-2012 13" Macbook Pro (2.5Ghz) and due to almost losing all my data I've decided to invest in an external hard drive. However, rather than just purchasing a 500GB HDD to use as an external hard drive, I decided to kill two birds with one stone and upgrade my Macbook Pro as well by investing in the 480GB OCW Mercury Extreme Pro SSD. I'll be using the SSD as my internal drive so the original hard drive that came with my Macbook will serve as my backup external drive. Lastly, I plan to use the external drive solely for the purpose of backing up my MacBook in case something ever happens to my Macbook.
    I am using this guide to help me with this whole process: http://circuitremix.com/?q=content/macbook-pro-solid-state-drive-upgrade-guide-a nd-performance-testing.
    My two questions are:
    1) When following the guide, it never mentions anything about the Partition Map Scheme. After being alerted to this and doing some additional research, is it better to go with the GUID Partition Table rather than the Master Boot Record?
    2) After I have cloned everything onto my new SSD and replaced the HDD in my MacBook with it, should I erase everything on my HDD before setting it up with time machine?  I was thinking about keeping the original data on the original hard drive (which would now be my external drive) just in case something goes wrong with time machine but I have read that people recommend solely dedicating the entire external hard drive for time machine backups.
    Thanks in advance!

    Format the new SSD in Disk Utility to Mac OS Extended (Journaled) and that will solve question No. 1.
    After formatting, clone the new SSD using Disk Utility>Restore or Carbon Copy Cloner (down load from the Internet).  Test the new SSD and if it performs as expected, do the physical swap.
    Question No. 2.  Erase the Time Machine HDD using Disk Utility and then install Time Machine.  See this excellent website regarding Time Machine.
    http://pondini.org/OSX/Home.html
    If you want an external boot HHD, get another one and use Carbon Copy Cloner.  This will give you redundancy in backups as well which is a good strategy.  CCC also can update the contents in an incremental manner similar to Time Machine.
    Ciao.

Maybe you are looking for