Information required _getString()

2002-03-14 Thread puneet sachar
Hello fellow developer I got stuck somewhere actually there is a form which collect the detail resume of the candidate and in database it is saved as string of varchar(7000) in sql database now when i collect that data base by sending the required querry the resume is colected through get

Re: jndi versus database connection pooling

2002-03-14 Thread Mark Muffett
There's a lot to configure to get it to work. The coding side seems to be well documented, and there have been several instances posted here, but (as far as I can see) we're all working in the dark with server.xml. I've spent a lot of time trying to get database pooling to work with Postgresql,

RE: Rep. : [JSP/JAVABEANS] set method and empty parameters...

2002-03-14 Thread Nicolas Silberzahn
Bonjour, Does the browser send the information? Bonne journee, Nicolas Silberzahn Digital Airways Everywhere InternetTechnologies/Internet www.DigitalAirways.com -Message d'origine- De : Olivier Boulanger [mailto:[EMAIL PROTECTED]] Envoye : mardi 12 mars 2002 12:49 A : Tomcat

JNI and Tomcat

2002-03-14 Thread Harald Wehr
I use tomcat 4.0.1 on a SuSE Linux 7.3 and have the following problem: I try to use some functions of a c-shared library. This library works without problems within a jvm started from a console. To load this library in tomcat i made a little helper class with following code: ---snip public

Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-14 Thread Hostmaster of the day
Here the promised logs : localhost_access_log.2002-03-14.txt 217.0.211.144 - - [14/Mar/2002:09:39:01 1000] GET / HTTP/1.1 302 654 217.0.211.144 - - [14/Mar/2002:09:39:05 1000] GET /index.html HTTP/1.1 304 - 217.0.211.144 - - [14/Mar/2002:09:39:05 1000] GET /tomcat.gif HTTP/1.1 304 -

Read Windows Registry data from JSP

2002-03-14 Thread Galbayar
How to read Windows Registry Data from JSP? thanks in advance

Re: How to run tomcat as service program in Win2k

2002-03-14 Thread Galbayar
which kind your Tomcat and jdk version? - Original Message - From: "Xiao Juguang" [EMAIL PROTECTED] To: "Tomcat Users List" [EMAIL PROTECTED] Sent: Wednesday, March 13, 2002 15:25 Subject: Re: How to run tomcat as service program in Win2k I think you are careless when installing. There

AW: JNI and Tomcat

