Problem with Embedded OC4J - Can find EJB class???

I am getting the following error when starting my application within JDeveloper.
05/06/22 16:11:35 Error instantiating application 'current-workspace-app' at file:/C:/developc/developc-oc4j-app.xml: Error initializing ejb-module; Exception Error loading class 'com.syncra.ct.server.AggregatesManagerBean': java.lang.ExceptionInInitializerError: java.lang.NullPointerException
It never reaches breakpoints in the class. So, I assume that it can't find the class in the classpath. But, when I look at the developc-oc4j-app.xml file see the following:
<ejb-module path="file:/C:/developc/Model/classes/"/>
<web-module id="developc-ViewController-webapp" path="C:\developc\ViewController\public_html"/>
and the ejb class is in the correct spot. Any help would be greatly appreciated. I am on JDeveloper 10.1.2.
Thanks.

I put a static method in the class to print out when it is loaded. And the class exists in the classpath. It is never making it to the class.
Also, I do have both the JAVA_HOME and ORACLE_HOME environment variables set.
The ejb definitions are:
ejb-jar.xml
<session>
<ejb-name>ct.AggregatesManagerHome</ejb-name>
<home>com.syncra.ct.server.api.AggregatesManagerHome</home>
<remote>com.syncra.ct.server.api.AggregatesManager</remote>
<ejb-class>com.syncra.ct.server.AggregatesManagerBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
</session>
orion-ejb-jar.xml
<session-deployment name="ct.AggregatesManagerHome" location="ct.AggregatesManagerHome"/>
Because JDeveloper forces me to split the code into Model and ViewController I am wondering if there is something special that needs to be done for OC4J to see everything. Any ideas?
Nick

