NamingException

2005-08-08 Thread Asad Habib
Hello. I am getting a NamingException while Tomcat processes Global JNDI Resources. Any idea why this is happening? I am using Mac OS X Tiger, Eclipse 3.1, and the Tomcat Eclipse Plugin 3.1.0 from Sysdeo. This error occurs when I try to start Tomcat from within Eclipse using the plugin. It occurs

Re: NamingException

2005-08-08 Thread Anto Paul
read the error message. It is complaining GlobalResourcesLifecycleListener: Exception processing Global JNDI Resources javax.naming.NamingException: /Library/jakarta-apache-4.1.31/conf/tomcat-users.xml.new check whether the file /Library/jakarta-apache-4.1.31/conf/tomcat-users.xml exist. On

RE: query problem

2005-08-08 Thread ganesan malairaja
i have checked all.. there is no other username i have put all the codes involved in the coding.. please point out the mistake .. html head title Staffing /title /head h1Add Staff/h1 body %@ page language=java import=java.sql.* % %! String con_url =

Re: URLConnection.getOutputStream().write() fails

2005-08-08 Thread Ronald Klop
Did you try URLConnection.setDoOutput(true)? Ronald. On Wed Aug 03 23:52:45 CEST 2005 Tomcat Users List tomcat-user@jakarta.apache.org wrote: PROBLEM: Trying to write to URL via URLConnection.getOutputStream().write() fails. In the main method below, the code attempts to write some bytes

Easy EL question

2005-08-08 Thread Guillaume Lederrey
Hello ! I'm still having problem with all the different syntax used in JSP... so excuse my question if it sound really stupid ! I'm having to iterate on the values of a Map. So I'd like something like that : c:catch c:set var=items value=${itemsMap.values}/ /c:catch c:forEach

Exception during the startup!

2005-08-08 Thread Tewari,kuldeep
Hi, When I try to run my jsp , I get following error message: javax.servlet.ServletException: org/apache/xalan/templates/OutputProperties at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:680) at

RE: Easy EL question

2005-08-08 Thread Allistair Crossley
you use .key or .value, e.g item.value['key'] item.key Allistair -Original Message- From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] Sent: 08 August 2005 10:34 To: Tomcat Users List Subject: Easy EL question Hello ! I'm still having problem with all the different

Re: Exception during the startup!

2005-08-08 Thread Jon Wingfield
The key info in the stracktrace is: root cause java.lang.NoClassDefFoundError: org/apache/xalan/templates/OutputProperties at com.test.wmtool.gui.SessionHelper.saveState(Unknown Source) The SessionHelper class uses Xalan classes that the webapp classloader cannot find at runtime. This

Re: anonymising Tomcat

2005-08-08 Thread Paul Singleton
Rainer Jung wrote: Take a look at ./org/apache/catalina/util/ServerInfo.properties in CATALINA_HOME/server/lib/catalina.jar. It contains: server.info=Apache Tomcat/5.5.10 server.number=5.5.10.0 You can put different values in there and deploy the new properties file in

Re: Easy EL question

2005-08-08 Thread Guillaume Lederrey
Thanks for your answer ! But I'm afraid I dont really understand how to use it ... Do you mean I should iterate on the keys of my Map ? But then the question is of course How do I iterate on the keys ?. Maybe I should be more precise in my example, so here is my actual code (which doesnt

RE: Easy EL question

2005-08-08 Thread Allistair Crossley
Hi, With what you supplied, the answer was the best you could have expected. The deletedDma item per loop iteration is of type MapEntry. This has getKey and getValue, hence why you can call deletedDma.key and deletedDma.value. In html your link would be a

Re: Easy EL question

2005-08-08 Thread Guillaume Lederrey
On 8/8/05, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, With what you supplied, the answer was the best you could have expected. The deletedDma item per loop iteration is of type MapEntry. This has getKey and getValue, hence why you can call deletedDma.key and deletedDma.value. Thanks

Re: anonymising Tomcat

2005-08-08 Thread Rainer Jung
Yes, that's how it works. I Think taht possibility already existed at least back to 4.0... The order in which the different repositories are searched for classes (and property files) is defined in CATALINA_BASE/conf/catalina.properties. The file included in the usual distribution has classes

[OT] JSP 1.2 JAR

