All of a sudden Catalina can not start.

2004-01-12 Thread Yakov Belov
Dear All, I have Tomcat 4.1.29 and untill today I had no problems with it. Today I decided to restart it (silly me) and Tomcat won't start, but shows the following stack trace: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Re: All of a sudden Catalina can not start.

2004-01-12 Thread Yakov Belov
Dear All, it is me again. The full story is, that I get the stacktrace only if I uncomment the /ROOT context tag in the server.xml file. But if I leave everything as it was, I don't get any exceptions, but also none of my aspplications get installed, which sux. However if I try to manually

RE: Datasource - OK in app context - Fails in Global context

2004-01-12 Thread Altankov Peter
Hi From: Antonio Fiol Bonnin [mailto:[EMAIL PROTECTED] Sent: 11 2004 . 11:39 Subject: Re: Datasource - OK in app context - Fails in Global context So, could someone summarize for me the different ways of creating a JDBC DataSource in Tomcat? I will start the summary, so that it's

Problem with session

2004-01-12 Thread pad
Hi! We use Tomcat 4.1. We developed an application with session support. It works fine on a local machine, but after we had moved it at the server, it started to generate new session after any link hit. Whad did we do wrong? Thanks, Paul

Problem with session

2004-01-12 Thread pad
Hi! We use Tomcat 4.1. We developed an application with session support. It works fine on a local machine, but after we had moved it at the server, it started to generate new session after any link hit. Whad did we do wrong? Thanks, Paul

RE: Problem with session

2004-01-12 Thread akki
might be your server doesnt support cookies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 1:58 PM To: [EMAIL PROTECTED] Subject: Problem with session Hi! We use Tomcat 4.1. We developed an application with session support. It works

Invoking JSPs in batch like environment

2004-01-12 Thread Alexander . Thomas
Hello, I would like to use JSPs in oder to generate textfile like output in a batch program. The idea is to invoke the Servlets which have been gerenated on the basis of the JSPs. Also, the OutputStream of the JSP/Servlet Response class has to be configured and necessary bean instances have to

RE: Problem with session

2004-01-12 Thread pad
It does. We loose session info only hitting links. When we use forms to get to next page, Tomcat doesn't generate new session. -Original Message- From: akki [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:39 AM To: Tomcat Users List Subject: RE: Problem with session

RE: Invoking JSPs in batch like environment

2004-01-12 Thread Ralph Einfeldt
You can alway execute the generated servlet in the context of tomcat. But I can't think of a solution that works just with jasper. (Jasper is just a code generator and no servlet engine) Depending on your needs there are different solutions to achieve this: - Write a programm that requests

Re: Problem with session

2004-01-12 Thread Giuliano Gavazzi
cookies are host specific, so you might have an absolute rather then relative URL in your links and pointing to an alias for the host. Giuliano At 11:27 am +0300 2004/01/12, [EMAIL PROTECTED] wrote: Hi! We use Tomcat 4.1. We developed an application with session support. It works fine on a

AW: Invoking JSPs in batch like environment

2004-01-12 Thread Alexander . Thomas
Hello Ralph, thanks for your help! However I can not use a whole webcontainer and http protocol stack in my batch app... Kindest regards, Alexander Thomas -Ursprüngliche Nachricht- Von: Ralph Einfeldt [SMTP:[EMAIL PROTECTED] Gesendet am: Montag, 12. Januar 2004 10:03 An:

RE: Invoking JSPs in batch like environment

2004-01-12 Thread Ralph Einfeldt
The servlet container has not to be part of the batch job. It's enough if there is a servlet container outside of the job that can be reached from the job. To talk to tomcat you can use HttpClient from the jakarta project. The only other option that I see is to look for a small footprint

it's a bit too much

2004-01-12 Thread Giuliano Gavazzi
Sorry, but I think I will have to leave this list shortly. I am bored of getting two bounces for each message I send to it. Adding to the bogus Symantec Mail Security I now get a bounce for [EMAIL PROTECTED] (User unknown). Adding to this is a volume of over 10MB/month, mainly of unedited

problems with adding Verisign root certificate to keystore

2004-01-12 Thread Jorrit Kronjee
Dear list, I've been browsing to the archives a bit, but I couldn't find what i am looking for, so I'll ask here. Since the expiration of one of the Verisign certificates, the SSL certificate on our Tomcat server is no longer valid. Back then I imported the key and certificate with ImportKey

Re: java.security.AccessControlException

2004-01-12 Thread thuret olivier
yes,thanks :) - Original Message - From: Jeanfrancois Arcand [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 09, 2004 7:26 PM Subject: Re: java.security.AccessControlException thuret olivier wrote: no thanks i see my error i'm a noobie ..

server-status in tomcat

2004-01-12 Thread Olve S. Hansen
I have searched around for a component similar to the server-status mod in Apache httpd, but cannot find anything similar. Does anyone know if such a component exists? I have just ditched the httpd with forwarding to tomcat via mod_jk2, as we experienced some weird behaviour with apache

AW: Invoking JSPs in batch like environment

2004-01-12 Thread Alexander . Thomas
-Ursprüngliche Nachricht- Von: Ralph Einfeldt [SMTP:[EMAIL PROTECTED] Gesendet am: Montag, 12. Januar 2004 10:39 An: Tomcat Users List Betreff: RE: Invoking JSPs in batch like environment The servlet container has not to be part of the batch job. It's enough if there

Re: it's a bit too much

2004-01-12 Thread Thomas Kellerer
Giuliano Gavazzi schrieb: Sorry, but I think I will have to leave this list shortly. I am bored of getting two bounces for each message I send to it. Adding to the bogus Symantec Mail Security I now get a bounce for [EMAIL PROTECTED] (User unknown). Adding to this is a volume of over

IIS/Tomcat 4 Admin and Manager - Can't Connect from IIS

2004-01-12 Thread Emile Coetzee
IIS/Tomcat 4 Admin and Manager - Can't Connect from IIS Tomcat: 4.1.29 Windows 2000 Pro (IIS 5.0) isapi_redirect.dll 1.2.5 JDK 1.4.2_02 I've setup IIS/Tomcat successfully. My webapp mappings are working correctly with IIS as the front end. So I'm happy that everything is working as it should. I

Encoding issues

2004-01-12 Thread K. Harvatis
I run Tomcat 3.2 and it reports unsupported encoding iso-8859-7 when using FORMs. As a result, servlets receive garbage instead of data. Is there a workaround? Kostas Harvatis - National Center for Social Research - Directorate of Research Support www.ekke.gr

Redhat9 / apxs / mod_jk2 build problem.

2004-01-12 Thread James Snelling
I have been trying to compile the mod_jk2.so connector, but having problems. I have the following: O/S - RedHat9.0 Apache2.0.48 installed from source and working standalone on port 80 443 at /usr/local/apache2 jakarta-tomcat-4.1.29 installed and working standalone on port 8080 at

Re: Isapi redirector jk2.02 Installer

2004-01-12 Thread kwirirai
Figured it out it works,I am now running the examples ,but I had to define the tomcat connector in IIS ISAPI filter and ponted the native\i386\isapi_redirector2.dll installation kwirirai wrote: Hi I have tried using the Isapi redirector jk2.02 Installer from

Re: WAS: tomcat 5.0.16 Replication

2004-01-12 Thread jean-philippe . belanger
That sounds good. I'll get the CVS head and check this out. We won't really put much stress on those server for a while, but as long as the behavior is the same. I buy! :) btw: is there a pool config or is it hardcoded for now? Thanks again Filip. Jean-Philippe Belanger Filip Hanik wrote:

Re: server-status in tomcat

2004-01-12 Thread Tim Funk
The manager app will give you status info. -Tim Olve S. Hansen wrote: I have searched around for a component similar to the server-status mod in Apache httpd, but cannot find anything similar. Does anyone know if such a component exists? I have just ditched the httpd with forwarding to tomcat

Re: Redhat9 / apxs / mod_jk2 build problem.

2004-01-12 Thread martin grotzke
On Mon, 2004-01-12 at 13:11, James Snelling wrote: Any help finding a way forward is appreciated, a cannot help you for your specific problem, but i built mod_jk2 two days ago on fedora, and succeeded. perhaps this solves your problem too... you can find the description in the archives,

problem starting tomcat on True64Unix

2004-01-12 Thread Damian Minkov
Reacently we wrote a little web app using hibernate - we run it in tomcat 4.1.29 (using : java1.4.2-1 ) But when we run the application the tomcat throws exception. the code from hibernate which throws exception is : Class persister .. persister..getConstructor. a simple

Re: Isapi redirector jk2.02 Installer

2004-01-12 Thread Martin Sturzenegger
hi, http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html describes how 2 install tomcat 5 on iis 5 on windows2003. i've tried to install tomcat 5 on iis5 on windows2000 servicepack 3 and it failed also. martin -- Urspruengliche Nachricht -- Von: kwirirai

RE: Please help me for jk_nt_service problem

2004-01-12 Thread Larry Isaacs
See the note at the bottom of this page: http://www.apache.org/dist/jakarta/tomcat-3/bin/win32/i386/ Cheers, Larry -Original Message- From: Dreamy Wu [mailto:[EMAIL PROTECTED] Sent: Sunday, January 11, 2004 4:49 AM To: [EMAIL PROTECTED] Subject: Please help me for jk_nt_service

Re: mod_jk2 doesn't create jk2.socket

2004-01-12 Thread Faine, Mark
PS - My preferred way of dealing with Solaris installs has been to get gcc up and running, and then build everything else from source. This can be a pain on a slow box . . . building the latest version of gcc and perl take a while. However, in the end I think the effort is worth it. Check to see

Re: server-status in tomcat

2004-01-12 Thread Olve S. Hansen
Olve S. Hansen wrote: I have searched around for a component similar to the server-status mod in Apache httpd, but cannot find anything similar. Does anyone know if such a component exists? I have just ditched the httpd with forwarding to tomcat via mod_jk2, as we experienced some weird

RE: information on tomcat shutdown port / mechanism

2004-01-12 Thread Shapira, Yoav
Howdy, Sure: see org.apache.catalina.core.StandardServer#await, http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/s hare/org/apache/catalina/core/StandardServer.java?rev=1.24view=markup Yoav Shapira Millennium ChemInformatics -Original Message- From: Rudolf

RE: linking between contexts

2004-01-12 Thread Shapira, Yoav
Howdy, You don't need to do any special configuration for this... Yoav Shapira Millennium ChemInformatics -Original Message- From: Jerald Powel [mailto:[EMAIL PROTECTED] Sent: Sunday, January 11, 2004 5:34 PM To: [EMAIL PROTECTED] Subject: linking between contexts Hi, Relating

RE: Possible to disable session persistence at shutdown?

2004-01-12 Thread Shapira, Yoav
Howdy, Make sure to read the manager configuration reference, it outlines this process in detail. Yoav Shapira Millennium ChemInformatics -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Sunday, January 11, 2004 5:55 PM To: Tomcat Users List Subject: RE: Possible to

RE: Modifying tomcat startup options on Tomcat 5 with Windows .exe

2004-01-12 Thread Allistair Crossley
b) Yes, but the service startup tomcat //UK//Tomcat5 cannot be changed in the service properties. Furthermore, if the service does not use catalina.bat, how am I suppoed to change the JAVA_OPTS parameter for things like profiling the JVM? Cheers!! -Original Message- From: Bill Barker

Re: server-status in tomcat

2004-01-12 Thread Tim Funk
In tomcat 4 - there is not much else. In tomcat5 - (IIRC) the status servlet has more information. If you want even more information - the JMXProxy servlet will tell you anything you need to know about the internals of Tomcat. -Tim Olve S. Hansen wrote: Olve S. Hansen wrote: I have

RE: Datasource - OK in app context - Fails in Global context

2004-01-12 Thread Bruno.Melloni
I am using 5.0, so that should not be a problem. But are you sure the bug is fixed in 5.x? Before this I had the DataSource defined at the application context level, and I had noticed that the application would crash if I redeployed without shutting down, deleting the deployed application

Re: Problems finding my JDBC driver for Oracle

2004-01-12 Thread Luciano Kiniti Issoe
I had trouble once with Oracle 8.1.6 classes12.zip, then when I used 8.1.7, and it worked fine. Another trouble was when trying to use J2SE 1.4 compliant classes with 1.3, so I tried different combinations and then it worked. Hope it helps. miagi - Original Message - From: Nikola

RE: Serialization problems

2004-01-12 Thread Shapira, Yoav
Howdy, You would use constructions like ObjectInputStream ois = new ObjectInputStream(request.getInputStream()); String s = (String) ois.Object(); Or alternatively, to write it out, ObjectOutputStream oos = new ObjectOutputStream(response.getOutpuStream()); oos.writeObject(test string); Where

SQLPLUS and TOMCAT conflict?

2004-01-12 Thread [EMAIL PROTECTED]
Hi All, I earlier did install Tomcat 5.0 but soon found out that i wasnt able to work with SQL PLUS. Everytime i try to login into SQL Plus i get the error message ORA 12571 : Tns packet writer failure. Since i didnt find any effective solution to avoid this problem, I soon had to uninstall the

Re: SQLPLUS and TOMCAT conflict?

2004-01-12 Thread Tim Funk
RTFM. Tomcat and/or apache can be configured on any port. See server.xml and look for the port attribute on the Connector element. -Tim [EMAIL PROTECTED] wrote: Hi All, I earlier did install Tomcat 5.0 but soon found out that i wasnt able to work with SQL PLUS. Everytime i try to login into

Servlet returning blank page and then re-initing every 5 minutes

2004-01-12 Thread Allistair Crossley
I am not sure if this is a Tomcat or Struts or code problem... Every now and again (every 5 minutes or so) my requests to Tomcat are coming back with a blank white page. The logs show the following stack trace where myController is an ActionServlet ... Servlet.service() for servlet

RE: Servlet returning blank page and then re-initing every 5 minutes

2004-01-12 Thread Shapira, Yoav
Howdy, Is your server or webapp being restarted? ;) Is your context reloadable and the class files are changing? Does anyone know what could be going on here? Why is the servlet going down and then having to be revived by subsequent requests to it? Your servlet is not being revived by

