Re: Rép. : SSL question

2005-10-05 Thread Antony GUILLOTEAU
If you want use javax.net.ssl you must have tomcat in a version upper or egal to 5. [EMAIL PROTECTED] 04/10/2005 18:28:59 Hi, thanks! I've got my own TrustManager/HostnameVerifier and it works when I use Apache's SecureWebServer and SecureXmlRpcClient. I'm not using javax.net.ssl, but

No stack trace?

2005-10-05 Thread Andoni
Hello, I am currently trying to implement a system which sends me an email if the site ever has an exception (not that it ever will of course!). To this end I have inserted a simple exception into my code and when I run the code in Tomcat there is no stack trace! Either in the HTML of the JSP

java.lang.ClassCircularityError

2005-10-05 Thread Jagadeesha T
Hi all, I am using Tomcat 5.0 with JBoss 3.2.6. In a very rare cases I got the error as java.lang.ClassCircularityError(myclass). Does anybody know wahy this error is coming. Thanks, Jagadish - Yahoo! for Good Click here to donate to

Re: java.lang.ClassCircularityError

2005-10-05 Thread Andoni
Hi Jagadish, Do you have a drawing of all your inheritance relationships? This error seems to be caused by a circular inheritance relationship i.e.: class ClassOne extends ClassTwo { ... } class ClassTwo extends ClassOne { ... } Obviously there could be many more than two classes involved so

Re: java.lang.ClassCircularityError

2005-10-05 Thread Jagadeesha T
HI Andoni, Thanks for the reply, It uses association that too unidirectional, I have seen the option in sun forum as have you explained to me. I tried to compile classes like this for just to get that error. This scenario won't compile, It gave me a error saying cycling inheritence.

limit tomcat threads lifetime

2005-10-05 Thread Marcus Franke
Hello, when I look in the manager/status page I sometimes see threads in status keep-alive that are very old, have atm some which are 70700177ms old, which is over 19 hours. These threads have no longer any connection to the apache server, which invoked them, as I restarted the responsible

Re: java.lang.ClassCircularityError

2005-10-05 Thread Andoni
Just thinking aloud here... is there anywhere in your program that you are using Java Reflection? Beyond this I am afraid I have no more ideas for now :-( Later, Andoni. - Original Message - From: Jagadeesha T To: Tomcat Users List Sent: Wednesday, October 05, 2005 9:48 AM

Re: java.lang.ClassCircularityError

2005-10-05 Thread Leon Rosenberg
Just some thoughts... if you write two classes A and B B extends A then compile then put B into deployment change B to not extend A and A to extend B, compile A put A into deployment Then you'll probably have your runtime circularity. Try to delete all your class files and recompile your

Re: java.lang.ClassCircularityError

2005-10-05 Thread Jagadeesha T
HI, Thanks for the reply, It is being working correctly all these days. Only once I got this error.After restarting the server worked fine. Only one time I got this error. But I have not done as you mentioned. I am very curious to know why is this suddenly came which was working all these

Setting up an HTTPS connection with tomcat 5.5.9

2005-10-05 Thread vineesh kumar
Hi, I am using tomcat 5.5.9 I hav o setup an https connection and i followed the configuration documentation in the apache tomcat site. But when I am using startup.sh,(yes! i am using an RHEL 4.0 host) the normal http is running but no https. How i can make it work] thanks in advance vineesh

RE: Problems mixin getReader and getParameter

2005-10-05 Thread Jean-Marc Marchand
According to the servlet's spec, the behavior of getParameter() is undefined if you consumed the payload first through getInputStream or getReader: If the parameter data was sent in the request body, such as occurs with an HTTP POST request, then reading the body directly via .getInputStream or

IIS - Tomcat - And Trailing /

2005-10-05 Thread Gregg D Bolinger
While IIS and Tomcat are working fine together, to access the webapp by utalizing a welcome file, a trailing / is required on the end of the URL. Is there a way to change that requirement? http://www.site.com/app/ - works http://www.site.com/app - desired to work Thanks Gregg

Re: Tomcat Alone or tomcat+IIS/Apache

2005-10-05 Thread Gregg D Bolinger
We required IIS for a CGI ecommerce solution that was required. Plug and Pay I think is the company we bought it from. I came in late on the project and haven't had a lot of time to mess with it. Does Tomcat support CGI bins utalizing non-java technology? Gregg On 9/30/05, Peddireddy Srikanth

