Add a directory resource in a context

Hi,
For my application in tomcat, i need to have a virtual directory. I have an application like follow:
to acces to http://www.myserver.com/
<context path="/appli" ....>
</context>
and i need to have a virtual path from this application that is linked into a other directory to do this : http://www.myserver.com/images/1.png
where images is an other path like /home/images/
i try to do something like that
<context path="/appli" ....>
<virtualresource name="images" path="/home/images/"\>
</context>
but i dont know how to do this...
thanks for your help...

Hi Cherine,
You can use the RightClickEvent to add your context menu depending on the position of the right click.
You have a sample explaining how to use the RightClickEvent in the SDK UI Samples called 22.RightClick.
Hope it helps
Trinidad.

Similar Messages

  • Active Directory + Resource action to delete home directory

    Hi all,
    I am trying to delete home directory from the disk physically after the user is deleted from AD. I followed the link http://docs.sun.com/app/docs/doc/820-6551/bzbuc?a=view and implemented the delete resource action as mentioned in the link.
    here are the steps i followed (For testing, I mentioned delete >> C:\test.txt to see if it deletes the text file)
    1. Enter delete after action in the Identity Manager User Attribute column of the resource’s schema map.
    2. In the Attribute Type column, select string.
    3. In the Resource User Attribute column, enter IGNORE_ATTR. Leave the Required, Audit, Read Only, and Write Only columns unchecked.
    4. Add this to the Deprovision Form user form after the </Include> tag:
    <Field name= ’resourceAccounts.currentResourceAccounts[AD].attributes.
    delete after action’>
    <Expansion>
    <s>AfterDelete</s>
    </Expansion>
    </Field>
    5. Create the following XML file and import into Identity Manager. (Change file paths according to your environment.)
    <?xml version=’1.0’ encoding=’UTF-8’?> <!DOCTYPE Waveset PUBLIC
    ’waveset.dtd’ ’waveset.dtd’>
    <Waveset>
    <ResourceAction name=’AfterDelete’>
    <ResTypeAction restype=’Windows Active Directory’ timeout=’6000’>
    <act>
    echo delete >> C:\test.txt
    exit
    </act>
    </ResTypeAction>
    </ResourceAction>
    </Waveset>
    6. Edit the XML for the Active Directory resource and add information to the “delete after action” schema mapping. Here is an example of a complete schema mapping for this resource with the new additions. (You will be adding the views-related information.)
    <AccountAttributeType id=’12’ name=’delete after action’ syntax=’string’
    mapName=’IGNORE_ATTR’ mapType=’string’>
    <Views>
    <String>Delete</String>
    </Views>
    </AccountAttributeType>
    To test, I deleted a user from AD and I was expecting the file c:\test.txt to be deleted as it invokes the Resource action after delete. Has anyone been successful in deleting the home directory from drive after the user is deleted. Any pointers or help
    Thanks,
    Ani

    Hi Gaurav,
    I have to implement Resource Action functionality for Solaris system. I followed the link http://download.oracle.com/docs/cd/E19225-01/820-6551/bzbuc/index.html and the first message of this thread. I am using 8.1 IDM.
    But unfortunately I can’t trigger any bash commands on the resource like echo deleting of user wiht next name - $WSUSER_accountId >> /tmp/resultFile.txt.
    There are any errors on log file.
    Can you share your work configuration and steps to reproduce?
    I have done next but Resource Action doesn’t triggered:
    1. My Action:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Waveset>
    <ResourceAction name='AST-ResAct-SOL-AfterDelete'>
    <ResTypeAction restype='Solaris' timeout='6000'>
    <act>
    #!/usr/bin/bash
    echo deleting of user wiht next name - $WSUSER_accountId >> /tmp/resultFile.txt
    exit 0
    </act>
    </ResTypeAction>
    </ResourceAction>
    </Waveset>
    2. Added next line to “Deprovision Form”
    <Field name='resourceAccounts.currentResourceAccounts[SOLARIS 10].attributes.delete after action'>
    <Expansion>
    <s>AST-ResAct-SOL-AfterDelete</s>
    </Expansion>
    </Field>
    3. Added a new attribute mapping on the resource:
    <AccountAttributeType id='12' name='delete after action' syntax='string' mapName='IGNORE_ATTR' mapType='string'>
    </AccountAttributeType>
    4. Assigned role (this role provisioned resource to user) to user, delete user from resource via Deprovision IDM page. But my Action commands didn’t trigger on resource.
    Thanks’ in advance!

  • No message catalogs for resource javax.faces.context.FACES_IMPL_MESSAGES

    Hi All,
    Just out of curiosity I tried deploying the cardemo.war to JBoss 3.0.3 with its inbeded tomcat container. However when I hit index.html and follow the link I get :
    No message catalogs for resource javax.faces.context.FACES_IMPL_MESSAGES
    thrown. Any idears why? Is the cardemo only working with the tomcat in a standalone mode?
    Jon Ridgway

    I'm having the same problem. Using JBoss 3.20/tomcat 4.12.
    However everything works fine when running tomcat outside of JBoss.
    There is some mention in a catalina readme file located in
    ~$CATALINA_HOME/temp
    This temp directory is used by the JVM for temporary file storage.
    The JVM is configured to use this as its java.io.tmpdir in the
    catalina.sh and catalina.bat scripts. Tomcat is configured to use
    this temporary directory rather than its default for security reasons.
    The temp directory must exist for Tomcat to work correctly.
    I tried setting this JRE option in the run.sh of the JBoss/bin dir.
    Without any positive results.

  • Messenger Express: How do I add the Directory Server to the address book search tool?

    In Messenger Express (ME) how do I add the Directory Server (DS) to the address book
    search tool?
    <P>
    Edit the globals.pl file. Look for a line similar to: <BR>
    @dirservers = ('MyCompany::phonebook.foo.com::o=FooCorp.,c=US','Four11 Directory::ldap.four11.com::');
    <P>
    Add an entry to the list. The list is comma delimited and each entry is a
    string. The string contains three fields, delimited by a double colon (::). The
    first field is the name you want to appear in the User Interface (UI). The second is
    the hostname of the DS and the third is the Distinguished Name (DN) to use when searching.
    <P>
    Please note, Messenger Express is part of the Messaging Server. For more
    information on Messenger Express, please see the release notes at
    http://home.netscape.com/eng/server/MExpress/relnotes.htm

    You can't add a new contact to specific group and there is no app for this. 3rd party apps don't have access to private iPhone APIs with security concerns being a primary reason, which such a function would require.

  • How to populate drop down list in infopath 2010 with form Active Directory resources.

    I want to populate drop down list in infopath 2010 with Active directory resources.
    Kindly let me know how to do this.

    Actually I posted an alternative approach, whoops. This is the Web service way, but both will work;
    http://blog.mangroveweb.com/pre-populating-an-infopath-from-with-mysql-data-using-a-net-web-service/using-sharepoints-getuserprofilebyname-web-service-to-retrieve-ad-account-information/
    w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | YouTube: http://www.youtube.com/user/JamieMcAllisterMVP

  • Unable to add Active Directory: Kerberos Client trace scenario configuraiton

    Hi,
    While trying to add Active Directory: Kerberos Client trace scenario configuraiton, I am getting this error message in the log (see below).
    What am I missing?
    Thanks
    Alex.
    6/24/2014 10:09:18 AM Information running ETW Manifest Import Adapter on supplemental OPN: done
    6/24/2014 10:09:18 AM Warning Cannot create ETW manifest loader for Active Directory: Kerberos Client: The system cannot find the file specified. Please check that the manifest is properly installed
    6/24/2014 10:09:18 AM Information running ETW Manifest Import Adapter on Active_Directory__Kerberos_Client: completed successfully
    6/24/2014 10:09:18 AM Error running ETW Manifest Import Adapter on Active_Directory__Kerberos_Client: Unexpected exception happened: The given key was not present in the dictionary. stacktrace:    at Microsoft.Opn.Runtime.Messaging.Etw.GeneratedOpnCacheManager.ImportEtwProviderMetadata(Guid
    providerId, EtwManifestResolver manifestResolver, Boolean reportConflicts)
    Product Technical Specialist in Identity Management, Microsoft Canada. http://blogs.msdn.com/alextch

    Active Directory: Kerberos Client is MOF based ETW provider.
    Looks like PEF/Message Analyzer version which your using doesn't have parsing of events from MOF based providers.
    We added support MOF based ETW providers in PEF/MA v1.0.2 . What is PEF/MA version your using?
    Alternatively, you can use LinkLayer/Firewall Trace Scenarios to get the Kerberos Network traffic or other Kerberos Manifest based ETW providers for example "Microsoft-Windows-Security-Kerberos" etw provider if these providers produce any ETW events.

  • How do you add a directory to a manifest.mf file, andf in what order.

    How do you add a directory to a manifest.mf file in a JAR file, andf in what order.
    I know how to set a classs files and file class's & Main Class's not a problem, but how about a directory/folder.
    The Directory/folder contains class's. My prog can run the class's from a Jlist, as long as I set the classpath directly by control panel user varaibles manully or by a Bat file running in the back ground.
    any crazy ideas I'll excecpt and give a bloody good try.
    I tried.
    Class-Path: C:/bb/
    Class-Path:C/bb
    Class-Payh:bb
    Class-Path:bb/
    Class-Path: \bb\
    Class-Path:bb\ Not to sure if I've tried this, ttto many beers cans drunk at this stage.
    Friday night is beer night.
    WHAT am I doing wrong, or doing that can't be done with a JManifestMF file.
    Maybe Wrapper, and not the type that turn decks, and look at very low cameras while singing.

    If I open Font Book, and choose named font, I can see a list of symbols, e.g.
    If I open Character Viewer, and switch to Pictographs, I can see something like this
    so I assume that named font includes chars in the category Pictographs, which you can use at ease, I hope.
    If you need them frequently, you may create your custom keyboard layout, if you wish this, come back with what you wish.
    Screenshots are in Lion, but the procedure is the same, I hope.

  • Java.lang.IllegalStateException: cannot add non-XA Resource to global JTS t

    Hi,
    I am using JCAPS 5.1.2.
    As one of my project requirement I am invoking a jcd from page flow and that jcd uses 2 oracle otd, each oracle otd corresponds to database which resides in two different machines/hosts.
    When jcd is invoked from page flow, i got following error,
    "java.lang.IllegalStateException: cannot add non-XA Resource to global
    JTS transaction."
    [#|2007-07-17T19:13:06.209+0530|SEVERE|IS5.1.2|javax.enterprise.resource.resourceadapter|_ThreadID=17; ThreadName=Worker: 3;stacktrace-id=0;|RAR5029:Unexpected exception while registering component
    java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.
         at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:171)
         at com.sun.enterprise.resource.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:97)
         at com.sun.enterprise.resource.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:71)
         at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:142)
         at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:202)
         at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:148)
         at com.stc.gjc.spi.DataSource.getConnection(DataSource.java:67)
         at com.stc.connector.oracleadapter.base.SessionImpl.connect(SessionImpl.java:130)
         at com.stc.connector.oracleadapter.OracleSession.open(OracleSession.java:98)
         at com.stc.connector.oracleadapter.OracleConnector.open(OracleConnector.java:90)
         at com.stc.connector.oracleadapter.appconn.OracleApplicationConnection.<init>(OracleApplicationConnection.java:63)
         at com.stc.connector.oracleadapter.appconn.OracleApplicationConnection.<init>(OracleApplicationConnection.java:50)
         at com.stc.connector.oracleadapter.appconn.OracleApplicationConnectionFactory.getConnection(OracleApplicationConnectionFactory.java:133)
         at com.stc.oracle.runtime.ejb.OracleEWayRuntimeHandler.initializeService(OracleEWayRuntimeHandler.java:256)
    Please let me know is there any work around for above problem
    Message was edited by:
    VenkateshSampoornam

    Hi Paul,
    Thanks for your reply. I ddidn't specify XA at page
    flow level.
    But the problem is rectified for me.
    I have two jcds in which one of them connects to two different oracle databases for e.g host A and host B.
    JCD1 connects to host A and host B[ 2 oracle otds]
    JCD2 connects to host B. [single oracle otd]
    I had three external applications for each otd
    In deployment profile, i connected two external applications to single external system for HOST B.
    When i created one more new external system for host b and moved one external application to that.
    After then the problem didn't occur again.
    null

  • In Dreamweaver, I need to add the directory to the File being inserted in the following Insert Code:    MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 202, 1, 255, Request.Form("DocLocation")) ' adVarWChar

    I have the following code:
    <%
    If (CStr(Request("MM_insert")) = "form1") Then
      If (Not MM_abortEdit) Then
        ' execute the insert
        Dim MM_editCmd
        Set MM_editCmd = Server.CreateObject ("ADODB.Command")
        MM_editCmd.ActiveConnection = MM_NewFLSSARDB_STRING
        MM_editCmd.CommandText = "INSERT INTO DocumentTable (Title, DocLink, UpdatedBy, UpdateDate, Type, Comments) VALUES (?, ?, ?, ?, ?, ?)"
        MM_editCmd.Prepared = true
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 202, 1, 255, Request.Form("DocumentName")) ' adVarWChar
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 202, 1, 255, Request.Form("DocLocation")) ' adVarWChar
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param3", 202, 1, 255, Request.Form("UpdatedBy")) ' adVarWChar
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param4", 135, 1, -1, MM_IIF(Request.Form("UpdatedDate"), Request.Form("UpdatedDate"), null)) ' adDBTimeStamp
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param5", 202, 1, 255, Request.Form("Type")) ' adVarWChar
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param6", 203, 1, 1073741823, Request.Form("Comments")) ' adLongVarWChar
        MM_editCmd.Execute
        MM_editCmd.ActiveConnection.Close
        ' append the query string to the redirect URL
        Dim MM_editRedirectUrl
        MM_editRedirectUrl = "testFLSSARSuperAdminIndex.asp"
        If (Request.QueryString <> "") Then
          If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0) Then
            MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
          Else
            MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString
          End If
        End If
        Response.Redirect(MM_editRedirectUrl)
      End If
    End If
    %>
    For param2 above I need to add the directory "Docs/" to the command so that the file can be found by the User.  How do I do that?

    If all documents are going to the "/Docs" folder, then I wouldn't include it in the inserted data as you can just add it dynamically where needed. If you do want to include it and it's not part of the posted form data, then just concatenate it (&) prior to inserting into the table.

  • Add AL11 directory: what authorizations are required?

    We are on V5R3, SAP 4.70 x110.
    We are attempting to add a directory to AL11 using the instructions found in
    [SM69 access;
    We have been successful in adding the link (to a DIFFERENT partition via QFileSvr.400):
         /QFileSvr.400/System1/Directory1/INV810
    However, when clicking the link, we receive error message:
         "Wrong order of calls <- CALL opendir: Permission denied.(,,..)"
    In our SAP version , there is no help text for this error message; however, I am assuming that it is an authorization issue at the OS-level.
    What users and/or groups need to be added to the other (non-SAP) partition and what access do they need to each directory in the IFS?
    Any assistance is greatly appreciated.
    Robert

    Hi Bob,
    the user is sidnn )
    You should change this user, so that you can logon and hit commands and try wrklnk to that location ...
    my guess is: it doesn't exist on the target, is disblaed or has a different password there  ...
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • Which domain and forest functional level is supportted for the "Active Directory Resource Pool Synchronization"?

    Hi all,
    I'd like to confirm which Domain/Forest functional levels of Active Directory is supported for "Active Directory Resource Pool Synchronization" in Project Server 2013.
    I guess that 2003 or later is supported, but my customer required reliable sources.
    I googled and searched article at TechNet, but I couldn't find.
    Could anyone inform me the article about that?
    Thank you in advance.
    Kaori.

    Hi Michael and all,
    Anyway I solved this issue.
    I couldn't find article that I desired, so I asked advice to my colleagues and they told that the functional level 2003 or later are supported in their experience.
    In addition, I found these articles about SharePoint sync limitations.
    Members of the domain local group cannot view a Microsoft Office SharePoint Server 2007 Web site
    http://support.microsoft.com/kb/932378/en-us
    SharePoint supportability of Read only Domain controllers
    http://support.microsoft.com/kb/970612

  • Add another directory

    We're looking to add another directory to our phones, mainly for our technicians cellular numbers. I was thinking editing the directories script to show yet another directory in addtion to Personal and Corporate.
    If that is not possible, then adding a phone service would be the 2nd choice. We're running CUCMBE 7.0, does anyone know an easy approach at accomplishing this or can lead me to the correct documentation? I've been searching for quite some time now with no luck. Any insight provided will be greatly appreciated. Thanks!

    I'd like to, but I suppose I won't ask why it cannot be hosted on the same server..
    How custom are we talking? This is an important topic that customers laugh at when told the system can't do a simple directory. I'm pretty self sufficient when it comes to html related items, not so much java. Is that the bulk of the programming?
    Also, if there is any documentation that can lead me in the right direction I would be very greatful.

  • How can I add the attachment list pdf file context to purchase order ?

    Dear all,
           I have use services for object in ME22N to attach PDF file to purchase order,I want to know how can I add the pdf file context to purchase order when I send the purchase order to vendor.
    Thanks in advance
    Best regards,
    Merry

    hi,
    attach document through Service for Object button. Service for Object button available down side of Command screen ( in your PO screen ME22N ) .
    Click your Service Object button -> Create -> Create attachment 
    then select your window directory ( which file you need to attach) select your file Now your system shows message  Service "Create attachment" is started. 
    Save again your PO. You can see (open) your attachment in same field ( Service for Object ) select and Create and check attachment list. You can attach as many document in your PO.

  • Unable to add File Server Resource Manager Tools on Windows Server 2012 - Errors on restart and roll back install

    Unable to install Windows Server 2012 Feature -  [Tools] File Server Resource Manager Tools.
    Installs, however when I restart the server error messages appears saying feature unable to install, windows reverting changes.
    In the Setup event logs have the following information message "Update FSRM-Infrastructure of package FSRM-All failed to be turned on. Status: 0x800f0922"
    Does anyone have any idea's on why this Feature can not be installed ??
    Scott

    Hi Shaun
    Tried both of your suggestions, however neither strategy worked.
    Strategy 1
    Tried installing via powershell - "install-windowsfeature -name fs-resource-manager -includemanagementtools"   
    Feature un-installed itself during the restart.
    Attempted to use the command "DISM /online /remove-feature /featurename:FSRM-Infrastructure-Services".  However
    this did work because one the Service was'nt installed or two because there was no command option for "/remove-feature"
    PACKAGE SERVICING COMMANDS:
      /Add-Package            - Adds packages to the image.
      /Remove-Package         - Removes packages from the image.
      /Enable-Feature         - Enables a specific feature in the image.
      /Disable-Feature        - Disables a specific feature in the image.
      /Get-Packages           - Displays information about all packages in the image.
      /Get-PackageInfo        - Displays information about a specific package.
      /Get-Features           - Displays information about all features in a package.
      /Get-FeatureInfo        - Displays information about a specific feature.
      /Cleanup-Image          - Performs cleanup and recovery operations on the image.
    Strategy 2
    Tried installing via powershell, using the following command DISM
    /online /enable-feature /featurename:FSRM-Infrastructure-Services, however got the same result, the install backed out during the restart.
    All up back to where I started?

  • How to add a new Element to the Context

    Hello all.
    I created in the wdInit()
    ArrayList datas = new ArrayList();
         for (int i = 0; i < 25; i++) {
              MyData data = new MyData();
              data.setMethods();
              datas.add(data);
         wdContext.nodeMyData().bind(datas);
    Now, I want by clicking on the Button "Create new Element", forward user to the other View, which elements are connected with the same model -> context, the new element should be added to context, the user should fill the form and click Save-Button.
    How can I add a new Element to the Collection I created and choose it as a current element?
    If I do: wdContext.nodeMyData().bind(new MyData()) all information will be lost. And I will have only one field.
    If I do it like this:
    IWDNodeElement dynTabElem=(IWDNodeElement)wdContext.nodeMyData().createElement();
    wdContext.nodeMyData().addElement(dynTabElem);
    I get an error: com.sap.tc.webdynpro.progmodel.context.ContextException: NodeInfo(DataComp.MyData): value node is created without a reference
    Well I can pass to my new View a Collection as a parameter and then
    Collection.add(new MyData()) and then bind it. But I find this solution not good.
    Is there any possibility to get the existing Collection from the Context without passing it to the view?
    Can I just add a new element to the existing collection?
    Thanks in advance.

    Hallo Monalisa,
    I did as you said. But I can't add something to my model class, because it is not collection.
                            MyData data = wdContext.currentBelegElement().modelObject();
                   data.add() ???? - don't work
                   wdContext.nodeMyData().invalidate();

Maybe you are looking for

  • How do I make multi regional website with Adobe Muse?

    I am working for an art gallery with newly international presence.  I am creating 3 versions of a website in French, English, and eventually Mandarin.  While there will be links to bring visitors to mirroring pages in different languages, I want the

  • Stupid, but essential question : Waiting until Spring for new MB

    I know, I know....this is yet another one of those stupid questions....but I can't stop thinking about it... After two delayed shipment dates, I am kinda sick of Apple as of right now....I'm hearing that they're possibly coming out with a new MB this

  • PZnn process hangs

    Hi all HP/UX itanium 10.1.0.4 I queried "select * from gV$ARCHIVED_LOG where dest_id=1" from[b] NODE1 and the system start to gave the errors below from node 2 Errors in file /u02/app/oracle/admin/EKSEN/bdump/eksen2_pz99_16916.trc: IPC Send timeout d

  • Tune transfer and Java

    I am attempting to use Valusoft-Tune Transfer for iPod with my iMac. During the install process I receive the signal 'JVM not Detected.' I have spoken to valusoft who indicate that I should download Java from java.com. Mac OS X has the java app. Ques

  • JMS acknowledgement

    Dear Experts, Scenario :  WebsphereMQ --> (JMS)SAP PI 7.4(IDOC) --> SAP ERP &&& SAP ERP IDOC Ack --> (IDOC)SAP PI 7.4(JMS) --> WebsphereMQ As per the flow, i am required to read MessageID from Websphere through SAP PI and send it back through acknowl