Package compilation problem

Hi,
I'm presently trying to learn packages in java. I have two example classes I want to compile to learn to use packages. One is Dice class and on is ThrowDice. ThrowDice uses Dice by creating two Dice objects. If i put them in the same directory and compile them without any package declaration they compile fine. If I put ThrowDice into the directory home/antlaw/java/Applications with "import Parsons.Dice" and Dice into home/antlaw/java/Applications/Parsons with package declaration "package Parsons" they compile and work fine. However, because I'm wanting to learn how to compile packages I've experimented a bit, and found that 1) if i declare ThrowDice as a package also of "Applications" (i.e. the directory it's in) by adding "package Applications" the two classes compiles but won't run (throws a load of exceptions) 2) if I create another directory "Apps" and move ThrowDice into this subdirectory (i.e. home/antlaw/java/Apps) and make the following package and import declaration changes to both Dice and ThrowDice classes
Dice = "package Applications.Parsons"
ThrowDice = "package Apps" and "import Applications.Parsons.Dice"
ThrowDice won't compile as it gives the following errors:
ThrowDice.java:2: cannot resolve symbol
symbol : class Dice
location: package Parsons
import Applications.Parsons.Dice;
^
ThrowDice.java:8: cannot resolve symbol
symbol : class Dice
location: class Apps.ThrowDice
Dice dice1 = new Dice();
^
ThrowDice.java:8: cannot resolve symbol
symbol : class Dice
location: class Apps.ThrowDice
Dice dice1 = new Dice();
^
ThrowDice.java:9: cannot resolve symbol
symbol : class Dice
location: class Apps.ThrowDice
Dice dice2 = new Dice();
^
ThrowDice.java:9: cannot resolve symbol
symbol : class Dice
location: class Apps.ThrowDice
Dice dice2 = new Dice();
5 errors
indicating that it cannot find the Dice class.
In my home profile (I'm a linux user Suse 7.3) I've declared the classpath as follows:
export PATH=/home/antlaw/java:$PATH
I'm a bit "stumped" with what's wrong i.e. am i using packages incorrectly or is there something wrong with my classpath? Any help/advice would be gratefully received.
Cheers -- Tony.

Hi YATArchivist,
Firstly, thanks for the response - it's appreciated :-)
Secondly, I've put Dice (and it's package directory) into the following directory :
home/antlaw/java/Parsons
so now both package directories "Parsons" (with Dice class) and "Applications" (with ThrowDice class) are subdirectories of home/antlaw/java
Thirdly, I've tried all of your suggestions and there is a big improvement as both ThrowDice and Dice now compile (i don't know for sure what's improved it - but I took your advice and have now inserted "export CLASSPATH=/home/antlaw/java:$CLASSPATH" and i'm now thinking this was at fault).
However, I'm still not able to run ThrowDice (which calls Dice) as every time I do I get the following exception being thrown:
antlaw@linux:~/java> java ThrowDice
Exception in thread "main" java.lang.NoClassDefFoundError: ThrowDice
if I try out your various compile options I get the same "NoClassDefFoundError".
if I cd "Applications" and go into the same directory as ThrowDice and try and compile there I get:
Exception in thread "main" java.lang.NoClassDefFoundError: ThrowDice (wrong name: Applications/ThrowDice)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
Here's a copy of both the java classes - in case there's something wrong here I'm not aware of
First Dice (home/antlaw/java/Parsons)
package Parsons;
public class Dice
     // class attribute
     private int dice_value;
     // public methods
     public void throwDice()
          double random_number = Math.random();
          random_number *= 6;
          random_number++;
          dice_value = (int) random_number;
     public int getDiceValue()
          return dice_value;
Here ThrowDice class
package Applications;
import Parsons.Dice;
public class ThrowDice
     public static void main(String args[])
          Dice dice1 = new Dice();
          Dice dice2 = new Dice();
          dice1.throwDice();
          dice2.throwDice();
          int dice1_score = dice1.getDiceValue();
          int dice2_score = dice2.getDiceValue();
          int total_score = dice1_score + dice2_score;
          System.out.println("The first dice shows " + dice1_score);
          System.out.println("The second dice shows " + dice2_score);
          System.out.println("Your total score is " + total_score);
Any ideas why this is happening? - thanks for your help so far too.
Cheers -- Tony.

