2 Quick Questions: DBCP - ValidationQuery server.xml - Context -cachingAllowed

2003-04-03 Thread Nicholas Orr
Hello,

Just two quick questions

1. What does the ValidationQuery* parameter actually do in DBCP?

2. In server.xml, what does the cachingAllowed^ property of Context do?


Thanks,

Nicholas Orr

*I looked in the TC 4.1.24 doc but it was not there, then went to dbcp
website and I didn't know where to look there.
^I looked in the TC 4.1.24 doc but it was not there.


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.
For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 2 Quick Questions: DBCP - ValidationQuery server.xml - Con text -cachingAllowed

2003-04-03 Thread Nicholas Orr
Thanks again, much appricated

Nihcolas Orr


-Original Message-
From: Halstead, Chris [mailto:[EMAIL PROTECTED] 
Sent: Friday, 4 April 2003 8:31 AM
To: Tomcat Users List
Subject: RE: 2 Quick Questions: DBCP - ValidationQuery  server.xml -
Context -cachingAllowed



RE: validationQuery:

If you specify a validationQuery in a DBCP configuration the pool will
automatically apply that validation query to connections before handing them
to application code (testOnBorrow becomes implicitly true).  If the
validation query fails, the connection will be dropped from the pool.  This
adds a bit of overhead, but will effectively prevent your application from
obtaining an invalid connection - a Good Thing(TM) IMHO.  If validationQuery
is non-null you can also choose to enable testOnReturn and testWhileIdle,
but I'm not personally convinced that those have much real value.

-chris


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, 4 April 2003 8:27 AM
To: Tomcat Users List
Subject: RE: 2 Quick Questions: DBCP - ValidationQuery  server.xml -
Context -cachingAllowed



Howdy,

1. What does the ValidationQuery* parameter actually do in DBCP?

I would assume (too lazy to check) it's a sanity check SQL query allowing
the pool to validate the state of a connection before handing it to a client
or after receiving it back from a client and before returning it to the
pool.

2. In server.xml, what does the cachingAllowed^ property of Context do?

Gets propagated to the directory context in order to let you specify the dir
context resources shouldn't be cached.  See: javax.naming.DirContext
org.apache.naming.resources.BaseDirContext
org.apache.catalina.core.StandardContext

Yoav Shapira
Millennium ChemInformatics


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.
For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



3 Service's and the using the manager app - just curious

2003-04-03 Thread Nicholas Orr
Hi,

I have setup my TC/Apache environment finally, It is a bit over the top but
good enough for what I want it to do, which is good.  
*See attached file for structure*

These are all setup through Apache using reverse proxy, with named virtual
hosts, all works great, took me about 4hrs (solid without breaks and all
that) to totally figure out what I was doing mind you, as I'm new to both
Apache  TC as far as congiuring it like this.

So I was wondering how the manager app actually figures out which service it
is working with. Because all the manager contexts point to the same place
(docbase).

And are there any future plans of having a manager app that can work with
all Services and their contexts??

Nicholas Orr



**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.
For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: 3 Service's and the using the manager app - just curious

2003-04-03 Thread Nicholas Orr
Umm can't you send pictures or something?
Try again, if it is not there then you can go 
http://www20.brinkster.com/nigorr/tc/structure.html

Nick

-Original Message-
From: Nicholas Orr [mailto:[EMAIL PROTECTED] 
Sent: Friday, 4 April 2003 1:48 PM
To: 'Tomcat Mailing List'
Subject: 3 Service's and the using the manager app - just curious


Hi,

I have setup my TC/Apache environment finally, It is a bit over the top but
good enough for what I want it to do, which is good.  
*See attached file for structure*

These are all setup through Apache using reverse proxy, with named virtual
hosts, all works great, took me about 4hrs (solid without breaks and all
that) to totally figure out what I was doing mind you, as I'm new to both
Apache  TC as far as congiuring it like this.

So I was wondering how the manager app actually figures out which service it
is working with. Because all the manager contexts point to the same place
(docbase).

And are there any future plans of having a manager app that can work with
all Services and their contexts??

Nicholas Orr



**
The information contained in this e-mail is confidential and is intended
only for the use of the addressee(s). If you receive this e-mail in error,
any use, distribution or copying of this e-mail is not permitted. You are
requested to forward unwanted e-mail and address any problems to the MIM
Holdings Limited Support Centre.
For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: After changing web.xml

2003-03-04 Thread Nicholas Orr
You have to reload the context 
so http://localhost:8080/manager/reload?path=/myContext
And your changes will take effect.

You may be able to setup some special attributes on your context in
server.xml but I'm not sure about these

Nicholas Orr

-Original Message-
From: Xiongfei Wang [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 5 March 2003 1:03 PM
To: Tomcat Users List
Subject: After changing web.xml


After changing web.xml, do I have to restart tomcat to let it take effect?
if not, what is the best way to let the changes take effect? Thanks 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.
For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: DataSource error (DBCP)

2002-12-23 Thread Nicholas Orr
Did you import javax.sql.*; ?? DataSource is part of the J2EE package.  Just
an extension to the normal java.sql package

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 24 December 2002 2:20 AM
To: Tomcat Users List
Subject: Re: DataSource error (DBCP)



sorry for replicating the same query!!! anyone can help

TIA

bringing attention to my old problem like i'm unable to compile DBTest.java
(i compiled the same in another machine where oracle 9i is running, and
copied to the machine where tomcat is running :))

I tried  to compile DBTest.java and ended up an error

  Type 'Datasource' not found in the declaration of table 'ds'

  DataSource ds= 
   ^
1 error
---


 

sunil.kumar@imasst

elecom.com   To: Tomcat Users List
[EMAIL PROTECTED]  
 cc:

12/23/2002 02:53 Subject: Re: DataSource
error (DBCP)  
PM

Please respond to

Tomcat Users

List

 

 






that's cool!!! worked.

bringing attention to my old problem like i'm unable to compile DBTest.java
(i compiled the same in another machine where oracle 9i is running, and
copied to the machine where tomcat is running :))

I tried  to compile DBTest.java and ended up an error

  Type 'Datasource' not found in the declaration of table 'ds'

  DataSource ds= 
   ^
1 error
---



--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.
For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DBCP Debug info: how do I get it?

2002-12-19 Thread Nicholas Orr
Try to figure out if there are memory leaks in my code, using JDBC/DBCP.
Tried using the following options to run TC from the command line (Win XP) 

-Djava.class.path=J:\Jakarta\Tomcat 4.1.12\bin\bootstrap.jar 
-Dcatalina.home=J:\Jakarta\Tomcat 4.1.12
-Djava.endorsed.dirs=J:\Jakarta\Tomcat 4.1.12\common\endorsed
-Ddatasource.verbose=true 
-Djdbc.debug=true 
-Djdbc.connection.debug=true 
-Ddebug.jdbc.check=true 

But not getting any output.

Are these even the right switches to be using for debug info from
datasources/jdbc for TC?
Also how do you get info out of DBCP, debug/info/status?

Nicholas Orr


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.
For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to restart Tomca's service from a Web app?

2002-12-16 Thread Nicholas Orr
I'm sure you could use some feature of asp to execute a batch file on your
machine.  I don't know the specifics but I have read about it during my ASP
scripting.  Ask at www.vbforums.com or www.devarticles.com or
www.developerfusion.com

Batch
Script just needs two lines.

net stop Tomcat Service Name
net start Tomcat Service Name

Nicholas Orr

-Original Message-
From: Luca Ventura [mailto:[EMAIL PROTECTED]] 
Sent: Monday, 16 December 2002 9:50 PM
To: tomcat-user
Subject: How to restart Tomca's service from a Web app?


Hello everybody!

I have installed IIS as Web Server and Tomcat 4.1.16 LE as plug-in of IIS to
mangage Servlet/JSP pages (using isapi filter JK2 isapi_redirector.dll). I
would like to know is there is some way to re-start Tomcat's service using
some web application  acessible  from the Internet (it can be based on
asp/jsp pages or servlets) to avoid to use the Services Panel of Windows
2000 Advanced Server. In fact it can happen I can not access remotely to the
server machine where Tomcat is installed: so when I need I would like to be
able to re-start Tomcat using some web application. Is it possible?

Thanks everybody in advance!

   Luca


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: The future of Tomcat and java.nio

2002-12-10 Thread Nicholas Orr
You might get a faster reply from developers if you post this in the
developers mailing list.

It would be good to see something like this.  I only use apache for this
fact of fast static content serving and nothing else.

Nicholas Orr

-Original Message-
From: Joe Tomcat [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 11 December 2002 12:32 PM
To: Tomcat Users List
Subject: The future of Tomcat and java.nio


It seems like Java 1.4's NIO package offers some very high-performance IO
capabilities, such as select loops, which could allow Java to serve static
content as fast as Apache can.  Will Tomcat be going in the direction of
using a NIO-based connector that might incorporate these high-performance
features?

I'm curious and hoping to hear what the deverlopers' thoughts are on this.



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Over-aged Newbie needs some help

2002-11-24 Thread Nicholas Orr
Mate,

Read some books/tutorials all your answers are in there.  You see you've
asked your questions but you haven't acted on any of the answers provided,
if you had, you wouldn't be asking the below questions.

Now help your-self before we decide to ignore you. 

Somone who asks and asks but never helps themselves will be ignored, period,
fact of life.

Nicholas Orr

-Original Message-
From: Steve R Burrus [mailto:[EMAIL PROTECTED]] 
Sent: Monday, 25 November 2002 3:19 PM
To: Tomcat Users List
Subject: Re: Over-aged Newbie needs some help


 Hi paul. I am most interested in the part of the whole process that
dictates that a WAR file be deployed!!! Now, would u please tell me just
how exactly I package up this WAR, and then when I am thru with doing that
to which folder/directory do I deploy it to?! Agh!!! Too damned
many questions, and too few answers, so far!! :)

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: What the problem about tomcat 4.1 or IE? in my computer?

2002-11-24 Thread Nicholas Orr
Also go into 
Internet OptionsConnectionsLan

Deselect all checkbox's

OkApplyOk

Try again.

Another thing press all the following keys crtl+shift+esc and under
Processes check out what is hoging your cpu.  If there isn't anything then
try End Process - explorer.exe your IE window should stay up. If that
doesn't work then start explorer.exe back up.

FileNew Task(Run..)%windir%\explorer.exe

If this doesn't work, then you have issues with Win2k managing stuff. Time
to get out your windows disc and reboot!

Make sure, if your going to reinstall, you delete the existing partition
then create a new one and do a NTFS partition and not a quick format.

Nicholas Orr



-Original Message-
From: Praveen Wicliff [mailto:[EMAIL PROTECTED]] 
Sent: Monday, 25 November 2002 3:17 PM
To: Tomcat Users List
Subject: Re: What the problem about tomcat 4.1 or IE? in my computer?


The delay in the response might be because of your network settings
sometimes. Depending on your settings, for the first time, the browser tries
to find the server, in which case it needs to look for the DNS (or Proxy if
you are using one). This is true in some cases where its the server is also
the same machine.

Try to use 127.0.0.1 (local ip) and see if you still have the same problem.

Praveen Wicliff

- Original Message -
From: james [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 2:48 AM
Subject: Re: What the problem about tomcat 4.1 or IE? in my computer?


 Thanks for reply, I can see http://localhost:8080/index.jsp or 
 http://localhost:8080 but it takes a very long time (5 minutes), after 
 that it is OK for other pages for the same IE, but if I open another 
 IE, it still takes a very
long
 time in  the first time .
 What might be the problem?


 James


 - Original Message -
 From: David Brown [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Saturday, November 23, 2002 11:42 AM
 Subject: Re: What the problem about tomcat 4.1 or IE? in my computer?


  p niemandt writes:
 
   Uninstall win2k, install linux, see if your problem persists ... 
   :)
  
   naah; seriously: check the logs: see if there is anything funny. 
   Which JDK are you using? Maybe try reinstalling that, see if that 
   helps.
  
  
  
   On Sat, 2002-11-23 at 15:41, james wrote:
   Hi,
  
   I used Tomcat 4.1 for 2 weeks, and I practiced some samples, it 
   was
 fine,  but today, it didn't work well anymore.
  
   I uninstalled it and installer it again and again, the Tomcat 
   Server
 looks OK, for the info on screen was the same as before.
   but when I tried : http://localhost:8080/hello/index.jsp
   or any tested sites I used before. All will take a long long 
   time!!
 even after I reboot the computer. It was much fast before.
  
   The OS is Window 2000, and RAM is enough (327M), I checked and I 
   only
 run 2 or 3  IEs, nothing else.
   What might be the problem?
  
   Any help will be appreciated.
  
   James
   --
   p niemandt [EMAIL PROTECTED]
  
  
   --
   To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
  
 
 
 
 
  Hello, also after u re-install new try just the suggested action: 
  http://localhost:8080 to see if u get the initial tomcat demo 
  screen.
 david.
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JDBC connectivity problems on Tomcat 4.0.6 running on OpenBSD 3.2

2002-11-21 Thread Nicholas Orr
There are three jar that make up the SQL Server 2000 JDBC drivers
 - msbase.jar
 - mssqlserver.jar
 - msutil.jar

Make sure you have all three! Looks to me like you only have one,
mssqlserver.jar.

Nicholas Orr

-Original Message-
From: Adam Getchell [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, 21 November 2002 7:57 AM
To: 'Tomcat Users List'
Subject: JDBC connectivity problems on Tomcat 4.0.6 running on OpenBSD 3.2


Hello all,

I've got a web application on Tomcat which works fine using Sun ONE Studio 4
CE's Tomcat server, but fails on Tomcat 4.0.6 on my OpenBSD server. The
example Tomcat servlets work, but JDBC doesn't (and this application talks
to a back-end MS SQL Server 2000 for most things, including authentication).

It uses the mssqlserver.jar for JDBC, which looks like the standard MS SQL
JDBC driver (unzipping the jar gives a bunch of class files).

How do I proceed to fix this? I unfortunately have a deadline of Friday.

I can provide the class files if needed, but they show thrown exceptions
when JDBC is invoked, and they do work on Forte's Tomcat server.

Other information:

javadevel@/var/tomcat/logs  tail catalina.out
Zero categories error:
SQL Exception caught: [Microsoft][SQLServer 2000 Driver for JDBC]Error
setting up static cursor cache. [Microsoft][SQLServer 2000 Driver for
JDBC]null value of id is null SQL Exception caught: [Microsoft][SQLServer
2000 Driver for JDBC]Error setting up static cursor cache.
[Microsoft][SQLServer 2000 Driver for JDBC]null Zero categories error: SQL
Exception caught: [Microsoft][SQLServer 2000 Driver for JDBC]Error setting
up static cursor cache. [Microsoft][SQLServer 2000 Driver for JDBC]null
value of id is null

javadevel@/var/tomcat/logs  head -30 localhost_log.2002-11-20.txt
2002-11-20 01:08:59 StandardWrapperValve[EOBList]: Servlet.service() for
servlet EOBList threw exception
java.lang.NullPointerException: 
at EOBList.processRequest(EOBList.java:106)
at EOBList.doGet(EOBList.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

Thoughts? Pointers on troubleshooting JDBC?

Thanks!

*** 
* Adam Getchell [EMAIL PROTECTED]
* System Architect/Programmer   (530) 752-1584
* Human Resources Information Systems   http://www.hr.ucdavis.edu/
*** 
Invincibility is in oneself, vulnerability in the opponent. -- Sun Tzu



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use

RE: is there a free ide that gets along well with tomcat?

2002-11-21 Thread Nicholas Orr
Er, what about Jdeveloper? It doesn't integrate with Tomcat but you can set
your class output to whatever you want? And you can do war deploys, I'm
using it and have found it to do what I want it to do, which I haven't found
in other IDE's. Plus because the Jdev team have tried to copy Visual Studio
.Net it makes it easier to go between the both of them, as I do.

My two cents,

Nicholas Orr

-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 22 November 2002 9:50 AM
To: Tomcat Users List
Subject: Re: is there a free ide that gets along well with tomcat?


Consider Netbeans 3.4 instead, and using jdk version 1.4, it is much 
better than Forte for java.

Steve R Burrus wrote:

 Hi Jennifer, this is steve burrus, and I am most curious about u 
apparently stating that the Sun One Studio (aka Forte) is irritating 
so you chose/decided to uninstall it unceremoniously :)!! How do you 
find it to be irritating because I also have certain issues with 
it, namely that I have to WAIT FOREVER for my PC's processor to be able 
to do the next operation in the application!!! I await breathlessly 
for your response.


 S.R.B.

__
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]


  




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: how many tomcat in a machine?

2002-11-17 Thread Nicholas Orr
Just on this point of multiple Tomcat Instances, how does the JVM fit into
all of this.
ie does Tomcat1 use JVM1 and Tomcat2 use JVM2. Or does Tomcat1  Tomcat2 use
JVM1?

Also if you had one Tomcat Instances and 3 apps would they all share the one
instance of Log4j and its static methods or would there be three instances
of Log4j??

Nicholas Orr

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 15 November 2002 3:19 AM
To: 'Tomcat Users List'
Subject: RE: how many tomcat in a machine?



OK, thanks for the tip. 

John


 -Original Message-
 From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 14, 2002 12:13 PM
 To: Tomcat Users List
 Subject: RE: how many tomcat in a machine?
 
 
 
 
 On Thu, 14 Nov 2002, Turner, John wrote:
 
  Date: Thu, 14 Nov 2002 08:27:56 -0500
  From: Turner, John [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: 'Tomcat Users List' [EMAIL PROTECTED]
  Subject: RE: how many tomcat in a machine?
 
 
  A key problem to using a single Tomcat instance with multiple web 
  applications is that a problem with Tomcat or a problem
 with one single web
  app effects all the others.  In a shared server environment
 (application
  service provider, for example) you would be better off
 having multiple
  instances of Tomcat so that you can manage each instance
 separately without
  effecting the others.
 
 
 The other side of the coin is that sharing a single Tomcat
 instance saves
 a ***lot*** of memory, because the system classes are shared.
 
 You can mitigate most, but not all, of the impacts apps can
 have on each
 other by using a security manager that is appropriately 
 configured.  Glenn
 Nielsen (a Tomcat developer) has posted quite a few helpful 
 documents to
 TOMCAT-USER on how to set this up -- see the mailing list archives for
 details.  And, if you're coming to Las Vegas for ApacheCon 
 next week, his
 session on how to do this is a must attend for anyone contemplating
 setting up this sort of thing.
 
  John
 
 Craig
 
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Problems with Tomcat's built in db poolmanager

2002-11-17 Thread Nicholas Orr
Error 2 would suggest you are not releasing your connection back to the
pool. I know you don't use connection.close() but I don't know what ur
suppose to do, as I haven't started using DBCP yet. 

Error 1 I have no idea, maybe if you fix Error 2 this one will fix itself??

Nicholas Orr

-Original Message-
From: Colic, Alex [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 15 November 2002 12:01 AM
To: Tomcat (E-mail)
Subject: Problems with Tomcat's built in db poolmanager


Hi,

I am trying to get an application that is presently working with IBM's
cloudscape database to work with mysql and Tomcat's pool manager.

I have set the poolmanager to have an initial pool of 10 db objects. I have
a screen that allows users to traverse through a record set and view the
records in a table. As they are traversing through this record set I
periodically get the below error.

There is only one user on the system. Can someone suggest what is going on.

Thanks

Alex

ERROR 1

exception java.lang.IllegalArgumentException: JDBC-Troubles: was not able to
create connection, using the following DbConnection:DbConnection =
name=jdbc:mysql://127.0.0.1/fred,jndi=false,conClass=org.gjt.mm.mysql.Drive
r,username=fred
Message JDBC-Troubles: was not able to create connection, using the
following DbConnection:DbConnection =
name=jdbc:mysql://127.0.0.1/fred,jndi=false,conClass=org.gjt.mm.mysql.Drive
r,username=fred

ERROR 2

exception javax.servlet.jsp.JspTagException: java.sql.SQLException: DBCP
could not obtain an idle db connection, pool exhausted Message
java.sql.SQLException: DBCP could not obtain an idle db connection, pool
exhausted

Localized Message java.sql.SQLException: DBCP could not obtain an idle db
connection, pool exhausted

Stack trace
javax.servlet.jsp.JspTagException: java.sql.SQLException: DBCP could
not obtain an idle db connection, pool exhausted
at
org.apache.taglibs.dbtags.connection.ConnectionTag.doEndTag(ConnectionTag.ja
va:235)




This e-mail may be privileged and/or confidential, and the sender does not
waive any related rights and obligations. Any distribution, use or copying
of this e-mail or the information it contains by other than an intended
recipient is unauthorized. If you received this e-mail in error, please
advise me (by return e-mail or otherwise) immediately. 

Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux
droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou
copie de ce message ou des renseignements qu'il contient par une personne
autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez
ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de
courriel ou par un autre moyen. 





**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JDBC Blob Prob

2002-11-13 Thread Nicholas Orr
Yeah, well need your code, to help you, but you should probably go to either

http://otn.oracle.com Oracle technology Network
Or
http://forum.java.sun.com Sun Java Forums

This is a Java/Oracle problem and not a TC poblem

Good Luck,

Nicholas Orr

-Original Message-
From: Arthur Chan [mailto:achana;saysit.com] 
Sent: Saturday, 9 November 2002 11:15 AM
To: Tomcat Users List
Subject: JDBC Blob Prob 


Hi.
I use JDBC to retrieve an Oracle BLOB of either gif or jpg or tif Some of
the BLOBs are fairly big e.g. 40+KBytes. However most are smaller, around
10+KBytes. I found that I can retrieve and display the big blobs or write
it to a file in a temp dir, but I cannot display the smaller blobs. When I
try writing the small blobs to a temp dir, the file handle will be created,
but the file length is zero ! Can anyone help ??? Any hints, tips,
suggestions ???


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Is Tomcat a J2EE Container as well??

2002-11-12 Thread Nicholas Orr
Just a quick one,

Can you run full blown J2EE apps in Tomcat?? If so do you need to do
anything special or is it ready to go out of the box??

Nicholas Orr


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: Multiples JVM in different hosts with different tomcat versions

2002-11-07 Thread Nicholas Orr
This is just a guess, but isn't there a variable some where you can set
which java.exe tomcat uses?
If so then point tomcat to it.

I think I good directory structure would help you out as well.

/tomcat-v_java-v
  /java
/bin
/include
/jre
/lib
  /tomcat
/bin
/common
/conf
/logs

This way you will be able to know exactly which versions are talking to each
other.

If you are using windows you don't need to install java to the right places
just move it around, porbably the same with tomcat, provided you aren't
using the service part. You could still use the service just need to remake
it once you've got your files sorted into the right places.

You will also have to edit the server.xml files so each tomcat instance runs
on a different port.

Remember this is only a guess, and if I were to do this (run different
verisons on tomcat and java combinations) I would of thought of this and
tried it.

Nicholas Orr

-Original Message-
From: Rafael Angarita [mailto:rangarita;telcel.net.ve] 
Sent: Friday, 8 November 2002 4:20 AM
To: [EMAIL PROTECTED]
Subject: Multiples JVM in different hosts with different tomcat versions


Hi!

Does anybody know if it's possible to configure multiple JVM in 
different hosts but using different tomcat versions on each host? 
 (tomcat3.2.4 and tomcat3.3.1)
If so, could you give me an url to check the docs? I'm trying it 
with the docs in tomcat's site but when I use different tomcat versions 
it doesn't works... (it works with the same tomcat version)

Thanks an advance,

-- 

Rafael Angarita
Sistems Administrator
Telcel Bellsouth
(+58212)(2009765)



--
To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: JDBC Error with Tomcat 4.0.6

2002-11-05 Thread Nicholas Orr
I've had this error and it means:
1) SQL Server can't find the machine where sql server is running or
2) SQL Server can't connect to the port you have given it.

So there is something wrong with this

sqlserver://vc34:1433

Go to your SQL Server machine, and run Client Network Utility can be found
under startProgramsMicrosoft SQL Server.  Make sure TCP/IP is in the right
hand column (enable) and have a look at its properties, this is the port SQL
Server is listening on for TCP/IP connections. 

Now you know for sure which port SQL Server is running on.

Now you need to go to your Tomcat box and make sure you can ping the SQL
Server box.  If you can't then check out your network connectivity issues.
Else make sure your SQL Server box is called what you think its called. To
do this,

Go back to your SQL Server box and get your System Properties up,
(StartControl PanelSystem) then on the Network Tab see what the computer
is called.

I now I have been very simplistic assuming you don't know anything, but I
assure you I only did this because I don't know what you know, and plz don't
think I think you're an idiot because I don't.

Hope this has been helpful,

Nicholas Orr

-Original Message-
From: John Mattos [mailto:mattosj;yahoo.com] 
Sent: Tuesday, 5 November 2002 11:23 PM
To: [EMAIL PROTECTED]
Subject: JDBC Error with Tomcat 4.0.6



All,

I need a little help with this one. I'm porting an app to Tomcat 4.0.6 from
WebSphere 4.03 and I'm getting a JDBC Error, 

java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]Error establishing
socket.

