Frustrating HttpConnection problem

This code was first written (copy/pasted), then run on a laptop (machine 1) in one location. It worked fine. Then the machine was rebooted, the laptop brought to another location, and the code wouldn't run (error messages below). After some searching on the net, I got the impression that the problem was with Eclipse.
So I ran the code on another machine, with the same version of Eclipse (3.1), the same version of the j2me plugin, the same version of Sun WTK and the same j2me version - in other words, an identical installation. It didn't run there either, but the error was slightly different (see below).
Simple code, verified as working by the author (Eclipse 3.1, same version of j2me and WTK as I'm using):
* Created on Sep 20, 2005
import javax.microedition.io.*;
import java.io.*;
/** WebClient for GET and POST operations. Returns string
* values
* @author anders
public class HttpClient {
     public HttpClient()
         public String httpGet(String url) throws IOException {
             Connection conn = Connector.open(url);
             if (!(conn instanceof HttpConnection))
                 throw new IOException("Not an HTTP url");
             HttpConnection hc = (HttpConnection)conn;
             hc.setRequestMethod(HttpConnection.GET);
             InputStream is = hc.openInputStream();
             // Get result code
             int rc = hc.getResponseCode();
             if (rc<200 || rc>299) t
               hrow new IOException("HTTP response code indicates an error");
             // Now loop and read the content
             StringBuffer sb = new StringBuffer(1000);
             while (true) {
                 int c = is.read();
                    if (c == -1) break;
                      sb.append((char)c);
             is.close();
             conn.close();
             return new String(sb);
         public String httpPost(String url, String message) throws IOException {
             Connection conn = Connector.open(url);
             if (!(conn instanceof HttpConnection))
                 throw new IOException("Not an HTTP url");
             HttpConnection hc = (HttpConnection)conn;
             hc.setRequestMethod(HttpConnection.POST);
             hc.setRequestProperty("Content-Length",String.valueOf(message.length()));
                  hc.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
                  OutputStream os = hc.openOutputStream();
             os.write(message.getBytes());
             //os.flush(); - This leaves length on server side to 1!!
             os.close(); // If primary server is unavailable, here is where the exception is thrown!
             // Receive response
             StringBuffer sb = new StringBuffer();
             long len = hc.getLength();
             int rc = hc.getResponseCode();
             if (rc<200 || rc>299)
               throw new IOException("HTTP response code ("+rc+") indicates an error");
             InputStream is = hc.openInputStream();
             //System.out.println("PrimaryConnector: length="+len);
             int c = 0;
             if (len>0)
                for (int ccnt=0; ccnt < len; ccnt++) {
                    c = is.read();
                    sb.append((char)c);
             else
                      while ((c=is.read()) != -1) {sb.append((char)c);}
             is.close();
             conn.close();
             // Get result code
             return new String(sb);
class HttpClient_driver
     public static void main(String[] args){
          try{
               HttpClient hc = new HttpClient() ;
               System.out.println(hc.httpGet("http://www.nith.no")) ;
          catch(Exception e){e.printStackTrace() ;}
}When running in Eclipse, the following exception is cast:
Machine 1:
Exception in thread "main" java.lang.UnsatisfiedLinkError: isNetworkMonitorActive
     at javax.microedition.io.Connector.isNetworkMonitorActive(Native Method)
     at javax.microedition.io.Connector.<clinit>(Connector.java:142)
     at httpTest.HttpClient.httpGet(HttpClient.java:22)
     at httpTest.HttpClient_driver.main(HttpClient.java:93)
Machine 2:
Exception in thread "main" java.lang.UnsatisfiedLinkError: getProperty0
     at com.sun.midp.Configuration.getProperty0(Native Method)
     at com.sun.midp.Configuration.getProperty(Configuration.java:34)
     at com.sun.midp.io.InternalConnector.<clinit>(InternalConnector.java:91)
     at javax.microedition.io.Connector.open(Connector.java:158)
     at javax.microedition.io.Connector.open(Connector.java:138)
     at javax.microedition.io.Connector.open(Connector.java:120)
     at httpTest.HttpClient.httpGet(HttpClient.java:18)
     at httpTest.HttpClient_driver.main(HttpClient.java:91)

I'm not sure what you mean, but I think the answer is "yes" :-)
However, I noticed after a while that this problem only occurs when I try to run the httpconnection code outside of the actual midlet. When I run it in a midlet, the problems doesn't occur.

Similar Messages

  • Frustrating Formula Problems

    I'm having a frustrating problem in Numbers. When I press the equals key and click on a cell in another table it returns as an invalid formula error. The formula is:
    [='Table 10' :: B7]
    But when I hit return it changes to
    [=Table 10 :: B7]
    I have tried to enter the formula manually but Numbers keeps changing what I enter. Every other cell works except that one.
    Could anyone replicate this for me? I want to know if it's Numbers or just me, here's how.
    I have three tables "Table 9", "Table 10" and "Table 11"
    Table 10 has five links to Table 9
    B2 [='Table 9' :: A9]
    B3 [='Table 9' :: A10]
    B4 [='Table 9' :: A11]
    B5 [='Table 9' :: A12]
    B6 [='Table 9' :: A13]
    And the sum of those linked values
    B7 [=SUM(B2:B6)]
    Table 11 should link to the sum in Table 10
    B2 [='Table 10' :: B7]
    BTW, ignore the stuff in bold that's the cell coordinates.

    CP264 wrote:
    I'm having a frustrating problem in Numbers. When I press the equals key and click on a cell in another table it returns as an invalid formula error. The formula is:
    [='Table 10' :: B7]
    But when I hit return it changes to
    [=Table 10 :: B7]
    When I try to enter +='Table 10' :: B7+ into a cell in some other table using a US English Numbers, the quotes around the +Table 10+ disappear when I type the B in B7. The behavior is as if Numbers is saying that the quotes are not necessary. It seems that Numbers is reparsing the formula with each key I type.
    I have tried to enter the formula manually but Numbers keeps changing what I enter. Every other cell works except that one.
    In a cell in another table when I type = and then click on cell B7 in Table 10, it creates the cell reference +Table 10 :: B7+ (no quotes).
    Could anyone replicate this for me? I want to know if it's Numbers or just me, here's how.
    I have three tables "Table 9", "Table 10" and "Table 11"
    Table 10 has five links to Table 9
    B2 [='Table 9' :: A9]
    B3 [='Table 9' :: A10]
    B4 [='Table 9' :: A11]
    B5 [='Table 9' :: A12]
    B6 [='Table 9' :: A13]
    And the sum of those linked values
    B7 [=SUM(B2:B6)]
    Table 11 should link to the sum in Table 10
    B2 [='Table 10' :: B7]
    Note, as indicated above, I'm unable to get Numbers to accept the quotes around the +Table XX+ notation.
    Pardon my ignorance, but what localization do you use in Australia? This whole thing smells a bit like a localization issue of which there have been several in Numbers (Yvan is the resident expert on this topic).
    So in some cell formulas you have quotes around the +Table XX+ and in others you don't? Do these cells all have the same format setting?

  • Frustrating Capture Problem

    I recently purchased a new Macbook Pro over the summer, which I love so far and have had very few problems with. Working with iMovie (pre-'08 update), however, was not really enough for me. I purchased a student version of Final Cut Express, but so far have had numerous problems with capturing. I am capturing tape from a JVC DV camera (GR-D72 to be exact), and the first problem I encounter is a message that says that the audio is out of sync with the video. When I then watch the video, every 5 seconds or so a horizontal line will run from the bottom of the screen to the top. It almost seems like a break in the tape. I don't think it is the tape or the camera, as when I capture tape in iMovie it looks perfect. If anybody has any thoughts on this I would really appreciate it. Thanks a lot.

    Hi my name is Gino Amadori, Im a FCP Editor in Peru. I have the same problem with my MBP I aught it less than a month ago and when I went to edito on the field i realized that when the camera panned let or right or tilted a line apeared on the viewer in FCP 6.0.1. I paniked because we had to send the clips to Washington Straight after so I tested printing to video on my Z1 and there was no problem there, when I watched it in Quicktime with high resolution it didn't happen either apparently this is an issue with final cut pro and the new chipset or graphics card or at least thats what i'm guessing. A friend has the same problem with the exact same model of MBP and FInal cut pro he just baught it yesterday and called me straight away to let me know. I tried hooking up my MBP to my Sony Bracia 32' via HDMI and I got the same resurlts It is really frustrating. Im having my motherboard changed today at an apple reseller here in Peru and Ill let you know what happened. I thought it might have been the interlacing but yesterday night I exported the same clip in progressive and the same problem occured. It's really weired. If you know what is happening please let me know. Its hard to work like this specially when you show clients your work on your macbook pro.
    Thanks for your time, and hope to hear from you soon

  • I Start a New am so frustrated with problems syncing photos on my iPad. I choose which files to sync but get deleted photos in my albums, my photos are in the wrong albums and the weirdest of all- I now have strange graphics and Facebook photos in albums!

    I have spent several hours trying to find a solution to the following problems. After syncing my IPad with ITunes, I end up with photos that I previously deleted in my albums, duplicate photos, albums that have wrong pictures in them and weirdest of all, strange graphics and Facebook photos that are not even mine. Right now I hate this thing!
    I have scanned the support forums, Googled it, deleted several photo caches, spent days editing my photo files, checked the specific folders I wanted to sync and it seems like it's not syncing, just adding the same photos and strange crap that it already had on it. Oh please help me!
    Thanks!

    OK....I'm stumped.  The message you are seeing is typically there to protect someone from syncing with a different computer/iTunes account.  Is there any way anyone else has used your iPad and possibly connected it to their computer?

  • Frustrating Sound problem

    Something has happend to my sound on safari and i have no idea what. My sound works fine for all other application such as itunes, but safari can't seem to play any sounds with quicktime or flash websites. I also have the same problem on other internet browsers like firefox. I don't know what could be going on that only internet applications can't produce sound. If anyone could help it would be much appreciated.

    FYI,
    This is probably what you were experiencing. Launching some programs (like GarageBand) can reset the settings to the correct values.
    No sound from some applications, but system alert sounds play (Mac OS X 10.3, 10.4)

  • Frustrating transition problem

    Hello All
    I'm having an issue I have yet to figure out, I create a lot of slideshow movies with an app called Photo to Movie, render then import into FCE , now when I preview the movie in QT it looks great but, after importing the .mov into FCE, my transitions get screwed up. when the image zooms or movies back, they leave a trail in a sense. almost looks like a time laps...a thin series of lines stemming from the edge of the image.
    Any idea why or how I can resolve this frazzling issue, I have on some just cut out the bad transitional lines but, this cuts into my image viewing time .
    Thanks

    One day Tom, I pray I'm as good as you are at this..
    There is the problem, FTM is set to export at 29.97fps but, QT is showing it to be slower at a rate of 22.49 fps , how can or can I resolve this ?
    As for the information it's from both
    Photo to Movie data :
    Compression ; type animation
    Motion ; frame rate 29.97 fps
    Key frames ; every 24 frames
    compressor ; depth millions of colors+, quality medium
    FCE Data
    Vid rate ; 29.97 fps
    data rate ; 6.6mb/sec
    alpha ; straight
    composite ; normal
    Thanks again

  • Frustrating dependencies problem

    Hi everyone, I've got a problem with a large and undocumented portlet
    project I have taken over from another developer who has left suddenly.
    Don't worry - not looking for help with anything portal related - its more your traditonal java dependencies that I need some help with!
    The structure of the project is somewhat unorthodox with one of the portlet classes being in a JAR file in the WEB-INF/LIB directory. It makes a call to a class called SearchUtils that is present in the project (but outside of this JAR file) in a regular package directory.
    I can export the project as a WAR and deploy successfully to a development Websphere 5.0 server and it runs fine - but when I try to run it locally on my IDE portal test environment, I get a NoClassDefFoundError for the SearchUtils class despite it being present in the project and in the exported WAR.
    I get the feeling that the JAR file containing the portlet is being loaded first and it seems to be unable to resolve the SearchUtils dependency at the time of loading.
    I don't understand why the project works on our servers but not locally. I am using WSAD 5.1.2 and Portal Toolkit V5.0.2.2 (Windows).
    Could anyone shed any light on how these kind of issues can be resolved?
    Thanks
    Marc

    have i posted this in the wrong forum or is it so simple a question i should just know?
    (voice echoes into the distance)

  • Frustrating zoom problem...

    I've just started using iPhoto today, and I love it, except that I can't zoom in on any of my photos! I've combed the forums but can't find anything on this yet. I don't know how to describe it other than "noise" all over the zoomed pictures -- here are some screenshots:
    The original:
    http://img182.imageshack.us/img182/6158/picture3qx4.png
    The zoomed:
    http://img380.imageshack.us/img380/4449/picture4gm6.png
    Any ideas? Thanks in advance.

    Catherine
    Welcome to the Apple Discussions.
    Start with the troubleshooting basics:
    1. Repair Permissions using Disk Utility
    2. Delete the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. You'll need to reset your User options afterwards.
    3. Create a new account (systempreferences -> accounts) and make a new library there. Import a couple of pics and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.
    Regards
    TD

  • Really basic and frustrating Nano problems-can anyone help??

    Hi everyone,
    Thanks for clicking on.
    I bought my Nano (from a completely trusted store) but can't get it to function!
    Firstly whenever I try to download I.Tunes 7.2, it appears to have downloaded but doesn't and I.Tunes says my ipod won't work due to my lack of I.Tunes 7.0 (I definitely have a version of I.Tunes but possibly an older one).
    So I can't transfer my music onto my Nano-very frustrating, so it is a very pretty toy right now lol.
    Any advice?
    Thanks a lot

    Hi Pagan princess,
    What exactly happens when you try to download the latest version of iTunes? Do you get any error messages? If so, please quote what they say, and when it occurs.
    If you are not getting any errors, then does the install seem to stall out at some particular part?
    As a general, you could try restarting your computer, and making sure that you are downloading iTunes through a user account on your comptuer that has full administrator priveledges.
    Keep us posted,
    -Kylene

  • Bizarre and frustrating permissions problem

    We are a two person office, my colleague works with shared files stored on my computer. Nowadays the connection is via Airport. The problem is that apparently at random, my colleague cannot work on them various files because they have lost sharing permission to write and I cannot give them back. The drop down menu only offers "read-only". My colleague's computer is an iMac G4 running 10.5.8. However this problem started ten months ago when I was using the G4 and she was using an older G3. Our normally reliable external techie reseller has so far not solved the problem. he says its by "design of the OS". But if thats so, why arent there thousands of similar complaints? This is a basic facility, to share files on a read and write basis.
    It seems to us that the problems seemed to start soon after, at our techie's suggestion, we bought a TimeCapsule, whose function is to back up the files, which it does automatically. Our techie denies that the TC can have anything to do with the permissions problem, but he doesnt have another answer, and we are suspicious of the TC, which after all intervenes with the files every few hours to make a back-up...
    Any ideas gratefully received

    Thanks for that tip, we will look at it; but I would like to get to the bottom of this. For 13 years I have been sharing files successfully. It is a basic facility that anyone should expect. Any suggestions or remarks gratefully received.

  • Very random and frustrating iPod problem

    I've had my 80GB classic for 2 years, no problems. Yesterday, after uploading new music I noticed my iPod was completely empty. iTunes gave me no warning message so I thought it was just a random bug.
    But now I cannot transfer any music to my iPod. Earlier today it asked me to run a disk check on my iPod to repair it, which I did, and have tried transferring music with no success. Everytime I connect my iPod it tells me it cannot be read and to restore it to factory settings. I do that, but at a random point in the transfer process, it will give me the "error 69" message and stop.
    The weird thing is it does this with RANDOM songs. And it's not new songs I just downloaded. The most recent one was for a song I've had for the entire 2 years I've had my iPod! Another odd thing is that the transfer process is INCREDIBLY slow. I have 75GBs of music and it took me 3 hours to get halfway through... and then give me the error message and delete all my progress. Right now, I'm transferring one song a second when before it was at least 25 times as fast before it suddenly stopped working yesterday.
    Anybody have any solutions? I've deleted the songs that keep popping up, but like I said, it's random songs, not recently downloaded songs only. I have successfully transfered music ONCE; I tried uploading one album as a test so I didn't waste my time uploading 75GB and it worked. But then I transfered the rest of my music and got the same **** error.
    Is it the actual disk inside the iPod that's damaged?

    *Check your iPod with Diagnostics Mode*
    It's possible that your iPod's hard drive has started to fail. Take your iPod and place your right thumb on the centre SELECT button and your left on the top MENU button. Press down both thumbs for about 6 seconds until your iPod reboots. Immediately move your left thumb around to the rewind button |<< on the left and hold this down together with SELECT for a further 6 seconds. Your iPod should now switch into Diagnostic Boot mode. Press MENU for *Manual Test*, then select *IO > HardDrive > HDSMARTData* to reveal your stats. For comparison here are mine for my 2 year old 6th Generation Classic:
    Retracts: 889
    Reallocs: 12
    Pending Sectors: 0
    PowerOn Hours: 2202
    Start/Stops: 894
    Temp: Current 24c
    Temp: Min 10c
    Temp: Max 50c
    Take a note of your results. When finished press *SELECT & MENU* for 6 seconds to reset the iPod again.
    With modern disc drives sectors are no longer marked bad by a disc scan, if the SMART firmware detects a sector it has trouble accessing it will attempt to invisibly reallocate it to a spare area of the disc.
    Note that I've only 12 remapped sectors and none pending. To help explain what the numbers mean here is an extract from the Wikipedia S.M.A.R.T. article:
    *Reallocated Sectors Count*
    Count of reallocated sectors. When the hard drive finds a read/write/verification error, it marks this sector as "reallocated" and transfers data to a special reserved area (spare area). This process is also known as remapping, and "reallocated" sectors are called remaps. This is why, on modern hard disks, "bad blocks" cannot be found while testing the surface – all bad blocks are hidden in reallocated sectors. However, as the number of reallocated sectors increases, the read/write speed tends to decrease. The raw value normally represents a count of the number of bad sectors that have been found and remapped. Thus, the higher the attribute value, the more sectors the drive has had to reallocate.
    *Pending sector count*
    Number of "unstable" sectors (waiting to be remapped, because of read errors). If an unstable sector is subsequently written or read successfully, this value is decreased and the sector is not remapped. Read errors on a sector will not remap the sector (since it might be readable later); instead, the drive firmware remembers that the sector needs to be remapped, and remaps it the next time it's written.
    Large numbers of Reallocs or Pending Sectors would suggest your drive is failing and that you may need to repair or replace your iPod. Check your stats after another attempt to update your iPod. If the numbers increase that again points to hard drive failure. While it won't be good news at least you'll know it isn't some random software problem and you can decide what to do next.
    <hr>
    Assuming the diagnostics give the drive a clean bill of health it may still be worth checking the drive for logical file system errors.
    *Check iPod hard-drive for errors*
    Hold Select+Menu on the iPod for about 6 seconds until it resets, then hold Select+Play as soon as the Apple logo appears, again for about 6 seconds to put the machine in disk mode. Open iTunes and in the Sync tab of the preferences menu check *Disable automatic syncing of all iPhones & iPods*. Now connect your iPod to the computer, wait until it connects, then close iTunes. Browse *My Computer* and right-click on the drive for the iPod, click Properties, then click Tools. Under Error-checking, click *Check Now*. Under Check disk options, select *Scan for and attempt recovery of bad sectors* (Optional - takes ages but a good idea if you've reason to suspect physical damage). Click Start. Mac users should run *Disk Utility / Repair Disk* for the equivalent process. This should find and correct any errors in the logical & physical structures of your iPod's hard drive. Once these have been fixed you can reset the iPod (hold Menu+Select ) and should stand a better chance of a successful restore. It might also pay to check the status of the source drive containing your media, particularly if no errors were found on the iPod.
    And if that still doesn't help try Erase your iPod - The Super Fix for most iPod Problems. Basically a low level format of the iPod’s hard drive to get around whatever problems are stopping iTunes from restoring it.
    Once you've restored your iPod don't rush to dump all the data back exactly as it was before. I have found that lots of large or complex smart playlists can sometimes trigger constant reboots or dumping of the iPod's library. In addition, larger transfers can fail leaving data in an inconsistent state. Try this technique for populating the iPod in stages.
    *Break up large transfers*
    In iTunes select the menu item *File... New Smart Playlist*. Change the first drop-down box to Playlist, the next to is and the next to Music. Tick against *Limit to*, type in say 10, then change the drop-down to GB, and set the last drop-down to artist. When you click OK you can enter a name for the playlist, e.g. Transfer. Now sync this playlist to your iPod rather than your entire library. When the sync is complete modify the rule ( *File... Edit playlist* ) to increase the size by your chosen amount, then sync and repeat. You can experiment with different size increments, if it doesn't work just choose something a bit smaller until it works each time. Before long you should have all your music on your iPod. Once that's done you can move on to other media such as podcasts, videos, photos, playlists etc.
    tt2

  • Frustrating new problem

    Greetings:
    I have been using toplink for quite some time. I was showing someone else in the office today how easy it was to "get at" database data using toplink.
    I mapped a table to a toplink object using jdeveloper and the wizard.
    Then I created a sesion facade bean with only a local interface.
    Then I careate a class "Class1" that calls my session bean and invokes a findAll method printing out the results.
    public static void main(String[] args) {
    SessionEJBBean b = new SessionEJBBean();
    System.out.println(b.findAllTrAdminGroups().size());
    This is very simple, I have done way more complex things 100's of times.
    Well it didn't work I get the following error.
    Exception in thread main
    Local Exception Stack:
    Exception Description: Several [1] SessionLoaderExceptions were thrown:
    Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException
    Exception Description: Unable to process XML tag [driver-class] with value [oracle.jdbc.OracleDriver].
    Internal Exception: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
         at oracle.toplink.exceptions.SessionLoaderException.finalException(SessionLoaderException.java:90)
         at oracle.toplink.tools.sessionconfiguration.XMLLoader.loadInternal(XMLLoader.java:158)
         at oracle.toplink.internal.security.PrivilegedAccessController.loadDeploymentXML(PrivilegedAccessController.java:517)
         at oracle.toplink.tools.sessionconfiguration.XMLLoader.load(XMLLoader.java:131)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:298)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:372)
         at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:103)
         at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:82)
         at oracle.toplink.util.SessionFactory.acquireSession(SessionFactory.java:114)
         at model.SessionEJBBean.findAllTrAdminGroups(SessionEJBBean.java:64)
         at model.Class1.main(Class1.java:9)
    SessionLoaderExceptions:
    Local Exception Stack:
    Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException
    Exception Description: Unable to process XML tag [driver-class] with value [oracle.jdbc.OracleDriver].
    Internal Exception: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
         at oracle.toplink.exceptions.SessionLoaderException.failedToLoadTag(SessionLoaderException.java:82)
         at oracle.toplink.tools.sessionconfiguration.XMLLoader.process_driver_class_Tag(XMLLoader.java:705)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.toplink.tools.sessionconfiguration.XMLLoader.process_login_Tag(XMLLoader.java:344)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.toplink.tools.sessionconfiguration.XMLLoader.process_session_Tag(XMLLoader.java:471)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.toplink.tools.sessionconfiguration.XMLLoader.processRootTag(XMLLoader.java:232)
         at oracle.toplink.tools.sessionconfiguration.XMLLoader.loadInternal(XMLLoader.java:155)
         at oracle.toplink.internal.security.PrivilegedAccessController.loadDeploymentXML(PrivilegedAccessController.java:517)
         at oracle.toplink.tools.sessionconfiguration.XMLLoader.load(XMLLoader.java:131)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:298)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:372)
         at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:103)
         at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:82)
         at oracle.toplink.util.SessionFactory.acquireSession(SessionFactory.java:114)
         at model.SessionEJBBean.findAllTrAdminGroups(SessionEJBBean.java:64)
         at model.Class1.main(Class1.java:9)
    Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at oracle.toplink.tools.sessionconfiguration.XMLLoader.process_driver_class_Tag(XMLLoader.java:702)
         ... 25 more
    Process exited with exit code 1.
    I tried several times, in different schemas, same thing. Can anyone tell me what I am doing wrong?
    Thanks
    troy

    There have been no changes to my classpath in i dont know how long. I have other applications I created a while back that I can check out from CVS and they still work. This appears to be related to when creating new mappings. I have my jdeveloper 10.1.3 updated (via online updates) with all the new stuff.
    This one is really stumpping me and I am getting desparate. I can reproduce this problem with 1 toplink mapping, 1 session bean and 1 class (to invoke the bean). I know this used to work, could this be related to some update I got from Oracle? It seems like recently I updated my jdeveloper....
    Any help greately appreciated.
    thanks
    troy

  • Very frustrating networking problem......help appreciated

    I have a small home network connecting through a wrt54g v6 with the latest frimware.
    The network:
    PC A (mine) is wired to the router. It is the only computer with a fixed IP address, as I run a comms server for gaming. Running Windows XP professional. There is an Epson printer on this PC
    PC B (my wife's) is wired to the router. Dynamic IP, and also win xp prof. There is a Brother laser printer connected.
    Laptop C. Wireless connection, wep128, running win xp home edition.
    Laptop D. Wireless connection, wep 128, running windows 2000 prof.
    The problem:
    All computers can access the internet for all applications with no problem. All computers can see the others (A, B, C and D) in "Network Neighbourhood/Computers near me" and can ping the other machines. All computers have the other computers' logon and passwords in the Users list with sharing permissions.
    Computers B, C, and D can all share folders on each other, and C and D can use the printer attached to B. Computer A can see and use the shared folders on B, C and D, and can use the printer on B.
    However, although B, C and D can see and ping A, when I try to connect to any shared folders or the printer on A from any of the other computers, I get the "Computer XXXX is inaccessible. You do not have the appropriate permissions" message. This occurs whether or not the windows firewall is enabled on any or all machines, and whether "use simple file sharing" is checked or unchecked. The only things running in the network setup on each machine are "client for MS windows", File and printer sharing, and TCP/IP.
    So I can send files from A to B, C or D, and use the printer on B, but I can't send files back to A from any machine, and cannot connect to the printer on A from any machine.
    I have deleted the users on A and added them back multiple times, so I'm sure that the usernames and passwords are correct. I have tried PC A running as a dynamic IP assigned by the router just to see what happens, and it's the same problem.
    This is really annoying me!! Can anyone help, please?

    there is such a service called - computer browser. under the control panel - administrative tools - services. disable it for all the computers except your computer A, which should have the service start automatically. this service keeps track of all the computers in the network and this service should run on one machine in the network which usually starts up first and stays constantly connected (unlike wireless, which occasionally drops it's connection - even on purpose.). hope this helps a bit - it did for me.

  • Help!!  Seriously Frustrating Mouse Problem!!

    I can't seem to figure out where the problem lies. It must be the computer or OS because I've tried different mouses and the same thing is happening:
    Clicking the mouse seems to keep registering as 2 clicks! Its as if it is registering the release of the click as a second click because if I'm real careful and click and release slowly it doesn't happen. As I said, it happens no matter what mouse I plug in. I tried changing the mouse preferences and buying a new mouse pad which seemed to work for a while, but now its happening all over again for no reason.
    Any ideas? Its pretty weird.

    Were the different mice the same brand and model?
    Try playing around with only the mouse and keyboard attached (disconnect all other USB peripherals) and with the mouse attached through the keyboard and directly to the eMac. If the mouse begins to behave normally, add USB peripherals back one at a time, checking to see if the problem recurs, in which case you can either replace or isolate (using a self-powered USB hub) the offending device.
    If you create a new administrative user account (use it only for troubleshooting to avoid changing default preferences as little as possible), does the mouse problem appear in that account as well?
    In your normal account, did you try moving the old preferences file to the desktop or trash to force creation of a new .plist file, then make your settings changes? (I think you want the Library> Preferences> com.apple.desktop.plist file for the mouse settings.)
    If either the troubleshooting account or the new prefs file tests work, you can use Preferential Treatment to check your preferences files.
    Did you install manufacturer's mouse software with any of the mice you've tried? This is one of those "whatever you've tried, try the opposite" things --- if System Preferences> Other shows any mouse-related extensions (e.g., Control Center), try removing that and restarting. Conversely, if you never installed anything from the mouse manufacturer (and for generic three-button scrollwheel mouse support under OS X you don't need to install anything), see if adding the latest software from the maouse manufacturer's website helps.

  • Frustrating USB problems

    Hello All,
    (I have also posted a similar post under the Logic 8 forum but thought I was better posting here).
    My problem is that I have been suffering from what can only be described as USB failure from all my ports with one particular device despite it always having worked in the past. The device in question is an audio interface, designed for guitar input, called Rig Kontrol 2. I have used this for about 18 months successfully in conjunction with it's accompanying software called Guitar Rig 2. However, although the software still performs the interface will not reporting...
    "The device 'RigKontrol2' could not be set up by the driver. This can be caused by bad USB connections or insufficient power on the bus."
    I am using the USB direct from the back of the imac (and tried new leads) and have updated the drivers to the very latest version but nothing is working. I can still see the device pop up under system prefs when it is plugged in and everything else seems fine but it just won't allow me to select it as an audio input or output when using the associated application. I have tried unplugging all other devices and even using a powered USB hub (althought that has even more dire consequences, crashing the mac and forcing a restart). The only thing that has changed since last using the hardware successfully is that I have started using a wireless router but even turning that off does not help.
    This may be a hardware problem with the rig itself but I am suspicious that it may just be the USB outputs becoming corrupt?! Is this possible?
    Many Thanks Nick

    I have the same problem with logitech wireless keyboard and mouse,
    It has nothing to do with vista, I have both vista and XP installed,
    It happens right at post, you can’t get in to the bios, the keyboard
    Don’t work, than you retsart the computer, and it will work,
    It has to be a bios fix, but so far I have found nothing,

Maybe you are looking for

  • Internal DNS - emailsrvr.mydomain won't resolve, IP does - www works.

    Internal Mail won't resolve to emailserver domain, but LAN ip is fine Hey gang, longtime reader first time poster. After wrestling with this issue, i'm about out of ideas. Here's my setup. Leopard server 10.5.4, running OD master (all rocking), AFP,

  • Parse file text file

    Hi, I like read Apache error log using external table. For this I did create directory APACHE_LOG and grant read permission to it for my schema. Then external table CREATE TABLE EXT_APACHE_ERROR_LOG     "TEXT" VARCHAR2(2000 BYTE)   ORGANIZATION EXTER

  • How can I control which display my dock displays on?

    When I boot my MacBook Pro, the dock starts on my MacBook screen, but if I use my Thunderbolt display a lot, the dock suddenly jumps over there, where I don't want it. How can I force the dock to go back to my laptop screen and stay there?

  • SSO :  SAPEP and third party system Web logic

    Any one implemented sso with sapEP and weblogic. Any hints will be helpful. Secondly In the following link (   ) I have come across different implementation procedures. I am interested in the below  said one which I am unable to access (open the link

  • Stock from previous 3 period

    Hi Gurus, Can anybody please help me with this scenario.? We are in period 11 now. But we have stocks in QI from period 8. How can we get rid of this stock. We are trying to change the material type and while doing this, we are faced with this proble