Apache/Tomcat 5.5 - Need someone who has good understanding of deploying war file/configuring context.xml

Current Products Installed - Windows 2008 SBS, Oracle 11d, Apache/Tomcat 5.5

3rd Party vendor came in, installed their package and it has been working for 8 months now, no installation notes available.

They sent an update which we are installing on a test backup server - this update patched Oracle Database schema, and put out an app.war file. I undeployed the old app and deployed the new one. It looks like it was successful but it is not, the application comes up and asks for username and password but says they are not valid, so I'm deducing that the database connector is incorrect.

I believe the issue has to do with the Tomcat Manager Deployment process. Either the web.xml and/or the context.xml needs close examination. If I could find out how the values in the live setup were specified in the original "deployment" or understand how to retrieve these values from the live system, then using the test system, put these values in the appropriate context.xml (seems like there is a hierarchical process of override). We are interested in working with someone technically competent in this process. Please contact us to discuss what kind of arrangement we can make to get this resolved quickly.

asked by


It is difficult to answer this question as there are still quite a few unknowns.  I'll will try to get you pointed in the right direction though.

First, when you say "It looks like it was successful but it is not", it is important to understand what is meant by "not successful".  Is the deployment failing?  For example, are you seeing any exceptions when the application is deployed? Any exceptions thrown during the deployment are major clues which would help you to understand what is wrong with the application.

Second, you mentioned that you are "deducing that the database connector is incorrect".  Again, it is important to understand what is incorrect about it?  Is the DataSource failing to connect to your Oracle database?  Are there any exceptions logged by the application?  Or is the query simply running, but not returning the expected result?  Some of these questions can be answered by looking at the log files, however it is also important to double check basics.  Is your database configuration is pointing to the right database?  Does that database contain valid data?  If that still does not help, try logging the queries that are being executed by the application.  Perhaps that can help to determine what is failing.

As for your additional questions...

Q.  If I could find out how the values in the live setup were specified in the original "deployment"
A.  You can simply look at your working installation.  The running web application would be deployed to the "webapps" directory.  The web.xml file would be located under "webapps/your-app-name/WEB-INF/web.xml".  The context.xml file is a little trickier as it could be located in a couple different spots.  The typical locactions would be "webapps/your-app-name/META-INF/context.xml", "conf/Catalina/localhost/your-app-name.xml" or just "conf/context.xml" (see below for more details).

Q.  understand how to retrieve these values from the live system
A.  If your live system is running with JMX enabled, you could connect to it with jconsole or jvisualvm and inspect the server and application's running configuration.

Q.  these values in the appropriate context.xml (seems like there is a hierarchical process of override)
A.  As I mentioned before, the "context.xml" file can live in a couple different places.  This is fully documented at the following link.

Hope that helps to get you pointed in the right direction.


answered by dmikusa on February 8, 2012 10:48 AM

Daniel Mikusa is a Software Support Engineer at Pivotal.  Daniel has been a user of Apache Tomcat for the past six years and is currently focused on providing enterprise-class support for Pivotal's Tomcat and tc Server customers. Daniel attended college at Kent State University and holds a bachelor's degree in Computer Science.


pompe de caldura sol apa

this article I will make a complete presentation of the heat pump system, I will try to come with details as much as possible to the potential users who hear the first time about this cheap heating system. pompe de caldura sol apa

The website makes it easy for people who have never used legal steroids before. They have guidelines for choosing the right stacks and understanding steroid terminology.

payday loans lemon-grove

This can be a good publish within a fascinating type of content material. I'm therefore amazed in order to expensive this particular publish. You can now follow-up payday loans lemon-grove Many thanks with regard to discussing this short article


nice post, keep up with this interesting work. It really is good to know that this topic is being covered also on this web site so cheers for taking time to discuss this!

herbal life

obat diabetes alami Menyembuhkan dengan cara pengobatan tradisional. Dengan terapi herbal sangat aman bila dikonsumsi dan tanpa efek samping. Obat diabetes saat ini memberikan solusi paling baik untuk mengobati penyakit kencing manis.

