Hi,
i build a web application with jetspeed as a server. On my portal i am
showing a table called "Student"
with his class,grade and marks. When i run my web application everything
works well & my portal shows me the correct values for marks(e.g 50.56,
90.45, 80.60 etc)
My problem is while ru
Hi Rob,
thanks for your reply.
I already have a file index.html in my ROOTS webapps folder.
Should I modify this file, by adding that code you gave me?
Or should I create another file named "index.html", which would contain that
code you gave me?
The index-html file I have curren
Hi,
I wanted to know if it was worth using the sendfile features for small
static files or is the APR already optimised for serving static content?
I basically have a jsp that makes a choice between serving up a static
(.html) and custom version of the page dependant on whether the user is
a
Hi,
I have not been able to implement the following so I was wondering if it
was possible or would I need a custom Realm/Authenticator implementation?
I have some content that is restricted by role but not over a secure
connection, however, if a user tries to access the content and is
presen
> From: Ðavîd Låndïs [mailto:dlan...@gmail.com]
> Subject: Splitting Content Across Multiple Domains
> I am considering creating another Host in my Tomcat
> server and creating another .war file with static
> content for that additional host. So the links to
> static content generated by my pr
This gives a little more detail than whatever you're currently looking at
http://struts.apache.org/2.2.1/docs/create-struts-2-web-application-with-artifacts-in-web-inf-lib-and-use-ant-to-build-the-application.html
On Mon, Oct 18, 2010 at 7:07 PM, Josh Gooding wrote:
> Hello all,
>
> I'm trying
Hello all,
I'm trying to get Struts 2.2.1 working with Tomcat 6.0.29. I'm a total
newbie to struts. Apache's documentation says copy the struts.jar file into
the /lib directory. Since Struts 2.2.1 has no struts.jar file, does anyone
happen to know which file(s) is/are supposed to be moved to ge
I need transmit one java project to the WAR package then put it under the
tomcat. But I donot know how to write web.xml of this project rightly. I
had written onem but error. Tomcat cannot start this servlet. Can anyone
teach me how to modify it?
Following is web.xml file. org.apache.axis2.
I am considering creating another Host in my Tomcat server and
creating another .war file with static content for that additional
host. So the links to static content generated by my primary
application will point to the domain name of this new host. Here are
the two hostnames for example:
app.exa
Thanks all your response, let me clarify:
Here's my development environment:
OS: Windows 7 6.1 x86
Tomcat: Apache Tomcat/6.0.26
Java: jdk1.6.0_21-b07
Jruby: jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-07-28 6586) (Java
HotSpot(TM) Client VM 1.6.0_21) [x86-java]
Here's my development step:
1. Cr
Once again, I apologize for the wall of text. However, most of it is
pretty quick and dirty code, so it should be easy to skim.
I'm guessing the end result is harmless?
It does seem like a race condition. Everything seems to work fine
until shutdown. When DEBUG is set in logging, you get the foll
That's what I've read and from the code it's the default.
I'm hacking together a listener that rolls the entire chain from scratch rather
than depending on the Quartz-supplied listener. I'll add some debugging logging
and see what happens.
I might also try just creating the SchedulerFactory fir
On 18/10/2010 23:02, Mark Thomas wrote:
> On 18/10/2010 16:56, Mark Thomas wrote:
>> On 18/10/2010 12:05, Mark Eggers wrote:
>>> I saw a mention of this on the Quartz forums. People there seem to think
>>> it's a
>>> race condition between Quartz's scheduler shutdown and Tomcat's thread
>>> memo
On 18/10/2010 18:19, Martin O'Shea wrote:
> Thanks Mark. Your test seems to bear out the issue I'm having.
>
> For information: I have my own ServletContextListener which has a
> contextDestroyed method as follows:
>
> @Override
> public void contextDestroyed(ServletContextEvent contextEvent)
On 18/10/2010 16:56, Mark Thomas wrote:
> On 18/10/2010 12:05, Mark Eggers wrote:
>> I saw a mention of this on the Quartz forums. People there seem to think
>> it's a
>> race condition between Quartz's scheduler shutdown and Tomcat's thread
>> memory
>> leak reporting.
>
> That is certainly p
On 18/10/2010 12:56, greenstar wrote:
>
>
> Mark Thomas wrote:
>>
>> [March 19, 2010]
>>
>> Hopefully weeks. Filip has the async timeouts left to finish and then
>> we'll need to make sure the Servlet 3.0 TCK passes. With those hurdles
>> out of the way there will be a release.
>>
>
> As per
On 18/10/2010 12:05, Mark Eggers wrote:
> I saw a mention of this on the Quartz forums. People there seem to think it's
> a
> race condition between Quartz's scheduler shutdown and Tomcat's thread memory
> leak reporting.
That is certainly possible. There was a reason I wrote the message "This
Pid * wrote:
>
> Could you be more precise about what you are asking for?
>
Currently CometEvent.EventType.ERROR (subtype TIMEOUT) and
CometEvent.EventType.END are not fired on CometProcessor.event(CometEvent)
implementations.
Thanks,
-Jeremy Norris
--
View this message in context:
http://
Leo Donahue - PLANDEVX wrote:
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Tomcat 6.0.29 - Windows Service - JMX
Sorry if I ask, but how are you starting Tomcat in the second case ? as
a Service ?
Yes. Starting Tomcat in the second case as a windows ser
Here is how I use it:
1. Eclipse EE with WTP
2. Tomcat installed form .zip archive
3. Tomcat registered in Eclipse at Server view (allows clean deploy,
incremental deploy, restart and debug)
4. m2eclipse plug-in (allows pom.xml -> Eclipse dependency configuration)
It copies jsp files to Tomcat
>-Original Message-
>From: André Warnier [mailto:a...@ice-sa.com]
>Subject: Re: Tomcat 6.0.29 - Windows Service - JMX
>>
>Sorry if I ask, but how are you starting Tomcat in the second case ? as
>a Service ?
>
Yes. Starting Tomcat in the second case as a windows service. Created the
wind
Leo Donahue - PLANDEVX wrote:
http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html
Adding JMX to Tomcat 6.0.29 and starting with the startup.bat will add a Tomcat
icon and show the process ID, under the Local connection, when launching
jvisualvm.exe
Adding JMX to Tomcat via the tomcat6w.ex
On 18/10/2010 19:11, Leo Donahue - PLANDEVX wrote:
> http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html
>
> Adding JMX to Tomcat 6.0.29 and starting with the startup.bat will add a
> Tomcat icon and show the process ID, under the Local connection, when
> launching jvisualvm.exe
>
> Adding
On 18/10/2010 18:56, greenstar wrote:
>
>
> Mark Thomas wrote:
>>
>> [March 19, 2010]
>>
>> Hopefully weeks. Filip has the async timeouts left to finish and then
>> we'll need to make sure the Servlet 3.0 TCK passes. With those hurdles
>> out of the way there will be a release.
>>
>
> As per
http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html
Adding JMX to Tomcat 6.0.29 and starting with the startup.bat will add a Tomcat
icon and show the process ID, under the Local connection, when launching
jvisualvm.exe
Adding JMX to Tomcat via the tomcat6w.exe doesn't display the Tomcat ico
Mark Thomas wrote:
>
> [March 19, 2010]
>
> Hopefully weeks. Filip has the async timeouts left to finish and then
> we'll need to make sure the Servlet 3.0 TCK passes. With those hurdles
> out of the way there will be a release.
>
As per http://old.nabble.com/Tomcat-7-tt27962562.html#a279
On 18/10/2010 18:11, Ray Sun wrote:
> My basic requirement is upload and show image.
> I use rails on jruby and warble package the project as war on windows. In
> rails, I set my upload directory as '#{Rails.root}/public/data/users'. And
> it works on common rails light server like webrick. But aft
Thanks Mark. Your test seems to bear out the issue I'm having.
For information: I have my own ServletContextListener which has a
contextDestroyed method as follows:
@Override
public void contextDestroyed(ServletContextEvent contextEvent) {
context = contextEvent.getServletContext();
My basic requirement is upload and show image.
I use rails on jruby and warble package the project as war on windows. In
rails, I set my upload directory as '#{Rails.root}/public/data/users'. And
it works on common rails light server like webrick. But after I deployed to
tomcat, the 'public' disapp
I saw a mention of this on the Quartz forums. People there seem to think it's a
race condition between Quartz's scheduler shutdown and Tomcat's thread memory
leak reporting.
I wrote a quick Quartz scheduler (1.8.3) application. It does the following:
1. Uses the supplied listener to put a sched
Nobody's answered this, but perhaps this shouldn't really be in this
mailing list. I'll try with a maven list.
This problem is closed.
Thanks
Il 17/10/10 16.46, Malcolm Warren ha scritto:
Dear All,
I've spent three days reading two books about Maven, all of the Maven
site, and finally sear
> From: shivanic [mailto:shivani.chan...@gmail.com]
> Subject: Re: Common war file and multiple tomcat instances
> That was informative
Note that you must use expanded .war files, due to the reasons André explained
previously.
> Could you please confirm what is the disadvantage of
> using the
Thanks Chris/Mark/Charles/Pid for your help with this. The issue has been
fixed after using the JVM argument :-
-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true
I get a healthy heap utilization graph on the same web application under
similar load test conditions as indicated in the gr
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Tomcat 6.0.28
> On 10/17/2010 4:22 AM, Brian Muha wrote:
> > I am looking for help with the GlobalRequestProcessor...
> As far as I know, this is not a Tomcat class. Can you give us the
> fully-qualified class name
It has been 10 days so I am declaring that Jason's suggestion did indeed
solve the problem.
Thanks Jason.
- Original Message -
From: "Steve Ryder"
To: "Tomcat Users List"
Sent: Thursday, October 07, 2010 10:03 AM
Subject: Re: Tomcat5.5 MySQL14.12 java.net.SocketException: Broken pipe
--
View this message in context:
http://old.nabble.com/The-request-sent-by-the-client-was-syntactically-incorrect-%28%29.Hi%2C-tp29990181p29990181.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsu
Thanks Chris ! That was informative - Could you please confirm what is the
disadvantage of using the path attribute in the configuration file of the
application?
Regards
Shivani
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Shivanic,
>
> On 10/18/2010
In case of out of memory issues you can search for JVM options like
-XX:+HeapDumpOnOutOfMemoryError
and others. There is also an option for shell scripts to be executed in
case of out of memory.
regards
Michael
-Original Message-
From: Tarun Gupta [mailto:tarun.gu...@digitalmoun
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shivanic,
On 10/18/2010 5:38 AM, shivanic wrote:
> I have read through the link suggesting not to go for using one physical
> location of war for multiple instance of tomcat.
>
> http://www.mail-archive.com/users@tomcat.apache.org/msg73906.html
Note
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 10/17/2010 4:22 AM, Brian Muha wrote:
> I am looking for help with the GlobalRequestProcessor...
As far as I know, this is not a Tomcat class. Can you give us the
fully-qualified class name?
- -chris
-BEGIN PGP SIGNATURE-
Version:
You're probably correct and assuming this is to do with Quartz which it seems
to be, are you aware of any similar cases or remedies?
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: 18 Oct 2010 13 49
To: Tomcat Users List
Subject: Re: Tomcat memory
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 10/16/2010 11:11 AM, Martin O'Shea wrote:
> Definitely seems to be when the web application in question is terminated,
> rather than Tomcat itself. And all indications are the listener that handles
> the scheduler.
>
> And I've tried ano
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vijay,
On 10/16/2010 6:42 PM, Vijay Menon wrote:
> Thanks for the replies. Based on that, we did change the connectors
> to use executor threads. However, based on profiling the app, it
> turned out to be a code issue.
Glad you solved your problem. C
The war file is extracted, The application has jsp's and servlets / tag
library usage along with DB connectivity.
DB Connectivity is done through the resource reference in the conf file that
is separate per tomcat instance.
awarnier wrote:
>
> If the multiple tomcat servers are all configured t
On 18/10/2010 06:57, Richard da Silva wrote:
> Hi all,
>
> I have an IDM (Identity Manager) instance running on an Apache Tomcat Server.
>
> My Tomact version is : 6.0.18
The current release is 6.0.29. Time to think about an upgrade.
> The http address which activates my IDM application is in
shivanic wrote:
I have read through the link suggesting not to go for using one physical
location of war for multiple instance of tomcat.
http://www.mail-archive.com/users@tomcat.apache.org/msg73906.html
http://www.mail-archive.com/users@tomcat.apache.org/msg73906.html
My question is : If we
I have read through the link suggesting not to go for using one physical
location of war for multiple instance of tomcat.
http://www.mail-archive.com/users@tomcat.apache.org/msg73906.html
http://www.mail-archive.com/users@tomcat.apache.org/msg73906.html
My question is : If we have a simple jsp'
Hi,
I'm using apache tribes for messaging between nodes within a cluster. My
implementation bases on the quickstart example that is part of the
related documentation.
At the moment there is Context Listener that starts the communication
during the deployment of the webapp like this:
public
It doesn't need to be a .jsp file, just place a static index.html file into the
root webapp with the following content:-
http://www.w3.org/TR/REC-html40/strict.dtd";>
eSeries
window.location.replace("/idm");
Please Wait...
No configuration required.
Thanks for your reply
Where is that "wt.jsp" file?
Also, my web-xml file looks like this :
http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
and put a javascript code in wt.jsp to redirect to https://idm.my.org/idm.
On 10/18/10, Karl San Gabriel wrote:
> How about changing \webapps\ROOT\WEB-INF\web.xml?
> ===
>
> Welcome to Tomcat
>
>
>
>
>
> org.apache.jsp.index_jsp
>
>
How about changing \webapps\ROOT\WEB-INF\web.xml?
===
Welcome to Tomcat
org.apache.jsp.index_jsp
/wt/wt.jsp
org.apache.jsp.index_jsp
/index.jsp
Regards,
Karl
On 10/18/10, Richard d
52 matches
Mail list logo