-----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

Reply via email to