RE: Tomcat Alone or tomcat+IIS/Apache

2005-10-05 Thread Caldarale, Charles R
From: Gregg D Bolinger [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache Does Tomcat support CGI bins utalizing non-java technology? As usual, RTFM: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cgi-howto.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Add context to URI (Tomcat5/Apache2)

2005-10-05 Thread Benjamin Lerman
Hi all, I'm looking through docs and FAQs, but I cannot find how to do the following. I use Tomcat5 and Apache2. My apache server can accede the tomcat server, and things like: [uri:/manager/*] info=A scriptable management web application for the Tomcat Web Server. debug=0 in the

[Announce] Stylus Studio Offers Unprecedented Free Upgrade for Altova XMLSpy and Mapforce Users

2005-10-05 Thread Stylus Studio
[Announce] Customers who have purchased qualifying Altova XML Products, including Altova XMLSPY 2005 or Altova XMLSPY(r) 2004 (Enterprise or Professional Edition) or Mapforce(r) 2005 or Mapforce 2004 (Enterprise or Professional Edition), on or before October 1, 2005 can now obtain a free upgrade

manager for address-based virtual hosts?

2005-10-05 Thread Paul Singleton
Is there a version of the Manager app which handles all address-based virtual hosts in a Tomcat system? I've tried ManagerX which embraces name-based hosts but not the address-based ones which our SSL-enabled apps require... Paul Singleton -- No virus found in this outgoing message. Checked

Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Pigott, Paul
Greetings, I'm having problems executing functions in an external javascript file. It's like the .js file can't be found. I was able to do this under Tomcat 4.0 but for some reason it's not working under Tomcat 5.0. The folder under webapps is /EdiHost and I've got another folder, /js, under

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Darek Czarkowski
You have to specify the full path, this should not work under any of the webservers. DarekC On Wed, 2005-10-05 at 08:03, Pigott, Paul wrote: Greetings, I'm having problems executing functions in an external javascript file. It's like the .js file can't be found. I was able to do this under

Re: SSL question

2005-10-05 Thread Raueber Hotzenplotz
Hi Not exactly sure what you mean. Could you send me a snippet of your web.xml? That would be very nice. Thanks! Greetings from Vienna --- Yassine ELassad [EMAIL PROTECTED] wrote: hi i'm not sure if this will help you but i have hade a quite similar issue : i have passed a full URL a

problem with setting path for config files

2005-10-05 Thread Raviteja Veerla
Hi all, I am having a problem with setting the path for config files. I am building a webservices in java using a 3rd party java API. this third party API requires few config files(xml files) to be present in the class path, so that they can read from those config files. i am developing these on

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Larry Meadors
You may be able to use this instead: src=js/EdiHost.js IDEA will get pissed about it, but it should work (I know it does for images). It is nice, because you can rename your context, and not break your webapp. :) Larry On 10/5/05, Pigott, Paul [EMAIL PROTECTED] wrote: Greetings, I'm

Tomcat behind IIS - Session timeout is ignored

2005-10-05 Thread Tobias Meyer
Hello list, I have a problem with a tomcat 5.0.28 installation connected to IIS 6.0 (Windows 2003 server) with isapi_redirect.dll Everything is working well, except for the session timeout. The timeout is set to 60 minutes in the context's web.xml file (session-timeout60/session-timeout) which

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Hassan Schroeder
Larry Meadors wrote: You may be able to use this instead: src=js/EdiHost.js It is nice, because you can rename your context, and not break your webapp. :) Or, if you're using JSTL, use: src=c:url value=/js/EditHost.js/ which has the added advantage of *not* being a relative path that'll

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Larry Meadors
Yeah, i just hate the tag inatag / / stuff. Messy. ;-) Larry On 10/5/05, Hassan Schroeder [EMAIL PROTECTED] wrote: Larry Meadors wrote: You may be able to use this instead: src=js/EdiHost.js It is nice, because you can rename your context, and not break your webapp. :) Or, if

RE: Problems mixin getReader and getParameter

2005-10-05 Thread Mauricio Nuñez
El mié, 05-10-2005 a las 08:46 -0400, Jean-Marc Marchand escribió: According to the servlet's spec, the behavior of getParameter() is undefined if you consumed the payload first through getInputStream or getReader: If the parameter data was sent in the request body, such as occurs with an

RE: problem with setting path for config files

