I'm about  to give up on this

I work with macromedia DreamWaever, JRun4 with IIS and Oracle. I can connect to Oracle using dreamweaver and I can even see my records (through the app) but when I try to display the records in my webpage I get this errors (and btw my query is very basic, selct *):
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
     at jrun.jsp.JSPClassLoader.findClass(JSPClassLoader.java:135)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:140)
     at jrun__MaxiSource__TMP8cl5tg2oqx2ejsp1d._jspService(jrun__MaxiSource__TMP8cl5tg2oqx2ejsp1d.java:50)
     at jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43)
     at jrun.jsp.JSPServlet.service(JSPServlet.java:110)
     at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
     at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
     at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
     at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
     at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
     at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
     at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
jrun.jsp.runtime.UncaughtPageException: Unhandled exception thrown from /MaxiSource/TMP8cl5tg2oqx.jsp:3
     at jrun.jsp.runtime.Utils.handleException(Utils.java:57)
     at jrun.jsp.runtime.JRunPageContext.handlePageException(JRunPageContext.java:384)
     at jrun__MaxiSource__TMP8cl5tg2oqx2ejsp1d._jspService(jrun__MaxiSource__TMP8cl5tg2oqx2ejsp1d.java:89)
     at jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43)
     at jrun.jsp.JSPServlet.service(JSPServlet.java:110)
     at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
     at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
     at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
     at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
     at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
     at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
     at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
here's my code
display page
<%@ page language="java" import="java.sql.*" %>
<%@ include file="Connections/Webuser.jsp" %>
<%
Driver DriverrstLogin = (Driver)Class.forName(MM_Webuser_DRIVER).newInstance();
Connection ConnrstLogin = DriverManager.getConnection(MM_Webuser_STRING,MM_Webuser_USERNAME,MM_Webuser_PASSWORD);
PreparedStatement StatementrstLogin = ConnrstLogin.prepareStatement("SELECT * FROM WEBUSER.TBL_LOGIN");
ResultSet rstLogin = StatementrstLogin.executeQuery();
boolean rstLogin_isEmpty = !rstLogin.next();
boolean rstLogin_hasData = !rstLogin_isEmpty;
Object rstLogin_data;
int rstLogin_numRows = 0;
%>
<%
int Repeat1__numRows = -1;
int Repeat1__index = 0;
rstLogin_numRows += Repeat1__numRows;
%>
<table width="75%" border="1">
<tr>
<td>Login</td>
<td>Password</td>
<td>H�pital</td>
</tr>
<% while ((rstLogin_hasData)&&(Repeat1__numRows-- != 0)) { %>
<tr>
<td><%=(((rstLogin_data = rstLogin.getObject("FLD_LOGIN"))==null || rstLogin.wasNull())?"":rstLogin_data)%></td>
<td><%=(((rstLogin_data = rstLogin.getObject("FLD_PASSWORD"))==null || rstLogin.wasNull())?"":rstLogin_data)%></td>
<td><%=(((rstLogin_data = rstLogin.getObject("FLD_PK_HOPITAL"))==null || rstLogin.wasNull())?"":rstLogin_data)%></td>
</tr>
<%
Repeat1__index++;
rstLogin_hasData = rstLogin.next();
%>
</table>
<%
rstLogin.close();
StatementrstLogin.close();
ConnrstLogin.close();
%>
connection page
<%
// FileName="oracle_jdbc_conn.htm"
// Type="JDBC" ""
// DesigntimeType="JDBC"
// HTTP="false"
// Catalog=""
// Schema="WEBUSER"
String MM_Webuser_DRIVER = "oracle.jdbc.driver.OracleDriver";
String MM_Webuser_USERNAME = "system";
String MM_Webuser_PASSWORD = "Manager";
String MM_Webuser_STRING = "jdbc:oracle:thin:@alpha:1521:maxso";
%>
thanks anyway :)
Genevieve

remember. code inside a regular scriptlet block <%..%> is executed inside the service method of the created servlet. So when you define your connection data variables at the end of the page they are not defined before you are using them to make your connection. The two solutions would be 1) to move that scriplet block to the beginning of the page or 2) to change the <% %> to a <%! %> so that those variables will actually be defined at the member level of the created servlet class instead of at the method local level as they are now. At least that's what it seems like to me. I could be wrong.

