Netscape

hello
I'm trying to execute some applets Java in Netscape,
but i heve a error message : " bad version number "
how can i solve this problem ???
thanks
jeremie

Hi,
You have 2 approaches:
1. If your applet uses Swing you must use the Sun Java 2 plug-in. It can be found at http://java.sun.com/products/plugin/index.html
2. If your applet doesn't use Swing you are probably compiling it with something newer than Java 1.1. In this case, you will need to specify the target compiler option:
javac -target version where version is 1.1, 1.2, etc.
Regards,
Manfred.

Similar Messages

  • Netscape and SSO to partner application

    Help!
    I have a partner Java app using SSO with a custom login form. All is well in IE 6 but I get problems with Netscape 7.
    It authenticates to the Portal OK, but not to the partner app.
    The browser displays the following message:
    Oracle SSO Failure - Unable to process request
    Either the requested URL was not specified in terms of a fully-qualified host name or OHS single sign-on is incorrectly configured.
    In the http server error log is the message:
    [OSSO] W05: Requested URL is not specified in terms of fully-qualified host name or invalid SSO partner configuration. Host from request kwudeal2.nkw.ac.uk:80, registered host kwudeal2.nkw.ac.uk.
    The obvious difference in the host names is the port 80, which is the correct port, but it wasn't in the URL I followed, Netscape appears to have added it.
    Any ideas about what is going on and how to fix it?
    Is anyone using Netscape 7 with SSO?
    Thanks. Rob

    Here's a DIY answer.
    See Metalink Note 269820.1 which shows you how to use Perl to overwrite the host name in the HTTP header and remove the port number.

  • Error when starting Netscape Calendar Server: Module: , Label: 355, Service error: #0x13209

    When starting Netscape Calendar Server, the following error message appears:
    <BR><P>
    Module: , Label: 355, Service error: #0x13209
    <P>
    The three ACIs listed below need to be present in the Directory Server in order
    for Calendar server to work properly. Check the properties on the Base DN to
    verify that the following ACIs exist. If they are not present, you will need
    to add them, and the Base DN will need to be modified for your enviroment.
    <P>
    <OL>
    <LI>ACI for allowing users to modify their own entries.<BR>
    <P>
    (targetattr = "*")(version 3.0; acl "Allow self entry modification";
    allow (write)userdn = "ldap:///self";)<BR>
    <P>
    <LI>ACI for allowing anyone permissions to Read, Search, and Compare.<BR>
    <P>
    (target="ldap:///o=basedn.com") (targetattr != "userPassword") (version
    3.0; acl "Anonymous access";
    allow (read, search, compare) userdn = "ldap:///anyone";)<BR>
    <P>
    <LI>ACI for allowing Calendar Server admins Write access to the Base DN
    (this is necessary in order for admins to add users and resources to the node).
    <BR><P>
    (target="ldap:///o=basedn.com") (targetattr = "*") (version 3.0; acl
    "Calendar Administrators Group";<BR>
    allow(all) groupdn = "ldap:///cn=Calendar Server Admins,ou=Netscape
    Servers,o=basedn.com";)<BR>
    </OL>

    Hi Trinidad,
    Thanks for your help!!!
    1.
    I didn't install EventSender and DIProxy yet, I tried first to upload and deploy the zip files, but I couldn't open the Itegration Application Explorer.
    2.
    The jvm.dll file is in in the folder pointed by the logs: C:\Program Files (x86)\SAP\SAP Business One Integration\jdk1.5.0_xx_sap\jre\bin\server
    and it is also in C:\Program Files (x86)\SAP\SAP Business One Integration\jdk1.5.0_xx_sap_64\jre\bin\server
    I tried running the file  java5w.exe, but I got an error message:
    Access is denied
    Unable to open the service tomcat5
    Thne I managed to open it by "rua as administrator".
    the Java Virtual Machine path is points to the java 1.5 version folder.
    Is it possible that the reason that the service can't start is related to administrator rigts??
    In the properties in the Integration Service (services.msc):
    It is set to be run with the local system account.
    all other properties looks fine.
    in the properties of the tomcat5.exe (and tomcat5w.exe  , I tried both)
    In the Compatibility tab I tried setting the flag "Run this program in compatibility mode for" to Vista, windows 7, and server 2008
    I didn't have the option of Windows XP.
    I have also set the Privilege level of: "Run this program as administrator" to true.
    But still the service won't start.
    What can be the problem?
    What else can I check?
    Thanks a lot,
    Chana

  • Import netscape.ldap.* ; is it not supported in Sun one LDAP server

    import netscape.ldap.*;
    is the above line not supported n Sun One LDAP directory Server
    if that is the case what should i do
    wenever i compile my code the error tat comes up is : package netscap.ladp does not exists
    need help immediately
    my code is as follows
    import netscape.ldap.*;
    import java.util.*;
    * Simple search program to experiment with filters
    public class SearchFilter {
    * Do a subtree search using a specified filter
    * @parm args host, port, authDN, password, baseDN, filter
    public static void main(String[] args) {
    if (args.length != 6) {
    System.out.println("Usage: java FilterSearch " + "<host> <port> " + "<authdn> <password> " + "<baseDN> <filter>");
    System.out.println("Example:");
    System.out.println(" java FilterSearch " + "localhost 389 " + "\"\" \"\" " + "\"o=airius.com\" " + "\"(|(cn=sam*)(cn=b*))\"");
    System.exit(1);
    }

    Couldn't you download the netscape.ldap package (iPlanet LDAP SDK) and put its jars in your app classpath?
    The suggested way to replace netscape.ldap package is to use only JNDI calls, but maybe they can not fulfill all your needs.
    By the way, you can get the source code for that package in Mozilla.org site.
    (Note: if you are using Netscape LDAP SDK for parsing/generating ASN.1 streams including X.509 certificates, try using BouncyCastle instead of netscape.ldap.ber.stream package - I had to modify several classes from Netscape's package that is not meant to handle certificates, but LDAP streams...)

  • How to set up a Java Plug-in Download page in case of netscape?

    hai all of you,
    i have a problem regarding downloading plugin.
    i am using <object > and <embed> tags to download the plugins inorder to run the applets. but it is taking long time to download the plugin form sun.com.
    so what i have done is, i downloaded the plugin.exe file and .cab file and put it in my tomcat server mainted by other party.(y application if for internet purpose only.)
    i refered to http://java.sun.com/products/plugin/1.2/docs/intranet.html. there it is mentioned that, to download the plugin.
    for I.E i can able to change the code.
    but for NetScape it's a little bit confusing.
    i have downloaded the binary file in my own directory.
    here he is asking to set up a java plugin-in download page.
    instead of this "plugin-install.html" page what page i should create and what should be the code in this page if i have to write on my own. please let me know if anybody know about it.
    following para is from sun.com
    "To deploy Java Plug-in in intranet environments with Navigator, you need to download and store the Java Plug-in binary file on one of your web servers. Then you need to set up a Java Plug-in Download page and modify the pluginspage attribute in the EMBED tag to refer to this page. The Download page should have options to download different versions of Java Plug-in, such as for Windows and Solaris. For example, if you have set up the Java Plug-in Download page at "http://javaweb.eng/plugin/" and the page is called plugin-install.html, you can specify the pluginspage as "http://javaweb.eng/plugin/plugin-install.html". "
    thanks
    by
    sambareddy

    I have successfuly done this.
    Change the converted html as per the instructions to point to another page.
    Here is an example of the new html page you need to create:
    <html>
    <head>
    <title>Java Plugin Install Page</title>
    </head>
    <body>
    <h2><center>Java Plugin Install Page</center></h2>
    <p></p>
    <h3>Windows Version Only!!!</h3>
    Click here to Download Plugin
    <p></p>
    <p>You may or may not be asked to either save or run from current location</p>
    <p>If the run from current location is available, use that option</p>
    <p>If you can only save the file, then save it to your workstation and exit the download page and exit Netscape. Then using Windows Explorer, go to where you downloaded the file and double click on the file to run it. Accept all options during the install process and once it has finished try accessing your web page again using Netscape. You should then get to the web page or application and this page will not apppear again.
    </body>
    </html>
    If you put the file j2re-1_3_1-win.exe on a web server somewhere then you will have to prefix the file with
    http://yourwebserverdirectory/
    Hope this helps.

  • Importing to Mac Mail Tiger 10.4.8 (intel xeon) From  Netscape (7.2) mail

    Importing to Mac Mail Tiger 10.4.8 (intel xeon) From Netscape (7.2) mail.
    I can import old mail from Netscape 7.2 into Mac Mail Tiger 10.4.8. And most old mail back from 2002-2004 is imported but starting around MARCH 2005, no more mail is imported. That is out of 10-15 folders imported INTO the "import folder" each new folder contains, older mail but only a few from 2005, and nothing from after march 2005. (perhaps when switched from NS 7.1 to 7.2?? don't know) But in any case viewing with NS mail shows the files and attachments, but they DO not import to Mack mail. (one oddity when viewed in NS mail, if the priority column to be "normal" then they are imported. If empty then not imported.)
    Any ideas how to get the rest of this mail into Mac Mail?
    thanks
    -g
    G5 Mac OS X (10.4.8) intel xeon 64-bit

    I simply DID NOT have the correctly dated BACKUP SET!
    So NOW with all the data, properly in my Netscape Mail "local folders" I can easiliy (but slowly) convert them to Mac Mail.
    Sorry for pulling the trigger too soon, It works perfectly if I use the proper backup data.
    DUH! on me!

  • Urgent Help Required !!!! For using Netscape to open Form on the Intranet

    Hi ,
    I am successfully able to open Form application in a seperate window using IE 5.0.
    I would like to do the same with Netscape Navigator 4.7. The Navigator justshows a page which asks me to download the plugin and then even after I install the plugin it does the same thing over and over again.
    Please help !!!!!
    Regards,
    Rinas

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Andrew Timpone ([email protected]):
    Which version of the JInitiator are you using. In any case, your HTML must specify the correct classid and version in the HTML section for IE as well as the HTML section for Netscape.
    Below is a sample for JInitiator 1.1.7.27 running forms v6.0
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1">
    <meta name="GENERATOR" content="">
    <title></title>
    <!-- FILE: static.html -->
    <!-- Oracle Static (Non-Cartridge) HTML File Template (Windows NT) -->
    <!-- Rename, and modify tags and parameter values as needed -->
    </head>
    <body bgcolor="#FFFCE8">
    <p><font size="1"><br>
    <br>
    <br>
    </font></p>
    <p align="center">
    <object classid="clsid:093501ce-d290-11d3-a3d6-00c04fa32518"
    codebase="<<your server and path of JInitiator Plug-in goes here>>jinit11727.exe#Version=1,1,7,27"
    align="baseline" border="0" width="1024" height="786">
    <PARAM NAME="CODE" value="oracle.forms.engine.Main">
    <PARAM NAME="CODEBASE" value="/web_code/">
    <PARAM NAME="ARCHIVE" value="/web_code/f60all.jar">
    <PARAM NAME="type" value="application/x-jinit-applet;version=1.1.7.27">
    <PARAM NAME="serverPort" value="4321">
    <PARAM NAME="serverArgs" value="module=<<your form path and name goes here>>">
    <PARAM NAME="serverApp" value="default">
    <PARAM NAME="lookAndFeel" value="oracle">
    <PARAM NAME="separateFrame" value="true">
    <font size="1">
    <COMMENT>
    <embed align="baseline" border="0" width="800" height="600" type="application/x-jinit-applet;version=1.1.7.27"
    java_code="oracle.forms.engine.Main"
    java_codebase="/web_code/"
    java_archive="/web_code/f60all.jar"
    serverport="4321"
    serverargs="module=<<your form path and name goes here>>"
    serverapp="default"
    pluginspage="<<your server and path of JInitiator Plug-in goes here>>"
    colorscheme="Titanium"
    lookAndFeel="oracle"
    separateframe="true">
    <NOEMBED>
    </COMMENT>
    </NOEMBED> </font></object><font size="1"> </font></p>
    </body>
    </html>
    Below is a sample with JInitiator 1.1.5.21 with forms v5.0
    <HTML>
    <!-- FILE: static.html -->
    <!-- Oracle Static (Non-Cartridge) HTML File Template (Windows NT) -->
    <!-- Rename, and modify tags and parameter values as needed -->
    <HEAD><TITLE></TITLE></HEAD>
    <P>
    <OBJECT classid="clsid:9F77a997-F0F3-11d1-9195-00C04FC990DC"
    WIDTH=20
    HEIGHT=20
    codebase="<<your server name and path for JInitiator Plug-in goes here>>jinit115211.exe#Version=1,1,5,21">
    <PARAM NAME="CODE" VALUE="oracle.forms.uiClient.v1_4.engine.Main" >
    <PARAM NAME="CODEBASE" VALUE="/web_code/" >
    <PARAM NAME="ARCHIVE" VALUE="/web_code/f50all.jar" >
    <PARAM NAME="type" VALUE="application/x-jinit-applet;version=1.1.5.21">
    <PARAM NAME="serverPort" VALUE="4321">
    <PARAM NAME="serverArgs" VALUE="module=<<your form path and name goes here>>">
    <PARAM NAME="serverApp" VALUE="default">
    <COMMENT>
    <EMBED type="application/x-jinit-applet;version=1.1.5.21"
    java_CODE="oracle.forms.uiClient.v1_4.engine.Main"
    java_CODEBASE="/web_code/"
    java_ARCHIVE="/web_code/f50all.jar"
    WIDTH=20
    HEIGHT=20
    serverPort="4321"
    serverArgs="module=<<your form path and name goes here>>"
    serverApp="default"
    pluginspage="<<your server name and path for JInitiator Plug-in goes here>>">
    <NOEMBED>
    </COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    </BODY>
    </HTML>
    Hi Andy,
    Thanks a lot !!!
    Its working perfectly fine now.
    Regards,
    Rinas
    Hope this helps<HR></BLOCKQUOTE>
    null

  • Netscape 4.7 and duplicate cookies

    I've got an application that works fine on IE and Netscape 6, but NS 4.7 is
              giving me a headache. I'm trying to expire the cookies that I've originally
              written with 1-year expiration date. I originally created the cookie like
              this:
              info = new Cookie("UserID", "Bob");
              info.setMaxAge(60 * 60 * 24 * 365); // One year
              info.setPath("/");
              response.addCookie(info);
              When I try to expire it using this:
              info = Utilities.getCookie(request.getCookies(), "UserID"); // Gets the
              cookie from the request structure
              if (info != null)
              info.setMaxAge(0);
              response.addCookie(info);
              it fails on Netscape (both versions); the cookie doesn't disappear, almost
              like it ignored it. When I changed it to this:
              info = Utilities.getCookie(request.getCookies(), "UserID"); // Gets
              the cookie from the request structure
              if (info != null)
              info.setValue("0");
              info.setMaxAge(3);
              response.addCookie(info);
              it works on Netscape 6 (the cookie is invalidated enough that the code works
              and will expire in a few seconds). However, on Netscape 4.7, nothing
              changes. So I did a little debugging and found that under NS 4.7, the
              request structure ends up with TWO cookies of the same name ("UserID") and
              two different values. The first being its original value and the second
              being the value I set above. Clearly, something's not right. Is it me? Is
              NS 4.7 just buggy? I'm stuck for an answer to this mystery.
              Thanks in advance for help,
              -- Andy.
              

    Hi,
    When using Micosoft's Internet Explorer web browser, version 5.0 is supported for end users only. For administrators, changes to the iPlanet Web Server Administration Server configuration can be saved only when using Internet Explorer version 5.5. with standard Encryption.
    Thanx
    Selva

  • Problem with Sessions, Servlets, Netscape and Solaris

    We are experiencing a problem that is confounding and frustrating us (I have
              a felling that it is something exremely minor that we are overlooking).
              Here goes:
              Context:
              The problem only occurs when using a netscape browser against weblogic
              4.51running on our Solaris 7 box (Everything works fine through IE, and
              through both browsers against our development machines which are on NT)
              Problem:
              We have a bunch of JSP pages and servlets that are used togehter throughout
              our site. They both manage session information for the user. What is
              happening is that there is no problem maintaining session information among
              all the JSP pages, but when we hit a servlet that we use to stream graphs
              back to the browser, it gets the session but it has no contents all of a
              sudden. What seems to be even more strange is that the session is not
              tagged as new (by checking isNew()), it is just empty of the contents that
              were placed it by the JSP pages. Again, this is only occurring from
              Netscape browsers against our Solaris server.
              If anyone can provide any help it would be greatly appreciated. I can
              provide more details if need be.
              Jeremy
              

    There is a property in the weblogic.properties file that lets you set
              the cookie name. If this isn't set, the port will be appended as part of
              the name. I've had a similar problem switching between http and https
              and losing sessions.
              Carles
              Jeremy wrote:
              >
              > in the link tothe servlet the URL had a :80 in it. This was because the url
              > was generated by a JSP page so that when it was moved from server to server
              > and port to port the code wouldn't have to be changed. Unfortuneately,
              > Netscape sucks and takes this to mean that x.x.x.x and x.x.x.x:80 are
              > different and won't acknowledge the cookie from the JSP pages (x.x.x.x) to
              > the servlet (x.x.x.x:80). Thanks fpr your help.
              >
              > Jeremy <[email protected]> wrote in message
              > news:[email protected]...
              > > my mistake, it appears to always happen on port 80 regardless of the
              > server
              > > it is on.
              > >
              > > Jeff Martin <[email protected]> wrote in message
              > > news:[email protected]...
              > > > It really sounds like your servlet is making a new session, even though
              > > > isNew() doesn't say so. What you might try to do is use session.getId()
              > > > to print out the session ID from your jsp pages as well as your servlets
              > > > to determine if it really is a new session.
              > > >
              > > > Do your servlets and JSPs both use the same scheme (http or https) or
              > > > cookie.setSecure()? Do your cookies use domains or paths in either
              > > > servlets or jsps (cookies can be restricted to certain subdirectories
              > > > which might be different between jsps and servlets)? Are you testing
              > > > through a proxy or firewall, or does either browser have different proxy
              > > > settings than the others?
              > > >
              > > > Jeff
              > > >
              > > > Jeremy wrote:
              > > > >
              > > > > We are experiencing a problem that is confounding and frustrating us
              > (I
              > > have
              > > > > a felling that it is something exremely minor that we are
              > overlooking).
              > > > > Here goes:
              > > > >
              > > > > Context:
              > > > > The problem only occurs when using a netscape browser against weblogic
              > > > > 4.51running on our Solaris 7 box (Everything works fine through IE,
              > and
              > > > > through both browsers against our development machines which are on
              > NT)
              > > > >
              > > > > Problem:
              > > > > We have a bunch of JSP pages and servlets that are used togehter
              > > throughout
              > > > > our site. They both manage session information for the user. What is
              > > > > happening is that there is no problem maintaining session information
              > > among
              > > > > all the JSP pages, but when we hit a servlet that we use to stream
              > > graphs
              > > > > back to the browser, it gets the session but it has no contents all of
              > a
              > > > > sudden. What seems to be even more strange is that the session is not
              > > > > tagged as new (by checking isNew()), it is just empty of the contents
              > > that
              > > > > were placed it by the JSP pages. Again, this is only occurring from
              > > > > Netscape browsers against our Solaris server.
              > > > >
              > > > > If anyone can provide any help it would be greatly appreciated. I can
              > > > > provide more details if need be.
              > > > >
              > > > > Jeremy
              > >
              > >
              

  • My web site has a link which automatically configures an email. Doesn't work in Firefox 5.0 but OK in IE 8, Opera and Netscape. v

    My web site is generated by Second Site , author John Cardinal, and contains email links which when selected automatically createsan email which all you need to do is fill in the body and send it. This has worked in the past in Firefox and does work now using IE 8, Opera, and Netscape browsers but does not work when using my Firefox browser neither locally on my computer or in my Internet website. Firefox is my browser of choice. This has worked in the past using Firefox.
    My web site is www.schulteis.com/omnibus/. On the presentation page, on the bottom, where it identifies Genealogist: Site Administrator. Select it and it may work for you. John Cardinal tested it on his local machine and it worked for him. His response to me was,
    "It's very likely that this is some sort of browser configuration error, and it's probably related to using a web-based email client, In
    Firefox, look under Options > Applications and see how the "Mailto" Content type is configured. It should probably say "Use Yahoo Mail" [it does]. I have never configured a browser to use a web-base email client, so I can't help more than that.
    Since this works fine on my computer and on my Internet site when using browsers IE 8, Opera, and Netscape but not Firefox, and I didn't do anything special for any browser to cause it to work, don't know what I could have done wrong for Firefox.
    I am using Yahoo mail.
    Thanks for your help
    Donald
    [email protected]

    I'm also running FF 36.0.4 on a Win 7 machine.  Here is what I see when I "open" the map (from the server - not inside DW):
    The map area stays white with no image even after several minutes.  The cursor does change to a hand when over the area where the map should be and if I click and drag there the cursor switches to the closed hand - so it's acting like the map is there and can be moved - but just no map shows up.
    I'll run it though the validator.  Thanks!

  • I've checked my current plugins and it still shows Adobe Acrobat Version 7 for Netscape (7.0.9.50) I tried to do the update but I got an error - "Please tell Microsoft about this problem" "Send Error Report/ Don't Send".

    I've checked my current plugins and it still shows Adobe Acrobat Version 7 for Netscape (7.0.9.50)
    I tried to do the update but I get the same error each time - "Please tell Microsoft about this problem" "Send Error Report/ Don't Send".
    Also, do I need to Disable or Uninstall the Extension: "SEO For Firefox 3.3.4 as this was highlighted?
    == This happened ==
    Every time Firefox opened
    == When I try to do the update

    http://www.microsoft.com/mac/support
    http://answers.microsoft.com/en-us/mac/forum/macword?auth=1
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/microsoft-wor d-for-mac-2011-will-not-open-error/ecc42616-6f49-40bb-b8f5-e21c711ea359

  • Using JSSE : "Invalid Netscape CertType extension for SSL client" Error

    Hi all,
    Im using the sample code given sun site for JSSE with Client Authentication. The sample as such it worked with the testkeys provided in that. But it didn't workout when I tried using other certificates.
    Both client and server certificates I generated from our internal Netscape Certificate Manager.
    Function of the server :
    The server will read a private key from the given keystore and starts listening on a port. This server will server only GET request.
    Function of the client :
    The Client sends a GET request to the server and gets the response back.
    I simply changed the key store name alone in the working sample code.
    It is not working.
    The Exception thrown on client side :
    D:\users\Jp\java\jssesamples\sockets\client\class>java SSLSocketClientWithClientAuth1 localhost 1089 /urls
    localhost
    1089
    /urls
    java.net.SocketException: Software caused connection abort: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at com.sun.net.ssl.internal.ssl.OutputRecord.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_az.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
    at SSLSocketClientWithClientAuth1.main(SSLSocketClientWithClientAuth1.java:119)
    Exception thrown on server side :
    D:\users\Jp\java\jssesamples\sockets\server\class>java ClassFileServer 1089 . TLS true
    USAGE: java ClassFileServer port docroot [TLS [true]]
    If the third argument is TLS, it will start as
    a TLS/SSL file server, otherwise, it will be
    an ordinary file server.
    If the fourth argument is true,it will require
    client authentication as well.
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Invalid Netscape CertType extension for SSL client
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)
    at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)
    at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at ClassServer.getPath(ClassServer.java:162)
    at ClassServer.run(ClassServer.java:109)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: java.security.cert.CertificateException: Invalid Netscape CertType extension for SSL client
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkClientTrusted(DashoA6275)
    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkClientTrusted(DashoA6275)
    ... 17 more
    error writing response: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateExce
    ption: Invalid Netscape CertType extension for SSL client
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: java.security.cert.Certificate
    Exception: Invalid Netscape CertType extension for SSL client
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.d(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.e(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
    at java.io.DataOutputStream.writeBytes(DataOutputStream.java:256)
    at ClassServer.run(ClassServer.java:128)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Invalid Netscape CertType extension
    for SSL client
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)
    at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)
    at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at ClassServer.getPath(ClassServer.java:162)
    at ClassServer.run(ClassServer.java:109)
    ... 1 more
    Caused by: java.security.cert.CertificateException: Invalid Netscape CertType extension for SSL client
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkClientTrusted(DashoA6275)
    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkClientTrusted(DashoA6275)
    ... 17 more
    The Client code :
    * @(#)SSLSocketClientWithClientAuth.java     1.5 01/05/10
    * Copyright 1995-2002 Sun Microsystems, Inc. All Rights Reserved.
    * Redistribution and use in source and binary forms, with or
    * without modification, are permitted provided that the following
    * conditions are met:
    * -Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * -Redistribution in binary form must reproduct the above copyright
    * notice, this list of conditions and the following disclaimer in
    * the documentation and/or other materials provided with the
    * distribution.
    * Neither the name of Sun Microsystems, Inc. or the names of
    * contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    * This software is provided "AS IS," without a warranty of any
    * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
    * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
    * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
    * EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
    * DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
    * RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR
    * ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
    * FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
    * SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
    * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
    * THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN
    * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    * You acknowledge that Software is not designed, licensed or
    * intended for use in the design, construction, operation or
    * maintenance of any nuclear facility.
    import java.net.*;
    import java.io.*;
    import javax.net.ssl.*;
    import javax.security.cert.X509Certificate;
    import java.security.KeyStore;
    * This example shows how to set up a key manager to do client
    * authentication if required by server.
    * This program assumes that the client is not inside a firewall.
    * The application can be modified to connect to a server outside
    * the firewall by following SSLSocketClientWithTunneling.java.
    public class SSLSocketClientWithClientAuth1 {
    public static void main(String[] args) throws Exception {
         String host = null;
         int port = -1;
         String path = null;
         for (int i = 0; i < args.length; i++)
         System.out.println(args);
         if (args.length < 3) {
         System.out.println(
              "USAGE: java SSLSocketClientWithClientAuth " +
              "host port requestedfilepath");
         System.exit(-1);
         try {
         host = args[0];
         port = Integer.parseInt(args[1]);
         path = args[2];
         } catch (IllegalArgumentException e) {
         System.out.println("USAGE: java SSLSocketClientWithClientAuth " +
              "host port requestedfilepath");
         System.exit(-1);
         try {
         * Set up a key manager for client authentication
         * if asked by the server. Use the implementation's
         * default TrustStore and secureRandom routines.
         SSLSocketFactory factory = null;
         try {
              SSLContext ctx;
              KeyManagerFactory kmf;
              KeyStore ks;
              char[] passphrase = "passphrase".toCharArray();
              ctx = SSLContext.getInstance("TLS");
              kmf = KeyManagerFactory.getInstance("SunX509");
              ks = KeyStore.getInstance("JKS");
    //          ks.load(new FileInputStream("testkeys"), passphrase);
              ks.load(new FileInputStream("clientkey"), passphrase);
              kmf.init(ks, passphrase);
              ctx.init(kmf.getKeyManagers(), null, null);
              factory = ctx.getSocketFactory();
         } catch (Exception e) {
              throw new IOException(e.getMessage());
         SSLSocket socket = (SSLSocket)factory.createSocket(host, port);
         * send http request
         * See SSLSocketClient.java for more information about why
         * there is a forced handshake here when using PrintWriters.
         socket.startHandshake();
         PrintWriter out = new PrintWriter(
                        new BufferedWriter(
                        new OutputStreamWriter(
                        socket.getOutputStream())));
         out.println("GET " + path + " HTTP/1.1");
              /* Some internet sites throw bad request error for HTTP/1.1 req if hostname is not specified so the foll line */
              out.println("Host: " + host);
         out.println();
         out.flush();
         * Make sure there were no surprises
         if (out.checkError())
              System.out.println(
              "SSLSocketClient: java.io.PrintWriter error");
         /* read response */
         BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                        socket.getInputStream()));
         String inputLine;
         while ((inputLine = in.readLine()) != null)
              System.out.println(inputLine);
         in.close();
         out.close();
         socket.close();
         } catch (Exception e) {
         e.printStackTrace();
    The Server code :
    * @(#)ClassFileServer.java     1.5 01/05/10
    * Copyright 1995-2002 Sun Microsystems, Inc. All Rights Reserved.
    * Redistribution and use in source and binary forms, with or
    * without modification, are permitted provided that the following
    * conditions are met:
    * -Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * -Redistribution in binary form must reproduct the above copyright
    * notice, this list of conditions and the following disclaimer in
    * the documentation and/or other materials provided with the
    * distribution.
    * Neither the name of Sun Microsystems, Inc. or the names of
    * contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    * This software is provided "AS IS," without a warranty of any
    * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
    * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
    * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
    * EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
    * DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
    * RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR
    * ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
    * FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
    * SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
    * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
    * THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN
    * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    * You acknowledge that Software is not designed, licensed or
    * intended for use in the design, construction, operation or
    * maintenance of any nuclear facility.
    import java.io.*;
    import java.net.*;
    import java.security.KeyStore;
    import javax.net.*;
    import javax.net.ssl.*;
    import javax.security.cert.X509Certificate;
    /* ClassFileServer.java -- a simple file server that can server
    * Http get request in both clear and secure channel
    * The ClassFileServer implements a ClassServer that
    * reads files from the file system. See the
    * doc for the "Main" method for how to run this
    * server.
    public class ClassFileServer extends ClassServer {
    private String docroot;
    private static int DefaultServerPort = 2001;
    * Constructs a ClassFileServer.
    * @param path the path where the server locates files
    public ClassFileServer(ServerSocket ss, String docroot) throws IOException
         super(ss);
         this.docroot = docroot;
    * Returns an array of bytes containing the bytes for
    * the file represented by the argument <b>path</b>.
    * @return the bytes for the file
    * @exception FileNotFoundException if the file corresponding
    * to <b>path</b> could not be loaded.
    public byte[] getBytes(String path)
         throws IOException
         System.out.println("reading: " + path);
         File f = new File(docroot + File.separator + path);
         int length = (int)(f.length());
         if (length == 0) {
         throw new IOException("File length is zero: " + path);
         } else {
         FileInputStream fin = new FileInputStream(f);
         DataInputStream in = new DataInputStream(fin);
         byte[] bytecodes = new byte[length];
         in.readFully(bytecodes);
         return bytecodes;
    * Main method to create the class server that reads
    * files. This takes two command line arguments, the
    * port on which the server accepts requests and the
    * root of the path. To start up the server: <br><br>
    * <code> java ClassFileServer <port> <path>
    * </code><br><br>
    * <code> new ClassFileServer(port, docroot);
    * </code>
    public static void main(String args[])
         System.out.println(
         "USAGE: java ClassFileServer port docroot [TLS [true]]");
         System.out.println("");
         System.out.println(
         "If the third argument is TLS, it will start as\n" +
         "a TLS/SSL file server, otherwise, it will be\n" +
         "an ordinary file server. \n" +
         "If the fourth argument is true,it will require\n" +
         "client authentication as well.");
         int port = DefaultServerPort;
         String docroot = "";
         if (args.length >= 1) {
         port = Integer.parseInt(args[0]);
         if (args.length >= 2) {
         docroot = args[1];
         String type = "PlainSocket";
         if (args.length >= 3) {
         type = args[2];
         try {
         ServerSocketFactory ssf =
              ClassFileServer.getServerSocketFactory(type);
         ServerSocket ss = ssf.createServerSocket(port);
         if (args.length >= 4 && args[3].equals("true")) {
              ((SSLServerSocket)ss).setNeedClientAuth(true);
         new ClassFileServer(ss, docroot);
         } catch (IOException e) {
         System.out.println("Unable to start ClassServer: " +
                   e.getMessage());
         e.printStackTrace();
    private static ServerSocketFactory getServerSocketFactory(String type) {
         if (type.equals("TLS")) {
         SSLServerSocketFactory ssf = null;
         try {
              // set up key manager to do server authentication
              SSLContext ctx;
              KeyManagerFactory kmf;
              KeyStore ks;
              char[] passphrase = "passphrase".toCharArray();
              ctx = SSLContext.getInstance("TLS");
              kmf = KeyManagerFactory.getInstance("SunX509");
              ks = KeyStore.getInstance("JKS");
    //          ks.load(new FileInputStream("testkeys"), passphrase);
              ks.load(new FileInputStream("serverkey"), passphrase);
              kmf.init(ks, passphrase);
              ctx.init(kmf.getKeyManagers(), null, null);
              ssf = ctx.getServerSocketFactory();
              return ssf;
         } catch (Exception e) {
              e.printStackTrace();
         } else {
         return ServerSocketFactory.getDefault();
         return null;
    Could anyone help ?
    thanks in advance
    Jayaprakash

    The same thing.
    I have found the place where the exception throws.
    It is com.sun.net.ssl.internal.ssl.AVA class.
    It has a constructor AVA(StringReader)
    There is a check in this constructor of different certificate extensions
    (if-else). If it sees no familiar extension it throws exception and handshake fails.
    It is not difficult to fix this problem: just ignore unknown extension.
    Everything works fine with this "improved" class (under VA 3.5).
    But the problem is - the using of this class in applets.
    How can I say the browser to use my "improved" class and not the one it downloaded with java plug-in?

  • How do you set up multiple users? Netscape use to let me choose which profile to start. Can I do this with Firefox and can I have email linked to each individual user/login? How?

    Netscape use to let me choose and create new profiles. after clicking on the icon for netscape i was prompted for which user profile i wanted. can i do this with firefox? also, each user profile was linked with its respective email account. can i do this through firefox as well? I need help. i have tried setting up firefox before and since i couldn't accomplish this i had given up but netscape is so old and most sites cause it to crash, i need a solution. i have 2 main profiles and 2 different email addresses. any advice or help, even not firefox related would be great

    Firefox doesn't have the same type of interface for the Profile Manager that Netscape did. You might want to look at SeaMonkey ''(which uses the same Mozilla Gecko code as Firefox has)''.
    http://www.seamonkey-project.org/

  • How can I determine which browser is used(Microsoft IE or Netscape)

    As you probely know: Netscape doesn't support the same functionality as IE.
    To gain the maxium functionality from IE without solving problems in Netscape, the customer has decided to work with two different stylesheets(one for IE and one for Netscape).
    Now my question is, how can I determine in Portal in which browser(IE or Netscape) it is running.
    Thanks
    arny
    Therefor we are using two differen

    The browser ID string is a HTTP request parameter. How you get to it depends entirely on what you're programming in. You want to get the value of the User-Agent parameter (for example, in CGI, this is HTTP_USER_AGENT).
    However, I'd advise against doing things this way unless you really understand how HTTP works on many levels. One common problem people run into on sending different content based on the browser is that proxy servers will happily cache everything and send content intended for one browser to another.
    I have not seen any IE functionality that Netscape does not also have that is worth this hassle, but that's just my very stubborn opinion. :-)

  • How Do I tell if Netscape or Explorer was used?!

    Hi, here is the problem, I have an application in which I need to know wether it is being accessed by Netscape Navigator or Internet Explorer. This is so I can put a desktop shortcut on the user's machine that has the prefix of that browser. I have tried many things including running a script, but I do not even know what method(s) should be used. ANY help would be greatly appriciated
    Thanks,
    tr7865

    if you are trying to launch a browser to display a page you don't need to know what browser is installed. from a command or cmd window if you type in the name of the page then windows will launch the default browser to display the file.

  • PopupMenu  displayed incorrectly in applet on Mac 9.2 and Netscape 7.02

    Hi All,
    I am running an applet on Mac OS 9.2 with Netscape 7.02 (with default jvm, no additional plug-in installed).
    The applet contains menubar with 5 Menus (implemented using PopupMenu) options. The diffrent menus are File, Edit, Zoom, Transform and Help, with diffrent menu-items added to them.
    When any of the menus is selected for the first time the contents of Zoom menu pops up (even if user clicks on File or Edit etc). This happens only for the first time. From second time onwards no such problem repeates.
    The code has been checked thoroughly and various changes done, but the problem could not be solved.
    Has anyone come across similar problem? Is there any solution for the specified problem?
    Thanx & Regards,
    Charu

    It would be nice to see the sources...
    Usually, people don't use PopupMenu for implementing menus in menu bar - they use JMenu for this. Did you try that? Or do you use JMenu and still have problems?

Maybe you are looking for