2005-10-05 Thread Sabitha
You can declare a variable in Catalina.sh with your path and append it to the classpath. -Original Message- From: Raviteja Veerla [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 11:26 AM To: tomcat-user@jakarta.apache.org Subject: problem with setting path for config files

Tomcat Manager, Session Statistics

2005-10-05 Thread Jean-Pierre Pelletier
Hi, 1) When I look at sessions statistics for an application, using https://localhost/manager/html/sessions?path=/myApplication Why does Tomcat always list the number of sessions to expired within 10 minutes as equal to the number of active sessions? According to the documentation of Tomcat

Apache Tomcat Virtual Host question

2005-10-05 Thread Aria Bamdad
Hi, Sorry if this has been asked before but I can't find any such example.. I have Apache talking to Tomcat and everything works fine. My situation is as follows: I am using Apache VirtualHost directive to set different document roots depending on the PORT number the request comes in. So, I

Context path changes in context.xml not working

2005-10-05 Thread David Kerber
Running Tomcat 5.5.9 on Windows 2000 server. I am trying to change the context path of an application, and it works fine when I put this into my server.xml: Context path=/wradev/pelican docBase=e:\TomcatClients\Pelican\webapps\SiteData debug=0 reloadable=true autoDeploy=true

Re: an advice neede for use of encodeURL method...

2005-10-05 Thread Paul Singleton
jonas skrebys wrote: Hi everyone, could anyone help me understand what I am doing wrong... I want to put a session tracking into my jsp page. I use response.encodeURL method to rewrite all url in my page : a href=% response.encodeURL(/appName/myJSP.jsp?parameter = + value); % also I

Re: Context path changes in context.xml not working

2005-10-05 Thread Mark Eggers
As mentioned several times on the mailing list, path is no longer read from webapp/META-INF/context.xml. Try placing the context information in: engine-name\hostname\appname.xml under %CATALINA_HOME%\conf or %CATALINA_BASE%\conf if you're using multiple Tomcats served from one binary. If

Re: Context path changes in context.xml not working

2005-10-05 Thread David Smith
Intended behavior. path attributes are ignored in context xml files. If you'd like to change the name of the webapp, I'd suggest changing the name of the .war file to change it's name. If you aren't working with .war files, change the name of the webapp folder and then the name of it's context

Balancer for redirect to other host

2005-10-05 Thread Jury Levykin
Hi, I want use balancer for redirect all requests from mydomain.org to www.mydomain.org. I try following configuration: -- server.xml -- ... Host name=www.mydomain.org appBase=webapps Context path= docBase=el-dimm reloadable=true/ /Host Host name=mydomain.org

Error: Connection was refused when attempting to contact

2005-10-05 Thread André
Hi people! I'm facing this error with my Tomcat (version 4.0.6) on Debian. It seems that is everything ok: I can access the JSP and servlets examples, the tomcat docs and others without any errors. The problem occurs when I attempt to run an application called maca_ad_web.war, that is available

Re: Context path changes in context.xml not working

2005-10-05 Thread David Kerber
I guess I missed that part about paths - thanks for pointing that out. How do I rename things to get the 2-level context path? This is an app I'm migrating from SilverStream to Tomcat, and I don't want to change the url my users use to connect to it. David Smith wrote: Intended behavior.

Re: Deploying a webapp under two different URIs

2005-10-05 Thread Paul Singleton
Carsten Guenther wrote: I want to deploy the same webapp under two different URIs. I created two context descriptors like this: Context path=/a docBase=/home/user/myapp debug=0 privileged=false Logger className=org.apache.catalina.logger.FileLogger prefix=a. suffix=.txt

Re: Tomcat Manager, Session Statistics

2005-10-05 Thread Mark Thomas
Jean-Pierre Pelletier wrote: Hi, 1) When I look at sessions statistics for an application, using https://localhost/manager/html/sessions?path=/myApplication Why does Tomcat always list the number of sessions to expired within 10 minutes as equal to the number of active sessions? Looks like a

Re: java.lang.ClassCircularityError

2005-10-05 Thread Shankar Unni
Jagadeesha T wrote: I am using Tomcat 5.0 with JBoss 3.2.6. In a very rare cases I got the error as java.lang.ClassCircularityError(myclass). Does anybody know wahy this error is coming. There seems to be a well-known Java bug (1.3.x and 1.4.x, fixed in 1.5) that affects JBoss 3.x:

sharing session information across tomcats on different machines

