Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-16 Thread Markus Stauffer
private final String emptyText = new String(""); Anyhow, it probably makes sense to change the "emptyText" string from "" to " " (that is, use a space instead of nothing). This bugzilla entry might be interesting to you: https://issues.apache.org/bugzilla/show_bug.cgi?id=45931 Chan

Opening up multiple ports on Single Tomcat Instance

2009-10-16 Thread M.N.V Kishore
Hi Friends, This is my first post to forum. We have a requirement for the client to migrate the tomcat server running on port 8080 on Solaris machine onto Windows machine. This windows machine has already a tomcat instance running on port 80. I would now need to migrate all the applications runni

Re: DBCP woes (running out of cursors).

2009-10-16 Thread Bill Davidson
Bill Davidson wrote: >Could maxOpenPreparedStatements possibly fix this? Apparently it does. The DBCP config docs need a better warning on poolPreparedStatements: "*NOTE* - Make sure your connection has some resources left for the other statements." just doesn't quite cut it. Something more

Re: DBCP woes (running out of cursors).

2009-10-16 Thread Bill Davidson
Just thinking about this some more So apparently, when I was using poolPreparedStatements="true", and I did conn.prepareStatement(SomeSQLString), I was getting back a Statement object created by DBCP to be pooled. When I called close() on that statement, it did not really close(), which was

Another issue, jTDS with Tomcat 5.5.9

2009-10-16 Thread ULS Tech Support
Hi there, Tomcat 5.5.9, using jTDS, with SQL Server 2005 i am getting this issue. 2009/10/16 10:47:15 - sql exception:java.sql.SQLException: No current row in the ResultSet. This issue doesn't happen with TWFreeTDS (in fact, when i switch to twfreetds it works fine).. but from my research so

Re: DBCP woes (running out of cursors).

2009-10-16 Thread Bill Davidson
Christopher Schultz wrote: >Uh, oh. Are you doing something like this: Possibly. I didn't write that code. >If you're doing that, then you're probably making a big mistake. Are you >storing connections in sessions or anything like that? Yuk. For certain transactional operations, I think it is.

Re: Redeploy problem in 6.0.20

2009-10-16 Thread Andrew Morgan
On Thu, 15 Oct 2009, Keiichi Fujino wrote: Hi Andrew. Check this BZ47343. https://issues.apache.org/bugzilla/show_bug.cgi?id=47343 Perhaps, it is the same as this BugReport. This bug is corrected by 6.0.21. Best Regards. That does sound like my problem! Is there a target date for the rele

RE: multiple truststores

2009-10-16 Thread Caldarale, Charles R
> From: tom...@ehome.hu [mailto:tom...@ehome.hu] > Subject: multiple truststores > > People getting a connection through port 443 should only be able to > use "Web Application 1". > People getting a connection through port 444 should only be able to > use "Web Application 2". > How can i configure

Re: multiple truststores

2009-10-16 Thread Jason Brittain
Hi Aron. You do not need two separate Tomcat instances for this. In your server.xml file, you'll notice that your HTTPS Connector elements are nested within a Service element. Also nested within the Service element is an Engine element that in turn contains your Host(s) and Context(s), like this

RE: Erreur : Could not initialize class com.sun.xml.ws.spi.ProviderImpl

2009-10-16 Thread Caldarale, Charles R
> From: Jean-Pierre ASTIER [mailto:jpast...@analogue-paris.com] > Subject: Re: Erreur : Could not initialize class > com.sun.xml.ws.spi.ProviderImpl > > If I put the jax-ws-2.1 library in the WEB-INF/lib directory in my > webapp I've got this error : > > Oct 16, 2009 4:46:39 PM org.apache.catalin

RE: Can a JNDI resource be in a webapp's lib folder

2009-10-16 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Can a JNDI resource be in a webapp's lib folder > > Hmm... I didn't realize that. I didn't know that the servlet spec > mandated JNDI behavior "above" the webapp level. I don't think it's the servlet spec itself that

Re: Issue moving Tomcat 5.5.9 w/JDNI and JTLS to SQL Server 2005

