Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

[q] apps initialization order in Tomcat

Thread view: 
Sergey Polzunov - 24 Jul 2007 11:49 GMT
Hi

    I suppose it is common question, but one more time :) How I can
specify application initialization order in Tomcat? Seems like it is
alphabetical order now. Is there any way to do it in configs and
withour file-renaming (01xxx.xml, 02yyy.xml etc)?

thanks
Manish Pandit - 24 Jul 2007 18:20 GMT
> Hi
>
[quoted text clipped - 4 lines]
>
> thanks

Is there a particular reason you'd want them to be initialized in an
order? The webapps are supposed to be tied to their own context,
instead of being dependent on each other.

-cheers,
Manish
Lew - 24 Jul 2007 23:54 GMT
Sergey Polzunov wrote:
>>      I suppose it is common question, but one more time :)

This might be the only time it's ever been asked.

>> How I can specify application initialization order in Tomcat? Seems like it is
>> alphabetical order now. Is there any way to do it in configs and
>> withour file-renaming (01xxx.xml, 02yyy.xml etc)?

So far I have never heard of such a capability in Tomcat.

> Is there a particular reason you'd want them to be initialized in an
> order? The webapps are supposed to be tied to their own context,
> instead of being dependent on each other.

Tomcat handles servlets and JSPs only.  Multiple web apps cooperating are
known as an "Enterprise Application", handled on full JEE app servers like
Glassfish, WebSphere or JBoss.  I do not know if an enterprise app can specify
the load order of its components, but it shouldn't matter anyway - such an app
isn't loaded until all its cooperating web apps are loaded.

Signature

Lew



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.