2005-10-05 Thread Mark
Is there any possibility for tomcats on separate machines to share session information. I am looking into load balancing a few tomcats with an apache in front of them. In other words, the setup will be internet - Apache(s) - Tomcats Is it possible for this type of scenario to exist, and sesion

RE: Re: java.lang.ClassCircularityError

2005-10-05 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Shankar Unni Subject: Re: java.lang.ClassCircularityError There seems to be a well-known Java bug (1.3.x and 1.4.x, fixed in 1.5) that affects JBoss 3.x: http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4699981 According to the bug

Re: Tomcat Manager, Session Statistics

2005-10-05 Thread Jean-Pierre Pelletier
I suggest that the display of 30 - 40 minutes:1 sessions be rethink. To me it looks misleading at best. The documentation is probably wrong as well. In the example, the newly created session shouldn't be counted. Jean-Pierre Pelletier - Original Message - From: Mark Thomas [EMAIL

Non-servlet class cannot access jar file in ./WEB-INF/lib when a Servlet does

2005-10-05 Thread Jose Maria Ramirez Martinez
Hi, everybody I have the next problem: A servlet calls a non-servlet class, and this non-servlet class imports classes from a jar file, but the classloader does not find the class from the jar file (so when I call the servlet from an internet browser, I get a NoClassDefFoundException) But if

Re: custom session manager

2005-10-05 Thread Mark
This is about 90% of what I want. One of the features I want to put into my session manager is the ability to only have one open session per user. What I would like is to have a createSession method that takes in user and host. This way I could be relatively sure that the user could only have

Re: custom session manager

2005-10-05 Thread Leon Rosenberg
I have never seen that the getRemoteUser method you are referring to returned something userful, or just something other then null. Taken in account different browsers, proxies, internet-cafes... I don't think it's possible. On the other hand, why do you need that? As a matter of security this

[5.5.9] Excessive jk INFO log msgs connection timeout reached

2005-10-05 Thread Rick
Anyone know the proper way to handle these messages? I get piles of them in catalina.out Oct 5, 2005 3:00:23 PM org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached Tried adding the following line to the default

Re: Tomcat Manager, Session Statistics

2005-10-05 Thread Rainer Jung
Hi, documentation says: Display ... the number of currently active sessions that fall within ten-minute ranges of their actual timeout times. Actual timeout times does not mean from now, but instead in general. It does not relate to when the session has been used last time. Since all sessions

Modjk and Tomcat 5.5.4 problem

2005-10-05 Thread John Martyniak
Has anyone had any problems with ModJK crashing the server? I haven't been able to fully debug yet, primarily because it doesn't update any logs to state there is a problem, and I can't reliably replicate the problem. I am using Apache 2.0.47, modjk 1.2.5 and tomcat 5.5.4 I think that it

end-of-lifecycle control for naming resources

2005-10-05 Thread Brian Moseley
i'm setting up an instance of javax.jcr.Repository as a naming resource like so: Resource name=jcr/cosmo type=org.apache.jackrabbit.core.jndi.BindableRepository factory=org.apache.jackrabbit.core.jndi.BindableRepositoryFactory configFilePath=etc/repository.xml

RE: Modjk and Tomcat 5.5.4 problem

2005-10-05 Thread Rick
We had an issue where it seemed like it would crash using mod_jk, the trouble was the connections were not letting go. By default, I think the timeout is infinite, so after setting the property: connectionTimeout, in the server.xml's connector descriptor as follows, Connector port=

isapi_redirector2.dll question

2005-10-05 Thread John MccLain
I have installed the IIS to Tomcat redirector on my windows XP pro machine and it works great. I took the same steps to install in on a win2k machine running IIS5.0, and it fails. Both machines have the same tomcat version (5.5.11) and both are configured identically. Here is the

Database connections aren't being released...

2005-10-05 Thread Richard Road Runner
I am not sure that this is a Tomcat issue, but we are not sure what exactly is causing our problem. We are running Tomcat 5.0.27. We are using the most recent jconn2.jar driver to connect to a Sybase SQL Anywhere Studio 7 database via JDBC. Over a period of time, the number of connections to

Re: custom session manager

2005-10-05 Thread Mark
basically, I want to prevent users from logging in and creating a second session if a valid session for that user already exists. For instance. 1. Log in to my web app, session is created 2. browse around in my web app 3. close browser, do not logout 4. Start browser up again 5. try and log in

[ANN] Tomcat sources moved to Subversion

