Problem with Design Console configuration - please help

Dear All,
I am trying to configure design console. It is installed on Windows XP and should point to remote server. I am getting the following error on OIM Server and Port screen:
INST-07057: Error in validating the Hostname field value. Entered host is not up and running
Make sure that the host is up and running
But host is up and running. I can ping it successfully and oim admin interface is working. I suspect this is permission issue.
If you can help me to resolve this I would appreciate it very much.
Kind regards
Maria

It seems xlclient.cmd got modified. Check if your xlclient.cmd looks like this:
@echo off
setlocal
call classpath
REM SET DEBUG_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5001 -DXL.RedirectSysOutErrToFile=TRUE -DXL.SysOutErrLogFile=.\logs\Client.System.Out.Err.log
REM Make sure to remove java.naming.provider.url and read it from the configuration
REM once the JNDI Profiles are implemented.
REM make sure you are using j2sdk1.4.2_05
"<your java home>" %DEBUG_OPTS% ^
     -DXL.ExtendedErrorOptions=TRUE -DXL.HomeDir=C:\Oracle\Middleware\Oracle_IDM1\designconsole ^
     -Djava.security.policy=config\xl.policy ^
     -Dlog4j.configuration=config\log.properties ^
     -Djava.security.manager -Djava.security.auth.login.config=config\authwl.conf ^
     com.thortech.xl.client.base.tcAppWindow -server server
endlocal

