0

My question is simple: is it perfectly safe to have 2 independent Jetty Server instances in one JVM process, listening on different ports with independent URL mappings and SSL/TLS setup? I'm not seeing odd behaviour but before deploying to live, I'd like to get some assurance that what I'm doing is sound. If not, would it be proper to have the same set-up using a single Server instance with somehow separate URL namespaces and security SSL/TLS setup?

Erik Kaplun
  • 33,421
  • 12
  • 92
  • 102

1 Answers1

2

Yes, absolutely. We do this in many unit tests throughout Jetty.

jesse mcconnell
  • 6,874
  • 1
  • 19
  • 32