2002-03-14 Thread Ralph Einfeldt
Make shure that all libraries that are needed by the library (and the library it self) are found in the LD_LIBRARY_PATH of the user that runs your tomcat instance. -Ursprüngliche Nachricht- Von: Harald Wehr [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 14. März 2002 10:35 An:

RE: How to run tomcat as service program in Win2k

2002-03-14 Thread John Niven
-Original Message- From: Galbayar [mailto:[EMAIL PROTECTED]] Sent: 14 March 2002 09:38 To: Tomcat Users List Subject: Re: How to run tomcat as service program in Win2k which kind your Tomcat and jdk version? Tomcat 3.2 up through to 4.0.3, all with jdk 1.2.2 (I really should

Re: AW: JNI and Tomcat

2002-03-14 Thread Harald Wehr
Ralph Einfeldt wrote: Make shure that all libraries that are needed by the library (and the library it self) are found in the LD_LIBRARY_PATH of the user that runs your tomcat instance. All libraries are found. Working with the library in a normal java-program outside of tomcat is ok.

Re: Manager App in 4.0

2002-03-14 Thread Jean-Luc BEAUDET
Scott Shorter a écrit : I would speculate that that was a typo for $CATALINA_HOME/conf/tomcat-users.xml - Scott -Original Message- From: John Regan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 6:00 PM To: 'Tomcat Users List' Subject: RE: Manager App in 4.0

Tomcat and Ultradev

2002-03-14 Thread ras
hi, I've installed tomcat 4.1 which work fine. I've also installed UltraDev 4.0 with the jakart-taglib extension as described in the tutorial that come with and when I restart tomcat I recieve these errors: please Help. Using CLASSPATH:

individual session management mechanism with tomcat 4 - like request interceptor in tomcat 3

2002-03-14 Thread Thorsten Barth
Hello, I am using Tomcat 4.02 with Apache (WARP connector) and also with direct HTML access to tomcat. I would like to implement my own mechanism of keeping track of user sessions: in project a) making use of a special HTTP header generated by a load balancer in front of the servers in

RE: Tomcat shutdown

2002-03-14 Thread Larry Isaacs
Since the final release hasn't occurred yet, you will find the currrent 3.3.1 release (Release Candidate 1) under Milestone Builds, i.e. http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1-rc1/bin/ The nightly 3.3.x build is found under Nightly Builds, i.e.:

problem with context-param in web.xml

2002-03-14 Thread Aline
Hello, I work with Tomcat 4.0 and I'd like to set a context-param in my web.xml file of my web application. So I do this : web-app servlet servlet-nameadd/servlet-name servlet-classAddServlet/servlet-class /servlet context-param param-namelogFile/param-name

Re: problem with context-param in web.xml

2002-03-14 Thread Martin Heusel
Aline wrote: servlet servlet-nameadd/servlet-name servlet-classAddServlet/servlet-class /servlet a SAXException whitch explain me that the web.xml file is not correct. there's a missing closing bracket /servlet-class .. regards martin -- To unsubscribe: mailto:[EMAIL

[notice] child pid xxxx exit signal Segmentation fault (11)

2002-03-14 Thread tomcat
Hi I was running smoothly Tomcat 4.0.1, I had to re-compile apache to upgrade PHP (running as module), after that tomcat stoped to work, everytime that I try to call it I get [notice] child pid exit signal Segmentation fault (11) error. I tried to recompile back as the old

Re: problem with context-param in web.xml

2002-03-14 Thread jmt
You've got to follow the order of ELEMENTS as specified in the Java Web Application Descriptor DTD : servlet .../servlet is supposed to be after context-param .../context-param jmt On Thursday 14 March 2002 14:04, Aline wrote: Hello, I work with Tomcat 4.0 and I'd like to set a

Re: JDBC, tomcat setup question

2002-03-14 Thread Leila Lappin
HI all, Yesterday I posted the question how to configure jdbc with tomcat and I got some responses although the question seemed to be elementary, thank you. I read some suggested how to documents and it's pretty clear what needs to be done. But the problem I'm trying to resolve is how I may

R: problem with context-param in web.xml

2002-03-14 Thread Vercesi Paolo
-Messaggio originale- Da: Aline [mailto:[EMAIL PROTECTED]] Inviato: giovedì 14 marzo 2002 14.05 A: Tomcat Users List Oggetto: problem with context-param in web.xml Hello, I work with Tomcat 4.0 and I'd like to set a context-param in my web.xml file of my web application.

Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is notavailable.

2002-03-14 Thread rsequeira
From the logs, requests to ns.domain.com (222.111.111.162) will be routed to tomcat via the mod_webapp. The root webapplication for domain2.com seems have been loaded correctly by Tomcat. The logs show that there is some problem with web.xml. Attach your server.xml and httpd.conf. Maybe they

triggers ignore directories ?

2002-03-14 Thread Lauer, Oliver
Hi, from my point of view the trigger-technology within the ClassLoaderFactory and within the WebappClassLoader ignores a complete directory or a complete jar-file if it finds a trigger-class within your directory or jar-file. My expierience is that I've placed a class within classes that

Monitoring catalina or how to get PID

2002-03-14 Thread camccuk
I've had a small script running for a while that basically runs ps -auxfwww and greps the output for 'catalina', mailing me if the process has fallen over. (The extra w options make the process name long enough to fit in the whole catalina command line). However, this only works until the java

RE: problem with context-param in web.xml

2002-03-14 Thread Yuval Levav
Hi, I'm trying to integrate Cocoon with tomcat 4.0.1. I get the folowing exception during start-up: java.io.FileNotFoundException at org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContex tURLConnection.java:344) at

Re: jndi versus database connection pooling

2002-03-14 Thread Eric . Wang
Hi, here is an example. Server.xml Context path=/creditel docBase=creditel debug=0 reloadable=true crossContext=true Resource name=jdbc/creditel auth=Container type =javax.sql.DataSource/ ResourceParams name=jdbc/creditel parameternamedriverClassName/name

RE: How to run tomcat as service program in Win2k

2002-03-14 Thread Chris Pheby
JavaService.exe is the same as the Tomcat.exe that comes with the Tomcat distribution for Win32. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralphn Sent: 13 March 2002 07:37 To: [EMAIL PROTECTED] Subject: AW: How to run tomcat as service

Re: a better way to deploy servlets on tomcat ?

2002-03-14 Thread rsequeira
see intermixed. Soefara Redzuan [EMAIL PROTECTED] on 03/14/2002 12:26:08 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: a better way to deploy servlets on tomcat ? Sorry for another question but is there an easier way to load servlets into

request.getLocale() always returns en_US ..?!

2002-03-14 Thread chris brown
Hello, I'm trying to use the method getLocale() on HttpServletRequest objects... however, it always seems to return en_US! This is despite my browser sending fr,en-gb;q=0.5 as the accept-language header! (I've checked this last point by calling request.getHeader(Accept-Language), including

JSTL taglib forEach

2002-03-14 Thread RAYMOND Romain
hello, Sorry I know it isn't the exact mailing list for my question ... I am trying to use jakrata taglib JSTL, particulary forEach taglib. I look at the given examples and I don't understand how to initialize collection on which the forEach applies. Collection declared before in the JSP are

Automatically Unpack war-files

2002-03-14 Thread Engelhardt, ITS BetrWi AE2, FD
Im using the tomcat manager application and wonder if it's possible to deploy applications with it. It seems to work fine for the first deployment, but if tomcat has umpacked the war file, it does not unpack a new war file bevor i delete the old unpacked struckture. Is it posible to force

Re: jndi versus database connection pooling

2002-03-14 Thread William Au
I could not find any documentation on how to manage the connection pool that comes with Tomcat 4. I want to do things like setting the minimum and maximum of connections and timeout value. I don't think this information has been posted on this mailing list either. Bill Mark Muffett wrote:

AW: Automatically Unpack war-files

2002-03-14 Thread Lauer, Oliver
Hi Dieter, this forces TC to unpack, Host name=localhost debug=0 appBase=webapps unpackWARs=true but I guess only if you haven't deployed your app before and only if you haven't defined a context within your server.xml. Oliver AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer

100% cpu on one of two processor

2002-03-14 Thread Guillaume Radenkovic
My configuration : Linux Redhat 7.1 Tomcat 3.2.4 PostgreSQL 7.0.x Sometimes, after some time, when JSP compiles on the server, this on can't display the page and on of the two cpu going to 100%. This happens on any JSP page . Need help ! -- To unsubscribe: mailto:[EMAIL PROTECTED] For

what is intermixed ? Re: a better way to deploy servlets on tomcat ?

2002-03-14 Thread Soefara Redzuan
Are you referring to an alternative product to Tomcat or a particular configuration somewhere ? It's not in my server.xml or web.xml and I can't find a mention of it on the Jakarta website. Soefara From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List

problem with catalina for 'non-web' application

2002-03-14 Thread Jerome Bouat
I repost this message on this list because the tomcat-user list didn't resolve my problem. I have read the developper FAQ, main documentation, and the main method body of the org.apache.catalina.startup.Embedded class but I found no response to my problem. I want to use the Jakarta catalina

Re: what is intermixed ? Re: a better way to deploy servlets on tomcat ?

2002-03-14 Thread rsequeira
see intermixed means my comments are intermixed with your original email. : -) Sorry for the confusion RS Soefara Redzuan [EMAIL PROTECTED] on 03/14/2002 09:35:00 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: what is intermixed ? Re: a

