Cannot set wallpaper

Have 3GS latest iOS. Cannot set any wallpaper image, only get black background. Have tried all Apple preloaded WP and my own photos, none work.

On one of my iPhone 3GSs I can set wallpaper on the lock screen but not the other screens. However, my other iPhone 3GS allows me to set wallpaper on both lock screen and the other screens.

Similar Messages

  • Cannot set wallpaper on the lock screen

    I've just been trying to change my wallpaper on the lock screen of my iPhone 5C (iOS v7.0.3 or 11B511) and it doesn't accept any wallpaper I select.  It keeps coming back with the same grey wallpaper irrespectively of what I select.
    Has anyone seen this behaviour and maybe know how to resolve it?
    Sounds like iOS 7 could benefit from a bit more QA testing, Apple...

    No, it is not a bug. It is something occuring exclusive to you device. Mine (and everyone I know using iOS 7 is not seeing this issue. A couple of things you might try:
    Carefully follow the procedure an ensure you are doing correctly. You probably are, but since I can actually look over your shoulder ...
    Ensure you are using an image that can function as wall paper (i.e. try several). Also, if you have reduced motion, you may have an issue using dynamic backgrounds (but I have NOT tested this myself).
    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.

  • Suddenly cannot set a Desktop Pattern on PBG4 - 10.5.8

    After over 6 years with my PowerBook G4 (which today serves as a great backup Mac that has saved me twice when my MBP-13" (mid-2010) motherboard has gone down and needed replacement!)--- SUDDENLY I cannot set a Desktop Pattern - it is just white.
    The patterns / images are there and they show in the System Preferences "Desktop/ScreenSaver" -- and the images in the respective folders are valid ones…
    I repaired the HD - it took hours but this morning reported OK - and I will repair permissions (this seems to be running for a long time now…)
    Everything else seems to work fine-- and up until a few days ago I could set the "wallpaper" or "Desktop Pattern" of my choice.
    A few days ago I did connect my PBG4 to a TV for watching QuickTime movies via an adapter - and used screen mirroring and QT7 pro which all worked great - it seems it might be at that time that I started having the problem setting the Desktop Pattern (i.e. when I could no longer set it!)
    Thanks for any comments. 
    Wednesday 2 November 2011

    More information on this mystery:
    1.  With an external TV via red-yellow-white cables with external TV adapter -- when set for NOT-mirrored, I can set a desktop pattern on the TV, but not see one on the PBG4.
    2.  When I hit F9 - the white desktop pattern moves away, revealing the desktop pattern I have set, but somewhat hazy - i.e. not fully clear.
    3.  When I do a restart --- after everything else is gone, for a few seconds the desktop pattern I set (and this can be any) shows---
    Very perplexing--   Again, I did a full REPAIR DISK and REPAIR PERMISSIONS - that has not helped.
    Wednesday 2 November 2011 later in the morning

  • 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

  • When I click the iCloud button I get a browser with check boxes, not slider buttons and it does not have a "backup and storage" button.  So I cannot set up backup.

    When I open my iCloud browser it looks different than "normal." It shows the list with check boxes, not slider on-off buttons.  It dos not show a "storage and backup" button so I cannot set up my backup. What is wrong?

    If see something like the image below it's because you are looking at the iCloud settings on your Mac, not on an iOS device (which has sliders).  Storage & Backup isn't in the Mac settings because you cannot back up your Mac to iCloud.  Only iOS devices can back up to iCloud.  On a Mac, you can get information about your iCloud account storage by looking at the green usage bar at the bottom and by clicking the "Manage..." button on the bottom right.

  • When I try to create a calendar announcement in my iCloud calendar thru my PC / Outlook, it says 'the set of folders could not be opened. The information store could not be opened'. Can anyone help?  This means I cannot set any calendar events thru my PC.

    When I try to create an iCloud calendar announcement / event on my PC thru Outlook, I get the message 'the set of folders could not be opened.  The information store could not be opened'.
    I cannot set any calendar events for my shared calendar.  Can ayone help?

    If you upgraded to Windows 8 you may need to update the iCloud control panel for Windows to version 2.1 (see http://support.apple.com/kb/TS4463).

  • Cannot set Windows 7 default printer in Boot Camp

    I discovered today that I cannot set a default printer in Windows 7.  I right click, and try to make one of the printers default but there is no check mark.  One of the programs that I use says I do not have a printer installed. 
    I can print to my printers using Word by selecting the printer that I want but cannot select a default in control panel.
    If I access Windows programs using a VM Fusion, the program that says there is no printer installed in boot camp, does not give be this message and I can select a printer.  BTW, I have never been able to select a "default printer" using VM Fusion.
    The only thing unusual is I had to reactivate Windows for no apparent reason last week and I cannot select all of the Themes available in the personalize menu. 
    It is difficult to pinpoint when the printer issue started because I mainly access my Windows programs through VM Fusion.  I am guessing the changes happened when I had to reactivate Windows
    I am away from my iMac currently and was wondering if anyone has experienced this and/or have a suggestion.?
    Thanks,
    Roy

    Update.
    Apparently this is a Windows Registry issue.  Looks as if there is a VM Fusion driver set as default (thinprint??)  I cannot delete or modify this registry key.  A new profile solves this issue and I will have to copy everything over to the new profile, if I cannot get this registry key issue solved.  I will post on a Microsoft board to see if there is a solution.
    Roy

  • Cannot set status of Urgent Change after manual transport

    Hi all,
    We are usng CHARM in Solution Manager 7.1 for import to the SAP ECC (EHP6) systems.
    I cannot set the status of the Urgent Change document (ZMHF) to status "To be Tested" after the transports were manually released and manually imported to the ECC QA system.
    When I use action "Pass Urgent Change to Test", the system stopped with error "Not all task are yet released" and will not change the status .
    Based, on the Task List log, the system started the release process although no transports were released.
    Is there any way that I can update the status of the Urgent Change document to "To be Tested"?
    I tried program CRM_SOCM_SERVICE_REPORT but still did not change the status.
    Any suggestion?
    Thanks,
    Tess

    Hi Venu,
    have a look under System Administration - System Configuration -- Knowledge Management -- Configuration --Content Management -- User Interface -- Commands -- UI Command Groups -- StatemanagementGroup.
    See Java class: com.sapportals.wcm.rendering.uicommand.cm.UIStatemanagementGroupCommand. Take the class and decompile this and everything needed around to understand how this class works.
    Then you can choose to extend this CommandGroup to also have a command "Resubmit for Approval" or you can implement your own UI Command only for resubmitting (you will also have to activate your command (group) by settings within the configuration).
    On the other hand, if all this is completely new to you, I'm a bit sceptical if the task isn't a bit too big as a first task on KM implementation topics...?
    Hope it helps
    Detlev

  • [Solved?] VLC won't play audio -- cannot set buffer duration

    I can't play sound in VLC. I have tried the default and the ALSA outputs. I know ALSA works, because mpg123, speaker-test, and rdesktop's sound all work. (Saying that, I can't tell if mpg123 uses alsa or not - rdesktop does though)
    Attempting to play something in VLC gives me some rather cryptic errors. What follows is the output of "vlc -v" and an attempt to play a video with sound. I have split the "code"-tag just before the actual error output for clarity and ease of scanning.
    VLC media player 2.0.7 Twoflower (revision 2.0.6-54-g7dd7e4d)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/audio_output/libportaudio_plugin.so' (libportaudio.so.2: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/audio_output/libjack_plugin.so' (libjack.so.0: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/services_discovery/libmtp_plugin.so' (libmtp.so.9: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/notify/libxosd_plugin.so' (libxosd.so.2: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libgoom_plugin.so' (libgoom2.so.0: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libprojectm_plugin.so' (libprojectM.so.2: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec/libtwolame_plugin.so' (libtwolame.so.0: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libvcdx_plugin.so' (libvcdinfo.so.0: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libaccess_jack_plugin.so' (libjack.so.0: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libaccess_dv_plugin.so' (libavc1394.so.0: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libaccess_mtp_plugin.so' (libmtp.so.9: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/video_output/libaa_plugin.so' (libaa.so.1: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/video_output/libcaca_plugin.so' (libcaca.so.0: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/control/liblirc_plugin.so' (liblirc_client.so.0: cannot open shared object file: No such file or directory)
    [0x8eb108] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    [0x7f1e6cc01bf8] mkv demux warning: MKV/Ebml Parser: m_el[mi_level] == NULL
    [0x7f1e6cc01bf8] mkv demux warning: MKV/Ebml Parser: Up cannot escape itself
    Fontconfig warning: FcPattern object size does not accept value "0"
    [0x7f1e68c068a8] alsa audio output error: cannot set buffer duration: Invalid argument
    [0x7f1e68c068a8] pulse audio output error: PulseAudio server connection failure: Connection refused
    [0x7f1e68c068a8] oss audio output error: cannot open audio device (/dev/dsp)
    [0x7f1e68c068a8] main audio output error: no suitable audio output module
    Fontconfig warning: FcPattern object size does not accept value "0"
    [0x7f1e6cc02b68] main decoder error: failed to create audio output
    I have reproduced this with the same result using 'sudo vlc-wrapper' and I am added to the 'audio' group.
    I have no idea where to start with this issue, I've tried googling but it seems that only one person has ever had this issue before (if Google is to be considered a reputable source), and he was running his own VLC build. I am running the build "pacman -S vlc" gave me. If anyone could point me in the right direction on this issue I'd be grateful.
    Edit: This is my /etc/asound.conf. I have no idea what any of this means, at this point it's fill-in-the-blanks wiki copypasta (Edit2: The purpose of this file is to try to stop alsa from sending all my sound through a disconnected HDMI instead of the speakers)
    # Use PulseAudio by default
    #pcm.!default {
    # type pulse
    # fallback "sysdefault"
    # hint {
    # show on
    # description "Default ALSA Output (currently PulseAudio Sound Server)"
    #ctl.!default {
    # type pulse
    # fallback "sysdefault"
    pcm.!default {
    type plug
    slave.pcm {
    @func getenv
    vars [ ALSAPCM ]
    default "hw:Generic_1"
    # vim:set ft=alsaconf:
    Last edited by Score_Under (2013-08-02 23:23:27)

    Situation update:
    1. I didn't need my asound.conf like that -- I should have used pulseaudio in the first place, I was unaware that ALSA does not allow more than one program to use the sound device at the same time, whereas pulseaudio is used to mix sounds.
    2. VLC works fine on PulseAudio. No idea why it failed on ALSA!
    Last edited by Score_Under (2013-08-02 23:22:45)

  • Need help on  ORA-02074: cannot SET NLS in a distributed transaction

    Hi All,
    I am Writing a plsql Code like this
    DECLARE
    op_job_id NUMBER;
    op_object_version_number NUMBER;
    x_job_definition_id NUMBER;
    op_name VARCHAR2(1000);
    L_VERIFY_FLAG VARCHAR2(1);
    l_error_message VARCHAR2(2000);
    BG_ID NUMBER;
    lv_job_group_id APPS.per_job_groups.job_group_id@SYSTEM_LINK_VISMA%TYPE;
    CURSOR C1 IS SELECT * FROM EBS_PER_JOBS_STG;
    BEGIN
    FOR H1 IN C1
    LOOP
    BEGIN
    IF H1.BUSINESS_GROUP_NAME IS NOT NULL THEN
    SELECT BUSINESS_GROUP_ID,job_group_id INTO BG_ID,lv_job_group_id
    FROM APPS.PER_JOB_GROUPS@SYSTEM_LINK_VISMA
    WHERE DISPLAYED_NAME=H1.JOB_GROUP_NAME;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    L_VERIFY_FLAG := 'E';
    l_error_message := 'Entered Job Group Name is Wrong';
    END;
    -->> JOB GROUP ID <<--
    APPS.hr_job_api.CREATE_JOB@SYSTEM_LINK_VISMA
    (p_business_group_id => BG_ID
    ,p_date_from => H1.DATE_FROM
    ,p_approval_authority => H1.APPROVAL_AUTHORITY
    ,p_emp_rights_flag => H1.EMP_RIGHTS_FLAG
    ,p_benchmark_job_flag => H1.BENCHMARK_JOB_FLAG
    ,p_job_group_id => lv_job_group_id
    ,p_job_information1 => H1.JOB_INFORMATION1
    ,p_job_information2 => H1.JOB_INFORMATION2
    ,p_job_information3 => H1.JOB_INFORMATION3
    ,p_job_information4 => H1.JOB_INFORMATION4
    ,p_job_information5 => H1.JOB_INFORMATION5
    ,p_job_information6 => H1.JOB_INFORMATION6
    ,p_job_information7 => H1.JOB_INFORMATION7
    ,p_segment3 => H1.JOB_CODE --JOB_CODE
    ,p_segment6 => H1.JOB_NAME --JOB_NAME
    ,p_job_id => op_job_id
    ,p_object_version_number => op_object_version_number
    ,p_job_definition_id => x_job_definition_id
    ,p_name => op_name);
    dbms_output.PUT_LINE('OUTPUT JOB NAME CREATED : '||op_name);
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.PUT_LINE('Error Message Is: '||SQLERRM);
    END;
    i am running it in Another database Using database link connecting to Apps.
    when i am running it am getting the following Error:
    Error Message Is: ORA-02074: cannot SET NLS in a distributed transaction
    ORA-06512: at "APPS.HR_KFLEX_UTILITY", line 2423
    ORA-06512: at "APPS.HR_KFLEX_UTILITY", line 2380
    ORA-06512: at "APPS.PER_JBT_UPD", line 468
    ORA-02074: cannot SET NLS in a distributed transaction
    ORA-06512: at "APPS.HR_JOB_API", line 878
    Please help me on this, this is quite urgent to me.
    thanks
    sri

    Please see these docs.
    ORA-02074: Cannot SET NLS in a Distributed Transaction [ID 556391.1]
    Portal Used To Call PO_CHANGE_API1_S: ORA-20001: ORA-02074: Cannot SET NLS In A Distributed Transaction [ID 561246.1]Why are Concurrent Programs Calling FND_GLOBAL.APPS_INITIALIZE Using DBLinks Failing? [ID 466800.1]
    ORA-02074 when Executing set_nls over a DB Link [ID 132679.1]
    Thanks,
    Hussein

  • Viewlink between Custom VO "Cannot set user query to view"

    We have an application where we have extended custom VO and EO’s to get data from flat files. It all looks fine till we create a viewlink for a LOV with two related VO’s. The viewlink VO fails we get message of the form -Cannot set user query to view "CustomVO1" because it is a destination in a view link”. Are there any methods to override in the custom VO/EO or any parameter to be added to configs. Has someone tried this out

    Thanks for the update and for sharing the solution!
    Regards,
    Hussein

  • Setting wallpaper/bmpanel in openbox? [SOLVED]

    I am on my first succesful HD install of Arch wirh Openbox right now and I have been documenting some of the things that are giving me issues. If you are curious about how I went about with my installation you can check this thread out:
    http://bbs.archlinux.org/viewtopic.php?id=76315
    One of the issues Im having is with themeing and autostart programs. I did a little research and found that in order to have, for instance, my bmpanel and desktop wallpaper start up with x I had to make an autostart.sh under my ~/.config/openbox/ and add this within:
    # Run the system-wide support stuff
    . $GLOBALAUTOSTART
    # Programs to launch at startup
    nitrogen /media/vault/Wallpapers/107320-Tranquility-1680.jpg &
    xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &
    # SCIM support (for typing non-english characters)
    export LC_CTYPE=ja_JP.utf8
    export XMODIFIERS=@im=SCIM
    export GTK_IM_MODULE=scim
    export QT_IM_MODULE=scim
    scim -d &
    # Programs that will run after Openbox has started
    (sleep 2 && bmpanel arch) &
    So thats what I make it look like. I have nitrogen and bmpanel (with arch theme) installed and working correctly. The problem is that when i startx and the script runs, it just opens nitrogen with no images selectable. Also bmpanel does start with arch theme but it is not transparant like in the photo available where I downloaded it.
    I do have composting available as I have my nvidia drivers installed and i checked that it is working in the terminal, but I am at a loss as to why they arent working correctly. I have checked the documentation for this and found it a little lacking? Anyone know where to go from here?
    Last edited by beatepix (2009-07-21 00:38:53)

    Ghost1227 wrote:
    Don't know bmpanel (never liked it myself), but the
    problem with nitrogen is that in order to set wallpaper from the
    commandline you have to include a switch. Chose whichever of the
    following best suits the image in question.
    nitrogen --set-best
    /media/vault/Wallpapers/107320-Tranquility-1680.jpg &
    nitrogen --set-centered
    /media/vault/Wallpapers/107320-Tranquility-1680.jpg &
    nitrogen --set-scaled
    /media/vault/Wallpapers/107320-Tranquility-1680.jpg &
    nitrogen --set-tiled
    /media/vault/Wallpapers/107320-Tranquility-1680.jpg &
    Or, if you rely on nitrogen's GUI wallpaper interface, you can just
    use the following:
    nitrogen --restore &
    This will set the desktop to the last image you selected via the GUI
    interface.
    Then if you want to get fancy, you can add a menu item to your openbox
    menu to launch the nitrogen selector:
    <item label="Wallpaper">
    <action name="Execute">
    <execute>nitrogen ~/wallpaper</execute>
    </action>
    </item>
    Also never used bmpanel, so can't be of help there. Tint2 and pypanel
    both have nice transparency.

  • Users are not able to use Outlook 2010 to view free/busy information and cannot set Out Of Office automatic reply

    Hi All,
    Please help me.
    I have an issue where users are not able to use Outlook 2010 to view free/busy information and cannot set Out Of Office automatic reply. But they are can set Out Of Office automatic reply from OWA. My exchange server is Ms Exchange 2010.
    The test E-mail AutoConfiguration failed with this error:
    Autodiscover to https://mydomain.com/autodiscover/autodiscover.xml starting
    GetLastError=12175; httpStatus=0.
    Autodiscover to https://mydomain.com/autodiscover/autodiscover.xml Failed (0x800C8203)
    Autodiscover to https://autodiscover.mydomain.com/autodiscover/autodiscover.xml starting
    GetLastError=12007; httpStatus=0.
    Autodiscover to https://autodiscover.mydomain.com/autodiscover/autodiscover.xml Failed (0x800C8203)
    Local autodiscover for mydomain.com starting
    Local autodiscover for mydomain.com Failed (0x8004010F)
    Redirect check to http://autodiscover.mydomain.com/autodiscover/autodiscover.xml starting
    Srv Record lookup for http://autodiscover.mydomain.com/autodiscover/autodiscover.xml Failed (0x80072EE7)
    Srv Record lookup for mydomain.com starting
    Srv Record lookup for mydomain.com Failed (0x8004010F)
    Any idea?
    Thanks,
    Pieter

    OK.
    Please follow this step.
    1. As you said you are in coexistence step , so for now all endpoint already point to Exchange 2010 right?
    2. Check legacy owa redirect that you already configure
    3. In Exchange 2010 , Make sure that you already configure "Autodiscoverinternaluri" by this command set-clientaccessserver -identity "servername" -autodiscoverinternaluri
    https://autodiscover.domain.com/autodiscover/autodiscover.xml. and don't forget to create autodiscover record in DNS
    4. in Exchange 2010 , Make sure that you already configure "EWS" path by this command set-webservicesvertualdirectory -identity "XXX\Default web site name" -internalurl
    https://yourinternalurl/EWS/Exchange.asmx -externalurl https://yourexternalurl/EWS/Exchange.asmx
    5. don't forget to replicate freebusy from Exchange 2003 to Excahnge 2010 via public folder.
    You error look like client cannot get autodiscover process please check it again.

  • 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?

Maybe you are looking for

  • New version TB (31.5.0) keeps saying the group list can not be sent

    After upgrading to this new version my group lists again started developing errors with a message that says something like An error occurred while sending mail. "The mail server responded: 5.5.0 <list name > invalid address. Please check the message

  • Satellite L20 - Shoud I pay for service?

    My Satellite L20 have problem with reading and recording CD's ad DVD's. Second problem is with sound which is very low. In service told me that if on my computer is not any problem witch sound I should pay for the diagnosis. Computer is on the guaran

  • HT5704 how do i downgrade my iphone 4s from ios 7 to ios 6.1.3

    how do i downgrade my iphone 4s from ios 7 to ios 6.1.3?

  • Setting up 2nd email address on my Blackberry​-help please!

    Hi, I have just had an IT professional overhaul my business email and (I think) I have  new settings however I found all relevant details but cannot reconnect my business email to my phone. My personal email is on there fine I am on o2 and when I go

  • Sending RFC to WS with HTTPS

    hello I have a scenario RFC to WS synchronic with HTTPS. when connection to the WS I am recieving an error (see below) it looks like a problem in the MUST UNDERSTAND parameter. does any one know this problem and know how to solve it? Exception Data :