RE: any way to share objects between non-clustered tomcat instances ?

2006-06-05 Thread Tomimitsu Masaru
Thank you very much Filip for your answer ! I'll study it. Any other recommendations are always welcome. Masaru -Message d'origine- De : Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Envoyé : mardi 6 juin 2006 03:53 À : Tomcat Users List Objet : Re: any way to share objects between

Re: SSL Setup

2006-06-05 Thread Jack
Do you have the strong encryption algorithms installed in the JDK you are using? On 02/06/06, Roch <[EMAIL PROTECTED]> wrote: I'm getting the error that says "cannot communicate securely because they have no common encryption algorithms. -- View this message in context: http://www.nabble.com/S

Undeploy task not working

2006-06-05 Thread Venkatesh Babu
Hello All, I'm using Tomcat 4.1 and trying to deploy/undeploy application using ant targets. Earlier I posted a mail on deploy task not working due to some protocol error. Got the solution for that :-) But right now undeploy task is not working. It is giving an error saying: FAIL - Cannot remov

Re: Urgent...

2006-06-05 Thread Bob Hall
--- Christian Jean <[EMAIL PROTECTED]> wrote: > I've been successfully using various version of > Tomcat for serveral years > with the same certificate... all worked well. > > I wanted to test the stability of Tomcat 5.5.17, so > I installed in on the > same server but renamed all the 8XXX ports

Urgent...

2006-06-05 Thread Christian Jean
Please help, my production server is down because of this mess I've been successfully using various version of Tomcat for serveral years with the same certificate... all worked well. The last server I was using was 5.0.28... which kept crashing every day! Looking at the log files did not giv

Re: Problem while deploying war

2006-06-05 Thread Venkatesh Babu
Hi Mark, Thanks for the solution. Actually file:///C:\temp\app1\app1.war works -Venkatesh --- Mark Thomas <[EMAIL PROTECTED]> wrote: > Venkatesh Babu wrote: > > Can anybody help me and point out what might be > the > > problem? > > Your url starts C:/ (so C looks like the protocol > rather th

RE: Tomcat /JSSE help needed

2006-06-05 Thread Rumpa Giri
On our QA machine, we have the IIS and tomcat both on the same box, IIS has the redirector also. Now on this box we did not install the certificate but its still working. When we do the httpsurlconnection via the java code to the outside URL, is IIS involved at all? Thanks, Rumpa

Re: Image files and DeployTask...

2006-06-05 Thread Mark Thomas
Marc Farrow wrote: > Mark, > > Why do you have to mark the WEBDAV servlet as NOT read-only in order to > use the ant tasks? By default the read-only/false parameter is commented > out. The ant tasks will not work unless you uncomment them out. You don't have to do this. The Ant tasks use the m

RE: Tomcat /JSSE help needed

2006-06-05 Thread Tim Lucia
Wouldn't you need IIS to have the certificate, rather then Tomcat? Just a guess, as I read this. It *appears* that IIS would be making the SSL connection (https) outbound while speaking AJP over 8009 to Tomcat. Tim -Original Message- From: Rumpa Giri [mailto:[EMAIL PROTECTED] Sent: Mon

Tomcat /JSSE help needed

2006-06-05 Thread Rumpa Giri
Tomcat Version 5.0.25 JDK Version 1.5 One of our vendor required client authentication to retrieve data. So, we got a Thwate Freemail Certificate, send the vendor our serial number. Our vendor added that serial number to their application to allow us to contact their .aspx url.

Re: any way to share objects between non-clustered tomcat instances ?

2006-06-05 Thread Filip Hanik - Dev Lists
sure, you can implement your own little app on top of a messaging framework, I would recommend using Tribes, http://people.apache.org/~fhanik/tribes/docs/introduction.html Filip Tomimitsu Masaru wrote: Hello all, Maybe this has already been discussed, but I dare ask you the question : are th

Re: Image files and DeployTask...

2006-06-05 Thread Marc Farrow
Mark, Why do you have to mark the WEBDAV servlet as NOT read-only in order to use the ant tasks? By default the read-only/false parameter is commented out. The ant tasks will not work unless you uncomment them out. At least on OpenVMS, the manager application uses WEBDAV to remotely download

What will change the TC server time?

2006-06-05 Thread Wei Wei
While the Apache log file has the right time (the same as the server box), the application log file has a total different time (zone?). This situation occurs on the deployment box which is Linux. There is not such issue in the development box: Windows. I don't see any log4J property file has an

tomcat contexts for proxied content

