Any reason the section titling on that page is so confusing?
"Changes from the released JK 1.2.18" makes me think I'm looking at the
changes that have been made *since* 1.2.18 and will be included in some, as
yet un-numbered, future release. If that's actually correct... you mean I
have to ma
Just because it's fun to have that one last kick at the dead horse...
You really can't rely on any cookie being set, can you? I mean most users
are simply not this savvy (or stupid, depending on how you feel about it),
but I can set my browser to prompt for every cookie, and I as the (idiot?)
use
#x27;s instance is having both
> Tomcat+JVM installed in separate directories. Both Tomcats
> running on separate ports.
>
> BJ Biernatowski
> Application Developer, e-Business
>
> -Original Message-
> From: GB Developer [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 19
What does the following tell you?
interfaz_dbms.cacheable temp;
temp = interfaz_dbms.cache.getReferencia().Buscar(id,n.getTipo());
// add this code below...
if (temp!=null) {
System.out.println("class >" + temp.getClass() + "<");
}
// back to your code...
n= (materia
How do you propose to add a 'separate instance of Tomcat' without 'adding a
separate JVM'?
Or do you/others mean by 'instance of tomcat' = 'a separate physical server
with single instance of JVM/Tomcat' ?
>
> So far it sounds that the approach of adding separate
> instance of Tomcat and using
We use a slightly modified version of what was posted to this list a long
time back. It lets us look at a running website and quite easily see which
of our pages have got themselves 'stuck'.
http://marc.theaimsgroup.com/?l=tomcat-user&m=109455426721082&w=2
(It's at the bottom of that page.)
Fu
Velocity can do 'templates as Strings'.
> -Original Message-
> From: Michael Rimov [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 14, 2006 6:38 PM
> To: 'Tomcat Users List'
> Subject: RE: Template tool
>
>
>
> > does it can handle templates from String or has to
> be templ
ask in an ubuntu-related forum for help on permanently disabling your apache
server, or, connect your apache server to tomcat with mod_jk.
If you're unsure of how to do the first, you probably will feel more pain
trying the second (so do that first thing).
> -Original Message-
> From
buried in your stacktrace:
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:80
Combine this with your previous statement "... until I rebooted my
computer"
Most likely there is a version of Apache web server that was enabled with
your ubuntu installation, t
inside mail.google.com, if you can see the 'google chat' "portlet" (or
whatever we're calling them these days), type in an email address that
isn't currently on your google talk list (but *is* in your inbox) and one of
the options that appears is "invite to chat". Whoever you invite, is sent
an
Did you look in the catalina.out file for any thrown Exceptions? You are
try/catching and then System.out.println'ing them. You should have seen a
SQLException trace of some sort, read inline below...
> -Original Message-
> From: Mark Whitby [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, Fe
> Can anyone tell me where I'm going wrong?
what filip said, but also...
>From your servlet source code, make sure not to expect a server-side
operation, such as:
dispatcher.forward(request, response);
to result in a client-side 'refresh' to the 'specified' page
(searchnone.jsp, when you obtai
Well let's just think about that for a second.
Filter:
a filter is called each and every time you make a web request. So even if
the filter is highly efficient, if you make 1000 requests in a session, you
(that is, the container) will invoke the filter's doFilter method 1000
times.
Listener:
A
The error reported is:
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error: Only a type can be imported.
org.apache.commons.fileupload.DiskFileUpload resolves to a package
And the JSP page is:
<%@ page import="org.apache.commons.fileupload.DiskFileUpload
Two things:
1) format of your import statement
(from your first email)
<%@ page import="primeReports/bl/MemGrossBl"%>
should be:
<%@ page import="primeReports.bl.MemGrossBl.*" %>
periods, not slashes.
end it with a .*, if you are importing every class within the package, or
(better) fu
That it's registered with JNDI does not help. But perhaps what is really
meant is "configure your pool through Tomcat's built-in support for DBCP
(which uses JNDI)". Then you'd get whatever management of the pool that
Tomcat brings (for example, when the webapp is shutdown, it will .close()
the p
I've looked at the CVS HEAD for PoolingConnection...
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/dbcp/src/java/org/apache/c
ommons/dbcp/PoolingConnection.java?view=markup
public synchronized PreparedStatement prepareStatement(String sql) throws
SQLException {
try {
return(PreparedS
> -Original Message-
> From: Duan, Nick [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 06, 2006 5:14 PM
> To: Tomcat Users List
> Subject: RE: Single Thread is deprecated?
>
> Typo due to my laziness. I knew someone was going to catch
> this. Actually the sentence should read: ... b
This APR documentation? http://tomcat.apache.org/tomcat-5.5-doc/apr.html
Where on that page might I find a reference to this "dumb bug", or any
indication that APR might be responsible for serving files with holes in the
middle of them and that disabling sendfile is the cure?
> -Original M
on linux, it's
$CATALINA_HOME/logs/catalina.out
> -Original Message-
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 16, 2005 11:18 AM
> To: Tomcat Users List
> Subject: Re: Tomcat and iptables?
>
>
> Sebastian-
> send us the logs specifically stdout_MMD
Display and generation are two separate issues and I'm confused about which
is which for the OP.
does the anchor tag link to an actual real file on the filesystem somewhere,
like:
click to download
or are you linking to a dynamically generated file, as from a servlet:
click to
download
in the
whoops.
I meant to say "/" is the root of the filesystem and _not_ having a slash
would mean "the current directory", so that would be "where tomcat has been
started from".
And you want neither of those.
> -----Original Message-
> From: GB Develop
the javadoc for org.xml.sax.InputSource indicates it can take an
InputStream.
parser.parse(
new InputSource(
context.getResourceAsStream("/WEB-INF/classes/friends.xml")
)
);
You might also get away with the following:
parser.parse(
context.getRealPath("/WEB-INF/friends.xml");
);
onnection on
> the data source returns a non-null value.
>
>
> GB Developer wrote:
> > does the org.apache.tomcat wrapped dbcp still expose
> > getInnermostDelegate() ?
> >
> >
> >>Connection c = dc.getInnermostDelegate();
> >>log(c.getClass()
does the org.apache.tomcat wrapped dbcp still expose getInnermostDelegate()
?
> Connection c = dc.getInnermostDelegate();
> log(c.getClass().getName() + ": " + c);
> -Original Message-
> From: Robert Upshall [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 09, 2005 10:34 AM
> To:
> -Original Message-
> From: Ernesto Garcia [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 03, 2005 9:00 AM
> To: users@tomcat.apache.org
> Subject: Inner class session attributes not supported?
>
>
> I define a static inner class inside my JSP
... and then put it in the session.
> -Original Message-
> From: Guy Knights [mailto:[EMAIL PROTECTED]
> Sent: Sunday, October 30, 2005 7:38 PM
> To: Tomcat Mailing List
> Subject: Tomcat-Apache slow PDF response
>
>
> - compiling and installing the latest mod_jk connector (1.2.6) and
> testing this with a test copy of a
> -Original Message-
> From: Vicente Couto [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 28, 2005 12:34 PM
> To: Tomcat Users List
> Subject: Re: JDBC Realm Configuration
>
>
> GB Developer, look at the exceptions:
>
> java.sql.SQLException:
> -Original Message-
> From: Vicente Couto [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 27, 2005 3:18 PM
> To: Tomcat Users List
> Subject: JDBC Realm Configuration
>
>
> But when i put the JDBC realm in server.xml file tomcat
> throws a lot of exceptions
Such as?
-
engine'
element. And then in my host, I use a resourcelink to reference (and rename)
the globalresource to what my application is expecting.
still puzzled why I couldn't get the other setup to work.
> -Original Message-
> From: GB Developer [mailto:[EMAIL PROTECTED]
&
I should have mentioned, I have a ContextListener that contains the
following:
---
initCtx = new InitialContext();
envCtx = (Context) initCtx.lookup("java:comp/env");
logger.info("*** loading Data Source");
try {
ds = (DataSource) e
My Tomcat's having trouble finding the JNDI Datasource to use for a
DataSourceRealm.
Details:
Tomcat 5.0.28
Java 1.4.2_04-b05
on Linux
partial server.xml:
factory
org.apache.commons.dbcp.BasicDataSourceFactory
usernam
I have an idea, perhaps it's correct.
It looks like a mail server admin has got their spam filter cranked past
"MAX".
>From your returned email:
> The Postfix program
>
> <[EMAIL PROTECTED]>: host
> asf.osuosl.org[140.211.166.49]
> said: 552 spam score (7.0) exceede
I kinda like : http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2
Doesn't seem to have anything from today. Must be the new email address.
> -Original Message-
> From: Philip Chang [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 13, 2005 2:20 PM
> To: users@tomcat.apache.org
> Subje
You could try getting a thread dump.
KILL -3
is the pid of your tomcat process. The output of this command should
be in catalina.out, or wherever you have (re)directed stderr. Look into this
output for threads you've created (or tomcat processing threads) that seem
to be hung up on code you've
35 matches
Mail list logo