RE: Servlet Chaining...

2001-04-05 Thread Varela Santoalla, Daniel

Servlet1 doesn't have to output anything to the standard PrintWriter in your
case. You could conditionally output to a buffer and then handle this buffer
to servlet2. Maybe some custom object inheriting from Response passed as
Request attribute... I assume that you ALSO want servlet1 to be able to
directly output XML to clients... don't you?

A better solution would be to have an independent component that could be
called from servlet1 and servlet2.

> -Mensaje original-
> De:   Gaël Oberson [SMTP:[EMAIL PROTECTED]]
> Enviado el:   jueves 5 de abril de 2001 18:05
> Para: [EMAIL PROTECTED]
> Asunto:   RE: Servlet Chaining...
> 
> 
> 
>   [Gaël Oberson] >  I think HttpServletRequest inherits
> getRequestDispatcher(..) from ServletRequest class and does implement it.
> [Gaël Oberson] >  You can also get the RequestDispatcher object from
> ServletContext
> 
>
> 
>   Yes, you're right, but it's not what I want to do. the forward
> method sends the request and response objects to another servlet or jsp,
> and the response is entierely created by the second servlet.
> 
>   The incude method "concatenates" the ouput from servlet 1 & servlet
> 2 in the same response object.
> 
>   But, in my case, the servlet 1 generates dynamic XML from a
> database, and the servlet 2 (Cocoon) generates HTML FROM servlet1's XML
> data...
> 
>   Do you see what I mean? The data is processed twice! 
> 
>   Ok. And now how to do that
> 
>   The first that can provide me a working solution wins a beer...
> 
>
> 
>   Thx.
> 
>
> 



RE: Adding modules

2001-04-25 Thread Varela Santoalla, Daniel

What module are you trying to load? A native or Java one? Who uses it,
Apache or Tomcat?
It isn't very clear...

> -Mensaje original-
> De:   Manuel Melle Ocariz [SMTP:[EMAIL PROTECTED]]
> Enviado el:   miércoles 25 de abril de 2001 11:03
> Para: [EMAIL PROTECTED]
> Asunto:   Adding modules
> 
> Hi there,
> 
> I m an Apache Web/Jserv user trying to migrate to Tomcat. I already have
> Tomcat running on my system, but I use a database that requires a special
> module to be loaded on the server. With Apache this was easy, I just had
> to add the following portion of code to the httpd.conf file:
> 
> LoadModule  ino_module modules/ApacheModuleIno.dll
> 
> If possible, what is the way of doing that in Tomcat?
> 
> Thanks and regards,
> 
> Manuel Melle Ocáriz
> Software AG - E-Business Competence Center
> [EMAIL PROTECTED]
> 



RE: How is your knowledge on TomCat??????

2001-05-03 Thread Varela Santoalla, Daniel

Could be that nobody here is using Tomcat with Netware?  ;-)


> -Mensaje original-
> De:   Magnus Jansson [SMTP:[EMAIL PROTECTED]]
> Enviado el:   jueves 3 de mayo de 2001 14:58
> Para: <
> Asunto:   How is your knowledge on TomCat??
> 
> I have sent three questions on how to get tomcat running on NetWare, I
> havent even got one single answer on how to do it or not even any ideas. 
> 
> Cant you anything about TomCat, now have I give up though Novell Portal
> Services is running on Apache and TomCat.
> 
> All I want is a startscript but nooo.



RE: Add logic to session tracking?

2001-05-16 Thread Varela Santoalla, Daniel

You can get this with Apache configuration, so that every Apache instance
forward the request to the correct Tomcat engine that can be his or another
Apache's engine, the owner of the session.

HTH



> -Mensaje original-
> De:   David M. Rosner [SMTP:[EMAIL PROTECTED]]
> Enviado el:   martes 15 de mayo de 2001 22:26
> Para: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Asunto:   Add logic to session tracking?
> 
> Hello All,
> 
> As a developer using Tomcat, is there anyway to override or add logic to 
> parts of Tomcat's session tracking/setting mechanisms? Or do I need to get
> 
> my hands on the source code, make changes, and then recompile?
> 
> Basically I want to add my own session tracking ALONG with Tomcat's so
> that 
> my network load balancer can use the values to create sticky sessions.
> 
> Thanks
> 
> 



