WLS 5.1 not error with jdk 1.4 ???

Hi,
Ive just upgrading the jdk from 1.3 to 1.4 and got alot of errors.
Im using the Bea Weblogic Server 5.1!
Just at startup I got a VerifyError.
And som other exception I got is: java.lang.NoClassDefFoundError: com/sun/java/util/collections/ArrayList
Is WLS5.1 not compatible with J2SE (ver 1.4) ??
When I change back to 1.3 everything is going fine.
Error 1:
java.lang.VerifyError: class weblogic.iiop.IIOPOutputStream overrides final method

This is the platform support page and 1.4 is not listed for any Weblogic version...
http://www.weblogic.com/platforms/index.html
So if you want 1.4 you'll have to wait for a version that supports it.
There was a guy that posted a link to a document on how to run 6.x with 1.4 but it's still unsupported so
it's not recommended.
--dejan
John wrote:
Hi,
Ive just upgrading the jdk from 1.3 to 1.4 and got alot of errors.
Im using the Bea Weblogic Server 5.1!
Just at startup I got a VerifyError.
And som other exception I got is: java.lang.NoClassDefFoundError: com/sun/java/util/collections/ArrayList
Is WLS5.1 not compatible with J2SE (ver 1.4) ??
When I change back to 1.3 everything is going fine.
Error 1:
java.lang.VerifyError: class weblogic.iiop.IIOPOutputStream overrides final method

