hi

what are you trying to do exactly ?

If you just need to start one webapp after another one in a precise order,
you need as many Services (+Connector on a different port, + Host) as
webapps.

A.T.





2017-05-31 22:48 GMT+02:00 Hassan Khan <hassankhan...@gmail.com>:

> Hi,
>
> We have the following structure for webapps in tomcat 6.
>
> Tomcat > Webapp > Application 1 >WEB-INF >lib
> Tomcat > Webapp > Application 1 > Application >WEB-INF> lib
>
>
> The  Tomcat > Webapp > Application 1 >WEB-INF >lib gets loaded with
> addwebapp() function..
> but for Tomcat > Webapp > Application 1 > Application >WEB-INF> lib ,  we
> wrote a custom webapploader that extended WebappLoader.
>
> Now we are upgrading to tomcat 8.5....
>
> Wanted to know if any other way to accomplish the same task.
>
> Was working on using the same extended loader .. but the start() function
> has changed to InternalStart() and getting a exception as below:
> Caused by: org.apache.catalina.LifecycleException: An invalid Lifecycle
> transition was attempted ([after_start]) for component
> [WebappLoader[/SandBox/Primar]] in state [STARTING_PREP]
>
>  Any pointer are appreciated.. not that familiar with extending apache
> classes.
>
> Thanks
> Hassan
>
>
>
>
> On Wed, May 31, 2017 at 4:42 PM, Hassan Khan <hassankhan...@gmail.com>
> wrote:
>
> > Hi,
> >
> > We have the following structure for webapp in tomcat 6.
> >
> > Tomcat > Webapp > Application 1 > Application >WEB-INF> lib
> >
> > T
> > he Alpp
> >
> > --
> > Hassan Khan
> >
>
>
>
> --
> Hassan Khan
>

Reply via email to