As far as I know you have to go higher than 4.1.12, to .13 or .14, there's a
bug with allowLinking. Check bugzilla, check the archives to be sure.
John
-Original Message-
From: Paolo Scaffardi [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 8:03 AM
To: [EMAIL PROTECTED]
hi troy!
You can take oracle.jdbc.OracleDriver as well (the oracle forum told me that
oracle.jdbc.driver.OracleDriver is only kept for backwards compatibility).
If I remove following parameters then it works fine with my application:
parameter
namemaxLimit/name
value10/value
Having trouble using this jar file which has code for an Equifax interface (credit
check). I've been given a jar file with sample
code. Where do I put in the tomcat directory and how do I reference it in a jsp
page? Do I need to do anything on the
server to configure?
The package is
I don't even know what the questions were? I hope they were answered,
Sir. If not, I would keep trying. Don't apologize to this honkers. They
are not big on Geese on Earth. ///8--)
At 09:51 AM 12/9/2002 -0500, you wrote:
First that all, sorry by my english. Since the Friday 07 of December,
Hi,
I'm using an Apache --- 3 Tomcats loadbalancing scenario with
Apache 1.3.26 mod_jk 1.2.0
3 x tomcat 4.0.4
The tomcats are configured with:
Xmx: 512m
AJP13 Connector allows for 800 connections
Each worker is set up like this and added to an loadbalanced worker
worker.host1.port=8009
John,
Thanks.. I would not have imagined it would be that sensitive
since I compiled both from scratch.. Ok I download the latest and
repeat the process..
John...
Turner, John wrote:
Where is there to look? Upgrade your Apache. There are several security
fixes between .40 and
okay I put the jar file in /tomcat/webapps/ROOT/WEB-INF/lib (I had to actually create
the lib folder)
I used this in my jsp page.
%@ page import=com.equifax.rcas.*%
getting an error of:
/web1/labwerks/tomcat/work/Standalone/localhost/_/dev/credit_check_jsp.java:7: package
com.equifax.rcas
Hi Thomas...
What version of Tomcat are you using?
Are you using classes12.jar (zip)?
thanks!
~ t r o y ~
-Original Message-
From: Thomas Achleitner [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 11:15 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1, DBCP and Oracle
hi
hi!
tomcat 4.1.12
classes12.jar
thomas
-Original Message-
From: Campano, Troy [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 5:22 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1, DBCP and Oracle
Hi Thomas...
What version of Tomcat are you using?
Are you using
Oracle has changed the driver class for version 1.1x to 1.2. In 1.1x it was
oracle.jdbc.driver.OracleDriver while in 1.2 is oracle.jdbc.OracleDriver -
so use the driver depending upon the version you are using (you can
unjar/unzip and you'd find what class you really have).
Regards,
Manav.
In earlier versions of the servlet spec, you must call setContentType()
before you call getOutputStream().
Although I thought this was changed in later versions, so maybe this is a
red herring.
Andy.
-Original Message-
From: Chris Parker
To: Tomcat Users List
Sent: 09/12/2002 16:01
Woa...
Could you send me a copy of your server.xml, web.xml, and how you create the
connection in your Servlet/JSP?
That would be greatly appreciated.
thank you very much!
~ t r o y ~
-Original Message-
From: Thomas Achleitner [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09,
Hi,
Apache Tomcat 4.1.12
Windows XP SP1
Standalone
I have created a new context, called 'stores'. This new context works fine
with JSP, except on one small thing.
(1) This works fine:
html
headtitleHello World!/title/head
body
You are using: %= new java.util.Date().toString() %
/body
/html
Thanks to everyone who contributed to this thread - especially Eric Roberts
- I now have a connection pool to my AS/400 (iSeries) DB2 database server.
Here is what I did - Upgraded my 4.0.1 Tomcat to 4.1.12.
Put jt400.jar in TOMCAT/common/lib
Here is what I put in my server.xml file ---
!--
Don't know which snoop example you have, but mine doesn't look anything
like yours.
Mine just says %= request.getHeader(User-Agent) %.
It doesn't have any of that other HTMLFilter.Filter stuff. As an aside,
you're getting the error message because you are declaring
I can tell you, but I think you will misunderstand. File certainFolder =
new File([folder file url]); You need to read a Java book on
files. There are lots of good ones. You can actually just read the
interface, JavaDocs, for File and pretty much get the answer. Most Java
books include
You just want some functionality in a class. Where you use it is not
immediately important. Just use it in a servlet. If you don't know how to
use servlets, that is a separate problem. Check out Hunter and Crawford on
servlets.
At 12:37 PM 12/9/2002 +0100, you wrote:
Patrick Kosiol
Well, you have lots of answers now.
At 08:40 AM 12/9/2002 -0500, you wrote:
In 3 opportunities i wrote to this stuped (sorry) list, and NEVER i found
help.
I hope that the people that participates of this list, don´t have damages
about
other people that don´t belong´s at your countries.
Here are the relevant snapshots of the code (classes12.jar in common/lib):
server.xml:
Resource name=jdbc/OracleDS auth=Container
type=oracle.jdbc.pool.OracleConnectionCacheImpl/
ResourceParams name=jdbc/OracleDS
What do the Apache logs say for those requests?
John
-Original Message-
From: Sarah Grimley [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 10:51 AM
To: Tomcat Users List
Subject: Advice please: Apache doesn't seem to resolve Tomcat symbolic
links
Inside my
Have you tried changeing the import to com.equifax.rcas.tools.*?
-Original Message-
From: Brian O. Bozarth [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 11:21 AM
To: Tomcat Users List
Subject: RE: How do I install a jar file and reference it with a jsp
page? (Next problem)
yeah getting the same error. Here's the full description.
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
You have all the rights to have your own impressions, but I'd
like to share with you about this list.
I have subscribed many lists in many years, but this is one of
the most friendly lists I ever seen.
This is just FYI.
Pae
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Read up about how CLASSPATH works for .jar files as well as for normal
directory structures, which are reflected in a jar file. If you cannot
reach something in a normal directory (outside the .jar file) you sure
cannot inside a .jar file. For example, in a normal directory structure,
you
Hi John,
I got my example thru the packaged version of 4.1.12 (LE) for Windows.
Changing the line to:
% out.print(request.getHeader(User-Agent)); %
does the job fine, however:
% out.print(java.util.HTMLFilter.filter(request.getHeader(User-Agent)));
%
fails:
org.apache.jasper.JasperException:
Damn, I'm still getting the same error after I re-did my configuration like yours.
java.sql.SQLException: Cannot load JDBC driver class 'null'
When you put your JAR into /common/lib/ did Tomcat automatically recognize it when you
rebooted the server?
Mine didn't, though it did in Tomcat 4.0.x.
I
I'm running through the O'Reilly (onjava.com) tutorial on deploying
applications in Tomcat, and I can't seem to get servlets to work. I render
JSP's just fine, but once I request a servlet, I get a an HTTP Status 404
error:
The requested resource (/onjava/servlet/com.onjava.login) is not
Hi John,
I hope this is what you mean:
apache access_log:
170.237.230.231 - - 2002-12-09 17:55:53 0 GET /seqreq/icons/seqwright.gif HTTP/1.1
404 758
170.237.230.231 - - 2002-12-09 17:55:53 0 GET /seqreq/icons/info9.gif HTTP/1.1 404
746
170.237.230.231 - - 2002-12-09 17:55:53 0 GET
Oh, yeah: My system information:
Win2K, SP3
Tomcat 4.1 listening on Port 8080
-Original Message-
From: Johnson, Garrett
Sent: Monday, December 09, 2002 11:59 AM
To: 'Tomcat Users List'
Subject: Cannot Run Servlets, only JSP's
I'm running through the O'Reilly (onjava.com) tutorial on
Ivan Venuti writes:
Hi,
I have this problem: from an HTML page I call a Servlet via a form like this:
form name=richiesta method=post action=servletName
input type=hidden name=in_file value=9177.doc
...
input type=hidden name=port value=8787
/form
In the Servlet I retrieve the
Do you have a directory structure like this?
TOMCAT_HOME/webapps/onjava/WEB-INF/com/onjava/
thanks.
~ t r o y ~
-Original Message-
From: Johnson, Garrett [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 11:59 AM
To: 'Tomcat Users List'
Subject: Cannot Run Servlets, only
Looks like a classpath problem to me. My JDK 1.3.1 has no such HTMLFilter
class in java.util. Where is HTMLFilter coming from? Is that something you
wrote?
John
-Original Message-
From: Jean Georges PERRIN [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 11:55 AM
To:
Troy,
No, actually: I've got the directory structure like this:
TOMCAT_HOME\webapps\onjava\WEB-INF\classes\com\onjava\login.class
Is that the problem? Is the \classes directory superfluous? Is it hiding
the class files? Is perhaps the turorial, written for Tomcat 4.0, out of
date on this?
Oh my bad...that's what I meant.
-Original Message-
From: Johnson, Garrett [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 12:09 PM
To: 'Tomcat Users List'
Subject: RE: Cannot Run Servlets, only JSP's (Attn: Troy)
Troy,
No, actually: I've got the directory structure like
Yep. Are those valid paths? I don't use WebApp, so I am not familiar with
how it handles URLs, but basically it sounds to me like
/seqreq/icons/seqwright.gif doesn't exist. Is that correct? What is the
full path to seqwright.gif?
John
-Original Message-
From: Sarah Grimley
Actually, I typed the code sample below by hand off the top of my head and
it doesn't reflect reality - I accidentally changed the order of the
sequence - see code sample below...
However, I don't think that's the problem. In an obviously contrived https
servlet, I did this:
---class setup
The invoker servlet is commented out by default in
4.1x. Anonymous servlets are considered a security
risk.
There are at least three ways to manage this problem.
1. Uncomment the following in your Tomcat's web.xml
file.
!-- The mapping for the invoker servlet --
servlet-mapping
Hi everybody,
I would like to know if there is any way to configure TomCat to reload the
classes installed in CATALINA_HOME/shared.
Luiz Ricardo
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Mark,
Thank you, that sounds like exactly what it could be. And I'd prefer to do
it the RIGHT way, explicitly mapping out each servlet.
Just one question: WHICH web.xml file? There's one in:
$CATALINA_HOME/conf/
and one in
$CATALINA_HOME/webapps/myapp/WEB-INF/
Will one override the
I use 1.4.1, but there is no HTMLFilter as well...
I did not wrote it, it comes from the examples :(.
I think you are right: there is a difference in the classpath between my 2
contexts, but my issue is to determine where I can see it and how I can
solve the difference.
Any RTFM to indicate or
Sorry to trouble you with this simple yes or no question (Tomcat 4.0.6):
Classes placed in $CATALINA_HOME/myWebApp/WEB-INF/classes will be automatically picked
up by Tomcat and served. Is the same true for JAR'd classes placed in
$CATALINA_HOME/myWebApp/WEB-INF/lib ? or do I have to restart
Has anyone tried to do this before?
The dilemma:
How would one architect a system that requires an intranet and an
Internet site be able to share the same appserver (EJBs, logic), but
still remain as secure as possible? It doesn't have to be a
Tomcat/JBoss-specific solution (actually, they've
Ok...now the problem is stranger.
I am running this on RedHat Linux.
So I downloaded Tomcat 4.1.12 for Windows (the ZIP file).
I set up Tomcat and the environment variables, and I configured my web app and Data
Source stuff the same way...and it works!
So I'm wondering why I get this error on
Hi,
You have to restart the webapp.
And for WEB-INF/classes, they'll only be automatically picked up if your
context has reloadable=true in its configuration.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Price, Erik [mailto:[EMAIL PROTECTED]]
Sent: Monday, December
No only rename the .zip to .jar
Quoting Campano, Troy [EMAIL PROTECTED]:
Damn, I'm still getting the same error after I re-did my configuration like
yours.
java.sql.SQLException: Cannot load JDBC driver class 'null'
When you put your JAR into /common/lib/ did Tomcat automatically
Sarah Grimley wrote:
Hi John,
I hope this is what you mean:
apache access_log:
170.237.230.231 - - 2002-12-09 17:55:53 0 GET
/seqreq/icons/seqwright.gif HTTP/1.1 404 758
These are the errors you get if its not working as well as when the
files not there...
Sym links dont work in
Hi,
stupid question: where can I find a changelog regarding the changes in mod_jk 1.2.0
-- 1.2.1 ?
llap,
julian
Well, there is a HTMLFilter.java/.class in my
/usr/local/tomcat/webapps/examples/WEB-INF/classes/util, and it was written
by Craig, so that would lead me definitely to say that it is a classpath
problem.
John
-Original Message-
From: Jean Georges PERRIN [mailto:[EMAIL PROTECTED]]
I've noticed that if you set a
transport-guaranteeCONFIDENTIAL/transport-guarantee in web.xml that
the user is automatically redirected to an https://server:443.
I'm wondering how I can reproduce this behavior in a my welcome JSP and
was thinking I could possibly return the same http status code.
True, but the symlinks, according to the original post, work fine in Tomcat
Standalone. If it was a Tomcat issue, it wouldn't throw an Apache 404, it
would throw a 500. 404 is not found, so that leads me to believe that the
paths in the logs for those URLs are not valid as far as WebApp is
At 05:17 PM 12/8/2002 -0800, you wrote:
Can a servlet start an application on a server which is available to a
user on the server machine? Something, i.e., like the following:
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class AppCtrl
I don't think you answer is quite right. Classes will not be automatically
served under 4.0.6 unless the default invoker is configured in server.xml.
Classes must be explicitly named in the application deployment descriptor to
be served otherwise.
-Original Message-
From: Shapira, Yoav
It seems like different servlet containers vary in how they approach access to classes
that implement SingleThreadModel. When multiple threads want to access the class, some
servlet containers will create multiple instances of the class while others queue the
threads for exclusive access to a
Matt Raible writes:
I've noticed that if you set a
transport-guaranteeCONFIDENTIAL/transport-guarantee in web.xml that
the user is automatically redirected to an https://server:443.
I'm wondering how I can reproduce this behavior in a my welcome JSP and
was thinking I could possibly return the
I want to limit the access to JSP pages or a directory by IP address. Similar to what
the admin.xml is using:
Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127.0.0.1/
Is it possible?
Thanks for any help.
Not stupid at all...I'd be interested in seeing the same thing. ;)
John
-Original Message-
From: Julian Löffelhardt [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 1:05 PM
To: [EMAIL PROTECTED]
Subject: mod_jk changes 1.2.0 - 1.2.1
Hi,
stupid question: where can
Howdy,
He wasn't talking about serving anything to the user ;) Not about
servlets specifically, which is where the invoker comes in. Just the
class loader reloading modified classes.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Sexton, George [mailto:[EMAIL
Greetings,
I find a way of put it to work (tested on 4.0.4, 4.1.2).
I put the Resource inside a *DefaultContext*. I couldn't put it to
work inside a specific context or even through a resourceLink to a
global resource.
Now, I don't know why is that happens! I'm deploying in war file, and
you may want to look at the compression filter examples the come with
tomcat.
Charlie
-Original Message-
From: Andreas Hucks [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 5:34 AM
To: [EMAIL PROTECTED]
Subject: Using filters to transform output
Hi,
I have an
Still stuck on this.I also re-jar-ed the file so that com was the first directory
in the jar file.The java files are in the tools folder. Any insights?
I put the jar file in the /tomcat/webapps/ROOT/WEB-INF/lib folder, which is where I am
doing my app.
I am trying to use this in my
Becky Phaneuf writes:
Has anyone tried to do this before?
The dilemma:
How would one architect a system that requires an intranet and an
Internet site be able to share the same appserver (EJBs, logic), but
still remain as secure as possible? It doesn't have to be a
Tomcat/JBoss-specific
You need to re-read the original message. You are reading more into the
message than the person wrote.
Classes placed in $CATALINA_HOME/myWebApp/WEB-INF/classes will be
automatically picked up by Tomcat and served. Is the same true for
-Original Message-
From: Shapira, Yoav
Hi,
I have tomcat 3.2.1 in a debian linux distribution in production
environment. My servlet implement the SingleThreadModelInterface, when I
connect 14 or more users concurrent one servlet suspend for about 20
minutes. so ALL the user wait and get timeout at final (:-s)
Brian O. Bozarth writes:
Still stuck on this.I also re-jar-ed the file so that com was the first directory in the jar file.The java files are in the tools folder. Any insights?
I put the jar file in the /tomcat/webapps/ROOT/WEB-INF/lib folder, which is where I am doing my app.
I
Do you have the source code to this library? It may be that the classes are
not in a package. If a package hasn't been defined like this:
package com.equifax.rcas.tools
in every class file in that package, then there is no package.
What happens if you extract the classes and put them in
I looked at all of the java files in the jar, it has the package declaration at the
top:
package com.equifax.rcas.tools;
I put the java files into the WEB-INF/classes directory. Then referenced them this
way.
%
com.equifax.rcas.tools.B2BHtmlUI myObject = new
Can your repost your problem?
On Mon, 2002-12-09 at 08:51, [EMAIL PROTECTED] wrote:
First that all, sorry by my english. Since the Friday 07 of December, i post my
questions in the list and i don´t have answer of nobody. Maybe, nobody have a
little time for help me. Now, I think that this is
I may be wrong here but I think if you unjar them and use them as classes in
the WEB-INF/classes directory you have to create a directory structure
underneath classes like so: WEB-INF/classes/com/equifax/rcas/tools and put
the class files in that directory. WEB-INF/classes is in the classpath so
Ladies and Gentlemen,
How do I get rid of index.html or index.jsp as the default page for my root
directory?
That is to say, if I deploy an application to CATALINA_HOME/webapps/ROOT,
and I want someone to be able to go to www.mywebpage.com and NOT have the
URL get converted to
Hi all,
please bear with me as I'm new to the whole web application thing. I
recently
downloaded and installed Tomcat 4.1. After reading all the documentation
I could find, I tried to set it up so that I could run a small web-app, but
I simply
cannot seem to get the web page to access the java
Patrick,
I just dealt with this same problem. The problem is that the servlet
invoker class is disabled as of Tomcat 4.1.x by default. You need to
specifically reference your servlet in your webapps/mywebapp/web.xml file,
with the following xml under the root element:
servlet
Hi,
Assuming your servlet class is com.yourcompany.yourservlet, do the
following:
- Add the servlet declaration to your deployment descriptor (web.xml):
servlet
servlet-nameYourServlet/servlet-name
servlet-classcom.yourcompany.yourservlet/servlet-class
/servlet
- Add the servlet
Hi,
Comment out any welcome-file-list elements in your web.xml and
tomcat's default web.xml, in $CATALINA_HOME/conf. Note that this will
implicitly enable directory listings. See the servlet spec, v2.3,
section SRV 13.2 for details.
Yoav Shapira
Millennium ChemInformatics
-Original
Yes, you need the servlet defined in web.xml.
For an overview of applications, you might want to check out the Application
Developer's Guide:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
You can check out the web.xml file for the Tomcat examples to get an
understanding of
Sorry, my bad, I guess I wasn't clear.
com.equifax.rcas.tools is a directory structure. It doesn't look that way,
but it is.
Let's step back and cover some basics:
- if you have .java files, you have the source. Those won't work without
compiling them. If they are under WEB-INF/classes,
I need help with logging. I have just today convinced commons-logging and
log4j to work together, and now I would like to do logging from my webapp.
My first question is whether I really need commons-logging and log4j at all.
I see that tomcat is already producing some logs in
JAR files do not go in the /WEB-INF/classes directory. They go in the
/WEB-INF/lib directory.
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 2:45 PM
To: 'Tomcat Users List'
Subject: RE: trying to use jar file in jsp page.
Sorry, my
I think the answer is yes, but do contexts configured in tomcat 4.1.16
default to reloadable=true?
If that is the case, will this work for me...?
I have a couple hundred vhosts all with a few contexts each. Right now, I
don't have any default context configured, but I do have a default host.
I know.
John
-Original Message-
From: Johnson, Garrett [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 2:51 PM
To: 'Tomcat Users List'
Subject: RE: trying to use jar file in jsp page.
JAR files do not go in the /WEB-INF/classes directory. They go in the
Simon --
If the files you're reading and writing are truly temporary files, there's
an attribute available from the ServletContext called
javax.servlet.context.tempdir which provides a java.io.File object of a
directory that is unique to the context your code is running in. So, for
example,
heart's content limited, of course, by the physical storage space
available. ;)
John
-Original Message-
From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 3:03 PM
To: Tomcat Users List
Subject: Re: File structure in webapps for tomcat.
String
You can get the URL for any class from its ClassLoader. So, I don't know
what you mean by the current path, but this functionality provides a lot
of tricks.
-micael
At 06:00 AM 12/9/2002, you wrote:
I've just been looking at the URL package, but I can't see how that is going
to get around
This is how we specify in our log4j property file.
log4j.appender.tofile.File=..\\logs\\xx.log
The log file will be in %Tomcat_Home%/log directory.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 12:45 PM
To: 'Tomcat Users List'
Subject:
Those all reference JK2, but I'm using JK (since it is suggested you use JK
in production environments due to stability... not to mention the likely
build problems I'll experience on Solaris 7 ). Going to hack away at this
for a while and then try to compile JK2 again if all fails.
And yes, I'm
3.2.1 is rather old. you may want to try 3.3(or at least 3.2.4) to see if
the problem goes away. You should be able to try this without changing your
code.
did you set the max concurrent connections(I forget the actual param name)
in server.xml?
do you have any errors in the logs?
Charlie
Does anyone know who's in charge of Mod_jk2 development and how to reach them via
email.
Regards,
Theo
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
what's wrong with using the same declaration? Read the docs about valves and
you will see the options for this valve.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html
Charlie
-Original Message-
From: Eric Chong [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09,
okay compiled the java files on my PC to make class files... rejarred them up into a
new jar file, then uploaded to this directory (/tomcat/webapps/root/web-inf/lib)
then using this reference in my jsp file.
%@ page import= java.util.*, javax.naming.*, com.equifax.rcas.tools.*%
-or-
%@ page
Hello Wendy,
Set up your Context ... entry to look something like this:
Context path=/myapp docBase=myapp debug=5
Logger
className=org.apache.catalina.logger.FileLogger
prefix=localhost_myapp_servlet_log.
suffix=.txt
timestamp=true /
/Context
Setting the
Let's take one step further back.
Can you use ANY package in a JSP page, or do they all throw the same error?
John
-Original Message-
From: Brian O. Bozarth [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 3:38 PM
To: Tomcat Users List
Subject: trying to use jar file
Correct me if I am wrong, for the new jar lib to take effect, you need to
restart the webapp or tomcat itself.
Regards,
Michael
-Original Message-
From: Brian O. Bozarth [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 12:38 PM
To: Tomcat Users List
Subject: trying to use jar
Solaris 8
Tomcat 4.1.12
I'm trying to build from source using the BUILDING instructions in the
source directory. I've completed everything on the list, even the optional
packages. Now I get this error:
BUILD FAILED
file:/export/home/temp/appserv/temp/jakarta-tomcat-jasper/jasper2/build.xml:
Your way is working fine right now, so why changing it?
Use Tomcat log interface will make your code depending
on Tomcat appserver. What if you want run your app
on other servers in the future?
I just happen to move all logging to use common-log so that it will run on
multiple appservers.
Sorry - I was out for a bit and was a bit generic.
You need to modify the one in your application:
$CATALINA_HOME/webapps/myapp/WEB-INF/
There's more information about a web application at:
http://localhost:8080/tomcat-docs/appdev/index.html
provided you installed the documentation with
I know the reason for this list - at least as it applies to Jakarta.
It is meant to address the complete lack of adequate documentation
for tomcat. Of course, nobody can answer your questions. The
purpose of Jakarta is not to build useful software for the rest of
us. It is to keep geeks happy,
Hi there. Using apache + tomcat, is there a better/different way of
reffering to resources (jsps/servlets) in an app when https is required
other than hardcoding the full url
(https://my.server.com/myapp/whatever.jsp) in the jsps and servlet's
that whant to call those resources?
Thanks.
--
Jacob wrote:
Set up your Context ... entry to look something like this:
Context path=/myapp docBase=myapp debug=5
Logger
className=org.apache.catalina.logger.FileLogger
prefix=localhost_myapp_servlet_log.
suffix=.txt
timestamp=true /
/Context
Wow,
Perhaps this document can help you a little.
rls
Madere, Colin [EMAIL PROTECTED]
12/09/2002 12:13 PM
Please respond to Tomcat Users List
To: 'Tomcat Users List' [EMAIL PROTECTED]
cc:
Subject:RE: JK and multiple virtual hosts on Apache (repost)
Those
I disagree. There's lots of documentation out there.
It's just not blasted into peoples' faces, nor is it bound into a nice
little book and shrinkwrapped. You have to go find it, and you have to read
it. Most people are too lazy to do either, they want everything handed to
them.
John
Others will have suggestions...
Before you settle on a solution, look here
http://www.javaworld.com/javaworld/jw-02-2002/jw-0215-ssl.html
The code they show is old and slightly broken at this point. It took me
half a day or so to get it working correctly on my server. BUT, it couldn't
be any
101 - 200 of 310 matches
Mail list logo