Hi,
Why don't people ever search the archives before posting? At least
that's how it seems ;)
Use ServletContext#getRealPath(/) if running unpacked, which I bet is
your use case.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Glanville, Jay [mailto:[EMAIL
Thanks Yoav.
In my defense, I did perform a search. However, NOT in my defense, my
search was a little week: do you know how many hits you get when
searching the archives for 'docbase'? Not a good word to limit by. ;-)
--
Jay Glanville
Software Engineer
-Original Message-
From:
Yes, the entire directory. I think I'll uninstall 5.19 and install 5.27
-Original Message-
From: Williams, Mark L CIV NSWC-PC [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 11:01 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples
FWIW, the O'Reilly
Does this warning/suggestion apply just to jsp-api.jar or to all the jsp
jars (e.g.jstl.jar, standard.jar,...) as well?
Shapira, Yoav wrote:
Hi,
You have mismatched versions of the Servlet API jars around. There
should be only one, in tomcat's common repository. Don't ship the
servlet or JSP
OReilly
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 10:57 AM
To: Tomcat Users List
Subject: RE: Newbie help w/ORielly examples
Hi,
Are you trying the Tomcat examples or the O'Reilly ones?
Yoav Shapira
Millennium Research
Hi,
It applies to APIs bundled in the J2SDK and the J2EE SDK. So
servlet.jar, jsp-api.jar, jta.jar, jmx.jar, things like that, but not
standard.jar, JDBC drivers, etc.
As a rule of thumb: if tomcat bundles a library, don't package a
different version of the same library with your webapp.
Yoav
What book is that? Java Server Pages 3rd Edition?
Have you tried the JSP samples from the tomcat installation? First thing to
do cause then you know if jsps are compiling correctly.
José Ernesto Echeverría
-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent:
But if the webapps are all using a common connection pool, wouldn't
there need to be a single driver jar? Where would it go, if not in
$CATALINA_HOME/common/lib ?
Shapira, Yoav wrote:
Hi,
It applies to APIs bundled in the J2SDK and the J2EE SDK. So
servlet.jar, jsp-api.jar, jta.jar, jmx.jar,
Hi,
As I said, JDBC drivers are fine, they're not part of the J2SDK or J2EE
SDK.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Jeffrey Barnett [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 2:51 PM
To: Tomcat Users List
Subject: Re: Tomcat 4.1: JSP
I am sort of stuck with configuring the server.xml
file under the $TOMCAT\conf directory for JNDI.
For the Tomcat 4.x, I put the following block of code;
i.e. DefaultContext right after the ending
/context element and before the ending /host
element in the server.xml file.
However, I do not see
Yoav, I think you were right. I installed 5.27
everything works. I don't know why because it
wasn't any changes I did. I hadn't done any
configuration.
Does anyone know how to remove the old
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, September
I am sort of stuck with configuring the server.xml
file under the $TOMCAT\conf directory for JNDI.
For the Tomcat 4.x, I put the following block of code;
i.e. DefaultContext right after the ending
/context element and before the ending /host
element in the server.xml file.
However, I do not see
Hi,
You should put DefaultContext inside a Host. But if you only have one
webapp, create a proper Context element for it instead of
DefaultContext.
The JDBC driver class name is supplied in your vendor documentation (in
this case McKoi). A common one is com.mckoi.JDBCDriver.
The port number
Yes
-Original Message-
From: Ernesto Echeverría [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 11:47 AM
To: 'Tomcat Users List'
Subject: RE: Newbie help w/ORielly examples
What book is that? Java Server Pages 3rd Edition?
Have you tried the JSP samples from the tomcat
I have a service for tomcat on XP. Does anyone know how to remove the
service?
Thanks
Thanks for replying.
I am building only one webapp. What does create a
proper Context element instead of DefaultContext
mean?
Thanks
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
You should put DefaultContext inside a Host. But if
you only have one
webapp, create a proper Context
This might not be the answer to your question, but then you can keep the
service and just configure it not to start automatically (like, if you want
to start tomcat from the batch files provided).
José Ernesto Echeverría
-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Try to make a small java test (without tomcat) that use the unix sockets
and see what happens maybe you can debug it and find what/where is
happenning
Jonathan Rengifo escribió:
Hi, all...
My problem is definitive related with the libjkjni.so lib, when I add
the path of the library to the
I made the test with succesful results, I guess it is a linking
problem, but don't know how to solve it..
On Fri, 03 Sep 2004 16:18:13 -0400, John Villar
[EMAIL PROTECTED] wrote:
Try to make a small java test (without tomcat) that use the unix sockets
and see what happens maybe you can
Maybe its because of the tomcat classpath, remember it doesn't use the
system wide classpath, but its own ;-)
Jonathan Rengifo escribió:
I made the test with succesful results, I guess it is a linking
problem, but don't know how to solve it..
On Fri, 03 Sep 2004 16:18:13 -0400, John Villar
I've already setup the CATALINA_HOME and TOMCAT_HOME path variables
Any other suggestion? :'(
Regards
Jonathan
On Fri, 03 Sep 2004 16:54:36 -0400, John Villar
[EMAIL PROTECTED] wrote:
Maybe its because of the tomcat classpath, remember it doesn't use the
system wide classpath, but its
I remember an issue i was having with JNI where the Hotspot compiler and
the JVM should have a proper directory structure, it was something like
having a client and server directory could be that
however... i think your main problem is that Solaris 9 has a broken lib
that tomcat relies
I guess you are right, maybe there is a problem I can't definitive
handle, but I am worry about having this connector working via TCP
socket on production, because I guess this is not the better
configuration. Do you have experience working like this on a
production scenario?
I am very thankful
Well, maybe using TCP sockets will solve the problem, and worrying about
using TCP on a production enviroment isn't a real issue, what do you
think the vast mayority off production enviroments are using nowadays?
;-) also, if your problem is security, IPSec does the trick.
just
I am really worry about speed, we have a very accessed news server and
speed was my really problem, but if you say its ok maybe I don't have
nothing to worry about.
Thanks for your time and attention
Regards
Jonathan
On Fri, 03 Sep 2004 17:28:43 -0400, John Villar
[EMAIL PROTECTED] wrote:
Jonathan Rengifo wrote:
I made the test with succesful results, I guess it is a linking
problem, but don't know how to solve it..
On Fri, 03 Sep 2004 16:18:13 -0400, John Villar
[EMAIL PROTECTED] wrote:
Try to make a small java test (without tomcat) that use the unix sockets
and see what
Thank you so much for your suggestions!
The error is indeed in my code, specifically in a
MultipartRequest-related class that I downloaded from JavaPro
magazine. I never suspected this code because I didn't write it. I
guess there is a bug in their code that I now have to investigate
that; at
I built the connector and the Apache web server by my self on the
Solaris 9 64 bit box with the source downloaded from the Apache
Project site with succeeding results, when I built the connector I got
the following files mod_jk2.so and jkjni.so and when I built the
Apache release I got the apr
I know the replication subject has been addressed somewhat for 5.x. I am
trying my first replication setup with two 5.5 servers on the same host.
Each Tomcat instance works just fine by itself.
I followed the configuration notes for Tomcat in the documentation for
in-memory replication, however I
I need to install Tomcat for Sterling's Connect:Direct Browser User
Interface. The release notes list as a requirement Apache HTTP Server 1.3
with Tomcat 3.2.3 servlet on HPUX-11.00 (we're running Apache 2.0.43 Java
1.4, with SSL-client-auth to control access).
I've looked at the docs at
From: [EMAIL PROTECTED]
I need to install Tomcat for Sterling's Connect:Direct Browser User
Interface. The release notes list as a requirement Apache HTTP Server
1.3
with Tomcat 3.2.3 servlet on HPUX-11.00 (we're running Apache 2.0.43
Java
1.4, with SSL-client-auth to control access).
Wow,
Don't get me wrong; I love Java; I love Tomcat.
But why is it so
incredibly painful to install Apache/Tomcat/Connector? It always
takes me about two days. I look forward to it as much as doing my
federal tax returns.
My 2 cents: This installation process has to get as easy as running a
Hi,
I'm trying to get Ant to compile everything and NOT stop if there is a jsp
that doesn't compile.
I've got tomcat 4.1.27 and downloaded the latest (current)Ant
I have an app with lots of JSPs.
After I followed the tomcat docs
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html
Perhaps you could also read this here
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
to get more details.
On Fri, 3 Sep 2004 13:07:59 -0700 (PDT), Caroline Jen
[EMAIL PROTECTED] wrote:
Thanks for replying.
I am building only one webapp. What does create a
proper
From: Peter Alvin [EMAIL PROTECTED]
Don't get me wrong; I love Java; I love Tomcat.
But why is it so
incredibly painful to install Apache/Tomcat/Connector? It always
takes me about two days. I look forward to it as much as doing my
federal tax returns.
It took two days the first time, now
Make sure you have multicast enabled. This can be a little tricky if you run
on a multihomed host, but you can google it.
The only thing I see logged is the message:
If it says skipping state transfer, no other members in the cluster,
means that the members haven't discovered each other, this
it can also be as easy as
ProxyPass /mywebapp http://localhost:8080/mywebapp
ProxyPassReverse /mywebapp http://localhost:8080/mywebapp
in httpd.conf if you are using mod_proxy, took me 5 minutes to get tomcat
and apache to play nice together
Filip
-Original Message-
From: Wendy Smoak
also forgot to mention, setting TTL on the multicast will keep the multicast
messages from going all over the place
Filip
-Original Message-
From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 7:53 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.5
anyway, try uninstalling all tomcat on the ad/remove programs. then
clean all registries of any tomcat, by searching them in find in
regedit. then checkout your j2sdk path if its correct, then try
reinstalling.
On Fri, 3 Sep 2004 17:39:19 +0100, Nelson, Jerry W, Contractor 146CF,
SCB [EMAIL
I just built mod_jk, I think it was random luck that I actually got it
running. For me, there are two things
that would help out greatly.
1) As always, documentation but in this case, as mod_jk evolves, the
install docs seems to be notes that
are a diff from the previous rev. It also doesn't
Filip,
Thank you for your assistance. You are very helpful as usual.
Make sure you have multicast enabled. This can be a little tricky if you run
on a multihomed host, but you can google it.
OK, that may not be that difficult on a single host, or so I hope. I
tried on Fedora Linux (ifconfig
Hi, guys! I've discovered that this exception directly depends from
cuantity of retrieved data! If my request doesnt contains so much
information - servlet returns right generated page with any content
(we are using Spanish and English in this case). My cuestion is: how possibly
depends this
I am sure, my question was not very clear regarding security.
that is true, I'm sure you could limit this traffic with configuration on
your OS between your two servers.
set up machines to only access mcast and tcp traffic from certain IPs and
certain ports.
cause the feature you talk about,
Hello all,
I work on an as/400 (iseries) version v5r2. I have setup a apache/tomcat server
instance under the ibm http server and am trying to get a simple helloservlet servlet
to work properly. The server instance is referencing version 1.3 of the jdk. I have
compiled the java using jedit
101 - 144 of 144 matches
Mail list logo