RE: logging

2002-10-31 Thread Pearsall, Kyle
I removed all Loggers from the server.xml file, and the catalina log no longer shows 
up in the log directory.  Thank you!

Now, is there anyway to turn off the access logging and the standard error and output 
loggging?  stderr.log, stdout.log, and localhost_access_log.2002-10-31.txt still 
appear in the logs directory.  How can I turn these functions off?

Thank you in advance for the help,
Kyle P.

-Original Message-
From: Dave Patton [mailto:dave;mymobile.info]
Sent: Wednesday, October 16, 2002 11:11 AM
To: Tomcat Users List
Subject: Re: logging


Remove all Loggers from the server.xml file

On Wed, 2002-10-16 at 09:41, Pearsall, Kyle wrote:
 I would like to be able to turn off all logging as possible on Tomcat.  What is the 
best way to do this?
 
 Thanks,
 Kyle
 
 --
 To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org


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


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




RE: logging

2002-10-31 Thread Pearsall, Kyle
That worked...Thanks!  Any ideas for stopping the logging to stderr.log and stdout.log?

Thanks,
Kyle P.

-Original Message-
From: Shapira, Yoav [mailto:Yoav.Shapira;mpi.com]
Sent: Thursday, October 31, 2002 1:41 PM
To: Tomcat Users List
Subject: RE: logging


Hi,
You can turn off the access logging by commenting out the AccessLogValve
in server.xml.


Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Pearsall, Kyle [mailto:Kyle.Pearsall;cda.canon.com]
Sent: Thursday, October 31, 2002 4:39 PM
To: Tomcat Users List
Subject: RE: logging

I removed all Loggers from the server.xml file, and the catalina log
no
longer shows up in the log directory.  Thank you!

Now, is there anyway to turn off the access logging and the standard
error
and output loggging?  stderr.log, stdout.log, and
localhost_access_log.2002-10-31.txt still appear in the logs directory.
How can I turn these functions off?

Thank you in advance for the help,
Kyle P.

-Original Message-
From: Dave Patton [mailto:dave;mymobile.info]
Sent: Wednesday, October 16, 2002 11:11 AM
To: Tomcat Users List
Subject: Re: logging


Remove all Loggers from the server.xml file

On Wed, 2002-10-16 at 09:41, Pearsall, Kyle wrote:
 I would like to be able to turn off all logging as possible on
Tomcat.
What is the best way to do this?

 Thanks,
 Kyle

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


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


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


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




local machine access only?

2002-07-03 Thread Pearsall, Kyle

Is there a way a simple way to set up Tomcat so that only the local machine 
(localhost) can access the web site?

Thank you,

Kyle Pearsall

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




RE: local machine access only?

2002-07-03 Thread Pearsall, Kyle

That worked!

Thanks,

Kyle

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 10:15 AM
To: Tomcat Users List
Subject: Re: local machine access only?


When declaring your connectors in server.xml add address=127.0.0.1.
EG:
Connector className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5 maxProcessors=75
address=127.0.0.1 enableLookups=true redirectPort=8443
acceptCount=10 debug=0 connectionTimeout=6/


Pearsall, Kyle wrote:
 Is there a way a simple way to set up Tomcat so that only the local machine 
(localhost) can access the web site?
 
 Thank you,
 
 Kyle Pearsall
  


--
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]




PATH issue

2002-07-10 Thread Pearsall, Kyle

I have set up Tomcat with an addition to the PATH in startup.bat (set 
PATH=..\webapps\TestServlet\dll;%PATH%).  When Tomcat starts from this batch file, 
the servlet can access files in this directory.  However, when Tomcat runs as a 
service, the servlet can't access the files in this directory.  Tomcat produces 
javax.servlet.ServletException and java.lang.UnsatisfiedLinkError messages.  It seems 
the NT Tomcat service bypasses startup.bat.  
How can I set up the NT service to load the PATH statement above?  Is this possible?  
Considering the nature of the product, I can't update the path manually in the Windows 
environment variables (although this does work).  And I would like to keep the files 
inside the servlet, and not in the Tomcat\bin directory (I tried this and it works as 
well).
What can I do?
Thank you in advance for your help.
Kyle Pearsall

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




RE: JasperException: Unable to compile class for JSP

2002-06-20 Thread Pearsall, Kyle

