tobiasbayer
tobiasbayer

Reputation: 10379

Run Tomcat from Java Web Start

Is it possible to distribute Tomcat by Java Web Start and run it from there?

My application shall run within its own Tomcat server on the machine it is deployed on. Can I package Tomcat and the client application into one Java Web Start archive and run the Tomcat server and the client once the user has downloaded the Java Web Start archive?

Upvotes: 1

Views: 517

Answers (2)

You cannot run a full blown Tomcat as it expects a certain layout in the filesystem and scripts and more.

You can however run an embedded web server in an application where you control it completely. I have done that with Jetty. You might find Howto embed Tomcat 6? interesting.

Upvotes: 2

Gary
Gary

Reputation: 6667

This might be possible if you signed all the jars correctly. But, it seems like this is quite a heavyweight solution. Have you considered doing this with Jetty?

Upvotes: 1

Related Questions