Weird install problem with OS X, please help!

I've been upgrading a friend powerbook firewire 400Mhz G3, we installed 1GB of memory and put in an 80GB HD. I partioned so that OSX can be on the first 8GB, put 9.1 on the second parition of 7GB, upgraded the firmware, and i think i have tried just about everything i could find here on the discussion board.
I have several versions of X including the first version, panther (retail), and tiger (borrowed, on DVD). tiger and the original version get as far as installing, then go into kernal panic (you must restart right now.....etc). 10.2 just gts to the apple screen then a white jagged bar pops up.
i'm at a loss. i really don't know what i try to make this better, any help is greatly appriciated!!!!
oh, and the memory seemed fine when her original 6GB drive was in there, which had tiger installed.
j

jhw1,
I will just run by you some potential causes for your problem and hope that one hits the target.
- I will ask, out of curiosity, why you are making an 8GB partition for OSX? This limitation applies only to the older Wallstreet powerbook. There is no need to partition the HD unless you have a specific reason.
- Since the HD is new, and you still want to run Classic and also boot 9.x, make sure you install the MacOS 9 HD driver, an option in OSX's Disk Utility when erasing an HD, or go ahead and install OS 9.x first...this will automatically install the OS9 HD driver. If you install OSX first on a clean HD without installing the OS9 HD driver, MacOS 9 will run fine in Classic under 10.x but 9.x will no longer boot.
http://docs.info.apple.com/article.html?artnum=107285
- The Pismo has a history of failing DVD-ROM drives and usually the CD-side starts acting up first. If you have access to another Pismo or Lombard, swap drives and try the install. If you have access to a FireWire CD-RW, you can also boot OSX CDs using it.
- Reset the PRAM if you have not done so.
- You may have dirty or bad CDs; carefully clean or try others.
- You mentioned the 'book ran fine with 1GB of RAM and running Tiger on a 6GB HD, but probably the 1GB was installed after Tiger was on the HD. There is the remote possibility that the RAM is problematic when running the installers. A Wallstreet, for example, often has problems installing with 512MB, but if one 256MB module is removed, the install goes fine, then the RAM is reinstalled.
If this were my 'book, I would try this:
1. Disconnect all peripherals and reset the PRAM.
2. Boot to the 9.x CD > use Drive Setup to repartition the HD (if you wish) > install 9.x to make sure the HD, RAM, etc, are good-to-go.
3. Boot to your OSX CD and see how the install proceeds. If it fails, it may be a problem with the optical drive and/or CDs. Try the options I mentioned earlier.
4. If you wish, remove the top memory module and try the install again. If successful, reinstall the module.
5. If there is no workaround for the optical drive, you might try installing via FireWire Target Disk Mode. The 'target' will be the Pismo's HD on the desktop of the 'host' computer and you will boot the host computer to the OSX CD and select the Pismo's HD as the destination.
http://docs.info.apple.com/article.html?artnum=58583