2006-06-05 Thread bleak
I've got tomcat 5.5.17 and apache 2.2.2 installed and I'm trying to set up an AJP1.3 connector to proxy content from apache to tomcat. However, no matter what I've tried so far, tomcat always responds with a "requested resource not available" error. Following are the settings in server.xml:

Re: Image files and DeployTask...

2006-06-05 Thread Mark Thomas
Marc Farrow wrote: > I am not going to be able to give you the resolution to this problem. > However, the ant tasks use the WEBDAV application from within Tomcat and > this is the source of your problem. Are you deploying to local or remote > host? If it is a remote host, then it could be a bug i

RE: Tray Icon

2006-06-05 Thread Richard Mundell
I'll take this off-line with Mark. -Original Message- From: Mark Gladstone [mailto:[EMAIL PROTECTED] Sent: Monday, June 05, 2006 3:39 PM To: Tomcat Users List Cc: Richard Mundell Subject: Re: Tray Icon Richard, Thank your reply. This was my first-ever question to the forum, and I hope

Re: Tray Icon

2006-06-05 Thread Mark Gladstone
Richard, Thank your reply. This was my first-ever question to the forum, and I hope I'm replying in the correct manner. Bringing up "Apache Tomcat Properties" using tomcat5w.exe, the only property that seems to make sense is "Log On". The default radio button set was "Local System Account"

RE: Tray Icon

2006-06-05 Thread Richard Mundell
Mark, If you close the icon you can simply re-run the monitoring application: $CATALINA_ROOT/bin/tomcat5w.exe. Richard ___ Richard Mundell The Roberts Group Market Data Expertise that FITS. www.trgrp.com -Original Message- From: Mark Gladstone [mailto:[EMAIL PROT

Tray Icon

2006-06-05 Thread Mark Gladstone
Hi, I've installed Tomcat 5.5.17 and the admin package. Yes, the admin docs state that the tray icon will appear if I choose to start Tomcat after installation; and that I will lose it later. It is a handy way to start/stop Tomcat. Is there any way to get it back? I've checked FAQs; if I miss

RE: Image files and DeployTask...

2006-06-05 Thread Greg Allen
I am deploying on the local host. -- Greg -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Monday, June 05, 2006 2:35 PM To: Tomcat Users List Subject: Re: Image files and DeployTask... I am not going to be able to give you the resolution to this problem. However, t

Re: Image files and DeployTask...

2006-06-05 Thread Marc Farrow
I am not going to be able to give you the resolution to this problem. However, the ant tasks use the WEBDAV application from within Tomcat and this is the source of your problem. Are you deploying to local or remote host? If it is a remote host, then it could be a bug in the Tomcat version runni

Image files and DeployTask...

2006-06-05 Thread Greg Allen
I have a build.xml that used DeployTask to deploy my application. Here's the build.xml: In my deployed application I have some image files (GIF format), which end up in the /images directory. However, for some reason, when the application is deployed the images end u

RE: Problems with

2006-06-05 Thread Roland Rabben
java.io.IOException: tmpFile.renameTo(classFile) failed at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:2 45) at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:164) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.j

Re: Problems with

2006-06-05 Thread Marc Farrow
More of the stack trace would be helpful. We need to see what class was trying to execute the rename method, etc. On 6/5/06, Roland Rabben <[EMAIL PROTECTED]> wrote: I am seeing some problems with my webapp that I can't figure out. I get this exception while Tomcat compiles my app in the work

Problems with

2006-06-05 Thread Roland Rabben
I am seeing some problems with my webapp that I can't figure out. I get this exception while Tomcat compiles my app in the work directory.: java.io.IOException: tmpFile.renameTo(classFile) failed I can't see a pattern to this. Any clues? I am running JRE 1.5.0_06, Tomcat 5.17 and Windows XP SP2.