Similar Messages

  • Itunes says there is a problem with my audio configuration. HELP Please

    i recently updated my itunes to 7.02 and first few days it was Ok.but now it's not even turning on , it just flashes a message saying there is a problem with my audio configuration. other media players are working perfectly but i only download music from itunes and i cannot survive without my music. please help!!!!!!!!!!!!

    Uninstalling Quicktime and then doing a repair install of iTunes may help.
    First completely uninstall Quicktime (not iTunes) using the method in this link:
    http://docs.info.apple.com/article.html?artnum=93698
    Then go to add/remove programs>Change or remove progams and select iTunes.
    Click on Change/Remove, then click repair.

  • Itunes won't run because of some problem with my audio configuration? help!

    it specifically says "itunes cannot run because it has detected a problem with your audio configuration". anybody know how to fix that. all i did was when my itunes was werking perfectly fine i was uploading some videos onto it but wen i did it was freezing so i did it again and it froze again so i deleted itunes and installed it again. thats when the problem happened. i tried installing quicktime again. that didn't work then i organized my music and video files but it still wouldn't work. my speakers work good. id on't know what the problem is. CAN ANYBODY HELP????!!!!

    Perhaps this Apple KnowledgeBase article will help:
    iTunes 7 for Windows: iTunes had detected an audio configuration problem
    Good luck.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Discussions page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums, in the User Tips Library and in the Apple Knowledge Base before you post a question.
    Regards.

  • Firefox is having problems with "Southwest Airlines website" Please help soon

    Whenever I go on Southwest Airline website, it does not work. I am having this problem since last month. Please help on this as soon as you can.

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Other things that need your attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    * Shockwave Flash 10.0 r22
    * Java Plug-in 1.6.0_07 for Netscape Navigator (DLL Helper)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://kb.mozillazine.org/Flash
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://kb.mozillazine.org/Java
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

  • OIM 9.1 Time-out problem with Design Console

    If I leave the design console running for any length of time, making updates result in the following error:
    17:36:52,578 ERROR [ACCOUNTMANAGEMENT] Class/Method: tcDataBase/getUser encounter some problems: Invalid user found: xelsysadm
    java.lang.RuntimeException: Invalid user found: xelsysadm
    at com.thortech.xl.server.tcDataBase.getUser(Unknown Source)
    at com.thortech.xl.dataobj.tcSVP.isOperationAllowed(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.isUpdatePermissible(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.eventPreUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcSVP.eventPreUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source) ...
    Closing the Design Console and re-launching produces similar errors. I must stop and restart the JBOSS server to get access again. My environment is Windows 2003 with JBOSS and an 11g database.
    Any help on what to look for would be appreciated.
    KC

    You are correct. If you pre-populate, it will be the requester. The requester would need to manually populate the field during the request with the requestee information. And there is only one form available. You can however, after submission of the request, get the request data, parse the Consolidated Request Data to determine the id's in the request field, and then return appropriate responses to trigger the tasks needed. This will still be a problem in the long run because you can't change the requestee information for each approval task. You're pretty much out of luck on this one.
    -Kevin

  • Problem with adobe acrobat/reader - please help!

    Hello,
    My acrobat reader was fine and I was able to open the pdf files sent to me, then suddenly it just wouldn't open anything at all.  It went into open mode and just stayed there, and wouldn't let me close it.  Then I got a message saying "there is a problem with adobe acrobat/reader.  Please exit and try again".  I've done this lots of times and it still isn't working.
    I would be very grateful for any help or suggestions.  I have windows 7, and as I said its all been fine up until now.
    Thanks.
    mspryce.

    This is the Acrobat forum, not the Reader forum. You should check the reader forum. In the meantime, if you are not running AR9.3 or so, you should update. Prior versions before 9 are not designed for Win7 and that might be your issue -- you gave no indication of version.

  • ITunes cannot run because of a problem with your audio configuration. HELP

    hi guys, i updated to the new version of ituned and hten all of a sudden received this problem. Please help me resolve this situation, as it was working fine 5 minutes before i upgraded to the new version. Is there something i can do? i just bought my shuffle, and am tryign to make it work, but because of this problem, i cant use it. please help

    Have you had a chance to look at this troubleshooting page? It may be of some help: iTunes 7 for Windows: iTunes has detected an audio configuration problem

  • Problem with interputting  accessframe  example please help!!!

    A use code bellow to access every frame in the movie :
    import java.awt.*;
    import javax.media.*;
    import javax.media.control.TrackControl;
    import javax.media.Format;
    import javax.media.format.*;
    import java.io.*;
    import javax.imageio.*;
    import javax.imageio.stream.*;
    import java.awt.Color.*;
    import java.awt.image.*;
    import java.util.*;
    import java.awt.image.*;
    import javax.media.util.*;
    import javax.swing.JFrame;
    public class Film2ramki implements ControllerListener {
    Processor p;
    Object waitSync = new Object();
    boolean stateTransitionOK = true;
    public boolean alreadyPrnt = false;
    public void zakoncz(){
         p.stop();
         p.close();
         p.deallocate();
    public boolean open(MediaLocator ml) {
    try {
    p = Manager.createProcessor(ml);
    } catch (Exception e) {
    System.err.println("Failed to create a processor from the given url: " + e);
    return false;
    p.addControllerListener(this);
    // Put the Processor into configured state.
    p.configure();
    if (!waitForState(p.Configured)) {
    System.err.println("Failed to configure the processor.");
    return false;
    // So I can use it as a player.
    p.setContentDescriptor(null);
    // Obtain the track controls.
    TrackControl tc[] = p.getTrackControls();
    if (tc == null) {
    System.err.println("Failed to obtain track controls from the processor.");
    return false;
    // Search for the track control for the video track.
    TrackControl videoTrack = null;
    for (int i = 0; i < tc.length; i++) {
    if (tc.getFormat() instanceof VideoFormat) {
    videoTrack = tc[i];
    break;
    if (videoTrack == null) {
    System.err.println("The input media does not contain a video track.");
    return false;
    System.err.println("Video format: " + videoTrack.getFormat());
    // Instantiate and set the frame access codec to the data flow path.
    try {
    Codec codec[] = { new PreAccessCodec(),
    new PostAccessCodec()};
    videoTrack.setCodecChain(codec);
    } catch (UnsupportedPlugInException e) {
    System.err.println("The process does not support effects.");
    // Realize the processor.
    p.prefetch();
    if (!waitForState(p.Prefetched)) {
    System.err.println("Failed to realize the processor.");
    return false;
    p.start();
    return true;
    boolean waitForState(int state) {
    synchronized (waitSync) {
    try {
    while (p.getState() != state && stateTransitionOK)
    waitSync.wait();
    } catch (Exception e) {}
    return stateTransitionOK;
    public void controllerUpdate(ControllerEvent evt) {
    if (evt instanceof ConfigureCompleteEvent ||
    evt instanceof RealizeCompleteEvent ||
    evt instanceof PrefetchCompleteEvent) {
    synchronized (waitSync) {
    stateTransitionOK = true;
    waitSync.notifyAll();
    } else if (evt instanceof ResourceUnavailableEvent) {
    synchronized (waitSync) {
    stateTransitionOK = false;
    waitSync.notifyAll();
    } else if (evt instanceof EndOfMediaEvent) {
         p.stop();
         p.close();
         System.exit(0);
    Film2ramki(){}
    public void startnow (String plik) {
         //this.setDefaultCloseOperation(this.EXIT_ON_CLOSE);
    String url = "file:"+plik;
    if (url.indexOf(":") < 0) {
    prUsage();
    System.exit(0);
    MediaLocator ml;
    if ((ml = new MediaLocator(url)) == null) {
    System.err.println("Cannot build media locator from: " + url);
    System.exit(0);
    if (!open(ml))
    System.exit(0);
    static void prUsage() {
    System.err.println("Usage: java Film2ramki <url>");
    * Inner class.
    * A pass-through codec to access to individual frames.
    public class PreAccessCodec implements Codec {
    * Callback to access individual video frames.
    void accessFrame(Buffer frame) {
    // For demo, we'll just print out the frame #, time &
    // data length.
    long t = (long)(frame.getTimeStamp()/10000000f);
    System.err.println("Pre: frame #: " + frame.getSequenceNumber() +
    ", time: " + ((float)t)/100f +
    ", len: " + frame.getLength());
    * The code for a pass through codec.
    // We'll advertize as supporting all video formats.
    protected Format supportedIns[] = new Format [] {
    new VideoFormat(null)
    // We'll advertize as supporting all video formats.
    protected Format supportedOuts[] = new Format [] {
    new VideoFormat(null)
    Format input = null, output = null;
    public String getName() {
    return "Pre-Access Codec";
    // No op.
    public void open() {
    // No op.
    public void close() {
    // No op.
    public void reset() {
    public Format [] getSupportedInputFormats() {
    return supportedIns;
    public Format [] getSupportedOutputFormats(Format in) {
    if (in == null)
    return supportedOuts;
    else {
    // If an input format is given, we use that input format
    // as the output since we are not modifying the bit stream
    // at all.
    Format outs[] = new Format[1];
    outs[0] = in;
    return outs;
    public Format setInputFormat(Format format) {
    input = format;
    return input;
    public Format setOutputFormat(Format format) {
    output = format;
    return output;
    public int process(Buffer in, Buffer out) {
    // This is the "Callback" to access individual frames.
    accessFrame(in);
    // Swap the data between the input & output.
    Object data = in.getData();
    in.setData(out.getData());
    out.setData(data);
    // Copy the input attributes to the output
    out.setFlags(Buffer.FLAG_NO_SYNC);
    out.setFormat(in.getFormat());
    out.setLength(in.getLength());
    out.setOffset(in.getOffset());
    return BUFFER_PROCESSED_OK;
    public Object[] getControls() {
    return new Object[0];
    public Object getControl(String type) {
    return null;
    public class PostAccessCodec extends PreAccessCodec {
    // We'll advertize as supporting all video formats.
    public PostAccessCodec() {
    supportedIns = new Format [] {
    new RGBFormat()
    * Callback to access individual video frames.
    void accessFrame(Buffer frame) {
    // For demo, we'll just print out the frame #, time &
    // data length.
    if(!alreadyPrnt)
    BufferToImage stopBuffer = new BufferToImage((VideoFormat)frame.getFormat());
    System.out.println(stopBuffer.toString());
    System.out.println("CreatedBuffer");
    System.out.println("Created stopImage");
    Image stopImage = stopBuffer.createImage(frame);
    System.out.println("stopImage is full");
    if(stopImage == null)
    System.out.println("stopImage is null");
    try
    BufferedImage outImage = new BufferedImage (320, 240,BufferedImage.TYPE_INT_RGB);
    Graphics og = outImage.getGraphics();
    og.drawImage(stopImage,0,0,320,240,null);
    //prepareImage(outImage,rheight,rheight, null);
    Iterator writers = ImageIO.getImageWritersByFormatName("jpg");
    ImageWriter writer = (ImageWriter)writers.next();
    //Once an ImageWriter has been obtained, its destination must be set to an ImageOutputStream:
    File f = new File("frames\\"+frame.getSequenceNumber() + ".jpg");
    ImageOutputStream ios = ImageIO.createImageOutputStream(f);
    writer.setOutput(ios);
    //Finally, the image may be written to the output stream:
    //BufferedImage bi;
    //writer.write(imagebi);
    writer.write(outImage);
    ios.close();
    catch(IOException e)
    System.out.println("Error :" + e);
    //alreadyPrnt = true;
    long t = (long)(frame.getTimeStamp()/10000000f);
    System.err.println("Post: frame #: " + frame.getSequenceNumber() +
    ", time: " + ((float)t)/100f +
    ", len: " + frame.getLength());
    if(frame.getLength()==0){p.stop();p.close();p.deallocate();}
    public String getName() {
    return "Post-Access Codec";
    this code capture every frame from movie but it never ends running and i can't invoke any metod after grabing frames becouse its still running. How Can I stop this to enter the next metod.
    Please help me
    thx

    Answering sam04 question Yes this make that every frame is captured
    Back to my problem :
    I invoke caputre frames class from other class like this:
    Film2ramki f2r=new Film2ramki();
    f2r.startnow(pathtomov);
    System.out.println("End of capture");...........................
    So when capturing frames ends it should print "End of caputre" but I get something like this :
    JPEG, 320x240, FrameRate=13.0, Length=18198
    Video format: JPEG, 320x240, FrameRate=13.0, Length=18198
    Pre: frame #: 1, time: 0.0, len: 16282
    Post: frame #: 1, time: 0.0, len: 230400
    End of capture
    Pre: frame #: 2, time: 0.07, len: 16471
    Post: frame #: 2, time: 0.07, len: 230400
    Pre: frame #: 3, time: 0.15, len: 16620
    Post: frame #: 3, time: 0.15, len: 230400
    Pre: frame #: 4, time: 0.23, len: 16541
    Post: frame #: 4, time: 0.23, len: 230400
    Pre: frame #: 5, time: 0.3, len: 16749
    Pre: frame #: 18, time: 1.3, len: 15708
    Post: frame #: 18, time: 1.3, len: 230400
    Pre: frame #: 18, time: 1.3, len: 0
    Post: frame #: 18, time: 1.3, len: 0this is strange becouse it captures 1 frame end print "End of capture" and then its capures other frames. Why ?????

  • Problem with Logic XS Key, PLEASE HELP

    I use my G4 Powerbook laptop for live. I am running most recent version of logic.
    What happens is that Logic will load up fine, but then for no apparent reason logic will come up with an error message saying that the logic key has been removed, but i have not touched it!! I then have to restart logic.
    PLease help i have to get this sorted ASAP cuz i have a gig tomorrow nite. Cheers guys

    Hmm, it does it on both USB ports? And you haven't noticed any problems with other USB gear on those ports?
    When the key is next not recognised by Logic, go into the system profiler and find your USB port that the XS key is on - the XS key will be labelled when it's functioning correctly. Is it still recognised by the computer, or has it gone completely?

  • Problem with simple drawing program - please help!

    Hi,
    I've only just started using Java and would appreciate some help with a drawing tool application I'm currently trying to write.
    The problem is that when the user clicks on a button at the bottom of the frame, they are then supposed to be able to produce a square or circle by simply clicking on the canvas.
    Unfortunately, this is not currently happening.
    Please help!
    The code for both classes is as follows:
    1. DrawToolFrame Class:
    import java.awt.*;
    import java.awt.event.*;
    public class DrawToolFrame extends Frame
    implements WindowListener
    DrawToolCanvas myCanvas;
    public DrawToolFrame()
    setTitle("Draw Tool Frame");
    addWindowListener(this);
    Button square, circle;
    Panel myPanel = new Panel();
    square = new Button("square"); square.setActionCommand("square");
    circle = new Button("circle"); circle.setActionCommand("circle");
    myPanel.add(square); myPanel.add(circle);
    add("South", myPanel);
    DrawToolCanvas myCanvas = new DrawToolCanvas();
    add("Center", myCanvas);
    square.addMouseListener(myCanvas);
    circle.addMouseListener(myCanvas);
    public void windowClosing(WindowEvent event) { System.exit(0); }
    public void windowOpened(WindowEvent event) {}
    public void windowIconified(WindowEvent event) {}
    public void windowDeiconified(WindowEvent event) {}
    public void windowClosed(WindowEvent event) {}
    public void windowActivated(WindowEvent event) {}
    public void windowDeactivated(WindowEvent event) {}
    2. DrawToolCanvas Class:
    import java.awt.*;
    import java.awt.event.*;
    public class DrawToolCanvas
    extends Canvas
    implements MouseListener, ActionListener {
    String drawType="square";
    Point lastClickPoint=null;
    public void drawComponent(Graphics g) {
    if (lastClickPoint==null) {
    g.drawString("Click canvas first",20,20);
    } else {
    if (drawType.equals("square")) {
    square(g);
    else if (drawType.equals("circle")) {
    circle(g);
    public void actionPerformed(ActionEvent event) {
    if (event.getActionCommand().equals("square"))
    drawType="square";
    else if (event.getActionCommand().equals("circle"))
    drawType="circle";
    repaint();
    public void mouseReleased(MouseEvent e) {
    lastClickPoint=e.getPoint();
    public void square(Graphics g) {
    g.setColor(Color.red);
    g.fillRect(lastClickPoint.x, lastClickPoint.y, 40, 40);
    g.setColor(Color.black);
    public void circle(Graphics g) {
    g.setColor(Color.blue);
    g.fillOval(lastClickPoint.x, lastClickPoint.y, 40, 40);
    g.setColor(Color.black);
    public void mouseEntered(MouseEvent e) {}
    public void mouseExited(MouseEvent e) {}
    public void mousePressed(MouseEvent e) {}
    public void mouseClicked(MouseEvent e) {}
    Any help would be appreciated!

    Some of the problems:
    1) nothing calls drawComponent(Graphics g)
    2) Paint(Graphics g) has not been overriden
    3) myCanvas is declared twice: once as an instance variable to DrawToolFrame, and once local its constructor. Harmless but distracting.

  • Problem with Desktop Skype freezing, please help

    2 days ago, Dec. 23rd, I started up Skype as usual, but after about a minute, it froze, soon becoming "not responding". I opened Task Manager to try to end it manually, but Task Manager quickly became "not responding" as well, as did Chrome when I opened it when I tried to search for a solution. This had never happened before, and since has only happened when I am trying to use Skype for Desktop. I tried uninstalling and reinstalling multiple times, switching to an older version, and running an antivirus scan to see if a virus might be causing the problem, but none of this helped, and it still freezes itself along with all my other programs, forcing me to restart my computer if I want to be able to use it. I have been using Windows 8 Skype instead today, with no problems, but Skype for Desktop is more convenient for me, and I would very much appreciate it if someone would please help me.
    Also, I don't know if this might be related to the problem, but today I had Task Manager open before starting Skype for Desktop, hoping I could end it before it caused everything to freeze (I couldn't), I was able to see before it froze that Skype was using 100% of my Disk.
    Solved!
    Go to Solution.

    Please,  run the DirectX diagnostics tool.
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Weird problems with kt7 turbo (6330), PLEASE HELP!!

    I just this last week purchased an older kt7 turbo (6330) to upgrade my brother's computer. I am pairing this with an Athlon XP 1700 processor. After installing all the hardware and booting up the computer, I started getting various errors. Sometimes the screen would just flash all kinds of colors, sometimes it would say something about a bios check not detecting the a: drive followed by insistent beeping, sometimes it just wouldn't start at all. After much hassle, I finally got the newest bios installed from MSI that claimed to fix some stuff between this motherboard and an Athlon XP 1700. (I didn't at the time suspect this to be the true culprit) Finally on Sunday afternoon, after a cold start, it magically started up and I finally got Windows XP installed. I found some drivers on the reference CD that seemed to help some. But now, after about 5-10 minutes, depending on the software being used, the computer will just shut itself down after a 60 second warning message. When I try reseting it, I start getting all of those weird errors again. The only way to get the computer to start up normally again is to let it sit for about 10-15 minutes to cool down, and then cold start it. At which point it will work again for another 10-15 minutes and shut down again. I am getting SOOOOO tired of these MSI motherboards not working for me!! I think MSI has a personal problem with me. PLEASE help me!! By the way, I don't think it's power related, cause I just put in a brand new P4 certified 400Watt powersupply.

    Sounds like your heatsink on your CPU may not be seated correctly. Try pulling it, cleaning, reapplying compound, and reseating it.

  • Problem with touch screen. Please help!!!

    Ok I bought an iPad about a month ago now. At first it worked perfectly, runs apps smoothly, etc. But then something happened to the touch screen, it just randomly like pressed itself, it went into apps on its own and zoom in and out while on safari just randomly. For about 3 weeks this issue disappeared, but now it happens again but more constantly and for more time please help. I think this video will explain my issue more clearly. http://www.youtube.com/watch?v=e1qyvHV43yg Please I just don't want this issue anymore. Any help will be appreciated.

    OK...so it seems that many iPad owners have the same issue with the screen "self registering touches". You'll see multiple posts on the forums from "self touching" to "self registering" to "freaking out".
    Well, I also have this annoying problem.
    Trust me when I say that cleaning the screen, resets, charging, deleting apps, static, and so on haven't anything to do with causing or resolving this issue.
    Here is a little tip to show you what is actually going on. Download a free app that shows you "screen touches". Harbor Master is one that I've heard of that led me to this...but I prefer to use that pocket pond app...only because I can just sit back and watch without having to move boats around.
    ...When you notice the problem, open up the app. I've noticed on mine that it only self registers touches along the side. Exact location is (when holding iPad in landscape position, home button on left) along the top of the screen...from top middle to the top right corner.
    I have called Apple...the tech was polite and tried to help. ...But the only suggestions were to reset (as i've already done) then if that didn't work I was to do a reload while sync'd. He stated that if none of that worked then to take it to the store...
    Since I am in Florida for the month and the nearest Apple store is 6hrs away...I will wait until I go back home HI and visit a store that is close by.

  • PROBLEM with a PEARL 9105 please help me

    Hi ,I've got  a PEARL 9105 (with 14 characters) and I had a problem with it so I made an upgrade of it but when I upgraded it the phone is regognize by the Os as a 9100 with 20 characters. So I can't write correctly an sms or mail or anything . I tried to upgrade again but without success. Please HELP ME.

    Hey dumpeal2,
    Welcome to the forums.
    Try following the instructions here to backup and do a clean reload of your device software. http://bbry.lv/cKy9A0 if you get the same result then I would suggest contacting your service provider and have them escalate your issue to RIM. 
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Problem with my code!Please help:(

    Hi
    Here is the final code to read each byte at a time (using buffered input stream)from a remote sensed image and then store the values in 3 arrays . The image data (it is a remote-sensed image with 3 bands) are represented as a continuous byte stream band sequential. The format of the header is as follows:
    Bands (int)
    Rows (int)
    Cols (int)
    Bits-per-pixel (int)
    and then the image data follow.
    the code is:
    import java.io.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.Panel.*;
    import java.util.*;
    import java.awt.image.MemoryImageSource.*;
    public class Reader {
    public static void main (String args []){
    int numBands;
    int rows;
    int cols;
    int bpp;
    byte[] band1;
    byte[] band2;
    byte[] band3;
    try {
    FileInputStream fis = new FileInputStream ("BROM3.mar");
    BufferedInputStream bis = new BufferedInputStream (fis);
    DataInputStream dis = new DataInputStream (bis);
    numBands = dis.readInt();
    rows = dis.readInt();
    cols = dis.readInt();
    bpp = dis.readInt();
    if((dis.readByte() !='.') ||
    (dis.readByte() !='\r') ||
    (dis.readByte() !='.'))
    throw new Exception ("Bad format: end-of-header expected !");
    int nBytes = rows*cols*bpp/8;
    band1 = new byte[nBytes];
    band2 = new byte[nBytes];
    band3 = new byte[nBytes];
    for (int j=0; j<nBytes; j++) {
    band1[j] = dis.readByte();
    for (int j=0; j<nBytes; j++) {
    band2[j] = dis.readByte();
    for (int j=0; j<nBytes; j++) {
    band3[j] = dis.readByte();
    } catch (Exception e) {
    e.printStackTrace();}
    * Creates three objects of the ImagePanel class
    * and sets the size of both.
    ImagePanel panel1 = new ImagePanel() ;
    ImagePanel panel2 = new ImagePanel() ;
    ImagePanel panel3 = new ImagePanel() ;
    panel1.setSize (512,512);
    panel2.setSize (512,512);
    panel3.setSize (512,512);
    * Converts the 3 arrays into
    * images using the MemoryImageSource class and the Panel's
    * createImage method.
    Image green = panel1.createImage(new MemoryImageSource(512,512,band1[],0,512));
    Image blue = panel2.createImage(new MemoryImageSource(512,512,band2[],0,512));
    Image nir = panel1.createImage(new MemoryImageSource(512,512,band3[],0,512));
    * Displays the images.
    panel1.setDisplayImage (green);
    panel2.setDisplayImage (blue);
    panel3.setDisplayImage (nir);
    * Creates two Frame objects to display the panels in and
    * sets the size of both.
    Frame frame1 = new Frame ();
    frame1.setSize (512,512) ;
    frame1.add (panel1);
    Frame frame2 = new Frame();
    frame2.setSize (512,512);
    frame2.add (panel2);
    Frame frame3 = new Frame();
    frame3.setSize (512,512);
    frame3.add (panel3);
    * Makes the panels and the frames visible
    * and sets the location of the frames.
    panel1.setVisible (true);
    panel2.setVisible (true);
    panel3.setVisible (true);
    frame1.setVisible (true);
    frame1.setLocation (100,100);
    frame2.setVisible (true);
    frame2.setLocation (512,100);
    frame3.setVisible (true);
    frame3.setLocation (1024,100);
    } //End of main
    there is a problem especially in the MemoryImageSource bit.Can you please help me?
    Thank you very much
    Maria

    It usually helps to know what the problem is before trying to solve it. Perhaps you could tell us?

Maybe you are looking for

  • GL Account drill down crashing in 8.8

    Forum, In 8.8 PL17 when in the Chart of accounts screen, if any user tries to drill down into the account balance they get the following message: System Message (-100) Anything but a memory problem. This was not an issue on 2005 for this particular d

  • _TARGET_PRODUCT_VERSION_ and _TARGET_FILE_VERSION_ bug

    CVI 2010 has two new predefined macros: _TARGET_PRODUCT_VERSION_ and _TARGET_FILE_VERSION_ From CVI help: _TARGET_FILE_VERSION_ is defined as the value in the File Version option of the Version Info dialog box. This macro does not include increment

  • Box with the dot

    What does the box with the dot mean (where Edge or Wifi indicator is on the top)

  • Can I use apple tv in Europe

    I'd like to bring an Apple TV to Germany and leave it there with my Dad to use with a new iPad. Will I be able to hook it up to his relatively new TV using HDMI like in the US? What is the best way to switch out the power cord for their 220V plugs? I

  • My phone refuses to charge

    my phone will not charge and all that has happened is it got a little wet.  everything else is working fine except when i plug it up it will not charge!