HTTP/HTTPS sessions

2009-05-26 Thread Jain, Vikrant
Hi, In my application HttpSession is getting created on a SSL Login page, subsequently it redirects to HTTP page, but the HTTPS session is lost. How do I maintain the same HttpSession across the HTTP and HTTPS Urls? I need to use HTTPS for several Urls, so the problem is not restricted t

RE: Debian Tomcat Fail

2009-05-26 Thread trojansnake12
Thanks so much. I had no idea the debian version of tomcat was so messed up. I've installed apache's Tomcat6, and it is working great. -- View this message in context: http://www.nabble.com/Debian-Tomcat-Fail-tp23734947p23735892.html Sent from the Tomcat - User mailing list archive at Nabble.c

RE: hwllo.html

2009-05-26 Thread Caldarale, Charles R
> From: Geofrey Rainey [mailto:geofrey.rai...@tvnz.co.nz] > Subject: RE: hwllo.html > > Place an index.html file in the Tomcat default web application docroot: > webapps/ROOT That would, of course, overwrite the existing index.html file in webapps/ROOT, wiping out the default Tomcat home page an

RE: hwllo.html

2009-05-26 Thread Caldarale, Charles R
> From: veena pandit [mailto:v.kri...@gmail.com] > Subject: Re: hwllo.html > > I downloaded 6.0 and was looking at the documentation online too. Be aware that all proper web servers, including Tomcat, are case sensitive (even on Windows), and do not tolerate spelling errors. Consequently, placi

RE: hwllo.html

2009-05-26 Thread Geofrey Rainey
Place an index.html file in the Tomcat default web application docroot: webapps/ROOT Then you should be able to access it with: http://servername:8080 -Original Message- From: veena pandit [mailto:v.kri...@gmail.com] Sent: Wednesday, 27 May 2009 1:13 p.m. To: Tomcat Users List Subject

RE: Debian Tomcat Fail

2009-05-26 Thread Caldarale, Charles R
> From: trojansnake12 [mailto:boppn...@swbell.net] > Subject: Re: Debian Tomcat Fail > > I've switched to using Sun Java 6, and now my stuff doesn't crash, > but I get internal errors all over the place. Now that you've switched to a real JVM, try a real Tomcat to go with it - one downloaded fro

Re: Debian Tomcat Fail

2009-05-26 Thread trojansnake12
I've switched to using Sun Java 6, and now my stuff doesn't crash, but I get internal errors all over the place. On the app in my original post I get a HTTP status 500, exception report: javax.servlet.ServletException: Could not initialize class javax.imageio.ImageIO org.apache.catalina.

Re: Blank page when native DLL used

2009-05-26 Thread Frank W. Zammetti
Hi Charles, JVM info: java version "1.6.0_11" Java(TM) SE Runtime Environment (build 1.6.0_11-b03) Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing) 32-bit, and I re-confirmed I have the right download (which seems obvious anyway given that Tomcat picks it up and starts running w

Re: Debian Tomcat Fail

2009-05-26 Thread Hassan Schroeder
On Tue, May 26, 2009 at 7:22 PM, trojansnake12 wrote: > > I am about at my wits' end here > I'm using ... gcj4.3 on the debian box. Correlation? :-) Place your bets, ladies and gentlemen, place your bets... -- Hassan Schroeder hassan.schroe...@gmail.com ---

Re: Problem Reading Property files

2009-05-26 Thread john S
Thanks for your response, Actually we dont have the source code for that because it is very old code, but i m using decompiler in which i can get some informtaion. OS used for *iPlanet* is *Unix* but now I need to deploy this application in *tomcat* in *windows server 2003*. * SERVLET CLASS*: Cl

Re: Problem Reading Property files

2009-05-26 Thread john S
Thanks for your response, Actually we dont have the source code for that because it is very old code, but i m using decompiler in which i can get some informtaion. OS used for *iPlanet* is *Unix* but now I need to deploy this application in *tomcat* in *windows server 2003*. Servlet clss: *SERVLE

Debian Tomcat Fail

2009-05-26 Thread trojansnake12
I am about at my wits' end here with Tomcat on Debian. I have an app called Project.java, and all it should do is grab a file from the file system, and output that on the browser window. On my windows box, this works perfectly. I'm using jdk6 on the windows box, and gcj4.3 on the debian box. M