RE: mod_jk on Tru64 kills Apache

2001-02-12 Thread Varela Santoalla, Daniel

Are you sure mod_jk.so is linking with libpthreads.so library?
I don't remember which is the name in Tru64 (libpthreads.so or
libpthread.so).

You can check with "ldd mod_jk.so" or equivalent.

If not, you should have to alter the Makefile.

I've not built mod_jk in Tru64, but the error you're telling seems to mean
that.

HTH

> -Mensaje original-
> De:   Willy Skjaveland [SMTP:[EMAIL PROTECTED]]
> Enviado el:   lunes 12 de febrero de 2001 8:41
> Para: '[EMAIL PROTECTED]'
> CC:   '[EMAIL PROTECTED]'
> Asunto:   RE: mod_jk on Tru64 kills Apache
> 
> 
> I have problems with mod_jk - and get error message already when running
> "apachectl configtest": 
> Syntax error on line 8 of /usr/apache/tomcat/conf/mod_jk.conf-auto: 
> Cannot load /usr/apache/libexec/mod_jk.so into server: 
> Unresolved symbol in /usr/apache/libexec/mod_jk.so:
> __pthread_mutex_destroy 
> 
> I've given up mod_jk and will try mod_jserv. 
> (Digital Unix 4.0D) 
> 
> 
> -Original Message- 
> From: Bill Antoniadis [ ] 
> Sent: None 
> To: [EMAIL PROTECTED] 
> Subject: Re: mod_jk on Tru64 kills Apache 
> 
> 
> Thanks Willy, 
> 
> apachectl configtest reports "Syntax OK"  
> 
> Regards, 
> Bill Antoniadis 
> 
> > 
> > --_=_NextPart_001_01C092AD.759A0700 
> > Content-Type: text/plain 
> > 
> > 
> > Try "apachectl configtest" 
> > 
> > -Original Message- 
> > From: Bill Antoniadis [ ] 
> > Sent: None 
> > To: [EMAIL PROTECTED] 
> > Subject: mod_jk on Tru64 kills Apache 
> > 
> > 
> > Hello, 
> > 
> > I have successfully compiled mod_jk.so on a Tru64 v4.0D box for Apache 
> > 1.3.17 
> > but loading the module seems to "kill" Apache without any error
> messages. 
> > In fact, Apache reports that it has started but there is no .pid file
> and 
> > indeed no process for it running on my system.  
> > 
> > I have seen two more postings on this in the archive but no responses.
> Has 
> > anyone successfully loaded mod_jk.so on Tru64? 
> > 
> > Many regards, 
> > Bill Antoniadis 
> > 
> > - 
> > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > For additional commands, email: [EMAIL PROTECTED] 
> > 
> > --_=_NextPart_001_01C092AD.759A0700 
> > Content-Type: text/html 
> > 
> >  
> >  
> >  
> >  
> > 
> 
> > RE: mod_jk on Tru64 kills Apache 
> >  
> >  
> >  
> > 
> > Try "apachectl configtest" 
> >  
> > 
> > -Original Message- 
> > From: Bill Antoniadis [mailto:[EMAIL PROTECTED]>">
> ]
> 
> > Sent: None 
> > To: [EMAIL PROTECTED] 
> > Subject: mod_jk on Tru64 kills Apache 
> >  
> >  
> > 
> > Hello, 
> >  
> > 
> > I have successfully compiled mod_jk.so on a Tru64 v4.0D
> box for Apache 1.3.17 
> > but loading the module seems to "kill" Apache
> without any error messages. 
> > In fact, Apache reports that it has started but there
> is no .pid file and  
> > indeed no process for it running on my system. 
>  
> >  
> > 
> > I have seen two more postings on this in the archive but
> no responses.  Has 
> > anyone successfully loaded mod_jk.so on Tru64? 
> >  
> > 
> > Many regards, 
> > Bill Antoniadis 
> >  
> > 
> >  SIZE=2>---
> -- 
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED] 
> > For additional commands, email:
> [EMAIL PROTECTED] 
> >  
> > 
> >  
> >  
> > --_=_NextPart_001_01C092AD.759A0700-- 
> > 
> 
> 
> - 
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, email: [EMAIL PROTECTED] 
> 

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




