Re: a simple ( irritating) classpath problem

2001-08-22 Thread Dmitri Colebatch
Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 23, 2001 12:33 PM Subject: Re: a simple ( irritating) classpath problem hi, There are three basic areas that classes can be put in tomcat: WEB-INF/classes - contains all

Re: AW: tomcat and apache jsp execution

2001-08-21 Thread Dmitri Colebatch
the source of my jsp. mel -Ursprüngliche Nachricht- Von: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Gesendet am: Montag, 20. August 2001 14:42 An: [EMAIL PROTECTED] Cc: Bernier, Melanie Betreff: Re: tomcat and apache jsp execution Are you getting anything in the mod_jk log when

Re: AW: AW: tomcat and apache jsp execution

2001-08-21 Thread Dmitri Colebatch
Mel, hmmm... yep - think you might be onto it there (o: ok... just been re-reading the docs, and to be honest I'm not sure what the RequestInterceptor className=org.apache.tomcat.modules.server.Ajp13Interceptor port=8009/ block is about, because I cant find that class

Re: FW: Transient Delivery Failure

2001-08-21 Thread Dmitri Colebatch
nup (o: so its not just me then? On Tue, 21 Aug 2001, Rob S. wrote: Am I the only one getting these messages? - r -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 8:48 PM To: [EMAIL PROTECTED] Subject: Transient

Re: : How do I make Tomcat include needed jars for my servlet?

2001-08-21 Thread Dmitri Colebatch
Hi, I'm not sure how wars respond to this, perhaps you could put an empty jar in lib/ to do it... but what about having a classpath attribute in the manifest file? pointing to the other jars you need.? hth dim On Wed, 22 Aug 2001, Ju Yan Jery Qin wrote: Hi dwh I use 3.2.2. I know

Re: tomcat and apache jsp execution

2001-08-20 Thread Dmitri Colebatch
Are you getting anything in the mod_jk log when doing a request? Another thing - if you're getting source I might guess that you have DocumentRoot=tomcatDirectory/webapps/ROOT? I'm sure that probably can work, but then you've got two web servers both serving content from one directory, and it

Re: New to servlets: Parameter initialisation in web.xml

2001-08-20 Thread Dmitri Colebatch
When you add a context entry in server.xml, you create your own little context. the path that you name in docBase should contain a WEB-INF directory, which contains its own web.xml file. that is the web.xml file that will be read for requests to that context. if you're after a simple way to

Re: WAP + Servlet

2001-08-20 Thread Dmitri Colebatch
From memory nokia have a wap emulator available from their site that you can download. the only reliance it might have on the web would come from dtd references from memory... cheers dim On Mon, 20 Aug 2001 [EMAIL PROTECTED] wrote: Hi there I am a student doing my project on WAP which

Re: New to servlets: Parameter initialisation in web.xml

2001-08-20 Thread Dmitri Colebatch
you have restarted after editing the web.xml haven't you? it only gets parsed at startup... other than that, check you're calling the right getInitParameter - not the method exists on config and servlet... depending on where your entry is in the config file, you will use one or the other. hth

Re: Problem with loading servlets on start up

2001-08-20 Thread Dmitri Colebatch
Do you get any error messages? normally if tomcat cant load a servlet on startup you will get an error output informing you of that. I am also assuming that hello.NameHandler extends javax.servlet.http.HttpServlet and overrides the init(ServletConfig config) method and has some debug in that

Re: Log problem

2001-08-20 Thread Dmitri Colebatch
have a look in the $TOMCAT_HOME/logs directory. Assuming you've changed server.xml so that tc_log has a path=logs/tomcat.log then you will be capturing all logging in the files in the logs directory. From memory, serlvet.log(testing) will go into logs/servlet.log. cheesr dim On Mon, 20 Aug

Re: Help configuring tomcat 3.2.3 with Windows 2000 IIS 5

2001-08-20 Thread Dmitri Colebatch
On Mon, 20 Aug 2001, Rob S. wrote: Exception in thread main javax.xml.parsers.FactoryConfigureationError: -- ^ Doesn't Sun make people take spelling tests or something before they start? =) hey thats nothing! ot I know,

RE: Help Installing Tomcat on Win95

2001-08-20 Thread Dmitri Colebatch
the servlet.jar IS,) and I still get the error saying package.servlet does not exist. What else should I do? Sheila From: Dmitri Colebatch [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Help Installing Tomcat on Win95 Date: Mon, 20 Aug 2001 15:10:42 +1000

RE: How do I make Tomcat include needed ZIP files for my servlet

2001-08-20 Thread Dmitri Colebatch
On Mon, 20 Aug 2001, Jagadish Gopi wrote: It works fine now, but why should I rename it like that. the servlet spec says the contain will include all jars in the lib dir... tomcat is following it to the letter. cheers dim -Original Message- From: Rob S. [mailto:[EMAIL

RE: Help Installing Tomcat on Win95

2001-08-19 Thread Dmitri Colebatch
I'm assuming its a type.. but you have c:jakarta-tomcat-4.0-b7\common\lib\servlet.jar rather than c:\jakarta-tomcat-4.0-b7\common\lib\servlet.jar - from memory that will be resolved from the current c dir... so may not even be finding servlet.jar then again - if its just an email typo

RE: Help Installing Tomcat on Win95

2001-08-19 Thread Dmitri Colebatch
ridiculous and over the top, but if the problem is the long filenames, then it will get around it hth cheers dim Sheila From: Dmitri Colebatch [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Help Installing Tomcat on Win95 Date: Mon, 20 Aug 2001 10:41

Re: ClassLoader Reloading issues

2001-08-19 Thread Dmitri Colebatch
On Mon, 20 Aug 2001, [iso-8859-1] Andrés Aguiar wrote: Now, in the servlet spec says: 'Although a Container Provider implementation of a class reloading scheme for ease of development is not required, any such implementation must ensure that all servlets, and classes that they may use, are

Re: Error-Log file ?

2001-08-19 Thread Dmitri Colebatch
On Mon, 20 Aug 2001, Kenny Ma wrote: I have a servlet program, the program line 1 is System.err.println(TEST) you would be better off using log(TEST); when i run the servlet, the output goes into console stderr will... are you running linux or windows? afaik tomcat doesn't do anything to

RE: Help Installing Tomcat on Win95

2001-08-19 Thread Dmitri Colebatch
On Mon, 20 Aug 2001, Sheila Ratnam wrote: I tried your method, but it didn't work. So it doesn't seem to be the long name problem. I also checked and confirmed that there is no other version of servlet.jar on my pc. Infact I am surprised that (both the servlet jsp) examples at

Re: web.xml

2001-08-17 Thread Dmitri Colebatch
try context-param param-nameserverIp/param-name param-value192.168.2.3/param-value descriptionMT web application/description /context-param context-param param-namejobType_1/param-name param-value01./param-value descriptionMT web

Re: Tomcat 4 as a service under Linux

2001-08-16 Thread Dmitri Colebatch
The /etc/rc.d/init.d scripts look complex, but there's really one very simple line to them: # chkconfig: 345 85 15 its the comment at the top of them all. to get tomcat to start automatically, try something like (note I haven't done this myself, so its not guarenteed to work - but do ask):

Re: Internal Server Error on first couple requests

2001-08-16 Thread Dmitri Colebatch
On Thu, 16 Aug 2001, Denis Haskin wrote: If you're using ajp, you must start Apache and Tomcat together, because of the persistent connections. That is, if you shut down Tomcat, you have to shut down Apache also, and vice-versa. This is documented... is this true? where is it documented

RE: Are many people running Tomcat 4 in standalone mode?

2001-08-16 Thread Dmitri Colebatch
On Thu, 16 Aug 2001, Rob S. wrote: files. For personal sites, I would run standalone. It's less of a hassle to configure and maintain. and run tomcat as root or run a squid accelerator?

RE: Are many people running Tomcat 4 in standalone mode?

2001-08-16 Thread Dmitri Colebatch
On Thu, 16 Aug 2001, Craig R. McClanahan wrote: With Tomcat 4 you won't have to run as root to use port 80. Thus the only technical reason (leaving aside performance for the moment) is if your application requires other functionality that is built in to Apache but not Tomcat). ok - if this

Re: what are war files?

2001-08-14 Thread Dmitri Colebatch
a jar file containing the directory structure: /WEB-INF/ /WEB-INF/web.xml /WEB-INF/classes/ /WEB-INF/lib/ and named .war instead of .jar compare examples.war (jar -tf examples.war) with the examples directory inside webapps in the install. hth dim On Tue, 14 Aug 2001 [EMAIL PROTECTED] wrote:

Re: Antwort: Re: what are war files?

2001-08-14 Thread Dmitri Colebatch
war files. do i need them really - what is the function of that files? greets bastian -- Externe MailDmitri Colebatch [EMAIL PROTECTED] 14.08.200108:58

Re: Trouble running a servlet

2001-08-14 Thread Dmitri Colebatch
thats c:\windows\hosts.sam isn't it? On Tue, 14 Aug 2001, Craig R. McClanahan wrote: On Tue, 14 Aug 2001, Kenneth Litwak wrote: Okay, I made my Win 2000 trouble go away by removing proxy settings in NetscRape and signing on to the Internet through my ISP. Now everything works

Re: Help: Win 98 Startup Problem

2001-08-14 Thread Dmitri Colebatch
To cut and paste from %TOMCAT_HOME%\doc\readme 6.6 Avoiding Out of environment space errors on Windows 95/98 This error can easily occur since the default amount of environment space is typically insufficient to run Tomcat. Here are a couple of ways to avoid it. A. If you use the MS-DOS

Re: Antwort: Re: Newbie: Apache Tomcat mod_jk Virtual Hosts

2001-08-13 Thread Dmitri Colebatch
AFAIK you _do_ need virtual hosts for mod_jk connectors just the same as http connectors. I prefix this with a big afaik, but the way I see it working is that tomcat is still receiving the request, just over a different protocol. tomcat still needs to be able to serve one context and not

RE: Error Log

2001-08-13 Thread Dmitri Colebatch
favicon.ico is a 16x16 icon that IE looks for if a user has bookmarked a page. If its present, IE puts it next to the address in the address bar. cheers dim On Mon, 13 Aug 2001, Jeff Rancier wrote: You're server is receiving what appears to be the code_red virus stuff. You must be

RE: Error Log

2001-08-13 Thread Dmitri Colebatch
sorry - should read all my mail before replying (o: On Tue, 14 Aug 2001, Dmitri Colebatch wrote: favicon.ico is a 16x16 icon that IE looks for if a user has bookmarked a page. If its present, IE puts it next to the address in the address bar. cheers dim On Mon, 13 Aug 2001, Jeff

Re: Apache Won't Redirect Servlet Requests to Tomcat

2001-08-03 Thread Dmitri Colebatch
Jeremy, Do you get any action at all in the tomcat logs, or mod_jk logs? I'd suggest tailiing all the logs and looking to see how far it gets. the order of progress should be the http access/error logs, mod_jk log, tomcat log. hth, cheesr dim Jeremy Staines wrote: I've seen this problem

Re: Application Server

2001-08-02 Thread Dmitri Colebatch
Utech - Han Lim wrote: Hi, About WebLogic I don't think it's free:( Do you know the free one beside JBoss and JRun Developer Edition? orion is free (http://www.orionserver.org), but there are plenty of ppl running JBoss on BSD, did you post on the JBoss list with your problem? cheers dim

Re: Application Server

2001-08-02 Thread Dmitri Colebatch
Gregor Kovaè wrote: Hi! First of all I cannot find www.orionserver.org Second of all, if you mean www.orionserver.com they have their Pricing page that says - Orion Application Server development version (full version for development and for non-commercial deployment) FREE - Orion

Re: Virtual Host Confusion

2001-08-02 Thread Dmitri Colebatch
Robert, what are you trying to achieve here? There are two things about this that strike me as odd: 1. in httpd.conf you have ServerName www.foobar.net, whilst in server.xml you have host name=www.raptor.net - as I understand it these should be the same name. 2. the DocumentRoot you have for

Re: Virtual Host Confusion

2001-08-02 Thread Dmitri Colebatch
Robert Schmid wrote: At 8/3/2001 08:53 AM +1000, you wrote: Robert, I have strange habits in site design I'd like to be able to swap an index.html for index.xml. I've got a better understanding of things now, but I'm not sure why there is an enforced segregation of files. Since most of

Re: PROBLEM with...

2001-08-01 Thread Dmitri Colebatch
Hi, On Wed, 1 Aug 2001, Ludovic Maitre wrote: HttpSession session = req.getSession(false); That will _always_ return true, unless some time before its call there has been a call: HttpSession session = req.getSession(true); This is how you create a session. You mention logging, I'm not

Re: Out of Memory error - Tomcat 3.2.1

2001-07-31 Thread Dmitri Colebatch
Somik, Are there really more than 1000 threads? When I start tomcat I get about 35 threads... are you running a standardish configuration or have you changed things? When you say you've checked your servlets and none of them have threads that dont end - are you sure? maybe post one of your

Re: Out of Memory error - Tomcat 3.2.1

2001-07-31 Thread Dmitri Colebatch
Somik, On Tue, 31 Jul 2001, Somik Raha wrote: Any ideas (is there any way to get more info about the threads that Tomcat creates) ? From what you said it does indeed sound like a configuration problem. I had thought from your earlier email that you were creating threads yourself in the

Re: displaying friendly error page

2001-07-31 Thread Dmitri Colebatch
yep - you would do this in apache. what is happening behind the scenes is that apache is unable to contact tomcat and hence has a bit of a dummy spit. open up httpd.conf and find the ErrorDocument 500 line (generally there but commented) and point it at your friendly page. cheesr dim On Tue,

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Dmitri Colebatch
Pier, On Tue, 31 Jul 2001, Pier P. Fumagalli wrote: Well, to be completely honest, and being the author of 2 out of 3 apache connectors to Tomcat, I am a _BIG_ fan of using Tomcat in stand-alone mode. Unless you don't specifically require some of the Apache functionalities, run it stand

Re: PDF files under IE 5.0

2001-07-27 Thread Dmitri Colebatch
from memory ie tends to not pay full attention to mime-types. For example if you have a servlet which can be requested by .jpg and generates an image with an binary stream mimetype IE seems to display it, even though by rights it should save it (this is an old example from a year ago). So

Re: Java Beans and Tomcat

2001-07-27 Thread Dmitri Colebatch
I'm not sure what the spec says, but functionally I've been successfully putting things such as connection pools in the application context for exactly the same purpose you suggest. I guess you're right with your suggestion of the jsp reasoning for the bean restriction... cheers dim On Fri, 27

Re: WebappClassLoader question

2001-07-27 Thread Dmitri Colebatch
If B uses C and C extends D and D uses junit, then to do whatever it is that B uses C for you will need the junit.jar. I wasn't able to find mention of where junit.jar is... sorry for my late joining of the thread - is junit.jar in $TOMCAT_HOME/lib or WEB-INF/lib? cheesr dim On Fri, 27 Jul

Re: Weird thread/security problem

2001-07-26 Thread Dmitri Colebatch
Application wide content should be stored in the context, not as servlet variables. This is because if the servlets are load balanced across multiple jvms, or if servles implement the SingleThreadedModel then tomcat will need to ensure that all instances of servlets on all jvms share the one

RE: Help!! Apache won't redirect to tomcat

2001-07-26 Thread Dmitri Colebatch
are started Or is there something else I should check? Thanks for your time Mike -Original Message- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 5:03 PM To: [EMAIL PROTECTED] Subject: RE: Help!! Apache won't redirect to tomcat something

RE: Help!! Apache won't redirect to tomcat

2001-07-26 Thread Dmitri Colebatch
Hi again, Ok, does http://localhost:8080/buy/MLBEventInfo work? Have you added the ajp13 connector in server.xml? It is not there by default? Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler

Re: Can Tomcat Host EAR Files and update them automatically whenthey are changed ?

2001-07-26 Thread Dmitri Colebatch
Tomcat does support reloading of JSPs. It does not (AFAIK) support reloading of beans and other support classes. However, having said that I see the subject as EAR files, which would be handled by an EJB container (JBoss?). In that situation it would be up to the container I think as to how

Re: tomcat try to connect sun's website

2001-07-26 Thread Dmitri Colebatch
The most likely culprit is a DTD... look at the web.xml files and their DTD references. cheers dim On Fri, 27 Jul 2001, Leigh Wanstead wrote: Version: JBoss 2.2.2 Tomcat 3.2.2 JDK: 1.3.1 I found that Tomcat tried to connect to sun's website. Anyone have any ideas? Thanks in advance.

Re: tomcat try to connect sun's website

2001-07-26 Thread Dmitri Colebatch
SYSTEM ID)... Pier Dmitri Colebatch at [EMAIL PROTECTED] wrote: The most likely culprit is a DTD... look at the web.xml files and their DTD references. cheers dim On Fri, 27 Jul 2001, Leigh Wanstead wrote: Version: JBoss 2.2.2 Tomcat 3.2.2 JDK: 1.3.1 I found

Re: Shared Variables

2001-07-25 Thread Dmitri Colebatch
Hi, Variables in what sense? As in variables in a servlet? They are suppose to be shared. It is up to you to ensure that your servlet is thread safe (there will only be one instance of a servlet created by Tomcat). If you want to store a variable in the session, the use something like:

Re: question about WEB-INF/lib

2001-07-25 Thread Dmitri Colebatch
tomcat on unix or nt? Maybe there is a diffrence between startup.bat and startup.sh??? joe On 25 Jul 2001 08:05:31 +1000, Dmitri Colebatch wrote: I can verify it does work. I dont have any suggestions though - sorry. cheesr dim On Tue, 24 Jul 2001 [EMAIL PROTECTED] wrote

Re: Tomcat and IIS 5

2001-07-25 Thread Dmitri Colebatch
yes there is, its all of two clicks away from the home page of tomcat. could _everyone_ posting messages that perhaps could be answered without taking other people's time up make an effort to answer the question themselves before posting on the list. by all means if you cant find it, post - but

RE: Help!! Apache won't redirect to tomcat

2001-07-25 Thread Dmitri Colebatch
something else that may be worth checking... are apache and tomcat running on the same box? the default workers.properties assumes they are, so if you're using that and tomcat is on a different box apache will be trying to connect to localhost when it should be looking for the box that tomcat is

WELCOME to tomcat-user@jakarta.apache.org (fwd)

2001-07-25 Thread Dmitri Colebatch
-224.nsw.bigpond.net.au ([144.132.183.224]) by mail7.bigpond.com(MailRouter V2.9g 15/8144328); 16 Jul 2001 10:01:15 Date: Mon, 16 Jul 2001 10:08:21 +1000 From: Dmitri Colebatch [EMAIL PROTECTED] X-Sender: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: confirm subscribe to [EMAIL PROTECTED

Re: Query

2001-07-25 Thread Dmitri Colebatch
You can get the source from http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.3/src/ or the binary is included in the servlet.jar in the tomcat/lib directory. cheesr dim On Thu, 26 Jul 2001, Swapan Kumar Chakraborty wrote: Can u please help me to know from where do I download

Re: java.lang.ClassCastException!!!

2001-07-24 Thread Dmitri Colebatch
, Senthoorkumaran wrote: Hi Boss, What is the classpath you are reffering to ? WinNT classpath is it? Senthoor - Original Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: Tomcat User group [EMAIL PROTECTED] Sent: Tuesday, July 24, 2001 11:25 AM Subject: Re: java.lang.ClassCastException

Re: for jsp

2001-07-24 Thread Dmitri Colebatch
It may be worth having a look at a JSP book from your publisher of choice. To answer your question in one line, hosting a jsp page is essentially no different from hosting a shtml (or asp, or php) page. Just that tomcat processes the file (and does a few other things) instead of apache, or iis.

Re: starting/testing tomcat3.2.3

2001-07-24 Thread Dmitri Colebatch
On Tue, 24 Jul 2001, Matt Read wrote: Make sure you put the http:// in front. It looks like localhost isn't configured correctly. Try: http://127.0.0.1:8080 Yes - IE seems to have problems using a port without the http... or at least 5.0 that I'm running does (on win98). cheers dim

Re: JKMount verses old JServ

2001-07-24 Thread Dmitri Colebatch
yep thats fine... even better use ajp13 (will require a change to server.xml). cheesr dim On Tue, 24 Jul 2001, Nance, Michael wrote: What is the correct format for JKMount We are switch from JServ to Mod_JK with JServ we had ApJServMount /buy /ROOT Can I just use JkMount /buy ajp12

Re: expression tag in JSP standar

2001-07-24 Thread Dmitri Colebatch
Given that Tomcat is the reference implementation I would assume its implementation is the correct one. cheesr dim On Tue, 24 Jul 2001 [EMAIL PROTECTED] wrote: Hi, I have notice a miss-implementation of the 'expression tag' (%= ... %) between different JSP containers witch I want to share

Re: question about WEB-INF/lib

2001-07-24 Thread Dmitri Colebatch
I can verify it does work. I dont have any suggestions though - sorry. cheesr dim On Tue, 24 Jul 2001 [EMAIL PROTECTED] wrote: I see this problem, too. I'm using Tomcat 3.2.x. It appears to me to be a bug. I've seen others with this problem on this mailing list. Can anyone verify that

RE: Changing error pages

2001-07-24 Thread Dmitri Colebatch
I'm assuming from your response that the jguru faq is about the error-page element of the web.xml. To make Apache serve a specific page instead of the generic 500 error, edit httpd.conf and change the ErrorDocument directive. cheesr dim On Tue, 24 Jul 2001, Jann VanOver wrote: Loïc, how will

Re: Forgot to attach files...

2001-07-24 Thread Dmitri Colebatch
Mark, glad to hear things are working... there is one more thing that is a little disturbing...if i choose to put sub-directories under /web/shadlesphere/webapps that are parallel to WEB-INF under webapps, i need to add another JkMount directive to my apache httpd.conf...does that sound

Re: Tomcat/Apache advantage without static pages?'tomcat-user@jakarta.apache.org'

2001-07-23 Thread Dmitri Colebatch
I imagine you will still have a requirement to serve images, stylesheets, javascript includes and the like - given the web today... These will be better handled by Apache. cheesr dim On Mon, 23 Jul 2001 [EMAIL PROTECTED] wrote: Hi everyone, i have a question concerning the use of Tomcat

RE: Plz - Anyone have any ideas

2001-07-23 Thread Dmitri Colebatch
Hi again, I cant remember where you're up to with this, but will answer one of your questions below. The common way to use Tomcat is to not use the mod_jk.conf-auto, but take a copy of it when you're relatively happy with Tomcat's configuration, and use that. You will notice that if you want

Re: What does IMPORTANT: Do not modify the generated servlets logmessage indicate?

2001-07-23 Thread Dmitri Colebatch
By generated servlets Tomcat is referring to the servlets that it builds JSPs into. Remember that JSPs are compiled into servlets. When it does this, it leaves the source in $TOMCAT_HOME/work - what this message is saying is dont bother changing that source, nothing will happen. cheesr dim

Re: Servlet web hosting?

2001-07-23 Thread Dmitri Colebatch
No personal experience, but I've heard of people talk about www.iwantjava.com. cheesr dim On 23 Jul 2001, Lloyd Llewellyn wrote: Hello - I'm new to the list, and pretty new to Tomcat (and Java in general). I'm in the process of moving all my personal MS stuff over to Linux and Java.

Re: Newbie Needs Help with JSP app

2001-07-23 Thread Dmitri Colebatch
I would look in the application for a line jsp:include /. As the error message says, there is a compulsory flush=true attribute that _must_ be used with this tag. It seems that this is missing. cheesr dim On Mon, 23 Jul 2001, phil_k wrote: Hi I have been asked to install a JSP

Re: tomcat error messages

2001-07-23 Thread Dmitri Colebatch
to the request the first 'null' is still there. Any ideas? Thanks again, Pancham. From: Dmitri Colebatch [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: tomcat error messages Date: Mon, 23 Jul 2001 14:28:16 +1000 Hi, AFAIK the first null is the parameters

Re: I am still having troubles...

2001-07-23 Thread Dmitri Colebatch
Mark, Here's your problem: On Mon, 23 Jul 2001, Mark W. Shadle wrote: /web/shadlesphere/htdocs/ test.html webapps/ web.xml classes/ test/

Re: problem in tomcat server on windows 98 system

2001-07-23 Thread Dmitri Colebatch
That is normal behaviour. Those messages are printed to system.out, you can change this in the server.xml - search for tomcat.log and follow the comments. If you do this, and you'd prefer not to have an empty window hanging around, on NT I believe there is a service you can have tomcat run as,

Re: Restarting TOMCAT

2001-07-23 Thread Dmitri Colebatch
Your problem is that you are stopping tomcat, which shuts down the jvm, and then you are trying to start it again. Because the jvm has exited, it never starts it again. I'm not sure if this will work, but you could do a system exec that forks into another process, and sleeps for a bit (long

Re: Bad file argument to include

2001-07-23 Thread Dmitri Colebatch
Hi, The message you are getting says that the file that you are trying to include doesn't exist. Open up your jsp and look for the location of the file you are trying to include. cheesr dim On Tue, 24 Jul 2001, Senthoorkumaran wrote: Hi I am using a TOcat which comes with Borland

Re: java.lang.ClassCastException!!!

2001-07-23 Thread Dmitri Colebatch
I assume you have the right class? You are expecting a com.mediasolv.xSolvweb.Utilities.LogonProperties aren't you? Failing that, check that you have the correct version in the classpath... cheesr dim On Tue, 24 Jul 2001, Senthoorkumaran wrote: Hi I am using a utility class (a property

Re: Bad file argument to include

2001-07-23 Thread Dmitri Colebatch
in capitals. When I made it simple it works. :-)) Senthoor - Original Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 24, 2001 10:51 AM Subject: Re: Bad file argument to include Hi, The message you are getting says that the file

Re: Tomcat-Apache integration

2001-07-23 Thread Dmitri Colebatch
You have loaded the module haven't you? LoadModule jk_module /packages/apache/libexec/mod_jk.so cheers dim On Tue, 24 Jul 2001, Gurjeet Singh Osahan wrote: Hi, I have Apache1.3.12 build with DSO support. First I run tomcat3.2.3 and it runs fine Next when I try running apache it

Re: JSP Setup.

2001-07-22 Thread Dmitri Colebatch
(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Dmitri Colebatch wrote: Where are the jsps? As long

RE: for jsp

2001-07-22 Thread Dmitri Colebatch
and just in case anyone isn't aware of the archive location: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/ cheesr dim (o: On Sun, 22 Jul 2001, Michael Wentzel wrote: can some-one tell me what are all the steps to be taken to host a jsp page. for now i have tomcat on NT. for

Re: JSP Setup.

2001-07-22 Thread Dmitri Colebatch
!! Dmitri Colebatch wrote: someone correct me, but is this the jre not jdk problem. Tim - what java package do you have? Do you have a tools.jar in your classpath? on another note, if tomcat through 8080 doesn't work, then apache-tomcat definately wont cheesr dim On Sat, 21

Re: Apache, mod jserv, shtml and Tomcat jsp

2001-07-22 Thread Dmitri Colebatch
Hi, - Tomcat as the jsp engine serving all jsp pages sounds like you've already got that, albeit not in the typical manner - Apache as the shared webserver serving everything else including shtml files (ie. html with server side includes) and I assume this is working as long as you dont need

Re: Tomcat and Ports...

2001-07-22 Thread Dmitri Colebatch
by tomcat's port you mean 8080? the commonly accepted way of using tomcat is to have a web server such as apache in front of it serving static pages. Apache then uses tomcat to handle any requests for jsps or servlets. Apache is of course normally listening on port 80 which is the default http

Re: tomcat error messages

2001-07-22 Thread Dmitri Colebatch
Hi, AFAIK the first null is the parameters, and in your case the second is because tomcat was unable to serve the request. tomcat.log will only exist if you configure it as such. open up server.xml and search for tomcat.log, you'll find a comment telling you how to have tomcat output go to the

Re: Executing servlets out of WEB_INF directory

2001-07-22 Thread Dmitri Colebatch
Again - there is _no_ global web.xml - as you're learning. my suggestiong is to create an empty WEB-INF style directory structure, and put the web.xml in there. If you have the classes in the classpath this should work (apache soap does this I think). There cant be any global web.xml because

Re: [Help] Common Problem in every of my script

2001-07-22 Thread Dmitri Colebatch
Hi, THe reason there is no debugging is because these are 404 errors. Tomcat is not finding the pages expected. Now assuming that you have the root context as $TOMCAT_HOME/webapps/ROOT then the first two requests: 2001-07-22 09:38:21 - Ctx( ): 404 R( + /_vti_bin/owssvr.dll + null) null

Re: run Startup.sh at background

2001-07-21 Thread Dmitri Colebatch
nohup not nohub - should do the trick (o: cheesr dim On Sat, 21 Jul 2001, Lars Nielsen Lind wrote: When I try to use nohub, the command is not recognized. I am using Red Hat 7.1. What can I do to activate the nohub command? Lars Nielsen Lind - Original Message - From:

Re: java error window

2001-07-21 Thread Dmitri Colebatch
On 21 Jul 2001, Dwaipayan wrote: a side note... the web.xml in $TOMCAT_HOME/conf is _not_ processed. So be careful thinking its any more than a bit of an explaination of what is going on. cheers dim To cause a servlet to load on starting tomcat, i found the load-on-startup tag has been used

Re: JSP Setup.

2001-07-21 Thread Dmitri Colebatch
Where are the jsps? As long as they're not in apache's docroot (or subdir thereof) then apache wont process them. I'm also assuming that you can get the jsps working fine in localhost:8080 (ie., directly through tomcat). cheers dim On Sat, 21 Jul 2001, Tim Ashman wrote: Ok, I think I've got

Re: Run tomcat as root ?

2001-07-20 Thread Dmitri Colebatch
I'm not sure about any specific risks, but I wouldn't run _anything_ as root on any unix based system. Tomcat doesn't need to bind to ports under 1024 which is the only reason I can think that you would want to run as root. cheers dim On Fri, 20 Jul 2001, Nils O. [iso-8859-1] Selåsdal wrote:

Re: Fw: Unable to start tomcat server

2001-07-20 Thread Dmitri Colebatch
Hi, I think someone just answered this, but cant find it in the archives. However, I did find this: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg08353.html which answers your question. friendly tip: the archives are very helpful (o: cheers dim On Sat, 21 Jul 2001, Manish

Re: MIssing Classes - WHAT is the answer? :-)

2001-07-19 Thread Dmitri Colebatch
John, I've only lightly been following this so excuse my late joining, but... Do you have an isolated test that demonstrates the behaviour? Perhaps with some sample code we can look at it. I might also add that I am not a tomcat developer, but just another user trying to help. cheers dim On

RE: Class reloading

2001-07-19 Thread Dmitri Colebatch
The way I see it work, you can reload servlets and jsps, but not other classes (beans etc.). I'm not sure if this is correct, just my experience. cheers dim On Thu, 19 Jul 2001, Cory Powers wrote: I thought that was what the realoadable setting in server.xml was supposed to do. Of course,

Re: Cannot find my JavaBeans

2001-07-19 Thread Dmitri Colebatch
To start a new thread, call x.start(); - in basic terms, this will mean the x.run() method (or runnable.run()) is called, but you can continue doing whatever it was you were doing without waiting for the run() method to end. that's the guts of how threads work. cheers dim On Wed, 18 Jul 2001,

Re: Plz - Anyone have any ideas

2001-07-19 Thread Dmitri Colebatch
Alright, at the risk of asking a stpid question - you have started Tomcat seperately haven't you? Apache wont start it automatically, you'll need to do it yourself. cheers dim On Thu, 19 Jul 2001, Nance, Michael wrote: I am trying to switch our current configuration from

RE: load-on-startup

2001-07-19 Thread Dmitri Colebatch
I would put some debugging output in the init method and check what happens - how far it gets... dont forget the super.init(config) at the start (o: I've made that mistake when writing servlets that dont actually function as servlets. cheers dim On Thu, 19 Jul 2001, Java Junkie wrote: Thank

Re: downloading adnd building JServ?

2001-07-18 Thread Dmitri Colebatch
On Wed, 18 Jul 2001, Dennis King wrote: A Newbie Trying to Help good to see (o: include full path to the Tomcat configuration file what config file is it that you're including? I assume its tomcat-apache.conf? Have a look at $TOMCAT_HOME/doc/mod_jk-howto.html for help on configuring

Re: Crystal Reports

2001-07-18 Thread Dmitri Colebatch
Hi, I'm not sure what crystal report files are, but from your email I gather they are a script that apache handles nicely. Tomcat is a dedicated servlet engine - if it aint a servlet, dont make tomcat serve it... I assume you'll be having apache sit in front of tomcat anyway, so just continue

Re: Apache-tomcat context mapping

2001-07-18 Thread Dmitri Colebatch
I'm no apache expert, but from my limited experience with mod_rewrite I'm pretty sure, almost 100% sure, that the browser knows nothing about it. For the browser to know about it apache would have to send back something other than a 200 response (I think). But as is best with all things - try

RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Dmitri Colebatch
From memory this has come up before, and it is in the servlet 2.2 spec that the servlet container will load all jars in the lib dirs - hence excluding zips. I'm not sure how this affects the system classpath though... cheers dim On Tue, 17 Jul 2001, Sampige, Srinivas wrote: What i told you

Re: Apache-tomcat context mapping

2001-07-17 Thread Dmitri Colebatch
mod_rewrite? I think the problem is that the request will get to tomcat, and tomcat will not have /example1 mapped... cheers dim On Tue, 17 Jul 2001, Guntupalli Shanti wrote: Hi, Here is my problem. In apache's config file I should be able to map 2 different URI's to one context in

<    1   2   3   >