Re: hwllo.html

2009-05-26 Thread veena pandit
ok thanks, Veena On Tue, May 26, 2009 at 9:09 PM, David Kerber wrote: > veena pandit wrote: > >> I saw that the tomcat example has a servlet example and a jsp example but >> no >> html example. >> >> > Put .html's in the same folder as .jsp's, and it should work. > > > D > > > > > > ---

Re: hwllo.html

2009-05-26 Thread David Kerber
veena pandit wrote: I saw that the tomcat example has a servlet example and a jsp example but no html example. Put .html's in the same folder as .jsp's, and it should work. D - To unsubscribe, e-mail: users-unsubscr...@

Re: hwllo.html

2009-05-26 Thread veena pandit
I downloaded 6.0 and was looking at the documentation online too. On Tue, May 26, 2009 at 9:02 PM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Tue, May 26, 2009 at 5:55 PM, veena pandit wrote: > > I saw that the tomcat example has a servlet example and a jsp example but > no > > h

Re: hwllo.html

2009-05-26 Thread Hassan Schroeder
On Tue, May 26, 2009 at 5:55 PM, veena pandit wrote: > I saw that the tomcat example has a servlet example and a jsp example but no > html example. Perhaps you need to download a current version; they all include HTML files. -- Hassan Schroeder hassan.schroe...@gmail.co

Re: hwllo.html

2009-05-26 Thread veena pandit
I saw that the tomcat example has a servlet example and a jsp example but no html example. On Tue, May 26, 2009 at 8:52 PM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Tue, May 26, 2009 at 5:43 PM, veena pandit wrote: > > I dont know where to place it. I am following some tutoria

Re: hello world

2009-05-26 Thread veena pandit
I tried placing it in a webapps directory under tomcat root. do i need to configure in web.xml? On Tue, May 26, 2009 at 8:25 PM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Tue, May 26, 2009 at 5:18 PM, veena pandit wrote: > > How to configure Hello.html in Tomcat? > > > > Where

Re: hwllo.html

2009-05-26 Thread Hassan Schroeder
On Tue, May 26, 2009 at 5:43 PM, veena pandit wrote: > I dont know where to place it.  I am following some tutorial. How about starting off with the actual Tomcat documentation? That would probably get you a lot farther. Oh, and looking at the examples included in the standard distro. And speaki

hwllo.html

2009-05-26 Thread veena pandit
I dont know where to place it. I am following some tutorial. I placed it under tomcat root in a directory named web-apps. Do i have to configure it in web.xml? Thanks, Veena

Re: hello world

2009-05-26 Thread Hassan Schroeder
On Tue, May 26, 2009 at 5:18 PM, veena pandit wrote: > How to configure Hello.html in Tomcat? > > Where do I place the following file?  How to access it from the server? Where did you try placing it, and what makes you think that wasn't the right place? -- Hassan Schroeder -

hello world

2009-05-26 Thread veena pandit
How to configure Hello.html in Tomcat? Where do I place the following file? How to access it from the server? Hello, world Thanks, Veena

Recommend documentation

2009-05-26 Thread Sergio Belkin
Hi, We have a tomcat server in production and other testing apps, for me tomcat is still a "black box". But I'd want to now more about its internal working. I'd want to read some documentation that is going around on the web. What documentation would you recommend me that was really useful for you

Re: CoyoteOutputStream OutputBuffer Problem

2009-05-26 Thread Mike Duffy
Tomcat 5.5.27 - Original Message From: "Caldarale, Charles R" To: Tomcat Users List Sent: Tuesday, May 26, 2009 4:43:37 PM Subject: RE: CoyoteOutputStream OutputBuffer Problem > From: Mike Duffy [mailto:mduffy_li...@yahoo.com] > Subject: CoyoteOutputStream OutputBuffer Problem > >

RE: CoyoteOutputStream OutputBuffer Problem

2009-05-26 Thread Caldarale, Charles R
> From: Mike Duffy [mailto:mduffy_li...@yahoo.com] > Subject: CoyoteOutputStream OutputBuffer Problem > > There may be a problem in > org.apache.catalina.connector.CoyoteOutputStream at line 89 There's an even bigger problem in not telling us the Tomcat version... - Chuck THIS COMMUNICATION M