Re: jndi versus database connection pooling

2002-03-14 Thread Soefara Redzuan
Mark Muffett [EMAIL PROTECTED] on 03/14/2002 04:18:13 AM The coding side seems to be well documented, and there have been several instances posted here, but (as far as I can see) we're all working in the dark with server.xml. I've spent a lot of time trying to get database pooling to work with

RE: 100% cpu on one of two processor

2002-03-14 Thread Chris Newland
Hi, There is a known memory leak in javac (used to compile the JSP pages). This could be causing your Java VM to use up nearly all of its memory and start to perform heavy garbage collection. If you use the -Xms and -Xmx JVM switches (to set the initial and maximum heap sizes respectively) then

Re: 100% cpu on one of two processor

2002-03-14 Thread Jean-Luc BEAUDET
Chris Newland a écrit : Hi, There is a known memory leak in javac (used to compile the JSP pages). This could be causing your Java VM to use up nearly all of its memory and start to perform heavy garbage collection. If you use the -Xms and -Xmx JVM switches (to set the initial and maximum

AW: 100% cpu on one of two processor

2002-03-14 Thread Ralph Einfeldt
That was a different problem. (Sun JDK crashed at startup) -Ursprüngliche Nachricht- Von: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 14. März 2002 16:59 An: Tomcat Users List Betreff: Re: 100% cpu on one of two processor snip/ I'm not using Linux but i

Novice here! Classpath issue...Tomcat 3.3/IIS5.0/Win2k/Oracle

2002-03-14 Thread Robert Keddie
I recieve the following error, but I shouldn't because the classpath has the following : CLASSPATH=.;C:\jdk1.3.1;C:\Oracle\Ora81\jdbc\lib\classes111.zip;C:\Oracle\Ora81\jdbc\lib\nls_charset11.zip; Im using Tomcat 3.3 on IIS 5.0 on Win 2k ... the page source is at the bottom. When I first

Re: jndi versus database connection pooling

2002-03-14 Thread Eric . Wang
Hi Soefara, Your res-ref-name in web.xml should have same name with Resource name= jdbc/creditel auth=Container type=javax.sql.DataSource/ in server.xml. Good luck, Soefara Redzuan [EMAIL PROTECTED] on 03/14/2002 10:47:51 AM Please respond to Tomcat Users List [EMAIL

Re: jndi versus database connection pooling

2002-03-14 Thread Soefara Redzuan
Yes, sorry, I was using dummy values and forgot that. Thank you for pointing that out. But my main problem seems to be with the XML parsing of the config file, regardless of the values I use, since the Tomcat error on the console is org.xml.sax.SAXParseException: Element resource-ref does

RE: Novice here! Classpath issue...Tomcat 3.3/IIS5.0/Win2k/Oracle

2002-03-14 Thread Larry Isaacs
Note that the tomcat.bat batch file includes: set CLASSPATH=%TOMCAT_INSTALL%\lib\tomcat.jar which will override your previously set CLASSPATH environment variable. For info on the recommended way to add classes to Tomcat 3.3, please refer to:

Re: WARP connector

2002-03-14 Thread Ashutosh Aman
I was able to set up mod_webapp connector as well following the precise instruction that came up with the module. So, I have now both mod_jk and mod_webapp running on windows NT+Apache1.3.23+Tomcat 4.0.4-b1. Still, the issue is of modification of httpd.conf with each deployment of new

Unable to open resource: WEB-INF\cocoon.properties

2002-03-14 Thread Yuval Levav
Hi I am trying to install cocoon 1.8 with tomcat 4 I can't read file: cocoon.properties I get exception: java.lang.NoSuchMethodError: java.util.Set javax.servlet.ServletContext.getResourcePaths(java.lang.String) void org.apache.catalina.core.StandardWrapper.load() void

Charts in Jsp doesn't work

2002-03-14 Thread Nancy Crisostomo Martinez
Hi Everybody! Do you know what is X Windows System for? Do I need to install it to work with charts?.. I mean, I couldn't see the charts displayed and someone told me that I need to install X Window System... Is that true? The jsp wich displays a chart are placed in a Solaris Sparc server

Re: request.getLocale() always returns en_US ..?!

2002-03-14 Thread Christopher K . St . John
chris brown wrote: I'm trying to use the method getLocale() on HttpServletRequest objects... however, it always seems to return en_US! This is despite my browser sending fr,en-gb;q=0.5 as the accept-language header! (I've checked this last point by calling

AW: Charts in Jsp doesn't work

2002-03-14 Thread Engelhardt, ITS BetrWi AE2, FD
Im not shure but i think you have to install a virtual Display on your Server. I hope this helps: http://www.xfree86.org/4.0.1/Xvfb.1.html -Ursprüngliche Nachricht- Von: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 14. März 2002 17:48 An: Tomcat Users

AW: Charts in Jsp doesn't work

2002-03-14 Thread Ralph Einfeldt
1. http://www.webopedia.com/TERM/X/X_Window.html 2. Depends on which jdk you use. JDK 1.4 : yes, you need something like xvfb (http://www.xfree86.org/4.0.1/Xvfb.1.html) JDK 1.4: No, you can use an vm option (have a look at the jdk tools docu) -Ursprüngliche Nachricht- Von:

Trouble setting up mod_jk

2002-03-14 Thread Jason Edgecombe
hi all, I'm having touble setting up mod_jk to run with apache. I'm running Redhat 7.2 with all the patches and I installed tomcat 4.0.3 using the RPM's on the jakarta web site. Tomcat runs fine, but I can't seems to integrate it with apache. Apache also complains that the mod_jk module

RE: Charts in Jsp doesn't work

2002-03-14 Thread Andy Eastham
Nancy, You either need X windows or (if your server has no graphics card): 1) Use j2se1.4 and run it in headless mode - the JAva VM needs to be started with the -Djava.awt.headless=true option in the Tomcat startup scripts. 2) Get the virtual frame buffer (VFB) version of X windows and run