Similar Messages

  • Problem with Embedded OC4J: Address already in use: JVM_Bind

    When I try to run a Servlet in JDeveloper 10g it works fine. But when I stop the Embedded OC4J and try to run the Servlet again, the following message appears in the log:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\oracle\ora10g\jdev\jdk\bin\javaw.exe -hotspot -classpath C:\oracle\ora10g\jdev\j2ee\home\oc4j.jar;C:\oracle\ora10g\jdev\jdev\lib\jdev-oc4j.jar -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\oracle\ora10g\jdev\jdev\system9.0.5.0.0.1375\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    03/10/23 14:23:01 Error starting ORMI-Server. Unable to bind socket: Address already in use: JVM_Bind
    Process exited with exit code 7.
    What could be causing this problem?
    Thanks in advance!

    Modify the config/rmi.xml file to have the host attribute in the tag as follows:
    <rmi-server port="23791" host="server-ip-address">
    </rmi-server>
    After that, place the log4j-your-jdev-version.jar in appserverhome/j2ee/home/lib folder.
    Restart the server. The bind problem would disappear.
    Hope this solves your problem :-)
    Ramesh

  • Problems with embedding swfs into Director 11.5

    Hello everyone,
    I am hoping someone can help me and please bear with me - I don't know a lot about director - I can do some Lingo and get around in the program to make things work.
    Right now I am working on an interactive presentation where the user can click a button to view an animation. I am using Director 11.5 for my presentation and have made my animations in After Effects CS3 -- from there I converted my .mov files to .flv files using the Adobe Media Encoder CS4... then I took my .flv file into Flash and published it as a swf file.
    The problem that I am having is that when I play the presentation (within Director and after publishing the .app/projector file) the swf files are playing - but there is all this glitchy-artifact stuff all over them. Does anyone know why this would be happening? When I play the swf files in the flash player they look great. Before, when I was using Flash MX and Director MX, I never had any problems with embedding my swf animation files - and they played great - without any artifact. Any and all help would be much appreciated as this project is due in the next few days and I would prefer to figure out a solution rather than uninstalling Flash CS4 and Director 11.5 - and going back to MX.
    I toyed with the thought that my video card isn't good enough but I tested the .app file on another machine and the glitchy-artifacts were still there. I have attached a jpg showing the artifact that appears.
    I am running Mac OS X 10.5.7
    Dual 2 GHz G5 PowerPC
    ATI Radeon X800 XT
    Thank you!

    Sorry... here is the image again and I think the problem might be my machine -- it is very old (~4+ years) and when I tested my .app on a newer intel mac here it worked fine... but maybe I am missing something -- it seems odd that I can see the swf fine in flash player but it is glitchy when played through director or the .app projector file

  • Problem with embedded objects

    Hi,
    I have problem with embedded objects which contained embedded objects.
    When I create an Object in the persistent memory and commit this object I get the following error:
    ORA-22805: cannot insert NULL object into object tables or nested tables
    In the constructor of my persisten object I create the embedded members in the transient memory:
    ATestPersObj::ATestPersObj() : m_count(0), m_lang(NULL), m_cost(NULL) {
      m_lang = new AEnumLanguage_OraType();
      m_cost = new AAmount_OraType();
    }Or when I dereference a reference I get this error:
    ORA-00600: internal error code, arguments: [kokeicadd2], [16], [5], [], [], [], [], []
    Can somebody give me a hint?
    I've defined the following Type:
    CREATE OR REPLACE TYPE AENUM_ORATYPE AS OBJECT (
                             VALUE  NUMBER(10,0)
                           ) NOT FINAL ;
    CREATE OR REPLACE TYPE AENUMLANGUAGE_ORATYPE UNDER AENUM_ORATYPE (
                           ) FINAL " );
    CREATE OR REPLACE TYPE ACURRENCY_ORATYPE AS OBJECT (
                             ISONR          NUMBER(5,0)
                           ) FINAL ;
    CREATE OR REPLACE TYPE AAMOUNT_ORATYPE AS OBJECT (
                             CCY        ACURRENCY_ORATYPE,
                             LO32BITS   NUMBER(10,0),
                             HI32BITS   NUMBER(10,0)
                           ) NOT FINAL ;
    CREATE OR REPLACE TYPE ATESTPERSOBJ AS OBJECT (
                             COUNT    NUMBER(4),
                             LANG     AENUMLANGUAGE_ORATYPE,
                             COST     AAMOUNT_ORATYPE   
                           ) FINAL ;
    oracle::occi::Ref<ATestPersObj> pObjR = new(c.getConnPtr(), "TTESTPERSOBJ") ATestPersObj();
    pObjR->setCount(i+2001);
    pObjR->setLang(AEnumLanguage(i+1));
    pObjR->setCost(AAmount(ACurrency(), 2.5));
    c.commit();
    c.execQueryRefs("SELECT REF(a) FROM TTESTPERSOBJ a", persObjListR);
    len = persObjListR.size();
    {for (int i = 0; i < len; i++) {  
      oracle::occi::Ref<ATestPersObj> pObjR = persObjListR;
    pObjR->getCount();
    pObjR->getLang();
    c.commit();
    With kind regards
    Daniel
    Message was edited by:
    DanielF
    Message was edited by:
    DanielF

    Hi,
    I have problem with embedded objects which contained embedded objects.
    When I create an Object in the persistent memory and commit this object I get the following error:
    ORA-22805: cannot insert NULL object into object tables or nested tables
    In the constructor of my persisten object I create the embedded members in the transient memory:
    ATestPersObj::ATestPersObj() : m_count(0), m_lang(NULL), m_cost(NULL) {
      m_lang = new AEnumLanguage_OraType();
      m_cost = new AAmount_OraType();
    }Or when I dereference a reference I get this error:
    ORA-00600: internal error code, arguments: [kokeicadd2], [16], [5], [], [], [], [], []
    Can somebody give me a hint?
    I've defined the following Type:
    CREATE OR REPLACE TYPE AENUM_ORATYPE AS OBJECT (
                             VALUE  NUMBER(10,0)
                           ) NOT FINAL ;
    CREATE OR REPLACE TYPE AENUMLANGUAGE_ORATYPE UNDER AENUM_ORATYPE (
                           ) FINAL " );
    CREATE OR REPLACE TYPE ACURRENCY_ORATYPE AS OBJECT (
                             ISONR          NUMBER(5,0)
                           ) FINAL ;
    CREATE OR REPLACE TYPE AAMOUNT_ORATYPE AS OBJECT (
                             CCY        ACURRENCY_ORATYPE,
                             LO32BITS   NUMBER(10,0),
                             HI32BITS   NUMBER(10,0)
                           ) NOT FINAL ;
    CREATE OR REPLACE TYPE ATESTPERSOBJ AS OBJECT (
                             COUNT    NUMBER(4),
                             LANG     AENUMLANGUAGE_ORATYPE,
                             COST     AAMOUNT_ORATYPE   
                           ) FINAL ;
    oracle::occi::Ref<ATestPersObj> pObjR = new(c.getConnPtr(), "TTESTPERSOBJ") ATestPersObj();
    pObjR->setCount(i+2001);
    pObjR->setLang(AEnumLanguage(i+1));
    pObjR->setCost(AAmount(ACurrency(), 2.5));
    c.commit();
    c.execQueryRefs("SELECT REF(a) FROM TTESTPERSOBJ a", persObjListR);
    len = persObjListR.size();
    {for (int i = 0; i < len; i++) {  
      oracle::occi::Ref<ATestPersObj> pObjR = persObjListR;
    pObjR->getCount();
    pObjR->getLang();
    c.commit();
    With kind regards
    Daniel
    Message was edited by:
    DanielF
    Message was edited by:
    DanielF

  • Problem with my OC4J, please help

    Hi
    i have one big problem with my OC4J Application Server: i create an instance, then i deployed my appliation with the .ear file. i have 15 page uix. my problem is when i want to see my application from the browser, some of the page run correctly ans some other no; in other world the one that don't run, in reality it run but it display the last one that run correctly.
    i hope that i m celar.
    can you help me.
    Thank you

    Islem,
    Please post your log file content as well as server version, OS etc. (see:
    http://forums.oracle.com/forums/ann.jspa?annID=818-Michael

  • Problems with embedding .flv files in DW CS4....

    I inserted an .flv file into my DW CS4 html page. I previewed it in my browser, and it worked for a little bit, but now it's not working in any browser, I'm not sure what happened. I included a screen shot in the attachments of what was happening in all the browsers.
    Thanks for any help,
    Thank you,
    Aza

    Not sure if that was meant for me
    You can tell who was the intended recipient by looking at the header of the message -
    6. Sep 10, 2010 6:50 AM in response to: FordGuy48 <<----
    Re: Problems with embedding .flv files in DW CS4....
    A link to the page would help us diagnose your problem.
    Safari tells me that this file -
    FLVPlayer_Progressive.swf
    is not where you have told the page to expect it.  Did you upload it?

  • HP 8500 printer will not print fast on firefox, but does on Safari. HP support says it is a problem with firefox. Can you help me out?

    Question
    HP 8500 printer will not print fast on firefox, but does on Safari. HP support says it is a problem with firefox. Can you help me out? edit

    Thank you for posting your list of installed Extensions. One of them might be intercepting the menu command. Since you have the Add-on Compatibility Reporter, it's possible that an older add-on that doesn't actually work well with Firefox 5 could be to blame. Could you try disabling the "HP Smart Web Printing" extension and see whether that makes any difference?
    Also, you can simulate a print button on a web site by pasting this to the location bar and pressing Enter. You also can save it as a bookmark for easier access (when scripts are saved as bookmarks, we call them bookmarklets). Hopefully you won't need it for long.
    <br>javascript:void(window.print());

  • Hey, I had met a problem with installation. Can any one help me?

    Hi everyone, I'm an user of Windows 7(64 bit),
    I had just download "Master Collection CS5.5"
    Everything are fine but Adobe Acrobat Professional can't install on my computer.
    There are the details..:
    Exit Code: 6
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 4 error(s), 1 warning(s)
    WARNING: DW066: OS requirements not met for {AC76BA86-1033-F400-7760-000000000005}
    ----------- Payload: {AC76BA86-1033-F400-7760-000000000005} Acrobat Professional 10.0.0.0 -----------
    ERROR: Error 1324.The path R嶰up廨er un document num廨is?sur un multifonction.sequ or the volume is invalid. Please enter it again.
    ERROR: Install MSI payload failed with error: 1603 - 安裝時發生嚴重錯誤。
    MSI Error message: Error 1324.The path R嶰up廨er un document num廨is?sur un multifonction.sequ or the volume is invalid. Please enter it again.
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Acrobat Professional: Install failed
    Thanks

    Re: Hey, I had met a problem with installation. Can any one help me?
    This worked for an English version and the concept should work with all Adobe programs - new or old (hopefully in any language). My guess is that you have/had an older version of Acrobat/Reader on your computer hard drive that needs to be *completely* removed first. Uninstall the new (and any old) Acrobat; then try using the "kb2..." guideline link below before reinstalling the new Acrobat. I am including the lengthy instructions in order to help others with more extensive installation problems. Good luck!
    I live on a fixed income and use CS for a hobby. I had problem installing Adobe Creative Suite (CS1) to Windows 7 64-bit Pro on my new computer. Also installed Adobe Photoshop LR3. What I learned: All Adobe products (Flash, Acrobat/Reader, Photoshop, Creative Suites, etc.) leave a VERY pervasive footprint on your hard drive. Logic finally worked for me.... think of building a house; there is an order you have to do things in. First, you have to clean the area before laying the foundation; then you have to build the framework before you put the roof on. You cannot install an older program over ANY newer program; and you will sometimes have a problem installing a newer program containing Flash, Reader, etc. unless you "erase" the older versions of Flash, Reader beforehand. If installing older programs, do a Custom/Manual install; do not install older versions of Flash, Reader, etc.  packaged with your Adobe software.
    SOLUTION (not easy, but it works):
    I first tried this; it did not solve my problem (but, if applicable, may help others).  http://windows.microsoft.com/en-us/windows7/Make-older-programs-run-in-this-version-of-Win dows
    Before doing anything, make document and any database/presets/cache back-ups beforehand (keep notes on their designated location*); manually create a System Restore point. (Be prepared to reinstall Windows if necessary - I didn't have to.)
    Completely and meticulously eradicate (clean) your hard drive of ALL Adobe programs [uninstall, remove remaining folders, and remove only the registry entries that have the Adobe name attached (unless you are an expert and fully understand the other entries)]. Use this as a guideline  http://kb2.adobe.com/cps/400/kb400769.html
    Do a Custom/Manual reinstall of all your Adobe products *in order of release dates* (OLDEST first).... do not include Reader, Flash, etc. If your CD will not automatically run at this point, click "Open folder to view files" (use Computer/Windows Explorer, if necessary). Click "Adobe Creative Suite (or your desired program) ==> Setup.exe" (IMPORTANT: Make sure that Reader, Flash, etc. are unchecked.)
    After each of your desired Adobe programs are installed, test to insure they boot up. Then download the latest Reader, Flash, etc. apps and install them (I did this in order of release date - oldest first). Do test boot(s) again.
    Copy/Paste your document and any database/presets/cache back-ups into the appropriate folders (*this will vary depending on your programs and your filing system).
    It has been four weeks and all my Adobe programs work flawlessly - system is stable, no problems!

  • From which table I can find the "Class type" and "Class" of the material?

    From which table I can find the "Class type" and "Class" of the material?
    Thanks in advance for the answers....

    Hi,
    try following table
    KSSK     Material number to class     
    KLAS     Class description     
    KSML     Characteristic name     
    CABN/CABNT     Characteristic name description     
    CAWN/CAWNT     Characteristic name
    [http://www.sap-img.com/materials/classification-view-of-material-master.htm]
    [http://wiki.sdn.sap.com/wiki/display/ERPLO/FrequentlyUsedTables]
    Regards
    kailas Ugale

  • I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    By doing a Google search. 

  • Hello! im from argentina. im having problems with my iphone. can my friend take it to usa for a cheking?

    hello! im from argentina. im having problems with my iphone. can my friend take it to usa for a cheking?
    what do i need to take my iphone to an apple store? just the iphone? or the charger also? what about the ticket?
    sorry about my english

    If your phone was purchased in the US, yes. Otherwise, no. And, you only need the phone, nothing else.

  • I have just changed to Firefox from IE. When i pull up my home page which is the BBC.co.uk I have always to reset my local region as it always defaults to London. I didn't have this problem with IE. Can you please supply a solution, thank you

    I have just changed to Firefox from IE. When i pull up my home page which is the BBC.co.uk I have always to reset my local region as it always defaults to London. I didn't have this problem with IE. Can you please supply a solution.

    I fixed it!!! Following advice from similar posts, I searched the hard drive for "sessionrestore.js" in my Firefox Profiles folder (you'll need to enable viewing of hidden files in Windows Explorer (Tools > Folder Options > View (then select Hidden files option) then Apply to all folders) to do this). I then shut down Firefox, deleted the file and restarted - my home page was correct and it didn't try to open my old session! Some other posts suggested deleting everything called "sessionrestore" in that folder, but I didn't need to.

  • TS3899 iPad mail account says problem with 'ssl settings' - can you help me?

    iPad mail account says problem with 'ssl settings' - can you help me?

    The 4Gs hardware, only 256 MB of RAM, prohibits updating beyond 6.1.6.
    Starting when iOS 7 was released, Apple now allows downloading the last compatible version of some apps (iOS 4.2.1 and later only)
    App Store: Downloading Older Versions of Apps on iOS - Apple Club
    App Store: Install the latest compatible version of an app
    You first have to download the non-compatible version on your computer. Then when you try to purchase the version on your iPod you will be offered a compatible version if one exists.

  • Problems with Embedded classes mapping

    Hi,
    I'm experiencing problems for table generation with the following case:
    a class declares two fields; one of them typed as a subclass of the other; both fields annotated with @Embedded; the subclass uses the annotation @AttributeOverride to avoid column names duplication.
    When the tables are generated, one of the field (the most specialized one) is simply omitted by the JPA implementation...
    To illustrate my problem, here is an example:
    @Entity
    public class Bar implements Serializable {
         @Embedded
         protected Foo foo = null;
         @Id
         @GeneratedValue(strategy=GenerationType.SEQUENCE)
         protected long id = -1;
         @Embedded
         protected SubFoo subFoo = null;
         public Bar() {
                    super();
            // getters & setters
    @Embeddable
    public class Foo implements Serializable {
         @Column
         protected String bar = null;
         @Column
         protected String foo = null;
         public Foo() {
              super();
            // getters & setters
    @Embeddable
    @AttributeOverrides({
         @AttributeOverride(name="bar", column=@Column(name="subbar")),
         @AttributeOverride(name="foo", column=@Column(name="subfoo"))
    public class SubFoo extends Foo {
         public SubFoo() {
                    super();
    }The generated table BAR contains only 3 columns: ID, FOO, BAR...
    ...and what I expect is two additionnal columns named SUBFOO & SUBBAR!
    Can someone tell me: if I definitely need to go back to school (I'm obviously not an EJB expert), or how to make it work as I expect...?
    Thanks
    -Jerome

    I found the note in the EJB specs that clearly states that my issue has no solution at this time:
    "Support for collections of embedded objects and for the polymorphism and inheritance of embeddable classes will be required in a future release of this specification."
    EJB 3.0 specs - final release - persistence, page 23, note 10 in section 2.1.5

  • We just  bought an iMac.  We have a new HP printer that we've been using wirelessly with our windows based computers with no problem.  the iMac can find the printer, but it will not set up.  Any ideas?

    Our iMac can find the wireless printer, but it will not set it up.  Any ideas?

    I have to disagree with BGreg about downloading the driver from HP.com. I would recommend using Apple's instructions in
    http://support.apple.com/kb/HT4670?viewlocale=en_US&locale=en_US
    specifically the section on How to Add a Printer then check for the section on Wi-Fi printers.

Maybe you are looking for

  • Left joins on multi-million rows

    i have a simple query doing left joining on several tables, upward of 7 tables. each table has several hundred million rows. tblA is 1:M tblB and tblB is 1:M tblC and so on. how to tune a query liked that? sample query is select distinct a.col,b.col,

  • Download Install Adobe X Standard

    How do I download Acrobat X Standard?

  • Business Catalyst (Self Hosting Package): Any Plan? Will be nice

    I think it will nice Adobe puts BC as an additional option where BC can be privately hosted by a partner via any hostiing provider. This will make BC more flexible for most customers that do not want to move their hosting from  existing providers. Wh

  • Remove default icon and default title from the runtime window

    I am developing a application in developer 6i, can somebody tell me how to remove the MDI ICOn and the default title(Forms Runtime)

  • Top/Bottom reports in Hyperion Reports?

    Hi,<BR><BR>I'm trying to produce a top 100 customers report using Hyperion Reports. Is there a way to do this? I found the RANK function, but that just returns a value--it doesn't filter based on data values.<BR><BR>The only way I can find to do it i