Fermin,
This information is usually recorded in your log files, or alternately
printed into the console window if Tomcat is running in windowed mode
(because you manually launched the tomcat5 executable).
Look in {Tomcat Home}/logs/ for a file like stdout_20050802.log
(stdout_MMDD.log). There
file.
I know that every jsp is translated into a servelt, but, how i can know the
exact line of the JSP file ?
-Message d'origine-
De : Patrick Thomas [mailto:[EMAIL PROTECTED]
Envoyé : Jueves, 11 de Agosto de 2005 07:15 p.m.
À : Tomcat Users List
Objet : Re: Knowing the line
Darryl,
Your remark about POJOs being part of the API prompted me to chime in
-- William pretty much gave you the general answer, that Tomcat
doesn't seem to be the best way to go for this (because everything is
passed via http). I would point out that just as you can
serialize/stream objects to
Hi All,
Easiest part of this question is simply does tomcat (5.5.7) support
using generic types in JSP files? I searched release notes, FAQ, etc
and found no mention either way. Does some erudite soul have the
answer?
Secondly, if it's supposed to support it, why then would it have
difficulty
Thanks Chuck, I definitely wouldn't have noticed that without the
pointer. Oh well, I guess I'll stick to casting and iterators for a
few more months ;)
On 8/8/05, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Patrick Thomas [mailto:[EMAIL PROTECTED]
Subject: Generic Types support
Hi Steve,
We're probably going to need a little more context in order to give
you any help. Approximately how often does this happen? Have you been
able to isolate a particular page or servlet that causes it
consistently? What shows up in the log file/console window when it
happens? Does it kill
Hi All,
When jsp:include-ing a page, I see that params from the calling page
are also passed on to the called page.
Example:
caller.jsp: (hypothetically called with param1 = val1)
jsp:include page=callee.jsp
param name=param2 value=val2
/jsp:include
callee.jsp:
Sees request variables
There's a great website out there called google. I'm told that it has
answers to lots of questions like this. Try there before asking a lot
of busy people to do the looking for you.
Good hunting,
PST
On 7/8/05, Carlos Bracho [EMAIL PROTECTED] wrote:
It's a java question more than a tomcat
Hi Matthias,
I think people will need a little more information in order to help
you. How exactly are you creating the links right now? What do you
actually want them to look like when served to the user?
By itself Tomcat doesn't allow an app to cough up an arbitrary path in
the filesystem and
Hi Øyvind,
This works quite well for me. Place the following magic incantation at
the *end* of your JSP. Specifically, place it after the closing body
tag, but before the closing html tag. In context it looks like this:
/body
!-- Hack to disable IE caching --
head
meta HTTP-EQUIV=PRAGMA
Hi Frank,
With the caveat that I don't use RAC, it looks like you're doing
things right from a JDBC/Tomcat perspective, but I thought I'd bring
one point just to clarify for you and any lurkers: JDBC doesn't use
TNS at all; it only cares about the host, port and SID as specified in
the connection
*bump*... I too would love someone to shed some light on this subject.
Cheers,
PST
On 6/19/05, Anand Vijay [EMAIL PROTECTED] wrote:
hi all
When i say logAbandoned = true in data-source of struts-config.xml , it
still does',nt trace abandoned connection .How can i achieve this and
where
Hi Jenny,
First off, congrats on the internship! Hope you enjoy it. Now, more to
the point: you're looking for the JavaMail package.
Read about how to use it in Tomcat here (you'll have to become
familiar with JNDI, but that's a Good Thing ):
Hi Charl,
Dunno about a method call that you'd be able to make, but this may get
you half way there:
http://localhost:8080/manager/list
Straight text response, easy to parse. Now, the catch is, you'll need
to be authenticated on the server. Ant has some tools that you may be
able to make use
Hi Joe,
To summarize the point that all of these others folks were making;
Tomcat by itself has no way of interrogating the operating system of
the connecting machine or noticing through the information that it
gets from then browser that the user is a particular person. Tomcat
can only tell you
Brian,
What is it that you're looking to accomplish with that cast? It makes
it hard for others to respond with suggestions when they don't know
what your criteria are. Also, how does it fail when you try it (ie
ClassCastException)?
Personally, I haven't run into any issues, but I just stick with
and if a context with the same name is defined in a webapp WEB-INF/xml
file which would win such a fight? I have a feeling my context defined
in /localhost is being overwritten by the app. (I'm fighting with
JBuilder 2005 trying to get some JNDI naming stuff to work for my
datasources)
, except implicit).
Hope that helps! Let me know if I can clarify anything.
Cheers,
Patrick Thomas
(PS - remember to install the jakarta commons and pooling jars
mentioned in the dbcp documentation.)
On 5/31/05, Aaron Hackney [EMAIL PROTECTED] wrote:
I think I may have actually found the answer to my
On 5/26/05, Nathan Smith [EMAIL PROTECTED] wrote:
... trouble free, with 100%
certainty that the code we are releasing works, no new bugs have been
introduced, and ...
Wow... if you figure out how to do that, make sure you write a book.
I'll be wanting a copy. ;)
~PST
Hi Phil,
To answer your question directly; no, in 5 you don't need (and
shouldn't have) a context entry in the server.xml for a war file (or
any webapp for that matter). Assuming the war contains a context.xml
file in META-INF, then tomcat will use that one (it will copy it to
Hi Rudi,
Here's how I do it, and this also seems to be the 'correct' way of
doing it with Tomcat5 (as it doesn't mean messing with any
container-level files).
Into {tomcathome}\conf\Catalina\localhost\ I place a correctly formed
context file, for example ApplicationName.xml (very minimal for
Rick,
Actually, I believe it might be possible. Ugly, but possible. Using
Runtime.getRuntime() to get the current runtime, you can then actually
make a call to a shell command. You could call a batch file that would
shut down the server and then restart it. What I don't know is if the
newly
Use a batch file to start tomcat and use the plain old redirect symbol, like so:
redirect_tomcat.bat:
-
tomcat5.exe whateverfileyouwant.log
-
The other thing you should probably check out is the Logging tab in
the tomcat5w.exe app, it seems to
Lorenzo,
I don't know about a jar file, but you can look at the CVS repository
for the java files. (Look in src/java/ for the package root) They're
packaged, so you could make the jar yourself easily enough. (jar -cvf
new jar name files to jar)
24 matches
Mail list logo