Re: Charts in Jsp doesn't work

2002-03-14 Thread Joaquín Sánchez Jiménez
Hi: You need to use a Pure Java Toolkit instead native ToolKit. I use PJA (Pure Java AWT) from http://www.acme.com/java/ It works fine. Bye. Joaquín. - Original Message - From: Nancy Crisostomo Martinez [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March

Re: Charts in Jsp doesn't work

2002-03-14 Thread Nancy Crisostomo Martinez
Thaks to all of you!! I'm beginning to understand! But Andy, In order to run the j2sdk1.4 in headless mode, do I need to modify the tomcat.sh file? AND If I have the j2sdk1.4 installed and run it in headless mode, do I need to get and install the VFB too? or not? Thank you again! Nancy

RE: Manager App in 4.0

2002-03-14 Thread John Regan
Title: RE: Manager App in 4.0 still struggling to get the manager working. have followed all suggestions, don't get 404 any more but now it just hangs when i try to access the manager http://jbrpc:8025/manager/list Can someone take a look @ my server.xml and tomcat-users.xml and see if

Re: jndi versus database connection pooling

2002-03-14 Thread Mark Muffett
This was one of the problems I had. Mark - Original Message - From: Soefara Redzuan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 14, 2002 4:16 PM Subject: Re: jndi versus database connection pooling Yes, sorry, I was using dummy values and forgot that. Thank you for

