Kerberos with JDK1.3.1_04

Hi,
Can anyone please tell me how to make kerberos work with jdk1.3.1_04. I searched in the forum and several other places for the answer but could not find any. Your help is needed. I tried with jaas.jar & jndi.jar in <JAVA_HOME>/jre/lib/ext but it still complains about the class krb5LoginModule. Then just as a try I created a jar file with all the necessary krb5 classes and tried then it gives follwoing exception
javax.security.ServletException: sun/com/security/auth/module/Krb5LoginModule (Unsupported major.minor version)
Can you please suggest me how to make this(kerberos v5 authentication) working with jdk1.3.1_04
Thanks in advance,
Pradeep

Any insight on this?

Similar Messages

  • Weblogic 10.0 Comatability with JDK1.6

    I have installed weblogic 10.0 on unix machine. And when i istalled it JDK1.5 will automatically installed with it inside weblogic folder.
    And when i create a new instance of weblogic with existing JDK1.5 the instace will start properly and application executes also.
    But when i point the weblogic to JDK1.6 at the time of instace creting. it will not work properly. When i stop the server below error is display.
    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
            java.io.StreamCorruptedException: invalid type code: 88]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:32)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:773)
    org.python.pycode._pyx18.f$0(/newpluto/weblogic10/bea/citiSchedPayliteDomain/vb2java/shutdown.py:1)
    at org.python.pycode._pyx18.call_function(/newpluto/weblogic10/bea/citiSchedPayliteDomain/vb2java/shutdown.py)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyCode.call(PyCode.java:14)
    at org.python.core.Py.runCode(Py.java:1135)
    at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
    at weblogic.management.scripting.WLST.main(WLST.java:106)
    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 weblogic.WLST.main(WLST.java:29)
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 88
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:222)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
    at weblogic.common.internal.RMIBootServiceImpl_1002_WLStub.authenticate(Unknown Source)
    at weblogic.security.acl.internal.Security$1.run(Security.java:185)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:181)
    My question is that Weblogic 10.0 is only comapatable with jdk1.5 only or either any way so we can point it to JDK1.6

    WLS 10.0 is not supported for JDK 6.
    This is strict violation that you need to use only JDK 5

  • JTable selection problem with jdk1.5.0_05

    Today I tried the new jdk1.5.0_05 release and noticed with a JTable I can only select a single column and row with the mouse. With jdk1.5.0_05 I could select multiple cols and rows with the mouse. I looking at the listselectionmodel for the jtable i see it is set to mulitple. Is this a bug in the new java 1.5 release?

    Yeah, the .jar files are definitely there and the
    small class I just wrote is in the Classes directory.Yes, but you're calling javac.exe, not some jars. Did you check that javac.exe is there? Stupid question, yes, but I've seen it all...
    I changed the path in Control Panel -> System ->
    Advanced -> Environment Variables. I've also beendoing this is the command prompt:
    set
    CLASSPATH=%CLASSPATH%;C:\Java\jdk1.5.0\bin;C:\Java\Cla
    ssesNo need to add the /bin directory to the classpath, there are no classes in it...

  • Java webdynpro development with jdk1.5.7

    hi,
    I have installed the CE server and the Netweaver Developer Studio, to try some java developments.
    I was working with jdk1.5.7, but the server has only version 1.5.017.
    Is it possible to upgrade the java in the server, so it can work with the current jdk version?
    thx,
    Erik

    hi again,
    I could solve the problem:
    in the developer studio you can chose to compile for lower versions.
    To do so, go to windows>preferences>java-->compiler and chose compliance level 5 or 1.4(it was on 6), and now the development works fine.

  • Signed applet with jdk1.4.2

    Hello, friends! I'm having difficulties running an applet with jdk1.4.2. This applet was working properly with the previous version, jdk1.4.1. Perhaps I've forgotten some details or some changes in the new version. Any idea?
    Thank you.

    Hi there,
    I am also facing similar problem. Please read the following.
    I have a query regarding JRE 1.4.2_03. What does it have, which makes it differ from JRE 1.4.1_02 ? Actually, I am asking this question, because I have a signed JApplet where, user's select a file displayed in client JApplet's JTable and stores it to the specified location on his/her local drive. The JApplet runs perfectly well running in IE 6.0 with JRE 1.4.1_02. But, gives error on IE 6.0 with JRE 1.4.2_03.
    Any help regarding the same will be helpful...
    I tried a Signed applet with no GUI in it which runs well on JRE 1.4.2_03.
    Both the applets are signed with jdk1.1.6.
    Thanking you in advance,
    Ganesh A Baviskar.

  • Weblogic 5.1 SP8 with JDK1.3 installed as an NT Service Fails

    I've just completed the installation of sp8 of Weblogic Server. I used wlconfig to set the environment parameters as outlined in the sp8_readme.html file. I have Weblogic Server installed as a NT Service. When I start the service with Weblogic configured to use JDK1.2 it works just fine. However, when I switch Weblogic to use the JDK1.3, using wlconfig, I receive an Application error stating:"The instruction at "0x04e4d0d6" referenced memory at "0x00000000". The memory could not be written."If I start the WEblogic Server from the command line and configure the environment to use the JDK1.3, everything works fine. It's only when you are trying to run the Weblogic server as an NT Service.Any suggestions?

    I don't think this problem was specific at all to SP8 - I ran into
    this with an earlier version of the fixpack and just decided to run it
    from the startweblogic.cmd file, instead. I never did try to set the
    compiler to none as you did. BTW - it wasn't just as a service that
    this problem existed for me - it also happened if you used the program
    shortcut to start the server - i.e. any way you started it that used
    those registry settings would experience the problem.
    How has the stability been under 1.3 - have you seen any problems with
    that? I was running with 1.3 and the Sun Server Hotspot VM and the
    server kept crashing after just a few pages being displayed from my
    site. This problem could have also been the -noclassgc switch though
    since with that switch I was still seeing the problem under 1.2 - just
    not as fast.
    On Tue, 23 Jan 2001 09:49:05 -0800, "Christopher A. Mathrusse"
    <[email protected]> wrote:
    Seeing as no one has come up with a solution for me, I thought I would at
    least post the fix. If you use JDK1.3 with WLS and are running the server as
    an NT Service, you will need to set your JAVA_HOME value to the JDK1.3 using
    wlconfig, and then set your java.compiler=NONE using
    wlconfig -Djava.copiler=NONE. After completing these changes, WLS will run
    as a service with JDK1.3.
    "Christopher Mathrusse" <[email protected]> wrote in
    message news:[email protected]...
    I've just completed the installation of sp8 of Weblogic Server. I usedwlconfig to set the environment parameters as outlined in the
    sp8_readme.html file. I have Weblogic Server installed as a NT Service. When
    I start the service with Weblogic configured to use JDK1.2 it works just
    fine. However, when I switch Weblogic to use the JDK1.3, using wlconfig, I
    receive an Application error stating:"The instruction at "0x04e4d0d6"
    referenced memory at "0x00000000". The memory could not be written."If I
    start the WEblogic Server from the command line and configure the
    environment to use the JDK1.3, everything works fine. It's only when you are
    trying to run the Weblogic server as an NT Service.Any suggestions?

  • XSQL with jdk1.2.2 - javai.dll error

    I successfully used the xsqlCommandLine utility with jdk1.1.7. When I try with jdk1.2.2, I get an error that javai.dll is not in the path. If I put javai.dll from the 1.1.7/jre/bin in my path, the xsqlCommandLine process runs without end, as if windows (NT) is searching for something else. I'm using the latest classes12.zip and the xmlparserv2.jar files. Any help?
    Thanks.

    robert strzelinski (guest) wrote:
    : Running a small sample program to test connection to Oracle
    : 7.3.4 server. Works OK using thin client connection mode. Using
    : OCI connection causes run-time exception labelled:
    : "java.exe - Unable To Locate DLL"
    : The text in the popup complains of not finding the dynamic link
    : library "javai.dll".
    : This DLL does not exist anywhere in my java distribution tree.
    : What is this library, where does it come from, and where should
    : it be found?
    : -- rjs
    no oracle jdbc oci driver for jdk 1.2 yet ---
    also --
    The only oracle JDBC driver that can run with JDK 1.2.x is in the
    OTN download area and is named "816SDK for JDK 1.2"
    it will work with the JDK 1.2.X using the JDBC 1.22 spec from JDK
    1.1.X.
    IT DOES NOT PROVIDE THE FULL JDBC 2.0 FEATURES/ FUNCTIONALITY
    THAT ARE INCLUDED IN THE JDK 1.2.X CLASSES.
    you're using a jdk 1.2.x/jdbc 2.0 feature -- which is anticipated
    to be included in the 816 driver later this year -- it's not in
    the "816SDK" JDBC driver you're using now..
    816SDK can be thought of as stepping stone between 815 using jdk
    1.1.x and 816 supporting jdk 1.1.x and 1.2.x.
    i think of it as "8.1.5 and a half" to avoid the naming confusion
    between "816sdk" and "816" .
    SEE the following FAQ link for additional details :
    http://technet.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
    i hope this helps ...
    null

  • Oracle 8i connectivity with JDK1.4.2 - Failure - Help Needed

    I'm new to Java-ORACLE connectivity.
    I have installed Oracle 8i v8.1.5 in my Windows 2K Adv. Server with JDK1.4.2.
    But I could connect to Oracle from Java neither thru JDBC-ODBC nor JDBC thin drivers.
    What are the files ( or classes ) needed for connectivity and where can I download them.
    Do the Oracle8i 8.1.7 JDBC drivers have backward compatibility with Oracle8i 8.1.5 ?
    Please help me in this regard with utmost information possible and sample code.
    Thanks in Advance.
    Hara Gopal

    For your kind information (more)
    When I used JDBC-ODBC Bridge,
    It just gave an error message : [Microsoft ODBC for Oracle]
    and
    when I tried the command at DOS prompt,
    javap oracle.jdbc.driver.OracleDriver
    it gave message ERROR: javap oracle.jdbc.driver.OracleDriver could not be found
    Please Help me
    Hara Gopal

  • Problem with jdk1.3 and WLS5.1.0

    I have a problem a when I start WLS5.1.0 with jdk1.3.0
    I get AccessControlException when I try to create connection pool.
    <WebLogicServer> Failed to invoke startup
    class weblogic.jdbc.common.internal.JdbcStartup=weblogic.jdbc.common.inte
    rnal.JdbcStartup
    java.security.AccessControlException: access denied (java.sql.SQLPermission
    setLog)
    at
    java.security.AccessControlContext.checkPermission(AccessControlContext.java
    :272)
    at
    java.security.AccessController.checkPermission(AccessController.java:399)
    at
    java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.sql.DriverManager.setLogStream(DriverManager.java:397)
    at weblogic.jdbc.common.internal.JdbcInfo.initLog(JdbcInfo.java:66)
    atweblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:187)
    at
    weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at
    weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)Thanks in Advance,
    Anil
    RealPrompt, Inc.
    575 Harrison Street, Suite 206
    San Francisco, CA 94105
    415.546.5600 ext. 204
    415.546.0202 fax
    510.526.6508 Res.
    http://www.realprompt.com

    Check the documentation on how to correctly configure your policy file.
    Michael Girdley
    BEA Systems Inc
    "Anil Kumar Kona" <[email protected]> wrote in message
    news:39d29030$[email protected]..
    I have a problem a when I start WLS5.1.0 with jdk1.3.0
    I get AccessControlException when I try to create connection pool.
    <WebLogicServer> Failed to invoke startup
    class weblogic.jdbc.common.internal.JdbcStartup=weblogic.jdbc.common.inte
    rnal.JdbcStartup
    java.security.AccessControlException: access denied
    (java.sql.SQLPermission
    setLog)
    atjava.security.AccessControlContext.checkPermission(AccessControlContext.jav
    a
    :272)
    at
    java.security.AccessController.checkPermission(AccessController.java:399)
    at
    java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.sql.DriverManager.setLogStream(DriverManager.java:397)
    at
    weblogic.jdbc.common.internal.JdbcInfo.initLog(JdbcInfo.java:66)
    atweblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:187)
    at
    weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at
    weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)Thanks in Advance,
    Anil
    RealPrompt, Inc.
    575 Harrison Street, Suite 206
    San Francisco, CA 94105
    415.546.5600 ext. 204
    415.546.0202 fax
    510.526.6508 Res.
    http://www.realprompt.com

  • Is there any change in the constant pool entires with JDK1.4?

    Hi,
    Here is my simple java class,
    class Base
    String manuf = "MRF";
    class Derived extends Base
    Derived() {
    manuf = "ABC";
    After compiling this class with JDK 1.3 and JDK1.4, i could see the difference in constant pool entries
    so please let me know more about these cahnges.
    P.S. : written a java program TClass.java to browse the constant pool entries.
    i.e if compiled with JDK1.3 , constant pool entries looks as follows,
    E:\bugs\jdk1.4\pramila>java TClass E:\bugs\jdk1.4\pramila\Derived.class
    There are 21 + 1 entries in the Constant Pool:
    Index Tag Reference(s)/Value(s)
    1 10 5 15
    2 8 16
    3 9 5 17
    4 7 18
    5 7 19
    6 1 <init>
    7 1 ()V
    8 1 Code
    9 1 LineNumberTable
    10 1 LocalVariableTable
    11 1 this
    12 1 LDerived;
    13 1 SourceFile
    14 1 Test.java
    15 12 6 7
    16 1 ABC
    17 12 20 21
    18 1 Derived
    19 1 Base
    20 1 manuf
    21 1 Ljava/lang/String;
    There are 1 methods:
    Code array in method <init> of length 11 starting at byte 231.
    If compiled with JDK1.4 constant pool entries looks as follows,
    E:\bugs\jdk1.4\pramila>java TClass E:\bugs\jdk1.4\pramila\Derived.class
    There are 21 + 1 entries in the Constant Pool:
    Index Tag Reference(s)/Value(s)
    1 10 5 15
    2 8 16
    3 9 4 17
    4 7 18
    5 7 19
    6 1 <init>
    7 1 ()V
    8 1 Code
    9 1 LineNumberTable
    10 1 LocalVariableTable
    11 1 this
    12 1 LDerived;
    13 1 SourceFile
    14 1 Test.java
    15 12 6 7
    16 1 ABC
    17 12 20 21
    18 1 Derived
    19 1 Base
    20 1 manuf
    21 1 Ljava/lang/String;
    There are 1 methods:
    Code array in method <init> of length 11 starting at byte 231.
    There is a change in the index 3 can be noticed.
    i.e
    with JDK1.3 it is "3 9 5 17"
    with JDK1.4 it is "3 9 4 17"
    Thanks in advance.
    Pramila

    javac v1.4 emits by default Java 1.2 compatible .class files while all javac implementations since between 1.1.0 and 1.3.1 emit byte default Java 1.1 .class files.
    Check to see what effect using the -target option in javac to get the two versions to produce Java 1.1, 1.2, or 1.3 .class files.
    Chuck

  • How to start weblogic with jdk1.4.0

    anybody can tell how to start weblogic with jdk1.4.0 correctly?

    "jacky" <[email protected]> wrote in message news:<[email protected]>...
    anybody can tell how to start weblogic with jdk1.4.0 correctly?Take a look at:
    http://www.genuitec.com/products/JDK14_WLS61.pdf

  • Configure CRS2008 to using AD and Kerberos with Java application servers.

    Hi All,
    I have configure CRS2008 to using AD and Kerberos with Java application servers. Domain Controller is installed on W2K3 Server. In addition, CRS2008 is installed on another W2k3 Server.
    I have create service account in domain controller: CMSACC
    I have create two user account: CRuser1 and CRuser2
    I have create domain group: CRSGroup
    After I had run the setspn in domain controller,I got the message at below:
    Registered ServicePrincipalNames for CN=CMSACC, OU=TEST, DC=BD, DC=com:
        BOBJCentralMS/BDMGTSRV.BD.com
    CMC Setting:
    AD Administration Name: BD\administrator
    Default AD Domain: BD.com
    Add AD Group(Domain\Group): secWinAD:CN=CRSGroup,OU=TEST,D=BD,DC=com
    Service principal name:BOBJCentralMS/CMSACCatBD.com
    I have create a WINNT folder in root directory.Moreover and save bcsLognin.conf and Krb5.ini at here.
    bscLogin.conf:
    com.businessobjects.security.jgss.initiate {
    com.sun.security.auth.module.Krb5LoginModule required;
    krb5.ini:
    [libdefaults]
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    [realms]
    forwardable = true
    BD.com = {
    default_domain = BD.com
    kdc = BDMGTSRV.BD.com
    I have tested the Kerberos,using kinit CMSACCatBD.com password, and got error message at below:
    Exception: krb_error 41 Message stream modified (41) Message stream modified
    KrbException: Message stream modified (41)
            at sun.security.krb5.KrbKdcRep.check(KrbKdcRep.java:53)
            at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:96)
            at sun.security.krb5.KrbAsRep.getReply(KrbAsRep.java:486)
         at sun.security.krb5.KrbAsRep.getReply(KrbAsRep.java:444)
         at sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:310)
         at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:259)
         at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:106)
    My problem is failed to logon CMC and infoview and got error message at below:
    Account Information Not Recognized: Active Directory Authentication failed to log you on. Please contact your system administrator to make sure you are a member of a valid mapped group and try again. If you are not a member of the default domain, enter your user name as UserNameatDNS_DomainName, and then try again.
    Actually, I am sucessful to logon Business View manager with CRuser1. However, I fail to logon CMC and infoview and got the above error. Have you any suggestion to solve this problem?
    Ken.

    if you can logon with client tools then that should be an indication that the service account running the CMS IS working! Good news.
    So the problem is likely with the java portion (krb5/bsclogin or java options)
    If the files are in c:\winnt\ (if not copy them there) and perform c:\program files\business objects\javasdk\bin\kinit username
    then enter and password/enter again
    Probably get the same message. To note in your krb5.ini all domain info must be in CAPS (the .com appears to be in lower case)
    kinit works with just the krb5.ini, java SDK and AD (removing BO config and the service account from the picture). Once that works if your java options are specified properly you should be able to login to CMC/infoview.
    also 1 last point. Add udp_preference_limit = 1 to the krb5 lib defaults section
    libdefaults
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    udp_preference_limit = 1
    Regards,
    Tim

  • JDeveloper Build Error with JDK1.3beta

    Dear JDev Team,
    I have a project that uses SQLJ and has been compiling fine with both JDK1.2.2 and 1.3beta. This morning it stopped working. There have been no great code changes. Once it fails using 1.3beta it will also fail using 1.2.2.
    There error message in the window is as follows. Your help would be very much appreciated, as this project cannot be built.
    Many thanks,
    Richard
    JniPortal for D:\Program Files\JDeveloper 3.0\java1.2\jre\bin\ferrari\jvm.dll reported
    InnerClasses attribute
    java.lang.IncompatibleClassChangeError: InnerClasses attribute
    int sqlj.runtime.profile.util.CustomizerHarness.customizeProfile(sqlj.runtime.profile.util.ProfileIOContext)
    void oracle.jdeveloper.sqlj.TranslatorInternal.customizeProfiles(borland.compiler.interfaces.Log)
    void oracle.jdeveloper.sqlj.TranslatorSystemImpl.customizeProfiles(borland.jbuilder.jipcbmj.portal.ComLog)
    void oracle.jdeveloper.sqlj.TranslatorSystem_JavaDispatch.invoke(int, borland.javaport.JavaCallStack)

    Richard,
    SQLJ is not supported with JDK1.2 in JDev 3.0:
    (from the release notes)
    Using SQLJ under JDK 1.2
    The 8.1.5 SQLJ version distributed with this release of JDeveloper only supports JDK 1.1.X, it does not run under JDK 1.2. A future version of SQLJ will support JDK 1.2
    Having said that it looks like you have it working anyway :-)
    There have been no great code changes. Once >it fails using 1.3beta it will also fail >using 1.2.2.Try the following :
    -Locate the output directory from Project|Project Properties
    -Close JDeveloper
    -Go to the output directory and delete all the classes and profiles related to your SQLJ project
    -Restart JDev and recompile
    Hope this helps.
    Regards,
    Arun
    null

  • EA1 EA2 EA3 don't start on linux with jdk1.7 but work with jdk1.6!!!

    I install SQLDeveloper EA1 then EA2 and now EA3 on my Linux (Fedora 19), but the result is the same.
    If i start SQLDeveloper with root it work, but if i start with my user the application crash. I tested to change owner of all component, but the result is the same.
    Then because I started the application with jdk1.6 (I used the EA1 who did not warning about the java version) and it work fine!!!
    I opened two "Report a HotSpot Crash", but I never received a response.
    No one any idea? Nobody has ever happened? 
    Thanks,
    Enrico

    This sounds like
    Re: 4EA1: Not starting on Ubuntu. Unkown protocol sqldev.temp

  • [svn] 3050: Removed compile warning with JDK1.5

    Revision: 3050
    Author: [email protected]
    Date: 2008-08-29 16:48:58 -0700 (Fri, 29 Aug 2008)
    Log Message:
    Removed compile warning with JDK1.5
    Modified Paths:
    blazeds/trunk/modules/core/src/java/flex/messaging/io/BeanProxy.java

    Did you try this:
    http://forum.java.sun.com/thread.jsp?thread=434718&forum=60&message=1964421

Maybe you are looking for