Re: Classloaders

2009-05-26 Thread Konstantin Kolinko
2009/5/27 Jon Pearson : >> -Original Message- >> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] >> Sent: Tuesday, May 26, 2009 4:44 PM >> To: Tomcat Users List >> Subject: Re: Classloaders >> >> 1. What tomcat version? > > Tomcat v. 6.0.18, JVM 1.6.0_13, Ubuntu 9.04 on kernel 2.6.

Re: Problem Reading Property files

2009-05-26 Thread David Smith
Assuming you wrote this servlet, it would *really* help if you provided relevant parts of your servlet where this file is read. We're flying blind here. Normally the servlet would do something like this: class MyServlet extends javax.servlet.http.HttpServlet { function init(ServletConfig sc)

RE: Classloaders

2009-05-26 Thread Caldarale, Charles R
> From: Jon Pearson [mailto:jon.pear...@sixnet.com] > Subject: RE: Classloaders > > This is confounding because an ancestor classloader of my > URLClassLoader that made the classes in my plugin JAR > available should have access to org.postgresql.Driver. > In fact, one of them *must* because when

RE: Classloaders

2009-05-26 Thread Jon Pearson
> -Original Message- > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Tuesday, May 26, 2009 4:44 PM > To: Tomcat Users List > Subject: Re: Classloaders > > 1. What tomcat version? Tomcat v. 6.0.18, JVM 1.6.0_13, Ubuntu 9.04 on kernel 2.6.28-11 > 2. The documentation on

Re: Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread Konstantin Kolinko
2009/5/26 Sibil87 : > > Hi guys! > > I mount Tomcat 6.0 on my server and u can visit it at > http://application.sogetel.it:8080. > > If I open any browser from that machine and I try to visit > http://localhost:8080 I can see my Servlet Manager and it's all ok. > > If I open any browser from that m

Re: Classloaders

2009-05-26 Thread Konstantin Kolinko
2009/5/26 Jon Pearson : > I'm having some trouble getting classes loaded by a new classloader to > be able to see classes which should have been loaded automatically from > WEB-INF/lib. All of the documentation that I've seen so far (FAQs, > mailing list searches, ...) describe problems that people

Re: Tomcat not closing threads -- SOLVED ??

2009-05-26 Thread André Warnier
Chetan Chheda wrote: Great thanks! I will test out the alternate method ... What I meant when I asked about gif files and tomcat was basically is it an expensive transaction for tomcat ajp13 vs apache vs tomcat's http connector? I guess in other words I am trying to assess the impact my proposed

Re: Problem Reading Property files

2009-05-26 Thread Konstantin Kolinko
2009/5/26 john S : > > >  ABC >  com.ijk.abc >   Who wrote this "com.ijk.abc" servlet? Does it have installation instructions? Are you following them? Do you have source code? If not, ask the authors of that servlet. If you do not know how they read those files, most of your attempts will be f

Re: Tomcat not closing threads -- SOLVED ??

2009-05-26 Thread Chetan Chheda
Great thanks! I will test out the alternate method ... What I meant when I asked about gif files and tomcat was basically is it an expensive transaction for tomcat ajp13 vs apache vs tomcat's http connector? I guess in other words I am trying to assess the impact my proposed changes in our envi

Re: How to configure Access logs to ignore images

2009-05-26 Thread johnrock
Thanks Tim. Your bonus point approach is quite slick and tidy..I am quite tempted to go that route. Of course that now begs me to overthink this and wonder if there is any performance difference between having the web.xml filter-mapping do the logic or embedding that logic in the filter itself...

Re: Tomcat not closing threads -- SOLVED ??

2009-05-26 Thread André Warnier
André Warnier wrote: Chetan Chheda wrote: After some digging thru config files setup by the vendor, I think I might have found the root cause ..Correlating the access_log and tomcat logs, I found out that tomcat threads were shooting up whenever a large number of GIF files were being requested

Re: Tomcat not closing threads -- SOLVED ??

2009-05-26 Thread André Warnier
Chetan Chheda wrote: After some digging thru config files setup by the vendor, I think I might have found the root cause ..Correlating the access_log and tomcat logs, I found out that tomcat threads were shooting up whenever a large number of GIF files were being requested. These are the modjk s

