Multimap Error in Solaris C++ V5.0

I am experiencing an error with multimap on the CC version 5.0 compiler.
The worrying thing is that this error does not occur on gcc
$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
$ gcc -g -I -fPIC -DOS_SOLARIS -D_REENTRANT -D__OMNIORB4__ -DUsePthread -D__sparc -D__sunos__ -D__OSVERSION__=5 -Dsolaris2 -c err.cpp
$ rm err.o
$ CC -g -I. -KPIC -DOS_SOLARIS -D_REENTRANT -D__OMNIORB4__ -DUsePthread -D__sparc -D__sunos__ -D__OSVERSION__=5 -Dsolaris2 -template=wholeclass -instances=extern -c err.cpp
"err.cpp", line 10: Error: Could not find a match for std::multimap<int, int, std::less<int>, std::allocator<std::pair<const int, int>>>::insert(std::pair<int, int>).
1 Error(s) detected.
$ CC -V
CC: WorkShop Compilers 5.0 98/12/15 C++ 5.0
The program consists of little more than 2 lines in a main (and I have even removed strings to create the simplemap possible).
1 #include <map>
2 #include <string>
3
4
5 using namespace std;
6
7 int main( int argc, char ** argv)
8 {
9 multimap<int, int> myIntMMap ;
10 myIntMMap.insert( (std::pair<int, int>) make_pair( (int)1, (int)2)) ;
11 }
Elsewhere in the forum, I have seen people applying const to multimap or pair parameters to get a solution (workaround), but I have tried most combinations without success. Can anyone help?

No, do NOT do that.
If you attempt to modify any of the library configuration macros, you wind up with declarations in the headers that do not match what is in the library.
In addition, the otherwise dead code enabled in the headers has never been compiled or tested by Sun. If you run into problems, you are on your own.
If you need a more standard-conforming library, you can use STLport that also comes with the compiler. Add the option
-library=stlport4
to every CC command line, compiling and linking.
As noted in the documentation, the default libCstd and STLport are mutually exclusive. You cannot use both in the same program.

