NoClassDefFoundError

2001-05-17 Thread Vasanth Krishnan Venkatachalam
Hi, I am a newbie that just installed tomcat on unix. My path commands were: TOMCAT_HOME=foo/jakarta-tomcat-3.2.1 JAVA_HOME=/opt/jdk-1.2.2 When I run startup.sh, I get the following error: Using classpath: foo/jakarta-tomcat-3.2.1/lib/*:/opt/jdk-1.2.2/lib/tools.jar vvenkata@vader

AW: inserted line feeds in concatenated strings

2001-05-17 Thread Ralph Einfeldt
Beside line breaks inside the text, there is another cause for the linefeed: out.println(text + "," + number); ^^ >From Javadoc: Prints the string provided, followed by a CRLF > -Ursprüngliche Nachricht- > Von: William Kaufman [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag,

java.lang.NullPointerException...Is there some to HELP me ....

2001-05-17 Thread Naeem Malik
HI Yesterday I was also mailed my problem but there was persons who guide me but i need more guidence to sort out that problem... so i m mailing again. I am webdevloper developing one website and using tools JSP, Servlet, and working on Jakarta-Tomcat version 3.1. I am the old user of jakarta-

AW: NullPointerException error

2001-05-17 Thread Ralph Einfeldt
Just an addition to Randy's mail: Obviously the following line assigns a null value to driverClassName: String driverClassName = config.getInitParameter("driverClassName"); So in first place your servlet doesn't fail because it can't find the driver. It fails because the driverClassName is

RE: mailing list or news group??

2001-05-17 Thread Warren Crossing
maybe they should keep the tomcat-user list and add a tomcat-luser list =D geee.. tomcats' such a funny webserver it never falls over. ( lol ) no, sorry phew.. what do they put in the water round hear =D -Original Message- From: Brian Murray [mailto:[EMAIL PROTECTED]] Sent: Friday, 18 May

Re: mailing list or news group??

2001-05-17 Thread Brian Murray
My two cents... News group, web board or mailing list, you still have to write, upload and download messages in some fashion. If it's for a popular topic there will be lots of traffic, no matter how that traffic is handled. For a number of reasons, I personally prefer mailing lists to any of

RE: What's a sealing violation?

2001-05-17 Thread Kevin Newman
Thanks Warren, Next time I'll RTFM. I should know better. peace, kln -Original Message- From: Warren Crossing [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 2:57 AM To: '[EMAIL PROTECTED]' Subject: RE: What's a sealing violation? search through some of the tomcat archi

RE: What's a sealing violation?

2001-05-17 Thread Kevin Newman
Thanks Stephen, Next time I'll RTFM. I should know better. peace, kln -Original Message- From: Stephen Coy [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 1:31 AM To: [EMAIL PROTECTED] Subject: Re: What's a sealing violation? The release notes tell all... And it only t

Invalid email recipient at extramedia.com

2001-05-17 Thread addresschange
The recipient name of the email you recently sent to extramedia.com is no longer valid. If the person you emailed worked at Extramedia's software development center in Ho Chi Minh City, Vietnam, then please resend your email to that person @sutrixmedia.com (use the same user name, and update you

Invalid email recipient at extramedia.com

2001-05-17 Thread addresschange
The recipient name of the email you recently sent to extramedia.com is no longer valid. If the person you emailed worked at Extramedia's software development center in Ho Chi Minh City, Vietnam, then please resend your email to that person @sutrixmedia.com (use the same user name, and update you

Re: How to get changed class to reload

2001-05-17 Thread Gary Lundquest
It seems that others are having the same problem. Does it work in some cases and not in others? If you can't get a changed class to reload, how do you develop applications? Is there another way of working that bypasses the need to frequently test changes to a class? It seems that the shutdown-

[ClassPath] JSP, JDBC, and mm.MySql

2001-05-17 Thread Jon Shoberg
Its getting late but I'm not having too much luck at getting a sucessful JSP / mysql connection. Given the error message below can someone explain where I should be setting my class path and the actual mm.mysql files or the entire jar file? I am using jdk1.3 with the latest apache on win

connectors conf

2001-05-17 Thread egcs12md
   Hi, when I use Tomcat-4.0-b5 standalone test, no errors report, but when I use Tomcat-Apache connectors, the Apache-1.3.19 is frozen, and the logs display no errors occured. I use Win2K OS, here is my httpd.conf: * ServerType standalo

Re: Has anybody resolved no-refresh of servlets?

2001-05-17 Thread anil
If the servlet class on your classpath(system classpath) servelt reload won't work. anil Mazur wrote: > Actually, I wouldn't mind seeing an answer to this one as I still have > not been able to get my servlets to reload even when setting the > reloadable flag to true. > > If anyone waats to of

Apache 1.3.19/Tomcat 4.0B5 conf

2001-05-17 Thread egcs12md
   Has someone successfully use Apache 1.3.19 with Tomcat 4.0b5 in WinNT/Win2K,and how can I use Tomcat-Apache Engine in %APACHE_HOME%\htdocs and all it's subdirectories ?

mapping servlets

2001-05-17 Thread Tim Arnold
I just upgraded from jserv to Tomcat. I used to have my servlets under /bin instead of /servlet with: ApJServMount /bin /root I still want to use these servlets under Tomcat. But I am struggling a bit to configure it. One method I tried was creating a context called bin under webapps. Then in the

Re: How to get changed class to reload

2001-05-17 Thread skolski
Hi, Oooops I have the Java sources in the class directory and in addition some java sources and class files n outher directories on my machine. And whenever I touch my JSP or ine of the java files in classes directory, everything what needs to be rempiled is recompiled, even the javas in total

Re: Common (or combined) log format from a servlet/JSP?

2001-05-17 Thread Gary Lawrence Murphy
> "W" == Warren Crossing <[EMAIL PROTECTED]> writes: W> It does produce the apache combined format in the access.log W> however.. tomcat 4 must use an extened combined ( commonly W> irregular ) format, a superset. This isn't precisely what I wanted: I don't want to analyze the t

Jikes 1.14

2001-05-17 Thread Tony G
Avid Tomcat-ers, Is Jikes 1.14 compatible with j2re1.3.0_02? Also, aside from rebuilding jakarta-tomcat-3.2.1, is there a simpler way to deploy JSP's without requiring a JDK? How does one pre-compile JSP's for deployment? Can they be packaged in a .war file? Thanks

Servlet Chaining, Default servlet

2001-05-17 Thread Vlad Teplitsky
I am trying to figure out how to connect do the DefaultServlet. That is, what goes inside the statement: RequestDispatcher rd = this.getServletContext().getRequestDispatcher() Thank you in advance, Vlad

Re: Bean Choices (code question)

2001-05-17 Thread Jeff Kilbride
Yeah, I know, but it's tempting to write all the methods as "public static". Then I don't have to create the object at all, but I don't know the affects on garbage collection. --jeff - Original Message - From: "Ross Dyson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 1

RE: Tomcat Socket Error

2001-05-17 Thread Artigas, Ricardo Y.
Are you using the servlet to connect to another socket? If so, you should try synchronizing access to the socket and not closing the connection prematurely. Or use a single-threaded model for your servlet so only 1 request at a time will be served and avoid socket connection being reset. I believ

More on the unsubscribing problems

2001-05-17 Thread Milt Epstein
In an offline discussion with someone who was having problems unsubscribing (names are changed to protect the innocent :-), they figured out that since they were actually subscribed to the digest version of the list, they had to use a different address to unsubscribe. Apparently they are effecti

RE: Tomcat/IIS Error

2001-05-17 Thread Ross Merritt
Looks like you changed your context, web.xml file with the uri-path or you moved the code to a different directory Ross -Original Message- From: Joe Ryburn [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 2:37 PM To: [EMAIL PROTECTED] Subject: Tomcat/IIS Error I had IIS worki

RE: Has anybody resolved no-refresh of servlets?

2001-05-17 Thread Warren Crossing
yeah funny, it does work in 3 with "RELOAD NOW!!" is the only indication of a classloader reload. although i have found in 4 it only works with classes being updated in the WEB-INF classes dir and not with jars in the WEB-INF lib dir. if you set debug to 99 in the web.xml file you should get a m

RE: servlet chaining, session null

2001-05-17 Thread Ross Merritt
I have found problems when you are you using separate contexts for servlets that share session information on the server. I don't know if the crosscontext flag helps this. Ross -Original Message- From: Bo Xu [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 12:52 PM To: [EMAIL PROTE

RE: Bean Choices (code question)

2001-05-17 Thread Ross Dyson
If you make the bean class have a private constructor and a static reference to an instance of its own class, then there will always be a strong reference from the class itself to the instance of the class. (The first call to bean.getInstance() instantiates the private static member variable whic

Getting java.lang.NoClassDefFoundError

2001-05-17 Thread Neil Jolly
I'm trying to get tomcat-3.2.1 running on a redhat 7.1 install. I've set up my java environment (correctly I believe), installed tomcat as per the docs, and ran the startup.sh script. My classpath and tomcat environments are as follows: #Java Environment JAVA_HOME=/usr/local/java export JAVA_HO

Re: SessionListener

2001-05-17 Thread Alin Simionoiu
Sorry :) I mean in Servlet API 2.3... - Original Message - From: "Alin Simionoiu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 4:45 PM Subject: Re: SessionListener > In Servlet API spec, which is in this moment in draft, is added the concept > of HttpSession

Re: SessionListener

2001-05-17 Thread Alin Simionoiu
In Servlet API spec, which is in this moment in draft, is added the concept of HttpSessionListener. Using this you can receive events like SessionCreated and SessionDestroyed. I try to use those events, but I didn't find any good documentation. It's seems that, after you build a class that implem

RE: [Apa/TomC] Context switching in servers ???

2001-05-17 Thread Posey, Dan
Jon, You need to run apache in conjunction with tomcat using the mod_jk.dll/so. Your static web pages will of course get whatever files you jsp tells them to point to. You need to set up a context that maps your web page path to the appropriate jsp. Your web server will be running on port 80. To

Bean Choices (code question)

2001-05-17 Thread Jeff Kilbride
I'm sorry if this is a little off-topic, since it is more about java code, but I thought Tomcat users would be interested/knowledgeable about the way beans work. I have a lot of informational beans that hold static reference data (think ISO codes, State abbreviations, etc...) With these types of

Re: [Apa/TomC] Context switching in servers ???

2001-05-17 Thread Jeff Kilbride
With mod_jk, you can specify a wildcard in your mount points: JkMount /*.jsp ajp13 I'm not sure how you do this with Jserv, though. Have you checked the docs? http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-apache-howto. html --jeff - Original Message - From: "Jon Shobe

mod_jk compile

2001-05-17 Thread Posey, Dan
I have compiled mod_jk on RedHat 6.1. I used this command: ./apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include -I/usr/local/jdk/include/linux -c *.c ../jk/*.c with the exception that I had to remove the *.c afer the ../linux -c. I would not work other wise. I copied the mod_jk into the apache

Re: Has anybody resolved no-refresh of servlets?

2001-05-17 Thread Mark Mynsted
So are you saying the only version of tomcat where this works reliably is in the new 4.x betas? Sincerely yours; Mark Mynsted VHA Management Information Systems Client Services [EMAIL PROTECTED] (972) 830 - 0592, Internal x1592 >>> [EMAIL PROTECTED] 5/17/2001 4:51:03 PM >>> Mazur wrote: >

[Apa/TomC] Context switching in servers ???

2001-05-17 Thread Jon Shoberg
How can I have a directory that serves JSP pages though Apache/Tomcat, static .html files though apache, and imaged though apache. I don't want EVERYTHING going though tomcat. Here is the directory structure ... Any thoughts Here is some imfo http://myapp.localhost (same as http://l

RE: SessionListener

2001-05-17 Thread Robert Petersen
Yup - My web.xml looks like this:         com.orangefood.java.servlet.http.SessionTracker    Make sure the listerer tags are after any tags and before any tags. Then just make sure your class is in a .jar in the WEB-INF/lib or in the right directory in the WEB-IN

RE: Browser Closed

2001-05-17 Thread William Kaufman
If you got an HttpSession from HttpServletRequest, and you didn't invalidate it yourself, then it's valid. There's no session you can get which isn't valid. Maybe you mean whether it's new? Call HttpSession.isNew() for that. Or whether you invalidated it? You could call isNew() for that, too,

RE: SessionListener

2001-05-17 Thread William Kaufman
You mean HttpSessionBindingListener? (I can't find any other reference to "Listener" in tomcat/conf/* or the JSDK 2.2 spec; nor can I find that class in the Tomcat sources.) That's not related to web.xml, and I find it pretty easy to use. What troubles are you having?

Re: Browser Closed

2001-05-17 Thread Bip Thelin
On Thu, 17 May 2001, Alin Simionoiu wrote: > Corect. > But this is true for existing session. > Want I'm trying to find is something like : isSessionValid(Session) If you look at the session interface you can see that there's a method that does this. session.isValid(). /** * Return the isValid

How does RequestInterceptor work?

2001-05-17 Thread David M. Rosner
Hello, I have a package that I've placed in a JAR file within the $TOMCAT_HOME/lib directory. Then I updated the server.xml file to use a class file within this package instead of the default Tomcat version. Yet, when i run tomcat I get a 'ClassNotDefined' exception. What do I need to do to ge

Re: Browser Closed

2001-05-17 Thread Alin Simionoiu
Corect. But this is true for existing session. Want I'm trying to find is something like : isSessionValid(Session) Alin - Original Message - From: "William Kaufman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 1:11 PM Subject: RE: Browser Closed > javax.ser

Re: Has anybody resolved no-refresh of servlets?

2001-05-17 Thread Bo Xu
Mazur wrote: > Actually, I wouldn't mind seeing an answer to this one as I still have > not been able to get my servlets to reload even when setting the > reloadable flag to true. > > If anyone waats to offer up an answer to Mark's post, I'm listening! > :-) > > Rob > [...] Hi :-) from several e

Re:Problems replacing SessionInterceptor

2001-05-17 Thread Twylite
Hi, >I've written my own version of the SessionInterceptor and placed this with >my application class files (com.myapp.uril.SessionInterceptor). I updated >the server.xml file to point to my version of the class instead of Tomcats >by updating the following: > > className=

RE: inserted line feeds in concatenated strings

2001-05-17 Thread William Kaufman
Orignal poster, correct me if I'm wrong, but it sounds like the _browser_ is on Unix, not necessarily the _server_. Asking about the line separator on the server will always return the same value, regardless of the browser; in fact, I can't think of any way to find out the proper line separator o

SessionListener

2001-05-17 Thread Alin Simionoiu
Does anybody use SessionListener?.. I try to use this, but is absolutly an nightmare to put everithing in place. I cannot find a very clear documentation about how the web.xml file should be set.   Alin

RE: AW: mailing list or news group??

2001-05-17 Thread Randy Layman
From the Jakarta Mailing List page, Turbine User and Ant Developer are the only two other lists that are listed as high traffic. I seem to remember seeing a posting to [EMAIL PROTECTED] listing the number of subscribers to each list (not that subscribers has any bearing to traffic), but

RE: Tomcat Socket Error

2001-05-17 Thread Vollmer, Thomas - CannonSA
Jaimes, I am also getting these exceptions. They seem to occur when a webbrowser (or any other user agent) starts requesting something from Tomcat and then closes the connection (i.e. the socket) abruptly before the conversation is complete. I can reproduce that behavior by requesting something

RE: inserted line feeds in concatenated strings

2001-05-17 Thread Mark Mynsted
Use something like: String NEWLINE = System.getProperty("line.separator"); The NEWLINE String is immutable and will be correct for the OS where the code is executed... :-) Sincerely yours; Mark Mynsted VHA Management Information Systems Client Services [EMAIL PROTECTED] (972) 830 - 0592, In

apache-tomcat ftp

2001-05-17 Thread DHarty
This may not be the right place for this, but does either apache or tomcat have built in ftp functionality. I've searched all over the place for mention of it, with no success. How would you set it up? D

Tomcat/IIS Error

2001-05-17 Thread Joe Ryburn
I had IIS working with Tomcat using the isapi_redirect.dll was working a couple of days ago, but now I'm having unexpected problems. The isapi.log file, for every request I make, logs the following information... [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In H

Re: AW: mailing list or news group??

2001-05-17 Thread Paul Friedman
Hello All, > > this mailing list) should split into several more specific ones: > > e.g. tomcat + IIS > > tomcat + apache (win) > > tomcat + apache (linux) > > tomcat + security > > > > and so on. > > This isn't a bad idea. I am seconding this motion. I remember a thread a while back that men

Tomcat Capacity

2001-05-17 Thread Mario Vera
Hi!! How many user does Tomcat support at same time? What parameter do I need to modify so that it supports more than 40 users?

RE: Browser Closed

2001-05-17 Thread William Kaufman
javax.servlet.http.HttpServletRequest.isRequestedSessionIdValid(). -- Bill K. > -Original Message- > From: Alin Simionoiu [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 17, 2001 11:34 AM > To: [EMAIL PROTECTED] > Subject: Re:

Re: test -- apologies.

2001-05-17 Thread Mark Mynsted
passed, or failed, depending on what you are testing. Sincerely yours; Mark Mynsted VHA Management Information Systems Client Services [EMAIL PROTECTED] (972) 830 - 0592, Internal x1592 >>> [EMAIL PROTECTED] 5/17/2001 1:49:53 PM >>> Testing ...

Re: Has anybody resolved no-refresh of servlets?

2001-05-17 Thread Mazur
Actually, I wouldn't mind seeing an answer to this one as I still have not been able to get my servlets to reload even when setting the reloadable flag to true. If anyone waats to offer up an answer to Mark's post, I'm listening! :-) Rob Mark Mynsted wrote: > > Please disregard that message..

RE: Has anybody resolved no-refresh of servlets?

2001-05-17 Thread Mark Mynsted
Good idea, but they are not. The really frustrating thing is that the same servlets will reload some times, and will not other times. Could this be related to me running Tomcat in process with IIS? Sincerely yours; Mark Mynsted VHA Management Information Systems Client Services [EMAIL PRO

Re: inserted line feeds in concatenated strings

2001-05-17 Thread Tim O'Neil
At 07:30 PM 5/17/2001 +0200, you wrote: >I'm seeing different browser behaviour between unix netscape >vs. Windows (NT) Netscape or MSIE. > >I'm generating a page with text between >The text is generated via out.println(text + "," + number); >and I get a line break after 'text' while under U

Re: AW: mailing list or news group??

2001-05-17 Thread Milt Epstein
On Thu, 17 May 2001, Dario Novakovic wrote: > --- Ralph Einfeldt <[EMAIL PROTECTED]> > wrote: > > This topic has been discussed several times. > > that means subscribers want it and it is time to switch to news and > web based forum is not bad idea That's an interesting -- and quick -- conclusio

RE: inserted line feeds in concatenated strings

2001-05-17 Thread William Kaufman
So what's the value of "text"? Does it include some kind of line break character, or doesn't it? (You might want to try something like, for (int i = 0; i != text.length(); i++) { char c = text.charAt(i); if (Character.isSpace(c) && c != ' ') System.err.println("Char

RE: AW: mailing list or news group??

2001-05-17 Thread Milt Epstein
On Thu, 17 May 2001, Robert Wohlgemuth wrote: > Hi! > > Mailinglists are very good, but if the amount of messages explode > (like in this mailing list) it should be considered to split the > mailinglist into several more specific ones: > e.g. tomcat + IIS > tomcat + apache (win) > tom

Re: Large number of java processes

2001-05-17 Thread Jeff Kilbride
These are kernel threads not processes, so they're not as bad as you may think. (I'm assuming you're running Linux...) Check the tomcat users guide for info on setting the max_threads and other parameters of the PoolTCPConnector classes. http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/in

Re: servlet chaining, session null

2001-05-17 Thread Bo Xu
[EMAIL PROTECTED] wrote: > Well, > > all my servlets are on the same webapps. > I don't use the url rewriting, but the HttpSession. > > for example in the first servlet: > HttpSession session = request.getSession(false); > if (session == null) > session = request.getSession(true); > session.setA

Re: AW: AW: mailing list or news group??

2001-05-17 Thread Milt Epstein
On Thu, 17 May 2001, Ralph Einfeldt wrote: > Sorry, but it has been discussed in at least three threads! > > Some examples: > > http://mikal.org/interests/java/tomcat/archive/view?mesg=26350 > http://mikal.org/interests/java/tomcat/archive/view?mesg=26349 > > http://mikal.org/interests/java/tomca

Problems replacing SessionInterceptor

2001-05-17 Thread David M. Rosner
Hello, I've written my own version of the SessionInterceptor and placed this with my application class files (com.myapp.uril.SessionInterceptor). I updated the server.xml file to point to my version of the class instead of Tomcats by updating the following:         className="com.my

test -- apologies.

2001-05-17 Thread mepstein
Testing ...

Re: Difficult question Urgent!!!

2001-05-17 Thread Jeff Kilbride
How about the getRemoteUser() method of the request object? --jeff - Original Message - From: "mohamed imdadullah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 4:17 PM Subject: Difficult question Urgent!!! > > Hhi all, > > I have Tomcat running under apache,

Tomcat Apache/ JServ mod_jserve problem ...

2001-05-17 Thread Anil Kumar
Hi I thought Some one can help .. I am getting these error messages ... [17/05/2001 09:25:38:758] (ERROR) an error returned handling request via protocol "ajpv12" [17/05/2001 09:25:41:553] (EMERGENCY) ajp12: can not connect to host 127.0.0.1:61618 [17/05/2001 09:25:41:553] (EMERGENCY) ajp12:

Re: Browser Closed

2001-05-17 Thread Alin Simionoiu
Is possible to find out if a specific session is no longer valid?.. - Original Message - From: "Milt Epstein" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 1:15 AM Subject: Re: Browser Closed > On Wed, 16 May 2001, Alin Simionoiu wrote: > > > I think this even

RE: Difficult question Urgent!!!

2001-05-17 Thread William Kaufman
javax.servlet.http.HttpServletRequest.getRemoteUser(). -- Bill K. > -Original Message- > From: mohamed imdadullah [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 17, 2001 9:17 AM > To: [EMAIL PROTECTED] > Subject: Difficult qu

RE: Application with distributed resources

2001-05-17 Thread Bip Thelin
On Thu, 17 May 2001, Vijay Prabhakar wrote: > I'm really interested in this kind of stuff. I have been working on > this myself with Tomcat to do session failover and shared memory spaces. > I found a company that's doing some interesting work with shared memory > as well. Is this feature expec

Re: Cookies

2001-05-17 Thread Jeff Kilbride
Look at the session-timeout directive in your web.xml file. The default is 30 minutes. --jeff - Original Message - From: "Oki DZ" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 10:26 PM Subject: Cookies > Hi, > > I use JDBCRealm and I'd like to have the conne

Re: Struts, Velocity, JSP, XSLT?

2001-05-17 Thread Jeff Kilbride
Speed is one consideration. XML and XSLT are great, but are very processor intense for all the translation/transformation that is done on the fly. --jeff - Original Message - From: "Richard Draucker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 9:18 PM Subjec

RE: start tomcat server remotely --Help needed

2001-05-17 Thread Vijay Prabhakar
Title: RE: start tomcat server remotely --Help needed _theoretically_ you could do this.  I wouldn't suggest that though.  I'd say use JMX to do stops and restarts. -Vijay -Original Message- From: Valeriy Molyakov [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 1:54 AM

RE: Application with distributed resources

2001-05-17 Thread Vijay Prabhakar
Title: RE: Application with distributed resources I'm really interested in this kind of stuff.  I have been working on this myself with Tomcat to do session failover and shared memory spaces.  I found a company that's doing some interesting work with shared memory as well.  Is this feature ex

RE: No mod_jk.so?

2001-05-17 Thread GOMEZ Henri
What OS did you look for ? - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 >-Original Message- >From: [EMAIL PROTECTED] [mailto:[E

Tomcat 4 as an NT/2000 Service

2001-05-17 Thread Christopher Benson
Does anyone know when a version of jk_nt_service.exe for Tomcat 4.x will be available so that Tomcat 4 can be run as an NT/2000 Service?  Alternatively, is there a way the current jk_nt_service.exe can work with Tomcat 4.  Tomcat 4 has no workers.properties file which is required by jk_nt_s

starting tomcat in debug VM

2001-05-17 Thread Nathan Coast
Hi, I'm trying to start tomcat in debug mode using these options: TOMCAT_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n as I understand it, the address to which the debuger should connect should be displayed on stdout. However, all that is being displayed is the agent password.

Re: passing " quotes in html

2001-05-17 Thread Wyn Easton
Use the single quote (') in the HTML that has double quotes. Like this: --- Christoph Kukulies <[EMAIL PROTECTED]> wrote: > > Sorry that this is not directly tomcat related but > in the course of > writing a jsp/servlet application I came across the > problem > that I'm generating a FORM whi

RE: Static filed reference BUG since( Tomcat 4b2-b5)

2001-05-17 Thread Randy Layman
There is a difference between adding to the classpath and importing. The class path helps the JVM find the .class file for a particular class. The import statements allow a developer to use the short class-only name (i.e. Vector) instead of the fully qualified class name (i.e. java.util.V

Virtual Hosting and security

2001-05-17 Thread Renato Weiner
 Hi all, I know this is a quite common subject but I didn't find any ultimate answer. In a shared hosting environment, how can I prevent clientX to read files from clientY ? -  java.policy doesn't cover this. If I use grant codeBase 'file:/...' or 'http://', it doesn't work. - can I override Secur

inserted line feeds in concatenated strings

2001-05-17 Thread Christoph Kukulies
I'm seeing different browser behaviour between unix netscape vs. Windows (NT) Netscape or MSIE. I'm generating a page with text between The text is generated via out.println(text + "," + number); and I get a line break after 'text' while under Unix browsers I don't get a line break. Any id

Re: passing " quotes in html

2001-05-17 Thread Christoph Kukulies
On Thu, May 17, 2001 at 05:43:36PM +0200, Christoph Kukulies wrote: > > Sorry that this is not directly tomcat related but in the course of > writing a jsp/servlet application I came across the problem > that I'm generating a FORM which contains > something like: > > fprintf(yyout,"\n",p,s); >

Tomcat Socket Error

2001-05-17 Thread Jaimes Blunt
Title: Tomcat Socket Error Hi guys, I was wondering if someone could help me.  I am using Tomcat as a standalone middleware server, that basically manages connections to a remote system, and parses all data received.  I have started getting weird error messages as mroe people begin to access

RE: NullPointerException error

2001-05-17 Thread Randy Layman
I have a few guesses as to what your problem is, so I'll give it a try: 1. In your web.xml file, you surround your values with quotes, this is unnecessary and will probably cause other problems once you can actually load the correct values. 2. What URL are you trying to

Re: Creatying java file

2001-05-17 Thread Bip Thelin
On Thu, 17 May 2001, Bruno Crapart wrote: > > My problem is that this creator is doing a bad job under Tomcat4.0 ! Read my previous mail, I would think that there is no problem with your "creator". ..bip

Creatying java file

2001-05-17 Thread Bruno Crapart
>From jsp file, who is creating Java file ? (under work folder) My problem is that this creator is doing a bad job under Tomcat4.0 ! Bruno -Message d'origine- De : John Paca [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 17 mai 2001 17:05 À : [EMAIL PROTECTED] Objet : question about confi

Thanks RE: Apache, Struts, .conf files

2001-05-17 Thread DHarty
Thanks Dante! Your email made me realize that the struts instructions assume that your using JServ and not mod_jk D -Original Message- From: Dante le Poole [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 10:23 AM To: [EMAIL PROTECTED] Subject: RE: Apache, Struts, .conf fil

Re: tomcat-user

2001-05-17 Thread Mark Mynsted
I doubt any IBMers will comment. ;-) Sincerely yours; Mark Mynsted VHA Management Information Systems Client Services [EMAIL PROTECTED] (972) 830 - 0592, Internal x1592 >>> [EMAIL PROTECTED] 5/17/2001 10:18:11 AM >>> At 04:01 PM 5/17/2001 +0100, George wrote: > I am a partially happy OS/2

RE: Has anybody resolved no-refresh of servlets?

2001-05-17 Thread Sadasivakurup, Jiji L.
May be the servlets are in your classpath when you start tomcat?? WEB-INF/classes should not be in the classpath. Jiji -Original Message- From: Mark Mynsted [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 11:02 AM To: [EMAIL PROTECTED] Subject: Has anybody resolved no-refresh o

RE: Tomcat 4/Apache combination

2001-05-17 Thread Bip Thelin
On Thu, 17 May 2001, Bruno Crapart wrote: > The same for me ! I am confident with Jakarta > But i encounter one problem below : > > A Servlet Exception Has Occurred > > org.apache.jasper.JasperException: Unable to compile class for > JSPC:\tomcat\bin\..\work\localhost\egc\carriersite\code_jsp.j

RE: servlet chaining, session null

2001-05-17 Thread SAMEUNIE
Well, all my servlets are on the same webapps. I don't use the url rewriting, but the HttpSession. for example in the first servlet: HttpSession session = request.getSession(false); if (session == null) session = request.getSession(true); session.setAttribute("path1",request.getServletPath());

Re: Jsp reloading

2001-05-17 Thread Tuukk4 |[:)<-<| p4s4n3n
Hey, I did it and put .java to (something)/WEB-INF/classes/ tomcat compiles them just fine but doesn't reload them.. i using tomcat 4.0b5. Am i just wheening?? Tuukka On Tue, 15 May 2001 10:11:58 skolski wrote: >Hi crowd, > >what I do is to touch the .jsp file whenever I update some classes

Re: AW: mailing list or news group??

2001-05-17 Thread Tim O'Neil
At 11:12 AM 5/17/2001 -0400, you wrote: > > I vote for a web-based forum - all you need is a web browser, > > which you all no doubt have or you wouldn't have subscribed > > to this forum in the first place! > > >BTW -- Who asked you to vote... And why do you think you have voting rights? >Do you

Re: Has anybody resolved no-refresh of servlets?

2001-05-17 Thread Mark Mynsted
Please disregard that message... Sincerely yours; Mark Mynsted VHA Management Information Systems Client Services [EMAIL PROTECTED] (972) 830 - 0592, Internal x1592 >>> [EMAIL PROTECTED] 5/17/2001 10:01:42 AM >>> Has anybody resolved why servlets do not seem to be refreshed when the reloadab

RE: server.xml context port from 3.2.1 to 3.3

2001-05-17 Thread Ignacio J. Ortega
If you have any question about 3.3, this mailing list is the right place , of course... But, what it's your question ? Teoretically the only needed modication to add your contexts to tomcat 3.3 is to create a clone of $TOMCAT_HOME/conf/app-examplaes.xml , changing , of course the references to

RE: Tomcat 4/Apache combination

2001-05-17 Thread Bruno Crapart
The same for me ! I am confident with Jakarta But i encounter one problem below : A Servlet Exception Has Occurredorg.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat\bin\..\work\localhost\egc\carriersite\code_jsp.java:62: Incompatible type for method. Explicit cast nee

Re: Attn: Roger - question about setting up Apache and Tomcat

2001-05-17 Thread HD
Roger, I don't know why the instruction on the Tomcat website include the mod_jk.conf-auto. Since I don't know much about it, so I just followed exactly what they instructed. I bet it does. Try this: http://localhost/examples/jsp/ ==> don't know why it doesn't. That's why I need help. I ju

A Servlet Exception Has Occurred

2001-05-17 Thread Bruno Crapart
I have tried to upgrade all my system to Tomcat4, JDK1.3.1, JSDK1.3 Here is the result, Wrong java file is created from jsp file It worked fine with past versions of Tomcat JDK and JSDK A Servlet Exception Has Occurred org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomc

Re: Application with distributed resources

2001-05-17 Thread Bip Thelin
On Thu, 17 May 2001, Twylite wrote: > > [...] > > 1. Sessions are not shared between servers. Although I do not store any information >in sessions (at this stage, > at least), I need to transfer a user's identity and roles between servers. At the >moment a redirection to another > server mea

  1   2   >