Cannot set border for JPanel

I am not able to select any border for a JPanel, except <default>, in the property window of the visual designer. I can insert a statement by hand to get the border (e.g.: jPanel1.setBorder(new javax.swing.border.EtchedBorder());
), but I would like to do it with the visual designer. Is this a missing feature or do I do something wrong?
Thank you
Heinz

You first have to make a Border object in your source code, then it will allow you to select the border.
example:
import javax.swing.border.*;
public class MyFrame1
// Create a border object in your class
// Add this next line, and change it to
// create the type of border you want.
Border borderPanel1 = BorderFactory.createEtchedBorder();
after this, you can use the inspector to set the border property (you should see borderPanel1 in the combobox of choices)
Take Care,
Rob
null

Similar Messages

  • Cannot set ringtones for people in my adress book

    i have wiped handheld twice and still cannot set individual ringtones for people in my adress book that is different than the general ring was able too on my last phone and it was exact same phone

    Hello rhwk118,
    Welcome to the BlackBerry Support Community Forums.
    Can you please clarify what model of the BlackBerry Smartphone you are currently using and the software version it is running. You can locate this info by going to Options>About (3rd line from the top) on your BlackBerry Smartphone.
    Thank you
    -DrP
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Cannot Set URL For Report Server SSL Binding In SSRS 2008R2

    Hi,
    I have an SSL certificate that has a number of subject alternate names and I need the SSL binding for the report server and the report manager to be against one of these names, not the certificate name.
    However, while it is possible to set the host header for a non-SSL identity and therefore control the URL reserved, it does not seem possible to set this for an SSL identity - the edit dialogue box simply generates the URL when you choose the certificate
    from the dropdown box.
    How do I set the URL for a report server SSL binding?
    Cheers
    Dan

    Hi Charlie,
    You are correct, i am configuring SSL connections on a native mode report server and i want to configure a custom URL for it.
    However, my issue is not that I cannot see the certficate - it is that I cannot set a custom URL for SSL connections. Apologies, I should have written up an example of what I am seeing:-
    I have installed a certificate for a.company.com. It shows up fine in the certificate list/dropdown for configuring the web service URL SSL certificate.
    I can set a host header for non-SSL traffic for a.company.com and the binding succeeds. I can also set an SSL identity in the same Advanced Multiple Web Site Configuration window for a.company.com and this also binds correctly.
    However, the certficate is like a wildcard in that it supports 4 more URLs in its subject alternate name property. I would like to set an SSL identity for b.company.com which is one of those entries.
    As an aside, the certificate is also installed in IIS and succeeds in binding to b.company.com. I mention this as it shows that the certificate appears to be installed correctly and is working in its wildcard-like capacity.
    I can also successfully set a host header for b.company.com for the report server for non-SSL traffic. It is b.company.com that I would like to host the report server and manager under.
    The issue I have is that if I try to add an SSL identity for the report server web service for b.company.com using the Advanced Multiple Web Site Configuration window, there is no editable box for URL and so it does not allow me to set the URL/host
    header - it therefore always binds to a.company.com.
    I have scoured the boards for answers and there have been a couple of mentions, but neither has worked for me.
    This one talks about adding the required
    https://b.company.com/reportserver to the rsreportserver.config file and the OP describes the issue pretty much exactly as I am experiencing plus the responder talks about this guidance as coming from MS support - however when I followed the steps the result
    is the same as without the configuration:-
    http://www.sql-server-performance.com/forum/threads/ssrs-2008-host-headers-and-ssl.28571/
    Another suggestion (for which I have lost the link) was to amend the URL config in that file directly and add the required entry. Both posters claim it has worked for them so I am sure that using a wildcard certificate with SSRS does work! I think in my
    case I am missing some extra steps as it is fine to amend the config file directly, but I don't think this actually kicks off the SSL/URL binding process which is what the dialogue window does.
    Hope this helps in explaining further. I am sure this is resolvable as I cannot believe the only option for SSRS is to bind to a single domain name and ignore the other wildcard/alternate options.
    Cheers
    Dan

  • Set border for JComboBox

    i'm trying to change the border for a JComboBox...actually the default border for a JComboBox is null but it is the border for the JScrollPane used by the JComboBox that i want to change....i'm lost as to how to access the JScrollPane that the JComboBox uses so i can change it's border...any ideas?...thanx in advance...

    This might help you see the component you're looking for, but at YATArchivist said, it is a look and feel not a JCombobox componentimport  javax.swing.*;
    import  java.awt.*;
    import  java.util.Random;
    import  java.awt.event.*;
    public class ComboScroll {
      static Random rnd = new Random(); 
      public static void main (String[] args) {
        try {
          if (args.length > 0) {
            UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
        } catch (Exception ex) {
          ex.printStackTrace();
        final JComboBox combobox = new JComboBox(
          ("foo|bar|baz|" + UIManager.getCrossPlatformLookAndFeelClassName()).split("\\|"));
        combobox.setEditable(true);
        final JFrame frame = new JFrame("ComboScroll");
        frame.getContentPane().add(combobox);
        frame.setVisible(true);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Timer timer = new Timer(800, new ActionListener () {
          public void actionPerformed (ActionEvent e) {
            dumpTree(frame, 0);
            Window[] windows = frame.getOwnedWindows();
            for (int index = 0; index < windows.length; index++) {
              dumpTree(windows[index], 0);
            System.out.println();
        timer.setRepeats(true);
        timer.start();
      static void dumpTree (Component component, int depth) {
        String className = component.getClass().getName();
        System.out.println(indent(depth) + component.getName() + ":" + className);
        if (component instanceof Container) {
          Container container = (Container)component;
          for (int index = 0; index < container.getComponentCount(); index++) {
            dumpTree(container.getComponent(index), depth + 1);
          if (component instanceof JComponent) {
            try {
              ((JComponent)component).setBorder(
                BorderFactory.createTitledBorder(
                  BorderFactory.createMatteBorder(4, 4, 4, 4, new Color(
                    rnd.nextInt(256), rnd.nextInt(256), rnd.nextInt(256))),
                  className.substring(className.lastIndexOf('.') + 1)));
            } catch (Exception ex) {
        if (depth == 0) {
          System.out.println();
      static String indent (int depth) {
        return "                                         ".substring(0, depth * 2);
    }Pete

  • Setting size for JPanel to fit JTable

    hi!
    Iam stuck with some grey area in JPanel or JScroolPanel with holds JTable, starting to get gray hair by trying to get rid of that
    public class MiniCalTopPane extends JPanel {
         private static final long serialVersionUID = 8490663735555155912L;
         private TableValues tv;
         private JTable table;
         private JLabel lable;
         public MiniCalTopPane() {
              //create pane with border layout
              super(new BorderLayout());
              //create components
              tv = new TableValues();
              table = new TableW(tv);
              lable = new JLabel("2006");
              lable.setSize(table.getWidth(), 25);
              System.out.println(table.getWidth());
              JScrollPane jsp = new JScrollPane(table);
              jsp.setPreferredSize(new Dimension(200,
                        (table.getHeight())));
              this.add(lable, BorderLayout.BEFORE_FIRST_LINE);
              this.add(jsp, BorderLayout.CENTER);
              setPreferredSize(jsp.getPreferredSize());
              setBackground(Color.GREEN);
              this.setOpaque(true);
    }JTable
    public class TableW extends JTable{
         private static final long serialVersionUID = 2480280947312015884L;
         private static final int ROW_HEIGHT             = 20;
        private static final int COL_WIDTH              = 20;
         public TableW(TableModel dm) {
              super(dm);
            this.changeSelection(0,0,false,false);
            this.setAutoCreateColumnsFromModel(true);
    //      initiate row height
            this.setRowHeight(ROW_HEIGHT);
            this.setAutoResizeMode(AUTO_RESIZE_ALL_COLUMNS);
            this.setRowSelectionAllowed(true);
            this.setColumnSelectionAllowed(true);
            //no dragible colums please!
            this.getTableHeader().setReorderingAllowed(false);
            //dont show grid in table
            this.setShowGrid(false);
            tableHeader.setBackground(Color.WHITE);
              TableColumnModel tcm = this.getColumnModel();       
            //add cutom render to
              for (int i = 0; i < this.getColumnCount(); i++) {
                   TableColumn tc = tcm.getColumn(i);
                   tc.setCellRenderer(new SmallCallRender());
         }I don't se whats is the proble, hope you can point me out :P
    and thanx in advance

    Well, the code you posted isn't executable, so we can't tell whats going on based on the code you posted.
    Here is a simple example that sizes the frame based on the tables size:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=627108
    If you want the frame to be bigger than the table then you can always add the table to the NORTH of the BorderLayout and set the color of the panel to whatever you want. Or, if you keep the table in the center then you need to set the background of the JViewport of the JScrollPane.
    If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

  • [SOLVED] cannot set keyboard for X clients

    Hi everyone,
    I just set up Arch on my Samsung NC20 a few days ago after a couple of years on Ubuntu. I'm enjoying it so far, but I've run into the following problem. I've tried to set my keyboard to 'uk' but I only get a UK keyboard at login time. As soon as I launch an X client, I am back with a US keyboard. (In case it matters, I've mainly been using wmii, LilyTerm, and Firefox. I have no desktop.)
    My /etc/vconsole.conf file reads
    KEYMAP=uk
    and I set up a file /etc/X11/xorg.conf.d/99-keyboard-locale.conf that reads as follows:
    Section "InputClass"
        Identifier                  "Keyboard Defaults"
        MatchIsKeyboard    "yes"
        Option                "XkbLayout"    "uk"
    EndSection
    The option 'uk' is indeed present on my machine (although I tried 'gb' too, to no avail). When I look in /usr/share/kbd/keymaps/i386/qwerty I find uk.map.gz; and I get a UK keyboard when I log in, as I said.
    One weird thing is that if I run
    setxkbmap -layout uk
    from the command line in LilyTerm, I get the following:
    No protocol specified
    Cannot open display ":0"
    I don't know if that's relevant.
    Can anyone help? How can I set my keyboard to 'uk' for X clients?
    Best,
    PaulE
    Last edited by PaulE (2012-12-21 22:16:05)

    As far as I know, there is no uk layout for xorg and keymap ≠ X keyboard layout. Always check /usr/share/X11/xkb/rules/xorg.lst.
    cat /usr/share/X11/xkb/rules/xorg.lst | grep UK
    gb English (UK) # keyboard layout (following lines are variants)
    extd gb: English (UK, extended WinKeys)
    intl gb: English (UK, international with dead keys)
    dvorak gb: English (UK, Dvorak)
    dvorakukp gb: English (UK, Dvorak with UK punctuation)
    mac gb: English (UK, Macintosh)
    mac_intl gb: English (UK, Macintosh international)
    colemak gb: English (UK, Colemak)
    Try adding setxkbmap -layout gb to your .xinitrc file and see if it solves the problem.
    EDIT: Added a comment to the first line of output.
    Last edited by ximun (2012-12-21 15:55:21)

  • Set defaults for contacts

    HI,
    Can anyone tell me how to set the defaults for the contacts.  Right now when I save a number in the contacts it is automatically set as a "work" number.  I want it to automatically be a mobile number.  This will save a lot of cut and pasting.  Thanks.

    20-Oct-2008 12:07 AM
    orgazmic wrote:
    Generally pleased with my new N96 which replaces my ageing N95 but i have noticed two bugs. I am using a simfree, nokia shop purchased N96 update to SW v11.101.098.1.
    BUG 1: I've imported my contacts from my N95 and i cannot set defaults for email addresses or numbers. When the defaults option is selected from the menu in contacts the conacts application immediatley closes and i am returned to the front screen. Defaults for contacts i've created on the N96 can have there defaults set but defaults cannot be set for contacts imported using PC Suite or the phones sync utility. Also, for imported contacts the ringtone is the default nokia tune and not the tone defined in the contact or in my active profile. Again only imported contacts show this glitch with a contact created on the N96 working as expected. The default ringtone issue seems to be a common one on the forum maybe this is a connection.
    BUG 2: The phone freezes if you try to resume playback of a video file whilst using a bluetooth headset (in my case a nokia BH-500). With the phone connected to the BH-500 you can play a video file from the start but when promted to continue the latest played file from last position its 'take the battery out time' when the phone locks up.
    Any user got any thoughts on these anomolies??
    Message Edited by orgazmic on 20-Oct-2008 12:13 AM
    Hello, i have the 11.101 version and I imported all my contacts via PC suite and I CAN use the defaults option and the ringtone can be anything I want (apart for video ringtones-they don't work).
    N95,N81,N96, N97

  • Why can't Firefox set permissions for Snow Leopard Server Web-Site Wikis

    I've established a web-site for collaboration of planning for a state-wide NGO and a local citizens-government oversight commission.
    I'm using Snow Leopard Server v10.6.4, to drive the web-site, which includes the use of wikis.
    In creating a wiki and setting permissions, I find that I cannot set permissions for users or groups to 'read only' from the default 'read & write' while using Firefox. However, I CAN set them to 'read only' using Safari. And, once the permission has been modified in Safari, THEN it can be modified in Firefox.

    Solution found at http://michaeljin.wordpress.com/2010/01/05/locked-out-of-mac-os-x-server/
    It’s blog update time! Updates have been a little scarce lately, been super busy with getting trophies on PS3
    Anyway, recently encountered the following with a Mac mini server running Snow Leopard Server:
    Despite being able to ARD / Screenshare the Mac mini, I was unable to get any further than the login window. Authentication credentials are obviously valid. No weird access permissions have been set. However, the weird thing was, I can connect to the server via Server Admin tools (from another Mac) and all other services were running without a hitch.
    After much head scratching it turns out to be a sACL (Service Access Control List) issue.
    This thread solved the mystery!
    http://discussions.apple.com/thread.jspa?threadID=1654864
    To save you the trouble, I’ll lay it out here. I cannot take credit for this, but Randall can!
    Open Server Admin on a computer (any), and connect with the local admin to the machine.
    Select the server and authenticate.
    Select Settings, then go to Access. You’ll want to make sure that Login Window and SSH have the local admin account listed if you select the option to “Allow only these users”. For now, I would suggest making sure all services have “Allow all users and groups” selected.
    If (as in my case) it was set to Allow All in the first place, simply toggle the settings – back and forth.
    Save.
    Try logging in again… should be a good one!

  • Set background color to inside of the border in JPanel.

    Hi all,
    I want to set background color for JPanel with in the TitledBorder limit.
    Thanks in Advance.
    Siddhes.

    >
    I want to set background color for JPanel with in the TitledBorder limit.>Here is another approach..
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    class ColoredInnerPanel {
      public static void main(String[] args) {
        JPanel coloredPanel = new JPanel();
        coloredPanel.setBackground(Color.RED);
        coloredPanel.setPreferredSize( new Dimension(300,400) );
        JPanel outerPanel = new JPanel(new BorderLayout());
        outerPanel.add( coloredPanel );
        outerPanel.setBorder(new TitledBorder("I See Red"));
        JOptionPane.showMessageDialog(null, outerPanel);
    }

  • In FrameMaker 9.0.3 and 9.0.4, I cannot set tab stops for a style in the Paragraph Designer.

    In FrameMaker 9.0.3 and 9.0.4, I cannot set tab stops for a style in the paragraph designer. Here are the steps to dysfunction:
    1. In Paragraph Designer, for Tab Stops, click Edit. Edit Tab Stop dialog box opens, and the Paragraph Designer dialog box closes.
    2. Type value in New Position box.
    3. Click Continue. The Edit Tab Stop box closes.
    4. Open Paragraph Designer. No tabs are recorded.
    Discussion of a similar problem occured on this forum in June 2010. At that time, the resolution seemed to be to upgrade to 9.0.3. Has anyone else encountered this problem with these versions?
    Thanks.

    Hi, Arnis,
    Brilliant! Thanks so much. I only looked at the later discussions of that thread, which seemed to indicate the problem would be solved by an upgrade to 9.0.3.
    -Trish

  • Error message "Data cannot be maintained for set type COMM_PR_PUR_1

    Hi
    While replicating the material master through R3AS I am getting an error for which the details to be checked in SMW01. In SMW01 when I selected the record for error details I am getting above error message.  How to resolve ? Pls guide me stepwise. For your information I has cleared SMQ1 in R3 & SMQ2 in SRM
    For curioisity next I selected all such error logs & deleted. It gave me one warning (some inconstinecies error) which I ignored. After that I checked SMQ1 of R3 & SMQ2 of SRM. No log
    But I observed a strange thing. Whatever material codes I am creating it is going straightway to SRM without running R3AS transaction. I checked R3AM1, selected the row and cancelled. But still going without any interferrance. Why ? How shall I stop this.
    Thanks

    Hello,
    >
    BNR wrote:
    > Hi
    > While replicating the material master through R3AS I am getting an error for which the details to be checked in SMW01. In SMW01 when I selected the record for error details I am getting above error message.  How to resolve ? Pls guide me stepwise. For your information I has cleared SMQ1 in R3 & SMQ2 in SRM
    >(...)
    Have a look at OSS note 1049693 - Data cannot be maintained for set type COMM_PR_PUR_1.
    Regards.
    Laurent.

  • Cannot set up certs for trusted CAs going from 1.4.2_03 to 1.4.2_13

    Getting a wierd issue with "Cannot set up certs for trusted CAs" This works if we are using anything less then 1.4.2_07, but the minute we install 1.4.2_07 or 13 as the case may be we get the following Exception:
    log9: java.lang.ExceptionInInitializerError
    log9: at javax.crypto.Cipher.a(DashoA12275)
    log9: at javax.crypto.Cipher.getInstance(DashoA12275)
    log9: at com.gm.gwm.common.util.AesUtil.encrypt(AesUtil.java:31)
    log9: at com.gm.gwm.common.data.OfflineAuthenticatorDao.updatePassword(OfflineAuthenticatorDao.java:645)
    log9: at com.gm.gwm.common.service.OfflineAuthenticatorService.updatePassword(OfflineAuthenticatorService.java:141)
    log9: at main.jspService(_main.java:156)
    log9: at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    log9: at oracle.lite.web.JupServlet.service(Unknown Source)
    log9: at oracle.lite.web.JspRunner.service(Unknown Source)
    log9: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    log9: at oracle.lite.web.JupServlet.service(Unknown Source)
    log9: at oracle.lite.web.MimeServletHandler.handle(Unknown Source)
    log9: at oracle.lite.web.JupApplication.handle(Unknown Source)
    log9: at oracle.lite.web.JupApplication.service(Unknown Source)
    log9: at oracle.lite.web.JupHandler.handle(Unknown Source)
    log9: at oracle.lite.web.HTTPServer.process(Unknown Source)
    log9: at oracle.lite.web.HTTPServer.handleRequest(Unknown Source)
    log9: at oracle.lite.web.JupServer.handle(Unknown Source)
    log9: at oracle.lite.web.SocketListener.process(Unknown Source)
    log9: at oracle.lite.web.ClientListener.process(Unknown Source)
    log9: at oracle.lite.web.SocketListener$ReqHandler.run(Unknown Source)
    log9: Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
    log9: at javax.crypto.SunJCE_b.<clinit>(DashoA12275)
    log9: ... 21 more
    log9: Caused by: java.lang.IllegalStateException: Already connected
    log9: at java.net.URLConnection.setUseCaches(Unknown Source)
    log9: at sun.net.www.protocol.jar.JarURLConnection.setUseCaches(Unknown Source)
    log9: at javax.crypto.SunJCE_d.a(DashoA12275)
    log9: at javax.crypto.SunJCE_b.g(DashoA12275)
    log9: at javax.crypto.SunJCE_b.f(DashoA12275)
    log9: at javax.crypto.SunJCE_t.run(DashoA12275)
    log9: at java.security.AccessController.doPrivileged(Native Method)
    Not sure what we are doing wrong.
        public static String encrypt(String value) throws AesException {
              try {
                   SecretKeySpec secKeySpec = new SecretKeySpec(fromHexString(encyptKey), algorithm);
                   Provider provider = new SunJCE();
                  Security.addProvider(provider);
                Cipher cipher = Cipher.getInstance(algorithm, provider);
                   cipher.init(Cipher.ENCRYPT_MODE, secKeySpec);
                   byte[] encryptedBytes = cipher.doFinal(value.getBytes());
                   return toHexString(encryptedBytes);
              } catch (Exception e) {
                   throw new AesException(e);
         }

    I added that late just in case, for some strange reason, the provider wasn't getting picked up.
    Here is the list of available providers:
    log9: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore
    ; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores)
    log9: Sun JSSE provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
    log9: SUN's provider for RSA signatures
    log9: SunJCE Provider (implements DES, Triple DES, AES, Blowfish, PBE, Diffie-Hellman, HMAC-MD5, HMAC-SHA1)
    log9: Sun (Kerberos v5)
    log9: java.lang.ExceptionInInitializerError
    The minute I rollback to an older JVM this works.

  • "Cannot set up certs for trusted CAs" and Tomcat

    I have succeeded in downloading/installing the JCE component and writing a small java program that ecrypts and decrypts text.
    Now that I've tried to integrate this code into a web application, I'm getting the following exception message:
    java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs: java.lang.SecurityException: Cannot locate policy and/or framework files for signer restraint check!
         at javax.crypto.SunJCE_b.<clinit>(DashoA6275)
         at javax.crypto.Cipher.a(DashoA6275)
         at javax.crypto.Cipher.getInstance(DashoA6275)
    I've copied the four JAR files into the web-inf/lib directory. I believe that I need to make changes to the appropriate policy file (which I assume is the catalina.policy file under the tomcat/conf folder) but this doesn't seem to make any difference.
    Can anybody help??
    Cheers,
    Ben
    PS - I DON'T want to copy the JARs into <java-home>\lib\ext

    i've been dealing w/ jdk1.3 and jce
    installation, configuration, and exceptions for a day
    now. i've recently upgraded to j2sdk1.4.1 and i have
    the same problems:
    java.lang.reflect.InvocationTargetException:
    java.lang.ExceptionInInitializerError:
    java.lang.SecurityException: Cannot set up certs for
    trusted CAs: java.lang.SecurityException: Cannot
    locate policy and/or framework files for signer
    restraint check!
    can you give me a little more detail around your
    explanation. in particular, i can get my encryption
    code to run as a command line app using the JDK alone.
    its once i try to run the code inside of tomcat that i
    get this exception.
    so far, i've tried putting all the .jars in my
    classpath, as well as web-inf/lib, as well as
    jre/lib/ext, as well as tomcat_home/common/lib and
    nothing works.
    could this still be a provider problem as you indicate
    and how does that explain the fact that it works with
    the JDK alone?Sun's JCE 1.2.2 and their JCE Provider doing a cross checking of the classes and their signatures. In JDK 1.4 that cross validation were removed, but JCE framework still checking the signature of the provider.
    You may also need to check which JRE you are using. On windows you have two of them by default: the one within JDK installation and the another one within "Programm Files". The last one is used by default if you didn't specify the path for java command.
    I've been using BouncyCastle JCE and their provider for a while. It works just fine in web-inf\lib directory under the JRE 1.3.1. They also have the signed jar for J2SE 1.4 that does not includes JCE framework.
    Note that you have to register your provider dynamically if you going to use it in the web application. You also have to make sure that your web app has enough rights for that (check the security properties if you are using security).
    BTW, which app container are you using?

  • Java.lang.SecurityException: Cannot set up certs for trusted CAs

    Hi,
    The application iam working on encrypts & decrypts files. The application is deployed on a standalone OC4j container on solaris 5.8. I have downloaded the following jar files
    jce1_2_2.jar
    sunjce_provider.jar
    local_policy.jar
    US_export_policy.jar
    and have declared them in the application.xml
    when i run the application i get the following exception.
    java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs: java.lang.SecurityException: Signer restraint check failed! at javax.crypto.SunJCE_b.<clinit>(DashoA6275) at javax.crypto.Cipher.a(DashoA6275) at javax.crypto.Cipher.getInstance(DashoA6275) at pdfDownload.jspService(_pdfDownload.java:215) [SRC:/pdfDownload.jsp:167] at com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:484)
    Pls advise, is there any other setting that needs to be done ?
    Thanks & Regards
    Arun

    Hi,
    I got the solution for this. JCE 1.2.2 is supported on JDK 1.4.1 and JDK 1.4.2, but both of them have different unrestricted policy jars. I was able to solve the problem once I downloaded the unrestricted policy jars for JDK 1.4.2 (which is used by BEA 8.1 SP5) from the following URL : http://java.sun.com/j2se/1.4.2/download.html
    Regards,
    Prashant Kale.

  • Error running DataExportUtility - Cannot set up certs for trusted CAs

    When I try to run the DataExportUtility, I get the following Java exception... any ideas?
    Starting Data Export Utility...
    Exception in thread "main" java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs
    at javax.crypto.b.<clinit>([DashoPro-V1.2-120198])
    at javax.crypto.SecretKeyFactory.getInstance([DashoPro-V1.2-120198])
    at com.avaya.cc.cvx.security.CryptoServices.initialize(CryptoServices.java:249)
    at com.avaya.cc.cvx.security.CryptoServices.<init>(CryptoServices.java:234)
    at com.avaya.cc.cvx.security.CryptoServices.getInstance(CryptoServices.java:69)
    at com.avaya.stumbras.export.utility.DataExportCommand.execute(DataExportCommand.java:1009)
    at com.avaya.stumbras.export.utility.DataExportUtility.run(DataExportUtility.java:189)
    at com.avaya.stumbras.export.utility.DataExportUtility.main(DataExportUtility.java:158)
    Data Export Utility completed.

    Hi user454118,
    It doesn't appear DataExportUtlity is relevant to TimesTen IMDB. Could you have posted your message to the wrong forum?
    -scheung

Maybe you are looking for

  • Urgent help needed in installation

    I am trying to inatall Personal Oracle 8.1 on a Microsoft Windows ME. I get an error while i start installation saying: "There was a problem in accessing the staging area. Please make sure the specified values for 'Source' and 'Destination' are valid

  • Problem with IPhone4, maybe you have the same!! (related to Micro SIM Slot)

    Hi, I have bought Iphone 4 from "Carphonewarehouse" and when I got back home and after I put the micro sim card I shook the Iphone (it is my habit to check if a device properly assembled) then I heared sound as if something lose inside, when I tried

  • Error in selection of cardinality

    Dear Techies,   I have a few gliches in understanding Cardinality.   I have a input field and a submit button on my view. So i decided to use a node under which an attribute is binded to the input field in the view. The user may enter or may not ente

  • How to pass global variables to call stored procedure in form personalizati

    Hi, We want to call a custom store procedure with 2 paramterts, I am storing values into 2 global variables. We want call the custom store procedure with global variable values in form personalizations. We tried like ='declare begin SUR_TEST_ORDER_LI

  • My skype doesn' t work

    I just can't make or responde to any call.  When i press answer with video somethink stops the comunication.  The message I get is this: "problem with the recording device". What can I do?