Similar Messages

  • Wife about to give birth and Disk Utility failing to repair HD.

    Good morning. Starting last night I began having serious issues with my 2007 20" 2.4ghz iMac. I hope someone can help before I employ the "nuke" option.
    First a little background. My wife is about to give birth to our second child. I have several in-laws in town and my house is a wreck. So, last night I thought it would be a great time to upgrade my iPhone 3G to iOS 4. I am not implying that updating my phone caused the problems with my iMac but they started about 30 seconds after pushing the "Update" button in iTunes.
    The phone did update to iOS 4 after about 3 hours of backing up but immediately the iMac started "hanging up" and the spinning beach ball appeared for minutes at a time. late last night after my iPhone was functioning again, I went to bed.
    This morning, the iMac was still responding very slowly and I was getting the spinning beach ball for even longer periods of time. So, I rebooted the machine and upon reboot the iMac would get stuck on the grey screen with the Apple logo and a spinning gear.
    I tried all of the methods on this support document.
    http://support.apple.com/kb/TS2570
    It would not boot into Safe Mode.
    I reset the NVRAM/PRAM.
    I checked the power cables.
    I removed all USB and perpherial attachments. (Including even trying to boot without the keyboard or mouse plugged in.)
    After booting from the Install DVD and running Disk Utility, Disk Utility was telling me that almost the entire HD is available and that it could not repair the disk. I was receiving "Invalid Node Structure" and "Volume Check Failed" error messages.
    So the last thing the support document suggested was a complete erase and re-install. I have been running Time Machine, but have never actually used it to recover anything, much less the 1000s of photos and 1000s of songs on the iMac.
    Is there anything else I can or should try before pulling the plug and erasing the hard drive and praying that Time Machine has worked?
    My very pregnant wife will have a heart attack if we lost everything on the computer. (I really am not joking that she might go into labor any second, her due date was last week.)
    Thanks for the help and advice. I need it.

    I know that I am a bother and asking alot of questions in quick succession, but I am hoping to take care of this before the baby makes its appearance.
    I'm getting you have a lot on your mind right now, try not to not worry about it. Might be time to take a few deep breaths and try to relax.
    If you have had your machine connected to Time Machine and it has been doing backups (I'm sure it has been) you have done everything necessary.
    You can attempt an erase and restore however if your disk is dodgy or has failed at best it's a temporary solution. As I stated I would recommend taking it into an AASP and have it looked at.

  • Forgot my adminpassword, i have tried the reboot with initial disk doesn't work i can't downlad anything, I am able to log on but the name and password to get in my computer doesn't work for admin password. i am about to give up any suggestions?macbook10

    forgot my adminpassword, i have tried the reboot with initial disk didn't work, i am able to get into my computer with name and password, but this same name and password doesn't work as an administrators password when i want to download or change things.
    do you have any suggestions? Im about to give up, i can't even access wireless have to use a dsl
    pretty sad

    ... this same name and password doesn't work as an administrators password when i want to download or change things.
    It's probably that your Keychain password is not the same as your login password. If you configured your computer to log you in automatically, you may not have used your login password in so long you forgot it.
    There is no way to retrieve the "login" Keychain password, but you can reset the Keychain from the Preferences menu: select it in the Keychain Access menu and select "Reset My Default Keychain". This will create a new, empty Keychain but the old one will be saved should you ever remember its password.
    The result of this is that you will have to supply passwords for everything that requires it, since without your Keychain they will no longer automatically fill themselves. However, once you supply them and store them in your new Keychain, they will be remembered.

  • About Firefox gives no version number.

    About Firefox gives no version number. It says I'm currently up to date and on the release update channel. Is there a version number? What is the "release update channel". Where do you find pertinent information without all the bullshit!

    Just under "Firefox"; see image below this reply.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • A login webpage gives the message "This script requires that jquery.js be loaded first." then will not show the user ID and password login boxes. How can this be corrected?

    A login webpage gives the message "This script requires that jquery.js be loaded first." then will not show the user ID and password login boxes. How can this be corrected?

    That message is listed in two scripts on the bank's site. One function that can display the message is named PhotoRotator and the other is named PromoRotator. However, I can't seem to trigger the error myself.
    If you have any add-ons that alter the page, such as ad blockers, try creating an exception for these sites and see whether that helps:
    www.northrim.com<br>
    www.northrimbankonline.com
    You also could try this logon page: https://www.northrimbankonline.com/onlineserv/HB/Signon.cgi
    (''Obviously you should be cautious about links offered on public forums to ensure you are not being phished! Check them out carefully before entering your username and password.'')

  • The battery life on my ipod nano 6th generation only lasts about 2 hours.  Is this standard or should it last longer?

    The batterly life on my ipod nano 6th generation only lasts about 2 hours.  Is this standard or should it last longer?

    - When sleeping the iPod can use wifi and if it has trouble connecting it will keep trying and drain the battery.  I leave mine in airplane mode when sleeping. Otherwise it is frequenlty drained like you see on yours.
    - The rapid drop whe playing vido seems to indicae that something is wrong.
    - If your iPod is defective and under warranty, Apple will give you a refurbished one of the same model.

  • My iphone 4 is telling me I have to restore but when I plug in and connect to itunes, it freezes about 30-50 % through the process. Now I can't use my phone at all? I am waiting about 1-3 hours for this process to finish and nothing ever happens. HELP!!

    My iphone 4 is telling me I have to restore but when I plug in and connect to itunes, it freezes about 30-50 % through the process. Now I can't use my phone at all? I am waiting about 1-3 hours for this process to finish and nothing ever happens. HELP!!

    Put it into DFU mode - hold the sleep/wake button and home button until the screen goes black (ignoring the slide to turn off slider). When the screen goes black release the sleep/wake button but hold the home button. Continue holding the home button for 10 seconds, then release it. The screen should stay black. Plug it into iTunes and it should come up with this message "iTunes has detected an iPhone in recovery mode. It must be restored before use", that's when it is successfully in DFU mode. Now press the restore button in iTunes and it should run smoothly :)

  • HT204347 When I use FaceTime with friends who are currently outside of UK, I cannot make my voice heard after about 20mins' chatting. While this situation will be better if I restart my MBP,but only better in around 20mins.

    When I use FaceTime with friends who are currently outside of UK, I cannot make my voice heard after about 20mins' chatting. While this situation will be better if I restart my MBP,but only better in around 20mins.

    When I use FaceTime with friends who are currently outside of UK, I cannot make my voice heard after about 20mins' chatting. While this situation will be better if I restart my MBP,but only better in around 20mins.

  • I want to open a radio file that is .rm.  I get a message that says I need additional Quicktime software, but I cannot locate what I need to download on the QT website.  Anyone got ideas about how I can open this file?

    I want to open a radio file that is .rm.  I get a message that says I need additional Quicktime software, but I cannot locate what I need to download on the QT website.  Anyone got ideas about how I can open this file?

    Hi bert,
    the ".rm" extension is created by 'Real Media' application.
    The easiest way to use it is to install the 'Real Media' player:
    1. RealPlayer BBC.app
    2. RealPlayer 12.app
    I have both installed & use them sometimes.
    (The 'BBC' wersion doesn't have any adverts with-in the app.)

  • My iPhone 3GS on iOS 5.1 will randomly stop what I'm doing show a black screen then the spinning icon and then it shows my lockscreen. It takes about a minute to do this and it does it about 30 times a day. How do I fix this?

    My iPhone 3GS on iOS 5.1 will randomly stop what I'm doing show a black screen then the spinning icon and then it shows my lockscreen. It takes about a minute to do this and it does it about 30 times a day. How do I fix this? It is EXTREMELY ANNOYING!

    No, sounds like when you dropped it an cracked the screen it may have also damaged the logic board or the repair person damaged a cable.

  • HT1947 Just want to say I have an iPhone 4s and only in this app, if I move the phone toward my face like I'm going to talk on the phone, Siri pops up. No idea what that's about. Other than that this all is absolutely splendid.

    Just want to say I have an iPhone 4s and only in this app, if I move the phone toward my face like I'm going to talk on the phone, Siri pops up. No idea what that's about. Other than that this all is absolutely splendid.

    Sorry it has taken so long for someone to reply to you. What you want to do is go to Settings > General > Siri > Raise to Speak OFF.

  • ITunes randomly stops playing purchases that have previously viewed on the same hardware. It has an error message about HD. How can this issue be resolved?  What information is available besides the "learn more" option that does not deal with the problem?

    iTunes randomly stops playing purchases that have previously viewed on the same hardware. It has an error message about HD. How can this issue be resolved?  What information is available besides the "learn more" option that does not deal with the problem?
    Many people have the same problem. However, there is little or nothing readily available to users. This problem has existed for two or more years. Does anyone have anything to offer about this disturbing problem?

    Thanks for the suggestion kcell. I've tried both versions
    9.0.115 and 9.0.124 and both fail with the policy permission error.
    I also tried with and without your crossdomain.xml file but
    with the same result. It looks like this file is intended for URL
    policy, instead of socket policy. Recently Adobe separated the two.
    When I run with the files installed on my dev PC, it does
    work, which makes sense because the flash player isn't loaded from
    an unknown domain.
    I did get one step closer. If a crossdomain.xml in the server
    root exists and the socketpolicy file is loaded from the app folder
    then the first two warnings disappear. The logs now show:
    OK: Root-level SWF loaded:
    https://192.168.2.5/trunk/myapp.swf
    OK: Policy file accepted: https://192.168.2.5/crossdomain.xml
    OK: Policy file accepted:
    https://192.168.2.5/trunk/socketpolicy.xml
    Warning: Timeout on xmlsocket://192.168.2.5:843 (at 3
    seconds) while waiting for socket policy file. This should not
    cause any problems, but see
    http://www.adobe.com/go/strict_policy_files
    for an explanation.
    Warning: [strict] Ignoring policy file with incorrect syntax:
    xmlsocket://192.168.2.5:993
    Error: Request for resource at xmlsocket://192.168.2.5:993 by
    requestor from https://192.168.2.5/trunk/myapp.swf is denied due to
    lack of policy file permissions.
    Which basically says, everything is okay, but you stay out
    anyway.
    PS: I found the XML schema files here:
    http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_02.html
    and the socket policy schema:
    http://www.adobe.com/xml/schemas/PolicyFileSocket.xsd.
    UPDATE: When serving up the policy file on port 843 using the
    example perl script then the socket connection seems to be accepted
    and the connect succeeds. After that flex hangs trying to logon to
    the IMAP server.

  • TS1717 When I am trying to preview a song in iTunes store, the song quits after about 10 seconds. Is this an iTunes problem, or how do I fix it from stopping?

    When I am trying to preview a song in iTunes store, the song quits after about 10 seconds. Is this an iTunes problen, or how do I fix it from stopping?

    Try my script FindTracks. Select a few of the missing files to start with then run the script. Choose No at the first prompt so that you can check how it works track by track, then confirm or edit the location of the media folder where your files are. Once you are happy with how it behaves let it process larger numbers of tracks automatically.
    tt2

  • My ipod only goes to the apple screen and freezes then turns off after about a minute. Is this fixable?

    My ipod only goes to the apple screen and freezes then turns off after about a minute. Is this fixable?

    Try a system reset.  It's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.

  • I need help verifying the details of a used ipad mini I'm about to buy. Is this possible by just providing the serial

    I need help verifying the details of a used ipad mini I'm about to buy. Is this possible by just providing the serial

    It depends on what you mean by "verifying the details".  sberman gave you the best place to look to research the technical specifications of the device you are thinking of purchasing. If, however, you're asking how to check if the device is Activation Locked, then you can check the status here: https://www.icloud.com/activationlock/

Maybe you are looking for

  • HT5622 Can i transfer money from one apple account to another?

    I have started a new Apple account and found redeem money on my new account cannot used to purchase credits on apps purchased under my last apple account.

  • Error while doing outbound delivery against Purchase Order

    hello i m getting error while doing Outbound delivery for purchase order as follows EKPO-SOBKZ=E; EKPO-UMSOK=_; EKPO-KZBWS<>_ EKPO-KZVBR<>E (Note 305582) not supported (check your entry) Message no. M7146, i m not getting wht will be the reason, Rega

  • Urgent Advice Needed Re Slow BB Speeds & Intermitt...

    I'm in urgent need of advice please re my intermittent broadband problems For the past week now I've been getting very slow speeds and occasionally the broadband disappears altogether. When it disappears, my phone line goes out too, so I'm convinced

  • 802.1x Broken after upgrade to 7.6.100.0

    Hi, We are using an OEAP600 AP and reciently moved to version 7.6.100.0 (5508 WLC)to support split tunnel printing. 802.1x is being performed on an NPS server for wireles policy. Everything appears to be ok on the WLC configuration side - when debugg

  • HTML Snippet placement

    Hello. Every time I add an embedded video using html snippet option to iWeb and I publish later, the video is not exactly in the right spot I placed it. Any help is appreciated.