Java files work but jar files do not

Hello everyone!
My java files run normally and I get a response that I expect (which is successful). Imagine my surprise when I collected them in a Jar and the very same files inside the jar no longer work! I get a response (still generated by my java program) from successful, it turns to Query Expire.
My problem is, when executed as normal java programs, the expected result is produced. However, when the jars are executed, the result is expired. What is wrong? The classes and the ones in the jar are the same. Is there something different with the mechanism of Jars that make it erroneous?
Many thanks in advance. I have been working with this for a week with no progress! =(

Hi!
Thanks for your reply. Here's what's happening so far:
I created my java files using Eclipse and using the Export option, I exported them as a JAR.
When I run my application on Eclipse with the Java files in tow, the output I expect is Done sending: wait for responses now
Received response from billing api- A: null(0), C: 13, E: Account already registered
Register: Failed: 1 Failure(s)Now, on to the JAR file.
I executed the JAR file using the command java -jar <jar name.jar>
Here's the response:
Done sending: wait for responses now
Received response from billing api- A: null(0), C: -1, E: Query expire w/o response
Register: Failed: 1 Failure(s)My program communicates with a database and this generates the reply that should be received by my program. My ordinary Java file gets the expected output, but the JAR does not.
Is it possible that the JAR file somehow slows down the transaction? The reply sent by the database isn't received by the JAR -- somehow, the message gets lost.

Similar Messages

  • Java works, but jar and javac don't

    java at the command line works, but jar and javac don't
    could it be the CLASSPATH
    I'm running Windows if that helps. If you need more info ask away
    Thanks
    CINC

    Definitely sounds like the classpath problem. From the sounds of the error message, you are using win95/98/ME, and so the best way to get around this is to set the classpath in your autoexec.bat file. I think the problem is because you have to set 2 variables in your path, one for the running of the java (JRE) and one for the tools to process the uncompiled files (SDK);
    rightclick on your autoexec.bat and select Edit
    here is my path, change yours accordingly so the paths lead to your windows, command and bin directories accordingly.
    PATH=D:\WINDOWS;D:\WINDOWS\COMMAND;D:\PROGRAM FILES\JAVASOFT\J2SDK1.4\BIN
    SET CLASSPATH=.;D:\PROGRAM FILES\JAVASOFT\J2SDK1.4\BIN\TOOLS.JAR
    Theres a section on setting classpath in This site at :
    java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html
    and if that doesn't work, then i recommend you download and IDE which sorts ou most of these problems for you, and makes programming much easier also :)
    anything from:
    Suns Forte
    Jcreator
    Jbuilder
    to a real heavyweight which i use and find indispensible called Visual Age for Java, which is so powerful, but not for the faint hearted or weak-computered. :P
    Good Luck
    Benji

  • My firefox works but my safari will not load anything

    my firefox works but my safari will not load any websites

    What OS version are you running?
    10.10
    Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test. Then try Safari/History/Show History and delete all history items.  Quit/reopen Safari and test. You can also try try Safari/Clear History and Web Site Data. The down side is it clears all cookies.Doing this may cause some sites to no longer recognize your computer as one that has visited the web site.
    Earlier.
    Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test. Then try Safari/History/Show History and delete all history items.  Quit/reopen Safari and test. You can also try try Safari/Reset Safari. The down side is it clears all cookies.Doing this may cause some sites to no longer recognize your computer as one that has visited the web site.

  • I dropped my phone in a toilet, the sound and vibrate are working but the screen will not turn on, what should I do?

    I dropped my phone in a toilet, the sound and vibrate are working but the screen will not turn on, what should I do? do I just need a new screen or what? I'm freaking out here

    Don't freak out, just get over it. It's probably done.
    What should I do if I drop my phone in the toilet?
    Apple may offer you an refurbished iPhone in exchange for yours, for about half the cost of a new one.
    I wouldn't be too specific about just how it got wet

  • My printer HP photosmart was working but now says printer not responding. Wireless network test came back with no problems. Any suggestions on how to fix this?

    My printer HP photosmart was working but now says printer not responding. Wireless network test came back with no problems. Any suggestions on how to fix this?

    marie274 wrote:
    My printer HP photosmart was working but now says printer not responding. Wireless network test came back with no problems. Any suggestions on how to fix this?
    What exactly happens between the the time the printer was last working well and no on your system? Any updates or upgrades?
    Lupunus

  • I replaced the screen of my ipod touch 4 gen the screen is working but the touch is not working what do you think that i break please help

    i just replaced the screen of my ipod touch 4 gen and is working but the touch is not working i took it to a placed call you break it i fix it they told that is was a part that they cant change is a board or something like please help me cant i found that part or is another part like the ribbon cable ?

    Apple really does not repair your iPod except for battery replacments.They exchange your iPod for a refurbished on of the same model. For a 4G, the price is $99, $149, or $199 depending upon the capacity.
    Apple - Support - iPod - Repair pricing
    A third-party place like the following may be less expensive. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Regarding why, we are only users in this forum.  You are not addressing Apple here.

  • IPhone 5 outgoing and incoming SMS works but incoming calls do not work. The dialler gets message this number is not in available in network.

    New I phone outgoing calls as well incoming SMS works but can not receive incoming calls. Caller gets the number does not exist in network.

         Like Superman, here I am to save the day! I can help you with your service in your home area dizzymslizzie. Let's start with what zip code are you in? Can I assume that there isn't any physical or liquid damage on the iPhone 5? Recently, there has been an update to the iPhone to iOS 7. If you have done this update then please provide the exact carrier version that's installed. Keep in mind that there is a difference in device performance between iOS 7 and the iOS 7 beta version. As you share this info, I will check the area to re-affirm that the issue is or is not network related.
    Thank you...
    ArnettH_VZW
    Follow us on Twitter @VZWSupport

  • Now the form works but data captured is not writing to the database table

    Hi
    I have a form that works but does not move from where it is after the submit button is clicked.
    Please advice

    <?php require_once('Connections/dbAttendance.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO attendlist (Windowsid, title, firstname, surname, extension, mobile, jobrole, course, cpg, mgrname, room) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['Wid'], "text"),
                           GetSQLValueString($_POST['title'], "text"),
                           GetSQLValueString($_POST['firstname'], "text"),
                           GetSQLValueString($_POST['surname'], "text"),
                           GetSQLValueString($_POST['contactno'], "text"),
                           GetSQLValueString($_POST['mobile'], "text"),
                           GetSQLValueString($_POST['jobrole'], "text"),
                           GetSQLValueString($_POST['courses'], "text"),
                           GetSQLValueString($_POST['cpg2'], "text"),
                           GetSQLValueString($_POST['mgrname2'], "text"),
                           GetSQLValueString($_POST['troom'], "text"));
      mysql_select_db($database_attending, $attending);
      $Result1 = mysql_query($insertSQL, $attending) or die(mysql_error());
      $insertGoTo = "ReportbyAll.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_dbAttendance, $dbAttendance);
    $query_rsattendance = "SELECT * FROM attendlist";
    $rsattendance = mysql_query($query_rsattendance, $dbAttendance) or die(mysql_error());
    $row_rsattendance = mysql_fetch_assoc($rsattendance);
    $totalRows_rsattendance = mysql_num_rows($rsattendance);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO attendlist (title, firstname, surname, extension, mobile, jobrole, course, cpg, mgrname, room, Adate) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['title'], "text"),
                           GetSQLValueString($_POST['firstname'], "text"),
                           GetSQLValueString($_POST['surname'], "text"),
                           GetSQLValueString($_POST['contactno'], "text"),
                           GetSQLValueString($_POST['mobile'], "text"),
                           GetSQLValueString($_POST['jobrole'], "text"),
                           GetSQLValueString($_POST['courses'], "text"),
                           GetSQLValueString($_POST['cpg2'], "text"),
                           GetSQLValueString($_POST['mgrname2'], "text"),
                           GetSQLValueString($_POST['troom'], "text"),
                           GetSQLValueString($_POST['Adate2'], "date"));
      mysql_select_db($database_attending, $attending);
      $Result1 = mysql_query($insertSQL, $attending) or die(mysql_error());
      $insertGoTo = "Listing.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    } ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Register</title>
    <style type="text/css">
    body {
              font: 100%/0.8 Verdana, Arial, Helvetica, sans-serif;
              background-color: #4E5869;
              margin: 0;
              padding: 0;
              color: #000;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
              padding: 0;
              margin: 0;
    h1, h2, h3, h4, h5, h6, p {
              margin-top: 0;           /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
              padding-right: 15px;
              padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
              border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
              color:#414958;
              text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
              color: #4E5869;
              text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
              text-decoration: none;
    /* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
    .container {
              width: 80%;
              max-width: 960px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
              min-width: 780px;/* a min-width may be desirable to keep this layout from getting too narrow. This keeps line length more readable in the side columns. IE6 does not respect this declaration. */
              background-color: #FFF;
              margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
    /* ~~the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo~~ */
    .header {
              background-color: #6F7D94;
    /* ~~ This is the layout information. ~~
    1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
    .content {
              padding: 10px 0;
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
              padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
    /* ~~ The footer ~~ */
    .footer {
              padding: 10px 0;
              background-color: #6F7D94;
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
              float: right;
              margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
              float: left;
              margin-right: 8px;
    .clearfloat { /* this class can be placed on a or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
              clear:both;
              height:0;
              font-size: 1px;
              line-height: 0px;
    </style>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
    <script language='JavaScript' type='text/javascript' src='TSScript/yahoo.js'></script>
    <script language='JavaScript' type='text/javascript' src='TSScript/event.js'></script>
    <script language='JavaScript' type='text/javascript' src='TSScript/dom.js'></script>
    <script language='JavaScript' type='text/javascript' src='TSScript/calendar.js'></script>
    <link rel='stylesheet' type='text/css' href='TSScript/TSCalendar/calendar.css' />
    <script language='JavaScript' type='text/javascript' src='TSScript/TSCalendar/TSCalendar.js'></script>
    </head>
    <body>
    <div class="container">
      <div class="header">
      <img src="Cerner At Imperial2.jpg" width="960" height="150" alt="" />
      </div>
      <div class="content">
        <h3>Attendance Register: </h3>
              <p><?php echo "Date  ".date("d/m/Y");?></p>
        <form action="<?php echo $editFormAction;?>" id="form1" name="form1" method="post">
          <table width="780" border="0" cellspacing="10" summary="Cerner@Imperial">
            <tr>
              <td><div align="right">* User ID</div></td>
              <td colspan="2"><span id="sprytextfield1">
                <input name="Wid" type="text" id="Wid" tabindex="1" size="18" maxlength="10" />
              <span class="textfieldRequiredMsg"> a value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">* Title</div></td>
              <td colspan="2"><span id="spryselect1">
                <select name="title" id="title" tabindex="2">
                  <option value="0">Select</option>
                  <option value="Ms">Ms</option>
                  <option value="Mrs">Mrs</option>
                  <option value="Mdm">Mdm</option>
                  <option value="Mr">Mr</option>
                  <option value="Dr">Dr</option>
                  <option value="Professor">Prof</option>
                </select>
    <span class="selectRequiredMsg">    Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">* First name</div></td>
              <td colspan="2"><span id="sprytextfield2">
                <input name="firstname" type="text" id="firstname" tabindex="3" size="40" maxlength="30" />
              <span class="textfieldRequiredMsg"> a value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">* Surname</div></td>
              <td colspan="2"><span id="sprytextfield5">
                <input name="surname" type="text" id="surname" tabindex="4" size="40" maxlength="30" />
              <span class="textfieldRequiredMsg"> a value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">* Contact/ Bleep</div></td>
              <td colspan="2"><span id="sprytextfield3">
                <input name="contactno" type="text" id="contactno" tabindex="5" size="10" maxlength="6" />
              <span class="textfieldRequiredMsg">a value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Mobile (optional)</div></td>
              <td colspan="2"><input name="mobile" type="text" id="mobile" tabindex="6" size="25" maxlength="18" />          <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td colspan="2"> </td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">* Job role</div></td>
              <td colspan="2"><span id="spryselect2">
                <select name="jobrole" id="jobrole" tabindex="7">
                  <option value="0">Select</option>
                  <option value="Doctor">Doctor</option>
                  <option value="CNS/NP">CNS/NP</option>
                  <option value="Midwife">Midwife</option>
                  <option value="Other Staff">Other Staff</option>
                  <option value="Nurse IP HCA">Nurse IP &amp; HCA</option>
                  <option value="Nurse OP HCA">Nurse OP &amp; HCA</option>
                  <option value="IP Physician Assitant">IP Physician Assistant</option>
                  <option value="OP Phlebotomist">OP Phlebotmist</option>
                  <option value="Pharmacists">Pharmacists</option>
                  <option value="Therapist AHP">Therapist &amp; AHP</option>
                  <option value="Medical Secretary">Medical Secretary</option>
                  <option value="Bed Manager">Bed Manager</option>
                  <option value="Medical Record Staff">Medical Records</option>
                  <option value="Medical Records Manager">Medical Records Mgr</option>
                  <option value="OP Booking Clerk">OP Booking Clerk</option>
                  <option value="OP Receptionist">OP Receptionist</option>
                  <option value="ED Admin">ED Admin</option>
                  <option value="Ward Administrator">Ward Administrator</option>
                  <option value="IP Wait List Clerk/Mgr">IP Wait List Clerk/Mgr</option>
                  <option value="Antenatal Supervisor">Antenatal Supervisor</option>
                  <option value="Clinical Coder">Clinical Coder</option>
                  <option value="Clinical Coding Mgr">Clinical Coding Mgr</option>
                  <option value="Pi Help Desk Backoffice">Pi Help Desk Analyst/Back Office</option>
                </select>
              <span class="selectInvalidMsg">Please select a valid item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">* Manager's Name</div></td>
              <td colspan="2"><span id="sprytextfield4">
              <input name="mgrname2" type="text" id="mgrname2" tabindex="8" size="40" maxlength="30" />
              <span class="textfieldRequiredMsg"> a value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right"></div></td>
              <td colspan="2"> </td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td colspan="2"> </td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">* Course</div></td>
              <td colspan="2"><span id="spryselect3">
                <select name="courses" id="courses" tabindex="10" title="course">
                  <option value="0">Select</option>
                  <option value="Doctors">Doctors</option>
                  <option value="Nurse IP">Nurse IP</option>
                  <option value="Nurse OP">Nurse OP</option>
                  <option value="Midwife">Midwife</option>
                  <option value="HCA">HCA</option>
                  <option value="Pharmacist">Pharmacist</option>
                  <option value="Back Office Staff">Back Office Staff</option>
                  <option value="AHP">AHP</option>
                  <option value="Pi Help Desk Analyst">Pi Help Desk Analyst</option>
                  <option value="Medical Secretary">Medical Secretary</option>
                  <option value="OP Phlebotmist">OP Phlebotmist</option>
                  <option value="Champion Users Doctors">Champion Users Doctors</option>
                  <option value="Champion Users Nurse IP">Champion Users Nurse IP</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">* Training Location </div></td>
              <td><span id="spryselect4">
                <select name="troom" id="troom"  tabindex="11" title="location">
                  <option value="0">Select</option>
                  <option value="CXH">Charing Cross</option>
                  <option value="HH">Hammersmith Hammersmith</option>
                  <option value="QEH">Queen Charlottee Hospital</option>
                  <option value="SMH">St Mary's Hospital</option>
                  <option value="WEH">Western Eye Hospital</option>
                  <option value="SCC">St Charles Community</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">* CPG</div></td>
              <td><span id="spryselect5">
                <select name="cpg2"  id="cpg2"  tabindex="12" title="cpg">
                  <option value="0">Select</option>
                  <option value="CPG 1 Medicine">CPG1 - Medicine</option>
                  <option value="CPG 2 Surgery &amp; Cancer">CPG2 - Surgery and Cancer</option>
                  <option value="CPG3 Specialist Services">CPG3 - Specialist Services</option>
                  <option value="CPG4 Circulatory Services and Renal Medicine">CPG4 - Circulatory Services and Renal Medicine</option>
                  <option value="CPG5 Womens and Childrens">CPG5 - Womens and Childrens</option>
                  <option value="CPG6 Clinical and Investigative Sciences">CPG6 - Clinical and Investigative Sciences</option>
                  <option value="CP7 Private Patients">CPG7 - Private Patients</option>
                  <option value="Others">Others</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td><input type="submit" name="submitbt" id="submitbt" value="Submit" /></td>
              <td> </td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td colspan="2"> </td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="center">* Mandatory Fields</div></td>
              <td colspan="2"> </td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td colspan="2"> </td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td colspan="2"> </td>
              <td> </td>
            </tr>
          </table>
          <input type="hidden" name="MM_insert" value="form1" />
        </form>
        <p> </p>
        <p> </p>
      <div class="footer">
    <script type="text/javascript">
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur", "change"]});
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {validateOn:["blur", "change"]});
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {validateOn:["blur", "change"]});
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "none", {validateOn:["blur", "change"]});
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "integer", {validateOn:["blur", "change"]});
    var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2", {invalidValue:"-1", isRequired:false, validateOn:["blur", "change"]});
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "none", {validateOn:["blur"]});
    var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "none", {validateOn:["blur", "change"]});
    var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3");
    var spryselect4 = new Spry.Widget.ValidationSelect("spryselect4");
    var spryselect5 = new Spry.Widget.ValidationSelect("spryselect5", {validateOn:["blur", "change"]});
    </script>
    </div>
    </div>
    <p>
        <a href="http://validator.w3.org/check?uri=referer"><img
          src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
      </p>
      <P></P>
    </div>
    </body>
    </html>
    <?php
    mysql_free_result($rsattendance);
    ?>

  • Ethernet Through STB Suddenly Started Working, but now it's not

    So I've read a lot of posts about this on here and I know it's not supposed to work, but those posts are all about 4/5 years old and for the last few days I've been getting a successful wired connection from the ethernet jack on the back of my STB to my Vizio TV. I recently renovated my living room and when I hooked everything up I plugged in the ethernet cord on a whim and it just randomly started working. It wasn't a fast connection, the connection test on the TV was saying ~4/5 Mbps, but it was fast enough to stream some episodes on Netflix in HD no problem.
    My problem is that today it has stopped working again and now that I know it CAN happen I really want to get it working again. Since it worked temporarily, I'm thinking there must have been some DHCP settings that were set just right. I've tried manually adjusting IP settings on the TV and router, but I can't seem to get it working again.  I'm hoping someone here with more specific knowledge can help me
    Here's my config:
    ONT -> Coax -> Splitter -> Quantum Gateway
                                    |
                                     -> Motorola QIP7232 P2 STB -> Ethernet -> Vizio E500I - B1
    And before you ask, yes I'm sure that it was working via ethernet and not Wifi. I quadruple checked it, and ever disabled the WiFi just to be sure. So anyone have any thoughts on settings I could mess with?

    That's what I thought, especially after having tried it before on my last STB and reading posts saying it wasn't supposed to. I did read some documentation from Motorola on the box itself and it's apparently supported, but there's an asterisk next to it saying something to the affect of "Dependent on software." It specifically states that the box supports DHCP and self assigns it's own IP address and a range of IP addresses that it can assign, I think I just need to figure out what it's assigning to itself so I can use that as Gateway and then try to figure out what range it's assigning dynamnically. Since there's only 1 thing connected it will most likely end up being the first number in that range and rarely increment.  I haven't been able to get it to work again (frankly I haven't put too much effort into it since my TV already has wifi so I don't exactly need this), but I'm going to try recreating the circumstances around when it worked and see if I can copy the settings while it's working. The box had been off and unplugged for several days and seemed to have lost most of it's settings temporarily, so Im betting that had something to do with it.

  • ADF: ValueChangeListener works but resulting ListBox is not rendered

    Hello,
    after trying for myself quite a while and searching here in the forums I almost give up since it does not seem to work.
    I have a form within a panelpage which consists of a text input field, two selectOneChoices (both with autosubmit), one selectManyListBox and one commandButton. None of them has the immediate attribute set!
    The both selectOneChoice shall update the contents of the selectManyListBox as soon as they receive a change in their selection.
    Since I do not want to use partialtriggers due to validation problem (these did cost me already nearly a day) I try to update the selectManyListBox using a valueChangeEvent on the second (later wanted on both) selectOneChoice.
    Everything works quite fine. The f:selectItems of the selectManyListBox have a list attribute from the backing bean bound to its value. These list is changed according to the selection of the selectOneChoice within its valueChanged()-method and afterwards the getter for this changed property is called accordingly (from the f:selectItems I presume).
    I can see all this during the debug process.
    But the result is not rendered into the selectManyListBox!
    Why?
    Even calling the appropriate renderResponse() within the valueChanged-method does not help at all!
    When I do a simple reload the same getter for the selectItems of the selectManyListBox is called (containing still the same values like after its call after the valueChanged() method) and they are rendered accordingly!
    My page has all metatags against cashing set so I do not understand why it is not rendered after the value change call!
    Can please somebody explain what I'm doing wrong here?
    This happens regardless if required is set to all the input fields or not.
    Code example can be provided if neccessary!
    Many thanks in advance
    Best Regards
    Message was edited by:
    Reth

    is not true because it requires a submit action to
    fire the ValueChangeListener
    But as said (I added it to my first post) both selectOneChoices have autosubmit enabled and the debugging showed that the Listener-Method is called and afterwards the getter that provides the value for the selectedItems for the selectManyListBox and it has all relevant entries according to the choices of the selectOneChoices!
    But the ListBox will first get rendered when a reload of the entire page is done (not when the autosubmits are commited)!
    I do not know why!?
    Best Regards

  • HT4864 I use Outlook 2011 for Mac. My @me works but the @ mac does not.

    I use Outlook 2011 for Mac on a 2011 MacBook Pro. My @me mail works but my @mac mail does not.

    I'm not familiar with your Bose but perhaps the phone is muting the music so you can hear the call.

  • IPhone 4 power button stuck, I used to be able to use it I just had to push harder to get it to work, but now it will not work at all

    iPhone 4 power button stuck, I used to be able to use it I just had to push hard, but now it will not even work at all. HELP!!!!

    You will have to get it serviced.

  • After updatingting to Firefox 6.0, Firefox works, but Thunderbird email won't load. Restoring computer to Firefox 5, Thunderbird works but Firefox 5 will not!

    Cannot select Thunderbird Email after uploading Firefox 6.0.
    Restored computer to just before the upload which took the system back to Firefox 5 which now does not work, but Thunderbird Email does work.
    If you suggest trying to download Firefox 6.0 again, please advise where I should find it.
    Thank you.

    clear your history under "today" along with the cache button checked!! Go to Tools then Clear Recent History. Worked for me!!!

  • What should I do if I spill liquid on my macbook? The machine is working, but the keyboard is not.

    My grandmother spilled coffee on the trackpad and it reached the first row of keys. The power didn't go out, but the keyboard is not working. Any suggestions?

    Spill Cleaning
    Some liquid has just spilled into your Mac. What should you do?
    Do
    Immediately shut down the computer and unplug the power cord.
    Remove the computer's battery (if you can)
    Disconnect any peripherals (printers, iPods, scanners, cameras, etc.)
    Lay the computer upside down on paper towels to get as much liquid as possible to drip out.
    Note what was spilled on your Mac.
    Bring the computer into an Apple store or AASP as soon as possible.
    Don't
    Don't try to turn it back on. Liquids can help electrical current move about the components of your Mac in destructive ways.
    Don't shake the computer (this will only spread the liquid around).
    Don't use a hair dryer on it (even at a low setting a hair dryer will damage sensitive components).

  • HT201302 my pictures and videos are not in camera roll.  The camera works but the pictures on not on camera roll.

    My Iphone takes pictures and video but then they do not show up on the camera roll.  It says there are no pictures or video.  How can I fix this problem.  I have tried reset and synching.
    Thanks

    Rozbrin wrote:
    My Iphone takes pictures and video but then they do not show up on the camera roll...
    If your pictures and video are not on the camera roll, I do not think your iPhone is taking pictures and video.
    You have already tried resetting and restarting your device.   Next, check whether your camera has been disabled in Settings > General > Restrictions > Camera.  If not, ask your Apple Authorized Service provider to check your device or contact Apple Support for help: http://www.apple.com/support/iphone/contact/
    Message was edited by: EZ Jim
    Mac OSX 10.7.4

Maybe you are looking for

  • Problem connecting to MS Exchange 2007 on SBS 2008

    I am having problems connecting to Exchange via cfexchangeconnection. Our ColdFusion environment is CF9 Enterprise on Win 2008, and the Exchange host is Win SBS 2008 (which uses IIS7). After having worked through the documentation and following all p

  • Re: Video displaying on a java application

    hola

  • HASH JOIN Issue - query performance issue

    Hello friends: I have a nested loop long query. When i execute this on Oracle 9i, the results comes back within no time (less than a sec) but the same query, same schema, the query takes over 20-30secs. Looking at the execution plan (pasted below) -

  • BEST WAY TO GET BOOKS FOR THE IPAD

    What is the best way to get books on my ipad ?? Do i use Ibooks or another site? Also do i use itunes cards or do i need ibooks cards ?? instead of a credit card.

  • "mode" can be field name ?

    I migrate sql server to oracle.I have a table having a field named "mode".I can't rename it because application can't work with it.what can i do.?