Need Help Black Screen Problem?

My screen keeps going black.  I set the "Preferance" to 1 hour but that didn't help. 
I am a new Apple user on an older machine -- iBook with MAC OS X (104 Tiger)
Thanks for any suggestions.
MVC

Tough to tell, but Might try these things...
Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions,  then move these files to the Desktop.
(Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
/Users/YourUserName/Library/Preferences/com.apple.systempreferences.plist
/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist
/Library/Preferences/SystemConfiguration/com.apple.AutoWake.plist
(Then Trash the original of these last two, as "moving" them only copies them.)
Then reboot once more.
Have you done a PRAM reset, CMD+Option+p+r...
http://docs.info.apple.com/article.html?artnum=2238
Does it boot into Open Firmware with CMD+Option+o+f ?
http://docs.info.apple.com/article.html?artnum=42642
reset-nvram (press Enter)
set-defaults (press Enter)
reset-all (press Enter)
It could also be a heat issue, or Videocard/Logic board failing.

Similar Messages

  • Need help bad, screen problem

    heres my problem. i setup arch on my desktop last night (64bit), i installed my nvidia drivers. i have a 21" crt sun monitor, not sure the model number. but i brought it to a friends this morning to update and install kdemod since they have highspeed. now i was hooked up to their monitor, they have a cheap 15" crt. so it worked fine there, now when i got it home, i get a black screen when it boots up on my monitor, i can get to a console however
    i deleted a couple lines in the monitor section in the xorg.conf............so now i get 640x480 res, but i cant use anything higher
    been searching around, and i found some stuff about running Xorg -configure, but i get something about a tmp file being locked..........and i dont know how to delete anything here from the console
    i need help here
    Last edited by ssl6 (2007-09-16 07:00:40)

    nvm, i just deleted the xorg.conf and rebooted, its fine now
    edit// nvm, its not using my nvidia driver.........i might still need help, im trying something right now, not sure what im doing though
    ok, i tried to run nvidia-xconfig, and when i rebooted, im back to square one with my monitor flashin an invalid scan frequency
    well, i deleted the xorg.conf again and got it booted up. but i generated a new one with nvidia-xconfig again, heres what i puts out, i just need to remember not to reboot any time soon. im using a 7900gs, the newest nvidia 100 series drive from the repo, and arch 64bit on this system by the way
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder26) Wed Jun 13 16:54:14 PDT 2007
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection
    Section "Files"
    RgbPath "/usr/lib/X11/rgb"
    EndSection
    Section "Module"
    Load "dbe"
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 30.0 - 110.0
    VertRefresh 50.0 - 150.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    here's that part of the xorg.conf from my other computer running 32bit arch with a geforce 3 connected to the same monitor via kvm switch. this machine is using a 96xx driver though
    Section "Monitor"
    # HorizSync is in kHz unless units are specified.
    # HorizSync may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.
    # HorizSync 30-64 # multisync
    # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
    # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
    # VertRefresh is in Hz unless units are specified.
    # VertRefresh may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.
    Identifier "sun"
    HorizSync 31.5 - 82.0
    VertRefresh 50.0 - 90.0
    EndSection
    Section "Device"
    # The chipset line is optional in most cases. It can be used to override
    # the driver's chipset detection, and should not normally be specified.
    # Chipset "generic"
    # The Driver line must be present. When using run-time loadable driver
    # modules, this line instructs the server to load the specified driver
    # module. Even when not using loadable driver modules, this line
    # indicates which driver should interpret the information in this section.
    # The BusID line is used to specify which of possibly multiple devices
    # this section is intended for. When this line isn't present, a device
    # section can only match up with the primary video device. For PCI
    # devices a line like the following could be used. This line should not
    # normally be included unless there is more than one video device
    # intalled.
    # BusID "PCI:0:10:0"
    # VideoRam 256
    # Clocks 25.2 28.3
    Identifier "Standard VGA"
    Driver "vga"
    VendorName "Unknown"
    BoardName "Unknown"
    EndSection
    Section "Device"
    #VideoRam 65536
    # Insert Clocks lines here if appropriate
    Identifier "geforce"
    Driver "nvidia"
    EndSection
    Section "Screen"
    Identifier "Screen 1"
    Device "geforce"
    Monitor "sun"
    DefaultDepth 24
    Option "AddARGBGLXVisuals" "True"
    SubSection "Display"
    Viewport 0 0
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection
    any ideas here?
    Last edited by ssl6 (2007-09-16 07:53:48)

  • Need help black screen

    I cracked my screen on  n got it fix first time I got a used screen then they guy replace it with a new one now I had líl color línes going down my screen on it home screen n pics only a couple apps too now my screen black wat should i do

    Junk it. It is obviously broken.
    Barry

  • How to How to install ATI Radeon HD2600 driver on bootcamp 3.0 windows 7 partition w/black screen problem

    Ok....so i've posted this question in a different way, and i gotten several "scratch the surface" answers from people just saying to install "Ati catalyst", or insert the os x dvd and run set up.exe, and update  to boot camp 3.1 or 3.2...while these all seem like great suggestions, I am finding myself needing more specific direction or "hand holding" so to speak.....here is the MAIN problem...
    The Background/history
    I used boot camp (3.0, and i found updates for 3.1 for imac and for windows, but can't find for mac pro, AND they all are ".exe" files which run on windows..which as you'll see is the big part of my problem...So I recently updated my mac pro (with the ATI Radeon HD2600 graphic PCIe card with 10.6.7 from 10.5.8.  I created a single partitioned drive to install windows 7 professional 64 bit.  The download software function didn't work (Thanks, APPLE for that poor level of support) so have to select the option that i have already downloaded, or have other media with the drivers already on it....i restarted with the windows 7 disk in.... 
    The installation of Windows 7 Pro 64-bit
    So the installation of windows 7 seemed to go flawlessly, was able to use my existing 23" hd apple cinema display (so somehow it has drivers that work with the graphics card, or maybe the motherboard's on board video components) and i select english, and install now, custom, blah, blah, blah...installation causes a few reboots, then restarts ultimately back in os x since that is the default boot os i use on this desk top and have to do the "opt" button to select booting in windows....so when i try restarting in windows, now using the actual boot drive on which i am installing it, it ran through another reboot or two, but then after that, my display goes black....  in the communities, the solution sounds super simple... "go download the ATI catalyst for the black screen problem....windows 7 doesn't have device drivers that work with the ATI radeon hd2600...no problem, just go download and install...."
    The problem, re-emphasized :  I cannot even finish the install for windows, because of this driver problem....i cannot see anything....I have tried to reboot in safe mode, and that then seems to invoke whatever basic drivers that do work, likely through the motherboards onboard video vs the actual graphic card, and the screen works and says that it's wanting to complete the installation, so i'm thinking awesome this is gonna work....and then.. "windows installation was not completed and cannot be completed in SAFE MODE, need to restart, blah, blah, blah" pops up...and forces reboot...so Safe Mode allows me to see, but won't allow me to finish the install of windows 7...and without completing the install i can't run (ranther I DONT KNOW HOW TO) any of the various .exe files everyone is telling me are the solutions to my problem...like update 3.1 and 3.2 bootcamp...they're all .exe files?  not sure why, because bootcamp runs in 10.6.7 i thought, but whatever...it needs running Windows to execute...then the ATI radeon hd2600 driver for windows 7 that i downloaded from the site has an installation program that is an .exe file, which needs windows to run...  Does this make sense, why i can't just use these fixes, that seem to be the only fixes out there....so can someone school me step by step here (not just the highlights) of how to update bootcamp, and how to install the ati radeon driver  without having been able to complete the windows 7 installation because the monitor goes and stays black????
    This is so very frustrating for the record...and any substantial help "not just go download this..." would be immensely appreciated.
    Some other things i've been told to try that i've tried and nothing seems to happen as i'm told it will....
    ---I've been told to install the osx dvd and run "setup.exe"  - AGAIN...it's an exe file...and 2 - when i put in the os x file it just wants to re install 10.6...so need more help if this is even a real solution to understand how to make it work...
    ---I've been told to update boot camp to 3.1 and/or 3.2 from 3.0, using Apple Software Update....Well, my software update is saying everything is up to date and there is nothing new to download at all, and when i reverify the bootcamp version it is still only 3.0.2...and again downloading the updates from www.apple.com/support/  for 3.1 and 3.2...all of those are .exe files...need windows to run them...again, refer to the problem described in detail above...
    ---I've been referred to the black screen on imac early 2011 thread saying it should fix my problem...and reading it it SEEMED like the most promising resolution...it involves creating a boot flash drive for windows 7 and an xml file that sets the imac drivers to auto install during the windows installation..and it got me farther than anything else..but still ultimately ended up in the darned black screen...my assumption is that it's because it's for imac and not mac pro so not ati-radeon specific drivers....ok....that's enough..please...anyone who thinks they can help...your help is desperately needed...thanks so much in advance!

    hey Hatter, thanks so much for getting back...so just to be super clear...is there no way to install the drivers using an exe file given my current state? no way to do it with command prompt or something?  if can make work with existing card, i'd prefer it...now when you say it's 'toast' how do you mean?  it works well with the os x partitions and always has...so i'm not sure i follow, just want to be clear...
    Now to your point of starting with only the one drive installed...so i would put that bootcamp drive in bay 1 and disconnect the rest...i'm not totally sure what you're suggesting the effect should be of doing this?  just that i'm just installing windows without the bootcamp deal...but if windows 7 doesn't support the ati radeon hd2600, it still will go black screen no? or you're saying it will run video through the motherboard if it's the only bootdrive, and will run all the way through the windows install without trying to switch over to the hd2600?  (slrry flr these questions..just really want to make sure i understand what you're telling me..thanks so much for your patience and help by the way...it's very greatly appreciated...your support is priceless!
    So now, assuming none of the above is possible...referring now to the ati 5770 that you referred to...you mention it works with 10.6 well, and that windows 7 supports it ...2 questions on that
         1) Windows 7 supports" meaning, out of the box windows 7 supports it? or will i have to install drivers still through some update, because again, if that's how i have to do it, then won't work, cuz can't start windows to see anything to install any drivers or run any thing at all...so it would have to just work with initial installation.
         2)hardware wise for my Mac Pro 3,1...intel dual quad core xeon, blah blah....will this card work? it's a PCIe and should fit on my board no prob, etc?

  • I bought my Mac Air 13' in August. Black screen problems constantly happens. I asked some of my friends who also use Air. They share the same experience. Overall, it is a pretty good computer. But it bothers me when I do work and it suddenly goes black.

    I bought my Mac Air 13' in August. Black screen problems constantly happens. I asked some of my friends who also use Air. They share the same experience. Overall, it is a pretty good computer. But it bothers me when I do work and it suddenly goes black. What should I do about it?

    without more information, I assume you mean a blackout from sleep issue.
    Go to system preferences > energy settings > raise the "turn display off" setting up to as needed, say 5 mins. or 10 mins.
    AND ...
    unchecked the "Put hard disks to sleep when possible" in both the battery and power adapter tabs.
    test it and check back

  • Fifa 12 airplay via appletv, black screen problem

    FIFA12 Appletv airplay black screen problem.
    Hello, i wanted to play fifa 12 iOS with tv via airplay. But it dint work, i see game picture for half second then tv goes black screen. Audio still working and game i can go to play, but i cant see the game picture. This is very sad because every other game works with tv via airplay. The only game which would be really great with airplay doesnt work :( We tested it with two different tv and two different iPad 3's. And the tv is 40" the other one was much smaller and apple tv is the newest one with newest software.
    Has someone else had this problem? is the apple tv problem or maybe fifa 12 have bug or something? i hope we can get this working, iv seen fifa 12 via airplay working very nice in few youtube videos so why it doesnt work for us.
    also where would be best place to contact fifa12 makers for this problem.
    Sorry for my bad english, it's not my national language.

    EA sent me the following anwser:
    Please try any the following that you have not tried as of yet:
    - Exit the game, then turn off and reset your device. Then try starting the game again.
    - Ensure you are running the most current version of the game (check to see if there is an update available for the game through iTunes).
    - Access the iTunes Store within your device and download the game again. It may prompt you to 'Buy' the game, but once you click it, it should allow you to download for free since you already paid for it through iTunes. Please note that we at EA have no access to your iTunes account. If you have any disputes, please contact iTunes (Apple) directly.
    - Make sure your device has the latest software:
    1. Download the latest version of iTunes from http://www.apple.com/itunes
    Note: If you already have iTunes installed, open it and select Help > Check for Updates. Then install any available updates.
    2. Connect your device to your computer with the USB cable, select your device in iTunes, and click the 'Update' button or 'Check for Update' button. Install the software update if available.

  • What is the technical 'cause' of the infamous iMac black screen problem?

    Can anybody shed some light on what technical malfunction exactly causes the infamous iMac black screen problem? The common solution seems to be a logic board replacement. But what exactly is broken on the logic board? Is it the Geforce chip? Some kind of external driver circuitry? Or something completely different?

    I was referring to the many problems also described in this thread (and also in many other places):
    http://discussions.apple.com/thread.jspa?threadID=196774&tstart=0
    In specific I am referring to machines where all of this applies:
    - internal monitor stays black after power-on
    - computer boots normally
    - external display works normally
    - internal display backlight works and can be adjusted in brightness, but all pixels are black
    - PRAM reset doesn't help
    - NVRAM reset doesn't help
    - PMU reset doesn't help
    - reinstalling OS / booting from CD doesn't help
    - machines with this problem sent to repair come back with a replaced logic board
    I'm looking for more information on the technical cause of the exact problem as stated above. So I can attempt to repair my iMac

  • Black Screen Problem on my Toshiba Portege M800-A330

    I own a Toshiba Portege M800-A330 for more than a year now.  Whenever I have problem on it, uhmm.. for example: virus, or corrupted operating system, all I do is to format my laptop or recover it using system recovery from the hard disk or using recovery disc which is inserted in the DVD drive.  But, recently I'm having a problem with my laptop.  My problem starts after I compressed the Drive C:, but I don't think that may cause the black screen problem that I'm encountering since then. 
    Here goes my problem: When turning on my laptop, the first thing I can see is the "TOSHIBA" logo and then after it fades it just gives me a black screen.  I don't know why it's just black screen, perhaps its system has been corrupted.  I've tried using the system recovery for the Nth times, but sadly the ability to run the system recovery from the hard disk partition also FAILED and just gives me a black screen again.  When pressing "number 0" it does not direct me to the recovery features of the notebook but instead it only put me on a black screen.  Likewise when I use the recovery disc, it also put me on a black screen upon entering in the DVD drive, and so as when I'm trying to reformat my laptop with Windows7.
    I can't even access the safe mode options of my notebook.  All I can access is the CMOS/BIOS setup features of the notebook when pressing F2.
    Please help, I don't know what or where the problem maybe and what could be the possible solution on this.  Any help is greatly appreciated.
    Thank you,
    Selene

    selene wrote:
    thanks for your input wkitty.. I have the same problem with this guy who post this > http://laptopforums.toshiba.com/t5/Video-Display/Blank-screen-after-BIOS/td-p/79923
    I dont know how can i recover the the HD partition with vista installed.. do this mean I really have to send my laptop to Toshiba service center? It will cost a lot of money, my laptop's warranty already expired.
    while i understand that the outlooking symptoms may appear the same, you report that you compressed your C drive but the poster in the linked thread does not... sadly, the underlying problem may or may not be the same even though the surface symtoms appear to be so...
    unfortunately, i don't know what to recommend and i feel that i must leave further answers to other support members who have better knowledge than i :?
    in my own case, i've finally determined that i must purchase the reload disks from toshiba and hope that they are able to restore my machine to the original factory condition... in you case, i can't say that this is the way to go or not... it really sounds like something either BIOS or OS oriented... since the BIOS reset didn't take care of the problem, it may be something deeper (ie: video broked) or something else...
    have you tried booting a *nix live CD like ubuntu? the idea here is that if a live CD of another OS boots, then there may be something wrong with your HD...
    along those lines, have you tried running memtest86+ and/or a HD testing util for the drive in your unit? it is possible that memory has gone uuck or the HD may have a section of bad sectors...
    =================================================================================================================
    I'm a user, just like you but i'm here on a volunteer basis without compensation from toshiba or anyone else... my crystal ball is in the repair shop and i cannot look over your shoulder to see what you are doing. the more specific you are, the better the answers can be

  • MSI 290X LE Lightning Edition black screen problem

    I recently bought the above graphics card, only to run into problems with black screen, furmark blackscreens when it reaches just over 70c & games that push the card ie Crysis 3 also causes black screen problems, I'm also sometimes getting desktop corruptions, usually after it black screened.
    My PSU is a 850watt EVGA SuperNova G2 so i know it's not that what causing the problem.
    rest of my setup as follows
    3770K @4.2Ghz
    MSI Z77 Mpower
    8GB corsair memory
    ect ect.
    Any idea's as to the cause of the problem?
    edit here what it doing I've uploaded it to youtube.

    First of all remove any oc. Then list specs more detailed: >>Posting Guide<<

  • Not happy with Mac book pro retina because of black screen problem.

    I am not happy with Mac book pro retina because of black screen problem. This screen failure appears after one year. I was fan of APPLE now I do no support any apple products. When they expires I will renew them with the other products belong to the other companies.

    You are entitled to 90 day telephone support from Apple. Try contacting them.
    Apple Support Contact
    Apple Support contact - Telephone

  • Need help with daq problem

    Hi,
    I need to generate a clock with a period of 20 micro seconds, duty cycle of
    approx 20% and a data line as well as an address line all linked to the clock
    pulse.
    I have tried many different solutions, all using the Daq PCI-1200 but nothing
    seems to work correctly. Usually the system bombs and I have to do a manual
    reset to over come the problem.
    Any suggestions?
    Ken

    Hallo, Ken,
    Du meintest am 20.02.00 zum Thema Need help with daq problem:
    > I need to generate a clock with a period of 20 micro seconds, duty
    > cycle of approx 20% and a data line as well as an address line all
    > linked to the clock pulse.
    You'll need an external clock, expecially under Windows.
    Windows ticks with appr. 18 Hz, and the CPU tick isn't always available
    when Windows tasks multi.
    Viele Gruesse!
    Helmut

  • When trying to install Aid Virtual Instruments I get a warning no mountable file systems. I need help fixing the problem.

    When trying to install Pro Tools 10.3.3 Aid Virtual Instruments I get a warning no mountable file systems. I need help fixing the problem.

    Thanks Linc for responding to my post. I searched a little further and found I was missing a file. Once I downloaded the fix, I was able to install the software from the original download.

  • Thunderbolt Firmware 1.1 will not update from 1.0.9 to fix Black screen problem

    Can't install the firmware 1.1 fix for black screen problem. I get the following:  Has anyone solved how to get around this?

    Restoring often solves these problems - sometimes requiring as a new phone. The settings a sometimes data get currupted during update. If you go back in the archives of this forum, you find the same problems reported after EVERY update since the original iPhone was released.
    Note that if you "modified", unlocked or hacked your phone in any way - a reason many stayed on 3.0.1 - updating USUALLY does theses things, if not completely bricking the phone.

  • Need help with getResource() problem under weblogic 6.1

    Hey all,
              I've got a serious problem that I can't figure out. This should be really
              simple - but it's alluding me. I have an ear file with a number of servlets
              inside it. This ear file also contains a resource that my servlets want to
              read from. This resource is located (within the ear file) at:
              "/content/structure/a.txt". The file contains raw ascii.
              To have my serlvet read from this file, I thought it would be as simple as:
              URL content =
              servlet.getServletContext().getResource("/content/structure/a.txt");
              // pw is an instance of PrintWriter
              pw.print(content.getContent());
              However, when I execute the above I get the following exception:
              java.lang.NullPointerException
              at
              java.net.URLConnection.stripOffParameters(URLConnection.java:1011)
              at java.net.URLConnection.getContentHandler(URLConnection.java:979)
              at java.net.URLConnection.getContent(URLConnection.java:581)
              OK, so fine - I figure that I'm new to this. The documentation for the URL
              class tells me there is another way around this. It says that rather then
              calling getContent() directly, I can open a stream on the URL and read from
              that, like so:
              URL content =
              servlet.getServletContext().getResource("/content/structure/scenario2resourc
              es.txt");
              FileInputStream fis = content.openStream();
              but when I do this I get the following different exception:
              java.lang.ClassCastException: weblogic.utils.zip.SafeZipFileInputStream^M
              at Utility.writeFileToOutput(Utility.java:134)^M
              Apparently this thing is trying to return a web-logic-specific stream (which
              is incompatible with an FileInputStream) - which I don't want to use or
              learn about since I want my stuff to work under other webservers.
              Can anyone tell me what I'm doing wrong? This should be simple.
              -john
              John Hilgedick
              WisdomTools, Inc.
              [email protected]
              

    Wenjin,
              I appreciate your response. I tried treating it as a normal InputStream -
              but it didn't make any difference. Here's what I did:
              URL content =
              servlet.getServletContext().getResource("/content/structure/scenario2resourc
              es.txt");
              InputStream is = (InputStream)content.getContent();
              And here's the exception:
              java.lang.NullPointerException^M
              at
              java.net.URLConnection.stripOffParameters(URLConnection.java:1011)^M
              at
              java.net.URLConnection.getContentHandler(URLConnection.java:979)^M
              at java.net.URLConnection.getContent(URLConnection.java:554)^M
              at java.net.URL.getContent(URL.java:807)^M
              at Utility.writeFileToOutput(Utility.java:134)^M
              You can see that it is definitely breaking somewhere in getContent().
              If you have any other ideas, I'd appreciate hearing about them.
              -john
              ----- Original Message -----
              From: "Wenjin Zhang" <[email protected]>
              Newsgroups: weblogic.developer.interest.servlet
              Sent: Wednesday, November 20, 2002 5:03 PM
              Subject: Re: Need help with getResource() problem under weblogic 6.1
              >
              > The "/" in getServletContext().getResource("/content/structure/a.txt")
              means the
              > web (WAR) application root, not your EAR root.
              >
              > The ClassCastException is because that content.openStream() is not
              FileInputStream
              > and has nothing to do with Weblogic. You should treat it as normal
              InputStream.
              >
              >
              > "John Hilgedick" <[email protected]> wrote:
              > >Hey all,
              > >
              > >I've got a serious problem that I can't figure out. This should be
              really
              > >simple - but it's alluding me. I have an ear file with a number of
              servlets
              > >inside it. This ear file also contains a resource that my servlets want
              > >to
              > >read from. This resource is located (within the ear file) at:
              > >"/content/structure/a.txt". The file contains raw ascii.
              > >
              > >To have my serlvet read from this file, I thought it would be as simple
              > >as:
              > >
              > >URL content =
              > >servlet.getServletContext().getResource("/content/structure/a.txt");
              > >// pw is an instance of PrintWriter
              > >pw.print(content.getContent());
              > >
              > >However, when I execute the above I get the following exception:
              > >
              > >java.lang.NullPointerException
              > > at
              > >java.net.URLConnection.stripOffParameters(URLConnection.java:1011)
              > > at
              java.net.URLConnection.getContentHandler(URLConnection.java:979)
              > > at java.net.URLConnection.getContent(URLConnection.java:581)
              > >
              > >OK, so fine - I figure that I'm new to this. The documentation for the
              > >URL
              > >class tells me there is another way around this. It says that rather
              > >then
              > >calling getContent() directly, I can open a stream on the URL and read
              > >from
              > >that, like so:
              > >
              > >URL content =
              >
              >servlet.getServletContext().getResource("/content/structure/scenario2resour
              c
              > >es.txt");
              > >FileInputStream fis = content.openStream();
              > >
              > >but when I do this I get the following different exception:
              > >
              > >java.lang.ClassCastException: weblogic.utils.zip.SafeZipFileInputStream^M
              > > at Utility.writeFileToOutput(Utility.java:134)^M
              > >
              > >Apparently this thing is trying to return a web-logic-specific stream
              > >(which
              > >is incompatible with an FileInputStream) - which I don't want to use
              > >or
              > >learn about since I want my stuff to work under other webservers.
              > >
              > >Can anyone tell me what I'm doing wrong? This should be simple.
              > >
              > >-john
              > >
              > >
              > >--
              > >John Hilgedick
              > >WisdomTools, Inc.
              > >[email protected]
              > >
              > >
              >
              

  • Black screen problem and file size

    Like others I have been having trouble with importing from iPhoto to iMovie. At times everything works just fine but on my most recent project I have been having a terrible time with the preview screen being black. I have used this discussion forum to try and resolve the problem. I've tried many of the recommedations but the problem continues.
    In one thread it was mentioned that file size might have something to do with the problem. I think there may be something to this. I've noticed that any file that is 1MB or less shows just fine in the preview window. Files between 1-2 MB seem to have an erratic pattern of loading and files above 2 will hardly ever load.
    Unfortunately I seem to have a lot of photos in the latter category (taken on a recent trip to New Zealand). I'm hoping someone can give me some hints on how to reduce the size of these files in a "batch" fashion. Perhaps via Photoshop?
    Also, has anyone else noticed any connection between file size and the black screen problem.
    Thanks.
    Alice
    iMac G5   Mac OS X (10.4.8)   iLife '06
    iMac G5   Mac OS X (10.4.8)   iLife '06

    Matti,
    Thanks for the reply but that isn't the problem I'm having. I've read plenty about not emptying the trash and have not done that.
    The problem I'm having happens before the picture is even put in the timeline. When I click on media, go to iphoto and highlight a picture that I want to place in the timeline I will get a black preview screen with the scrubber arrow running across the bottom. Through a rather tedious process I think I have determined that the problem is related to file size. If the jpeg file is greater than 3MB it will not load. Jpeg files under 1MB load wonderfully. Those between 1-2MB are erratic in whether they load or not.

Maybe you are looking for

  • Not allow a PO item to be deleted if it has a IR

    Hi, This is based on a purchasing framework order. Is it possible to stop a user from deleting a PO line item if it already has a IR against it? Thanks. SAP version 4.5B We are using tcode - MR1M to invoice the PO's. Thanks David

  • How to create a file folder

    hi, The following codes throw an exception. The problem is that I can not create a folder "mytemp" under drive C. (Windows 2000) However, I have already given full permission to jre in the policy file. Can someone please tell me why? Thanks a lot. Fi

  • Wht is Regression Test?

    Hi Experts, Pls. let me clarify the Regression test? I hv seen it, after hitting the F8 of a FM and even I tried it, then I got some records in my_table of my_FM. So, pls. let me know, 1 - Wht is Regression test? 2- When we hv to use it? 3-Other than

  • Goods Supplying plant is different_Vendor is same

    Dear Guru's, One of my vendor is having 4 different sites/plants, we use to get the material from all the sites/plants.  how i need to maintain this in SAP ? My client wants to see how much stock we have from each site. Pls suggest regds, CB

  • Unable to create PDF from website

    I am suddenly unable to create a PDF in Acrobat 9 Pro from a website without a gray overlay and an error message telling me the browser needs to be updated.  I'm attaching a pic of the error.  Is there a way to update the browser in Acrobat?  I have