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?

Similar Messages

  • Hi team , I have some questions/Problem for my product apple (iPad,iPhone) , I want to employee speak and type thai language

    Hi team , I have some questions/Problem for my product apple (iPad,) , I want to employee that can  speak  or response me in thai language
    1. ผม อาคเนย์  พำนักอยู่ประเทศไทย กรุงเทพฯ  มีปัญหาสอบถาม ดังต่อไปนี้
       - กระผมได้ทำการตัดบัตร เครดิต เพื่อซื้อเกมส์ผ่าน itune store ผ่าน apple itune ID : misskor.yaprom@*** เพื่อซื้อเกมส์ Eleves Realm ในวันที่18 ก.ค. 56 เวลา 17.07น. ซึ่งทางบัตรเครดิตได้แจ้งเรียกเก็บเงินมายอดเงิน 39.99$ ซึ่งในระบบจริงๆ ทางกระผมต้องการตัดในยอด 99.99$ แต่พอได้ประสานงานไปยังธนาคาร ได้รับการแจ้งกลับมาว่า ได้ทำการตัดบัตรในยอดเงิน 39.99$ ซึ่งในความเป็นจริงนั้น กระผมไม่ได้สั่งซื้อเกมส์ในยอด 39.99$ ซึ่งในยอด 99.99$ นั้นพยายามตัดในระบบบัตรเครดิตอยู่ แต่ทางกระผมได้ยืนยันกลับไปว่าไม่ให้ระบบตัดนะครับ เพราะว่าเนื่องจากมีปัญหาในการชำระเงินระหว่าง Apple itune store อยู่
       - ทั้งนี้ขอให้ทางเจ้าหน้าที่ประสานงานตรวจสอบ apple itune ID : misskor.yaprom@*** เพื่อซื้อเกมส์ Eleves Realm ตามที่ได้ให้รายละเอียดโดยด่วนว่าเป็นเพราะว่าระบบมีปัญหาหรือว่ามีอะไรเกิดขึ้นในข ั้นตอนการชำระเงินครับ
    รบกวนประสานงานกลับมายังกระผม อาคเนย์ ที่หมายเลขโทรศัพท์มือถือ +**** / reply feedback  email : lekod1@*** โดยด่วน ในวันศุกร์ที่ 19 ก.ค. 2556 ครับ
    ขอบคุณครับ
    อาคเนย์  อุดปิน
    กด
    <Edited By Host>

    Google translation:
    พนักงานของ iTunes Store จะไม่ได้อ่านข้อความในเว็บบอร์ดนี้ ถ้าคุณต้องการความช่วยเหลือสำหรับปัญหาที่มีใน iTunes Store, คุณจะต้องติดต่อกับพวกเขาผ่านทางแบบฟอร์มเว็บนี้:
    http://www.apple.com/emea/support/itunes/contact.html

  • Question / problems with the Toshiba TV 40TL938 (40TL938F)

    Hi everybody,
    I bought the Toshiba TV 40TL938 french version ( 40TL938F ), in an online store.
    I have a few question / problem, and i hope you could help me.
    - when i play MKV vido files via USB, integrated subtitles works well but for me they are too small, too thin and too white. Can i make them biger, larger and with a black shadow around it ? if yes, how could i do this ?
    - when i play MKV vido files via DLNA (with XBMC), there is no subtitles anymore. Whose fault is it ? my TV ? XBMC ? do you how i can fix this ?
    - does anybody know if DTS will be supported sooner or later on 2012 toshiba TV models such as my 40TL938
    Thank you very much by advance for your help !
    Backslash
    French user of a beautiful Full HD 3D 40 inches toshiba LED TV :)

    > {quote:title=TomDexter wrote:}{quote}
    > > when i play MKV vido files via USB, integrated subtitles works well but for me they are too small, too thin and too white. Can i make them biger, larger and with a black shadow around it ? if yes, how could i do this ?
    >
    > User manual page 76:
    > http://www.toshiba-om.net/LCD/PDF/English/TL938-4046-English.pdf
    > You will need to check the option: +Subtitle Type+
    Hi !
    Thank you for your answer,
    I saw this but there is no way to change the subtitle setting.
    In "subtitle type" the only thing i can do is to swich from "normal" to "deaf and hearing impaired" ("sourd et malentendant" in french).
    So i guess i will have to get used to it
    Anyway, thank you for your help !
    > {quote:title=donhe7 wrote:}{quote}
    > BACKSLASH ASKS " does anybody know if DTS will be supported sooner or later on 2012 toshiba TV models such as my 40TL938?"
    >
    > Please excuse my ignorance, but what is "DTS"???
    >
    > donhe7
    DTS is an audio format, such as AC3 or mp4. This TV doesn't support DTS, so when i play movie (such as MKV file) with audio in DTS, there is no sound (but the video is ok).

  • A question about Object Class

    I got a question about Object class in AS3 recently.
    I typed some testing codes as following:
    var cls:Class = Object;
    var cst:* = Object.prototype.constructor;
    trace( cls === cst); // true
    so cls & cst are the same thing ( the Object ).
    var obj:Object = new Object();
    var cst2:* = obj.constructor.constructor;
    var cst3:* = obj.constructor.constructor.c.constructor;
    var cst5:* = Object.prototype.constructoronstructor;
    var cst4:* = Object.prototype.constructor.constructor.constructor;
    var cst6:* = cls.constructor;
    trace(cst2 === cst3 && cst3 === cst4 && cst4 === cst5 && cst5 === cst6); //true
    trace( cst == cst2) // false
    I debugged into these codes and found that cst & cst2 had the same content but not the same object,
    so why cst & cst2 don't point to the same object?
    Also, I can create an object by
    " var obj:Object = new cst();"
    but
    " var obj:Object = new cst2();"
    throws an exception said that cst2 is not a constructor.
    Anyone can help? many thanks!

    I used "describeType" and found that "cst2" is actually "Class" class.
    So,
    trace(cst2 === Class); // true
    That's what I want to know, Thank you.

  • Abstract/ concrete class questions/problems

    I am new to java and working on a abstract problem. I'm getting several errors. Here is the code I have so far for the abstract class. I commented out the super and it compiles but I'm not sure if it correct. I'm suppose to create a abstract base class Animal. Single constructor requires String to indicate type of animal which then is stored in an instance variable. I also have to add a few methods (describe(), move(), etc).
    public abstract class  Animal
         public Animal(String type)
              //super(type);
         public abstract String describe();
         public abstract String sound();
         public abstract String sleep();
         public abstract String move();
    }

    thanks for the replies. I modified my code but I have a few more errors I can't figure out. Can you browse the code and help point me in the right direction.
    Here are the errors I get
    cannot find symbol
    symbol : constructor Cat(java.lang.String,java.lang.String)
    location: class Cat
    cannot find symbol
    symbol : constructor Robin(java.lang.String)
    location: class Robin
    abstract base class:
    public abstract class  Animal
         String type;
         public Animal(String type)
           this.type = type;
         public abstract String describe();
         public abstract String sound();
         public abstract String sleep();
         public abstract String move();
    }concrete class
    public class Cat extends Animal
         private String name;
         protected String breed;
         public Cat()
           super("Cat");
         public String describe()
              return new String(",a breed of Cat called");
         public String sound()
              return new String("Meow");
         public String sleep()
              return new String("Kitty is having purfect dreams!");
         public String move()
              return new String("This little Kitty moves fast!");
    }another abstract class
    public abstract class Bird extends Animal
         protected String breed;
         public Bird()
           super("Bird");
         public abstract String move();
    }here is the abstract test program itself
    public class AbstractTest
         public static void main(String[] args)
              Cat cat = new Cat("Kitty", "Angora");
              Robin bird = new Robin("Rockin");
              System.out.println("Form the cat:   ");
              System.out.print("This is:     "); cat.describe();
              System.out.print("Sound:       "); cat.sound();
              System.out.print("Sleeping:    "); cat.sleep();
              System.out.print("Moving:      "); cat.move();
              System.out.println("\n");
              System.out.println("For the robin:     "); bird.describe();
              System.out.print("This is:             "); bird.sound();
              System.out.print("Sound:               "); bird.sleep();
              System.out.print("Moving:              "); bird.move();
              System.out.print("\n");
              System.out.println("nEnd of program.");
    }

  • Loadjava Question

    I am planning to deploy a java class to the 9i database. Java class will be used to pull some data from SQLServer and store to Oracle database. I am using sqlserver driver for JDBC connection to sqlserver.
    My question is what are the privileges required and granted at the database level to execute the loadjava and run the method in the class to connect to SQL Server?
    Any help is highly appreciated.
    Thanks

    Avi,
    I was able to deploy the class to database. Now my problem is loading the jar files,
    I m using jtds jar files. When I load to database I am getting the following error:
    How can I solve this?
    class net/sourceforge/jtds/jdbc/BlobImpl
    ORA-29521: referenced name net/sourceforge/jtds/util/BlobBuffer could not be found
    ORA-29521: referenced name net/sourceforge/jtds/jdbc/Messages could not be found
    errors : class net/sourceforge/jtds/jdbc/CachedResultSet
    ORA-29534: referenced object scott.net/sourceforge/jtds/jdbc/ConnectionJDBC2 could not be resolved
    ORA-29534: referenced object scott.net/
    The following operations failed
    class net/sourceforge/jtds/jdbc/BlobImpl: resolution
    class net/sourceforge/jtds/jdbc/CachedResultSet: resolution
    class net/sourceforge/jtds/jdbc/CharsetInfo: resolution
    class net/sourceforge/jtds/jdbc/ClobImpl: resolution
    class net/sourceforge/jtds/jdbc/ColInfo: resolution
    class net/sourceforge/jtds/jdbc/ConnectionJDBC2$1: resolution
    class net/sourceforge/jtds/jdbc/ConnectionJDBC2: resolution
    class net/sourceforge/jtds/jdbc/ConnectionJDBC3: resolution
    class net/sourceforge/jtds/jdbc/DateTime: resolution
    class net/sourceforge/jtds/jdbc/Driver: resolution
    class net/sourceforge/jtds/jdbc/JtdsCallableStatement: resolution
    class net/sourceforge/jtds/jdbc/JtdsDatabaseMetaData: resolution
    class net/sourceforge/jtds/jdbc/JtdsPreparedStatement: resolution
    class net/sourceforge/jtds/jdbc/JtdsResultSet: resolution
    class net/sourceforge/jtds/jdbc/JtdsResultSetMetaData: resolution
    class net/sourceforge/jtds/jdbc/JtdsStatement: resolution
    class net/sourceforge/jtds/jdbc/MSCursorResultSet: resolution
    class net/sourceforge/jtds/jdbc/ParamInfo: resolution
    class net/sourceforge/jtds/jdbc/ParameterMetaDataImpl: resolution
    class net/sourceforge/jtds/jdbc/ProcEntry: resolution
    class net/sourceforge/jtds/jdbc/RequestStream: resolution
    class net/sourceforge/jtds/jdbc/ResponseStream$TdsInputStream: resolution
    class net/sourceforge/jtds/jdbc/ResponseStream: resolution
    class net/sourceforge/jtds/jdbc/SQLParser$CachedSQLQuery: resolution
    class net/sourceforge/jtds/jdbc/SQLParser: resolution
    class net/sourceforge/jtds/jdbc/SharedLocalNamedPipe: resolution
    class net/sourceforge/jtds/jdbc/SharedNamedPipe: resolution
    class net/sourceforge/jtds/jdbc/SharedSocket$VirtualSocket: resolution
    class net/sourceforge/jtds/jdbc/SharedSocket: resolution
    class net/sourceforge/jtds/jdbc/Support: resolution
    class net/sourceforge/jtds/jdbc/TdsCore$1: resolution
    class net/sourceforge/jtds/jdbc/TdsCore$TableMetaData: resolution
    class net/sourceforge/jtds/jdbc/TdsCore$TdsToken: resolution
    class net/sourceforge/jtds/jdbc/TdsCore: resolution
    class net/sourceforge/jtds/jdbc/TdsData$TypeInfo: resolution
    class net/sourceforge/jtds/jdbc/TdsData: resolution
    class net/sourceforge/jtds/jdbc/UniqueIdentifier: resolution
    class net/sourceforge/jtds/jdbc/XASupport: resolution
    class net/sourceforge/jtds/jdbc/cache/ProcedureCache$CacheEntry: resolution
    class net/sourceforge/jtds/jdbc/cache/ProcedureCache: resolution
    class net/sourceforge/jtds/jdbc/cache/SQLCacheKey: resolution
    class net/sourceforge/jtds/jdbcx/JtdsDataSource: resolution
    class net/sourceforge/jtds/jdbcx/JtdsObjectFactory: resolution
    class net/sourceforge/jtds/jdbcx/JtdsXAConnection: resolution
    class net/sourceforge/jtds/jdbcx/JtdsXAResource: resolution
    class net/sourceforge/jtds/jdbcx/JtdsXid: resolution
    class net/sourceforge/jtds/jdbcx/PooledConnection: resolution
    class net/sourceforge/jtds/jdbcx/proxy/CallableStatementProxy: resolution
    class net/sourceforge/jtds/jdbcx/proxy/ConnectionProxy: resolution
    class net/sourceforge/jtds/jdbcx/proxy/PreparedStatementProxy: resolution
    class net/sourceforge/jtds/jdbcx/proxy/StatementProxy: resolution
    oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
         at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:700)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:117)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:47)
         at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:97)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:447)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:334)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:276)
         at oracle.jdevimpl.deploy.StoredProcProfileDt$3.run(StoredProcProfileDt.java:386)
    #### Deployment incomplete. #### Jul 1, 2006 1:01:23 PM

  • Noob Question: Problem with Persistence in First Entity Bean

    Hey folks,
    I have started with EJB3 just recently. After reading several books on the topic I finally started programming myself. I wanted to develop a little application for getting a feeling of the technology. So what I did is to create a AppClient, which calls a Stateless Session Bean. This Stateless Bean then adds an Entity to the Database. For doing this I use Netbeans 6.5 and the integrated glassfish. The problem I am facing is, that the mapping somehow doesnt work, but I have no clue why it doesn't work. I just get an EJBException.
    I would be very thankfull if you guys could help me out of this. And don't forget this is my first ejb project - i might need a very detailed answer ... I know - noobs can be a real ....
    So here is the code of the application. I have a few methods to do some extra work there, you can ignore them, there are of no use at the moment. All that is really implemented is testConnection() and testAddCompany(). The testconnection() Methode works pretty fine, but when it comes to the testAddCompany I get into problems.
    Edit:As I found out just now, there is the possibility of Netbeans to add a Facade pattern to an Entity bean. If I use this, everythings fine and it works out to be perfect, however I am still curious, why the approach without the given classes by netbeans it doesn't work.
    public class Main {
        private EntryRemote entryPoint = null;
        public static void main(String[] args) throws NamingException {
            Main main = new Main();
            main.runApplication();
        private void runApplication()throws NamingException{
            this.getContext();
            this.testConnection();
            this.testAddCompany();
            this.testAddShipmentAddress(1);
            this.testAddBillingAddress(1);
            this.testAddEmployee(1);
            this.addBankAccount(1);
        private void getContext() throws NamingException{
            InitialContext ctx = new InitialContext();
            this.entryPoint = (EntryRemote) ctx.lookup("Entry#ejb.EntryRemote");
        private void testConnection()
            System.err.println("Can Bean Entry be reached: " + entryPoint.isAlive());
        private void testAddCompany(){
            Company company = new Company();
            company.setName("JavaFreaks");
            entryPoint.addCompany(company);
            System.err.println("JavaFreaks has been placed in the db");
        }Here is the Stateless Session Bean. I added the PersistenceContext, and its also mapped in the persistence.xml file, however here the trouble starts.
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    @Stateless(mappedName="Entry")
    public class EntryBean implements EntryRemote {
        @PersistenceContext(unitName="PersistenceUnit") private EntityManager manager;
        public boolean isAlive() {
            return true;
        public boolean addCompany(Company company) {
            manager.persist(company);
            return true;
        public boolean addShipmentAddress(long companyId) {
            return false;
        public boolean addBillingAddress(long companyId) {
            return false;
        public boolean addEmployee(long companyId) {
            return false;
        public boolean addBankAccount(long companyId) {
            return false;
    }That you guys and gals will have a complete overview of whats really going on, here is the Entity as well.
    package ejb;
    import java.io.Serializable;
    import javax.persistence.*;
    @Entity
    @Table(name="COMPANY")
    public class Company implements Serializable {
        private static final long serialVersionUID = 1L;
        @Id
        @GeneratedValue(strategy = GenerationType.AUTO)
        private Long id;
        @Column(name="COMPANY_NAME")
        private String name;
        public Long getId() {
            return id;
        public void setId(Long id) {
            this.id = id;
       public String getName() {
            return name;
        public void setName(String name) {
            this.name = name;
            System.err.println("SUCCESS:  CompanyName SET");
        @Override
        public int hashCode() {
            int hash = 0;
            hash += (id != null ? id.hashCode() : 0);
            return hash;
        @Override
        public boolean equals(Object object) {
            // TODO: Warning - this method won't work in the case the id fields are not set
            if (!(object instanceof Company)) {
                return false;
            Company other = (Company) object;
            if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
                return false;
            return true;
        @Override
        public String toString() {
            return "ejb.Company[id=" + id + "]";
    }And the persistence.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
      <persistence-unit name="PersistenceUnit" transaction-type="JTA">
        <provider>oracle.toplink.essentials.PersistenceProvider</provider>
        <jta-data-source>jdbc/sample</jta-data-source>
        <exclude-unlisted-classes>false</exclude-unlisted-classes>
        <properties>
          <property name="toplink.ddl-generation" value="create-tables"/>
        </properties>
      </persistence-unit>
    </persistence>And this is the error message
    08.06.2009 10:30:46 com.sun.enterprise.appclient.MainWithModuleSupport <init>
    WARNUNG: ACC003: Ausnahmefehler bei Anwendung.
    javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
            java.rmi.RemoteException: Transaction aborted; nested exception is: javax.transaction.RollbackException: Transaktion für Zurücksetzung markiert.; nested exception is:
            javax.transaction.RollbackException: Transaktion für Zurücksetzung markiert.
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
            java.rmi.RemoteException: Transaction aborted; nested exception is: javax.transaction.RollbackException: Transaktion für Zurücksetzung markiert.; nested exception is:
            javax.transaction.RollbackException: Transaktion für Zurücksetzung markiert.
            at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:243)
            at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205)
            at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
            at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
            at ejb.__EntryRemote_Remote_DynamicStub.addCompany(ejb/__EntryRemote_Remote_DynamicStub.java)I spend half the night figuring out whats wrong, however I couldnt find any solution.
    If you have any idea pls let me know
    Best regards and happy coding
    Taggert
    Edited by: Taggert_77 on Jun 8, 2009 2:27 PM

    Well I don't understand this. If Netbeans created a Stateless Session Bean as a facade then it works -and it is implemented as a CMP, not as a BMP as you suggested.
    I defenitely will try you suggestion, just for curiosity and to learn the technology, however I dont have see why BMP will work and CMP won't.
    I also don't see why a stateless bean can not be a CMP. As far as I read it should not matter. Also on the link you sent me, I can't see anything related to that.
    Maybe you can help me answering these questions.
    I hope the above lines don't sound harsh. I really appreciate your input.
    Best regards
    Taggert

  • A question about calling classes

    Hi,
    I have a question regarding software design so that each class is independent of other.
    public class A
        public void methodA()
                 B m_B=new B();
              String strA=m_B.getBString();
              System.out.println(strA);
    public class B
       public String getBString()
                      return "someString";
    }My question: Is it possible to call the method in class B from class A without creating an instance of class B in method of class A ?
    I am trying to figure out if this can be done using interfaces and abstract classes.
    I am waiting for some suggestions and if you have completely different suggestion then I am open for it too.
    thanks in advance,
    @debug.

    interface I {
        String getString();
    class B implements I {
        public String getString() { return "someString";}
    class A {
        private I foo;
        public void setFoo(I foo) {this.foo = foo;}
        public I getFoo() {return foo;}
        public void methodA() {
          System.out.println(getFoo().getString());
    public class Main {
        public static void main(String[] args) {
            A a = new A();
            a.setFoo(new B());
            a.methodA();
    }There's one problem with decoupling A and B in this case - A's method creates an instance of B. The above is one solution. There are many others.

  • Problem importing classes and beans

    Hey there. Im having one major fustrating problem! When I code supporting classes and beans for my JSPs I get a code 500 internal server error when trying to import (via <%@ page import="class" %> and <jsp:useBean/>) Im storing my classes and beans in the WEB-INF folder and the calling JSPs are located in /ROOT/tests/8/jsp.jsp. Im using the following to import a class or bean:
    <%@ import="aClass" %>
    Seen as tho its in the WEB-INF folder I won't have to explicitly refer to where the class is located, just the class name.
    I never had this problem when I was using my hosting service. Its only on my localhost server in which I get the Internal Server error.
    Help appreciated, thx.
    PS: Im quite new to JSP/Java Servlet.

    import (via <%@ page import="class" %> and
    <jsp:useBean/>) Im storing my classes and beans in the
    WEB-INF folder try put your class file in WEB-INF/classes.
    or first put bean in the package, like WEB-INF/classes/packagename/beanclass
    in jsp page:
    <jsp:useBean id="Mybean" class="packagename.beanclass" scope="request" />
    Question: is /ROOT a context entry in your server.xml?
    Which JSP Container (version) you use? Maybe your localhost server's set up is different with your hosting.

  • Loadjava error: ORA-29540: class oracle/aurora/rdbms/DbmsJava does not exist

    Hi,
    I'm trying to create a simple Java stored procedure running 8.1.6. When using loadjava (c:\jdk1.2.2\bin\java -classpath .;d:\orant8i\lib\aurora_client.jar;d:\orant8i\javavm\lib\aurora.zip;d:\orant8i\sqlj\lib\translator.zip;d:\orant8i\jdbc\lib\classes111.zip oracle.aurora.server.tools.loadjava.LoadJavaMain -u system/manager -f -v Test.class), I get the above error. The problem: file DbmsJava exists in the included aurora.zip package. To verify this, I checked the zip file, and I successfully compiled a test program importing the class.
    Any ideas?
    Thanks,
    Bernd

    I also tried another approach to create a Java stored procedure, and got an error which I think has the same cause as above:
    public class Test { public static void test() {System.out.println("Test");}}
    create directory dir as 'C:\Test';
    create java class using bfile(dir, 'Test.class');
    create procedure test is language java name 'Test.test()';
    call test();
    ORA-29541: class CM.Test could not be resolved

  • Design question on inner class

    I have an app, with a JPanel. The way I have it setup right now is the JPanel is an inner class with an overloaded constructor. I call the inner class depending on the arguements. this is done repeatedly in my program.
    My question is: Should I be doing it this way or maybe as a method that returns the updated JPanel? Can this cause serious memory problems?
    example
    private void CreateTextfields(int q, int c){
    // c =      number of choices selected from other JComboBox
    // q =      question selected from combo box
    // questions is the arrylist containing all questions
       AnswerPanel answerPanel;
       answerPanel = null;
       textFieldPanel.removeAll();
    if( questions.isEmpty() && c > 0 ){
             answerPanel = new AnswerPanel(c);
    else if( !questions.isEmpty() && c == 0 ){
             answerPanel = new AnswerPanel(q, listOfAnswers);
    else if( !questions.isEmpty() && c > 0 ){
             clearLogic();
             answerPanel = new AnswerPanel(q, listOfAnswers, c);
             textFieldPanel.add( answerPanel, BorderLayout.CENTER ); Thanks
    Jim

    <<serious memory problems>>
    Probably not. But it seems wasteful to keep creating a new object just to set some properties. Why not make a single AnswerPanel, with overloaded setContents() functions?
    Not that I'm a Swing expert or anything....
    HTH,
    Ken

  • Loadjava for circular dependency classes

    Hi,
    Let me explain my problem step by step.
    1. i created a jar file using the command
    jar -cvf DataProcessing.jar ERS
    2. Then i loaded the jar file using
    loadjava -u ERSDEMO/ERSDEMO -f -v -r DataProcessing.jar
    3. DataProcessing.jar contains several java classes. Among them DependentDataProcessing.class instantiates FoodIndexCalc.class, OutsideAirTemperatureCalc.class,...etc. Inturn FoodIndexCalc.class,OutsideAirTemperatureCalc.class,... instantiates DependentDataProcessing.class.
    so while loading the jar file, always loadjava skips these circular dependency files.
    Because of that my program is not running inside oracle. But it runs very well when i run it in JBuilder4.0. I observed JBuilder4.0 creates some dependency files at the time of compilation. May be due to this the program runs in JBuilder4.0, so i tried to load the dependency files also inside the database, but still i got the same problems.
    Pls help me.
    Regards,
    Babu
    null

    hi my e mail is [email protected] i got that problem with the ejbs a session bean calling another one but with a local interface and when i try to deploy it i got the next error: Cannot resolve reference Unresolved Ejb-Ref ejb.Session1Bean/ xxxxx@xxxxx :
    please help me look this is the structure of my project is simple:
    package cox;
    @Stateless
    public class EJB1Bean{
    @EJB
    private EJB2local eJB2Local;
    package cox;
    @Stateless
    public class EJB2Bean{
    how do i must configure the project in the xml in order to run ok?
    thanks for the answers

  • Question about handing classes in Objective-C

    Greetings -- I'm pretty new to Objective-C. I do have a few apps out in the app store, but they were simple one-form apps where I was able to dump everything into the main class and be happy with it.
    This new project I'm working on, is huge in comparison. Over 25 views, accessible through TableView driven menus.
    I was able to get all of the menus working, each launching a separate view NIB file (so far, just a label to show me that it's done, but I got that part working.)
    Now what I'm trying to do, is add a "click" sound when a row is selected. But I'm wanting to do this in a separate class, so each .m file can instantiate it's own version of the logic instead of having the same code 29 times.
    So, this is what I've done:
    Click.h
    #import <Foundation/Foundation.h>
    #import <AudioToolbox/AudioToolbox.h>
    @interface Click : NSObject
    SystemSoundID soundID;
    -(void) playClick;
    @end
    Click.m
    #import "Click.h"
    @implementation Click
    -(id) init
    self = [super init];
    NSString *path = [[NSBundle mainBundle] pathForResource:@"click" ofType:@"wav"];
    AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath:path], &soundID);
    return self;
    -(void) playClick
    AudioServicesPlaySystemSound (soundID);
    @end
    RootViewController.h
    #import <UIKit/UIKit.h>
    #import "Click.h"
    @interface RootViewController : UITableViewController <UITableViewDelegate, UITableViewDataSource>
    NSArray *controllers;
    Click *clicker;
    @property (nonatomic, retain) NSArray *controllers;
    @property (nonatomic, retain) Click *clicker;
    @end
    RootViewController.m
    #import "RootViewController.h"
    @implementation RootViewController
    @synthesize controllers, clicker;
    - (void)viewDidLoad
    Click *newClicker = [[Click alloc] init];
    clicker = newClicker;
    [newClicker release];
    self.title = @"Main Menu";
    - (void)dealloc {
    [controllers release];
    [clicker release];
    [super dealloc];
    #pragma mark Table View Delegate Methods
    -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
    [clicker playClick];
    I cut out the code pieces regarding the TableView that I know works, and tried showing only the parts that I've added to make the sound.
    What I've tried, is when the RootViewController is created, it has a SystemSoundID type variable defined with it named clicker. Then as part of "viewDidLoad", instantiate an instance of the class and have it automatically populate the variable "soundID". Then during "didSelectRowAtIndexPath", I want the "playClick" method of "clicker" to be run, but at this point the app seems to get caught in some sort of perma-loop, and I have to "STOP"/"Home" out of it.
    I'm hoping the problem is my rookie-status at using Objective-C objects, and the solution jumps out at you veterans, and then whatever problem I am having won't be duplicated when I create additional classes that I'd want to merge into my ViewController logic.
    Hope I've made everything clear. If anyone has questions, I'll be checking for replies
    Thanks.

    Dragon's Nest wrote:
    Is it preferred to init a copy and assign it like you did above?
    Yes, it's an accepted pattern which you'll see in most of the sample apps. Asnor's code works just as well in this case, and it might always work for you if you stick to that same pattern. However if you were working on a team and everyone else used the more common pattern it might cause a problem. For example, this code would cause a memory leak:
    @property (nonatomic, retain) Click *clicker; // interface
    self.clicker = [[Click alloc] init]; // implementation
    The above is the flip side of your original code. In this case, because we're not releasing the newly alloced object, its retain count is +2 after the setter retains it.
    There are other advantages to the accepted pattern. Suppose you weren't assigning the new object to an ivar but only using the object in that one block of code. Should you then release it? Yes. Will you remember? Well, if you're using the pattern, you'll always release it. If you always release the local pointer regardless of whether it gets retained elsewhere, you're much less likely to have a memory leak. How bout the case where you return the pointer (i.e. alloc an object and return it's address from that method)? In that case you just autorelease it. So whoever called the method needs to retain the returned object if it needs to be used after the current event cycle.
    Either way, immediate release or autorelease, you're always releasing an alloced object in the same block of code.
    Memory management can easily get out of control without following consistent patterns. Alloc->retainBySetter->release is the accepted pattern for Cocoa. Your original code meant to use the correct pattern, but you just forgot that clicker=object isn't the same as self.clicker=object because the latter retains the object. Once you've consistently used the correct pattern for awhile, you'll almost never make that mistake.
    Also, is there any difference in calling it in the following two ways:
    @property (nonatomic, retain) Click *clicker; // <-- must be considered to answer this question
    @synthesize clicker;
    [clicker playClick];
    [self.clicker playClick];
    In the above case there's no difference since the getter synthesized for that property declaration will simply return the value of the ivar (i.e. the address of the retained Clicker object). But in the general case, there certainly could be a difference. If the property was atomic, for example, the results could be different. Of course there will definitely be a difference if you wrote a custom getter that did something more than the default.
    Is there a rule or convention re when to use the getter and when to use the ivar directly? Not that I know of. I think you just need to be aware of what the getter does when deciding whether to use the dot notation. This is a point you might want to research a little more, though. Maybe someone here with more experience in Obj-C or Cocoa will comment.
    In fact a few of the experts in this forum advise against ever using dot notation. They feel it was invented to crash newbie programs. If you never use dot notation the difference between these two lines is much easier to see:
    clicker = newClicker;
    [self setClicker:newClicker];
    But once again, if you stick to the same pattern all the time, it's much harder to make a mistake.
    - Ray

  • Loadjava - jar files INVALID Classes

    Hi Gurus,
    I loaded a couple of jar files to the database using loadjava and most of the classes are in invalid status because of inter dependencies. Is there a better way to do it?
    command used: loadjava -u apps/apps -v -force <jar>
    Also tried loading them using jdeveloper and it loaded them as JAVA RESOURCE, but I was not able to refer to the classes in the RESOURCE in my class. Does anyone have any experience with this?
    Thanks,
    Venky

    Hi Venky,
    most of the classes are in invalid status because of inter dependencies. Here is a similar issue, and their solution:
    http://dba.ipbhost.com/index.php?showtopic=6595
    http://fredericktang.wordpress.com/2007/09/28/long-road-to-loadjava/
    Hope this answers your question . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference":
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • Questions on using classes inside BSP pages

    Hi Group,
    I have a few questions on how to use classes,interfaces,parameters in classes,
    and etc., relating to OOPs concepts that can be implemented in BSPs.
    Pls send me some link wherein I can explore things and use it in BSPs.
    Thanks & Regards,
    Vishnu.

    Hi Raja,
    I am facing issues like this:
    1) When I use the code in my BSP as under:
    <%
    class ZCL_MODEL_03 definition load.
    data ref1 type ref to ZCL_MODEL_03.
    data cust_id type c value "1000".
    data c_id type c.
    create object ref1.
    c_id = cust_id.
    call method ref1->CHECK_CUSTOMER changing cid = cust_id.
    %>
    Cannot we define variables in the Scriptlet?? or we need to do only in the attributes sections only?? or in both??
    2)I am not able to use both exporting & importing things in my method call.
    eg.,call method ref1->GET_CUSTOMER
                      exporting cid = cust_id
                      importing c_id = eid.
    In the method definition, I am only using simply logic like, I was trying to send a value into the "cid" defined in the method and putting that value into "eid" which was defined exporting, but, still I could not get the value into "c_id" that I have defined in the BSP page.
    Note: in both the things(in BSP and class definition as well, I am using the same
            type for defining the attributes.
    3)When can we define a "Returning" option in the Class method's parameter    
       Definition? and how can I use it with an example?
    Thanks in advance.
    Regards,
    Vishnu.

Maybe you are looking for

  • Electronic Signature in Adobe 9; is this possible?

    Can an electronic signature be created in Adobe 9, like in Adobe XI, where a signature can be scanned and placed or typed/drawn in adobe?

  • Problems with PSE 8.0 (Mac version)

    Hi, I have two problems regarding PSE and Adobe Customer Service. First things first : 1. When I try to run successfully installed software I receive this error: and I don't know what to do next. Im trying to run it on Leopard Snow. 2. I bought softw

  • Infostructures or VendorManagedInventory (VMI)?

    hi sd-experts, we plan to do a project like VMI (Vendor managed inventory) of SAP. I got the information that there is an other way to manage the inventory of the customer by me (the vendor). This is called InfoStructures (TX MC21). But what is the d

  • Why can't Flash CC compress a SWF as well as Flash CS 5.5?

    Does anyone out here know why this happened? I have a FLA file from which I needed to export out a SWF no larger than 40kb. Without changing any of the settings, the SWF exported out as 63kb. So I opened up the FLA in Flash CC and went to Publish Set

  • Duplicate one channel of audio FCPX

    Im editing a wedding were a videographer used a wireless mic on the groom, How do i duplicate that wireless audio channel so i can hear it in both speakers? FCPX vs 10.0.9. thank you