Similar Messages

  • Really weird WiFi problem with original iPad, please help!!!

    Hey everyone so I recently inherited an original iPad from my uncle who stopped using it because of WiFi issues. Unfortunately he didn't do much to try to figure out the problem and there's no warranty on it but I'd really like to fix it!
    The problem is that it doesn't display nearly any available networks under the WiFi settings, but it DOES seem to show and connect to unsecured networks (and works really well...I'm in a hotel typing on it right now). But at home, in the hotel room, at my uncles place, etc...no networks show up. Also I can't connect to them if I enter manually.
    So far I've tried a hard reset, fully restoring, resetting network settings, and resetting all settings...I would take it to Apple but there's no warranty
    Any ideas of how I can fix this potentially?
    Thanks!

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Weirdest problem with ipod!PLEASE HELP ME!!!

    Okay, i tried to load a playlist that had about 100 songs on it. While its loading, the update just stops. My ipod starts going crazy.The apple logo keeps lighting up and then the light doesnt come on but the logo is still there. You can hear the inside of it like trying to come on but then it just keeps doing the same thing til the battery life runs out! I really need help on this! I've tried to reset but everytime I do it it just keeps doing the same thing. I dont know if i should wipe all my songs off of itunes or what but im so confused and so aggravated with it. PLEASE HELP ME! I'D REALLY APPRECIATE IT!
      Windows XP  

    Welcome to Apple Discussions!
    See if any of these help...
    iPod Only Shows An Apple Logo and Will Not Start Up
    iPod Only Shows An Apple Logo
    btabz

  • I have a problem with my microphone, please help if you can

    Hello everyone.
    I have a problem with my microphone. After i bougth Creative's sound card "Sound blaster X-Fi Xtreme Audio" and installed it, everything was allright and my microphone was working great, but this was when I used Windows XP, when i started to use Windows 7, it suddenly was very weak and i almost didn't heard it.
    Currently, I have bouth Windows XP and Windows 7 installed, so I know the microphone is working when I am switching up between the OS, because it still works good on Windows XP.
    If you can help please tell me.
    I am using Windows 7 64 bit, I made sure the flexijack settings in the Audio controll panel are set to microphone and not line in, in the Windows 7 audio controll I have set the microphone volum to maximum and made sure it is configured properly.
    Thank you for helping.

    Originally Posted by tav2000
    Hello everyone.
    I have a problem with my microphone. After i bougth Creative's sound card "Sound blaster X-Fi Xtreme Audio" and installed it, everything was allright and my microphone was working great, but this was when I used Windows XP, when i started to use Windows 7, it suddenly was very weak and i almost didn't heard it.
    Currently, I have bouth Windows XP and Windows 7 installed, so I know the microphone is working when I am switching up between the OS, because it still works good on Windows XP.
    If you can help please tell me.
    I am using Windows 7 64 bit, I made sure the flexijack settings in the Audio controll panel are set to microphone and not line in, in the Windows 7 audio controll I have set the microphone volum to maximum and made sure it is configured properly.
    Thank you for helping.
    Hi tav,
    While waiting for other forum members to post..
    Perhaps you havent installed the latest drivers yet? (link HERE)
    Cheers!

  • Problems with Boot Camp - PLEASE HELP!

    I'm having problems with Boot Camp. Here's what's happening. I ran Boot Camp Assistant, partitioning a 32GB BOOTCAMP drive. I insert my copy of XP and start the installation. My MBP restarts and boots into the Windows Setup. I let it run through the initial actions. I press ENTER to proceed, F8 to accept the license agreement, then when I get to the part where I should be able to select the Partition 3 BOOTCAMP drive (as it says in the Apple Boot Camp Manual) there is only a Partition 1 Unknown drive. It is the only drive to choose from and its a C: drive. I can't figure out why after I run boot camp the partitioned drive doesn't appear as an option in the windows installation. Please help!!!
    Message was edited by: CarlConti08

    Boot into Leo, start Disk Utility and you should see two partitions, your Leo partition and a Fat32 partition of 32GB at the end of the drive.
    If not, boot camp didn't create it for some reason. If it is there then check it with DU and make sure its OK.
    While your in there give it a name so you can easily identify it in your windows installer.
    If there is no partition, create one using Disk Utility at the END if the drive. make sure you create it as a msdos (Fat32) partition and give it a name. The name cannot be more than 11 characters must be comprised of numbers and/or letters (no special characters).
    Verify it before exiting DU.
    Put in windows install disk, reboot - hold option key after the chime until you see the boot screen - select windows CD to begin install.
    Don't forget to install Leo windows drivers after installing windows.
    Kj

  • I'm having problems with my ringtones please help

    I have tried everything to fix my BB Curve problem even down to the battery.   I have custom ringtones set for my husband and other family members.  So whenever they call or text I know who it is..  Now my issue is that if I get a text from my son his ringtone will sound than if I get a standard text my son's ringtone will go again.  Not the default for just regular ringtones.  I took off my facebook becuase someone said that could be a problem.  Verizon sent me a new phone and I entered everything manually so if there was something wrong I wouldn't transfer the problem to the new phone.  It's not fixed.  If someone could please help me.  I'm getting ready to turn my BB off completely it's that frustrating.  Thank you for any help.

    It sounds as if you are saying that any "non-specific" SMS sender receives that text tone of the last one you have set a personal tone for who has texted you?
    I don't know.  I can only say that if you use those instructon in the guideline, they work.
    There is a user here named Cathlabnurse, she has a good understanding of these settings... Maybe you could send her a Private Message to review your settings with you.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Problem with my macbook -PLEASE HELP!

    when i swtch my macbook on the sceen lits up for two seconds and then goes black. i tried all the instructions in the booklet but when i was installing the mac os x again (had the first disc in) there came a note that i have to replase disc 1 by disc 2. then i checked that i had the right setting that all my info wouldnt disappear when installing again and then it just started to install the thing even tho i still had disc 1 inside and before that it told me to change the disc. ok that was probably ok but then in the middle of installing disc one my macbook's sceen went dark again. when i started it again it seemed that i was in the same point where i started from. how can i continue from this? can my precious info still be saved? if i now continue installing do i start from the beginning? i live in a small town and no one else here has a mac and im not very good with any computers. PLEASE HELP!
    macbook   Mac OS X (10.4.8)  

    Your data could possibly be saved....If the installation didn't full complete, your data should still be on your hard drive. As for you MacBook, it sounds like a MAJOR problem and should be brought to an Apple Genius at once.
    It is possible for them to obtain your data and get it to you somehow. You should bring this to your Apple store, and, judging that you have the service plan, they will replace or repair your laptop accordingly.
    I haven't heard anything of the sort for the MacBook, so, hopefully someone has and can further your troubleshooting procedures before you take it in and risk being away from your laptop for a week or so. I would opt for taking it to your Apple Store.
    Remember to mark as helpful or solved.
    -benny

  • I'm having multiple problems with Lion.  Please help!

    I downloaded Lion on the first day or release and it has been a very frustrating experience.  Today,  I reinstalled Lion hoping a fresh install would fix my woes but the problems persist. I'm in desperate need of advice and would appreciate any help from the gurus out there!
    I have a 24" iMac with the following specs:
    Problem 1)  Ever since I installed Lion Safari is a nighmare.  Roughly 30% of any given website loads.  Below is a screenshot of www.apple.com:
    Problem 2)  No matter how many times I uncheck "restore windows after closing application" my mac opens EVERY window that was open previously. For example, I do a lot of graphics work and use Preview as my image medium.  Every time I open Preview 100 + images load unless I go through each one of them individually and close each window.  *****. 
    Supposed solution: 
    What Preview looks like each time I open the app:  100+ Images
    Problem 3)  Even with 4 gigs of ram my Ram is constantly ran into the ground ever since the upgrade and my computers performance is in the gutter.  I have to constantly use "MemoryFreer" to free ram which is sometimes down to 14 MB free out of 4 Gigs.
    PLEASE HELP!  Thank you!
    Justin

    RáNdÓm GéÉzÁ wrote:
    Whether the line is old and tired or not, people are free to express their woes along with trying to find a fix.
    TBH, Lion is a bit of let down, regardless fo whether there are issues present or not on your particular setup/system etc.
    If a clean install has not fixed the issues above, I would be tempted to appraoch a Genius Bar and show them the problems. This may be faulty RAM and something that needs to be demonstrated, before a fix or repair can be considered.
    Best of luck.
    Yes you are correct, and as the OP did, questions are asked and other users try to answer. As for the poster I answered, he did not ask a question, but expressed extreme disappointment which he is entitled to do, therefore I suggested he have a read through some of the other threads to perhaps address whatever issues he is having. As you say it could be faulty RAM or a bad installation, or a hundred things inbetween. That is why you need to hunt down similar symptoms to narrow it down. Or if you are under warranty, let the Apple Store fix it.
    Good Luck

  • Video card or driver problems with an N200, please help!

    I have a lenovo 3000 N200, it is really cool, runs even games quite well, including newer ones.
    But, is it normal to for the display driver program to freeze out in Warcraft 3? It always does that, when accessing the list of maps in the game and after 3-5 mins during an actual game. It sets the resolution down to 640X480 (from 1280X800) and in 16 color. I have to reset it in order to make it work. Also it does the same in Spore - though after having the driver written for Spore installed, ( which I downloaded from lenovo's site ) I haven't encountered that problem so far. Also Second Life shuts down - thankfully it does not freeze the drivers. I understand that the model I have is not meant for gaming but if it can run Warhammer 40k: Soulstorm at meduim graphic settings (on widescreen) without a lagg I can't understand why it wouldn't be able to handle warcraft 3 - that even an ATi m200 express can handle. I mean an X3100 from Intel must be far more powerful. (Said ATi card laggs with older games like Unreal Tournament)
    I have the latest driver - official - and a Win Xp pro Sp2. I always keep my system up to date - save for opsys but so far driver did not need sp3 - and virus clean.
    Please help me? 
    Solved!
    Go to Solution.

    Well, Unreal Tournament 2004 runs flawlessly on max graphics - though simple Unreal Tournament laggs like hell with all possible settings - also, as I said Dawn Of War and it's expansions run well on med graphics. The Suffering Ties That Bind runs also good on highest settings - though there is a bit of degradation compared to my tabletop pc's performance. Disciples 2 ran - of course - well, there were some texture problems with it but Heroes 5 ran quite well even on higher settings (as I mentioned it sometimes blunted down the textures but not always and it ran without a lagg). Alien Versus Predator 2 ran on max graphics, and there was no trouble, save for the aliens' special vision (that white thing that looks as if inverted colors) didn't work - aka was only a black screen - and that the crosshair of the smartgun was only a blank red/green block on the middle of the screen.Oh, and Command & Conquer: Generals Zero Hour works on highest settings without a lagg, along with Quake 3, and Jedi knight : Academy. It even runs Perfect World on high settings and only laggs in bigger towns - but that also might be because of the tremendous bandwidth usage that occurs. Even Red Alert 3 was able to run, but I would only advise that for RA fanatics, on low settings it was playable. Also, C & C: Tiberium Wars runs better than RA 3 , if you like that it is quite playable and worth a try. As you can see I have put it to it's limits to see what it can endure. Unreal Tournament 3 ran, though was gruesomely degraded and then it gave me the blue screen of death; so I quickly uninstalled that. Other than the forementioned program I had no real problems with the card, but the existing problems are a pain in the ... well we all know how bothering it can be when one is unable to play his/her favourite game (that should really run flawlessly).
     Doesn't vista eat up too much of the system resources? A friend of mine was complaining about his n200 that vista is too slow on it and it eats up too much processor/memory.
    Also, still no new on videocard front... Asked around if anyone knows, but I am guessing that maybe even Blizzard - referring to my Warcraft problem - shows more compassion to their forums and users than Lenovo, so I'll ask around there too. 

  • Serious problems with El7/8: please help!

    Hello all,
    I really hope someone can help me-I've had no luck whatsoever with the customer support team.
    I have been using El 3 very successfully for a couple of years. I recently upgraded to El 7 in order to be able to edit HD video and SD video together.  The software works fine, however if I come to move multiple clips at once along the timeline, I get the black circle with a line through, and a small white box. This means I cannot move multiple clips. For me, this makes the product unusable.
    I downloaded the trial for El8 and was please that this bug was not present. I have since ordered El 8 and installed it (a fresh install ith El 7 gone), however I have discovered that with this I cannot play any video in the monitor window! Again, this renderes the produce useless. I now have two pieces of software that are unusable, and I am receiving no help whatsoever from technical support. Please, can anyone assist?
    James

    James
    First thing to try...with Premiere Elements 8, Edit Menu/Preferences/General and uncheck "Enable GPU Playback". If that does not help, then check out the AdobeTech Note:
    http://kb2.adobe.com/cps/515/cpsid_51526.html
    Now, in the case of Premiere Elements 7, could you please go into detail about how you are "moving multiple clips along the Timeline"? Are you working on one track or mutiple tracks? How are you grouping these clips prior to the move? Where are you moving them to and from? Etc.
    ATR
    Hi there,
    Thanks for your help. The GPU settings was the first thing I tried-to no avail. Alas, no such luck either with theTechNote.
    RE: el 7, I have been filming several scenes for a short film with the drama group I work with. Due to outside circumstances I have been editing back to front (so the last scene is currently at the beginning of the timeline etc.) What I am trying to do is select the clips and shift them to the correct sequential order on the timeline. I have tried highlighting all of them and clicking group, and simply tried dragging them as one big highlighted block. The clips are on seperate tracks, but I have never had any such problems with El 3 which I have used extensively in the past.
    What is of particular interest, is that if I select sauy 6 tracks there's not a problem, it's when i select ALOT of tracks I run into difficulty.
    I have also tried updating the graphics drivers recently for my GTX 285, which seemed to solve the problem on EL 8, only for it to then go back to what it was doing?!?
    Any help would be appreciated

  • Immportand. Problems with MB. Please help.

    Hello
    Im having a problem with my PC in the moust unpleasent moment as I can’t do my college work and I cant afford new PC in the next 4 months, so any help with my problem will be grealty appriciated.
    OK.
    Here is my problem.
    When I work and that’s usualy using Internet and Office XP my PC is starting to slow down (mouse cursor is scroling very slow, I cant close windows) and afther a while its turning off. Whell its not turn off exactly because CPU, GPU and PSU fans are still working but the monitor is turing on stand by. When this happens I can’t do restart so I have to puss power on/off button on the case of the PC to turn the PC off. If I try to turn in on afther that NumLock and CapsLock indicators on the keyboard will flash for a second as well as monitor and again only CPU, GPU and PSU fans works but the system is not starting. This happened several times and every time till now I waited for a day to start my PC again. That was till the last time. Now afther 4 days I still can’t to start my PC.
    NOTE.
    When I opned the case four led diodes that are on my MSI mainboards were lightning red. In the manual explanation for this is “The procesor might be damage or not instaled properly. Damage/discharge lithium batery”
    I doubt that the problem is procesor because the PC will never start if the procesor is damaged of instaled properly.
    Iv also changed lithium batery but the problem remained.
    And another thing. PC Alert 4 somethimes showd that CPU and system tempetarure were 78 C. Afther this restart the system and went in bios to see if that was the real temperature but the bios showed 32 C for procesor and 22 for system.
    I have the latest drivers, bios and updates for windows. Iv checked for viruses with the latest updates for Pc-cillin 2002 and I didn’t find any viruses. Iv cheked every componets on other configuratios and they worked fine.
    Now a frend of me told me that the cause of problem are condenzator on mainboard araund the procesor.
    If you know whats is the problem please help me to resolve it.
    Thank you..

    Please tell us more about your system, including PSU.
    It sounds very, very much like a melted condensator. It is not hard to check:
    Open case and look for brown or darkcoloured... yecch... on the motherboard. Another symtom will be harder and harder to start and more and more frequent shut downs.
    There are people here I believe that can guide you to change them. I would get another board because the problem might happen again. In either case, save all important work, logins, etc. to an external unit. Mail it to a friend if nothing else is available.

  • I suppose it is the problem with socket connection,Please help

    Hi,
    I'm trying to build a chat server in Java on Linux OS.I've created basically 2 classes in the client program.The first one shows the login window.When we enter the Login ID & password & click on the ok button,the data is sent to the server for verification.If the login is true,the second class is invoked,which displays the messenger window.This class again access the server
    for collecting the IDs of the online persons.But this statement which reads from the server causes an exception in the program.If we invoke the second class independently(ie not from 1st class) then there is no problem & the required data is read from the server.Can anyone please help me in getting this program right.I'm working on a p4 machine with JDK1.4.
    The Exceptions caused are given below
    java.net.SocketException: Connection reset by peer: Connection reset by peer
    at java.net.SocketInputStream.SocketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:119)
         at java.io.InputStreamReader$CharsetFiller.readBytes(InputStreanReader.java :339)
         at java.io.InputStreamReader$CharsetFiller.fill(InputStreamReader.java:374)
         at java.io.InputStreamReader.read(InputStreamReader.java:511)
         at java.io.BufferedReader.fill(BufferedReader.java:139)
         at java.io.BufferedReader.readLine(BufferedReader.java:299)
         at java.io.BufferedReader.readLine(BufferedReader.java:362)
         at Login.LoginData(Login.java:330)
         at Login.test(Login.java:155)
         at Login$Buttonhandler.actionPerformed(Login.java:138)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:17775)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4141)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
         at java.awt.Component.processMouseEvent(Component.java:4906)
         at java.awt.Component.processEvent(component.java:4732)
         at java.awt.Container.processEvent(Container.java:1337)
         at java.awt.component.dispatchEventImpl(Component.java:3476)
         at java.awt.Container.dispatchEventImpl(Container.java:1399)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
         at java.awt.Container.dispatchEventImpl(Container.java:1373)
         at java.awt.window.dispatchEventImpl(Window.java:1459)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
         at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
         My program looks somewhat like this :
    1st class definition:
    public class Login extends Jframe// Login is the name of the first class;
    Socket connection;
    DataOutputStream outStream;
    BufferedReader inStream;
    Frame is set up here
    public class Buttonhandler implements ActionListener
    public void actionPerformed(ActionEvent e) {
    String comm = e.getActionCommand();
    if(comm.equals("ok")) {
    check=LoginCheck(ID,paswd);
    test();
    public void test() //checks whether the login is true
    if(check)
    new Messenger(ID);// the second class is invoked
    public boolean LoginCheck(String user,String passwd)
    //Enter the Server's IP & port below
    String destination="localhost";
    int port=1234;
    try
    connection=new Socket(destination,port);
    }catch (UnknownHostException ex){
    error("Unknown host");
    catch (IOException ex){
    ex.printStackTrace ();
    error("IO error creating socket ");
    try{
    inStream = new BufferedReader(new InputStreamReader(connection.getInputStream()));
    outStream=new DataOutputStream(connection.getOutputStream());
    }catch (IOException ex){
    error("IO error getting streams");
    ex.printStackTrace();
    System.out.println("connected to "+destination+" at port "+port+".");
    BufferedReader keyboardInput=new BufferedReader(new InputStreamReader(System.in));
    String receive=new String();
    try{
    receive=inStream.readLine();
    }catch(IOException ex){ error("Error reading from server");}
    if(receive.equals("Logintrue"))
    check=true;
    else
    check=false;
    try{
    inStream.close();
    outStream.close();
    connection.close();
    }catch (IOException ex){
    error("IO error closing socket");
    return(check);
    // second class is defined below
    public class Messenger
    Socket connect;
    DataOutputStream outStr;
    BufferedReader inStr;
    public static void main(String args[])
    { Messenger mes = new Messenger(args[0]);}
    Messenger(String strg)
    CreateWindow();
    setupEvents();
    LoginData(strg);
    fram.show();
    void setupEvents()
    fram.addWindowListener(new WindowHandler());
    login.addActionListener(new MenuItemHandler());
    quit.addActionListener(new MenuItemHandler());
    button.addActionListener(new Buttonhandle());
    public void LoginData(String name)
    //Enter the Server's IP & port below
    String dest="localhost";
    int port=1234;
    int r=0;
    String str[]=new String[40];
    try
    connect=new Socket(dest,port);
    }catch (UnknownHostException ex){
    error("Unknown host");
    catch (IOException ex){
    ex.printStackTrace ();
    error("IO error creating socket ");
    try{
    inStr = new BufferedReader(new InputStreamReader(connect.getInputStream()));
    outStr=new DataOutputStream(connect.getOutputStream());
    }catch (IOException ex){
    error("IO error getting streams");
    ex.printStackTrace();
    String codeln=new String("\n");
    try{
    outStr.flush();
    outStr.writeBytes("!@*&!@#$%^");//code for sending logged in users
    outStr.writeBytes(codeln);
    outStr.write(13);
    outStr.flush();
    String check="qkpltx";
    String receive=new String();
    try{
    while((receive=inStr.readLine())!=null) //the statement that causes the exception
    if(receive.equals(check))
    break;
    else
         str[r]=receive;
         r++;
    }catch(IOException ex){ex.printStackTrace();error("Error reading from socket");}
    catch(NullPointerException ex){ex.printStackTrace();}
    } catch (IOException ex){ex.printStackTrace();
    error("Error reading from keyboard or socket ");
    try{
    inStr.close();
    outStr.close();
    connect.close();
    }catch (IOException ex){
    error("IO error closing socket");
    for(int l=0,k=1;l<r;l=l+2,k++)
    if(!(str[l].equals(name)))
    stud[k]=" "+str[l];
    else
    k--;
    public class Buttonhandle implements ActionListener
    public void actionPerformed(ActionEvent e) {
    //chat with the selected user;
    public class MenuItemHandler implements ActionListener
    public void actionPerformed(ActionEvent e)
    String cmd=e.getActionCommand();
    if(cmd.equals("Disconnect"))
    //Disconnect from the server
    else if(cmd.equals("Change User"))
         //Disconnect from the server & call the login window
    else if(cmd.equals("View Connection Details"))
    //show connection details;
    public class WindowHandler extends WindowAdapter
    public void windowClosing(WindowEvent e){
    //Disconnect from server & then exit;
    System.exit(0);}
    I�ll be very thankful if anyone corrects the mistake for me.Please help.

    You're connecting to the server twice. After you've successfully logged in, pass the Socket to the Messenger class.
    public class Messenger {
        Socket connect;
        public static void main(String args[]) {
            Messenger mes = new Messenger(args[0]);
        Messenger(Socket s, String strg) {
            this.connect = s;
            CreateWindow();
            setupEvents();
            LoginData(strg);
            fram.show();
    }

  • I'm still having problems with XUL Runner - please help am getting desperate!

    I recently sought help over a problem I am having with FF. When I try and load it, I get a message telling me that XUL runner 1.9.2.11 is not compatible with 1.9.2.12. The advice I received was to do a clean install. I have done this a number of times - using the Uninstall option in Control Panel as well as running the uninstall utility in the Firefox program folder. Each time I reinstall, and get the same problem. The only difference is that a few days ago I was installing FF 3.6.10, and that gave the error message that XUL runner 1.9.2.11 was not compatible with 1.9.2.10.
    I have FF set as my default browser, so when I click on links in e-mails, etc. I get the same failure to load symptoms. However, I found by chance that FF works OK in conjunction with System Mechanic 10 - a maintenance utility I have on my machine. If I select the on-line help option from that Menu, FF loads and runs OK. I can open new tabs and have no problem loading other pages. However, even with FF open, if I click a link in an e-mail, I get the XUL Runner error message.
    Although not all symptoms are the same, I am also having problems with IE8. When I run the program it loads, shows a 'connecting' message in the tab header, then closes. If I uninstall FF, then System Mechanic selects IE8 as the default browser, and as with FF, loads OK.
    Chrome and Safari both run OK (thankfully). there must be someone out there who knows what this all points to - is that person you?!
    Note: Trouble shooting information retrieved using FF when opened with System Mechanic.

    If you have such problems then you need remove the Firefox program folder before installing a new copy of the full Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.

  • PROBLEM WITH NEW ROW  --- PLEASE HELP

    Hello,
    I've had it with the framework. It's been 20 hours and counting that I am trying to insert/validate a new record.
    Things just don't work as advertised.
    Here's the situation:
    I have an entity object with various validation rules in the validate() method.
    Then I have a simple JSP page to insert new records.
    At submit of button, I follow the framework's default
    create new row and fill it up, with the difference
    that i need to validate the row as soon as I fill it up
    with data from the http request:
    <jbo:OnEvent name="Create">
    <jbo:Row id="newrow" datasource="ds" action="CreateInRange" >
    <% try { %>
    <jbo:SetAttribute dataitem="*" />
    <%
    newrow.validate(); //******* NOTICE HERE THAT I VALIDATE
    } catch (JboException ex) {
    newrow.remove();
    throw ex;
    } %>
    </jbo:Row>
    </jbo:OnEvent>
    Unexpected behavior 1: If the validation fails,
    newrow DOES NOT GET REMOVED!!!! I know this
    since when I view data thru a data table component,
    the row is there WITH THE ERROR INFORMATION set!!.
    If I do a commit transaction, then the erroneous information ENDS UP IN THE DATABASE!!!!!
    Unexpected behavior 2: If I do a rollback, every
    call to subsequent pages results in a jsp error:
    java.lang.ClassCastException: oracle.jbo.html.jsp.datatags.OnEventTag
    PLEASE HELP.
    Chris Lambrou

    I have (hopefully) found a solution to my part of this problem. I was getting the ClassCastExceptions on any page with a <jbo:row> tag after doing a failed DML action. I have tested this with the delete event. (btw, I am using jdev9.0.3.3 w/ BC4J/JSP) Before what I was doing was this:
    <% try { %>
    <jbo:Row id="delrow" datasource="ds" rowkeyparam="jboRowKey" action="Delete" />
    <% } catch (JboException jboEx) { %>
    do something
    <% } catch (Exception ex) { %>
    uh-oh, this is bad
    <% } %>
    If I removed the try/catch block everything worked fine. Unfortunatlely, I need to try/catch block here. To work around the problem I changed the code to this:
    <% Row rowDelete = ds.getRowFromKey(params.getParameter("jboRowKey")); %>
    <% try { %>
    <%
    rowDelete.remove();
    %>
    <% } catch (JboException jboEx) { %>
    do something
    <% } catch (Exception ex) { %>
    uh-oh, this is bad
    <% } %>
    The second bit of code does the same thing (but it doesn't use a bean like I think <jbo:Row> does) and it doesn't cause the ClassCastError on subsequent errors.
    I really hope this helps someone else because it took me forever to get a workaround!
    ~Rob Lundeen

  • Problem with "Package Spec" please help.

    Hello once again.
    I'm developing a master-detail form, so I'm using a "Package Spec" variable to hold the primary key value from the master form. The primary key value for the master is generated by a sequence.
    Here's the package spec:
    PACKAGE primary_keygen IS
    pkey varchar2(15); 
    END;Now the master table has the following "Before Insert" Trigger .
    CREATE OR REPLACE TRIGGER MASTER_NUM_GEN
    BEFORE INSERT
    ON MASTER
    FOR EACH ROW
    DECLARE
    primary_key_value varchar2(15);
    BEGIN
    select lpad(to_char(ref_gen.nextval), 4,'0')
    into primary_key_value from dual;
    primary_keygen.pkey:='ABC/'||primary_key_value;
    :new.Ref_Number:=primary_keygen.pkey;
    END;For the detail block. I have the following "Before Insert Trigger" to generate the primary key values.
    CREATE OR REPLACE TRIGGER DET1_NUM_GEN
    BEFORE INSERT
    ON DETAIL1
    FOR EACH ROW
    BEGIN
    if :new.M_ref_number is NULL THEN
    :new.M_ref_number:=primary_keygen.pkey;
    ENd if;
    END;Works quite fine if I have only one detail block. But if I have multiple detail blocks. Depending on the user's selection. i.e. After entering data into the master block, the user selects a detail block ('Letter type'- using stacked canvases for this purpose and radio buttons for selecting the view) and then Inserts data into it. here's what I do in the Detail block2.
    CREATE OR REPLACE TRIGGER OREF_NUM_GEN
    BEFORE INSERT
    ON DETAIL2
    FOR EACH ROW
    BEGIN
    if :new.O_ref_number is NULL THEN
    :new.O_ref_number:=pkey_gen.master_key;
    ENd if;
    END;Now the problem is that When I enter one record into detail1, works fine, but for the second time, when I try to insert another record. the master table gets a new reference number (primary key value) while the detail block gets the previous value that was used in the first record!, so that means 'pkey_gen.master_key' is holding the old value, while in my opinion it should hold the new value, I dont know whats wrong here. If I try to insert two consecutive records into the same detail table, I get an error saying "Unique Constraint voilated", becuase the variable is holding the old values.
    And lastly after it inserts the record into the database, I get a dialog box saying, "successfuly inserted 2 records into the database" and when I click ok, the Form closes by itself, any ideas on how to stop this?
    I'm really stuck here. Please help me out on this.
    Thanks.
    Note: I'm using Form6i with Database 10g.
    Message was edited by:
    fahimkhan82

    Hi,
    Maybe the best way to start is to try building a new form from scratch. For simplicity I will assume that you have one master and one detail table. Master table has a primary key and the detail table has a foreign key to the master. Based on this, with the forms you can create a database block based on your master table. Use the wizard. Again using the wizard, create a second block based on the detail table. You'll see a screen to prompt to create a relationship. Create one by selecting the master table and the right foreign key relation. Now take a close look to all triggers automatically created by the form. Also check the "Relations" object found in you master block object tree. Note that the foreight key column in the detail table has the "Copy Value From Item" property set to monitor the master block's primary key.
    This is the basic. You don't need the database triggers, except (in case you want to insert through, say, SLQPlus) the one for the master table, which will look like this:
    CREATE OR REPLACE TRIGGER MASTER_NUM_GEN
    BEFORE INSERT
    ON MASTER
    FOR EACH ROW
    BEGIN
    IF :new.ref_number IS NULL THEN
    select 'ABC/'||pad(to_char(ref_gen.nextval), 4,'0')
    into :new.ref_number
    from dual;
    END IF;
    END;
    Now you have to take care about the inserts in your form. Create PRE-INSERT trigger on the master block.
    IF :master.ref_number IS NULL THEN
    SELECT 'ABC/'||pad(to_char(ref_gen.NEXTVAL), 4,'0')
    INTO :master.ref_number
    FROM dual;
    END IF;
    Run the form and explore different situations to see how the form is keeping the data integrity.
    Compile with Shift+K (incremental). Sometimes forms blow just because not all of the trigers were compiled properly.
    Hope this helps...

Maybe you are looking for