OC4J 9.0.2 production with JDK 1.4.0: mostly broken

I have tried OC4J 9.0.2 production with several combinations of JDK 1.3.1 and JDK 1.4.0 for building, deploying, and running a simple, home-grown EJB-based web service. If I build the EAR file using JDK 1.3.1, it will run fine on OC4J using JDK 1.3.1 or JDK 1.4.0.
I have thus far found it to be impossible to build the EAR file using JDK 1.4.0 and have it run sucessfully on OC4J using either JDK 1.4.0 or JDK 1.3.1. I always get the following when attempting to invoke the web service via the generated Java proxy stubs:
5/8/02 7:33 PM database: oracle.jsp.runtimev2.JspServlet: init
5/8/02 7:33 PM database: 9.0.2.0.0 Started
5/8/02 7:33 PM database: oracle.j2ee.ws.SessionBeanWebService: init
5/8/02 7:33 PM database: Servlet error
oracle.j2ee.xanadu.JasperGenerationError: no source generated during code generation!: 1 in getFile name: com\mycompany\common\ejb\Info.class
1 in getFile name: com\mycompany\common\ejb\Info.java
error: error message 'class.format' not found
binary class definition not found: com.mycompany.common.ejb.Info
     at oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGenerator.java:267)
     at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:662)
     at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:436)
     at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:767)
     at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:309)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:652)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
Notes:
1) When attempting to deploy onto an OC4J instance running on JDK 1.4.0, I have replaced the tools.jar file and modified the global-web-application.xml as per: ORA-92102 Timeout on Web Forms
2) I have verified that the EJB deploys correctly regardless of build and/or deployment environment.
3) Let's pretend that I can configure each of these environments to run under JDK 1.4.0 or JDK 1.3.1: run OC4J (fresh install), build ear, deploy ear, invoke web service. Here are the combinations I have tried:
BROKEN: run OC4J 1.4.0, build ear 1.4.0, deploy ear 1.4.0, invoke web service 1.4.0
WORKS: run OC4J 1.4.0, build ear 1.3.1, deploy ear 1.4.0, invoke web service 1.4.0
WORKS: run OC4J 1.4.0, build ear 1.3.1, deploy ear 1.3.1, invoke web service 1.3.1
WORKS: run OC4J 1.4.0, build ear 1.3.1, deploy ear 1.3.1, invoke web service 1.4.0
WORKS: run OC4J 1.3.1, build ear 1.3.1, deploy ear 1.3.1, invoke web service 1.3.1
WORKS: run OC4J 1.3.1, build ear 1.3.1, deploy ear 1.3.1, invoke web service 1.4.0
WORKS: run OC4J 1.3.1, build ear 1.3.1, deploy ear 1.4.0, invoke web service 1.4.0
WORKS: run OC4J 1.3.1, build ear 1.3.1, deploy ear 1.4.0, invoke web service 1.3.1
BROKEN: run OC4J 1.3.1, build ear 1.4.0, deploy ear 1.3.1, invoke web service 1.3.1
BROKEN: run OC4J 1.3.1, build ear 1.4.0, deploy ear 1.4.0, invoke web service 1.4.0
Is Oracle aware of this problem? What is causing it (e.g. class format change in classes compiled in JDK 1.4.0)? Are you working to fix it in the next release (either preview or production)?

I've also just downloaded JDK 1.4.0 and tried running the "Simple JSP Examples" that come with OC4J R2.
Of course these simple examples didn't even compile:
<blockquote>
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:/oracle/product/ias9i/j2ee/home/application-deployments/default/defaultWebApp/persistence/_pages/_examples/_jsp/_num/_numguess.java
error: Invalid class file format in /oracle/product/j2sdk1.4.0/jre/lib/rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
/oracle/product/ias9i/j2ee/home/application-deployments/default/defaultWebApp/persistence/_pages/_examples/_jsp/_num/_numguess.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
package examples.jsp._num;
^
2 errors
</blockquote>
So whose fault is this?
Is it my fault for not reading this forum before downloading the 40MB J2SE 1.4.0 install?
Is it Oracle's fault for failing to point out that OC4J is compatible with ONLY 1.3.1 ?
Is it Sun's fault for breaking compatibility with their own product? So much for write once run anywhere. This is not what Java was supposed to be about.