Similar Messages

  • Oracle 10G installation problem, and errors on SOLARIS 10 x86

    HI.
    I installed the last version of oracle 10g on a x86 SOLARIS 10 system.
    When the installer arrived at Configuration assistants, the window is stopping, and I can't see forward. But when I look at the installAction.log, the installation is checked as OK (?).
    When I launch sqlplus, and startup inside, it is said the ora-00205 error (problem with control files), and in the end, I'm really suprised there's no the database I told the installer to create at the beginning. But should I be surprised? As I didn't see really the end of the installation, and the installer didn't propose me the PATH where to install the DB, well, I guess there's something wrong.
    Could anybody tell me how to solve these problems, please?
    Thank you :)

    Two options:
    1. Create database using DBCA - execute $ORACLE_HOME/bin/dbca
    2. Create database manually (without DBCA)

  • AWT error on Solaris, please help

    Hello all,
    I have designed a class to convert any picture format to WBMP using Jimi via a web browser.
    The user specifies the file to convert on his computer and presses a OK button. Then, the file is converted and saved to
    the server.
    When running it on a windows computer, everything is ok. But I try to run it on my solaris box, I got the following error :
    Error: 500
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
         at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
         at sun.awt.motif.MToolkit.(MToolkit.java:57)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at java.awt.Toolkit$2.run(Toolkit.java:512)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:503)
         at com.sun.jimi.core.Jimi.getImage(Jimi.java:334)
         at com.sun.jimi.core.Jimi.getImage(Jimi.java:323)
         at com.mcms.util.Convert2Wbmp.loadImage(Convert2Wbmp.java:62)
         at com.mcms.util.Convert2Wbmp.convert(Convert2Wbmp.java:110)
         at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)
         at org.apache.tomcat.core.Handler.service(Handler.java:223)
         at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:911)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:824)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:152)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:438)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:505)
         at java.lang.Thread.run(Thread.java:484)
    Note that the 6000 port is open on my solaris server :
    6000/tcp open X11
    What should I do ?
    Here's the code, I hope we're allowed to post it ;) :
    ==================
    Convert2WBMP.java
    ==================
    import com.sun.jimi.core.Jimi;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.PixelGrabber;
    import java.io.*;
    import java.io.PrintStream;
    import java.util.EventObject;
    import java.util.StringTokenizer;
    * This handles an individual incoming request. It returns a bytes etc from remote server.
    * @version 1.0
    public class Convert2Wbmp extends Frame
    private static int width;
    private static int height;
    private static Image image;
    private static int buffer[];
    public Convert2Wbmp()
    private Image loadImage(String s, boolean flag)
    Image image1 = null;
    try
    if(flag)
    image1 = Jimi.getImage(s);
    else
    image1 = Toolkit.getDefaultToolkit().getImage(ClassLoader.getSystemResource(s));
    MediaTracker mediatracker = new MediaTracker(this);
         mediatracker.addImage(image1, 0);
         mediatracker.waitForID(0);
    catch(Exception _ex)
         _ex.printStackTrace();
    return null;
    if(image1.getWidth(null) == -1 || image1.getHeight(null) == -1){
    return null;
    else
    return image1;
    private static Image loadImage(InputStream s)
    //System.out.println("now loading Image...");
    Image image1 = null;
    try
         image1 = Jimi.getImage(s);
         MediaTracker mediatracker = new MediaTracker(new Convert2Wbmp());
         mediatracker.addImage(image1, 0);
         mediatracker.waitForID(0);
    catch(Exception _ex)
         _ex.printStackTrace();
    return null;
    if(image1.getWidth(null) == -1 || image1.getHeight(null) == -1)
    return null;
    else
    return image1;
    private static void makeWBMP()
    if(image != null)
    buffer = new int[width * height];
    try
    PixelGrabber pixelgrabber = new PixelGrabber(image.getScaledInstance(width, height, 1), 0, 0, width, height, buffer, 0, width);
    pixelgrabber.grabPixels();
    catch(Exception exception)
         exception.printStackTrace();
    public static void convert(InputStream picSource,OutputStream target) throws Exception
    if(picSource != null)
         Image image1 = null;
         try
         image1 = loadImage(picSource);
         }catch(Exception e){ }
         if(image1 == null)
         System.out.println("Failed to load image!");
         return;
         image = image1;
         width = image1.getWidth(null);
         height = image1.getHeight(null);
         makeWBMP();
         try
         WBMP.save(buffer, width, height, 30, target);
         }catch (Exception e)
         e.printStackTrace();
    public static void main(String[] arg)
    try
    String target = "target.wbmp";
    String source = "source.jpg";
    Convert2Wbmp.convert( new FileInputStream( new File(source)), new FileOutputStream(target) );
    System.out.println("convertion finish!!");
    catch(Exception err )
    err.printStackTrace();
    ============
    WBMP.java
    ============
    import java.awt.*;
    import java.awt.image.MemoryImageSource;
    import java.io.*;
    public abstract class WBMP
    public WBMP()
    public static Image errorDiff(int ai[], int i, int j, int k, Color color, boolean flag)
    //System.out.println(" [WBMP]-----errorDiff");
    double ad[] = new double[i * j];
    for(int l = 0; l < i * j; l++)
    ad[l] = greypixel(ai[l]);
    double d = 42D;
    for(int i1 = 0; i1 < j; i1++)
    for(int j1 = 0; j1 < i; j1++)
    double d1 = ad[i1 * i + j1];
    if(ad[i1 * i + j1] > (double)k)
    ad[i1 * i + j1] = 255D;
    else
    ad[i1 * i + j1] = 0.0D;
    double d2 = d1 - ad[i1 * i + j1];
    if(j1 < i - 1)
    ad[i1 * i + j1 + 1] = ad[i1 * i + j1 + 1] + (8D / d) * d2;
    if(j1 < i - 2)
    ad[i1 * i + j1 + 2] = ad[i1 * i + j1 + 2] + (4D / d) * d2;
    if(i1 < j - 1 && j1 > 1)
    ad[((i1 + 1) * i + j1) - 2] = ad[((i1 + 1) * i + j1) - 2] + (2D / d) * d2;
    if(i1 < j - 1 && j1 > 0)
    ad[((i1 + 1) * i + j1) - 1] = ad[((i1 + 1) * i + j1) - 1] + (4D / d) * d2;
    if(i1 < j - 1)
    ad[(i1 + 1) * i + j1] = ad[(i1 + 1) * i + j1] + (8D / d) * d2;
    if(i1 < j - 1 && j1 < i - 1)
    ad[(i1 + 1) * i + j1 + 1] = ad[(i1 + 1) * i + j1 + 1] + (4D / d) * d2;
    if(i1 < j - 1 && j1 < i - 2)
    ad[(i1 + 1) * i + j1 + 2] = ad[(i1 + 1) * i + j1 + 2] + (2D / d) * d2;
    if(i1 < j - 2 && j1 > 1)
    ad[((i1 + 2) * i + j1) - 2] = ad[((i1 + 2) * i + j1) - 2] + (1.0D / d) * d2;
    if(i1 < j - 2 && j1 > 0)
    ad[((i1 + 2) * i + j1) - 1] = ad[((i1 + 2) * i + j1) - 1] + (2D / d) * d2;
    if(i1 < j - 2)
    ad[(i1 + 2) * i + j1] = ad[(i1 + 2) * i + j1] + (4D / d) * d2;
    if(i1 < j - 2 && j1 < i - 1)
    ad[(i1 + 2) * i + j1 + 1] = ad[(i1 + 2) * i + j1 + 1] + (2D / d) * d2;
    if(i1 < j - 2 && j1 < i - 2)
    ad[(i1 + 2) * i + j1 + 2] = ad[(i1 + 2) * i + j1 + 2] + (1.0D / d) * d2;
    for(int k1 = 0; k1 < i * j; k1++)
    int l1 = (int)ad[k1];
    if(!flag)
    if("1".equals(handlesinglepixel(l1, k)))
    ai[k1] = color.getRGB();
    else
    ai[k1] = Color.black.getRGB();
    } else
    if("1".equals(handlesinglepixel(l1, k)))
    ai[k1] = Color.black.getRGB();
    else
    ai[k1] = color.getRGB();
    return (new Canvas()).createImage(new MemoryImageSource(i, j, ai, 0, i));
    public static Image errorDiff2(int ai[], int i, int j, int k, Color color, boolean flag)
    //System.out.println(" [WBMP]-----errorDiff");
    char c = '\377';
    byte byte0 = 2;
    double ad[] = new double[i * j];
    for(int l = 0; l < i * j; l++)
    ad[l] = greypixel(ai[l]);
    int i1 = ((c + 1) * 2) / byte0;
    int j1 = c / (byte0 - 1);
    int k1 = (9 * c) / 32;
    int ai1[] = new int;
    for(int k2 = 0; k2 < i; k2++)
    ai1[k2] = k1;
    for(int l2 = 0; l2 < j; l2++)
    int i3 = (7 * c) / 32;
    int k3 = c / 32;
    for(int i4 = 0; i4 < i; i4++)
    int i2 = (int)ad[l2 * i + i4];
    i2 += i3 + ai1[i4];
    int l1 = (i2 / i1) * j1;
    if(l1 > c)
    l1 = c;
    ad[l2 * i + i4] = l1;
    i2 -= l1;
    int j2 = i2 >> 4;
    i3 = 7 * j2;
    ai1[i4] = 5 * j2 + k3;
    if(i4 > 0)
    ai1[i4 - 1] += 3 * j2;
    k3 = i2 - 15 * j2;
    for(int j3 = 0; j3 < i * j; j3++)
    int l3 = (int)ad[j3];
    if(!flag)
    if("1".equals(handlesinglepixel(l3, 30)))
    ai[j3] = color.getRGB();
    else
    ai[j3] = Color.black.getRGB();
    } else
    if("1".equals(handlesinglepixel(l3, 30)))
    ai[j3] = Color.black.getRGB();
    else
    ai[j3] = color.getRGB();
    return (new Canvas()).createImage(new MemoryImageSource(i, j, ai, 0, i));
    private static int greypixel(int i)
    int j = i >> 24 & 0xff;
    int k = i >> 16 & 0xff;
    int l = i >> 8 & 0xff;
    int i1 = i & 0xff;
    return (k + l + i1) / 3;
    public static String handlesinglepixel(int i, int j)
    //      System.out.println(" [WBMP]-----handlesinglepixel");
    int k = i >> 24 & 0xff;
    int l = i >> 16 & 0xff;
    int i1 = i >> 8 & 0xff;
    int j1 = i & 0xff;
    if((l + i1 + j1) / 3 > j)
    return "1";
    else
    return "0";
    public static Image open(String s)
    throws FileNotFoundException
         //System.out.println(" [WBMP]-----open");
    Image image = null;
    FileInputStream fileinputstream = new FileInputStream(s);
    try
    fileinputstream.read();
    fileinputstream.read();
    int i = readMultiByteInteger(fileinputstream);
    int j = readMultiByteInteger(fileinputstream);
    int ai[] = new int[i * j];
    int k = 0;
    for(int l = 0; l < j; l++)
    for(int i1 = 0; i1 < i / 8; i1++)
    int j1 = fileinputstream.read();
    String s1 = Integer.toBinaryString(j1);
    for(int l1 = 0; l1 < 8 - s1.length(); l1++)
    ai[k++] = Color.black.getRGB();
    for(int i2 = 0; i2 < s1.length(); i2++)
    if(s1.charAt(i2) == '0')
    ai[k++] = Color.black.getRGB();
    else
    ai[k++] = Color.white.getRGB();
    if(i % 8 > 0)
    int k1 = fileinputstream.read();
    String s2 = Integer.toBinaryString(k1);
    String s3 = "";
    for(int j2 = 0; j2 < 8 - s2.length(); j2++)
    s3 = s3 + '0';
    s2 = s3 + s2;
    for(int k2 = 0; k2 < i % 8; k2++)
    if(s2.charAt(k2) == '0')
    ai[k++] = Color.black.getRGB();
    else
    ai[k++] = Color.white.getRGB();
    fileinputstream.close();
    image = (new Canvas()).createImage(new MemoryImageSource(i, j, ai, 0, i));
    catch(Exception _ex)
         _ex.printStackTrace();
    try
    fileinputstream.close();
    catch(Exception _ex2) {_ex2.printStackTrace(); }
    return null;
    return image;
    public static int readMultiByteInteger(InputStream inputstream)
    throws IOException
    //System.out.println(" [WBMP]-----readMultiByteInteger");
    StringBuffer stringbuffer = new StringBuffer("");
    StringBuffer stringbuffer1;
    do
    stringbuffer1 = new StringBuffer(Integer.toBinaryString(inputstream.read()));
    int i = 8 - stringbuffer1.length();
    for(int j = 0; j < i; j++)
    stringbuffer1.insert(0, '0');
    stringbuffer.append(stringbuffer1.substring(1));
    } while(stringbuffer1.charAt(0) != '0');
    return Integer.parseInt(stringbuffer.toString(), 2);
    public static boolean save(int ai[], int i, int j, int k, OutputStream outputstream)
         //System.out.println(" [WBMP]-----save");
    try
    outputstream.write(0);
    outputstream.write(0);
    writeMultiByteInteger(outputstream, i);
    writeMultiByteInteger(outputstream, j);
    String s = "";
    for(int l = 0; l < j; l++)
    for(int i1 = 0; i1 < i; i1++)
    s = s + handlesinglepixel(ai[l * i + i1], k);
    if(s.length() == 8)
    outputstream.write(Integer.parseInt(s, 2));
    s = "";
    if(s.length() > 0)
    int j1 = 8 - s.length();
    for(int k1 = 0; k1 < j1; k1++)
    s = s + "0";
    outputstream.write(Integer.parseInt(s, 2));
    s = "";
    catch(NumberFormatException _ex)
    return false;
    catch(IOException _ex)
    return false;
    return true;
    public static Image threshold(int ai[], int i, int j, int k, Color color, boolean flag)
    int ai1[] = new int[i * j];
    int l = 0;
    for(int i1 = 0; i1 < j; i1++)
    for(int j1 = 0; j1 < i; j1++)
    if(!flag)
    if("1".equals(handlesinglepixel(ai[l], k)))
    ai1[l++] = color.getRGB();
    else
    ai1[l++] = Color.black.getRGB();
    } else
    if("1".equals(handlesinglepixel(ai[l], k)))
    ai1[l++] = Color.black.getRGB();
    else
    ai1[l++] = color.getRGB();
    ai = ai1;
    return (new Canvas()).createImage(new MemoryImageSource(i, j, ai1, 0, i));
    public static void writeMultiByteInteger(OutputStream outputstream, int i)
    throws IOException
    String s = Integer.toBinaryString(i);
    int j = s.length();
    int k = j / 7;
    if(j % 7 != 0)
    k++;
    int ai[] = new int[k];
    int l = j;
    for(int i1 = k - 1; i1 >= 0; i1--)
    StringBuffer stringbuffer = new StringBuffer("");
    for(int k1 = 0; k1 < 7; k1++)
    if(--l < 0)
    stringbuffer.insert(0, '0');
    else
    stringbuffer.insert(0, s.charAt(l));
    if(i1 == k - 1)
    stringbuffer.insert(0, '0');
    else
    stringbuffer.insert(0, '1');
    ai[i1] = Integer.parseInt(stringbuffer.toString(), 2);
    for(int j1 = 0; j1 < ai.length; j1++)
    outputstream.write(ai[j1]);

    Hi
    I am working on a project in which I have to perform a task some thing similar to bluemountain.com. the way, they give option to select a background image, then have to fill a form in which one type its message and then on preview, they can see an image having the text written on it.
    Now I am doing to do this thing using JIMI. So far, what I have done is, I was able to create a jpg file and write several text on different coordinates. But one thing I want to do is, I want to load an existing file and then write text on it. I have tried this code. public static void main(String[] ar)
    try
    Frame frame = new Frame();
    frame.addNotify();
    Image image = frame.createImage(100,30);
    Graphics graphic = image.getGraphics();
    graphic.setFont(new Font("Times New Roman",Font.BOLD,20));
    graphic.setColor(Color.black);
    graphic.drawString("Hi Buddy",10,20);
    graphic.drawString("Cool",50,25);
    Jimi.putImage("image/jpg",image,"try.jpg");
    frame.removeNotify();
    catch(Exception e)
    e.printStackTrace();
    This is the code which creates a new image whereas I want to load an existing image and then write text on it.
    I have already used this code in the upper code.
    Image image = Jimi.getImage("filename");
    But as response, I get the following error msg:
    java.lang.IllegalAccessError:
    getGraphics() only valid for images
    created with createImage(w, h)
    now this is the main problem when I am trying to do the stuff. I m kinda new into this stuff. I tried several things but no luck so far. I have seen that u have already worked on these kinda things so thought you might help me out to get the thing done. Please do reply me with some solution.
    Regards,
    Faisal

  • Error on solaris

    Can anyone help me with this
    Hi all,
    I was facing a strange error while trying to run build after the "make depend" and "make all" was sucessful in solaris 5.4.
    When I tried to attach dbx and run the build on solaris 5.4 release , it shows a wrong a memory address which is cascaded and dumps . Neither of the memory is freed.
    dbx: cannot access address 0xffffffffffffffd4
    When I tried to run with purify it shows:
    UMR: Uninitialized memory read:
    * This is occurring while in:
    _writev [libc.so.1]
    ts_tcp_writev [ts_tcp.c:401]
    ts_send [trans.c:512]
    check_pending_writes [perm.c:956]
    PermPoll [perm.c:2233]
    flush_perm [cfg.c:839]
    * Reading 2092 bytes from 0xff322fdc (misaligned) between the heap and the stack (2060 bytes at 0xff322ffc uninit).
    * Address 0xff322fdc is global variable "pack_buff".
    This is defined in perm.c.
    SBW: Stack array bounds write:
    * This is occurring while in:
    memcpy [rtlib.o]
    smcallback [mgmt_sm.c:2415]
    MakeCallback [perm.c:1814]
    client_read [perm_client.c:295]
    ts_poll [ts_poll.c:336]
    PermPoll [perm.c:2263]
    * Writing 2000 bytes to 0xffbed130.
    * Frame pointer 0xffbed530
    * Address 0xffbed130 is local variable "mymsg" in function smcallback.
    MSE: Memory segment error:
    * This is occurring while in:
    MakeCallback [perm.c:1826]
    * Accessing a memory range that crosses a memory segment boundary.
    Addressing 0xffffffdc for 4 bytes ending at 0xffffffe0,
    which is neither in the heap nor the main stack.
    COR: Fatal core dump:
    * This is occurring while in:
    MakeCallback [perm.c:1826]
    * Received signal 11 (SIGSEGV - Segmentation Fault)
    * Faulting address = 0xffffffdc
    * Signal mask: (SIGSEGV)
    * Pending signals:
    Purify: Searching for all memory leaks...
    Memory leaked: 0 bytes (0%); potentially leaked: 0 bytes (0%)
    Purify Heap Analysis (combining suppressed and unsuppressed blocks)
    Blocks Bytes
    Leaked 0 0
    Potentially Leaked 1 8200
    In-Use 282 970327
    Total Allocated 283 978527
    Can anybody please let me know :
    1.why this happens and why this error occurs.
    Accessing a memory range that crosses a memory segment boundary.
    Addressing 0xffffffdc for 4 bytes ending at 0xffffffe0,
    which is neither in the heap nor the main stack.
    2. Why this cascading of memory address is happening.
    null

    What compiler are you using?
    The Calendar SDK (9.0.4.2) is built and certified using Sun Workshop 5.0. It's possible (even likely) that using a compiler with a different major version number will cause problems due to the different runtime environments.
    Graham

  • 10g installation error on Solaris 10 X86

    Dear All,
    i have downloded a 10g( solaris x86) from oracle site to install Solaris 10 x86..
    After following installation document steps when i execute command ./runinsta follwing error occurs.
    **********************************output**************************
    $ ./runinsta
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be 5.10. Actual 5.10
    Passed
    Checking Temp space: must be greater than 250 MB. Actual 1555 MB Passed
    Checking swap space: must be greater than 500 MB. Actual 1715 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-03-31_08-38-33PM. Please wait ...unzip: cannot find ../stage/Components/oracle.swd.jre/1.4.2.0.0/1/DataFiles/*.jar, ../stage/Components/oracle.swd.jre/1.4.2.0.0/1/DataFiles/*.jar.zip or ../stage/Components/oracle.swd.jre/1.4.2.0.0/1/DataFiles/*.jar.ZIP.
    Error in writing to directory /tmp/OraInstall2010-03-31_08-38-33PM. Please ensure that this directory is writable and has atleast 69 MB of disk space. Installation cannot continue.
    : Error 0
    $
    but there is sufficient space for /tmp.
    Please suggest how to resolve issue.
    Thanks.
    Rajesh.
    Edited by: user12071799 on Apr 2, 2010 6:15 AM

    Hi,
    $ ls
    actions oracle13.bak oracle26.bak oracle39.bak oracle_6.bak oracle_s.18 oracle_s.pro
    componen oracle14.bak oracle27.bak oracle40.bak oracle_7.bak oracle_s.19 oracle_s.xml
    config.xml oracle15.bak oracle28.bak oracle41.bak oracle_8.bak oracle_s.2 ouiconfi.xml
    dialogs oracle16.bak oracle29.bak oracle42.bak oracle_9.bak oracle_s.20 prereq
    fastcopy oracle17.bak oracle30.bak oracle43.bak oracle_s.1 oracle_s.21 products.xml
    fastcopy.xml oracle18.bak oracle31.bak oracle44.bak oracle_s.10 oracle_s.3 properti
    install1.jar oracle19.bak oracle32.bak oracle45.bak oracle_s.11 oracle_s.4 queries
    install2.jar oracle20.bak oracle33.bak oracle46.bak oracle_s.12 oracle_s.5 shiphome.pro
    invdetai.pro oracle21.bak oracle34.bak oracle_2.bak oracle_s.13 oracle_s.6 shiphome.xml
    libs.xml oracle22.bak oracle35.bak oracle_2.pro oracle_s.14 oracle_s.7
    oracle10.bak oracle23.bak oracle36.bak oracle_3.bak oracle_s.15 oracle_s.8
    oracle11.bak oracle24.bak oracle37.bak oracle_4.bak oracle_s.16 oracle_s.9
    oracle12.bak oracle25.bak oracle38.bak oracle_5.bak oracle_s.17 oracle_s.bak
    $ pwd
    /database/stage
    $
    there is no directory with name Components.But on directory is present with name componen.
    pwd
    /database/stage
    # ls -l
    total 9332
    dr-xr-xr-x 23 oracle oinstall 512 Apr 1 22:08 actions
    dr-xr-xr-x 116 oracle oinstall 2560 Apr 1 22:12 componen
    -r-xr-xr-x 1 oracle oinstall 3344 Apr 1 22:12 config.xml
    dr-xr-xr-x 7 oracle oinstall 512 Apr 1 22:13 dialogs
    dr-xr-xr-x 2 oracle oinstall 512 Apr 1 22:13 fastcopy
    -r-xr-xr-x 1 oracle oinstall 1581 Apr 1 22:13 fastcopy.xml
    -r-xr-xr-x 1 oracle oinstall 3097662 Apr 1 22:13 install1.jar
    -r-xr-xr-x 1 oracle oinstall 595911 Apr 1 22:13 install2.jar
    -r-xr-xr-x 1 oracle oinstall 198 Apr 1 22:13 invdetai.pro
    -r-xr-xr-x 1 oracle oinstall 15430 Apr 1 22:13 libs.xml
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle10.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle11.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle12.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle13.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle14.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle15.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle16.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle17.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle18.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle19.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle20.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle21.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle22.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle23.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle24.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle25.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle26.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle27.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle28.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle29.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle30.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle31.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle32.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle33.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle34.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle35.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle36.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle37.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle38.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle39.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle40.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle41.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle42.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle43.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle44.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle45.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle46.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle_2.bak
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_2.pro
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle_3.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle_4.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle_5.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle_6.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle_7.bak
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle_8.bak
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle_9.bak
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.1
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.10
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.11
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.12
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.13
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.14
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.15
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.16
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.17
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.18
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.19
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.2
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.20
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.21
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.3
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.4
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.5
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.6
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.7
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.8
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.9
    -r-xr-xr-x 1 oracle oinstall 580 Apr 1 22:13 oracle_s.bak
    -r-xr-xr-x 1 oracle oinstall 656 Apr 1 22:13 oracle_s.pro
    -r-xr-xr-x 1 oracle oinstall 4869 Apr 1 22:13 oracle_s.xml
    -r-xr-xr-x 1 oracle oinstall 5237 Apr 1 22:13 ouiconfi.xml
    dr-xr-xr-x 5 oracle oinstall 512 Apr 1 22:13 prereq
    -r-xr-xr-x 1 oracle oinstall 801088 Apr 1 22:13 products.xml
    dr-xr-xr-x 2 oracle oinstall 512 Apr 1 22:13 properti
    dr-xr-xr-x 43 oracle oinstall 1024 Apr 1 22:13 queries
    -r-xr-xr-x 1 oracle oinstall 67 Apr 1 22:13 shiphome.pro
    -r-xr-xr-x 1 oracle oinstall 237 Apr 1 22:13 shiphome.xml
    i have kept SW at location /database.
    Thanks.
    Edited by: user12071799 on Apr 2, 2010 5:42 AM

  • Weblogic run Error on Solaris~~~ Please Help

    I have a Bizzare error and dont know how to solve it.
    I have set-up one Sun Netra T-1 with a product called Cisco ACS
    (Advanced Cisco Secure). This comes bundled with weblogic to interface
    it with Oracle database.
    Setup as follows:
    Sun Netra T-1, Solaris 8 (possiably 01/00 release but dont know how to
    check), Oracle 8i client 8.1.6 along with Cisco ACS 2.3.6 (which
    includes weblogic).
    All works well
    However, I have setup another Sun Netra T-1 (however this time its an
    AC200) with Solaris 8 (02/02 release), Oracle 8i client 8.1.6 with
    Cisco ACS 2.3.6.
    There is a script included with ACS that allows you to execute SQL
    statements from the CLI. However, on this second sun, weblogic just
    hangs and waits.
    The oracle client seems to work ok (I can run SQLPLUS to a Oracle
    server) ie: sqlplus user/password@server-name works ok
    I dont know where to star looking as boths systems are near identical.
    ANY sound suggestions would be welcome.
    Thanks in advance

    Maybe this should help you!!!
    -Create a login page that has user and password input text fields and
    a submit and cancel button.
    -Put the login.html file in public_html/docs/mydocs
    -Put the LoginServlet.java in /servlets/
    -Either fail to a page, or with a message from the servlet.
    11:16 JDBC:
    -Get the JDBC Oracle drivers from
    /big5/Data/bootcamps/weblogic/classes12.zip
    -Put this in C:\weblogic\lib\
    -Add this to your system classpath in the Control Panel (append
    ;C:\weblogic\lib\classes12.zip)
    -Edit C:\weblog\startWeblogic.cmd file append to:
    WEBLOGIC_CLASSPATH=...;./lib/classpath12.zip
    -edit your weblogic.properties file to have the following entry:
    weblogic.jdbc.connectionPool.raghuPool=\
    url=jdbc:oracle:thin:@192.168.1.1:1521:ORCL,\
    driver=oracle.jdbc.driver.OracleDriver,\
    initialCapacity=1,\
    maxCapacity=2,\
    capacityIncrement=1,\
    props=user=scott;password=tiger
    -STOP the server with the attached WebLogic Console. (Do not kill -9
    the server... BAD BAD BAD!)
    -Start the server from commandline (i.e. cd to c:\weblogic then run
    startWeblogic.cmd)
    -Attach your Weblogic console to your server
    -Click the "DATABASE" category; expand "JDBC Connection Pools"; view
    the new pool "raghuPool" (You will only see this if all the above was
    correct and sucessful)
    -To test this pool, go to C:\weblogic\examples\jdbc\oracle and modify
    the "simpleselect.java" file
    -Change the entries to have:
    Driver myDriver = (Driver)
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
              Connection conn = myDriver.connect("jdbc:oracle:thin:@209.157.221.36:1521:ORCL",
    props);
    -Change the select statement to have:
    Driver myDriver = (Driver)
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    Connection conn =
    myDriver.connect("jdbc:oracle:thin:@209.157.221.36:1521:ORCL", props);
    -Compile this file with: javac simpleselect.java
    -cd to c:\weblogic (unless you removed the package line at the top of
    simpleselct.java)
    -Run this file with: java examples.jdbc.oracle.simpleselect
    ENTERPRISE JAVA BEANS (EJB):
    -EJBObject deals with ENTITY BEANS. Extends java.rmi.Remote.
    Steps of hands-on tutorial:
    http://developer.java.sun.com/developer/onlineTraining/Beans/EJBTutorial/step1.html
    1) Create interface Demo that extends EJBObject. (Remote)
    2) Create interface DemoHome that extends EJBHome. (Home)
    3) Create a class called DemoBean that implements SessionBean. (Bean)
    4) Compile java files and create a Deployment Descriptor.
              java weblogic.ejb.utils.DDCreator -dir ejb/demo
              ejb/demo/DeploymentDescriptor.txt
    5) Setup the WebLogic server (tons o' stuff there)
    6) Write the DemoClient class. (or any web-based client)
    [email protected] (Micos Attile) wrote in message news:<[email protected]>...
    I have a Bizzare error and dont know how to solve it.
    I have set-up one Sun Netra T-1 with a product called Cisco ACS
    (Advanced Cisco Secure). This comes bundled with weblogic to interface
    it with Oracle database.
    Setup as follows:
    Sun Netra T-1, Solaris 8 (possiably 01/00 release but dont know how to
    check), Oracle 8i client 8.1.6 along with Cisco ACS 2.3.6 (which
    includes weblogic).
    All works well
    However, I have setup another Sun Netra T-1 (however this time its an
    AC200) with Solaris 8 (02/02 release), Oracle 8i client 8.1.6 with
    Cisco ACS 2.3.6.
    There is a script included with ACS that allows you to execute SQL
    statements from the CLI. However, on this second sun, weblogic just
    hangs and waits.
    The oracle client seems to work ok (I can run SQLPLUS to a Oracle
    server) ie: sqlplus user/password@server-name works ok
    I dont know where to star looking as boths systems are near identical.
    ANY sound suggestions would be welcome.
    Thanks in advance

  • Error in Solaris but not in Windows

    I have an application that is reading from a database, cleaning the results of all html tags, and writing to a new database. It all works fine on a Windows machine with jdk1.3. However, it throws the error I have attached to the message on the Solaris box. It has to do with the html cleaning. When I take it out, it works on both machines. Why though. Here is the code for the html cleaning and the error: 5 Dukes to whoever can help.
    Code:
          * Removes the html formatting for a string and stores it in a file
          * @return java.lang.String
          * @param htmlText java.lang.String
          * @param outputText java.lang.String
         public static String removeHtml(String htmlText) throws IOException     
              String returnValue = "";
              EditorKit kit = new HTMLEditorKit();          
              Document doc = kit.createDefaultDocument();          
              // The Document class does not yet handle charset's properly.          
              doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);          
              try          
                   // Create a reader on the HTML content.     
                   Reader rd = new StringReader(htmlText);
                   // Parse the HTML.               
                   kit.read(rd, doc, 0);               
                   //Write the cleaned text to file
                   //writeOutputFile(doc, outputFile);     
                   //Set returnValue to cleaned text
                   returnValue = doc.getText(0, doc.getLength()).toString();
              catch (Exception e)          
                   e.printStackTrace();          
              return returnValue;
         }Error:
    java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:142)
    at java.awt.Toolkit$2.run(Toolkit.java:533)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:524)
    at java.awt.Toolkit.getEventQueue(Toolkit.java:1179)
    at java.awt.EventQueue.isDispatchThread(EventQueue.java:534)
    at javax.swing.text.StyleContext.reclaim(StyleContext.java(Compiled Code))
    at javax.swing.text.StyleContext.reclaim(StyleContext.java(Compiled Code))
    at javax.swing.text.AbstractDocument$AbstractElement.finalize(AbstractDocument.java(Compiled Code))
    at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
    at java.lang.ref.Finalizer.runFinalizer(Finalizer.java(Compiled Code))
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java(Compiled C

    Here is the code where I am calling the html cleaner method. This works fine in a Windows env but fails in Solaris. If I comment out the call to removeHtml(value).trim it will work. It will even work if I make a different call removeHtml("string to strip") from the main method. Why would it work in one place but not the other in Solaris, and why would it always work in Windows? Does anybody have any ideas?
               while (rs.next ()) {
                    for (int i = 1; i <= columnCount; ++i) {
                        String value = rs.getString (i);
                        if (rs.wasNull ()){
                            value = "<null>";
                        String columnName = rsmd.getColumnName(i).trim();
                        if(clean&&(columnName.equalsIgnoreCase("DESC")
                                  ||columnName.equalsIgnoreCase("HEADER")
                                  ||columnName.equalsIgnoreCase("TEXT")))
                             //Clean the text
                             //value = removeHtml(value).trim(); //remove html markup
                             value = value.replace('\n', ','); //remove new lines
                             value = value.replace('\r', ','); //remove carriage returns
                             value = replaceString(value, "&mdash", "-"); //remove dash markup
                           outputBuffer.append (value.trim());                      
                        outputBuffer.append ("||");
                    outputBuffer.append ("{{NEWLINE}}");
                }

  • Relocation Error In Solaris - Symbol 0FI__rtbi_fv not found

    Hi!,
    I get the following error, when i try to load a library using JNI, (jdk 1.3.0_02) in Solaris 2.6 :
    It cribs about symbol __0FI__rtbi_fv not found.
    I used nm on the .so and got the following output -
    [123762] | 0| 0|NOTY |GLOB |0 |UNDEF |__0FI__rtbi_fv
    Kindly help me in overcoming this problem. Its bit urgent.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /disk1/anuj/Sinu/usrtool/obj/libusrtool.so:
    ld.so.1: /disk1/sriram/java1.3/bin/../bin/sparc/native_threads/java:
    fatal: relocation error: file /disk1/anuj/Sinu/usrtool/obj/libusrtool.so:
    symbol __0FI__rtbi_fv: referenced symbol not found
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
         at java.lang.Runtime.loadLibrary0(Runtime.java:749)
         at java.lang.Runtime.loadLibrary(Runtime.java:737)
    regards
    Sriram

    It is not in the java documentation because it is not a java problem.
    When you write JNI code (or any other code for that matter) you probably should look at the documentation for the compilers and other tools that you are using for recommendations for how to use these third party tools.
    What would have been surprizing to me, is if your C++ compiler manual did not recommend linking with the standard C++ library when you use code contained in the library. Which was the problem here.

  • Error in solaris 10 installing 6.3 DS

    hi
    i get an error when starting cacao
    Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: unknown: unknown
    i see tomcat running good
    when i ask for dscc i get above error ,seems java error think so, but i install java before as of installing solaris 10 OS,is there any solution for this issue.

    update your /etc/hosts file with your servers ip address.

  • XML Parser Error ( C++ & Solaris)

    I am trying to compile the samples , I am getting the following error.
    undefined symbol first referenced in file
    Node::getAttributes() /var/tmp/ccX581j6.o
    XMLParser::getDocument() /var/tmp/xxxxx.o
    and a bunch of these functions.
    I am using g++ compiler on solaris 2.8
    I am setting the include and lib path correctly.
    Do I need to do any more setting's.
    Thanks in Advance.
    Rama Kossireddi

    Your problem is because of incompatibility between different C++ compiler. Please use
    CC instead comes with solaris.
    Thanks,

  • OCI - Sample program works on Windows but gives error in Solaris ??

    Hi,
    I am new to OCI. I was trying the following sample program:
    #include<iostream>
    #include<conio.h>
    #include<firstheader.h>
    //#include<stdafx.h>
    #include<string.h>
    using namespace std;
    class OCIClass
    public:
         OCIClass()
    int p_bvi;
    char p_sli[20];
    int rc;
    char errbuf[100];
    int errcode;
    const char *s;
    printf("Hello\n");
    string sql;
    string sql2="select substr(ename,1,3) from emp where job='ANALYST'";
    cout<<sql2;
    //char sql[512];
    int flag=0;
    sql += "SELECT * from emp where job='";
    if (flag==0)
    sql += "MANAGER";
    else
    sql += "ANALYST";
    sql += "'";
    cout<<sql + "\n";
    s=sql.c_str();
    char* cstr = new char[sql.size()+1];
    strcpy (cstr, sql.c_str());
    char* cstr2 = new char[sql2.size()+1];
    strcpy (cstr2, sql2.c_str());
    sql=" ";
    /* Initialize evironment */
    rc=OCIEnvCreate((OCIEnv **)&p_env,(ub4)OCI_DEFAULT ,(void *)0, (void * (*)(void *, size_t))0,
    (void * (*)(void *, void *, size_t))0,(void (*)(void *, void *))0,(size_t)0, (void **)0);
    /* Initialize handles */
    rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_err, OCI_HTYPE_ERROR,
    (size_t) 0, (dvoid **) 0);
    printf("Error handle allocated\n");
    rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_svc, OCI_HTYPE_SVCCTX,
    (size_t) 0, (dvoid **) 0);
    printf("service handle allocated\n");
    printf("Value of RC before Logon\n %d", rc);
    /* Connect to database server */
    rc = OCILogon(p_env, p_err, &p_svc, (OraText *)"scott", 5,(OraText *) "welcome", 7,(OraText *) "", 0);
    printf("Value of RC after Logon\n %d", rc);
    if (rc != 0) {
    OCIErrorGet((dvoid *)p_err, (ub4) 1, (text *) NULL, &errcode, (OraText *)errbuf, (ub4) sizeof(errbuf), OCI_HTYPE_ERROR);
    printf("Error - %s\n",errbuf);
         printf("error");
    //exit(8);
         getch();
    printf("Connect successful\n");
    /* Allocate and prepare SQL statement */
    rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_sql,
    OCI_HTYPE_STMT, (size_t) 0, (dvoid **) 0);
    rc = OCIStmtPrepare(p_sql, p_err, (OraText*) cstr,
    (ub4) 37, (ub4) OCI_NTV_SYNTAX, (ub4) OCI_DEFAULT);
    /* Bind the values for the bind variables
    p_bvi = 10; /* Use DEPTNO=10
    rc = OCIBindByName(p_sql, &p_bnd, p_err, (text *) ":x",
    -1, (dvoid *) &p_bvi, sizeof(int), SQLT_INT, (dvoid *) 0,
    (ub2 *) 0, (ub2 *) 0, (ub4) 0, (ub4 *) 0, OCI_DEFAULT);*/
    /* Define the select list items */
    rc = OCIDefineByPos(p_sql, &p_dfn, p_err, 1, (dvoid *) &p_sli,
    (sword) 20, SQLT_STR, (dvoid *) 0, (ub2 *)0,
    (ub2 *)0, OCI_DEFAULT);
    /* Execute the SQL statment */
    rc = OCIStmtExecute(p_svc, p_sql, p_err, (ub4) 1, (ub4) 0,
    (CONST OCISnapshot *) NULL, (OCISnapshot *) NULL, OCI_DEFAULT);
    while (rc != OCI_NO_DATA) {             /* Fetch the remaining data */
    printf("%s\n",p_sli);
    rc = OCIStmtFetch(p_sql, p_err, 1, 0, 0);
    printf("After fetch\n");
    rc = OCILogoff(p_svc, p_err); /* Disconnect */
    rc = OCIHandleFree((dvoid *) p_sql, OCI_HTYPE_STMT); /* Free handles */
    rc = OCIHandleFree((dvoid *) p_svc, OCI_HTYPE_SVCCTX);
    rc = OCIHandleFree((dvoid *) p_err, OCI_HTYPE_ERROR);
    void main()
    OCIClass c1;
    getch();
    The above program works on my Windows desktop. If I try this in Solaris, OCILogon fails and gives an error. If I check the value of rc, I find that it is -2. I can connect to the database using SQLPlus, but not through the program. Not sure how to debug this...
    Any pointers ?
    Thanks in advance,
    mrk

    Did you make the required port entry in the /etc/services file? You will need to add the gateway service port there. Then try to run your program.
    T00th

  • SQL*Loader-523 error in solaris sh script

    I have a SQLLdr script that I want to call from a unix shell (sh) script. We are running on Solaris 8. When we run from the command line the Sqlldr works, when we run from within a shell script, we are getting an STD ERR -2 error. I have tried running SQLldr with the -s (silent option) and silent = all but it doesn't seem to be helping.
    I pasted the error that I am getting below.
    Thanks,
    Greg
    SQL*Loader: Release 8.1.5.0.0 - Production on Wed Jul 19 15:20:48 2000
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    SQL*Loader-523: error -2 writing to file (STDERR)

    ...Ugh, it was working for about 5 seconds on my test page, but now it's just giving me an exit status of 137(Anyone have any clue what this means? I can't find anything that tells me what these exit number means and it's really starting to bug me) after I commented and uncommented a few lines to check to see what caused it to work...Hah! Works again. New Question time:
    LD_PRELOAD, what does this variable have to do with SQL*Loader, since I'm using it in the apache start-up to do some stuff with oci8[No idea if it's necessary] and when I, assumedly, set it to "null" it works, but when it keeps my initial value it breaks and gives me my 137 error status with my original errors.

  • Flar create error on Solaris 8

    Hello,
    I am hoping someone has ran into this before, its an odd issue but I cant be the only one who has ran into it. If anyone has ran into this error would you please share on how you got past it.
    I have a Solaris 8 server, 117350-43, Solaris 8 7/01 s28s_u5wos_08 SPARC, Solaris 8 Maintenance Update 5 applied, and its a Netra t105, with two drives.
    I am trying to create a 13GB flar onto the second drive mounted on /mnt.
    It looks like it works but then at the end, its fails with a file left on /mnt.
    This is the error I end up with and the file size..
    # flarcreate -c -n sol8.flar /mnt/sol8.flar
    current filter settings
    Determining the size of the archive...
    24693247 blocks
    Unable to write archive file.
    The archive will be approximately 12.31GB.
    Creating the archive...
    24693295 blocks
    Unable to write archive file.
    ERROR: Unable to work archive.
    # cd /mnt
    # ls
    sol8.flar lost+found
    df -k
    Filesystem kbytes used avail capacity Mounted on
    /dev/dsk/c0t0d0s1 16379106 12465269 3750046 77% /
    /proc 0 0 0 0% /proc
    mnttab 0 0 0 0% /etc/mnttab
    fd 0 0 0 0% /dev/fd
    swap 1448224 24 1448200 1% /var/run
    swap 1448216 16 1448200 1% /tmp
    /dev/dsk/c0t1d0s0 17413250 12924841 4314277 75% /mnt
    This is the drives: (c0t1d0 is partitioned with everything on slice 0)
    AVAILABLE DISK SELECTIONS:
    0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
    /pci@1f,0/pci@1,1/scsi@2/sd@0,0
    1. c0t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
    /pci@1f,0/pci@1,1/scsi@2/sd@1,0

    Well I tried it without the -c option and it worked.
    # flarcreate -n sol8 -x /mnt sol8.flar
    current filter settings
    Determining the size of the archive...
    24687458 blocks
    The archive will be approximately 11.77GB.
    Creating the archive...
    24687486 blocks
    Archive creation complete.
    # ls -la
    -rw-r--r-- 1 root other 12639993361 Jun 25 14:52 sol8.flar
    # df -k /
    Filesystem kbytes used avail capacity Mounted on
    /dev/dsk/c0t0d0s1 16379106 12459278 3756037 77% /

  • Error During Solaris 8 Installation

    Hi
    I am getting the following error message while installing solaris 8 on my intel based computer.
    Error : Could not mount filesystems .
    Error : could not opern /a/etc/vfstab .
    and the installation halts and the prompt comes up.
    The packages are partially installed.
    Pls help me out in this.
    SG Krishnan

    At this point in the install there are so many things that could lead
    to these errors. I would suggest going right to Sun's Install support
    by calling 800 USA-4SUN and following the prompts to warranty
    support. There you can verify your hardware compatibility and any
    other issue you might have.
    Hope this helps.

  • SAPINST 'space' error on Solaris 10 Zone

    Hi All,
    I am attempting to install a 4.7E X 110 system on Oracle 9 and Solaris 10. I am in the CI phase of the installation and am getting an error in phase "Check/Adapt Filesystem". I'm not sure where - it does not say exactly. But the 3 main areas - /sapmnt , /usr/sap and /oracle all share the same space - "1927165003 blocks" (about 919GB).
    This makes no sense for the space check function to be failing. It is possible that the SAPINST is checking the /usr directory at the global level even though it cannot install it there. (We are running a local zone for the server). We have a link set up /usrsap for the /usr/sap folder.
    Has anyone ever seen this? Any ideas on how to push this forward? SAPINST does not offer an explicit option for the /usr/sap/ folder.
    Points for all helpful answers!!!
    Thanks!!

    Due to Zones are virtualized Solaris 10 environments during the installation the standard Solaris installation problems may occur. For instance, the /home directory is read-only due to the auto-mount feature is enabled by default. This usually causes problems with the installer when creation of the users is required.
    The concept of zones includes that the kernel of the host system is used. Therefore other limitations may occur when adapting the OS kernel is required. Also the read-only directories mounted from the global zone may cause problems.
    Please read;724713,828268And important 1 zone note also.sorry to say i realy forgot that note number.
    --Sreejesh

