Server.policy seems to be a problem for many libraries.

I'm trying to play around with an app written with DWR and Hibernate, and the server.policy is getting in the way. I understand the reasons for it, but there should be (in my opinion) an easy way for one of two things to happen:
1) Turn off security altogether, assuming that the environment is "trusted." Most of the servers I've worked with that support security have an option for this; see Websphere, for example, which has a checkbox for security to be on or off.
2) Specify security policies in a server log that would relate the the security exception. For example, on a violation, the server might generate a log that says "for the error at 8/28/2005 @ 10:04 a.m., the security policy 'grant { ... }' would fulfill the requirements."
For libraries that rely on their own reflection capabilities, etc., this sort of thing would be drastically useful, moreso than requiring admins to find out exactly where in their filesystems a given jar is deployed so they can fiddle with security settings, hoping they got the right ones (and enough of them.)

For the first part of your post, please see http://docs.sun.com/source/819-0076/jvm.html#wp1031405
Steps copied from the above link --
To disable the security manager:
Go to the JVM Options page of the Admin Console.
For instructions, see Configuring the JVM Options.
On the JVM Options page, remove this option:
-Djava.security.policy
Click Save.
Restart the server.
Hope this helps.

Similar Messages

  • (long) Stuck button after minor drop - seems to be a problem for many

    And it won't go away. I visited iPhone Feedback and sent the following; I thought I'd share it here, too:
    The phone is beautiful in its simplicity and is easy enough to use that even my octogenarian grandfather was able to navigate and use it with ease. With that in mind I have a few points:
    1. No MMS? According to the rep I spoke with at the Apple Store in Jacksonville, FL for item #3 below, the iPhone is a SmartPhone-class device; however, every other smartphone on the market with a camera is MMS-capable. Surely Apple has the engineering know-how to write an effective MMS application that preserves bandwidth (think: auto-optimization of iPhone camera images when sending). Having to hop back and forth to see the username/password for MMS messages sent to my number in order to see what cute thing my new niece is up to when my sister sends me pictures is, quite frankly, an unnecessary pain in the butt.
    2. Custom ringtones. I have CDs that I have legally purchased from non-RIAA and DiY labels and have created a few custom, 2 second MP3 ringtones that I am fairly attached to. I have actually spoken with bands on these labels and asked if they minded my ringtones (played back on my old Razr v3) and they were honored that I would create ringtones from their music for other people to hear. My wife carries a Sony/Ericsson W600i and can play my ringtones, my old Motorola Razr v3 played my ringtones; in fact, most every other phone on the market will play my custom MP3 ringtones (Motorola's mobile Phone Tools software even contains a ringtone editor). While having ringtones available via iTunes is nice and convenient, I will not buy iTunes ringtones because of this policy and am less likely to buy any music from iTunes because of policies like this. Please value your customers more than you value an industry that is looking for more ways to squeeze blood from turnips.
    3. Durability. For Christmas this year, my 3-year-old daughter broke her arm. While she was proud of her pink, princess cast, this is an experience I would rather not relive. Her cast was removed two weeks ago and she is required to wear a brace and avoid falling. This past weekend, after getting out of the family car at my mother's house my daughter fell (as three-year-olds sometimes do) and, without a 2nd thought, I bent to pick her up and check out her arm. As I bent down, my iPhone fell from my shirt pocket onto the asphalt and hit right on the power button. This 2.5' - 3' fall bent the case enough to trap the power button in the depressed position and severely limit my use of the iPhone. I have discovered that with the phone plugged in to either the charger or a sync cable or with the iPod application playing, the phone will operate normally (with the exception of my being able to push the power button and put the phone to sleep). Otherwise, the phone shuts down and goes into a reboot loop, which to me seems quite natural given that the power button is always depressed.
    I bought the phone with the knowledge that the application pool is not yet populated; with the SDK having not even been released. I am willing to wait on the improvements on 1 and 2 that I expect will come with time. 3 is a big sticking issue with me. I acknowledged my desire to protect the beauty and integrity of my iPhone by spending an additional 10% of the iPhone purchase price on a protective case. This case, made by Contour; however, makes the phone quite bulky and I occasionally find need to carry my iPhone in its original, intended, elegant, unadulterated form-factor. When carrying the phone without bulky protection, I do expect it to be durable enough, like every other "smart phone" on the market to survive the occasional, non-abusive, non-negligent tumble.
    Contrary to the assertions of the Apple Store employee who told me that all "smart phone class devices" are fragile and not built to survive occasional drops, every other smart phone on the market is drop tested before release and free of engineering defects like the iPhone power button and too-fragile case that would render them useless unless their owners discovered that running the one application disabled the devices' sleep mode or keep them plugged in 100% of the time.
    The Apple Store representative made it quite clear that, since issues like this aren't covered by my Apple Care plan and AT&T offers no equipment coverage on the iPhone, I was free to pony up $250 for a replacement phone and that this is my only option. This is not the service that Apple is known for. My simple, dinged case is not worth a $250 total-phone replacement. If I had abused the phone or rendered it a totally inoperable brick, $250 would be a more-than-reasonable, bargain-basement replacement price. $250 because of a dinged back case is unreasonably punitive and I am hoping that my appointment with one of the "experts" at my local Apple Store this evening will find a more consumer-friendly resolution.
    Here's a potential solution: As a former Motorola PCS Engineering employee, I have the skills and tools necessary to perform case and component replacement on devices like the iPhone. There are people like me all over the country. If Apple offered an Apple-certified repair program with resources (people with skills and Apple certification) near Apple Stores where we could take or send our devices for simple (non-circuit) repair then Apple could restore the type of service consumers have heard Apple gives. I know I would easily part with $40-or-so (discounted 20% thanks to the Apple Care plan I purchased) to replace my iPhone's back case and preserve my warranty. No, Apple wouldn't make much off of the repair program but service is an investment in the customer well worth making.

    Apple is no more what it was before. They don't care about people when changing a hardware, they are no more reliable. It's a shame.

  • Server.policy how to solve this problem of permission

    I had deployed a adf faces application.
    I think adf framework build images, and javascritps at cache....
    then my page appear like this:
    http://img113.imageshack.us/img113/7519/adferror9lb.jpg
    the erros at log of SunApplicationServer of this issue is this:
    http://img115.imageshack.us/img115/3169/imagem1lm.jpg
    my server.policy is equal this:
    server.policy
    // Copyright 2004-2005 Sun Microsystems, Inc.  All rights reserved.
    // Use is subject to license terms.
    /* Copyright 2004 Sun Microsystems, Inc. All rights reserved.     */
    /* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */
    // Core server classes get all permissions by default
    grant codeBase "file:${com.sun.aas.installRoot}/lib/-" {
         permission java.security.AllPermission;
    // lockhart classes get all permissions by default
    grant codeBase "file:${com.sun.aas.webconsoleLib}/cc.jar" {
            permission java.security.AllPermission;
    // jato classes get all permissions by default
    grant codeBase "file:${com.sun.aas.jatoRoot}/jato.jar" {
            permission java.security.AllPermission;
    // iMQ classes get all permissions by default
    grant codeBase "file:${com.sun.aas.imqLib}/-" {
         permission java.security.AllPermission;
    // ANT classes get all permissions by default
    grant codeBase "file:${com.sun.aas.antLib}/-" {
         permission java.security.AllPermission;
    // Pointbase embedded server classes get all permissions by default
    grant codeBase "file:${com.sun.aas.pointbaseRoot}/lib/-" {
         permission java.security.AllPermission;
    // Web Services classes get all permissions by default
    grant codeBase "file:${com.sun.aas.webServicesLib}/-" {
         permission java.security.AllPermission;
    // permissions for avkit classes
    grant codeBase "file:${j2ee.appverification.home}/lib/-" {
        permission java.security.AllPermission;
    // Basic set of required permissions granted to all remaining code
    grant {
         permission java.lang.RuntimePermission  "loadLibrary.*";
         permission java.lang.RuntimePermission  "queuePrintJob";
         permission java.net.SocketPermission    "*", "connect";
         permission java.io.FilePermission       "<<ALL FILES>>", "read, write, delete";
            // work-around for pointbase bug 4864405     
            permission java.io.FilePermission "${com.sun.aas.instanceRoot}${/}lib${/}databases${/}-", "delete";
            permission java.io.FilePermission "${java.io.tmpdir}${/}-", "delete";
         permission java.util.PropertyPermission "*", "read";
         permission java.lang.RuntimePermission     "modifyThreadGroup";
    // Following grant block is only required by Connectors. If Connectors
    // are not in use the recommendation is to remove this grant.
    grant {
            permission javax.security.auth.PrivateCredentialPermission "javax.resource.spi.security.PasswordCredential * \"*\"","read";
    // Following grant block is only required for Reflection. If Reflection
    // is not in use the recommendation is to remove this section.
    grant {
         permission java.lang.RuntimePermission "accessDeclaredMembers";
    // Permissions to invoke CORBA objects in server
    grant {
        permission com.sun.enterprise.security.CORBAObjectPermission "*", "*";
    };

    Delete the files extensions.* (extensions.rdf, extensions.cache, extensions.ini) and compatibility.ini in the Firefox [[Profiles|profile folder]] to reset the extensions registry.
    See "Corrupt extension files": http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    If you see disabled extensions that are not compatible on the next start in "Tools > Add-ons > Extensions" then click the "Find Updates" button to do a compatibility check.

  • Can anyone fix this issue? It is both on my home and office computer anf from online blogs it seems to be a large problem for many. Exc in ev handl: Error: Bad NPObject as private data!

    Exc in ev handl: Error: Bad NPObject as private data!

    Disable "McAfee Site Advisor" extension which was just updated to 3.4.0, which probably took it out of the addons block list.
    * "Ctrl+Shift+A" > find McAfee Site Advisor and use "Disable", and then restart Firefox.
    * Do a Google Search no problem
    * It seems that if you re-enable Site Advisor again, and restart Firefox you are okay. At least you know where to look if you get the error again or Google searches slow down.

  • Quicktime Update Seems to Have Killed iChat for Many People

    I keep seeing the same problem from so many people after the latest Quicktime update...
    Everyone tries the 443 port setting, the Quicktime/Streaming speed setting, Internet sharing setting, etc. but something is definitely wrong, because I suddenly have two friends who now can't video when it was working fine before the update. And neither is using a router, so it removes all the potential router setting issues.
    There seems to be many people on this board with the same issue.
    BTW, the Apple "genius" actually suggested it was probably the camera that was broken, after they walked my friend through all the standard settings (the camera works fine). But I'm not going to bring that up because I'm reading A New Earth and that's just my own ego talking.
    ANYWAY -- Ralph Johns? You've been dealing with this a lot - doesn't it seem like more than a coincidence that all these iChat issues keep recurring? Or am I insane?

    It is more likely the Time Machine and Airport update than Quicktime.
    This update changes the OS level although it still calls itself 10.5.2 it can not be "repaired" by installing the Combo version over the top. (you get and error message that the Installer and OS don't suit each other)
    9:42 PM Saturday; April 5, 2008

  • Server 2008R2 mapping to shared folders fails users of Windows 8.1 but seems OK on Windos 8.0 and no problems for Windows 7

    Having read what I could from the related questions, the answers still elude me.  This issue apparently is specific to Windows 8.1.
    First, a little background.
    1:  The server is not on a domain,  The system runs Server 2008-R2 standard with all folders shared across a standard "Workgroup" type network.  They would prefer to
    leave this layout intact. 
    2:  The shared folders are nothing but Data files.  There are no active system folders or anything used in an "active" environment.  They are mostly Word doc, excel
    files, pdf, txt, etc.  However, due to the requirements of the software that needs to access these files, they Must
     reside on a mapped network drive letter. Nothing else works due to the way the SQL database program stores the reference points back to the data.
    I have had some success using what amounts to a “simulated” mapping using  WebDAV to access the server.  But access speed is a lot slower ad file size is limited.
    3:  The system has been configured as-is for the past 3 years with Users all on Windows 7 x64 (mixed OS, some Home Premium, some Professional) and the only problems that come up are when
    access is through an ISP that blocks port 445.  This was the original reason for finding a WebDAV/Cloud method just for those Users since they were unable to Map drives to anything on the Office Servers from their Home Internet even when using a VPN.
    When Windows 8.0 became the only version available, I added a few users whose new laptops came with 8.0 from the vendors.  While there were a very few minor problems, for all practical
    purposes, I was still able to provide access to the mapped folders.
    As the Windows 8.1 roll-out progressed, some users were successfully upgraded while others  are still stuck in Windows 8.0.  The issues with this seem to be hardware related and vary
    depending on the Make and model of the laptop.  I have been assured that eventually all of these will be able to advance to 8.1.  But this delay has given me an excellent mixed OS environment for testing.
    On the users who have not yet purchased new equipment and who are still using Windows 7.  There has been no change.  Their drive mapping is stable and they can always connect as usual. 
    Those blocked from lack of port 445 or still blocked.  Systems inside the Office and those with ISP's who allow port 445 can use all mapped drives as normal.
    Users who had Windows 8.0 and who have not yet been able to upgrade to 8.1 also have been unaffected.  Same results as Windows 7. 
    Users who got the Windows 8.1 upgrade as well as those that came factory loaded with Windows 8.1 seem to be a never-ending list of problems.  The ones that came native with 8.1 are worst
    of all.  The list of error codes runs through everything that has to do with “communication with the server”.  As far as I have seen, this appears to be the issue.
    Whether they are in the office on a wired network connection or at home on a Wi-Fi connection, the issues have the same results but the actual error codes may vary slightly.  All of
    them refer back to an inability to communicate with the server.
    Nothing on the server has changed in any way.  Users with Windows 7 continue to have zero problems,  Users with Windows 8.0 seem to be doing fine as well.  Only those with Windows
    8.1 are affected and their problems are dramatic with everything from a total loss of drive mapping to misdirected data when the maps are active.
    I have tried to make the drives automatically remap on reboot. I have tried registry modifications.  I have done everything I can think of to make a difference but the results are the same
    for every system using 8.1.  The mapped drive letters invariably disappear.  Sometimes while the system is in use ( I think I have been able to trace this to times when the system enters Sleep or Hibernate) but always when the system reboots. 
    One detail that might point to somewhere is that the "time to connect" when mapping the drive is so long that I believe some of the original failures were due to not waiting for a
    minimum of 3 or 4 minutes to give time for the Shares to show-up in order to map them.  Once the mapping is successful, the file access speed seems normal.  But invariably, the drive becomes "unmapped" repeatedly each day.
    I know this was a long question but I have tried to provide every possible detail for anyone who has experienced events like this who may already have a solution.  I would even be glad
    to purchase a 3rd party application if that is what it takes to get this to work.  My next planned effort is to try using Server 2013 but I am afraid that might open another can of worms for those who still use Windows 7.
    I have also been told that this is in some way related to the push to "Cloud" support in Windows 8.1 OS but I do not see where this would come in.  I can say that this was the
    one place where things continued to work as before.  People who had Windows 8.1 and who had to use the CLOUD copies of our data are still able to connect to it with no problems.
    Any suggestions appreciated.  Preferably those that would not need extensive changes to the basic network structure.  This "workgroup" consists of less than 25 users and any
    extreme measures would be hard to justify

    Hi,
    I sugget you try to ping server so that we can verify the connectivity.
    Can windows 8.1 access Windows Server 2008R2?
    Also,please check the event viewer to see if some error log appeared when the issue occurred.
    Regards,
    Kelvin Xu
    TechNet Community Support

  • HT1277 why i cannot set up my exchange account into my iphone 4s.  everything that needs to input has been provided right, but error says cannot get email not connected to the srver.where seems to be the problem?pls help.btw,i have an outlook for macbook

    please help me find out the solution to the problem.
    My iphone 4S was not able to fetch mails from the server ( outgoing and incoming)
    I was trying to configure my exchange account and follow all the procedures correctly but am having trouble in sending and receiving mails as the error says " cant get mails cannot connect to the server?  where seems to be the problem?
    Have read from the support services that if you using a Pop3 account into another device which I did ( my email was configured via outlook for mac in my macbook) there might be a lock out problem and cannot get emails on the second device which is my iphone?  ( I want to set up my exchange account to my iphone so wherever and whenever i go i cant still access to my email easily. Please help.

    No one seems to be hearing what Big Q is saying.
    He can pair his iPhone to his Macbook, but cannot CONNECT. He's NOT asking for alternative solutions, like Wi Fi.
    I am able to both pair and connect my one one Macbook to my other one, but I can only pair but not connect my iPhone or iPad to either Macbook. So I have the same problem. But I can pair and connect my Macbooks to other Bluetooth devices, like my ancient Nokia cellfone, or my Bluetooth HP printer.
    It's irrelavent that I can instead use a direct USB cable or Wi Fi between my Macbooks and my iPhone/iPad - why can't I use Bluetooth? If Apple does not allow Bluetooth between it's Macbooks and other Mac devices, then why have Bluetooth at all? Does my iPhone have Bluetooth only so that I can pair and connect to my my non Apple mobile handsfree car kit, or communicate easily with the dreaded Apple enemy Samsung, or what?
    Make no mistake , I am a diehard Apple fan, but this Bluetooth non compatibility issue appears shortsighted and seemingly pointless. Why does Apple not just say why they created the non compatibility, or have a message on the Bluetooth setup programme which simply and clearly says "don't bother wasting hours of your time trying to pair and connect your iPhone to your Macbook, because we don't allow that anymore, reason being that............"?
    As a first time user of this Forum I am surprised at the intolerant and highhanded tone of some of the replies  to what is a legitimate question, that is obviously plagueing many, many other Apple users.

  • E6 - Mail for Exchange (Mandatory Server Policy Fa...

    I bought my E6 for couple of weeks, and have been having this problem when I tried to setup Mail for Exchange on my company's email account, and got this "Mandatory Server Policy Failed".  
    Just have Nokia Care reinstall all latest firmware, same problem exists.  My software version is 022.014, version date is 2011-07-05.
    I used to have the same setting on C7, E7 and my Android phones for my company's email, all works fine. 
    Any solutions for this?  

    I have been trying to configure Mail for Exchange on Nokia E6-00, but it doesn't work at all. It doesn't ask for auto phone lock option mandatory. Which is asked while configuring Mail for Exchange on Nokia E63, E72 and 5530, 5800 and so on.
    Also I have searched Mail for Exchange software on OVi store but it is not available for E6-00. So that I can updated the existing software in my phone.
    Can anyone please guide to resolve this issue?
    Mail for exchange is perfectly working on my E6-00 for Hotmail, Gmail, Yahoo but its not working while I tried to configure my Official email.

  • Hello, I've upgraded my Ipad2 to iOS7. I'm facing two major problems. First, I can't connect to the internet(which seems like a common problem). Second, the Autocad WS app doesn't work. It keeps asking for a username/passcode combination. please help guys

    Hello, I've upgraded my Ipad2 to iOS7. I'm facing two major problems. First, I can't connect to the internet(which seems like a common problem), no Wifi connectivity as well. Second, the Autocad WS app doesn't work. It keeps asking for a username/passcode combination. Please help me guys. I will be genuinely grateful.
    Cheers

    Does my problem has anything to do with SSL for mail settings? Cause when I tried re-adding it says something that I should try without SSL, and I did what you said and it gives me this "The IMAP server pop.mail.yahoo.com is not responding. Check your network connection and that you entered the correct information in the incoming mail server field". Ahh.. this is so annoying, Apple what are you doing to me?! Or is Yahoo doing this to me?!
    Thank you for your time. Sorry it doesn`t work.

  • HT4864 I am getting a triangle with an exclamation point next to my inbox...it says: There may be a problem with the mail server or network. Verify the settings for account "MobileMe" or try again.  The server returned the error: Mail was unable to log in

    I can send but cannot recieve email
    This is the messege I am gewtting:
    There may be a problem with the mail server or network. Verify the settings for account “MobileMe” or try again.
    The server returned the error: Mail was unable to log in to the IMAP server “p02-imap.mail.me.com” using “Password” authentication. Verify that your account settings are correct.
    The server returned the error: Service temporarily unavailable

    Also if I go to system preferences accounts and re-enter the password it fixes the glitch sometimes.

  • Getting font problem for printing form in Production server.

    Hi experts,
                   We are getting problem while printing form in production server. As it gives no problem in Quality server while printing the same, the print is fine. We applied packages from 26 to 28 level for version 4.7. When we moved this packages to Production server we got problem of font while printing the form for some of scripts. But the surprise is that in Quality server the print is fine, no problem at all.
                  Can any one suggest me on this issue.
    Regards,
    Sagun Desai.

    Hi sagun,
    Please check the spool request generated on production server using tcode SP01.
    Goto dispaly spool request and check the spool.If the spool too displays your script correctly then there is a problem in printer connected to production server.
    The printer connected to the test server  might be rightly conffigured to print the output.Please check the settings of the printer connected to the production.
    Hope this helps.
    Regards,
    Subodh

  • Was just loading indesign and cannot start it. seem to have no rights for some presets. i deinstalled and installed new, same problem. help!

    was just loading indesign and cannot start it. seem to have no rights for some presets. i deinstalled and installed new, same problem. who can help?

    Not easy if vital information is missing. Sometimes it seems like people are using the internet the first time...
    What version of Indesign?
    What OS? "Rights" sounds like Windows
    What is happening when starting it?
    If Windows, where was it installed?
    If Windows, do you have admin permissions?

  • In 2014, Since I upgraded my OS to Win 7, everytime I update Acrobat X Standard I get and error.  The problem seems to be with permissions for folders is there a permanent fix??

    In 2014, Since I upgraded my OS to Win 7, every time I update Acrobat X Standard I get and error.  The problem seems to be with permissions for folders is there a permanent fix??

    Is there any indication of the specific folder you are having problems with. Are you logged in as the administrator (or the same as when you installed) and have anti-virus disabled during the update? You might also try the updates from http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows.

  • There seems to be a problem with the file download. For troubleshooting tips, please visit our customer support page

    There seems to be a problem with the file download. For troubleshooting tips, please visit our customer support page.

    Thank you for the update Dlawrenceusa.  I would recommend reviewing the installation logs for the updates that are failing to apply to determine the exact cause of the failure.  You can find details on how to locate and interpret the installation log files at Creative Cloud Help / Troubleshoot install issues with log files | CC.  You are welcome to post any specific error messages you discover to this discussion.

  • Hi have been using the classic for 4 years, of late whenever i load more than 4000 songs the ipod crashes and shuts down. till 3800 songs there seems to be no problem. do ipods have a finite life?

    the classic ipod has crashed 4 times in the last 2 months. till i load 3800 to 3900 songs there seems to be no problem. but after that it just crashes and instructs me to restore to factory settings. just want to know if ipods have a finite life and need changing after this. i need urgent help at least if that is true i can save the trouble of loading songs every other week
    thanks and regards

    Yep, iPod classic has life of about 2 years before the hardisk, starts to suffer from arthritis.
    Here is a excellent post on iPod  diskdiagnostic by regular tt2.
    https://discussions.apple.com/thread/2362776?start=0&tstart=0
    You can also look into getting the iPod hardisk replaced by SSD/Compact Flash,  just google "iPod SSD replacement" or you can search in youtube, on how to do it yourself, if you got steady hands and hawkeye.
    SSD Capacity is expensive,
    Have a nice day!

Maybe you are looking for

  • Shrinking BLOB tablespace in Oracle 10g

    Hello, I have table created with 32 GB in Oracle 10g with BLOB field containing images. after that I have deleted some of the images from the table but when I'm checking free space, it is show full 32 GB. But when I'm looking at Toad it shows me out

  • Unable to Move Parts of a Table that are LOB's

    Hello - I'm running Oracle 8.1.7.4. I moved a table from one tablespace to another by issuing the following command: alter tableA move tablespace SomeTS; I noticed that the table now resides in SomeTS, but the LOB data types still reside in the OldTS

  • "Missing Files" Red Question Marks, can't delete Crashes

    HELP! I recently had some external drive issues, so once I got every thing copied back over and relinked, the Managed Referenced Files Section still shows some missing images and I I make a Smart album and sort it by Missing files, they show up as RE

  • Why don't my WORD files show up in the LINKS panel?

    Sometimes my text files don't link when I place them. Why?

  • XHTML to XSL:FO conversion

    Hi, I am looking for a generic XSL for converting a XHTML file to FO and then generate a PDF using Apache FOP. I tried with one xsl file from ibm website but its not working. Could anyone help me with this?