Re: EmbededTomcat embeded, addContext

2001-09-21 Thread cmanolache
Hi Johannes, Many thanks for your work ! I'll incorporate your fixes - AFAIK Larry is planning to build RC1 this weekend, I'll make sure everything gets in. Feel free to propose any additional improvements to EmbededTomcat. In case you have problems, remember you can at any

EmbededTomcat embeded, addContext

2001-09-21 Thread Johannes Brodwall
I am continuing with my struggle getting tomcat 3.3 to work embedded, and it seems like I am finally starting to see the light. I saw that my patch for addEndpoint was added, which is good. However, addAjpEdpoint contains the same bug. That InetAddress.toString is a insidious little monster. M

Re: Using EmbededTomcat embeded in another application - addEndpoint

2001-09-19 Thread cmanolache
> The classpaths and classloaders in EmbededTomcat are also used somewhat > insistantly, especially in the initClassLoader method. For example will > initClassLoader try to infer appsCP if it does not exists, but not commonCP. > containerCP, appsCP are not used outside this method.

Using EmbededTomcat embeded in another application - addEndpoint

2001-09-19 Thread Johannes Brodwall
Hi all, I have started looking at how to embed tomcat in other applications using the EmbededTomcat class. After fighting with the classpath and classloaders I seem to get it to work. Along the way, I discovered that the addEndpoint method seems to be broken. When calling tomcat.addEndpoint

EmbededTomcat issues (was lots different subjects...)

2000-12-20 Thread Marc Saegesser
mcat class into EmbededTomcat.java and post the diffs. Here are the two posts I made a while back. I hope this is useful. -- Sent 11/27/00 to TOMCAT-USERS I'm beating my head against a wall with EmbededTomcat and I'm hoping someone here can help me o

[BUG] setDebug in EmbededTomcat

2000-11-29 Thread Stefán F. Stefánsson
This is probably one of the strangest things I've seen so far! I'm working with EmbededTomcat and I have integrated it into our server application. I wanted to get some more information about what the web server was doing so I changed the setDebug(0) to setDebug(10). This resulted

Re: [PATCH] Bug 404 - EmbededTomcat and PoolTcpConnector

2000-11-17 Thread Craig R. McClanahan
Stefán F. Stefánsson wrote: > Here is a patch for bug report 404. Stefán, Thanks for the patch! I've committed this fix, basically along the lines of what you proposed with a couple of tweaks that seemed to be missing. Please try it out (the fix will be included in beta-8 to be created on Mon

[PATCH] Bug 404 - EmbededTomcat and PoolTcpConnector

2000-11-17 Thread Stefán F. Stefánsson
Here is a patch for bug report 404. It's about the addSecureEndpoint method not working. <> <> Stefan Freyr Stefansson Software Developer deCODE Genetics, Inc. Phone: (+354) 570 2854 GSM: (+354) 861 1718 Fax: (+354) 491 3782 <> EmbededTom

[PATCH] EmbededTomcat addSecureEndpoint(...)

2000-11-02 Thread Stefán F. Stefánsson
ation into consideration. Finally, there was no support for dynamic server socket factories in EmbededTomcat. So what I did was overload the fuction addSecureEndpoint so that it could take the clientauth String in order to know if client authentication is needed and the socketfactory String to be a

RE: java.security.policy problems with EmbededTomcat

2000-11-01 Thread Stefán F. Stefánsson
DK and not Tomcat... of course... ;o) Regards, Stefan. -Original Message- From: Stefán F. Stefánsson [mailto:[EMAIL PROTECTED]] Sent: 30. október 2000 11:52 To: Tomcat-Dev Subject: java.security.policy problems with EmbededTomcat Hi. I'm having HUGE problems with EmbededTomcat

Re: java.security.policy problems with EmbededTomcat

2000-10-31 Thread Nick Betteridge
Aren't you mixing up windows and unix - it's either C:\..windows or /unix Stefán F. Stefánsson wrote: > > Hi. > > I'm having HUGE problems with EmbededTomcat and the Java 2 security > manager. > > I'm trying to start up Tomcat through the Embeded

java.security.policy problems with EmbededTomcat

2000-10-30 Thread Stefán F. Stefánsson
Hi. I'm having HUGE problems with EmbededTomcat and the Java 2 security manager. I'm trying to start up Tomcat through the EmbededTomcat class and adding one context for the root. Here is the code I'm using: try { EmbededTomcat tc=new EmbededTomcat(); tc

RE: EmbededTomcat problem.. this is weird!

2000-10-26 Thread Stefán Freyr Stefánsson
Dont mind the different paths in the code and the error message... it was just one of my attempts to try to fix this... the original code (which produced the error message you see in this letter did look like this: public static void main(String[] args) { try { EmbededTomcat tc

EmbededTomcat problem.. this is weird!

2000-10-26 Thread Stefán Freyr Stefánsson
Hello. I've been trying to get EmbededTomcat to work by running it up in a small main function in a class. The code I'm using looks like this: public static void main(String[] args) { try { EmbededTomcat tc=new EmbededTomcat(); tc.setWorkDir( "c:/work

EmbededTomcat

2000-10-20 Thread Stefán Freyr Stefánsson
I'd like some information on this class please... Does it absolutely replace the server.xml file or can it co-exist with it? I need to integrate a web server which opens up a SSL connection on port 443. What would be my best (and most secure) bet? Can anyone answer this because I've been lookin