I've included a bit about my app to see if anyone can help me figure out
where my misconfiguration is.

Am I using the right driver for SQL Server 2000? (I'm using msutil.jar,
mssqlserver.jar and msbase.jsr, the native drivers) Should I be using a
different class? Is my JDBC URL not formed properly? 

I guess I need help from a SQL Server/Tomcat guru...

Thanks!

John 

Server.xml file snippet : 
ResourceParams name=jdbc/indemand
 parameter
   namevalidationQuery/name
   valueselect top 100 * from Subscriber/value
 /parameter
 parameter
   nameurl/name
 
valuejdbc:microsoft:sqlserver://vc34:1433;databaseName=TibcoClearHouse/va
lue
 /parameter
 parameter
   namepassword/name
   valuetibco_pass/value
 /parameter
 parameter
   namemaxActive/name
   value12/value
 /parameter
 parameter
   namemaxWait/name
   value5000/value
 /parameter
parameter
namedriverClassName/name
valuecom.microsoft.jdbc.sqlserver.SQLServerDriver/value
/parameter
 parameter
   nameusername/name
   valuetibco_user/value
  /parameter
/ResourceParams

Web.xml file snippet:
  resource-ref
  descriptionDB Connection/description
  res-ref-namejdbc/indemand/res-ref-name
  res-typejavax.sql.DataSource/res-type
  res-authContainer/res-auth
  /resource-ref

