I am trying to compile an applet

Hi, I am trying to run an applet with JDK, but I keep getting this message
can anyone tell me how to correct this error.
thanks

Hi, I am trying to run an applet with JDK, but I
keep getting this messagealt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason."
     Your browser is completely ignoring the <APPLET> tag!
can anyone tell me how to correct this error.
thanks

Similar Messages

  • 6 errors trying to compile TalkClientApplet.java

    Hello:
    Trying to compile TalkClientApplet.java at:
    http://java.sun.com/docs/books/tutorial/deployment/applet/ex5/TalkClientApplet.java
    on the jdk1.5.0_06, Windows XP, and I received the following errors:
    TalkClientApplet.java:94:incomparable types:boolean and <nulltype>
    if(receivedThread ==null){
    TalkClientApplet.java:99:incompatible types
    found:java.lang.Thread
    required:boolean
    receiveThread=new Thread(this);
    TalkClientApplet.java:100:boolean cannot be dereferenced
    receiveThread.start();
    TalkClientApplet.java:150:incompatible types
    found :<nulltype>
    required:boolean
    receiveThread=null;
    TalkClientApplet.java:186:incomparable types:boolean and <nulltype>
    if(receiveThread==null){
    TalkClientApplet.java:258:incomparable types:java.lang.Thread and
    boolean while (Thread.currentThread()==receiveThread){
    Thanks in advance for your help.

    Hello:
    I am following the code from:
    http://java.sun.com/docs/books/tutorial/deployment/applet/ex5/TalkClientApplet.java
    which was pointed to from:
    http://java.sun.com/docs/books/tutorial/deployment/applet/workaround.html
    This is the section:
    private void start(boolean onEDT) {       
    if (DEBUG) {
    System.out.println("In start() method.");
    if (receiveThread == null) {
    trysted = false;
    os = null;
    is = null;
    socket = null;
    receiveThread = new Thread(this);
    receiveThread.start();
    if (DEBUG) {
    System.out.println(" Just set everything to null and started thread.");
    enableGUI(onEDT);
    Thanks

  • Getting error message Cannot Resolve Symbol when trying to compile a class

    Hello All -
    I am getting an error message cannot resolve symbol while trying to compile a java class that calls another java class in the same package. The called class compiles fine, but the calling class generates
    the following error message:
    D:\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes\cal>javac
    ConnectionPool.java
    ConnectionPool.java:158: cannot resolve symbol
    symbol : class PooledConnection
    location: class cal.ConnectionPool
    private void addConnection(PooledConnection value) {
    ^
    ConnectionPool.java:144: cannot resolve symbol
    symbol : class PooledConnection
    location: class cal.ConnectionPool
    PooledConnection pcon = new PooledConnection(con);
    ^
    ConnectionPool.java:144: cannot resolve symbol
    symbol : class PooledConnection
    location: class cal.ConnectionPool
    PooledConnection pcon = new PooledConnection(con);
    The code is listed as follows for PooledConnection.java (it compiles fine)
    package cal;
    import java.sql.*;
    public class PooledConnection {
    // Real JDBC Connection
    private Connection connection = null;
    // boolean flag used to determine if connection is in use
    private boolean inuse = false;
    // Constructor that takes the passed in JDBC Connection
    // and stores it in the connection attribute.
    public PooledConnection(Connection value) {
    if ( value != null ) {
    connection = value;
    // Returns a reference to the JDBC Connection
    public Connection getConnection() {
    // get the JDBC Connection
    return connection;
    // Set the status of the PooledConnection.
    public void setInUse(boolean value) {
    inuse = value;
    // Returns the current status of the PooledConnection.
    public boolean inUse() {
    return inuse;
    // Close the real JDBC Connection
    public void close() {
    try {
    connection.close();
    catch (SQLException sqle) {
    System.err.println(sqle.getMessage());
    Now the code for ConnectionPool.java class that gives the cannot
    resolve symbol error
    package cal;
    import java.sql.*;
    import java.util.*;
    public class ConnectionPool {
    // JDBC Driver Name
    private String driver = null;
    // URL of database
    private String url = null;
    // Initial number of connections.
    private int size = 0;
    // Username
    private String username = new String("");
    // Password
    private String password = new String("");
    // Vector of JDBC Connections
    private Vector pool = null;
    public ConnectionPool() {
    // Set the value of the JDBC Driver
    public void setDriver(String value) {
    if ( value != null ) {
    driver = value;
    // Get the value of the JDBC Driver
    public String getDriver() {
    return driver;
    // Set the URL Pointing to the Datasource
    public void setURL(String value ) {
    if ( value != null ) {
    url = value;
    // Get the URL Pointing to the Datasource
    public String getURL() {
    return url;
    // Set the initial number of connections
    public void setSize(int value) {
    if ( value > 1 ) {
    size = value;
    // Get the initial number of connections
    public int getSize() {
    return size;
    // Set the username
    public void setUsername(String value) {
    if ( value != null ) {
    username = value;
    // Get the username
    public String getUserName() {
    return username;
    // Set the password
    public void setPassword(String value) {
    if ( value != null ) {
    password = value;
    // Get the password
    public String getPassword() {
    return password;
    // Creates and returns a connection
    private Connection createConnection() throws Exception {
    Connection con = null;
    // Create a Connection
    con = DriverManager.getConnection(url,
    username, password);
    return con;
    // Initialize the pool
    public synchronized void initializePool() throws Exception {
    // Check our initial values
    if ( driver == null ) {
    throw new Exception("No Driver Name Specified!");
    if ( url == null ) {
    throw new Exception("No URL Specified!");
    if ( size < 1 ) {
    throw new Exception("Pool size is less than 1!");
    // Create the Connections
    try {
    // Load the Driver class file
    Class.forName(driver);
    // Create Connections based on the size member
    for ( int x = 0; x < size; x++ ) {
    Connection con = createConnection();
    if ( con != null ) {
    // Create a PooledConnection to encapsulate the
    // real JDBC Connection
    PooledConnection pcon = new PooledConnection(con);
    // Add the Connection to the pool.
    addConnection(pcon);
    catch (Exception e) {
    System.err.println(e.getMessage());
    throw new Exception(e.getMessage());
    // Adds the PooledConnection to the pool
    private void addConnection(PooledConnection value) {
    // If the pool is null, create a new vector
    // with the initial size of "size"
    if ( pool == null ) {
    pool = new Vector(size);
    // Add the PooledConnection Object to the vector
    pool.addElement(value);
    public synchronized void releaseConnection(Connection con) {
    // find the PooledConnection Object
    for ( int x = 0; x < pool.size(); x++ ) {
    PooledConnection pcon =
    (PooledConnection)pool.elementAt(x);
    // Check for correct Connection
    if ( pcon.getConnection() == con ) {
    System.err.println("Releasing Connection " + x);
    // Set its inuse attribute to false, which
    // releases it for use
    pcon.setInUse(false);
    break;
    // Find an available connection
    public synchronized Connection getConnection()
    throws Exception {
    PooledConnection pcon = null;
    // find a connection not in use
    for ( int x = 0; x < pool.size(); x++ ) {
    pcon = (PooledConnection)pool.elementAt(x);
    // Check to see if the Connection is in use
    if ( pcon.inUse() == false ) {
    // Mark it as in use
    pcon.setInUse(true);
    // return the JDBC Connection stored in the
    // PooledConnection object
    return pcon.getConnection();
    // Could not find a free connection,
    // create and add a new one
    try {
    // Create a new JDBC Connection
    Connection con = createConnection();
    // Create a new PooledConnection, passing it the JDBC
    // Connection
    pcon = new PooledConnection(con);
    // Mark the connection as in use
    pcon.setInUse(true);
    // Add the new PooledConnection object to the pool
    pool.addElement(pcon);
    catch (Exception e) {
    System.err.println(e.getMessage());
    throw new Exception(e.getMessage());
    // return the new Connection
    return pcon.getConnection();
    // When shutting down the pool, you need to first empty it.
    public synchronized void emptyPool() {
    // Iterate over the entire pool closing the
    // JDBC Connections.
    for ( int x = 0; x < pool.size(); x++ ) {
    System.err.println("Closing JDBC Connection " + x);
    PooledConnection pcon =
    (PooledConnection)pool.elementAt(x);
    // If the PooledConnection is not in use, close it
    if ( pcon.inUse() == false ) {
    pcon.close();
    else {
    // If it is still in use, sleep for 30 seconds and
    // force close.
    try {
    java.lang.Thread.sleep(30000);
    pcon.close();
    catch (InterruptedException ie) {
    System.err.println(ie.getMessage());
    I am using Sun JDK Version 1.3.0_02" and Apache/Tomcat 4.0. Both the calling and the called class are in the same directory.
    Any help would be greatly appreciated.
    tnx..
    addi

    Is ConnectionPool in this "cal" package as well as PooledConnection? From the directory you are compiling from it appears that it is. If it is, then you are compiling it incorrectly. To compile ConnectionPool (and PooledConnection similarly), you must change the current directory to the one that contains cal and type
    javac cal/ConnectionPool.

  • Error when trying to sign the Applet, please Help

    Hello,
    I have this Error when I am trying to sign my applet, after execut this command :
    jarsigner -verify -verbose -certs test.jar
    jarsigner: java.lang.SecurityException: invalid SHA1 signature file digest for classe/JDBC_SQL.class
    And for your information, that I had add the JDBC_SQL.class to the jar file (test.jar) because I made some change to the file JDBC_SQL.java
    so please if you know what can I do to resolve my problem
    Thank you to reponse !
    rania +

    ahh, here is a problem. u made changes to the JDBC_SQL.java and packed the jar file. u have to sign the jar file again.
    let me know if u need futher assistance

  • Using separate_frame=true and trying to close the applet window after...

    We are using separate_frame=true and trying to close the applet window (the one with the large gray box) after using the following post-form trigger:
    if :system.last_form = 0 then     
         message('Please wait while Forms closes - '||:system.last_form);     
         web.show_document('/forms/html/close.htm','_self');     
    end if;
    This works fine for the first form we open, but if that same form using Open_Form to open a child form we have a problem. When the child form is closed the user is returned to the parent calling form (which is expected), but then when the parent form is closed the separate applet window fails to close. Any suggestions?

    I guess you mis-interpreted the value of :SYSTEM.LAST_FORM. From the online-help:
    SYSTEM.LAST_FORM represents the form document ID of the previous form in a multi-form application, where multiple forms have been invoked using OPEN_FORM.So LAST_FORM shows always the ID of the last activated form, and this will never be 0 if you issued one OPEN_FORM in your application.

  • Trying to compile a .java file from another .java file

    Hello,
    I'm trying to compile a .java file from another .java file using Runtime.exec...
    String c[]=new String[3];
    c[0]="cmd.exe"; c[1]="/c" ; c[2]="javac Hello.java";
    Process p=Runtime.exec(c);
    If anyone can help me in atleast getting the command prompt when Runtime.exec("cmd.exe") is executed...that would be great...I tried out notepad.exe, calc, explorer instead of cmd.exe...all the commands display their respective windows..except cmd.exe...the command prompt doesnt appear...
    Please help me ASAP....
    Thanks for your help in advance...
    Regards.
    AKhila.

    try this. ur code will be compliled and will get .class file. but console won't appear. is it a must for u?
    public class Exec{
         public static void main(String a[]) throws Exception{
              String c[]=new String[3];
              c[0]="cmd.exe"; c[1]="/c" ; c[2]="javac Hello.java";
              Process p=Runtime.getRuntime().exec(c);
              // or Runtime.getRuntime().exec("javac Hello.java");

  • Java.lang.NullPointerException when trying to compile

    Hi everybody!
    I'm trying to compile a file using javax.tools.JavaCompiler but I get a java.lang.NullPointerException when running the program.
    Here is my code:
    public boolean CompExecFile(File filename){
              boolean compRes = false;
              try {
                   System.out.println(filename.getAbsolutePath());
                   JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
                   StandardJavaFileManager fileManager = compiler.getStandardFileManager(null, null, null); //line where I get the error
                   Iterable<? extends JavaFileObject> compilationUnits2 = fileManager.getJavaFileObjects(filename);
                   compRes = compiler.getTask(null, fileManager, null, null, null, compilationUnits2).call();
                   fileManager.close();
                 if (compRes) {
                     System.out.println ("Compilation was successful");
                 } else {
                     System.out.println ("Compilation failed");
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              return compRes;
         }There error on the line "StandardJavaFileManager fileManager = compiler.getStandardFileManager(null, null, null);":
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException+
    I've seen several examples using the parameters "null,null,null" but I don't know if it's good :(
    Many thanks for your help.

    I've found something which could maybe be what I need to do but I'm not sure:
    // Build a new ClassLoader using the given URLs, replace current Classloader
    ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
    ClassLoader newCL = new URLClassLoader(myClasspathURLs, oldCL);
    Thread.currentThread().setContextClassLoader(newCL);
    System.out.println("Successfully replaced ClassLoader");
    Class fooClass = newCL.loadClass(appClass); //which replaces the line "Class<?> tempFileClass = Class.forName("TempFile");" ?!Is that what I need to do?
    EDIT: I've tried that but I still have the same problem:
                      File classFile = new File ("TempFile.class");
                      ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
                      ClassLoader newCL = new URLClassLoader(new URL[] {classFile.toURL()}, oldCL);
                      Thread.currentThread().setContextClassLoader(newCL);
                      System.out.println("Successfully replaced ClassLoader");
                      Class tempFileClass = newCL.loadClass("TempFile");
                      Method main = tempFileClass.getMethod("main", String[].class);
                      main.invoke(null,new String[0]); Edited by: Foobrother on Jul 28, 2008 8:18 AM

  • Trying to run sample applet 'Wallet'. What is PIN?

    Dear
    I'm trying to run sample applet 'Wallet' in java card development kit.
    I have 2 questions.
    1) I successfully upload 'cap file'. but I got an error when I install it.
    I don't know why.
    Below is the APDU
    cm> upload "C:\wallet.cap"
    => 80 E6 02 00 16 09 77 61 6C 6C 65 74 70 6B 67 08 ......walletpkg.
    A0 00 00 00 03 00 00 00 00 00 00 00 ............
    (114664 usec)
    <= 00 90 00 ...
    Status: No Error
    => 80 E8 00 00 FF C4 82 02 A8 01 00 13 DE CA FF ED ................
    01 02 04 00 01 09 77 61 6C 6C 65 74 70 6B 67 02 ......walletpkg.
    00 1F 00 13 00 1F 00 0D 00 0B 00 66 00 12 01 87 ...........f....
    00 0A 00 3A 00 00 00 DD 00 00 00 00 00 00 01 01 ...:............
    00 04 00 0B 01 00 01 07 A0 00 00 00 62 01 01 03 ............b...
    00 0D 01 09 77 61 6C 6C 65 74 61 70 70 00 01 06 ....walletapp...
    00 12 00 80 03 02 00 01 04 04 00 00 00 3A FF FF .............:..
    00 2D 00 42 07 01 87 00 04 30 8F 00 0A 18 1D 1E .-.B.....0......
    8C 00 09 7A 05 40 18 8C 00 16 18 8F 00 10 3D 06 ...z.@........=.
    10 08 8C 00 15 87 00 AD 00 19 1E 1F 8B 00 03 18 ................
    8B 00 12 7A 01 10 AD 00 8B 00 08 61 04 03 78 04 ...z.......a..x.
    78 01 10 AD 00 8B 00 06 7A 02 21 19 8B 00 02 2D x.......z.!....-
    18 8B 00 0F 60 03 7A 1A 03 25 10 B0 6A 08 11 6E ....`.z..%..j..n
    00 8D 00 0D 1A 04 25 75 00 2D 00 04 00 20 00 27 ......%u.-... .'
    00 30 00 21 00 40 00 1B 00 50 00 15 18 19 8C 00 [email protected]......
    0E 7A 18 19 8C 00 04 7A 18 19 8C 00 17 7A 18 19 .z.....z.....z..
    8C 00 0B 7A 00 ...z.
    (551929 usec)
    <= 90 00 ..
    Status: No Error
    => 80 E8 00 01 FF 11 6D 00 8D 00 0D 7A 03 24 AD 00 ......m....z.$..
    8B 00 13 61 08 11 63 01 8D 00 0D 19 8B 00 02 2D ...a..c........-
    1A 07 25 32 19 8B 00 07 5B 29 04 1F 04 6B 07 16 ..%2....[)...k..
    04 04 6A 08 11 67 00 8D 00 0D 1A 08 25 29 05 16 ..j..g......%)..
    05 10 64 6E 06 16 05 63 08 11 6A 83 8D 00 0D AF ..dn...c..j.....
    01 16 05 41 11 27 10 6F 08 11 6A 84 8D 00 0D 18 ...A.'.o..j.....
    AF 01 16 05 41 89 01 7A 03 24 AD 00 8B 00 13 61 ....A..z.$.....a
    08 11 63 01 8D 00 0D 19 8B 00 02 2D 1A 07 25 32 ..c........-..%2
    19 8B 00 07 5B 29 04 1F 04 6B 07 16 04 04 6A 08 ....[)...k....j.
    11 67 00 8D 00 0D 1A 08 25 29 05 16 05 10 64 6E .g......%)....dn
    06 16 05 63 08 11 6A 83 8D 00 0D AF 01 16 05 43 ...c..j........C
    63 08 11 6A 85 8D 00 0D 18 AF 01 16 05 43 89 01 c..j.........C..
    7A 03 22 19 8B 00 02 2D 19 8B 00 11 32 19 05 8B z."....-....2...
    00 0C 1A 03 AF 01 8D 00 18 3B 19 03 05 8B 00 05 .........;......
    7A 04 22 19 8B 00 02 2D 19 8B 00 07 5B 32 AD 00 z."....-....[2..
    1A 08 1F 8B 00 14 61 08 11 63 00 8D 00 0D 7A 08 ......a..c....z.
    00 0A 00 00 00 .....
    (405152 usec)
    <= 90 00 ..
    Status: No Error
    => 80 E8 80 02 AE 00 00 00 00 00 00 00 00 05 00 66 ...............f
    00 19 02 00 00 00 02 00 00 01 03 80 0A 01 03 80 ................
    09 08 06 00 00 F0 03 80 0A 04 03 80 09 05 03 80 ................
    0A 06 03 80 09 02 06 00 00 0D 01 00 00 00 06 00 ................
    01 69 03 80 0A 09 06 80 07 01 06 00 01 49 03 80 .i...........I..
    03 03 01 80 09 00 03 80 0A 07 03 80 03 01 03 80 ................
    09 04 03 80 09 01 06 80 09 00 06 80 03 00 06 00 ................
    00 94 06 80 10 06 09 00 3A 00 0E 1F 02 0F 0D 5A ........:......Z
    41 11 05 05 41 0E 05 16 1A 00 28 04 06 07 04 07 A...A.....(.....
    0A 04 08 0D 07 05 10 1D 06 06 06 07 08 08 04 09 ................
    12 15 10 10 08 04 09 12 15 0D 0F 05 06 07 07 07 ................
    05 0A 08 00 ....
    (658167 usec)
    <= 00 90 00 ...
    Status: No Error
    Load report:
    684 bytes loaded in 1.8 seconds
    effective code size on card:
    + package AID 9
    + applet AIDs 16
    + classes 21
    + methods 394
    + statics 0
    + exports 0
    overall 440 bytes
    cm> install -i 77616c6c6574617070 -q C9#() 77616c6c6574706b67 77616c6c6574617070
    => 80 E6 0C 00 24 09 77 61 6C 6C 65 74 70 6B 67 09 ....$.walletpkg.
    77 61 6C 6C 65 74 61 70 70 09 77 61 6C 6C 65 74 walletapp.wallet
    61 70 70 01 00 02 C9 00 00 00 app.......
    (269663 usec)
    <= 6A 80 j.
    Status: Wrong data
    jcshell: Error code: 6a80 (Wrong data)
    jcshell: Wrong response APDU: 6A80
    Unexpected error; aborting execution
    Another question
    2) According to the code I have to specify PIN number when I
    install it. Is PIN different from PIN in the card?
    Is it application dependent?
    private WalletApp (byte[] bArray, short bOffset, byte bLength){
              pin = new OwnerPIN(PIN_TRY_LIMIT, MAX_PIN_SIZE);
              // bArray contains the PIN initialization value
              pin.update(bArray, bOffset, bLength);
              // register the applet instance with the JCRE
              register();
         } // end of the constructor
    Anyone can help?
    I really appreciate your help

    2) According to the code I have to specify PIN number when I
    install it. Is PIN different from PIN in the the card?
    Is it application dependent?Yes, it is an card idependent but application dependent PIN.
    Jan

  • Trying to include an applet in a JSP page

    Hello,
    I have a jsp page trying to include an applet class in it.
    Both of them are part of a war file put on an apache server.
    The directories tree looks like this :
    root
    MyJSPPage.jsp
    WEB-INF
    classes
    MyDir
    MySubDir
    MyApplet.class
    In MyJSPPage.jsp, the code looks like this :
    <jsp:plugin type="applet"
    code="MyApplet.class"
    codebase="/WEB-INF/classes/MyDir/MySubDir">
    </jsp:plugin>
    When loading the page on my browser, it fails, and the java console indicates the following :
    java.lang.ClassNotFoundException: MyApplet.class
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:153)
         at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:506)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:567)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1778)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:496)
         at sun.applet.AppletPanel.run(AppletPanel.java:293)
         at java.lang.Thread.run(Thread.java:536)
    I tried several things for codeBase :
    codebase="/WEB-INF/classes/MyDir/MySubDir"
    codebase="/MyDir/MySubDir"
    codebase="MyDir.MySubDir"
    without any success.
    Could you tell me what is wrong?
    Thanks in advance,
    Olivier

    Hello,
    I tried what you proposed.
    It continue to fail. I think I haven't give you the whole stack :
    charger : classe MyClass.class introuvable.
    java.lang.ClassNotFoundException: MyClass.class
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:153)
         at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:506)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:567)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1778)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:496)
         at sun.applet.AppletPanel.run(AppletPanel.java:293)
         at java.lang.Thread.run(Thread.java:536)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:252)
         at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)
         at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)
    What ca this HTTP connection failed stuff be?
    Help, thanks in advance,
    Olivier

  • Suffering an complie error when trying to compile java class in EBS11i

    Hi,
    When I trying to compile java classes with which imported the HttpServletResponse class, will get the follow error message:
    package javax.servlet does not exist
    cannot resolve symbol
    symbol : class HttpServletResponse
    It seems the javax.servlet package is not included in the classpath. But I checked the $CLASSPATH, it seems no problem.
    echo $CLASSPATH
    /u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u02/applvis/viscomn/java/appsborg2.zip:/u02/applvis/visora/8.0.6/forms60/java:/u02/applvis/viscomn/java
    Does anyone know the reason?
    environment: ebs 11i
    Thanks&Regards,
    Xiaofeng

    resolved this issue.
    1. Edit $APPL_TOP/admin/adovars.env file -
    Add the following jar files to the AF_CLASSPATH line -
    Full path of /...../iAS/Apache/Jsdk/lib/jsdk.jar
    Full path of /...../iAS/Apache/Jserv/libexec/ApacheJServ.jar
    2. Bounce the concurrent manager in order to have the changes take effect.

  • Somebody correct my code Iam trying to create an applet which connects  DB

    This is throwing many mistakes iam trying to create an applet like an airplace booking which shows combo box of the available aircrafts and when selected it should show the no of available seats
    import javax.swing.*;
    import java.awt.*;
    //<applet code=Aircraft_Booking width=500 height=500></applet>
    public class Aircraft_Booking extends JApplet
    JLabel           lblStdId;
    JLabel          lblStdSeats;
    JLabel          lblStdAircraft;
    JComboBox      jcmbStdAircraft;
    JTextField      jcmbStdSeats;
    JTextField      jcmbStdId;
    JPanel           panel;
    //Member Function/
    public void init()
    panel = new JPanel();
    lblStdId          =      new JLabel("Aircraft Booking");
    lblStdSeats =      new JLabel("No of Available Seats");
    lblStdAircraft =     new JLabel("Choose your Aircraft");
    //txtStdId     =     new JTextField(5);/
    String p = "Select * from Aircraft where aircrafttypeid";
    /*Initialize and load the JDBC-ODBC Bridge driver*/
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    /*Establish a connection with a data source*/
    Connection con = DriverManager.getConnection("jdbc:odbc:MyDataSource", "sa", "");
    /*Create a Statement object to process the SELECT statement*/
    Statement stmt = con.createStatement();
    /*Execute the SELECT SQL statement*/
    ResultSet rs = stmt.executeQuery(str);
    jcmbStdAircraft = new JComboBox(p);
    //Add all components to panel/
    panel.add(lblStdId);
    //panel.add(txtStdId);/
    panel.add(lblStdAircraft);
    panel.add(jcmbStdAircraft);
    //Add Panel to JApplet/
    getContentPane().add(panel);
    }

    When running an Applet connections can only be established back to the originating machine unless you have changed the security configuration of the client machine.
    This means that you would only be able to connect to the database on the server from which the applet was loaded.
    Contrariwise the JDBC-ODBC driver will try to connect to the database on the local machine. So I can't see that working unless this was your intention and you have made the appropriate security config changes - but in such a circumstance Applets are a rather odd choice of environment.

  • Error when trying to compile HTML help

    I'm using RoboHelp 7.0 on Windows XP. All of the sudden, last
    week, I start getting the following error when I try to compile
    "Fatal Error: Unexpected error from Microsoft HTML compiler." I've
    read the other posts regarding this error and deleted the .CPD file
    multiple times and tried to compile again still with no success.
    I've uninstalled and reinstalled multiple times and not had any
    better results. The other author in my office can check the project
    out of RoboSource and compile it fine. I have it on my local drive
    when trying to compile.
    I'd appreciate any ideas. It doesn't make sense that is
    something in the project since my other author can compile it fine.
    Thanks,
    Nita

    Hi, Nita,
    Do you have any other RoboHelp projects that you can try
    compiling? This may help to determine whether there's something
    slightly askew about this particular project — sounds
    unlikely if your colleague can compile without error — or
    whether the problem lies in your RoboHelp installation.
    I'd also recommend that you run MJ's Help Diagnostics,
    available from the address below. This will verify that all the
    HTML Help viewer and compiler components are properly installed and
    registered on your machine.
    http://helpware.net/downloads/index.htm#MJs
    Pete

  • Trying to compile bean...

    Hi I'm having some difficulty here when compiling some bean code into a class.
    My SDK is located at C:\j2sdk1.4.0
    I'm calling javac from the dirctory of the bean code: C:\jakarta...\webapps\frank\WEB-INF\classes\
    I'm getting errors that say:
    javax.servlet.http does not exist
    import javax.servlet.http.HttpServletRequest;
    ^
    When trying to compile the following bean code:
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class SimpleBean {
    public void doUpload(HttpServletRequest request) throws
    IOException {
    PrintWriter pw = new PrintWriter(
    new BufferedWriter(new FileWriter("Demo.out")));
    ServletInputStream in = request.getInputStream();
    int i = in.read();
    while (i != -1) {
    pw.print((char) i);
    i = in.read();
    pw.close();
    My Java home environment var is set to: C:\j2sdk1.4.0 but have nothing in my classpath. Is this the problem?
    Frank

    It looks like you are trying to use J2EE components such as servlets, and the JDK that you have installed is Java 2 Standard Edition JDK. You will need J2EE SDK (available for free from Sun) and a Apache Ant to build your components (go to http://jakarta.apache.org/ant/). Then you will need to configure them both (instructions on that are included in installation packages).
    After you're done, you can compile the component using the "ant" command.
    Hope this helps!

  • Trying to compile HP / Emulex 10GbE Driver with OVM 2.2.2 SDK

    Hi
    I am trying to compile AN HP/EMULEX driver using the ovm 2.2.2 SDK. The driver seems to be included in OVM 3.0 by default. Card is not recognised in 2.2.2. I need a 2.2.2 driver to connect our older VM servers to a new 10GbE network. The diver is found at
    http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=uk&prodNameId=4111423&prodTypeId=329290&prodSeriesId=4111422&swLang=8&taskId=135&swEnvOID=4004
    I get the following errors. Any advice much appreciated.
    Mike
    [root@ovmbuild ~]# rpmbuild target=i686 -bb /usr/src/redhat/SPECS/hp-benet.kmp.spec define 'KVER 2.6.18-8.el5xen'
    Building target platforms: i686
    Building for target i686
    Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.97553
    + umask 022
    + cd /usr/src/redhat/BUILD
    + LANG=C
    + export LANG
    + unset DISPLAY
    + cd /usr/src/redhat/BUILD
    + rm -rf hp-be2net-4.0.359.0
    + /bin/gzip -dc /usr/src/redhat/SOURCES/hp-be2net-4.0.359.0.tar.gz
    + tar -xvvf -
    drwxr-xr-x root/root 0 2011-08-18 10:58:31 hp-be2net-4.0.359.0/
    -rw-r--r-- root/root 68535 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_cmds.c
    -rw-r--r-- root/root 16630 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_compat.h
    -rw-r--r-- root/root 39057 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_cmds.h
    -rw-r--r-- root/root 185 2011-08-18 10:58:31 hp-be2net-4.0.359.0/Makefile
    -rw-r--r-- root/root 18693 2011-08-18 10:58:31 hp-be2net-4.0.359.0/COPYING
    -rw-r--r-- root/root 15325 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be.h
    -rw-r--r-- root/root 2593 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_misc.c
    -rw-r--r-- root/root 15180 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_proc.c
    -rw-r--r-- root/root 104420 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_main.c
    -rw-r--r-- root/root 15462 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_compat.c
    -rw-r--r-- root/root 1286 2011-08-18 10:58:31 hp-be2net-4.0.359.0/version.h
    -rw-r--r-- root/root 15404 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_hw.h
    -rw-r--r-- root/root 23261 2011-08-18 10:58:31 hp-be2net-4.0.359.0/be_ethtool.c
    + STATUS=0
    + '[' 0 -ne 0 ']'
    + cd hp-be2net-4.0.359.0
    ++ /usr/bin/id -u
    + '[' 0 = 0 ']'
    + /bin/chown -Rhf root .
    ++ /usr/bin/id -u
    + '[' 0 = 0 ']'
    + /bin/chgrp -Rhf root .
    + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
    + set -- COPYING Makefile be.h be_cmds.c be_cmds.h be_compat.c be_compat.h be_ethtool.c be_hw.h be_main.c be_misc.c be_proc.c version.h
    + mkdir source
    + mv COPYING Makefile be.h be_cmds.c be_cmds.h be_compat.c be_compat.h be_ethtool.c be_hw.h be_main.c be_misc.c be_proc.c version.h source/
    + mkdir obj
    + exit 0
    Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.97553
    + umask 022
    + cd /usr/src/redhat/BUILD
    + cd hp-be2net-4.0.359.0
    + LANG=C
    + export LANG
    + unset DISPLAY
    + export 'EXTRA_CFLAGS=-DVERSION=\"4.0.359.0\"'
    + EXTRA_CFLAGS='-DVERSION=\"4.0.359.0\"'
    + for flavor in xen
    + rm -rf obj/xen
    + cp -r source obj/xen
    + export SRC=/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen
    + SRC=/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen
    ++ '[' xen = default ']'
    ++ echo xen-
    + make -C /usr/src/kernels/2.6.18-8.el5-xen-i686 modules M=/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen CONFIG_BE2NET=m
    make: Entering directory `/usr/src/kernels/2.6.18-8.el5-xen-i686'
    CC [M] /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.o
    In file included from /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be.h:38,
    from /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:18:
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:286: warning: 'struct delayed_work' declared inside parameter list
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:286: warning: its scope is only this definition or declaration, which is probably not what you want
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h: In function 'backport_cancel_delayed_work_sync':
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:288: error: dereferencing pointer to incomplete type
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h: At top level:
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:294: warning: 'struct delayed_work' declared inside parameter list
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h: In function 'backport_schedule_delayed_work':
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:297: error: dereferencing pointer to incomplete type
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:299: error: dereferencing pointer to incomplete type
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h: At top level:
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:321: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'csum_unfold'
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:346: error: expected specifier-qualifier-list before '__wsum'
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:424: error: expected declaration specifiers or '...' before '__wsum'
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:429: error: expected declaration specifiers or '...' before '__wsum'
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h: In function 'be_vlan_put_tag':
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_compat.h:596: error: implicit declaration of function 'skb_set_network_header'
    In file included from /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:18:
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be.h: At top level:
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be.h:380: error: field 'work' has incomplete type
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:45: warning: type defaults to 'int' in declaration of 'DEFINE_PCI_DEVICE_TABLE'
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:45: warning: parameter names (without types) in function declaration
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:45: error: function 'DEFINE_PCI_DEVICE_TABLE' is initialized like a variable
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: braces around scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: invalid initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:46: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: braces around scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: invalid initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:47: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: braces around scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: invalid initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:48: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: braces around scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: invalid initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: field name not in record or union initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:49: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:54: warning: braces around scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:54: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:54: error: invalid initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:54: error: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:54: warning: excess elements in scalar initializer
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:54: warning: (near initialization for 'DEFINE_PCI_DEVICE_TABLE')
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c: In function 'wrb_fill_hdr':
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:590: error: implicit declaration of function 'skb_is_gso_v6'
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c: In function 'be_vlan_rem_vid':
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:836: error: implicit declaration of function 'vlan_group_set_device'
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c: In function 'be_rx_compl_process_lro':
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:1278: error: too many arguments to function 'lro_receive_frags_compat'
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:1282: error: too many arguments to function 'lro_vlan_hwaccel_receive_frags_compat'
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c: In function 'be_worker':
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:2176: warning: type defaults to 'int' in declaration of '__mptr'
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:2176: warning: initialization from incompatible pointer type
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c: In function 'be_probe':
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:3699: error: implicit declaration of function 'DMA_BIT_MASK'
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c: At top level:
    /usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.c:4036: error: 'be_dev_ids' undeclared here (not in a function)
    make[1]: *** [usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen/be_main.o] Error 1
    make: *** [_module_/usr/src/redhat/BUILD/hp-be2net-4.0.359.0/obj/xen] Error 2
    make: Leaving directory `/usr/src/kernels/2.6.18-8.el5-xen-i686'
    error: Bad exit status from /var/tmp/rpm-tmp.97553 (%build)
    RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.97553 (%build)

    http://www.nvnews.net/vbulletin/showpos … ostcount=4

  • Errors while trying to compile rdf file on LINUX

    hi all,
    We are trying to compile rdf file on linux using this command line:
    $ORACLE_HOME/bin/rwconverter.sh userid=scott/tiger@dbname batch=no source=test.rdf stype=rdffile dtype=repfile overwrite=yes.
    The following errors occured:
    REP-0004: Warning: Unable to open user preference file.
    REP-3000: Internal error starting Oracle Toolkit.
    What's the problem!
    plz help.

    Hi,
    These Metalink (http://metalink.oracle.com) notes might help you:
    210795.1 : Troubleshooting Guide for REP-4 error
    200474.1 : Comprehensive REP-3000 Troubleshooting and Overview Guide
    Navneet.

Maybe you are looking for