Similar Messages

  • Problem with classloader (for shared-lib's) on oc4j 10.0.3.4 under jdk 1.5

    I have a project that runs great on oc4j 10.0.3.4 under jdk 1.6. (everything worked great)
    I recently tried to run it under jdk 1.5 and i've run into a little problem with the shared-lib's:
    The classloader's debug file reports the following: (i have translated some of it)
    Class error: oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: javax.xml.bind.JAXBContext
    Dependant class: nl.comp.util.XmlUtil
         Classloader: comp:0.1
         Code-source: /C:/programs/oc4j/j2ee/home/shared-lib/comp/0.1/comp.jar
         Configuration: <code-source> in /c:/programs/oc4j/j2ee/home/config/server.xml
    The missing class is available from the following location:
         1. Code-source: /C:/programs/oc4j/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\programs\oc4j\j2ee\home\oc4j.jar)
    This code-source is available from classloader oracle.xml:10.1.0_2
         2. Code-source: /C:/programs/oc4j/j2ee/home/shared-lib/jaxb/2.1.6/jaxb-api.jar (from <code-source> in /c:/programs/oc4j/j2ee/home/config/server.xml)
    This code-source is available from classloader jaxb:2.1.6.
    So the classloader knows where to find the necessary lib, but it isn't loading it? If i run the exact same code (with same descriptors and everything) under jdk 1.6, it works, under 1.5 i get the above error.
    What is different on the class loader level between the two jdk versions that might affect the program in such a way?
    Need i update a descriptor or do something else?

    Jack,
    Not a definitive answer for you (sorry), just a few suggestions (that I assume you are unaware of).
    1. Try unsetting your "ClassPath" variable. Open a "command" window and type the following:
    set ClassPath=2. Launch OC4J from the directory where the "oc4j.jar" file is located, for example:
    D:
    cd oc4j\j2ee\home
    java -jar oc4j.jar3. I'm just guessing, but if your drive "D:" is a mapped, network drive, this may be causing the problem. Perhaps try installing OC4J on a local drive?
    Hope this helps.
    Good Luck,
    Avi.

  • Version compatibility  of 10G Application Server 10.1.2.0.2  with  JDK 1.5.

    hi buddies,
    I want to know that whether
    10G Application Server 10.1.2.0.2 with JDK 1.5. is Version compatibility
    pls do send ur replies if known to you.

    Hi ,
    As far as I know AS 10.1.2.0.2 is Not certified with JDK 1.5.
    Please see below some links where you can double-check this
    1. OC4J with JDK 1.5 JSP compilation error
    2. http://docs.huihoo.com/oracle/docs/B14099_19/web.1012/b14011/chap1.htm
    "Only the JDK 1.3.1 and JDK 1.4 compilers are supported and certified by OC4J. It is possible to specify an alternative compiler by adding a <java-compiler> element to the server.xml file, and this might provide a workaround for the "classes not in packages" issue, but no other compilers are certified or supported by Oracle for use with OC4J."
    3. "Certified JDKs" from
    http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
    BR,
    Mihai

  • 10G Application Server 10.1.2.0.2 with JDK 1.5.0_16 is Version compatible

    hi buddies,
    I want to know that whether
    10G Application Server 10.1.2.0.2 with JDK 1.5.0_16 is Version compatible
    pls do send ur replies if known to you.

    Hi ,
    As far as I know AS 10.1.2.0.2 is Not certified with JDK 1.5.
    Please see below some links where you can double-check this
    1. OC4J with JDK 1.5 JSP compilation error
    2. http://docs.huihoo.com/oracle/docs/B14099_19/web.1012/b14011/chap1.htm
    "Only the JDK 1.3.1 and JDK 1.4 compilers are supported and certified by OC4J. It is possible to specify an alternative compiler by adding a <java-compiler> element to the server.xml file, and this might provide a workaround for the "classes not in packages" issue, but no other compilers are certified or supported by Oracle for use with OC4J."
    3. "Certified JDKs" from
    http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
    BR,
    Mihai

  • OC4J 9.0.4 stand alone + JDK 1.4.2

    Hi,
    I'm upgrading my web applications from OC4J (1.0.2.2) to OC4J 9.0.4. Also, upgrading from JDK1.3.1 to JDK 1.4.2. I have installed OC4J 9.0.4 stand alone version on my Windows 2000 machine and I have a couple of questions:
    1. I didn't find any JDK directory under OC4J_HOME. So, do I need to copy JDK 1.4.2 directory and place it under OC4J_HOME. Also, do I need to set any CLASSPATH while running OC4J ?
    2. I have an issue with running JSPs in the default application. However, the servlet examples run fine.I get the following error on running JSPs:
    quote:
    05/10/14 15:42:23 IOException in compile: CreateProcess: javac.exe -J-Xmx1024m -
    classpath oc4j.jar;E:\oc4j_extended\j2ee\home\lib/ejb.jar;E:\oc4j_extended\j2ee\
    home\lib/servlet.jar;E:\oc4j_extended\j2ee\home\lib/ojsp.jar;E:\oc4j_extended\j2
    ee\home\lib/jndi.jar;E:\oc4j_extended\j2ee\home\lib/jdbc.jar;E:\oc4j_extended\j2
    ee\home\iiop.jar;E:\oc4j_extended\j2ee\home\iiop_gen_bin.jar;E:\oc4j_extended\j2
    ee\home\lib/jms.jar;E:\oc4j_extended\j2ee\home\lib/jta.jar;E:\oc4j_extended\j2ee
    \home\lib/jmxri.jar;E:\oc4j_extended\j2ee\home\lib/javax77.jar;E:\oc4j_extended\
    j2ee\home\lib/javax88.jar;E:\oc4j_extended\j2ee\home\../../opmn/lib/ons.jar;E:\o
    c4j_extended\j2ee\home\../../opmn/lib/optic.jar;E:\oc4j_extended\j2ee\home\../..
    /lib/dms.jar;E:\oc4j_extended\j2ee\home\../../dms/lib/dms.jar;E:\oc4j_extended\j
    2ee\home\lib/connector.jar;E:\oc4j_extended\j2ee\home\lib/cos.jar;E:\oc4j_extend
    ed\j2ee\home\lib/jsse.jar;E:\oc4j_extended\j2ee\home\../../oracle/lib/jsse.jar;E
    :\oc4j_extended\j2ee\home\lib/jnet.jar;E:\oc4j_extended\j2ee\home\lib/jcert.jar;
    E:\oc4j_extended\j2ee\home?
    unquote:
    Could somebody tell me what I'm doing wrong ?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

    Thanks a lot for your help qlin. I found a solution to the JSP issue from the archives.
    However, I ran into a new issue. I got the following error when I tried to access a JSP in my web application (this works with OC4J 1.0.2.2):
    05/10/17 16:38:19 dsap2: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 165,
    Error: Unexpected end of file
    I got the same error with both JDK 1.4.2 and JDK 1.3.1.
    Any idea what could be causing the error, and how to trace it?
    Regarding the OC4J version, I have to use 9.0.4 as we have a product that uses it and I have to stick with the same version.
    Also, I have a couple of other questions.
    1. I use OC4J stand-alone on Win2K machine for development and deploy on a Solaris machine that uses the integrated OC4J version, which comes with Oracle Application Server 10g. Do you see any issues with this ?
    2. I currently have a simple logging mechanism using "System.out.println" to print output to a log file in the stand-alone version. Do you know of any better logging scheme that can be used with the integrated OC4J ?
    Any help/suggestions will be greatly appreciated.
    Thanks,
    Shyam
    I didn't find any JDK directory under OC4J_HOME.So, do I need to copy JDK 1.4.2
    directory and place it under OC4J_HOME. Also, do Ineed to set any CLASSPATH while
    running OC4J ?Yes, since 9.0.4 or even earlier possibly, oc4j
    installation is not bundled with a JDK installation.
    It is easy enough to download any JDK version you
    wanted. You do not need to place a copy of JDK
    inside OC4J_HOME. I believe it is better not to set
    any CLASSPATH for running OC4J, although it is
    probably does not matter any way.
    05/10/14 15:42:23 IOException in compile:CreateProcess: javac.exe -J-Xmx1024m -
    Please search this forum for "IOException in compile:
    CreateProcess: javac.exe". You will see the answer.
    By the way, any particular reason that you decide not
    to upgrade to 10.1.2.0.2 directly?
    It is obvious that 10.1.2 should be better than
    9.0.4. After another several months, 10.1.3 should be
    a even better choice since 10.1.3 supports j2ee 1.4
    while 10.1.2 and 9.0.4 supports j2ee 1.3.Thanks for your help qlin.I found a solution to the JSP issue by searching the archives.
    However I ran into a new issue. When I try to run my web application, I get the following exception:
    05/10/17 16:38:19 dsap2: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 165,
    Error: Unexpected end of file
    I tried run OC4J with both JDK 1.4.2 and 1.3.1 versions but still get the same error.

  • Error while running Dev60 with jdk 11711o

    Dear OTN Members / Oracle Development Team.
    Have any one tried it. Help required form Oracle Devlopemnt
    Team.
    hi i am using oracle8 OAS 4.0.7, Developer 6.0 production
    with NT 4.0 and service Pack 3
    when i try to run the form through jinitinator or JDK provided
    with the package i get the following error.
    running with jinitator
    Oracle JInitiator version 1.1.7.11
    Using JRE version 1.1.7.11o
    User home directory = E:\WINNT\Profiles\Administrator
    Proxy Configuration: no proxy
    java.io.FileNotFoundException: \forms60\f60all.jar
    at java.io.FileInputStream.<init>(FileInputStream.java:56)
    at sun.net.www.protocol.file.FileURLConnection.connect(Compiled
    Code)
    at
    sun.net.www.protocol.file.FileURLConnection.getInputStream(FileUR
    LConnection.java:162)
    at
    sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRe
    directs(Compiled Code)
    at
    sun.applet.AppletCache.getInputStream(AppletCache.java:588)
    at
    sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java
    171)
    at sun.applet.JinitAppletPanel.loadJarFiles(Compiled
    Code)
    at sun.plugin.AppletViewer.loadJarFiles(Compiled Code)
    at
    sun.applet.JinitAppletPanel.runLoader(JinitAppletPanel.java:500)
    at sun.applet.JinitAppletPanel.run(Compiled Code)
    at java.lang.Thread.run(Thread.java:466)
    and with JDK
    Microsoft (R) VM for Java, 5.0 Release 5.0.0.3165
    ==============================================
    ? help
    c clear
    f run finalizers
    g garbage collect
    m memory usage
    q quit
    t thread list
    ==============================================
    com.ms.security.SecurityExceptionEx[oracle/forms/engine/Main.init
    ]: cannot access file E:\WINNT\Java\.hotjava
    at com/ms/security/permissions/FileIOPermission.check
    at com/ms/security/PolicyEngine.deepCheck
    at com/ms/security/PolicyEngine.checkPermission
    at com/ms/security/StandardSecurityManager.chk
    at com/ms/security/StandardSecurityManager.checkRead
    at java/io/File.exists
    at java/io/File.mkdirs
    at sun/applet/AppletViewer.<clinit>
    at java/lang/ClassLoader.findSystemClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    Error getting package information: sun/applet
    com.ms.packagemanager.PackageManagerException: Package not
    ound
    at com/ms/packagemanager/PackageManager.getPackage
    at
    com/ms/security/SecurityClassLoader.getSecurityInfoFromPackage
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    java.lang.ClassNotFoundException: sun.applet.AppletViewer
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    what could be the problem have any one encountered this kind of
    problem.
    pls help required.
    mobeen
    null

    Dear OTN Members / Oracle Development Team.
    Have any one tried it. Help required form Oracle Devlopemnt
    Team.
    hi i am using oracle8 OAS 4.0.7, Developer 6.0 production
    with NT 4.0 and service Pack 3
    when i try to run the form through jinitinator or JDK provided
    with the package i get the following error.
    running with jinitator
    Oracle JInitiator version 1.1.7.11
    Using JRE version 1.1.7.11o
    User home directory = E:\WINNT\Profiles\Administrator
    Proxy Configuration: no proxy
    java.io.FileNotFoundException: \forms60\f60all.jar
    at java.io.FileInputStream.<init>(FileInputStream.java:56)
    at sun.net.www.protocol.file.FileURLConnection.connect(Compiled
    Code)
    at
    sun.net.www.protocol.file.FileURLConnection.getInputStream(FileUR
    LConnection.java:162)
    at
    sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRe
    directs(Compiled Code)
    at
    sun.applet.AppletCache.getInputStream(AppletCache.java:588)
    at
    sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java
    171)
    at sun.applet.JinitAppletPanel.loadJarFiles(Compiled
    Code)
    at sun.plugin.AppletViewer.loadJarFiles(Compiled Code)
    at
    sun.applet.JinitAppletPanel.runLoader(JinitAppletPanel.java:500)
    at sun.applet.JinitAppletPanel.run(Compiled Code)
    at java.lang.Thread.run(Thread.java:466)
    and with JDK
    Microsoft (R) VM for Java, 5.0 Release 5.0.0.3165
    ==============================================
    ? help
    c clear
    f run finalizers
    g garbage collect
    m memory usage
    q quit
    t thread list
    ==============================================
    com.ms.security.SecurityExceptionEx[oracle/forms/engine/Main.init
    ]: cannot access file E:\WINNT\Java\.hotjava
    at com/ms/security/permissions/FileIOPermission.check
    at com/ms/security/PolicyEngine.deepCheck
    at com/ms/security/PolicyEngine.checkPermission
    at com/ms/security/StandardSecurityManager.chk
    at com/ms/security/StandardSecurityManager.checkRead
    at java/io/File.exists
    at java/io/File.mkdirs
    at sun/applet/AppletViewer.<clinit>
    at java/lang/ClassLoader.findSystemClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    Error getting package information: sun/applet
    com.ms.packagemanager.PackageManagerException: Package not
    ound
    at com/ms/packagemanager/PackageManager.getPackage
    at
    com/ms/security/SecurityClassLoader.getSecurityInfoFromPackage
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    java.lang.ClassNotFoundException: sun.applet.AppletViewer
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    what could be the problem have any one encountered this kind of
    problem.
    pls help required.
    mobeen
    null

  • 9.0.4 compatibility with jdk 1.5

    Hi,
    Please do let me know if Oracle AS version 9.0.4.1 is compatible with jdk 1.5.
    What is the jdk version compatible with 9.0.4.1?
    Found the following in the Metalink -> Certify
    In general, Oracle Application Server 10g (9.0.4, 10.1.2.x and 10.1.3.x) support using JDK
    extensions higher than one the product originally shipped with. On 9.0.4, it is possible to move from JDK 1.3.1_06 to extension JDK 1.3.1_07 or beyond.
    Does this imply that 9.0.4 is certified with JDK 1.5?????
    Thanks in advance.
    Regards,
    Sindhiya V.

    desuported? Can you post a source for this?
    9.0.4 is not certified with JDK 1.5 and will not be. AS 10.1.3 is the first release that is (as far as I know).

  • When JDev (9.0.4/9.0.5/?) runnable with JDK 1.4.x?

    I installed JDeveloper 9.0.3.1 on a Red Hat 8 system with JDK 1.4.1_01 and have using it successfully for non-GUI, non-BC4J development. I have been following the discussions and understand there are potential problems but I haven't hit any yet and have really enjoyed the improved performance.
    Over the weekend I also installed JDK 1.4.2_beta. I reinstalled JDeveloper 9.0.3.1. WOW! JDeveloper went from sluggish but useable to not bad at all (as did a lot of Java GUI apps I use).
    I did find some new and interesting JDBC problems (ones I did not have with JDK 1.4.1_01) but was able to solve them by adding a library with the JDK 1.4.x specific JDBC drivers (ojdbc14.jar) to my projects.
    My question is ... when (days, weeks, months?) will some version, preview or production, 9.0.3.x, 9.0.4, 9.0.5, whatever be supported (ie available on OTN) with JDK 1.4.x+ (preferably 1.4.2+)?
    Thanks
    R.Parr
    Temporal Arts

    Thanks Robert.
    I am assuming I may take this as confirmation that JDev 9.0.4 will, in fact, support JDK 1.4.x (hopefully including 1.4.2 as there appears to be a real performance bump from 1.4.1 to 1.4.2). Please correct me if I am wrong so that I may adjust my expectations.
    I understand your inability and reluctance to provide precise dates. I do not ask for that. It would, however, aid my planning, and adjustment of expectations, if you could provide an estimate of JDev 9.0.4 availibility within an "order of calendar magnitude". That is, are we talking weeks, months, quarters, or years? As an example, at this time apps like Mozilla on Red Hat 9 seem to require use of the newest JDK 1.4.x. If a JDev which can run under 1.4.x will be unavailable for some time, I and my customer will have to install the older RH8 on new workstations. If it will be available in a relatively short time we can plan on the ability to use RH9.
    Thanks again.
    R.Parr
    Temporal Arts

  • Error connecting to DB with JDK 1.4.2

    Hi,
    I'm trying to connect to a DB with this code:
    Connection con = null; Statement stmt = null; try { con = ds.getConnection(); stmt = con.createStatement(); stmt.execute("select * from table;"); } catch (SQLException e) { logger.error(e); con.close(); }
    but when I execute de oc4j server with a JDK 1.4.2 I get this error:
    java.sql.SQLException: Excepci�n de E/S: The Network Adapter could not establish the connection
    If I execute oc4j server with JDK 1.5.0 I have no problems... obviously I need to execute with JDK 1.5.0... Does anyone know what might be happening?
    Thanks!!

    Well, this specific exception roughly means that the Java code cannot find the database. I.e. the driver is loaded, the URL is semantically correct, but it can't find a database behind the in the URL given IP address / hostname, port number and/or the databasename. On the other side, the database can also be not up and running or not listening, or there is some firewall which blocks the communication.
    That's all what I can say about it. As far now you're the only one who can find and fix the root cause.

  • Reduce SQLDeveloper memory footprint with JDK 1.7

    Hi!
    Some time ago in another thread (Re: Memory problems with Oracle sql developer there was a suggestion to try the new Garbage-First Garbage Collector. which should be production in JDK 1.7.
    I use SQLDeveloper with JDK 1.7 on 64bit Linux with good results:
    - everything feels faster, snappier
    - fonts rendering is different, but it is OK
    - the bugs noted in other threads are not a showstopper for me (the connections pane not showing up on startup, not being able to scroll more than 1 OCI array size of records in results grid)
    In the above mentioned thread there is a suggestion that the new garbage collector should improve memory footprint of SQLDeveloper, however, this is not my experience, since it behaves pretty much the same as with JDK 1.6 (resident size between 700 and 900 MB).
    Do I need to use these opotions (as per reffering thread) to enable the new garbage collector (see below) or is it switched on by default in JDK 1.7? The reduced memory footprint would be very welcomed, because I use Oracle Warehouse Builder at the same time (also a java app) and there is always much pressure on memory.
    AddVMOption -XX:+UnlockExperimentalVMOptions
    AddVMOption -XX:+UseG1GC
    AddVMOption -XX:+G1YoungGenSize=25m
    AddVMOption -XX:+G1ParallelRSetUpdatingEnabled
    AddVMOption -XX:+G1ParallelRSetScanningEnabled
    Thanx
    Aleksander

    Hi Aleksander,
    Glad to hear of your good report on Java 7's HotSpot VM regarding performance -- it has various enhancements, of which the new garbage collector is just one. In terms of interpreting memory footprints, take a look at:
    http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html#generation_sizing
    Note the diagram indicates total heap size does not include the permanent generation memory. Xmx limits the heap size (the young and tenured generation). MaxPermSize limits class and method metadata plus static variable content. (Apparently starting back in Java 5 there are even some cases where the permanent generation space can be shared by multiple VM instances to improve start-up time and reduce memory usage.) These two limits control distinct, non-overlapping areas of memory.
    When monitoring a Java application's heap consumption with a profiling tool, I doubt the reported usage will exceed the Xmx limit by much. Monitoring with Windows Task Manager, however, can be a bit misleading. I have read several critiques in years past on how Task Manager reports program memory consumption. "Mem Usage" is actually the working set size. "VM Size" is program private memory rather than the true virtual size. And who knows how it tracks the Java VM's permanent generation size. Will it depend on whether it is shared or not?
    So I cannot really recommend any additional parameters to you. Just trust in the Xmx setting and hope that SQL Developer keeps any memory leaks to a minimum.
    Hope this helps,
    Gary

  • Login on to WLS with jdk 1.4 doesnot work

    Hi,
    I had ealier posted a question on how to debug ejb's on wls with eclipse and
    was directed to this site "http://www.genuitec.com/products.htm#weblogic_jdk14".
    There I found a document on how to setup WLS into debug and how to setup WLS to
    work with jdk 1.4.
    I followed the instructions but the password I am enetering is revoked. form
    the trace given bellow the NT username taken from the profile is bk608, is it
    the username for which I have to give the password or the ususal WLS management
    password ? Please help.
    Thanks,
    Gavin.
    PS: Here is the trace.....
    C:\bea\wlserver6.0>set PATH=C:\java\j2sdk1.4.0\bin;C:\WINNT\MS\SMS\CORE\BIN;c:\d
    mi\win32\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\MSSQL7\BINN;C:
    \java\jdk1.3.1_02\bin;C:\java\jakarta-ant-1.4.1\bin
    C:\bea\wlserver6.0>set PATH=.\bin;C:\java\j2sdk1.4.0\bin;C:\WINNT\MS\SMS\CORE\BI
    N;c:\dmi\win32\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\MSSQL7\B
    INN;C:\java\jdk1.3.1_02\bin;C:\java\jakarta-ant-1.4.1\bin
    C:\bea\wlserver6.0>set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    C:\bea\wlserver6.0>"C:\java\j2sdk1.4.0\bin\java" -hotspot -ms64m -mx64m -classpa
    th .;.\lib\weblogic_sp.jar;.\lib\weblogic.jar -Dweblogic.Domain=mydomain -Dweblo
    gic.Name=myserver "-Dbea.home=C:\bea" "-Djava.security.policy==C:\bea\wlserver6.
    0/lib/weblogic.policy" -Dweblogic.management.password= "-Djava.security.auth.log
    in.config=C:\bea\wlserver6.0/lib/login.conf" weblogic.Server
    [NTLoginModule] succeeded importing info:
    userID = bk608
    domain = HK2OSL
    domainSID = S-1-5-21-161959346-607994573-1935560845
    userSID = S-1-5-21-161959346-607994573-1935560845-14617
    primary group ID = S-1-5-21-161959346-607994573-19355608
    45-513
    group ID = S-1-5-21-161959346-607994573-1935560845-513
    group ID = S-1-1-0
    group ID = S-1-5-21-314861234-1864712239-1573738576-1007
    group ID = S-1-5-32-544
    group ID = S-1-5-32-545
    group ID = S-1-5-21-161959346-607994573-1935560845-1796
    group ID = S-1-5-21-161959346-607994573-1935560845-1898
    group ID = S-1-5-21-161959346-607994573-1935560845-1904
    group ID = S-1-5-21-161959346-607994573-1935560845-1907
    group ID = S-1-5-21-161959346-607994573-1935560845-1908
    group ID = S-1-5-21-161959346-607994573-1935560845-1934
    group ID = S-1-5-21-161959346-607994573-1935560845-10808
    group ID = S-1-5-5-0-49130
    group ID = S-1-2-0
    group ID = S-1-5-4
    group ID = S-1-5-11
    impersonationToken = 928
    [NTLoginModule] added NTPrincipal to Subject
    Starting WebLogic Server ....
    <Apr 16, 2002 10:11:19 AM CEST> <Notice> <Management> <Loading configuration fil
    e .\config\mydomain\config.xml ...>
    log file: C:\bea\wlserver6.0\.\config\mydomain\logs\weblogic.log
    <Apr 16, 2002 10:11:21 AM CEST> <Info> <Logging> <Only log messages of severity
    "Error" or worse will be displayed in this window. This can be changed at Admin
    Console> mydomain> Servers> myserver> Logging> General> Stdout severity threshol
    d>
    <Apr 16, 2002 10:11:22 AM CEST> <Emergency> <Security> <Authentication failure
    reenter password to boot weblogic server:>
    <Apr 16, 2002 10:11:23 AM CEST> <Emergency> <Security> <Authentication failure
    reenter password to boot weblogic server:>
    <Apr 16, 2002 10:11:27 AM CEST> <Emergency> <Server> <Unable to initialize the
    s
    erver: 'Fatal initialization exception
    Throwable: java.lang.SecurityException: Authentication for user guest denied
    java.lang.SecurityException: Authentication for user guest denied
    at weblogic.security.SecurityService.initializeSuid(SecurityService.java
    :360)
    at weblogic.security.SecurityService.initialize(SecurityService.java:125
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    '>
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.SecurityException: Authentication for user guest den
    ied
    java.lang.SecurityException: Authentication for user guest denied
    at weblogic.security.SecurityService.initializeSuid(SecurityService.java
    :360)
    at weblogic.security.SecurityService.initialize(SecurityService.java:125
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    C:\bea\wlserver6.0>goto finish
    C:\bea\wlserver6.0>cd config\mydomain
    C:\bea\wlserver6.0\config\mydomain>ENDLOCAL

    add -Dweblogic.management.password=yoursystempassword to the java command line
    when you start WebLogic. Or specify it in the startWebLogic.cmd if you use the
    standard startup script:
    @rem Set WLS_PW equal to your system password for no password prompt server startup.
    set WLS_PW=yoursystempassword
    Gavin <[email protected]> wrote:
    Hi,
    I had ealier posted a question on how to debug ejb's on wls with eclipse and
    was directed to this site "http://www.genuitec.com/products.htm#weblogic_jdk14".
    There I found a document on how to setup WLS into debug and how to setup WLS to
    work with jdk 1.4.
    I followed the instructions but the password I am enetering is revoked. form
    the trace given bellow the NT username taken from the profile is bk608, is it
    the username for which I have to give the password or the ususal WLS management
    password ? Please help.
    Thanks,
    Gavin.
    PS: Here is the trace.....
    C:\bea\wlserver6.0>set PATH=C:\java\j2sdk1.4.0\bin;C:\WINNT\MS\SMS\CORE\BIN;c:\d
    mi\win32\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\MSSQL7\BINN;C:
    \java\jdk1.3.1_02\bin;C:\java\jakarta-ant-1.4.1\bin
    C:\bea\wlserver6.0>set PATH=.\bin;C:\java\j2sdk1.4.0\bin;C:\WINNT\MS\SMS\CORE\BI
    N;c:\dmi\win32\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\MSSQL7\B
    INN;C:\java\jdk1.3.1_02\bin;C:\java\jakarta-ant-1.4.1\bin
    C:\bea\wlserver6.0>set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    C:\bea\wlserver6.0>"C:\java\j2sdk1.4.0\bin\java" -hotspot -ms64m -mx64m -classpa
    th .;.\lib\weblogic_sp.jar;.\lib\weblogic.jar -Dweblogic.Domain=mydomain -Dweblo
    gic.Name=myserver "-Dbea.home=C:\bea" "-Djava.security.policy==C:\bea\wlserver6.
    0/lib/weblogic.policy" -Dweblogic.management.password= "-Djava.security.auth.log
    in.config=C:\bea\wlserver6.0/lib/login.conf" weblogic.Server
    [NTLoginModule] succeeded importing info:
    userID = bk608
    domain = HK2OSL
    domainSID = S-1-5-21-161959346-607994573-1935560845
    userSID = S-1-5-21-161959346-607994573-1935560845-14617
    primary group ID = S-1-5-21-161959346-607994573-19355608
    45-513
    group ID = S-1-5-21-161959346-607994573-1935560845-513
    group ID = S-1-1-0
    group ID = S-1-5-21-314861234-1864712239-1573738576-1007
    group ID = S-1-5-32-544
    group ID = S-1-5-32-545
    group ID = S-1-5-21-161959346-607994573-1935560845-1796
    group ID = S-1-5-21-161959346-607994573-1935560845-1898
    group ID = S-1-5-21-161959346-607994573-1935560845-1904
    group ID = S-1-5-21-161959346-607994573-1935560845-1907
    group ID = S-1-5-21-161959346-607994573-1935560845-1908
    group ID = S-1-5-21-161959346-607994573-1935560845-1934
    group ID = S-1-5-21-161959346-607994573-1935560845-10808
    group ID = S-1-5-5-0-49130
    group ID = S-1-2-0
    group ID = S-1-5-4
    group ID = S-1-5-11
    impersonationToken = 928
    [NTLoginModule] added NTPrincipal to Subject
    Starting WebLogic Server ....
    <Apr 16, 2002 10:11:19 AM CEST> <Notice> <Management> <Loading configuration fil
    e .\config\mydomain\config.xml ...>
    log file: C:\bea\wlserver6.0\.\config\mydomain\logs\weblogic.log
    <Apr 16, 2002 10:11:21 AM CEST> <Info> <Logging> <Only log messages of severity
    "Error" or worse will be displayed in this window. This can be changed at Admin
    Console> mydomain> Servers> myserver> Logging> General> Stdout severity threshol
    d>
    <Apr 16, 2002 10:11:22 AM CEST> <Emergency> <Security> <Authentication failure
    reenter password to boot weblogic server:>
    <Apr 16, 2002 10:11:23 AM CEST> <Emergency> <Security> <Authentication failure
    reenter password to boot weblogic server:>
    <Apr 16, 2002 10:11:27 AM CEST> <Emergency> <Server> <Unable to initialize the
    s
    erver: 'Fatal initialization exception
    Throwable: java.lang.SecurityException: Authentication for user guest denied
    java.lang.SecurityException: Authentication for user guest denied
    at weblogic.security.SecurityService.initializeSuid(SecurityService.java
    :360)
    at weblogic.security.SecurityService.initialize(SecurityService.java:125
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    '>
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.SecurityException: Authentication for user guest den
    ied
    java.lang.SecurityException: Authentication for user guest denied
    at weblogic.security.SecurityService.initializeSuid(SecurityService.java
    :360)
    at weblogic.security.SecurityService.initialize(SecurityService.java:125
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    C:\bea\wlserver6.0>goto finish
    C:\bea\wlserver6.0>cd config\mydomain
    C:\bea\wlserver6.0\config\mydomain>ENDLOCAL
    Dimitri

  • Using JDMK 4.2 with JDK 5.0

    I have an application that uses JDMK 4.2 and is currently built using JDK 1.4.2.
    I need to upgrade the JDK to JDK 5.0 which contains JMX 1.2. Can I continue using JDMK 4.2 with JDK 5.0, or must I upgrade the JDMK version to JDMK 5.0?

    Hi,
    You will need to use Java DMK 5.1 (or Project OpenDMK).
    Previous versions of the Java DMK used to embed their own implementation of JMX.
    The latest version of the Java DMK was designed to run on top of the JMX implementation embedded in the JDK.
    See:
    http://java.sun.com/products/jdmk
    http://docs.sun.com/app/docs/doc/816-7609
    http://opendmk.dev.java.net/
    Best regards,
    -- daniel

  • RUn WLS 7 as Windows 2K service with JDK 1.4.1

    Has anyone able to get WLS 7 to run as Windows 2K service with JDK 1.4.1?

    NO -- the first product to support JDK 1.4 is WLS 8.1. Period.
    Wayne
    cdd wrote:
    Has anyone able to get WLS 7 to run as Windows 2K service with JDK 1.4.1?

  • I am a long-term user of Lightroom as a standalone product with a perpetual licence. As a retired person on limited income, it is very disappointing to me that Adobe have introduced the 'Creative Cloud' (CC) subscription service in order for me to be able

    I am a long-term user of Lightroom as a standalone product with a perpetual licence. As a retired person on limited income, it is very disappointing to me that Adobe have introduced the 'Creative Cloud' (CC) subscription service in order for me to be able to continue upgrading this excellent product. It will be for me too expensive at the minimum cost of £9 per month. The additional services that CC brings are personally of no relevance or usefulness. Adobe should be prepared to support existing users who are, like myself, non commercial, amateur photographers by giving them the simple opportunity to upgrade to Lightroom 6 as a standalone, perpetual licence product. As a member of a camera club I know my co-members who use Lightroom are equally disappointed by this move to a subscription-only service.

    john beardsworth wrote:
    John Waller wrote:
    However, Adobe will soon introduce Cloud only features into Lightroom CC for which LR6 (perpetual license) owners will have to wait until LR7 (paid upgrade).
    That is possible, John, but it is only speculation on your part. Might, not will.
    kwdaves wrote:
    There is a "Lightroom 6" upgrade available for US $79 if you have a valid license for any of the earlier versions. From what I can tell, the only difference between Lightroom 6 Full, Lightroom 6 Upgrade and LightroomCC is in the license. The download file is the same.
    Other differences - with CC you get LrMobile/LrWeb and they throw in a free copy of Photoshop too.
    Yes, but when I bought my standalone license and clicked on the "Download" button it took me to the LightroomCC page. The downloaded file is named Lightroom 6, but in the CC app the installed program is LightroomCC (2015).

  • I am having serious issues trying to alter my old iCloud account with an old non-functioning email to my new apple id with a new email address. The message keeps coming up on all my apple products with my old email (which is not available anymore).

    I am having serious issues trying to alter my old iCloud account with an old non-functioning email to my new apple id with a new email address. The message keeps coming up on all my apple products with my old email (which is not available anymore).

    I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
    The old email address no longer exists - I haven't used it in a year probably and I no longer have the account.  I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there.  On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back.  Every 2 seconds I am asked to log in using the old non-existent email.  The device is currently useless.
    The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
    Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option?

Maybe you are looking for

  • How to copy image from client machine to server machine?

    Hi , Im doing a project in web applications...im using tomcat 5.0....when clients (using different machine) upload a image i need to make a copy of that in my "webapps" folder...can u help to solve it? The following code is working only in my machine

  • Running Safari 6.0.2 - Mac OS 10.7.5

    My MBP will not update Adobe flash player - What is the story here? I am not particularly adept at stuff like this.  I need a step by step list or is there something to buy to fix this for me. Very frustrating. Thanks for any help.

  • CS3 Installer asks for non-existent DVD drive

    I'm running CS3 on Windows XP. I need to reinstall because I somehow lost codecs for Premiere Pro. Whenever I try to reinstall, the CS3 installer puts up an Installer Alert that asks me to insert CS3 Master Collection Disc 1 into drive G:\ to continu

  • Colors not bright

    My colors don't show up brightly while on illustrator? No idea why.. I'll go for the brightest option possible and i exit out of the window and it's dull

  • Setting PREFIX for DIMENSION_TABLE using OMB Scripting

    I'm trying all day to find a way to set PREFIX for DIMENSION_TABLE using OMB script without success and I'm a little confused now. First of all Scripting Reference does not mention about PREFIX property so maybe there is no way to achieve what I want