How to set tomcat server path in windows XP

hi frnds,
I am new to java technologies.I am trying to learn all alone Hw am wandering how to set class path of tomcat server in windows xp.
it shud be in user varibles r system varibles
Thanks everyone in advance,
cheers........
roopa

What exactly are you trying to accomplish here?

Similar Messages

  • How to set Tomcat server to read library files from webapps \lib

    I am trying to put all the web apllication used library files into their own directories instead of puting at the <tomcat-home>\common\lib\
    but it doesnt seem to be working, the server keep telling me that
    the library file could not found, what action should i take to let the server know that my library files is in the <tomcat-home>\webapps\<webapp>\lib?
    thank

    What library files are you referring to here?
    Things like struts.jar or jstl.jar used in a web app? They should be fine in WEB-INF/lib
    Or things like database drivers?
    In order to use connection pooling the database driver has to be in /common/lib, because the server needs to access that code.
    Have you tried putting them in /shared/lib?
    That makes files accessible to all web apps, but not to the server.

  • How to set default file path while downloading alv output

    Hi,
    Can anyone tell me that how to set default file path while downloading the ALV output to system using Local file button on tool bar.
    Please look below screenshots:
    Kindly help me resolve it.
    Thanks in advance.
    Regards,
    Ashutosh Katara

    This information initial value is (maybe) stored in Windows Register (register.exe) at Software\SAP\SAPGUI Front\SAP Frontend Server\Filetransfer -> PathDownload, you can read it thru class CL_GUI_FRONTEND_SERVICES method GET_UPLOAD_DOWNLOAD_PATH and update it thru method REGISTRY_SET_VALUE. (Else there may be some parameter ID to force data, but I'm no longer sure)
    Regards,
    Raymond

  • How to set the file path dynamically based on sytem, username, and date

    Hi All,
    My requirement is upload the data into one  structure like xyz that is related to t.code MCSZ.
    file will be in  UNIx SERVER .
    PATH IS: /sapif
    file name is xy789 load .txt
    I have  to write code in one user-exit
    how can i set the file path for this.
    shall i put hard code file path?
    because i have to writecode in user-exit.
    plz tell me how to set the file path based ons syetem, username, date
    Thanks in advance
    Ram.A

    Concatenate the field SY-SYSID, SY-UNAME and SY-DATUM for the file path

  • Sun ONE Studio 4 aka Forte: How to set the output path for classes ?

    Help !
    Beginner's question:
    Sun ONE Studio 4 aka Forte:
    How to set the output path for classes ?
    As default, the class files are created in the same directory as the
    sources.
    In opposite, both JBuilder and Together support that there is a tree
    with the sources and another tree with the classes.
    The first answer I got was "not possible with Forte, but just if you write your own "ANT Build script" !
    a) Please point me to a ready-to-use ANT script for this purpose, if such is available
    b) Is using ANT instead of the MAKE as comfortable ? Besides the separation of sourcecode and classes, I would like to keep everything else to be the same, i.e. I don�t want to edit the ANT file if I enlarge the project by directories or files.
    Tia
    Sincerely
    Rolf

    You can set S1S's options to place newly created .class files in a specific location.
    Identify the compiler that is being used - Open the S1S's Tools/Options window, expand Editing and select Java Sources. Note the Default Compiler value. (If it's one if the Ant options, you use Ant to specify this option, not S1S.)
    Open the S1S's Tools/Options window, expand Building/Compiler Types and select the appropriate compiler.
    The Properties tab of the compiler has the property Target, which sets the filesystem where the compiler output is directed. If you choose <not set>, the .class files are written to their source directory.
    When you set the Target, your change affects all classes that use this compiler.
    Very few options can't be set in S1S; the challenge is finding out where they're set!

  • How to set the report path in a model plugin

    I am trying to figure out how to set the report path in a process model plug-in. I can seem to figure out how to get access to it. It seems like this would be a reasonable thing to do since the plug-ins are for results processing. Does anyone know how to do this? We typically use the Sequential process model but I am trying to keep my plug-in as independent of that as possible. 
    Thanks.
    Solved!
    Go to Solution.

    If I understand, you want your plug-in, when enabled, to alter the settings of any other instances of the NI report plug-in such that their reports share the same directory as your plug-in is configured to use.
    If so, your plug-in can access and modify the settings of all other plug-in instances. All instances are passed to all plug-in entries point in the plugins array sub-property of the ModelConfiguration parameter. You can iterate through this array. Any element of the array with a Base.SequenceFilename equal to "NI_ReportGenerator.seq" is an instance of the NI report plug-in. Its report options are stored in the element under PluginSpecific.Options.
    You can change the report options to what ever you want. Note that the ReportOptions model callback is called from the Initialize model-plugin entry point, so you might want to ensure that your changes are applied after that, so they aren't overwritten. To do that, you could make your changes in the the Initialize entry point of your plug-in, and ensure that your plugin runs last. To make it run last, you could set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your plug-in file to a value greater than 0, such as 1.0 (see TestStand Help>>Fundamentals>>Process Model Architecture>>Process Model Plug-in Architecture>>Structure of Plug-in Sequence Files>>Model Plug-in Entry Points>>Order of Entry Point Execution at Run Time).

  • How to set SQL Server Login MUST_CHANGE, CHECK_POLICY, CHECK_EXPIRATION all to OFF with T-SQL

    How to set SQL Server Login MUST_CHANGE, CHECK_POLICY, CHECK_EXPIRATION all to OFF with T-SQL.  SSMS will not allow me to change policies to OFF. Error: 15128 - The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is
    on.  I am attempting to change these options in a test environment. Thanks, Richard

    It appears you have to change the password first(it could the same password but an alter command needs to be done)
    check this : http://www.sqldbadiaries.com/2010/11/07/the-check_policy-and-check_expiration-options-cannot-be-turned-off-when-must_change-is-on/
    http://sqldbpool.com/2012/10/08/the-check_policy-and-check_expiration-options-cannot-be-turned-off-when-must_change-is-on-microsoft-sql-server-error-15128/
    Hope it Helps!!

  • How to set different icons for different windows which is seen in the top left corner?

    Hi
    How to set different icons for different windows which is seen in the top left corner? I know when building exe there is a option to edit icons or add icons and that icon is default for all the windows in the project. But i want different icons for different windows which is possible in VB.
    Is there any way to set icon by calling any dlls.
    Thanks & Regards
    Samuel J
    [email protected]

    Hi Sam,
    no problem. See the attachment.
    Mike
    Attachments:
    TestIcon_LV85.zip ‏44 KB

  • How to set the fix size jframe window

    when I run the jframe ,the jframe window size is very small
    1)how to set the fix size jframe window??
    2)how to set the jframe cannot change the window size??
    thx~~

    1. You can set the size by calling JFrame's method setSize. There are two versions of this method: (1) setSize(int width, int height) and (2) setSize(Dimension d). Note, that when you use this method to set the frame size, you don't have to call JFrame's pack method.
    2. JFrame has a method called setResizable(boolean resizable) which you can call with the argument false.
    Without any ill intent, these questions are regarding something that is very easily answered by looking at the documentation for the JFrame class. I suggest to anyone working with swing to at least look briefly through the base classes they're extending before giving up. In my experience it is always more gratifying to figure things out on my own than asking someone. But please don't take this the wrong way, I respect people who seek out help in order to further their knowledge, instead of just giving up.

  • How to set iphone 5 bluetooth on windows 7 64 bit in notebook Toshiba

    you can tell me how to set iphone 5 bluetooth on windows 7 64 bit in notebook toshiba qosmio f750

    Unless you're trying to tether your Internet connection from the phone to the computer, you don't. That is not a feature of the iPhone.

  • Tomcat server installation on Windows 98

    hi,mine is P3 and I use Windows 98. I am trying to install tomcat server version 3.3.2, jdk version 1.4.
    I have set the paths of JAVA_HOME, TOMCAT_HOME to the respective directories as follows
    in the autoexec.bat file
    set JAVA_HOME=c:\jdk1.4
    set path=c:\jdk1.4\bin;c:\jdk1.4\lib
    set TOMCAT_HOME=C:\jakarta-tomcat-3.3.2
    set CLASSPATH=c:\jakarta-tomcat-3.3.2\lib\common\servlet.jar
    When i run startup.bat file it displays a message saying "starting tomcat in new window", but in the new window, i get a display like this:
    org.apache.tomcat.core.TomcatException: EmbededTomcat.initContextManager
    at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTom
    cat.java:631)
    at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:7
    91)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:30)
    at java.lang.reflect.Method.invoke(Method.java:306)
    at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.
    java:52)
    at org.apache.tomcat.startup.Main.execute(Main.java:272)
    at org.apache.tomcat.startup.Main.main(Main.java:98)
    and even more.... And that new window hangs. Pls help me to install tomcat server.

    I only set Java_Home:
    @echo off
    set JAVA_HOME=c:\j2sdk1.4.2_01
    if "%OS%" == "Windows_NT" setlocal
    Thats the only line I added.
    You shouldnt need the other stuff, I am using a later version than you though.
    If I were you Id ditch your current version and get version 5.5 or whatever the latest stable release is.

  • How to set reports server environment

    Hi..
    Now Oracle 9iAS r1 (reports60) was installed on Linux, Unix and NT for testing.
    I typed like below in web browser .
    http://IP:Port/dev60cgi/rwcgi60/showenv?server=ServerName
    then Oracle Reports environment variants(REPORTS_PATH, REPORTS... so on..) did not set . except PATH, LI_LIBRARY_PATH and ORACLE_HOME variants like below..
    ====================================================
    Oracle Reports Server CGI60 Environment Variables:PATH /home/ora9iasr1/product/9.0.1/Apache/perl/bin:/home/ora9iasr1/product/9.0.1/bin:/usr/kerberos/bin:.:/usr/local/bin:/usr/java/jdk1.3.1_07/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/ora9iasr1/bin
    LD_LIBRARY_PATH /home/ora9iasr1/product/9.0.1/6iserver/lib
    ORACLE_HOME /home/ora9iasr1/product/9.0.1/6iserver
    ORACLE_PATH undefined
    REPORTS60_PATH undefined
    REPORTS60_TMP undefined
    REPORTS60_CGIMAP undefined
    ==============================
    I can set it with editing registery on Windows.
    But thought I set it with export option at .bash_profile, reports60.sh and reports_server on Unix platform, it did not affected.
    Please let me know how to set reports environment on Unix.
    regards..
    Ryu,

    The reports CGI is started from script rwcgi60. Did you set those env variables in rwcgi60? Or did rwcgi60 call reports60.sh to set env variables? Please check.
    -Jeff

  • How to set image source path in formsweb.cfg file in forms 11g

    Hi,
    I had written HTML code in the formsweb.cfg file in forms 11g. In the below code i am unable to retrive image file(i.e., .gif, .jpeg) from the server or local machine.
    In the below HTML code i set image source in the image tag as below:
    <img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_04.GIF"
    Is this correct path to fetch the images from the server or local machine .
    Please help me out how to set path for image in html or is there any alternate process to retrive images.
    Here is the code :
    [INDIVIDUALUAT]
    workingDirectory=D:\Aims10dev\Work
    form=LMstartup.fmx
    userid=rmenu/rmenu@RLIFEQA64
    codebase=/forms/java
    imageBase=codebase
    width=1005
    height=750
    WebUtilArchive=/forms/java/frmwebutil.jar,/forms/webutil/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar,life-icons-round.jar,Agilis_Icon.jar,life_Icon.jar,personalize.jar,hyperlink.jar,amazingbutton.jar
    archive=frmall.jar
    separateFrame=False
    lookandfeel=Generic
    EndUserMonitoringURL=True
    usesdi=yes
    #HTMLbeforeForm= <table width="1005" border="0" cellspacing="0" cellpadding="0"><tr><td width="200"><img src="/forms/html/agilis-life-logo.gif" width="200" height="80" /></td><td width="10"><img src="/forms/html/agilis-life-new11_02.gif" width="36" height="80" /></td><td width="805" valign="top" background="/forms/html/agilis-life-new11_03.gif"></td></tr></td></tr></table>
    HTMLbeforeForm=<body topmargin="0" leftmargin="0" > <table width="1005" height="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="200" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-logo.gif" width="200" height="80" /></td><td width="10" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_02.gif" width="36" height="80" /></td><td width="550" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_03.gif" width="550" height="80" /></td><td valign="bottom"><table width="219" height="90" border="0" cellspacing="0" cellpadding="0"><tr><td height="36" valign="bottom" align="center"><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agile-logo.jpg" height="36"></td></tr><tr><td height="10" valign="bottom"> <div align="right"><span style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; text-decoration:none; color:#00000; " >Home | Change Password | Logout</span></div></td></tr><tr><td colspan="3" valign="bottom"><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_04.GIF" width="100%" height="39" /></td></tr></table></td></tr></td></tr></table></body>

    AFAIK, this is not the correct way to set the image location.
    We call the working directory as context, so inside the context root along with WEB-INF, maintain a folder with name img and put all the images in that directory.
    You can use either .\<image_folder> or the optimum way would be (if you are using JSPs) to use getContext() method and traverse accordingly.
    FYI,,, using getContext() will give you context root directory, from there it is as simple as accessing any other folder.
    Hope this answers your question.
    Cheers,
    Jeets.

  • How to give jdk location path in windows 7 for odi installation

    I downloaded a file ofm_odi_generic_11.1.1.5.0_disk1_1of1 and ofm_rcu_win_11.1.1.5.0_disk1_1of1 .
    In ofm_rcu_win_11.1.1.5.0_disk1_1of1 file i found java in bin under jdk.
    In my pc Path is D:\OdiHome\rcu\rcuHome\jdk\bin
    The above same path i gave but it was not taking any thing and asking same question specify jdk location.
    Kindly provide me the details how to make this success .Thanks in advance.

    Hi
    The path is now managed by Windows 7 and not the autoexec.bat or autoexec.nt files. To change the system environment variables, follow the below steps.
    1.From the desktop, right-click My Computer and click Properties.
    2.In the System Properties window, click on the Advanced tab.
    3.In the Advanced section, click the Environment Variables button.
    4.Finally, In Environment Variable window User variables in Techno
    Click on Add button and provide below information
    Variable Name: JAVA_HOME
    Value: D:\Oracle\Middleware\jdk160_24
    Again Click on Add button and enter below details
    Variable Name: path
    Value: %path%;D:\Oracle\Middleware\jdk160_24\bin;D:\Oracle\Middleware\jre160_24\bin
    Again Click on Add button and enter below details
    Variable Name: ODI_JAVA_HOME (same jdk location should provide in odiparam.bat file in ODI_HOME\oracledi\agent\bin location)
    Value: D:\Oracle\Middleware\jdk160_24
    Note: Better Don't gove jdk path from D:\OdiHome\rcu\rcuHome\jdk\bin. Please give jdk path from Drive:\Oracle\Middleware\jdk160_24 (*eg: D:\Oracle\Middleware\jdk160_24*) for more details see below URL
    URL: http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx
    Regards,
    Phanikanth
    Edited by: Phanikanth on Dec 25, 2011 11:48 PM
    Edited by: Phanikanth on Dec 25, 2011 11:49 PM

  • How to set the Server CLASSPATH?

    Hi all Oracle Java experts,
    I know this is a rather stupid questions:
    Where can I set the CLASSPATH of the Servlet Engine in Oracle 8.1.7.?
    I spent hours now searching the documentation and found loads of hints what to add to the CLASSPATH in which circumstances, but not how to... Of course I know how to use the CLASSPATH in a normal Java environment, but not in the OSE.
    In the "Oracle8i Application Developer's Guide - XML" it says in the "Using XSQL Servlet" Chapter:
    "How you set the CLASSPATH of the web server's Servlet environment and how you associate a Servlet with a file extension are done differently for each web server. The XSQL Servlet's Release Notes contain detailed setup information for specific web servers you might want to use with XSQL Pages."
    Unfortunately, the Release Notes contain this information for Tomcat, Apache JServ etc., but not for Oracle's own Servlet Engine... Maybe you should include that information.
    Thanks for any help;-)
    Cheers
    Olaf
    null

    Not sure if I understatnd the context in which you want to set your classpath.
    IDE, java or system but ...
    look at the profile file /etc/profile
    CLASSPATH= "/usr/local/jdk1.4......"
    export CLASSPATH
    or
    javac -classpath .;/usr/local/jkd1.4.... test.java
    or
    whatever your ide provides.

Maybe you are looking for