Re: SQLPLUS and TOMCAT conflict?

2004-01-12 Thread epyonne
Port 8080 is the default port for many different application. Oracle HTTP server is one of them. Therefore, it is not a good idea to use the default 8080 for your Tomcat installation. You can always change it in the server.xml file yourself. - Original Message - From: [EMAIL

RE: Servlet returning blank page and then re-initing every 5 minutes

2004-01-12 Thread Allistair Crossley
Hi No its not being restarted! Yes it is reloadable and we are compiling often, but I have found that in general it only serves a blank page when a request is made to a class that has been recompiled. OK, I will assume there is nothing untoward here for now! Cheers! -Original

RE: Servlet returning blank page and then re-initing every 5 minutes

2004-01-12 Thread Shapira, Yoav
Howdy, No its not being restarted! Yes it is reloadable and we are compiling often, but I have found that in general it only serves a blank page when a request is made to a class that has been recompiled. So your context is reloadable and you're changing classes often, but the context is not

Taskmanager memory figures vs jvm figures

2004-01-12 Thread Reynir Þór Hübner
Hi, I've been running my apps in profilers for quite some time now, and I must say it's been a good experience. Now I've seen and fixed the leaks in my applications. This small jsp page should display the figures as seen from the JVM: ---8 jsp begins Total: %=

RE: Servlet returning blank page and then re-initing every 5 minutes

2004-01-12 Thread Allistair Crossley
Hi So your context is reloadable and you're changing classes often, but the context is not being restarted? Is that what you're saying? Sometimes yes I believe so. Just compiling new classes with a reloadable context does not make the context reload as far as I can see. What does make the

RE: Servlet returning blank page and then re-initing every 5 minutes

2004-01-12 Thread Shapira, Yoav
Howdy, Thanks Yoav, I will try this out. I also want to solve our Pool Exhausted problem (even though all connections are being closed in the source) and the fact that our Tomcat memory goes up and up and crashes out at 158MB in process memory. I am bundling these issues together as one task!!

RE: Taskmanager memory figures vs jvm figures

2004-01-12 Thread Shapira, Yoav
Howdy, I run my the tomcat service with the parameters -Xmx128m -Xms64m -Xrs, and when I run this page I never see figures above 128mb, but the Task Manager application (in windows) shows over 200mbs in use for the process. And it always seems to increase. What could explain this ? Could there

Re: John Turner or someone who responsible for Posting -- Re: How to Apache2, Tomcat4.1.2, JK2 ?

2004-01-12 Thread Shreehari Manikarnika
Hi, Is this possible? - connecting Tomcat 4 to Apache 2 via mod_jk2 under Linux, in any_of_the_JNI_modes. Any sort of help or even a reference to any available information will be great! Thanks, Shreehari. Technical Yahoo!, Yahoo! Software Development India Pvt. Ltd. -Original

Tomcat 4.1.29: Pool exhausted

2004-01-12 Thread Dmitry Guralnik
My resource params for DataSource: Resource name=jdbc/KDb auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/KDb parameter namefactory/name

How to serve static EXCEL or POWERPOINT files from Tomcat ?

2004-01-12 Thread Enrique MARTIN
Hi, I am trying to serve .xls and .ppt files from tomcat so that the browser opens the right application (excel and powerpoint respectively) . What I obtain instead is that the byte content is sent by the web server and this content is then interpreted as text by the browser. For the .doc

Re: IIS/Tomcat 4 Admin and Manager - Can't Connect from IIS

2004-01-12 Thread hoodworld
Have you check the windows security of the files in your application folder. I encounter similar problem. I think it's IIS problem. Try assigning users Everyone and IUSER_COMPUTER_NAME for right of read. Kenneth - Original Message - From: Emile Coetzee [EMAIL PROTECTED] To: [EMAIL

RE: John Turner or someone who responsible for Posting -- Re: How to Apache2, Tomcat4.1.2, JK2 ?

2004-01-12 Thread Turner, John
Hi - I don't use JK2. Best bet for help is the tomcat-user mailing list, [EMAIL PROTECTED] John -Original Message- From: Shreehari Manikarnika [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 1:58 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]

RE: Servlet returning blank page and then re-initing every 5 minutes

2004-01-12 Thread Allistair Crossley
Well we'd still have to restart on each compile - that is the biggest pain. Reloadable has proven to be very helpful so far and works well. Plus because our code relies on each other's we would still deploy the same compile to both instances! -Original Message- From: Shapira, Yoav

RE: Invoking JSPs in batch like environment

2004-01-12 Thread George Sexton
If you are using UNIX, then wget is the answer. If you are using Windows, you will have to use Windows Scripting Host to create and instance of IE and retrieve the URL. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 1:42 AM To: [EMAIL

RE: Datasource - OK in app context - Fails in Global context

2004-01-12 Thread Keshav Sarin
When I tested 5.0 for auto deployment, the datasource JNDI context was no longer available to the application and a SQLException was thrown in the logs (the app interacts with database on initialization). The application worked fine after the server was restarted. In 4.x, even sever restart

Application Realm with Tomcat 4.1.X / Apache 2 / mod_jk2

2004-01-12 Thread Lázaro Miguel Fung
Hi, I'am porting tomcat with apache 2 from mod_jk to mod_jk2 and I can't make work Realm with mod_jk2. My Realm type is a MemoryUserDataBaseFactory, and the users/pass/roles are in a separated file. The application not recognize the users/pass/roles in the application realm file, if I copy the

Re: Encoding issues

2004-01-12 Thread Howard Watson
That's a greek character set. Is that intentional? [EMAIL PROTECTED] 01/12/04 04:52AM I run Tomcat 3.2 and it reports unsupported encoding iso-8859-7 when using FORMs. As a result, servlets receive garbage instead of data. Is there a workaround? Kostas Harvatis - National Center for

Re: Encoding issues

2004-01-12 Thread Graham Reeds
That's a greek character set. Is that intentional? His email is [EMAIL PROTECTED] so I would guess so. G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Datasource - OK in app context - Fails in Global context

2004-01-12 Thread Bruno.Melloni
Yes, that sounds about right. A manual restart of the server seems to be required, which is what I meant by autodeployment not working. As a matter of fact, although I have not tried it yet, I would not be surprised that a manual deploy to Tomcat would also require a server restart. From

Re: it's a bit too much

2004-01-12 Thread Graham Reeds
Sorry, but I think I will have to leave this list shortly. I am bored of getting two bounces for each message I send to it. Adding to the bogus Symantec Mail Security I now get a bounce for [EMAIL PROTECTED] (User unknown). I just got the bounce as well in addition to the RadTools

Re: How to serve static EXCEL or POWERPOINT files from Tomcat ?

2004-01-12 Thread Vitor Buitoni
Hi, Probably your browser is misconfigured. I don't think this is a tomcat issue. Check the file type associations in your browser and make sure that xls files are configured to be opened by msexcel. Also check the .doc file association, if it is opening properly, it should be configured to be

Jasper: INFO Priority logging of request parameters from JspServlet

2004-01-12 Thread Andrew May
Hi, Using Tomcat 5 I'm seeing INFO log messages from org.apache.jasper.servlet.JspServlet containing request parameters. Having looked at the code I'm not sure that this is deliberate because the logging is done within a if (log.isDebugEnabled()) check. Also, the priority was changed from info

tomcat 5 and oracle 8i

2004-01-12 Thread Jeremy Martinez
I am running tomcat 5 and java 1.4. I am attempting to connect to an oracle 8i database. However, the drivers listed on oracles download site for the jdbc's do not have this combination of tomcat5, java 1.4 and oracle 8i. Has anyone got this combination working? And if so, was there

Re: Isapi redirector jk2.02 Installer

2004-01-12 Thread kwirirai
Download the installer from http://www.shiftomat.com/opensource/ Follow the instructions for installing , in IIS 5 go to ISAPI filters add the tomcat connector and select the native\i386\isapi_redirector2.dll in the tomcat 5 installation Then restart IIS 5 Hope it works Martin

RE: How to serve static EXCEL or POWERPOINT files from Tomcat ?

2004-01-12 Thread Bruno.Melloni
Wouldn't you just have a URL link to the actual files in your HTML? The browser should be smart enough to open up the appropriate application and display it, since it will recognize its extension/mime-type. bruno -Original Message- From: ext Vitor Buitoni [mailto:[EMAIL PROTECTED]

RE: tomcat 5 and oracle 8i

2004-01-12 Thread Reynir Þór Hübner
Hi, I use tomcat 4.1.x with oracle all the time, I don’t think the version of tomcat matters, as there should not be any conflicts between libraries in tomcat and the driver. Just get the driver for j2sdk 1.4 and oracle 8i, the only special thing you need to do, is use the Thin driver, and then

RE: tomcat 5 and oracle 8i

2004-01-12 Thread Bruno.Melloni
I am using JDK1.4.2_03, and the oracle drivers ojdbc14.jar. No problems. -Original Message- From: ext Jeremy Martinez [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 10:29 AM To: [EMAIL PROTECTED] Subject: tomcat 5 and oracle 8i I am running tomcat 5 and java 1.4. I am

Re: it's a bit too much

2004-01-12 Thread Giuliano Gavazzi
Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] At 3:44 pm + 2004/01/12, Graham Reeds wrote: Sorry, but I think I will have to leave this list shortly. I am bored of getting two bounces for each message I send to it. Adding to the bogus Symantec Mail Security I now get a bounce for

RE: How to serve static EXCEL or POWERPOINT files from Tomcat ?

2004-01-12 Thread Reynir Þór Hübner
Hi, Just add a mime mapping into tomcat/conf/web.xml mime-mapping extensionxls/extension mime-typeapplication/msexcel/mime-type /mime-mapping mime-mapping extensionppt/extension mime-typeapplication/powerpnt/mime-type /mime-mapping Restart tomcat...

Re: How to serve static EXCEL or POWERPOINT files from Tomcat ?

2004-01-12 Thread Daniel Gibby
However, If tomcat is serving the content, the correct headers must be sent, especially if it is being sent through a servlet. If it is really a static file, you should do as was mentioned, but if you are sending it through a servlet, you will need to set the appropriate Content-Type header,

Two Connection pools - Tomcat 4.1.29- Please help!!

2004-01-12 Thread GuptaD
Hi, I was wondering that is it possible at all to create 2 pools of connections which are to be used by the same application. I tried to do someyhing like this in server.xml but the second one doesn't work: - it's giving me following error for second one --Cannot create

Re: Redhat9 / apxs / mod_jk2 build problem.

2004-01-12 Thread Mark Eggers
James, I don't know about jakarta-tomcat-connectors-jk2-src-current.tar.gz, but the latest CVS snapshot has some problems during make. It appears to be an issue with the configure scripts (actually multiple issues) that need to be addressed. The best bet is to use the 2.0.2 source and compile

OpenSource / Free Profilers to use with Tomcat

2004-01-12 Thread Allistair Crossley
Hi Guys, I hope you dont mind me asking if there are any free/opensource profilers out there that are quite good and offer the same type of features as JProfiler et al that I can use to profile tomcat 5? Many thanks, ADC FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE

RE: Encoding issues

2004-01-12 Thread Altankov Peter
I used to have similar problems with windows-1251 cyrylic codeapge and I solved it by creating a siple filter, mapped to all request that explicitly sets the encoding of the request before any1 else gets the request: request.setCharacterEncoding(windows-1251); I think this happens

OT?:Can't include .js file on jsp page controlled by front contro ller servlet

2004-01-12 Thread Januski, Ken
I may be getting in over my head here as I'm really not all that familiar with patterns. And I'm not sure that the pattern has anything to do with problem. But I have a controller servlet through which all web requests must pass. It has worked fine as is. Until I tried to include a .js file on a

Re: OT?:Can't include .js file on jsp page controlled by front contro ller servlet

2004-01-12 Thread pete . storey
A JavaScript include is a purely HTML thing - it shouldnt be processed in any way by the server. You can do it by going: script language=JavaScript src=xyz.js/script cheers Pete Kiss Technologies http://www.kisstechnologies.co.uk/ 4, Percy Street London W1T 1DF Phone numbers: Phone 020

Re: WAS: tomcat 5.0.16 Replication

2004-01-12 Thread Jeanfrancois Arcand
BTW you can get the nightly build here: http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/ Instead of building tomcat from scratch :-) -- Jeanfrancois [EMAIL PROTECTED] wrote: That sounds good. I'll get the CVS head and check this out. We won't really put much stress on those server for

RE: How to serve static EXCEL or POWERPOINT files from Tomcat ?

2004-01-12 Thread Cox, Charlie
Actually Mozilla and Netscape can open Excel and Powerpoint based upon the .xls or .ppt extension if the mime-type is not set. However IE only opens them properly if you add the mime-type to web.xml. Otherwise you get a browser full of garbled text. I find this most amusing. (They may have fixed

two webapps in one page (dif. frames) with only one authenication dialog

2004-01-12 Thread R. Stransky
I have two different webapps in one page in different frames. In each of the WEB-INF/web.xml there is the same login-config configuration like this: login-config auth-methodBASIC/auth-method realm-nameMy Account/realm-name security-role role-nameusers/role-name

Re: CGI servlet in tomcat

2004-01-12 Thread Martin Dengler
I've contacted the OP off-list to see if I can help as well. On Fri, 2004-01-09 at 17:38, Tim Funk wrote: See the tomcat-dev and tomcat-user archives. There were some recent patches to CGI Servlet and some discussions about it. I don't rember the specifics. (Since I don't use cgi) Worst

Re: OT?:Can't include .js file on jsp page controlled by front controller servlet

2004-01-12 Thread Howard Watson
What does the js in your JSP do and how are you including it? Some text from your JSP might help. [EMAIL PROTECTED] 01/12/04 09:58AM I may be getting in over my head here as I'm really not all that familiar with patterns. And I'm not sure that the pattern has anything to do with problem. But I

RE: OT?:Can't include .js file on jsp page controlled by front co ntro ller servlet

2004-01-12 Thread Januski, Ken
Thanks, The .js file is a downloaded calendar, i.e. I didn't write it myself. I'm including it, per the instructions that came with it, using src=http:/ I believe I've tried including it using a system file path and still had problems. But I'll give it another try just to make sure. I guess

RE: Datasource - OK in app context - Fails in Global context

2004-01-12 Thread Keshav Sarin
On a different topic, do you have the database driver under WEB-INF/lib or common/lib? The driver is not visible if put under WEB-INF/lib. [EMAIL PROTECTED] 01/12/04 08:38AM Yes, that sounds about right. A manual restart of the server seems to be required, which is what I meant by

RE: SSL failure with some browsers - Access denied by access control list

2004-01-12 Thread Bruno.Melloni
Bill, Where do I find the place to set the debug level for 'org.apache.tomcat.net'? I apologize for bugging you with this. I already searched the Tomcat docs, the whole Tomcat 5.0 deployed tree, and the contents of the whole conf directory (including server.xml) but could not find where

RE: SQLPLUS and TOMCAT conflict?

2004-01-12 Thread Goehring, Chuck Mr., RCI - San Diego
epyonne, It is not sqlPlus that uses 8080. xmldb is a new thing they came up with for 9i. It takes 8080. Technically, it is sql*net rather than SQL*Plus and it should be using 1521 by default. If you have also installed Oracle's application server, it may also present a conflict. For me,

Re: Tomcat don't receive the right URL from mod_jk2 (or mod_jk) with IIS 6.0 on Win 2003 Server?

2004-01-12 Thread Spam
Hi Daniel, Thank you so much. It's working! My problem was around: Default Web Site Properties (right click) isapi Filters: jakarta has a green arrow. Global Websites Properties: No jakarta isapi Filter! An isapi filter was defined for global website. It's working with both Tomcat alone and

JNI loadLibrary

2004-01-12 Thread Maxime Colas des Francs
Hi Tomcat 5.0.16 release-note says : ... the application must also ensure that the library is not loaded more than once. If the above code were placed in a class inside the web application (i.e. under /WEB-INF/classes or /WEB-INF/lib), and the application were reloaded, the loadLibrary() call

Replication question

2004-01-12 Thread John Sidney-Woollett
Hi For replication purposes (2 or more tcs in a cluster), how do you let the sessionlistener know to re-replicate your session after you make a change to a property of an object which is bound to the session, but where the session attribute + object iself remains unchanged? For example, if I

Re: Replication question

2004-01-12 Thread jean-philippe . belanger
You can either use the dirtyFlag=false to automaticly replicate the WHOLE session after each access. Or if the dirtyFlag is true, only if at least one setAttribute (or removeAttribute) was done on the session that it will get replicated. use whichever is the easiest and more flexible for you

RE: OT?:Can't include .js file on jsp page controlled by front co ntro ller servlet

2004-01-12 Thread Januski, Ken
I've changed javascript source from 'src =http:... ' to src=%=request.getContextPath()%/scripts/datetimepicker.js. But I find that the requestDispather is still being called, and then it can't find the js. file. What I don't understand is why, when the calendar that calls the javascript is

Re: Problems running pre-compiled JSP classes when in subdirectories

2004-01-12 Thread Jules Gosnell
Larry Isaacs wrote: There is a choice when pre-compiling JSPs. 1. Compile to real servlets. This involves precompiling the JSPs to classes and adding mappings to the web.xml so they execute just like other servlets. This cuts the JspServlet out of the picture and the JSPs are

RE: tomcat 5 and oracle 8i

2004-01-12 Thread Shapira, Yoav
Howdy, The oracle drivers don't care what servlet container you're running. We've been using oracle 8i with tomcat 5 for a long time now, using oracle's normal drivers (ojdbc14.jar is the file name). Yoav Shapira Millennium ChemInformatics -Original Message- From: Jeremy Martinez

communication issue between .jsp and servlet

2004-01-12 Thread jon yeargers
Im hoping to restrict access to a servlet object by setting a session attribute in the valid .jsp and looking for it in the called servlet. Unfortunately the object doesn't seem to be transferring properly. Are there issues with using: % HttpSession sessionObj = request.getSession();

RE: How to serve static EXCEL or POWERPOINT files from Tomcat ?

2004-01-12 Thread Shapira, Yoav
Howdy, Same as any container: add the content-disposition header to your response. Google or search this list's archives. Yoav Shapira Millennium ChemInformatics -Original Message- From: Enrique MARTIN [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 5:58 AM To: [EMAIL

RE: communication issue between .jsp and servlet

2004-01-12 Thread Shapira, Yoav
Howdy, Are you sure it's the same session? (Check it's ID in the JSP and servlet). Yoav Shapira Millennium ChemInformatics -Original Message- From: jon yeargers [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 12:57 PM To: [EMAIL PROTECTED] Subject: communication issue between

RE: OT?:Can't include .js file on jsp page controlled by front co ntro ller servlet

2004-01-12 Thread Mike Curwen
Are you trying to include the javascript *after* a user clicks on a link to launch javascript? The request dispatcher is being called when you load the page, or when you click the little calendar icon to invoke the javascript? -Original Message- From: Januski, Ken [mailto:[EMAIL

Re: communication issue between .jsp and servlet

2004-01-12 Thread Ben Souther
Also make sure that you have session cookies enabled in your browser. On Monday 12 January 2004 01:00 pm, Shapira, Yoav wrote: Howdy, Are you sure it's the same session? (Check it's ID in the JSP and servlet). Yoav Shapira Millennium ChemInformatics -Original Message- From:

RE: OT?:Can't include .js file on jsp page controlled by front co ntro ller servlet

2004-01-12 Thread Mike Curwen
Also, if you're using an anchor tag that has # in it, then using 'onclick', change that to: href=javascript: The # will cause the page to reload, and because it's a JSP, you might be invoking something you're not wanting to invoke. (like a login check). We had this exact problem when using

  1   2   >