Running Tomcat 4.1.10. on Linux. Java 1.4.x.
I have a jsp that looks like:
(Snippet)
general:ListDivision
tr
td%= division %/td
td colspan=%= branchlen %| /td
/tr
general:ListSubdivision division=%= division %
tr
td%= subdivision %/td
Tim Funk wrote:
Make sure in your tag declaration (tld file) you have rtexprvalue set to
true.
That was the key. I didn't have it set.
Thanks,
Jim.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Here's the pertinent information. What happened to the port number? Or
what caused the failure? Tomcat is up and running, listening on port
8080. I've got another build.xml file that talks fine. I was trying
this one out because there is no deploy in my original.
Error after entering the ant
Please ignore this dumb question. I found a build.properties file in my
home directory with the wrong info in it. So did ant. 8(
Sorry for the wasted bandwidth,
Jim.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Or does it have to be in the server.xml file?
Next question. Once I've got it there, what do I have to do to
1. For a login for the app.
2. After the user has logged in, how do I get his role?
Thanks,
Jim.
-
To unsubscribe,
Thanks, I'm making progress. I found samples of three different
versions of the realm descriptor.
JDBCRealm ... realm ... and Realm
JDBCRealm and Realm both behave the same. When I use them with:
connectionURL=jdbc:mysql://localhost/authority?user=jimpassword=jim
I get an error message upon
userRoleTable=user_roles roleNameCol=role_name/
The document I'm referring to is:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#JDBCRea
lm
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday
Now that I can log in, the next question is how do I obtain the user
login information from within my servlet?
THanks,
Jim.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
That I can do. Thanks
Jim.
All you can get is their username - using request.getRemoteUser(). To get
the rest of their information, you'll have to query the database with
handwritten code.
Matt
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday
I recently switch from doing install, remove deployments via a build
directory to deploy, undeploy via a war file. Unfortuantely my
logging has stopped working. I've traced it to the following statement:
Thanks for all the replies. Finally something about this project that I
can really appreciate. The soloution is to do NOTHING! I love it. 8)
Thanks,
Jim.
Jim Lynch wrote:
I recently switch from doing install, remove deployments via a build
directory to deploy, undeploy via a war file
I've two different applications running, using log4j to log. For some
reason output destined for one app gets in the others log. It looks
like only one application can have a log at a time.
What might I have done to cause this problem? It looks like the
application that has been deployed last
OK, I removed the jar file from common/lib and put copies in each
WEB-INF/lib and it works as expected.
Thanks again,
Donie, be sure you don't still have a copy somewhere in your tomcat lib
path, too.
Jim.
Donie Kelly wrote:
I have this problem as well but my log4j.jar is in WEB-INF/lib in
log4j:ERROR Could not read configuration file
[null/WEB-INF/classes/log4j.properties].
java.io.FileNotFoundException: null/WEB-INF/classes/log4j.properties (No
such file or directory)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
I think the problem is the path. Somehow he has lost the path to
WEB-INF...
Phillip Qin wrote:
I had similar problem when I didn't grant read/write permission to
log4j.properties in Catalina.policy. Did you start tomcat -security?
-Original Message-
From: Jim Lynch [mailto:[EMAIL
How do I get rid of it? I can always reinstall tomcat, but I sure don't
want to.
I installed netbeans 3.5 on Linux. Somehow it screwed up my Tomcat
server configuration. I wasn't using it with tomcat, just debugging a
stand alone java program. When I went to start Tomcat, it doesn't with
this
I've got a situation where I need to initialize some session variables
the first time in. I'd like to start execution with a servlet rather
than a .html or .jsp page. I tried to use:
servlet-mapping
servlet-nameStartServlet/servlet-name
url-pattern/*/url-pattern
Hi, Matt and Mavrikis,
Well, I tried to add the load-on-start like this:
servlet
servlet-nameStartServlet/servlet-name
servlet-classmanpower.servlets.StartServlet/servlet-class
load-on-startup1/load-on-startup
/servlet
That didn't work. I tried load-on-startup/ too.
OK, I think I see the problem. It did call the servlet but only the
init() method. Makes sense. Since there is no request passed, I can't
do anything.
Let me restate the question. I'd like to start execution with a servlet
that can fire off a jsp after initializing stuff in the the session
not clear about initializing the Session info, on startup
Do let me know if any thing found on that...
Regards,
Pratt.
- Original Message -
From: Jim Lynch [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 3:55 PM
Subject: Re: How do I start
I know I've seen this discussion a while back but I couldn't find it.
On a Linux box I've build a simple minded tomcat start/stop/restart
script and put it in /etc/init.d. Should I start tomcat before apache
or after or does it matter? Same for shutdown. Are there any timing
issues?
This is a
I've been following this thread with interest since I've never been able
to get undeploy to work either. Where might I go to learn about
context.xml and most importantly, what goes into it? Examples would be
great.
Thanks,
Jim.
Phillip Qin wrote:
Having added context.xml, Deploy/Undeploy
I do an ant remove before I do the deploy. That works for me.
Jim.
Phillip Qin wrote:
Did anyone solve Cannot remove document base for path /mywebapp?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
I seemed to have read that java/tomcat isn't supposed to have memory
leaks, but something seems to be running me out of memory and I don't
know what.
After a number of edit/undeploy/compile/deploy iterations I get the
following:
javax.servlet.ServletException: Servlet execution threw an
;
}
}
- Original Message -
From: Jim Lynch [EMAIL PROTECTED]
To: tomcat [EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 12:56 PM
Subject: Memory leaks?
I seemed to have read that java/tomcat isn't supposed to have memory
leaks, but something seems to be running me out of memory and I
I'm using the basic authentication scheme, 'cause I couldn't ever make
the user type work. My pages just sat there and looped. But I'm
running into a performance problem. I have dozens of .gif files and
other things that get loaded with my page and it looks like it is
authenticating each of
Shapira, Yoav wrote:
Howdy,
What does your web.xml look like, specifically the security-constraint
parts?
Yoav Shapira
Millennium ChemInformatics
I think I understand where you are going and I changed it slightly and
partially accomplished what I wanted to do. Here is the modified
Millennium ChemInformatics
-Original Message-
From: Greg Ward [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 10:05 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Memory leaks?
On 03 September 2003, Jim Lynch said:
OK, that's probably what's going on. I know I
?
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 9:37 AM
To: Tomcat Users List
Subject: Re: Memory leaks?
I'm most certain the connections are closed but there may be
a few dangling statements. I'm using mysql jdbc. Not using
I've written an application where I need to keep up with the version
number. I'm trying to figure out an elegant way to maintain that in the
simplest and perhaps the most automated way. My source is kept in a cvs
archive but of course there are dozens of files so it would be
difficult to
Thanks to all who made suggestions. I'm still sorting through the options.
Jim.
Jim Lynch wrote:
I've written an application where I need to keep up with the version
number. I'm trying to figure out an elegant way to maintain that in the
simplest and perhaps the most automated way. My
I'm getting the following trace as a result of calling
printStackTrace(). What have I done to cause it to lose the source
locations?
java.lang.ClassCastException: java.lang.NullPointerException
at com.sgi.patches.dao.PatchDao.getPatchList(Unknown Source)
at
This is not starting the week out very good. I'm trying to duplicate
the code in the Tomcat example, SendMail.java. I'm getting the
following error:
03-10-20
09:06:46|ERROR|gi.oasis.servlets.FeedbackRequestHandler|Feedback error
java.lang.Exception: OpusMail encountered exception:
Hm. That's strange. I don't even know how to change the debug setting.
Thanks,
Jim.
Shapira, Yoav wrote:
Howdy,
You compiled it without debug enabled in javac.
Yoav Shapira
Millennium ChemInformatics
-
To unsubscribe,
a mail/Session JNDI entry
into your env context. Post your server.xml.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2003 9:24 AM
To: Tomcat Users List
Subject: Name mail is not bound in this Context error
That gave me the info I needed. The configuration has to be in my
context.xml file. Or an appropriate place in the server.xml file. I
tried to put in in a global resources section and that wasn't working.
Thanks,
Jim.
Shapira, Yoav wrote:
Howdy,
That depends on which SendMail example you're
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2003 9:26 AM
To: Tomcat Users List
Subject: Re: What did I do to get an (Unknown source
Hm. That's strange. I don't even know how to change the debug
setting.
Thanks,
Jim.
Shapira, Yoav wrote:
Howdy
I have 3 almost identical tomcat servers running on Linux. Production,
testing and development. They are all running 4.1.24. I have the
following code running on all three:
fullPath=getServletContext().getRealPath(/)+APP_FILE_PROP_KEY;
On the dev. and prod. systems the getRealPath method
);
Now that you mention it, I believe I've accused the wrong method. The
getResourceAsStream is failing. I get a stream on the other two systems
but not on testing.
Jim.
Tom Parker wrote:
On Wed, 2003-11-05 at 12:30, Jim Lynch wrote:
On the dev. and prod. systems the getRealPath method returns
Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 8:00 PM
To: Tomcat Users List
Subject: getResourceAsStream woes was: getRealPath woes
As I mentioned, all of these systems are pretty much identical. What I
didn't include in the source was a test to see
I've searched google for jni and tomcat, but I can't figure out where to
put a shared lib so a Tomcat application will find it. All the people
looking for help have already figured this out, apparently.
Anyway, running Linux on Intel, Tomcat 4.1.24. Where does my .so file
go so my
Ah, in the java tree! I'm too hung up on Tomcat and overlooked the obvious.
Thanks,
Jim.
Phillip Qin wrote:
$JAVA_HOME/jre/lib/i386
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: November 10, 2003 10:27 AM
To: Tomcat Users List
Subject: Where to I put .so for JNI
Random sig 11s are sometime indicative of memory failures. Be sure to
run some good memory diagnostics.
Jim.
Jim Goodspeed wrote:
Unfortunately we have also tried Sun's JVM and are
experiencing the same Signal 11 errors (I've included
two snippets of the Sun error - same error as the IBM
Sig
We have a performance issue with a web page being served via
Tomcat/Apache. I don't think it has anything to do with Tomcat, but I
am being asked to turn debug logging off to help improve it. I'm
resisting because the output has been extremely valuable in solving
problems that still crop up
If it were my boss wanting to do the measurement, I'd have money, but
I'm trying to keep him off my back, hence no cash.
Thanks,
Jim.
Justin Brister wrote:
Jim,
if you have any money to spend, it would be worth running a code profiler
such as JProbe over the code. If you don't have access to
profiler
such as JProbe over the code. If you don't have access to such a tool /
money, then you could try running JMeter to benchmark the site.
J
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 1:40 PM
To: Tomcat Users List
Subject: How
for now, test tomcat-standalone. Once that works, if you need
Apache you can bring it back in and worry about its configuration.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 8:36 AM
To: Tomcat Users List
I have two apache servers running on a single system. The main one is
apache 2 the secondary one on port 81 is apache 1.3. Since I was
unsuccessfull at getting the combination Tomcat 4.1.30, Apache 2 and
mod_jk2 working together I brought up 1.3 and got it working with Tomcat
4.1.24 and
That's quite possible but not helpful. The configuration is identical
in essence to a working version on apache 1.3. Can anyone tell me what
the differences are between the two are?
Jim.
Mladen Turk wrote:
Jim Lynch wrote:
I finally got mod_jk to comple on RH 9 for Apache 2
.
Apache/2.0.40 Server at xxx.sgi.com Port 80
Cox, Charlie wrote:
Are you sure Apache is not blocking your request? Enable the AccessLogValve
on tomcat and see if your request is getting through.
Charlie
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent
the AccessLogValve
on tomcat and see if your request is getting through.
Charlie
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 8:28 AM
To: Tomcat Users List
Subject: Re: Authentication isn't working with mod_jk 1.7.3 beta.
That's quite
=org.gjt.mm.mysql.Driver roleNameCol=role_name
userCredCol=user_pass userNameCol=user_name
userRoleTable=user_roles userTable=users validate=true/
Resource auth=Container description=DB Connection
name=jdbc/Nafo scope=Shareable type=javax.sql.DataSource/
/Context
Jim Lynch wrote:
I
Hi, all,
I'm attempting to port an application from one system to another. I
originally wrote it on a debian system and ported it to a RH 7.2
system. Now I'm trying to move it to a RH 9 system. I installed the
latest Tomcat 4.1.31, java 1.4.2_06 and Apache 1.3. Orignally this
system had
I finally got mod_jk to comple on RH 9 for Apache 2, but the
authentication doesn't work through the connector. If I go to port 8080
I get the login popup and am able to enter the app OK, however if I try
to go to the default port and connect via mod_jk I get an authentication
error. I never
54 matches
Mail list logo