DebugMBean not found when creating EJB3 Entity Manage

Hi,
Got exception when test my ejb3 entity bean out of container. weblogic.jar which I get from weblogic 10.3 has been included in he classpath.
I checked the weblogic.jar, it does not have DebugMBean.class. I believe it is a weblogic bug. Can anybody have solution to fix it?
Thanks,
Bruce Xie
public EntityManager createEntityManager() {
if(emf == null) {
emf = Persistence.createEntityManagerFactory(persistenceUnitName);
return emf.createEntityManager();
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/management/configuration/DebugMBean
     at java.lang.ClassLoader.findBootstrapClass(Native Method)
     at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     at weblogic.xml.jaxp.RegistrySAXParserFactory.<clinit>(RegistrySAXParserFactory.java:27)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     at java.lang.Class.newInstance0(Class.java:355)
     at java.lang.Class.newInstance(Class.java:308)
     at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:148)
     at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:298)
     at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:224)
     at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:128)
     at org.apache.openjpa.lib.xml.XMLFactory.<clinit>(XMLFactory.java:60)
     at org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDataParser.java:352)
     at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:320)
     at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:296)
     at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:268)
     at org.apache.openjpa.persistence.PersistenceProductDerivation$ConfigurationParser.parse(PersistenceProductDerivation.java:510)
     at org.apache.openjpa.persistence.PersistenceProductDerivation.parseResources(PersistenceProductDerivation.java:360)
     at org.apache.openjpa.persistence.PersistenceProductDerivation.load(PersistenceProductDerivation.java:326)
     at org.apache.openjpa.persistence.PersistenceProductDerivation.load(PersistenceProductDerivation.java:161)
     at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:77)
     at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:109)
     at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:53)
     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:84)
     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)
     at JPATestBase.createEntityManager(JPATestBase.java:50)
     at JPATestBase.<init>(JPATestBase.java:23)
     at JPATestBase.main(JPATestBase.java:17)

