Loadjava & dropjava problems

hi,
loadjava -user [email protected]:1527:EVTXQ1 -oci8 -resolve -v source.jar
While loading java source there are compilation errors & status of source files is invalid.
dropjava -user [connect_string] -oci8 source.jar
exiting : parsing to determine name of souce/src/ArrayDataItem
This fails & I m forced to delete each class manually.
How to delete the entire source jar ( even if there are exceptions while loading it) ?
Thanks in advance.

I will need to see the errors that occurred. It looks like there is an IoException occurring during the parse of the class file name. what version of the database are you using and what version of the JDK was the code written for?
Is it only the classes that need to be deleted or the do both need to be deleted by hand? Is it possible to get me a copy of the source.jar?

Similar Messages

  • TIMEOUT during loadjava /dropjava

    Hi all.
    when i try to load/drop classes in
    Oracle 8i JVM i get the following error
    dropping class : cots/estatement/rtis/corbaapis/_Cots_RTISServerImplBase
    Error while processing cots/estatement/rtis/corbaapis/_Cots_RTISServerImplBase
    ORA-04021: timeout occurred while waiting to lock object COTADMIN./38abb939_
    CotsRTISServerImpl
    when i query the v$session and v$access tables i see quite a no. of locks on the java classes.
    I can not kill the session associated with
    these classes.
    Only re-starting the server releases all
    the locks.
    But the locks appear after some time.
    This is typically observerd when a multi-
    threaded client calls asyncronously many
    methods of a corba object.
    Please help
    thanks in advance

    Hi There,
    Just a very wild guess, I had a similar
    problem and found out through the logs that
    I had ran out of RBS tablespace, as I
    was bulding the database for the first time, it was no problem I rebuilt the database
    allowing a huge RBS of 1GB and this time I had no timeout, you can always make the RBS
    smaller later (I was told).
    I Hope this is not rubbish.

  • Loadjava question/problem (ssohash.class)

    I am attempting to run the loadjava command like this:
    loadjava -resolve -thin -user
    portal30_sso/[email protected]:1521:orcl SSOHash.class
    I get the following error:
    Error while resolving class oracle/security/sso/SSOHash
    ORA-04043: object oracle/security/sso/SSOHash does not exist
    loadjava: 1 errors
    We are running this from a portal on NT to a database on
    Solaris, DB version 8.1.7.2. What do I have to do to get the
    ssohash class to resolve? Is there a object file that I need to
    reference in my classpath, if so where is it?

    I am attempting to run the loadjava command like this:
    loadjava -resolve -thin -user
    portal30_sso/[email protected]:1521:orcl SSOHash.class
    I get the following error:
    Error while resolving class oracle/security/sso/SSOHash
    ORA-04043: object oracle/security/sso/SSOHash does not exist
    loadjava: 1 errors
    We are running this from a portal on NT to a database on
    Solaris, DB version 8.1.7.2. What do I have to do to get the
    ssohash class to resolve? Is there a object file that I need to
    reference in my classpath, if so where is it?

  • What to install to get loadjava

    I'm interested in being able to run loadjava from machines setup as database clients... for development purposes, not on the database host directly. (Solaris server, NT clients/dev machines) What do I need to install on the clients to be able to run loadjava?
    Thanks,
    -Brian

    hi;
    The official (and supported) way is to do the Client Install from the same CD/download that you used to install the server. If you only have the Solaris CD, and cant get the NT one, you can always download it from OTN.
    This client install will give you all the client side tools, like loadjava, dropjava, deployejb, etc, as well as the JDBC and SQLJ drivers.
    take care
    John.
    Oracle JServer Development Team

  • LOADJAVA이용시 JAVA CLASS OBJECT의 권한 문제

    제품 : SQL*NET
    작성날짜 : 2004-01-14
    LOADJAVA이용시 JAVA CLASS OBJECT의 권한 문제
    ====================================
    PURPOSE
    Java Stored Procedure를 이용하기 위해 java class를 DB로 load할 때 loadjava를
    이용할 수 있다. 이때 loadjava 수행시 권한 오류나, java stored procedure(JSP)의
    owner와 다른 owner로 java class를 load하고 JSP에서 사용하는 경우의 권한
    부여 방법 등을 확인해 본다.
    Explanation & Example
    1. loadjava와 dropjava의 간단한 실행 방법 및 관계된 objects들
    loadjava command는 가장 간단하게 다음과 같이 지정할 수 있다.
    -r option은 db에 load하고서 load된 java object를 compile하는 것이다.
    os> loadjava -user scott/tiger -r LJTeset.class
    이 문장을 수행하고 나면 다음과 같은 object가 생성된다.
    즉, load되는 java class외에도 2개의 테이블과 2개의 index, 그리고 한개의
    table이 생성된다.
    loadjava를 수행하는 user는 이러한 object를 생성할 수 있는 권한이 있어야한다.
    SQL> select object_name, object_type from user_objects;
    OBJECT_NAME OBJECT_TYPE
    CREATE$JAVA$LOB$TABLE TABLE
    LJTest JAVA CLASS
    JAVA$CLASS$MD5$TABLE TABLE
    SYS_C002172 INDEX
    SYS_C002173 INDEX
    SYS_LOB0000029869C00002$$ LOB
    loadjava후, 다시 dropjava문장을 다음과 같이 수행하는 경우, 이렇게 생성된
    6개의 object가 모두 사라지는 것이 아니고 LJTest만 지워지고 나머지는
    모두 그래도 남는다.
    os>dropjava -user scott/tiger LJTest.class
    즉, 일단 한번 loadjava를 수행하면 위에서 LJTest를 제외한 나머지 object는
    항상 존재하게 된다.
    2. loadjava시 다른 user가 java class이용할 수 있도록 하는 방법
    loadjava시 load된 java class를 이용하여 JSP를 생성한 owner에게 다음과 같은
    방법으로 권한을 부여할 수 있다.
    os>loadjava -user scott/tiger -g public -s -r LJTest.class
    os>loadjava -user scott/tiger -g eykim -s -r LJTest.class
    이때 -g option이 권한을 부여하기 위한 option이며, -s를 지정하면 동일한
    이름의 public synonym이 만들어져서 이 java class를 다른 schema에서도
    이용가능하게 된다.
    (NOTE) 이때, named PL/SQL에서 role을 통해 부여 받은 권한은 인식하지
    못하는 제약사항이 loadjava시에도 그대로 적용된다.
    즉, -g다음에 role명을 주는 경우 그 role을 가지고 있는 다른 user가
    해당 java class를 이용하여 JSP를 만드는 경우 해당 java class를
    인식하지 못하게 된다.
    loadjava외에 직접적으로 SQL문장을 통해 권한을 부여하여도 된다.
    SQL>grant execute on "LJTest" to scott;
    여기서 주의할 점은 반드시 LJTest java class를 지정할 때 큰 따옴표(" ")를
    표시하여야만 인식이 된다.
    이것은 grant뿐 아니고 sql문장에서 java class를 reference할 때 항상 적용된다.
    예를 들어 resolve시에 다음과 같이 하여야 한다.
    SQL>alter java class "DBTrigger" resolve;
    위의 loadjava 문장에서 -s option을 통해 public synonym을 생성하였는데,
    이것은 sql문장을 통해 synonym을 생성하여도 같은 결과이다.
    이때, user는 create public synonym권한을 가지고 있어야 한다.
    이후 dropjava 수행이 필요한 경우, dropjava시 -s option없이 public synonym도
    함께 drop되므로 drop public synonym도 필요하다.
    Reference Documents
    <Note:106753.1> ORA-29521 in Java Stored Procedure referencing Loaded Javax Classes
    Java Stored Procedures Developer's Guide Release 2 (8.1.6)", (A81358-01)

  • How to work with oracle ......help !!

    Hi, all
    I am develeping a java-based software program which runs on PC win98. It is used to backup client's files
    into my oracle server db and restore them back to my client's harddisk if required.
    I am using oracle JDevelopment and JBuilder to work for my software desgin.
    1.Do you think they are good tools ?? or any others tools ?
    2.I plan to storage files into BLOB and CLOB tables. is it correct? or using Loadjava/DropJava ? or something else?
    3.Does oracle provides build-in command or utilities to compress data or issue unix Command?
    I hope you don't mind giving me some advices
    Regards
    Kenneth Hui.
    null

    If you are wanting to store files inside of Oracle I'd recommend looking at Oracle IFS.
    null

  • JAVA IDE options for development against OAS and Oracle8i

    I'm wondering whether JDeveloper is the only Java IDE option
    when developing Java apps for deployment on OAS and Oracle8i.
    Is it possible to use VisualCaf     or Jbuilder instead and how
    does these tools compare to JDeveloper?
    null

    Jesper Bech Petersen (guest) wrote:
    : I'm wondering whether JDeveloper is the only Java IDE option
    : when developing Java apps for deployment on OAS and Oracle8i.
    : Is it possible to use VisualCaf     or Jbuilder instead and how
    : does these tools compare to JDeveloper?
    JDeveloper2 provides a natural coupling to OAS and 8i which no
    other tools offer. The Connection Manager, Oracle's InfoBus
    beans, Info Form wizards, CORBA definition wizards, deployment
    wizards for 8i etc. are all there to tie the suite together.
    I used JBuilder with 8i813beta well before JDev2Beta was
    released for Web Server Applications/CORBA. 8i provides a
    number of command line utilities(loadjava, dropjava, publish,
    sess_sh etc) to perform the deployment of CORBA objects. JDev2
    are essentially calling those utilities but wrapped around a GUI.
    You can certainly use other tools but you will probably discover
    some critical features are missing. Features such as SQLJ
    support and a light weight servlet engine for debugging servlets
    are well worth it.
    One thing I hope Oracle would address is remote debugging of
    Java in the Database(either JSProcs/CORBA objects). You can
    certainly debug CORBA objects outside the database using
    Visibroker/OSAgent but this means you have to change a lot of
    code for debugging b/c Visibroker doesn't support sess_iiop nor
    AuroraJTS.
    DEV TEAM ARE YOU LISTENING!!!<g>
    There are a number of other concerns that I've listed in a
    post "heavy IIOP issues - 8i/408" but nobody has responded to
    that and probably never will.
    I think JDev3 with OBC4J will offer further encouragement to
    move away from other dev tools though. Depending on whether
    your organisation will take advantage of this new enterprise app
    framework you may not need to make the move. I dont know I
    haven't used it but I'm waiting in anticipation. I'd be
    interested in hearing what the beta testers are saying about the
    speed issues!
    rgds ash
    null

  • Removing EJB

    Does anybody know how to remove an EJB
    once deployed. I've found the loadjava, dropjava
    and deployejb programs but no equivalence
    for removing EJB.
    -EP
    null

    Use the remove tool to unpublish it and then use dropjava to drop
    the package. There is no undeployejb...
    i.e. remove [-r] name [options]
    dropjava -user ...
    null

  • Loadjava Problems !!

    Hi All,
    I'm experiencing some problems trying to load the SSOHash.class file to the schema that I created just like the same in the Install guide...
    The error String follows :
    E:\Projetos\Portal_SSO\lib\packages\oracle\security\sso>loadjava -user partner/[email protected]:1521:o817
    -thin -verbose -resolve -force SSOHash.class
    initialization complete
    loading : oracle/security/sso/SSOHash
    creating : oracle/security/sso/SSOHash
    Error while creating class oracle/security/sso/SSOHash
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01405: fetched column value is NULL
    ORA-06512: at "LBACSYS.LBAC_EVENTS", line 29
    ORA-06512: at line 2
    resolver :
    resolving: oracle/security/sso/SSOHash
    Error while resolving class oracle/security/sso/SSOHash
    ORA-04043: object oracle/security/sso/SSOHash does not exist
    loadjava: 2 errors
    Could Anyone help me ?? I have no idea of what could it be !!
    P.S: Please, reply to my e-mail because I'm not part of this list !!!!
    Thanks in Advance !!
    Ilan

    Looks like either your database is not java enabled or database is not configured properly.
    You may check your database if it is Java enabled
    sqlplus sys/change_on_install
    select object_name from all_objects where object_name like 'JAVA%';
    You must see various java objects name if your database is Java enabled.
    (Result for 8.1.7.0.0 database query )
    OBJECT_NAME
    JAVA$CLASS$MD5$TABLE
    JAVA$HTTP$DEPLOYMENT$DIGEST$
    JAVA$HTTP$LOG$
    JAVA$HTTP$REALM$GROUP$
    JAVA$HTTP$REALM$ID$
    JAVA$HTTP$REALM$MAPPING$
    JAVA$HTTP$REALM$POLICY$
    JAVA$HTTP$REALM$PRINCIPAL$
    JAVA$HTTP$REALM$P_SEQ$
    JAVA$POLICY$
    JAVA$POLICY$SEQUENCE$
    JAVA$POLICY$SHARED$00000002
    JAVA$POLICY$SHARED$00000004
    JAVA$POLICY$SHARED$00000005
    JAVA$POLICY$SHARED$TABLE
    JAVA$RMJVM$AUX
    JAVA$RMJVM$AUX2
    JAVA$RMJVM$AUXI
    JAVA$RMJVM$AUXI2
    JAVASNM
    JAVASNM$
    JAVA_AUTONOMOUS_TRANSACTION
    JAVA_AUTONOMOUS_TRANSACTION
    JAVA_XA
    JAVA_XA
    JAVASNM
    JAVA_AUTONOMOUS_TRANSACTION
    JAVA_XA
    JAVA$HTTP$DEPLOYMENT$DIGEST$
    JAVA$HTTP$LOG$
    JAVA$HTTP$REALM$GROUP$
    JAVA$HTTP$REALM$ID$
    JAVA$HTTP$REALM$MAPPING$
    JAVA$HTTP$REALM$POLICY$
    JAVA$HTTP$REALM$PRINCIPAL$
    JAVA$HTTP$REALM$P_SEQ$
    JAVA$CLASS$MD5$TABLE
    JAVA$CLASS$MD5$TABLE
    38 rows selected.
    null

  • Problem with loadjava

    Hello,
    everytime i use the "loadjava" utility, to upload Java class files into my Oracle database, an error occurs.
    This is an example of the error-message:
    D:\Programme>loadjava -user test/test -oci8 -force JTest.class
    Error while retrieving errors for JDelete
    ORA-00904: Invalid Columnname
    Error while resolving errors for JDelete
    ORA-00904: Invalid Columnname
    loadjava: 2 errors
    Could avyone give me a solution for this problem?
    Thanks!
    JBl
    null

    Actually, as I created my user "like" an existing user that has been assigned JAVAUSERPRIV, my users have been assigned to the role. I've even gone and assigned my users to the JAVASYSPRIV role as well. I'm actually running loadjava with the SYS user in all my cases specifying the specific schema I'm interested in.
    I have spent a lot of time reading the documentation on loadjava and the Java Developer's Guide in general. I've also spent quite some time "Googling" this as well. Like I said, as I'm new to this, I'm sure it's something straightforward. I'm just looking for some tips or hints.

  • Loadjava "Insufficient privileges" problem

    I am attempting to use loadjava (8.1.7) to load some classes into another schema. It works fine, until I add the -grant option. Then, I get an "insufficient privileges" error. The target schema owner has the RESOURCE role, and I've granted EXECUTE ANY TYPE, EXECUTE ANY PROCEDURE, CREATE ANY TYPE, CREATE ANY PROCEDURE, etc., with and without the WITH ADMIN OPTION suffix, directly to both the creating account and the schema owner, all to no avail.
    Any ideas would be appreciated.

    Insufficient privileges is a rather generic problem. In this case in may be referring to java privileges. I suggest you read up on DBMS_JAVA.GRANT_PERMISSION and see what privileges are necessary to run your JSP.
    Cheers, APC

  • Loadjava column name problem

    When trying to load compiled java classes, I always get the following:
    Error while retrieving errors for BradTest
    ORA-00904: invalid column name
    resolver :
    Error while resolving class BradTest
    ORA-00904: invalid column name
    loadjava: 2 errors
    I get this error no matter what, even if I have an empty class with no methods or variables. I am using the following syntax for the loadjava:
    loadjava -user id/password@host:1521:SID -t -r -v BradTest.class
    Any ideas what the problem is?
    Thanks,
    Brad

    Sounds as though the JVM may not be correctly or completely installed. You may need to rerun the INITJVM.SQL script (as sys) and check the alert log for errors.

  • Loadjava problem

    Hi,
    I've Oracle 8.1.6 on Debian 2.2 rel.2.
    I'm trying to load java classes to my database.
    I can do it with PL/SQL package: "DBMS_JAVA".
    When I try to use command line utility: "loadjava" I get the message:
    loadjavasu: /ora/app/oracle/product/8.1.6/bin/loadjava: No such file or directory
    ls -l /ora/app/oracle/product/8.1.6/bin/loadjava-rwxr-xr-x 1 oracle oinstall 679 Feb 2 23:27 loadjava
    what's wrong? ..

    Hello,
    The problem is that the script loadjava is made to use Korn Shell.
    Assuming you haven't installed it (wich would prevent that error), edit the script, and change the first line from ksh to sh.

  • Dbms_java.loadjava problem on Oracle9i

    I'm having trouble with the dbms_java.loadjava() procedure. It completes successfully but the java class never appears in the user_objects table. If I use the standard loadjava utility everything works fine and the java class appears in the user_objects table as expected.
    I can successfully run other functions in the dbms_java package which leads me to believe that everything is ok with permissions.
    Is this an Oracle9i issue? Any ideas?
    Thank you!
    .. june

    I have the same problem... any ideas? after loading the java class, I also called DBMS_JAVA.GRANT_PERMISSION('<USER>', 'java.io.FilePermission', '<FILENAME WITH PATH>', 'read, write, exec')
    thanks
    Ranganath Samudrala

  • Deployment problem in loadjava

    Hello Raghu,
    Thank You for you help.
    I selected JDk 1.1 from Project Properties. Still I am getting
    the error at the same point except for the fact that the content
    of Error Message is slightly modified. Instead of "Cannot Load
    Java Classes into Data Base:Null Output Stream " it now gives
    "Cannot Load Java Classes into Data Base: 1 errors"
    Please help me.
    Thank You,
    Pravin
    JDeveloper Team (guest) wrote:
    : Hi
    : Make sure that your JDK version is 1.1 and not 1.2. The
    problem
    : occurs when you have your JDK set as 1.2
    : This can be set through the project properties.
    : regards
    : raghu
    : Seema (guest) wrote:
    : : Hello,
    : : I am using Jeveloper 2.0. I created a java class
    containing
    : a
    : : public static method. Then I tried to deploy it to Oracle 8i
    : : Database, using the Deployment wizard. I tried to deploy
    : : a 'Java stored procedure'. There was no error with the
    : connection
    : : to Oracle Database. Also I could do the same with direct
    : commands
    : : from command line utility (loadjava and publish [from sql
    : : prompt]).
    : : I got the following error -
    : : "cannot load java classes into database: null output
    stream"
    : : at the point of -
    : : "invoking Oracle 8i deployment Utility"
    : : I would very much appreciate if someone could throw some
    light
    : : on
    : : this problem / or give a site where I can find listing of
    such
    : : errors and their causes and/or remedies.
    : : With Thanks ,
    : : Pravin
    null

    Hi
    I could not replicate the error. Would it be possible to send a
    small test case.
    Also If you are able to load the same java class succesfully thru
    loadjava command line utility, what are the parameters that you
    specified for loadjava.
    Any other differences between the command line and JDev IDE can
    be useful (such as classpath)
    regards
    raghu
    Pravin Sonsale (guest) wrote:
    : Hello Raghu,
    : Thank You for you help.
    : I selected JDk 1.1 from Project Properties. Still I am getting
    : the error at the same point except for the fact that the
    content
    : of Error Message is slightly modified. Instead of "Cannot Load
    : Java Classes into Data Base:Null Output Stream " it now gives
    : "Cannot Load Java Classes into Data Base: 1 errors"
    : Please help me.
    : Thank You,
    : : : Hello,
    : : : I am using Jeveloper 2.0. I created a java class
    : containing
    : : a
    : : : public static method. Then I tried to deploy it to Oracle
    8i
    : : : Database, using the Deployment wizard. I tried to deploy
    : : : a 'Java stored procedure'. There was no error with the
    : : connection
    : : : to Oracle Database. Also I could do the same with direct
    : : commands
    : : : from command line utility (loadjava and publish [from sql
    : : : prompt]).
    : : : I got the following error -
    : : : "cannot load java classes into database: null output
    : stream"
    : : : at the point of -
    : : : "invoking Oracle 8i deployment Utility"
    : : : I would very much appreciate if someone could throw some
    : light
    : : : on
    : : : this problem / or give a site where I can find listing of
    : such
    : : : errors and their causes and/or remedies.
    : : : With Thanks ,
    : : : Pravin
    null

Maybe you are looking for

  • Help needed on Outbound Goods Receipt (IDoc)...

    Hi Experts,   Can we use the message type WMMBXY and IDoc type WMMBID02 for Outbound Goods Receipts scenario also (Sending Goods Receipts information to target system).   Because WMMBID02 seems to be for Inbound going by the documentation in WE60. Ca

  • Safari wont open, it crashes before it opens

    i recentally downloaded the new update yesterday and today i cant open safari. when i click on safari on my dock it crashes and wont open at all, please help

  • Customized Back Order Report

    Hello, I have a customer who would like a customized back order report.  They would like a query that would show them the following: - The Items on any orders that have been partially shipped on the row level.  (I was able to create a query that woul

  • Multi Display config possible with HD Cinema Displays?????

    Hello Everyone, Not sure if anyone has asked this question before. I searched it here and didn't find anything. Anyway is it possible to remove the display stand that is attached to a 24" HD Cinema Display and mount it to another stand that is capabl

  • How to type case double in Oracle?

    there is no such thing TO_DOUBLE('A_NUMBER') in oracle so how can i convert a number to double??? I know number it self can treat as double...