Renaming distribution directory under$FORTE_ROOT/appdist/ env name /

I am trying to replace an application with one whose
name matches the first 8 characters. When you deploy
an application with the same 8 characters, Forte
automatically starts a numbering scheme for the
distribution directories.
ie.
Let's say that an application named "myapplication" is
already deployed in the environment. I decide to
deploy another application named "myapplicationagain".
The disribution directory under appdist will be
"myapplic" for the first one and "myappli1" for the
second one.
What I want to do is totally replace an application
using the same directory name. Does the directory
naming convention come out of the code repository or
out of the environment repository? If it is out of
the code repository, is there an option in the
"c4tstdrv" utility that I could use to change the
default distribution directory name???? I have tried
"fscript" and can't seem to get the results I want.
Mark Musgrove
Senior Systems Engineer
Object Technologies, Inc
(540) 977-3861 (home)
(540) 977-2794 (fax)

As the server.xml is big enough, I took the minimum portion of it. Hope u can proceed with it.
<!-- Tomcat Root Context -->
<Context path="" docBase="ROOT" debug="0"/>
<!-- New contexts -->
<Context path="/xyz" docBase="pathTo_xyz" debug="0" crossContext="true"/>
<Context path="/pqr" docBase="pathTo_pqr" debug="0" crossContext="true"/>
<!-- Tomcat Examples Context -->
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true">
You should also provide a WEB-INF folder under pqr or xyz folder.
You should also provide a web.xml file under each WEB-INF folder.
The minimal web.xml is
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtd/web-app_2_3.dtd">
<web-app>
</web-app>
That's it. Try it out. Hope it is OK.
Hafizur Rahman
SCJP

