* Yoav Shapira
Howdy,
Are there any errors in the logs when you redeploy? Does
a simple reload (not redeploy) work?
How do you do a simple reload?
--
Jon Haugsand, [EMAIL PROTECTED]
http://www.norges-bank.no
-
To
* Yoav Shapira
Howdy,
Are there any errors in the logs when you redeploy? Does
a simple reload (not redeploy) work?
== localhost_log.2003-06-30.txt ==
at org.apache.catalina.core.ContainerBase.stop(Unknown Source)
at org.apache.catalina.core.StandardService.stop(Unknown
Hello,
I have now tried in a week to get hot deployment to work with tomcat.
I cannot get it work at all.
I run jakarta-tomcat-4.1.24 on a Linux. I have one war file,
tilgang.war. If I drop this in webapps, it get deployed during
startup. However, if I drop this into webapps when tomcat is
Hello Filip,
I have been trying to use your session replication libs in tomcat 4.1 and have run
into problems. I was wondering if you could help me out here. I am trying the
replication with a simple jsp page on a one box setup with two instances of tomcat
running.
The jsp page simply prints
Hi,
I haven't found any straightforward instructions to use servlets on tomcat 5.*. I
have hard time configuring it as well.
On Tomcat 4.0 and earlier I could just drop servlet.jar in my jdk/lib and fix the
classpath. Then I could just drop servlets into the class directory and they worked.
Hi John,
As it turns out, what got me unstuck was to add a Host and Context to
server.xml, as you and Lajos both recommended to me.
But it seems I can use
NameVirtualHost *
VirtualHost *
...
/VirtualHost
or
NameVirtualHost 127.0.0.1
VirtualHost 127.0.0.1
/VirtualHost
To be honest, I
Hi Lajos,
Thank you so much for this advice. It helped. I was not aware that I had to
set the host/context in server.xml, if I was defining VirtualHosts in apache.
Here is another article which helped as well:
http://www.onjava.com/pub/a/onjava/2003/06/25/tomcat_tips.html
Best,
Heather Buch
Hi,
I have a problem mapping JSP content from iPlanet to Tomcat, due to historical
content distribution in different directories. It is not possible to generate war
files and deploy those.
This is my setup:
Tomcat is installed in /opt/Tomcat and looks for content relative to the install dir.
Have you tried using the AutoConfig?
Marquardt Angela [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have a problem mapping JSP content from iPlanet to Tomcat, due to
historical content distribution in different directories. It is not
possible to generate war files and deploy
Hello all,
Does tomcat automatically look for a context.xml file in the META-INF
directory? Can I just deploy the war or am I better off deploying the war
by placing the context.xml file in the webapps directory? Is there a best
practice for using the context.xml file?
Regards,
Joshua
In case AutoConfig is that feature that Tomcat suggests obj.conf entries : this one
finally got generated in /conf/auto/obj.conf and it is good for handing whole
directories over and hiding WEB-INF, but how can it help in this special problem?
-Ursprüngliche Nachricht-
Von: Bill
Check the name of the cookie, the host of the cookie, and the path of
the cookie. ESP the path and the host of the cookie. These things need
to match. Netscape 7 also have a LiveHTTPHeaders plugin at mozdev.org
that is REALLY helpful for debugging this stuff.
-Original Message-
From:
Howdy,
Hot Deployment works perfectly for me in tomcat-standalone. I use
tomcat 4.1.24. I don't have a Context element for my app in
server.xml, nor in the .war file. I have the Host set to
autoDeploy=true and unpackWARs=false.
Yoav Shapira
Millennium ChemInformatics
-Original
Howdy,
I haven't found any straightforward instructions to use servlets on
tomcat
5.*. I have hard time configuring it as well.
That's because to run servlets on tomcat 5.x is the same as 4.x.
On Tomcat 4.0 and earlier I could just drop servlet.jar in my jdk/lib
and
fix the classpath. Then I
Great, glad you got it working.
John
On Sat, 28 Jun 2003 23:18:11 -0230 (NDT), Neil Zanella [EMAIL PROTECTED]
wrote:
Thanks John! All I had to do was upgrade my Tomcat installation from
the 4.0.1 version which comes with Java Sun One Studio (and is still
being distributed at the Java site,
If you're looking for another option, download the eclipse IDE (
http://www.eclipse.org ) and use the tomcat plug in
www.sysdeo.com/eclipse/tomcatPlugin.html.This will give you a totally
integrated IDE and App Server environment, and you're not stuck waiting
for another forte/sun one release
AFAIK, context.xml is only required by Tomcat Manager app and thus it has to
be located in META-INF in war.
-Original Message-
From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED]
Sent: June 30, 2003 6:58 AM
To: Tomcat Users List
Subject: context.xml in META-INF directory
Hello
Thanks for the tip, I have been looking for a comprehensive environment to
evaluate for our development teams.
John
On Mon, 30 Jun 2003 15:01:48 +0200, [EMAIL PROTECTED] wrote:
If you're looking for another option, download the eclipse IDE (
http://www.eclipse.org ) and use the tomcat plug in
There are no errors in any of the logs. This does appear to be an
out-of-the-box problem at least for Jetspeed 1.4-b4 with Tomcat 5.0.3.
Gerry Reno
Howdy,
Are there any errors in the tomcat logs? In the Jetspeed logs?
Considering
the developers of Jetspeed themselves use tomcat to develop
Howdy,
I bet it's something in tomcat 5.x that's different from
tomcat 4.1.x ;) Everything runs fine for you on 4.1.24, right?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: grenoml [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 9:37 AM
To: [EMAIL PROTECTED]
Yoav,
I don't have TC 4.1.x loaded on this machine right now. I was hoping
this was something that someone might have seen with TC-5. If not,
then I'll try loading TC-4 and see what happens.
Gerry Reno
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Howdy,
I bet it's something in tomcat 5.x
Thank you, it works fine! But I also want to know why direct JPDA connection doesn't
work or -better - who can tell me how it works!? Because I also want to debug a tomcat
application on a remote machine, which theoretically should be no problem whit JPDA.
Regards,
Gernot
-Ursprüngliche
Hi all,
I use the catalina anttasks to deploy my webapp like this:
target name=deploy depends=build
delete file=${demo.name}.war/
war destfile=${demo.name}.war webxml=web.xml
classes dir=../build/
lib dir=../lib/
fileset dir=../web/
/war
deploy
Hi all,
In a previous project, I decided to use Tomcat authentication and just
had nightmarish troubles. Telling people they couldn't bookmark the logon
page just isn't a solution. Plus, many people had serious problems trying to
login. They would enter in their user name and passwords
Not sure what you are looking for, but we do this on all of our web apps.
Users can bookmark the login page all they wish, in fact the login page is
index.jsp. They type their username and password in, click submit. This
posts to a JSP, the JSP checks against a database, and approves or
Thank you Mike I appreciate the feedback on your experience.
Now you know I was going to ask.
How did you get around the native issue in poolman?
And do you know of another tool(s) that does not have this issue? (with
Oracle 8.1.7)
I would like to go generic but I have not seen any third party
Hello
Somehow tomcat will not redirect requests to pages under a security constraint to
https.
Instead i get an HTTP 500 Internal Server Error
In my server.xml the two connectors look like this :
!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8081 --
Connector
Hi everybody,
I don't know if this exists in any manual, if it does, please tell me
where...
The thing's that I'd like to access files inside a context under webapps
with my jsp file but I'm getting nullPointerException, I'm sure the problem
is that I don't know where Tomcat points when it opens
Hi
I am trying to make a filter that will redirect all request that don't have a
autheticated attribute set, to be redirected to the login page.
Somehow my filter does not work properly even though it still is a very basic
implementation that
does nothing besides a few system out prints.
The
Hi!
I'm working with the servlet-mapping tag in web.xml running on Tomcat 5.0.2.
In particular, I'm working with the url-pattern schemes. I've got a simple
Hello World!-style servlet that I'm trying to map various URLs to. Below
I list some samples and my results.
Why does Test 3 fail?
Howdy,
Use ServletContext.getResource() instead of the java.io APIs.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Martín Mauri [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 11:09 AM
To: Tomcat Users List
Subject: File Access..
Hi everybody,
I don't know if
Howdy,
See SRV.11.2. Your Test #2 matches with bullet #2 in that spec section,
while your test #3 matches with bullet #4. That hyphen character makes
a world of difference.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Joe Reger, Jr. [mailto:[EMAIL PROTECTED]
Sent:
send complete info, configurations and complete logs.
I'm going on my honey moon, be back in three weeks.
have fun!
filip
-Original Message-
From: Das, Sanjeev [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 2:11 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: problem
Howdy,
No, YOU have fun Senor Hanik ;) Congratulations!!!
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 12:17 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: RE: problem with clustering using
I'm not sure about catching it but the first thing I'd do is make sure that
I'm using the bean correctly, i.e. are you calling by right id and class?
It sounds like it can't find the class.
-Original Message-
From: Antony [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 1:32 AM
To:
when using tomcat authentication realms;
if the login page is login.jsp and if a user directly access this page and
tries to login , tomcat returns the error given below. i need to catch this
and handle it. specifically, where is the forwarding page reference stored?
in the users session? what
Hi list
I want to bound the limit of available connections in my webapp.
How can I do this?
Is it possible NOT to edit server.xml, rather web.xml in my directory?
Thanx in advance.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Dear Sirs.
I have installed Certificates both in the Tomcat-server and in my
browsers.
I'm using Coyote-connector in jakarta-tomcat-4.1.24-LE-jdk14.
The Connector is configured for Client-authnetication
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
Hope this helps someone out there. I sure appreciated all the help I
received from people when I was going through this and trying to get things
setup right and working.
I have written a student assessment program using the Struts framework. This
program will be used by over 70 school districts
What I can't find, is how to get the User-Identity from the Certificate
in the Browser that establishes a connection???
I would need the Distinguished name of the Client-certificate in a
session-parameter.
Which further on would direct what authorities corresponding user has in
Hi All!
I got a pretty small and hopfull easy question (for you).
I need to use Tomcat with WebSphere Application Server Enterprise Edition.
The WASE should be EJB-Container for my WebApp.
The problem is, that i dont find any good documentation, how to use Remote
EJBs in Tomcat. In added some
Hi,
We have Apache with mod_jk on Solaris 8 load-balanced with 2 local
Tomcats.
What I notice is that mod_jk seems to be sending all requests to only
one Tomcat . If it fails the other Tomcat gets all the requests again
i.e mod_jk seems to be doing failover but not load-balancing.
Any
I'm running an axis client under tomcat testing some soap calls, and Im having an
extremely high CPU usage that is coming from the tomcat
class org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket, up to
70-80%. Has anyone run into this problem? I've tested on both tomcat 331 and
I have installed Tomcat 5.0 (as part of the Java Web
Services Pack) on a Redhat 7.1 system kernel 2.4.20.
I am trying to get Tomcat to boot up at startup, and
been failing.
Following some instructions, I wrote the following
script:
---
Are you sure rc5.d is your startup level? Mine starts in rc3.d, but I am
running RH Linux 8.0. Just a thought.
-Original Message-
From: thors_hammer123 [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 12:50 PM
To: [EMAIL PROTECTED]
Subject: Tomcat and Linux
I have installed
Please be specific. What is failing? What didn't work? What is the error
message?
-Original Message-
From: thors_hammer123 [mailto:[EMAIL PROTECTED]
Sent: June 30, 2003 3:50 PM
To: [EMAIL PROTECTED]
Subject: Tomcat and Linux
I have installed Tomcat 5.0 (as part of the Java Web
Services
Well, this might not be the problem, but just in case, your setup is
backwards, unless I am misunderstanding your post.
S71tomcat should be a symlink to /etc/init.d/tomcatd (your script), not the
other way around. The actual script should go in init.d, not in any of the
rc*.d directories.
Look at my website on Tomcat installation. At the bottom of the page there
are descriptions of how to do it along with my daemon scripts that you
can use. Just change the location of executables in the scripts, or create
symbolic links.
I remember it was tricky to do shutdown properly, so I
Hi,
I just re-installed Tomcat using the script Nate passed me: (I just edited
my settings)
tomcat.exe -install Apache Tomcat C:\j2sdk1.4.0\jre\bin\client\jvm.dll
-server -Xmx1024m -Xms1024m -Djava.class.path=d:\Tomcat4\bin\bootstrap.jar
-Dcatalina.home=d:\Tomcat4
My classes are compiled with the Sun servlet.jar. I need this class to be usable by
webservers other than Tomcat as well.
Line 6 is where I create the object that accesses the request info. The example below
has nothing that I should be catching, that I'm aware of. I even tried catching
Hi, I am new to TomCat and I am trying to move a web server called
Controller from Tomcat 3 to Tomcat4. I have Tomcat4 installed and the
examples like Cookie and HelloWorld work fine.
Then I copied the whole Controller folder from Tomcat3 and pasted to
Tomcat4. All the unpacked classes and
Yi,
Do you have a web.xml descriptor file in Controller\WEB-INF?
Hi, I am new to TomCat and I am trying to move a web server called
Controller from Tomcat 3 to Tomcat4. I have Tomcat4 installed and the
examples like Cookie and HelloWorld work fine.
Then I copied the whole Controller folder
Now I found the missing link: the option -Xnoagent must be set and everything works!!
My tomcat startcommand looks like:
C:\Programme\tomcat\test\binstart Tomcat c:\programme\jdk1.3.1\bin\java -classic
-Djava.compiler=NONE
Hi, John:
It has an old version of web.xml when I copied it from TomCat3, it didn't
work. So I replaced it with a newer version that I got from the TomCat4
examples folder.
It wouldn't work with this neither.
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE web-app (View Source for full
Thanks! Changing it to rc3.d did the trick.
Anthony
--- Michael Cardon [EMAIL PROTECTED] wrote:
Are you sure rc5.d is your startup level? Mine
starts in rc3.d, but I am
running RH Linux 8.0. Just a thought.
-Original Message-
From: thors_hammer123
[mailto:[EMAIL PROTECTED]
Yi,
Hi. The web.xml file is specific to your application so you can't take
one from another application and put it inside Controller. I was just
thinking that there could be something wrong with the old one you had.
You could try with no web.xml file since it is not strictly required.
Restart
Ok, I build Jetspeed from CVS today (1.4-b5-dev) and it exhibits the
exact same behavior as 1.4-b4 in that it will not display the contents
of any of the JSP Portlets just their title bars. And once again the
only way that I have found to get these JSP Portlets to display is to
select 'Edit
I am using the following environment:
jetspeed 1.4-b5-dev from 6/4/2003
tomcat 4.1.24 full
apache 2.0.46
j2sdk 1.4.1_03
windows/2000 pro
The default jetspeed account (turbine/turbine) works
via port 8080 (tomcat) and port 80 (apache).
/mde/
__
Do you Yahoo!?
SBC
Hi,
I removed the web.xml, the error message still is
Controller/servlet/Controller not available. Do you have any suggestions
as how to write my own web.xml? Or do I need to specify somewhere for the
TomCat to find the Controller folder?
In TomCat3 there is a wrapper.properties file in which I
Hey,
Is there a way to turn off the following log statements for Tomcat's session
replication?
Member disappeared:tcp://192.168.69.44:4005
Member disappeared:tcp://192.168.69.44:4005
Member disappeared:tcp://192.168.69.44:4005
Member disappeared:tcp://192.168.69.44:4005
Member
Well, it looks like its Tomcat 5.0.3. I downloaded and installed
Tomcat 4.1.24 and the Jetspeed JSP Portlets work just fine with it.
Anybody on the Tomcat 5 team listening?
thx,
Gerry Reno
--- grenoml [EMAIL PROTECTED] wrote:
Ok, I build Jetspeed from CVS today (1.4-b5-dev) and it
Also I don't have a Web Application Archive (WAR) file associated the
Controller application. Could that be the problem?
Thanks.
Yi
-Original Message-
From: Chen, Yi [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 4:53 PM
To: 'Tomcat Users List'
Subject: RE: How to configure
Is there an easy way to log all the URL's that clients have requested? We are having
serious intermittent problems on a production server, and a devil of a time figuring
out what is causing them (Tomcat requires a kill -9 to stop!). I'm hoping we can
examine the URLs from just before a crash
I opened Tomcat Bugzilla Bug 21206 on this issue.
rgds,
Gerry Reno
--- grenoml [EMAIL PROTECTED] wrote:
Well, it looks like its Tomcat 5.0.3. I downloaded and installed
Tomcat 4.1.24 and the Jetspeed JSP Portlets work just fine with it.
Anybody on the Tomcat 5 team listening?
thx,
Hi list
I want to bound the limit of available connections in my webapp.
How can I do this?
Is it possible NOT to edit server.xml, rather web.xml in my webapp
directory?
Thanx in advance.
-
To unsubscribe, e-mail: [EMAIL
Yi,
Do you have more than one version of Tomcat installed on the same machine?
Hi,
I removed the web.xml, the error message still is
Controller/servlet/Controller not available. Do you have any
suggestions as how to write my own web.xml? Or do I need to specify
somewhere for the TomCat to
I want to use log4j inside a tomcat application. According
to the log4j short manual, all I have to do is drop my
log4j.properties file into WEB-INF/classes and then I can
just use it. This does not seem to be working. Can someone
help?
Thanks.
Dean Hoover
Howdy,
It does work if you place logj4.properties in WEB-INF/classes and log4j.jar in
WEB-INF/lib. If you could please be a bit more explicity when you say This
does not seem to be working perhaps I could help more.
Yoav Shapira
--- Dean A. Hoover [EMAIL PROTECTED] wrote:
I want to use log4j
Howdy,
Comment in the AccessLogValve in $CATALINA_HOME/conf/server.xml.
Yoav Shapira
--- Roman Fail [EMAIL PROTECTED] wrote:
Is there an easy way to log all the URL's that clients have requested? We
are having serious intermittent problems on a production server, and a devil
of a time
Howdy,
Well, it looks like its Tomcat 5.0.3. I downloaded and installed
Tomcat 4.1.24 and the Jetspeed JSP Portlets work just fine with it.
Anybody on the Tomcat 5 team listening?
I am, for one ;) Now that you've opened a bugzilla item about it, so will
others.
I've looked at the item
Yoav,
All of the Jetspeed JSP Portlets fail to display. Pick any one of
them. When you go to the first Jetspeed page and login then select
'Edit HTML' and select Home then select 'Add Portlet' and from the list
of portlets select some of the JSP types such as JSP HelloWorld or JSP
Stock
Thanks for responding. I'm just going by what it says in the log4j
manual:
The default log4j initialization is particularly useful in web-server
environments. Under Tomcat 3.x and 4.x, you should place the
|log4j.properties| under the |WEB-INF/classes| directory of your
web-applications. Log4j
I have tried this on win2k. The war file fails. If you expand the .war to
directory form, then all is OK.
In .war form -- I get a zip exception.
So tomcat is sort of ok (so far). Need to dig more.
-Tim
grenoml wrote:
Yoav,
All of the Jetspeed JSP Portlets fail to display. Pick any one of
Tim,
All of the war files in all of my tests with 5.0.3 and 4.1.24 were
fully expanded.
What exactly are you saying? Are you seeing the exact same problem?
What did you mean when you say 'war file fails'? If you meant you
just got a zip exception are you thinking this is related to JSP
test case 1: Dropped jetspeed.war into webapps/
Got exception as in my bugzilla post.
test case 2: used jar -xf to extract war file into webapps/jetspeed
Worked great without any problems. I was able get the home page, log in as
turbine, change user attributes, etc
My only difference from your
Hello Tomcatters,
I have an unusual question. I have a webapp which
needs to load its classes from a source other than a
regular .jar file or a .class file. It needs to get
them out of some other storage system, such as a
database. Don't ask me why I need to do this strange
thing; I have my
Tim,
That's great, but getting the Jetspeed home page, logging in and
changing user attributes is not the problem here. The problem is
specifically with display of JSP Portlets. All the default portlets
are Velocity Portlets. You have to click on the 'Edit HTML' link and
actually add JSP
I am clueless about jetspeed, but I am logged in, not logged in and cliking
and trying to change stuff all over the place and not getting any browser
errors. You'll need to write out step by step whats going on for anyone (who
is jetspeed clueless) to reproduce.
-Tim
grenoml wrote:
Tim,
Tim,
Ok, see the bug (21206). I clarified what you have to do there.
rgds,
Gerry Reno
--- Tim Funk [EMAIL PROTECTED] wrote:
I am clueless about jetspeed, but I am logged in, not logged in and
cliking
and trying to change stuff all over the place and not getting any
browser
errors.
Hi,
It seems http connector was the problem, just removed it, (I don't need it)
and now it's working with more than 352 processors.
Regards
Jose Oyervides.
-Original Message-
From: Jose Santiago Oyervides Gonzalez
[mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 2:12 PM
To: Tomcat
I'm beginning some tests with Jetspeed. Howver, we must use Apache as
web server, and Jetspeed does not work. I made an Alias to map /jetspeed
to the uncompressed Jetspeed directory, amd I get the splash screen.
However, when I login or try to display any other screen, I get an
Apache Not
It is supposed to be supported by something like:
Context .
Loader className=com.myfirm.mypackage.MyLoader ... /
/Context
Never actually tried it myself, however.
joe user [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello Tomcatters,
I have an unusual question. I
82 matches
Mail list logo