With the help of deployment plan to change the virtual directory mapping

Hi all
Have anyone tried this before?
I have a deployment plan to add the virtual directory to my descriptors of weblogic as follows:

Inside tag <>variable-definitions:
 <variable> 
      <name>LocalPath</name>
      <value>C:/</value>
    </variable> 
    <variable>
      <name>VirtualPath</name>
      <value>/Temp/*</value>
    </variable> 
Then, to add the virtual directory to weblogic.xml in:
<module-descriptor external="false">
      <root-element>weblogic-web-app</root-element>
      <uri>WEB-INF/weblogic.xml</uri>
      <variable-assignment>
         <name>LocalPath</name>
         <xpath>/weblogic-web-app/virtual-directory-mapping/local-path</xpath>
      </variable-assignment>
      <variable-assignment>
         <name>VirtualPath</name>
         <xpath>/weblogic-web-app/virtual-directory-mapping/url-pattern</xpath> 
         <operation>add</operation>
      </variable-assignment> 
    </module-descriptor>
But I have this error:
"
C:\Users\Napoleon\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\upload\ReviewApp\app\planplan.xml:0 error VALIDATION PROBLEMS FOUND: problem: cvc-complex - type. 2.4 c: expected element" url-pattern @http://xmlns.oracle.com/weblogic/weblogic-web-app' before the end of the virtual-directory-mapping element content @http://xmlns.oracle.com/weblogic/weblogic-web-app:< C:\Users\Napoleon\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\upload\ReviewApp\app\planplan.xml >
I also tried to use the XPath for model url as follows:
/WebLogic-Web-app/virtual-directory-mapping/[local-path="C:/"]/URL-pattern < xpath > < / xpath >

But I have the same error. The <>url-patter item is not added correctly to the virtual directory mapping tag.

It is supposed to work. Someone has done this before? or is this a bug of the deployment plan.

Thank you very much.

Concerning

K.
Advertisement

Hello

It seems that in the new WLS10.3.2 weblogic.xml XSD order of * "url-pattern" * and * 'local-path' * is changed then the secuence of Xpath is changed... This means that now you must try with following... What has worked for me in WLS10.3.2:



MyVirtualDirEAR


LocalPath
C:\DELETE\MyImages


VirtualPath
/ Temp / *.


VirtualDirWebApp.war
war

WebLogic-web-app
WEB-INF/weblogic.xml

WeblogicWebApp_WorkManagers_12789279799714
WebLogic-Web-App/Work-Manager


firstNode
WebLogic-Web-App/Virtual-Directory-Mapping
Add





VirtualPath
/WebLogic-Web-app/virtual-directory-mapping/URL-pattern
Add


LocalPath
/WebLogic-Web-app/virtual-directory-mapping/[URL-pattern="/temp/*"]/local-path
Add






C:\VirtualDirectory_MappingApp

Tags: Fusion Middleware

Similar Questions

  • -Pop-up message: insert the CDROM with the virtual truck program

    When I start my computer, a message is displayed as below;
    Please insert the CD-ROM with the virtual truck program. Looking for file: D:\installs\PaceEth\VTruck.exe
    Can someone please guide me to get rid of him.

    This application did not work for me but I google and found out that the virtual truck Installer is a program that enhances the Internet connection on a point to point protocol over Ethernet (PPPoE) line.
    This problem may occur if the virtual truck program that is installed on your computer is damaged or missing files.

    To resolve this problem, use the following methods: http://support.microsoft.com/default.aspx?scid=kb; EN-US; 829714

    I hope this helps.

  • Oracle cloud virtual image, I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud... But could please at least use us dbconsole?

    On oracle cloud virtual, image I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud. But could please at least use us dbconsole?


    I tried to start dbconsole, and it did not work:

    [[email protected] ~] $ emctl start dbconsole

    OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.


    According to the oracle help doc center - "creating a database on an instance of virtual image service" (http://docs.oracle.com/cloud/latest/dbcs_dbaas/CSDBI/GUID-29290A81-8798-4988-848E-77A1BE0CF08A.htm#GUID-4851560B-D4B6-42...)

    database was created with the option as:

    emConfiguration - NONE - storageType FS


    I guess we have to manually configure the em console, but when I tried to create it, he told me that "' Dbcontrol repository already exists." "

    When I try to start it, it exports the error

    [[email protected] ~] $ emctl start dbconsole

    OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.

    Could someone could give me help with this problem?


    Thanks Brian. I tried your command, and it works. Now I've encountered another problem, how can I browse the URL?

    I created the access rule for access remote on port 1521 and 1158. but when I try to browse the EM console URL, it does not work. all the configurations that I need to do?

  • How the physical machine can communicate with the virtual machines as well as the internet should work on a virtual machine

    Hi team,

    I ask that you forgive for asking a silly question without doing a free search.

    I'm using VMware workstation 6.5. I am able to communicate with both machines by selecting 'only option of home. "

    Is there a way by which the physical machine can communicate with the virtual machines.

    At the same time through the VMS, is it possible to access the Internet from the physical amchine.

    Help, please.

    Concerning

    Sriapti

    When you use a bridged vNIC the customer acts as any other host, so that you can access is by his IP (or name if a DNS configuration exists as you acceding to any other host.) What tools you can use depends on the guest operating system and the software available.

    I assume you mean access deskopt. Then you can use RDP (Windows Terminal services) or VNC (tight/tiny).

    For Linux, you can use this last or all the flavors of SSH. In the case of Linux, I use VNC through SSH tunnel. You can also tunnel X through SSH, so if you have an X server on another host (such as the Hummingbird for Windows), you can open your own office remotely there.

    If you found this information useful, please consider awarding points to 'Correct' or 'Useful' answers and answers. Thank you!!

  • What is the problem with the virtual store for Journ.E

    What is with the virtual store?
    I have a screen wihte, I never see virtual store?
    I think the support is very very bad.

    No one becomes an answer on the question!

    I put t know why Toshiba need so much time to solve this problem.
    Unfortunately, we have to wait until it will be fixed. :(

  • Best practices with the virtual directories CFIDE and Jakarta

    Right now I'm going through implementation of our new virtualized ColdFusion 10 Application/Web/database server, and I noticed that during installation, since I had 'Connect all IIS sites' selected, he created maps of handler for each, but each also gave a virtual directory for "CFIDE" and "Jakarta".

    Best practices guides told to restrict access to the "adminapi', 'administrator', 'componentutils' and 'wizards' records under the CFIDE directory, but is - it safe to simply remove these virtual directories (and leave the mappings Manager) so that sites can always treat the types of file associated with CF?

    1 the site we have is the default localhost is linked to, I felt I would just let these virtual directories, since to reach CF ACP this server, we'd have to goto: http://localhost/CFIDE/administrator/index.cfm

    I know that if a file from a site needs to access things like file CFScripts, CF will automatically take the virtual directory is there and create < script > tags use a src of "/ CFIDE/scripts" (which if I remove this virtual directory, would break the functionality, but assuming that I do not use this technology to other sites) It removes "CFIDE" and "Jakarta" is going to hurt anything?

    Look at the Guide of ColdFusion 9 Lockdown that Pete Freitag wrote.  A large part of it still applies to the 10 ColdFusion, especially security aspects of IIS.  There is an article on the creation of filters of aggregate demand which allows you to block access to most (or all) of the subdirectories in CFIDE.

    Regarding the Jakarta virtual directory, you need this one.  That's what allows the IIS connector to function.

    -Carl V.

  • The ADF Application virtual directory mapping

    I have under entry in my weblogic.xml file and everything works fine.  I want to read < local-> file path of properties so that I need to keep separate for each environment or local weblogic.xml. My production environment (linux) image location is/home/mywork/MyImages

    Is there a way? How can I do?

    < virtual directory mapping >

    C:\JDeveloper\mywork\MyImages < local path > < / local path >

    Dim < url-pattern > / * < / url-pattern >

    < / Directory virtual-mapping >

    Hi me26,.

    You can get this creation of a deployment plan where, at the time of the deployment, you can override this property with a value of the customized environment.

    Follow this link: deployment plans created with Oracle WebLogic. Java Code geeks

    Best regards

  • How to create the virtual directory forms 12 c map

    Hi all

    I followed the link to create a virtual directory in 12 c forms, but he failed below.

    https://docs.Oracle.com/middleware/1221/formsandreports/deploy-forms/basics.htm#FSDEP146

    I want to create the virtual directory in ohs1 http server for accessing it via the http server port and the port of Forms Server.

    I want to access the URL like this http:/127.0.0.1:7779/forms/excels/abc.xlsx and http:/127.0.0.1:9001/forms/excels/abc.xlsx.

    Oracle HTTP Server > Administration > Configuration advanced in this i have not seen any forms.conf in the URL of web logic em.


    I added to forms.conf but it is not accessible. path $DOMAIN_HOME/config/fmwconfig/components/OHS/instances / < NAME of the OHS INSTANCE > /moduleconf/forms.conf

    AliasMatch genres / excels / (. *) "D:\My_dir\$1".

    WLExcludePathOrMimeType /genres/Excel /

    Please review...

    You can use SST to virtual mapping. Simply add these lines to forms.conf:

    RewriteRule ^ / forms/myfiles / (. *) /workaroundmyfiles/$ 1 [PT]
    AliasMatch ^ / workaroundmyfiles / (. *) ""C:\someDirectory$1 ".

    Concerning

  • How to choose Internet Information Services (IIS) in Windows 7 to create and maintain the virtual directory?

    In previous versions as windows SP xp2, I know how chose the Internet information services (IIS), but how to get it from Windows 7 to create the virtual directory.

    Control Panel\Programs\Programs and Features\Turn Windows or turn off features enable IIS.

  • help with the virtual machine files

    Today I got the error when I tried to open my virtual machine below.  I have searched the forums and seen the text file/script but does not know to use.

    Can anyone help?

    "/ Users/shade1981/Documents/Virtual Machines.localized/Windows XP/Professional.vmwarevm Windows XP Professional.vmx ' is not a valid virtual machine configuration file

    The attachment "Windows XP Professional.vmdk.zip" was created in the vmware.log file.

    Unzip the attached file and replace it with the original file damaged.

  • Problem with the virtual store to Windows 7 basic, home

    Hello, I have a problem with Windows 7 64-bit home basic e-store. What happened is that I have a program that I use to make small electronic circuits and it was working fine until a few days when I noticed that the design I was doing seemed to be locked - I can open it but I can't open the second tab of the main window, which I should be able to do. After much research I discovered that the problem was caused by the virtual store of Windows - system registers my designs. I need to disable this feature because it prevents me from doing my work. I tried many things including turning off virtual store in REGEDIT and it doesn't change anything. I have another computer with Windows 7 starter and I have no problem there at all. I searched the internet for ideas and found two to this site http://www.askvg.com/how-to-tweak-user-account-control-uac-options-in-windows-vista-home-basic-home-premium/

    In all no joy. Help, please. I would appreciate only the answers that have been tried and tested not something that is supposed to work.

    Thank you, Ed

    (Moved from Windows |) Windows 7 | Performance and Maintenance)

    I have a program that I use to make small electronic circuits and it was working fine until a few days ago.

    Given that things worked fine until a few days ago I would use system restore to set Windows back a week.

  • domain with the active directory security / user name

    Hello

    I use weblogic 12 c, I create the provider for active directory in myrealm like going to the console >security domains>suppliers > New and I put specific provider and I don't have a ADF application using security ADF taking Kingdom deployed to the same server, weblogic, its work well with username and does not work with the id of the user for example if the user as described below:

    User ID Username Password
    aa123Test userXXXX
    bb123Test User2XXXX

    its fine work when put the username: User of Test or Test User2 but does not work with aa123 or bb123 how I let provider to keep the user id instead of the username?

    for the user name attribute active directory samAccountName, can you please try that instead of CN?

    If it doesn't work, can paste you the information from the user, you can use the ldifde command to export the user to Active Directory.

    I hope this helps.

    -Faisal

    http://www.WebLogic-wonders.com

  • Problem with the virtual copy exports - JPEG vs DNG

    Hi all - just a quick question - I have a set of photos developed in LIghtroom that include several virtual copies of which I now want to export to in the form of final versions on my hard drive. All virtual copies are B & w versions of the masters (post-processing work also differs slightly on the top of the b & w preset).

    I need a patch of JPEG and DNG files.
    Export to JPEG files seems to work without a hitch and all the pictures come out like in Lightroom.
    Exporting DNG however come with a question - all virtual copies come out as images themselves IE. not virtual copies, but they are more b & w as they are supposed to be, but go out like color.

    Color version masters come out well. Exports of virtual copy have different look (as expected) and the file size slightly different (also planned?) suggesting this only thing missing for me is the parameter b & w.

    I have tried everything to fix this problem with no use - export the virtual copies separately etc. As already said - JPEG works, but DNG does not...

    Someone at - he experienced this and if so any suggestions on how to fix...?

    Thks a lot!

    V

    DNG files are 'RAW' files - they cannot be changed.

    You can export only B & W versions as (pixel database files) as JPG or TIFF

    You can export copies of a DNG, but they are still RAW.

    You can embed data in a DNG file (containing similar to XML with the NAVE sidecar files and raw CR2 files), but editing will be visible in software that can interpret the raw data (like Lightroom or ACR)

  • Problem with the ISATAP #3 map

    Hi I have a problem with the ISATAP #3 card. I read a previous thread who recommended to uninstall and then put it back, which I've tried, but the pilot does not re - installed. Can someone help me with this? Thank you

    Jack

    Hello

    Control Panel - Device Manager - do a right-click on the two - UNINSTALL - REBOOT

    Nothing else to do, Windows will do the rest. And you can ignore the errors altogether if you want and
    on some computers, it will always be there but don't cause any trouble.

    On a Windows Vista-based computer or on a Windows Server 2008, Microsoft computer
    ISATAP map appears with a yellow exclamation next to it in Device Manager and you also
    error message.
    http://support.Microsoft.com/kb/932520

    Check the answer by Diana D. here:
    http://social.answers.Microsoft.com/forums/en-us/vistahardware/thread/a75e8bf1-9a63-4CF4-BF6C-d43a26175959

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Order of 100 Mbps with the same policy map on different interfaces of service-policy in routers

    We have several different interfaces in our routers. On that note, we have service-air to limit the bandwidth of 100 Mbps.

    If we use a sheet of class corresponding to a list of access as "permit ip any any".

    and map political with the class-map to the police up to 100 Mbit/s.

    If we apply this policy plan in the form of service-policy interface. All interfaces that use this service policy would share 100 Mbps or will they get 100 Mbps each?

    Thanks for any response.

    Concerning

    Henrik

    Hello

    As you apply the policy by interface, each interface will get 100 MB

    HTH

Maybe you are looking for

  • How to uninstall and reinstall norton security

    I have Norton Security for 5 devices and put one on my new iMac, but when I click on advanced customize it does not open.  Nothing happens.  I was hoping that if I uninstalled norton and reinstalled then it would work.  I tried to uninstall norton, b

  • All BIOS options are disabled / grayed out

    I have 8770w with HP ProtectTools active EliteBook and just to have on the security of the TPM secure. I rebooted and tried to access the BIOS, my password is accepted, but virtually all of the options are disabled. Any idea what's going on here?Is i

  • Marshmallow feature 6 attentive &amp; motorcycle display

    Hey people, In the FAQ of improvements & Marshmallow motorcycle he was posted as follows: «"Motorola has integrated careful stock & Display display & Ambient motorbike motorcycle display has been integrated together unique place called Display motorc

  • WIN ME to WIN XP update

    I'm trying to upgrade an old computer (DELL laptop) WIN ME to WIN XP... It has all the pre-reqs (mem, proc speed, disk)... The Setup program starts and returns with the message,'Installation impossible to WIN ME in WIN XP Professional' Following the

  • 0x6100001d on photosmart AIO 6510 e ErrorCode

    When the printer starts, the "printer 0x6100001d error" message keeps appearing. What can I do to fix this?