Re: Tomcat in a multiuser webhost environment

2002-08-03 Thread Hans Kaiser

Hi,

nobody knows how to solve it, or is it too simple for an answer?

best regards,
Hans

 Hello all!
 
 Is this list a closed one? I tried to post a message to the list, without
 being subscribed, but that failed (I think so, I couldn´t see the mail on
 the
 archives)
 
 I will go on directly to my problems:
 I am running an Apache 1.3.x and I have all my virtual hosts under
 /home/web/host[anyhostnaming]
 Now I need a servlet and a JSP Engine, therefore I want to use the Tomcat
 4.x. But my users should be able to define their own contexts for the
 tomcat.
 So my questions are:
 - how to configure the apache and tomcat to forward all JSP and servlet
 request from apache to tomcat.
 - how should I setup tomcat to make it possible, that only a defined list
 of
 users are able to use jsp/servlet?
 - how to setup tomcat or must I setup the apache (if forwarding the
 servlet/jsp request from apache to tomcat), that users are able to define
 their own
 contexts? Is it a security problem? I thought about something like a
 distributed web.xml in a defined location in the users home dirs.
 - Is it possible to limit the maximum used resources (load, memory )
 of
 tomcat?  Or even better per user basis?
 
 many thanks,
 and best regards,
 Hans
 
 -- 
 GMX - Die Kommunikationsplattform im Internet.
 http://www.gmx.net
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat in a multiuser webhost environment

2002-08-02 Thread Hans Kaiser

Hello all!

Is this list a closed one? I tried to post a message to the list, without
being subscribed, but that failed (I think so, I couldn´t see the mail on
the
archives)

I will go on directly to my problems:
I am running an Apache 1.3.x and I have all my virtual hosts under
/home/web/host[anyhostnaming]
Now I need a servlet and a JSP Engine, therefore I want to use the Tomcat
4.x. But my users should be able to define their own contexts for the
tomcat.
So my questions are:
- how to configure the apache and tomcat to forward all JSP and servlet
request from apache to tomcat.
- how should I setup tomcat to make it possible, that only a defined list of
users are able to use jsp/servlet?
- how to setup tomcat or must I setup the apache (if forwarding the
servlet/jsp request from apache to tomcat), that users are able to define
their own
contexts? Is it a security problem? I thought about something like a
distributed web.xml in a defined location in the users home dirs.
- Is it possible to limit the maximum used resources (load, memory ) of
tomcat?  Or even better per user basis?

many thanks,
and best regards,
Hans

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat 4 Suse 8

2002-08-02 Thread Hans Kaiser

Hi Gunter,

what are the compatibility issues on SuSE 7.2? I have to use SuSE 7.2 and a
actual Tomcat 4.0.x. Could you please explain the problems?

 Gunter D'Hondt wrote:
 Thanks everyone.  I feel better about buying a new Suse now that I know 
 that the tomcat4 compatibility issues with suse 7.2 seem to be gone.

best regards,
Hans

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Problems with Encryption in Servlets

2002-07-30 Thread Hans Kaiser

Hello!

I´m trying to encrypt a XML documnet in an servlet under Tomcat 4.0.3.
The same code runs fine in an separate Application, but trying to use it in
an servlet, I always get following exception:

exception

javax.servlet.ServletException: Servlet execution threw an exception
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:512)



root cause

java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot
set up certs for trusted CAs
at javax.crypto.a.(Unknown Source)
at javax.crypto.Cipher.getInstance(Unknown Source)
at
com.ibm.xml.enc.EncryptionEngine$TripleDESCBC.(EncryptionEngine.java:203)
at
com.ibm.xml.enc.AlgorithmFactoryExtn.getEncryptionEngine(AlgorithmFactoryExtn.java:128)
at
com.ibm.xml.enc.DecryptionContext.getEncryptionEngine(DecryptionContext.java:312)
at com.ibm.xml.enc.DecryptionContext.decrypt(DecryptionContext.java:286)
at
com.tsystems.tests.servlet.HelloWorld.decryptEncryptedData(HelloWorld.java:380)
at
com.tsystems.tests.servlet.HelloWorld.decryptEncryptedData(HelloWorld.java:348)
at com.tsystems.tests.servlet.HelloWorld.doGet(HelloWorld.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at