RE: Syntax of web.xml

2001-02-13 Thread Varela Santoalla, Daniel

You've got the .dtd file in the tomcat/conf directory

> -Mensaje original-
> De:   Jefferson Oliveira Andrade [SMTP:[EMAIL PROTECTED]]
> Enviado el:   martes 13 de febrero de 2001 19:12
> Para: Tomcat-User (E-mail)
> Asunto:   Syntax of web.xml
> 
> Where can I find a reference of the web.xml file for Tomcat 3.2.1?
>  
> Thanks,
> Jefferson.

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




RE: Tomcat Ant and JDK

2001-03-20 Thread Varela Santoalla, Daniel

You should use the a libX11 from the same distribution in which you
are installing JDK. There can be glibc version differences between versions
of the same distribution. Just copy from Slackware 7.1 XFree-libs package,
instead of 7.0.

HTH


> -Mensaje original-
> De:   Juan Alberto Cirez [SMTP:[EMAIL PROTECTED]]
> Enviado el:   martes 20 de marzo de 2001 16:56
> Para: [EMAIL PROTECTED]
> Asunto:   Tomcat Ant and JDK
> Importancia:  Alta
> 
> Hello there to all.
> I have recently complied Tomcat, Ant, and JDK and all went well. I did
> this on a P200 running slackware 7.0 Kernel 2.2.13.
> While building ant I rant into a little problem concerning libX11.so.6.
> Instead of installing all the X11 libs I just copied this file from
> another system running Xwindows. I had to create a link to
> libX11.so.6.2. After doing this all went well and apache, tomcat, ant,
> and JDK are working nicely. This was a test run on a private server so I
> could get more familiar with the whole process. Once I was confident I
> could reproduce the setup on a public server, I tried to do the same
> thing.
> I ran into the same problem with libX11.so.6. This time it was on a
> system running slackware 7.1 and kernel 2.2.18.
> I copied the same library from the Xwindows system (The Xwindows system
> runs slackware 7.0) but go another error instead:
> BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 57: elf_get_dynamic_info:
> Assertion "! "bad dynamic tag"' failed!
> 
> What's going on.
> I tried ant v1.3 and v1.2 and it gives me the same error...Help!!!
> ---
> Juan Alberto Cirez - Chief Creative Officer
> [EMAIL PROTECTED] - [EMAIL PROTECTED]
> 
> -- hip2linux Professional Services, Inc.---
> - Fortalezza VPN/Firewall
> - Commandante Remote Network Management
> - Network Security
> - Intranet & Extranet Management
> ---
> www.hip2linux.com www.micanno.com
> www.dominicanarmy.com www.basementsuite.com
> www.micanno.com  www.fortalezza.com
> ---
>  Sunny and Beautiful Vancouver, Canada.
> ---



RE: native threads under Linux

2001-03-20 Thread Varela Santoalla, Daniel

Threads in Linux appear as processes in "ps" and "top". You surely have 50
threads, not 50 processes.
Anyway, the way the kernel handles both isn't very very different.

Regards

> -Mensaje original-
> De:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Enviado el:   martes 20 de marzo de 2001 17:08
> Para: [EMAIL PROTECTED]
> Asunto:   native threads under Linux
> 
> Hi Folks
> 
> I am running Tomcat-3.3-m2 under Linux. I get about
> 50 java processes when Tomcat is running. The number of
> processes keeps increasing. Is this a bug or I am doing some
> thing wrong.
> 
> Even if those processes do not take up any resources
> they do not look good when you do a "ps".
> 
> Any help or information will be gladly accepted.
> 
> An email to [EMAIL PROTECTED] would be appreciated.
> 
> Thanks
> Joseph Rajkumar
>