Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I automatically load a Web application during OC4J startup?

0
Posted

How do I automatically load a Web application during OC4J startup?

0

You have to set the load-on-startup attibute to “true” in your http-web-site.xml for the tag e.g. In the deployment descriptor for your Web application i.e. web.xml you can specify the priority of the servlets to be loaded e.g. priorityNumber For values >= 0, pre-loading will occur in the specified order. Duplicate values will cause those servlets to be loaded in declaration order. For values < 0, pre-loading will NOT occur. For an empty element, the behavior is as if the element had been specified with Integer.MAX_VALUE. This ensures that these will be pre-loaded AFTER any with values >= 0.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123