Similar Messages

  • Package compilation problem in WinXP

    I am creating a simple program to throw a dice but have some problem with packages.
    I have 2 files, in the directory, C:\Dgame\Dgame\Dice.java and C:\Dgame\Dgame\Dealer.java .
    I packaged both of them into a package called Dgame (using "package Dgame;" at the first line of the file).
    The Dealer class creates a few NTDice instances. I tried to compile both a whole load of errors came out.
    Something like:
    cannot resolve symbol
    class NTDice
    location Dgame.Dealer
    Dice A = new Dice(1,2,3,4,5,6);
    any ideas on how to solve this problem will be greatly appreciated =)
    nb:i did not set any classpath settings

    Look up your error message here
    http://www.mindprod.com/errormessages.html and review
    the possible causes.
    If you still have problems post relevant portions of
    the code for review.Heres the code:
    I changed the file names abit. Dice == NTDice
    Any idea on how to solve the problem?
    Dealer.java
    package Dgame;
    import Dgame.*;
    import java.util.*;
    public class Dealer{
    //set the values for the dice
    NTDice A = NTDice( "A", 5, 6, 7, 38, 39, 40);
    NTDice.java
    package Dgame;
    import java.util.*;
    public class NTDice{
    //data members
    private String name;
    private ArrayList faceValues = new ArrayList();
    private Integer throwResult;
    static private int NTDiceCounter=0;
    //constructor
    public NTDice(String aName, Integer f1, Integer f2, Integer f3, Integer f4, Integer f5, Integer f6){
    name = aName;
    faceValues.add(f1);
    faceValues.add(f2);
    faceValues.add(f3);
    faceValues.add(f4);
    faceValues.add(f5);
    faceValues.add(f6);
    ++NTDiceCounter;
    public void roll(){
    ArrayList theDice = new ArrayList(faceValues);
    Collections.shuffle(theDice);
    setThrowResult(theDice);
    public void setThrowResult(ArrayList aDice){
    throwResult = (Integer) aDice.get(0);
    public Integer getThrowResult(){
    return throwResult;

  • Package compiling problem with a filename

    The pkg contains a select statement with 5 tables in the "from" clause. The statement works fine in a script but when I attempt to compile it as a proc, I get a "PLS-00201: identifier 'TATTLE.BI_LO_CART' must be declared" error. My schema has access to the tattle schema and, as I say, it runs fine as a script. Help?

    If you have been granted permission to the TATTLE schema through a ROLE than you will NOT be able to reference that table in a stored procedure.
    You will need to be directly granted that permission from TATTLE or have TATTLE create a public synonym and grant permission to public.
    I do not fully under stand the reason why but I think it has to do with Security.
    Ed

  • Package compiling error

    Hello,
    So I"m continuing to study java and I've been trying to create my first package but I keep getting problems whenever compiling via my java editor (JGrasp) and when trying to compile via the command prompt. I was hoping somebody could help me understand what I'm doing wrong with the code or compilation process. Thanks in advance for any help anybody could provide. (oh as one other sidenote these problems started happening after i'd done this at the command prompt to try to compile as well javac -d C:\ Entertainment.java)
    Josh
    JGrasp compiler problems
    ----jGRASP exec: javac -g C:\Entertainment.java
    ----at: Jun 23, 2006 7:35:32 AM
    ----jGRASP wedge: pid for wedge is 2788.
    ----JGRASP wedge2: pid for wedge2 is 3476.
    ----JGRASP wedge2: CLASSPATH is ".;;.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;C:\Program Files\jGRASP\extensions\classes".
    ----jGRASP wedge2: working directory is [C:\] platform id is 2.
    ----jGRASP wedge2: actual command sent ["C:\javac.exe" -g C:\Entertainment.java].
    ----JGRASP wedge2: pid for process is 3496.
    Can't determine application home
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.
    Actual program
    import javax.swing.*;
    package com.eventhandlers.entertainment2;
    public abstract class Entertainment
    protected String entertainer=("");
    protected int fee=0;
    public Entertainment()
    setEntertainerName();
    setEntertainmentFee();
    public String getEntertainerName()
    return entertainer;
    public double getEntertainerFee()
    return fee;
    public void setEntertainerName()
    entertainer=JOptionPane.showInputDialog(null,
    "Enter Name of entertainer ");
    public abstract void setEntertainmentFee();
    }

    Actual program
    import javax.swing.*;
    package com.eventhandlers.entertainment2;I don't know if it will solve your problem, but these two lines should be
    the other way around, like this:package com.eventhandlers.entertainment2;
    import javax.swing.*;IOW, the package statement (if present) should be the first statement
    in your compilation unit (.java file).
    kind regards,
    Jos

  • Servlet Compilation Problem !

    Hi,
    I am just starting to learn servlets and I got problem in compiling them. I got compilation error in
    import javax.servlet.*;statement. Seems that the compiler cannot find the servlet package. I got J2EE 1.4 beta installed on my machine but there is no servlet.jar package. I am using J2SDK 1.4.1_02, J2EE 1.4 beta and Tomcat 4.1.24.
    Can anyone help me with my servlet compilation problem?
    Thanks in advance!
    Josh

    servlet.jar is here :
    <tomcatdir>\common\lib
    add it to your compiler classpath

  • Compilation problem on solaris9  x86

    I am working on JAVA/J2EE . Am new to solaris9 . My requirement is to compile a source distribution of MOD-JK 1.2.21 (apache 2.0 server connector)and to produce binary distribution (*.so file) in solaris9 X86 box. But i got only source distribution of solaris10 X86 platform . Even with this source i tried to compile in solaris9 box its giving some error message and i can't able to make a executable file. Below i pasted the error message .
    # ./configure -with-apxs=/usr/apache2/bin/apxs
    checking build system type... i386-pc-solaris2.10
    checking host system type... i386-pc-solaris2.10
    checking target system type... i386-pc-solaris2.10
    checking for a BSD-compatible install... scripts/build/unix/install-sh -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... no
    checking for nawk... nawk
    checking whether make sets $(MAKE)... no
    checking for gcc... no
    checking for cc... cc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    Can any body help me in this regards. Even i don't know, am proceeding in right direction to compile this file. If any body having the binary distribution for the same MOD-JK1.2.21 on solaris9 or solaris10 X86 platform for apache2.0 . please help me to compile this file .I given below the config.log file entries also.
    Thanks in advance..........
    karthikeyan.u
    [email protected]
    AIM or AOL :: karthikeyanu
    CONFIG.log entries......
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by configure, which was
    generated by GNU Autoconf 2.59. Invocation command line was
    $ ./configure -with-apxs=/usr/apache2/bin/apxs
    ## Platform. ##
    hostname = Solaris
    uname -m = i86pc
    uname -r = 5.10
    uname -s = SunOS
    uname -v = Generic_118844-26
    /usr/bin/uname -p = i386
    /bin/uname -X = System = SunOS
    Node = Solaris
    Release = 5.10
    KernelID = Generic_118844-26
    Machine = i86pc
    BusType = <unknown>
    Serial = <unknown>
    Users = <unknown>
    OEM# = 0
    Origin# = 1
    NumCPU = 1
    /bin/arch = i86pc
    /usr/bin/arch -k = i86pc
    /usr/convex/getsysinfo = unknown
    hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /usr/openwin/bin
    PATH: /usr/ucb
    ## Core tests. ##
    configure:1546: checking build system type
    configure:1564: result: i386-pc-solaris2.10
    configure:1572: checking host system type
    configure:1586: result: i386-pc-solaris2.10
    configure:1594: checking target system type
    configure:1608: result: i386-pc-solaris2.10
    configure:1640: checking for a BSD-compatible install
    configure:1695: result: scripts/build/unix/install-sh -c
    configure:1706: checking whether build environment is sane
    configure:1749: result: yes
    configure:1814: checking for gawk
    configure:1843: result: no
    configure:1814: checking for mawk
    configure:1843: result: no
    configure:1814: checking for nawk
    configure:1830: found /usr/bin/nawk
    configure:1840: result: nawk
    configure:1850: checking whether make sets $(MAKE)
    configure:1874: result: no
    configure:2085: checking for gcc
    configure:2114: result: no
    configure:2165: checking for cc
    configure:2181: found /usr/ucb/cc
    configure:2191: result: cc
    configure:2355: checking for C compiler version
    configure:2358: cc --version </dev/null >&5
    /usr/ucb/cc: language optional software package not installed
    configure:2361: $? = 1
    configure:2363: cc -v </dev/null >&5
    /usr/ucb/cc: language optional software package not installed
    configure:2366: $? = 1
    configure:2368: cc -V </dev/null >&5
    /usr/ucb/cc: language optional software package not installed
    configure:2371: $? = 1
    configure:2394: checking for C compiler default output file name
    configure:2397: cc conftest.c >&5
    /usr/ucb/cc: language optional software package not installed
    configure:2400: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "mod_jk"
    | #define VERSION "1.2.21"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:2439: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=i386-pc-solaris2.10
    ac_cv_build_alias=i386-pc-solaris2.10
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=
    ac_cv_env_CXXFLAGS_value=
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_F77_set=
    ac_cv_env_F77_value=
    ac_cv_env_FFLAGS_set=
    ac_cv_env_FFLAGS_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=i386-pc-solaris2.10
    ac_cv_host_alias=i386-pc-solaris2.10
    ac_cv_prog_AWK=nawk
    ac_cv_prog_ac_ct_CC=cc
    ac_cv_prog_make_make_set=no
    ac_cv_target=i386-pc-solaris2.10
    ac_cv_target_alias=i386-pc-solaris2.10
    ## Output variables. ##
    ACLOCAL='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run aclocal-1.9'
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run tar'
    APACHE20_OEXT=''
    APACHE_CONFIG_VARS=''
    APACHE_DIR=''
    APXS=''
    APXSCFLAGS=''
    APXSCPPFLAGS=''
    APXSLDFLAGS=''
    AR=''
    AUTOCONF='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run autoconf'
    AUTOHEADER='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run autoheader'
    AUTOMAKE='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run automake-1.9'
    AWK='nawk'
    CC='cc'
    CCDEPMODE=''
    CFLAGS=''
    CP=''
    CPP=''
    CPPFLAGS=''
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR=''
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    F77=''
    FFLAGS=''
    GREP=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
    INSTALL_TYPE=''
    JAVA_HOME=''
    JK_JNI_WORKER=''
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIB_JK_TYPE=''
    LN_S=''
    LTLIBOBJS=''
    MAKEINFO='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run makeinfo'
    MAKE_DYNAMIC_APACHE_FALSE=''
    MAKE_DYNAMIC_APACHE_TRUE=''
    MKDIR=''
    OBJEXT=''
    OS=''
    PACKAGE='mod_jk'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PERL=''
    RANLIB=''
    RM=''
    SED=''
    SET_MAKE='MAKE=make'
    SHELL='/bin/bash'
    STRIP=''
    TEST=''
    VERSION='1.2.21'
    WEBSERVER=''
    ac_ct_AR=''
    ac_ct_CC='cc'
    ac_ct_CXX=''
    ac_ct_F77=''
    ac_ct_RANLIB=''
    ac_ct_STRIP=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE=''
    am__include=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    apache_include=''
    bindir='${exec_prefix}/bin'
    build='i386-pc-solaris2.10'
    build_alias=''
    build_cpu='i386'
    build_os='solaris2.10'
    build_vendor='pc'
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host='i386-pc-solaris2.10'
    host_alias=''
    host_cpu='i386'
    host_os='solaris2.10'
    host_vendor='pc'
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    install_sh='/export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/install-sh'
    int32_t_fmt=''
    int32_value=''
    int64_t_fmt=''
    int64_value=''
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/man'
    mkdir_p='$(install_sh) -d'
    oldincludedir='/usr/include'
    prefix='NONE'
    program_transform_name='s,x,x,'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='i386-pc-solaris2.10'
    target_alias=''
    target_cpu='i386'
    target_os='solaris2.10'
    target_vendor='pc'
    uint32_t_fmt=''
    uint32_t_hex_fmt=''
    uint64_t_fmt=''
    uint64_t_hex_fmt=''
    ## confdefs.h. ##
    #define PACKAGE "mod_jk"
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_NAME ""
    #define PACKAGE_STRING ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define VERSION "1.2.21"
    configure: exit 77

    You need to make sure the source is for the same version i.e. if you run apache 2.0.52 you need the source of 2.0.52. I successfully ran mixed installs, but I would not recommend it. You can download the required source from Apache.
    As for your compiler problem, make sure you have �/usr/ccs/bin/� in the your path, if you do not have it installed you will have to add the pkg �SUNWsprot�. You do not have 'make' in yout path.
    Make sure you have the following packages installed:
    SUNWbtool, SUNWsprot, SUNWtoo
    SUNWhea, SUNWarc, SUNWlibm, SUNWlibms
    SUNWdfbh, SUNWcg6h, SUNWxwinc, SUNWolinc,
    SUNWxglh,SUNWarcx, SUNWbtoox, SUNWdplx,
    SUNWscpux, SUNWsprox, SUNWlmsx, SUNWlmx
    SUNWlibCx, SUNWtoox, SUNWsra, SUNWsrh

  • Compiling problem related to library conflict

    Hi everybody,
    As I used JDeveloper 10.1.3.0.3 to compile my program, I encounted a compiling problem.
    In my user library, I have a class named Number.
    In J2SE 1.5, there is also a class named Number at java.lang.Number.
    So as I compiled the program, the compiler always tried to find the java.lang.Number first, then I got the compiling errors related to the class java.lang.Number.
    I have added the jar file of my own package in the classpath, but I still got the compiling error.
    But If I directly use JDK instead of JDeveloper to compiler the program, there is no such kind of problem.
    Can somebody help me with that.
    I really apprecaite your help.
    William

    Looks like I've been dumbed down by Java simpliciy. I'm referencing some source code that calls a function from this particular library. When I am compiling my code that makes the same call, I assume I need that library to be called out for the linker (link.exe). Do I also need any other libraries that this library calls and so on? How do I determine that the extent of what I need. The source code I'm referncing does include a make file. This was to create and exe file. Is it possible that I can edit this and have it make a dll instead?

  • Re: [iPlanet-JATO] sp3 jsp compiler problem

    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text
    substitution situations, and as a completely independent tool its use is not
    restricted to migration situations (or file types for that matter).
    Second, I sympathize with the unfortunate trouble you are experiencing due to
    Jasper's (perhaps more strict) compilation, but in what way did the iMT
    automated translation contribute to these inconsistencies that you cited?
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a
    translation situation, the only way "OnClick" would have been introduced was if
    it had been part of the pre-existing project's "extraHTML" (which was written
    by the original customer and just passed through unchanged by the iMT) or if it
    was added manually by the post-migration developer.
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be
    similar to the OnClick situation described above?
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no
    equivalent in the NetDynamics world, so any content tags in your code must have
    been introduced by your developers manually. Its a shame that jasper is so
    particular, but the iMT could not help you out here even if we wanted to. The
    constants that are used by the iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can see, the
    only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174144234026000079108238073194105057099246073154180137239239223019162">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    [Non-text portions of this message have been removed]

    Thanks a lot Matt and Mike for your prompt replies.
    I agree completely that iMT doesn't introduce the inconsistencies.
    About the three cases I mentioned, the third one happens only in
    manually created JSPs. So it has nothing to do with iMT. The first
    two are mainly due to the existing HTML code, as you rightly pointed
    out.
    The reason I made the suggestion is since we know that case 1 and 2
    won't pass the japser compiler in sp3, we have to do something about
    it. The best place to do this, in my mind, is iMT. Of course, there
    might be some twists that make it impossible or difficult to do this
    kind of case manipulation or attribute discard.
    Weiguo
    --- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text substitution situations, and as a completely independent
    tool its use is not restricted to migration situations (or file types
    for that matter).
    >
    Second, I sympathize with the unfortunate trouble you are experiencing due to Jasper's (perhaps more strict) compilation, but
    in what way did the iMT automated translation contribute to these
    inconsistencies that you cited?
    >
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a translation situation, the only way "OnClick" would have been
    introduced was if it had been part of the pre-existing
    project's "extraHTML" (which was written by the original customer and
    just passed through unchanged by the iMT) or if it was added manually
    by the post-migration developer.
    >
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be similar to the OnClick situation described above?
    >
    >
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no equivalent in the NetDynamics world, so any content tags
    in your code must have been introduced by your developers manually.
    Its a shame that jasper is so particular, but the iMT could not help
    you out here even if we wanted to. The constants that are used by the
    iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can
    see, the only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    >
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174048139046">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as
    what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    >>
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    Service.
    >
    >
    >
    [Non-text portions of this message have been removed]

  • Compilation problem in a JSP page

    Hi all,
    I'm trying to write a jsp page and some java stuff in it.
    It goes something like this -
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1255"%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1255"/>
        <title>Michael</title>
      </head>
      <body>
    <%
              String strError="";
    %>
    </body>Now the problem is that I get compilation problem about the use in java -
    "String cannot be resolved to a type"
    I know for sure that in other computers it's work, the question is what I'm missing?
    I have Java VM installed and I've downloaded and installed the latest JDK, what else?
    thanks,
    Michael.

    Michael4488 wrote:
    BalusC wrote:
    Then you should be using JSTL/EL.I don't familiar with this technology, any way - Its work on one computer so in my understanding it should work on the other as well.It is not related to the actual problem. It was just a comment on your code. Using scriptlets is considered as bad practice.
    I understand that of course, but I don't use any configuration file or set any special parameters in my computer.
    What exactly does the compiler need in order to recognize the Java code in the JSP page? If i manually add the JAVA_HOME environment variable it will work?
    where should I refer it to? "..\Java\jre1.6.0_07\lib" will do?It must point to the root installation directory of the JDK (thus not the JRE!).

  • Compilation problem with templates while using option -m64

    Hi,
    I have compilation problem with template while using option -m64.
    No problem while using option -m32.
    @ uname -a
    SunOS snt5010 5.10 Generic_127111-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
    $ CC -V
    CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
    Here is some C++ program
    ############# foo5.cpp #############
    template <typename T, T N, unsigned long S = sizeof(T) * 8>
    struct static_number_of_ones
    static const T m_value = static_number_of_ones<T, N, S - 1>::m_value >> 1;
    static const unsigned long m_count = static_number_of_ones<T, N, S - 1>::m_count + (static_number_of_ones<T, N, S - 1>::m_value & 0x1);
    template <typename T, T N>
    struct static_number_of_ones<T, N, 0>
    static const T m_value = N;
    static const unsigned long m_count = 0;
    template <typename T, T N>
    struct static_is_power_of_2
    static const bool m_result = (static_number_of_ones<T,N>::m_count == 1);
    template <unsigned long N>
    struct static_number_is_power_of_2
    static const bool m_result = (static_number_of_ones<unsigned long, N>::m_count == 1);
    int main(int argc)
    int ret = 0;
    if (argc > 1)
    ret += static_is_power_of_2<unsigned short, 16>::m_result;
    ret += static_is_power_of_2<unsigned int, 16>::m_result;
    ret += static_is_power_of_2<unsigned long, 16>::m_result;
    ret += static_number_is_power_of_2<16>::m_result;
    else
    ret += static_is_power_of_2<unsigned short, 17>::m_result;
    ret += static_is_power_of_2<unsigned int, 17>::m_result;
    ret += static_is_power_of_2<unsigned long, 17>::m_result;
    ret += static_number_is_power_of_2<17>::m_result;
    return ret;
    Compiation:
    @ CC -m32 foo5.cpp
    // No problem
    @ CC -m64 foo5.cpp
    "foo5.cpp", line 20: Error: An integer constant expression is required here.
    "foo5.cpp", line 36: Where: While specializing "static_is_power_of_2<unsigned long, 16>".
    "foo5.cpp", line 36: Where: Specialized in non-template code.
    "foo5.cpp", line 26: Error: An integer constant expression is required here.
    "foo5.cpp", line 37: Where: While specializing "static_number_is_power_of_2<16>".
    "foo5.cpp", line 37: Where: Specialized in non-template code.
    "foo5.cpp", line 20: Error: An integer constant expression is required here.
    "foo5.cpp", line 43: Where: While specializing "static_is_power_of_2<unsigned long, 17>".
    "foo5.cpp", line 43: Where: Specialized in non-template code.
    "foo5.cpp", line 26: Error: An integer constant expression is required here.
    "foo5.cpp", line 44: Where: While specializing "static_number_is_power_of_2<17>".
    "foo5.cpp", line 44: Where: Specialized in non-template code.
    4 Error(s) detected.
    Predefined macro:
    @ CC -m32 -xdumpmacros=defs foo5.cpp | & tee log32
    @ CC -m64 -xdumpmacros=defs foo5.cpp | & tee log64
    @ diff log32 log64
    7c7
    < #define __TIME__ "09:24:58"
    #define __TIME__ "09:25:38"20c20
    < #define __sparcv8plus 1
    #define __sparcv9 1[snipped]
    =========================
    What is wrong?
    Thanks,
    Alex Vinokur

    Bug 6749491 has been filed for this problem. It will be visible at [http://bugs.sun.com] in a day or two.
    If you have a service contract with Sun, you can ask to have this bug's priority raised, and get a pre-release version of a compiler patch that fixes the problem.
    Otherwise, you can check for new patches from time to time at
    [http://developers.sun.com/sunstudio/downloads/patches/]
    and see whether this bug is listed as fixed.

  • Pro*Cobol PCO Compilation problem in Linux

    Hi,
    DB :oracle 11g on RHEL 5.5
    when we are compiling the (Pro*cobol ) PCO code it is giving us the error :
    System default option values taken from: /oracle/oracle11g/app/product/11.2.0/dbhome_1/precomp/admin/pcbcfg.cfg
    Error at line 320, column 35 in file BR2385.PCO
    WHERE A.SOC_NO = :PARAM-SOC
    ..................................1
    PCB-S-00223, Undeclared variable "PARAM-SOC".
    when we change the pcbcfg.cfg file with flag : declare_section=no it's compile without error.
    But in this scenario cobol app doesn't run.
    if we declare the undeclared variable in the section
    EXEC SQL BEGIN DECLARE SECTION END-EXEC.
    PARAM-SOC PIC X(25).
    EXEC SQL END DECLARE SECTION END-EXEC.
    and compile it with declare_section=yes then cobol app. run fine.
    Are different files generated (cob,int,gnt) after compilation with the option declare_section=no and declare_section=yes.
    Pls help us in this regards. we have lot of file which having these issue and we don't want to do manual changes "EXEC SQL BEGIN" in it.
    Thanks in advance..

    Your code is faulty and has to be fixed.
    No compilation problem is present, the compiler correctly barfs.
    As this is not a support forum, kindly keep your non-issues out of this forum.
    Thank you!!!
    Sybrand Bakker
    Senior Oracle DBA

  • Occi::Number compilation problem in Linux

    Hi,
    I got following error when I complile my application which uses OCCI (Oracle C++ Call Interface) shiped with Oracle 9.2. I added the compiler flag -Dlint .
    When I dont add the compiler flag I dont get following error. My machine is running RedHat linux 7.3
    /usr/bin/g++ -c -I/opt/ora9/product/9.2/rdbms/demo -I/opt/ora9/product/9.2/rdbms/public -I/opt/ora9/product/9.2/plsql/public -I/opt/ora9/product/9.2/network/public myapp.cpp -g -Wall -DLiS -Dlint -DORACLE -I../include -DQT_THREAD_SUPPORT
    In file included from /opt/ora9/product/9.2/rdbms/demo/occi.h:40,
    from ../include/DatabaseSupport.h:17,
    from myapp.cpp:4:
    /opt/ora9/product/9.2/rdbms/demo/occiData.h:374: `oracle::occi::Number::Number (char)' has already been
    declared in `oracle::occi::Number'
    /opt/ora9/product/9.2/rdbms/demo/occiData.h:408: `oracle::occi::Number::operator char () const' has
    already been declared in `oracle::occi::Number'
    If I dont compile my application with -Dlint compiler flag I cant run the application.
    I think this is a bug in occi::Number class
    Any solusion??
    Thanking in advance
    nkran

    Your code is faulty and has to be fixed.
    No compilation problem is present, the compiler correctly barfs.
    As this is not a support forum, kindly keep your non-issues out of this forum.
    Thank you!!!
    Sybrand Bakker
    Senior Oracle DBA

  • Before Update Trigger compilation problem

    Hello experts! I have a compilation problem for a trigger I am trying to create.
    As a matter of fact it should update INT_INITIAL with the old value of INT_LOCK.
    The compilation fails and the debugger raises an ORA 01747 error (invalid declaration for user table, user column etc.)
    Do you have an idea what is wrong with my code?
    create or replace
    TRIGGER TRIGGER_INT_INITIAL
    BEFORE UPDATE ON  TBL_MATRIX_INTERMEDIATE_RESULT
    FOR EACH ROW
    Begin
      IF NVL(:new.INT_INITIAL, 0) != :old.INT_LOCK THEN
           UPDATE TBL_MATRIX_INTERMEDIATE_RESULT set
          :NEW.INT_INITIAL = :old.INT_LOCK;
      END IF;
    END;Regards,
    Seb

    Hi Seb,
    You don't need to use UPDATE stmt here as you are updating the same table on which your trigger is fired. So it may cause mutating table error too.
    when you use :new.colname it will immediately take care of the new value to be inserted in the respective column.
    So no need to write Update stmt.
    Hence remove,
    UPDATE TBL_MATRIX_INTERMEDIATE_RESULT set And use := is an assignment operator whereas = is to equate..
    :=Twinkle

  • Compiling problem in oracle 11g environment

    Hello mates,
    We have recently migrated from oracle10g to oracle11g. we have lot of pro*c and forms programs.
    my requirement is to compile all those pro*c and form programs in 11g.
    for compiling pro*c programs we have compilation scripts. these compilation scripts are prepared
    based on oracle10g. pro*c programs are compiling fine by using this compilation scripts.
    after migrated to 11g, ihave used same 10g compilation scripts to compile pro*c programs.
    1.while compiling the programs first time, i got these errors
    /oracle/app/product/11.2.0.3_cli/lib32/libsql10.a: No such file or directory
    /oracle/app/product/11.2.0.3_cli/rdbms/lib32/kpudfo.o: No such file or directory
    /oracle/app/product/11.2.0.3_cli/lib32/libpls10.a: No such file or directory
    /oracle/app/product/11.2.0.3_cli/lib32/libpls10.a: No such file or directory
    /oracle/app/product/11.2.0.3_cli/lib32/libpls10.a: No such file or directory
    so i have replace all libsql10.a,libpls10.a,libpls10.a,libpls10.a to libsql11.a,libpls11.a,libpls11.a,libpls11.a
    2.then these errors got resolved but second time compilation it shown below error.
    /oracle/app/product/11.2.0.3_cli/rdbms/lib/kpudfo.o: No such file or directory
    so i have removed kpudfo.o file from compilation script.
    3. i have compiled third time then it shown diffrent error as shown below
    ld: fatal: library -lnapt: not found
    ld: fatal: file /oracle/app/product/11.2.0.3_cli/lib/libclntsh.so: wrong ELF class: ELFCLASS64
    ld: fatal: file /oracle/app/product/11.2.0.3_cli/rdbms/lib/cdf.o: wrong ELF class: ELFCLASS64
    ld: fatal: File processing errors. No output written to ./ebsparam
    i have changed script
    "/usr/local/bin/gcc -m32 -g -DSOLARIS -DSOLARIS2 -I$HOME/include"
    to
    "/usr/local/bin/gcc -m64 -g -DSOLARIS -DSOLARIS2 -I$HOME/include"
    4. then i have compiled again then it shown error as below
    ld: fatal: file /usr18/SIR02551/mydomain/BD/obj/ebsparam.o: wrong ELF class: ELFCLASS32
    ld: fatal: File processing errors. No output written to ./ebsparam
    collect2: ld returned 1 exit status
    because of 32 bit problem i have changed script to 32 to 64. but now it is showing this error
    what is the problem i am not able to understand.
    please help on this
    Thanks
    Edited by: ramadurga.v on Jan 25, 2013 3:10 PM
    Edited by: ramadurga.v on Jan 25, 2013 3:26 PM

    Pl do not post duplicates -
    Compilaton problem in 11g environment
    Compilation problem in 11g environment
    Compilation problem in 11g environment

  • RE: RE : Compile problems

    Doug,
    I also had a very similar error. At first I thought it might have been
    similar to the technote 38525, but in the end I force compiled the workspace
    and re made the distribution and the fcompile worked like normal. So if you
    don't think the technote matches your situation then I recommend force
    compiling your workspace.
    Regards,
    Allister
    -----Original Message-----
    From: [email protected]
    [<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of Ajith Kallambella
    Sent: Thursday, 6 May 1999 23:01
    To: [email protected]; [email protected]
    Subject: RE : Compile problems
    Doug,
    Your method is probably returning a data type that the codegenerator
    is misinterpreting.
    It could be related to a documented problem where a return statement
    returning an unsigned long( or a few other type ) value generates a
    GENERICRETURN instruction, which codegen erroneously believed
    to have no
    operands, causing decompilation errors.
    Take a look at Bug # 38525.
    The suggested work around is not to return unsigned long( or a few other
    data types ).
    Ajith Kallambella M
    Subject: Compile problems
    Has anyone ever seen this error when using fcompile to compile their
    partitions?? The create/compile of the workspace & the
    partitioning of the
    application all went fine. It seems to indicate there may be a
    problem with
    the fetchEncounterWithItsClaim method. What's the IRBlock ?? Any
    help would
    be greatly appreciated!!
    Processing partition generation file:
    /usr/local/bin/forte3j/appdist/hcssdeve/hcssmain/cl27/codegen/hcss
    ma8/hcssma
    8.pgf
    Creating and initializing code generator, this could take some time.
    ERROR: Exiting due to following exception:
    SYSTEM ERROR: Client partition FTCompile_cl0_Client was terminated by
    escaped
    exception. See the remainder of the error stack for more information.
    Class: qqsp_ResourceException
    Error #: [1001, 3]
    Detected at: qqrt_ForteExecAgent::LoadPartition at 1
    Error Time: Wed May 5 17:38:50
    Exception occurred (locally) on partition "Forte_Executor",
    (partitionId
    =
    25771770-033B-11D3-9BC9-A45FAEA2AA77:0x1, taskId =
    [25771770-033B-11D3-9BC9-A45FAEA2AA77:0x1.6]) in application
    "FTCompile_cl0", pid 13061 on node gromit.HealthPartners.com in
    environment <unknown>.
    SYSTEM ERROR: Variable index 71 is outside the range 0 to 26 for the
    IRBlock fetchEncounterWithItsClaim.
    Class: qqsp_Exception
    Error #: [1001, 203]
    Detected at: qqrt_IRBlock::GetTypeIndex at 1
    Last TOOL statement: method ForteCompiler.ProcessPGF
    Error Time: Wed May 5 17:38:50
    Exception occurred (locally) on partition "Forte_Executor",
    (partitionId =
    25771770-033B-11D3-9BC9-A45FAEA2AA77:0x1, taskId =
    [25771770-033B-11D3-9BC9-A45FAEA2AA77:0x1.6]) in application
    "FTCompile_cl0", pid 13061 on node gromit.HealthPartners.com in
    environment <unknown>.
    Doug Scurr
    HealthPartners
    8100 34th Avenue South
    9th Floor
    Minneapolis, MN 55440-1309
    (612)883-7317
    - att-1.unk
    Get Free Email and Do More On The Web. Visit <a href=
    "http://www.msn.com">http://www.msn.com</a>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
    >
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>

    Allister,
    That's the only thing(force compile) I could think of to try, so I did & re
    made the distribution last night & it worked fine!!
    Doug Scurr
    HealthPartners
    8100 34th Avenue South
    9th Floor
    Minneapolis, MN 55440-1309
    (612)883-7317
    -----Original Message-----
    From: Allister Dickson [SMTP:[email protected]]
    Sent: Friday, May 07, 1999 1:23 AM
    To: Ajith Kallambella; [email protected];
    [email protected]
    Subject: RE: RE : Compile problems
    Doug,
    I also had a very similar error. At first I thought it might have
    been
    similar to the technote 38525, but in the end I force compiled the
    workspace
    and re made the distribution and the fcompile worked like normal. So
    if you
    don't think the technote matches your situation then I recommend
    force
    compiling your workspace.
    Regards,
    Allister
    > -----Original Message-----
    > From: [email protected]
    > [<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of Ajith
    Kallambella
    > Sent: Thursday, 6 May 1999 23:01
    > To: [email protected]; [email protected]
    > Subject: RE : Compile problems
    >
    >
    > Doug,
    >
    > Your method is probably returning a data type that the
    codegenerator
    > is misinterpreting.
    >
    > It could be related to a documented problem where a return
    statement
    > returning an unsigned long( or a few other type ) value generates
    a
    > GENERICRETURN instruction, which codegen erroneously believed
    > to have no
    > operands, causing decompilation errors.
    >
    > Take a look at Bug # 38525.
    >
    > The suggested work around is not to return unsigned long( or a few
    other
    > data types ).
    >
    >
    > Ajith Kallambella M
    >
    >
    > Subject: Compile problems
    >
    >
    > Has anyone ever seen this error when using fcompile to compile
    their
    > partitions?? The create/compile of the workspace & the
    > partitioning of the
    > application all went fine. It seems to indicate there may be a
    > problem with
    > the fetchEncounterWithItsClaim method. What's the IRBlock ?? Any
    > help would
    > be greatly appreciated!!
    >
    > Processing partition generation file:
    > /usr/local/bin/forte3j/appdist/hcssdeve/hcssmain/cl27/codegen/hcss
    > ma8/hcssma
    > 8.pgf
    > Creating and initializing code generator, this could take some
    time.
    > ERROR: Exiting due to following exception:
    >
    > SYSTEM ERROR: Client partition FTCompile_cl0_Client was terminated
    by
    > escaped
    > exception. See the remainder of the error stack for more
    information.
    > Class: qqsp_ResourceException
    > Error #: [1001, 3]
    > Detected at: qqrt_ForteExecAgent::LoadPartition at 1
    > Error Time: Wed May 5 17:38:50
    > Exception occurred (locally) on partition "Forte_Executor",
    > (partitionId
    > =
    > 25771770-033B-11D3-9BC9-A45FAEA2AA77:0x1, taskId =
    > [25771770-033B-11D3-9BC9-A45FAEA2AA77:0x1.6]) in application
    > "FTCompile_cl0", pid 13061 on node gromit.HealthPartners.com
    in
    > environment <unknown>.
    >
    > SYSTEM ERROR: Variable index 71 is outside the range 0 to 26
    for the
    > IRBlock fetchEncounterWithItsClaim.
    > Class: qqsp_Exception
    > Error #: [1001, 203]
    > Detected at: qqrt_IRBlock::GetTypeIndex at 1
    > Last TOOL statement: method ForteCompiler.ProcessPGF
    > Error Time: Wed May 5 17:38:50
    > Exception occurred (locally) on partition
    "Forte_Executor",
    > (partitionId =
    > 25771770-033B-11D3-9BC9-A45FAEA2AA77:0x1, taskId =
    > [25771770-033B-11D3-9BC9-A45FAEA2AA77:0x1.6]) in
    application
    > "FTCompile_cl0", pid 13061 on node
    gromit.HealthPartners.com in
    > environment <unknown>.
    >
    > Doug Scurr
    > HealthPartners
    > 8100 34th Avenue South
    > 9th Floor
    > Minneapolis, MN 55440-1309
    > (612)883-7317
    >
    >
    > - att-1.unk
    >
    >
    > _______________________________________________________________
    > Get Free Email and Do More On The Web. Visit <a href=
    "http://www.msn.com">http://www.msn.com</a>
    > -
    > To unsubscribe, email '[email protected]' with
    > 'unsubscribe forte-users' as the body of the message.
    > Searchable thread archive
    <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
    >
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>

Maybe you are looking for

  • BT are thr worst company I have ever dealt with.

    Had a new telephone line and Infinity 2 installed on the 21st of May. I have had nothing but problems with the broadband speed and stability. When my new BT phone the BT6500 arrived the problems increased to the phone line and the phone itself. Five

  • HT1926 ITunes 11 install issue, Error 7 (Windows error 126)

    While trying to install ITunes11 on a Windows Desktop with MS XP SP3 I keep getting an error message that states "ITunes was not installed correctly.Please reinstall ITunes.Error 7(Windows error 126)".There is an initial message that states that "App

  • Subquery factoring and DB Link

    Hello, 2 node RAC Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi PL/SQL Release 10.2.0.5.0 - Production CORE    10.2.0.5.0      Production TNS for Linux: Version 10.2.0.5.0 - Production NLSRTL Version 10.2.0.5.0 - ProductionI have a

  • Firefox makes some opengl programs work weirdly on windows 7, they minimize to taskbar unexpectedly

    firefox seems to cause programs which use opengl to act weird, it minimizes them to taskbar suddenly, unexpectedly. This ofcourse leads to me not being able to use this software while firefox is open == This happened == Every time Firefox opened == w

  • When Trying to View an .mov File, PSE 8.0 Crashes... Help

    When Trying to View an .mov File, PSE 8.0 Crashes... Help  I was able to view these .mov files without any problem on ACDSee 2.5, any help will be appreciated to determine why .mov files crashe in the PSE 8.0 viewer.... Best Regards, Larry