How to redirect the tomcat to my project folder!

instead of putting all the files inside of the <tomcat>/webapps/<myfolder>
I try to move the <myfolder> to another directory.
say, /home/<myname>/<myfolder>
so that, i can work in my home directory by /<hostname>:<port>/<myfolder>
what procedures i should take ?

In the server.xml file:
<!-- Tomcat myApp Context -->
<Context path="/Kiosk" docBase="c:\myApp" reloadable="true" debug="0">
</Context>
Not sure about the format of the docBase string.

Similar Messages

  • How to redirect the tomcat (5.0) console output to a text file

    Hello,
    I am looking for a way of redirecting the tomcat console output [the System.out.println("xyzabc")�s from the java classes running on the container] to a text file.
    The reason is that the programmers need to have that console�s output and the server (windows) have to be rebooted often (no wonder: windows) and then Tomcat start as a service -> console is not visible.
    Thanks!

    The console out put should still be in the log files if tomcat is running as a windows service. It will either be in logs\stdout_xxxx.log and logs\stderr_xxxx.log or in logs\catalina.xxxx.log.
    If you are using 5.5.
    It will either be in logs\stdout.log and logs\stderr.log or in logs\catalina.out.
    if you are using 5.0

  • How to get the list of deployed projects in OSB through commond line

    How to get the list of deployed projects in OSB through commond line; as we are able to get in weblogic.

    You can go with standard JMX API using WLST
    http://www.oracle.com/technology/sample_code/products/osb/index.html
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e15033/index.html
    or you can try a little bit tricky way like
    ls $DOMAIN_HOME/osb/config/core/ | grep -v ^_:-)

  • OSB : How can we copy  actions from one project folder to other projects?

    How can we copy actions from one project folder to other projects in OSB?
    For eg:
    I have a service call out action in Project1/proxySer1
    I want to copy this to Project2/proxySer2.
    Espicially, in our case error handling callout is common to all of our projects and we should be able to copy from one to another.
    Edited by: user10367892 on Aug 20, 2009 12:28 PM

    Thank you for the reply.
    It was my fault. I was on two different servers, while i was doing this and so didn't work. But copy /past action works as you suggested.
    Can I select multiple actions from one stage and paste to different proxy service? I have too many options to copy/paste and hence I have this question.
    Is there any other way of copying all selected actions in one stage to another, but not the complete stage itselft?

  • HT4740 i already did the Hidding part and later moved the events and projects to the FCP events and projects folder . I still cannot share - keep getting this message "THE SHARE OPERATION 1080P FOR APPLE DEVICES (10 MBPS) HAS FAILED. Quicktime Error -50

    i already did the Hidding part and later moved the events and projects to the FCP events and projects folder . I still cannot share - keep getting this message "THE SHARE OPERATION 1080P FOR APPLE DEVICES (10 MBPS) HAS FAILED. Quicktime Error -50
    I dont know what else to do to be able to share my project - I know i updated FCPX before i shared this project  but i dont know what im doing wrong

    masterpieces wrote:
    later moved the events and projects to the FCP events and projects folder .
    Can you explain in detail what you did?
    Do any other shsre destinations complete? If not, do you get the same error message?

  • How to configure the iTunes,to display only folder name as Album.

    How to configure the iTunes,to display only folder name as Album under Music.
    I have a folder with name "English" under this I have plenty of folders which are either movie names or custom names created by me,inside of these are the music files. I just want all the files to be copied to the iPod with out any album artwork(which the itunes display under "Album By Artist" contains).The "Album By Artist" doesnt seem to contain just the folder name,it gets something else like the website from where the music file downloaded. This makes me irritating to browse through iPod or iTunes.
    Please help me in configuring,so that I can just see the same folder/music hierarchy I see in my windows machine in the iPod.

    Yep, I agree with Jurjen. It is not only limited to ACTVT, but rather fields of other objects as well which are "action" or "activity" related.
    I would start the other way around - give them '03' only and investigate any transaction specific claims that it is not enough. There will be a few...
    Cheers,
    Julius

  • How to view the tomcat errors in another file

    hi friends,
    i am starting tomcat by using startup.bat, in the console i can see the startupe messages, but when i execute the jsp page it throws some errors, because the window run fast i cannot see the previos errors.
    how to redirect these errors in to a file ???
    i tried using startup.bat > error.txt, but there it is not writing the errors.In tomcat logs also i cannot see the errrors.
    can any one telll how to see this
    thanks
    vin

    Tomcat uses the log4j API. You can put a log4j.properties file in your application classpath (WEB-INF/classes/log4j.properties) and in that properties file you can redirect tomcat log output to a file. The content could be like this:
    log4j.properties:
    # a default stdout console appender. When debugging from an IDE, this will end up in the output window
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n
    # tomcat file log appender
    log4j.appender.TA=org.apache.log4j.FileAppender
    log4j.appender.TA.layout=org.apache.log4j.PatternLayout
    log4j.appender.TA.layout.ConversionPattern=%d %p [%c] - %m%n
    log4j.appender.TA.File=c:/log/tomcat.log
    log4j.appender.TA.append=true
    # configure the tomcat logger to use the tomcat file appender. Only warnings and higher are sent to the logfile
    log4j.logger.org.apache=WARN, TA
    Check out the log4j documentation for more details.
    Edited by: gimbal2 on Feb 5, 2008 3:19 PM

  • How to get the colums from a project view

    Greetings,
    I have a PjView-object from type Microsoft.Office.Interop.MSProject.View
    and I can output the name of the view (MsgBox(PjView.Name.ToString)
    So far so good.
    But now I have two questions:
    1. How do I access the columns that are included in this view?
    2. If I have a column, how can I read the Title property (In Project: Field Settings -> Title)
    Thank you!
       Michael

    This code will get the fields that exist on the Gantt Chart view in the current project:
    Public Sub GetCurrentViews()
    Dim vw As View
    Dim vw_sng As ViewSingle
    Dim vw_com As ViewCombination
    Dim tbl As Table
    Dim fld As TableField
    Set vw = ActiveProject.Views("Gantt Chart")
    If vw.Single Then
    Set vw_sng = vw
    Else
    Set vw_com = vw
    Set vw_sng = vw_com.TopView
    End If
    Set tbl = vw_sng.Table
    Debug.Print tbl.Name
    'step through each column on each table
    For Each fld In tbl.TableFields
    'check that it isn't the "Insert column" marker
    If fld.Field <> -1 Then
    'if it is an actual field, output field title
    Debug.Print " " & fld.Title
    Debug.Print " " & fld.Field & " - " & Application.FieldConstantToFieldName(fld.Field)
    End If
    Next fld
    End Sub
    Hope that helps,
    Andrew
    Andrew Simpson
    Founder – Eversight Ltd
    E: [email protected]
    W: www.eversight.co.uk
    Download Eversight for MS Project — a free add-on which helps users build high quality schedules with MS project.

  • How to reconstruct the statistical cost of project stock?

    Hi, Experts,
    We added the statistical cost element of 90 category for project stock BS account.
    Now we find that some of the project stock don't have statistical cost,
    some of the project stock have statistical cost(Value type: WRTTP=11).
    How can we reconstruct the statistical cost of project stock to make it right?
    Thanks a lot in advance.
    Best Regards,
    Nansen

    Try running CJEN for your project. Make sure you remove the test run tick.
    Regards

  • How to refer the BPM objects in Project to Project.

    Hi,
    I have created some BPM obejects in Project A, i want to use the same Obejct in Project B.
    How to refer the Objects across the Project.
    Could pls some one help me on this.
    Regards,
    Anandh P

    Here are a couple ways to share BPM Objects across projects.
    You can right mouse click a BPM Object in a project and then export it. This will create a zip file that can then be imported into a Module in another project.
    There is a new feature in 10g that allows you to create a dependency between projects. If you define one project to be dependent on another then it can use the BPM Objects found in the other one. To do this, right mouse click the project's name in the Project Navigator tab -> Project Preferences -> Dependency -> select the project you want to be dependent on from the dropdown. This is based on the project's currently visible in the Workspace directory (the directory you are prompted for when Studio first starts up).
    Dan

  • How to redirect the page to home after alert message in APEX

    Hi All,
    I have 4 tab and home page APEX report in that home page I have organization to select as parameter for all the page which is mandatory column so without select the organization in home page I can move to other 4 page but some time users directly pressing the tab for this I have create the ORG_ALERT in each 4 page which this we are able to see the pop-up message when we directly hitting on tab but after select the OK to alert message the page is run for long time and it show all the organization data which I don't want so how can I modify the alert so that after pop-up message it will go to home page.
    Declare Output VARCHAR2 (20);
    begin 
    Output := 1;
    Output := NVL( :AI_ORGANIZATION_ID , 0);
    IF Output  = '0'  THEN
       APEX_UTIL.SET_SESSION_STATE('AI_ORGANIZATION_CODE','');
       HTP.p ('<script type="text/javascript">');
       HTP.p ('alert("No Organization selected.\n Please select an Organization");' );
       HTP.p ('</script>');  
    END IF; 
    END;
    Regards,
    Sushant

    Hi Kiran,
    I have created two process -- On Load - After Header
    1)  Sequence=10
    Declare Output VARCHAR2 (20);
    begin
    Output := 1;
    Output := NVL( :AI_ORGANIZATION_ID , 0);
    IF Output  = '0'  THEN
       APEX_UTIL.SET_SESSION_STATE('AI_ORGANIZATION_CODE','');
       HTP.p ('<script type="text/javascript">');
       HTP.p ('alert("No Organization selected.\n Please select an Organization");' );
       HTP.p ('</script>'); 
    END IF;
    END;
    2) Sequence=20
    Declare Output VARCHAR2 (20);
    begin 
    Output := 1;
    Output := NVL( :AI_ORGANIZATION_ID , 0);
    IF Output  = '0'  THEN
       htp.init;
        owa_util.redirect_url('f?p=&APP_ID.:1:&APP_SESSION.');
    ELSE
    htp.init;
    owa_util.redirect_url('f?p=&APP_ID.:4:&APP_SESSION.');
    END IF;
      END;
    but after click on tab directly it is not showing the pop-up message and directly going to home page. I want when I click on pop-up message to OK then it need to redirect the home page also from home page when I am selecting any organization and trying to go on tab it is not going maybe due to owa_util.redirect_url. Please advise.
    Regards,
    Sushant

  • How to redirect the scsi command

    Usually, the scsi command goes to HBA driver after it is built by the target driver. However, my project is to intercept the scsi command and send it to the remote server because we want to implement network storage . Originally, the structure, scsi_hba_tran, has a pointer, tran_start, pointing to the function which sends the command. To redirect the command, I want the pointer to point to my kernel function.
    Now I can get the HBA driver dip, then get the pointer of tran_start. But after I change the pointer to point to my function, I mount the scsi disk and use it, I can't see any difference before changing the pointer and after changing it. I'm suspecting whether I really get the pointer or I should use other method to test.
    Any suggestion is precious. Thank you in advance.

    java -DAPRO_HOME=%APRO_HOME%
    -DInit=E:\Test_B2b\XicoB2Bi3.0\Repository\Configs\CF_I
    nit.xml com.b2binternet.apro.Startup -debugThe class com.b2binternet,apro.StartUp is being executed with a command line argument as "-debug" and properties "APRO_HOME" and "Init" are being set for the System.

  • Upload servlet: how to redirect the user back to the portlet

    Hi. From what I've read in this forum, Oracle Portal does not support "multipart/form-data" forms, so the way to upload a file is to use a standalone servlet. The problem is, how do I redirect the user back to the portlet? Should I pass the back URL as a parameter to this servlet? How do I construct it?
    Since it's an standalone servlet, I can't use oracle.portal.provider.v2.url.UrlUtils to construct a "back link". I had thought of using the referer header, but since this isn't always guaranteed to be present (for example, I know you can disable it in Firefox, and I think SSL conections disable it, too), I guess that maybe sending the URL generated using UrlUtils.PAGE_LINK, UrlUtils.REQUEST_LINK or UrlUtils.REFRESH_LINK (I would have to test which one suits my needs), it could work. Do you think is this the best solution?
    Thanks in advance

    If you use a popup window for file upload, you don't have such a redirect problem.

  • How to find the tomcat path from registry?

    Hi,
    How can I find the tomcat path from registry?
    please tell me.
    Thanks
    Gaurav Agrawal

    gauravjlj wrote:
    listen,
    I'm about to create a exe which will do these things.....
    1. first install java
    2. install tomcat
    3. install mysql
    4. deploy my web application with out use of tomcat manager
    first three steps I have done with the help of installer maker. let assume that my tomcat has been installed. but now please tell me how can I deploy my web application.
    that's why I need the tomcat path.
    please tell me.Well, if you've just installed Tomcat you do know where it is so what's the problem? Why not, in fact, include your application in the tomcat directories as you install them? That's all there is to installing tomcat, installing the directories, setting %JAVA_HOME% and (possibly) running the service.bat file.

  • FCP X - How to change the length of a project

    Hi everyone,
    Have been working on a music video in FCP X.  I'm at the stage now where the cut is done, and I want to proceed to do a little color grading and then final export.  I have a strange problem that I can't seem to get around, and the manual (if you could even call it that) is decidedly unhelpful on this front.
    When I started working on the video, I placed the song in the primary storyline and had it copied three times along the way.  This was so I could have extra "versions" of the song later in the timeline to test out ideas.
    Now that I'm nearly done, I've deleted the extra copies of the song that were appended at the end, and they've been replaced with gap slugs.  Nothing I seem to do can make them go away, I select them and hit delete, and they just stay there.  So then when I export my video, because FCP X doesn't allow you to do anything other than export the _entire_ project, I end up with like 8 extra minutes of black at the end, which I then have to delete from my final QT movie.  Obviously it's a surmountable problem, but it's just really annoying.
    Anyone know how I can actually tell FCP X where the end of my project is?
    Cheers!

    Hey, thanks for both the responses.
    I had tried using both delete keys (the one next to the "=" key and the one that actually says "delete" on the extended keyboard, but no dice.  I also tried the suggestion of dragging a clip onto the gap and then deleting it, no luck either. 
    But then these suggestions made me think of trying another approach - I selected the gap clip in question and then went into the "edit" menu in the menu bar, and chose "delete" from there.  That did the trick. And in doing so, I saw that the keystroke that's marked next to this command in the edit menu is "shift delete" (the delete is shown as the backward pointing box with an x in it).  This also explains why I never seemed to be able to delete an effect that I added to a clip (I was always just deactivating them), because neither of the delete keys on their own were the right key command. 
    So I don't know if the key commands on my install of FCP X just happen to be set up in a different way to others, or I simply didn't realize that while simply hitting "delete" for clips was sufficient, you needed to use a different "delete" key cluster for other classes of items like gaps and effects.
    Anyway, got it sorted now.  Cheers for the input!

Maybe you are looking for

  • Text Area for long text not appearing properly for BBP_POC_DISPLAY Service

    Hi, In our development we have added additional Icon at ITS in Process PO transaction and onclicking  that icon Web dynpro AB screen called with the Purchase Order No of selected row .(SRM 5.0) There is one more icon in Web dynpro screen on click of

  • Escalated line fault URGENT

    I reported the line fault at 12;45pm on Saturday 17th Dec saying that the phone line was dead and it was urgent that it be repaired ASAP as it is used for the Lifeline emergency service. I was assured that the fault had been logged as a "Welfare prio

  • BO on Linux OS

    Post Author: chronik CA Forum: Deployment hello, i want to install businessobjects edge series standard on linux platform, plz help me with the installation guide . since i havent installed on any other os than windows ,can u let me know what precaut

  • Win 7x64 cant run any CC programm (adobe application mannager error)

    Hey everyone, i have installed Adobe Creative Cloud (CC) on my C: drive. Normaly my programms go to D: cause it changed a registery entry (dunno why Adobe apps are located at C: atm) while starting i get the same error over and over again: Adobe appl

  • Which email clients work

    Hi, For years I used Apple Mail using Mac OS10.68 as my default mail program for sending pdfs directly from the pdf panel. I am having trouble with Apple Mail (this issue has nothing to do with sending pdfs) and have tried several other email clients