mySQL again

2001-03-01 Thread Herchel Wojciech
Hi! My connectionURL in server.xml now looks like this: "jdbc:mysql://localhost/auth?user=rootpassword=somepassword" and tomcat doesn't start up (although there is no error msg or anything) and when i execute tomcat stop i get the following exception: org.xml.sax.SAXParseException: Next

RE: log4j usage in tomcat?

2001-03-01 Thread GOMEZ Henri
Within my classes i'm utilizing Log4j logging which requires Log4j to be configured. I normally configure Log4j within my unit test cases, but in the case of Tomcat, to my pleasant surprise, i found that (seemingly) without configuration, it was handling all my log statements and outputing

re: mySQL again

2001-03-01 Thread leak
Hi! My connectionURL in server.xml now looks like this: "jdbc:mysql://localhost/auth?user=rootpassword=somepassword" and tomcat doesn't start up (although there is no error msg or anything) and when i execute tomcat stop i get the following exception: org.xml.sax.SAXParseException: Next

Re: mySQL again

2001-03-01 Thread Andrew Robson
Hi, You might want to try something like the following. It works for me. RequestInterceptor className="org.apache.tomcat.request.JDBCRealm" debug="99" driverName="org.gjt.mm.mysql.Driver" connectionURL="jdbc:mysql://localhost/somedb"

Life of a class?

2001-03-01 Thread Neil Edney
Hi, We have implemented a database connection pool class (extract below) and use the 'getInstance' method to ensuire that there is only one instance created at any one time. What we need to know is when will this class be destroyed? Is it went the server is stopped (or crashed!) or will it

Crashing tomcat

2001-03-01 Thread Christopher Miller
I have written a simple servlet to access a database and place the results in an html page. However this is regularly crashing the tomcat server. I have tomcat and apache running together with the basic config files, but I am not sure where the fault lies (servlet or config file). the error

Re: Life of a class?

