HideMe508 class in Netscape 7.0

When displaying a query region in Netscape 7.0, the contents of the "label" tag, which looks something like :
<label for="f04_0003" class="hideMe508">NAME</label>
gets displayed (in the above case, NAME gets displayed) when it should not be. Ie, Netscape doesn't seem to understand the class, which resolves to {display:none} in core.css. Everything looks fine in IE and Mozilla, so it's clearly a Netscape-specific problem.
Is there any workaround I can add to core.css or my local .css file to make this work in Netscape?

Hi Carl,
if I do Help->About, I get:
Netscape 7.0
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
I don't know if it's the Preview Release. Is there anything else I should be looking for?

Similar Messages

  • Why IE5 could not find applet class but Netscape can ?

    Hi,
    I have an applet which is running fine on Netscripts6,
    But not on IE5.
    <APPLET codebase="http://10.1.1.1/demo/" code="ClientApplet.class" HEIGHT=300 WIDTH=300>
    <PARAM NAME="relay" VALUE="1">
    I have all class files under demo directory(the same directory as html file).
    IE5.0 still could not find applet class but Netscript can.

    are you sure its failing to load your classes or is it failing to load a class you are using?
    Remember IE only uses things from 1.1 so simple things like component.getHeight() does not work you have to use size().height
    Its woth enabling the java console and viewing the exact problem.

  • 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...)

  • Old Netscape console 4.2 not working properly with new Directory Server 5.2

    After successfully installing Messaging Server 5.2 and applying patch 2, the old Netscape Console doesn't work properly, I tried running the script which is given in the link
    http://docs.sun.com/source/816-6734-10/index.html
    which hobbles the server by creating a set of dummy jar files in order for the directory server console not making any changes on the messaging server. At first I got these messages:
    Failed to install a local copy of msgadmin52.jar or one of its supporting files: not a ZIP file (END header not found)
    I got the same message for these 2 files:
    admserv42.jar
    msgadmin52.jar
    After that I made real dummy jar files using a zero-length file I created with touch and I got these messages:
    class com.netscape.management.admser.AdminServer not found
    After that I erased all the files created by the script and I get these messages:
    failed to install a copy of admserv51.jar or one of its supporting files: null
    failed to install a copy of msgadmin.jar or one of its supporting files: msgadmin52.jar not found at http://192.168.10.205:5001/
    and for admserv42.jar I get the same message
    Does anyone have a clue on what to do next??
    thanks in advance
    Eduardo

    The thing is that the netscape console 4.5 won't work properly with messaging server 5.2, and the directory server console is not working properly for the directory server. I already know the limitations about these consoles since it is explained in the doc where the procedure of migrating from a 4.x directory server to 5.1. I

  • Added new classes

    Hi everybody,
    I am a Java beginner and i would like to know the good way to put new classes i want to use.
    I would like to use a class named "netscape.javascript.JSObject", this one is located in a .zip file and i put it in my Java home dir (c:\j2sdk1.4_03 (That is also in my CLASSPATH)) but it does not work at compilation time (does not find package "netscape.javascript.JSObject")!!!
    If i dezip all classes from .zip file, then it creates all directory structure from this .zip file and especially netscape/javascript/*.* branch in my c:\j2sdk1.4_03 directory and this way it compiles.
    In fact netscape/javascript/ dir contains two classes JSObject and JSException (those classes need certain other classes include in the same .zip file so i dezip all classes !!)
    I though that a .zip file was only needed to use class (if CLASSPATH is correctly set)
    1) Is there a good way (path) to add classes we wanted to use ?
    2) It compiles but crash in run time ....
    here is a little code sample to test:
    import netscape.javascript.JSObject;
    public static class Test{
    public static void main(String[] args){
    try{
    Class c = Class.forName("netscape.javascript.JSObject");
    catch(ClassNotFoundException e){
    System.err.println(e);
    and i receive the message when i want to run it ...
    "Exception in thread "main" java.lang.UnsatisfiedLinkError: IIDFromString
    at com.ms.com._Guid.IIDFromString(Native Method)
    at com.ms.com._Guid.set(_Guid.java)
    at com.ms.com._Guid.<init>(_Guid.java)
    at netscape.javascript.JSObject.<clinit>(JSObject.java)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    at lpa.examples.GrepReader$Test.main(GrepReader.java:38)"
    Is this a version problem ?
    I hope you understand my problem.
    Can somebody help me ?
    Thanks for your help
    PS ; Sorry for my probably bad english but it is not my native language ...

    For JAR and ZIP files, you need to add the file to the classpath, not just the parent directory.

  • Creating signed Java applet for Netscape 4x

    I have created a signed jar with SuperUser privileges under Netscape.
    public void init() {
    try {
    if( Class.forName("netscape.security.PrivilegeManager") != null ) {
    netscape.security.PrivilegeManager.enablePrivilege("SuperUser");
    } catch( ClassNotFoundException cnfe ) {
    cnfe.printStackTrace();
    With this I am getting following error without any dailog prompting to grant permission.
    netscape.security.ForbiddenTargetException: User didn't grant the SuperUser privilege.
    Please help.
    Thanks
    Satish

    Then it's likely Netscape 4.x doesn't recognize the jar as being signed. How did you sign the jar?
    Why didn't you ask this in the more appropriate Signed Applets forum?

  • Signed Applet for Netscape 4x

    I have created a signed jar with SuperUser privileges under Netscape.
    public void init() {
    try {
    if( Class.forName("netscape.security.PrivilegeManager") != null ) {
    netscape.security.PrivilegeManager.enablePrivilege("SuperUser");
    } catch( ClassNotFoundException cnfe ) {
    cnfe.printStackTrace();
    With this I am getting following error without any dailog prompting to grant permission.
    netscape.security.ForbiddenTargetException: User didn't grant the SuperUser privilege.
    Please help.
    Thanks
    Satish

    Hi,
    this is exactly the same problem I am facing here. Each time I try to grant/enable a capability, it is automatically denied without any dialog. Do we forget something?
    I only signed the applet with the netscape signtool, not with a real certificate from verisign or such, does that matter?
    Please let me know if you found out how to do it.
    SkyScrap

  • JSP, JavaBeans and iPlanet 4.1-  Unable to load JavaBean

    I get the following error when trying to access a JavaBean from a JSP page. I have tried just about everything including using the <@page import /> in the JSP page.
    I can get it to run perfectly in Tomcat 3.2 but it must run in iPlanet 4.1. I think the solution should be fairly simple I just can't find it.
    Any help would be greatly appreciated.
    Thanks.
    The exception is as follows (thrown on running the generatePage.jsp linked from index.jsp).
    [29/Nov/2001:16:50:23] info ( 1364): Internal Info: loading servlet /TechCom/generatePage.jsp
    [29/Nov/2001:16:50:23] info ( 1364): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to load class JspPageLoader
         at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:183)
         at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerator.java:97)
         at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(JspParseEventListener.java:728)
         at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventListener.java:190)
         at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseEventListener.java:159)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:141)
         at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:214)
         at com.netscape.server.http.servlet.NSServletEntity.(NSServletEntity.java:104)
         at com.netscape.server.http.servlet.NSServletRunner.loadServlet(NSServletRunner.java:607)
         at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:357)
    [29/Nov/2001:16:50:23] warning ( 1364): Unable to locate class: D:\Netscape\Server4\docs\TechCom (java.lang.ClassNotFoundException: D:\Netscape\Server4\docs\TechCom)
    [29/Nov/2001:16:50:23] warning ( 1364): Internal error: Failed to load servlet (servlet=/TechCom/generatePage.jsp)

    To solve this problem you have to:
    include <@page import /> tags importing the JavaBean to be used.
    In the classpath of iPlanet include the directory in which your JavaBeans are placed.
    Also in the classpath of iPlanet include the root directory of you web site containing the JSP's. this should then solve the problem.

  • NT security problems with file I/O

    I have 2 problems with file I/O. When I read from a file I use the getAbsolutePath() method that is part of the File class to find what directory the files are currenlty. The problem is that the returned path says that the file is on the desktop no matter what directory the file really is in. The second problem is that I am unable to save files anywhere but the desktop. I must run the class files from the desktop too to get it to work.
    I am using NT 4.0 for development. I'm guessing that these problems might be NT security related. Could someone help me?
    Code below:
    import java.awt.*;
    import java.applet.*;
    import java.net.*;
    import java.io.File;
    import java.awt.event.*;
    //import java.security.*;
    //import sun.security.*;
    //import java.awt.Window;
    //import com.ms.security.*;
    public class Edit extends Applet implements ActionListener, ItemListener
    String Gselect;
    reader readit;
    int mhz, khz;
    TextField textField1;
    String freq = "000.000";
    String data;
    Choice freqC;
    Button ActivateB, SaveB, /*CancelB, HelpB,*/ DeleteB;
    Checkbox SetC;
    int NotUsedReply[] = new int[200];
    int HwListReply[] = new int[200];
    public void init()
    readit = new reader();
    String myFile="satellite.st1";
    // myFile = myFile.concat(Gselect);
    File satellite = new File(myFile);
    textField1 = new TextField();
    textField1.setText( "(void) " );
    add( textField1 );
    SetC = new Checkbox("TRAP-RX");
    add(SetC);
    SetC.addItemListener(this);
    freqC = new Choice();
    freqC.setSize(20,50);
    freqC.add("000.000");
    add(freqC);
    freqC.addItemListener(this);
    ActivateB = new Button("Activate");
    add(ActivateB);
    ActivateB.addActionListener(this);
    SaveB = new Button("Save");
    add(SaveB);
    SaveB.addActionListener(this);
    DeleteB = new Button("Delete");
    add(DeleteB);
    DeleteB.addActionListener(this);
         /*CancelB = new Button("Cancel");
    add(CancelB);
    CancelB.addActionListener(this);
         HelpB = new Button("Help");
    add(HelpB);
    HelpB.addActionListener(this);*/
    //textField1.setText( data );
    for(int a = 1; a < 9; a++)
    data = readit.getData(satellite.getAbsolutePath(), a);//("E:\\forte4j\\system\\Projects\\Zebra\\satellite.st1", a);
    freqC.addItem(data);
    textField1.setText(satellite.getAbsolutePath() );
    public void paint(Graphics g)
    //g.drawString("Radio Setup Files",20, 20);
    //g.drawString(getParameter("wse"),20, 20);
    public void actionPerformed(ActionEvent event)
    if(event.getSource() == ActivateB)
    activator();
    if(event.getSource() == SaveB)
    /*if(event.getSource() == CancelB)
    stop();
    if(event.getSource() == HelpB)
    if(event.getSource() == DeleteB)
    public void itemStateChanged(ItemEvent e)
    if(e.getItemSelectable() == SetC)
    textField1.setText("Check box 1 clicked!");
    if(e.getItemSelectable() == freqC)
    freq = ((Choice)e.getItemSelectable()).getSelectedItem();
    public void activator()
    makeMHZ();
    makeKHZ();
    if(mhz > 254)
    int StartLink[]={0x0c,0x01,0x07,0x00,0x00,0x00,0x00,0x00,0x00};          //New Link Proc Start
    int TrapConfig[]={0x25,0x80,0x00,0x00,0x00,0xb7,0x00,0x0c,0x0b,          //TRAP Configuration
    0x00,0x00,0x00,0xff,0xa0,0xff,0x0d,0xff,0xe8,
    0xff,0x0d,0xff,0x00,0xff,0x15,0xff,0xb0,0xff,
    0xff,0xff,0x94,0x0a,0x01,0x06,0x1a,0x00,0x0d,
    0x2d,0x21};
    TrapConfig[11]=(mhz-255);
    TrapConfig[12]=(khz/5);
    int SetUserOutput[]={0x41,0x42,0x49,0x54,0x52,0x41,0x50,0x20,0x34, //Sets User Output Format
    0x35,0x34,0x35,0x30,0x30,0x2e,0x30,0x4e,0x30,
    0x38,0x32,0x34,0x35,0x30,0x30,0x2e,0x30,0x57,
    0x30,0x31,0x30,0x30,0x2e,0x30,0x30,0x4b,0x4d,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00};
    sendget CmdFunc;
    CmdFunc=new sendget();
    try
    //PolicyEngine.assertPermission(PermissionID.SYSTEM);
    Socket h = new Socket("192.9.200.155",9000);
    Socket s = new Socket("192.9.200.155",9001);
    Socket t = new Socket("192.9.200.155",9002);
    int j;
    CmdFunc.SendCmd(h,0,0x01,null);
    CmdFunc.GetCmd(h,HwListReply);
    CmdFunc.SendCmd(s,9,0x1e,StartLink); //New Link Proc Start
    CmdFunc.GetCmd(s,NotUsedReply);
    CmdFunc.SendCmd(s,37,0x00,TrapConfig); //TRAP Configuration
    CmdFunc.GetCmd(s,NotUsedReply);
    CmdFunc.SendCmd(s,155,0x03,SetUserOutput);//Sets User Output Format
    CmdFunc.GetCmd(s,NotUsedReply);
    catch(Exception e){}
    else
    textField1.setText( "000.000 is the null choice. Try another." );
    public void receiveText1( String select )
    Gselect=select;
    public void makeMHZ()
    String y = freqC.getSelectedItem();
    y = y.substring(0,3);
    mhz = Integer.parseInt(y);
    //textField1.setText( y );
    public void makeKHZ()
    String y = freqC.getSelectedItem();
    y = y.substring(4,7);
    khz = Integer.parseInt(y);
    //textField1.setText( y );
    import java.awt.*;
    import java.applet.*;
    import java.io.RandomAccessFile;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.LineNumberReader;
    import java.awt.event.*;
    import com.ms.security.*;
    import netscape.security.*;
    import netscape.util.*;
    public class saver extends Applet implements ActionListener
    String nameS = "Data.txt";
    String dataS = "Default Data";
    Button saveB;
    public void init()
    saveB = new Button("SaveFile");
    add(saveB);
    saveB.addActionListener(this);
    public void actionPerformed(ActionEvent event)
    if(event.getSource() == saveB)
    RandomAccessFile RAF;
    byte array0[] = dataS.getBytes();
    try
    if (Class.forName("com.ms.security.PolicyEngine") != null)
    PolicyEngine.assertPermission(PermissionID.SYSTEM);
    if(Class.forName("netscape.security.PrivilegeManager") != null)
    netscape.security.PrivilegeManager.enablePrivilege("UniversalFileWrite");
    catch (Throwable cnfe)
    try
    RAF = new RandomAccessFile(nameS, "rw");
    // RAF.writeUTF(dataS);
    RAF.write(dataS.getBytes());
    RAF.close();
    catch(Exception e)
    public void receiveND(String name, String data)
    if(name != null)
    nameS = name;
    dataS=data;
    import java.io.RandomAccessFile;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.LineNumberReader;
    //import java.security.*;
    import com.ms.security.*;
    import netscape.security.*;
    import netscape.util.*;
    public class reader
    //Signature sig;
    public String getData(String filename, int pass)
    //String nameS = "Data.txt";
    String dataS = "Default Data Sucks";
    String comma = ",";
    int get = pass, count=0, top=0, bottom=0;
    char[] work;
    try
    if (Class.forName("com.ms.security.PolicyEngine") != null)
    PolicyEngine.assertPermission(PermissionID.SYSTEM);
    if(Class.forName("netscape.security.PrivilegeManager") != null)
    netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRead");
    catch (Throwable cnfe)
    try
    //sig.sign();
    //nameS = filename;
    RandomAccessFile RAF = new RandomAccessFile(filename, "r");
    // dataS = RAF.readUTF();
    dataS = RAF.readLine();
    RAF.close();
    catch(Exception e)
    return e.toString();
    work = dataS.toCharArray();
    for(int i = 0; i < dataS.length(); i++)
    if( work[i] == ',' )
    count++;
    if(get == count)
    bottom = i + 1;
    if( (work[i] == ',') && (count > get) && (top == 0) )
    top = i;
    dataS = dataS.substring(bottom,top);
    return dataS;
    }

    import java.awt.*;
    import java.applet.*;
    import java.net.*;
    import java.io.File;
    import java.awt.event.*;
    //import java.security.*;
    //import sun.security.*;
    //import java.awt.Window;
    //import com.ms.security.*;
    public class Edit extends Applet implements ActionListener, ItemListener
    String Gselect;
    reader readit;
    int mhz, khz;
    TextField textField1;
    String freq = "000.000";
    String data;
    Choice freqC;
    Button ActivateB, SaveB, /*CancelB, HelpB,*/ DeleteB;
    Checkbox SetC;
    int NotUsedReply[] = new int[200];
    int HwListReply[] = new int[200];
    public void init()
    readit = new reader();
    String myFile="satellite.st1";
    // myFile = myFile.concat(Gselect);
    File satellite = new File(myFile);
    textField1 = new TextField();
    textField1.setText( "(void) " );
    add( textField1 );
    SetC = new Checkbox("TRAP-RX");
    add(SetC);
    SetC.addItemListener(this);
    freqC = new Choice();
    freqC.setSize(20,50);
    freqC.add("000.000");
    add(freqC);
    freqC.addItemListener(this);
    ActivateB = new Button("Activate");
    add(ActivateB);
    ActivateB.addActionListener(this);
    SaveB = new Button("Save");
    add(SaveB);
    SaveB.addActionListener(this);
    DeleteB = new Button("Delete");
    add(DeleteB);
    DeleteB.addActionListener(this);
    /*CancelB = new Button("Cancel");
    add(CancelB);
    CancelB.addActionListener(this);
    HelpB = new Button("Help");
    add(HelpB);
    HelpB.addActionListener(this);*/
    //textField1.setText( data );
    for(int a = 1; a < 9; a++)
    data = readit.getData(satellite.getAbsolutePath(), a);//("E:\\forte4j\\system\\Projects\\Zebra\\satellite.st1", a);
    freqC.addItem(data);
    textField1.setText(satellite.getAbsolutePath() );
    public void paint(Graphics g)
    //g.drawString("Radio Setup Files",20, 20);
    //g.drawString(getParameter("wse"),20, 20);
    public void actionPerformed(ActionEvent event)
    if(event.getSource() == ActivateB)
    activator();
    if(event.getSource() == SaveB)
    /*if(event.getSource() == CancelB)
    stop();
    if(event.getSource() == HelpB)
    if(event.getSource() == DeleteB)
    public void itemStateChanged(ItemEvent e)
    if(e.getItemSelectable() == SetC)
    textField1.setText("Check box 1 clicked!");
    if(e.getItemSelectable() == freqC)
    freq = ((Choice)e.getItemSelectable()).getSelectedItem();
    public void activator()
    makeMHZ();
    makeKHZ();
    if(mhz > 254)
    int StartLink[]={0x0c,0x01,0x07,0x00,0x00,0x00,0x00,0x00,0x00}; //New Link Proc Start
    int TrapConfig[]={0x25,0x80,0x00,0x00,0x00,0xb7,0x00,0x0c,0x0b, //TRAP Configuration
    0x00,0x00,0x00,0xff,0xa0,0xff,0x0d,0xff,0xe8,
    0xff,0x0d,0xff,0x00,0xff,0x15,0xff,0xb0,0xff,
    0xff,0xff,0x94,0x0a,0x01,0x06,0x1a,0x00,0x0d,
    0x2d,0x21};
    TrapConfig[11]=(mhz-255);
    TrapConfig[12]=(khz/5);
    int SetUserOutput[]={0x41,0x42,0x49,0x54,0x52,0x41,0x50,0x20,0x34, //Sets User Output Format
    0x35,0x34,0x35,0x30,0x30,0x2e,0x30,0x4e,0x30,
    0x38,0x32,0x34,0x35,0x30,0x30,0x2e,0x30,0x57,
    0x30,0x31,0x30,0x30,0x2e,0x30,0x30,0x4b,0x4d,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x00,0x00};
    sendget CmdFunc;
    CmdFunc=new sendget();
    try
    //PolicyEngine.assertPermission(PermissionID.SYSTEM);
    Socket h = new Socket("192.9.200.155",9000);
    Socket s = new Socket("192.9.200.155",9001);
    Socket t = new Socket("192.9.200.155",9002);
    int j;
    CmdFunc.SendCmd(h,0,0x01,null);
    CmdFunc.GetCmd(h,HwListReply);
    CmdFunc.SendCmd(s,9,0x1e,StartLink); //New Link Proc Start
    CmdFunc.GetCmd(s,NotUsedReply);
    CmdFunc.SendCmd(s,37,0x00,TrapConfig); //TRAP Configuration
    CmdFunc.GetCmd(s,NotUsedReply);
    CmdFunc.SendCmd(s,155,0x03,SetUserOutput);//Sets User Output Format
    CmdFunc.GetCmd(s,NotUsedReply);
    catch(Exception e){}
    else
    textField1.setText( "000.000 is the null choice. Try another." );
    public void receiveText1( String select )
    Gselect=select;
    public void makeMHZ()
    String y = freqC.getSelectedItem();
    y = y.substring(0,3);
    mhz = Integer.parseInt(y);
    //textField1.setText( y );
    public void makeKHZ()
    String y = freqC.getSelectedItem();
    y = y.substring(4,7);
    khz = Integer.parseInt(y);
    //textField1.setText( y );
    import java.awt.*;
    import java.applet.*;
    import java.io.RandomAccessFile;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.LineNumberReader;
    import java.awt.event.*;
    import com.ms.security.*;
    import netscape.security.*;
    import netscape.util.*;
    public class saver extends Applet implements ActionListener
    String nameS = "Data.txt";
    String dataS = "Default Data";
    Button saveB;
    public void init()
    saveB = new Button("SaveFile");
    add(saveB);
    saveB.addActionListener(this);
    public void actionPerformed(ActionEvent event)
    if(event.getSource() == saveB)
    RandomAccessFile RAF;
    byte array0[] = dataS.getBytes();
    try
    if (Class.forName("com.ms.security.PolicyEngine") != null)
    PolicyEngine.assertPermission(PermissionID.SYSTEM);
    if(Class.forName("netscape.security.PrivilegeManager") != null)
    netscape.security.PrivilegeManager.enablePrivilege("UniversalFileWrite");
    catch (Throwable cnfe)
    try
    RAF = new RandomAccessFile(nameS, "rw");
    // RAF.writeUTF(dataS);
    RAF.write(dataS.getBytes());
    RAF.close();
    catch(Exception e)
    public void receiveND(String name, String data)
    if(name != null)
    nameS = name;
    dataS=data;
    import java.io.RandomAccessFile;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.LineNumberReader;
    //import java.security.*;
    import com.ms.security.*;
    import netscape.security.*;
    import netscape.util.*;
    public class reader
    //Signature sig;
    public String getData(String filename, int pass)
    //String nameS = "Data.txt";
    String dataS = "Default Data Sucks";
    String comma = ",";
    int get = pass, count=0, top=0, bottom=0;
    char[] work;
    try
    if (Class.forName("com.ms.security.PolicyEngine") != null)
    PolicyEngine.assertPermission(PermissionID.SYSTEM);
    if(Class.forName("netscape.security.PrivilegeManager") != null)
    netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRead");
    catch (Throwable cnfe)
    try
    //sig.sign();
    //nameS = filename;
    RandomAccessFile RAF = new RandomAccessFile(filename, "r");
    // dataS = RAF.readUTF();
    dataS = RAF.readLine();
    RAF.close();
    catch(Exception e)
    return e.toString();
    work = dataS.toCharArray();
    for(int i = 0; i < dataS.length(); i++)
    if( work == ',' )
    count++;
    if(get == count)
    bottom = i + 1;
    if( (work == ',') && (count > get) && (top == 0) )
    top = i;
    dataS = dataS.substring(bottom,top);
    return dataS;

  • How can I compile BaseResource.java on iAS 6.0 SP4 on Solaris 8?

    I'm trying to upgrade our application server to SP4 but I can't until I am able to compile a couple hundred AppLogics in SP4. I posted about this last week but got no answer. Here's a simple compile that succeeds in SP2 and fails in SP4 :
    wwwtest% /export/home/iplanet/ias6/ias/usr/java/bin/javac -classpath .:/export/home/iplanet/ias6/ias/classes/java/nab25.jar:/export/home/iplanet/ias6/ias/classes/java/kfcjdk11.jar TBG/BaseResource.java
    TBG/BaseResource.java:0: The method void setSessionTimeout(int) declared in class com.netscape.server.nas.BaseResource cannot override the method of the same signature declared in interface com.kivasoft.ISession2. They must have the same return type.
    package TBG;
    ^
    1 error
    Here's the problem. kfcjdk11.jar was changed btwn
    SP2 and SP4 but nab25.jar wasn't. com.kivasoft.ISession2.setSessionTimeout (in kfcjdk11.jar) changed but com.netscape.server.nas.BaseResource (in nab25.jar) wasn't updated to conform to the new interface declaration. The old nab25.jar is included in the SP4 distribution but it's useless. Any recommendations on how to resolve this issue?

    Hi,
    Greetings to you. I'm interested to know the following.
    1. Are you able to run cxs engine ?. This means, just start the cxs engine
    without any errors before invoking any components with app server.
    2. Does cxs engine crash after you start and kas keeps restarting the cxs
    engine.
    Thanks & Regards
    Raj

  • Code Signing certificate expired

    Hello,
    I please need an information about SGDEE 4.1 login applet: it seems
    applet code signing certificate was expired on September 2, 2005.
    I have no problem (after I deleted all expired root certificates from
    local client repository) with Internet Explorer 6SP1, but Mozilla Firefox
    always prompt me a warning with this contents:
    Serial:     
    [62374265099632433790334794162326322759]
    Issuer:
    N=VeriSign Class 3 Code Signing 2001 CA,
    OU=Terms of use at https://www.verisign.com/rpa (c)01,
    OU=VeriSign Trust Network,
    O="VeriSign, Inc."
    Valid From: Wed Sep 01 02:00:00 CEST 2004,
    To: Fri Sep 02 01:59:59 CEST 2005
    Subject:
    CN="Tarantella, Inc.",
    OU=Digital ID Class 3 - Netscape Object Signing,
    O="Tarantella, Inc.",
    L=Santa Cruz,
    ST=California,
    C=US
    Thank you very much in advance,
    Best Regards,
    Valerio Morozzo

    I know this is an older post, but it helped me find out how to make the migration procedure for native installer. I tried it with self signed certificate created by ADT tool and everything went fine.
    But now, we obtained a commercial AIR signing certificate from Thawte and the process failes in step 3) ADT saying
    'Certificate in PATH_TO_P12 could not be used to sign setup.msi' on Windows.
    On mac, it says that signing native installer on OSX is not supported, so I skipped the signing option in step 3) and it worked fine.
    I can skip the signing option on Windows as well and the process succeeds, but running the installer on machines with previous versions of application results in "Installer mis-configured' error message - the same error as if the migration process was not applied.
    I already contacted Thawte if it is a certificate issue, reply from them was 'AIR certificate can only sign .air applications'. But when I build a native application directly from FlashBuilder and sign it with the Thawte certificate the whole process seem to succeed. The application can be installed on machines without previous version of the application. Those who already have the older version get the 'Installer mis-configured' error message.
    I want to mark out again, that the same process but with a self signed certificate created with ADT, is successfull and the application can be installer as an update on machines with older version of the app. So I assume the workflow is correct.
    Any ideas? Or somebody having the same issue?
    Thanks

  • Applet access to system Clipboard

    Hi all:
    I am creating a customized version of the mud telnet application for a customer. They have requested cut/paste functionality and I have been able to provide this capability. The problem is the applet cannot get access to the system clipboard so all cut/paste functions can only occur within the applet. I am able to access the system clipboard by creating a java.policy file and setting a permission. The problem is that most of the workstations, and a good number that will be using home computers running Win 98. They don't want the users to have to download the new JRE from Sun (although I know this works). I am looking for a way to creat a JAR file using the old JDK 1.1 (or the current toolkit if it is possible) that will allow access from the Applet to the System Clipboard. I have search the web for an answer, with no success. Can anyone give me any suggestions?
    Anybody had to do the same thing before?
    Thanks.
    John Kreiner

    I know this is an old thread, but I thought I would answer it.
    To access the clipboard via an applet, you need to use JavaScript.
    The first thing to do is to create a class that uses reflection to use the JSObject. The reason why reflection is used is because it is a pain (ITA) to specify a compatible binary for eacy java version (e.g. java40.jar, plugin.jar, jaws.jar, etc). Here is the class:
    import java.lang.reflect.*;
    import java.applet.Applet;
    public class JavaScript {
         public static void call(Applet applet, String methodName, Object[] param) {
              try {
                   Class js = Class.forName("netscape.javascript.JSObject");
                   Method callMethod = js.getMethod("call", new Class[] { String.class, Object[].class });
                   callMethod.invoke(getWindow(applet), new Object[] { methodName, param});
              } catch (Throwable t) {}
         public static Object getWindow(Applet applet) {
              Object o = null;
              try {
                   Class js = Class.forName("netscape.javascript.JSObject");
                   Method getWindowMethod = js.getMethod("getWindow", new Class[] { Applet.class });
                   o = getWindowMethod.invoke(null, new Object[] { applet });
              } catch (Throwable t) {}
              return o;
    }Now, when you want to copy something to the clipboard, you will do:
    JavaScript.call(someApplet, "copyToClipboard", text);
    BUT the "copyToClipboard" function has not been defined yet. This will be a JavaScript function in the html:
    <script language="JavaScript1.1">
    function copyToClipboard(text) {
         document.myForm.myInput.value = text;
         var rng = document.myForm.myInput.createTextRange();
         rng.execCommand("RemoveFormat");
         rng.execCommand("Copy");
    </script>And one last thing is that a JavaScript text component is required in order to create the "rng" variable. To do this, use a hidden field in the html:
    <form name="myForm">
         <input name="myInput" type="hidden">
         </input>
    </form>

  • 6 Step Signed Applet for IE

    last week I have the problem for Signed Applet,
    and I hope this will Help You.
    but, I am sorry
    for Netscape, it's not done yet.
    So, here are the Step for IE
    1. Create you java code (takepic.java)
         in your code write the securiy permission
         if(Class.forName("com.ms.security.PolicyEngine") != null)
    mlabel.setText("Done IE");
    PolicyEngine.assertPermission(PermissionID.UI);
         write your permission you want at the PermissionID target
    2. Create Cab File
         cabarc -p -r -s 6144 N takepic.cab takepic.class
    3. Create certificate
         makecert -sk private -n "cn=I Gusti Putu Anom" anom.cer
    4.create spc from certificate
         cert2spc anom.cer anom.spc
    5. create ini file contains permission you want (example perms.ini)
         [com.ms.security.permissions.PrintingPermission]
         [com.ms.security.permissions.PropertyPermission]
         Unrestricted=false
         IncludedProperties=java.vendor
         [com.ms.security.permissions.ThreadPermission]
         AllThreadGroups=true
         AllThreads=true
         [com.ms.security.permissions.UIPermission]
         ClipboardAccess=true
         TopLevelWindows=true
         NoWarningBanners=true
         FileDialogs=true
         EventQueueAccess=true
    6. signcode -j javasign.dll -jp perms.ini -spc anom.spc -k private takepic.cab
    for Netscape, you must use PrivilegeManager and you must create a jar file
         if(Class.forName("netscape.security.PrivilegeManager") != null)
    PrivilegeManager.enablePrivilege("SuperUser");
    you can find package for netscape at C:\Program Files\Netscape\Communicator\Program\java\classes\java40.jar
    for IE, you can find it at C:\WINNT\java\Packages\GI53BPN9.zip
    you can find the article at :
    http://www.ddj.com/articles/1999/9902/9902h/9902h.htm
    regards,
    I Gusti Putu Anom A
    Software Engineer
    Balicamp
    Bali - Indonesia

    I used the file from C:\WINNT\java\Packages\ folder.
    I used GI53BPN9.zip (My OS is Windows 2000)
    there are 8 files on this folders
    Windows 2000 and Windows NT has diferrent name for the package file.
    I think you should use all the zip file from "C:\WINNT\java\Packages\", Because I'm not sure which file contain com.ms.security on your computer.

  • Problem compiling NAS 2.1 AppLogics on iAS 6.0 SP4 on Solaris

    I'm currently trying to upgrade our live server from
    iAS 6.0 SP2 to iAS 6.0 SP4 (on Solaris 8) and ran into
    a problem in recompiling some NAS 2.1 AppLogics on my
    SP4 server. I made no modifications to the code or
    build.xml which runs fine on SP2. Here's what happens
    when I run build :
    wwwtest% build
    Searching for build.xml ...
    Buildfile: /export/home/iplanet/ias6/ias/APPS/TBG/build.xml
    compile:
    [javac] Compiling 207 source files to /export/home/iplanet/ias6/ias/APPS
    [javac] /export/home/iplanet/ias6/ias/APPS/TBG/BaseResource.java:0: The method void setSessionTimeout(int) declared in class com.netscape.server.nas.BaseResource cannot override the method of the same signature declared in interface com.kivasoft.ISession2. They must have the same return type.
    [javac] package TBG;
    [javac] ^
    [javac] 1 error
    BUILD FAILED
    /export/home/iplanet/ias6/ias/APPS/TBG/build.xml:48: Compile failed, messages should have been provided.
    Total time: 26 seconds
    Here's my kludged-together build.xml (only the
    compile target does anything for this app...)
    <?xml version="1.0"?>
    <!-- ============================================================== -->
    <!-- Ant XML file for TBG application as deployed to -->
    <!-- iPlanet Application Server. -->
    <!-- -->
    <!-- Copyright (c) 2000 Sun Microsystems, Inc. All rights reserved. -->
    <!-- ============================================================== -->
    <project name="TBG" default="compile" basedir="..">
    <!-- App name-dependent settings. -->
    <property name="appname" value="TBG"/>
    <property name="ear" value="${appname}App.ear"/>
    <property name="war" value="${appname}.war"/>
    <property name="ejbjar" value="${appname}Ejb.jar"/>
    <!-- Package directory structures of interest. -->
    <property name="app.pkgprefix" value="TBG"/>
    <property name="ias.bin" value="${ias.home}/bin"/>
    <!-- change this property to use a compiler other than javac. -->
    <property name="build.compiler" value="classic"/>
    <!-- Source file location. -->
    <property name="src" value="TBG"/>
    <property name="src.docroot" value="${src}/docroot"/>
    <!-- Destination directory for the build -->
    <property name="build" value="TBG"/>
    <property name="build.docdir" value="${build}/docs/api"/>
    <property name="build.classesdir" value="."/>
    <property name="build.classpath" value="${build.classesdir}:${ias.cpath}:${ias.home}/classes/java/nab25.jar"/>
    <!-- Destination directory for the assembly targets -->
    <property name="assemble" value="../assemble"/>
    <property name="assemble.ejbjar" value="${assemble}/jar"/>
    <property name="assemble.war" value="${assemble}/war"/>
    <property name="assemble.ear" value="${assemble}/ear"/>
    <!-- ======================================================= -->
    <!-- Compile all classes. -->
    <!-- ======================================================= -->
    <target name="compile">
    <javac srcdir="${src}"
    destdir="${build.classesdir}"
         classpath="${build.classpath}"/>
    </target>
    <!-- ======================================================= -->
    <!-- Build iAS-specific EJB stubs and skeletons. -->
    <!-- -->
    <!-- See build/ejbc-<bean name>.txt files for ejbc results. -->
    <!-- ======================================================= -->
    <target name="stubs">
    <property name="ias.ejbc.cpath" value=".${cpath.seperator}${build.classpath}"/>
    <echo message="Started building iAS stubs and skeletons for EJBs" />
    <echo message="GreeterEJB" />
    <exec dir="${build.classesdir}" executable="${ias.bin}/ejbc">
    <arg line="-classpath ${ias.ejbc.cpath} -sl samples.helloworld.ejb.GreeterHome samples.helloworld.ejb.Greeter samples.helloworld.ejb.GreeterEJB"/>
    </exec>
    <echo message="Finished building iAS stubs and skeletons for EJBs" />
    </target>
    <!-- ======================================================= -->
    <!-- Clean up various files and directories. -->
    <!-- ======================================================= -->
    <target name="clean_ear">
    <delete dir="${assemble.ear}"/>
    </target>
    <target name="clean_war">
    <delete dir="${assemble.war}"/>
    </target>
    <target name="clean_ejbjar">
    <delete dir="${assemble.ejbjar}"/>
    </target>
    <target name="clean_assemble">
    <delete dir="${assemble}"/>
    </target>
    <target name="clean" depends="clean_assemble">
    <delete dir="${build}"/>
    </target>
    <target name="fixforunix">
    <fixcrlf srcdir="${src}"
    cr="remove" eof="remove"
    includes="**/*.jsp,**/*.html,**/*.tld,**/*.xml,**/*.java,**/*.sh,**/*.sql"
    />
    </target>
    <!-- ======================================================= -->
    <!-- Assemble EJB JAR module. -->
    <!-- ======================================================= -->
    <target name="ejbjar" depends="clean_ejbjar">
    <mkdir dir="${assemble.ejbjar}"/>
    <copy todir="${assemble.ejbjar}/${app.pkgprefix}">
    <fileset dir="${build.classesdir}/${app.pkgprefix}/" includes="**/*.class" excludes="**/servlet/"/>
    </copy>
    <mkdir dir="${assemble.ejbjar}/META-INF"/>
    <copy file="ejb-jar.xml" tofile="${assemble.ejbjar}/META-INF/ejb-jar.xml"/>
    <copy file="ias-ejb-jar.xml" tofile="${assemble.ejbjar}/META-INF/ias-ejb-jar.xml"/>
    <jar jarfile="${assemble.ejbjar}/${ejbjar}"
    basedir="${assemble.ejbjar}"/>
    </target>
    <!-- ======================================================= -->
    <!-- Assemble WAR module. -->
    <!-- ======================================================= -->
    <target name="war" depends="clean_war">
    <mkdir dir="${assemble.war}"/>
    <copy todir="${assemble.war}">
    <fileset dir="${src.docroot}" excludes="cvs,annontation"/>
    </copy>
    <copy todir="${assemble.war}/WEB-INF/classes/${app.pkgprefix}">
    <fileset dir="${build.classesdir}/${app.pkgprefix}/" includes="**/servlet/*.class"/>
    </copy>
    <copy file="web.xml" tofile="${assemble.war}/WEB-INF/web.xml"/>
    <copy file="ias-web.xml" tofile="${assemble.war}/WEB-INF/ias-web.xml"/>
    <jar jarfile="${assemble.war}/${war}"
    basedir="${assemble.war}"/>
    </target>
    <!-- ======================================================= -->
    <!-- Assemble EAR module. -->
    <!-- ======================================================= -->
    <target name="ear" depends="ejbjar, war, clean_ear">
    <mkdir dir="${assemble.ear}"/>
    <copy file="${assemble.ejbjar}/${ejbjar}" tofile="${assemble.ear}/${ejbjar}"/>
    <copy file="${assemble.war}/${war}" tofile="${assemble.ear}/${war}"/>
    <copy file="application.xml" tofile="${assemble.ear}/META-INF/application.xml"/>
    <jar jarfile="${assemble.ear}/${ear}"
    basedir="${assemble.ear}"/>
    <delete file="${assemble.ear}/${ejbjar}" />
    <delete file="${assemble.ear}/${war}" />
    </target>
    <!-- ======================================================= -->
    <!-- Create Javadocs. -->
    <!-- ======================================================= -->
    <target name="javadocs">
    <delete dir="${build.docdir}"/>
    <mkdir dir="${build.docdir}"/>
    <javadoc packagenames="samples.helloworld.*"
    sourcepath="${src}"
    destdir="${build.docdir}"
    author="true"
    version="true"
    use="true"
    windowtitle="iPlanet App Server HelloWorld Sample Application API"
    doctitle="iPlanet App Server HelloWorld Sample"
    bottom="Copyright &#169; 2000 Sun Microsystems Inc. All Rights Reserved."/>
    </target>
    <!-- ======================================================= -->
    <!-- Install targets. -->
    <!-- ======================================================= -->
    <target name="install_javadocs">
    <delete dir="../docs/api"/>
    <mkdir dir="../docs/api"/>
    <copy todir="../docs/api">
    <fileset dir="${build.docdir}/"/>
    </copy>
    </target>
    <target name="install_ear">
    <copy file="${assemble.ear}/${ear}" tofile="../${ear}"/>
    <echo message="Copied ${ear} to sample root directory." />
    <echo message="Executing iasdeploy to register ${ear}."/>
    <exec executable="${ias.bin}/iasdeploy">
    <arg line="deployapp -verbose ../${ear}"/>
    </exec>
    </target>
    <target name="deploy" depends="install_ear">
    </target>
    <target name="core" depends="compile, stubs, ejbjar, war, ear" />
    <target name="all" depends="core, javadocs" />
    <target name="install" depends="install_javadocs, install_ear" />
    </project>

    Hi,
    Greetings to you. I'm interested to know the following.
    1. Are you able to run cxs engine ?. This means, just start the cxs engine
    without any errors before invoking any components with app server.
    2. Does cxs engine crash after you start and kas keeps restarting the cxs
    engine.
    Thanks & Regards
    Raj

  • Urgent!  LDAPRealm and JNDI provider

    I must setup ldap realm using Site Server. According to
    Service Pack 6, Sun's service provider doesn't work with
    Site Server. I set-up Netscapes's as was advised. The
    problem is that Weblogic can't find LdapContextFactory
    class file (part of ldapsp.jar). This is how it is setup in
    my StartWeblogic.cmd:
    WEBLOGIC_CLASSPATH=.\license;.\classes;.\lib;.\lib\ldapsp.jar;
    .\lib\weblogicaux.jar;.\lib\ldapfilt.jar;.\lib\ldapjdk.jar;
    .\myserver\serverclasses
    Also I tried to put it in my JAVA_CLASSPATH. JAR files are
    in LIB folder with other jar files. Weblogic sees all of
    them except these. I tried to use these libraries from a
    stand-alone client talking to directory server and it works
    fine.
    Please advise.
    Thank you, Boris
    Here is a console message:
    Unable to initialize server: weblogic.security.ldaprealm.LDAPException: could not
    get context - with nested exception:
    [java.lang.reflect.InvocationTargetException - with
    target exception:
    [javax.naming.NoInitialContextException: Cannot
    instantiate class:  com.netscape.jndi.ldap.LdapContextFactory  [Root exception is java.lang.ClassNotFoundException:
    com/netscape/jndi/ldap/LdapContextFactory ]]]
    fatal initialization exception
    weblogic.security.ldaprealm.LDAPException: could not
    get context - with nested exception:
    [java.lang.reflect.InvocationTargetException - with
    target exception:
    [javax.naming.NoInitialContextException: Cannot
    instantiate class: com.netscape.jndi.ldap.LdapContextFactory 
    [Root exception is java.lang.ClassNotFoundException:  com/netscape/jndi/ldap/LdapContextFactory ]]]
    at weblogic.security.ldaprealm.LDAPDelegate.getContext
    (LDAPDelegate.java:212)
    at weblogic.security.ldaprealm.LDAPDelegate.lookup
    (LDAPDelegate.java:232)
    at weblogic.security.ldaprealm.LDAPDelegate.search
    (LDAPDelegate.java:345)
    at weblogic.security.ldaprealm.LDAPDelegate.search
    (LDAPDelegate.java:354)
    at weblogic.security.ldaprealm.LDAPDelegate.getGroupMembers
    (LDAPDelegate.java:553)
    at weblogic.security.ldaprealm.LDAPDelegate.getGroup
    (LDAPDelegate.java:539)
    at weblogic.security.ldaprealm.LDAPDelegate.getGroup
    (LDAPDelegate.java:527)
    at weblogic.security.ldaprealm.LDAPRealm.getGroup
    (LDAPRealm.java:75)
    at weblogic.security.acl.CachingRealm.getGroup
    (CachingRealm.java:1420)
    at weblogic.security.acl.CachingRealm.getPrincipal
    (CachingRealm.java:1020)
    at weblogic.security.acl.CachingRealm.addPermission
    (CachingRealm.java:813)
    at weblogic.security.acl.CachingRealm.setupAcls
    (CachingRealm.java:802)
    at weblogic.security.acl.CachingRealm.<init>
    (CachingRealm.java:706)
    at weblogic.security.acl.CachingRealm.<init>
    (CachingRealm.java:564)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity
    (T3Srvr.java:1750)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1086)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)

    Exception in thread "main"
    java.security.NoSuchAlgorithmException: Algorithm
    PBEWithSHAANDTwofish-CBC not avai
    lable
    at javax.crypto.SunJCE_b.a(DashoA6275)Well, you're clearly not finding BC.
    Here's the deal.
    I have done the following:
    I have downloaded the bouncycastle for jdk 1.4 from
    bouncycastle.org.I read somewhere in there that i also
    had to download and change the jurisdiction.jar policy
    files shpped in the jce.Ive done that too. jurisdiction.jar? Not something I've ever had to do. Are you thinking of the unlimited-strength jars? Those are local_policy and US_export_policy.jar.
    I have also
    pasted the .jar file bouncycastle after i jarred it
    myselfYou re-jarred BC? That won't work - the jar has to be signed, or JCE complains. If you rejar it, it won't be signed correctly, and you'll get an error when JCE goes to load it.
    in the jre both in j2sdk as well as C:\program
    files\java\security. Providers go in lib/ext, not JAVA_HOME/security.
    However, after having done all that i still keep
    getting the same errorHave you added BC to the java.security file, as the second Provider? (You need to leave SunJCE as the first one) If not, and after you put the BC jarfile (untouched by you!) into lib/ext, add this code to the start of your app:Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
    What am i doing wrong?Is there a complete proper site
    that tells u exactly what to do as to how to add this
    provider??http://java.sun.com/j2se/1.4.2/docs/guide/security/jce/JCERefGuide.html#InstallProvider
    Do i perhaps need to include the bouncycastle provider
    in my code as well???You can - see above. But java.security is the file to modify if you want to add it statically.
    Grant

Maybe you are looking for

  • SAPUI5 in SAP MII 14.0 - error on running index.html

    Dear All, I am working on SAP MII 14.0. I am trying to run a sample example on SAPUI5 implementation in SAP MII 14.0 taken from link: http://scn.sap.com/community/manufacturing/mii/blog/2013/03/21/making-engaging-ui-on-sap-mii-with-sapui5 But I got a

  • My Laptop operating system isn't compatible with the sortware...HELP

    I'm using my old PC Laptop which uses Windows Vista operating system....how can i download the free trial pacakages??

  • EDI 820 used for Check processing

    We currently print our checks via a data file sent to a 3rd party.  They have informed us they can accept an EDI 820 instead of the custom format we send them now.  We use 820s for other payments so I am familiar with how that process works, but I am

  • Cloud wiped out my calendar in Outlook. Can I print my cloud calendar.

    When I look at print preview in my cloud calendar it is blank. When I synced my cloud with my outlook it wiped out the entries. TIA

  • ISync and damaged reminders

    I am getting a bunch of messages like the following in my console log: 2008-06-04 22:43:16.307 - ISync: removing damaged reminders from the event TEST 2008-06-05 08:43:59.505 - ISync: removing damaged reminders from the event Test created on Palm w/a