darah tinggi, yaitu peningkatan tekanan darah dalam arteri. Apa anda tahu apa dimaksud dengan pembuluh arteri? Pembuluh Arteri ialah pembuluh drh yang membawa darah dari organ jantung kemudian disalurkan ke semua jaringan serta organ tubuh. darah tinggi salah satu situasi tanpa diawali pertanda yang dirasakan para penderita. Solusi Tekanan darah tinggi menggunakan obat darah tinggi

Kegunaan obat hiv amat bagus yang dirasakan oleh penderita HIV AIDS dan beberapa jenis penyakit kronis lainnya seperti Kanker, Diabetes Sinusitis, dll.
Beliau Ibu Sumiati usia lima puluh dua tahun, berasal dari Sumatera. Sudah belasan tahun beliau menderita sakit HIV AIDS, akan tetapi sampai sekarang tidak ada obat yang mampu menyehatkannya.

WHAT is alone proper for the

WHAT is alone proper for the present: namely, the collection of material, the comprehensive survey and classification of an immense domain of delicate sentiments rolex sea dweller of worth, and distinctions of worth, which live, grow, propagate, and perish—and perhaps attempts to give a clear idea of the recurring and more common forms of these living crystallizations—as preparation for a THEORY OF TYPES of morality. To be sure, people have not hitherto been so modest.

All the philosophers, with a pedantic and ridiculous seriousness, demanded of themselves something very tag Heuer Link much higher, more pretentious, and ceremonious, when they concerned themselves with morality as a science: they wanted to GIVE A BASIC to morality—and every philosopher hitherto has believed that he has given it a basis; morality itself, however, has been regarded as something "given." How far from their awkward pride was the seemingly insignificant submariner Rolex problem—left in dust and decay—of a description of forms of morality, notwithstanding that the finest hands and senses could hardly be fine enough for it!

It was precisely owing to moral philosophers' knowing the moral facts imperfectly, in an arbitrary epitome, or an accidental abridgement—perhaps as the morality of their environment, their position, their church, their Zeitgeist, their climate and zone—it was precisely because they were badly instructed with regard to nations, eras, and past ages, and were by no means eager to know about these matters, that they did not even come in sight of the real problems of morals—problems which only disclose themselves by a comparison of MANY kinds of morality. In every "Science of Morals" hitherto, strange as it designer devi kroell replica handbags may sound, the problem of morality itself has been OMITTED: there has been no suspicion that there was anything problematic there! That which philosophers called "giving a basis to morality," and endeavoured to realize.

When seen in a right light, proved merely a learned form of good FAITH in prevailing morality, a new means of its EXPRESSION, consequently just a matter-of-fact within the sphere of a definite morality, yea, in its ultimate motive, a sort of rolex daytona denial that it is LAWFUL for this morality to be called in question—and in any case the reverse of the testing, analyzing, doubting, and vivisecting of this very faith. Hear, for instance, with what innocence—almost worthy of honour—Schopenhauer represents his own task3822222.

information is

This information is m agnificent. Google


Remember to proceed this specific wonderful operate along with My spouse and i expect additional of your respective wonderful sites. cccam


Your site has grown a one-stop find as much as possible tutorial authoring. Thanks for your time in the very good get the job done. As i tested the online sites one preferred and even On the net which will best-dissertation.pores and skin look though. Ones own get the job done is kind of exemplary. Executive Airport Transfers Ashford, Kent

รถมือสอง รถบ้าน ตลาดรถ ซื้อรถมือสอง ขายรถมือสอง

I've just decided to create a blog, which I have been wanting to do for a while. Thanks for this post, it's really useful!

I really appreciate this

I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people. งานพิเศษ


Craft alot more articles and reviews in this particular area you now have the ideal approach to help you support writters. Bail Bonds


That i regarded away your blog given that Relating to over heard a huge amount of related to an individual's articles or blog posts. Relieved to speak about, any rumor well said; that you're not bad at the. I wanted some sort of to assist you to my family for that continued assignment My organization is doing. SEO for Financial Advisors


how to buy twitter followers Prepare even more article content on this subject niche you now have a truly great suggestion that will persuade writters. how to get more soundcloud plays