2005-10-05 Thread Yoav Shapira
Hi, FYI, the Tomcat source code has been moved to Apache's Subversion (SVN) repository. The old CVS repositories are now locked down: they can still be used for checking out code, but no further work will be done in them. For details on how to work with SVN, please see

Re: Context path changes in context.xml not working

2005-10-05 Thread David Kerber
Nobody has any suggestions about setting up a 2-level context path *without* putting it in the server.xml (it works fine in there)? Dave David Kerber wrote: I guess I missed that part about paths - thanks for pointing that out. How do I rename things to get the 2-level context path? This

Re: Context path changes in context.xml not working

2005-10-05 Thread Mark Eggers
Did you try it in: $CATALINA_HOME/conf/engine-name/hostname/appname.xml? /mde/ --- David Kerber [EMAIL PROTECTED] wrote: Nobody has any suggestions about setting up a 2-level context path *without* putting it in the server.xml (it works fine in there)? Dave

RE: custom session manager

2005-10-05 Thread Caldarale, Charles R
From: Mark [mailto:[EMAIL PROTECTED] Subject: Re: custom session manager basically, I want to prevent users from logging in and creating a second session if a valid session for that user already exists. Why? Some strange security issue? Resource consumption? An anti-DoS measure? -

RE: Database connections aren't being released...

2005-10-05 Thread Caldarale, Charles R
From: Richard Road Runner [mailto:[EMAIL PROTECTED] Subject: Database connections aren't being released... Over a period of time, the number of connections to the database continues to increase far beyond the possible number of users. This is usually a problem in the webapp, in that

precompiling JSPs -- how to resolve references normally resolved by apache?

2005-10-05 Thread ut9h-3pye
Hi, I am trying to get our JSPs to be precompiled as part of our ant build process to catch all syntax errors at compile time. The problem I have run into is that we are using apache + tomcat and we have set the following rules in apache httpd. conf: JkMount /servlets/* ajp13 JkMount

RE: Tomcat does not honor acceptCount configuration variable

2005-10-05 Thread Wei Zhao
Any tips on this issue? -Original Message- From: Wei Zhao [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 11:22 AM To: tomcat-user@jakarta.apache.org Cc: [EMAIL PROTECTED] Subject: Tomcat does not honor acceptCount configuration variable Hi: I am resending this question

useBeans problem

2005-10-05 Thread Michael Pope
I'm new to JSP and still getting used to the environment. I'm using FreeBSD5.4, Jakarta tomcat 5.5.9 with JDK 1.5.0_p2 When I try to use Beans it comes up with the error: *type* Exception report *message* *description* _The server encountered an internal error () that prevented it from

RE: useBeans problem

2005-10-05 Thread Caldarale, Charles R
From: Michael Pope [mailto:[EMAIL PROTECTED] Subject: useBeans problem I'm new to JSP and still getting used to the environment. I'm using FreeBSD5.4, Jakarta tomcat 5.5.9 with JDK 1.5.0_p2 When I try to use Beans it comes up with the error: javax.servlet.ServletException: UserData

Re: useBeans problem

2005-10-05 Thread Michael Pope
Ok i found two other installations of JDK on the machine. I'm going to make sure that the only JDK i have installed on here is JDK1.5.0_p2 Michael Caldarale, Charles R wrote: From: Michael Pope [mailto:[EMAIL PROTECTED] Subject: useBeans problem I'm new to JSP and still getting used to

Configuring https on apache tomcat 5.5.9

2005-10-05 Thread vineesh kumar
Hi all, I am trying to configure tomcat 5.5.9 with SSL support.I followed the instructions from apache site. But the problem is I can use the server ay 8080 but at 8443 it's not workin with https. I am not getting any exception.Everything is showing fine.but the port is not open.I think some one

Re: Context path changes in context.xml not working

2005-10-05 Thread Caldarale, Charles R
From: David Kerber [EMAIL PROTECTED] Subject: Re: Context path changes in context.xml not working Nobody has any suggestions about setting up a 2-level context path *without* putting it in the server.xml (it works fine in there)? I thought I remembered something about this, and went

Re: custom session manager

2005-10-05 Thread Leon Rosenberg
On 10/6/05, Mark [EMAIL PROTECTED] wrote: basically, I want to prevent users from logging in and creating a second session if a valid session for that user already exists. For instance. 1. Log in to my web app, session is created 2. browse around in my web app 3. close browser, do not