Trouble compiling package with JDK 1.4

Hi,
I just installed JDK 1.4 on a new machine, now I have trouble running compile scripts that used to work on my old machine. The old an new are configured with Win 2000. The following compiles without problem:
javac -classpath "..." -d "..." "c:\.....\com\...\some package\MyClass.java"
Changing this statemetn to:
javac -classpath "..." -d "..." "c:\.....\com\...\some package\*.java"
should compile all Java files in 'some package', instead what I get is the following error message:
error: cannot read: c:\.....\com\...\some package\*.java
The documentation says that this should still work. Anyone aware of changes in 1.4 that could cause this problem?
Thanks for responding

As a work-around, you can use some Unix-styled shell (that is, command processor) which expands the *.expression into the list of the matching file names, thus releaving javac from this task. (Caveat: directory names with a space inside will cause problems.)
I can recommend the Cygnus package (including the command processor "bash") or "MinGW", the Minimalist GNU For Windows with its simpler sh:
http://www.mingw.org/
ftp://ftp.franken.de/pub/win32/develop/gnuwin32/mingw32/porters/Mikey/

Similar Messages

  • Compile Package with DreamCoder

    Hi
    I compile the package and debugge with DreamCoder for oracle and is very easy for all PL/SQL developers.
    All task for developers is simple with this product .
    URL : http://www.mentattech.com
    Regards,
    Peter

    I have tried dropping the package and re-compiling it but to no avail. I can compile other packages/procedures/functions without any issues.
    Also, trying to run either EXEC UTL_RECOMP.recomp_parallel(4, 'SCHEMA_NAME'); or @?/rdbms/admin/UTLRP.SQL gives the following erros:
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Process ID: 7040
    Session ID: 388 Serial number: 9039
    ERROR:
    ORA-03114: not connected to ORACLE
    DOC> The following query reports the number of objects that have compiled
    DOC> with errors (objects that compile with errors have status set to 3 in
    DOC> obj$). If the number is higher than expected, please examine the error
    DOC> messages reported with each object (using SHOW ERRORS) to see if they
    DOC> point to system misconfiguration or resource constraints that must be
    DOC> fixed before attempting to recompile these objects.
    DOC>#
    ERROR:
    ORA-03114: not connected to ORACLE
    DOC> The following query reports the number of errors caught during
    DOC> recompilation. If this number is non-zero, please query the error
    DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
    DOC> are due to misconfiguration or resource constraints that must be
    DOC> fixed before objects can compile successfully.
    DOC>#
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE

  • Trouble compiling servlets with J2SE 5

    Hello,
    I've been using Sun 1 Studio CE, and more recently, Netbeans 3.6, with J2SE 1.4.2. I have some basic swing applets and servlets that I wrote for my business' web site.
    I recently downloaded and installed the new software bundle containing Netbeans 4.0 and J2SE 1.5. When I try to compile my servlets, I get a compiler error that packages javax.servlet.* and javax.servlet.http.* do not exist.
    I reinstalled J2SE 1.4.2 and Netbeans 3.6 and the servlets compile fine.
    Why is JDK 5 not able to find these packages? My understanding is that they're part of the Java Servlet API, which I never explicitly downloaded previously. Is that the piece of the puzzle that I'm missing? Please help!
    Thanks

    Thanks for your response...
    What is interesting is that I never explicitly installed the Servlet API. Out of curiosity, I searched my computer for servlet*.jar and came up with 13 files including:
    servlet-2.2.jar
    servlet-2.3.jar
    servlet-api-2.4.jar
    These were located in subdirectories under Netbeans 3.6 and Tomcat 5.0.19. Therefore, I'm assuming that when I downloaded the JDK 1.4.2/Netbeans 3.6 bundle from the Java site, the Servlet API must have been part of the bundle.
    ****Let me check something...***
    I've just done the same search for servlet*.jar on my test PC, which has the Netbeans 4.0/JDK 5 bundle installed. The same files exist, in the same locations(almost the same, anyway; the Tomcat and Netbeans 4 directory structures are a little different).
    Both software bundles contain the same files, yet 1.4.2 compiles without any problems or additional configuration. In other words, I reinstalled the old 1.4.2/ Netbeans 3.6 bundle, took my existing source code, and started compiling.
    Any ideas why the same isn't true for JDK 5/Netbeans 4? I know there are changes to the way Netbeans 4.0 deals with Class Paths, but I thought that was for the classes I've written. Shouldn't the compiler be able to find the servlet API, since it bundled/installed with everything else?
    Thanks

  • How to compiling package with j2sdk

    can I just use one command line to compilng a package under J2SDK?

    I'm sure I'm not really doing you any favours here since wherever you would go otherwise (like a tutorial) would teach you much more than the simple answer to your question but, if you'll promise (no crossed fingers) to go and look at the tutorial mentioned by jesperdj then I'll tell you...
    javac dir1\*.java dir1\dir1a\*.java dir2\*.javai.e. list all the directories you want compiled, with spaces in between.
    Chris.

  • Got Error While Compiling Packages with TOAD (URGENT)

    Dear Experts,
    Please help me to resolve this erroe this is very criticla.
    ORA-20000: You have insufficient privileges for an objects in this schema
    ORA-06512: at "SYS.DBMS.UTILITY" LINE 422
    ORA-06512: Line 1

    You should be connected to the user that owns the packages, or SYS.

  • Trouble compiling packages

    I have classes written and would like to package them. I thought that I did it right, but then when I used the import statement in a program the error was that the package did not exist. Could someone give me the steps in getting it right. Thank you

    This might help you.
    http://java.sun.com/docs/books/tutorial/java/interpack/packages.html

  • Compiling packages with libapr in it, strange link errors

    On my Solaris 10 boxen, suddenly I cannot build stuff anymore that utilizes Apache's apr.
    This includes Apache 2 (2.0.53 and 2.0.54), and subversion.
    The funny thing is, I did build 2.0.53 a few weeks ago, and did not bump into the problem. Rebuilding it, with identical configure options, environment vars and make invocation, leads to the following errors.
    They make little sense to me. Clues, anyone?
    The following output is from an attempt to build subversion. The same errors occur when building Apache 2:
    ---- Snip ----
    phil@turing> pwd; cat PHIL/build
    /phil/sw/sunos/i386/obj/subversion-1.1.4
    #! /bin/sh
    unset CPPFLAGS
    unset LDFLAGS
    unset LD_LIBRARY_PATH
    LD_RUN_PATH=/phil/sw/sunos/i386/lib; export LD_RUN_PATH
    /phil/sw/src/subversion-1.1.4/configure \
    --prefix=/phil/sw/sunos/i386/pkg/subversion-1.1.4  \
    --disable-mod-activation  \
    --enable-javahl  \
    --with-berkeley-db=/phil/sw/sunos/i386/pkg/db-4.2.52  \
    --with-editor=vi  \
    --with-zlib
    make
    phil@turing> sh ./PHIL/build
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_rwlock_tryrdlock@SUNW_1.2'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_exit@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_attr_setstacksize@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_key_create@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `dlerror@SUNW_1.22'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `write@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_key_delete@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_create@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_setspecific@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `gethostname@SUNWprivate_1.1'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/subversion/libsvn_subr/.libs/libsvn_subr-1.so: undefined reference to `open@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `writev@SUNW_1.2'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_rwlock_trywrlock@SUNW_1.2'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `waitpid@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `fcntl@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_rwlock_init@SUNW_1.2'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_join@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `select@SUNW_1.2'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_sigmask@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_mutex_consistent_np@SUNW_1.3'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_mutexattr_setrobust_np@SUNW_1.3'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_equal@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_rwlock_destroy@SUNW_1.2'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_attr_init@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `dlopen@SUNW_1.22'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_mutexattr_settype@SUNW_1.2'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_attr_getdetachstate@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_detach@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `read@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_getspecific@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `poll@SUNW_1.2'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_attr_setdetachstate@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `dlsym@SUNW_1.22'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_rwlock_rdlock@SUNW_1.2'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_rwlock_wrlock@SUNW_1.2'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_self@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `dlclose@SUNW_1.22'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_rwlock_unlock@SUNW_1.2'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/subversion/libsvn_subr/.libs/libsvn_subr-1.so: undefined reference to `fsync@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `pthread_once@SUNW_0.9'
    /phil/sw/sunos/i386/obj/subversion-1.1.4/apr/.libs/libapr-0.so: undefined reference to `sigaction@SUNW_0.9'
    collect2: ld returned 1 exit status
    make: *** [subversion/clients/cmdline/svn] Error 1
    ---- Snip ----

    Same thing with curl and others....
    root@sol10[20:50] > gcc -v
    Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.4/specs
    Configured with: ./configure --prefix=/usr/local
    Thread model: posix
    gcc version 3.4.4
    What gives?
    make[2]: Entering directory `/home/src/curl-7.14.0/lib'
    make[2]: Leaving directory `/home/src/curl-7.14.0/lib'
    make[1]: Leaving directory `/home/src/curl-7.14.0/lib'
    Making all in src
    make[1]: Entering directory `/home/src/curl-7.14.0/src'
    make all-am
    make[2]: Entering directory `/home/src/curl-7.14.0/src'
    /bin/ksh ../libtool tag=CC mode=link gcc -g -O2 -o curl main.o hugehelp.o urlglob.o writeout.o writeenv.o getpass.o homedir.o strtoofft.o timeval.o ../lib/libcurl.la -lsocket -lnsl -lz
    gcc -g -O2 -o .libs/curl main.o hugehelp.o urlglob.o writeout.o writeenv.o getpass.o homedir.o strtoofft.o timeval.o ../lib/.libs/libcurl.so -lsocket -lnsl -lz -Wl,--rpath -Wl,/usr/local/lib
    ../lib/.libs/libcurl.so: undefined reference to `dlopen@SUNW_1.22'
    ../lib/.libs/libcurl.so: undefined reference to `dlsym@SUNW_1.22'
    ../lib/.libs/libcurl.so: undefined reference to `dlclose@SUNW_1.22'
    collect2: ld returned 1 exit status
    make[2]: *** [curl] Error 1
    make[2]: Leaving directory `/home/src/curl-7.14.0/src'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/home/src/curl-7.14.0/src'
    make: *** [all-recursive] Error 1

  • Execution of Immediate SQL in compiled package in two versions of SQL*PLUS

    A peculiar problem has risen in our database.
    Execution of Immediate SQL in compiled package in two versions of SQLPLUS gives different results
    We have a compiled package with two procedures that contain immediate SQL statements, and these are:
    +PROC_DELETE_ROWS+
    +     -- This immediate sql deletes unreferenced Document Types from the DOC_REF_TYPE table+
    +     delete from doc_ref_type t where exists (select 1 from PROARC_DOC_REF_TYPE_VW d where d.doc_ref_type = t.doc_ref_type)+
       +     and not exists (select 1 from doc_ref d where d.doc_ref_type = t.doc_ref_type)+
       +     and doc_ref_type not in (select doc_ref_type from eis_doc_ref_type)+
       +     and doc_ref_type not in (select eis_doc_ref_type from eis_doc_ref_type)+
    +PROC_ADD_NEW_ROWS+
    +     -- Drop the temporary table+
    +     drop table TMP_PROARC_DOC_REF_TYPE+
    +     -- Create a temporary table+
    +     create table tmp_PROARC_DOC_REF_TYPE as+
    +     select DOC_REF_TYPE, substr(DOC_REF_TYPE_DESC,1,100) as DOC_REF_TYPE_DESC+
    +     from PROARC_DOC_REF_TYPE_VW+
    +     -- Insert document types that do not exist in the DOC_REF_TYPE table+
    +     insert into doc_ref_type t (DOC_REF_TYPE, DOC_REF_TYPE_DESC)+
            +     select distinct DOC_REF_TYPE, DOC_REF_TYPE_DESC from tmp_PROARC_DOC_REF_TYPE s+
            +     where not exists (select 1 from doc_ref_type t where t.doc_ref_type = s.doc_ref_type)+
    I am using the following test script:
    +Exec mypackage.proc_delete_rows;+
    +Commit;+
    +Select count(*) from DOC_REF_TYPES;+
    +Exec mypackage.proc_add_new_rows;+
    +Commit;+
    +Select count(*) from DOC_REF_TYPES;+We have a Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit
    I am using SQL*Plus: Release 8.1.7.0.0
    The test script is working as expected.
    Count after delete =155
    Count after insert = 511
    but when I use another computer with SQL*Plus: Release 10.x
    The Test script returns the following
    Count after delete =155
    Count after insert =155
    The same is happening when I am running the scripts as a scheduled job.
    QUESTION:
    I believe I have found a fix for the problem though. By changing tmp_PROARC_DOC_REF_TYPE in the insert statement to all upper case, the script is running in both environments apparently. But how is this possible? I am executing a compiled package in the database. The session shell should have no impact on the behaveour of the procedure I am calling. What causes this?
    Edited by: Reon on Jun 16, 2011 4:44 AM

    1) I am using the same user (PANDORA)
    2) (PANDORA) for both
    3) I am actually not handling any errors. Just skipping any error altogether. I'll check to see what exceptions are raised, and come back.
    I have also noticed that SQL/PLUS is not the culprit here. If I use SQLTools 1.5 to run the script, the same thing happens. So it has to do something with the connection or session environment that is inheritet to both clients.
    The CODEZ:_
      procedure add_doc_types IS
      sqlstr     VARCHAR2(2000);
      begin
      BEGIN
           sqlstr := 'drop table TMP_PROARC_DOC_REF_TYPE';
         EXECUTE IMMEDIATE sqlstr;
        EXCEPTION
          WHEN OTHERS THEN
            null;
        END;
      BEGIN
           sqlstr := 'create table tmp_PROARC_DOC_REF_TYPE as select DOC_REF_TYPE, substr(DOC_REF_TYPE_DESC,1,100) as DOC_REF_TYPE_DESC from PROARC_DOC_REF_TYPE_VW';
         EXECUTE IMMEDIATE sqlstr;
        EXCEPTION
          WHEN OTHERS THEN
            null;
        END;
        BEGIN
            sqlstr := 'insert into doc_ref_type t (DOC_REF_TYPE, DOC_REF_TYPE_DESC)
                    select distinct DOC_REF_TYPE, DOC_REF_TYPE_DESC from TMP_PROARC_DOC_REF_TYPE s
                    where not exists (select 1 from doc_ref_type t where t.doc_ref_type = s.doc_ref_type)';
         EXECUTE IMMEDIATE sqlstr;
            sqlstr := 'update doc_ref_type t set DOC_REF_TYPE_DESC = (
                    select DOC_REF_TYPE_DESC from tmp_PROARC_DOC_REF_TYPE s
                    where t.doc_ref_type = s.doc_ref_type)
                    where exists (select 1 from tmp_PROARC_DOC_REF_TYPE s where t.doc_ref_type = s.doc_ref_type)';
         EXECUTE IMMEDIATE sqlstr;
        EXCEPTION
          WHEN OTHERS THEN
            null;
        END;
      end add_doc_types;
      procedure delete_doc_types IS
      sqlstr     VARCHAR2(2000);
       BEGIN
            sqlstr := 'delete from doc_ref_type t where exists (select 1 from PROARC_DOC_REF_TYPE_VW d where d.doc_ref_type = t.doc_ref_type)
            and not exists (select 1 from doc_ref d where d.doc_ref_type = t.doc_ref_type)
            and doc_ref_type not in (select doc_ref_type from eis_doc_ref_type)
            and doc_ref_type not in (select eis_doc_ref_type from eis_doc_ref_type)';
          EXECUTE IMMEDIATE sqlstr;
         EXCEPTION
           WHEN OTHERS THEN
             null;
      end delete_doc_types;Edited by: Reon on Jun 16, 2011 2:01 AM

  • Trouble with compiling packages

    I ve posted this in other forums but most of the soultions that i got was problamatic. if there is a way to compile a application which has 3 or 4 sub packages without using any other tools other than what comes with jdk that's what im looking for
    itried what was in this post but that didnt work
    http://forum.java.sun.com/thread.jspa?threadID=541081&messageID=2622943
    Thanks in advance

    The other thread has the right answers if you're using a real operating system like a unix variety.
    If you're using Windows, you can improve the situation by using cygwin. That will give you access to a tool like find (unix find) so you'll be able to do something like
    find . -name \*java > @files
    java @filesor
    java `find . -name \*java`But seriously, the best solution is to use a build tool like Ant or Make. You can use Ant on Windows.
    Windows isn't really designed for small independant tools (e.g., getting work done) like unix is. You're supposed to use a big monolithic application, one at a time. Once you've learned enough Java that you are developing larger applications like this, and if you insist on using Windows, then either get cygwin, or download an IDE like Eclipse.

  • Java 6u24 won't launch signed JNLP app with classes compiled with JDK 1.4.2

    Anyone else having a problem launching a JNLP app compiled with Java 1.4 using Java 6u24 on the client? Anyone have a Java 1.4-compiled app that does launch with Java 6u24?
    I am, and I have isolated the problem to some change in 6u24's java web start launching logic. The splash screen appears and then javaws just quits with no error. Trace shows it is not getting past checking of the first .jar. My JNLP app, fully signed with CA-issued certificate, when compiled with Java 1.4.2 will not launch on JRE 6u24 (or 6u25-b03). The same exact app launches perfectly fine when it is compiled with JDK 1.5 or 1.6. It is not a signing problem, though it is related to certificate checking logic or a concurrency flaw in javaws' AppPolicy and TrustDecider classes. It is not a host server or network problem as those have been varied with same results. It is not a specific .jar problem as I have varied what is the first .jar with same results. I have eliminated all other variables to find the only difference is what Java version the app is compiled with. Well, all but one other variable - I have not tried with apps other than mine.
    My app is compiled with JDK 1.4.2 so I can still support older platforms. That requirement is going away soon but this is still a regression from 6u23 that is causing a big problem for at least this developer.

    You can try to use the version of the jarsigner JDK 1.5 or later.
    Has changed the management of files in META-INF.
    So compile with 1.4 but sign with 1.5 or later

  • [svn:fx-trunk] 11488: Resubmitting binary distribution of xercesPatch. jar from the third party module in the SDK and compiled it with Sun JDK 1.4 .2_12.

    Revision: 11488
    Author:   [email protected]
    Date:     2009-11-05 17:10:10 -0800 (Thu, 05 Nov 2009)
    Log Message:
    Resubmitting binary distribution of xercesPatch.jar from the third party module in the SDK and compiled it with Sun JDK 1.4.2_12.
    QE notes: N/A
    Doc notes: N/A
    Bugs:
    SDK-16818 - Must open-source the code for xercesPatch.jar.
    Reviewer: Discussed with Gordon
    Tests run: Checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-16818
    Modified Paths:
        flex/sdk/trunk/lib/xercesPatch.jar
        flex/sdk/trunk/modules/thirdparty/xerces-patch/build.xml

    Did you try this:
    http://forum.java.sun.com/thread.jsp?thread=434718&forum=60&message=1964421

  • Package compile faile with error ORA-03113: end-of-file on communication..

    Hi There,
    We're trying to compile a package and we're getting this error that we're not sure how to debug and/or tackle. Your assistance is highly appreciated.
    create or replace
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Process ID: 4252
    Session ID: 1149 Serial number: 5910
    The package use to compile without any issues; also we have it working in other environments. We can't see any differences at this stage.
    Oracle Version:11.2.0.1 x64
    OS: Windows 2008 Server R2
    Thanks in advance for your help.
    Thanks

    I have tried dropping the package and re-compiling it but to no avail. I can compile other packages/procedures/functions without any issues.
    Also, trying to run either EXEC UTL_RECOMP.recomp_parallel(4, 'SCHEMA_NAME'); or @?/rdbms/admin/UTLRP.SQL gives the following erros:
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Process ID: 7040
    Session ID: 388 Serial number: 9039
    ERROR:
    ORA-03114: not connected to ORACLE
    DOC> The following query reports the number of objects that have compiled
    DOC> with errors (objects that compile with errors have status set to 3 in
    DOC> obj$). If the number is higher than expected, please examine the error
    DOC> messages reported with each object (using SHOW ERRORS) to see if they
    DOC> point to system misconfiguration or resource constraints that must be
    DOC> fixed before attempting to recompile these objects.
    DOC>#
    ERROR:
    ORA-03114: not connected to ORACLE
    DOC> The following query reports the number of errors caught during
    DOC> recompilation. If this number is non-zero, please query the error
    DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
    DOC> are due to misconfiguration or resource constraints that must be
    DOC> fixed before objects can compile successfully.
    DOC>#
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE
    ERROR:
    ORA-03114: not connected to ORACLE

  • Trouble compiling a library

    Hi folks, I'm experiencing a trouble using forms & reports on two different platforms: Win XP Prof. SP2 for development and SuSe Ent. 9 Linux for deployment.
    I've inherited from another person an application with some forms, some reports and two libraries (one attached to the forms annd the other attacched to the reports).
    I've modified a function in the library attacched to the reports. It compiles ok on XP.
    Moved the library (.pll file) to Suse I tried to compile with:
    #!/bin/sh
    PATH_SAVE=$PWD
    ORACLE_HOME=/opt/oracle/app/oracle/product/frs10.1.2
    export ORACLE_HOME
    FORMS_PATH=/opt/csa/sw/webapp/FORMS:/opt/csa/sw/webapp/CSA_LIBS
    export FORMS_PATH
    REPORTS_PATH=/opt/csa/sw/webapp/REPORTS:/opt/csa/sw/webapp/CSA_LIBS
    export REPORTS_PATH
    TNS_ADMIN=$ORACLE_HOME/network/admin
    export TNS_ADMIN
    TWO_TASK=csa_v30/csa_v30@csa5i009
    export TWO_TASK
    ORACLE_SID=csa5i009
    export ORACLE_SID
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/i386/server:$ORACLE_HOME/jdk/jre/lib/i386/native_threads:$ORACLE_HOME/jdk/jre/lib/i386:$ORACLE_HOME/lib
    export LD_LIBRARY_PATH
    ORACLE_TERM=vt220
    export ORACLE_TERM
    # COMPILE LIBRARIES
    cd /opt/csa/sw/webapp/CSA_LIBS
    $ORACLE_HOME/bin/frmcmp_batch module=LIB_CSA_FORMS.pll userid=csa_v30/csa_v30@csa5i009 module_type=LIBRARY compile_all=YES logon=YES batch=YES
    # COMPILE FORMS and MENUS
    cd /opt/csa/sw/webapp/FORMS
    for file in *.fmb
    do
    $ORACLE_HOME/bin/frmcmp_batch module=$file userid=csa_v30/csa_v30@csa5i009 module_type=FORM compile_all=YES logon=YES batch=YES
    done
    for file in *.mmb
    do
    $ORACLE_HOME/bin/frmcmp_batch module=$file userid=csa_v30/csa_v30@csa5i009 module_type=MENU compile_all=YES logon=YES batch=YES
    done
    cd $PATH_SAVE
    unset PATH_SAVE
    and obtained:
    PL/SQL ERROR 201 at line 58, coloumn 5
    identifier 'SRW.SET_FOREGROUND_FILL COLOR' must be declared
    FRM-30312: Failed to compile the library
    Some useful data:
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
    Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.4.0     Production
    And:
    Report Builder 10.1.2.0.2
    ORACLE Server Release 10.1.0.4.2
    Oracle Procedure Builder 10.1.2.0.2
    Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
    Oracle CORE     10.1.0.4.0     Production
    Oracle Tools Integration Services 10.1.2.0.2
    Oracle Tools Common Area 10.1.2.0.2
    Oracle Toolkit 2 for Windows 32-bit platforms 10.1.2.0.2
    Resource Object Store 10.1.2.0.2
    Oracle Help 10.1.2.0.2
    Oracle Sqlmgr 10.1.2.0.2
    Oracle Query Builder 10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 10.1.2.0.2
    Oracle XML Developers Kit 10.1.0.4.2 - Production
    Oracle Virtual Graphics System 10.1.2.0.2
    Oracle Image 10.1.2.0.2
    Oracle Multimedia Widget 10.1.2.0.2
    Oracle Tools GUI Utilities 10.1.2.0.2
    Any advice will be welcome
    Thanx
    Rob

    This package currently compiles fine with the latest gcc (at least last time I checked), but still I'm having trouble making a package for it because I don't know how to get it to install to a custom location like the $startdir/pkg directory.

  • Error while running Dev60 with jdk 11711o

    Dear OTN Members / Oracle Development Team.
    Have any one tried it. Help required form Oracle Devlopemnt
    Team.
    hi i am using oracle8 OAS 4.0.7, Developer 6.0 production
    with NT 4.0 and service Pack 3
    when i try to run the form through jinitinator or JDK provided
    with the package i get the following error.
    running with jinitator
    Oracle JInitiator version 1.1.7.11
    Using JRE version 1.1.7.11o
    User home directory = E:\WINNT\Profiles\Administrator
    Proxy Configuration: no proxy
    java.io.FileNotFoundException: \forms60\f60all.jar
    at java.io.FileInputStream.<init>(FileInputStream.java:56)
    at sun.net.www.protocol.file.FileURLConnection.connect(Compiled
    Code)
    at
    sun.net.www.protocol.file.FileURLConnection.getInputStream(FileUR
    LConnection.java:162)
    at
    sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRe
    directs(Compiled Code)
    at
    sun.applet.AppletCache.getInputStream(AppletCache.java:588)
    at
    sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java
    171)
    at sun.applet.JinitAppletPanel.loadJarFiles(Compiled
    Code)
    at sun.plugin.AppletViewer.loadJarFiles(Compiled Code)
    at
    sun.applet.JinitAppletPanel.runLoader(JinitAppletPanel.java:500)
    at sun.applet.JinitAppletPanel.run(Compiled Code)
    at java.lang.Thread.run(Thread.java:466)
    and with JDK
    Microsoft (R) VM for Java, 5.0 Release 5.0.0.3165
    ==============================================
    ? help
    c clear
    f run finalizers
    g garbage collect
    m memory usage
    q quit
    t thread list
    ==============================================
    com.ms.security.SecurityExceptionEx[oracle/forms/engine/Main.init
    ]: cannot access file E:\WINNT\Java\.hotjava
    at com/ms/security/permissions/FileIOPermission.check
    at com/ms/security/PolicyEngine.deepCheck
    at com/ms/security/PolicyEngine.checkPermission
    at com/ms/security/StandardSecurityManager.chk
    at com/ms/security/StandardSecurityManager.checkRead
    at java/io/File.exists
    at java/io/File.mkdirs
    at sun/applet/AppletViewer.<clinit>
    at java/lang/ClassLoader.findSystemClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    Error getting package information: sun/applet
    com.ms.packagemanager.PackageManagerException: Package not
    ound
    at com/ms/packagemanager/PackageManager.getPackage
    at
    com/ms/security/SecurityClassLoader.getSecurityInfoFromPackage
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    java.lang.ClassNotFoundException: sun.applet.AppletViewer
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    what could be the problem have any one encountered this kind of
    problem.
    pls help required.
    mobeen
    null

    Dear OTN Members / Oracle Development Team.
    Have any one tried it. Help required form Oracle Devlopemnt
    Team.
    hi i am using oracle8 OAS 4.0.7, Developer 6.0 production
    with NT 4.0 and service Pack 3
    when i try to run the form through jinitinator or JDK provided
    with the package i get the following error.
    running with jinitator
    Oracle JInitiator version 1.1.7.11
    Using JRE version 1.1.7.11o
    User home directory = E:\WINNT\Profiles\Administrator
    Proxy Configuration: no proxy
    java.io.FileNotFoundException: \forms60\f60all.jar
    at java.io.FileInputStream.<init>(FileInputStream.java:56)
    at sun.net.www.protocol.file.FileURLConnection.connect(Compiled
    Code)
    at
    sun.net.www.protocol.file.FileURLConnection.getInputStream(FileUR
    LConnection.java:162)
    at
    sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRe
    directs(Compiled Code)
    at
    sun.applet.AppletCache.getInputStream(AppletCache.java:588)
    at
    sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java
    171)
    at sun.applet.JinitAppletPanel.loadJarFiles(Compiled
    Code)
    at sun.plugin.AppletViewer.loadJarFiles(Compiled Code)
    at
    sun.applet.JinitAppletPanel.runLoader(JinitAppletPanel.java:500)
    at sun.applet.JinitAppletPanel.run(Compiled Code)
    at java.lang.Thread.run(Thread.java:466)
    and with JDK
    Microsoft (R) VM for Java, 5.0 Release 5.0.0.3165
    ==============================================
    ? help
    c clear
    f run finalizers
    g garbage collect
    m memory usage
    q quit
    t thread list
    ==============================================
    com.ms.security.SecurityExceptionEx[oracle/forms/engine/Main.init
    ]: cannot access file E:\WINNT\Java\.hotjava
    at com/ms/security/permissions/FileIOPermission.check
    at com/ms/security/PolicyEngine.deepCheck
    at com/ms/security/PolicyEngine.checkPermission
    at com/ms/security/StandardSecurityManager.chk
    at com/ms/security/StandardSecurityManager.checkRead
    at java/io/File.exists
    at java/io/File.mkdirs
    at sun/applet/AppletViewer.<clinit>
    at java/lang/ClassLoader.findSystemClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    Error getting package information: sun/applet
    com.ms.packagemanager.PackageManagerException: Package not
    ound
    at com/ms/packagemanager/PackageManager.getPackage
    at
    com/ms/security/SecurityClassLoader.getSecurityInfoFromPackage
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    java.lang.ClassNotFoundException: sun.applet.AppletViewer
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    what could be the problem have any one encountered this kind of
    problem.
    pls help required.
    mobeen
    null

  • Version compatibility  of 10G Application Server 10.1.2.0.2  with  JDK 1.5.

    hi buddies,
    I want to know that whether
    10G Application Server 10.1.2.0.2 with JDK 1.5. is Version compatibility
    pls do send ur replies if known to you.

    Hi ,
    As far as I know AS 10.1.2.0.2 is Not certified with JDK 1.5.
    Please see below some links where you can double-check this
    1. OC4J with JDK 1.5 JSP compilation error
    2. http://docs.huihoo.com/oracle/docs/B14099_19/web.1012/b14011/chap1.htm
    "Only the JDK 1.3.1 and JDK 1.4 compilers are supported and certified by OC4J. It is possible to specify an alternative compiler by adding a <java-compiler> element to the server.xml file, and this might provide a workaround for the "classes not in packages" issue, but no other compilers are certified or supported by Oracle for use with OC4J."
    3. "Certified JDKs" from
    http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
    BR,
    Mihai

Maybe you are looking for

  • How to change employee responsible for open campaigns.

    Hi, I want to find out open campaigns and marketing attributes based on partner function i.e., employee responsible and these open documents I need assign to another employee responsible. Which function module I need to read the details and which fm

  • Creating snapshops with API using Forms 5.0

    We're trying to create snapshots on an Olite database using the API. We've problems below are not yet solved: 1. It's impossible to create complex snapshots. A complex snapshot uses a union or a join. 2. It's impossible to create a snapshot for a vie

  • Base Unit of Measure - Day & Hours

    Hi All, We are facing a unique problem. We created a material with Base Unit of Measure as "DAY". At the time of MIGO, the FI Document also got posted with Quanity 5.00 and Base Unit of Measure as "DAY". However, when we go to the Report Painter Repo

  • Colouring up bitmap images

    Hi I have a 98 page document with the same bitmap image on every spread. The image has been coloured up with a special colour in Indesign but unfortunately hasn't been set to overprint. I've tried various combinations in find/replace to find the imag

  • Rendering HTML report from SSRS 2012 with full details

    I want to get the parent level grouping and child data in a single HTML file from SSRS 2012 so that it doesn't try to refresh when clicked on expand/contract the tree. The reason is i'm getting SSRS report from java application and when i try to expa