Error creating acl for (resource). I get this error when entering security info in web.xml.
We're using iWS 6.0. Is there some security configuration that needs to be done in order to use standard security directives in our web application's web.xml?
Thanks!
Hi ,
I have tried adding the following into web.xml but the security feature just doesnt work and the user can go to any page without any restriction.
<security-constraint>
<web-resource-collection>
<web-resource-name>Declarative Security Test</web-resource-name>
<url-pattern>/SuperServlet</url-pattern>
<url-pattern>/*</url-pattern>
<http-method>post</http-method>
<http-method>get</http-method>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
<auth-constraint>
<role-name>guest</role-name>
<role-name>member</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<security-role>
<role-name>guest</role-name>
<role-name>member</role-name>
</security-role>
The roles mentioned above have been added correctly into tomcat-users.xml..The version of tomcat I am using is tomcat5.0.28.Please help.
Similar Messages
-
Validation error when using env-entry in web.xml
I've added an env-entry element to my web.xml and it falls over at deploy time with a validation error. However, from what I can see, this is valid based on the schema.
And infact, it matches the example in the weblogic doco - http://edocs.bea.com/wls/docs103/webapp/web_xml.html#wp1025195
The error I'm getting is:
<17/12/2008 11:45:56 AM EST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor D:\workspace\source_checkout\investment_control\ic-web\src\main\webapp/WEB-INF/web.xml of module ic-web.war. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4a: Expected elements 'mapped-name@http://java.sun.com/xml/ns/javaee injection-target@http://java.sun.com/xml/ns/javaee' instead of 'env-entry-type@http://java.sun.com/xml/ns/javaee' here in element env-entry@http://java.sun.com/xml/ns/javaee:<null>
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:234)
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:221)
My web.xml looks like:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<description>IC Web</description>
<env-entry>
<env-entry-name>aEntry</env-entry-name>
<env-entry-value>aValue</env-entry-value>
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
</web-app>
Any suggestions???Found a resolution to this in the end.
Unless you have the sub-elements in the order below, it will get validation errors.
<env-entry>
<env-entry-name>maxAmount</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>aString</env-entry-value>
</env-entry>
A bit weird and very frustrating.... -
HELP!!!! ORA-01858 By creating user or reset password get this error
By creating user or reset password get this error:
Data Error: ORA-01858: found a non-digital world where expecting one numerical ORA-06512: at "DERWEB.ORA_ASPNET_MEM_RESETPASSWORD", line 80 ORA-06512: at line 1Hi
You get this error when profile class amounts are not set for all the currency. Go back to your profile and ensure that the profile amounts are set for all the currencies found, whether you are using it or not.
Regards -
When I try to open aperture (which has worked great for months), I get this response:
There was an error opening the database for the library “~/Pictures/Aperture Library.aplibrary”.
Please help!! Thank you!! =)Sonny3300, your signature says "Aperture 2" - is that correct? Then you need this trouble shooting guide:
Aperture 2: Troubleshooting Basics: http://support.apple.com/kb/HT2945
What is your Operating system version and where is your library located? Have imported new images recently or changed the location of your library?
Regards
Léonie -
When I try to use the Submit Form button on the Interactive PDF I created (In Design CS6), I get this message:
There is no value in form field "Program." Please put in it before proceeding.
How can I fix this and make the Submit Form button work?Are you running modified software on your phone? This error seems to be common if the firmware has been modified and you're trying to restore the phone again.
-
trying to rent a movie and error message pops up saying "item cannot be downloaded on this network. You must connect to wi-fi or download it on your computer". I just finished downloading a rental but I get this message when attempting another. Any help much appreciated
You might want to try it again. It started working for me about 10 minutes ago (~8pm CST).
This was happening for rentals and purchases. -
Keep getting this message when trying to back up iMac to time Machine: Unable to complete backup. An error occurred while copying files to the backup volume. tried everything.
Pondini's Time Machine FAQ for help with TM problems. Also you can select Mac Help from the Finder's Help menu and search for "time machine" to locate articles on how to use TM. See also Mac 101- Time Machine.
Time Machine- Troubleshooting backup issues -
Getting this message when I try to update The operation couldn’t be completed. (NSURLErrorDomain error -1100.)
There are many people suffering from this problem right now (including me). It appears to be a server issue. Just wait and try checking for updates again tomorrow.
Some things I have heard indicate that this may be a regional problem, though what parts of the world are affected I don't know yet. A few people have been helped by deleting the following preference file (paste the path into the Go -> Go to Folder window in the Finder to locate it), though most have not:
~/Library/Preferences/com.apple.SoftwareUpdate.plist -
I get this message when I try to download purchased music, never seen it before, never had a problem before.
"you do not have enough access privelages for this operation"
This computer is authorized, auoto download is enabled and I can download on my ipad without a problem.
Any ideas what might be going on?Hi jimbowby,
If you are getting this error message just when attempting to download previously purchased music (new purchases work fine), and it's only occuring on the computer (redownloads on the iPad work fine), it may be a permissions issue. It may be worth taking a look at the Resolution section of the following article, which covers other issues that can throw that same error message: Trouble adding music to iTunes library or importing audio CD Hope that helps.
Cheers,
- Brenden -
The feature you are trying to use is on a network resource that is unabailable" Why am I getting this message when I try to updaate itunes or quicktime?
Before trying the update again, use Microsoft's Fix it solution at http://support.microsoft.com/mats/Program_Install_and_Uninstall. Use it to uninstall iTunes and Quicktime. It bypasses this not uncommon problem. When the solution finishes, the selected program will be uninstalled. It can take several minutes and I have seen as much as half an hour.
After iTunes & Quicktime are uninstalled, try the update again. -
I'm getting this problem when trying to update my iphone 3gs it says that the iphone software could not be contacted and I went on youtube got some advise to go into my hard drive to fix the error I have nothing in my host file please help me if you can this is all new to me.
Read this: iOS 4: Updating your device to iOS 5 or later
... oh I think it is a 3gs or a 3
This makes a difference. What does it say in Settings > General > About? -
I am getting this message when trying to upload an album to Apple from iPhoto - An error occurred when trying to contact the Apple on-line Store. Please try again later!!!
Do you mean trying to purchase an iPhoto book? Try rebooting and ordering again. If that fails Boot into Safe Mode, Mac OS X: Starting up in Safe Mode, and try ordering from there.
OT -
i keep getting this message when trying to update my old 3g-"the iphone could not be restored-an unknown error occurred (-1)-any ideas? anyone?
i have done that
same result
the phone has a sim in it that is not active. does this cause the fault in question? -
I get this message when updating installs,message is....error in the App Store. Please try again later. (20)
Can someone help?
Thank you much in advance!
CarmenThank you Catherine & MrToaster - Yes - I've just updated to my new credit card. All the details were correct, inc authorisation code but App Store kept prompting me to update iMovie then, not allowing me to (There was an error in the App Store. Please try again later. (20)).
Your advice worked - I logged out and in again.
The problem is that I'll definitely have forgotten your tip when my card next expires! -
# Question
I get this message when I try to open my google shared docs this week: "A browser error has occurred. Please hold the Shift key and click the Refresh button to try again." - but that click/refresh doesn't work either. What's up?The backend end is in serious pain....on many levels.
Try this: Connection Problems Form
Maybe you are looking for
-
Itunes won't recognize my ipod nano 2nd gen anymore?
itunes won't recognize my ipod nano 2nd gen anymore. it just charges it???
-
How to restore my computer?
Hi. I have a problem with my computer. I wanted to restore my computer for some reasons. The problem is that some days ago I opened it and nearly all of the programs and apps were deleted and obviously I don't know why. Even when I open the men Start
-
Still having probs with changing wallpaper and desktop after full reinstall at apples shop.
have tried removing .plists but there is only one..systemprefs, the desktop.plist and screensaver.plist are not listed have restarted but still says cannot load desktop and screensaver pane. Apologies if in wrong forum....pretty useless!
-
Traffic shaping combined with queuing
Without any traffic shaping, queuing(ex: priority or custom) is only invoked when congestion occurs... correct? When FRTS shaping is used and custom queuing also specified, is the queuing only invoked when traffic exceeds the shaped speed, or is it a
-
How To : Sync playlists from iOS device back to itunes - Windows
How To : How To : Sync playlists from iOS device back to itunes - Windows (May work on Mac too) NOTE - THIS WILL ONLY WORK IF YOU HAVE THE MUSIC FILES ON THE COMPUTER ALREADY If your like me and format your computers only to discover that you've lost