Similar Messages

  • JRE Installation in directory having space in its name.

    Hi
    I have installed JRE in a directory say /proj/pmcfg/akostha/USM 0.5.15.2/jre1.3/
    when i cun java from /proj/pmcfg/akostha/test dir/jre1.3/bin directory..it says
    grep: can't open /proj/pmcfg/akostha/USM
    grep: can't open 0.5.15.2/jre1.3/bin/./../lib/jvm.cfg
    and when i run
    "/proj/pmcfg/akostha/USM 0.5.15.2/jre1.3/bin/java" from other directory
    it says
    Error: can't find libjava.so.
    what is the reason..If it is not recommended to install JRE in a directory having space in its name.
    or else what is the work around.I'm using SunOS5.6. Saprc
    Ajay

    I'm not sure about Solaris, and my proposal might also only work for some shells, but with bash under linux, you have to escape spaces that appear in file/diretory names, so instead of saying "my directory", you have to say "my\ directory" (without quotes).
    Or try maybe "my directory" (with quotes) - that would be teh M$ way to do it.

  • (8200) Unable to access Software Distribution Directory

    Hello there:
    There is a couple of POAs running in a two server clustered environment.
    The Software Distribution Directory is in separate cluster resource other
    than the POAs resources. When the POA starts the above message is showed.
    Something I already done is write Netware style "Server/volume:" path in
    the SDD definition and it works only if the SDD resource is on the same
    server the POA is running, so when I write Cluster Resource Name style it
    fails again. Also checked rights and everything as far as I know. Any help,
    welcome
    Thanks for your time.

    By default the POA expects to find the SDD on the same box as the POA,
    and from that is able to hand out client updates etc. The trick to
    having the SDD on a different server is to give the POA object in the
    eDir tree the rights to the file system where the SDD is...
    On Fri, 06 Oct 2006 19:57:40 GMT, [email protected] wrote:
    >Hello there:
    >
    >There is a couple of POAs running in a two server clustered environment.
    >The Software Distribution Directory is in separate cluster resource other
    >than the POAs resources. When the POA starts the above message is showed.
    >Something I already done is write Netware style "Server/volume:" path in
    >the SDD definition and it works only if the SDD resource is on the same
    >server the POA is running, so when I write Cluster Resource Name style it
    >fails again. Also checked rights and everything as far as I know. Any help,
    >welcome
    >
    >Thanks for your time.
    >
    Tim
    Tim Heywood (SYSOP)
    NDS8
    Scotland
    (God's Country)
    www.nds8.co.uk
    In theory, practice and theory are the same
    In Practice, they are different

  • My wife had an iPad for a year and synced to our computer with no problem.  I recently received an ipad2 and when I tried to sync using separate apple and iTunes passwords, under her computer user name, it appears I over-road her account and synced all he

    My wife had an iPad for a year and synced to our computer with no problem.  I recently received an ipad2 and when I tried to sync using separate apple and iTunes passwords, under her computer user name, it appears I over-road her account and synced all her apps with my apps on my iPad.  I then set myself up as a new user on our computer and tried to sync.  I now get the error that my iPad is synced to another library.  How can I start over without erasing all my data on the iPad?

    Go back to her login.  Unless you deliberately erased apps, they should all be there, both yours and hers!  Then, you need to set up each iPad separately.  You will notice that they have separate names for that very purpose.
    There is no problem with multiple Apple IDs on the same iTunes on the same computer except...  Apps are permanently associated with the ID that was originally used to obtain them.  If you choose to update an app from inside iTunes and you're logged into the "wrong" ID, you must log out and back in again.
    On the bright side, you can configure either or both iPads to sync with apps and music and movies, etc. from either or both IDs.  Further, if you choose to update the apps from the iPads themselves, there is no need to log out/in.  The device handles that.  All you need is the correct password.  In my case, I use the same password for both IDs to make things easier.

  • I am totally frustrated by the fact that now i have gone to iCloud and after a few synchs, my contacts are all mixed up with the wrong information.  For instance, my email and phone number comes up under someone else's name (a thousand contacts)

    I am totally frustrated by the fact that now i have gone to iCloud and after a few synchs, my contacts are all mixed up with the wrong information.  For instance, my email and phone number comes up under someone else's name (a thousand contacts).  I dont know how to repair this.  what a nightmare

    An icloud account is designed to be used by just one user.  If you have given your ID or set up your account on someone else's device, then their data will be mingled with your or worse.

  • How to rename the SharePoint Document Library existing file name using Web service

    Hi,
    How to rename the SharePoint Document Library existing file name using SharePoint Web service.
    Is it possible. How could i do it?
    Thanks & Regards
    Poomani Sankaran

    Hi,
    Lists.UpdateListItems Method
    would be helpful for your requirement.
    Here is a blog with code demo for your reference:
    http://blogs.msdn.com/b/knowledgecast/archive/2009/05/20/moss-using-the-list-web-service-to-rename-a-file.aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Purpose: to create photo galleries to insert or not items: 1) with phocagalery, it works 2) with the transfer via lightroom, I do not see the downloaded files but if I want to create a directory folder with the same name, he said he is already, I see noth

    purpose: to create photo galleries to insert or not items:
    1) with phocagalery, it works
    2) with the transfer via lightroom, I do not see the downloaded files but if I want to create a directory folder with the same name, he said he is already, I see nothing in the media in content management
    Can you help me

    Mahsa21,
    We are glad that we were able to resolve the international calling plan issue for you.  If you need assistance,please  reach out to us.
    thanks,
    Tonya D.

  • Songs purchased under a different user name and transfrered to a new computer.

    I have several hundred tunes that were purchsed from itunes under a different user name and password and email. I have transfered those to a newer computer and have the library. When I try to play (some) of them (not all) it says to authorize my current computer but when I do it still does not let me play them. I simply want to select many and download to my iphone from the library. What do I need to do?  

    You have to use the same old Apple ID and password.
    NOTE: All content bought using one Apple ID cannot be merged or transferred to another Apple ID.

  • Documents I forward are not received under the original document name. How do I solve this?

    Documents I forward are not received under the original document name. How do I solve this?

    If you're referring to the name of the attatchment showing when viewing the entire email, that's there's no way to change how it's done.  The title and body of the actual document is unchanged after it's opened. 
    Does this naming of the attachment really confuse the recipient?  If so, put something in the body of the email to make it clear what's attached.

  • Trouble getting the default  user directory under Windows XP

    I m trying to get the default user directory under windows XP SP3.
    To do so, I'm using
    System.getProperty("user.home");
    I was expecting to get a path like "C:\Documents and Settings\user", nstead of that I get "C:\Documents and Settings\user\Destop".
    I checked the %USERPROFILE% and %HOMEPATH% window's environment variables and both of them are correctly set ( set to "C:\Documents and Settings\user").
    Is there any way to get the right path other than using : System.setProperty("user.home", "C:\\Documents and Settings\\user"); ?

    Thanks WalterLaan,
    The System.getenv("USERPROFILE") method will, at least, fix the problem under win XP.
    I guess i'll have to write a more refined method to be able to deploy my application under differents OSes.
    Regards.

  • How do I stop Launchpad renaming my App Icons with the wrong name

    How do I stop Launchpad renaming my App Icons with the wrong name (E.G. Evernote is now called Google Chrome). Also, how do I change the name back to what it is supposed to be. 
    Why do some of my app icons dissappear altogether? This feels very buggy to me.

    It sorted itself out. A glitch?

  • Batch file rename.  I have multiple files I want to rename, that have a date in their name in the mm/dd/yy format. The slashes seem to freak out the batch rename function.  Any workarounds that would help me avoid manually changing each name?

    OS X Yosemite 10.10.2, Macbook Air,
    Finder batch file rename function. I have multiple files I want to rename, that have a date in their name in the mm/dd/yy format. The slashes seem to freak out the batch rename function and it won't work.  I took out the slashes and worked fine.  Any workarounds that would help me avoid manually changing each name?  I should point out that I want to leave most of the name intact just change the first word in each name.  Also the files I'm working with are in PDF format.

    That's a comment in the file. It has no effect at all.

  • Creating directory under specific schema

    What is the syntax to create a directory under a specific schema?
    Here is what I've tried and I get an error:
    CREATE OR REPLACE DIRECTORY test.utl_dir AS 'D:/utl_dir' ;
    Here is the error:
    Error starting at line 1 in command:
    CREATE OR REPLACE DIRECTORY rcdtpump.novus_dir AS 'D:/Novus/novus_dir'
    Error at Command Line:1 Column:36
    Error report:
    SQL Error: ORA-00905: missing keyword
    +00905. 00000 - "missing keyword"+
    *Cause:+
    *Action:+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    You can't, directories are database wide objects, see:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5007.htm#i2061958
    ...+All directories are created in a single namespace and are not owned by an individual schema+...
    HTH
    Enrique

  • TNS-01251: Cannot set trace/log directory under ADR

    Dear All,
    My Database is Oracle 11gR2 and operating system is Linux.
    I am trying to turn on logging for the listener using the commands:
    Lsnrctl> set log_directory /DB/oracle/product/11.1.0/db_1/network/admin/
    Lsnrctl> set log_file itlistener.log
    Lsnrctl> set log_status on
    Lsnrctl> save_config
    Lsnrctl> set log_directory  /DB/oracle/product/11.1.0/db_1/network/admin/ when i execute this command i get the following error:
    TNS-01251: Cannot set trace/log directory under ADR
    Is there any solution to get out of this error and log listener?
    Thanks,
    Imran

    misterimran wrote:
    Anyone else please?01251, 00000, "Cannot set trace/log directory under ADR"
    // *Cause: ADR trace and log directories cannot be set by the user.
    // *Action: None.                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to view all directory under project directory.

    I'm eclipse user and want to try JDeveloper. The performance of JDeveloper was good and the debugger was much better. But I have some problem with the Navigator view of JDeveloper.
    I can only see directory under "Java Content" and "Resources". Under the project directory, I have some other directory like log, doc and images, which should not been copied to target folder. If I add them to "Java Content" or "Resources" I will see them, but they will been copied to target folder, which is not what I want.
    Can I see them without add them to "Java Content" or "Resources"?
    Regards

    Hi gurus,
    I think this looks like a bug :(
    Pay attention: user574665 apparently means not to add a Resource path in addition to (or instead of) the default one.
    This (at least with me) works properly.
    What really doesn't work is when you having one Resource path try to specify a list of subfolders to be included.
    The content of those subfolders will then be copied to the output directory.
    Funny is that when you have more than one Resource path it also works fine!
    Hi user574665, try to get a workaround out of this hint :)
    Regards,
    alexandre.