2005-08-08 Thread Frank W. Zammetti
Hi all... does anyone know where I can grab a copy of the JSP 1.2 spec JAR? I've checked iBiblio, they only have 2.0 in the Maven repository. I also looked in the entire directory tree of my Tomcat 4.1.31 install, which I believe is at that spec level, and I can't find it there (it clearly

Webservice + tomcat or any websphere

2005-08-08 Thread Pradeep Chauhan
Hi, Is Tomcat support webservices? If yes then how we can configure it. If No then anybody knows how to configure on Websphere ? Regards, Pradeep Chauhan DISCLAIMER: This message, including any attachments contains confidential and privileged information for the sole use of the

RE: Webservice + tomcat or any websphere

2005-08-08 Thread Arup Vidyerthy
Of course. Go have a look at apache axis. Arup -Original Message- From: Pradeep Chauhan [mailto:[EMAIL PROTECTED] Sent: 08 August 2005 15:36 To: tomcat-user@jakarta.apache.org Subject: Webservice + tomcat or any websphere Hi, Is Tomcat support webservices? If yes then how we can

Restarting Tomcat via Ant

2005-08-08 Thread itteerde (sent by Nabble.com)
Is there any way I can restart a remote Tomcat using an Ant task? I googled a while and even found some sources but they were about HttpClient abusing the manager application and exec calling the batches via net shares. Anything better than the ManagerApp abuse? thx in advance -- Sent from

RE: Restarting Tomcat via Ant

2005-08-08 Thread Raghupathy,Gurumoorthy
project name=Learning default=reloadContext basedir=. target name=reloadContext get dest=stop.txt src=http://localhost:8080/manager/stop?path=/Learning; username=adminUserName password=adminPassword/ loadfile

Re: [OT] JSP 1.2 JAR

2005-08-08 Thread Jon Wingfield
For Servlet 2.3 containers both the JSP and Servlet APIs are in servlet.jar. It's only later they were split out into servlet-api.jar and jsp-api.jar Frank W. Zammetti wrote: Hi all... does anyone know where I can grab a copy of the JSP 1.2 spec JAR? I've checked iBiblio, they only have 2.0

Re: [OT] JSP 1.2 JAR

2005-08-08 Thread Frank W. Zammetti
Ah. That would explain it :) Thanks Jon! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, August 8, 2005 11:22 am, Jon Wingfield said: For Servlet 2.3 containers both the JSP and Servlet APIs are in servlet.jar. It's only later

Win32: tomcat is there, how to make it a service?

2005-08-08 Thread Robert Koberg
Hi, I have installed tomcat (by copying it) to a windows server. Is there some way to make it a serevice so that on restarts it resstarts (and as a particular user)? Should tomcat be installed from the .exe for windows to get the service installed? thanks, -Rob

RE: Win32: tomcat is there, how to make it a service?

2005-08-08 Thread Marius Hanganu
Hi, You can use the service.bat script provided in the bin directory. Executing service install from the command line will install Tomcat as a service (you will find it under the name Apache Tomcat in the list of Windows services). Regards, Marius -Original Message- From: Robert

RE: Win32: tomcat is there, how to make it a service?

2005-08-08 Thread Arup Vidyerthy
In the bin directory you will find a service.bat file. That should allow you to install it as a service. Or you alternatively you can have a look at the Java Service Wrapper project on sourceforge (http://sourceforge.net/projects/wrapper/). That's also pretty good. -Original Message-

Re: Win32: tomcat is there, how to make it a service?

2005-08-08 Thread Robert Koberg
Marius Hanganu wrote: Hi, You can use the service.bat script provided in the bin directory. Executing service install from the command line will install Tomcat as a service (you will find it under the name Apache Tomcat in the list of Windows services). Thanks! Will try asap. -Rob

RE: Tomcat application won't start with MySQL Connection Pooling

2005-08-08 Thread James Adams
Please note the following for the path attribute in the Tomcat 5.5 doc for Context: The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered [sic] from the filenames used for either the .xml context file or the docBase. Also,

sessions dropping with mod_ssl, mod_jk, mod_rewrite rules

2005-08-08 Thread Seale, Deryl
Hi, there. I have a problem whereby tomcat is getting confused with user sessions due to (I think) some mod_rewrite rules that switch a user in and out of SSL. The general requirement I have is to only use SSL in certain parts of our application (login, user administration, etc), and we use

My first JAAS implementation. A few questions.

2005-08-08 Thread Mark Benussi
I am implementing my first JAAS implementation and have some problems/questions. Firstly my commit method of my LoginModule does the following (User and Role both implement Principal) // Create a new User Principal with the user name retrieved from the NameCallback User user = new

Re: Using more than one SSL cert in keystore?

2005-08-08 Thread Justin Jaynes
Paul, Thanks. I am doing as you have instructed. I hope to set up client-side redirects. Can you please tell me how? Does it require javascript, or just HTML? Where can I learn about client side re-directs? Justin Jaynes --- Paul Singleton [EMAIL PROTECTED] wrote: Justin Jaynes wrote:

tomcat 5.0.19 randomly stops taking http requests

2005-08-08 Thread Tim Lam
Tomcat 5.0.19 is actually still running, but stops taking http requests randomly. It will run just fine for one or two weeks, then in the middles of the night, or over the weekend when no one is using tomcat at all, it stops taking requests (I know when it happens because I have a

RE: sessions dropping with mod_ssl, mod_jk, mod_rewrite rules

2005-08-08 Thread Seale, Deryl
Forgot to add, we're using Tomcat 5.0.28, mod_jk 1.2.14, and apache 1.3.33. thanks. -d. -Original Message- From: Seale, Deryl Sent: Monday, August 08, 2005 11:48 AM To: tomcat-user@jakarta.apache.org Subject: sessions dropping with mod_ssl, mod_jk, mod_rewrite rules Hi, there. I have

Generic Types support in Tomcat?

2005-08-08 Thread Patrick Thomas
Hi All, Easiest part of this question is simply does tomcat (5.5.7) support using generic types in JSP files? I searched release notes, FAQ, etc and found no mention either way. Does some erudite soul have the answer? Secondly, if it's supposed to support it, why then would it have difficulty

RE: Generic Types support in Tomcat?

2005-08-08 Thread Caldarale, Charles R
From: Patrick Thomas [mailto:[EMAIL PROTECTED] Subject: Generic Types support in Tomcat? Easiest part of this question is simply does tomcat (5.5.7) support using generic types in JSP files? Some pertinent paragraphs from: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html

Re: Generic Types support in Tomcat?

2005-08-08 Thread Patrick Thomas
Thanks Chuck, I definitely wouldn't have noticed that without the pointer. Oh well, I guess I'll stick to casting and iterators for a few more months ;) On 8/8/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Patrick Thomas [mailto:[EMAIL PROTECTED] Subject: Generic Types support in

TC 5.5.9 TLD exception thrown

2005-08-08 Thread David Wall
I am receiving the following TLD processing exception in Tomcat 5.5.9 under JDK 1.5 (this application has worked well under TC 4). I am using a security manager (via catalina.policy). The TLD file parses just fine in Eclipse 3.1 and using XMLSpy, so I'm not sure why there's a problem. Is

HTTP Server and TC 5.5.9

2005-08-08 Thread Tom Spence
Hello everyone... My supervisor wants me to work on tomcat 5.5.9 instead of websphere. So I am working on it now which is my first time. I hope you guys help me. SMILE!!! Am I required to use HTTP Server first before tomcat, correct? I appreciate your assist... Tom (__[TomCigar]___~~~

Re: HTTP Server and TC 5.5.9

2005-08-08 Thread Jens Skripczynski
On Tue, 09 Aug 2005 03:46:08 +0200, Tom Spence [EMAIL PROTECTED] wrote: Hello everyone... My supervisor wants me to work on tomcat 5.5.9 instead of websphere. So I am working on it now which is my first time. I hope you guys help me. SMILE!!! Am I required to use HTTP Server first before

Using hibernate on Tomcat 5.5

2005-08-08 Thread David Thielen
Hi; This is really a hibernate issue but as some people on this list may hit this problem due to the hibernate docs, I figured I should post here too. Tomcat 5.5 has changed how it does the JNDI settings for a JDBC setup. I am still working through some minor details making sure I have them

error-page not working

2005-08-08 Thread David Thielen
Hi; I am using JSF - although that should not make a difference. In web.xml I have: error-page exception-typejava.lang.Throwable/exception-type location/errorpage.jsp/location /error-page And in my event handler I have: throw new NullPointerException(hi