Partial Stack trace:
java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]Error establishing
socket.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown
Source)
at com.microsoft.jdbc.sqlserver.tds.TDSConnection.init(Unknown
Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown
Source)
at
com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at
com.thoughtworks.util.pool.JDCConnectionPool.getConnection(JDCConnectionPool
.java:174)
at
com.thoughtworks.clearinghouse.util.ConnectionFactory.createConnectionForTib
co(ConnectionFactory.java:59)
at
com.thoughtworks.clearinghouse.util.ConnectionFactory.createConnection(Conne
ctionFactory.java:40)
at
com.thoughtworks.clearinghouse.util.DatabaseUtility.getUserByName(DatabaseUt
ility.java:123)



-
Do you Yahoo!?
HotJobs - Search new jobs daily now


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646

RE: JDBC Error with Tomcat 4.0.6

2002-11-05 Thread Nicholas Orr
Also you are using the right driver.

Nicholas Orr

-Original Message-
From: Nicholas Orr [mailto:Nicholas.Orr;mim.com.au] 
Sent: Wednesday, 6 November 2002 2:11 PM
To: 'Tomcat Users List'
Subject: RE: JDBC Error with Tomcat 4.0.6


I've had this error and it means:
1) SQL Server can't find the machine where sql server is running or
2) SQL Server can't connect to the port you have given it.

So there is something wrong with this

sqlserver://vc34:1433

Go to your SQL Server machine, and run Client Network Utility can be found
under startProgramsMicrosoft SQL Server.  Make sure TCP/IP is in the right
hand column (enable) and have a look at its properties, this is the port SQL
Server is listening on for TCP/IP connections. 

Now you know for sure which port SQL Server is running on.

Now you need to go to your Tomcat box and make sure you can ping the SQL
Server box.  If you can't then check out your network connectivity issues.
Else make sure your SQL Server box is called what you think its called. To
do this,

Go back to your SQL Server box and get your System Properties up,
(StartControl PanelSystem) then on the Network Tab see what the computer
is called.

I now I have been very simplistic assuming you don't know anything, but I
assure you I only did this because I don't know what you know, and plz don't
think I think you're an idiot because I don't.

Hope this has been helpful,

Nicholas Orr

-Original Message-
From: John Mattos [mailto:mattosj;yahoo.com] 
Sent: Tuesday, 5 November 2002 11:23 PM
To: [EMAIL PROTECTED]
Subject: JDBC Error with Tomcat 4.0.6



All,

I need a little help with this one. I'm porting an app to Tomcat 4.0.6 from
WebSphere 4.03 and I'm getting a JDBC Error, 

java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]Error establishing
socket.

I've included a bit about my app to see if anyone can help me figure out
where my misconfiguration is.

Am I using the right driver for SQL Server 2000? (I'm using msutil.jar,
mssqlserver.jar and msbase.jsr, the native drivers) Should I be using a
different class? Is my JDBC URL not formed properly? 

I guess I need help from a SQL Server/Tomcat guru...

Thanks!

John 

Server.xml file snippet : 
ResourceParams name=jdbc/indemand
 parameter
   namevalidationQuery/name
   valueselect top 100 * from Subscriber/value
 /parameter
 parameter
   nameurl/name
 
valuejdbc:microsoft:sqlserver://vc34:1433;databaseName=TibcoClearHouse/va
lue
 /parameter
 parameter
   namepassword/name
   valuetibco_pass/value
 /parameter
 parameter
   namemaxActive/name
   value12/value
 /parameter
 parameter
   namemaxWait/name
   value5000/value
 /parameter
parameter
namedriverClassName/name
valuecom.microsoft.jdbc.sqlserver.SQLServerDriver/value
/parameter
 parameter
   nameusername/name
   valuetibco_user/value
  /parameter
/ResourceParams

Web.xml file snippet:
  resource-ref
  descriptionDB Connection/description
  res-ref-namejdbc/indemand/res-ref-name
  res-typejavax.sql.DataSource/res-type
  res-authContainer/res-auth
  /resource-ref

Partial Stack trace:
java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]Error establishing
socket.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown
Source)
at com.microsoft.jdbc.sqlserver.tds.TDSConnection.init(Unknown
Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown
Source)
at
com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at
com.thoughtworks.util.pool.JDCConnectionPool.getConnection(JDCConnectionPool
.java:174)
at
com.thoughtworks.clearinghouse.util.ConnectionFactory.createConnectionForTib
co(ConnectionFactory.java:59)
at
com.thoughtworks.clearinghouse.util.ConnectionFactory.createConnection(Conne
ctionFactory.java:40)
at
com.thoughtworks.clearinghouse.util.DatabaseUtility.getUserByName(DatabaseUt
ility.java:123)



-
Do you Yahoo!?
HotJobs - Search new jobs daily now


**
The information contained in this e-mail is confidential and is intended
only for the use of the addressee(s). If you receive this e-mail in error,
any use, distribution or copying of this e-mail is not permitted. You are
requested

RE: [Windows2k] Start tomcat as Service

2002-11-05 Thread Nicholas Orr
I have, why?

-Original Message-
From: François Vallet [mailto:fvallet;infovista.com] 
Sent: Wednesday, 6 November 2002 3:42 AM
To: 'Tomcat Users List'
Subject: [Windows2k] Start tomcat as Service


Who have ever start Tomcat 4.1 as service on Windows 2k ? Thanks in advance.

--
To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: Oracle 8 JDBC OCI

2002-10-28 Thread Nicholas Orr
Tomcat likes jar files not zip files.  So try renaming classes12.zip to
classes12.jar

Nicholas Orr

-Original Message-
From: Chris Shen [mailto:emmitt1219;hotmail.com] 
Sent: Tuesday, 29 October 2002 10:40 AM
To: Tomcat Users List
Subject: Oracle 8 JDBC OCI


hi guys, i am trying to set up my oracle 8i to use the jdbc oci driver. it
seems like my dll file is in the right place and i've set my tomcat
classpath to point to my classes12.zip. yet, i am still getting the
ORA-06401: NETCMN: invalid driver designator error. does anyone have any
idea? thanks in advance!

Chris

--
To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Tomcat Connection Pooling Question

2002-10-27 Thread Nicholas Orr
Hi,

Is there a way to make the maxWait to just wait till there is an available
connection??

Thanks 

Nicholas Orr 


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: Servlet as Virtual Include in ASP file

2002-10-22 Thread Nicholas Orr
What is the default.asp?page= actually doing? When I was doing ASP I would
do this only to include something out of a database.  You may find that what
default.asp is doing is not very complex and you could just replicate it in
your servlets.

I don't know, but you haven't really given enough information.
Need more information to help you.
Does the whole site currently run from default.asp? And it does what
suggested up top.

-Original Message-
From: Kurisu QT [mailto:kurisuqt;yahoo.com] 
Sent: Wednesday, 23 October 2002 5:36 AM
To: [EMAIL PROTECTED]
Subject: Servlet as Virtual Include in ASP file


My company's website uses default.asp?page= to precede
the actual file being called.  Because my project uses
servlets and must be integrated into the site, I'm
going nuts trying to figure out if a servlet can be
called as an virtual include in an ASP file. Or can I
do the reverse-- call an ASP file as a virtual include
within a servlet.

My only other option is to break down the default.asp
page into htm pages and call them in the servlet, but
then i'm dealing with updates in 2 places, rather than
one.

Any info would be appreciated.
Thanks.

 

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

--
To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: TC4.1.12 on W2K = service doesn't start!

2002-10-16 Thread Nicholas Orr

First check to see if the service is set to start Automatically
(Start  Settings  Control Panel  Administrative Tools  Services)
Locate it in the list and in the column Startup Type if it doesn't say 
Automatic, double click on it and in the properties dialog change the start
up type to Automatic in the drop down list.

But anyway, why don't you install it using the .exe and tick nt service
makes thing s a lot easier.

Hope this helps, if it doesn't then there is something else wrong.

Nicholas Orr

-Original Message-
From: Gunter D' Hondt [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 4:51 PM
To: 'Tomcat Users List'
Subject: TC4.1.12 on W2K = service doesn't start!


Hi,

I've installed Tomcat 4.1.12 on W2k and it runs perfectly when using the
startmenu item start tomcat but when using the service it doesn't start at
all. I've set my system variables and have run the command below and it said
service installed succesfully but still (even after a reboot) the service
won't start.

As seen in the list lotsa people are encouraging the same problem but no
concrete answer has been given yet that would solve everybodies problem. If
I've found a good solution I can make a small doc around it that should be
useful for everybody.

So any help is welcome pls!

Greetings,
Gunter 




Command:
%CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina
%JAVA_HOME%\jre\bin\server\jvm.dll
-Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tool
s.jar
-Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start
org.apache.catalina.startup.BootstrapService -params start -stop
org.apache.catalina.startup.BootstrapService -params stop -out
%CATALINA_HOME%\logs\stdout.log -err %CATALINA_HOME%\logs\stderr.log


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: TC4.1.12 on W2K = service doesn't start!

2002-10-16 Thread Nicholas Orr

But anyway, why don't you install it using the .exe and tick nt service
makes thing s a lot easier.

I meant why don't people(everyone) just use jakarta-tomcat-4.1.12.exe
Look at the image I included (in screenshot.zip) see there is an option
there

NT Service (NT/2k/XP only)

If you tick that option you have zero problems running TC as a service.

If the service is started automatically should not be a reason why it
doesn't 
start I suppose? I've got it set to manual but when setting it to
automatically it also doesn't work.

Have you had a look at stdout.log, stderr.log, or the other logs under $TC
install dir$\logs

Nicholas Orr


-Original Message-
From: Gunter D' Hondt [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 5:29 PM
To: 'Tomcat Users List'
Subject: RE: TC4.1.12 on W2K = service doesn't start!


If the service is started automatically should not be a reason why it
doesn't start I suppose? I've got it set to manual but when setting it to
automatically it also doesn't work.

What to you mean by ticking nt service? Do you mean tomcat.exe Tomcat ?

Gunter



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On
Behalf Of Nicholas Orr
Sent: woensdag 16 oktober 2002 8:59
To: 'Tomcat Users List'
Subject: RE: TC4.1.12 on W2K = service doesn't start!


First check to see if the service is set to start Automatically (Start
 Settings  Control Panel  Administrative Tools  Services) Locate
it in the list and in the column Startup Type if it doesn't say 
Automatic, double click on it and in the properties dialog change the start
up type to Automatic in the drop down list.

But anyway, why don't you install it using the .exe and tick nt service
makes thing s a lot easier.

Hope this helps, if it doesn't then there is something else wrong.