RE: Manager App in 4.0

2002-03-14 Thread Justin Rowles
Not on that URL, buddy! That's your internal address. -Original Message- From: John Regan [ mailto:[EMAIL PROTECTED]] Sent: 14 March 2002 17:29 To: 'Tomcat Users List' Subject: RE: Manager App in 4.0 still struggling to get the manager working. have followed all suggestions, don't

Re: jndi versus database connection pooling

2002-03-14 Thread Craig R. McClanahan
On Thu, 14 Mar 2002, Mark Muffett wrote: Date: Thu, 14 Mar 2002 09:18:13 - From: Mark Muffett [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: jndi versus database connection pooling There's a lot to configure to

RE: Charts in Jsp doesn't work

2002-03-14 Thread Andy Eastham
Nancy, 1) To run in headless mode, you do need to modify tomcat.sh, as this is what starts the Java Virtual Machine that Tomcat runs under. I can't tell you exactly what to modify as I'm only familiar with Tomcat 4, but if its anything like the v4 script, you should see a number of other -D

Re: Charts in Jsp doesn't work

2002-03-14 Thread Christopher K . St . John
Andy Eastham wrote: 1) To run in headless mode, you do need to modify tomcat.sh, $ export CATALINA_OPTS=-Djava.awt.headless=true $ bin/startup.sh No need to actually modify the catalina.sh code, it will automatically pick up the environment variable. -- Christopher St. John

