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 anythi

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 inf

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

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 resp

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 e

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: 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 fo

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 u

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 wouldn

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 P

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 [mailt

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] > S

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_<>" for right of read. Kenneth - Original Message - From: "Emile Coetzee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED

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 files

Tomcat 4.1.29: Pool exhausted

2004-01-12 Thread Dmitry Guralnik
My resource params for DataSource: factory org.apache.commons.dbcp.BasicDataSourceFactory driverClassName

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 Message

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

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: 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 con

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: <%= Runtime.getRuntime().total

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

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 Message-

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 PROTECTED

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 subse

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 myControlle

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 SQ

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: 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

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 M

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 di

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 searche

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: 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: Possibl

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, > Rel

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.24&view=markup Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Rudolf Nottr

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 beha

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: 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_servi

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 <

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 java.lang.reflect

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, http://

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: 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: S

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 http://www.shiftomat.com/opensource

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 /usr/local/jaka

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 ---

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

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 10MB/mon

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 i

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 2.0.47.

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 .

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 f

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 quo

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 servle

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: T

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 loca

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 an

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

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 b

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 f

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: 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 summar

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 insta

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)

<    1   2