Running Tomcat 4.1.10. on Linux. Java 1.4.x.
I have a jsp that looks like:
(Snippet)
<%= division %>
|
<%= subdivision %>
<%= POP %>
<%= Temp %>
<%= Total %>
Total Region
<%= POP %>
<%= Temp
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 command
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 co
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:
StartServlet
/*
But I blew the stack since that caused my attempts to call anythin
Hi, Matt and Mavrikis,
Well, I tried to add the load-on-start like this:
StartServlet
manpower.servlets.StartServlet
1
That didn't work. I tried too. But it never calls
the servlet.
I'll look for Valves or Filters.
Thanks,
Jim.
"Warden, Matt" wrote:
>
> On Mar 9
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 and
> writing URLConnection..
> But I am 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]>
>
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 w
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
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.
true
2003-06-19 16:02:31 Authenticator[/resources]: Subject to constraint
SecurityConstraint[resources]
2003-06-19 16:02:31 Authenticator[/resources]: Calling checkUserData()
2003-06-19 16:02:3
uot;users" userNameCol="user_name" userCredCol="user_pass"
>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
&
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
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:
PropertyConfigurator.configure(getServletContext().getRealPath("/")+"/WEB-INF/classe
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
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 i
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]
Fo
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-----
>
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 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 exception
catch (SQLException e) { ; }
> stmt = null;
> }
> if (conn != null) {
> try { conn.close(); } catch (SQLException e) { ; }
> conn = null;
> }
> }
>
> - Original Message -
> From: "Jim Lynch" <[EMAIL PROTECTED]>
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 them
"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 modi
licitly hurt
> performance.
>
> Yoav Shapira
> Millennium ChemInformatics
>
> >-Original Message-
> >From: Greg Ward [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, September 04, 2003 10:05 AM
> >To: Tomcat Users List; [EMAIL PROTECTED]
> >Subjec
her
> 3rd party libraries? Libraries you've written yourself? Have these been
> profiled and exercised to ensure they are not the ones leaking?
>
>
> > -Original Message-
> > From: Jim Lynch [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 05, 2003
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 bas
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 aut
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 com.sgi.patches.servlets.PatchesR
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:
javax.nam
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, e-mail:
binding 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
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 u
atics
-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.
S
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 r
P_KEY);
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 meth
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 s
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
SystemLoad
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 fo
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 1
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 a
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 su
d, it would be worth running a code
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
x 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
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 mod_jk
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, bu
handle the request.
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:[EMA
ur request? Enable 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 bet
Is there something special I have to do in mod_jk config file for apache
2 that I didn't have to do for Apache 1.3 to permit basic authentication?
Here is the section of the server.xml file dealing with the
authentication I'm using:
Jim Lync
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 Apa
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