Nicholas Orr

-Original Message-
From: Gunter D' Hondt [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 4:51 PM
To: 'Tomcat Users List'
Subject: TC4.1.12 on W2K = service doesn't start!


Hi,

I've installed Tomcat 4.1.12 on W2k and it runs perfectly when using the
startmenu item start tomcat but when using the service it doesn't start at
all. I've set my system variables and have run the command below and it said
service installed succesfully but still (even after a reboot) the service
won't start.

As seen in the list lotsa people are encouraging the same problem but no
concrete answer has been given yet that would solve everybodies problem. If
I've found a good solution I can make a small doc around it that should be
useful for everybody.

So any help is welcome pls!

Greetings,
Gunter 




Command:
%CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina
%JAVA_HOME%\jre\bin\server\jvm.dll
-Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tool
s.jar
-Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start
org.apache.catalina.startup.BootstrapService -params start -stop
org.apache.catalina.startup.BootstrapService -params stop -out
%CATALINA_HOME%\logs\stdout.log -err %CATALINA_HOME%\logs\stderr.log


--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is intended
only for the use of the addressee(s). If you receive this e-mail in error,
any use, distribution or copying of this e-mail is not permitted. You are
requested to forward unwanted e-mail and address any problems to the MIM
Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




screenshot.zip
Description: Binary data

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: TC4.1.12 on W2K = service doesn't start!

2002-10-16 Thread Nicholas Orr

How come you are not using the localsystem account? This could be the
problem, but I can't really help as you are not giving any info that I can
help you with.

My experience with TC is install and it works, no problems, it's not until I
start mucking around with config files that stuff goes pear shape.

My only suggestion in this case is try from scratch, remove all java, remove
tc, and try again.  Do you have another machine you can try? Can you fdisk
this machine and start from a clean OS install?

What about when you use the following command from a cmd prompt:
net start Apache Tomcat 4.1

Other than this info above, I don't know what is wrong and I can't help you
unfortunately,

Nicholas Orr

-Original Message-
From: Gunter D' Hondt [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 5:51 PM
To: 'Tomcat Users List'
Subject: RE: TC4.1.12 on W2K = service doesn't start!


Nicholas,

During the installation I have included the NT Service (NT/2k/XP only) and
the service was included but it didn't work at all so I tried re-installing
the nt service by using the tomcat.exe -install etc.

The service fails to start and no log-files are being made.
The service is being starting with the nt login that is logged in and not
the localsystem (but this also doesn't work).

Any help is welcome pls!
Greetings, Gunter.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On
Behalf Of Nicholas Orr
Sent: woensdag 16 oktober 2002 9:47
To: 'Tomcat Users List'
Subject: RE: TC4.1.12 on W2K = service doesn't start!


But anyway, why don't you install it using the .exe and tick nt
service
makes thing s a lot easier.

I meant why don't people(everyone) just use jakarta-tomcat-4.1.12.exe
Look at the image I included (in screenshot.zip) see there is an option
there

NT Service (NT/2k/XP only)

If you tick that option you have zero problems running TC as a service.

If the service is started automatically should not be a reason why it
doesn't 
start I suppose? I've got it set to manual but when setting it to
automatically it also doesn't work.

Have you had a look at stdout.log, stderr.log, or the other logs under
$TC install dir$\logs

Nicholas Orr


-Original Message-
From: Gunter D' Hondt [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 5:29 PM
To: 'Tomcat Users List'
Subject: RE: TC4.1.12 on W2K = service doesn't start!


If the service is started automatically should not be a reason why it
doesn't start I suppose? I've got it set to manual but when setting it
to automatically it also doesn't work.

What to you mean by ticking nt service? Do you mean tomcat.exe
Tomcat ?

Gunter



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On
Behalf Of Nicholas Orr
Sent: woensdag 16 oktober 2002 8:59
To: 'Tomcat Users List'
Subject: RE: TC4.1.12 on W2K = service doesn't start!


First check to see if the service is set to start Automatically (Start
 Settings  Control Panel  Administrative Tools  Services) Locate
it in the list and in the column Startup Type if it doesn't say 
Automatic, double click on it and in the properties dialog change the
start up type to Automatic in the drop down list.

But anyway, why don't you install it using the .exe and tick nt
service makes thing s a lot easier.

Hope this helps, if it doesn't then there is something else wrong.

Nicholas Orr

-Original Message-
From: Gunter D' Hondt [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 4:51 PM
To: 'Tomcat Users List'
Subject: TC4.1.12 on W2K = service doesn't start!


Hi,

I've installed Tomcat 4.1.12 on W2k and it runs perfectly when using the
startmenu item start tomcat but when using the service it doesn't
start at all. I've set my system variables and have run the command
below and it said service installed succesfully but still (even after
a reboot) the service won't start.

As seen in the list lotsa people are encouraging the same problem but no
concrete answer has been given yet that would solve everybodies problem.
If I've found a good solution I can make a small doc around it that
should be useful for everybody.

So any help is welcome pls!

Greetings,
Gunter 




Command:
%CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina
%JAVA_HOME%\jre\bin\server\jvm.dll
-Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tool
s.jar
-Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start
org.apache.catalina.startup.BootstrapService -params start -stop
org.apache.catalina.startup.BootstrapService -params stop -out
%CATALINA_HOME%\logs\stdout.log -err %CATALINA_HOME%\logs\stderr.log


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is intended
only for the use of the addressee(s). If you receive this e-mail in
error, any use

RE: TC4.1.12 on W2K = service doesn't start!

2002-10-16 Thread Nicholas Orr

What about event logs, is there info in there?
First clear them all then try and run tc net start Tomcat



-Original Message-
From: Gunter D' Hondt [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 6:11 PM
To: 'Tomcat Users List'
Subject: RE: TC4.1.12 on W2K = service doesn't start!


I've started from scratch on another pc but same problem occurs! Using the
net start Tomcat gives the following:

The Tomcat service is starting.
The Tomcat service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.

I'm using my own login account as startup instead of the localsystem so the
system variables (CATALINA_HOME,CATALINA_BASE and JAVA_HOME) are being used
in the same way the startup.bat uses it.

Anybody else who can give me some tips pls?
Gunter.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On
Behalf Of Nicholas Orr
Sent: woensdag 16 oktober 2002 10:03
To: 'Tomcat Users List'
Subject: RE: TC4.1.12 on W2K = service doesn't start!


How come you are not using the localsystem account? This could be the
problem, but I can't really help as you are not giving any info that I can
help you with.

My experience with TC is install and it works, no problems, it's not until I
start mucking around with config files that stuff goes pear shape.

My only suggestion in this case is try from scratch, remove all java, remove
tc, and try again.  Do you have another machine you can try? Can you fdisk
this machine and start from a clean OS install?

What about when you use the following command from a cmd prompt: net start
Apache Tomcat 4.1

Other than this info above, I don't know what is wrong and I can't help you
unfortunately,

Nicholas Orr

-Original Message-
From: Gunter D' Hondt [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 5:51 PM
To: 'Tomcat Users List'
Subject: RE: TC4.1.12 on W2K = service doesn't start!


Nicholas,

During the installation I have included the NT Service (NT/2k/XP only) and
the service was included but it didn't work at all so I tried re-installing
the nt service by using the tomcat.exe -install etc.

The service fails to start and no log-files are being made.
The service is being starting with the nt login that is logged in and not
the localsystem (but this also doesn't work).

Any help is welcome pls!
Greetings, Gunter.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On
Behalf Of Nicholas Orr
Sent: woensdag 16 oktober 2002 9:47
To: 'Tomcat Users List'
Subject: RE: TC4.1.12 on W2K = service doesn't start!


But anyway, why don't you install it using the .exe and tick nt
service
makes thing s a lot easier.

I meant why don't people(everyone) just use jakarta-tomcat-4.1.12.exe
Look at the image I included (in screenshot.zip) see there is an option
there

NT Service (NT/2k/XP only)

If you tick that option you have zero problems running TC as a service.

If the service is started automatically should not be a reason why it
doesn't 
start I suppose? I've got it set to manual but when setting it to
automatically it also doesn't work.

Have you had a look at stdout.log, stderr.log, or the other logs under
$TC install dir$\logs

Nicholas Orr


-Original Message-
From: Gunter D' Hondt [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 5:29 PM
To: 'Tomcat Users List'
Subject: RE: TC4.1.12 on W2K = service doesn't start!


If the service is started automatically should not be a reason why it
doesn't start I suppose? I've got it set to manual but when setting it
to automatically it also doesn't work.

What to you mean by ticking nt service? Do you mean tomcat.exe
Tomcat ?

Gunter



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On
Behalf Of Nicholas Orr
Sent: woensdag 16 oktober 2002 8:59
To: 'Tomcat Users List'
Subject: RE: TC4.1.12 on W2K = service doesn't start!


First check to see if the service is set to start Automatically (Start
 Settings  Control Panel  Administrative Tools  Services) Locate
it in the list and in the column Startup Type if it doesn't say 
Automatic, double click on it and in the properties dialog change the
start up type to Automatic in the drop down list.

But anyway, why don't you install it using the .exe and tick nt
service makes thing s a lot easier.

Hope this helps, if it doesn't then there is something else wrong.

Nicholas Orr

-Original Message-
From: Gunter D' Hondt [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 4:51 PM
To: 'Tomcat Users List'
Subject: TC4.1.12 on W2K = service doesn't start!


Hi,

I've installed Tomcat 4.1.12 on W2k and it runs perfectly when using the
startmenu item start tomcat but when using the service it doesn't
start at all. I've set my system variables and have run the command
below and it said service installed succesfully but still (even after
a reboot) the service won't start.

As seen in the list lotsa people

RE: Windows SystemService howto

2002-10-16 Thread Nicholas Orr

Hi,

There is an email all ready in this list it has the subject heading of

OutOfMemoryError after 88MB on Win2K / Tomcat 4.0.4

Basically you need to go to the registry and set things,

! Start Original Email -

-Original Message-
From: Christopher Watson [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 4 October 2002 9:04 AM
To: Tomcat Users List
Subject: RE: OutOfMemoryError after 88MB on Win2K / Tomcat 4.0.4


Jon

When running tomcat as a service on WinNT, the JVM parameters are controlled
by the registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache
Tomcat\Parameters
(assuming you're on 4.0.4 and your service name is Apache Tomcat and
you've used tomcat.exe -install etc, or you've installed the distribution
using jakarta-tomcat-4.0.4.exe)

If you look there you'll see various VM options ...
JVM Option Number n
and a count
JVM Option Count

You put your -Xms128m and the like in there and adjust the count as
necessary

HTH

Christopher

! End Original Email -

This should work for any 4.x version.

So I hope this helps,

Nichoals Orr

-Original Message-
From: Dirk Bromberg [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 11:35 PM
To: [EMAIL PROTECTED]
Subject: Windows SystemService howto


Hi,

short question:

we will use tomcat as windows system service and now we will give the java
vm 
more memory (-Xmx512m).

when we start tomcat over the startup.bat we can write it into the 
catalina.bat but wher must we place the flag for the system service 


Thanks

Dirk Bromberg



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: tomcat log4j mysql

2002-10-16 Thread Nicholas Orr

Well the first thing is:

java.sql.SQLException: No suitable driver

Means there has been no driver specified to use to connect to the db.

Try adding this to your log4j config
log4j.appender.R.driver=driver

Regards, 

Nicholas Orr


-Original Message-
From: B [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, 17 October 2002 5:18 AM
To: Tomcat Users List
Subject: tomcat log4j mysql


I am trying to use log4j 1.2.5, mysql 3.0.23 adn tomcat 4.0.1.

1. I placed the mysql-connector-java-2.0.14-bin.jar in my
webapps/app/WEB-INF/lib dir. 2. This is my log4j properties file.

log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R=org.apache.log4j.jdbc.JDBCAppender
log4j.appender.R.URL=jdbc:mysql://x.x.x.x/vdatabase01
log4j.appender.R.user=default
log4j.appender.R.password=default
log4j.appender.R.sql=INSERT INTO log4jTable VALUES ('%d', '%c', '%p', '%m')

3. On starting tomcat, within the webapps init method i try to retrieve the
above values. and i get this error. log4j:ERROR Failed to excute sql
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:532)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at
org.apache.log4j.jdbc.JDBCAppender.getConnection(JDBCAppender.java:197)
at org.apache.log4j.jdbc.JDBCAppender.execute(JDBCAppender.java:160)
at
org.apache.log4j.jdbc.JDBCAppender.flushBuffer(JDBCAppender.java:235)
at org.apache.log4j.jdbc.JDBCAppender.append(JDBCAppender.java:131)
at
org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(Append
erAttachableImpl.java:57)
at org.apache.log4j.Category.callAppenders(Category.java:187)
at org.apache.log4j.Category.forcedLog(Category.java:372)
at org.apache.log4j.Category.info(Category.java:674)
at com.mantissa.servlets.RMSServlet.init(RMSServlet.java:886)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
6)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3266)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:714)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:155)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)


