Replace values web.xml with a deployment plan.  Does not not on WL 10.3.2

Hi All-

I am trying to replace a value of web.xml to one on a weblogic deployment plan. I deployed the application on WL 10.3.2 and used the deployment below plan. No matter what I do it does not seem to appreciate in value.

Web.XML:

<? XML version = "1.0" encoding = "windows-1252"? >
<! DOCTYPE web - app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3 / / IN" "http://java.sun.com/dtd/web-app_2_3.dtd" >
<>web - app
...
< context-param >
TokenGroup < param-name > < / param-name >
OldValue < param-value > < / param-value >
< / context-param >
...
< / web - app >

Deployment plan:

<? XML version = "1.0" encoding = "UTF - 8"? >
<-plan of deployment 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".
global variables = "false" >


APPName < application name > - < / application_name >

> definition of variable <
< variable >
< name > TokenGroup < / name >
< value > Key123456 < / value >
< / variable >

< / variable-definition >


< module-override >
< module name > APPName.war < / module-name >
war of < module-type > < / module-type >
< descriptor-external module = "false" >
Web - app of the < root > < / root >
< uri > WEB-INF/web.xml < / uri >

> assignment of variable <
< name > TokenGroup < / name >
< xpath > / web-app/context-param / [param-name = "TokenGroup"] / param-value < / xpath >
Replace < operation > < / operation >
< / variable assignment >


< / module-descriptor >
< / module-override >
< / deployment plan >


I also tried other formats for the xpath expression such as:

/ Web-App/Context-param / {param-name = "TokenGroup"} / param-value
/ Web-App/Context-param [param-name = "TokenGroup"] / param-value

Any ideas why it does not work?

Thank you
Joe

"web.xml".
-------------




name
Joe


password
password


ParameterServlet
ParameterServlet


ParameterServlet
/ ParameterServlet

ParameterServlet
------------------------
import java.io.IOException;

import javax.servlet.ServletConfig;
to import javax.servlet.ServletContext;
to import javax.servlet.ServletException;
Import javax.servlet.ServletOutputStream;
Import javax.servlet.http.HttpServlet;
to import javax.servlet.http.HttpServletRequest;
to import javax.servlet.http.HttpServletResponse;

SerializableAttribute public class ParameterServlet extends HttpServlet {}
private String dbName = "";

private String dbPassword = "";

Public Sub init (ServletConfig config) throws ServletException {}
Super.init (config);
ServletContext context = getServletContext();
dbName = context.getInitParameter ("name");
dbPassword = context.getInitParameter ("password");

}

' Public Sub doGet (HttpServletRequest req, HttpServletResponse res)
throws IOException {}
ServletOutputStream out = res.getOutputStream ();
res.setContentType("text/html");
out.println(")Basic servlet");
out.println(")Database user name is "+ dbName);
out.println(")

Database password is "+ dbPassword +"");
out.println(")");
}
}

'Plan '.
--------------


virtual


     name

     akshay1
     
     
     password
     koul1
     



virtual
war

Web - app
WEB-INF/web.xml
     
          name
          / Web-App/Context-param / [param-name = 'name'] / param-value
          replace
     

     
          password
          / Web-App/Context-param / [param-name = "password"] / param-value
          replace
     



C:\DOCUME~1\user\LOCALS~1\Temp\user\.\config\deployments\virtual\plan

It works for me... I think that your file "web.xml" is the origin of the problem.

Try to replace



with


I hope this helps.

-Akshay

Tags: Fusion Middleware

