Tomcat server needs to start again

Hi,
My application is in myeclipse 4.0 and I am using Tomat 4.1.30 as my server. Right now I have my datasource details in one xml file which is not in webapps and I am manually copying it to webapps once the application is deployed. Can anyone suggest me how can I include this file as part of war file without affecting the performance of my application?

I tried including my xml file into war file in the ant script but everytime build fails and it says unable to delete classes12.jar Any other option?

Similar Messages

  • If a movie is still loading since Wednesday will it still keep loading or do I need to start again from scratch?

    Movie has been loading since Wednesday?  Will it still keep loading or do I need to start again? Would I have to pay again?

    AppleTV works better with fast internet connections.
    To start near instantly you need:
    8 Mbps for 1080p HD
    6 Mbps for 720p HD
    2.5 Mbps for SD
    Test your internet speed at speedtest.net on a computer.
    Much slower for a given qulaity and the movie has to 'buffer' which will could take minutes if you're close to the speeds, or hours/days if much much slower.
    For example with a 4.5 Mbps I usually wait 30-40 mins for an HD rental to be available.
    The black AppleTVs have no permanent storage and will lose a buffering rental if you use it to watch YouTube, local itunes content etc so best not to interrupt it when buffering or it has to restart.
    However if it's been doing this for days it may be stuck (or your connection is very slow). Personally I'd restart the unit.  I have interrupted a buffering video and found it to get stuck when restarting with recent software.
    Is the 'time to watch' estimate changing?
    If you've already started to watch it it's probably expired, if only rented and viewed the loading screen your probably ok (30 days to start watching, 1-2 days to watch once started (eg 1 in US, 2 in UK)).
    If expired contact iTunes store via:
    https://expresslane.apple.com
    AC

  • Why when i am downloading pictures from my iphone 4s to my mac it kicked me out and i need to start again the sync ?

    why when i am dowmloading pictures from my iphone 4s to my mac it kicked me out and i need to start over and over again i dont know what its going on ?

    plz guys help me...

  • Do I need to start again?

    I was running Aperture 1.0 on my old machine, and now have it on my new iMac (core duo) - The app was migrated across along with my setting etc.
    I have updated to 1.1.1 (on the new machine), but Aperture seems really unstable. Do I need to scrap, and re-install again on the Intel machine?
    I shall give you an example; I open Aperture, it loads most of the images in the selected Project, then some of the thumbs go grey, and it crashes out. I would think it does this 3 out of 4 times when I open it.
    When it finally does open succesfully, it seems pretty stable, other than the fact that sometimes the drag/drop function stops working altogether(exiting, and reloading seems to sort this out.)
    I have also noticed that I don't get a warning showing which of my items are not in the Vault anymore - I am sure that I used to get this when the App. opened.
    Any help greatfully recieved...
    I am 'only' running with 1 gb RAM. I don't have a problem with the system running slowly, but unstable is tougher to deal with.
    Thanks,
    Paul

    start from cheap and go up:
    1. delete Aperture but leave the Aperture Library package/file. to be safer, delete the Aperture prefs files (com.apple.Aperture.plist and com.apple.Aperture.plist.saved and the Aperture support folder at ~Library/Application Support/Aperture. then reinstall Aperture 1.0 and update to 1.1.1.
    if that doesn't solve the problems that you're seeing;
    2. try Logging out and Logging in to see if performance in Aperture improves. turn off all non-essential autostart apps if you try this to keep as much RAM available for Aperture as possible.
    if that doesn't solve the problems (and you have ample HDD space);
    3. buy more RAM
    sorry but Aperture really gobbles up the RAM. my HDD spins like crazy every time I pull Aperture from the background to do some Aperture work. I have 2GB of RAM. Aperture usually uses more than 1GB for itself. at this very moment, while it's in the backgound doing absolutely nothing, it's using 127MB of real RAM and 936MB of virtual RAM (which would have to be swapped to real RAM if I brought Aperture to the front).
    good luck.

  • HT202159 My purchased download get to around 25% download then mac asks for user password and download fails and I have to start again

    I am currently downloading a purchased application from apple store, the application starts downloading then at some stage through the download the Mac asks for my user password to make changes, once I enter the password the download just disappears and I need to start again. I have tried using a different user and the same thing happens. I have also noticed that in purchases the application says to install but in the application page it says it is downloaded. I have spoken with apple support and they seem to be stunned and not sure what is going on! Help does anyone else have any suggestions, its an expensive app and I hope apple is prepared to refund if I cant download it.

    When you're having problems with multiple user accounts, it can be an indication that the startup disk needs repairing or there's not enough free space on the disk to install apps.
    Launch Disk Utility located in HD > Applications > Utilities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk
    If the repairs are necessary, instructions here >  Using Disk Utility to verify or repair disks
    For disk space. Look at the bottom of the Disk Utility window. You'll see Capacity and Available
    Make sure there's at least 15% free space.

  • Urgent :How to Start the JavaBean in the start up of Tomcat Server

    Hi All
    1. I need JavaBeans to be Started at the time of Starting of the Tomcat Server where i am Storing some global Database values in Hashtable collection.
    2. I dont want to show the full address like http://domain.com:8080/mypath/jsp/file.jsp
    how to reduce the path http://domain.com/file.jsp .. i don't want to show the full path (port number, where i am storing the files
    3. when the user type http://domain.com:8080/mypath/jsp/
    it shows all the files under that directory.. i dont want to show the direcotry content to outside user .. how to restrict that.
    thanks and regards
    sreekant

    i want to start some jsp files at the start of the
    tomcat server.
    in some IDE i saw an option like "when start up"
    i want that type of facility to my site for loading
    global variables to all the web pages.1) JSPs have to be hit by something (some kindof request or dispatched request) so "starting jsp files" isn't quite the right mechanism.
    2) The servlet spec provides 2 ways to load things on startup:
    i) the <load-on-startup> tag in the web.xml for loading a particular servlet when the particular application loads
    ii) The ServletContextListener interface and the corresponding <listener> tag in the web.xml. If your initializing is non-web specific (e.g. logging, starting up some kind of service, initializing global vars) than this is the better (and easier) route to take.
    If you want to put these in the root context to happen when tomcat starts, then you'll have to make these modifications to tomcat's root web application (ROOT in the webapps folder).
    ncuka
    ncuka

  • Unable to start tomcat server

    hi,
    i want to develop simple application using servlets.i ve installed apache tomcat4.1 version.i ve compiled my servlet program successfully.but when i am trying to start tomcat server,it is showing some error.i ve set the callspath too.
    the error is:
    The JAVA_HOME environment variable is not defined correctly
    This environment variable is needed to run this program
    Using CATALINA_BASE: ..
    Using CATALINA_HOME: ..
    Using CATALINA_TMPDIR: ..\temp
    Using JAVA_HOME: c:\jdk1.5.0_05;
    The system cannot find the file -Dsun.io.useCanonCaches=false.
    please resolve my problem..
    thanks in advance..

    Using JAVA_HOME: c:\jdk1.5.0_05;There shouldn't be a semi-colon in the JAVA_HOME

  • Problem while starting Apache Tomcat Server (Ports already in use)...

    Hi,
    I am using an Eclipse IDE for web service Client creation.. Also I have used Apache Tomcat5.5 Server inorder to run the application*...*
    While starting Tomcat Server, I am getting an error that the port numbers are already in use.
    So, I have changed the port numbers in the Server.xml file.
    But, still it is throwing the same error , even though the port numbers are not in use.
    Can any one please provide some suitable solution for this ASAP....
    I need very urgent and so please provide some solution..
    Thanks in Advance,
    roopa

    Hey...
    Did u start restarting your machine after you changed the ports..
    Is your tomcat server running perfectly after you changed the port number...
    I had a similar prob.. But i jus reinstalled both and gave different port numbers while re-installling.
    Jus give it it a try.. The ports need to be refreshed.. So try rebooting yr machine first !
    All the best !

  • Starting tomcat server after setting classpath for java

    Sorry if this is nothing to do with java, it is more to do with starting tomcat server.
    Tomcat server has been working totally fine, but when I wanted to compile a java servlet I wrote for it, I needed to run a BAT file called gojava in MS-DOS that had the classpath for java to work properly. I then attempted to run Tomcat, but just got 'bad command'. As long as I don't start up java by setting the classpath, tomcat will work, but as I need java to write servlets and then to test them without restarting my PC each time, how do I get tomcat to work?
    Thanks
    Hannah

    Sounds like your batch file is changing your path, not your classpath. If you're getting "Bad command or filename" when attempting to run Tomcat, it can't find the executable. Check out the .bat file and see what it's doing (maybe even post it here for further clarity). If it's changing your path at all, make sure it includes a %path% to indicate that it simply wants to append items to the path, not overwrite it completely. Sorry if i'm way off base with my suggestions, but it sounds like that's where the problem's going to be, especially if rebooting resolves the problem.

  • Tomcat Server window closes automatically when I start it

    Hi,
    I am using Apache Tomcat 4.1 to work a small Web application. Each time when I start the Tomcat server the window comes up and closes automatically. Is something wrong with my configuration ?
    Do I have to make any changes to server.xml ?
    Pls help..
    Thanks,
    bobby.

    I think Tomcat 4.1 works fine with JDK1.5.0. Untill last week I was able to work on my application.
    This problem started after I did a reboot. Ever since then I am having this problem
    I tried to set the JAVA_HOME from the CATALINA_HOME dir and this is what I got,
    C:\PROGRA~1\APACHE~1\Tomcat 4.1\bin>set JAVA_HOME = C:\PROGRA~1\JAVA\jdk1.5.0_0
    C:\PROGRA~1\APACHE~1\Tomcat 4.1\bin>catalina run
    The JAVA_HOME environment variable is not defined correctly
    This environment variable is needed to run this program
    NB: JAVA_HOME should point to a JDK not a JRE
    Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
    Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1
    Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
    Using JAVA_HOME: C:\Program Files\JAVA\jdk1.5.0_00
    '-Dsun.io.useCanonCaches' is not recognized as an internal or external command, operable program or batch file.
    And when I did a sanity check this is what I got,
    C:\PROGRA~1\APACHE~1\Tomcat 4.1\bin>dir C:\PROGRA~1\JAVA\jdk1.5.0_0
    Volume in drive C is PCSRP21
    Volume Serial Number is D84F-A786
    Directory of C:\PROGRA~1\JAVA
    File Not Found
    C:\PROGRA~1\APACHE~1\Tomcat 4.1\bin>dir C:|PROGRA~1\JAVA\jdk1.5.0_00
    The system cannot find the path specified.
    C:\PROGRA~1\APACHE~1\Tomcat 4.1\bin>dir C:\PROGRA~1\JAVA\jdk1.5.0_00
    Volume in drive C is PCSRP21
    Volume Serial Number is D84F-A786
    Directory of C:\PROGRA~1\JAVA
    File Not Found
    Does this imply Tomcat is not able to recognize my Java directory ?
    Thanks,
    bobby.

  • I need to make a pdf document, made in photoshop, 'page turn' and then add it to my website. I know I can do this in indesign but indesign will not open pdf files for some inexplicable reason. Any ideas how I can do it without completely starting again?

    I need to make a pdf document, already made in photoshop, 'page turn' and then add it to my website as an e-brochure. I know I can do this in indesign but indesign will not open pdf files for some inexplicable reason. Any ideas how I can do it without completely starting again?

    Hello waitingone,
    please try this (all terms are translated from my German programs to my best knowledge):
    1. Did the creator of the pdf file enable the import options?
    2. See import options: choose an other visibility option for your layer.
    3. Let you show the import options and click into one with a black background and try these out (often a gray is selected).
    4. See trimming: try the different modes there. Often works: "Media".
    5. Is the pdf file (eg from Word) correctly created?
    6. Is the PDF file protected? >>> no import possible.
    7. If that does not help, store the pdf file in Acrobat, repair possible errors, run the PDF Optimizer before placing in InDesign.
    Good luck!
    Hans-Günter

  • Have a mac book pro that crashed. ran disk utility to repair. comp booted and ran for short time. then crashed. ran repair again. disk utility said it could not repair files and i needed to format hard drive and start again. now nothing works

    have a mac book pro that crashed. ran disk utility to repair. comp booted and ran for short time. then crashed. ran repair again. disk utility said it could not repair disk and needed to format and start again.
    comp said it could not unmount disk and now when comp trys to boot all i get is a question mark on the screen. help

    Erase and Install
    1. Boot from your Snow Leopard Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Quit DU after formatting completes and return to the installer. Install Snow Leopard.
    5. After restart into Snow Leopard download and install Mac OS X 10.6.8 Update Combo v1.1.

  • Whenever I start the tomcat server, Im getting an error in netbeans?

    Whenever I start the tomcat server, Im getting an error in netbeans?
    Starting of Tomcat failed. '127.0.0.1' is not recognized as an internal or external command, operable program or batch file.
    Even I set the path & catalina_home in Environment variables. I start the startup.bat file and catalina.bat file also.
    I'm waiting for your quick response.

    Hi Ershad,
    I think this issue is more related to Apache Tomacat, I would suggest you ask in Apache Tomcat forum for a better support, it is appropriate and more experts will assist you.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HT1420 I had to wipe out my pc and start again i found all my music, but when i try to sync my ipod it's telling me I need to authorize the music I have of my sisters, I've tried deauthorize all, that didn't work, what do I need to do?

    I had to wipe out my PC and start again from scratch, found all my music and uplaoded that to my Itunes but now I can't play my music from my sister says I have 5 authorized, have tried to deautorize all and still nothing?  Do I need her to do this or how can i fix this?

    If you have a graphic of iTunes and a cable displayed on your iDevice then it is in Recovery mode.
    Check this to try an "exit"
    http://osxdaily.com/2011/01/08/iphone-recovery-mode/

  • When I close Firefox, then later want to start up again, I get I message that Firefox is still running. With "START TASK MANAGER", I need to close Firefox in order to start again.

    When I close Firefox, then later want to start up again, I get I message that Firefox is still running. With "START TASK MANAGER", I need to close Firefox in order to start again.

    I have the same problem. Firefox won't unload regardless of how long I wait. Literally hours ... I must go in and 'end the process'. This has been a real hassle for a while now. Even considered giving up on firefox. Please look into this! An additional problem; I have to run firefox to get the updates, but I can't get the updates to take because I can't get firefox to unload so I can restart it.

Maybe you are looking for

  • Getting javascript error while logging in EP

    Hi,    I have installed EP and after that I got the login screen. Now I logged in as "administrator" and see the 3 roles Content Administration, User Administration and System Administration    But while the screen comes there are many script error p

  • Custom fields in migo table control not updating

    hi , This is to have your valuable suggestion , wrt , following issue.. In transaction MIGO , i have to add two fields uebto and untto in table control . I am able to add them in table control, but some how not able to pick data for these fields . er

  • Problem with the Date format and sending it to R/3

    Hi all, I have an Adaptive RFC application which fetches the data from the R/3 and displays the Employee's Personal Data. I am using a ZFM which is customised as per the requirement from the Standard BAPI_EMPLOYEE_GETDATA. Now the Problem i am facing

  • Downloading Images - FileReference download error 2176

    Hi everyone. I'm trying to download some images but getting this error "Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press." The trouble is

  • What is the forum - forum?

    In the "English New Forums Discussions" forum, I just saw this comment by Dorothy K: If people what their comments seen, and more likely answered, the main comments section that the forum staff and developers are watching is at http://forums.adobe.co