Re: FW: How to Install/Run Tomcat on Win2003 Server 64-bit?

2009-05-26 Thread Mark Thomas
Debbie Shapiro wrote: > These don't appear to be installation files. What should I be doing with > these particular files? Replacing the ones in your CATALINA_HOME/bin directory. Mark > > Debbie Shapiro, Data Warehouse Manager > Office: 425.402.2233 > > -Original Message- > From: Mla

FW: How to Install/Run Tomcat on Win2003 Server 64-bit?

2009-05-26 Thread Debbie Shapiro
These don't appear to be installation files. What should I be doing with these particular files? Debbie Shapiro, Data Warehouse Manager Office: 425.402.2233 -Original Message- From: Mladen Turk [mailto:mt...@apache.org] Sent: Tuesday, May 26, 2009 9:58 AM To: Tomcat Users List Subject:

Re: Problem Reading Property files

2009-05-26 Thread john S
I placed under WEB-INF itself. I created a directory called config adn placed the abc.props and abc.log under it. Whether i need to configure them in the web.xml? or should i remove it from there. Because wen i removed the init param, there is no change i am getting the same error..not able t

Re: Tomcat not closing threads -- SOLVED ??

2009-05-26 Thread Chetan Chheda
After some digging thru config files setup by the vendor, I think I might have found the root cause ..Correlating the access_log and tomcat logs, I found out that tomcat threads were shooting up whenever a large number of GIF files were being requested. These are the modjk settings in our appl

Re: Problem Reading Property files

2009-05-26 Thread Juha Laiho
john S wrote: > Actually, I am not sure where to place and configure the property > files (*SERVLET ARGS*) in tomcat. If it's ok for you to have the files deployed along with your application, then I'd like to propose the following: Place the files within /WEB-INF/ directory in your web applicatio

Re: Problem Reading Property files

2009-05-26 Thread john S
I am really not sure where to configure the Servlet Arguments in tomcat. Can any one help me please... On Tue, May 26, 2009 at 1:26 PM, Juha Laiho wrote: > john S wrote: > > I am planning to migrate my web application from iplanet 4.1 to > > tomcat 6. In this process I need to rea

CoyoteOutputStream OutputBuffer Problem

2009-05-26 Thread Mike Duffy
There may be a problem in org.apache.catalina.connector.CoyoteOutputStream at line 89 The OutputBuffer is null when trying to write to the response. I have a servlet that is being used to write a png image for JFreeChart. The servlet gets the output stream from the HttpServletResponse, writes,

Re: Problem Reading Property files

2009-05-26 Thread john S
Thanks for your response. Actually, I am not sure where to place and configure the property files (*SERVLET ARGS*) in tomcat. The problem is-> In the iPlanet webserver they configured the servlet configurations in this way: *Servlet Name: * * Servlet Code (class name): * * Servlet Classp

Re: Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Giorgio, On 5/26/2009 5:12 AM, Sibil87 wrote: > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> In your , what is the "defaultHost" attribute set to? - -chris -BEGIN PGP SIGNATURE-

Re: Please help

2009-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/25/2009 6:30 PM, Mark Thomas wrote: > OK. You need to remove the invoker section and do something like this: > > WebStocks > full.package.name.WebStocks > > > > WebStocks > /WebStocks > >

Re: Problem Reading Property files

2009-05-26 Thread Juha Laiho
john S wrote: > I am planning to migrate my web application from iplanet 4.1 to > tomcat 6. In this process I need to read the properties files initially. > > for eg: i got the property files in a *iPlanet*: >*Config > direc

Re: tomcat clusters

2009-05-26 Thread Alberto Jesus La Rosa Agramonte
thanks. 2009/5/27 Rainer Jung > On 26.05.2009 17:43, Alberto Jesus La Rosa Agramonte wrote: > > of course, the complet configuration is that... > > > > workers.tomcat_home=/var/lib/tomcat5.5 > > workers.java_home=/usr/lib/jvm/ > > Remove the above two, they are useless. > > > worker.list=balance

Re: Please help

