Re: XML configuration file..

2002-04-21 Thread Vincenzo Marchese
you can try using an URL for your configuration file storing the xml file in your webapp/yourapp directory. InputSource sn = new InputSource("http://server/yourapp/AccessInfo.xml";); You can also limit the access to the file using standard protection methods. Another way to access you file is

Re: ISAPI_REDIRECTOR.DLL problem: "Error 500"

2002-04-21 Thread Markus Colombo
Hi, Here are some additional hints for running Tomcat 4.03 with IIS5 on W2k: -I used jakarta-redirector.dll from: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/win32/ (Don't download it with Netscape) -Make sure the registry key matches the name (was jakarta-redirect.dl

Tomcat and XSLT transformations

2002-04-21 Thread cyril vidal
Hy, Does Tomcat 4.0.1 assume some xslt transformations by default? I've put the following .jar files (xalanservlet.jar, xalan.jar,xercesImpl.jar, xml-apis.jar, xsltc.jar) in C:\tomcat\lib, as written in thedoc of tomcat, so that these files may be shared by all the applications.But it doesn't

RE: Is Tomcat/MySQL suitable to deploy as a production platform under Windows 2000 Pro?

2002-04-21 Thread Lee Chin Khiong
I think Tomcat doesn't have a detail document regarding how to deploy or rather the architecture of the system that's why there are so many questions been ask. -Original Message- From: David Lu [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 12:49 PM To: Tomcat Users List Subjec

Re: Security

2002-04-21 Thread Aditya
Vladimir, On Mon, Apr 22, 2002 at 03:11:09PM +0900, Joel Rees wrote: > Vladimir Vanyukov asked > > I have seen this question here many times and have seen many answers but > > most of them never really ANSWERED the question. So I figured I'd ask > > one more time. Is there anyway to programmatica

Re: Security

2002-04-21 Thread Joel Rees
Vladimir Vanyukov asked > I have seen this question here many times and have seen many answers but > most of them never really ANSWERED the question. So I figured I'd ask > one more time. Is there anyway to programmatically authenticate users? Is there any way for a computer to recognize the pe

Re: Html/jpg from db to client?

2002-04-21 Thread john-paul delaney
On Mon, 22 Apr 2002, Nikola Milutinovic wrote: Thanks Nix... then I'm thinking I need three servlets to handle for each page sent to the client... 1. Write the html header, 2. Get image from db and send the image, 3.Add in dimensions to & add the footer. Is this correct? regards /j-p. >

Re: Security

2002-04-21 Thread Trevor Nielsen
There are so many ways to accomplish this depending upon what kind of browser/client sofware your users are using, and how mickey-mouse a solution you are prepared to use : 1. As long as you know that your users have a browser that supports cookies (and this is now a security risk on the c

Re: Is Tomcat/MySQL suitable to deploy as a production platform under Windows 2000 Pro?

2002-04-21 Thread Joel Rees
David Lu commented: > presumably your current configuration is not java based, so > the largest cost of moving to tomcat/mysql would be development. > unless your site is very simple, chances are the development > cost will overshadow any savings you may realize from software > licenses. Very tr

Re: Html/jpg from db to client?

2002-04-21 Thread john-paul delaney
On Sun, 21 Apr 2002, Jeffrey Bonevich wrote: Thanks Jeff... I'll try this out - following your suggestion, I was thinking to put the dimensions of the image (jpg) in the database too and to retrieve it along with the image - the html will be a combination of includes and dynamic written by the

Re: Html/jpg from db to client?

2002-04-21 Thread Nikola Milutinovic
> Hello List... > > Using a servlet, I retrieve an image from a database, but I want to send it in > a formatted html page to the client... any suggestions on how to approach > this (combining html and streaming images) appreciated. If you wish to send BOTH html and the image in the same i

Security

2002-04-21 Thread Vladimir Vanyukov
I have seen this question here many times and have seen many answers but most of them never really ANSWERED the question. So I figured I'd ask one more time. Is there anyway to programmatically authenticate users? Example: If I have s simple username/password form somewhere on an unprotected page

Re: Is Tomcat/MySQL suitable to deploy as a production platform under Windows 2000 Pro?

2002-04-21 Thread David Lu
presumably your current configuration is not java based, so the largest cost of moving to tomcat/mysql would be development. unless your site is very simple, chances are the development cost will overshadow any savings you may realize from software licenses. On 2002.04.21 03:52 Adrian Beech wro

Re: ISAPI_REDIRECTOR.DLL problem: "Error 500"

2002-04-21 Thread george moudry
for anyone having problems with ISAPI_REDIRECTOR.DLL in Tomcat4: As I wrote before, IIS5 + isapi_redirect.dll + Tomcat 4.0.3 was failing. Now I installed Tomcat3.3 from source alongside Tomcat4.0, pointed IIS at the old version of isapi/tomcat, and everything is miraculously working fine. /geor

Re: Tomcat 4 + Apache 2 + mod_webapp HOWTO

2002-04-21 Thread bwinders
What is the attachment part 1.3 suppose to contain? All I'm seeing in the file is unsubscribe information: -- To unsubscribe: For additional commands: Troubles with the list: If there is suppose to be something

Tomcat 4 + Apache 2 + mod_webapp HOWTO

2002-04-21 Thread Jeffrey Bonevich
Hey all! Just wanted to post this brief bit o' documentation to the list for future users running into the same quagmire (or at least until mod_webapp/connectors under Apach 2 get straightened out). Much thanx to Georg Huettenegger <[EMAIL PROTECTED]> and Emil Olovsson <[EMAIL PROTECTED]> for

SSL and no SSL

2002-04-21 Thread Oki DZ
Hi, I'd like to setup my Tomcat (4.x) so that the requests for a particular context from outside would be served via SSL, and the ones from inside by regular HTTP. What should I do? Having two engines? Having two services? Thanks in advance, Oki -- To unsubscribe:

Problems with struts under Tomcat 4 + Apache 2 + mod_webapp

2002-04-21 Thread Jeffrey Bonevich
Anyone else who has got Tomcat 4 integrated with Apache 2 with mod_webapp and are using Struts out there? Does this sound familiar at all? Let me know (this was cross-posted on struts-user BTW): I have successfully integrated Tomcat 4.0.3 and Apache 2.0.35 using the mod_webapp WARP module.

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-21 Thread Jeffrey Bonevich
I plan on submitting my 'experiences' to tomcat-dev - the things we all have figured out collectively to get Tomcat 4 and Apache 2 and mod_webapp working. Still trying to figure out why my struts-based webapps won't work when everything else will. Also, the warning does go away if I remove th

Re: Html/jpg from db to client?

2002-04-21 Thread Jeffrey Bonevich
Yes, make the image element's src attribute a call to a servlet that just streams out the image. So for example, in your HTML page you have: http://mydomain.com/mywebapp/imagestreamservlet?imageID=xxx";> Then the 'imagestreamservlet' does the image lookup and streams it out to the response wr

problems with XSLT transformations

2002-04-21 Thread cyril vidal
Hy, I'm under Tomcat 4.0.1 and I would like this server to execute some xslt transformations. My class begin with the following import: Unfortunelately, I get the following exception: type Exception report message Internal Server Error description The server encountered an internal error (In

Html/jpg from db to client?

2002-04-21 Thread john-paul delaney
Hello List... Using a servlet, I retrieve an image from a database, but I want to send it in a formatted html page to the client... any suggestions on how to approach this (combining html and streaming images) appreciated. thanks /j-p. --- JUSTATEST Art Online www.just

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-21 Thread Georg Huettenegger
hi, i think you should forward your information to the developer. about your warning: i am assuming that removing -dlopen will make the warning go away (but i am not quite sure about that). bye, georg On Sun, 21 Apr 2002, Jeffrey Bonevich wrote: > Excellent point, Georg. I am a bit rusty on

Server Security

2002-04-21 Thread Rupert Young
Hi, I'm new to all this and am a bit concerned about security. I have Apache 1.3, Tomcat 4 on win2k. I have a firewal (Sygate412) which I have set to allow all on port 80. Is this the correct thing to do or am I leaving myself open to attack ? Regards, Rupert Young -- To unsubscribe:

JSESSIONID disappearing when doing special mod_rewite commands?

2002-04-21 Thread Liam Morley
After looking through the Apache documentation on mod_rewrite and mod_proxy, I have tried the following: RewriteRule ^/cocoon/(.*)$ http://localhost:8080/cocoon/$1 [P,L] ProxyPassReverse /cocoon/ http://localhost:8080/cocoon/ That was successful. When I tried shortening this a bit to the followi

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-21 Thread Jeffrey Bonevich
Excellent point, Georg. I am a bit rusty on working with C/C++ compilation. Here is my attempt at getting the proper linking in of libwebapp: /usr/local/apache2/build/libtool --silent --mode=link gcc -shared -o mod_webapp.so -rpath /usr/local/apache2/modules -module -avoid-version -I../incl

Is Tomcat/MySQL suitable to deploy as a production platform under Windows 2000 Pro?

2002-04-21 Thread Adrian Beech
Hi folks, Is Tomcat/MySQL stable enough to deploy as a production platform under Windows 2000 Pro? I'm looking for a suitable platform to publish data driven web pages in a local Intranet environment. At present we are using PWS/MS Access under Windows 95. I'd like to move onto something whic

Is Tomcat/MySQL a suitable combination in a production environment under Windows 2000 Pro?

2002-04-21 Thread Adrian Beech
Hi folks, Is Tomcat/MySQL stable enough to deploy as a production platform under Windows 2000 Pro? I'm looking for a suitable platform to publish data driven web pages in a local Intranet environment. At present we are using PWS/MS Access under Windows 95. I'd like to move onto something w

Re: Apache 2.0.35, tomcat 4.0.3 and mod_webapp

2002-04-21 Thread Georg Huettenegger
hi, it does make a difference whether one puts libwebapp.so into the lib or the modules directory. nevertheless it is quite clear why putting libwebapp.so into modules does work for me and others: the line that is used to link mod_webapp.so includes the rpath statement telling the module where to