Well, this is quite a specific question and i'm totaly unexperienced with servlets. I was wondering if it was possible to launch a registry with a servlet. More precisely, a registry from the Java Shared Data Toolkit api which is not a standart part of J2EE.
Therefore, 2 questions:
Is this running registry thing possible? (And create sessions afterwards?)
i've tried to set up a JSDT registry but i only get error after error.
Let's look at this piece of code (nearly all the code!
if (RegistryFactory.registryExists("html") == false)
I've tried to put it into 3 different places:
in the constructor:
=> the "HTTP 500: internal server error." page or a 'NoClassDefFoundError'
in the init(..) method:
=> Can't contact servlet runner at 127.0.0.1:6905
in the doGet(...) method
=> again the "HTTP 500: internal server error." page or a 'NoClassDefFoundError'
In some cases, i also had some 'ServletException's, but i'm not sure in which case exactly they were.
Any idea why these 2 lines are making so much trouble? Is there a way to make these 2 lines work cleanly? Is it even possible to launch a registry via servlets?!
Does anyone know how this works?!?