Re: Webgui framework

2004-11-15 Thread Alessandro Ronchi
Il giorno lun, 15-11-2004 alle 08:42 +0100, wim ha scritto: http://www.myfaces.org/ wim Mark Thomas wrote: Java Server Faces http://java.sun.com/j2ee/javaserverfaces/ Mark What's the difference with Struts? Thanks! -- Alessandro Ronchi [EMAIL PROTECTED] http://www.aronchi.org

RE: [ANN] Multiple Instances Tomcat Installer

2004-11-15 Thread Peter Crowther
From: Wolfgang Hackl [mailto:[EMAIL PROTECTED] To be serious, I am of the opinion that the Tomcat project can benefit from an application that helps Administrators with installation and management of multiple Tomcat instances (which is a superset of MITI's features). Yes please! We have an

Re: [ANN] Multiple Instances Tomcat Installer

2004-11-15 Thread Wolfgang Hackl
Peter Crowther wrote: From: Wolfgang Hackl [mailto:[EMAIL PROTECTED] To be serious, I am of the opinion that the Tomcat project can benefit from an application that helps Administrators with installation and management of multiple Tomcat instances (which is a superset of MITI's features).

compatible javamail vsersio n with tomcat-5.5.4

2004-11-15 Thread Kantartzis Vasilis
Hi all i am developing a web-based e-mail system. i have encountred the following prioblem. while testing the methods that post e-mails through a java stand alone application the code works fine When a call the same methods from a servlet i get the following message in tomcat logs

Re: Context element problems in conf/server.xml

2004-11-15 Thread Andrew Watters
Thanks again. That works great, I'm accessing my webapp fine as the default webapp with the following Engine name=Catalina defaultHost=localhost debug=9 Host name=localhost debug=9 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path=

Re: compatible javamail vsersio n with tomcat-5.5.4

2004-11-15 Thread David Smith
I've been using javamail w/ Sun's JDK 1.4.2 no problem. The stack trace you posted indicates you attempted to construct a new InternetAddress object with a null for the email address string. Could you double check what's being passed to the constructor and post a relevant snippet of your

Re: Context element problems in conf/server.xml

2004-11-15 Thread Andoni
Hi Andrew, Definitely cleaning up Server.xml to remove all those confusing comments and commented out sections is a great idea. I'd also suggest you change all XML tags to be on one line each and indent the whole file properly if you haven't already done so. I must admit that I have no idea why

Re: Tomcat and -server option

2004-11-15 Thread Ronald Klop
System.getProperty(...); java.vm.name=Java HotSpot(TM) Client VM (I'm not running with -server option...) Ronald. On Wed Nov 10 19:28:39 CET 2004 Mufaddal Khumri [EMAIL PROTECTED] wrote: Hi, I have specified the -server option in my catalina.sh using JAVA_OPTS. JAVA_OPTS=-server

Re: Tomcat and -server option

2004-11-15 Thread Ronald Klop
You are running Mac OS X. Does Apple support the Server Hotspot version? Maybe it falls back to client by default. Ronald. On Fri Nov 12 22:08:42 CET 2004 Mufaddal Khumri [EMAIL PROTECTED] wrote: Hi, I have: JAVA_OPTS=-server -Djava.awt.headless=true -Xms1g -Xmx1g -Dfile.encoding=ISO-8859-1 in

RE: compatible javamail vsersio n with tomcat-5.5.4

2004-11-15 Thread Kantartzis Vasilis
Thanks for your quick reply, i did not want to hog the list with the code so i am sending this private i have a jsp page that has a number of check boxes according to the users selection the appropriate e-mail os added to the list of recipients i am including the servlrt for you

RE: Soap under Tomcat

2004-11-15 Thread sven morales
Exception in thread main [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type quot;text/html; charset=ISO-8859-1quot;, must be : quot;text/xmlquot;. Response was: lt;htmlgt;lt;headgt;lt;titlegt;Apache Tomcat/4.1.30 - Error reportlt;/tit Your error seems to point to

Analysing dead threads

2004-11-15 Thread Steffen Heil
Hi I have a situation, where a lot of threads seem to stop working right in my servlet. From debug output, I know they entered the servlet but never leave it. My problem is that this never occurs on our development system, but only on the production system. I need to stop tomcat end even do a

Re: Analysing dead threads

2004-11-15 Thread andrew
Hi Stefan, You might want to try kill -3 processid Depending on your JVM you may find a stacktrace in STDERR (STDIO?) or in a seperate file in the directory where you started the JVM Depending on the version of Tomcat you are running, you may also want to have a look at the manager application:

RE: Analysing dead threads

2004-11-15 Thread Dale, Matt
kill -SIGHUP or kill -3 should dump a stack trace into catalina.out. A profiler should also tell you what the threads are up to. Ta Matt -Original Message- From: Steffen Heil [mailto:[EMAIL PROTECTED] Sent: 15 November 2004 13:42 To: 'Tomcat Users List' Subject: Analysing dead threads

Re: Soap under Tomcat

2004-11-15 Thread feilong
Hallo, aka_sergio Thanks for your reply. My problem looks like the following now: D:\Programs\jakarta-tomcat-4.1.30\webapps\soap\WEB-INF\classesjava onjava.CalcC lient 98 96 I am called! The call failed: Fault Code = SOAP-ENV:Server.Exception: Fault String = onjava/CalcService (wrong name:

Re: Analysing dead threads

2004-11-15 Thread Peter Lin
just for clarification. Do you mean zombie threads? Threads that are not reachable, but still running. My advice would be to download a profiler and figure out the cause. peter On Mon, 15 Nov 2004 14:42:14 +0100, Steffen Heil [EMAIL PROTECTED] wrote: Hi I have a situation, where a lot of

RE: a problem with a first app

2004-11-15 Thread Shapira, Yoav
Hi, The question regarding the 5.5* rpm version is still without an answer, because i did searched on web but with no results. The best source for RPMs seems to be JPackage.org, and they're at 5.0.27 it would appear: http://www.jpackage.org/rpm.php?id=3004. Even there were such an RPM, I'd

Re: Soap under Tomcat

2004-11-15 Thread sven morales
What did you do to get rid of that text/html problem? You can list the deployed services via this command: java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter list or clicking on list button on http://localhost:8080/soap/admin/ I the urn:onjava is not

RE: More apps = More load ?

2004-11-15 Thread Shapira, Yoav
Hi, I was discussing this very topic with somebody last night. This sort of begs the question, if the webapp isn't supposed to start threads of its own in general, what is the right way to handle these situations (the most typical being some sort of cron thread, or any need to kick of an

RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Shapira, Yoav
Hi, It's a good blog. I didn't see a PermaLink option: if there is one, I'd like to add the URL of this blog posting to the Tomcat wiki page. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Sunday, November 14, 2004

keystore manipulation

2004-11-15 Thread Carl Olivier
Greetings. I think I asked a similar question on this list a while ago - but did not get a response - so here goes one last time. I am importing/generating new certificates into the keystore that is set as the truststore for the JVM that runs Tomcat - via the javax.net.ssl.trustStore System

RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Allistair Crossley
Hi Yoav, Thanks, I've only just started with this Blog stuff - quite cool. I think I have found what you mean by PermaLinks and I have enabled it. The title is a link to the permalink itself .. http://www.adcworks.com/blog/index.php/archives/2004/11/14/getting-up-and-running-with-tomcat-55/

Re: Analysing dead threads

2004-11-15 Thread andrew
Hi Peter, A profiler may cause more trouble than help if you try this on a heavily loaded production box. It might be easiest if he first looks at the 'manager' application that comes with tomcat 5. Regards Andrew Peter Lin wrote: just for clarification. Do you mean zombie threads? Threads

Re: Soap under Tomcat

2004-11-15 Thread feilong
Hallo, I add the context tag in server.xml, i.e. Context path=/soap docBase=D:\Programs\jakarta-tomcat-4.1.30\webapps\soap\ reloadable=true /Context Then this exception is away. Thanks Feilong - Original Message - From: sven morales [EMAIL PROTECTED] To: Tomcat Users List

RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Shapira, Yoav
Hi, Cool. I've added this to the wiki useful links page. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Monday, November 15, 2004 9:42 AM To: Tomcat Users List Subject: RE: Tomcat 5.5.4 Upgrade Blog Hi Yoav,

RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Allistair Crossley
Would any of it be relevant for the 22) Logging section of the TC 5.5 pages which is empty right now or is it not in scope? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 15 November 2004 15:05 To: Tomcat Users List Subject: RE: Tomcat 5.5.4 Upgrade Blog

RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Shapira, Yoav
Hi, Sure, maybe the logging part of the blog... Feel free to submit a .diff as always... Yoav Shapira http://www.yoavshapira.com -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Monday, November 15, 2004 10:07 AM To: Tomcat Users List Subject: RE: Tomcat

Re: Tomcat and -server option

2004-11-15 Thread Ronald Klop
java.library.path=/usr/local/j2sdk1.4.2_05/jre/lib/i386/client:... ^^ java.vm.name=Java HotSpot(TM) Client VM ^^ Ronald. On Wed Nov 10 19:28:39 CET 2004 Mufaddal Khumri [EMAIL PROTECTED] wrote: Hi, I have

http-https url rewrite bug TC 5.0.28?

2004-11-15 Thread John Sidney-Woollett
I'm not sure if this is a bug or a misunderstaning on my part - and I've been searching the archives and googling for most of the day without success... I've got a problem where URL rewriting is failing to correctly encode the URL when switching from an insecure (non-ssl) connection to a

logging question

2004-11-15 Thread Scott Pippin
I am trying to send the return values/errors for an application to a different stdout file. I set up everything but stdout is being written to catalina.out. server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0

Re: http-https url rewrite bug TC 5.0.28?

2004-11-15 Thread John Sidney-Woollett
I should have mentioned that the problem I'm seeing is causing a new session to be created after the redirect when in fact I want the original session data prior to the redirect... John Sidney-Woollett John Sidney-Woollett wrote: I'm not sure if this is a bug or a misunderstaning on my part -

RE: logging question

2004-11-15 Thread Shapira, Yoav
Hi, Just adding a Logger is not enough to redirect System.out.println calls to it. You need to add swallowOutput=true to your Context definition. Or alternatively change the code from using System.out.println to using getServletContext().log(...). Yoav Shapira http://www.yoavshapira.com

RE: http-https url rewrite bug TC 5.0.28?

2004-11-15 Thread Shapira, Yoav
Hi, Not a bug. You can't share a session that way, whether using cookies or URL-rewriting. Yoav Shapira http://www.yoavshapira.com -Original Message- From: John Sidney-Woollett [mailto:[EMAIL PROTECTED] Sent: Monday, November 15, 2004 10:21 AM To: [EMAIL PROTECTED] Subject: http-https

RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Allistair Crossley
Hi, OK, I have added my changes to logging.xml and am ready to submit the diff. So far I have been able to diff -u in WinCVS but it does not ouput to file. You have to copy and paste to a text file. My questions are 1. Do I include this header stuff in my patch.txt Index: logging.xml

RE: Tomcat 5.5.4 Upgrade Blog

2004-11-15 Thread Shapira, Yoav
Hi, 1. Do I include this header stuff in my patch.txt Yes. 2. Where and how should I submit this patch.txt? Into a new Bugzilla enhancement issue that you'd open. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is

Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Ed Sykes
Hi, I'm trying to setup DBCP with Tomcat 5.5.4 with Oracle 8.1.6 using Java 1.5.0 I've read FAQ, and the Jakarta How-To Docs: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html Everything works fine if I don't use connection pooling or JNDI lookups.

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Allistair Crossley
Ed, Not sure if it will _cause_ it, but you need to remove ResourceParam elements, as it's all covered in Resource. ADC -Original Message- From: Ed Sykes [mailto:[EMAIL PROTECTED] Sent: 15 November 2004 16:49 To: [EMAIL PROTECTED] Subject: Cannot create JDBC driver of class '' for

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Allistair Crossley
Also, you may want to look at configuring your webapp outside of server.xml using the tomcat/Catalina/localhost/ROOT.xml method I recently discussed this here http://www.adcworks.com/blog/index.php/archives/2004/11/14/getting-up-and-running-with-tomcat-55 Hope it helps, ADC. -Original

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Ed Sykes
Hi Allistair, Thanks for your quick response. I just removed all the ResourceParam elements and it has no effect. -Ed - Original Message - From: Allistair Crossley [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 15, 2004 11:51 AM Subject: RE: Cannot create

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Ed Sykes
Hi Allistair, I'll read through it and report back. Thanks !! -Ed - Original Message - From: Allistair Crossley [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 15, 2004 11:53 AM Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null'

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Shapira, Yoav
Hi, Context path=/ROOT/WEB-INF/classes docBase=ROOT/WEB-INF/classes/JITS I really doubt you mean these. The context path attribute is the URL path used by browsers to retrieve your web pages, i.e. http://yourhost:yourport/path. It's not a filesystem path. The context docBase is the root of

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Allistair Crossley
i've never seen a path attribute with a value of /ROOT/WEB-INF/classes ... why have you chosen this? -Original Message- From: Ed Sykes [mailto:[EMAIL PROTECTED] Sent: 15 November 2004 16:58 To: Tomcat Users List Subject: Re: Cannot create JDBC driver of class '' for connect URL

Exception Error in Tomcat

2004-11-15 Thread Lisa Soto
Hello, Does anyone know what this error means, and/or what it may point to? I'm using the precompiled JK2 for Fedora Core, but on a RH9 box with some updated packages from later distros. -- Lisa An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 7

RE: Exception Error in Tomcat

2004-11-15 Thread Shapira, Yoav
Hi, This is an internal JVM crash. It nearly always occurs for one of two reasons: you're missing OS-level patches for the JDK you're running, OR you have native code that's not correctly compiled for your platform. using the precompiled JK2 for Fedora Core, but on a RH9 box with some updated

RE: http-https url rewrite bug TC 5.0.28?

2004-11-15 Thread John Sidney-Woollett
Yoav Either you're wrong or Tomcat 5.0.x may be broken... With cookies enabled you can transfer the session from a non-secure connection to a secure connection for the same domain/webapp. Tomcat does NOT generate a new (secure) session. The problem is that TC 5.0.28 does not exhibit the same

JAVA_OPTS

2004-11-15 Thread Steven Lister
First time caller, long time listener.  :) Have a couple of questions about JAVA_OPT settings in catalina.sh. First one is I was looking at -server cached and tested that out and got nothing, tomcat didnt start a process. Next is -Xms128 -Xmx384 gives me an error of  Error occurred during

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Ed Sykes
Hi Yoav Shapira, Thank you for your help. I've corrected my server.xml file. the first line now looks like: Context path=ROOT docBase= Tomcat starts up properly. The Oracle JDBC driver (classes12.jar, classes12dms.jar, and nls_charset12.jar) are in: C:\jakarta-tomcat-5.5.4\common\lib One thing

RE: JAVA_OPTS

2004-11-15 Thread Shapira, Yoav
Hi, First one is I was looking at -server cached and tested that out and got nothing, tomcat didnt start a process. You probably mistyped the JAVA_OPTS setting. Next is -Xms128 -Xmx384 gives me an error of  Error occurred during initialization of VM  Too small initial heap Tomcat wont start

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Allistair Crossley
your docBase should be /ROOT which should in turn contain WEB-INF/web.xml and path can be scrapped Context docBase=/ROOT reloadable=true ADC -Original Message- From: Ed Sykes [mailto:[EMAIL PROTECTED] Sent: 15 November 2004 17:24 To: Tomcat Users List Subject: Re: Cannot create

Re: JAVA_OPTS

2004-11-15 Thread Mufaddal Khumri
Specify -Xms128M and -Xmx384M ... the M stands for megabytes. On Nov 15, 2004, at 10:22 AM, Steven Lister wrote: First time caller, long time listener.  :) Have a couple of questions about JAVA_OPT settings in catalina.sh. First one is I was looking at -server cached and tested that out and got

Re: Tomcat and -server option

2004-11-15 Thread Mufaddal Khumri
My observations have been similar as well. We discussed this on the Java Apple list as well and it seems that different vendors implement this differently. On Nov 15, 2004, at 5:59 AM, Ronald Klop wrote: java.library.path=/usr/local/j2sdk1.4.2_05/jre/lib/i386/client:...

RE: JAVA_OPTS

2004-11-15 Thread Steven Lister
Thanks for the quick reply. the sound you probably heard a couple of minutes ago was my head repeatedly hitting my desk. the Xms and Xms was a mispelling. :( export JAVA_OPTS='-server -Xms128m -Xmx384m -Djava.awt.headless=true' Does anyone know -server cached if that is mispelled or wrong

Re: http-https url rewrite bug TC 5.0.28?

2004-11-15 Thread John Sidney-Woollett
Tomcat still seems broken to me because it does in fact share the session from a non-secure connection to a secure connection when cookies are enabled, but not when they are not. But you've given me some inkling as to what is going on. I can't believe that there isn't a standard solution for

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Ed Sykes
Hi Allistair, Thank you very much for helping. Here's my revised server.xml : Context docBase=/ROOT reloadable=true Resource name=jdbc/myoracle auth=Container type=javax.sql.DataSource driverClassName=oracle.jdbc.driver.OracleDriver

Re: JAVA_OPTS

2004-11-15 Thread Mufaddal Khumri
I do not know what VM you are using. If you are using Windows and have tomcat as a service on there you will have to specify the -server option in the registry. If you are using Mac OS X you can specify it in the JAVA_OPTS As far as what the -server option will do for you , that depends on

Setting the directory under work

2004-11-15 Thread Vy Ho
Running Tomcat 5 under standalone mode, it creates a directory called work under tomcat's root. Under that directory, there is a directory named Standalone. First, what is this thing? When I run the Tomcat 5.5 under embedded mode, things run fine, but under work, I saw a null folder.

Re: JAVA_OPTS

2004-11-15 Thread Didier McGillis
Linux RH9 and RHE3, using Sun 1.4.2 From: Mufaddal Khumri [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: JAVA_OPTS Date: Mon, 15 Nov 2004 11:11:37 -0700 I do not know what VM you are using. If you are using Windows and have

Re: JAVA_OPTS

2004-11-15 Thread Steven Lister
Sun's JVM on Debian OS. One question about JAVA_OPTS is there a setting that I should have if I am serving content that is image intensive and database intensive.  I understand that one app differes from another, just trying to get an idea on if I missing soemthing. JAVA_OPTS='-server -Xms128m

RE: Setting the directory under work

2004-11-15 Thread Shapira, Yoav
Hi, The work directory is where Tomcat stores its work products. Examples for this include serialized sessions, compiled JSPs, and potentially other files. The work directory is broken into subdirectories for the engine (Standalone is the default engine name for Tomcat Standalone: see your

Content-disposition for file downlaod with Mozilla/Firefox

2004-11-15 Thread David Wall
The following are headers we send out for a given file that is being downloaded: Content-Length: 28160 content-disposition: attachment;filename=Some Agreement 2004-11-15.doc Content-Type: application/octet-stream I believe this used to work fine with Mozilla in an earlier version. I'm running

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Allistair Crossley
it's looking better but this error is interesting. Are you using an API like validator that tries to connect out of an internal corporate network? have you got any more stack trace that what you provided? -Original Message- From: Ed Sykes [mailto:[EMAIL PROTECTED]

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Allistair Crossley
actually that may also be the jdbc connectivity ;) you are sure your database listener is operational? -Original Message- From: Ed Sykes [mailto:[EMAIL PROTECTED] Sent: Mon 15/11/2004 18:04 To: Tomcat Users List Cc: Subject: Re: Cannot

Re: JAVA_OPTS

2004-11-15 Thread Shankar Unni
Mufaddal Khumri wrote: As far as what the -server option will do for you , that depends on your VM vendor. The Sun JRE distributions typically don't include a server VM, so -server will give an error. You'll have to download the JDK, and run the JRE that is embedded within it

setting java options and verbosegc output

2004-11-15 Thread John MccLain
Howdy, I am running tomcat as a service. How do I set options for the JVM to run. In particular, I wish to monitor garbage collection as I have run into a problem in my JNI/PowerBuilder Native Interface code that may be related to garbage collection.The problem is this.. When I run a standalone

Problem displaying PDF in IE6 from Tomcat using the ActiveX Reader Plug-in

2004-11-15 Thread Aman Raheja
Problem: When we try to display a dynamically generated PDF file, IE launches the Adobe Acrobat Reader Plugin, but then just a blank page is displayed and the IE status says Done. No error message is displayed. No error is generated in the System Event logs. The issue seems to be that

Re: Setting the directory under work

2004-11-15 Thread Vy Ho
Thank you for the reply. Translating your advice, this null is the name of the engine used for embedded tomcat. So, I do this: engine.setName(Somename); And now, Somename is shown up in the work directory instead of null (after deleting null). Thanks again, vh. Shapira, Yoav wrote: Hi, The

Re: setting java options and verbosegc output

2004-11-15 Thread David Boyer
you might find this useful for fine-tuning JVM options: http://web.bvu.edu/staff/david/tcservcfg/ [EMAIL PROTECTED] 11/15/2004 10:42:46 AM Howdy, I am running tomcat as a service. How do I set options for the JVM to run. In particular, I wish to monitor garbage collection as I have run into

DataSource configuration for Tomcat 5.0.28

2004-11-15 Thread Thavutam, Prashanth
After a bit of struggle, I had figured out the DataSource configuration for Tomcat 5.0.28. Thought this might help others. Configuring Mysql Data Source on Tomcat for Registration Application. 1. Extract the war file contents into \Tomcat 5.0\webapps folder. 2. Create registration.xml

RE: JAVA_OPTS

2004-11-15 Thread Wick, Daniel
Hi. I understand why you would set a max amount of memory that Java will use (-Xmx 512m), but why do you set a minimum (-Xms128m)? Doesn't it just use what it needs until it hits the max? --Dan -Original Message- From: Shankar Unni [mailto:[EMAIL PROTECTED] Sent: Monday, November 15,

RE: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-15 Thread Phillip Qin
There are security and privacy settings in IE affect PDF generation. BTW, ensurethe link before query string ends with .pdf -Original Message- From: Aman Raheja [mailto:[EMAIL PROTECTED] Sent: November 15, 2004 1:40 PM To: [EMAIL PROTECTED] Subject: Problem displaying PDF in IE6 from

RE: JAVA_OPTS

2004-11-15 Thread Peter Crowther
From: Wick, Daniel [mailto:[EMAIL PROTECTED] I understand why you would set a max amount of memory that Java will use (-Xmx 512m), but why do you set a minimum (-Xms128m)? Doesn't it just use what it needs until it hits the max? So that you don't have it starting up small and then

RE: JAVA_OPTS

2004-11-15 Thread Shapira, Yoav
Hi, I understand why you would set a max amount of memory that Java will use (-Xmx 512m), but why do you set a minimum (-Xms128m)? Doesn't it just use what it needs until it hits the max? People set the minimum so that it's allocated on startup. That's faster than allocating each block size on

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Ed Sykes
Hi ! i'm sure everything on the database end is fine. All i'm doing in the Java file ( located in C:\jakarta-tomcat-5.5.4\webapps\ROOT\WEB-INF\classes\JITS ) is making a database connection at this time. if I use: Class.forName(oracle.jdbc.driver.OracleDriver); conn =

RES: [java] RE: http-https url rewrite bug TC 5.0.28?

2004-11-15 Thread Paulo Alvim
Hi Yoav, I have a similar problem: I'd like to use https only with the login.jsp page and come back to http after that. Could you explain why it isn't possible? -Mensagem original- De: Shapira, Yoav [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 15 de novembro de 2004 12:24 Para:

RE: [java] RE: http-https url rewrite bug TC 5.0.28?

2004-11-15 Thread Shapira, Yoav
Hi, Someone else already explained it well. It's not impossible, you can do it with a bit of coding. But the container can't do that bit of coding for you as it's a security risk. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Paulo Alvim [mailto:[EMAIL PROTECTED]

RE: JAVA_OPTS

2004-11-15 Thread Matt
If you'd prefer to use the tomcat service here's a page to assist in setup of Xms, Xmx : http://www.pauaware.co.nz/tomcatntservice.htm -Original Message- From: Steven Lister [mailto:[EMAIL PROTECTED] Sent: Tuesday, 16 November 2004 6:22 a.m. To: Tomcat Users List Subject: JAVA_OPTS

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2004-11-15 Thread Ed Sykes
Hi, I have not changed the server.xml yet. Here's the stacktrace (it dissappears in an instant) and tomcat fails to start. Thanks, -Ed Sykes SEVERE: createMBeans: Throwable java.lang.NullPointerException at org.apache.catalina.mbeans.MBeanUtils.createObjectName(MBeanUtils.java:1221)

Re: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4

2004-11-15 Thread Kevin A. Burton
Remy Maucherat wrote: On Sat, 13 Nov 2004 17:30:38 -0800, Kevin A. Burton [EMAIL PROTECTED] wrote: Remy Maucherat wrote: On Fri, 12 Nov 2004 17:17:28 -0800, Kevin A. Burton [EMAIL PROTECTED] wrote: - For all my JSPs I fetch them with the URL foo.jsp?jsp_precompile=true to trigger

Re: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4

2004-11-15 Thread Kevin A. Burton
Dale, Matt wrote: I've not been following this thread but my guess would be that you are running out of space in the permanent generation of the heap. Get a hold of jvmstat from sun and run visualgc on your JVM, it should become obvious then which pool is running out of space. God! How

Rotating catalina.out with Webmin

2004-11-15 Thread Carlos
Hi Forum, Could someone recommend settings for using the log rotation of Webmin in order to rotate catalina.out (any cautionary measures)? I just created an entry in Webmin to rotate the catalina.out file weekly with all the default settings (keeping the last four copies). Are there any

Jasper and Axis

2004-11-15 Thread Daniel Herbison
I'm using Axis to connect to some soap services but when I try to instantiate the locator from a JSP I get the exception: // Axis locator call CoiDWACLApiServiceLocator coiDWLocator = new CoiDWACLApiServiceLocator(); I get: org.apache.jasper.JasperException at

Re: Rotating catalina.out with Webmin

2004-11-15 Thread Filip Hanik - Dev
if you dont get webmin fixed, I recommend cronolog instead. You cant just rotate it, cause then tomcat loses the file handle, and you will lose all further output. with cronolog you simply pipe it through cronolog like this your java start command | /usr/local/sbin/cronolog

Location: redirection

2004-11-15 Thread Lisa Soto
Hi, We're using perl within tomcat 4.1.27. The perl scripts run all right, but the redirections don't work at all. If I run the script on the command line, it returns a proper Location: directive, but it doesn't seem to show up in the web browser and/or affect its reaction. Any ideas?

RE: Rotating catalina.out with Webmin

2004-11-15 Thread Shapira, Yoav
Hi, As usual, the advice is also to minimize System.out logging. If you can't modify the app code using System.out logging, add swallowOutput=true to your context declaration to make System.out go to the Loggers defined in Tomcat's server.xml. Those are automatically rotated for you. (Note

RE: Rotating catalina.out with Webmin

2004-11-15 Thread Carlos Oliva
Hi Filip, I set-up the Webmin Log Rotation entry to the following: 1) Re-create log file after rotation? Yes, with mode and owned by user and group 2) Store old rotated logs in Directory Same directory as log file Default (Same directory as log file) 3) Extension for rotated filenames

RE: Location: redirection

2004-11-15 Thread Phillip Qin
Please refer to my previous post regarding hack into the CGIServlet. -Original Message- From: Lisa Soto [mailto:[EMAIL PROTECTED] Sent: November 15, 2004 3:24 PM To: [EMAIL PROTECTED] Subject: Location: redirection Hi, We're using perl within tomcat 4.1.27. The perl scripts run all

RE: Rotating catalina.out with Webmin

2004-11-15 Thread Phillip Qin
I found that logrotate is the easiest. -Original Message- From: Carlos Oliva [mailto:[EMAIL PROTECTED] Sent: November 15, 2004 3:28 PM To: 'Tomcat Users List' Subject: RE: Rotating catalina.out with Webmin Hi Filip, I set-up the Webmin Log Rotation entry to the following: 1) Re-create

RE: Location: redirection

2004-11-15 Thread Shapira, Yoav
Hi, We're using perl within tomcat 4.1.27. The perl scripts run all right, but the redirections don't work at all. Using an external mechanism (such as a CGI perl scripts in your case) for redirection in Tomcat is tricky at best, and doomed to failure at worst. The reason is that the script is

gc output for tomcat?? where is it

2004-11-15 Thread John MccLain
I have set the -verbose:gc flag for tomcat. Where does the output go? Do I need to set the log level to Info instead of Error?? John McClain Senior Software Engineer TCS Healthcare [EMAIL PROTECTED] (530)886-1700x235 Before you criticize someone, walk a mile in their shoes. That way, you'll be a

Re: Rotating catalina.out with Webmin

2004-11-15 Thread Filip Hanik - Dev
nope, the moment you execute the mv the file handle has moved. switch to cronolog to save you some time, cronolog might recreate the file for you to, so no handle is ever lost, try it before you come back to the list :) Filip - Original Message - From: Carlos Oliva [EMAIL PROTECTED]

RE: Rotating catalina.out with Webmin

2004-11-15 Thread Carlos Oliva
Hi Phillip, Since Webmin uses logrotate could I just create a simple entry with Webmin? Or do I need to specify other settings? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, November 15, 2004 3:31 PM To: 'Tomcat Users List' Subject: RE: Rotating

Re: gc output for tomcat?? where is it

2004-11-15 Thread David Boyer
try adding -Xloggc:file [EMAIL PROTECTED] 11/15/2004 12:39:45 PM I have set the -verbose:gc flag for tomcat. Where does the output go? Do I need to set the log level to Info instead of Error?? John McClain Senior Software Engineer TCS Healthcare [EMAIL PROTECTED] (530)886-1700x235 Before

RE: Rotating catalina.out with Webmin

2004-11-15 Thread Phillip Qin
I don't know how to use webadmin. I did it in command line (Debian) /etc/logrotate.d /usr/local/jakarta-tomcat-4.1.30/logs/catalina.out { rotate 5 weekly compress delaycompress notifempty missingok create 0640 tu3404nl tu3404nl }

RE: Location: redirection

2004-11-15 Thread Phillip Qin
The redirect has to be done in inner class CGIRunner of servlet CGIServlet. Tomcat 4.1.30/5.0.28 do not handle redirect. You have to modify method run, in while (isRunning) add your own handling. Our cgi scripts have Status 302 for redirection, so I added header check below

Tomcat 4.1.27 ana apache 2.0.47 with mod_jk

2004-11-15 Thread Venkat Reddy Valluri
Hi I installed tomcat4.1.27 apache 2.0.47 on two diffrenet servers with mod_jk(ajp13) when I try to execute jsp's they processed fine with tomcat. But one of my jsp's having a import([EMAIL PROTECTED] import =Test%) of one java class(Test.java) which is not included in any package( I

RE: Tomcat 4.1.27 ana apache 2.0.47 with mod_jk

2004-11-15 Thread Phillip Qin
I think you have to use package. -Original Message- From: Venkat Reddy Valluri [mailto:[EMAIL PROTECTED] Sent: November 15, 2004 4:04 PM To: Tomcat Users List Subject: Tomcat 4.1.27 ana apache 2.0.47 with mod_jk Hi I installed tomcat4.1.27 apache 2.0.47 on two diffrenet servers

Re: Rotating catalina.out with Webmin

2004-11-15 Thread erh
On Mon, Nov 15, 2004 at 02:36:57PM -0600, Filip Hanik - Dev wrote: nope, the moment you execute the mv the file handle has moved. switch to cronolog to save you some time, cronolog might recreate the file for you to, so no handle is ever lost, try it before you come back to the list :)

RE: Tomcat 4.1.27 ana apache 2.0.47 with mod_jk

2004-11-15 Thread Venkat Reddy Valluri
But it worked with tomcat 4.0.4 with out using any package Do you think is there nat option to set for this Thks --Venkat -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Mon 11/15/2004 4:15 PM To: 'Tomcat Users List' Cc: Subject:RE: Tomcat

Re: Rotating catalina.out with Webmin

2004-11-15 Thread Filip Hanik - Dev
this was not the case when using a java.io.FileOutputStream(), so I assume you tried and verified this :) Filip - Original Message - From: [EMAIL PROTECTED] To: Filip Hanik - Dev [EMAIL PROTECTED] Cc: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 15, 2004 3:16 PM Subject:

RE: gc output for tomcat?? where is it

2004-11-15 Thread Pooleery, Manoj
Can somebody from the developer team answer this question please? -Xloggc: works only from JDK 1.4 onwards. With JDK 1.3.1 and Tomcat running as a service, I was also not able to get any gc logs anywhere. When it is running as a console, with the -verbose:gc flag, it was showing the gc output

  1   2   >