Please excuse me if this is not a tomcat specific question but which
application is self contained anyways.


Please let me know if i am doing something wrong.

Thanks.

B.

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042

RE: Strange!!!! JasperException: jsp.error.badaction

2002-10-16 Thread Nicholas Orr

 %
 SendMail.send();
 %
don't you need to do this

SendMail:send

Nicholas Orr

-Original Message-
From: Zack Beatty [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, 17 October 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Strange JasperException: jsp.error.badaction 


There is not a trace of documentation ANYWHERE on this problem!!!

Here is my error:
*
org.apache.jasper.JasperException: /sendMail.jsp(6,5) jsp.error.badaction
*

Here is my very simple code:
*
html
head
titleJSP demo - mail with JavaBean/title
/head
body

jsp:usebean id=SendMail class=jspBeans.SendMail scope=page/

jsp:setProperty name=SendMail property=host value=myhost.com/
jsp:setProperty name=SendMail property=to value=[EMAIL PROTECTED]/
jsp:setProperty name=SendMail property=from value=[EMAIL PROTECTED]/
jsp:setProperty name=SendMail property=msg value=testing 1 2 3.../
jsp:setProperty name=SendMail property=subject value=SendMail bean
test!!/

%
SendMail.send();
%

/body
/html
*

Please help, if you have ANY idea what the problem
might be.   It seems to be choking on the
jsp:usebean line.   However, I don't believe the JSP
page is having trouble finding the class.

Thanks! 

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More http://faith.yahoo.com

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Help in Tomcat4.x

2002-10-15 Thread Nicholas Orr

On suggestion

Use load-on-startup to start a servlet.
And in this servlet define the destroy method
public destroy() {
}

Have this call your other servlet or class.

Hope this helps,

Nichoals Orr

-Original Message-
From: Santosh Kulkarni [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 3:48 PM
To: [EMAIL PROTECTED]
Subject: Help in Tomcat4.x


Hi,
Is there any element similar to load-on-startup that
we can place in web.xml to invoke a servlet at the
shut-down of the web application/server. I want to
call a servlet when the Tomcat service is stopped. In
this servlet I want to release all the database
connections held.
Any pointers to this are welcome.
TIA
Santosh

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More http://faith.yahoo.com

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Help with test needed.

2002-09-30 Thread Nicholas Orr

Hi,

I was just looking at this site and zooming in, about 10, it seems to be be
a bit slow retrieving the map.
I am over Australia w/ a 2Mbit link here at work, so if it is quite slow for
me it must hell for dial-up.

Not sure what else you were looking for.

Nicholas Orr

-Original Message-
From: Robert L Sowders [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 1 October 2002 11:31 AM
To: Tomcat Users List
Subject: Help with test needed.


I've just about completed a new site and I've been wondering about a few 
things, specifically how does the public see it.  It's an ArcIMS site and 
I know it will appear to load a bit slow, (that's just how ArcIMS works). 
I'm hosting the front end in one place and the data at another.  I'm 
wondering about the network latency that is built in.

If you would go to http://terra.wr.usgs.gov/pilots/wa-id/viewer.htm, then
zoom in about three 
times and click on the orthophoto check box that comes up on the right 
hand side, then hit the refresh button, this final refresh will give you 
an idea of the network latency.

I can't see it because I'm on the DOI backbone.

Any help is appreciated.

rls





jdeveloper [EMAIL PROTECTED]
09/30/2002 05:50 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Re: How to integrate Tomcat 4.0.4 with JBOSS 3.0.2

Sounds great but it does not solve the problem.  :)



micael wrote:

 Rather than do the coding, moving, etc., why not order a pizza, call
 your friend to go fishing, and do a new download?

 At 09:22 AM 9/30/2002 -0400, you wrote:

  Jboss comes with Jetty. I would like to disable Jetty and integrate
 Jboss v3.0.2 with tomcat v4.0.4. (I did not download Jboss with an 
 embedded tomcat version.)

 Both Jboss and Tomcat work by themselves separately.

 Do I need to remove the directory
 $JBOSS_HOME/server/default/deploy/jbossweb.sar to disable Jetty?

 To integrate, do I need to add Jboss client libaries to tomcat ?
 i.e., copy jboss-j2ee.jar, jboss-client.jar, jbosssx-client.jar, 
 jnp-client.jar, jboss-common-client.jar and log4j.jar files from 
 $JBOSS_HOME/client/ directory to $TOMCAT_HOME/common/lib/ directory ?

 Any help would be appreciated!




 --
 To unsubscribe, e-mail: 
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Connection Pooling - with multiple pools shared by all servlets/jsp's

2002-09-29 Thread Nicholas Orr

Hi,
 
I hope the tite is descriptive enough.
 
I was wondering what people are using for Connection Pooling /w multiple
pools shared by all servlets/jsp's, within one webapp (context), not tomcat
(host).
 
Is there a project or something (poolman, dbConnectionBrpker, etc) that
anyone knows about that does this? Or are people just rollin' their own??
 
I could roll my own if I have to, it is just a common thing to do that I
thought someone/group might have done all ready.  Why re-invent the wheel
when you can go to the shop and get one.
 
Thanks,
 
Nicholas Orr


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**




RE: How to write a servlet that handle request for .xml documents

2002-09-27 Thread Nicholas Orr

Hi,

What exactly are you trying to do??

Nicholas Orr

-Original Message-
From: Aaron Chan [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 27 September 2002 4:34 PM
To: 'Tomcat Users List'
Subject: RE: How to write a servlet that handle request for .xml documents


Hi, thanks for ur reply. I already know how to write basic servlet, just
that I am not sure when the tomcat redirect the request of .xml file to the
servlet, which method inside the servlet gets to handle it? doGet or doPost?
I even tried service() but can't do it. Also how can I get the requested
file names?

Thanks in advance

Btw.. I agree that it is a good book I have it here :)

-Original Message-
From: Andreas Probst [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 2:22 PM
To: Tomcat Users List
Subject: Re: How to write a servlet that handle request for .xml documents

 Hi, I have setup the web.xml to direct request to .xml to my servlet
 
 However, I do not know how to write the servlet inorder to have it 
 perform jobs I want it to do. Anyone know of any guides on writing it
or
 know how to write it? Thanks in advance.

The sun site has a tutorial. Search www.javasoft.com.

O'Reilly's Java Servlet Programming is a good book on Java 
servlets.

Andreas


--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to write a servlet that handle request for .xml documents

2002-09-27 Thread Nicholas Orr

So, if I am understanding right, what you want to do is:-
1. Client calls http://localhost:8080/home.jsp and there html code in there:
a href=/file.xmla xml file/a
2. Client then calls http://localhost:8080/file.xml and you want to
intercept this and redirect to a servlet
http://localhost:8080/servlet/myServlet (which you have done?)
3. Now this is where you are stuck?? How do I know that file.xml has been
redirected?
4. Do stuff and return file.xml.

Is this right? Well if it is, back in step one you can have the link specify
a href=/servlet/myServlet?xmlFile=/file.xmla xml file/a. But if you
just want to be able to type in http://localhost:8080/file.xml and do you
what you want, then you need to find out where you have come from, (been
redirected from), you might be able to use 'request.getRequestURL()' this
would only work however, if tomcat redirects without sending a proper
'response.sendRedirect()'.

Other than that I don't know of a way to do what you want, hope this all
helps somehow.

Nicholas Orr

-Original Message-
From: Aaron Chan [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 27 September 2002 5:27 PM
To: 'Tomcat Users List'
Subject: RE: How to write a servlet that handle request for .xml documents


Hi,

I am trying to have all the request to .xml documents to be pass to a
servlet, so that I can dynamically change the documents before sending it
back to the client. Thanks.


-Original Message-
From: Nicholas Orr [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 2:55 PM
To: 'Tomcat Users List'
Subject: RE: How to write a servlet that handle request for .xml documents

Hi,

What exactly are you trying to do??

Nicholas Orr

-Original Message-
From: Aaron Chan [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 27 September 2002 4:34 PM
To: 'Tomcat Users List'
Subject: RE: How to write a servlet that handle request for .xml documents


Hi, thanks for ur reply. I already know how to write basic servlet, just
that I am not sure when the tomcat redirect the request of .xml file to the
servlet, which method inside the servlet gets to handle it? doGet or doPost?
I even tried service() but can't do it. Also how can I get the requested
file names?

Thanks in advance

Btw.. I agree that it is a good book I have it here :)

-Original Message-
From: Andreas Probst [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 2:22 PM
To: Tomcat Users List
Subject: Re: How to write a servlet that handle request for .xml documents

 Hi, I have setup the web.xml to direct request to .xml to my servlet
 
 However, I do not know how to write the servlet inorder to have it
 perform jobs I want it to do. Anyone know of any guides on writing it
or
 know how to write it? Thanks in advance.

The sun site has a tutorial. Search www.javasoft.com.

O'Reilly's Java Servlet Programming is a good book on Java 
servlets.

Andreas


--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is intended
only for the use of the addressee(s). If you receive this e-mail in error,
any use, distribution or copying of this e-mail is not permitted. You are
requested to forward unwanted e-mail and address any problems to the MIM
Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Black Magic User List

2002-09-26 Thread Nicholas Orr

Just click on the link below that says:
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]

Or send a blank email to [EMAIL PROTECTED]

Easy.

Nicholas Orr

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 24 September 2002 5:57 PM
To: [EMAIL PROTECTED]
Subject: Black Magic User List 


Hi guys,

I sure I´m nerving now but I'm trying to unsubscribe since three days always
using the given account...it's black magic...I'm caught within the tc user
list forever :-)...

Oliver
--

Oliver Lauer
Stadtsparkasse Köln
512 / BK / Anwendungsentwicklung
Telefon: (0221) 226 - 5562
Fax: (0221) 226 - 5100
mailto:[EMAIL PROTECTED]
http://www.sk-koeln.de
Da E-Mails leicht unter fremdem Namen erstellt oder manipuliert werden
koennen, muessen wir zu Ihrem und unserem Schutz die rechtliche
Verbindlichkeit der vorstehenden Erklaerungen ausschliessen. Die fuer die
Stadtsparkasse Koeln geltenden Regeln ueber die Verbindlichkeit von
rechtsgeschaeftlichen Erklaerungen mit verpflichtendem Inhalt bleiben
unberuehrt.



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires: ++61 7 3833 8000
Support Centre e-mail: [EMAIL PROTECTED]
Support Centre phone:  Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

tsdok

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Black Magic User List

2002-09-26 Thread Nicholas Orr

Just click on the link below that says:
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]

Or send a blank email to [EMAIL PROTECTED]

Easy.

Nicholas Orr

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 24 September 2002 5:57 PM
To: [EMAIL PROTECTED]
Subject: Black Magic User List 


Hi guys,

I sure I´m nerving now but I'm trying to unsubscribe since three days always
using the given account...it's black magic...I'm caught within the tc user
list forever :-)...

Oliver
--

Oliver Lauer
Stadtsparkasse Köln
512 / BK / Anwendungsentwicklung
Telefon: (0221) 226 - 5562
Fax: (0221) 226 - 5100
mailto:[EMAIL PROTECTED]
http://www.sk-koeln.de
Da E-Mails leicht unter fremdem Namen erstellt oder manipuliert werden
koennen, muessen wir zu Ihrem und unserem Schutz die rechtliche
Verbindlichkeit der vorstehenden Erklaerungen ausschliessen. Die fuer die
Stadtsparkasse Koeln geltenden Regeln ueber die Verbindlichkeit von
rechtsgeschaeftlichen Erklaerungen mit verpflichtendem Inhalt bleiben
unberuehrt.



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires: ++61 7 3833 8000
Support Centre e-mail: [EMAIL PROTECTED]
Support Centre phone:  Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

tsdok

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: webapp shutdown

2002-09-25 Thread Nicholas Orr

You could have a servlet that is called StartUp_ShutDown use
load-on-startup1/load-on-startup to start it and everything that needs
to be done on start up put in the init() method, and then when tomcat is
shutdown it will call the destroy() method.

One suggestion, probably others.

Nicholas Orr

-Original Message-
From: RP C987342 [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 25 September 2002 6:37 PM
To: [EMAIL PROTECTED]
Subject: webapp shutdown



My webapp needs to know when Tomcat shuts down in order
to do some cleanup. How can I do this?

For startup, I am using the following tag in my web.xml
load-on-startup1/load-on-startup
Is this the correct method?

Or is there a way to register startup/shutdown classes
with Tomcat?

_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Black Magic User List

2002-09-24 Thread Nicholas Orr

Just click on the link below that says:
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]

Or send a blank email to [EMAIL PROTECTED]

Easy.

Nicholas Orr

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 24 September 2002 5:57 PM
To: [EMAIL PROTECTED]
Subject: Black Magic User List 


Hi guys,

I sure I´m nerving now but I'm trying to unsubscribe since three days always
using the given account...it's black magic...I'm caught within the tc user
list forever :-)...

Oliver
--

Oliver Lauer
Stadtsparkasse Köln
512 / BK / Anwendungsentwicklung
Telefon: (0221) 226 - 5562
Fax: (0221) 226 - 5100
mailto:[EMAIL PROTECTED]
http://www.sk-koeln.de
Da E-Mails leicht unter fremdem Namen erstellt oder manipuliert werden
koennen, muessen wir zu Ihrem und unserem Schutz die rechtliche
Verbindlichkeit der vorstehenden Erklaerungen ausschliessen. Die fuer die
Stadtsparkasse Koeln geltenden Regeln ueber die Verbindlichkeit von
rechtsgeschaeftlichen Erklaerungen mit verpflichtendem Inhalt bleiben
unberuehrt.



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: War not being deployed automatically

2002-09-23 Thread Nicholas Orr

It may be more helpful if you could include your server.xml file, there is
most likely something wrong with this file.

Nicholas Orr

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 24 September 2002 11:05 AM
To: [EMAIL PROTECTED]
Subject: War not being deployed automatically


I'm new to Tomcat, so please forgive me if I am asking an obvious question,
but why 
isn't my .war file deploying?

I dropped the war into the webapps directory and restarted Tomcat (as I have
read to 
do), but the war is never deployed.

I don't have anything in the server.xml referencing it, it isn't being
redeployed (no 
directory in webapps by the same name).  It works fine for someone else, so
I guess the 
war file is fine.  If I unzip it and add the Context to server.xml it runs
fine.  No war file 
has ever deployed, including those shipped with struts.

I'm running Redhat 7.3, installed Tomcat using the rpm distribution, no
config changes 
other than adding a jar to the classpath and a few Context tags to the
server.xml.  
Tomcat is installed as standalone.

Any help or pointers to docs would be appreciated.

Thanks.

Robert


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Realtime Log File Viewer

2002-09-20 Thread Nicholas Orr

Hi

Is there a way to see additions made to the log files in real time? Like is
there someway you could get notified when something has been written to a
log file? Or can you some how hook into catilina, so that when ever
ServletContext.log(log something) is fired you get the string as well?

I'm just after real time logging. That's all.

Nicholas Orr


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Realtime Log File Viewer

2002-09-20 Thread Nicholas Orr

Sorry-
Windows 2k pro.
Tomcat 4.1.10

Tail? What is this for.

Nicholas Orr


-Original Message-
From: Barney Hamish [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 20 September 2002 6:51 PM
To: 'Tomcat Users List'
Subject: RE: Realtime Log File Viewer

Is your server on Windows or *nix?
Have you tried tail? That allows you to view the last X lines of the log in
real-time.
Hamish

 -Original Message-
 From: Nicholas Orr [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 20, 2002 10:48 AM
 To: Tomcat Mailing List
 Subject: Realtime Log File Viewer
 
 
 Hi
 
 Is there a way to see additions made to the log files in real 
 time? Like is
 there someway you could get notified when something has been 
 written to a
 log file? Or can you some how hook into catilina, so that when ever
 ServletContext.log(log something) is fired you get the 
 string as well?
 
 I'm just after real time logging. That's all.
 
 Nicholas Orr
 
 
 **
 The information contained in this e-mail is confidential and is
 intended only for the use of the addressee(s).
 If you receive this e-mail in error, any use, distribution or
 copying of this e-mail is not permitted. You are requested to
 forward unwanted e-mail and address any problems to the
 MIM Holdings Limited Support Centre.
 
 For general enquires: ++61 7 3833 8000
 Support Centre e-mail:[EMAIL PROTECTED]
 Support Centre phone: Australia 1800500646
   International ++61 7 38338042
 **
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Realtime Log File Viewer

2002-09-20 Thread Nicholas Orr

Ok, know of any widows ones? Also what does AW: stand for?

Nicholas Orr

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 20 September 2002 6:58 PM
To: Tomcat Users List
Subject: AW: Realtime Log File Viewer

That's a unix/linux real time file viewer.


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Realtime Log File Viewer

2002-09-20 Thread Nicholas Orr

Thanks,

I was just searching for wintail, the base site is www.wintail.com.

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 20 September 2002 7:02 PM
To: Tomcat Users List
Subject: AW: Realtime Log File Viewer

Here is a tail version for windows:

http://www.rhazes.com/cgi-bin/Utilitiy_0.asp

(Google is our friend)




**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Does Tomcat require restart when chaning classes?

2002-09-19 Thread Nicholas Orr

Click on this link

http://localhost:8080/manager/html/reload?path=/

This will reload the context / which is the ROOT context. 

Nicholas Orr

-Original Message-
From: Chuck Carson [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 13 September 2002 8:51 AM
To: Tomcat Users List
Subject: Does Tomcat require restart when chaning classes?


 
I had the following class:
$TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/MyClass.class
 
If I modify this class (ie recompile) how can I make it active w/o
restarting tomcat? As it stands now (with my current server config, which is
pretty much default) I can only get news changes visible after a server
restart.
 
Thanks,
CC
 
Chuck Carson 
Sr. Systems Administrator
Syrrx, Inc.
10410 Science Center Drive
San Diego, CA 92121
E: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
W: 858.731.3540
M: 858.442.0827


--
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system. E-mail transmission cannot be guaranteed to be
secure or error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The sender
therefore does not accept liability for any errors or omissions in the
contents of this message, which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. 


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires: ++61 7 3833 8000
Support Centre e-mail: [EMAIL PROTECTED]
Support Centre phone:  Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
tsdok


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Can anyone Undeploy an Existing Application in 4.1.10?

2002-09-12 Thread Nicholas Orr

I have all so run into this problem, so it isn't just you.
I just manually removed it from web.xml in \conf

Nicholas Orr

-Original Message-
From: Ben Rometsch [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, 12 September 2002 9:49 PM
To: 'Tomcat Users List'
Subject: RE: Can anyone Undeploy an Existing Application in 4.1.10?


Yes I have. You can't undeploy an existing application through that app. You
can only remove an application, which is different. 

I'm pretty sure the http://localhost:8080/manager/undeploy?path=/webapp
component is not working - has anyone managed to get it functioning
properly?

-Original Message-
From: Miguel Angel Mulero Martinez
[mailto:[EMAIL PROTECTED]] 
Sent: 12 September 2002 12:46
To: Tomcat Users List
Subject: RE: Can anyone Undeploy an Existing Application in 4.1.10?


Have you try the html version: http://localhost:8080/manager/html ?

I hope this will work

-Mensaje original-
De: Ben Rometsch [mailto:[EMAIL PROTECTED]]
Enviado el: jueves, 12 de septiembre de 2002 13:39
Para: [EMAIL PROTECTED]
Asunto: Can anyone Undeploy an Existing Application in 4.1.10?

Hi,

I am getting this error in both Windows XP and Gentoo Linux:

http://localhost:8080/manager/undeploy?path=/outreach

Always results in:

FAIL - Cannot remove document base for path /outreach

With, curiously, the following being logged:

2002-09-12 12:37:13 Manager: undeploy: Undeploying web application
at '/outreach'

I can't find any error messages in any of the log files. Running

http://localhost:8080/manager/list

Shows that the application is still there. Has ANYONE managed to get this
working in 4.1.10? Otherwise, I'll submit a bug...

Thanks,
Ben


--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Cant get 4.1.10 to run on Win2K

2002-09-12 Thread Nicholas Orr

Sounds to me like you have done something wrong.

This is all you need to do to get it to work on win2k pro

1. Remove both Tomcat and Java using add/remove programs
2. Download and install J2SE SDK from here -
http://java.sun.com/j2se/1.4/download.html make sure you get Windows (all
languages, including English) SDK
3. Download and install Tomcat from here -
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.10/bin/ and
get jakarta-tomcat-4.1.10.exe
3. a) Check install as service, just makes things easier.

If you just click next in both of these installs you will have a working
Tomcat install.  Just do this first and if it works then you can go about
customising it to where and what you want.

Nicholas Orr

-Original Message-
From: Mike Warne [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 13 September 2002 9:51 AM
To: [EMAIL PROTECTED]
Subject: Cant get 4.1.10 to run on Win2K


Hi I have tried unsuccessfully to get Tomcat to run under win2K

1st try was using j2re1.4 and installing the LE .exe.

The install program pauses at the point where it says copying to:
tomcat4.1/common/lib and then says:  copy failed.

However the install then completes.  When I open the browser to
localhost:8080  I get a org.apache.jasper.JasperException: Unable to compile
class for JSP An error occurred at line: -1 in the jsp file: null

Same goes for any of the WAR examples etc.

2nd then tried the FULL edition (not the LE) -- same problem. :(

3rd I tried installing the full edition again using JDK1.3.  This time the
copy does not fail.  But now I have this error:
---
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file
C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\_\index_jsp.java:266:
handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
cannot be applied to (java.lang.Throwable)
  if (pageContext != null) pageContext.handlePageException(t);
  ^
1 error


at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:120)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93)
at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:326)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
74)

Any Ideas?

Thanks, 
Mike.

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Does Tomcat require restart when chaning classes?

2002-09-12 Thread Nicholas Orr

Click on this link

http://localhost:8080/manager/html/reload?path=/

This will reload the context / which is the ROOT context. 

Nicholas Orr

-Original Message-
From: Chuck Carson [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 13 September 2002 8:51 AM
To: Tomcat Users List
Subject: Does Tomcat require restart when chaning classes?


 
I had the following class:
$TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/MyClass.class
 
If I modify this class (ie recompile) how can I make it active w/o
restarting tomcat? As it stands now (with my current server config, which is
pretty much default) I can only get news changes visible after a server
restart.
 
Thanks,
CC
 
Chuck Carson 
Sr. Systems Administrator
Syrrx, Inc.
10410 Science Center Drive
San Diego, CA 92121
E: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
W: 858.731.3540
M: 858.442.0827


--
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system. E-mail transmission cannot be guaranteed to be
secure or error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The sender
therefore does not accept liability for any errors or omissions in the
contents of this message, which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. 


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Using A Directory Server for a Realm??

2002-09-12 Thread Nicholas Orr

Hi,

Has anyone tried using a Novel or Active Directory for a Realm.  Would this
even be possible?

Nicholas Orr


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Servlet messages to xconsole

2002-09-12 Thread Nicholas Orr

Try modifying it to this.

PrimitiveServlet.java:
---
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.io.IOException;
import java.util.*;


public class PrimitiveServlet implements Servlet {

  public void init(ServletConfig config) throws ServletException {
System.out.println(init);
  }

  public void doGet(ServletRequest request, ServletResponse response)
throws ServletException, IOException {
System.out.println(You got me.);
  }

  public void destroy() {
System.out.println(destroy);
  }

  public String getServletInfo() {
return null;
  }
  public ServletConfig getServletConfig() {
return null;
  }

}

-Original Message-
From: Mr Anand Parikh [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 13 September 2002 1:34 PM
To: [EMAIL PROTECTED]
Subject: Servlet messages to xconsole


I am running tomcat 4.0.4, JDK 1.3, Debian linux
2.2.6.
The following example is from the book Java for the
Web with
Servlets, JSP, EJB by Budi Kurniawan.
It should send messages to the xconsole but I get
errors.
I am stuck... any help is highly appreciated.

Thanks,
Anand


PrimitiveServlet.java:
---
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.io.IOException;
import java.util.*;


public class PrimitiveServlet implements Servlet {

  public void init(ServletConfig config) throws ServletException {
System.out.println(init);
  }

  public void service(ServletRequest request,
ServletResponse
response)
throws ServletException, IOException {
System.out.println(service);
  }

  public void destroy() {
System.out.println(destroy);
  }

  public String getServletInfo() {
return null;
  }
  public ServletConfig getServletConfig() {
return null;
  }

}


Netscape Error:

The document contained no data.
Try again later or contact the server's administrator.


Log file:
---
2002-09-12 17:30:20 
StandardWrapper[/myApp:org.apache.catalina.INVOKER.Primitive]:
Marking servlet org.apache.catalina.INVOKER.Primitive
as unavailable
2002-09-12 17:30:20 invoker: Cannot allocate servlet
instance for path
/myApp/servlet/Primitive/
javax.servlet.ServletException: Wrapper cannot find
servlet class
Primitive or a class it depends on

- Root Cause -
java.lang.ClassNotFoundException: Primitive
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1406)


web.xml:
-
Since I don't have access to the internet on my Linux
machine, I have 
placed a copy of the DTD in a dir. I tried to access
the DTD using
both
of the following but I get the same error as mentioned
above:

http://java.sun.com/dtd/web-app_2_3.dtd
file://$CATALINA_HOME/webapps/myApp/web-app_2_3.dtd

__
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat scalability question

2002-09-09 Thread Nicholas Orr

Hi,

Just a suggestion.

Why not use Apache to take care of all the security? Ie have home
directories for each user and only the user has access to his/her home
directory, then apache can use a standard like http://localhost/~user and
everything is sepearate. It would be a lot easier to Administer. When you
delete or add new user they just have a webapps folder and it goes from
there.
Ie user/
 webapps/
   context1/
 index.jsp
 WEB-INF/
   classes/
 home.class
   lib/
 tools.jar
   web.xml

   context2/
 index.jsp
 WEB-INF/
   classes/
 cool.class
   lib/
 goodstuff.jar
   web.xml

I don't know if that would work. It might need to to be reorganised. But a
system like this would be a lot better than administering a 500+ entry xml
file.

Oh well some other people will have more of an idea if this is possible. I
know Apache can have the ~user bit and it just maps to home directories
under /home/usr/username.

Nicholas Orr

-Original Message-
From: Pat Schaider [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 10 September 2002 4:08 PM
To: [EMAIL PROTECTED]
Subject: Tomcat scalability question


Hello all --

I have a configuration problem on my setup of Tomcat (v 4.0.3).  I am
managing this machine for my university's CS department, so there are issues
of security that must be followed, namely that students should not be able
to view each others source code (== cheating).  We are using the security
manager to enforce this (so one context cannot open files in another).

Less than 5% of the pages on the system are static, so we are using Tomcat
in standalone mode on a Linux system.  We have made contexts for each user
so that we can override the location of home directories, log files, etc.
Note that students do not have logins on this machine; their Tomcat-related
files are exported to student use machines.  See the bottom of this email
for pertinent config info.

The server starts up correctly (./startup.sh -security) and deploys and
serves the webapps fine.  But here's the problem: when a user decides to
make a new jsp file, Tomcat cannot compile or process that new file. 
The old files in the directory still display properly; Tomcat gives a
Permission Denied error citing the working directory version of the new file
in question.

- message
/usr/local/jakarta-tomcat-4.0.3/work/localhost/user/tomcat/webapps/jsp/grade
rFiles/graderC$jsp.java (Permission denied)

Here's some site-specific config info that will be useful. Tomcat version:
4.0.3 Standalone from binaries There are about 250 contexts that get loaded
when the server starts.  A `ps aux` listing shows about 500 processes
associated with Tomcat running.  The machine is a P3-800 with 512 MB of
memory, and does not have any other heavy services running on it, so Tomcat
has full run of the box.  If you need more info for diagnosis, email me and
I will provide it.

Does anyone have experience setting up a system along these lines?  I
realize it's probably an extension of what Tomcat is supposed to be used for
with all the different contexts, but there has to be a way!  Any help is
appreciated.

server.xml without comments
===
Server port=8005 shutdown=SHUTDOWN debug=0
  Service name=Tomcat-Standalone
Connector
className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443
acceptCount=10 debug=0 connectionTimeout=6/

Engine name=Standalone defaultHost=localhost debug=0

  Logger className=org.apache.catalina.logger.FileLogger
  prefix=catalina_log. suffix=.txt
  timestamp=true/

  Host name=localhost debug=0 appBase=webapps 
unpackWARs=true

!-- user1 --
Context path=/user1 docBase=/tomcat/user1
 debug=0 reloadable=true crossContext=false
/Context
!-- user2 --
Context path=/user2 docBase=/tomcat/user2
 debug=0 reloadable=true crossContext=false
/Context

  /Host
/Engine
  /Service
/Server
===

Thanks in advance for any help you can provide.  Apologies for the lengthy
email.

Pat Schaider
doctor {at} wt {dot} net

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646

RE: Tomcat scalability question

2002-09-09 Thread Nicholas Orr

(As far as the server.xml goes, I have it all scripted with the data coming
from databases, so it's relatively easy to make a version of the
file...)

Oh, well, that's cool then. I'm not a guru at Tomcat I was just trying make
a suggestion. But I see your point with Tomcat running as Tomcat user and
thus has access to everything.

Well hope you get a solution.

Nicholas Orr

-Original Message-
From: Pat Schaider [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 10 September 2002 4:57 PM
To: Tomcat Users List
Subject: RE: Tomcat scalability question


I should clarify.  Security in this case means a student should not be
able to view the source code of another student.  Because we are exporting
the files but they still need to be accessible by Tomcat, each user
directory is 570 tomcat:user and all files inside are world readable.  This
allows the files to be secure from the perspective of the filesystems on
both the exporting and mounting machines but still be all readable by
Tomcat.  

However, another way a student could look at other files is by using a
BufferedReader within a servlet/jsp and simply viewing/saving the contents.
Since Tomcat is running as the tomcat user and not them, it has access to
the files.  This is something that the Tomcat security manager should take
care of, enforcing the boundaries between the students' directories that all
exist at the same logical level.  I don't think Apache can make the
distinction between the files that a servlet/jsp is opening in this instance
if Tomcat has unrestricted access between all contexts.

If I am wrong in this respect, please correct me.  I would love a simple
solution.

(As far as the server.xml goes, I have it all scripted with the data coming
from databases, so it's relatively easy to make a version of the
file...)

Pat Schaider

On Mon, 2002-09-09 at 20:19, Nicholas Orr wrote:
 Hi,
 
 Just a suggestion.
 
 Why not use Apache to take care of all the security? Ie have home 
 directories for each user and only the user has access to his/her home 
 directory, then apache can use a standard like http://localhost/~user 
 and everything is sepearate. It would be a lot easier to Administer. 
 When you delete or add new user they just have a webapps folder and it 
 goes from there. Ie user/
  webapps/
context1/
  index.jsp
  WEB-INF/
classes/
  home.class
lib/
  tools.jar
web.xml
 
context2/
  index.jsp
  WEB-INF/
classes/
  cool.class
lib/
  goodstuff.jar
web.xml
 
 I don't know if that would work. It might need to to be reorganised. 
 But a system like this would be a lot better than administering a 500+ 
 entry xml file.
 
 Oh well some other people will have more of an idea if this is 
 possible. I know Apache can have the ~user bit and it just maps to 
 home directories under /home/usr/username.
 
 Nicholas Orr
 
 -Original Message-
 From: Pat Schaider [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, 10 September 2002 4:08 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat scalability question
 
 
 Hello all --
 
 I have a configuration problem on my setup of Tomcat (v 4.0.3).  I am 
 managing this machine for my university's CS department, so there are 
 issues of security that must be followed, namely that students should 
 not be able to view each others source code (== cheating).  We are 
 using the security manager to enforce this (so one context cannot open 
 files in another).
 
 Less than 5% of the pages on the system are static, so we are using 
 Tomcat in standalone mode on a Linux system.  We have made contexts 
 for each user so that we can override the location of home 
 directories, log files, etc. Note that students do not have logins on 
 this machine; their Tomcat-related files are exported to student use 
 machines.  See the bottom of this email for pertinent config info.
 
 The server starts up correctly (./startup.sh -security) and deploys 
 and serves the webapps fine.  But here's the problem: when a user 
 decides to make a new jsp file, Tomcat cannot compile or process that 
 new file. The old files in the directory still display properly; 
 Tomcat gives a Permission Denied error citing the working directory 
 version of the new file in question.
 
 - message
 /usr/local/jakarta-tomcat-4.0.3/work/localhost/user/tomcat/webapps/jsp
 /grade
 rFiles/graderC$jsp.java (Permission denied)
 
 Here's some site-specific config info that will be useful. Tomcat 
 version: 4.0.3 Standalone from binaries There are about 250 contexts 
 that get loaded when the server starts.  A `ps aux` listing shows 
 about 500 processes associated with Tomcat running.  The machine is a 
 P3-800 with 512 MB of memory, and does not have any other heavy 
 services running on it, so Tomcat has full run of the box.  If you 
 need more info for diagnosis, email me and I will provide

What about setting a script/servlet/jsp timeout?

2002-09-05 Thread Nicholas Orr

Hi,

I know you can set session timeouts, is there a way to set
script/servlet/jsp timeouts, so it applies over the whole Tomcat Instance?
At the moment I am doing a lot of loops and some of them, by accident, end
up being never ending and I have to kill tomcat to stop them.

I have had a of look in the doc but haven't been able to find anything.

Nicholas Orr


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: What about setting a script/servlet/jsp timeout?

2002-09-05 Thread Nicholas Orr

Well is there a way to isolate it to a context??

Reason I'm asking is in IIS it lets you specify a script timeout value, I
was just wondering if there is a similar feature in Tomcat.

Nicholas Orr

-Original Message-
From: Glenn Nielsen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 6 September 2002 6:51 AM
To: Tomcat Users List
Subject: Re: What about setting a script/servlet/jsp timeout?


Concurrent requests to Tomcat each run in their own thread.

There is no easy way to timeout a thread running arbitrary application
code.

So there is no way to timeout a request.

Regards,

Glenn



**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Servlets are not executing init()

2002-09-02 Thread Nicholas Orr

Hi,

I have just reinstalled my computer, fdisk, format install.  I have packaged
up my webapp into a war and deployed it to Tomcat. But when I go to the
servlet I get null pointer exception errors, because somethings have not
been executed in the init() methods.

What would be the reason for the init methods not being executed??? Is there
a proper way to test this is the problem?
It was working yesturday, I haven't changed any code just reinstalled my
system.

If you need more info I can give it, if you want the war file I can upload
it somewhere.

Please help me,

Nicholas Orr


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Servlets are not executing init() **Resolved**

2002-09-02 Thread Nicholas Orr

Found out the problem, there was a ClassNotFoundException Error, fixed and
all is working, forgot to install a database driver.

Nicholas Orr

-Original Message-
From: Nicholas Orr [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 3 September 2002 10:42 AM
To: Tomcat Mailing List
Subject: Servlets are not executing init()


Hi,

I have just reinstalled my computer, fdisk, format install.  I have packaged
up my webapp into a war and deployed it to Tomcat. But when I go to the
servlet I get null pointer exception errors, because somethings have not
been executed in the init() methods.

What would be the reason for the init methods not being executed??? Is there
a proper way to test this is the problem? It was working yesturday, I
haven't changed any code just reinstalled my system.

If you need more info I can give it, if you want the war file I can upload
it somewhere.

Please help me,

Nicholas Orr



**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: TC4.1.10: Can't install new app directly from GUI

2002-09-02 Thread Nicholas Orr

Hi,

I haven't used the gui manager but I have noticed that in your:
WAR URL:
file:/c:/cygwin/home/dmkarr/java/struts-el/dist/webapps/exercise-taglib

You are using file:/ instead of file:/// which is required.
You see:
java.net.MalformedURLException: no protocol:.

Means it didn't find http://, ftp:// file:/// which are the valid protocols,
there may be more but these are the main ones.

Hope this helps,

Nicholas Orr

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 3 September 2002 2:13 PM
To: [EMAIL PROTECTED]
Subject: TC4.1.10: Can't install new app directly from GUI


I very recently upgraded from TC 4.0.4 to TC 4.1.10.  I hadn't looked at the
manager app before (I don't know when it became a reality).  It looks quite
convenient.

It is very nice once I get an application installed.  Then, I can just
reload and rerun the app without restarting TC.  It appears that you can
only do a Reload when you've installed a non-WAR (exploded directory).  This
is fine, but what I'm having trouble with is figuring out how to install a
new app directly from the GUI.  I've been able to do it through the browser
URL api, but not from the GUI.  I don't see any documentation on how to use
the Manager GUI, although most of it is pretty self-explanatory.

In the Install: box, there are three fields:

1. Path   - I would guess this would be the context root for the
application
2. Config URL - I'm not certain what this would be
3. WAR URL- I would assume this is the path to the WAR or to the root of
the exploded directory.

So, I would figure that I would enter the following values and click
Install (the two non-null values are exactly the values I used on the URL
api):

Path:   /strutsel-exercise-taglib
Config URL: blank
WAR URL:
file:/c:/cygwin/home/dmkarr/java/struts-el/dist/webapps/exercise-taglib

When I click Install, I get FAIL - Encountered exception
java.net.MalformedURLException: no protocol:.

One other annoying aspect of this is that once you get the error, it blows
away the field values.  I would guess that if I had mistyped one character
in a long URL, it would fail with some sort of a not found error, and make
me start over.  In addition, it might make it friendlier if the field widths
were wider (perhaps one per line?).

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to get debug info

2002-06-02 Thread Nicholas Orr

What I mean is say file1.jsp has the following
jsp:include page=file2.jsp flush=true /
And in file2.jsp I forgot a ';'. When I open file1.jsp I don't get the error
that a semi-colon is missing in file2.jsp.  What happens is it just has a
blank page with nothing on it.


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to get debug info

2002-06-02 Thread Nicholas Orr

I thought you may want to have a look at this.  

Open file1.jsp and when it has loaded you will see there is no following
line where file2.jsp is suppose to put a string of text.  Now go into
file2.jsp and stick a semi-colon at the end of the first line.

I think this is a bug, where do you send this sort of thing??



**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**




file1.jsp
Description: Binary data


file2.jsp
Description: Binary data

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: How to get debug info

2002-06-02 Thread Nicholas Orr

Yeah there is output in the following file:
localhost_log.2002-06-03.txt

But why don't they just make it show in the browser, asp does.

-Original Message-
From: Chris Campbell [mailto:[EMAIL PROTECTED]] 
Sent: Monday, June 03, 2002 1:59 PM
To: 'Tomcat Users List'
Subject: RE: How to get debug info


Surely there must be output in the server (System.err) log though? (or
catalina.out) I don't think it's part of the specification that the error
message need be displayed in the browser - this is more or less just a
convenience. 

ChrisC

 -Original Message-
 From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 03, 2002 8:22 AM
 To: Tomcat Users List
 Subject: Re: How to get debug info
 
 
 Interesting.  Maybe this is a bug?  Does the jsp
 specification shed any
 light on the specified behavior?
 
 fillup
 
 
 
 On 6/2/02 4:14 PM, Nicholas Orr [EMAIL PROTECTED] wrote:
 
  What I mean is say file1.jsp has the following
  jsp:include page=file2.jsp flush=true /
  And in file2.jsp I forgot a ';'. When I open file1.jsp I
 don't get the error
  that a semi-colon is missing in file2.jsp.  What happens is
 it just has a
  blank page with nothing on it.
  
  
  
 **
  The information contained in this e-mail is confidential and is 
  intended only for the use of the addressee(s). If you receive this 
  e-mail in error, any use, distribution or copying of this e-mail is 
  not permitted. You are requested to forward unwanted e-mail and 
  address any problems to the MIM Holdings Limited Support Centre.
  
  For general enquires:++61 7 3833 8000
  Support Centre e-mail:[EMAIL PROTECTED]
  Support Centre phone:  Australia 1800500646
  International ++61 7 38338042
  
 **
  
  
  --
  To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
  
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Having a Newbie Delamere here.

2002-05-30 Thread Nicholas Orr

Again coming from the ASP world of doing things.
in ASP you can open a connection to a Database (DB) and execute a bunch of
queries and do whatever you need to then after you have finished close the
connection.

Now I have tried to do this in jsp, but not having much luck.  Keep getting
'Result set type is TYPE_FORWARD_ONLY'

Cause In ASP when you start a new ResultSet, after you have closed the
previous one, (asp equiv = recordset) It automatically goes back to the
begining as it should, but in jsp it seems to just hang around at rs.last().

!I don't know!

Well if you could help, I would appreciate it, Source included.

Regards,

Nicholas




**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**




LanIDForm.jsp
Description: Binary data

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: Having a Newbie Delamere here.

2002-05-30 Thread Nicholas Orr

ps. these are not really tomcat questions
Your right, i'll go find a forum.

Thanks anyway


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Having a Newbie Delamere here.

2002-05-30 Thread Nicholas Orr

I just let spell check fix my spelling, I was trying to spell a word that
means 'problem' it starts with d. Sorry if you thought it was something to
do with you, it wasn't.

-Original Message-
From: Michael Delamere [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 30, 2002 10:50 PM
To: Tomcat Users List
Subject: Re: Having a Newbie Delamere here.


Sorry, this is bit off topic but what is a Newbie Delamere ??

Regards Michael Delamere :-)



**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Need Help plz

2002-05-30 Thread Nicholas Orr

I'm using windoz and IIS5.0 with TC 4.0.3 and when I put in file.jsP and
file.jsp exists I get a resource not found error then when I put in file.jsp
it loads file.jsp

  -Original Message-
  From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 30, 2002 3:24 PM
  To: [EMAIL PROTECTED]
  Subject: Need Help plz
 
 
 
  Hi ,
 
i need  help please in two subjects .. My problems are what 
  configuration I should have to do in the server to prevent:
 
   1)   Prohibit downloading the *.jsp files from any client on the
  internet... [ I noticed that if  I wrote the URL of my site ending 
  with myFile.JSP  [ JSP in Capital letters] the page not opened ! , 
  but  the server offered me to download the file it self ! ..Which I 
  don#8217;t want any user knows this property to download my own 
  source-code jsp files!
 
   2)   My application  is  depend on a password
 authentication  , which
  I don#8217;t want  any cracker to keep trying usernames/passwords 
  for many tries ..  How should I tell the server to block an ip
 after 3 times
  tries [for example] and for how long this ip will be blocked!
 
are thses problems related with the Apache server or Tomcat serve 
  or both of them !!.. does anyone face like these problems ?!
 
 
   Java_lover : Walid
 
  --
  To unsubscribe, e-mail: 
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
  mailto:[EMAIL PROTECTED]
 
 
 
  --
  To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Need Help plz

2002-05-30 Thread Nicholas Orr

Well it happens like that when I go straight to TC via http://localhost:8080

-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 31, 2002 9:24 AM
To: Tomcat Users List
Subject: RE: Need Help plz


Hmm, well we don't really know what kind of environment Walid is using, so I
can't say why he has that problem and you don't.  The configuration for IIS
may include filtering to protect against case problems, but I really can't
say.  I don't use IIS very much, and when I do it's with JRUN.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: Nicholas Orr [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 30, 2002 4:19 PM
 To: 'Tomcat Users List'
 Subject: RE: Need Help plz


 I'm using windoz and IIS5.0 with TC 4.0.3 and when I put in file.jsP 
 and file.jsp exists I get a resource not found error then when I put 
 in file.jsp it loads file.jsp

   -Original Message-
   From: Walid Mohamed Al Abbadi [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, May 30, 2002 3:24 PM
   To: [EMAIL PROTECTED]
   Subject: Need Help plz
  
  
  
   Hi ,
  
 i need  help please in two subjects .. My problems are what 
   configuration I should have to do in the server to prevent:
  
1)   Prohibit downloading the *.jsp files from any client on the
   internet... [ I noticed that if  I wrote the URL of my site 
   ending with myFile.JSP  [ JSP in Capital letters] the page not 
   opened ! , but  the server offered me to download the file it 
   self ! ..Which I don#8217;t want any user knows this property to 
   download my own source-code jsp files!
  
2)   My application  is  depend on a password
  authentication  , which
   I don#8217;t want  any cracker to keep trying 
   usernames/passwords for many tries ..  How should I tell the 
   server to block an ip
  after 3 times
   tries [for example] and for how long this ip will be blocked!
  
 are thses problems related with the Apache server or Tomcat 
   serve or both of them !!.. does anyone face like these problems 
   ?!
  
  
Java_lover : Walid
  
   --
   To unsubscribe, e-mail: 
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail: 
   mailto:[EMAIL PROTECTED]
  
  
  
   --
   To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
The information contained in this e-mail is confidential and is intended
only for the use of the addressee(s). If you receive this e-mail in error,
any use, distribution or copying of this e-mail is not permitted. You are
requested to forward unwanted e-mail and address any problems to the MIM
Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




How to get debug info

2002-05-30 Thread Nicholas Orr

I have the follwing
-- File1.jsp --
%
code
%
html
body
jsp:inlcude page=File2.jsp flush=true /
/body
/html

How do I get the error info from File2.jsp?  And does File2.jsp inherit
objects from File1.jsp?


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: HELP: IIS 5.0 and Tomcat 4.0.3

2002-05-29 Thread Nicholas Orr

Thanks for that, exactly what I needed.
I think this is the better of the two
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html

-Original Message-
From: Terrence Knoesen [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 29, 2002 5:52 PM
To: 'Tomcat Users List'
Subject: RE: HELP: IIS 5.0 and Tomcat 4.0.3


Hello there Nicholas
Take a look at this it should help
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/
Terrence.


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




This has me ???Puzzled???: Switch being done but not really

2002-05-29 Thread Nicholas Orr

I have attached two files Source.txt and Error.txt.

Have a look at the Error.txt file first, then look at the Source.txt file.

Now tell me, is the switch statement getting done or not? I would think it
is getting done but the values are not being passed.

Puzzeld and Amazed,

Nicholas




**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**



Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error



type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error) that 
prevented it from fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile class for JSPNote: 
sun.tools.javac.Main has been deprecated.


An error occurred at line: 47 in the jsp file: /Forms/LanIDForm.jsp

Generated servlet error:
C:\Program 
Files\Java\Jakarta\Tomcat-4.0\work\localhost\_\Forms\LanIDForm$jsp.java:102: Variable 
sSubTitle may not have been initialized.
out.print( sSubTitle);
   ^


An error occurred at line: 60 in the jsp file: /Forms/LanIDForm.jsp

Generated servlet error:
C:\Program 
Files\Java\Jakarta\Tomcat-4.0\work\localhost\_\Forms\LanIDForm$jsp.java:116: Variable 
sFormName may not have been initialized.
out.print( sFormName);
   ^


An error occurred at line: 91 in the jsp file: /Forms/LanIDForm.jsp

Generated servlet error:
C:\Program 
Files\Java\Jakarta\Tomcat-4.0\work\localhost\_\Forms\LanIDForm$jsp.java:167: Variable 
sPageName may not have been initialized.
JspRuntimeLibrary.include(request, response,  sPageName + 
_jspx_qStr, out, true);
  ^
3 errors, 1 warning

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 

RE: This has me ???Puzzled???: Switch being done but not really

2002-05-29 Thread Nicholas Orr

Thanks for that, How come those lines make all the difference?
When I had a 'default' case in my switch everything worked fine, but I
didn't want a default in there.  So I took it out.  Then I got my problem,
how come.

Nicholas

-Original Message-
From: Galbayar [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 30, 2002 9:28 AM
To: Tomcat Users List
Subject: RE: This has me ???Puzzled???: Switch being done but not really


add this
sPage = request.getParameter(Page);
sSubTitle=null;
sFormName=null;
sPageName


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




How to make ROOT point to C:\

2002-05-28 Thread Nicholas Orr

Hi do I make root point to the c: drive??


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Dictate what happens when page loads based on the Querry Stri ng

2002-05-28 Thread Nicholas Orr

Thanks for your help,

All I needed to do was see if there was a value for the querry string.
Thanks for pointing that out.

if(sPage == null) is all I needed, it works fine now


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




How To: Setting up Virtual Folders

2002-05-26 Thread Nicholas Orr

Hi,

I want to set up a virtual folder how do I do it?
I want it to point to c:\.

This is a dev server so there is no need to say you shouldn't do that as it
is not connected to the internet, it is just so I can use Tomcat with Namo
Web Editor 5.

Btw, I'm using Tomcat 4.0.3

Nick


**
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
International ++61 7 38338042
**


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]