Similar Questions

  • Windows 8 Pro update replaces Conextant sound installed with a sound THAT DOES NOT WORK Microsoft! How do you get the Conextant reinstall

    Installed Win 8 Pro on a Lenovo ThinkPad (SL500) #2746BKU with Vista.    Everything seems to work, but no sound except unplug the power Pak.  I downloaded all driver Conextant kits & Microsofts drivers without result.  When you check the Device Manager it shows a Microsoft sound in the SOUND VIDEO AND GAME CONTROLLERS properties.  The two see the Lenovo & Microsoft Research unanswered who worked.  Under speaker system it shows no driver installed BUT THAT WORKS WITH a BEEP when you start the machine.

    HAS ANYONE FIGURED THIS OUT?  I downloaded & installed large files that don't work.  8 win changed the name of the sound chip Conextant to a manufacturer of Microsoft.  So when you try to install the drivers conextant he can't find it.  If you uninstall it still can't find it because that win 8 it changed a Microsoft legacy.

    Help I sold it but not without noise.

    Hello

    Try to uninstall the Microsoft drivers and resettlement the Conextant...

    While you are in Device Manager try to disable the device, restart, then try Conextant drivers...

    I don't know that win 8 has actually changed your device. First of all, it is not physically possible to

    'replace it with one made by Microsoft', but he might have changed its identifier...

    I think that what you see is a VIRTUAL Microsoft device... My machine has one of these...

    A normal RealTek audio chip and an imaginary Microsoft chip. lack of a better description.

    Probably your Conextant is simply not appear, what makes things appear weird...

    Try to install your Conextant in Compatibility Mode drivers\software, or right click on the installer and select troubleshoot compatibility...

  • Possible error with module GWT.xml file. The value of time compilation agent user (ie6) does not match the value of user.agent (ie8) run time

    Hi there... How can I sort this problem as this message looks back constantly on google Account... ERROR POSSIBLE WITH GWT. The value of time compilation agent MODULE XML FILE user (ie6) does not match the value of user.agent (ie8) run time

    Hello nEve Adam,.

    Thanks for the return of the response.  Below, I've added some links Google support on this issue.  I hope this helps.

    ERROR: Problem Possible with your *. GWT.XML file module. The value of compile time user.agent (opera) does not match

    http://www.Google.com/support/forum/p/blogger/thread?TID=2d6d9bd1326a07c4&hl=en

    In addition,

    Message from Web page

    http://social.technet.Microsoft.com/forums/en-us/ieitprocurrentver/thread/53194559-306a-4ffc-a614-4bac817f178d

  • How to change the source of data in application with the deployment plan

    Hello

    JDev Version: 12.1.3

    I can't change the source data with the deployment plan bc4j.

    Any example on this requirement?

    Thank you

    Anil

    Well, if you take a look at:

    http://Biemond.blogspot.com/2009/04/using-WebLogic-deployment-plan-to.html

    (one of the links in the link you get), you will see Edvin Biemond answwer:

    "you must change the configuration of module of the Application so that it uses a data source. and in the deployment of applications disable deployment of jdbc connection.

    Now you is enough to make the good source of data on each wls and deploy ears. »

    The simplest (and probably the best) way is, as I told you, and you are also mentioned: open up JDeveloper and change declaratively and re-download the ears

  • What is wrong with this sequence, it does not work when, after 3 inserts, I add a new record with the trigger it gives an error.

    Mr President.

    What is wrong with this sequence, it does not work when, after 3 inserts, I add a new record with the trigger it gives an error.

    --SL_CUSTOMERS table data
    
    
    INSERT INTO SL_CUSTOMERS VALUES(1,'Kamrul Hasan',NULL,NULL,'Moghbazar', 'Dhaka','0456789123',NULL,NULL,NULL,'Y',NULL);
    INSERT INTO SL_CUSTOMERS VALUES(2,'Rabiul Alam',NULL,NULL,'Motijheel', 'Dhaka','0567891234',NULL,NULL,NULL,'Y',NULL);
    INSERT INTO SL_CUSTOMERS VALUES(3,'Shahed Hasan',NULL,NULL,'2-G/1,2-2,Mirpur', 'Dhaka','0678912345',NULL,NULL,NULL,'Y',NULL);
    
    
    
    

    CREATE SEQUENCE  "ALIZA"."SL_CUSTOMERS_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER  NOCYCLE ;
    
    
    CREATE OR REPLACE TRIGGER SL_CUSTOMERS_TRG 
    BEFORE INSERT ON "ALIZA"."SL_CUSTOMERS"   
    FOR EACH ROW   
    BEGIN   
    IF :NEW.CUSTOMER_ID IS NULL OR :NEW.CUSTOMER_ID < 0 THEN  
      SELECT SL_CUSTOMERS_SEQ.nextval   
        INTO :NEW.CUSTOMER_ID  
        FROM DUAL;   
      END IF;   
    END;   
    /
    
    
    
    

    When I try to insert several records with the seq.nextval it gives error

    violation of primary key.

    INSERT INTO "ALIZA"."SL_CUSTOMERS" (CUSTOMER_NAME) VALUES ('sdfsd')
    ORA-00001: unique constraint (ALIZA.SL_CUSTOMERS_PK) violated
    ORA-06512: at line 1
    
    
    
    
    One error saving changes to table "ALIZA"."SL_CUSTOMERS":
    Row 4: ORA-00001: unique constraint (ALIZA.SL_CUSTOMERS_PK) violated
    ORA-06512: at line 1
    
    
    
    
    
    
    
    

    Concerning

    Mr President.

    I find the solution by creating a function before the triiger

    as below

    CREATE SEQUENCE  "ALIZA"."SL_CUSTOMERS_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER  NOCYCLE ;
    
    CREATE OR REPLACE FUNCTION get_SL_CUSTOMERS_vId RETURN VARCHAR2 AS
    BEGIN
       RETURN SL_CUSTOMERS_SEQ.NEXTVAL;
    
    END;
    /
    
    CREATE OR REPLACE TRIGGER SL_CUSTOMERS_TRG
    BEFORE INSERT ON "ALIZA"."SL_CUSTOMERS"
    FOR EACH ROW
    DECLARE
    dummy VARCHAR2(200);
    BEGIN
      dummy := get_SL_CUSTOMERS_vId();
      :NEW.CUSTOMER_ID := dummy;
    END;
    /  
    

    It works very well

    Thank you all for the suggestions.

    Concerning

  • Gesture with one finger touchmouse does not respond correctly

    My fingers touchmouse gestures work ok, except for the gesture with one finger :( It does not at all on the desktop. It scrolls only of up and down a Web page, or when I'm in a window. It does not navigate to other directions with one finger.
    A quick response would be appreciated.

    Hi Teri,

    What operating system is installed on the computer?

    I suggest you try the steps from the following link:

    Mouse, touchpad and keyboard with Windows problems
    http://Windows.Microsoft.com/en-us/Windows/help/Mouse-touchpad-and-keyboard-problems-in-Windows

    Keep us updated with the results once you try the steps above.

  • The current power plan does not

    The current power plan does not

    Hello

    These should help:

    How restor e the default power plans in Vista (and then go back and edit as you wish)
    http://www.Vistax64.com/tutorials/198047-power-plan-restore-default-settings.html

    Power plans: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/power-plans-frequently-asked-questions

    Change, create, or delete a power plan (scheme)
    http://Windows.Microsoft.com/en-us/Windows-Vista/change-create-or-delete-a-power-plan-scheme
    Troubleshooting Windows Vista sleep and extended

    Manage Windows Vista eating patterns effectively & efficiently.
    http://www.WinVistaClub.com/G29.html
    Check your settings (BIOS/CMOS) - usually F2 as you start - Wake on Lan, Wake on Modem and so on.

    Troubleshooting Windows Vista sleep and extended
    http://www.computerperformance.co.UK/Vista/vista_hibernate.htm

    How to troubleshoot performance problems with sleep, hibernation and resume in Windows Vista
    http://support.Microsoft.com/kb/950686

    May need to reset all to default power settings and then place back as you prefer.

    How to solve a problem of Mode for Vista and find a Solution
    http://www.Vistax64.com/tutorials/63567-power-options-sleep-mode-problems.html

    How to enable and disable Hibernation - you can try to disable and re-enable the it. http://www.Vistax64.com/tutorials/165508-hibernation-enable-disable.html

    How to restore the default power in Vista (and then go back and change as you wish)
    http://www.Vistax64.com/tutorials/198047-power-plan-restore-default-settings.html

    Panel configuration-Device Manager - look at the settings for the network card, WiFi, Modem power management.
    and other devices. (Double click on the device and the power management tab)

    May need to reset all to default power settings and then place back as you prefer.

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • I had to replace my hard drive and now my key does not work

    I had to replace my hard drive and now my key does not work, it keeps giving the error 0xC004E003

    Have you tried to restart by phone?

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

    Activation error: 0XC004E003 http://support.microsoft.com/kb/938450

    Please run the Microsoft Genuine Diagnostics Tool then copy and paste the results into an answer here for further analysis:
    http://go.Microsoft.com/fwlink/?LinkId=52012

  • Portege A600-138 with Vista 32 bit does not see the computers in the Group Win XP network

    Hello

    My Toshiba Portege A600-138 with Vista Business 32 does not see the computers in the workgroup.
    In our office, the computers are all equipped with Windows XP.

    When I connect my laptop to the Local network, I don't see any neighboring computers in Network Explorer.
    I spent 1 hour and 40 minutes to talk to a specialist Service of Support from Microsoft, and the only way to have access to local machines, we found it had to enter the IP of the computer directly into the computer browser path field.

    I hope you understand what I mean.

    The man said that he had no this problem with non - OEM Windows Vista versions.
    He meant that the problem was with the oem versions of Vista preinstalled on laptops only.
    He said that probably the sellers - in my particular case Toshiba - supplied their notebooks with VIsta oem images that were somehow corrupt.

    Does anyone have an idea of the cause of this problem?

    > The man said that he had no this problem with non - OEM Windows Vista versions.
    > It meant that the problem was with the oem versions of Vista preinstalled on laptops only.

    That's nonsense for me
    The Vista OS preinstalled Toshiba which is same BONE as full Vista disc from Microsoft.
    There is only one difference; Toshiba laptops are preinstalled with Toshiba and pilots tools and drivers and tools are part of the Toshiba recovery image that contains Vista, driver and tools

    Check this box:
    http://www.Computerworld.com/s/article/9019179/Teach_XP_and_Vista_to_play_nice_on_networks?taxono myId = 16 & pageNumber = 1

    You will find information that a problem has to do with the new Windows Vista network map.
    Windows Vista uses a new Protocol (Link Layer Topology Discovery).
    LLTD is integrated with Windows Vista, this is why they appear correctly in the network map.
    But the problem is that LLTD is not integrated with Windows XP, which is why they do not appear correctly.

    But you can fix the problem by downloading and installing the layer topology discovery responder.
    Install it and your PC Windows XP will appear on the network map.

  • 6 iPhone with iOS 9.2 does not and freezing when I try to turn on + WiFi freezes

    6 iPhone with iOS 9.2 does not and freezing when I try to turn on + WiFi freezes cannot allow him. (When I get to start the Iphone by pluging it to Itunes)

    I've done a new install and reset the network settings.

    But always the same questions

    Thanks a lot for your help

    I have the same questions and more from Friday December 11 when I've upgraded to iOS 9.2.

    Device: iPhone 5 s

    Problems:

    -Screen freezes randomly reboot * required (sometimes restart by the camera itself)

    -Sometimes device reacts very slowly on the command (or even then restarts)

    -For the most part within the first hour when used, sometimes immediately (after restart)

    -Cannot slide or apps to react when I touch

    -AssitiveTouch on, keep available however to move and opening, but no order accepted when the screen is in gel

    Resolution of problems so far:

    -Reset all settings (no result)

    -Backup on iTunes (11 dec)

    -Erase content and settings and restore the backup to iCloud (10 Dec *) (no result)

    -Erase content and settings and restore the backup of iTunes (11 dec) (no result)

    -Tried with the new iPhone camera 6 and restore backup icloud (unsuccessfully; restore hangs at "1 minute remaining")

    -Tried with the new iPhone camera 6 and restore backup of iTunes (no result: same freezing questions reappear)

    Conclusion date: is not a hardware problem (device), but one software: combination of the configuration (such as backup) and the new iOS 9.2.

    By the way: I guess that not possible to restore 9.1 on the device.

    The new iPhone 6 initially contained iOS 9.1, but then did not 'see' backups, because they were made from a 9.2 iOS device.

    So I had to first install the iPhone 6 as a new iPhone, upgrade to iOS 9.2 and then I was able to reset and restore the backup (with no good result, as described above).

    *) restarts: hold Home-button on/off-button simultaneously for 10 seconds

    backup *) in the form of clouds 10 Dec worked without problem on iOS 9.1.

    I will continue to investigate on removing the apps installed a year or two, see if that generates the result.

  • Expect ultrasound with LVLM on EV3 does not wait

    Hello

    Waiting for ultrasound with LVLM on EV3 does not wait.

    I guess the internal encoding of this function using a US-sensor suitable for NXT onlay.

    See my bug report about the attachment.

    I'm curious weather my assumption is right, or is there another reason?

    Kind regars

    Andi ft, Switzerland

    Hello

    Any of the ' Wait For EV3 sensors are part of the version of the module currently. If all goes well, by copying the existing instruments, it takes not too many problems to make your own. The next version of the module will include "Wait For" s for all sensors EV3 IPY.

  • My laptop can open internet explore properly, the cursor may work when you tap the address space to type a Web site, but the site it does not point to the search space to find anything except the right button

    My laptop can open internet explore properly, the cursor may work when you tap the address space to type a Web site, but the site it does not point to the search space to find anything except the right button. What is the problem? Harry

    When you try to search it's inside Windows or Internet explore?
    When is this last work fine?
    You did changes to the computer?
    Has it worked before, then you can try to run the system restore and check if that helps

    ;)

  • There is an error with my computer, it does not connect with my router. It works with my usb 3g modem, but not with my router. My router works with other devices.

    There is an error with my computer, it does not connect with my router. It works with my usb 3g modem, but not with my router. My router works with other devices.
    I tried to connect my xbox to my computer to xbox live via the 3g router, but I was unable to. According to me, there is something wrong with the network card, since neither the wifi (wlan?) nor the lan connection seem to work.
    I harnessed connected my iPod, Xbox 360 and Nintendo DS for her, but not my computer. Please help me, what wrong with my computer?

    original title: problem with the map?

    Hi GustavTak,

    1. you have made no changes to the computer before the broadcast took place?
    2. do you get an error message?

    Try the steps from the following link:

    Windows wireless and wired network connection problems
    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Additional information:
    Network connection problems
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-connection-problems

    Set up a wireless router
    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-a-wireless-router

  • My problem is that when I try to save an image from Adobe Photoshop by using the 'save for Web' half of the dialog box does not appear.

    I use a Vista Home Premiuim Windows in an Acer Aspire One 10.1 "." My problem is that when I try to save an image from Adobe Photoshop by using the 'save for Web' half of the dialog box does not appear. Can someone help me please?

    Here is a screenshot of my problem...
    [IMG] http://i55.tinypic.com/of5w01.png [line]
    Help me please.

    Hello

    1. were you able to see the front dialog box?

    2. did you of recent changes to the computer?

    This happens because your screen resolution is less than the required minimum of 1024 x 768.

    You can try to change the resolution of the monitor and check.

    For more information, see the link:

    Change settings display on multiple monitors

    Change the screen resolution

    You can also refer to Adobe support links and also post your request in the Forum from Adobe for assistance:

    http://forums.Adobe.com/thread/433020?TSTART=0

    http://kb2.Adobe.com/CPS/403/kb403268.html

    http://forums.Adobe.com/community/Photoshop/photoshop_windows

    Hope this information is useful.

  • I keep having problems with my server DNS does not. Computer Blu - Ray player and wireless both have problems with the connection.

    I have problems with the server DNS does not.  I have been using my wireless on my computer and watching netflix on my Blu - ray player at the same time.  The Blu - Ray player froze and wouldn't connect.  At first, I thought that the network has not been configured correctly, but it worked not five minutes before.  I tried many things and I realized it was that my DNS server does not.  Does anyone have any suggestions?

    original title: DNS server does not

    Hi Dwright,

    1. have you made changes on the computer recently?
    2. not the problem only occurs when you watch netflix on Blu - Ray player?

    Method 1
    I suggest you try the steps from the following link to fix the server DNS does not problem.
    a. click on start and then Control Panel.
    b. go to the networking and sharing Center and then click on change adapter settings.
    c. right-click on connection to the Local network and select Properties.
    d. Select Internet Protocol Version 6, and then click Properties.
    e. Select obtain DNS server automatically an address and press Ok.
    f. Select obtain IP address automatically.
    g. Repeat steps for Internet Protocol version 4 as well.

    Method 2
    Try resetting Winsock2 from the following link:

    How to determine and to recover from Winsock2 corruption in Windows Server 2003, Windows XP and Windows Vista (applies to Windows 7)
    http://support.Microsoft.com/kb/811259

    Method 3
    Reset TCP\IP.
    How to reset the Internet Protocol (TCP/IP) (applies to Windows 7)
    http://support.Microsoft.com/kb/299357

    Additional information:
    Windows wireless and wired network connection problems
    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

Maybe you are looking for

  • PC Diagnostic in my Satellite C660 tool shows FAIL to HARD drive

    When I run the PC Diagnostic tool in my Satellite C660 it shows the result as "FAILURE" for the hard drive.Is there a problem with the hard drive? Post edited by: Sammy007

  • search for email

    search for emails. I can use more of the area of research is to find beyond emails that I have sent/received?

  • I'm trying to find my original desktop profile.

    As soon as I log on my computer, it shows that he's about to my office, and then I get the 'your usage profile has not been loaded properly. Logged on with a temporary profile. Please see the the event log for more information or contact your adminis

  • Free downloaded paid app

    Hello My Notes on photos app has more than 250 downloads today, but it's a paid app (only 1 purchase ). How is that possible? There are no coupon codes available at the moment... Thank you Laurent

  • Monitors-windows double jumps between monitors

    The selected window jumps to monitor 1 (left) when I press number 1 on top of the keyboard only and jump to monitor 2 (right) when I press the number 2 on the top of the keyboard only. How to disable this option? It is a newly imaged PC and no other