How to specify alias for local filesystem in JBOSS

hi,
I want to specify alias for localfilesystem in JBOSS. I know how to do it in Apache_2.0.52-Openssl_0.9.7e-Win32. In this we can specify alias as,
Alias /icons/ "C:/Program Files/Apache_2.0.52-Openssl_0.9.7e-Win32/icons/" in httpd.conf and futher we can specify the directory access also. So I want to do the same thing in JBOSS. How to do it.
Thanks.

JBoss is an app-server, not an HTTP server. The concept of directories is meaningless, as everything is based on contexts. Any of the HTTP server options will be handled by the Tomcat (Catalina) engine that is part of the JBoss installation. You can configure the Tomcat server by editing the jboss-service.xml file in JBOSS_HOME/deploy/tomcat-5.5.sar (or something like that). If you really need to start mapping/rewriting URLs onto your J2EE application, I'd suggest using Apache as the front-end, and connect the Web-tier to Apache via mod_jk. Then you can use all of Apache's URL rewriting and directory aliasing and specify access on a per-location basis. Some of Apache's functionality may be available to the Catalina engine, but there's no sense in trying to make Tomcat as "capable" as Apache, when a means to connect the two already exists.
Brian

Similar Messages

  • How to specify alias name in system property while making 2way SSL con ?

    Hi All,
    I am tring to run a java client with 2way SSL which uses CAC card as keystore for the client. I have addded the following system property in my client program to make it work and change the java.security file to add pcks11 provider.
    System.setProperty("javax.net.ssl.keyStoreType", "pkcs11");
    System.setProperty("javax.net.debug", "ssl");
    The program works fine and handshake is successfully done . But the problem is when i have more than one trusted certificate in the CAC card, it take a default certificate. I want to specify the certificate that should be used to do the client auth maybe specify the alias name . I didnt find any system property to do so.
    Please let me know how to specify alias name as system property so that the 2way SSL used the specified alias for the client auth or is there any other way to specify the alias name. As in case i acccess the server URL from any browser i get a certificate selection prompt and the connection is established with the selected certificate.
    Thanks in advanced,
    Ruhul

    I didn't find any system property to do so.There isn't one.
    Please let me know how to specify alias name as system propertyYou can't.
    You would have to write a custom KeyManager. See the JSSE Reference Guide.

  • How to set password for Local are connection?

    How to set password for Local are connection?

    do you mean the 802.1x authentication?
    check out links below:
    http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2950/software/release/12-1_9_ea1/configuration/guide/scg/Sw8021x.html
    http://technet.microsoft.com/en-us/network/bb545365.aspx
    Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    IT Stuff Quick Bytes

  • How 2 define alias for WD Component / Application

    Hi all,
    There are methods in IWDDeployableObject to get WD Component / Application (WDDeploableObjectPart) by alias.
    But how to define alias for them? Where should definition be placed and what is the format? Could anyone share working example or point to related documentation?
    VS

    Noufal & Bharathwaj,
    Probably there is a confusion here: HTTP aliases are related only to corresponding service, and affects how URL is composed / interpreted.
    On other hand, aliases I mentioned are related to  deployment service (in this case: lookup deployable object part by alias). By the way, they cover both WD applications and <b>components</b> (probably component interfaces and more).
    Valery Silaev
    EPAM Systems
    http://www.netweaverteam.com/

  • How to specify  tablespace for a primary key inde in create table statement

    How to specify the tablespace for a primary key index in a create table statement?
    Does the following statement is right?
    CREATE TABLE 'GPS'||TO_CHAR(SYSDATE+1,'YYYYMMDD')
                ("ID" NUMBER(10,0) NOT NULL ENABLE,
                "IP_ADDRESS" VARCHAR2(32 BYTE),
                "EQUIPMENT_ID" VARCHAR2(32 BYTE),
                "PACKET_DT" DATE,
                "PACKET" VARCHAR2(255 BYTE),
                "PACKET_FORMAT" VARCHAR2(32 BYTE),
                "SAVED_TIME" DATE DEFAULT CURRENT_TIMESTAMP,
                 CONSTRAINT "UDP_LOG_PK" PRIMARY KEY ("ID") TABLESPACE "INDEX_DATA"
                 TABLESPACE "SBM_DATA";   Thank you
    Edited by: qkc on 09-Nov-2009 13:42

    As orafad indicated, you'll have to use the USING INDEX clause from the documentation, i.e.
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE TABLE GPS
      2              ("ID" NUMBER(10,0) NOT NULL ENABLE,
      3              "IP_ADDRESS" VARCHAR2(32 BYTE),
      4              "EQUIPMENT_ID" VARCHAR2(32 BYTE),
      5              "PACKET_DT" DATE,
      6              "PACKET" VARCHAR2(255 BYTE),
      7              "PACKET_FORMAT" VARCHAR2(32 BYTE),
      8              "SAVED_TIME" DATE DEFAULT CURRENT_TIMESTAMP,
      9               CONSTRAINT "UDP_LOG_PK" PRIMARY KEY ("ID") USING INDEX TABLESP
    ACE "USERS"
    10               )
    11*              TABLESPACE "USERS"
    SQL> /
    Table created.Justin

  • How to setup Autodiscovery for .local internal domains with Exchange 2013

    Hi,
    I need to know about how i set autodiscovery in local domain.I have local domain eg
    abc.local and domin which i received the emails externally is  xyz.com.
    I have deployed Exchange2013 recently with same above scenario inbound and outbound mails are working fine using OWA.But outlook clients cannot connect to Exchange server with in the LAN. 
    Please help me out how set auto discovery in local domain and another help i need how i configure the self sign certificate in this scenario.   

    You cannot use a self signed cert for RPC/HTTP connections (which is how the Outlook client is connecting exchange2013). Please check this http://social.technet.microsoft.com/Forums/exchange/en-US/aed4ede9-57c3-44c3-90b4-bdfb3a7f017d/exchange-2013-self-signed-certs-and-outlook-client-access?forum=exchangesvrgeneral 
    But you can use a certificate from an internal CA which you can install in your network issue a certificate for exchange. Please check this it will help you manage internal certificates for a PC and for a domain.  http://technet.microsoft.com/en-us/library/cc754841.aspx
    You dont need to configure autodiscover for internal domain added clients. If you have clients on the network which are not members of the domain, using Exchange, this could be Windows, MACs or mobile devices, then you should ensure that autodiscover.example.com
    resolves internally to the Exchange server via a split DNS system. http://exchange.sembee.mobi/network/split-dns.asp
    Please configure your external and internal URLs as well
    http://www.mustbegeek.com/configure-external-and-internal-url-in-exchange-2013/
    I recommend to buy a 3rd party certificate as it may create issue for external clients e.g.Outlook anywhere
    Thanks, MAS
    Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • How to attach Pacakge for Local made SAP Script

    Hi,
             I have created a SAP Script, initially I have made it as local without assigning any  package,  ow I want to attach one package for that SAP Script form to transfer it to quality and production but in chnage mode the package filed is disable.
              Also other option is there to copy existing form to new and give the package name  but i want to know insted of copy how to add package for existing form.
    regards,
      zafar

    Goto SE03>object directory>change object directory entries> enter FORM in the first text box and script name in the object name select checkbox and execute.....>select the form and press button change object directory above....

  • How to specify COMPRESS FOR OLTP on a table in physical model?

    Hi,
    we have licensed Oracle's Advanced Compression and want to use the OLTP compression on some tables. I am looking for a way to specify COMPRESS FOR OLTP on a table in the physical model. So far, I can only set "Data Compression" to YES or NO.
    Are you going to add the "new" compression modes in the next release?
    Thanks,
    Frank
    Version of SQL Developer Data Modeler is 3.1.3.709

    Hi Frank,
    Are you going to add the "new" compression modes in the next release?There is support for compression type (including OLTP) in DM 3.3 EA and you can download it from OTN.
    Philip

  • How to specify stylesheet for attachments in Human task

    Dear Experts,
    I can able to add an attachment from BPEL process to Human Task. So from Worklist I can able to download the attachment. Here, I am attaching an XML payload, and I am receiving .xml file from worklist. Now I want to do xsl mapping with my attachment. To do that we have an option when creating Human Task from BPEL . In .task form, under advanced settings--> specify style sheets for attachments, specify wordML for attchments. I have used those options. But not yet my .xsl file mapped with .xml. Is there is any other way to do xsl mapping. Please suggest me.
    Thanks,
    Rajesh

    Hi Anirudh,
    I am using SOA Server suite 10.1.3.1 and JDeveloper 10g. Also I am not using "Application Server Developer's Guide for Microsoft Office Interoperability" this document, what you have mentioned in your last post. My problem is I am having xsl with me, need to map this xsl to my xml attachment. To do that we are having an option on .task form editor, Under Advanced Settings. We can mention/specify stylesheet for attachment, or we can specify wordML for attachment. I have tried both but I cant able to do xsl transformation. I have seen some code in this link. But I dont know whether this blog is correct one. Please suggest me.
    Thanks,
    Rajesh

  • How to create Vendors for local scenario

    Hi,
    Please let me know how to create vendors for locla scenarion in EBP.
    Thanks,
    Manu

    Hi,
    Goto the path as mentioned by Muthu and create the business partner of type vendor.Make sure that you have the administrator role(SAP_BBP_STAL_ADMINISTRATOR).
    Also see these related threadS:
    Vendors in Standalone scenario
    Standalone scenario - create vendors
    BR,
    Disha.

  • How much HD space for Local Time Machine?

    Hi and thanks for reading..
    I am noticing that since i have instlled Lion, if I cancel a file (even big) and empty the trash, the free space in my HD does not decrease.
    May be it is due to the local time machine backup?
    I have tried to connect the external time machine backup but after the time machine backup I have no improvement in the internal HD...
    Any suggestion?
    I am also wondering how much HD space is dedicated to the local Time Machine Backups.
    Thanks, bye

    I believe this will answer your questions.
    http://web.me.com/pondini/Time_Machine/30.html

  • How to specify index for cache in coherence-cache-config.xml

    Hi All,
    We want to apply indexing on cache data.
    Suppose i have a EMPLOYEE object in coherence cache.
    and i want to use employeeID for indexing purpose.
    Can anybody help me to achieve this at Congregational level i.e. using xml file (coherence-cache-config.xml) .
    Edited by: 981644 on Jan 16, 2013 1:51 AM

    Hi,
    I've posted some [url http://coherence.oracle.com/download/attachments/14647422/add-index-namespace.jar]code and the [url http://coherence.oracle.com/download/attachments/14647422/add-index-namespace-src.jar]source. It depends on coherence common version 2.3.0.39174 however I believe it will work with 2.0.0.23649 also. Coherence common library can be downloaded from [url http://coherence.oracle.com/display/INC10/coherence-common]here
    Note: This is purely an example on how to achieve index creation via a cache configuration file and is not a part of the product thus is not covered by product support.
    Here is an example cache configuration that uses the namespace:
    <cache-config xmlns:service="class://com.oracle.coherence.environment.extensible.ServiceOperations">
        <caching-scheme-mapping>
            <service:index-add cache-name="dist-indexes">
                <extractor>
                    <class-name>ReflectionExtractor</class-name>
                    <init-params>
                        <init-param>
                            <param-type>string</param-type>
                            <param-value>getName</param-value>
                        </init-param>
                    </init-params>
                </extractor>
            </service:index-add>
            <!-- Simplified POF Config -->
            <service:index-add cache-name="dist-indexes" pof-enabled="true">
                <pof-index>8,16,32</pof-index>
            </service:index-add>
            <!-- This should not be counted based on system-property override -->
            <service:index-add cache-name="dist-indexes" pof-enabled="true" enabled="{tangosol.index.add}">
                <pof-index>8,16,31</pof-index>
            </service:index-add>
            <!-- Explicit POF Config -->
            <service:index-add cache-name="dist-indexes">
                <extractor>
                    <class-name>PofExtractor</class-name>
                    <init-params>
                        <init-param>
                            <param-type>{class}</param-type>
                            <param-value>null</param-value>
                        </init-param>
                        <init-param>
                            <param-type>{object}</param-type>
                            <param-value>
                                <class-name>com.tangosol.io.pof.reflect.SimplePofPath</class-name>
                                <init-params>
                                    <init-param>
                                        <param-type>{int[]}</param-type>
                                        <param-value>1,2,4</param-value>
                                    </init-param>
                                </init-params>                     
                            </param-value>
                        </init-param>
                    </init-params>
                </extractor>
            </service:index-add>
        </caching-scheme-mapping>
    </cache-config>Thanks,
    Harvey

  • How to specify language for non-default stoplist

    Dear All,
    I want to CREATE 2 INDEXes for Text Search
    For the first index I want the stoplist to be ctxsys.default_stoplist - my database language is English
    For the 2nd index I want to indicate that the stoplist in the PARAMETERS section should be the supplied stoplist for Dutch. I have gone thru all the documnetation but still I wonder: How??? Please help!!! TIA
    Kind regards,
    Dobedani

    Please ask questions regarding Oracle Text (formerly interMedia text) in teh Oracle Text forum. You will get a better audience for your question.

  • Any way to specify options for scheduled filesystem checks?

    Today I ran e2fsck -fD on my netbook's ext4 partitions, and was surprised to see the machine's cumulative boot and login time drop by about ten seconds. Evidently the "rarely necessary" nature of the -D option doesn't mean it shouldn't be done once in a while.
    So I'm wondering if there's a way to make e2fscks scheduled by tune2fs use -D. Is it possible to specify the parameters through tune2fs, or some other way? The man page doesn't say; nor does there appear to be anything on it for e2fsck.conf.
    Last edited by Gullible Jones (2012-08-06 02:43:28)

    This should be possible via the configuration file e2fsck.conf (/etc/e2fsck.conf) - it has an own man page. If you want to change options for your root system I guess you have to create such a config file in your initramfs.
    An alternative would be to boot from a live cd.
    Greetings
    matse

  • How to specify scenario for an Source Request Iview?

    Hi,
       I;am trying to see the preview of Source Request Iview.But am getting an error "<b>No scenario specified</b>".Anybody help me in this Issue.
    with regards
    Pradeep.B

    Just as a side note but if you type
    http://localhost:8080/dnsmanager/WEB-INF/classes
    into the browser address you'll get a 404 error. That means the browser can not access the class files in that location.

Maybe you are looking for

  • How do I get my email to work.

    My email worked great with Mavericks and before.  Now I am unable to send and or receive emails on my Mac/Yosemite.  the same account still works fine on my MacBook/ (not upgraded to Mavericks) and my iphones and ipads.  I have spent hours with the I

  • Need help for Conversion Function in Oracle

    Hi, Can Any One help me Please. I need a Oracle conversion script for converting from decimal to hex. and decimal to datetime. Thanks In Advance.

  • Problem with jsp tag in jsf file c:import

    <!-- <c:import url="#{backing_Home.whichMenu}"/>--> <jsp:include page="#{backing_Home.whichMenu}"/> I am trying to use a JSF variable in jsp tag I am getting error like this javax.servlet.jsp.JspTagException: /#{backing_Home.whichMenu}     at org.apa

  • New Safari is missing the arrows to move back and forth

    I have had to drop out of Safari and go to Chrome to have arrows back and forth on a web page.... They must be there, but where?

  • Receiver Component Empty in RWB

    Hi, what does it mean if the Receiver Component shows Empty in RWB under message monitoring. thanks.