Jdeveloper jar communication

hi!
Problem: I have created a main application using swing that class extends JFrame. This main application consists of two parts. One left side panel and one right side panel. Left side panel contains JTree component. Each item in that tree refers to a class file located in a separate jar file.i.e that acts as a separate application. If we are executing separately that jar file class, I am able to see that small application running. If I am selecting an item in JTree during runtime, I should place that small application from the respective jar file in the right side panel of the main application. I can locate the jar file and even I can create object to that particular class file. But I cannot execute the application even separately and also not able to place in the right side panel of the main application.
with regards
s.senthilkumar

Hi,
I don't understan dthe problem from how you describe it. Jar files are a place to store Java classes. It doesn't make a difference if all classes are part of one or many jar files as long as they are available in teh application class path.
Object instaces can be passsed from one panel in Swing to another using either a method or a constructor.
Frank

Similar Messages

  • Class to jar communication at run time

    Hi,
    I am developing a application using jdk 1.4 and have following query:
    I have an application that displays some information in various languages (according to the language selected), i.e english, french, german etc. Say I select english, the application will display "Hello World" in English language and so on for other languages..
    So my app is divided into three parts:
    1) Core application : displaying information
    2) XML file: Containing list of languages in XML format. This XML File can be updated for adding new languages. The format of XML file is somewhat as
    <LANGUAGE_NAME>___</LANGUAGE_NAME>
    <CLASS_LANG>____</CLASS_LANG>
    3) A seprate JAR file :Having set of classes corresponding to each language. The JAR file should be such that we can add classes for new languages added.
    The Workflow of app is as follows:
    When ever we run the application, the application reads the list of languages from the XML file and populats the list in a drop-down list box. Now, upon clicking a "GO" button, the application checks the language selected and calls the JAR will. It sends the class name corresponding to the language selected. And the class should return the information back to the application.
    Now, this process should be dynamic, i.e user can update XML with new language and update the JAR file with new class name.
    And upon just re-running the application, the application should be able to use features of new language.
    Consider that we have already shipped the application. All we have to do is to send updated JAR file to the user. and ask him to update the XML file for new language. i.e no changes to be done at application. And application should communicate with update JAR files at the end user.
    Now I have following queries:
    1) Is the above process possible? If yes, then
    2) How to communicate my application with the new class files in JAR file. i.e how to communicate my class with the UPDATED class in JAR file. Any prototype code to achieve this functionality would be of great help. Remember all this need to happen at run time.
    I hope my question is clear. Feel free to ask any queries.
    Thanks,
    rdh

    Java has a mechanism to cope with this - though it is not XML-based:
    java.util.ResourceBundle
    I would store the required resource (a property file or the XML or a jar) separately.

  • Jdeveloper dependency on ANT script for .JAR file for ADF Application

    Hi all,
    We need to create a .jar file for an ADF project consist of Model & viewcontroller. We are able to create jar file with help OjDeploy in my ANT script.
    My query: Ojdeploy uses internally jdeveloper home to complete the task. After going through the generated script, we came to know about below two references:
    1.     oracle.jdeveloper.ant.library = ${jdeveloperHome}\\ jdeveloper\\jdev\\/lib/ant-jdeveloper.jar
    2.     oracle.jdeveloper.ojdeploy.path = ${jdeveloperHome}\\jdeveloper\\jdev\\bin\\ojdeploy.exe
    Is there any way to remove above dependencies so that we can create .jar file without installing Jdeveloper on a machine ?
    regards,
    Mohit

    ojdeploy requires a JDeveloper installation.
    Without going into the debate as to whether this is "good" or not, that's the way it works, I personally don't have a problem with installing JDeveloper on a build box (after all, you do have to install other software on the build box, too).
    If you don't want to install JDeveloper, you can hand-roll your own ANT scripts which is good for racking up the billable hours, but not so good at maintainability.

  • Missing jdeveloper.hs file for local documentation.

    I am trying to add the local documentation for JDeveloper. I have downloaded and unzipped the jdev9i_902_doc.zip file. However, I don't see a jdeveloper.hs file in the distribution.
    Adding Local Documentation to a Base Installation
    To install the documentation set, download jdev9i_902_doc.zip from http://otn.oracle.com/products/jdev. You can install it into JDeveloper directly without any configuration by extracting the files into <jdeveloper_root>.
    If you install the documentation into any other location locally, you will need to configure it.
    1. In the Tools menu and choose Preferences.
    2. In the preferences tree navigate to Documentation.
    3. Select the Use Local Documentation radio button.
    4. Set the full path to the jdeveloper.hs file.
    I can perform steps 1-3 just find, but where is the jdeveloper.hs file? It did not come as part of the jdev9i_902.zip file. If I use my /usr/local/jdeveloper/jdev/doc as the path, then I get no documentation when I select Help. Any ideas about the jdeveloper.hs file?

    Craig,
    The Install Guide for 9.0.2 was slightly misleading, the jdeveloper.hs file can be found inside the jdeveloper.jar. If you set your path to be /usr/local/jdeveloper/jdev/doc/ohj, then the Help should now work.
    The steps have been updated in 9.0.3 to make it a little clearer.
    Hope that helps,
    Lisa

  • Problem of packing Jar file in Eclipse

    Hello,
    Thanks for looking my post first :D
    My problem is:
    While I run my program in eclipse, it is fine, but after I pack the whole project to a jar file, the interface is running, but the connection function.
    My program is using my computer to connect a GSM device via bluetooth, the GSM device needs an java API (comm.jar, communication API) with an external driver named *.dll. It means not only the jar file need to be imported to eclipse, but also the *.dll file need to be placed in the java path: Java\jre1.5.0_08\bin\*.dll. And also another file called "javax.comm.properties" needs to be placed in Java\jre1.5.0_08\lib\.
    I think the problem of my jar might be these two files not included in the classpath after exported.
    Does anyone could tell me is there any way to put these two files into the classpath after export? Or what kind of problem am I face actually?
    Thanks very much for help!

    The description is rather confusing.
    What computer exactly are you trying to run this stuff on (it doesn't matter what the software does)?
    A shared library normally msut exist in such a way that the OS can find it and it has to be shared library that is meaningful to the OS (a HP shared library is not going to work on a windows box.)
    There is no such thing as the "java path".
    For windows normally dlls will go in the runtime directory of the application. Windows will find it there. If you want to adjust the path then the path is under control panel -> system.

  • How to solve the error while  Deploy a BC4J JSP Application using tomcat,

    hello,
    how to avoid the following error?
    i am using jdevloper for devloping jsp applications.
    after that i am calling the jsp page using tomcat4.0 ,i followed the steps according docs by jdev team,
    i am getting the following error how to solve this,
    can one help?
    =============================
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.compiler.CompileException: /AccountView_Browse.jsp(4,0) Unable to load class oracle.jbo.html.jsp.datatags.ApplicationModuleTag
    at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:139)
    at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:829)
    at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:153)
    at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:1039)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:221)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:216)
    at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:852)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    ====================
    thanks
    pullareddy

    I had very similar problems with adding the correct JDeveloper .jar files to Tomcat's lib folder, but did eventually resolve my issues.
    The problem I am having now, however, is the following error message:
    Error Message: oracle.jbo.html.RequestParameters.addParameter(Ljava/lang/String;Ljava/lang/String;)V
    Yes, I have deployed the bc4jhtml.jar file from JDeveloper to Tomcat\common\lib!
    My web-app is a very simple BC4J JSP application. I have one BC4J component in its own project and JAR file, and one JSP referencing that BC4J component - I deploy the BC4J JAR along with the WAR file from the JSP project. Needless to say, the JSP works fine within JDeveloper..!
    I'm using JDev 9.0.3 and Tomcat 4.1.12. Does anyone have any suggestions?
    Thanks,
    S.

  • Classpath in ojdpeloy

    currently i have a project and for which I use ant (which in turn uses ojdeploy tool) to compile and deploy like below
    <target name="compileAll">
    <exec dir = "${jdevDir}/bin" executable = "./ojdeploy">
    <arg value = "-workspace"/>
    <arg value = "${workspacePath}"/>
    <arg value = "-project"/>
    <arg value = "${Tag1}Pojo"/>
    <arg value = "-profile"/>
    <arg value = "${Tag}Pojo"/>
    </exec>
    While running its throwing some (org.apache.log4j.Category not found) error.
    I want to add the respective jars to the ant build but ojdeploy, IMHO does not accept classpath
    How do I move forward in this scenario.. please help
    Thanks
    Edited by: 902558 on Dec 22, 2011 12:52 AM

    yes I tried that too...
    <target name="deploy1" description="Deploy JDeveloper profiles">
    <taskdef name="ojdeploy" classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask" uri="oraclelib:OJDeployAntTask"
    classpath="${jdevHome}/jdeveloper/jdev/lib/ant-jdeveloper.jar:${jdevHome}/modules/com.bea.core.apache.log4j_1.2.13.jar"/>
    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask" executable="${jdevDir}/bin/ojdeploy" ora:buildscript="/tmp/ojdeploy-build.xml" ora:statuslog="/tmp/ojdeploy-statuslog.xml">
    <ora:deploy>
    <ora:parameter name="workspace" value="${workspacePath}"/>
    <ora:parameter name="project" value="${pluginTag1}Pojo"/>
    <ora:parameter name="profile" value="${pluginTag}Pojo"/>
    </ora:deploy>
    </ora:ojdeploy>
    </target>
    But even after adding the jar in the classpath as above
    classpath="${jdevHome}/jdeveloper/jdev/lib/ant-jdeveloper.jar:${jdevHome}/modules/com.bea.core.apache.log4j_1.2.13.jar"
    am still getting org.apache.log4j.Category not found (its there in the com.bea.core.apache.log4j_1.2.13.jar )
    Please let me know whether am missing something

  • Maven support in 11.1.1.2 / repository question

    Oracle team,
    Great job on 11.1.1.2, nice to see the developer preview of Maven support. I am still in the process of downloading it; while it's coming down, I thought I'd post a question..
    I really like Maven, and I'd like to use it for ADF projects. With what looks like nice basic Maven support in JDev, there is only one thing that holds me back at the moment, and that is having the Oracle ADF libraries in a repository. Yes, it's quite easy for me to put them in my own repository, and that is something I'd like to move forward with. However, in order to make that process more resilient, it would be nice if Oracle published a recommended structure for the artifact names; in that way, I could be more or less sure that I won't have to re-do everything in the future. I've even considered (if Oracle does publish a recommended taxonomy) writing an extension that would snarf all of the JDeveloper library definitions and publish them to a repository, and furthermore to change the local library definitions to point to my local Maven copy.
    Thoughts on this?
    John

    Muhammed,
    I'm not clear on your question, but here is an example. We have a project that uses ADF BC4J.
    Here is a example of a dependency specification from the project pom:
    <dependency>
    <groupId>com.oracle.jdeveloper.library</groupId>
    <artifactId>BC4J_Runtime</artifactId>
    <version>${jdev.release}</version>
    <type>pom</type>
    <exclusions>
    <exclusion>
    <groupId>com.oracle.jdeveloper.jars.lib</groupId>
    <artifactId>xmlparserv2</artifactId>
    </exclusion>
    <exclusion>
    <groupId>com.oracle.jdeveloper.jars.lib</groupId>
    <artifactId>xml</artifactId>
    </exclusion>
    <exclusion>
    <groupId>com.oracle.jdeveloper.jars.jlib</groupId>
    <artifactId>oracle-el</artifactId>
    </exclusion>
    <exclusion>
    <groupId>com.oracle.jdeveloper.jars.jlib</groupId>
    <artifactId>jsp-el-api</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>com.oracle.jdeveloper.library</groupId>
    <artifactId>BC4J_Oracle_Domains</artifactId>
    <version>${jdev.release}</version>
    <type>pom</type>
    <exclusions>
    <exclusion>
    <groupId>com.oracle.jdeveloper.jars.BC4J_jlib</groupId>
    <artifactId>bc4jdatum</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>com.oracle.jdeveloper.library</groupId>
    <artifactId>ADF_Model_Runtime</artifactId>
    <version>${jdev.release}</version>
    <type>pom</type>
    </dependency>
    And here is a fragment from the mvn dependency:tree command:
    [INFO] +- com.oracle.jdeveloper.library:BC4J_Runtime:pom:10.1.3.4.0:compile
    [INFO] | +- com.oracle.jdeveloper.jars.BC4J_lib:adfshare:jar:10.1.3.4.0:compile
    [INFO] | +- com.oracle.jdeveloper.jars.BC4J_lib:bc4jmt:jar:10.1.3.4.0:compile
    [INFO] | +- com.oracle.jdeveloper.jars.BC4J_lib:collections:jar:10.1.3.4.0:compile
    [INFO] | +- com.oracle.jdeveloper.jars.BC4J_lib:bc4jct:jar:10.1.3.4.0:compile
    [INFO] | +- com.oracle.jdeveloper.jars.jlib:jdev-cm:jar:10.1.3.4.0:compile
    [INFO] | +- com.oracle.jdeveloper.jars.jlib:ojmisc:jar:10.1.3.4.0:compile
    [INFO] | \- com.oracle.jdeveloper.jars.jlib:commons-el:jar:10.1.3.4.0:compile
    [INFO] +- com.oracle.jdeveloper.library:BC4J_Oracle_Domains:pom:10.1.3.4.0:compile
    [INFO] | \- com.oracle.jdeveloper.jars.BC4J_lib:bc4jdomorcl:jar:10.1.3.4.0:compile
    [INFO] +- com.oracle.jdeveloper.library:ADF_Model_Runtime:pom:10.1.3.4.0:compile
    [INFO] | +- com.oracle.jdeveloper.jars.BC4J_lib:adfm:jar:10.1.3.4.0:compile
    [INFO] | +- com.oracle.jdeveloper.jars.BC4J_jlib:adfui:jar:10.1.3.4.0:compile
    [INFO] | \- com.oracle.jdeveloper.jars.BC4J_lib:adfbinding:jar:10.1.3.4.0:compile
    Note that the top level is a pom that relates to a JDeveloper Library, which is then composed of JARs. The intention was to maintain as close to a one to one mapping between the JDeveloper definitions and the maven artifacts. So, JDeveloper Libraries become maven poms.

  • Help !! Can not start jms demo(JMS-Chat)

    I installed OC4J, and run messagelogger.ear is OK, whne I'm running the jms demo(JMS-Chat) I got the error like below:
    D:\j2ee\home\demo\jms>java -Djava.naming.security.credentials=password -jar jmschat.jar
    Communication error: Unable to connect to JMSServer (localhost/127.0.0.1:9127):
    No username specified
    and the J2EE server window print out following error:
    java.lang.NullPointerException
    at com.evermind.server.jms.JMSServer.removeClient(JMSServer.java:712)
    at com.evermind.server.jms.JMSRequestHandler.run(JMSRequestHandler.java:278)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    -Thanks

    I have the same problem, and the jndi.properties containts all
    the properties required.
    java.naming.factory.initial=com.evermind.server.ApplicationClient
    InitialContextFactory
    java.naming.provider.url=ormi://localhost:23791/
    java.naming.security.principal=admin
    java.naming.security.credentials=manager
    The error message is:
    Exception occurred: javax.jms.JMSException: Unable to connect to
    JMSServer (localhost.localdomain/127.0.0.1:9127): No username
    specified
    How can I resolve it ?
    Thanks

  • EJB Invocation from B2B CallOut

    Hi,
    I tried to invoke an Session EJB deployed in oracle app server from B2B. I compiled the callout class in java version 1.4. The home class and remote classes are addded to the classpath which is of version java 5. When i tried to test the same in B2B it mentioned the RMIInitialContextFactory class is not found. So i added the oc4jclient.jar in the ../ip/lib path and added to the classpath by making an entry in opmn.xml. When i again i tried to test, it is throwing an exception stating that
    java.lang.NoSuchMethodError: oracle.ias.opmn.optic.OpmnProcess.getAppList()Ljava/util/List;
    This class is present in optic.jar. I updated the optic.jar in ../opmn/lib with the local jdeveloper jar. Now Im getting an CalloutException because of the following error
    [Root exception is java.lang.UnsupportedClassVersionError: EJBHome (Unsupported major.minor version 49.0)]
    Please let me know whether it is possible to a invoke an EJB from java callout class in B2B?
    I got this doubt as i updated the optic.jar in B2B with the one in local Jdeveloper.
    Thanks,
    Naveen
    Edited by: [email protected] on Mar 17, 2009 2:26 AM

    Share with us exception trace for the same via email [email protected]/[email protected]
    Before that, please try with access your EJBBean by creating simple java utility- may be webapplication or standalone.
    If EJBBean possible to access means, we have to look into what went wrong. :)

  • CodeCoach bug - loads another instance of JDeveloper9i

    Hi,
    I'm getting some strange behaviour when using code coach. Basically, it's starting another instance of JDeveloper9i (so that I have 2 running concurrently) while it's "waiting for results".
    I'm running on NT4, with JDev9i 9.0.2.8.2
    I have an addin project (ProjectSettings.jpr) and have run code coach against the file ConfigProjectSettings.java. This leads to the output (see below) in the log window.
    Simultaneously another JDeveloper9i starts up and appears to stop code coach in its tracks - the msg "waiting for results" is displayed and the JDev just sits there.
    I kill the interloper JDeveloper and code coach immediately returns with its results. It even reports on errors in files that it reports don't exist (pretty neat feature!).
    Any ideas what's going on here?
    Eddie
    Target ConfigProjectSettings.java is not runnable, using default target ProjectSettingsAddin.java.
    X:\Program Files\Oracle\JDeveloper9i\jdk1.3\bin\javaw.exe -ojvm -X5codecoach -Xcc:new -Xcc:port:4422 -Xcc:level:4 -Xcc:disable:ALL -Xcc:enable:ALL -Xcc:excl:com;java;javax;sun;sunw;org;oracle -classpath X:\Program Files\Oracle\JDeveloper9i\jdev\myprojects\samples\classes;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jdev.jar;C:\ant\jakarta-ant-1.4.1\lib\ant.jar;C:\ant\jakarta-ant-1.4.1\lib\crimson.jar;C:\ant\jakarta-ant-1.4.1\lib\jaxp.jar;C:\ant\jakarta-ant-1.4.1\lib\jakarta-ant-1.4.1-optional.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\classes;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jdev.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\xmleditor.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\xmladdin.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ojc.jar;X:\Program Files\Oracle\JDeveloper9i\lib\xmlparserv2.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jgl3.1.0.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jdev-rt.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\jewt4-nls.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\jewt4.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\share.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\help4-nls.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\help4.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\inspect4-nls.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\inspect4.jar;X:\Program Files\Oracle\JDeveloper9i\vbroker4\lib\vbjorb.jar;X:\Program Files\Oracle\JDeveloper9i\javavm\lib\aurora.zip;X:\Program Files\Oracle\JDeveloper9i\jdbc\lib\classes12.jar;X:\Program Files\Oracle\JDeveloper9i\jdbc\lib\nls_charset12.jar;X:\Program Files\Oracle\JDeveloper9i\jdk\lib\tools.jar;X:\Program Files\Oracle\JDeveloper9i\jdk\lib\dt.jar;X:\Program Files\Oracle\JDeveloper9i\j2ee\home\lib\ojsp.jar;X:\Program Files\Oracle\JDeveloper9i\j2ee\home\lib\ojsputil.jar;X:\Program Files\Oracle\JDeveloper9i\jsp\lib\ojspicons.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\oracle_ice5.jar;X:\Program Files\Oracle\JDeveloper9i\sqlj\lib\translator.jar;X:\Program Files\Oracle\JDeveloper9i\sqlj\lib\runtime12.jar;X:\Program Files\Oracle\JDeveloper9i\lib\servlet.jar;X:\Program Files\Oracle\JDeveloper9i\lib\mts.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\regexp.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\xml-javadoc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\web_services.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\using_webdav.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\using_source_control.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\uix_devguide_ohj.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\uixref.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\uix2-javadoc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\tutorials.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\soapjavadoc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\share-doc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\servlet-2_3-docs.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\prog_and_admin_db.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\packaging_deploying.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\overview.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\ohguide.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\jewt-public-doc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\jdk13doc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\jdeveloper_modeling.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\jdeveloper.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\jdev-scm-doc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\jdev-doc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\jdbc-javadoc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\getting_started.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\f1_web_services.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\f1_using_webdav.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\f1_using_source_control.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\f1_packaging_deploying.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\f1_jdeveloper_modeling.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\f1_compiling_debugging.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\f1_bc.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\extending_jdev.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\developing_javabeans.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\developing_gui_clients.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\developing_ejb.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\developing_bc_projects.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\dacf-doc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\creating_html_clients.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\compiling_debugging.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\codecoach_profiler.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\bc4jjavadoc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\bc4jim-doc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\bc4jdomorcldoc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\doc\ohj\bc4jdomgnrcdoc.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\xml4j.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\velocity-dep-1.2.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\toolmanager.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\templatemaker.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\SqlIo.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\SampleTwo.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\SampleThree.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\library_jar.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\junit.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\jdwebdav.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\JDevelopperJunit.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\fsbrowser.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\doclinks.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\DirDiffs.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\dav4j.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\console.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\autobrace.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\antman.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\AllSamples.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\AddinUtils.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ext\AddinTools.jar;X:\Program Files\Oracle\JDeveloper9i\soap\lib\soap.jar;X:\Program Files\Oracle\JDeveloper9i\j2ee\home\lib\http_client.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\jssl-1_2.jar;X:\Program Files\Oracle\JDeveloper9i\j2ee\home\oc4j.jar;X:\Program Files\Oracle\JDeveloper9i\lib\xmlcomp.jar;X:\Program Files\Oracle\JDeveloper9i\forms90\java\f90all.jar;X:\Program Files\Junit\junit3.7\junit\junit.jar;C:\velocity\velocity-1.3-rc1\velocity-1.3-rc1.jar;X:\Program Files\Oracle\JDeveloper9i\lib\ext\SampleThree.jar;C:\NetComponents-1.3.8a\NetComponents.jar;X:\Program Files\Oracle\JDeveloper9i\classes;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\bc4jdt.jar;X:\Program Files\Oracle\JDeveloper9i\BC4J\lib\bc4jmt.jar;X:\Program Files\Oracle\JDeveloper9i\BC4J\jlib\bc4jmtvb.jar;X:\Program Files\Oracle\JDeveloper9i\BC4J\jlib\bc4jtester.jar;X:\Program Files\Oracle\JDeveloper9i\BC4J\lib\bc4jct.jar;X:\Program Files\Oracle\JDeveloper9i\BC4J\lib\bc4jdomorcl.jar;X:\Program Files\Oracle\JDeveloper9i\BC4J\lib\collections.jar;X:\Program Files\Oracle\JDeveloper9i\BC4J\lib\bc4jhtml.jar;X:\Program Files\Oracle\JDeveloper9i\BC4J\jlib\bc4jui.jar;X:\Program Files\Oracle\JDeveloper9i\BC4J\jlib\dacf.zip;X:\Program Files\Oracle\JDeveloper9i\jdev\infobus\lib\infobus.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\LW_PfjBean.jar;X:\Program Files\Oracle\JDeveloper9i\BC4J\lib\datatags.jar;X:\Program Files\Oracle\JDeveloper9i\BC4J\lib\uixtags.jar;X:\Program Files\Oracle\JDeveloper9i\BC4J\lib\bc4juixtags.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\sax2.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\uixdev2.jar;X:\Program Files\Oracle\JDeveloper9i\jlib\uix2.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\uixaddin.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\batik-awt-util.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\batik-dom.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\batik-ext.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\batik-svggen.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\batik-transcoder.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\batik-util.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\batik-xml.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jr_cws.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jr_dep.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jr_ia.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jr_diff.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jr_vhv.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jr_jol.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jr_cmd.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jr_file.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\dav4j.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\xml4j.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\modelers.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\ebiadapters.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jdscm.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jdwebdav.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jdebi.jar;X:\Program Files\Oracle\JDeveloper9i\jdev\lib\jdukshare.jar -DAntMan.JDevHome=X:/Program Files/JDeveloper9i -Xverify:none -Xmx512M -Dsun.java2d.noddraw=true -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORB -Dice.browser.forcegc=false -Dcom.apple.macos.useScreenMenuBar=true -Dreserved_filenames=con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout$ -Djava.library.path=D:\ORACLE\ora9i\bin oracle.ideimpl.IdeMain
    java.lang.NoClassDefFoundError: borland/jbuilder/addin/VersionedAddin
         java.lang.Class java.lang.ClassLoader.defineClass0(java.lang.String, byte[], int, int, java.security.ProtectionDomain)native code
         java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain)
              ClassLoader.java:486
         java.lang.Class java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource)
              SecureClassLoader.java:111
         java.lang.Class java.net.URLClassLoader.defineClass(java.lang.String, sun.misc.Resource)
              URLClassLoader.java:248
         java.lang.Class java.net.URLClassLoader.access$100(java.net.URLClassLoader, java.lang.String, sun.misc.Resource)
              URLClassLoader.java:56
         java.lang.Object java.net.URLClassLoader$1.run()
              URLClassLoader.java:195
         java.lang.Object java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction, java.security.AccessControlContext)
              native code
         java.lang.Class java.net.URLClassLoader.findClass(java.lang.String)
              URLClassLoader.java:188
         java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
              ClassLoader.java:297
         java.lang.Class sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean)
              Launcher.java:286
         java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)
              ClassLoader.java:253
         java.lang.Class java.lang.ClassLoader.loadClassInternal(java.lang.String)
              ClassLoader.java:313
         java.lang.Class java.lang.Class.forName0(java.lang.String, boolean, java.lang.ClassLoader)
              native code
         java.lang.Class java.lang.Class.forName(java.lang.String)
              Class.java:120
         boolean oracle.ide.AddinManager._registerAddin(java.lang.String, boolean)
              AddinManager.java:536
         void oracle.ide.AddinManager.initAddins(java.util.Properties, java.lang.String, boolean)
              AddinManager.java:715
         void oracle.ide.AddinManager.initAddins(java.util.Properties, boolean)
              AddinManager.java:694
         void oracle.ide.AddinManager.initProductAndUserAddins()
              AddinManager.java:287
         void oracle.ide.Ide.initProductAndUserAddins()
              Ide.java:1147
         void oracle.ide.Ide.startupImpl(oracle.ide.IdeArgs)
              Ide.java:1839
         void oracle.ide.Ide.startup(oracle.ide.IdeArgs)
              Ide.java:1544
         void oracle.ideimpl.IdeMain.main(java.lang.String[])
              IdeMain.java:33

    Liz,
    Thanks for your quick response.
    Re: 'interloper' JDeveloper - I really should RTFM more often. Apologies.
    Re: ClassNotFoundException (borland.jbuilder.addin.VersionedAddin) - I'm actually running one of the Extension Exchange samples, so it would appear the dependency is either within that code (I've had quick look at the inports/extends but can see nothing Borland) or within the IDE itself.
    Cheers,
    Eddie.
    Ps - is there a way to print out the code coach diagnostics? In TogetherSoft they can be saved as text/html, etc, which is pretty useful.
    Eddie,
    Target ConfigProjectSettings.java is not runnable, using default target ProjectSettingsAddin.java.Your file ConfigProjectSettings.java is not runnable. This means that JDeveloper does not know how to run it because it is not an application (an application has a main method), it is not a servlet, it is not a JSP, it is not an Addin, etc.
    Because ConfigProjectSettings.java is not runnable, JDeveloper will use the target ProjectSettingsAddin.java because this has been set as the Default Run Target in your project. To change this, go to Project Settings dialog, on the Runner panel.
    When you run/debug/profile/codecoach a project where the target of the project is an Addin, JDeveloper automatically starts up another instance of JDeveloper so you can run/debug/profile/codecoach your addin.
    This is similar to how JDeveloper automatically starts OC4J when you run/debug/profile/codecoach a project where the target of the project is a JSP, servlet, or EJB.
    So, the "interloper" JDeveloper is not an interloper really, it is supposed to be there.
    One thing to be aware of... When JDeveloper starts up the second instance of JDeveloper it uses the Project's Run Directory (specified in Project Settings dialog, on the Runner Panel) as the user home directory for second instance of JDeveloper.
    As when you are codecoaching any project, codecoach reports the results when the program being codecoached exits. So, when you close the "interloper" JDeveloper, codecoach reports the results.
    java.lang.NoClassDefFoundError: borland/jbuilder/addin/VersionedAddin Some addin (possibly the addin that you are writing) is using (or extending or implementing) borland.jbuilder.addin.VersionedAddin. I think that was the Addin interface for JDev 3.2. The Addin interface for Oracle9i JDeveloper is oracle.ide.addin.Addin. If you debug instead of codecoach, the debugger will stop at the uncaught exception and you can look in the stack window and try to figure out which addin is causing the exception.
    -Liz

  • Pointbase ClassNotfound Error (URGENT)

    Hi all,
    I have encountered error when connect my jdbc, the error as below:
    (even i have set the path and sucessfully run in startconcole)
    ERROR MESSAGE
    ---Preloaded drivers---
    No drivers listed as jdbc.drivers property.
    No drivers listed as being loaded.
    ---Loading driver---
    java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
    No drivers listed as being loaded.
    ---Making connection---
    java.sql.SQLException: No suitable driver
    Connection failed.
    Exception in thread "main" java.lang.NullPointerException
    at ShowConnect.main(ShowConnect.java:33)
    CODE
    import java.util.Properties;
    import java.util.Enumeration;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.sql.DatabaseMetaData;
    public class ShowConnect {
    private static final String DRIVER_CLASS_NAME =
    "com.pointbase.jdbc.jdbcUniversalDriver";
    private static final String DATABASE_URL =
    "jdbc:pointbase:server://localhost:9092/sun-appserv-samples";
    private static final String USERNAME = "PBPUBLIC";
    private static final String PASSWORD = "PBPUBLIC";
    public static void main(String arg[]) {
    ShowConnect showcon = new ShowConnect();
    System.out.println(" ---Preloaded drivers---");
    showcon.listPropertyDrivers();
    showcon.listLoadedDrivers();
    System.out.println(" ---Loading driver---");
    showcon.loadDriver(DRIVER_CLASS_NAME);
    showcon.listLoadedDrivers();
    System.out.println(" ---Making connection---");
    Connection connection = showcon.getConnection(
    DATABASE_URL,USERNAME,PASSWORD);
    showcon.showConnection(connection);
    try {
    connection.close();
    } catch(SQLException e) {
    System.out.println(e);
    public void listPropertyDrivers() {
    Properties properties = System.getProperties();
    String str = properties.getProperty("jdbc.drivers");
    if(str == null)
    System.out.println("No drivers listed as jdbc.drivers property.");
    else
    System.out.println("Property jdbc.drivers: " + str);
    public void listLoadedDrivers() {
    Enumeration enumeration = DriverManager.getDrivers();
    if(enumeration.hasMoreElements())
    System.out.println("The drivers listed as being loaded:");
    else
    System.out.println("No drivers listed as being loaded.");
    while(enumeration.hasMoreElements())
    System.out.println(" " + enumeration.nextElement());
    public void loadDriver(String driver) {
    try {
    Class.forName(driver);
    } catch(ClassNotFoundException e) {
    System.out.println(e);
    public Connection getConnection(String url,String user,String password) {
    try {
    Connection connection = DriverManager.getConnection(
    url,user,password);
    return(connection);
    } catch(SQLException e) {
    System.out.println(e);
    return(null);
    public void showConnection(Connection connection) {
    if(connection == null) {
    System.out.println("Connection failed.");
    return;
    System.out.println(connection);
    try {
    DatabaseMetaData meta = connection.getMetaData();
    System.out.println(" Database product name: " +
    meta.getDatabaseProductName());
    System.out.println(" Database product version: " +
    meta.getDatabaseProductVersion());
    System.out.println(" Driver name: " +
    meta.getDriverName());
    System.out.println(" Driver version: " +
    meta.getDriverVersion());
    } catch(SQLException e) {
    System.out.println(e);
    }

    I have set the path as below:
    I have no idea what wrong with the path, please advice...thanks
    set CLASSPATH=.;c:\Sun\AppServer\pointbase\lib\pbclient.jar;c:\Sun\AppServer\lib\j2ee.jar
    this my path:
    PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Adaptec Shared\System;C:\j2sdk1.4.2_09\bin;;c:\Sun\AppServer\pointbase\lib\pbclient.jar;c:\Sun\AppServer\lib\j2ee.jar;C:\Sun\AppServer\bin;C:\Program Files\SSH;c:\Sun\AppServer\pointbase\lib\pbclient.jar;c:\Sun\AppServer\lib\j2ee.jar; Communications Security\SSH Secure Shell

  • JDev web resources besides OTN & JDev team blogs?

    Gang,
    Besides OTN, the OTN forums and the Oracle JDeveloper development team blogs, has anybody found any other JDeveloper resources on the 'Net?
    I know Paul Dorsey, part author of the "Oracle JDeveloper 10g Handbook" has a website and a few presentations somewhere that was okay..... but are there any other rich sites I'm not visiting?... Or is Oracle it?
    It would be nice to know what others have found.
    Cheerio,
    CM.

    Shay, I'd like to stick my foot in (my mouth?) too with my opinion.
    (Apologies but I didn’t have a lot of time to draft this message so please ignore any typos and poor grammar)
    Let me start by saying I'm an Oracle programmer with 10 years experience, having coded using Designer, (-J)Headstart, Forms, Reports, database modelling, PLSQL everywhere you can possible stick it.... etc etc etc. I infrequently teach week courses on Forms, SQL, PLSQL etc. My point being is I'm no monkey in appreciating technology. I’m not brilliant but you can call me Mr Average Programmer – if it makes sense I’ll work out how to use it.
    I'm also on the Australian Oracle User Group committee, have been for several years, have meet and talked to several other senior consultants who have used JDeveloper who have extensive Oracle experience.
    And the general consensus is that the JDeveloper documentation is of poor quality.
    Now I’d like to substantiate my claims by giving evidence rather than just expressing an opinion. For a minor documentation bug I’ve recently raised, see TAR 4212035.995 bug 4058863. I’ve found more documentation errors, but after a while I always become worn down through the tedious TAR process, and just prey it will be improved in the next release.
    This bug, as you’d appreciate is a rather minor issue, but boy do I waste a lot of time working out how to use JDeveloper without the correct and complete documentation. I spend time having to search the OTN examples, forums etc, then posting to the Forums and Oracle Support for help. So much for “productivity” with choice.
    As another example, do a search in JDeveloper for “uixState”. Most UIX LOVs are useless without it in the partialtargets element….. but it’s another undocumented feature that I only found out about via the forums. Another, the javaType field within the UIX <invoke> tag: exactly what data types are allowed? If I’m not mistaken (I might be, I’m still learning my way around Java), “string” is not a valid Java type…. isn’t it “String”? See my confusion, and the documentation doesn’t say much at all. Does this mean if I return a “Number” I should use “number”.
    Would you like to get away from UIX documentation errors? Well try bringing up the help for the “Pooling and Scalability” tab, under the Configurations sub-menu option for an Application Module (the help page is entitled “Configuration Manager – Pooling and Scalability”). See all those “text” comments and “to be included in future release” comments. Not much use are they?
    Moving on to your question about “how-to”s we’d like to see is a relevant one. I can only talk from my personal experience, but what I’d like to see relevant to my current project is (or would have been useful in the past):
    1)     UIX lov – returning multiple fields.
    2)     UIX lov – using lovUpdate event with multiple LOVs on the screen.
    3)     UIX lov – a complete example that allows the user to “type” in a value to a <messageLovInput>, validates the entry against a database table via some exposed AM/VO method, clears and displays the LOV if the user enters an invalid value.     
    4)     UIX trees – proper discussion on setting up hierarchical VOs and associations.
    5)     UIX trees – example of programming insert and delete node functionality, with the example showing how to write the values through to the database.
    6)     UIX hgrids – example derived from database, where the user can insert/delete values through to the database.
    You’ll notice I’m focusing on the UIX technology. Simply put it’s what we’re using at my current site.
    2 other issues I’d like to point out too though. Notice the focus on LOVs? Well I’m an ex-Forms programmer who knows the power of the Forms LOV control. I’ve been confused, annoyed then resigned to the fact that you’ve got a hell of a lot to do yourself with JDeveloper LOVs, unlike Oracle Forms LOVs where so much functionality is built into the control. In return you might argue “this is JDeveloper Chris, not Oracle Forms”. You’re right of course, and I can accept that I have to learn the JDev way of doing things. But, and “big” but here, there are no detailed how-tos comparing the features of Oracle Forms LOVs and how to do the same thing in JDeveloper. And I mean complete examples.... which check values against the database, pop-up the LOV as described above list.
    So in your how-tos, try to think about what Forms programmers can do, and show how you would do it in JDeveloper. We need more than the simple examples because we’re learning your tool, we’re not experts in JDeveloper, and we can’t read your mind when you give (what I consider to be) overly simple examples where the author assumes given a little headstart that everyone else will be able to run with it. It took me ages to work out how to return multiple fields from a LOV (and my implementation probably s*cks).... call me stupid, but a complete how-to would have saved me lots of time.... and other people too (ie. Forms programmers) because I see the same questions appear on OTN again and again.
    To reiterate, think about the productive functionality Forms provides you, and provide how-tos on what to do in JDeveloper. Simple really.
    The 2nd point I’d like to make is you need to give complete examples. To give an example of a poor-example, recently Steven Muench (or was it Jones Jacob, sorry I forget) published a ‘how-to’ on his blog on populating a UIX tree. What was missing? Firstly documentation (though a promise of some in the future was given). Secondly how to allow the user to add/delete entries from the tree. Thirdly how to add/delete those entries from the underlying table. Fourthly dealing with updating the underlying iterators and web page given the users actions. And so on....
    I can hear you asking “what? You want us to do everything for you!?” No, but more complete examples would be great. Without a doubt in my opinion, the best example of this would be the “Building Oracle ADF Applications: A Comprehensive Workshop” tutorial. Obviously a lot of effort was put into that tutorial, but if all tutorials were written with this level of detail, I don’t think I’d be writing this post, the JDeveloper team wouldn’t be spending so much time answering queries on the Forums, and the Oracle Support team could spend more time doing training.
    Hear me out on my next comment – I’m not Oracle bashing! Just making a point.
    With regards your comments about writing blogs, and increasing the JDeveloper web-community, thinking about it logically I just can’t see it happening. The basic problem is you’re “Oracle Corporation” (aka the Other Microsoft). You’re not an Open Source **community** group. So people don’t have much reason to write blogs to the benefit of essentially Oracle.... unless they can make money out of it. They don’t get the kudos or just the good vibes of writing for the effort of everybody (essentially why Open Source exists – for the benefit of all – communism, power to the people, etc). This leads onto my second point. The people who work with Oracle tools, in complex-detail, besides Oracle’s own staff, are being paid far too much money working with your tools to waste time working on blogs. I’d love to write one, but time evades me and I’d rather make money out of the exercise. (I gotta feed my kids somehow - or maybe have some, either one ;)
    This puts you, the JDeveloper team in an interesting position. I know you’re really keen to get your tool used outside Oracle. Why do I think this? Basically your implementation of the Struts diagram tool and huge focus on JSF (aka ADF Faces) – I haven’t seen the other IDEs provide such functionality yet and I think you’ve tried very hard to provide these new features to beat the competition. But, unlike the Open Source efforts like Eclipse and Net Beans (etc), as I just mentioned, I don’t think you’ll ever get much support from the JDeveloper community in assisting your documentation efforts with this tool. So what have you got to do to increase market share besides great new features like the Struts diagrammer??....
    Well I hope’s it’s obvious after typing all of this......as there is little activity in the Internet regarding your product and how to use it besides OTN, and given complaints about your poor level of documentation, this means you should focus heavily on documentation in each release. Make sure it’s up to date. Make sure it’s complete. Review it all each time. Make plans for how it could be improved and expanded.... don’t just focus on the tool.
    I think I can hear you screaming “but we do you bl**dy idi*t!” But I’ll answer in turn.... the perception is you don’t, and the evidence in front of me shows you haven’t..... so my conclusion is I think valid.
    Also let me place a warning that the risk is if you don’t provide better documentation, my peer-consultants will not recommend JDeveloper. I know of 2 specifically who will have a very hard look at JDeveloper a 2nd time before recommending it to a client, because of their experience with the tool – in particular there frustration with the poor documentation. If they’re making such decisions, I bet others are too.
    With all the above in mind please note my goal of this whole post, and I know I’ve posted a lot, is not to be exceptionally critical of JDeveloper and the JDeveloper team. However I thought it was worthwhile writing a comprehensive message to the forum for you to look at... rather than the 1 or 2 liners you usually get.
    Gee, I should have started a blog and posted this entry I think.
    I’ll finish this post by saying that I’m thankful that the JDev team monitors this forum and puts in a good effort in supporting us, your clients, saving us a TAR or 2 and probably going bald.
    Regards,
    CM.
    PS. If you’d like to contact me for further information, you can find my current email address associated with the TAR mentioned above.
    Also please note the “standard disclaimer”, that none of the above is my employer’s or clients’ opinions; it is all totally of my own opinion.

  • Source code managements problems

    Hi all.
    I work for a coperation that mandates the use of a particular source code management software, MKS. They are moving to another solution soon, so it doesn't make sense to write an extension for it.
    My objective is to use MKS to manage source changes as a standalone tool, while using JDeveloper to modify and debug application code.
    I also have a requirement to put all runtime code into MKS as well, so that a complete runtime build can be performed from within any project sandbox and deployed (No 3rd party installations required). This would include jdeveloper jar files and compiled objects from other MKS / Jdeveloper projects.
    So far, I've discovered that the JDeveloper project libraries are referenced by full pathname, including drive letter. This means that each develeper sandbox directory must have the same root path and drive letter or each projects libraries must be maintained seperately. Neither I think is very pretty. Is there a way to use relative pathnames?
    I'm also wondering how many other problems I may encounter as I proceed. What is the intended model for supporting concurrent development using standalone source code management?
    Any ideas or suggestions would be greatly appreciated.
    Thanks in advance
    Keith.

    Yes.
    The issue comes into play when developer A may be developing on c:\jdev and developer B may be developing on d:\dev\3m\jdev. I would rather not have to mandate directory structure standards for the parent directories.

  • Ojdeploy and Hudson - how do we stop - quick question

    Hi All
    In our simple script that's used in Hudson, We use ojdeploy -buildfile a.xml -define application.root=/root/test
    It works fine when everything compiles but when it fails, the script continues executing with errors which leads to false build status as pass since the shell script runs to the end of file.
    How to do use in the shell script with ojdeploy to give a non-0 error number in shell script when ojdeploy fails ?
    Any simple concrete example would be great.
    Thanks

    In your shell script, you should be able to get the result of the previous process using "$?". So you could evaluate that after calling ojdeploy and if that contains an error code, you should be able to exit your script.
    If you want to use the Ant task, you need to define the task:
      <taskdef name="ojdeploy" classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask" uri="oraclelib:OJDeployAntTask"
                classpath="<put the path to your jdeveloper home here>\jdeveloper\jdev\lib\ant-jdeveloper.jar"/>Then you can use ojdeploy (here to run a deployment profile specified in the workspace):
           <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
                        executable="<put the path to your jdeveloper home here>\jdeveloper\jdev\bin\ojdeploy.exe"
                        failonerror="true"
                        ora:buildscript="${WORKSPACE}\build_workspace.xml"
                        ora:statuslog="${WORKSPACE}\build_log.xml">
            <ora:deploy>
              <ora:parameter name="basedir" value="${WORKSPACE}\<directory of the application>"/>
              <ora:parameter name="workspace" value="<name of your workspace file in the basedir>"/>
              <ora:parameter name="profile" value="<deployment profile name>"/>
              <ora:parameter name="outputfile" value="<name of the ear file to be created>"/>
            </ora:deploy>
          </ora:ojdeploy>We're building on Windows as you can see, so you might need to adjust the paths and the executable for Linux.
    You might also take a look at:
    http://one-size-doesnt-fit-all.blogspot.fr/2010/11/using-ojdeploy-and-ant-for-creating-adf.html
    http://javaosdev.blogspot.fr/2011/12/ojdeploy-documentation-for-tool.html
    Sascha

Maybe you are looking for

  • Hyperlinks in Outlook 2010 emails do not open browser

    I have 2 PCs with nearly identical software configurations except for the OS. One PC uses Windows 7 Ultimate x64, the other uses Windows 7 Home Premium x64. Both have Office Professional Plus 2010 and Norton Security Suite 4 installed. Both PCs have

  • Site not displaying properly in IE

    Hello, I'm working on building a site from a template. Prior to today I only  opened the site in Firefox and it displays fine. However, in IE for some  reason every page besides the index.html do not display properly. The  weird thing is, the part th

  • DVD not downloading full length

    I am trying to download a 2-hour DVD to iMovie but only 1.51 minutes download. Suggestions?

  • Auto-hiding of bookmarks panel rarely works

    I've seen a few posts on this subject. I agree with those finding it very annoying when the bookmarks panel stays open after the page has been loaded. The thing is, it actually does sometimes close automatically, say in one out of ten cases for me. I

  • Cannot unmount firewire drive due to compressord

    I was working off a Firewire 400 drive doing work with Motion and Compressor. I am done, quit all my apps, try to eject the drive. I get a "device is busy" error and it will not eject. There are no running applications, and force-quitting the Finder