Hi,
I do not see the DebugMBean class anywhere in the 3 com.bea.core.management.*.jar or 2 com.bea.core.mbean.*.jar libraries in the "modules" directory on WebLogic 10.3.0 - there is no longer a single webllogic.jar to check.
As a workaround try switching your persistence provider to EclipseLink by adding the following line to your persistence.xml and adding the EclipseLink library via the patching instructions below. If you are running WebLogic 10.3.1 then you will only need the provider line - as EclipseLink is shipped in this version.
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial#Option_2:_Apply_Smart_Update_Patch_-Recommendedfor_10.3.0.0
Also, there is a workaround to change the SAX parser you are using that is causing this issue - in the WebLogic forum that may solve this.
NoClassDefFoundError: weblogic/management/configuration/KernelDebugMBean
System.setProperty("javax.xml.parsers.DocumentBuilderFactory","org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
System.setProperty("javax.xml.parsers.SAXParserFactory", "org.apache.xerces.jaxp.SAXParserFactoryImpl");
thank you
/michael
www.eclipselink.org

Similar Messages

  • Stored procedure not found when creating a new recordset binding in Dreamweaver CS6 with ColdFusion Server 11

    Stored procedure not found when creating a new recordset binding in Dreamweaver CS6 with ColdFusion Server 11.  I can see the tables and views in the database tab, but no stored procedures.  If I connect to a data source created in ColdFusion Server 6 I am able to see the stored procedures.

    Ben thanks for the reply!
    Yes that is the process I am following:
    In Dreamweaver, open the page that will run the stored procedure.
    In the Bindings panel (Window > Bindings), click the Plus button, and then select Stored Procedure.
    In the Data Source pop‑up menu, select a connection to the database containing the stored procedure
    Enter the ColdFusion Data Source user name and password.
    At this point in the procedure drop down I would get a message that said No Stored Procedure Found.
    Right now it appears to be working, I had to create a new site that pointed to the older CF 6 server's data source and create a page following the process above, then when I went back to the CF 11 site the stored procedures were now populated.  I need to make sure it is pulling from the correct server but right now it appears to be working.
    Thanks
    Dwight

  • Webapp not found when creating a new portal

    Hi all,
    I've just started exploring Weblogic Portal 8.1, and am now attempting to set-up a basic portal from scratch. Here's what I did.
    1) Created a Weblogic Portal Domain using the Configuration Wizard. The domain name is "mydomain". The server name is "myserver".
    2) In Weblogic Workshop, created a new application called "testportal".
    3) In "testportal" application, created a new portal web project called "portal".
    4) created "myportal.portal" portal in the "portal" portal web project.
    5) Tried to start the portal (URL: http://localhost:7001/portal/myportal.portal), but received this error message:
    <b>"Webapp portal not found in application testportal."</b>
    6) When I tried to hit http://localhost:7001/portal, I was able to hit index.jsp for the web application, so the portal web app is alright.
    Any ideas what I'm missing here?
    Thanks!

    I'm not sure of what is going on but just wondering.. did you drag and drop portlets on to the portal?
    I recommend you to try the below step-by-step tutorials.
    Check this out. http://e-docs.bea.com/wlp/docs81/startdev/startdev.html
    And try this. http://e-docs.bea.com/workshop/docs81/doc/en/portal/tutorials/tutFirstPortalIntro.html
    Seenu.

  • Getting HTTP 404 - File Not Found when creating Items

    This happens when I try to create an item of any type. I can edit items already created, but I cannot create any new items.
    Take the Text Control for example:
    When I click on the Text item icon, I get the page that prompts for the Text Control Type. I select one, then I wait and get the HTTP 404. This happens with all items. For items that do not have subtypes, I get the error immediately.
    Any suggestions?

    I have some major work to do. This might require a call to Oracle.
    Udump trace file reveals the following for each attemp to create an item:
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_opidsa+360] [PC:0x2080540] [ADDR:0x0] [UNABLE_TO_READ] []
    Current SQL statement for this session:
    select
    nvl(htf.escape_sc(p.plug_name),wwv_flow_lang.system_message('CREATE_ITEM_WIZ.NO_REGION')) plug_name,
    i.item_sequence,
    i.name,
    i.prompt,
    nvl(i.item_plug_id,0) item_plug_id,
    i.DISPLAY_AS
    from
    wwv_flow_step_items i, wwv_flow_page_plugs p
    where
    i.flow_step_id = :FB_FLOW_PAGE_ID and i.flow_id = :FB_FLOW_ID
    and
    p.id (+) = i.item_plug_id
    order by nvl(item_plug_id,0), item_sequence
    I shut down the database. I get this when attempting to restart:
    SQL>
    Connected.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORA-32004: obsolete and/or deprecated parameter(s) specified
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    SQL> startup
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    Message was edited by:
    MartinWDC

  • Dynpro not found when create or change business partner

    Dear friends,
    I try to do some maintenance of business partner using tcode BP. An error has occur as below:
    Anyone can help me.
    Thanks in advance.
    Runtime Errors DYNPRO_NOT_FOUND
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLBUSS" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    The program had to be terminated.
    Error analysis
    Program "SAPLBUSS" tried to use screen 7015.
    The screen does not exist.
    Trigger Location of Runtime Error
    Program SAPLBUSS
    Include LBUSSO00
    Row 1,543
    Module type (MODULE PBO)
    Module Name PBO_START_SUBSCREEN

    Hi,
    Please check the screen 7015, is active or not.
    Regards
    HM

  • Jni.h file not found when creating dll

    I'm just learning how to use the JNI and have been following the tutorial provided by Sun. My knowledge of C and its compilation system is very limited (I'm a Java generation programmer) I try to create a dll using the method proposed by the tutorial like this:
    cl -Ic:program files\java\jdk1.5.0_09\ include
    -Ic:program files\java\jdk1.5.0_09\include\win32
    -LD HelloWorldImp.c
    -Fehello.dllI get an error message stating
    fatal error C1083: Cannot open include file: 'jni.h': No such file or directoryThe code is identical to the tutorial's code.
    I am running Windows XP and Microsoft Visual C++ 6.0
    The preprocessor statement where the error is located is
    #include <jni.h>and this is the very first line in the c program named HelloWorldImp.c
    I fixed this problem by just placing a copy of jni.h into the same directory, but a slew of other problems followed, and I don't think that that is a very good practice to get into anyway.
    I have set the paths of the directories of the include and include/win32 in my environment variables, because I don't know what else to do and I believe in luck. This also proved to be a miserable disgrace. How can I get the c file to compile into a dll? I know that this seems to be more of a c problem than a java problem, but I've compiled my share of c programs without difficulty. And I know that this seems like a pretty elementary problem, but my mother loves me anyway.
    Thanks for any help on the issue :)
    -Daniel

    hi
    this solution seems stupid,
    but try removing the space between file path
    cl -Ic:program files\java\jdk1.5.0_09\ include
    try
    cl -Ic:program files\java\jdk1.5.0_09\include
    this may solve the problem

  • How can I get my ES2 loops to play correctly? I keep getting the message that the audio is not found when I drag the loops from my audio browser even though they play fine in the preview.

    How can I get my ES2 loops to play correctly? I keep getting the message that the audio is not found when I drag the loops from my audio browser even though they play fine in the preview.

    It's exactly as I stated. Whenever I try to drag these kinds of loops (ESX24 / software instrument loops? the ones marked in green with the white music note next to them) from the loop browser into the timeline a message comes up saying Audio Not Found for that loop.  And a new track is created automatically when loops are dragged into the timeline, so I'm not creating some other random / synth instrument track so I'm not sure  what the deal is... But perhaps I'll try creating a software instrument track first and then drag the loop into that track and see what happens - maybe there's something with the default settings that automatically creates audio tracks whenever loops are imported?

  • Keep getting Disc Burner or software not found when trying to burn a CD

    I am not able to burn a playlist to a CD and get an error at the top of Itunes window "Disc Burner or Software Not Found". I have been able to burn CDs in the past with this same computer but had some issues with songs in itunes. Support had me uninstall Itunes and reinstall. I have also uninstalled the device in the device manager and re-installed it. I really don't know what to try except to ask for help here. I would appreciate any direction I can get. I have a Dell desktop XPS running on Windows 8.

    Hi daurel, 
    Thanks for participating in the Apple Support Communities. 
    It sounds like you receive the error "Disc Burner or Software Not Found" when trying to burn CDs. You mention that you've already tried removing and reinstalling iTunes, and other drivers, and these are good steps. 
    If the situation continues, be sure to try the tips in this article:
    iTunes for Windows: Optical drive is no longer recognized, or "Disc burner or software not found" alert after install - Apple Support
    Sincerely,
    Jeremy 

  • BW: The following objects were not found when accessing server

    Hi All,
    Problem:
    - on the infoprovider, no authorization object is flagged as authorization relevant
    When trying to open the query in display mode, I get the message "The following objects were not found when accessing server", when I press cancel, the attributes are not available in the query.
    I tested with authorization objects and the only way to get these attributes visible is to put them in an authorization object with full (*) authorization for the field.
    Why does the system checks this? Because I don't want to give full authorization.
    Is there a way to unable this check, as I want the attributes to be visible (also without the *)
    +
    When a query administrator with the sufficient authorization (sap_all or the * authorization for the field in the authorization object) is creating the query in query designer including the 'attributes' which are not visible with the 'normal' authorizations, the query will not list the columns in the output when it is executed by the normal user.
    What can I do to get them visibIe in the output?
    I can not create an authorization object for each of these attributes with * (full authorization)... as it is not logic, and no authorization should need to be checked...
    Anyone who faced the same problem?
    (>> it seems the system acts as if the attributes are keyfigures, for which you need * authorization to be visisble)
    The attributes are navigational attributes.
    Thanks for your reply

    Hi Shivraj,
    BW 3.5 version
    Thanks

  • PSE 8 some photos will not autoimport when creating an photobook and block the whole sequence. Are there knows reasons why individual photos can hang the import? Thanks Michael

    When creating photobooks with PSE 8 I find occasionally that certain photos block the autoimport function and none of the sequence are loaded into the new photobook. Using the identical setting to create a photobook other sequences of photos work perfectly. The photos have been checked and found and all are connected and recognised. Are there knows issues with some photo formats which will not autoimport when creating a photobook?
    Thanks for the help.
    Michael

    Sometimes LR can be "nudged" into showing folder relationships which better match the file system, by using the "show parent folder" command. When existing folders appear as if they were "top level" in the drive, we can see a more or less virtual picture of the situation, rather than anything real. So newly added folders can sometimes present themselves as if independent of what is already there.
    By forcing LR to show a fuller hierarchy of folders, more attention gets paid to the actual arrangement - so new and existing folders should "wake up" and thereafter appear more reliably in the right relationships.

  • The following objects were not found when accessing server

    Hi All,
    Problem:
    - on the infoprovider, no authorization object is flagged as authorization relevant
    When trying to open the query in display mode, I get the message "The following objects were not found when accessing server", when I press cancel, the attributes are not available in the query.
    I tested with authorization objects and the only way to get these attributes visible is to put them in an authorization object with full (*) authorization for the field.
    Why does the system checks this? Because I don't want to give full authorization.
    Is there a way to unable this check, as I want the attributes to be visible (also without the *)
    Can anyone help me with this? Thanks in advance for your reply

    When a query administrator with the sufficient authorization (sap_all or the * authorization for the field in the authorization object) is creating the query in query designer including the 'attributes' which are not visible with the 'normal' authorizations, the query will not list the columns in the output when it is executed by the normal user.
    What can I do to get them visibIe in the output?
    I can not create an authorization object for each of these attributes with * (full authorization)... as it is not logic, and no authorization should need to be checked...
    Anyone who faced the same problem?
    (>> it seems the system acts as if the attributes are keyfigures, for which you need * authorization to be visisble)
    The attributes are navigational attributes.

  • Getting error : Jre not found when using Loadjava command

    Hi folks,
    I am getting an error when I run the below load java command on a 9.2.0.8 database on Sun/Solaris platform.
    Command:
    loadjava -user user/[email protected]:1529:OLS2 -thin -force -resolve -verbose filename.jar
    Error:
    /olcdbt/u01/app/oracle/product/9.2.0.8/bin/loadjava: /olcdbt/u01/app/oracle/product/9.2.0.8/jdk/jre/bin/jre: not found
    When I tried creating a new Jre soft link from $ORACLE_HOME/bin like : 'ln -s $ORACLE_HOME/jdk/jre/bin/java $ORACLE_HOME/jdk/jre/bin/jre' its giving a new error:
    jre was not found in /olcdbt/u01/app/oracle/product/9.2.0.8/jdk/jre/bin/../bin/sparc/native_threads/jre
    Strange thing here is that this was working fine in 9206 home and after upgrading to 9208 1 month back I am facing this issue. I am sure I am missing something here but not sure what.. Please help me resolve this issue.
    Regards,
    Raji.

    Dear my collegue, the best place to ask this question is JVM forum.
    Java in the Oracle Database

  • Jre not found when using Loadjava command

    Hello,
    I am getting an error when I run the below load java command on a 9.2.0.8 database on Sun/Solaris platform.
    Command:
    loadjava -user user/[email protected]:1529:OLS2 -thin -force -resolve -verbose filename.jar
    Error:
    /olcdbt/u01/app/oracle/product/9.2.0.8/bin/loadjava: /olcdbt/u01/app/oracle/product/9.2.0.8/jdk/jre/bin/jre: not found
    When I tried creating a new Jre soft link from $ORACLE_HOME/bin like : 'ln -s $ORACLE_HOME/jdk/jre/bin/java $ORACLE_HOME/jdk/jre/bin/jre' its giving a new error:
    jre was not found in /olcdbt/u01/app/oracle/product/9.2.0.8/jdk/jre/bin/../bin/sparc/native_threads/jre
    Strange thing here is that this was working fine in 9206 home and after upgrading to 9208 1 month back I am facing this issue. I am sure I am missing something here but not sure what.. Please help me resolve this issue.
    Regards,
    Raji.

    Hi,
    Even though the problem manifests when using loadjava, it has noting to do with the embedded Java VM in the database; it's rather an install /upgrade problem.
    Perhaps the followinf post can help: http://64.233.167.104/search?q=cache:h3XhGo2kZaYJ:forums.oracle.com/forums/thread.jspa%3FthreadID%3D43105+site:oracle.com+%22JRE+not+found%22&hl=en&ct=clnk&cd=9&gl=us
    Kuassi http://db360.blogspot.com

  • I get Server error 404 not found when downloading OSX LIONHELP

    I get Server error 404 not found when downloading OSX LION HELP!!!

    See message 11600
    "David R. Pina" <[email protected]> wrote:
    >
    Hello everyone,
    I'm using weblogic 6.0 for AIX.
    I'm trying to setup a new web application.
    Right now, I just want to access html files, but the web server is not working
    well.
    I can access the file
    http://myhost/myapp/index.html
    but if I try to access file2.html
    http://myhost/myapp/file2.html
    file2.html is in the same directory, with the same permissions and I get
    the 404
    error message
    At the beginning, I couldn't access index.html, because I created the directory
    "myapp"
    with user "root". Later, I changed the ownership to "wlowner" for "myapp"
    directory
    and for "index.html"
    Then I created "file2.html" with user "wlowner", and provided the same permissions
    as index.html but I can't access it.
    Could someone tell what might be wrong ?
    Any clues ?
    Thanks,
    David
    Mexico City

  • Import not found when deploying to Standalone OC4J

    Hi,
    I'm developing a small application, consisting of a few classes and a few jsp pages. I'm using JDeveloper 9.0.3.1 with the sun j2sdk 1.4.2 for windows.
    I test my application with the embedded OC4J in Jdeveloper, and it runs fine. But when I deploy it to the standalone OC4J, I get this error:
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errores de compilación:F:\programas\Oracle\jdeveloper\j2ee\home\application-deployments\Workspace4-WSWrappers-WS\WebServices\persistence\_pages\\_integrate2.java
    Note: sun.tools.javac.Main has been deprecated.
    F:\programas\Oracle\jdeveloper\j2ee\home\application-deployments\Workspace4-WSWrappers-WS\WebServices\persistence\_pages\_integrate2.java:6: Class webservices.Integrator not found in import.
    import webservices.Integrator;
    ^
    1 error, 1 warning
    This error does not happen when using the embedded OC4J server, only when deploying to the standalone. Since leaving JDeveloper up all times to use de app is not an option :) I really would appreciate any help towards solving this matter. I suspect it has to do with deployment options and whatnot, but I can't find anything wrong. Of course, I'm fairly new to this (jsp/OC4J), so it can be an obvious mistake right under my nose.
    thanks
    Javier

    Fixed. The problem was my Standalone OC4J was not properly installed, AND I was doin the deplyment wrong. Now it works by creating a war file, deploying to the war file and THEN deploying to the OC4J Standalone connection.
    So, if you start seeing "import not found" when deploying to standalone and it works on the embedded, check you war files to see if they REALLY are packing the classes they are supposed to carry.

Maybe you are looking for

  • How do I create a digital signature on a TCP or a UDP flow?

    I am trying to convert samples of a voice signal, which is intercepted from the microphone, into fixed length digital signature bytes (using Hash, or) and attach these fixed length bytes to a communication session between two terminals (UDP or TCP "H

  • Footer at the bottom in ALL browsers

    I have been "fighting" quite a while with Dreamweaver (CS4) being a beginner, to make a page that takes the whole monitor whatever the browser and the dimensions of the screen are. The major problem seems to be the footer, that in Safari is visible w

  • HTML scrollbar issue in Smartforms

    Hi, I have a requirement to generate smartform output in HTML format and send it via email to internet users. We are able to successfully generate the HTML output of smartform and send it via mail. But when smartform HTML output is displayed in the m

  • How to download acrobat X pro to another computer

    I purchased acrobat X pro a year or so ago (with 2 licenses) and i want to move it from one computer to a new one?

  • Cancel Date in Void Checks for Payment

    Ver. 2005, PL11: The cancel date (and update date) is not being set when voiding a check for payment which is associated with an outgoing payment. Likewise, the cancel date (and update date) is not being set when a check for payment is voided when ca