Re: JSTL taglib forEach

2002-03-14 Thread Craig R. McClanahan
Sounds like a good question for the TAGLIBS-USER mailing list. Subscription info, and a description of the topics of each list, for all Jakarta mailing lists is at http://jakarta.apache.org/site/mail.html. Craig On Thu, 14 Mar 2002, RAYMOND Romain wrote: Date: Thu, 14 Mar 2002 16:11:35 +0100

Re: Charts in Jsp doesn't work

2002-03-14 Thread Christopher K . St . John
Christopher K.St.John wrote: $ export CATALINA_OPTS=-Djava.awt.headless=true $ bin/startup.sh No need to actually modify the catalina.sh code, it will automatically pick up the environment variable. Oops, I see from an earlier posting that you are running 3.3, so never mind.

Re: JDBC, tomcat setup question

2002-03-14 Thread Craig R. McClanahan
On Thu, 14 Mar 2002, Leila Lappin wrote: Date: Thu, 14 Mar 2002 08:52:10 -0800 From: Leila Lappin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: JDBC, tomcat setup question HI all, Yesterday I

mod_webapp redirects to ServerName

2002-03-14 Thread Christopher Bare
Hello Tomcatters, I am using mod_webapp to connect Tomcat and Apache. I'm having a problem: Let's say I make a request to my server for any of the following: http://www.mydomain.com/examples/jsp/ http://192.168.0.100/examples/jsp/ http://127.0.0.1/examples/jsp/ http://localhost/examples/jsp/

Plz Help me_anyone peoblem in getString

2002-03-14 Thread puneet sachar
Hello fellow developer I got stuck somewhere actually there is a form which collect the detail resume of the candidate and in database it is saved as string of varchar(7000) in sql database now when i collect that data base by sending the required querry the resume is colected through get

RE: HowTo set max memory per applet

2002-03-14 Thread Rollo, Dan
Using a servlet running in Tomcat 3.2.3 and w/ the JMF 2.1.1a Windz Perf Pack and JDK 1.3.1 on Win NT4, I'm getting a low level error in a servlet whenever the servlet attempts to encode a large stereo wav file (~56mb) into a stereo mp3 (at about 128k bit rate, I think). Smaller files of

RE: replacing /servlet/ with /xxx/ in tomcat 4.0

2002-03-14 Thread Paul, Debra, 4 Kids Mendelson
Thanks to everyone who provided advice. What I've learned is: 1. servlet-mapping is within a web-app.../web-app but after all servlet.../servlet 2. This existed in 3.2 but 3.2 also a way to do this within the server.xml spec and not mention it within web.xml 3. One can remap app by app or

RE: Manager App in 4.0

2002-03-14 Thread Ashutosh Aman
It works right out of the box. Install Tomcat and just modify tomcat-users.xml and then start Tomcat. Try http://localhost:8080/manager/list and it will work. you can also replace localhost with the name of your computer in the network. You can then change the port and other stuff later. What

Servlet Names -- ?? Modify Servlet Spec -- Comments ??

2002-03-14 Thread Tony LaPaso
Hi All, First, let me say that I'm *not* requesting creative ways to get around this behavior. I'm wondering if the Servlet Spec (sec. SRV.11.1) should be refined to address this issue. I'm using Tomcat v4.0.3 on Win 2K. Let's say I have this servlet declaration in my deployment descriptor:

init parameter and web.xml cant get it to work?

2002-03-14 Thread Leon Vermaak
I have Tomcat 4.0 running as a service on Windows 2000 platform. I am trying to get a servlet to work with init parameters. This is the code: package coreservlets; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; /** *Example using servlet initialization. **/ public

RE: Manager App in 4.0

2002-03-14 Thread John Regan
thanks. somewhere along the line i must have screwed up my server.xml. works fine now. NT and 4.0. thanks again -Original Message- From: Ashutosh Aman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 11:24 AM To: Tomcat Users List Subject: RE: Manager App in 4.0 It works

help with realm setup