Maybe you are looking for

  • Free Scheme

    am defining criteria for free goods determination using transaction VBN1. My requirement is as follows : When I am creating a sales order for a material M1 quantity is 10 units. System should give 2 units free on this 10 units. But when I create a sa

  • New to BC and in desperate need of help setting up my online store!

    So, I'm nearing the tear-your-hair-out stage of attempting to set up an online store. I'm brand new to BC, and the only reason we're trying it out is because Adobe claims the integration for e-commerce is so easy.  Ahem.  I created a Muse website for

  • In Case of Emergency (ICE) access

    I have some ICE, In Case of Emergency numbers in my iPhone for the occasion where I might be incapacitated and first responders need to contact one of them.  How can first responders access these numbers on my phone if it is locked with a passcode. 

  • ExistsNode exception with Schema based XMLType table

    hi, While running this query on structured table --> SELECT OBJECT_VALUE FROM Table_Structured WHERE existsNode(OBJECT_VALUE, '/Entity/Fields[field2="stringvalue"]') = 1; I get this exception --> Error report: SQL Error: ORA-00932: inconsistent datat

  • Shipping point , delivery creation date

    Hi :   I have a custom table with fields : belnr, posnr, btyp, aufnr, ebeln, ebelp, livbeln, liposnr,matnr,wadat,kunnr,werks,bmeinh,getri,inaktiv,wabukz,erdat,aedat,loekz. Custom Transaction with fields : vbeln (field name belnr) , aufnr, delivery vb