Found this in the httpd error_log file:
[Sat Aug 2 11:48:26 2003] [error] [client 127.0.0.1]
client denied by server configuration:
/usr/share/webmin/apache/jakarta-tomcat-4.1.18/webapps/examples
Does anyone know what I should look for? and where?
Rick
-Original Message-
From
Michel,
I had a similar problem creating files in a servlet. I found that in my
case, the relative
path start in the directory where tomcat is started. I changed the startup
script to do a
cd to $tomcat_home then called bin/startup.sh.
Hope this helps
Rick Bradberry
NCR WCS Managed Services
Mike,
Thanks for the help, but all the directories have a minimum of r-x, most
have rwx and are owned by root.
Tomcat runs as root and apache runs as apache.
Rick
-Original Message-
From: Mike Millson [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 02, 2003 9:20 AM
To: Tomcat Users
ccess example
on this server." error message. However, I can get to the ~home pages.
Is there some security I can turn off. Can you give me an idea of where to
look or what to look for.
Here is the versions that are installed
apache 1.3.26
tomcat 4.1.18
mod_jk 1.3
Thanks for any help
Rick
Well, to answer my own question -> comment out everything in jk2.properties.
I found the
post I needed right after I sent this email out.
Thanks and sorry for posting too quickly.
Rick
-Original Message-
From: Bradberry, Rick
Sent: Friday, August 01, 2003 1:49 PM
To: 'Tomc
is in
the CLASSPATH.
SEVERE: Can't create apr
Java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
Thanks for any help
Rick
How are you logging in your servlets? Are you using
System.out/System.err? If so, don't use them, and instead use the
ServletContext#log(..) methods.
Actually, they are mostly beans with no ServletContext :(
--
***
* Rick Ro
,
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
webapps. I can fix this manually until I can get all the paths changed.
Question:
What am I giving up using jk instead of jk2
Rick
-Original Message-
From: shyam [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 3:50 PM
To: Tomcat Users List
Subject: Re: Unable to find a javac compiler
uri:/examples/*.jsp]
info=Extension mapping
[uri:/examples/*]
info=Map the whole webapp
[uri:/examples/servlets/HelloW]
info=Exampel with debug enabled.
debug=10
Rick
Thanks again :)
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
To unsubscribe, e-mail: [EMAIL
es in advance :)
Thanks,
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
Shapira, Yoav wrote:
Howdy,
You can't with a pure server-side solution, as the server do
How can I use sendRedirect() or forward() from a child frame and force the
target to be the top or parent frame?
Similar to Top Frame
but using sendRedirect() or forward()
Thanks
--
***
* Rick Roberts*
* Advanced Information
uters.
Thanks for the advice I will follow it and let you know what I discover.
Thanks,
Rick
Oscar Carrillo wrote:
You might want to look at how many processes/threads are listed for tomcat
and your database.
You might see that one of them or both is creating and keeping too many
threads aroun
I had not seen this problem before I recently started implementing JDBCRealm on
these servers.
Anyone else having stability problems when using Oracle & JDBCRealm?
Rick Roberts wrote:
Also,
The only way I can clear this error is to reboot the machine.
Here is another piece of info I get
nnium ChemInformatics
-Original Message-
From: Rick Roberts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 11:24 AM
To: Tomcat Users List
Subject: Tomcat Crashing on Linux
Tomcat is crashing every 2 - 3 days on 2 different Linux machines.
Both machines are running pretty much identical sof
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
Rick Roberts wrote:
Tomcat is crashing every 2 - 3 days on 2 different Linux machines.
Both machines are running pretty much identical software configurations.
Both machines are serving th
ng ServerSocket
I'm using:
RH 9 (kernel 2.4.20-19.9)
Tomcat 4.1.24 ( RPM tomcat4-4.1.24-full.2jpp)
Sun JDK 1.4 (j2sdk1.4.2)
Any help greatly appreciated.
Thanks,
--
***
* Rick Roberts*
* Advanced Informati
Take a look at this:
http://scarab.tigris.org/
I have not used it yet, but am going to install and evaluate as soon as I get
some time.
There is also Bugzilla.
http://www.bugzilla.org/
HTH,
--
***
* Rick Roberts*
* Advanced
OOPS! Missed the "for Tomcat" part.
Majordomo uses Perl.
Rick Roberts wrote:
Majordomo?
http://www.greatcircle.com/majordomo/
Pitre, Russell wrote:
Hello All,
This may be off topic. I need a quick fix for an office politics
problem which involves a list server. Does anyone know
option..Thanx in advance..
Thanx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
***
* Rick Roberts
.
Therefore you can't set up the downloaddir as described.
I suppose you could figure out a way to do what you want without using container
managed authentication, but I can't think of a good reason to not use it.
--
***
* Rick Roberts
Found a link for ya:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html
Rick
Robert Priest wrote:
How can I check for a Valid session id before allowing access to a file?
For example:
- I have a directory containing files for download:
http://localhost/myservlet/downloaddir/
- but
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
ct( target );
Hope this helps,
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
Gil Hauer wrote:
Hello,
I have code in a servlet that, based on transaction status, forwards to
another target page. The code sni
rely on information stored in the session, errors will occur without this
check.
To invalidate an active session, simply do this:
session.invalidate();
Hope this helps,
--
***
* Rick Roberts*
Making docBase = "nsfs.war" vice "nsfs" works!! :)
However; the war file is not being unpacked.
It seems that unpackWARs="true" works the same as unpackWARs="false"
Thanks,
Rick
John Turner wrote:
From the docs for Context:
"The Document Base (
hanks,
Rick
John Turner wrote:
nsfs.war goes in webapps.
How about just creating the directory and seeing what happens?
In any case, if you're using WAR files, there's no reason to have a
Context defined in server.xml, that's probably what is confusing Tomcat.
Tomcat is reading ser
file.
I have temporarily set permissions to 777 on the webapps directory and it still
does not expand, nor try to use, the war file.
Rick
John Turner wrote:
You've told Tomcat the docBase is "nsfs".
Tomcat thusly looks for a directory called "nsfs" in the Host's
Here is your problem.
You can't do this. You are navigating directly to "login.jsp".
again.
Rick
v.siguier wrote:
I am agree with you but I don't try to access directly to login.jsp, I call the site
presentation page index.jsp.
Following are my to authentication j
/java/jdk1.4/lib/tools.jar:/var
Thanks,
Rick
Shapira, Yoav wrote:
Howdy,
2003-07-23 11:09:30 StandardContext[/nsfs]: Resources start failed:
java.lang.IllegalArgumentException: Document base
/var/tomcat4/webapps/nsfs does not exist or is not a
readable directory
Well explain it to me! :)
There
Yes. My war file has a web.xml file within the WEB-INF/ directory structure of
the war file.
Rhino wrote:
Does the war file contain a web.xml file that contains entries for the /nsfs
servlet? If not, that's likely your problem.
Rhino
- Original Message -
From: "Rick Robert
ontext=/nsfs
debug=0
[uri:/nsfs/servlet/*]
info=Prefix mapping
[uri:/nsfs/*.jsp]
info=Extension mapping
[uri:/nsfs/*]
info=Map the whole webapp
--
***
* Rick Roberts*
* Advanced Informati
.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc
EMAIL PROTECTED]
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
file into a webapps/nsfs/ directory then all
works fine.
How do I get Tomcat to use the war file?
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc
Simon Pabst wrote:
"try reasonable values like 10 mins (600)"
Are you sure that is seconds...I think it's milliseconds.
- Original Message -
From: "joseph lam" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, July 17, 2003 8:25 PM
Subject: Re: JK2 perfo
Hi all,
i have been searching, but cannot find away to turn off chunking in
the coyote connecter 4.1.24. Is there a way, or do i revert to the
older http1.1 connector.
Thanks
Rick
***
Support your Local POP3/IMAP Server
Down with exchange.
Rick Blair
I have the same problem of "tomcat serving up my /images/* folder instead of Apache".
I have two mappings as well, for /*.jsp and /servlet/*. I spent hours trying to figure
out
why Tomcat was serving up my directories!
Please keep me posted if you find a solution.
Rick.
- Origin
ajp13.service() ajpGetReply recoverable error 3
> >[error] ajp13.service() Error forwarding ajp13:localhost:8009 1 0
> >[error] mod_jk.handler() Error connecting to tomcat 3
> >
> >
> >I have lost the battle...looking for any insight at all!
> >
> &g
You might need to recompile all of your classes.
- Original Message -
From: "Jose Euclides da Silva Junior - DATAPREVRJ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 16, 2003 4:29 PM
Subject: Urgent please, what does this error mean( IncompatibleClassChangeError)?
Here you go...hope there is something amiss in here that's causing it!
TIA, Rick
JK2 configuration and virtualhost of httpd.conf --
LoadModule jk2_module modules/mod_jk2.so
JkSet config.file /usr/local/apache2/conf/workers2.properties
Serve
attle...looking for any insight at all!
TIA, Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
was the most
recent request under a secutiry contraint, you are being redirected to
that request on successfull login.
-Tim
--
***
* Rick Roberts*
* Advanced Informati
ow how to use an image in login.jsp?
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
To unsubscrib
Does anyone have any insight on this, when starting tomcat I get:
Apache Tomcat/4.1.24
Jun 6, 2003 9:50:00 AM org.apache.jk.server.JkMain start
INFO: APR not loaded, disabling jni components: java.io.IOException:
/usr/lib/apache2/jkjni.so: /usr/lib/apache2/jkjni.so: undefined symbol:
apr_md5_final
ussing servlet to develop an online apllication. I this I realy need to find A solution to my problem.
Fikayo, from Nigeria
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc
Yea! :)
Noel J. Bergman wrote:
That subscriber was removed about 7 hours ago.
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc
Does Single Sign-On require an LDAP database or can I do it with just a SQL
database?
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc
nyone know how to do this?
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
To unsubscribe, e
e
1
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
To unsubscribe, e-mail: [EMAIL PROTE
uses http://yoursite.gov (port 80)
1 Apache
1 Tomcat
1 computer
--
***
* Rick Roberts*
* Advanced Information Technologies
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.
2/
Rick
- Original Message -
From: "Ray Madigan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, July 11, 2003 9:05 AM
Subject: RE: JK Connector/Jk
Anyone know why I am getting this error on startup?
[error] mod_jk child init 1 0
Thanks
akarta.apache.org/tomcat/faq/misc.html#welcome
>
> John
>
> On Fri, 11 Jul 2003 12:55:42 -0700, Rick <[EMAIL PROTECTED]> wrote:
>
> > Hi
> >
> > I have Apache2.0.46 set up with Tomcat4.1.24 through mod_jk2. My =
> > httpd.conf has:
> >
> > Optio
Hi
I have Apache2.0.46 set up with Tomcat4.1.24 through mod_jk2. My =
httpd.conf has:
Options Indexes FollowSymLinks
DirectoryIndex index.html index.jsp
JkUriSet group ajp13:localhost:8009=20
If I go to a directory with no index.html or index.jsp Tomcat displays =
the directory instead of
You should only need to restart Apache if you have made changes to httpd.conf or
to mod_jk2.conf (which is usually #Include(ed) in you httpd.conf file.
Which is a pretty rare occurance for me.
--
***
* Rick Roberts*
* Advanced
JDBCRealm
created one for me) and that there are no objects placed into the session.
Thanks again for the help.
--
***
* Rick Roberts
how can I use it? I would like to add my objects
to the session object.
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
---
.
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
know
about it.
Here is a snipit from my web.xml:
1
...
...
BASIC
BASIC Authentication Area
--
***
* Rick Roberts*
* Advanced Information Technologies
Mike,
I read this after I posted in the other thread.
Looks like you answered some of my questions here already.
Sorry 'bout that.
Again, you are very helpful.
Thanks,
--
***
* Rick Roberts*
* Advanced Information Technol
t then, is there anyway to sync up the container auth with the session
time-out?
Is there anyway to invalidate the current JDBCRealm login?
--
***
* Rick Roberts*
* Advanced Information Technol
e handling this, it seems like it'd
be a common problem.
Thanks,
Michael
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
***
ilal
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
***
invalidate the
JDBCRealm authentication when the session times-out.
How can I invalidate a JDBCRealm login?
Is there a more standard approach to this problem?
Thanks,
--
***
* Rick Roberts*
* Advanced Information Technol
skills.
Thanks again for your help.
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
To unsubscribe, e-mai
I'm going to start a new thread now because I no longer
need help getting JDBCRealm to work.
Now I need some help getting FORM AUTH to work with
JDBCRealm.
--
***
* Rick Roberts*
* Advanced Information Technologies
Just a quick update.
My JDBCRealm works if I use Basic AUTH.
Only trouble I have now is getting Form AUTH to work.
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc
Mike,
Thanks for your time on this, you have been very helpful.
I will post the solution here, if I ever get it working.
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc
Thanks.
It looks like mod_jk2-2.0.43.so is the latest for Linux.
So, maybe I am current after all.
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc
Not sure if this is what you are after but:
There is a MultiPartRequest Class in the "Java Servlet Programming" Book.
http://examples.oreilly.com/jservlet2/
HTH,
Rick
Jose Euclides da Silva Junior - DATAPREVRJ wrote:
Hi, i have tried to search for , but i didnt find it. Can somebo
Just realized that I don't have latest version.
I can never remember where to find it.
Thanks,
--
***
* Rick Roberts*
* Advanced Information Technologies
However; I did a 'strings mod_jk2-2.0.43.so'
and found:
mod_jk2/2.0.0
Check to see if your mod_jk2.so is a sym link.
Mine is linked to mod_jk2-2.0.43.so
--
***
* Rick Roberts*
* Advanced Information Technol
.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:536)
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
suggestions?
Thanks,
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
To unsubscribe, e-mail: [EMAIL
p
#
# /hd
#
[uri:/hd]
info=Help Desk Web Application
context=/hd
debug=0
[uri:/hd/servlet/*]
info=Prefix mapping
[uri:/hd/*.jsp]
info=Extension mapping
[uri:/hd/*]
info=Map the whole webap
be, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
***
* Rick Roberts*
* Advanced Information Technol
alog box).
I can't stand Basic AUTH!
Gotta figure out Form Based AUTH :)
Thanks again!
--
***
* Rick Roberts*
* Advanced
Oh! One other question.
Does the "tomcat-users.xml" file have anything to do with setting up a
JDBC Realm?
--
***
* Rick Roberts*
* Advanced Information Technol
sp
/login_error.jsp
tomcat test role
tomcat
here is my login.jsp file:
---
<[EMAIL PROTECTED] contentType="text/html"%>
Login
Username:
Rick Roberts wrote:
Thanks for reply Mike.
After thinkin about this message some more;
I think that the reason I am getting this message is because I still
have not successfully created a JDBC Realm.
I'm thinking that the Roles are defined in the database that I'm not
corectly r
I could never get the Warp Connector to work.
But, mod_jk2 and SSL are working fine; so far.
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc
basically passed through one servlet. There isn't
really any process heavy stuff going on, but I'm not quite sure which
way would be better as there are several distinct sections I could break
it up into.
Thanks for the info!
-Nick
--
***
* Ri
eading yet.
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
Still haven't figured it out.
Can anyone help?
Thanks,
--
***
* Rick Roberts*
* Advanced Information Technologies
";>
Protected Area
/*
DELETE
GET
POST
PUT
tomcat
FORM
Form-Based Authentication Area
/login.jsp
/login_error.jsp
--
***
* Rick
Are you trying to process a NULL value?
Possibly from a request.getParameter()?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.xml file:
http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";>
Protected Area
/*
DELETE
GET
POST
PUT
tomcat
FORM
Form-Based Authentication Area
/login.jsp
/login_error.jsp
When you use virtual hosts on apache2 with mod_jk2 does Tomcat have to
have the same virtual hosts defined in it's server.xml file?
--Rick Anderson
John Turner wrote:
Yes. In general, for every Apache ServerName, you need a
corresponding Host entry in Tomcat's server.xml.
]: local_worker_only: false
[Fri Jun 20 13:58:20 2003] [jk_worker.c (187)]: wc_create_worker, done
[Fri Jun 20 13:58:20 2003] [jk_worker.c (238)]: build_worker_map, removing old
loadbalancer worker
[Fri Jun 20 13:58:20 2003] [jk_worker.c (250)]: build_worker_map, done
[Fri Jun 20 13:5
pache/modules/mod_jk2.so:
/usr/local/apache/lib/libapr-0.so.0: undefined symbol: jk2_module
If I change jk2_module to jk_module, it doesn't give an error, but when
I try to use a JkUriSet, I'll get an error there. Anyone have any ideas?
Thanks!
/rick
Yea!
I put my classes inside of a package within WEB-INF/classes
Problem solved.
Thanks,
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
Tim Funk wrote:
See
.java:47:
cannot resolve symbol
[javac] symbol : class ConnectionBean
[javac] location: class org.apache.jsp.viewResult_jsp
[javac] ConnectionBean conn = null;
[javac] ^
-
What am I missing?
Thanks,
--
***
* Rick Ro
Do I need the imbeded tomcat or can I / should I just turn it off?
Should I get Sun One Studio or stick with Forte4Java?
Any advice greatly appreciated.
Thanks
--
***
* Rick Roberts*
* Advanced Information Technol
Can you show me a minimalistic for server.xml?
Just something short and sweet, to jump start me.
Thanks,
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc
debug=0
[uri:/myApp/servlet/*]
info=Prefix mapping
[uri:/myApp/*.jsp]
info=Extension mapping
[uri:/myApp/*]
info=Map the whole webapp
--
myApp is not being served up.
What else do I need to do?
Thanks,
--
***
* Rick Roberts
Never mind.
I got it! :)
Yea!
Thanks a ton to everyone who helped me.
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc
The datasource setup in the admin console is unstable and usually does not
work. Define your contexxt in conf/server.xml manually. See my previous
post for details.
Rick
- Original Message -
> Of course, and I wouldn't be asking the question without tons of
> research o
directly if you have any more specific questions. Oh, upgrading to
4.1.24 is a good idea too, for the bug fixes and because you can use data
sources in realms (allowing you to pool login connections).
Rick Fincher
[EMAIL PROTECTED]
Partial WEB-INF/web.xml for Firebird data source:
DB Connection
101 - 200 of 553 matches
Mail list logo