Similar Messages

  • Why Oracle 8i is not Working with JDK 1.3

    Why Oracle 8i is not Working with JDK 1.3 by using JDBC.

    try this
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:"somedsn","scott","tiger");
    I am using this for Oracle, it is working for me.
    Uma
    Java Developer
    http://www.globalleafs.com

  • Is weblogic 8.1 not compatible with JDK 1.5?

    Hi ,
    I am trying to run the weblogic 8.1 with JDK 1.5?
    Is it possible?Is it recommonded?
    I am getting the following exception at start up... I had changed the start up files to point to JDK 1.5.
    java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUI
    D = 7043855487133450673, local class serialVersionUID = 8644704819898565848
    at java.io.ObjectStreamClass.initNonProxy(Ljava.io.ObjectStreamClass;Ljava.lang.Class;Ljava.lang.ClassNotFoundExceptio
    n;Ljava.io.ObjectStreamClass;)V(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Z)Ljava.io.ObjectStreamClass;(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Z)Ljava.io.ObjectStreamClass;(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Z)Ljava.io.ObjectStreamClass;(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Z)Ljava.io.ObjectStreamClass;(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Z)Ljava.lang.Object;(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
    at java.io.ObjectInputStream.readArray(Z)Ljava.lang.Object;(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Ljava.lang.Object;Ljava.io.ObjectStreamClass;)V(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Ljava.lang.Object;Ljava.io.ObjectStreamClass;)V(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Z)Ljava.lang.Object;(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
    at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
    at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:261)
    at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:366)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:130)
    at weblogic.management.AdminServer.<init>(AdminServer.java:59)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:771)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    at weblogic.Server.main(Server.java:32)
    Is weblogic 8.1 not compatible with JDK 1.5?
    Thanks in advance,
    Binu

    Hi,
    I was trying WL 8.1 SP4 and was trying to run some classe within a encyption security jar that requires jre1.6. So for this can I mapped it in server prop the higher version and referred it in sever config files but still I am having the same problem. The exception dump is given below .... any help from the BEA side will be appreciated.
    <Quote>
    WebLogic XMLX Module 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647 >
    The WebLogic Server did not start up properly.
    java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUI
    D = 7043855487133450673, local class serialVersionUID = 8644704819898565848
    at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
    at javax.management.MBeanInfo.readObject(MBeanInfo.java:669)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:261)
    at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:366)
    at weblogic.management.internal.ConfigurationMBeanImpl.<init>(ConfigurationMBeanImpl.java:130)
    at weblogic.management.AdminServer.<init>(AdminServer.java:59)
    at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:245)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:771)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    at weblogic.Server.main(Server.java:32)
    <Unquote>
    Bye
    Bappa

  • HAT 1.1 and HPROF not working with JDK 1.5

    I'm using JDK 1.5.0_05, and I run HPROF with these args passed to the JVM:
    -Xrunhprof:heap=sites,depth=8,monitor=n,thread=n,doe=y,format=b
    When I try to read the binary file output I get the following error:
    C:\dev\142\sfdc>java -jar c:\HAT\bin\hat.jar c:\dev\142\sfdc\java.hprof
    Started HTTP server on port 7000
    Reading from c:\dev\142\sfdc\java.hprof...
    Dump file created Thu Feb 09 17:10:38 PST 2006
    Snapshot read, resolving...
    Resolving 0 objects...
    WARNING: hprof file does not include java.lang.Class!
    Exception in thread "main" java.lang.NullPointerException
    at hat.model.JavaClass.resolve(JavaClass.java:68)
    at hat.model.Snapshot.addFakeClass(Snapshot.java:73)
    at hat.model.Snapshot.resolve(Snapshot.java:111)
    at hat.Main.main(Main.java:158)
    I've also tried using JDK 1.5.0_04 and JDK 1.5.0_01. I've reduced the depth param to depth=4. Nothing gets rid of that error.
    Can HAT work with JDK 1.5?

    Ok, I finally managed to solve this problem. What was happening was that IPv6 was installed on this computer, and as a result Java was trying to do a DNS lookup using a IPv6 socket and failing. With the help of TracePlus Winsock, I discovered that internall Java's InetAddress.getByName does this:
    WSAStartup
    socket(INET6)
    getaddrinfo
    WSACleanup
    Two solutions are possible - either set the system preference java.net.preferIPv4Stack to true, or uninstall the IPv6 stack. Since I couldn't find a way to set the system preference in a persistent manner (apart from passing in an argument on the java command line), I uninstalled the IPv6 stack.
    Hope this helps someone else.
    Peter

  • XSLT with java extensions not working with jdk 1.6

    Hi,
    in as XSL transformation I'm using java functions in some cases. With jdk1.5 this works fine. But when switching to jdk1.6 it seems the java classes are not properly initialized.
    See following simple XSL:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:java="http://xml.apache.org/xalan/java" exclude-result-prefixes="java">
         <xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
         <xsl:template match="/">
         <xsl:variable name="counter" select="java:java.util.Vector.new()"/>
         <xsl:variable name="temp1" select="java:add($counter,'1')"/>
         <xsl:variable name="temp2" select="java:add($counter,'2')"/>
         <xsl:variable name="temp3" select="java:add($counter,'3')"/>
         <xsl:value-of select="java:size($counter)"/>
         <xsl:value-of select="java:toString($counter)"/>
         </xsl:template>
    </xsl:stylesheet>
    With jdk 1.5 it creates following output:
    3
    [1, 2, 3]
    With jdk 1.6 I get:
    0
    So I can access the object in jdk 1.6 but adding doesn't work.
    Anybody has an idea what could be wrong or how to fix this?

    thanx this is the solution. With this construct
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:java="http://xml.apache.org/xalan/java" exclude-result-prefixes="java">
         <xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
         <xsl:template match="/">
         <xsl:variable name="counter" select="java:java.util.Vector.new()"/>
         <xsl:variable name="temp1" select="java:add($counter,'1')"/>
         <xsl:variable name="temp2" select="java:add($counter,'2')"/>
         <xsl:variable name="temp3" select="java:add($counter,'3')"/>
         <xsl:variable name="temp4" select="$temp3"/>
         <xsl:value-of select="java:size($counter)"/>
         <xsl:value-of select="java:toString($counter)"/>
         </xsl:template>
    </xsl:stylesheet>
    at least the '3' is added to the vector.

  • Deployment Error with jdk 5 and oc4j_extended_101320.zip

    Hello,
    I get the following error when I try to deploy my application using jdk 5 and oc4j (oc4j_extended_101320.zip) . I am sure no references of jdk1.4 are being used anywhere. I also tried deleting the persistence directory to make sure there are no lock files anywhere , but in vain. I am stuck with this problem and I urgently need a solution to get past this. Any help in this regard is appreciated. Thanks. Here is the stack trace.
    This load was initiated at sim.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    07/12/31 01:19:17 WARNING: DeployerRunnable.run java.lang.InstantiationException: Application: sim is in failed state as initialization failedoracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
         at com.evermind.server.Application.setConfig(Application.java:497)
         at com.evermind.server.Application.setConfig(Application.java:340)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         ... 4 more
    Caused by: java.lang.InstantiationException: Error initializing ejb-modules: [sim:oracle_sim_closed_ejb:Transfer] - Unable to load ejb-class oracle.retail.sim.closed.transfer.ejb.TransferEjb, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: oracle.retail.sim.closed.transfer.ejb.TransferEjb
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /D:/jdk5andOc4j/OC4J/oc4j_extended_101320/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in D:\jdk5andOc4j\OC4J\oc4j_extended_101320\j2ee\home\oc4j.jar

    For internal questions please use the internal mailing lists...
    --olaf                                                                                                                                                                                       

  • WLS 10.3.5 error with JMS

    <entry key="java.naming.factory.initial" value="${xyz.JavaNamingFactoryInitial}" />
    <entry key="java.naming.provider.url" value-ref="foresightconnectionurl" />
    <entry key="java.naming.security.principal" value="" />
    <entry key="java.naming.security.credentials" value="" />
    </map>
    </property>
    </bean>
    When i use these settings in my local weblogic 10.3.5 server to Listen to a TOPIC - it works fine !!I receive messages
    But when the same is deployed in another environment with the same version of weblogic - we dont receive any messages instead the following warning keeps popping up:
    org.springframework.jms.listener.DefaultMessageLis tenerContainer - Could not refresh JMS Connection for destination 'JMSModule1!ForeSightJMSUserRequestedData Topic' - retrying in 120000 ms. Cause: [Security:090398]Invalid Subject: principals=[weblogic, Administrators]
    Strange thing is the same settings worked for Spring 2.5.6 version with out the credentials
    <bean id="jndiTemp" class="org.springframework.jndi.JndiTemplate">
    <property name="environment">
    <map>
    <entry key="java.naming.factory.initial" value="${xyz.JavaNamingFactoryInitial}" />
    <entry key="java.naming.provider.url" value-ref="foresightconnectionurl" />
    </map>
    </property>
    </bean>
    Note : in spring 2.5.6 we did not provide pricipal and credentials.But if i try the same with 3.05 release i get the following error.
    <Apr 16, 2012 7:29:29 PM MDT> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: :org.springframework.beans.PropertyBatchUpdateExce ption:Failed properties: Property 'bus' threw exception; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'xyzTopicConnectionFactory' defined in class path resource [org/ihc/idea/ccc/consentwrapper/appcontext.xml]: Invocation of init method failed; nested exception is java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[USER, Administrators]; Property 'transportIds' threw exception; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'foreSightTopicConnectionFactory' defined in class path resource [org/ihc/idea/ccc/consentwrapper/consentwrapper.xml]: Invocation of init method failed; nested exception is java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[USER, Administrators]
    at org.springframework.beans.AbstractPropertyAccessor .setPropertyValues(AbstractPropertyAccessor.java:1 02)
    USER is my user ID .
    Is this because our DEV environment WLS does not allow anonymous access?
    What should be done to make WLS to allow anonymous access?
    Edited by: 928049 on Apr 16, 2012 8:49 PM

    You have two options:
    OPTION 1: Enable Anonymous Admin Lookup
    We have an option in WebLogic Server Security Configuration called AnonymousAdminLookupEnabled (Domain > Security > General). By default this is diabled. You can check the flag to enable it.
    For further information,
    http://docs.oracle.com/cd/E23943_01/web.1111/e13707/domain.htm#i1174143
    OPTION 2: Pass the username and password credentials. OR setup cross-domain security.
    Check the below documentation
    http://docs.oracle.com/cd/E23943_01/web.1111/e13707/domain.htm#i1176046
    Arun

  • Error with JDK 1.3.1_02

    Can anyone help with this somple problem. I have just downloaded JDK 2 1.3.1_02 and run a simple input program with the latest version of JDK Commander.
    The following error keeps coming up in regards to Course_io:
    Heres the program and beneath is the error that keeps coming up when javac is run.
    /*program that reads in grades and then displays the total amount of
    pupils with those grades*/
    import java.io.*;
    class Excercise_4_3
         public static void main(String[]args)
              throws IOException
         int grade_1_count=0, grade_2_count=0,grade;
         System.out.println("Input the Grade or negative number or 0 to termintate");
         grade=Course_io.readInt();
         while(grade>=1)
              if(grade==2)
                   grade_2_count=grade_2_count+1;
              else if(grade==1)
                   grade_1_count=grade_1_count+1;
              else if(grade>2)
                   System.out.println("You can only enter grade 1 or 2");
              else
                   grade_1_count=grade_1_count+0;
                   grade_2_count=grade_2_count+0;
                   System.out.println("Enter a grade or negative number or 0 to terminate");
                   grade=Course_io.readInt();
              System.out.println("Number of pupils with grade 1 are "
                             +grade_1_count);
              System.out.println("Number of pupils with grade 2 are "
                             +grade_2_count);
    Heres the error when Javac is run:
    I think that the problem is that Course_io is not been imported when import java_io*;is commanded.
    I have tried executing the JDK commander with different folders from the JDK 2 1.3.1_02 but no luck there.
    javac -d . -g "C:\Java Pracs\Excercise_4_3.java"
    C:\Java Pracs\Excercise_4_3.java:11: cannot resolve symbol
    symbol : variable Course_io
    location: class Excercise_4_3
         grade=Course_io.readInt();
    ^
    C:\Java Pracs\Excercise_4_3.java:33: cannot resolve symbol
    symbol : variable Course_io
    location: class Excercise_4_3
                   grade=Course_io.readInt();
    ^
    2 errors
    Some help will be really appreciated.
    Thanks
    G Engelbrecht

    1. Is Course_io a class in the same directory as the other source file
    2. if yes then is readInt() a static method of the class Course_io. If not then u need to create an instance of Course_io and then call readInt() on it.
    3. Could u please post the structure of the other class file.
    Plz format u'r src before posting. Makes our lives easier
    :-)

  • Out of memory Error with jdk 1.6

    Hello,
    I have a swing application launched on the client with the help of Java web start. The applications works fine in jre 1.4 and jre 1.5. The heap sizes are :
    initial-heap-size="5m" max-heap-size="24m"
    But when I run this using jre 1.6.0_05-b13, I am getting Out of memory Error, java heap size. And I see the memory usage is growing rapidly which I didn't notice in other jre versions (1.4 and 1.5).
    Does anyone have any idea on this?
    Thanks in advance,
    MR.

    Thanks for your response Peter. During my continuous testing I identified that error happens on jdk 1.5 also. And I have increased the min-heap-size to 24 MB and max-heap-size to 64 MB. But in that case also I noticed the out of memory error. The interesting thing is, the min-heap-size is never increased from 24MB and lot of free memory also.
    Memory: 24,448K Free: 12,714K (52%) ... completed.
    The Outofmemoryerror triggers from the reader thread which does the job of reading the data from the InputStream. One thing is we are continuously pushing more data on the output stream from the other end. Is that any limitation on InputStream which can hold some definite amount of data.
    Please throw some light on this.

  • Errors with JDK source file

    I'm extremely new to JAVA. I just installed JDK 6 and JRE on Windows XP and typed java ~version at the command prompt and got this error: Exception in thread "main" java.lang.NoClassDefFoundError: ~version caused by: java.lang.ClassNotFoundException: ~version at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Can anyone please help? I've seen many examples on setting the path, but not sure what is correct.

    java -versionHyphen not tilda.

  • Iwcadmin error with JDK/JRE version

    hi,
    I encountered this problem when executing iwcadmin utility ./iwcadmin -V in SJM on Sun Solaris , an error prompt displays "
    Java runtime at /opt/ca/sharedutils/JRE/1.4.2_09 is below minimum requirement of 1.5.0
    Please make sure the Java runtime at standard location meets the
    minimum requirement, or set JAVA_HOME to point to an installation that does.
    here is the OS and other JDK / JRE path available in the system.
    other jdk5 : /usr/jdk/jdk1.5.0_16/ or jre5 /usr/jdk/jdk1.5.0_16/jre
    uname -srv
    SunOS 5.10 Generic_137137-09
    How can I make it use the jdk5/jre5 or at least temporarily during my user session?

    Not sure which shell you are using but ....
    CSH: set JAVA_HOME=/usr/jdk/jdk1.5.0_16
    KSH or BASH: export JAVA_HOME=/usr/jdk/jdk1.5.0_16
    then just invoke "iwcadmin"

  • DNS Resolver not working with JDK 1.5.0_6 and Windows 2003

    I have a Windows Server 2003 machine which now has Java JDK 1.5.0_6 installed on it. Somehow the DNS resolver doesn't work - every call to InetAddress.getByName("host") throws an UnknownHostException. I've tried de-installed java and re-installing, but the problem remains. No traffic seems to be generated (i.e. no packets to port 53) when getByName() is called. I don't have any kind of firewall on the Windows Server 2003 machine.
    Has anyone ever seen this kind of behaviour / problem before and know of a solution?
    Thanks,
    Peter

    Ok, I finally managed to solve this problem. What was happening was that IPv6 was installed on this computer, and as a result Java was trying to do a DNS lookup using a IPv6 socket and failing. With the help of TracePlus Winsock, I discovered that internall Java's InetAddress.getByName does this:
    WSAStartup
    socket(INET6)
    getaddrinfo
    WSACleanup
    Two solutions are possible - either set the system preference java.net.preferIPv4Stack to true, or uninstall the IPv6 stack. Since I couldn't find a way to set the system preference in a persistent manner (apart from passing in an argument on the java command line), I uninstalled the IPv6 stack.
    Hope this helps someone else.
    Peter

  • 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

  • HTTPS error in JDK.1.4. Advice needed please.

    Hello,
    I am using JDK 1.4. with JSSE 1.2.
    I have created a test server certificate and would like to transfer data over HTTPS using Tomcat 3.2.4
    However,when compiling the 'HttpsHandler' class with jdk1.4 I am getting an error which I was not getting with jdk 1.2.2.
    The Error while compiling is in jdk 1.4 :
    HttpsHandler.java:250: reference to X509TrustManager is ambiguous, both class com.sun.net .ssl.X509TrustManager in com.sun.net.ssl and class javax.net.ssl.X509TrustManager in javax.net.ssl match
    static class RelaxedX509TrustManager implements X509TrustManager
    ^
    HttpsHandler.java:103: reference to HttpsURLConnection is ambiguous, both class com.sun.net.ssl.HttpsURLConnection in com.sun.net.ssl and class javax.net.ssl.HttpsURLConnection in javax.net.ssl match
    HttpsURLConnection hpCon=null;
    ^
    HttpsHandler.java:139: reference to KeyManager is ambiguous, both class com.sun.net.ssl.KeyManager in com.sun.net.ssl and class javax.net.ssl.KeyManager in javax.net.ssl match
    KeyManager[] km = null;
    ^
    In my HTTPSHandler Class, I have added the code to trick the server
    into accepting the server certificate which works fine with jdk1.2
    and JSSE 1.02.
    My HttpsHandler code is as follows:
    public class HttpsHandler
    public static String ec(String sMess)
    String response=null;
    try {
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
    URL url;
    String uri = "https://" + sURL + ":8443/AHTTPS_USERPWD/servlet/Recieve_Https_Data";
    url = new URL(uri);
    HttpsURLConnection hpCon=null;
    try {
    KeyManager[] km = null;
    TrustManager[] tm = {new RelaxedX509TrustManager()};
    SSLContext sslContext = SSLContext.getInstance("SSL");
    sslContext.init(null, tm, new java.security.SecureRandom());
    SSLSocketFactory sslSF = sslContext.getSocketFactory();
    hpCon = (HttpsURLConnection)url.openConnection();
    hpCon.setSSLSocketFactory(sslSF);
    }catch(Exception e){}
    static class RelaxedX509TrustManager implements X509TrustManager
    public boolean checkClientTrusted(java.security.cert.X509Certificate[] chain)
    return true;
    public boolean isServerTrusted(java.security.cert.X509Certificate[] chain){
    return true;
    public boolean isClientTrusted(java.security.cert.X509Certificate[] chain){
    return true;
    public java.security.cert.X509Certificate[] getAcceptedIssuers() {
    return null;
    public void checkClientTrusted(java.security.cert.X509Certificate[] chain, String authType) {}
    public void checkServerTrusted(java.security.cert.X509Certificate[] chain, String authType) {}
    Please can any one advice or tell me why isnt the code compiling with
    jdk1.4
    A response is much appreciated...
    [email protected]

    I think your problem is with the fact that the JSSE is now part of the JDK 1.4. It sounds like you still have the JSSE jars in your classpath.
    When the JSSE was integrated with 1.4, the package names changed from com.sun.whatever to javax.whatever.
    At this point you want to get rid of any old JSSE jar files and replace the references in your code that refer to com.sun.whatever to javax.whatever.
    Cheers
    Brian

Maybe you are looking for