2009-05-26 Thread Juha Laiho
Sibusiso khoza wrote: > Mark > > Your efforts to assist are greatly appreciated. Please don't take my > next question as a sign of laziness or stupidity. I'm a biginner when > it comes to programming and have been struggling with this one issue > for ages. > > I did everything in your suggeste

Re: How to Install/Run Tomcat on Win2003 Server 64-bit?

2009-05-26 Thread Mladen Turk
Debbie Shapiro wrote: Hello - I am installing Tomcat 6 on a new installation on 64-bit AMD Server running Win 2003 Server for 64-bit. I have a 64-bit Sun JDK JVM installed (1.6.0.13). When I try to install Tomcat and run it, I'm getting the following errors: You should use 64-bit tomcat6.exe

Classloaders

2009-05-26 Thread Jon Pearson
I'm having some trouble getting classes loaded by a new classloader to be able to see classes which should have been loaded automatically from WEB-INF/lib. All of the documentation that I've seen so far (FAQs, mailing list searches, ...) describe problems that people have had using the standard cla

Re: tomcat clusters

2009-05-26 Thread Rainer Jung
On 26.05.2009 17:43, Alberto Jesus La Rosa Agramonte wrote: > of course, the complet configuration is that... > > workers.tomcat_home=/var/lib/tomcat5.5 > workers.java_home=/usr/lib/jvm/ Remove the above two, they are useless. > worker.list=balancer,jkstatus > > worker.c1.port=8009 > worker.c1.

Re: NIO Connector:

2009-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/26/2009 12:32 PM, André Warnier wrote: > Christopher Schultz wrote: > ... > Your last one about "Apache vs Tomcat.." (including NIO results) got > there fine. > But the last couple which you sent on "NIO connector:" appear empty, > apart f

Re: NIO Connector: "Possible key leak"

