ORA-29545 in loadjava

In SQLJ Developer's Guide and Reference ppt. 11-12,
Step 1, create a .jar, naming niter-server,jar, complete
Step 2, load .jar file into the server,
loadjava -oci8 -force -user user1/test@oracle niter-server.jar
then the error message is:
Error while creating class NamedIterDemo_SJProfile0
ORA-29545: badly formed class: User has attempted to load a class (NamedIterDemo_S
JProfile0) into a restricted package. Permission can be granted using dbms_java
.grant_permission(<user>, LoadClassInPackage...
(and 3 more error messages, the same error)
what's wrong....

Solution in:
Topic,
ORA 29547
Name,
David Pickering ([email protected])
Date,
October 26, 2000
Forum/Archive,
Oracle Help for Java

Similar Messages

  • Get ORA-29545 when loadjava

    I have a very simple java class as below:
    public class Hello
    { public static String world ()
    {  return "Hello world.";
    $ javac Hello.java
    runs successfully
    However, when I tried to run
    $ loadjava -user userID/password -oci8 -resolve Hello.class
    I got this:
    errors : class Hello
    ORA-29545: badly formed class:
    The following operations failed
    class Hello: resolution
    exiting : Failures occurred during processing
    Any ideas?
    Thanks!

    I have a very simple java class as below:
    public class Hello
    { public static String world ()
    {  return "Hello world.";
    $ javac Hello.java
    runs successfully
    However, when I tried to run
    $ loadjava -user userID/password -oci8 -resolve Hello.class
    I got this:
    errors : class Hello
    ORA-29545: badly formed class:
    The following operations failed
    class Hello: resolution
    exiting : Failures occurred during processing
    Any ideas?
    Thanks!

  • ORA-29545: okay, but have a look at this one?

    May we conclude that:
    expected = encountered <=> false (?)
    => ...
    ORA-29545: badly formed class: at offset 3093 of Adapter.TFADPBeschikbaarheid.sendAanvraag expecting a class-oracle.xml.parser.v2.XMLDocument but encountered a class-oracle.xml.parser.v2.XMLDocument.
    ... <=
    This is the result of resolving Java Stored Procedures.
    Any ideas, why this error could be raised.
    Thx,
    Jan.
    null

    I stand corrected, Oracle817 SunSolaris comes preloaded with xml 2.0.2.9 I was using 2.0.2.10. Loading the last version into the database resolved the issue.

  • JPub giving ORA-29545 error - Please Help!

    All,
    I am trying to consume Java Web Services for 9.2.0.1 RDBMS. While I run JPub, I get the following error:
    E:\Ora9i\OraHome92\bin>jpub -user="SCOTT/TIGER" -sysuser="SYS/TIGER" -proxywsdl="e:\IMyFloatWebService.wsdl" -dir=ShowPi -plsqlpackage=soap_callout_wrpr_pi -proxyopts="soap,tabfun"
    Note: ShowPi\MyFloatWebServiceProxy.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    ShowPi\MyFloatWebServiceProxyJPub.java
    ShowPi\plsql_wrapper.sql
    ShowPi\plsql_dropper.sql
    ShowPi\plsql_grant.sql
    ShowPi\plsql_revoke.sql
    Executing ShowPi\plsql_dropper.sql
    Executing ShowPi\plsql_wrapper.sql
    Executing ShowPi\plsql_grant.sql
    Loading ShowPi\plsql_proxy.jar
    Error while creating class java/lang/StringBuilder
    ORA-29545: badly formed class: User has attempted to load a class (java.lang
    .StringBuilder) into a restricted package. Permission can be granted using dbms
    java.grantpermission(<user>, LoadClassInPackage...
    errors : class MyFloatWebServiceProxyJPub
    ORA-29521: referenced name java/lang/StringBuilder could not be found
    errors : class MyFloatWebServiceProxy
    ORA-29521: referenced name java/lang/StringBuilder could not be found
    The following operations failed
    class MyFloatWebServiceProxyJPub: resolution
    class MyFloatWebServiceProxy: resolution
    class java/lang/StringBuilder: creation
    exiting : Failures occurred during processing
    Could somebody suggest me some way to go around this - I have been sitting on this since three days - any help is appreciated.
    Regards,
    Leslie, A

    Hi,
    I am having the same problem. Did u get this to work.
    Thanks.

  • ORA-29534 in loadjava xsu111.jar

    Help!
    While trying to install the server side of the XSU ver 111 I get an 'ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could not be resolved' message. I've looked through the bulletin board messages and noted that most people have resolved this issue with a correct CLASSPATH. I've reviewed that and all my env vars and see no problems: I do note that all the failures stem from oracle/xml/sql/dml/OracleXMLSave wic in turn got the message
    'ORA-29521: referenced name oracle/jdbc2/Clob could not be found' I found this in classes111.zip and have made sure it is in CLASSPATH and CLASSPATHJ. but to no avail
    Whaqt else can i try? loadjava results below
    Oracle V 8.1.6
    Windows NT 4.0 SP5
    JDK 1.1.8
    jdbc 111
    Thanks,
    David Summers
    --> load parser - succeeded-
    D:\Downloads\OracleXSU111\lib>call loadjava -r -v -u p79890/pswd xmlparserv2.jar
    initialization complete
    loading : oracle/xml/parser/v2/XSLResultElement
    creating : oracle/xml/parser/v2/XSLResultElement
    <snip>
    org/xml/sax/Locator is already resolved
    ---> failing loadjava
    D:\Downloads\OracleXSU111\lib>call loadjava -r -v -g public -u p79890/pswd xsu111.jar
    initialization complete
    loading : oracle/xml/sql/query/OracleXMLQuery
    creating : oracle/xml/sql/query/OracleXMLQuery
    loading : oracle/xml/sql/query/OracleXMLStaticQuery$QueryCtx
    creating : oracle/xml/sql/query/OracleXMLStaticQuery$QueryCtx
    loading : oracle/xml/sql/dataset/OracleXMLDataSetExtJdbc
    creating : oracle/xml/sql/dataset/OracleXMLDataSetExtJdbc
    loading : oracle/xml/sql/dataset/OracleXMLDataSetGenJdbc
    creating : oracle/xml/sql/dataset/OracleXMLDataSetGenJdbc
    loading : oracle/xml/sql/core/OracleXMLTimer
    creating : oracle/xml/sql/core/OracleXMLTimer
    loading : oracle/xml/sql/dml/OracleXMLStaticSave
    creating : oracle/xml/sql/dml/OracleXMLStaticSave
    loading : oracle/xml/sql/name/OracleColumnName
    creating : oracle/xml/sql/name/OracleColumnName
    loading : oracle/xml/sql/query/OracleXMLStaticQuery
    creating : oracle/xml/sql/query/OracleXMLStaticQuery
    loading : oracle/xml/sql/OracleXMLSQLNoRowsException
    creating : oracle/xml/sql/OracleXMLSQLNoRowsException
    loading : oracle/xml/sql/core/OracleXMLUtil
    creating : oracle/xml/sql/core/OracleXMLUtil
    loading : oracle/xml/sql/core/OracleXMLConvert
    creating : oracle/xml/sql/core/OracleXMLConvert
    loading : oracle/xml/sql/dml/OracleXMLStaticSave$MutableInt
    creating : oracle/xml/sql/dml/OracleXMLStaticSave$MutableInt
    loading : oracle/xml/sql/core/OracleXMLTime
    creating : oracle/xml/sql/core/OracleXMLTime
    loading : oracle/xml/sql/name/OracleCollectionName
    creating : oracle/xml/sql/name/OracleCollectionName
    loading : oracle/xml/sql/XSUMesg
    creating : oracle/xml/sql/XSUMesg
    loading : oracle/xml/sql/query/OracleXMLStaticQuery$MutableInt
    creating : oracle/xml/sql/query/OracleXMLStaticQuery$MutableInt
    loading : oracle/xml/sql/dml/OracleXMLSave
    creating : oracle/xml/sql/dml/OracleXMLSave
    loading : oracle/xml/sql/dml/OracleXMLStaticSave$SaveCtx
    creating : oracle/xml/sql/dml/OracleXMLStaticSave$SaveCtx
    loading : OracleXML
    creating : OracleXML
    loading : oracle/xml/sql/docgen/OracleXMLDocGenDOM
    creating : oracle/xml/sql/docgen/OracleXMLDocGenDOM
    loading : oracle/xml/sql/docgen/OracleXMLDocGenLob
    creating : oracle/xml/sql/docgen/OracleXMLDocGenLob
    loading : oracle/xml/sql/OracleXMLSQLException
    creating : oracle/xml/sql/OracleXMLSQLException
    loading : oracle/xml/sql/name/OracleScalarName
    creating : oracle/xml/sql/name/OracleScalarName
    loading : oracle/xml/sql/docgen/OracleXMLDocGen
    creating : oracle/xml/sql/docgen/OracleXMLDocGen
    loading : oracle/xml/sql/name/OracleADTName
    creating : oracle/xml/sql/name/OracleADTName
    loading : oracle/xml/sql/dataset/OracleXMLDataSet
    creating : oracle/xml/sql/dataset/OracleXMLDataSet
    loading : oracle/xml/sql/name/OracleCursorName
    creating : oracle/xml/sql/name/OracleCursorName
    loading : oracle/xml/sql/docgen/OracleXMLDocGenString
    creating : oracle/xml/sql/docgen/OracleXMLDocGenString
    loading : OracleXMLStore
    creating : OracleXM LStore
    loading : oracle/xml/sql/mesg/XSUMessages.properties
    creating : oracle/xml/sql/mesg/XSUMessages.properties
    loading : META-INF/MANIFEST.MF
    creating : META-INF/MANIFEST.MF
    loading : XSU111_VERSION_1_2_1
    creating : XSU111_VERSION_1_2_1
    loading : XSU111_RDBMS_MAIN_SOLARIS_000620
    creating : XSU111_RDBMS_MAIN_SOLARIS_000620
    resolver :
    resolving: oracle/xml/sql/dml/OracleXMLStaticSave
    Errors in oracle/xml/sql/dml/OracleXMLStaticSave:
    ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
    ot be resolved
    resolving: oracle/xml/sql/docgen/OracleXMLDocGenLob
    oracle/xml/sql/name/OracleScalarName is already resolved
    oracle/xml/sql/dataset/OracleXMLDataSetExtJdbc is already resolved
    oracle/xml/sql/name/OracleADTName is already resolved
    oracle/xml/sql/dataset/OracleXMLDataSetGenJdbc is already resolved
    resolving: OracleXMLStore
    Errors in OracleXMLStore:
    ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
    ot be resolved
    oracle/xml/sql/core/OracleXMLTimer is already resolved
    oracle/xml/sql/docgen/OracleXMLDocGenString is already resolved
    oracle/xml/sql/docgen/OracleXMLDocGenDOM is already resolved
    resolving: oracle/xml/sql/query/OracleXMLStaticQuery$QueryCtx
    Errors in oracle/xml/sql/query/OracleXMLStaticQuery$QueryCtx:
    ORA-29534: referenced object P79890.oracle/xml/sql/query/OracleXMLQuery coul
    d not be resolved
    resolving: oracle/xml/sql/query/OracleXMLStaticQuery
    Errors in oracle/xml/sql/query/OracleXMLStaticQuery:
    ORA-29534: referenced object P79890.oracle/xml/sql/query/OracleXMLQuery coul
    d not be resolved
    oracle/xml/sql/core/OracleXMLConvert is already resolved
    resolving: oracle/xml/sql/query/OracleXMLQuery
    Errors in oracle/xml/sql/query/OracleXMLQuery:
    ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
    ot be resolved
    oracle/xml/sql/OracleXMLSQLNoRowsException is already resolved
    resolving: OracleXML
    Errors in OracleXML:
    ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
    ot be resolved
    resolving: oracle/xml/sql/dml/OracleXMLStaticSave$MutableInt
    Errors in oracle/xml/sql/dml/OracleXMLStaticSave$MutableInt:
    ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLStaticSave c
    ould not be resolved
    resolving: oracle/xml/sql/query/OracleXMLStaticQuery$MutableInt
    Errors in oracle/xml/sql/query/OracleXMLStaticQuery$MutableInt:
    ORA-29534: referenced object P79890.oracle/xml/sql/query/OracleXMLStaticQuer
    y could not be resolved
    oracle/xml/sql/name/OracleCollectionName is already resolved
    resolving: oracle/xml/sql/dml/OracleXMLStaticSave$SaveCtx
    Errors in oracle/xml/sql/dml/OracleXMLStaticSave$SaveCtx:
    ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
    ot be resolved
    oracle/xml/sql/name/OracleCursorName is already resolved
    oracle/xml/sql/dataset/OracleXMLDataSet is already resolved
    oracle/xml/sql/docgen/OracleXMLDocGen is already resolved
    oracle/xml/sql/core/OracleXMLTime is already resolved
    resolving: oracle/xml/sql/core/OracleXMLUtil
    Errors in oracle/xml/sql/core/OracleXMLUtil:
    ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
    ot be resolved
    oracle/xml/sql/name/OracleColumnName is already resolved
    resolving: oracle/xml/sql/dml/OracleXMLSave
    Errors in oracle/xml/sql/dml/OracleXMLSave:
    ORA-29521: referenced name oracle/jdbc2/Clob could not be found
    oracle/xml/sql/XSUMesg is already resolved
    oracle/xml/sql/OracleXMLSQLException is already resolved
    loadjava: 11 errors
    null

    Are you able to run Java Stored Procedures succesfully in your system.
    Log into SQL*Plus as SYS. Issue the following queries:
    SQL> SELECT count(*) FROM obj$ WHERE type#=29 AND owner#=0;
    COUNT(*)
    8535
    It should return >= 8000.
    SQL> SELECT count(*) FROM obj$ WHERE type#=29 AND owner#=0 AND status != 1;
    COUNT(*)
    0
    Let me know the results of the above and creating of Java SP's.
    null

  • Encount Ora-29534 when loadjava xmlparserv2.jar

    I encounted ora-29534 error message when I tried to load xml pl/sql parser using the following command:
    % loadjava -user scott/tiger -r -v xmlparserv2.jar
    Environment: Oracle8.1.5
    windows nt sp4
    jdk1.1.8
    What causes this problem and how to resolve it?
    Thanks!
    Allen

    Got the problem sorted out. Apparently it was because I had Oracle 8.1.5 which used Java 1.1.7, whereas the version of xmlparserv2.jar I had was compiled using a more recent version of Java.
    Migrated to Oracle 8.1.7, and that solved the problem.

  • Loadjava dms.jar and soap.jar on Oracle 9i 9.2.0.5.0 error ORA-29534

    Hi all,
    I'm trying to load dbws-callout-utility in a oracle9i Enterprise Edition Realease 9.2.0.5.0 data base.
    To do that, I've follow these instructions "http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm" step by step:
    - I've set shared_pool_size to 96M (then, even to 150M) in my spfile.
    - I've set java_pool_size to 80M in my spfile.
    - I've tested this changes were well done.
    - Then, I've download oc4j_extended 10.1.2 version, as said the link.
    - manual says that I must load this jar files:
    jssl-1_2.jar, soap.jar, dms.jar, servlet.jar, ejb.jar, mail.jar
    - I've could to load these jars without any error using these commands:
    cd $ORACLE_HOME/lib
    dropjava -u wsuser/pass mail.jar
    dropjava -u wsuser/pass activation.jar
    cd $ORACLE_HOME/oc4j_extended/j2ee/home/lib
    loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass ejb.jar
    cd $ORACLE_HOME/lib
    loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass activation.jar
    loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass mail.jar
    cd ${ORACLE_HOME}/oc4j_extended/j2ee/home/lib
    loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass servlet.jar
    cd ${ORACLE_HOME}/jlib
    loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass jssl-1_2.jar
    but when I try to load dms.jar with this command:
    cd ${ORACLE_HOME}/oc4j_extended/lib
    loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass dms.jar
    loadjava's process hangs just compiling (resolving) this class: "oracle/dms/address/Optic", so I've got to kill process.
    Then, I try to load dms.jar with the same command but without "-resolve" option. This way, I've been able to load all class from
    this jar including the named before "oracle/dms/address/Optic". Then I compile all java class by hand except "oracle/dms/address/Optic"
    because everytime I try to compile (-resolve) this class, it hangs. So this is my first question: why?.
    As I've could to load almost all java class, I said, I'm going to try to load last jar: soap.jar
    cd ${ORACLE_HOME}/oc4j_extended/soap/lib
    loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass soap.jar
    but when this command finish, it shows me these errors:
    errors : class org/apache/soap/messaging/Message
    ORA-29534: el objeto WSUSER.oracle/soap/transport/http/OracleSOAPHTTPConnection al que se hace referencia no se ha podido resolver
    synonym : org/apache/soap/messaging/Message
    The following operations failed
    class oracle/soap/client/ProviderManagerClient: resolution
    class oracle/soap/client/ServiceManagerClient: resolution
    class oracle/soap/server/http/SOAPServlet: resolution
    class oracle/soap/providers/JavaProvider: resolution
    class oracle/soap/providers/ejbprov/EntityEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatefulEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatelessEJBProvider: resolution
    class oracle/soap/providers/sp/SpProvider: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection$1: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
    class org/apache/soap/rpc/Call: resolution
    class org/apache/soap/rpc/RPCMessage: resolution
    class org/apache/soap/rpc/Response: resolution
    class org/apache/soap/messaging/Message: resolution
    exiting : Failures occurred during processing
    but this has no sense, because this class oracle/soap/transport/http/OracleSOAPHTTPConnection do exists in the jar file and it can be loaded.
    so I don't understand..... I try to load class by class to see dependencies or whatever using this command:
    I choose this class to begin:
    loadjava -resolve -verbose -synonym -grant PUBLIC -user wsuser/pass org/apache/soap/rpc/Call.class
    it shows me:
    creating : class org/apache/soap/rpc/Call
    loading : class org/apache/soap/rpc/Call
    granting : execute on class org/apache/soap/rpc/Call to PUBLIC
    resolving: class org/apache/soap/rpc/Call
    errors : class org/apache/soap/rpc/Call
    ORA-29534: el objeto WSARR.oracle/soap/transport/http/OracleSOAPHTTPConnection al que se hace referencia no se ha podido resolver
    synonym : org/apache/soap/rpc/Call
    The following operations failed
    class org/apache/soap/rpc/Call: resolution
    exiting : Failures occurred during processing
    so I try to load the class which it had could not find:
    loadjava -resolve -verbose -synonym -grant PUBLIC -user wsarr/wsarr oracle/soap/transport/http/OracleSOAPHTTPConnection.class
    it shows me:
    creating : class oracle/soap/transport/http/OracleSOAPHTTPConnection
    loading : class oracle/soap/transport/http/OracleSOAPHTTPConnection
    granting : execute on class oracle/soap/transport/http/OracleSOAPHTTPConnection to PUBLIC
    resolving: class oracle/soap/transport/http/OracleSOAPHTTPConnection
    errors : class oracle/soap/transport/http/OracleSOAPHTTPConnection
    ORA-29545: clase especificada incorrectamente: at offset 445 of oracle.soap.transport.http.OracleSOAPHTTPConnection.getHTTPConnection expecting a class-oracle.security.ssl.OracleSSLCredential but encountered a class-oracle.security.ssl.OracleSSLCredential.
    synonym : oracle/soap/transport/http/OracleSOAPHTTPConnection
    The following operations failed
    class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
    exiting : Failures occurred during processing
    o_o ...... but this could be endless!!!!!
    Is there someone in this planet who had could to load this jars files without errors?????? :´(
    Please, I need help!!!! it's urgent!
    Thanks in advance!
    María

    The error messages you are getting means that the JAR you loaded into the database is invalid.
    ORA-29534:     referenced object string.string could not be resolved
    Cause:     Name resolution determined that the indicated object is referenced but could not be resolved.
    Action:     Correct name resolver or address resolution problems in the referenced class, or correct compilation problems in its source.
    Oracle extracts all classes from the jar file by the time you load the jar file and processes each class individually. I suggest you to run this query against the user_objects or dba_objects view to determine the status of your classes
    select DBMS_JAVA.LONGNAME(OBJECT_NAME) as OBJECT_NAME
    ,STATUS
    from USER_OBJECTS
    where OBJECT_TYPE like 'JAVA%'
    On the other hand, I see you are at 9.2.0.5.0, in order for you to avoid hitting known bugs, I suggest you to apply, if possible, the latest 9.2.0.8.0 + July CPU patch
    ~ Madrid

  • XML(SAX) +Java 1.1.7(8) + Ora 8.1.5

    Hello,
    It is possible to write Java Stored Procedure using SAX to parse XML?
    What type of parse shell i use?
    When i load xmlparserv2.jar a get a lot of errors, that "something" cannot be resolved.... what is wrong?

    loadjava -user system/manager -r -v xmlparserv2.jar
    Parser for java and after load and create loadjava try resolve...
    At the beggining the messages looks like:
    resolver :
    resolving: oracle/xml/parser/v2/DOMParser
    Errors in oracle/xml/parser/v2/DOMParser:
    ORA-29534: referenced object SYSTEM.oracle/xml/parser/v2/DocumentBuilder cou
    ld not be resolved
    ORA-29545: badly formed class: java.lang.NullPointerException
    resolving: oracle/xml/parser/v2/SAXParser
    Errors in oracle/xml/parser/v2/SAXParser:
    ORA-29534: referenced object SYSTEM.oracle/xml/parser/v2/NonValidatingParser
    could not be resolved
    resolving: oracle/xml/parser/v2/XMLParser
    Errors in oracle/xml/parser/v2/XMLParser:
    ORA-29534: referenced object SYSTEM.oracle/xml/parser/v2/NonValidatingParser
    could not be resolved
    null

  • Loadjava and jpub in web service using UTL_DBWS giving errors - Help Please

    Hi all,
    Solicit your help in the below-mentioned scenario.
    I am trying to access some published web services from 9.2.0.1.0 RDBMS using UTL_DBMS API. I have accomplished the same using UTL_HTTP. I have followed the instructions specified in:
    'http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm#Web_Service_Callout_Utility_Download_'
    to prepare the database, download Callout Utility for pre-10g RDBMS (ZIP, 5.68MB), JPub 9.2.0.1.0 Production and OC4J Release 10.1.2 (standalone) and set the environment variables.
    loadjava ran successfully for:
    %ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/j2ee/home/lib/servlet.jar
    %ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/j2ee/home/lib/ejb.jar
    %ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/jlib/jssl-1_2.jar
    %ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/soap/webapps\soap\WEB-INF\lib\soap.jar
    But it gave error for:
    %ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/j2ee/home/lib/mail.jar
    %ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/lib/dms.jar
    ORA-29534: referenced object SCOTT.oracle/core/odjl/logMessage could not be resolved.
    ORA-29545: badly formed class.
    And while trying to run JPub using:
    jpub -user=scott/tiger -sysuser sys/change_on_install -httpproxy=www-proxy.us.oracle.com:80 -proxywsdl=http://www.webservicex.net/stockquote.asmx?wsdl -endpoint=http://www.webservicex.net/stockquote.asmx -proxyopts=soap,tabfun -dir=Stock -plsqlpackage=soap_callout_wrapper
    I get error:
    J2T-120, ERROR: Illegal option "-proxywsdl=http://www.webservicex.net/stockquote.asmx?wsdl" ignored
    J2T-120, ERROR: Illegal option "-endpoint=http://www.webservicex.net/stockquote.asmx" ignored
    J2T-120, ERROR: Illegal option "-proxyopts=soap,tabfun" ignored
    Any help in resolving these issues will be appreciated. Kindly also advise which api – UTL_HTTP or UTL_DBWS I should go for and why.
    Regards,
    Leslie

    It may be better to post this problem to this forum - http://forums.oracle.com/forums/category.jspa?categoryID=24 since this is much more related to loadjava and jpub

  • JPub and loadjava throwing error in UTL_DBWS

    Hi all,
    Solicit your help in the below-mentioned scenario.
    I am trying to access some published web services from 9.2.0.1.0 RDBMS using UTL_DBMS API. I have accomplished the same using UTL_HTTP. I have followed the instructions specified in:
    'http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm#Web_Service_Callout_Utility_Download_'
    to prepare the database, download Callout Utility for pre-10g RDBMS (ZIP, 5.68MB), JPub 9.2.0.1.0 Production and OC4J Release 10.1.2 (standalone) and set the environment variables.
    loadjava ran successfully for:
    %ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/j2ee/home/lib/servlet.jar
    %ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/j2ee/home/lib/ejb.jar
    %ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/jlib/jssl-1_2.jar
    %ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/soap/webapps\soap\WEB-INF\lib\soap.jar
    But it gave error for:
    %ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/j2ee/home/lib/mail.jar
    %ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/lib/dms.jar
    ORA-29534: referenced object SCOTT.oracle/core/odjl/logMessage could not be resolved.
    ORA-29545: badly formed class.
    And while trying to run JPub using:
    jpub -user=scott/tiger -sysuser sys/change_on_install -httpproxy=www-proxy.us.oracle.com:80 -proxywsdl=http://www.webservicex.net/stockquote.asmx?wsdl -endpoint=http://www.webservicex.net/stockquote.asmx -proxyopts=soap,tabfun -dir=Stock -plsqlpackage=soap_callout_wrapper
    I get error:
    J2T-120, ERROR: Illegal option "-proxywsdl=http://www.webservicex.net/stockquote.asmx?wsdl" ignored
    J2T-120, ERROR: Illegal option "-endpoint=http://www.webservicex.net/stockquote.asmx" ignored
    J2T-120, ERROR: Illegal option "-proxyopts=soap,tabfun" ignored
    Any help in resolving these issues will be appreciated. Kindly also advise which api – UTL_HTTP or UTL_DBWS I should go for and why.
    Regards,
    Leslie

    Hi,
    Did you ever get utl_dbws to install / work on 9.2 database ?
    If so can you explain how?
    Thanks
    Jim

  • Error message ORA-29534

    When I install XDK for PL/SQL and use loadjava to load the following file: xmlparserv2.jar , I keep on getting erroe message: 1)ORA-29534: referenced object USER.oracle/xml/parser/v2/XMLNode could not be resolved
    2)ORA-29545: badly formed class: java.lang.NullPointerException
    How can I fix this?
    Thanks.
    null

    You must be trying to load XML Parser 2.0.2.9 into an Oracle 8.1.5 database. Due to the fact that 2.0.2.9 was compiled with a JDK 1.2 compiler, it won't load correctly into 8.1.5. You'll need the 2.0.2.7 release.

  • Loadjava... xmlparserv2.jar (ver.2.1)

    When i try to load javaclass into oracle ie.
    loadjava -user system/manager -r -v xmlparserv2.jar
    i get massages like:
    Errors in oracle/xml/parser/v2/XMLCDATA: ORA-29534: referenced object SYSTEM.oracle/xml/parser/v2/XMLNode could not be resolved ORA-29545: badly formed class: java.lang.NullPointerException
    I have Ora 8.1.6 Stnd.Ed. installed on RH 6.2.
    Any ideas?
    Kail

    Got the problem sorted out. Apparently it was because I had Oracle 8.1.5 which used Java 1.1.7, whereas the version of xmlparserv2.jar I had was compiled using a more recent version of Java.
    Migrated to Oracle 8.1.7, and that solved the problem.

  • Loading XML parser for PL/SQL

    I am working my way thru 'Building Oracle XML Applications' by Steve Muench.
    I am getting a problem when I try to install the XML parser for PL/SQL
    The following errors occur when I try to do
    loadjava -v -r -u xmlbook/xmlbook xmlparserv2.jar
    initialization complete
    loading : oracle/xml/parser/v2/XMLByteReader
    creating : oracle/xml/parser/v2/XMLByteReader
    Error while creating class oracle/xml/parser/v2/XMLByteReader
    ORA-29545: badly formed class: User has attempted to load a class (oracle.xml.parser.v2.XMLByteReader) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
    loading : oracle/xml/parser/v2/PrintDriver
    creating : oracle/xml/parser/v2/PrintDriver
    Error while creating class oracle/xml/parser/v2/PrintDriver
    ORA-29545: badly formed class: User has attempted to load a class (oracle.xml.parser.v2.PrintDriver) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
    resolving: oracle/xml/parser/v2/PrintDriver
    Error while resolving class oracle/xml/parser/v2/PrintDriver
    ORA-04043: object /a065289c_PrintDriver does not exist
    resolving: org/w3c/dom/html/HTMLAnchorElement
    Error while resolving class org/w3c/dom/html/HTMLAnchorElement
    ORA-04043: object /564607d_HTMLAnchorElement does not exist
    About 20 classes get loaded correctly. All the rest get ORA-29545 or ORA-04043 errors.
    I expect the ORA-04043 errors are a result of the earlier errors.
    The documentation seems to indicate that there is no need to do
    dbms_java.grant_permission to load into your own schema.
    I have NT4 (sp6)
    Oracle 8.1.7
    xmlparserv2.jar dated 24/8/2001 17:01 size 1,177,259
    xmlparserv2_2027.jar gives the same errors.
    Any help would be appreciated.
    null

    Was it definitely xmlparsev2.jar that you had to load?
    I recently started going through some of these examples as well and found that the standard xml parser was there but that I needed to load the xml parser for PL/SQL. I did this using loadjava from a subdirectory within the xdk directory and everything worked fine.

  • Javaload and grant_permission problems

    c:\Java>loadjava -thin -resolve -verbose
    -user user/test@test1:1521:orcl EmpInsert.jar
    error as following:
    initialization complete
    loading : EmpInsert_SJProfile0
    creating : EmpInsert_SJProfile0
    Error while creating class EmpInsert_SJProfile0
    ORA-29545: badly formed class: User has attempted to load a class (EmpInsert_SJPro
    file0) into a restricted package. Permission can be granted using dbms_java.gra
    nt_permission(<user>, LoadClassInPackage...
    and how to grant_permission ? what packages I needs?

    Normally this indicates that you are using "Standard POSIX behavior," the default for which is to set the Group for Read Only on new items created on the share. If that's the case for you, change the model to "Inherit permissions from parent" under the Protocols tab of the Sharing pane in WGM.
    Or try using ACLs instead, which tend to be more reliable and don't need to be complicated to do what you're trying to accomplish here.

  • Problem with load java

    Hi,
    Can anyone explain to me why this is hapenning :
    Error while creating class java/util/logging/Logger
    ORA-29545: badly formed class: User has attempted to load a class (java.util.logging.Logger) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
    Thanks,
    Caz (confused!)

    BTW I was using the loadjava command to load a class into a database.

Maybe you are looking for

  • Recovery with some tablespaces/datafiles excluded

    Hi, I want to restore/recover my db on a new host with some tablespaces/datafiles excluded... I have backups on tape but don't have enough disk space on my new host to restore database fully, is it possible I exclude/skip some tablespaces/datafiles?

  • IPhoto 6 - Exporting Photo error message

    I am having difficulty exporting photos from iPhoto 6. The issue is when I choose what I want to export from iPhoto and direct it to another folder or drive etc., it begins the export but then I get the error message "UNABLE TO CREATE/USER/XXXXX/DESK

  • Default Novell Login mode for Windows 2008 R2 servers?

    We're using Novell Client 2 SP3 for Windows 7 (IR6). All our Windows 7 workstations behave so that the Novell Logon is always the default (ie: you do CTRL-ALT-DEL and always get the Novell Logon first), then of course you get logged into ZCM and then

  • IPhoto library delete and use Lightroom

    Dear all, I've been searching for an answer to my specific issue but no luck yet. I understand iPhoto and the duplicates it collects in the iPhoto 'file'. I read a few of T Devlin's posts! However after some deliberation, I've decided to move to Ligh

  • Captivate 4 - question slides - error message attached to Next button

    Hi there For users who may try to skip ahead and not take quiz questions, I wondered if there's a way to have an error message appear if they try to click Next without answering the question.