so the basic idea is:
1. Define an interface (WSDL or named parameters for a "post" message)
2. Enable specifying the URL of the plugin in the context of the webapp
3. As part of the flow, call that URL with the defined format
Did I follow your thought?
It seems like an overhead in terms of pe
My Environment:
Using CATALINA_BASE: D:\tomcat5528
Using CATALINA_HOME: D:\tomcat5528
Using CATALINA_TMPDIR: D:\tomcat5528\temp
Using JRE_HOME:D:\java\jdk1.5.0_12
Using CLASSPATH: D:\tomcat5528\bin\bootstrap.jar
Server version: Apache Tomcat/5.5.28
Server built: Jul 24 20
Server.xml is well formed as I can render it in IE. Also, the cert path is
right.
Konstantin Kolinko wrote:
>
> 2010/7/6 kareem_s_m :
>>
>> When I run in NON SSL (port 8080, stuff is written to the log files).
>> When I
>> run under SSL (8443) nothing is written to the same log files.
>>
>
> In
On 06/07/2010 18:20, Roxana wrote:
> Hi,
>
> I have a problem that i don't understand and i hope you can help me with.
>
> I migrate from Tomcat 6.0.20 to Tomcat 6.0.26 and suddenly i get an
> exception like this:
>
> 05-Jul-2010 16:22:50 org.apache.catalina.core.StandardWrapperValve invoke
> S
> From: Dola Woolfe [mailto:dolac...@yahoo.com]
> Subject: Re: favicon when serving non-html
>
> When I serve up a pdf file with the code below, it shows it in an
> embedded acrobat, as desired. However, the icon in the browser (in the
> tab) is the Tomcat logo.
Again, take a look at the HTTP req
The usual way to specify the favicon is by putting it at the root of
the web site, e.g. http://www.example.com/favicon.ico. On the server,
this file is usually found in [Tomcat dir]/webapps/ROOT/favicon.ico -
change that file to whatever icon you want.
There are some other ways to specify the favi
Thanks for the responses.
When I serve up a pdf file with the code below, it shows it in an embedded
acrobat, as desired. However, the icon in the browser (in the tab) is the
Tomcat logo.
I'd like to change it to something else.
- Original Message
From: Pid
To: Tomcat Users List
Sen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dennis,
On 7/5/2010 3:35 AM, dennis ch wrote:
> modelJNI.java
> ===
> public final static native void initModel();
>
> native code
> =
> #include
> #include
> #include
[snip]
> void initModel() {
You can't use JNI like that. Y
Hi,
I have a problem that i don't understand and i hope you can help me with.
I migrate from Tomcat 6.0.20 to Tomcat 6.0.26 and suddenly i get an
exception like this:
05-Jul-2010 16:22:50 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw except
On 06/07/2010 15:10, Dola Woolfe wrote:
> Hi,
>
> When I serve up, say, a PDF file, how do I control the favicon?
>
> Here's my code:
>
>
>response.reset();
> response.setContentType(IOUtilities.gMIMEType(fn));
> response.setHeader("Content-disposition", "inline; filename=" +
> fil
On 30/06/2010 16:23, Ranjix R wrote:
Hi guys, sorry for the bother. I do have a question related to how a certain
feature was implemented in Tomcat (6.0, probably
all of them), that's why I address the question to the dev-list and the
user-list.
Cross-posting to both lists is poor netiquette
> From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
> Subject: WebappClassLoader clearReferencesThreads
>
> I looked at the source for WebappClassLoader:
> http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/
> org/apache/catalina/loader/
> and I see that Tomcat is trying to
> From: Goren Il [mailto:gore...@hotmail.com]
> Subject: Re: How to call an external class from a webapp (i.e. -
> implement a plugin)
>
> Aren't there other webapps that have plugin capabilities?
The philosophy of the servlet spec is to have self-contained webapps, so
plugins aren't really cate
This is really a two part question.
The first question has to do with the error in the log file and the second
question has to do with making connections to other app servers in Tomcat.
Part 1:
I have a webapp (http://planning.maricopa.gov/apnxy) running under Tomcat
6.0.26 that makes a connec
There are 2 issues (not in order of priority):
1. The steps are not straight forward, and may cause the system to stop working (the
customer should change the WAR suffix to "zip", open it, add the files and
rename it back)
2. When we provide a new version, we will replace the WAR and all the c
郑翼羽 wrote:
Thanks.
The bad news is all the output codes are in a single webapp, and have no
hope to use log4j instead of the current "system.out" codes.
Just I hope to find a way that can make tomcat generate a stdout.log file
eveyday, or at any interval.
Hi again.
I tried what I suggested ea
> From: Dola Woolfe [mailto:dolac...@yahoo.com]
> Subject: favicon when serving non-html
>
> When I serve up, say, a PDF file, how do I control the favicon?
Any request for a favicon is separate from the main page; you shouldn't have to
do anything. Use an HTTP monitor (eg, Firebug) to see how
On 6 July 2010 15:10, Dola Woolfe wrote:
> When I serve up, say, a PDF file, how do I control the favicon?
>
> What is the behaviour you would like/expect from the user agent in this
case?
- Peter
> From: 郑翼羽 [mailto:ground...@gmail.com]
> Subject: Re: How to split the default stdout log?
>
> The bad news is all the output codes are in a single
> webapp, and have no hope to use log4j instead of the
> current "system.out" codes.
Read what I posted - use swallowOutput to capture the writes
Hi,
When I serve up, say, a PDF file, how do I control the favicon?
Here's my code:
response.reset();
response.setContentType(IOUtilities.gMIMEType(fn));
response.setHeader("Content-disposition", "inline; filename=" +
file.getName());
OutputStream outStream = response.getOutputS
Thanks.
The bad news is all the output codes are in a single webapp, and have no
hope to use log4j instead of the current "system.out" codes.
Just I hope to find a way that can make tomcat generate a stdout.log file
eveyday, or at any interval.
On Tue, Jul 6, 2010 at 8:51 PM, Caldarale, Charle
> From: 郑翼羽 [mailto:ground...@gmail.com]
> Subject: Re: How to split the default stdout log?
>
> But when tomcat5 starts, it will generate a file like
> stdout_mmdd.log, but when it runs for a couple of
> days, there will be only one file
Not sure there's going to be any ready way for Tomcat
What's wrong with providing instructions to the customer on how to
install the "plugin" with a particular web app?
-Original Message-
From: Goren Il [mailto:gore...@hotmail.com]
Sent: Monday, July 05, 2010 2:44 AM
To: users@tomcat.apache.org
Subject: How to call an external class from a
> From: Goo Sam Kong [mailto:skgo...@gmail.com]
> Subject: Re: Tomcat crashed after servicing too many HTTPS connection
>
> I did the same test on Tomcat 5.5.16 with JDK 1.5.0
> update 7 on Windows XP
Why are you mucking around with versions of Tomcat that are over four years
old? Many, many s
On 06/07/2010 11:34, Yevgen Krapiva wrote:
> I've tried today the latest driver available - 5.1.13.
> I've places the driver to %CATALINA_HOME%/lib.
>
> I also tried to move it to WEB-INF\lib, but it is appeared that Tomcat
> (I'm using 6.0.26) doesn't see
> it when trying to create connection fr
2010/7/6 Yevgen Krapiva :
> Thanks, I'll do that.
> What about "minEvictableIdleTimeMillis" ? Just delete it ?
>
You can delete it. It is the timeBetweenEvictionRunsMillis attribute
that controls whether the Evictor will be enabled. The other
attributes make no difference.
http://commons.apache.o
Thanks, I'll do that.
What about "minEvictableIdleTimeMillis" ? Just delete it ?
2010/7/6 Konstantin Kolinko
> 2010/7/6 Yevgen Krapiva :
> > Hi guys.
> >
> > I have a servlet that uses connection pool with the use of MySQL driver.
> > When I start or reload Tomcat the application works fine, the
2010/7/6 Yevgen Krapiva :
> Hi guys.
>
> I have a servlet that uses connection pool with the use of MySQL driver.
> When I start or reload Tomcat the application works fine, then if I
> redeploy my application it cannot get a connection from a DataSource object.
Do not use eviction in DBCP, becaus
I've tried today the latest driver available - 5.1.13.
I've places the driver to %CATALINA_HOME%/lib.
I also tried to move it to WEB-INF\lib, but it is appeared that Tomcat (I'm
using 6.0.26) doesn't see
it when trying to create connection from a DataSource. He says
ClassNotFoundException.
I don't
2010/7/6 Konstantin Kolinko :
> 2010/7/6 kareem_s_m :
>>
>> When I run in NON SSL (port 8080, stuff is written to the log files). When I
>> run under SSL (8443) nothing is written to the same log files.
>>
>
> In the configuration fragment that you provided you are running with
> all 8080, 8443, 80
2010/7/6 kareem_s_m :
>
> When I run in NON SSL (port 8080, stuff is written to the log files). When I
> run under SSL (8443) nothing is written to the same log files.
>
In the configuration fragment that you provided you are running with
all 8080, 8443, 8009 at the same time.
If you are adding a
Hi Pid,
Around 50 times, I press the refresh button on browser manually. I do not
want to see Tomcat crash.
I did the same test on Tomcat 5.5.16 with JDK 1.5.0 update 7 on Windows XP,
Tomcat is running fine without any issue.
On 6 July 2010 17:11, Pid wrote:
> On 06/07/2010 09:48, Goo Sam Kong
On 06/07/2010 09:48, Goo Sam Kong wrote:
> I am using Tomcat 5.5.15 with JDK 1.5.0 update 7 on RedHat Enterprise.
>
> I tested my web application by refreshing a page many times, the Tomcat
> server crashed and thrown exception below:
How many times?
Was your test automated?
What did you expect
On 06/07/2010 08:22, Pid wrote:
> On 06/07/2010 08:05, Yevgen Krapiva wrote:
>> Hi guys.
>>
>> I have a servlet that uses connection pool with the use of MySQL driver.
>> When I start or reload Tomcat the application works fine, then if I
>> redeploy my application it cannot get a connection from a
郑翼羽 wrote:
Thanks Andre!
But when tomcat5 starts, it will generate a file like stdout_mmdd.log,
but when it runs for a couple of days, there will be only one file, and all
the infos are appended to that file. What I want is that tomcat can
automatic generate multiple files such as one file o
I am using Tomcat 5.5.15 with JDK 1.5.0 update 7 on RedHat Enterprise.
I tested my web application by refreshing a page many times, the Tomcat
server crashed and thrown exception below:
Jul 6, 2010 11:21:38 AM org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
SEVERE: Endpoint [SSL: ServerSo
Thanks Andre!
But when tomcat5 starts, it will generate a file like stdout_mmdd.log,
but when it runs for a couple of days, there will be only one file, and all
the infos are appended to that file. What I want is that tomcat can
automatic generate multiple files such as one file one day so tha
郑翼羽 wrote:
Hello everyone,
I am using Tomcat 5.5.28 in Windows systems. Because there are lots of codes
like "System.out.println(" some info here")" in the apps, after a few days
the file "stdout_*.log" in the "/logs" folder becomes so large that we
cannot open it. Due to some reasons, I cannot
Hello everyone,
I am using Tomcat 5.5.28 in Windows systems. Because there are lots of codes
like "System.out.println(" some info here")" in the apps, after a few days
the file "stdout_*.log" in the "/logs" folder becomes so large that we
cannot open it. Due to some reasons, I cannot modify the c
On 06/07/2010 08:05, Yevgen Krapiva wrote:
> Hi guys.
>
> I have a servlet that uses connection pool with the use of MySQL driver.
> When I start or reload Tomcat the application works fine, then if I
> redeploy my application it cannot get a connection from a DataSource object.
> The following ex
Hi guys.
I have a servlet that uses connection pool with the use of MySQL driver.
When I start or reload Tomcat the application works fine, then if I
redeploy my application it cannot get a connection from a DataSource object.
The following exception is thrown:
java.lang.IllegalStateException: Ti
41 matches
Mail list logo