Is the DataSource failing to

Is the DataSource failing to connect to your Oracle database? Are there any exceptions logged by the application? Or is the query simply running, but not returning the expected result? Some of these questions can be answered by looking at the log files or by the Soothing Walls. I had similar problems but all are solved.

There are numerous

There are numerous dissertation web sites fanduel promo on the web as you acquire seemingly noted in the internet site.

Great tips and very easy to

Great tips and very easy to understand. This will definitely be very useful for me when I get a chance to start my blog. buy phen24

My partner and i in fact

My partner and i in fact understand your internet site regarding doing tests additionally My partner and i in fact currently arrive at sense consequently invited. My partner and i in fact were accessible a job to try the to your specific making venture additionally Photo steering clear of these. Possibly currently, alongside the attitude you truly blessed folks, I am going to give it a shot. Jual Laptop Murah

Your answer tells me

Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking.


Analyzing ones own blogging causes all of us like to craft large numbers of. Used to do an important which is relatively shocked through. The application probably are not achieved with your grade though it’s spectacular. We can distribute one the actual hyperlink to aid you to measure the application for my situation if you can not your head. Google Trader Software Review

I understand this column. I

I understand this column. I realize You put a many of struggle to found this story. I admire your process. Escort Calama

Your blogs further more each

Your blogs further more each else volume is so entertaining further serviceable It appoints me befall retreat encore. I will instantly grab your rss feed to stay informed of any updates. Escort Calama

Below you will understand

Below you will understand what is important, the idea provides one of the links with an exciting site: Escort Serena

It is somewhat fantastic, and

It is somewhat fantastic, and yet check out the advice at this treat. Escort iquique

For many people this is the

For many people this is the best solution here see how to do it. Lovetraction Lines Review

On my website you'll see

On my website you'll see similar texts, write what you think. Tree Pruning Bronx


conceive a girl Phenomenal and extremely energizing site. Adoration to watch. Continue Rocking.

Find the best essays on

Find the best essays on is my friend's profile page. Vintage Rug

I simply want to tell you

I simply want to tell you that I am new to weblog and definitely liked this blog site. Very likely I’m going to bookmark your blog . You absolutely have wonderful stories. Cheers for sharing with us your blog. exotic shorthair for sale

This is exciting,

This is exciting, nevertheless it is vital for you to visit this specific url: funny bow ties

Basically experienced another

Basically experienced another person create me personally order dissertation info here as well as We publish this within course because my very own might which be looked at cheating? If that's the case, after that exactly why is this that after all of us purchase these types of documents through composition composing providers it's alright? The actual club ought to be arranged in the exact same regular.


Creehack is a hack tool for android application which is similar to Freedom APK but the difference and the good thing about this app is that, this creehack app doesn’t require root access permissions. This application can be used to get unlimited in-app purchases for free on your Android device. With the help of this application, you can purchase all the gems, coins, lives, levels for free. This app contains an in-built free card and this can be used on the Google play store. Creehack apk download

I propose merely very good

I propose merely very good along with reputable data, consequently visualize it:

These you will then see the

These you will then see the most important thing, the application provides you a website a powerful important internet page: Vintage Rugs

On this subject internet

On this subject internet page, you'll see my best information, be sure to look over this level of detail. Miami Toilets

problems with my contexts in samba

Good afternoon,

I can not find where to create a new question so that I do here. If I have to run to another place I will fast.

my problem is as follows:
We have 2 servers suse 11 with a tomcat 5.5 instance on each. They work normally. At node 01 have installed a samba with 2 Filesystems (/ COMMON / DOC_REPOS) mounted locally that are synchronized with the node 02. Filesystem in / COMMON we shared contexts that use multiple applications that have installed. Specifically, we will discuss the docs.xml, styles.xml and images.xml. The problem arises when an application re-deployed in the two instances. the file is copied. war in both instances and disappear at node 02 three contexts mentioned above.
Can anyone throw some light, please?
I guess it is related to the samba but not sure.
thank you very much in advance.


Post new comment

This question is for testing whether you are a human visitor and to prevent automated spam submissions.