2001-03-01 Thread uthay
The class which loads the DbPool class should release it. ie. if there is no reference to this class and the static instance is also no longer referencing any object, I beleive the class will be ready for gc. - Original Message - From: "Neil Edney" [EMAIL PROTECTED] To: [EMAIL

Jserv to Tomcat documentations?

2001-03-01 Thread Paolo Fantoli
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hi, we are trying to install an application that should work with Apache Web Server and Apache Jserv using IIS and Tomcat. We had followed the TOMCAT IIS HOWTO and now IIS and Tomcat cooperates. Our new problems is

AW: Crashing tomcat

2001-03-01 Thread Ralph Einfeldt
Give a bit more info of your environment. (OS, Apache version, Tomcat version, which connector mod_jserv or mod_jk) In which file is the error reported ? Is there more information available in the log ? (With the informations you provided it's just guesswork, to decide if that's an error of

Re: Crashing tomcat

2001-03-01 Thread dick
Hi Christopher, I also use some taglib to query a database (mysql) and then show the result in html back. It occasionally crash, I don't know the reason too. So, let's figure the reason out ! Regards Dick Poon - Original Message - From: "Christopher Miller" [EMAIL PROTECTED] To:

Tomcat Crashes

2001-03-01 Thread Kishor K
hi, I have Tomcat 3.1 and jdk 1.2.2 on TWO Windows NT machines. Both the machines are loaded with the same code,same database. But on one machine it is causing Dr.Watson error 2-3 times a day whereas the other one is working properly. Could you help in anyway on this? thanks in advance

RE: Crashing tomcat

2001-03-01 Thread Stefán F. Stefánsson
Hello.. Are you guys running windows? If so, are you getting the popup window with the red cross and an ok button saying that some memory address can't be read? If that is the case I would bet that you have found a bug in the JVM. The reason for that being that Java doesn't have any pointers

memory and/or ms problem

2001-03-01 Thread Gerd Trautner
Hi tomcat-users, I am having some memory related troubles with my servlets running on tomcat 3.2.1 on an win nt 4 workstation machine. I read all previous messages in the list with the term "memory" in it, but everything i try does not help. problem: the memory consumption of the java.exe

Re: Tomcat class loader

2001-03-01 Thread Chris Haynes
Uthay, I still think you've got a basic JAVA coding error - a class mismatch in a .jsp called something like CampView.jsp Look carefully at line 103 in the file below in the 'work' subdirectory, paying special attention to any assignments or method calls in *your* code that show up in that

Re: memory and/or ms problem

2001-03-01 Thread Oleg L. Sverdlov
I have the same problem too. I use Windows 2000 Server, Tomcat 3.2.1 and isapi_connect.dll I've already asked this question on the list, and nobody seems to know. Oleg L. Sverdlov Web Development Dept. Netmount Networks Raanana, Israel. http://www.netmount.com Phone:

Q: logging requests to servlet?

2001-03-01 Thread Oleg L. Sverdlov
Hello. When using ISAPI redirector for Tomcat, all requests to servlets are written in IIS log file as "... GET /jakarta/isapi_connect.dll ..." . How to configure tomcat to see servlet name and parameters passed? Thanks. Oleg L. SverdlovWeb Development Dept. Netmount Networks Raanana,

Log traffic to webapp

2001-03-01 Thread Stefán F. Stefánsson
Hello. I'm wondering if I can log all traffic coming to a webapp? I'm using EmbeddedTomcat so no use in server.xml. Anyone know a convenient way? Kind regards, Stefan. Stefan Freyr Stefansson Software Developer deCODE Genetics, Inc.

Re: Tomcat class loader

2001-03-01 Thread uthay
Chris, Thanks for your help I use few beans within a page. And if there is any class cast exceptions during the compilaion of that jsp I will get a that specific class cast exception not necessarily the jsp file class. More over it doesn't happen specific to a jsp page. As I said, I am only

referer

2001-03-01 Thread Carlos
can any body say me how can i in a JSP page detect which is the referer page? from which page comes the visit? thanks Carlos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: Tomcat Crashes

2001-03-01 Thread Randy Layman
Two common causes of crashes, in my experience, are using the JDBC-ODBC bridge (its not thread safe and when concurrent access occurs it crashes the JVM). The other is in the JIT complilation. I've had a lot less trouble with the newer JDKs (1.2.2_007) than the older ones (1.2.2_002

Re: Problem with cache

2001-03-01 Thread William Brogden
matteo belloni wrote: I've a servlet that write on a file. If the Tomcat is running the first time the application rewrite the file, the other time this file is appended but, If I first shutdown the webserver, the information in a file isn't appended and the application function

Servlet output into Jsp

2001-03-01 Thread Manuel Alzola
Hello. I would like to insert the output of a servlet into my jsp page.I've seen a custom tag in Jrun to do that(servlet) Is there any equivalent in tomcat? Is it part of the spec? Thanks in advance Manuel Alzola

Need Help on Tomcat with NES

2001-03-01 Thread Satheesh . Krishnamurthy
Hi, This is Satheesh working for IT Solutions as Manger Infrastructure. I am trying to install Tomcat server and integrate with Netscape Enterprise Server. The Tomcat webserver working fine and the SnoopServlet also comes up, and NES webserver is working fine. But when call the servlet it says

Crashing tomcat

2001-03-01 Thread Christopher Miller
thanks for all the replies. It turns out as suggested that it was the version of jdk / jre. I now have jdk1.3 as opposed to jdk1.2.2 and jre 1.3. and more importantly no crashing of tomcat thanks chris - To unsubscribe,

Tomcat Session Problem!

2001-03-01 Thread Moin Anjum H.
Hi All, Thanks a lot in advance. I have a grave problem with tomcat. I am not able to kill session created with HttpSession Mysession = request.getSession( true ); At the end even if i execute Mysession.invalidate(); still in my next session i get the values of when i call

Re: Problem with cache

2001-03-01 Thread matteo belloni
No I close it and after rewriting I deleted it and this file appear really deleted but Tomcat mantain it in cache so my deletion is inutil. Thanks Theo - Original Message - From: "William Brogden" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 01, 2001 1:52 PM Subject:

Generating a random alphanumeric string

2001-03-01 Thread Cato, Christopher
Hello, can anyone show me an example or give me a clue about how to generate a random alphanumeric string of lets say 16-32 chars? TomCat is obviously doing it for the session ids, but how would I do the same in a servlet? Regards, Christopher Cato

Re: Tomcat class loader

2001-03-01 Thread uthay
I think you are right. You don't have persistent beans in there which are storing old copies of the class you are changing, do you? I have a session bean which is serialised as bean should be. It's possible that a class cast exception is being thrown if a new version arrives where an old

ODP: Generating a random alphanumeric string

2001-03-01 Thread Herchel Wojciech
see tomcat sources, org.apache.tomcat.util.SessionIdGenerator namely vVolf -Oryginalna wiadomooe- Od: Cato, Christopher [mailto:[EMAIL PROTECTED]] Wysano: 1 marca 2001 15:05 Do: '[EMAIL PROTECTED]' Temat: Generating a random alphanumeric string Hello, can anyone show me an

[TC4] Bug? Authentication problem with HTTP 1.1 client (MSIE)

2001-03-01 Thread Jason Harrop
Hi I'm using TC4 built from CVS on 17 Feb, and I'm scratching my head about a strange problem when i try and access 2 webapps which have the same realm name in their web.xml file, as in: login-config auth-methodBASIC/auth-method realm-namemyRealm/realm-name If I visit these

Create a Context aother than webapps

2001-03-01 Thread Chris Andreou
I have a problem executing my servlets in a diffrent context other than webapps - using a absolute path instead of relative. I have the followoing definition in server.xml : server.xml --- Context path="/devexamples" docBase="e:/Apachegroup/Apache/htdocs/webdir/examples"

RE: Generating a random alphanumeric string

2001-03-01 Thread Anil
Cato, Here is code that I tried out for generating a user id using the user name I have to pass a string and it returns a 8 digit alpha numeric Hope it helps, Anil public static String getCode(String text){

useing beans.

2001-03-01 Thread Pater Pandoson
Hello My jsp pages work fine but when I try to use beans I get this 2001-03-01 12:10:19 - Ctx( ): Exception in: R( + /test.jsp + null) - javax.servlet.ServletException: try to access class NormalizeText from class _0002ftest_0002ejsptest_jsp_4 at

Re: Problem with cache

2001-03-01 Thread William Brogden
Tomcat does not cache files as such. Your problem must come from a different source. matteo belloni wrote: No I close it and after rewriting I deleted it and this file appear really deleted but Tomcat mantain it in cache so my deletion is inutil. Thanks Theo - Original Message -

Re: Problem with cache

2001-03-01 Thread matteo belloni
Thanks Theo - Original Message - From: "William Brogden" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 01, 2001 3:34 PM Subject: Re: Problem with cache Tomcat does not cache files as such. Your problem must come from a different source. matteo belloni wrote: No

RE: useing beans.

2001-03-01 Thread Hawkins, Keith (Keith)
Did you try changing the class to have public access? This is just a hunch but the default constructor on a non-public class may not be accessible given the IllegalAccess exception that is being thrown. -Keith -Original Message- From: Pater Pandoson [mailto:[EMAIL PROTECTED]] Sent:

Re: useing beans.

2001-03-01 Thread William Brogden
Pater Pandoson wrote: Hello My jsp pages work fine but when I try to use beans I get this 2001-03-01 12:10:19 - Ctx( ): Exception in: R( + /test.jsp + null) - javax.servlet.ServletException: try to access class NormalizeText from class _0002ftest_0002ejsptest_jsp_4 at

Re: useing beans.

2001-03-01 Thread Pater Pandoson
Good call that was it all right. Thanks it says nothing about it in my book! agh well live and learn. "Hawkins, Keith (Keith)" wrote: Did you try changing the class to have public access? This is just a hunch but the default constructor on a non-public class may not be accessible given the

RE: Tomcat Src

2001-03-01 Thread Hickok, Troy
If you are on Solaris try gettingGNU tar and using it instead of the tar that comes with Solairs. That solved it for me. -Original Message-From: Tan Khim Siang [mailto:[EMAIL PROTECTED]]Sent: Wednesday, February 28, 2001 10:58 PMTo: Tomcat User GroupSubject: Tomcat Src

RE: Generating a random alphanumeric string

2001-03-01 Thread Samson, Lyndon [IT]
This seems ok for the job. There should be some speedups if you need them. Cheers // --- cut --- public class GenID { private static String validChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"; private int _IDlength; public GenID(int IDlength) { _IDlength =

IIS/PWS fails to load isapi_redirect.dll filter

2001-03-01 Thread Hawkins, Keith (Keith)
I am trying to get the isapi_redirect.dll filter to run under IIS/PWS. I have quadruple checked all the values that I need to set up according to the instructions posted on the Tomcat site. But every time I stop and start the web service, I get the dreaded red down arrow. (The bane of my

Tomcat, Jaxp, Xalan

2001-03-01 Thread Scott Walter
Help! I am trying to do xml transformation with tomcat. I want to use the xalan transformation engine. However the jaxp.jar that is included in the tomcat lib is getting in the way. I keep on getting a "Namespace not supported by parser" exception. If I remove jaxp.jar and parser.jar from

Re: Tomcat Crashes

2001-03-01 Thread Dick Poon
wow! even a little higher version of JDK do make a difference! - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 01, 2001 8:12 PM Subject: RE: Tomcat Crashes Two common causes of crashes, in my experience, are using the JDBC-ODBC

Too many open files with Tomcat-3.2.1 under Solaris

2001-03-01 Thread Zsolt Koppany
Hi, I just want to port our tomcat application to Solaris-2.7 and after a short time I get the error message "Too many open files" from java.net.SocketException. The same applications does not have the problem under Linux. I'm pretty sure that not our application causes the problem. I use

Re: I CANT COMPILE SERVLETS!!!HELP

2001-03-01 Thread DSailing
I'm not sure this is what you are asking. You never said what kind of error you were getting. But I though a list of my command line parameters might help. here is what I use: -deprecation -classpath "d:\Program Files\jakarta-tomcat\classes";"\Program Files\jakarta-tomcat\lib\servlet.jar" -d

mod_jk.c

2001-03-01 Thread Chris Andreou
I am using NT, Apache 3.2.1 and Tomcat. Does anybody know why I get an error by loading the mod_jk.c ? Thanks Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: Generating a random alphanumeric string

2001-03-01 Thread Adrian Papari
i did this a few weeks ago; the code is far from "clean'n'nice", but it does what it's supposed to, here goes: Random pwdGen = new Random( System.currentTimeMillis() ); Character temp = new Character( 'a' ); StringBuffer pwd = new StringBuffer(); Vector charPwd = new Vector(); int i = 0; //0-9

Tomcat mod_jk: jsp pages don't display the first time invoked

2001-03-01 Thread Xu, Lifeng
Hi all, I just lately replaced mod_jserv with mod_jk as Tomcat plug in in Apache. It works ok except one thing: for some of my jsp pages, the first time invoking them will not get the page displayed. Instead, I get a "page not exist" error. However, if you go back and hit refresh, then the right

RE: mod_jk.c

2001-03-01 Thread Xu, Lifeng
I am also new to mod_jk, but I think if you are running NT, you don't load mod_jk.c. What you need is mod_jk.dll. I could be wrong though. Like I said, I am new too. So take my advise in your own risk...:) Good luck. Lifeng -Original Message- From: Chris Andreou [mailto:[EMAIL

MyRealm - cannot instantiate class exception

2001-03-01 Thread DUDGEON
Although I've been using tomacat for sometime, I'm now needeing to start on some work to match up the authentication and authorisation within catalina to our enviroment. To do this I'm putting together a LDAPRealm. I have a rudimentary LDAPRealm that works fine on its own, but when I put it into

SSL Tomcat

2001-03-01 Thread Brett W. McCoy
I have some questions regarding the use of mod_ssl with Apache and Tomcat. The onlie docs don't go into great detail about configuration, so hopefuly someone here has more clue than I. In the online docs, the author recommends putting the mod_jk directives under the SSL port 443 virtual host

ask a don't exists page and show other

2001-03-01 Thread Carlos
i have my pages from asp to jsp the problem is that there are users that asks asp pages. there is any way for make this: if my browser asks a *.asp page forward (show) the index.jsp page? how? thanks Carlos - To unsubscribe,

SSL Tomcat, continued

2001-03-01 Thread Brett W. McCoy
I forgot one more question, that is more of a programming question than a configuration question. I need to be able to use a custom error page that gets served if SSL is not available. Can this be accomplished with a JSP file, by capturing the error and redirecting to the error page in a manner

receiving multilingual input for servlet

2001-03-01 Thread Amir Nuri
Does anyone can help me ?? I am getting text from a form, but when it's not english i can't convert the characters into UTF-8 format !!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL

Re: ask a don't exists page and show other

2001-03-01 Thread Brett W. McCoy
On Thu, 1 Mar 2001, Carlos wrote: i have my pages from asp to jsp the problem is that there are users that asks asp pages. there is any way for make this: if my browser asks a *.asp page forward (show) the index.jsp page? You'd have to have a redirection in your ASP page to the new JSP

tomcat3.2.1 -- tomcat 4b1

2001-03-01 Thread Carlos
i use the tomcat 3.2.1 in the TOMCAT_HOME i have put a classes directory for putting all my classes for all my virtual domains. is this posible in tomcat4b1? i have put int the TOMCAT_HOME (tomcat4b1) the classes direcotry with my all classes (*.class) for all virtual domains and it not found

RE: IIS 5.0 and adding contexts (JSPs not being processed)

2001-03-01 Thread Rodriguez Victor A.
Hi, One interesting thing to note is that the Javascript is still executed (i.e. stuff insideSCRIPT language="Javascript"/SCRIPT tags) Please, note that JSP executes in the server side, and JavaScript in the client side (a.k.a. browser). Cheers. -- Vctor A. Rodrguez (

Protecting mysql access (was: re: mySQL again)

2001-03-01 Thread Rob Tanner
Slightly off topic, but important! Having seen way too much in terms of hacking and system compromises, might I suggest you create another, and far less privileged user than root, for accessing mysql. Unless you've gone into the grant tables and creatd a different mysql superuser and reduced

no class def found sun.tools.javac.Main

2001-03-01 Thread Stefán F. Stefánsson
Hi I'm getting the following error. Anybody have an idea where this class comes from? What do I need to have in my classpath to find it? Thanks, Stefan. Internal Servlet Error: javax.servlet.ServletException: sun/tools/javac/Main at

RE: no class def found sun.tools.javac.Main

2001-03-01 Thread Randy Layman
This comes from Tomcat not being able to find your JavaC compiler (imagine that, not found class sun.tools.javac.Main). You need to set your JAVA_HOME variable so that it points to your JDK root directory. And read the manual and/or mail list archives and/or the FAQ.

RE: Poolman and Tomcat - where does the poolman.props file go

2001-03-01 Thread Ariel
Add some directory (like c:\tomcat\lib) to your CLASSPATH and copy poolman.props to this directory. Ariel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 6:08 PM To: [EMAIL PROTECTED] Subject: Poolman and Tomcat - where does the

interligo

2001-03-01 Thread dsergent
Does anyone knows something about interligo, where the files are and if the project is always used or totaly forget thks for your answer David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Protecting mysql access (was: re: mySQL again)

2001-03-01 Thread Rick Herrick
On our server, we basically grant NO remote access privileges to ANY users, including root. This means that any access to the database has to be done from the localhost. So instead of doing the two normal grants you might do, like this: GRANT SELECT,INSERT,UPDATE ON *.* TO soandso@localhost

RE: no class def found sun.tools.javac.Main

2001-03-01 Thread Stefán F. Stefánsson
Thanks for your answer. I should have been more clear in my previous post. Ok... so here's the deal, I have a server application that integrates Tomcat. This server starts tomcat up through use of the EmbeddedTomcat class. So far so good. When I start the server from a command line or within

RE: no class def found sun.tools.javac.Main

2001-03-01 Thread Randy Layman
If I understand your problems - its that when Ant starts the server you can't compile your JSPs? I think your problem is in your Ant build file not setting the Java home. How are you trying to invoke Tomcat - script or calling the class? If the class, make sure to add

Please help. Going Nuts.

2001-03-01 Thread mikhail malamud
Here is the setup I have. Tomcat 3.2.1 with mod_jk Apache 1.3.17. DocRoot /usr/local/apache/htdocs. First, I got the existing /examples webapp to work. Apache is calling tomcat and its all good. But now I am trying to deploy my first tomcat application and going through hell. My DocRoot looks

RE: Generating a random alphanumeric string

2001-03-01 Thread Craig O'Brien
This intrigued me so I just wrote this little program. Of course it could be wrapped up in a bean and it needs to check against a list of established passwords but it gives you upper-lower case random sequence of alpha-numeric characters. Just feed it the length that you want. It even cleans up

RE: Please help. Going Nuts.

2001-03-01 Thread Chris Andreou
join the club :) at any means if you find a solution let me know Chris -Original Message- From: mikhail malamud [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 11:21 AM To: [EMAIL PROTECTED] Subject: Please help. Going Nuts. Here is the setup I have. Tomcat 3.2.1 with

RE: ajp12 or ajp13

2001-03-01 Thread Chris Andreou
Tomasz, The documentation is very confusing. Would it be possible to send us your configuration files? Thanks Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 2:34 AM To: [EMAIL PROTECTED] Subject: Re:ajp12 or ajp13 Well, you

Re: Please help. Going Nuts.

2001-03-01 Thread Jan Labanowski
One thing at a time... Do not start from most complicated stuff... Try to make hello world JSP to work first In your directory /usr/local/apache/htdocs/vitamin put a file: hello.jsp HTML BODY Hello World /BODY HTML and try to get it in the browser: http://my.machine.com:8080/vitamin/hello.jsp

Re: Please help. Going Nuts.

2001-03-01 Thread Bill_Fellows/MO/americancentury
"mikhail malamud" [EMAIL PROTECTED] on 03/01/2001 11:20:31 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Bill Fellows/MO/americancentury) Subject: Please help. Going Nuts. Here is the setup I have. Tomcat 3.2.1 with mod_jk Apache 1.3.17. DocRoot

*** Please help me

2001-03-01 Thread tefan Babos
Welcome, I can't configure the ISAPI Redirector. I perform four installations, and I exactly keep your procedure, but the http://localhost/examples/jsp/index.html, cannot execute... I don't known where problem is. My configuration is Windows 98, PWS 4(working properly). To this message I attached

RE: Please help. Going Nuts.

2001-03-01 Thread mikhail malamud
OK. I got this to work. What's the next step, Jan? -Original Message- From: Jan Labanowski [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 12:51 PM To: [EMAIL PROTECTED] Cc: Jan Labanowski Subject: Re: Please help. Going Nuts. One thing at a time... Do not start from most

RE: *** Please help me

2001-03-01 Thread Randy Layman
It would appear that your Tomcat is not working correctly (looking at the isapi log it determines it should redirect, however the the service() method indicates that its failing. Does Tomcat work on port 8080? I would guess that the Microsoft JVM is causing your problems. Try

RE: Please help. Going Nuts.

2001-03-01 Thread Jan Labanowski
On Thu, 1 Mar 2001, mikhail malamud wrote: OK. I got this to work. What's the next step, Jan? Read my message again... There were more steps there {:-)}... Read the notes at http://www.ccl.net/cca/software/UNIX/apache/index.shtml and http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml

Reading a file from a Context

2001-03-01 Thread Brett G. Palmer
What is the best way to read a file from a Context in Tomcat? I know I can get the context path from the "getContextPath()" method, but most file stream APIs require a full path. There most be a clean way to accomplish this without hard coding any directory path info. Any suggestions would be

Startup AND shutdown of separate JVM's

2001-03-01 Thread Scott Tatum
I have been using Tomcat for a while now and with good success. I recently setup virtual hosts (named vhosts) and was surprised when it all worked the first time. =) The documentation in the mod_jk-howto was a great help. Here is my setup: I have two different (eventually more) virtual hosts on

Re: I CANT COMPILE SERVLETS!!!HELP

2001-03-01 Thread Zakaria .
Thanks everyone, my problem was that i just included the servlet.jar to the classpath, but in fact i had to include all in the tomcat\lib jars to the classpath, now i can compile by using only the javac command as with a regular java program...

RE: Please help. Going Nuts.

2001-03-01 Thread mikhail malamud
ajp13 connector is set up properly because default app works fine with it and so do my jsp's. As you recommended, I decided to get simple things to get to work first. So, I tried to execute a servlet not in /WEB-INF/classes/edu/myschoo/util/HelloWorldExample but simply in

Re: Life of a class?

2001-03-01 Thread Bo Xu
Neil Edney wrote: Hi, We have implemented a database connection pool class (extract below) and use the 'getInstance' method to ensuire that there is only one instance created at any one time. What we need to know is when will this class be destroyed? Is it went the server is stopped (or

Virtual hosts

2001-03-01 Thread Julie Ruiz
Hi, How can I setup virtual hosts in Tomcat using SSL direct Thanks, Julie. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: CLASSPATH and Load-on-startup related issue - bug ??

2001-03-01 Thread Srinivas Kurella
Anuj, Do you have a servlet that is loaded on startup ? I have a feeling that to laod the servlet on startup , tomcat needs all the classes in the classpath, which forces me to put the jars in the classpath. I can't get to the jasper.log stage, if the startup servlet can't be loaded. Can

RE: Poolman and Tomcat - where does the poolman.props file go

2001-03-01 Thread tnist
Ariel, Thanks for the reply, but I have already tried this with no success. I sent the classpath set by tomcat out to a file and the directory containing the property file is in there, but I still get the error. Any other ideas? Regards, Todd -Original Message- From: Ariel

Servlet and JDBC driver problems

2001-03-01 Thread Steve G
I have an Oracle database that I can connect to from a java program. When I convert this program to a servlet and try to bring it up in Netscape through the Tomcat Server I get a ClassNotFoundException OracleDriver. Is there anything special I need to do in Tomcat to connect to Oracle.

documentation

2001-03-01 Thread tom
Hi all, I am new to this list and have been learning how to use Cocoon and Tomcat after getting interestedin XML. I have had real problems with all the documentation. Even Brett McLaughlin's book "Java and XML", which I bought,seems out of date already - and the instructions do not work

RE: How to avoid the following exception

2001-03-01 Thread Dmitry Rogatkin
I eliminated the problem, but since i did two things, i do not know which one is the cure. 1st. i have download last t build. 2nd I added checking on null where actual erro was happened. Dmitry R., [EMAIL PROTECTED] Chief Architect, MetricStream.COM Santa Clara, CA -Original

Re: Too many open files with Tomcat-3.2.1 under Solaris

2001-03-01 Thread Ben Flaumenhaft
Hi Zsolt, Most UNIX systems need one file descriptor per open socket. That error message almost always means you don't have enough file descriptors. In Linux, at least the last time I checked, you need to recompile the kernel to change the number of file descriptors allocated by the system.

Re: Tomcat Crashes

2001-03-01 Thread Ben Flaumenhaft
You might also try a different VM ... IBM, for example. Regards, Ben Flaumenhaft Principal, Sidelight Consulting http://www.sidelight.com - Original Message - From: "Kishor K" [EMAIL PROTECTED] To: "Tomcat User Mailing List" [EMAIL PROTECTED] Sent: Thursday, March 01, 2001 2:57 AM

Re: Life of a class?

2001-03-01 Thread Ben Flaumenhaft
Hi Neil, Your pool class probably has a static member for the single instance retrieved by getInstance (), right? If so, this instance is reset only when the server is restarted or stopped, or when you explicitly release it yourself. (By the way, Tomcat maintains a separate classloader for

Re: RMI

2001-03-01 Thread Sergey V. Udaltsov
I've just got my serlevt working as an RMI client. To do this I had to edit the tomcat.policy file to give all permissions to everything, and use the rmiSecurityManager. See my earlier posts for more info So it is impossible to publish such a servlet without affecting base Tomcat

Multiple Concurrent Servlet Initialization

2001-03-01 Thread Arne Handt
Hello All, I know that this topic has been discussed about two months ago but I wasn't able to find a hint helping me to solve my problem in the archive, so I touch it again. My problem: I have a multithreaded using W3C's Jigsaw HTTP Stack to access my servlet (on Jakarta Tomcat v3.1) with

RE: Please help. Going Nuts.

2001-03-01 Thread Jan Labanowski
Again, My advice would be to put a simple HelloWorldExample.java servlet. You probably have some complicated stuff. Keep it simple like: --- cut - /* $Id: HelloWorldExample.java,v 1.1.1.1 1999/10/09 00:19:59 duncan Exp $ * Modifed by jkl */ import java.io.*; import

Log File isapi.log Too Big

2001-03-01 Thread Eli Segev
After using Tomcat with IIS 4.0 with the the ISAPI redirector for a while, I have realized that the log file is growing and growing. I would like to empty the file once in a while. Is there any clean way of doing it? -- Eli Segev PTC (781)370-6127

Error building DSO support with Apache

2001-03-01 Thread Craig Bush
Hey guys this indirectly is a Tomcat question SGI Octane II running IRIX 6.5.10 dual 400 MHz processor 1 Gig RAM Used ./configure \ --prefix=/usr/local/apache \ --enable-rule=SHARED_CORE \ --enable-module=so with no problems. However, when I run make (GNU make) I get:

RE: Log File isapi.log Too Big

2001-03-01 Thread Randy Layman
Sadly, no. You must stop IIS, remove the file, and restart IIS. Not to hard with a .bat file, however it causes outages in your availability. Batch file would be something like: net stop "World Wide Web Publishing Service" del isapi.log net start "World Wide Web Publishing Service"

Unable to compile servlet in Windows-NT-Please help

2001-03-01 Thread RaviShankar K
Hi, I could not compile servlet in Windows NT.Tomcat is running successfully. I included all jar files in CLASSPATH . But in the class path Tomcat is showing a part as C:\tomcat\classes . I could not see "classes" under tomcat . Is that a problem ? Please tell me to compile a servlet in

RE: Error building DSO support with Apache

2001-03-01 Thread Mike Braden
This is what I usually use to build apache: # ./configure --prefix=/usr/local/apache \ --enable-module=most \ --enable-shared=max # make # make install Try and see if you still get errors. Were you able to build apache before you tried shared_core? -- Mike Braden

trouble in starting tomcat

2001-03-01 Thread Adilakshmi Lingam
Hi, I've been using tomcat 3.2.1 successfully on win2k with jdk1.2.2. I was having frequent tomcat crashes fromt the time I started having jdbc-odbc connectivity in my servlets. I was thinking of changing my JVM to avoud the crashes. and Now before I made any changes, the tomcat doesn't start at

RE: trouble in starting tomcat

2001-03-01 Thread Randy Layman
First, try starting tomcat with bin\tomcat run (note the parameter run) - this will start in the same window and will keep the error on screen. Second, the cause of your crashes is the JDBC-OBDC bridge. This component is not thread safe. As soon as the second concurrent access

RE: Servlet and JDBC driver problems

2001-03-01 Thread Mike Braden
You need to make the oracle jdbc drivers avaiable in either the classpath or in the lib dir of the webapp you are using ( webapps/myapp/WEB-INF/lib ). I have been successful using the thin driver. The oci8 driver needs to have access to the oracle libraries while the thin driver only needs the

  1   2   >