I would suspect it is because you are running Apache on port 80 and not
Tomcat. You will need to set up a mod_jk (or mod_jk2) connector to have
Apache forward specific URL requests to Tomcat.
Why are you putting a HelloServlet inside the admin application anyway?
- Original Message -
Hello, Steve.
Before JSP files can be compiled by javac, they have to be translated to
Java source files by a JSP compiler. I doubt you really need to compile the
JSP yourself as Tomcat will automatically compile JSP files when they are
requested by a browser. Move your calendar.jsp into the
Remember that your classpath in your environment which is used by the java
compiler when you issue a compile command from the command line is not the
same classpath that Tomcat uses when it is running.
Move the JAR into $CATALINA_HOME/common/lib. I don't believe that Tomcat
supports loading JAR
You should not have to make any changes to policy files for this to work.
It is Tomcat itself that is unpacking the WAR files--so assigning
permissions to the WAR file itself won't do anything. What does your
server.xml file look like? How did you determine that WAR files weren't
automatically
Hello, I'm new in Tomcat.
I'm using Apache+Tomcat:
Apache/1.3.22
jakarta-tomcat-4.1.18-LE-jdk14
mod_jk
I have configured Tomcat and it's working.
I can view and execute servlets in the /examples folder.
Now I want to execute servlets under the url: http://www.myurl.com/servlets/
I've tried to
Found my problem after building a debug build of mod_jk2 and going thru the
debugger. It
was failing to create a shm slot b'cos I didn't have a shm config block!!
Even though I was not
running a multi-proc server, just a single proc yet ...#4%^
documentation...
[shm:]
info=Scoreboard. Required
Hello,
I'm a tomcat newbie running debian and trying to use tomcat 4.0.3-3woody2
and velocity-1.3.1-rc2. So far I haven't managed all that well. =)
If I disable the java security manager everything works fine. But I
kinda figure that the security manager is there to serve a purpose.
I would
Hi,
Ah, thanks. That worked. Actually, this was the first thing I tried, but I
realised I was defining the Host tags inside the localhost one. (Oops :)
Unfortunatly, it still leaves me with a problem. I really don't want to have to
shut down tomcat and restart everytime I add a new user to the
Hello,
you must have in the 'web-inf' directoty of your servlet a mapping like this
one:
web-app
servlet-mapping
servlet-nameinvoker/servlet-name
url-pattern/servlet/*/url-pattern
/servlet-mapping
/web-app
and you can invoke all servlets in the directory: WEB-INF/classes by the
request:
Thanks for the tip.
John
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 08, 2003 4:35 AM
To: [EMAIL PROTECTED]
Subject: Re: setting CATALINA_HOME
Actually, the recommended way to go is to create
$CATALINA_HOME/bin/setenv.sh (or
Hello,
you must download the mod_jk2.0.43.dll.
Install your Apache 2.0.43 not in program Files !!
For me, i have an ApacheGroup with Apache2 and Tomcat4. Without
spaces !!
Install Tomcat4 not in service NT !!
Load this module in your httpd.conf...
You must create in your Apache/logs 3 files:
The Invoker servlet is disabled by default. Assuming your request is
getting to Tomcat, you must either enable the Invoker servlet or explicitly
map your servlet in your webapp's web.xml file.
Check the docs and archives.
John
-Original Message-
From: Carlos Godoy [mailto:[EMAIL
That won't work. You need something like this within your Context:
Resources className=org.apache.naming.resources.FileDirContext
caseSensitive=true
allowLinking=true
docBase=myApp /
John
-Original Message-
From: Mike Johnson [mailto:[EMAIL PROTECTED]]
Sent: Saturday,
Hello,
can somebody tell me if i can compile the .java drectly in the directory of my
webapps.
Is it an option in the sever.xml ?
It's Apache 2.0.43 with Tomcat 4.1.18 with the JK2 but i think that is the same with
Tomcat standalone...
Thank you.
Fred
Tomcat does not follow symlinks as a rule, by default, for security reasons.
Creating a filesystem symlink with recent versions (4.1.12+, I believe) of
Tomcat will have no effect, you need to declare an additional Resource in
server.xml with the correct attributes if you want Tomcat to follow
You can do this in Linux.
RH 8 runs a munged version of Apache 2.0.40. Instead of following the
Apache versions (latest of which is 2.0.44), RH has decided to continue to
ship 2.0.40, but with all of the .41, .42, .43 and .44 fixes backported to
their 2.0.40 PROVIDED you have ALL of the latest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Op vrijdag 7 februari 2003 19:40, schreef Kenny G. Dubuisson, Jr.:
Jonathan:
Here are two links (one to a Word and one to a PDF version of the
document): http://myweb.cableone.net/kdubuisson/Install.doc
Thank you, Sean,
But you did not finish reading my message, in which I
said
I even copied the BC bundle jar file to C:\Program
Files\Apache Group\Tomcat 4.1\common\lib, but
Tomcat still keeps complaining:
java.security.NoSuchProviderException: no such
provider: BC
Mark.
--- Sean
ok
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
please forgive me previous post. i was replying to the wrong message.
fred wrote:
Hello,
can somebody tell me if i can compile the .java drectly in the directory of my webapps.
Is it an option in the sever.xml ?
It's Apache 2.0.43 with Tomcat 4.1.18 with the JK2 but i think that is the same with
os: redhat 7.3
how can i make sure that tomcat is running in my server?
Jianping Zhu
Department of Computer Science
Univerity of Georgia
Athens, GA 30602
Tel 706 5423900
Use a command line program like wget, cURL, JMeter, ... to get a page back.
You can also look for a java process running.
-Tim
Jianping Zhu wrote:
os: redhat 7.3
how can i make sure that tomcat is running in my server?
Hi, all
Could anyone tell me what to change in default Tomcat 4.1.18 configuration
to avoid exception after several hours (night) of running idle?
My web application uses database connection, but database driver connection
timeout is set to Integer.MAX, so it should not be the reason.
Here is
Thanks,
can you give me more detailed instruction?
On Sun, 9 Feb 2003, Tim Funk wrote:
Use a command line program like wget, cURL, JMeter, ... to get a page back.
You can also look for a java process running.
-Tim
Jianping Zhu wrote:
os: redhat 7.3
how can i make sure that
I am not sure about linux, but why don't you just try
http://localhost:8080 or http://localhost and see?
--- Jianping Zhu [EMAIL PROTECTED] wrote:
Thanks,
can you give me more detailed instruction?
On Sun, 9 Feb 2003, Tim Funk wrote:
Use a command line program like wget, cURL,
The same thing works on my Win2K box with Tomcat
4.1.12 and J2SDK1.4.1 at my home.
But it does not work on my Win2K box with Tomcat
4.1.18 and J2SDK1.4.1 in my school lab.
I get the exception from the tomcat console:
java.security.NoSuchProviderException: no such
provider: BC
Does this mean
Alternatively on *nix (including Cygwin) you can type the following:
ps -ef | grep java
Of course if you have other java procs running they will show up too.
If you wanted to see if it was bind to a port you can check netstat -a for
the port # (likely 8080 in default config), but in reality,
This is conceptually very easy, but a little tricky because the process
identification typically gets cut off for processes that are lengthy.
Which is what happens with all the classpath addition, etc.
Try this:
ps auxw --width=1000 | grep org.apache.catalina.startup.Bootstrap start
I tried
-Original Message-
From: Vladimir Kirillov [mailto:[EMAIL PROTECTED]]
Sent: Sonntag, 9. Februar 2003 18:58
To: [EMAIL PROTECTED]
Subject: exception after several hours idle
Hi, all
Could anyone tell me what to change in default Tomcat 4.1.18
configuration to avoid
Ah... Thanks for the correction. :-)
But, I'm now getting an exception during load if I set it like you
wrote:
java.lang.reflect.InvocationTargetException:
java.lang.IllegalArgumentException: Document base dealernet does not
exist or is not a readable directory
at
Could anyone tell me what to change in default Tomcat 4.1.18
configuration to avoid exception after several hours (night)
of running idle? My web application uses database connection,
but database driver connection timeout is set to Integer.MAX,
so it should not be the reason.
Even if
I played around with this a little bit more and this outputs a complete
list of all tomcat processes on a single line. It also avoids listing the
ps command as a found process.
ps ax --width=1000 | grep [o]rg.apache.catalina.startup.Bootstrap start
| awk '{print $1 }'
Oscar
On Sat, 8 Feb
I made a slight mistake. It's printf instead of print for getting it one
line.
ps ax --width=1000 | grep [o]rg.apache.catalina.startup.Bootstrap start | awk
'{printf $1 }'
Oscar
On Sun, 9 Feb 2003, Oscar Carrillo wrote:
I played around with this a little bit more and this outputs a
No. Tomcat will automatically compile JSP files to servlets for you, but
not .java source files.
Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com
- Original Message -
From: fred [EMAIL
Why do you suspect that it is a problem with the database connection?
Can you determine if you are running out of disk space somewhere? Or
perhaps you are trying to safe a file to a location where you don't have
sufficient permissions to do so. Or perhaps you are trying to load a file
that does
Sorry about that. It was about 3 AM local time when I posted that message.
Have you tried consulting this document:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/security-manager-howto.html
I found an interesting excerpt from that document...
The security policies implemented by the Java
Not sure why that would be happening. The documentation for Resources
states that the Resources.docBase attribute is handled in the same manner as
the Context.docBase attribute in that it is relative to the Host.appBase.
Does using an absolute path for the Resources docBase work? That is...
Hey, now. The full path does work. Good one. :-)
Thanks,
Mike Johnson
On Sun, 2003-02-09 at 13:47, Sean Dockery wrote:
Not sure why that would be happening. The documentation for Resources
states that the Resources.docBase attribute is handled in the same manner as
the Context.docBase
Maybe try Resource.docBase= to see what that does... Just out of
curiousity. :-)
- Original Message -
From: Mike Johnson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, February 09, 2003 14:56
Subject: Re: How to configure Tomcat to follow symbolic links.
Hey,
Has anyone activated Server Side Include(SSI) in Tomcat 4.1 ?
I have followed the normal instructions under Apache's Tomcat
website(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssi-howto.html
),
including :
1. Renaming servlets-ssi.renametojar to servlets-ssi.jar in directory
Sean Dockery, while I VERY MUCH APPRECIATE yer helpful advice which you have offered
to me (in fact, u are the only person so far to offer any advice for this current
problem of mine!) it still isn't going right at all!! Here is a screen dump from the
tomcat server error page. Note that it is
That's odd, started right up no complaints. It's even following
links, too. :-)
I should have mentioned this before: Blackdown SDK 1.3.1 (b), Debian
unstable/PPC.
Thanks again,
Mike Johnson
On Sun, 2003-02-09 at 14:16, Sean Dockery wrote:
Maybe try Resource.docBase= to see what that
We are building out a toolkit for distributed single sign-on, using (today) standards
such as SAML and Liberty. While the guts of this toolkit are mostly finished, we
aren't actually populating the Subject/Principals list, and we'd like to add features
in that direction. I'm admittedly quite
Hi!
I don't know if this is what you asked, but that error comes because there
are problems in the source code.
As you get:
symbol : variable current
location: class org.apache.jsp.calendar_jsp
current-Cal.getActualMaximum(currentCal.DAY_OF_MONTH);
and
Hehe. Your situation is far from desperate. :-)
The error that you are seeing happened when Tomcat attempted to translate
your JSP file into a Java servlet source code file that it could then
compile and run as a servlet. Don't despair though; failures can teach you
much more than successes.
On Sun, 9 Feb 2003 [EMAIL PROTECTED] wrote:
Date: Sun, 9 Feb 2003 17:26:35 EST
From: [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Is SSI supported in TC 4.1 ?
Has anyone activated Server Side Include(SSI) in Tomcat 4.1 ?
I have followed
Hi Bryan,
A couple of comments interspersed below.
On Sun, 9 Feb 2003, Bryan Field-Elliot wrote:
Date: Sun, 9 Feb 2003 15:48:11 -0700
From: Bryan Field-Elliot [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: JAASRealm/LoginManager questions
SUCCESS gentlemen with the calendar.jsp!!! I got it to execute in the Tomcat app. server--probably my very 1st jsp/servlet to successfully run!!! All that I had to do was to correct a variable name (it had a "-" in it mistakenly) and then "lo and behold" it ran! I am, however, having a problem now
Thanks for all your comments Craig,
I did a little more thinking since my original post.
First, to clarify - you mentioned that in this scenario, there really
isn't a local realm at all, since there is no local user database.
Actually there is, in the SAML model, there's a remote user database
Java teacher says:
As far as I can see, you forgot to wrap your cases into brackets...
Try the following:
% switch (day) { %
% case '1': { %
FONT COLOR=blue SIZE=+1Sunday/FONT
% break; } %
% case '2': { %
FONT COLOR=blue SIZE=+1Monday/FONT
% break; } %
% case '3': { %
On Sun, 9 Feb 2003, Bryan Field-Elliot wrote:
Date: 09 Feb 2003 17:26:10 -0700
From: Bryan Field-Elliot [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: JAASRealm/LoginManager questions
Thanks for all your comments
On Sun, 2003-02-09 at 18:09, Craig R. McClanahan wrote:
Ah, if only it would ... it would require a change to the servlet
spec to
allow filters to perform container managed security
authentications.
From a container writer's point of view, I get a little uneasy
thinking
I can't help you with your problem, as I am also stuck with JK2 on SuSE 8.1.
However, I can give you a few hints, what the error message you get means.
The line specifies that Tomcat shall be run without an X server (headless).
Before J2SDK 1.4.x the implementation of the AWT classes required
Hello again, Steve.
I concur with Michael's recommendation that you should hone your Java
programming skills before you tackle JSP.
- Original Message -
From: Steve Burrus
To: Tomcat Users List
Sent: Sunday, February 09, 2003 17:01
Subject: Re: Need help w. another jsp!
SUCCESS
Why do you suspect that it is a problem with the database connection?
First there was an exception from JDBC driver that I use. I set conntection
timeout.
But there is a porblem somewhere else.
Can you determine if you are running out of disk space somewhere? Or
perhaps you are trying to safe
Thanks Craig, this sounds like a much cleaner solution than what I
eventually tried which was to copy the session grabbing code out of
AuthenticatorBase and use it to get the required principal.
The problem I am having now is that JBoss still thinks that the logged
on user is the last one that
Hi Chris -
I've seen this situation before, but don't have a way to add vhosts to
server.xml on the fly. One thing that comes to mind would be to use
mod_rewrite to (somehow) rewrite a *.jsp URI with some vhost-specific
info in it that Tomcat can pick up and use to direct to the right
On Sun, 10 Feb 2003, Peter Kelley wrote:
Date: 10 Feb 2003 14:31:23 +1100
From: Peter Kelley [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Valve Access to Principal
Thanks Craig, this sounds like a much cleaner
Could you check and see if your database terminates connections after a
certain amount of inactivity ? If so you can try and increase the
duration. Might be worth a shot.
Vladimir Kirillov wrote:
Why do you suspect that it is a problem with the database connection?
First there was an
I am trying to use the tomcat security constraints behind an IIS web
server. I know tomcat and the ISAPI filter are working. Also, Tomcat
authorization is working bypassing IIS using port 8080.
When I try to reach the exactly same application through IIS (port 80) I
get the user validation
I think you misunderstand my question, I want to run Tomcat standalone.
The problem I have is that the JAAS credentials don't seem to be being
associated with the thread that is running my JSP. The fact that JBoss
is on the other end is probably irrelevant, the same problem would occur
no matter
On Sun, 10 Feb 2003, Peter Kelley wrote:
Date: 10 Feb 2003 16:12:36 +1100
From: Peter Kelley [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Valve Access to Principal
I think you misunderstand my question, I want to run Tomcat standalone.
The
OK I'm still not sure we are talking on the same page so please bear
with me whilst I attempt to restate what is happening.
Tomcat 4.1.18 running in JDK 1.4
JBoss 3.0.3 running in JDK 1.3
Tomcat is running standalone in a seperate JVM to JBoss.
Both Tomcat and JBoss are running on the same
On Mon, 2003-02-10 at 17:22, Peter Kelley wrote:
All of this seems to be working in the debugger correctly. The problem
is that the JAAS security association that I am doing seems to be with
the wrong thread or something because by the time JBoss sees it the
subject is the one of the user who
On Sun, 10 Feb 2003, Peter Kelley wrote:
Date: 10 Feb 2003 17:22:53 +1100
From: Peter Kelley [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Valve Access to Principal
OK I'm still not sure we are talking on the same
liug [EMAIL PROTECTED] wrote in message
b24kvg$7ku$[EMAIL PROTECTED]">news:b24kvg$7ku$[EMAIL PROTECTED]...
mod_jk2 (tomcat 4.1.18) seems to compile fine with apache13,
but only mod_jk2.so is generated. There is no libjkjni.so.
Is that a problem? Is libjkjni.so really needed? The mod_jk2
works
colin diggensworth [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi, I am running Tomcat version 4.1 with JDK1.3.1 onWin98. I can run all
the Tomcat examples servlets no problem. I am trying to run a simple
servlet. I do the following:
(1)Write a simple
I seem to remember that there were some recent changes that may fix this,
but it is hard to know without knowing which Tomcat version you are running.
Alberto Magalhaes [EMAIL PROTECTED] wrote in message
001701c2cfc4$2a35e530$353216d5@aacm">news:001701c2cfc4$2a35e530$353216d5@aacm...
Hi,
why when
Hi,
To unsubscribe, e-mail: [EMAIL PROTECTED]
I have been trying to unsubscribe from the list but it doesn't work. I
have already sent many unsubscribe emails to the above address (subject:
unsubscribe, body: unsubscribe) and none of them worked.
Please someone from the admins unsubscribe me
Hello,
Please could anybody tell me how to monitor whether tomcat is running. I
am using for load testing JMeter which sends requests. Is there
something like that which would also send requests for example each 5
min and in case of problem, an email would be sent to the administrator.
Or is
70 matches
Mail list logo