How to set Develoment Environmnet  in Linux using Tomcat for Application

Hi All,
I am facing problem while craeting development environment in Linux for Tomcat.
I have installed Tomcat in /opt/tomcat directory.
Within Tomcat i made a Application Dir name "eprosys".
/opt/tomcat/eprosys/WEB-INF/classes
/web.xml
and then configure server.xml in conf directory
<Context path="/project"
docBase="opt/tomcat/eprosys"
reloadable="true"
debug="0"/>
</Host>
then i started tomcat
[root@localhost bin]# ./startup.sh
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/java/jdk1.5.0_07/
[root@localhost bin]#
In catalina.out message which i get.
Aug 26, 2006 6:39:21 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Aug 26, 2006 6:39:21 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/30 config=null
Aug 26, 2006 6:39:22 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Aug 26, 2006 6:39:23 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 17978 ms
[raingauge] DEBUG [Timer-0] LocationDailyGraphManagerImpl.createLocationDailyGraphs(62) | Location Daily Graph. Creating graphs at Time=Sat Aug 26 18:39:43 IST 2006
But when i use browser like
http://localhost:8080/project
I get this message .
HTTP Status 404 - /project/
type Status report
message /project/
description The requested resource (/project/) is not available
So, please help me where i am wrong. Same thing i do in Windows O/s it works.
But in Linux i face problem,
Bye,
Prabhat

aiGrace wrote:
I want to set the options "-server -Xms128m -Xmx512m -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=11.40.5.62" as my java default options so that I only have to use
java -classpath . HelloWorldUse the *nix alias command
alias java="java -server -Xms128m -Xmx512m -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=11.40.5.62"