Maybe you are looking for

  • Installation Problem of weblogic server on Linux

    Hi,I want to install weblogic server on linux but it is raising various exception such as-------------------------------------------java.lang.Class.forName0(Native)java.awt.windowcom.zerog.ia.installer.Main.bjava.lang.reflect.Method.invokecom.zerog.l

  • Apply conditional formatting for a textbox in a matrix that contains an expression

    I have a matrix that contains one row, and one of the columns in this row (a field ) contains an expression. I know this field is "Textbox24" but anyway, I have created a placeholder for this field and in Placeholder Properties I have given the label

  • LO26620 Messages in XCelsius 3.5 Dashboards

    Hi community! Created an XCelsius-Dashboard receiving data from 4 Crystal reports via 7 live office connections. XC refreshes minute-by-minute, Crystal reports are scheduled to run a synchronous 2 minutes beat. Initially it worked fine, but is now ge

  • Creating Sales Order using inbound IDOC

    hi, Using test tool WE19 if i create sales order in foregound no error occurs and order is created successfully but if i try to create in backgound it gives error "No batch input data for screen SAPMSSY0 0120". please suggest a way out .

  • My browser window disappeared.

    HELP!  The first time I opened my Safari browser after installing Maverick, I clicked on the wrong thing & closed my browser window where you search & the web addresses show up & where you can refresh the page.  How do I reopen it so i don't have to