2009-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, (I have no idea why my messages are getting messed-up... apologies for the empty messages... I swear I'm sending whole messages!) During performance testing, I got the following warnings in catalina.out. I'm using the NIO connector (along with t

Re: NIO Connector:

2009-05-26 Thread André Warnier
Christopher Schultz wrote: ... Your last one about "Apache vs Tomcat.." (including NIO results) got there fine. But the last couple which you sent on "NIO connector:" appear empty, apart from an attachment that just says "Version 1". Anyway, that's how I saw them. -

How to Install/Run Tomcat on Win2003 Server 64-bit?

2009-05-26 Thread Debbie Shapiro
Hello - I am installing Tomcat 6 on a new installation on 64-bit AMD Server running Win 2003 Server for 64-bit. I have a 64-bit Sun JDK JVM installed (1.6.0.13). When I try to install Tomcat and run it, I'm getting the following errors: [2009-05-26 09:10:15] [174 javajni.c] [error] %1 is not a

Re: NIO Connector:

2009-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/24/2009 6:19 AM, André Warnier wrote: > Christopher Schultz wrote: > > Although fresh from the tree, my lemon juice doesn't work, neither does > the sun of Spain as heat source. > Chris, you may be posting stuff, but it doesn't get here.

Re: please help......

2009-05-26 Thread David Smith
vijay sankar wrote: > It's not starting when I have executed the startup.bat. So I have executed > the jar file... > > On Tue, May 26, 2009 at 10:18 AM, David Smith wrote: > > >> vijay sankar wrote: >> >>> I have recently downloaded the 6.0.18 binary distribution and I am >>> >> run

Re: please help......

2009-05-26 Thread David Smith
vijay sankar wrote: > I have recently downloaded the 6.0.18 binary distribution and I am running > it in vista. > > I have started the server by running bootstrap.jar and it is working fine. > I tried to stop the server by running the shutdown.bat, but it is not > stopping. > > Can any one help me

Re: tomcat clusters

2009-05-26 Thread Alberto Jesus La Rosa Agramonte
worker.c1.port=8009 worker.c1.host=10.7.12.2 worker.c1.type=ajp13 worker.c1.lbfactor=1 2009/5/27 Rainer Jung > How did you configure your first cluster? > > On 26.05.2009 16:30, Alberto Jesus La Rosa Agramonte wrote: > > Hello, I need to set more than two tomcat clusters. How I can configure > t

Re: tomcat clusters

2009-05-26 Thread Rainer Jung
How did you configure your first cluster? On 26.05.2009 16:30, Alberto Jesus La Rosa Agramonte wrote: > Hello, I need to set more than two tomcat clusters. How I can configure that > in the workers.properties file on apache load balancer? --

Re: tomcat clusters

2009-05-26 Thread Alberto Jesus La Rosa Agramonte
of course, the complet configuration is that... workers.tomcat_home=/var/lib/tomcat5.5 workers.java_home=/usr/lib/jvm/ worker.list=balancer,jkstatus worker.c1.port=8009 worker.c1.host=10.7.12.2 worker.c1.type=ajp13 worker.c1.lbfactor=1 worker.c1.port=8009 worker.c1.host=10.7.12.3 worker.c1.type=

tomcat cluster - redirect parameter

2009-05-26 Thread Alberto Jesus La Rosa Agramonte
Hi, If a don't set the redirect parameter on the workers.properties file, how work the load balancer???

Re: please help......

2009-05-26 Thread Mark Thomas
vijay sankar wrote: > I have recently downloaded the 6.0.18 binary distribution and I am running > it in vista. > > I have started the server by running bootstrap.jar and it is working fine. Why not use the scripts... > I tried to stop the server by running the shutdown.bat, but it is not > stop

Re: tomcat cluster - redirect parameter

2009-05-26 Thread Rainer Jung
In general you do not need to set the redirect parameter. On 26.05.2009 16:41, Alberto Jesus La Rosa Agramonte wrote: > Hi, If a don't set the redirect parameter on the workers.properties file, > how work the load balancer??? - T

please help......

2009-05-26 Thread vijay sankar
I have recently downloaded the 6.0.18 binary distribution and I am running it in vista. I have started the server by running bootstrap.jar and it is working fine. I tried to stop the server by running the shutdown.bat, but it is not stopping. Can any one help me regarding this

Re: tomcat clusters

2009-05-26 Thread Rainer Jung
That's not the full configuration. It can't work. On 26.05.2009 17:16, Alberto Jesus La Rosa Agramonte wrote: > worker.c1.port=8009 > worker.c1.host=10.7.12.2 > worker.c1.type=ajp13 > worker.c1.lbfactor=1 > > 2009/5/27 Rainer Jung > >> How did you configure your first cluster? >> >> On 26.05.20

tomcat clusters

2009-05-26 Thread Alberto Jesus La Rosa Agramonte
Hello, I need to set more than two tomcat clusters. How I can configure that in the workers.properties file on apache load balancer? Regards...

Re: please help......

2009-05-26 Thread vijay sankar
It's not starting when I have executed the startup.bat. So I have executed the jar file... On Tue, May 26, 2009 at 10:18 AM, David Smith wrote: > vijay sankar wrote: > > I have recently downloaded the 6.0.18 binary distribution and I am > running > > it in vista. > > > > I have started the serve

Problem Reading Property files

2009-05-26 Thread john S
Hi All I am planning to migrate my web application from iplanet 4.1 to tomcat 6. In this process I need to read the properties files initially. for eg: i got the property files in a *iPlanet*: *Config directory*--- *abc.pro

RE: Migrating website from own server to hosting company

2009-05-26 Thread Caldarale, Charles R
> From: dfobox [mailto:dfo...@gmail.com] > Subject: RE: Migrating website from own server to hosting company > > I found somewhere I have to add it to JAVA_OPTS in catalina.sh Properly, you would create a setenv.sh script in Tomcat's bin directory to set JAVA_OPTS; that way you avoid modifying t

RE: Blank page when native DLL used

2009-05-26 Thread Caldarale, Charles R
> From: Frank W. Zammetti [mailto:fzli...@omnytex.com] > Subject: Blank page when native DLL used > > Hi folks... I'm running Tomcat 6.0.18 on Windows XP and I'm trying to > use tcnative-1.dll 1.1.16... I drop the DLL in tomcat/bin and it's > picked up at startup as expected... however, trying to

RE: Using WAS 6.1 client with Tomcat 6.0

2009-05-26 Thread Caldarale, Charles R
> From: zeiss [mailto:ze...@tut.by] > Subject: Using WAS 6.1 client with Tomcat 6.0 > > The problem with this jar is that it contains > javax.servlet.http.HttpServlet class and others, > so it won't load from application's WEB-INF/lib It may appear to work if you put it in the JRE's ext directory

Re: Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread David kerber
I'll bet your router or firewall are doing address translation, so the DNS of sogetel.it is returning a public routable address, while the address of the machine itself is a different, non-routable one. Most routers won't do that kind of turn-around (routing a request from inside, back out th

Re: How to configure Access logs to ignore images

2009-05-26 Thread Tim Funk
Simpler version ... (Writing this without enough coffee in my system so the spirit is right, the logic might be iffy) - but in a nutshell - You don't need to map to forward, error, include - just the incoming request - You should be able to check the response type doFilter(req, resp, chain) {

Re: Tomcat6 JNDI Realm

2009-05-26 Thread Rainer Jung
Have a look at http://www.jspwiki.org/wiki/ActiveDirectoryIntegration Regards, Rainer On 26.05.2009 12:16, Geofrey Rainey wrote: > I'm trying to setup a tomcat6 realm to authenticate against an active > directory server. I got a > > JDBC realm working okay with a MySQL database. > > > > I'

Tomcat6 JNDI Realm

2009-05-26 Thread Geofrey Rainey
Hi, I'm trying to setup a tomcat6 realm to authenticate against an active directory server. I got a JDBC realm working okay with a MySQL database. I'm receiving the following error and thought it might be wise to try and get ldapsearch working First. However I'm not having much luck with

Apache 2.2.11/mod_proxy_ajp/Tomcat5.5.15 Error

2009-05-26 Thread GavinW
Hi there, We are having intermittent issues with a couple of our new Tomcat Application servers. The servers have been configured identically to all other implementations, running the following: Windows Server 2003 x64 R2 Tomcat 5.5.15 Java 1.6.0.10 Apache is running from a shared Web Server,

Using WAS 6.1 client with Tomcat 6.0

2009-05-26 Thread zeiss
Hello, Web application that I'm developing needs to access EJBs deployed within WebSphere Application Server 6.1. The way to communicate with WAS described in documentation is to use WAS client, namely com.ibm.ws.admin.client_6.1.0.jar. The problem with this jar is that it contains javax.servlet

Re: Upload stop after 30 minutes: Processing of multipart/form-data request failed. Stream ended unexpectedly

2009-05-26 Thread Patrick Herber
Originally I'd put this setting ProxyTimeout 3600, because it seams to be the only existing timeout setting at proxy's level (togheter with Timeout and the attribute timeout=xxx of proxypass). However, removing this setting, putting it after ProxyPass, using Timeout at VirtualHost level (see:

RE: Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread Sibil87
Peter Crowther wrote: > > I think you have a firewall problem. Check your firewall configuration on > the computer - is port 8080 open? > application.sogetel.it:8080 is accessible from any external computer .so the door 8080 is clearly open. Also the machine si connected to intenet. Is there

Re: maxwait in dbconnetion is not workiing for first time.

2009-05-26 Thread S Arvind
MArtin, you are correct i think, even after destroying/closing the connection. it is still in ESTABLISHED status. We are using DBCP pool... the resource in context is The page is very simple, it will get the connection string, with help of it , it will make connection, run a simple quer

RE: Why a dir names "ondemand" is not accessable under webapps/ ?

2009-05-26 Thread Peter Crowther
OS? Tomcat version? Anything in the logs? > -Original Message- > From: meili100 [mailto:steve@yahoo.com] > Sent: 26 May 2009 06:21 > To: users@tomcat.apache.org > Subject: Why a dir names "ondemand" is not accessable under webapps/ ? > > > I have multiple subdirs under webapps/ . All o

RE: Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread Peter Crowther
> From: Sibil87 [mailto:giorgio.zampare...@gmail.com] > I mount Tomcat 6.0 on my server and u can visit it at > http://application.sogetel.it:8080. > > If I open any browser from that machine and I try to visit > http://localhost:8080 I can see my Servlet Manager and it's all ok. > > If I open any

Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread Sibil87
Hi guys! I mount Tomcat 6.0 on my server and u can visit it at http://application.sogetel.it:8080. If I open any browser from that machine and I try to visit http://localhost:8080 I can see my Servlet Manager and it's all ok. If I open any browser from that machine and I try to visit http://app