Chris, Another question... So, I understand that the Tomat class has been introduced, but is there anything in the Catalina class that remains that can be utilized in place of the .process method? Thanks,
Terry From: Terry Medearis <tmedearis80...@yahoo.com.INVALID> To: Tomcat Users List <users@tomcat.apache.org> Sent: Thursday, January 22, 2015 8:54 AM Subject: Re: org.apache.catalina.startup.Catalina.process(args)... method in Tomcat 6 but not 7 nor 8 Chris, Embedded? Yes, I guess that it is. I'm sorry, I've worked with Tomcat in the past, but not much with this application, and I do not understand much about the architecture of this aspect of the application that I have inherited. I will check the Tomcat class and look for the unit tests to which you refer. Thank you very much. Terry From: Christopher Schultz <ch...@christopherschultz.net> To: Tomcat Users List <users@tomcat.apache.org> Sent: Thursday, January 22, 2015 8:03 AM Subject: Re: org.apache.catalina.startup.Catalina.process(args)... method in Tomcat 6 but not 7 nor 8 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Terry, On 1/21/15 5:33 PM, Terry Medearis wrote: > Greetings,I have inherited code that calls: > org.apache.catalina.startup.Catalina.process(args). So... embedded? > I now need to upgrade this code to Tomcat 8. Currently, we are > using Tomcat 6. I have previously upgraded with no problems, but > both Tomcat 7 and 8 do not have the .process method. I can not find > any documentation as to what should be used in place of > .process(args). I have tried: > > - Catalina.load(args) - Catalina.start() > > For both, the application failed with an error stating that the > server could not be contacted. I'm sorry that I can not give more > detail than that. I am counting on the idea that there must be > some replacement for the .process() method that I am just not > comprehending. If you know the replacement for > org.apache.catalina.startup.Catalina.process(args) and could share > it with me, I would be very grateful. You probably want to take a look at the Tomcat class, which has unified ans simplified a lot of the embedded setup for Tomcat. Many of the unit tests use the Tomcat class to construct and launch servers programatically, and so there are a wealth of examples available. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUwRFIAAoJEBzwKT+lPKRY7xcP/RAcGeYA8GUBj+Arsija971V OthIf7SZpWB8/IC+O+ZTCO+kqrGk02zHgGLU36LlB+HEWZgUB1JXYaeiGgSY2jEy TXeQgqvBDbd3FWHxf7HtWeX3FStOYnN2ctIr+bgLi+B4rnhYHflJdiPgAH40B8sr zENTg7U6B65OBKVqXi3DbboEg8WZx/TrcM22YpVjyccTsjHk1YvcoCCimVaH0LIW 4vxseBu4XlZfnXvu24+8fR6uVy51ZTDjvzEQPhsX/T0d5i3SW061vOTduo0DWcJn oVgtRrMJ4MkYl3NqPx5cViplfpKmr3GTH8PrGTKTWVQMMBCtNLaJ0ZhiP4UofRfY Jb44pMMciW4h4QW7aG2FQEm3BOED2+/a5Cv7XQpubwGdF6E/653RgS4J+CX5H9rf pkrbyn7GaH7qRNlr4AIM+YdLgTxOl2LM+9P52rJRxLbzvkDtzz/AS7J2WPPgVHAz C4CYoghbazxk1BtxVgLPobttqFWo5x+4nPF3WuzqztHDJLjlucULfkLWXm0ScpxI qVv4xmtxcK9e44hUAdaIxE8dTxDYcWSItKky42wJS2KGIP76exuambd/OC5aSeCf j7JZ+UHsbhxnf+WaY1jdQ3iXm9W9c615HdV58xTemrQZVGB4EpHG8fEpvZEY7uLD 9JnaSrxNu3oZHq73nrQN =2mm/ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org