Similar Messages

  • I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and Itunes store. How do I make one password that will be recognixed by all these devices?

    I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and itunes store. How do I make one password that will be recognized by all these devices? My apple id is constantly not working.

    Hi Lrwill,
    If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
    Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
    Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
    Cheers,
    GB

  • How to set up Airport Express in Bridge mode for hotel use

    Please provide step by step instructions on how to set up Airport Express in Bridge mode for hotel use. I do not have a computer with me, only an iPhone and AEX 802.11n.

    +"Please provide step by step instructions on how to set up Airport Express in Bridge mode for hotel use. I do not have a computer with me, only an iPhone and AEX 802.11n."+
    AirPort Utility is the application that must be used to setup and make any configuration changes to the AirPort Express. I'm not aware of an "App" for this.
    If you could borrow a computer from someone there for 30 minutes or maybe use the computer in the lobby, you could download AirPort Utility and reconfigure your Express. To help with setup, use an ethernet cable from the computer to the Express to help AirPort Utility "see" the Express.
    http://support.apple.com/downloads/#airport

  • How to set Border in the Excel using UTL_FILE ?

    Hi all,
    Any one aware of
    How to set Border in the Excel using UTL_FILE ?
    Am doing excel creation from a stored procedure.
    Thanks
    Dora

    Hello Dora,
    if you need more than simple csv: at Re: How to save a query result and export it to, say excell? you can find links to different solutions. At least the package behind the second link supports defining your own formats (and has a tutorial how to do it).
    Regards
    Marcus

  • How to set the full screen mode using setClip method

    hi all,
    how to set the full screen mode using setClip in that softkeys should not be used insteat on that need to create a own softkeys using commands.
    thanks & regards
    Bala.

    In CS5 there are changes made to how the screen mode is reported. In CS3-CS5 the screen mode has a corresponding number. So for instance if the ScreenMode is set to "Preview Off" and you ask indesign CS3 or CS4 to display the screen mode, it will report "1936552047", while in CS5 it will report "PREVIEW_OFF".
    try executing this simple command in respectively CS3, CS4 and CS5 and you will see what I am talking about:
    alert(app.activeWindow.screenMode);
    there is no difference if you do:
    alert(app.activeDocument.layoutWindows[0].screenMode);
    The CS5 solution is rather awkward to work with, unless I am missing something? PREVIEW_OFF is not a string, nor is it a number.
    Example -  doing:
    myScreenMode=app.activeDocument.layoutWindows[0].screenMode;
    and then trying to reset screenMode by something like:
    app.activeDocument.layoutWindows[0].screenMode= myScreenMode
    does not work in CS5 of course. It will throw an error. Neither will this line work:
    app.activeDocument.layoutWindows[0].screenMode=ScreenModeOptions.myScreenMode;
    Any way of working around this?

  • How to Set "DateOnly" property in DateTimeControl using Javascript.

    How to Set "DateOnly" property in DateTimeControl using JavaScript.

    Is there any specific reason you want to set it through JavaScript ? You can directly set the DateOnly property in the markup itself.
    <SharePoint:DateTimeControl runat=server id="dtControl" DateOnly="true"></SharePoint:DateTimeControl>
    Please can you elaborate on what exactly is the requirement for setting this through javascript?
    Geetanjali Arora | My blogs |

  • How to set up a basic file sharing server for my small architectural business?

    I have no idea if I have posted in the correct area as this is my first forum post within the apple support community!
    I have been using a 21.5" imac running 10.6.8 for the past 5 years to run my small home based architectural design business. I have been using the internal hard drive & backing up the necessary data to a simple usb external hard drive. I am now looking to firstly purchase a new imac 27" retina and purchase new autocad lt 2015 for mac software. I am looking to have another imac (my old mac) running in conjunction with the new mac. I want both macs to be able to access the same data and am slightly unsure what is the best way to achieve this.....As my old mac is currently only running snow leopard and an old version of autocad for mac 2011 it wont run on any more recent OS. Essentially i believe I have 2 main options with this.... (1) I Accept that I have to purchase 2 no. autocad lt 2015 licences @ a cost of £2300. Or option (2), I only run autocad on the new mac as this will be the primary station and the old mac used for primarily for admin & accounts. I have also recently discovered that it is possible to rent autocad licences for £300p/a which may also be another option (3)!
    I previously had a problem where my hard drive failed on my mac & lost all data on the internal hard drive, luckily I had been backing up all data regularly to my external hard drive and now loss occurred! Obviously with any new system I want to ensure that my data is safe!
    I currently utilise about 250GB of data for business operations but this will obviously grow with time.
    In the future I would like to have the option of potentially being able to access the network data remotely via macbook pro whilst abroad although at this stage this really isnt my primary objective. Although I believe I could achieve this through apple remote desktop.
    I suppose I should provide some information with regard to the required speed of the system...I regularly open 50-100 photos at the same time totalling around 250-500MB. I would like the system to be able to handle this fairly easily.
    I have been trawling through forums and to be honest they are totally confusing me. I have also spent time on the phone to the apple business team and have also discussed my objectives with a member of the apple team in store.
    There have been various options advised to me and I really do not know which is the most appropriate route forward.
    1 - Using a mac mini as the file server and linking the 2 mac devices to this and backing up the mac mini to an external hard drive to ensure no loss of data.
    2 - Using a time capsule as a file server and linking the 2 mac devices to this and backing up the TC to an external hard drive to ensure no loss of data.
    3 - Using the new mac hard drive and linking the 2 macs via thunderbolt (old mac does not have thunderbolt and so I guess I would need another new mac?!) and then backing up the data to a time capsule.
    4 - Using a RAID based server and linking the 2 no. macs.
    Sorry to ramble but any advice really would be greatly received!

    Hi sblemings,
    Welcome to the community.
    I think with your scenario you should ask yourself, how complicated do you want the setup to be and how much time would you have to be able to resolve an issue should one occur with this setup.
    All the options that have been advised would work but they come with complexity and therefore time.
    1 - Using a mac mini as the file server and linking the 2 mac devices to this and backing up the mac mini to an external hard drive to ensure no loss of data.
    2 - Using a time capsule as a file server and linking the 2 mac devices to this and backing up the TC to an external hard drive to ensure no loss of data.
    3 - Using the new mac hard drive and linking the 2 macs via thunderbolt (old mac does not have thunderbolt and so I guess I would need another new mac?!) and then backing up the data to a time capsule.
    4 - Using a RAID based server and linking the 2 no. macs.
    Sorry to ramble but any advice really would be greatly received!
    option 1
    Would be a way to achieve what you want, it would centralise your files and you would only need to backup your file server (as long as all the files you wanted backed up were on it). This could be achieved either using the client and sharing various folders or using Server which would give you more options than you would possibly need.
    option 2
    This is exactly like option 1 except that you wouldn't have to administer another mac however you may limit any future growth.
    option 3
    This option I probably wouldn't pick, you could achieve this with firewire and use a firewire to thunderbolt adapter (saves you having to buy a new iMac)
    option 4
    This option would, depending on your RAID level, give you disk redundancy but remember you would still need to back this up, as RAID is NOT a backup solution.
    I would also ask is there a pressing need to keep the old iMac in service and complicating things by having a server / NAS? Could you not just transfer all your information over to this and continue with the one backup? I would say that doing it this was would be the simplest way of achieving what you want from what I can take from your question.
    As for remotely accessing your data, if you have the right hardware the way to achieve this would be to use a VPN and connect back to your data. However a potentially easier way for you ,would be to use a service like logmein or teamviewer to connect back.
    Hope this helps, and by all means any questions please ask.
    Dan
    How to set up a basic file sharing server for my small architectural business?

  • How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)

    How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)?
    The following is my configuration in the conf\mapViewerConfig.xml:
    <map_data_source name="mvdemo12"
    jdbc_host="127.0.0.1"
    jdbc_sid="orcl12c1"
    jdbc_port="1522"
    jdbc_user="mvdemo"
    jdbc_password="7OVl2rJ+hOYxG5T3vKJQb+hW4NPgy9EN"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    editable="true"/>
    <!--  ****  -->
    But it does not work.
    After use "sqlplus mvdemo/[email protected]:1522/pdborcl", it connected to the Oracle database 12c.
    Does anyone know it?
    Thanks,

    For 11.1.1.7.1 use the syntax for jdbc_sid, i.e.
    //mypdb1.foo.com as described in the README,
    - MapViewer native (non-container) data sources can now use database service name in place of SID. To supply a db service name, you will use the same jdbc_sid attribute, but specify the service name with double slashes in front, such as follows:
      <map_data_source name="myds"
        jdbc_host="foo.com"
        jdbc_sid="//mypdb1.foo.com"
        jdbc_port="1522"
      />
    For 11.1.1.7.0 use a container_ds instead.
    i.e. instead of using
    <map_data_source name="my_12c_test"
                       jdbc_host="mydbinstance"
                       jdbc_sid="pdborcl12c"
                       jdbc_port="1522"
                       jdbc_user="mytestuser"
                       jdbc_password="m2E7T48U3LfRjKwR0YFETQcjNb4gCMLG8/X0KWjO00Q="
                       jdbc_mode="thin"
                       number_of_mappers="6"
                       allow_jdbc_theme_based_foi="false"
                       editable="false"
       />
    use
      <map_data_source name="my_12c_test"
                       container_ds="jdbc/db12c"
                       number_of_mappers="6"
                       allow_jdbc_theme_based_foi="false"
                       editable="false"
       />
    In my case the Glassfish 3.1.2.2 JDBC connection pool definition was
    Property
    url  jdbc:oracle:thin:@mydbinstance:1522/pdborcl12c.rest_of.service.name
    Uncheck the Wrap JDBC Objects option in Advanced panel, i.e. the Edit JDBC Connection Pool Advanced properties page.
    Add a JDBC resource for that newly created pool
    Use that in mapviewerconfig.xml as above

  • How to improve the load performance while using Datasources for the Invoice

    HI All,
    How to improve the  load performance while using Datasources for the Invoice . Actually my invoice load (Appx. 0.4 M records) is taking very long time nearly ~16 to 18 hrs  to update data from R/3 to 0ASA_DS01.
    If I load through flat file it will load with in ~20 Min for the same amount of data.
    Please suggest how to improve load performance.
    PS: I have done the Inpo package settings as per the OSS note.
    Regads
    Srininivasarao.Namburi.

    Hi Srinivas,
    Please refer to my blog posting [/people/divyesh.jain/blog/2010/07/20/package-size-in-spend-performance-management-extraction|/people/divyesh.jain/blog/2010/07/20/package-size-in-spend-performance-management-extraction] which gives the details about the package size setting for extractors. I am sure that will be helpful in your case.
    Thanks,
    Divyesh
    Edited by: Divyesh Jain on Jul 20, 2010 8:47 PM

  • How to validate an text field item using javascript for numbers only.

    hi,
    how to validate an text field item using javascript for numbers only.please help me on this urgent
    please mail me solun if posible on [email protected]

    Hi,
    Page HTML header
    <script>
    function onlyNum(evt) {
      // Usage: onKeyPress="return onlyNum(event)"
      evt = (evt) ? evt : window.event;
      var charCode = (evt.which) ? evt.which : evt.keyCode;
      if (charCode > 31 && (charCode < 48 || charCode > 57)) {
        var status = 'This field accepts numbers only!';
        alert(status);
        return false;
      var status = '';
      return true;
    </script>Item HTML Form Element Attributes
    onKeyPress="return onlyNum(event)"Br,Jari

  • How to determine or verify the language used if your application is in mult

    hi,
    How to determine or verify the language used if your application is in multi Language Env.
    Thanks & Regards

    Hi again;
    I suggest also see below link which we discussed before here
    Find languages installed in my R12 instance ?
    Regard
    Helios

  • How can I fix 'Can't Load Visual Basic for Applications' in Word 2011 for Mac?

    How can I fix 'Can't Load Visual Basic for Applications' in Word 2011 for Mac? I reinstalled Office after macbook was restored and now I've tried reinstalling twice but the same error turns up. There seems to be an associated error realted to the database, which send me to Database Utility. This turns up every time I open Word, then the VBA error message turns up 4 times, or if i click on Visual Basic Editor.

    in case it's useful to some other soul who searched Google in vain and found this page, I posted a fix that worked for me under https://discussions.apple.com/message/21732017

  • How To Set Up Airport Express To Use With iPad2 For My Needs ?

    On the advice of several people in a audio forum, I just purchase an Apple Airport Express. I will be using it with my new iPad 2. What I need to accomplish is using my iPad2 to stream subscription based music from the internet to the Airport Express, and for the Airport Express to connect via toslink cable to the DAC in my audio system.
    What I am not sure about is how to set up my Airport Express to accomplish this. I do have a wireless network in my home, but wish to keep the wireless connectivity between the Airport Express and the iPad2 separate from it.
    I would greatly appreciate any assistance with this. Thanks.

    Deggie, firstly, thank you for your attempt to help. I greatly appreciate it. I connected it via the ethernet cable to the router since when I reconfigured the Airport Express adding it to my existing wireless system, the iPad could not connect to anything until I unplugged the Airport Express. I set it up for an ethernet connection to my router based on that experience.
    Either the Ipad does not seem able to send anything to the Airport Express, or the AEX is not passing anything on. I also tried streaming a song stored on the iPad 2 to the AEX with no result, so it is not an issue with the subscription channel.
    I don't own a miniplug cable of any sort for further testing, but the toslink cable is brand new, and was literally taken out of its package and plugged in, so I feel it extremely unlikely it is the issue. I've also tested it in three inputs on the DAC, so it is definitely not an issue with it.
    I have a question though. You said "when you start your subscription and go to Airplay, does the iPad see the AEX?" You may be on to something there. How do I "go to Airplay" I thought it was just automatic?  Also, how do I "select it"? This may be the problem.

  • How to set tabstops in MS Word using the LabVIEW Report Generation Toolkit

    Using the Report Generation Toolkit of LabVIEW, I need to set multiple tabstops that very in distance in MS Word.  I also have different sets of tabstops that I use and re-use at different times in the same report.  Is there a way to set the tabstops under program control?  I searched through the various VIs and found that there is a property ("Tabstops", "Word.Tabstops") in the _ParagraphFormat property node that refers to tabstops.  I found it in the Word Format Paragraph (adv) VI.  Unfortunately, I could not determine how to use it.  Any suggestions?  Is this an operational element?

    Bluebell,
    Sounds like you've already done some fantastic work to expose the various properties and methods of MS Word. It took me about 20 min before I could find the specific property that you were talking about! I found it under Word.Document>>Paragraphs>>Tabstops>>Add. There is a position, alignment and leader parameter that you can set from this property node. I've found that the best way to discover what these parameters do is to simply experiment. You could also try using the macro recorder in Word, perform the specific task, and then look at the code generated. I'm guessing that position sets the position of the tabstop itself. It sounds like your application is really specific. For such a specific task, I think I'd write a macro and call that macro from LabVIEW.
    Chris Cilino
    National Instruments
    LabVIEW Product Marketing Manager
    Certified LabVIEW Architect

  • How to set-up my home intranet using 2 different ISP's ?

    I have had so much trouble recently with my main (8 years now!) internet provider "ABC" (not the real name) Cable Modem here in Belgium that I made the decision to pay another bunch each month to have a second ISP for my home and home office. "XYZ" (also not the real name) will start on Monday 26 July. It is a DSL line, linked to my TV and fixed telephone. Great, except I'm not really sure how to set-up this 2nd ISP.
    First, I want this 2nd ISP to (at least for now) be an emergency backup. So if ABC shuts down again (as it has done a lot recently, but no technician can come until 30 July- poor service there!) - I want to immediately be able to use the XYZ server.
    OK the XYZ has a kinda built-in router in that the DSL Modem has built-in WiFi and also 2 cable to computer out ports. I believe I can first just configure the WiFi: Apparently I have to attach my MBP-13" via cable in order to change / add a security code; maybe change the name of the WiFi from its default "XYZ-WiFi" (not the real name) to something I want like SteveXYZ and then add a security protection code.
    But how to configure my eMail using MAIL? And can I still keep getting my eMail from my main "[email protected]" (not the real address) even when connected via XYZ? And what about SENDING from ABC when connected via the server XYZ?
    Also: I currently have my ABC Modem going to a 4-port D-Link DI604 Router. From there, one cable goes to my MacBook Pro-13"; one to the Apple LaserWriter 12/640PS (great printer- 13 years old and still super); one to my Canon MP640 and one upstairs to another router: D-Link DIR-635 wired and wireless. From there, one cable goes to my wife's eMac; and another is available for guests; another unused and then the WiFi for when I compute in the garden and of course for my iTouch.
    So now let's say that on 28 July the ABC is down. Ideally I'd like to pull the cable from the ABC Modem that goes into the DI604 Router and plug-in a cable going to the XYZ DSL Modem and voilà have internet back via my backup XYZ. BUT can I print? Do I have to reboot the Router since it will have to reassign those 192.168.0.123 type numbers, won't it? (I believe those numbers are called the "IP Addresses").
    Thanks for any comments or references here.
    Best regards,
    Steve Schulte
    Wednesday 21 July 2010

    In your Network Preferences you can set up more than one method of connecting - i.e., Airport, Ethernet, Dial-up (heaven forbid). If, for example, you place Ethernet at the top of the list, then Airport, your Mac will try to connect to Ethernet first. If it can't, it will fall back to Airport.
    So if you can have Airport connected to one ISP and Ethernet connected to another, you will be able to pick one or the other by imply pulling the Ethernet cord. What you can't do is set up two Ethernet connections (or Airport connections) each with a different ISP (though if I read you aright this isn't what you want anyway).
    Another method is to set up 'Locations'. You could set up one with Airport only, and one with Ethernet only, and switch between them using Apple Menu>Locations: this would save you physically pulling cables and is just as quick, it takes only a few seconds.
    As to mail, it depends on your ISP. Some ISPs demand that you are connected directly to them to send mail, and possibly also to receive mail: some rely entirely on the password. In the latter case you can use the same settings in both locations or methods: in the former you can't get round that - if you're not connected you can't send/receive as relevant.

Maybe you are looking for