Error trying to update web.xml
I'm trying to update web.xml via these instructions:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0eb8120-b66c-2910-5795-894f384fc054
The upload fails, and I see this excetpion in the log:
Caused by: java.rmi.RemoteException: Error occurred during single file update of
application sap.com/irj. Reason: Updating the security information in the
deployment descriptors is not allowed in this operation.; nested exception is:
com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException:
Updating the security information in the deployment descriptors is not
allowed in this operation.
Ideas? I'm signing in as Administrator, so why would the operation not be allowed?
This is a 7.0 system, and the instructions are for a nw2004 system. We've successfully uploaded the web.xml file before, so I'm thinking that something has changed in 7.0 that's preventing the upload.
This page of the documentation indicates that the technique is the correct case:
http://help.sap.com/saphelp_nw70/helpdata/en/6e/8590f1d6d349c9adc34c6a8085189b/frameset.htm
So, one of two things has happened:
1. The documentation is in error, or
2. A bug has been introduced.
I'm hoping it's #2....
Similar Messages
-
Error while deploying in web.xml with web-app_2_5.xsd
Weblogic version 10.3.5 and java is 1.6.0_31
context root is - "/" (slash)
Web.xml - old
has following declaration and works fine
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
i am trying to change web.xml's web-app definition as below
Web.xml - new
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
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">
and to accommodate above change i enclosed all "tag libs" inside <jsp-config> tag which is as per 2.5
when i try to deploy with above changes, i am getting following error but with old definition i am not getting any error.
<Error> <Deployer> <clbblr-4423> <StoreFront> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1358234763292> <BEA-149205> <Failed to initialize the application 'shopstr' due to error weblogic.application.ModuleException: Failed to load webapp: '/'.
weblogic.application.ModuleException: Failed to load webapp: '/'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
Caused By: java.lang.ClassNotFoundException: atg.web.tagsupport.CollectionTagSupport
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
at java.lang.ClassLoader.defineClass1(Native Method)
Would appreciate suggestions. Thanksadded JAR file pwsTaglib2_0.jar and now problems are resolved. will open this thread if i see any other error
-
Getting referrer in error page setup in web.xml
Hello,
Is it possible to get the referrer in a JSP when that JSP is
set up as the error-page element in web.xml when a 404 (or
any other http error) occurs?
For example when I type www.me.com/page1.jsp and page1.jsp does
not exist WLS sends me to my error page. However I want to know
what page (in this case page1.jsp) it was trying to access.
Wouldn't this typically be the referrer? When I itirate through
the headers in my error page the referrer is not one of them.
regards,
[email protected]
This works beautifully. Thank you!
[email protected]
Dimitri Rakitine <[email protected]> wrote:
>It was added in Servlet spec 2.3 - see [9.9.1]:
>
>If the location of the error handler is a servlet or a JSP page, the
>request
>attributes in Table SRV.9-1 must be set.
>
>These attributes allow the servlet to generate specialized content depending
>on the status code, the exception type, the error message, the exception
>object
>propagated, and the URI of the request processed by the servlet in which
>the error
>occurred (as determined by the getRequestURI call), and the logical name
>of the
>servlet in which the error occurred.
>
>Table SRV.9-1 Request Attributes and their types
>Request Attributes Type
>javax.servlet.error.status_code java.lang.Integer
>javax.servlet.error.exception_type java.lang.Class
>javax.servlet.error.message java.lang.String
>javax.servlet.error.exception java.lang.Throwable
>javax.servlet.error.request_uri java.lang.String
>javax.servlet.error.servlet_name java.lang.String
>
>so it will work in 6.1 :
>
><web-app>
> ...
> <error-page>
> <error-code>
> 404
> </error-code>
> <location>my404page.jsp</location>
> </error-page>
> ...
></web-app>
>
>and my404page.jsp :
>
><%@ page isErrorPage="true" %>
><%
> System.out.println("Error: " + request.getAttribute("javax.servlet.error.request_uri")
>+ " is not here");
>%>
>
>bea_user <[email protected]> wrote:
>
>> Hello,
>
>> Is it possible to get the referrer in a JSP when that JSP is
>> set up as the error-page element in web.xml when a 404 (or
>> any other http error) occurs?
>
>> For example when I type www.me.com/page1.jsp and page1.jsp does
>> not exist WLS sends me to my error page. However I want to know
>> what page (in this case page1.jsp) it was trying to access.
>
>> Wouldn't this typically be the referrer? When I itirate through
>> the headers in my error page the referrer is not one of them.
>
>> regards,
>> [email protected]
>
>--
>Dimitri
-
Error trying to update to itunes 10.6.3 & now 10.7 (e drive?)
Error trying to update to itunes 10.6.3 & now 10.7 (e drive?)
I've been having this problem for a while (maybe a couple of months) and avoided it until I updated my iPad and iPhone to iOS 6. Now they won't sync! :|
At first it was simply collapsing after the install process. I've tried again tonight and it is saying that it has an E drive error. I've tried to use the instructions on other discussions (using Run, CMD, and mapping the E drive to C) - but, I don't actually have an E drive. My c used to be split into two, including an E drive, but it has since been returned to one single drive. (I'm a teacher, the IT manager at school sorted this - managing one drive is easier for me to keep it working well - until now).
Itunes was reinstalled and set up simply in the C drive, but could there be something remaining from it's previous install? Help?!?
Thanks,
Lukemany thanks.
There's a few suggestion other than using SUBST at the command prompt given in the following user tip:
"Invalid drive X:\" install errors
Do any of the alternate methods work for you? -
Define global error page on global-web.xml
Dear fellows:
We want to create a common 404 web error page for all our J2EE applications. We have added these error pages to the global-web.xml through the Visual Administrator:
on several system local folders such as:
usrsap<SID><j2ee-instance>j2eecluster
usrsap<SID><j2ee-instance>j2eecluster<server-inst>
usrsap<SID><j2ee-instance>j2eecluster<server-inst>apps
usrsap<SID><j2ee-instance>j2eecluster<server-inst>sap.com
However, everytime we provoke the server error in order to retreive this Global Error Web Page, the system does not seem to find our custom error page, giving the following message:
The request cant be processed.
Details: Requested resource ( /testerrorpage.html ) not found.
We have discovered that the application was not trying to look up for our web Error page, but for another one located inside the application. However, we don't want to add a specific application web page but a global one common for all of them.
Since there is not any common folder, such as global/root folder, we dont know where the custom error page should be placed. Do we need to do something else?
We are currently using WAS: 6.40 SP 11 PatchLevel 89291.313.
Does anyone know how to configure this global error page? It is possible to do it?
Thank you
Gonzalo
Message was edited by: Gonzalo Pérez-PrimHello,
Yes, Uvaylo is right, the only way to edit the content of the global-web.xml is through the visual administrator --> Configuration Adapter.
I have the same problem as Gonzalo, I have modified the global-web.xml and added custom errors pages for each HTTP error and exceptions. The big deal is when I try to specify in the <b>location</b> field of <b>error-page</b> item: I dont know where I should place my custom error page. I have tried the same paths as Gonzalo did with the same result, when the error event is raised the error page is not found. In the log appears the following entry:
Processing an http request by the error page [/testerrorpage.html] finished with errors.
Probably the exception [com.sap.engine.services.servlets_jsp.server.exceptions.ServletNotFoundException:
Requested resource ( /custom_error.html ) not found.]
thrown by the requested servlet [/testerrorpage.html] cannot be processed.
The error is: com.sap.engine.services.servlets_jsp.server.exc
Please help! Where can I place my custom error pages, to make them available for all the applications of the server?
Thanks in advance for your help! -
Error trying to update to v7.1.0.391 (Rogers)
Hi folks,
Trying to update the O/S on my 9810.
All I get is an error screen that says this:
! There was an error updating your software
This BlackBerry Device Software upgrade includes new features and sigificant
enhancements to the BlackBerry solution and,as such, is only available to users with
an active BlackBerry subscription. To learn more about BlackBerry service, please
visit www.blackberry.com/service.
This is beginning to get a bit frustrating and any help would be greatly appreciated.Hello,
The message is actually completely accurate...but here is more:
KB19921 Unable to upgrade BlackBerry Device Software because the message "BlackBerry Device Software updates are only available to BlackBerry smartphone users with an active BlackBerry service subscription" appears when Desktop Manager is launched
If you do not subscribe, from your mobile service provider, to an adequate BB-level data plan, then you are not eligible to use the updated OS levels.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
ITunes error trying to update apps
Just updated iTunes. Get error 3024 trying to update my apps What gives.
Also clicking the green button doesn't fit the window to my screenHello Faithfill
If you are having issues downloading updates to your computer from the iTunes Store, then check out the article below to go over settings of your computer.
Can't connect to the iTunes Store
http://support.apple.com/kb/TS1368
Regards,
-Norm G. -
Error trying to update collection metadata
Hi,
I'm trying to update via Java code - using service COLLECTION_UPDATE - a collection/virtual folder which was previously created(by Java code, again) - using service COLLECTION_ADD - , but I get this error:
Error: !csCollectionUnableToUpdateCollection!csCollectionUnableToOpenCollection
What could be the cause? Is the update operation coming to soon after the folder has been created? What should be done?
Thanks,
Vladmany thanks.
There's a few suggestion other than using SUBST at the command prompt given in the following user tip:
"Invalid drive X:\" install errors
Do any of the alternate methods work for you? -
ADF/Webcenter Portal Error Page configuration in web.xml
Hi All,
I am using jdeveloper version 11.1.1.6.0.
I set two error pages in my application by following web.xml entries.
<error-page>
<error-code>404</error-code>
<location>/oracle/webcenter/portalapp/pages/AfError.html</location>
</error-page>
<error-page>
<error-code>503</error-code>
<location>/oracle/webcenter/portalapp/pages/SiteMaintenance.html</location>
</error-page>but it does not divert to the AfError.html page but shows 404 error.
How to solve this.
Is it possible to set .jspx page in location attribute also.
Any help is appreciated.
Require as early as possibleHi,
this should be asked on the WebCenter forum. However, how likely is it that your error page also causes a 404 error? The message in you web.xml file are for site not found and site not available. So unless you redirect to something that is accessible you wont be able to tell whether it works or not
Frank -
Error trying to update CS6 Illustrator 16.4
Ok I bought Master Collection CS6. Everything was fine untill I nedded to update Illustrator 16.3 to 16.4. Install error UM... something basicly it failed to install illustrator update 16.4. of update failed just right now for photoshop too. mother-fuc...@@#@#
Before you AP's (amateur professional) start giving me sugestions.
I've updated the latest Mac OS
I've run fix permisions
Tryed manually updating to 16.4
uppdated Application Manager (suggested by staff)
Now I tyed on my own
downlded try'll version of Illustrator that's working (will it start charging me for cload services???)Run the Creative Suite Cleaner Tool, reinstall the program, try again.
Mylenium -
Deployment plan to update web.xml
Hello,
Is it possible to use a deployement plan to update the web.xml file of an war inside an ear ?
I would like to map a servlet on a new URI using a new workmanager by configuration (I mean once my application is built) I suppose it is possible to use the deployment plan to add a section inside the web.xml.
For example, I would like to add the folowing section :
<servlet>
<servlet-name>DummyServlet</servlet-name>
<servlet-class>com.company.servlets.DummyServlet</servlet-class>
<init-param>
<param-name>wl-dispatch-policy</param-name>
<param-value>DummyWorkManager</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>DummyServlet</servlet-name>
<url-pattern>/myDummyServlet</url-pattern>
</servlet-mapping>
Thank you for helping me on this point
Best Regards,
C.To my knowledge you can not add elements to your deployment descriptors, but you can change them, for example
say we have the following ejb-jar.xml
<ejb-jar ...>
<enterprise-beans>
<session>
<ejb-name>Bedrijf</ejb-name>
<env-entry>
<env-entry-name>something</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>iets</env-entry-value>
</env-entry>
</session>
</enterprise-beans>
</ejb-jar>and we want to change the value of something. Now we can generate a plan.xml (for example by using weblogic.Plangenerator
http://download.oracle.com/docs/cd/E13222_01/wls/docs90/deployment/wlplangenerator.html). When we do this for an EAR
file we get something like the following:
<?xml version='1.0' encoding='UTF-8'?>
<deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd">
<application-name>test</application-name>
<variable-definition>
<variable>
<name>SessionDescriptor_timeoutSecs_12870427304900</name>
<value>1800</value>
</variable>
<variable>
<name>something</name>
<value>anders</value>
</variable>
</variable-definition>
<module-override>
<module-name>EJBSessionBeans.ear</module-name>
<module-type>ear</module-type>
<module-descriptor external="true">
<root-element>weblogic-application</root-element>
<uri>META-INF/weblogic-application.xml</uri>
<variable-assignment>
<name>SessionDescriptor_timeoutSecs_12870427304900</name>
<xpath>/weblogic-application/session-descriptor/timeout-secs</xpath>
</variable-assignment>
</module-descriptor>
<module-descriptor external="false">
<root-element>application</root-element>
<uri>META-INF/application.xml</uri>
</module-descriptor>
<module-descriptor external="true">
<root-element>wldf-resource</root-element>
<uri>META-INF/weblogic-diagnostics.xml</uri>
</module-descriptor>
</module-override>
<module-override>
<module-name>Model.jar</module-name>
<module-type>ejb</module-type>
<module-descriptor external="true">
<root-element>weblogic-ejb-jar</root-element>
<uri>META-INF/weblogic-ejb-jar.xml</uri>
</module-descriptor>
<module-descriptor external="false">
<root-element>ejb-jar</root-element>
<uri>META-INF/ejb-jar.xml</uri>
<variable-assignment>
<name>something</name>
<xpath>/ejb-jar/enterprise-beans/session/[ejb-name="Bedrijf"]/env-entry/[env-entry-name="something"]/env-entry-value</xpath>
<operation>replace</operation>
</variable-assignment>
</module-descriptor>
</module-override>
<module-override>
<module-name>Userinterface.war</module-name>
<module-type>war</module-type>
<module-descriptor external="true">
<root-element>weblogic-web-app</root-element>
<uri>WEB-INF/weblogic.xml</uri>
<hash-code>1287042734068</hash-code>
</module-descriptor>
<module-descriptor external="false">
<root-element>web-app</root-element>
<uri>WEB-INF/web.xml</uri>
</module-descriptor>
</module-override>
<config-root>...</config-root>
</deployment-plan>To this plan.xml we added a variable definition
<variable-definition>
<variable>
<name>something</name>
<value>anders</value>
</variable>
</variable-definition>To change the contents of the variable something we add the following to the ejb-jar module section
<module-descriptor external="false">
<variable-assignment>
<name>something</name>
<xpath>/ejb-jar/enterprise-beans/session/[ejb-name="Bedrijf"]/env-entry/[env-entry-name="something"]/env-entry-value</xpath>
<operation>replace</operation>
</variable-assignment>
</module-descriptor>The same steps can be followed when you want to change the contents of your web.xml (but note that the elements must be present
otherwise the xpath assignment will not work) -
Connection error trying up update iMix
I've been trying for MONTHS to update my iMixes. My computer has even gone through a few software updates. Still no luck. I get:"...An unknown error occurred (5002). There was an error in the iTunes Store. Please try again later." I'm on an Intel-based Mac in 10.4.11. I used to be able to do this. I can purchase songs without a problem.
Greetings,
I had previously encountered the difficulties you have described.
What worked for me was to click on the...
- 'file' tab in iTunes and drop down to click on
- 'new playlist'
- create the title for the iMix
- drag your songs over (with any updates added to it) and then
- 'publish' it again
This seemed to bypass the glitch that was preventing me from updating iMixes. I think I also deleted the original mix that i was trying to update (by accessing "manage iMixes' through one's acct).
Please try this and let me know if it works for you. Good Luck.
-Piehole
Message was edited by: Whining Piehole -
Error trying to update PLE400 firmware
I'm having performance issues with my PLE400.
So the first thing I'm trying is to update the firmware (currently on 2.1.81).
I downloaded the file: FW_PLE400_2.1.9.ggl and when I tried to update it (Powerline AV utility ver 1.6.0.2) via my iMac I got the following message:
Operation Failed
Selected GGL file mismatch loaded FW
I went to the Linksys site and downloaded the file again and tried again.
Still getting the same message.
Any ideas?
Thanks,
ToriI don't have one of those devices but when you go to update the firmware does it ask for a specific file type? (Ex: *.bin, *.img)
The reason I ask is I've seen it where you need to rename the file extension to upload a firmware file but it's dangerous if you make a mistake. This would brick the device.
Please remember to Kudo those that help you.
Linksys
Communities Technical Support -
Getting "Publishing Error" trying to update website, please help.
New to this and love iWeb so far. Successfully loaded www.cruisingblueheavens once or twice or several times but today getting this error message: "Can’t create the file “mwmac.png.” The disk may be damaged or full, or you may not have sufficient access privileges." I originally thought by saying "OK"to this I was bypassing this error and making updates anyway, but not true. Previous error was related to "PSCN0479.jpg" and I cropped and re-copied the new photo of ourselves and got past that. Now I have no idea why or where I might have a .png file but the update doesn't get past the first few seconds of the Welcome page. What's wrong and/or what's the work-around? I have 3.04 version, the latest supposedly.
Thank you in advance
JeanneTry the troubleshooting steps under "Fix iWeb" here...
http://www.iwebformusicians.com/iWeb/iWeb-Tips.html -
I'm trying to update my Ipad 2 to the most current operating system. When connected to Wifi, I try going to Settings > General, but I do not have an option to update here. I've tried hooking it up to itunes on my PC and updating from there, but I get a message "The ipad update server could not be contacted". Getting frustrated as I can't update the software and I can't access many new apps as they require a higher version to work correctly.
Let's try the following document with that one.
iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
(If the "Automatically detect settings" checkbox is already checked, try unchecking and rechecking it and clicking OK.)
Maybe you are looking for
-
Windows Vista- Update Error 80044016
Good afternoon! Friend of mine is struggling with Windows Vista SP 2 - Windows Update. So far I tried to: -Disable AV, Disable Firewall -Clean boot -Automated solution - fix it -Sfc -checksur -re-register responsible dll's regsvr32 wuapi.dll regsvr32
-
FormDesigner.exe crashed when I attempt to move an object in the document hierarchy
I'm using LiveCycle Designer ES2 to create a dynamic XML form. I have a flowed page layout with a series of subforms arranged from top to bottom. The order of the subforms is necessary. When I attempt to move a subform up or down in the Hierarchy pan
-
Hello, I have Snow Leopard for my iMac and have yet to install it... I guess I am nervous about something happening to my iMac. Do you feel that it is safe to install Snow Leopard or should I just forget about it? Thanks!
-
After I woke my iPod Nano (5th gen.) up from sleeping, I couldn't scroll through different songs or artists. The buttons that work are the menu, select, and change-songs button. Can someone please tell me what's wrong?
-
The u2 album shows as purchased but i can't find it in my library
My iTunes shows I've purchased the new U2 album but it isn't in my library. Does anyone know how to fix this?