JDeveloper 10g - Debugging and hotswap

Hi All,
Have recently started to explore the hotswap funtionality in JDev debugging. I've created a simple application with a single EJB3 stateless session bean. Debugging from JDev works great, however when I make any source change while debuging and recompile the hotswap fails with the following error.
The debugger was unable to redefine the recompiled classes.
Unsupported operation: hierarchy change.
What does the message mean and how do I get hotswap working? I'm using the JDK supplied with JDeveloper if that makes any difference.
Cheers,
J

Thanks, but isn't this for implementing enhancements to JDeveloper only? Is it possible to use this classes in a standalone java application?

Similar Messages

  • JDeveloper 10g Look and Feel

    I want to implement a Java GUI. The standard swing components do not look, lets say, that cool. The JDeveloper 10g front end, its docking windows and tabs on the other hand look great. Does anybody know if there is a possibility to use the libraries of the JDeveloper front end to have a similar look and feel.

    Thanks, but isn't this for implementing enhancements to JDeveloper only? Is it possible to use this classes in a standalone java application?

  • Getting HTTP 500 Internal Server Error in JDeveloper 10g Release 3

    Hello,
    I had run a web page of JSF a month ago with no issues from the server. Now however whnever I try running any page from the IDE, I keep getting following message in the log:
    [i]Mar 1, 2008 10:06:25 AM com.evermind.server.ApplicationStateRunning initConnector
    SEVERE: Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
         at com.evermind.server.Application.setConfig(Application.java:391)
         at com.evermind.server.Application.setConfig(Application.java:309)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
         at com.evermind.server.OC4JRestarter.run(OC4JRestarter.java:35)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
         at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
         ... 11 more
    Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
         at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
         ... 13 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.mysql.jdbc.Driver
         Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
         Loader: oc4j:10.1.3
         Code-Source: /C:/Program Files/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\Program Files\j2ee\home\oc4j.jar
    This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
         ... 15 more
    08/03/01 10:06:25 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Mar 1, 2008 10:06:25 AM com.evermind.server.Application setConfig
    WARNING: Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    2008-03-01 10:06:25.109 WARNING J2EE 0JR0013 Exception initializing deployed application: current-workspace-app. Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 22578 ms.
    Target URL -- http://192.168.1.2:8989/AVTproject-ViewController-context-root/faces/HomeLogin.jspx
    [Another instance of the server is still running.  JDeveloper will shut it down and then restart the server.]
    Process exited.
    **** Server startup cancelled by the user.
    I finally deleted the MYSQL Database connection to the application. Still it doesnt work. Please help me as I really cant track why this is so.

    Hello,
    Thank You very much for the solution. I had uninstalled the previous JDeveloper 10g installation and installed a new instance of the same. After which it worked without much of a problem.
    However, my application requires to use MySQL database, so how do I tackle such an error. What was wrong with the connection? I mean MySQL instance seemed to work fine. Is there any version with which JDeveloper can work? Right now am using MySQL 5.0.? Please do advise.

  • Help on Debug Mode in Oracle JDeveloper 10g/OC4J

    Hi All,
         Presently I am using Oracle JDeveloper 10g Early Access version
              ADF Business Components     10.1.3.34.12
              Java™ Platform          1.5.0_05
              Oracle IDE               10.1.3.34.12
              PMD               JDeveloper Extension 1.7
              and OC4J.
    I want to debug all the Java files between request submission and getting response from the server in j2ee application. This we can do in eclipse ide by putting break points where ever we require and running the server in debugging mode. But I don't know how this can be done in JDeveloper/OC4J. Please can any one of you guide me, if you are aware of it. Thanks in advance.
    -immu

    If you mean remote debugging the application on a stand alone OC4J then here is a basic how-to:
    http://blogs.oracle.com/shay/2005/10/24#a55
    This is also covered in the online help.

  • JDeveloper 10g and JDK 1.1

    We are developing using PersonalJava and JDeveloper 10g (for a PDA). To get going, we installed JDK 1.1.8 and set that to be the J2SE for the project. Here is the problem: Everything compiles OK (using ojvc) and runs OK, but I can't debug because JDev tries to use the JPDA API, which of course did not exist in JDK 1.1. Any way around this?

    The JPDA is also available as a separate distribution.
    http://java.sun.com/products/jpda/
    SDK 1.2.2 or later is required.

  • JDeveloper 10g and Table Viewer

    For JDeveloper 10g, after creating a connection under the database node, right-clicking on a synonym or table does not provide a Table Viewer option in the popup menu. Additionally, double-clicking the synonym or table does not open the table viewer, "No Structure" is displayed in the structure window. However, when creating the same connection in JDeveloper 9i I am able to view the table structure... so the problem doesn't appear to be database rights. Is there some configuration setting in JDeveloper 10g that I have overlooked?

    What version of the database are you using?
    In JDeveloper 10g, you won't see "Table Viewer" on the context menu (you should just see "Open" instead). However, you should definitely be able to see the structure when the table is selected, and you should see the table viewer when double-clicking on the table.
    Also, can you check in the console window (run jdev.exe to see the console window) to see if there are any exceptions being thrown?
    -- Brian

  • How to develop and Run .jsp page from Jdeveloper 10g

    Dear All,
    I need to develop one small JSP page using Jdeveloper10g. pls share information How to develop and Run .jsp page from Jdeveloper 10g.
    Thanks in Advance,
    Hanimi.

    Hi Gyan,
    Any Idea how to get DB connection for JSP Pages.
    Our Java guys developed one JSP page for Login page.
    After Log in instead of standard responsibilites page we calling custom jsp page, For getting DB connection they defined one properties file and hard coded DB details on that file and calling, but client is not accepting hard coding.
    Pls give any idea for getting DB connection directly in JSP pages.
    Hanimi.

  • Jdeveloper 10g and DHTML

    Hello,
    Does Jdeveloper 10g (or even forthcoming 11g) support DHTML? If so which version?
    Thanks,
    Ruchir

    Hi,
    from http://www.w3schools.com/dhtml/dhtml_intro.asp
    "DHTML is NOT a W3C Standard. DHTML stands for Dynamic HTML. DHTML is not a standard defined by the World Wide Web Consortium (W3C). DHTML is a "marketing term" - used by Netscape and Microsoft to describe the new technologies the 4.x generation browsers would support.DHTML is a combination of technologies used to create dynamic Web sites. To most people DHTML means a combination of HTML 4.0, Style Sheets and JavaScript. "
    This said, there is no version to DHTML but only to its subcomponents. Here JDeveloper supports all the latest version of HTML, CSS and JavaScript (1.5). In JDeveloper 11 you find a JavaScript editor that rounds up our offering.
    Beyond this our ADF Faces Components are built on top of DHTML for those who don't want to hand code DHTML
    Frank

  • Jdeveloper 10g and MySQL

    Have any one try to connect to MySQL using Jdeveloper 10g?
    Any pointers?
    Thanks

    I have a mysql connection and everything works good. I have the "SQL flavor" set to SQL92 and the "Type" to Java. I can create business components from the connection and test them. "SELECTS" work fine, but if I try to update or insert, I get an error stating that "Callable Statements not supported". Why on earth would it try and use a "CallableStatement" for INSERT and UPDATE statements??
    Here is the full trace:
    oracle.jbo.SQLStmtException: JBO-27123: SQL error during call statement preparation. Statement: UPDATE tax Tax SET tax=? WHERE TAX_ID=?
         at oracle.jbo.server.DBTransactionImpl.createCallableStatement(DBTransactionImpl.java:2725)
         at oracle.jbo.server.DBTransactionImpl2.createCallableStatement(DBTransactionImpl2.java:407)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntityDML(BaseSQLBuilderImpl.java:248)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:4592)
    ## Detail 0 ##
    java.sql.SQLException: Callable statments not supported.
         at com.mysql.jdbc.Connection.prepareCall(Connection.java:1201)
         at oracle.jbo.server.DBTransactionImpl.createCallableStatement(DBTransactionImpl.java:2690)
    Any help would be appreciated.
    Thanks.

  • About how to build dynamic maps using jdeveloper 10g and mapviewer

    i follow the guidance (about how to build dynamic maps using jdeveloper 10g and oracle application server mapviewer) to write a jsp file,but error take palce ,i get information "Project: D:\jdev1012\jdev\mywork\WebMap\ViewController\ViewController.jpr
    D:\jdev1012\jdev\mywork\WebMap\ViewController\public_html\WebMap.jsp
    Error(12,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,190): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,102): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,28): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(12,40): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(13,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,198): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,106): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(14,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,188): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,101): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(15,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,200): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,107): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found"
    can you help?
    greetings

    I found a lot of information in document 133682.1 on metalink.
    step by step example how to deploy a JSP business component application.

  • JDeveloper 10g and ClearCase

    I tried to configure JDeveloper 10g to use the ClearCase versioning tool and received the following message:
    Warning: A supported ClearCase version has not been detected in your system environment path.
    I checked the PATH env and ClearCase is there.
    The JDev Help docs state that ClearCase 2002/4.0 is supported. Our Rational suite is 2003.
    I'd like to know if the final release of JDev 10g will support the 2003 version. This is critical, we are planning to upgrade to JDev10g to take advantage of new features and we are not able to use Rational 2002 anymore, mainly because Rational now only supports the 2003 suite.
    We'd like to know what's planned for 10g regarding this issue.
    Thanks a lot !
    Juarez Junior
    System Analyst - SCPJ2/SCWCD/SCBCD
    Unisys Global Outsourcing

    Brian - you are right. I was able to create a workarea inside a ClearCase view, and immediately JDeveloper began offering an option to add objects to version control. I still get the "Warning" every time I start up JDeveloper, and that is annoying, but it is only a warning and everything works anyway.
    Thank you.

  • SourceForge SSH CVS on JDeveloper 10g and MacOS

    Hi there,
    I am trying to use last versión of JDeveloper 10g to import a project into SourceForge (needs SSH CVS). I can't make it connect neither with :ext: or internal JDev's SSH2:CVS. CVS command in my Mac bash shell works (I am using MacOS X as OS)
    Any help / directions?
    thanks,
    Ignacio

    Hi Geoff,
    thanks a lot for your reply.
    when testing the connection I'm just getting:
    Testing connection...
    Connection test failed: unable to connect.
    I've tried :ext: and internal SSH, but it is not working. (It anyway makes some connection when accessing SourceForge's shell server in place of cvs server, but can't import anything, obviously)
    I've imported my sources using SSH de sources with shell, but want to use JDeveloper integrated CVS.
    Are you using Windows or MacOS?
    Thanks again,
    Ignacio

  • Integrate JDeveloper 10g and StarTeam

    Hello, my friends
    How do I integrate JDeveloper 10g (10.1.2 and 10.1.3) with StarTeam 2005.
    Thanks you!

    You can build a simple command line interaction using the external tools menu option.
    See this how-to:
    http://www.oracle.com/technology/products/jdev/101/howtos/extools/subversion.html

  • JDeveloper 10g and Struts Page Flow

    Hello,
    First of all, I'd like to congratulate JDev Team for providing us with this amazing new tool.
    I am evaluating JDeveloper 10g and its Struts/Tiles integration, since we are now selecting the IDE to be used by our company in its projects.
    I noted the following: In Struts Page Flow, the component pallete does not have a component do represent a Tiles definition.
    I'd like to know if there are plans to include such a component, considering that this is crucial to our projects.
    If not, could you please provide us with directions to do so ?
    I am looking forward to your reply.
    Thanks a lot !
    Juarez Junior
    SCPJ2/SCWCD/SCBCD
    Unisys Global Outsourcing

    Juarez,
    You are quite correct that the visual Struts modeling does not support tiles yet. Rest assured that it's on the list of features we're working on.
    What that means is that you're not going to visualise the links / submits from the tiles themselves.
    However, the tiles taglib is available in the visual JSP editor so you should have no problem creating tiles content.
    Likewise you can create the relevant plug-in entries for tiles by right clicking on the Struts Config node in the Structure Pane (when the struts-config or the diagram is selected) and from the new menu you'll see plug-in.
    The final option is of course to edit the XML directy should you want to.

  • Integration (JDeveloper 10G and SCM 9i)

    I am new working with JDeveloper and SCM.
    Is it possible to integrate JDeveloper 10G to SCM 9i, or should I use the same version for both products, in order to reduce future problems?
    Now I am having some problems, for example:
    1) I can not move a business component from a package to another. Both packages are checked out. The BC4J is checked out, too.
    2) When I try to add a new JSP to the struts file from the graphic view, I have to check out both files the strust,xml and StrutsPageFlow.oxd_struts.
    3) When I delete a file it is not deleted in the repository.
    Are these problems related to the version, or should I install something else?
    Thanks for your help.
    I am including this question in the SCM forum, too

    AFAIK support for Oracle SCM is not yet implemented in JDeveloper 10g. Oracle promises to publish it on Extension Exchange (http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/index.html) as soon as it will be available. I don't expect it released anytime soon :-(
    Last version of JDeveloper in which I saw that working was 9.0.3.3. Since then it's been worse and worse.
    Regards Jan

Maybe you are looking for