2009-10-16 Thread ULS Tech Support
Not sure what it was, but i decided to install 1.42_11 (which is what i was using before - didn't think that it would matter). But now access to sql server 2005 is working fine. Hopefully this will help someone who is new to jdni, jtls and tomcat w/sql server 05. ...Robin ---

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Curtis, On 10/16/2009 11:50 AM, Curtis Garman wrote: > Hmm...Christopher, thanks for the post...that's good info...as long as > I know a little more about it, I'm ok with turning it off...my > understanding was that it's purpose was to just remove emp

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-16 Thread Curtis Garman
Hmm...Christopher, thanks for the post...that's good info...as long as I know a little more about it, I'm ok with turning it off...my understanding was that it's purpose was to just remove empty lines (that result from include directives and such) from the response...which is my main reason for wan

Issue moving Tomcat 5.5.9 w/JDNI and JTLS to SQL Server 2005

2009-10-16 Thread ULS Tech Support
Hi there, I'm hoping i have all the correct terminology... Current hardware/software setup Windows Server 2000 (Live) Tomcat version 5.59. Java: Sun JDK 1.42_09 (need to use this as i have an application that wasn't written by me, but doesn't seem to work in 1.5) Windows Server 2003 running SQ

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Curtis, On 10/16/2009 9:49 AM, Curtis Garman wrote: > That's what I ended up doing and I believe that took care of it...but > I figured if it is an apache recommended setting that it should also > work :) Well, it does work... just not the way you ex

[OSX specific] Number of Mach ports

2009-10-16 Thread János Löbb
Hi, How many Mach ports can be seen as normal usage ? When I start Tomcat and it is launching the default apps the number of Mach ports is around 600 per java process. On two production servers running 2-5 additional web applications and also members of a tomcat cluster this number is 1

Re: Can a JNDI resource be in a webapp's lib folder

2009-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/15/2009 5:28 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Can a JNDI resource be in a webapp's lib folder >> >> I think this is a reasonable desire, and I'm not sure

Re: DBCP woes (running out of cursors).

2009-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, (I've decided to stop cross-posting to commons-user. If you want to forward come of my comments, you are welcome to do so). On 10/15/2009 5:07 PM, Bill Davidson wrote: > I'm a little confused about auto-commit. I don't want my transactions > a

multiple truststores

2009-10-16 Thread tomcat
Hi all, I am trying to get to work two web applications with client-side SSL Authentication. I have set up two connectors (port 443, 444) each with its own truststore. Everything works fine so far, only the last step is mising. People getting a connection through port 443 should only be able

Re: Shared email resource

2009-10-16 Thread Curtis Garman
Ken, have you got your problem resolved? 2009/10/15 Mikolaj Rydzewski : > Curtis Garman wrote: >> >> I've only every declared in in META-INF/context.xml > > It's fine to define Resource completely in context.xml. > But if one uses GlobalNamingResources (as OP does) he has to declare mapping > in c

Re: Erreur : Could not initialize class com.sun.xml.ws.spi.ProviderImpl

2009-10-16 Thread Jean-Pierre ASTIER
Hello, Thanks for your response. If I put the jax-ws-2.1 library in the WEB-INF/lib directory in my webapp I've got this error : Oct 16, 2009 4:46:39 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet myPhotothequeControleur threw exception java.

RE: Erreur : Could not initialize class com.sun.xml.ws.spi.ProviderImpl

2009-10-16 Thread Caldarale, Charles R
> From: Jean-Pierre ASTIER [mailto:jpast...@analogue-paris.com] > Subject: Erreur : Could not initialize class > com.sun.xml.ws.spi.ProviderImpl > > But when I put the web service client on another machine Linux (Java > 1.6.0_06-b02 tomcat 5.5) I obtain the following error: > > java.lang.NoClassD

Re: tomcat 5.5.25 and loosing spaces between printing jstl variables

2009-10-16 Thread Curtis Garman
That's what I ended up doing and I believe that took care of it...but I figured if it is an apache recommended setting that it should also work :) Curtis On Thu, Oct 15, 2009 at 3:54 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Curtis, > > On 10/13/2009 5:

Erreur : Could not initialize class com.sun.xml.ws.spi.ProviderImpl

2009-10-16 Thread Jean-Pierre ASTIER
Hello, I use NetBeans 6.7, tomcat 5.5.27 Mac OS X 10.6.1 and my version of Java is build 1.6.0_15-b03-219. I developed Web service on one of my machines and developed the web service client to connect on Web service. Everything is OK and everything works. But when I put the web service cli

Re: Tomcat gets hanged and sessions not releasing

2009-10-16 Thread sudip pattanayak
Hi Mark, I am not sure about the code, but we are confirming on whether we can share the code. As of now I have some logs. Can you derive something based on the same. Oct-14-09, 04:28:19.789        DEBUG    CORE_ALL:CORE_TAGLIB:CommonClientArchives:    Adding to archive map: 'core_index.jar

tomcat5.5 shutdown fails!

2009-10-16 Thread sunil chandran
Hello all, When i try to shut down tomcat5.5, it shows as : [r...@qserver bin]# ./shutdown.shUsing CATALINA_BASE:   /root/multimedia/apache-tomcat-5.5.27Using CATALINA_HOME:   /root/multimedia/apache-tomcat-5.5.27Using CATALINA_TMPDIR: /root/multimedia/apache-tomcat-5.5.27/tempUsing JRE_HOME:  

Re: catalina - when to use "start" and "run"

2009-10-16 Thread Konstantin Kolinko
2009/10/15 Anand HS : > using "start" spawned the server start up in a new console where as "run" > started in the same console. > > Other than this is there any obvious difference in using one or the other. ? > That has to be the only difference. "catalina start" command is what is written in

Re: 6.0.20 - New behavior on conf/Catalina//.xml update. Why redeploy?

2009-10-16 Thread Peter Crowther
2009/10/1 Mark Thomas > > 2009/9/30 Peter Crowther : > >> I wonder whether this is a race condition with some text editors. For > >> example, if vi operated in the following way: > >> 1) Rename context.xml to context.xml~ > >> 2) Create context.xml, write contents, close file > >> ... then a pol

Re: JkMount for status working not getting triggered

2009-10-16 Thread Rainer Jung
On 15.10.2009 17:39, Christopher Schultz wrote: > Neil, > > On 10/14/2009 10:43 PM, Neil Aggarwal wrote: >> I then added this to my httpd.conf file in the global directives: > >> # Mount the jk status application >> >> JkMount jkstatus >> Order allow,deny >> Allow from all >> > > Try rep

RE: Windows 2008 Server (x64) IIS7 to Tomcat 6.0 32-bit with Java 32-bit isapi_redirect 1.2.28 connector problem

2009-10-16 Thread Terekhov Artyom (ADV)
Thanks, George, But the problem still persists. Yes, I allowed 32-bit applications to run in application pool configuration. I tried 64-bit versions of isapi_redirect.dll both for x64 and ia64 and they gave more serious error that previous one (error loading library, while previous was getfilt

Re: Tomcat works fine on deployed machine, but not on others machines in network

2009-10-16 Thread Peter Crowther
2009/10/16 Avijit Dutta > We have installed tomcat Which version, please? > in a linux machine, and when we invoke http:// machine ip>:8080/ from that linux machine, it is showing properly. > But, when we try to access the same URL from another machine in the same > LAN, then nothing is comin