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/22/15 11:52 PM, Terry Medearis wrote: > 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? Sorry, I'm not en expert in embedded use of Tomcat. Maybe my reply will get this back on someone else's radar? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUy703AAoJEBzwKT+lPKRYqa4QAI3PePCGnPVEUDOgsHP/Bo6x Tkwmezdq3+XyZM8+Y+oIty+NH7MOMy6NrLsgla436yf6+zrkHXzY2x8y2iIZ7e0L MdHeVyZ+0Blf8lcPI8t4FGjrD7ZROADG3TIqVFIRawLUb9eWeG+be1A6cGqSK3Cd WKl2i7uoD5kMruuTnXvlrR+aays2H090Horg+XHCexqsD+o56kYy//fzj6w+uuqC YT/SHVv5Qv/WnCt/A4BH1QAJh/9N05qt/Yew6hvFXfGpl+l+nZOCjxwXksjqgMtD t5yiZQQzO3F/8HJkTU+OZUv2wBYVamhzeWOofLxStdze3791jT+KaO+Dyiq5qB98 Qu7pL8z86V8p0JF5Lv60N+9hDMiLbioWNeypsQ72DWP5kfmjucbjCNXSDKpso/Cn HDiRcBcVMKiKAPnUcCl1o7b02vO0H7LXZ+cHgcMsgp8fuKQ/tfMKeVfShZhq9GJS rciCZyvbjadgTtsixol8qZcllDyk0p/zZjuLGdHOKKe71B3ePjAuCPXriLHEsKBV cQusvcD47fjN4H7ul1iJPgI+GU6+jw7ccXaoW5WOjKo9DLBQXpXmLMswA+XNIMtE FGE9GBIG/SFsKBmGp3X06Bep5E73alBxVfLzEzTMGFdM/mSdobYCGvuGdWdlVkqC nvNbPzdjmcB8/FsInCMJ =qHoW -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: org.apache.catalina.startup.Catalina.process(args)... method in Tomcat 6 but not 7 nor 8
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 To: Tomcat Users List 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 To: Tomcat Users List 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
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 To: Tomcat Users List 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
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
org.apache.catalina.startup.Catalina.process(args)... method in Tomcat 6 but not 7 nor 8
Greetings,I have inherited code that calls: org.apache.catalina.startup.Catalina.process(args). 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. Thank You, Terry Medearis