Re: Can`t resolve JDBCRealm problem

2006-06-05 Thread Nenad Bosanac
Thanks Martin for zour response! I will track that link and try to follow that instructions, and after i do it i will response zou back again. Thanks again. --- Martin Gainty <[EMAIL PROTECTED]> wrote: > Good Morning Nenad > > If you follow these instructions > http://www.onjava.com/pub/a/onjava

Re: How to deploy one application under two different port?

2006-06-05 Thread Nikita Tovstoles
I think that's exactly what red phoenix is asking. If so, I would suggest defining a second inside element of your Tomcat's server.xml (under $CATALINA_BASE/conf), HOWEVER: I discovered that under highly-concurrent loads a request to one port is interpreted by Tomcat two requests - one on ea

Re: Allocate exception

2006-06-05 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Re: Allocate exception

2006-06-05 Thread Marc Farrow
is the Authorize class (the servlet) in a package? if so, you need the package qualified name. If not, then Java strongly urges the use of one. Also, where is the Authorize.class file or the jar containing the Authorize.class located? On 6/5/06, Miguel Angel Ruz <[EMAIL PROTECTED]> wrote: Th

RE: Allocate exception

2006-06-05 Thread Miguel Angel Ruz
Thanks Marc for your answer!!! The servlet "Authorize" is definid in web.xml ... Authorize Authorize .. Authorize /servlet/Authorize . -Mensaje original- De: Marc Farrow [mailto:[EMAIL PROTECTED] Enviado el: lunes

Tomcat 5.0 logging under windows

2006-06-05 Thread Adam Lipscombe
Hi Folks I am using TC 5.0.28 with Windows. By default it creates stdout.log and stderr.log in the logs directory. I don't really mind what the log files are called but I would like them to roll over daily. Logging in our application is handled by the builtin java.util.logging rather log4j. Ha

Re: Allocate exception

2006-06-05 Thread Marc Farrow
This looks like a configuration error. It seems as though a servlet named "Authorize" has been declared somewhere, but not properly defined. Check your web.xml. On 6/5/06, Miguel Angel Ruz <[EMAIL PROTECTED]> wrote: Hi !! I´m programming a Servlet with Tomcat 5.5 It´s running but with thi

Allocate exception

2006-06-05 Thread Miguel Angel Ruz
Hi !! I´m programming a Servlet with Tomcat 5.5 It´s running but with this code try{ DEMO demoobj = new DEMO (); }catch (Exception e) {} Do you Know something about this error ?? Thanks. I get this error in catalina.log SEVERE: Allocate exception for servlet Authorize javax.

Unable to retrieve the list of portlets on the Portal after implementing the SSL(https)

2006-06-05 Thread keyur sheth
The problem is that Unable to retrieve list of portlets. Make sure tomcat-users.xml has been edited according to the UserGuide. I already implemented the SSL and made the tomcat container secure. So when I successfully implemented configuring SSL and started the portal I got the error on

RE: java.lang.NoClassDefFoundError

2006-06-05 Thread Mann, Bradley
Thanks...I had actually read that document but a closer read got me the info I needed. I put some symbolic links in the shared/lib directory of $CATALINA_BASE to the classes I needed and it worked immediately. Brad Mann Software Engineer - Information Access Services HARRIS Corporation / GCSD (3

RE: java.lang.NoClassDefFoundError

2006-06-05 Thread Miguel Angel Ruz
This is a initial Servlet. import java.io.*; import java.lang.*; import java.text.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class Authorize extends HttpServlet { protected void service(HttpServletRequest request,HttpServletResponse response)

RE: java.lang.NoClassDefFoundError

2006-06-05 Thread Mann, Bradley
I can't give out the servlet code but here is the error log: Jun 5, 2006 10:40:30 AM org.apache.catalina.core.ApplicationContext log INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Tar

Re: java.lang.NoClassDefFoundError

2006-06-05 Thread Jon Wingfield
Or better, read http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html and http://tomcat.apache.org/faq/classnotfound.html and deploy your application code appropriately. For the impatient: Tomcat doesn't use CLASSPATH. It sets up its own based on the servlet specification. Each deploy

Re: A way to know if file download has ended

2006-06-05 Thread Wade Chandler
--- Darryl Miles <[EMAIL PROTECTED]> wrote: > Bachler, Elisabeth (Elisabeth) wrote: > > Thank you to everyone. I will investigate further. > > Elisabeth > > Maybe this thread is related (excuse the horid > apache web interface) : > > http://mail-archives.apache.org/mod_mbox/tomcat-users/200604.m

Mini HOW-TO: Tomcat as a service on Windows Server 2003 64-bit edition

2006-06-05 Thread Richard Mundell
Dear all, While Tomcat will run happily on a 64-bit edition of Windows by running it directly through a 64-bit build of Java, the native Windows "Service" support which is bundled with Tomcat 5.5.x is presently 32-bit only. The reason to run Tomcat in a 64-bit environment is to run with large me

RE: java.lang.NoClassDefFoundError

2006-06-05 Thread Miguel Angel Ruz
Can you send the Tomcat log and the Servlet code ?? -Mensaje original- De: Mann, Bradley [mailto:[EMAIL PROTECTED] Enviado el: lunes, 05 de junio de 2006 16:57 Para: users@tomcat.apache.org Asunto: java.lang.NoClassDefFoundError Hello, I am using Solaris 10 and Tomcat 5.5. I have de

java.lang.NoClassDefFoundError

2006-06-05 Thread Mann, Bradley
Hello, I am using Solaris 10 and Tomcat 5.5. I have deployed a web application using the Tomcat manager, but when I try to access the servlet, I am receiving a class not found error. This class is in my CLASSPATH environment variable. Where do I add this class so that my servlet can see it? Thank

Re: Tomcat windows service terminated expectedly

2006-06-05 Thread Bill Tomlinson
On 6/3/06, Martin Gainty <[EMAIL PROTECTED]> wrote: Good Morning Bill- I agree this can be a bit of a challenge but I found starting with base webapps and then adding one webapp at a time usually helps Also in the server.xml turn on debug flag via debug attribute Then check the Logs and send th

Re: How to deploy one application under two different port?

2006-06-05 Thread Marc Farrow
Are you saying that if a certain user logs in (one that has admin privileges) that you want this person to run the same application on port 9090 while someone else with port 8080? Your question is confusing. Please be more clear. On 6/5/06, red phoenix <[EMAIL PROTECTED]> wrote: I hava a w

RE: A way to know if file download has ended

2006-06-05 Thread Bachler, Elisabeth (Elisabeth)
Thanks Elisabeth -Original Message- From: Darryl Miles [mailto:[EMAIL PROTECTED] Sent: lunes, 05 de junio de 2006 13:07 To: Tomcat Users List Subject: Re: A way to know if file download has ended Bachler, Elisabeth (Elisabeth) wrote: > Thank you to everyone. I will investigate further.

Re: Cascade webapps

2006-06-05 Thread Mark Thomas
Mike Streeton wrote: > Is it possible to have webapps in subdirectories, e.g. > > Webapp A uses context / > > Webapp B uses /B > > Webapp C uses /B/C > > Assuming that webapp A does not have a directory/servlet called B and > webapp B does not have a directory/servlet call C. Yes, with the res

Re: A way to know if file download has ended

2006-06-05 Thread Darryl Miles
Bachler, Elisabeth (Elisabeth) wrote: Thank you to everyone. I will investigate further. Elisabeth Maybe this thread is related (excuse the horid apache web interface) : http://mail-archives.apache.org/mod_mbox/tomcat-users/200604.mbox/[EMAIL PROTECTED] Darryl -

Cascade webapps

2006-06-05 Thread Mike Streeton
Is it possible to have webapps in subdirectories, e.g. Webapp A uses context / Webapp B uses /B Webapp C uses /B/C Assuming that webapp A does not have a directory/servlet called B and webapp B does not have a directory/servlet call C. Thanks Mike www.ardentia.com the home of

RE: A way to know if file download has ended

2006-06-05 Thread Bachler, Elisabeth (Elisabeth)
Thank you to everyone. I will investigate further. Elisabeth -Original Message- From: Nicolas Schwartz [mailto:[EMAIL PROTECTED] Sent: lunes, 05 de junio de 2006 10:48 To: Tomcat Users List Subject: Re: A way to know if file download has ended > This is one of those issues that just ca

Re: A way to know if file download has ended

2006-06-05 Thread Nicolas Schwartz
> This is one of those issues that just can't be solved > with simple HTTP and HTML. There isn't a response > sent to the server to tell it every single download > was successful (or at least not sent back to the web > application ... TCP makes sure the last bytes get to > the other side successf

any way to share objects between non-clustered tomcat instances ?

2006-06-05 Thread Tomimitsu Masaru
Hello all, Maybe this has already been discussed, but I dare ask you the question : are there any ways to share Java objects between non-clustered tomcat instances ? When they are clusters, I heard they can share ServletContext's attributes without problem, is that right ? But in our case, we don

Re: Own implementation WebdavServlet

2006-06-05 Thread Jon Wingfield
From previous posts to this list I believe the WebDAV servlet shipped with tomcat is intentionally a bare bones implementation. Have you seen the Slide project? http://jakarta.apache.org/slide/index.html Jon [EMAIL PROTECTED] wrote: I want to make my own implementation of org.apache.catalina.

Re: Clustering

2006-06-05 Thread David Rees
On 6/4/06, Sandeep Gaikwad <[EMAIL PROTECTED]> wrote: Which version is most suitable for Tomcat Clustering? The latest version, 5.5.17. -Dave - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EM