I'm not convinced yet that I've done everything I can with Tomcat yet to get my JSPs 
to work properly.  The error below (and others like it from different JSP pages) don't 
appear in other web servers, such as Weblogic 5.1.  The same JSPs compile properly on 
these other web servers.  I've made no modifications to the code.  I'm sure numerous 
exceptions will appear over many JSP pages on Tomcat as it is now.  What I am 
wondering is whether there may be a way to customize tomcat with a different JSP 
compiler.

I do admit I am a newbie at this...there is alot to Tomcat and JSP I don't understand 
yet.

Your help is most appreciated.

Thank you,

Kyle P.

-Original Message-
From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 19, 2002 5:27 PM
To: 'Tomcat Users List'
Subject: RE: JasperException: Unable to compile class for JSP


I think your answer is right in the output:

Incompatible type for method. Explicit cast needed to convert
java.lang.Throwable to java.lang.Exception

instead of:
--
if (pageContext != null) pageContext.handlePageException(t);
--

Try this:
--
if (pageContext != null) pageContext.handlePageException((Exception) t);
--


-Andrew Conrad



-Original Message-
From: Pearsall, Kyle [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, June 19, 2002 8:00 PM
To: Tomcat (E-mail)
Subject: JasperException: Unable to compile class for JSP

Thank you for the help with Tomcat and SQL server 2000.

Now I get a different problem.  The jsp files can't compile correctly at
runtime.  This code works properly on Weblogic 5.1.  Do I need to fix
something in Tomcat?  Any suggestions?

Thank you,

Kyle P.

org.apache.jasper.JasperException: Unable to compile class for JSP
D:\TOMCAT\work\Standalone\localhost\dhimaging\jsp\Albums$jsp.java:689:
Incompatible type for method. Explicit cast needed to convert
java.lang.Throwable to java.lang.Exception.
if (pageContext != null) pageContext.handlePageException(t);
 ^
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]




RE: JasperException: Unable to compile class for JSP

2002-06-21 Thread Pearsall, Kyle

Thank you for your reply.

I am using Tomcat 4.0.4 with JDK 1.3.1.  They were both clean installs.  Does Tomcat 
4.0.4 have any issues with this JDK?  Should I upgrade to JDK 1.4?

I will look into this further.

Kyle

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 11:50 PM
To: Tomcat Users List
Subject: AW: JasperException: Unable to compile class for JSP



Your error message sounds as if pageContext.handlePageException() 
is is defined to accept just an Instance of Exception not Throwable.
That could be caused be a jar file that contains an older version
of the jsdk. (servlet.jar, ...) Have a look at your jar files
that are used for your tomcat. (Don't forget {JAVA_HOME}\jre\lib\ext !)

- Which Version of tomcat do you use ?  

 -Ursprüngliche Nachricht-
 Von: Pearsall, Kyle [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 20. Juni 2002 02:00
 An: Tomcat (E-mail)
 Betreff: JasperException: Unable to compile class for JSP
 
 
 Now I get a different problem.  The jsp files can't compile 
 correctly at runtime.  This code works properly on Weblogic 
 5.1.  Do I need to fix something in Tomcat?  Any suggestions?
 
 
 org.apache.jasper.JasperException: Unable to compile class for JSP
 D:\TOMCAT\work\Standalone\localhost\dhimaging\jsp\Albums$jsp.j
 ava:689: Incompatible type for method. Explicit cast needed 
 to convert java.lang.Throwable to java.lang.Exception.
   if (pageContext != null)  pageContext.handlePageException(t);
  ^

--
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]




Tomcat service -- it won't start

2002-09-04 Thread Pearsall, Kyle

I attempted to start Apache Tomcat 4.0.4 from the services panel in Windows.  But a 
message came up...

The Apache Tomcat service on Local Computer started and then stopped.  Some services 
stop automatically if they have no work to do, for example, the Performance Logs and 
Alerts service.

I have used Tomcat many times before, but I have never gotten this message.  I am 
using XP professional.  But I have previously had no problem getting the service to 
start on XP pro.  Also, I can load up Tomcat just fine from the Startup.bat file.  I 
installed Tomcat with the minimal settings, with only the Tomcat program and the 
service installed.  No documentation, examples or anything else.

Does anyone know why this might be happening?  Should I look for anything particular 
in the log files?  I looked in them and didn't find anything that seemed important.  
What should I do?

Thank you for the help,
Kyle P.

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




logging

2002-10-16 Thread Pearsall, Kyle

I would like to be able to turn off all logging as possible on Tomcat.  What is the 
best way to do this?

Thanks,
Kyle

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