2002-03-14 Thread Tony Dahbura
I would like to set up my realm to allow folks in by userid not by rolename. I do not know what the tag for the web.xml file should be The following is a sample security constraint. The role names are working fine, but I need to say if a user is tony or user is x then allow them in, but without

MOVED TO TOMCAT

2002-03-14 Thread Rodrigo Gonzalez Asensio
TODAY, I DECIDED MOVE TO TOMCAT FROM SERVLETEXEC. I HAVE DEVELOPED SEVERAL WEBAPPS BASED ON A SERVLETCENTRAL. I HAVE DETERMINED MY ROOT DIRECTORIES AND FILES LOCATIONS. MY DOUBT: HOW CAN I POINT THE ROOT OF TOMCAT TO MY c:\RGA\WEBAPPS\DEFAULT ??? In server.xml ??? What tag. Tks!!

Re: Information required _getString()

2002-03-14 Thread August Detlefsen
Puneet, Are the entries stored in the DB with the line breaks? Do you just need a way to translate \n or \r\n to BR for display on the HTML page? --- puneet sachar [EMAIL PROTECTED] wrote: Hello fellow developer I got stuck somewhere actually there is a form which collect the detail

Re: init parameter and web.xml cant get it to work?

2002-03-14 Thread Matt Egyhazy
try message = getInitParameter(message); matt - Original Message - From: Leon Vermaak [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 14, 2002 5:00 PM Subject: init parameter and web.xml cant get it to work? I have Tomcat 4.0 running as a service on

Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-14 Thread Hostmaster of the day
Hi RS ! I replaced the standard server.xml file by your server.xml file. The 404 problem still persists. Additional I'm no longer able to stop Tomcat4. Error message : PARSE error at line 3 column 2 of /var/tomcat4/conf/server.xml org.xml.sax.SAXParseException: The markup in the document

WebAppDeply and UseCanonicalNames

2002-03-14 Thread Brent Johnson
Tomcat Version: 4.0.x (not sure which exact release - I think its 4.0.2) I've got a pretty serious problem right now that I'm having trouble fixing. I've got a production website running and I need to change the header of the pages on the website depending on the hostname in the URL. I've got

Re: Apache Tomcat/4.0.3 - HTTP Status 404 - /servlet/SnoopServlet is not available.

2002-03-14 Thread Hostmaster of the day
Thank you ! Status 404 persists :-(( Here the first domainDotCom_tomcatApache_log.2002-03-14.txt : 2002-03-14 22:40:03 WebappLoader[]: Deploying class repositories to work directory /var/tomcat4/work/domain.com/_ 2002-03-14 22:40:03 WebappLoader[]: Reloading checks are enabled for this Context

Trouble setting up mod_jk

2002-03-14 Thread Jason Edgecombe
hi everyone, I'm still having trouble with mod_jk. I compiled and installed it using the build-unix.sh from the tomcat-connectors tarball. Any help would be appreciated. output from mod_jk.log and tomcat's apache_log-date.txt follow. here is what I get in my mod_jk.log file:

jar cache Errors

2002-03-14 Thread Bradley G Smith/R6/USDAFS
I have tomcat 4.0.3 installed on a RedHat 7.0 server. Tomcat is installed using the rpm's available from Jakarta. The catalina.out file in /var/tomcat4/logs contains many entries like: Error unable to create jar cache in /tmp directory : java.util.zip.ZipException: error in opening zip file I

RE: Servlet image caching

2002-03-14 Thread Sean Machin
Hey guys, Basic question. I have a servlet that generates an HTML page containing a number of (static) .gif images. Are the images typically cached by the browser, or would the browser be trying to download the image each time the servlet serves up the page? Thanks, Sean -- To unsubscribe:

Starting apache and tomcat on reboot - Solaris 8

2002-03-14 Thread C Cayetano
All, How would I go about executing the startup script (see file info below) so that when the system is rebooted it'll execute the script and start the web services? Where would I put the start script? How to configure Solaris 8 to excute script? Or is there a better way to do this? file:

Re: Charts in Jsp doesn't work

2002-03-14 Thread pete
For a quick n dirty way to get this working, you can use VNC as your 'Virtual Display' instead of Xvfb which likely requires the rest of X Windows to function. Obtain VNC from the vnc site - http://www.uk.research.att.com/vnc/ run vncserver - it's probably a good idea to use the '-depth 16'

Multiple Tomcat 3.2.4 JVMs Document

2002-03-14 Thread Robert Walther
Hello All, I have been looking through the email archives to get instruction on how to set-up multiple instances of Tomcat on a single machine. I found lots of good emails but no single source for what I wanted to accomplish. With the information I gathered, I was able to get a working

Multiple JVMs (DOCUMENT ATTACHED)

2002-03-14 Thread Robert Walther
Hello all, I decided to attach the document instead Thanks again for any feedback! MULTIP~1.DOC Description: MS-Word document -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

SOLUTION: Linkage Error violates constraints

2002-03-14 Thread Dan Hinojosa
Here is one solution I had to that infamous problem for some people. The solution was (at least for me) is for you to jar your Employee class as well as other dependent classes into a jar file. Then take that jar file and place it in the /WEB-INF/lib/ directory, whether that directory be in

simple context question for tomcat

2002-03-14 Thread Jeff Prideaux
In my development environment, for my myapp web-app, I'm doing the following jsp:include page=/commmon/header.jsp flush=true/ and it finds the file just fine. header.jsp is in the common directory under the myapp webapp. Although, if I use an anchor a href=/common/header.jsptest/a it

Re: Multiple Tomcat 3.2.4 JVMs Document

2002-03-14 Thread Robert Walther
Please ignore this email string and see: Multiple JVMs (DOCUMENT ATTACHED) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: Trouble setting up mod_jk

2002-03-14 Thread D Henton
Wow-- I thought I was the only one! I never found out what the problem was myself I was using rpms for both the connector and tomcat. I got rid of them both and went to source for both. Prior to the connector build I uninstalled the rpm version of apache I had (I'm on mandrake 8.1) and rebuilt

RE: simple context question for tomcat

2002-03-14 Thread Chris Novak
instead of writing: a href=/common/header.jsptest/a try: a href=%=request.getContextPath()%/common/header.jsptest/a When you are creating html, make sure the context path is given. Paths in HTML are different than paths in your java code. -Original Message- From: Jeff Prideaux

Re: init parameter and web.xml cant get it to work?

2002-03-14 Thread Emir Alikadic
On 3/14/2002 5:00 PM, Leon Vermaak wrote: [SNIP] String repeatString = config.getInitParameter(repeat); [SNIP] param-name repeats /param-name [SNIP] repeat != repeats Emir. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED]

Re: Plz Help me_anyone peoblem in getString

2002-03-14 Thread Micael Padraig Og mac Grene
This would be an easy question to answer if you included all the information. Your admirable attempt at brevity just confounds people trying to help you. I don't know what your problem is. Here is what I can tell. You are getting some data from a form which is the resume of a candidate for

Re: help with realm setup

2002-03-14 Thread Micael Padraig Og mac Grene
Just as a start, you need something more like the following. You need to look at how xml dtd are used. web-app security-constraint web-resource-collection web-resource-nameJoes Grill/web-resource-name

Re: Starting apache and tomcat on reboot - Solaris 8

2002-03-14 Thread Christopher Bare
On Sparky, my Ultra5, which has a clean install of Solaris8, there is a file called '/etc/rc3.d/S50apache'. This file holds a small script that starts up apache. You should have a look at it, and you can probably write a similar file for starting up Tomcat. Maybe call it '/etc/rc3.d/S51tomcat'.

Re: Servlet Names -- ?? Modify Servlet Spec -- Comments ??

2002-03-14 Thread Craig R. McClanahan
On Thu, 14 Mar 2002, Tony LaPaso wrote: Date: Thu, 14 Mar 2002 11:47:09 -0600 From: Tony LaPaso [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Servlet Names -- ?? Modify Servlet Spec -- Comments ?? Hi All, First, let

Re: jndi versus database connection pooling

2002-03-14 Thread Taavi Tiirik
I use the JNDI based connection pool with Postgres quite successfully. You will need to have postgresql.jar in $CATALINA_HOME/common/lib, and a server.xml configuration something like this: ... One Postgres-specific note is that you have to start the postmaster application listening for