I will be out of the office starting 05/24/2007 and will not return
until 05/29/2007.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
Hi All,
I'm using Tomcat server for my Project.
Here, I need to send mails to some mail aliases regarding tomcat
server status i.e once it is shutdown , i need to send mail saying
that tomcat server is down etc like that.
I hope that Apache tomcat group itself have some opt
> From: Kyle B [mailto:[EMAIL PROTECTED]
> Subject: Server.xml Sort on Start
>
> Can anyone explain the server.xml sorting algorithm Tomcat
> uses on start?
Tomcat handles most configuration items by inserting them into a HashMap
and then iterating over the contents. The resulting order should
Dear All,
The following program uses socket. How can I convert it to servlet? Please
help. Thank you.
Yours Sincerely,
TEH
import java.io.*;
import java.net.*;
import java.awt.*;
import java.awt.event.*;
public class Exercise18_3Server {
// Declare a random access file
Ra
Martin,
Thank you for your response. However, the issue does not relate to certain
locations being denied access. The problem is that during Tomcat restart, it
processes all WEB-INF folders and comes back with output like:
--
INFO: Create Host deployer for direct deployment ( non-jmx )
M
Kyle-
someone probably put in a deny in your engine config in server.xml e.g.
//if you see a Valve declaration such as
and replace deny with allow
and you should be good for all the addresses which were previously denied
HTH/
Martin
This email message and any files transmitted with it contain co
I am inquiring about the algorithm Tomcat uses for processing the
server.xmlfile on startup.
When Tomcat is started, it processes all hosts listed in the server.xml file
for catalina policy compliance. Issues arise when there is an account that
does not comply with our policy file and Tomcat refu
You should be able to use the standard Windows commands to start &
stop the service:
net start tomcat5
net stop tomcat5
(substitute the name of your service for "tomcat5" if it's different)
--
Len
On 5/23/07, tenley ludewig <[EMAIL PROTECTED]> wrote:
I am having difficulty getting Tomcat 5.5 to
i think you have to use the START command e.g.
START /MIN NameOfWindowBatFile.bat
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, pl
Alright I have IIS 6 and JK-1.2.14 working fine.
Then I copy in the JK-1.2.23 isapi_redirect.dll and restart the machine
and it no longer works.
Can anyone help me get this working?
I'd like to take advantage of the bug fixes and security updates in the
new version.
I'm familiar with th
Is it possible you're running into any of :
http://issues.apache.org/bugzilla/show_bug.cgi?id=42434
http://issues.apache.org/bugzilla/show_bug.cgi?id=37062#c4
http://issues.apache.org/bugzilla/show_bug.cgi?id=40135
> -Original Message-
> From: David Delbecq [mailto:[EMAIL PROTECTED]
>
I am having difficulty getting Tomcat 5.5 to run on Windows in the background.
I want to allow for two methods of starting and stopping my web application.
The first method would be via command-line using startup.bat and shutdown.bat.
startup.bat works just fine for me, but the window stays op
You may either stick with old tomcat, or as suggested decompile (which
would probably put you in a tricky legal situation), or just wonder why
you relied on 3rd party compiled classes for which you don't have
sources. You could also call the 3rd party class maker and ask them for
a price for patch
SiSi'mon a écrit :
> I have the following:
>
>
> java.lang.Throwable
> /web/error/Throwable.jsf
>
>
> but there are myfaces / spring and hibernate exceptions being thrown and it
> is not being sent to this xhtml page. any ideas?
>
All exceptions that get out of the Ser
Yes, I'm using the NIO connector. Here is the config line from my
server.xml:
Are there any other configuration options I need to set?
Peter
Filip Hanik - Dev Lists wrote:
> and you are using the APR or the NIO connector right?
>
> Filip
>
> Peter Warren wrote:
>> Thanks for the suggestio
and you are using the APR or the NIO connector right?
Filip
Peter Warren wrote:
Thanks for the suggestion. I changed the comet test servlet to read
directly from the input stream as shown in the advanced io example. I'm
still seeing the same behavior. No comet read event gets generated on
th
Even with h:messages, commons logging, there are some exceptions being thrown
that no one ever sees, especially in myfaces. A page will not render and
there will absolutely no info in the log4j log files.
thanks for your help
Si'mon
David Delbecq-2 wrote:
>
> If you need to catch a wide ran
thanks, we are using all of these including
> If you need to catch a wide range of Exceptions in an error page, i
> suggest you use a generic error page. The error page has access to the
> Exception Object and can then include other JSP that show specific errors.
>
> As for informations in logs
I have the following:
java.lang.Throwable
/web/error/Throwable.jsf
but there are myfaces / spring and hibernate exceptions being thrown and it
is not being sent to this xhtml page. any ideas?
--
View this message in context:
http://www.nabble.com/%3Cerror-page%3E-not
Matt:
I got it working, and I think I figured this out. What I believe happens is
that the ClassNotFound Exception is a little misleading: the JOTM classes
ARE found, but the CommonsLogging class needed by the JOTM factory is NOT. I
believe we had a different version of the necessary jar in the cl
Hi,
it is in the Java Server Pages 2.0 Specification:
(http://jcp.org/aboutJava/communityprocess/final/jsr152/)
"As of JSP 2.0, it is illegal to refer to any classes from the unnamed (a.k.a.
default) package. This may result in a translation error on some containers,
specifically those that run
Maybe you could decompile those legacy Java classes, and add them to
your project as source files?
Rajiv M wrote:
wrote:
Or, , but I don't know if that works with the default
package. Why don't you put the classes in a package? Although I
haven't been doing this web programming stuff mysel
Thanks for the suggestion. I changed the comet test servlet to read
directly from the input stream as shown in the advanced io example. I'm
still seeing the same behavior. No comet read event gets generated on
the server, only the begin event which contains the client's first
message. The clien
Is it correct to say that you lose the ability to have single-sign on across
multiple contexts if you go with a custom login solution (e.g. checking
login form fields in a servlet and, if correct, setting a “login” session
attribute to true) as opposed to standard form-based authentication?
How c
tmo256 wrote:
>
> The main thing is that my problem is very specifically with the
> transaction manager factory
>
I'm in *exactly* the same situation, with exactly the same environment
(Tomcat 6, JDK1.6, FC 6). We're also getting the ClassNotFound exception on
org.objectweb.jndi.DataSourceFac
You have to package the classes and then refer to them by their fully
qualified name -- ie javax.servlet.http.HttpServletRequest. This change
was made a long time ago (tomcat 4.x?).
The classes themselves have to be in either a jar file in WEB-INF/lib or
in a folder structure mirroring the pa
wrote:
Or, , but I don't know if that works with the default
package. Why don't you put the classes in a package? Although I
haven't been doing this web programming stuff myself very long, that
seems to be the consensus "best practices" approach, which is why I
think Sun discontinued it.
anw
If you need to catch a wide range of Exceptions in an error page, i
suggest you use a generic error page. The error page has access to the
Exception Object and can then include other JSP that show specific errors.
As for informations in logs file, Exceptions thrown during process of
JSF outputed u
On Wed, May 23, 2007 at 12:20:53PM -0500, Roger Tismeer wrote:
> I've been perusing the wiki and other avenues for some help in regards
> to being able to not Start any of the webapps that I have loaded when I
> start up Tomcat. Is this possible?
In server.xml the 'host' element's 'deployOnStartu
Or, , but I don't know if that works with the default
package. Why don't you put the classes in a package? Although I
haven't been doing this web programming stuff myself very long, that
seems to be the consensus "best practices" approach, which is why I
think Sun discontinued it.
anw
> -Or
Hi there,
I've been perusing the wiki and other avenues for some help in regards
to being able to not Start any of the webapps that I have loaded when I
start up Tomcat. Is this possible?
The only thing I have found recommended is to remove webapps you don't
need This does not help me
No. This will again give class cannot be resolved to type error
On 5/23/07, Robert Soeding <[EMAIL PROTECTED]> wrote:
Does
<[EMAIL PROTECTED] import="YourClass"%>
work?
Rajiv M wrote:
> Seems like with JDK 1.4, Sun has enforced classes belonging to the
> default package from being imported in J
Does
<[EMAIL PROTECTED] import="YourClass"%>
work?
Rajiv M wrote:
Seems like with JDK 1.4, Sun has enforced classes belonging to the
default package from being imported in JSP. Is the only way to resolve
the problem is to include classes under a package and then import the
package in JSP?
Or is
Pierluigi Fabbris wrote:
Excuse me,
I miss, but I don't know because nobody replies my question. I think that
the question doesn't arrive.
Do not use google mail. It silently drops all the messages
send by yourself. For example I won't receive this message
I'm sending cause I also use google ma
I am having extremely severe problems with MyFaces right now. The biggest
problem is that when MyFaces breaks (throws an exception), you never know
about it sometimes. There is no information in the log files etc.
What I would like to do is to somehow print out a stack trace in the browser
wind
Seems like with JDK 1.4, Sun has enforced classes belonging to the
default package from being imported in JSP. Is the only way to resolve
the problem is to include classes under a package and then import the
package in JSP?
Or is there some way in Tomcat which can cause JSP to access the class
fi
Running the same code from a JSP, the right property file will be used.
Thus, I'll proceed with the PHP-Java-Bridge.
Thanks, all, for your time and knowledge.
Robert Soeding wrote:
Thanks.
This is a PHP web, PHP files being interpreted by a Servlet provided
by PHP-Java-Bridge.
PHP files in
Hi!
I have struggled earlier with this kind of stuff so here is my suggestions:
- Check the tomcat_home/conf/server.xml and check how many max threads
your tomcat handles concurrently, it depends of the type of application
if the requests is long and memory consumptions maybe it will help too
if you are using APR, then you need a different set of options in the
element,
take a look at the SSL documentation again
Filip
Roger Roger wrote:
Yes I'm using APR. The dll is in de bin directory. Thanks for pointing
this
out. Deleting the dll didn't resolve the problem though. I'll try this
> From: Robert Soeding [mailto:[EMAIL PROTECTED]
> Subject: Re: WebApps not isolated
>
> PHP files instantiate a new Java class of mine, which in turn calls a
> static Java class of mine which returns the properties.
>
> My Java classes are within the webs only (that is under
> $CATALINA_HOME/
Thanks.
This is a PHP web, PHP files being interpreted by a Servlet provided by
PHP-Java-Bridge.
PHP files instantiate a new Java class of mine, which in turn calls a
static Java class of mine which returns the properties.
My Java classes are within the webs only (that is under
$CATALINA_H
Hi All,
Our company is using Xplanner as a tool for scrum process. Xplanner is an
open source and has been customized by our team to a great extent, recently
we have noticed a lot of Performance issues with Xplanner.
The Xplanner set up is as follows:
OS:- Linux
Application server:- Tomcat 5.
Thanks Chuck and Venkat,
I wasn't aware it wasn't compatible, and there wasn't a way to know
unless I tried it.
But next time, this question arises, I'll remember.
It would be helpful to see something about the Admin app on this page:
http://tomcat.apache.org/download-60.cgi
for example:
Admi
Hi all,
Is there one another format what I can set for the ConsoleHandler.formatter?
I would like to see the logged things in one single line and a shorter
date format.
Can somebody guide me?
Thank you,
Laszlo
-
To start a ne
> From: Roger Roger [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 6 + SSL
>
> I would like to know what is better to use, and more secure.
Security should be the same, regardless of the connector flavor. APR
should perform better, if that's a concern.
- Chuck
THIS COMMUNICATION MAY CONTA
Yes I'm using APR. The dll is in de bin directory. Thanks for pointing this
out. Deleting the dll didn't resolve the problem though. I'll try this again
tomorrow.
I would like to know what is better to use, and more secure. If APR is more
secure, I will use that, even if it means more work. I sup
Roger Roger wrote:
> Hi Markus, I'm not sure. I've installed Tomcat 6.0, the default
> installation, and don't know about APR. Googling for it I see it refers to
> Apache Portable Runtime.
Yep.
> When I look at the server.xml I find the following:
>
> SSLEngine="on" />
>
> So it looks like it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Soeding wrote:
> As an additional test, I downloaded a fresh copy of Tomcat, deployed
> both webapps, edited myProps.properties, and ran this fresh instance.
> In this instance, webapp1 would use the properties file of webapp2
> (while
Good Morning Robert
It *sounds* as if you may have one of 2 situations to deal with
a ClassLoader issue which by default goes to ClassLoader for the referenced
class e.g. this.getClass().getClassLoader
http://java.sun.com/j2se/1.4.2/docs/api/java/util/ResourceBundle.html#getBundle(java.lang.St
ResourceBundle.getBundle uses the ClassLoader that was used to load the
class that's calling this method when it looks up the resource.
Have you checked that the class which contains the call to
ResourceBundle.getBundle
is loaded by the expected WebappClassLoaders?
Matthias
> -Original Mess
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fabbris,
Pierluigi Fabbris wrote:
> Excuse me,
> I miss, but I don't know because nobody replies my question. I think that
> the question doesn't arrive.
If you can post to the mailing list, then you are subscribed to it. If
you are subscribed to it,
hii..
i do not understand how that works.!! how can I write my own programatic
security in tomcat without any frameworj..just tomcat api?
regards !!
Johnny Kewl wrote:
>
> I dont think you can, easily, here are some idea's
> You could use something like embedded db Derby... and pre-c
Excuse me,
I miss, but I don't know because nobody replies my question. I think that
the question doesn't arrive.
Fabbris
2007/5/23, Christopher Schultz <[EMAIL PROTECTED]>:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fabbris,
This is the third time you have posted this question in 12 hours
> From: Roger Roger [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 6 + SSL
>
> I've installed Tomcat 6.0, the default installation
Look in Tomcat's bin directory; if there's a tcnative-1.dll there, you
have APR installed and are using it. If you want to avoid use of APR to
continue with your p
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fabbris,
This is the third time you have posted this question in 12 hours. Please
give the folks on the list at least 24 hours before you start re-posting
the same question.
- -chris
Pierluigi Fabbris wrote:
> I've problem to use Apache 2.2.4 and To
Hi Markus, I'm not sure. I've installed Tomcat 6.0, the default
installation, and don't know about APR. Googling for it I see it refers to
Apache Portable Runtime.
When I look at the server.xml I find the following:
So it looks like it does use APR but I'm not sure about it. If I comment
this
Hello everyone.
I have just upgraded from Tomcat 5.0 to Tomcat 5.5.23 and am now having
some problems. I have the following in the web.xml for a Struts application:
SkinFilter
com.xmltravel.jsp.filters.SkinFilter
SkinFilter
/booking/*
REQUEST
FORWARD
SkinFilter
*.
I've problem to use Apache 2.2.4 and Tomcat 6 together.
I install Apache 2.2.4 and Tomcat 6.
I put mod_jk-apache-2.2.4.so in the directory modules in Apache and
configure in http.conf di apache in this way: LoadModule jk_module
modules/mod_jk-apache-2.2.4.so
Until this no problem Apache starts.
No
Markus Schönhaber wrote:
> setup wouldn't help you at all wrt creating a HTTP Connector.
Sorry, HTTP*S* Connector was what I wanted to say.
Regards
mks
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e
Roger Roger wrote:
> I used the following connector:
> keystoreFile="C:\Tomcat\keystore\.keystore"
>maxThreads="150" scheme="https" secure="true"
>clientAuth="false" sslProtocol="TLS" />
>
> I tried this with a keystore filename without the starting dot, but that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip Hanik - Dev Lists wrote:
> proxyName is only for the Host name, which can also be accomplished by
> adding
> ProxyPreserveHost On
> in apache, and hence be able to support more than just one URL. So
> remove proxyName from the connector and added
Hi Srinivas, I used that manual to setup SSL on Tomcat 5.5. That worked. I
created a keystore key, and put it in:
C:\Tomcat\keystore\.keystore
I used the following connector:
I tried this with a keystore filename without the starting dot, but that
didn't change anything. Remember that this set
Hi, since this is my first posting in this mailing list, I would like to
thank you very much for providing and maintaining Tomcat.
I'm using Tomcat 5.5.20 and .23, Sun Java 1.5.x, on Ubuntu 7.04.
I've deployed two identical WebApps, webapp1 and webapp2, by letting
Tomcat unpack two WAR files.
Andreas Schildbach wrote:
currently, if I locate a resource (EJB Home) from Tomcat's JNDI Context,
and I have configured an Object Factory for that location, the factory
is only exactly queried once.
For the records: I finally filed a bug about this one.
http://issues.apache.org/bugzilla/sho
I cant get the example you posted to work either and dont have time to
look in to it in too much depth. Have a go with the one from the xfire
site, I have used xfire before with spring at it was pretty easy to
get going. Im sure you'll get there.
On 5/23/07, ben short <[EMAIL PROTECTED]> wrote:
And also here...
http://xfire.codehaus.org/Spring+Remoting
On 5/23/07, ben short <[EMAIL PROTECTED]> wrote:
Take a look at the manual for a simple example..
http://static.springframework.org/spring/docs/2.0.x/reference/remoting.html#remoting-web-services-xfire
On 5/23/07, ben short <[EMAIL PR
Take a look at the manual for a simple example..
http://static.springframework.org/spring/docs/2.0.x/reference/remoting.html#remoting-web-services-xfire
On 5/23/07, ben short <[EMAIL PROTECTED]> wrote:
The configureation is all done in your spring config files in your
webapp. All tomcat is doin
The configureation is all done in your spring config files in your
webapp. All tomcat is doing is providing you with the http handling.
On 5/23/07, Velidanda Srinivas <[EMAIL PROTECTED]> wrote:
Are there any configuration settings to be done to enable XFire/Spring in
Tomcat?
> -Original Me
I tried to deploy the war file at the below URL
http://rscreeney.wordpress.com/2006/09/12/web-service-with-spring-and-xfire/#comment-71
There are no errors during deployment but I could not find the WSDL published,
the URL given to
open the WSDL at above URL is resulting in below error.
"The req
Are there any configuration settings to be done to enable XFire/Spring in
Tomcat?
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> ben short
> Sent: 23 May 2007 16:10
> To: Tomcat Users List
> Subject: Re: XFire Spring Web Services
>
>
> I have used S
I have used Spring's HTTP invoker with Tomcat 6 and it works fine. So
I dont see a reason why XFire shouldnt work too.
On 5/23/07, ben short <[EMAIL PROTECTED]> wrote:
What makes you think it wouldnt?
On 5/23/07, Velidanda Srinivas <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Does Tomcat 6.013 support
What makes you think it wouldnt?
On 5/23/07, Velidanda Srinivas <[EMAIL PROTECTED]> wrote:
Hi,
Does Tomcat 6.013 support XFire Spring Web Services?
Thanks & Regards,
Srinivas Velidanda.
This e-mail has been scanned for a
Rashmi:
I posted a similar message and I was told then that the Admin application
v5.5 is not compatible with Tomcat v6.0.x
-Original Message-
From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 22, 2007 8:58 PM
To: Tomcat Users List
Subject: Re: Tomcat admin,Manager app setu
On 5/23/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
take a look at the documentation, the way you are reading it is incorrect.
you need to take advantage of the available() method
With a reader, it's ready().
Rémy
http://www.lambdaprobe.org/d/overview.shtml this one for free and monitor a lot
of things for tomcat ...
Remember this is for tomcat only not any other web container :)
Guru
-Original Message-
From: Przemysław Klein [mailto:[EMAIL PROTECTED]
Sent: 23 May 2007 10:57
To: Tomcat Users Li
I think you know, but still check if something missing as mentioned at below URL
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
Let me know if you resolve the problem.
> -Original Message-
> From: Velidanda Srinivas [mailto:[EMAIL PROTECTED]
> Sent: 23 May 2007 15:30
> To: Tomcat
Do you have valid .keystore file in the required path,
usually it refers to C:\Documents and Settings\Default User\.keystore file.
Check it out..
> -Original Message-
> From: Roger Roger [mailto:[EMAIL PROTECTED]
> Sent: 23 May 2007 15:27
> To: Tomcat Users List
> Subject: Re: Tomcat 6 +
Thanks Srinivas. I did that, then restarted Tomcat, then if I open
https://127.0.0.1:8443/ or https://localhost:8443/ nothing happens. I get an
error after a long time (more than a minute). Running netstat I see port
8443 is "established". If I try to open a page on a non-existent port, I get
an e
Hi All.
Do you know any tool (hope webapp) that can tell me some information
about my connection pooling in Tomcat? For example: number of current
opened connections, avg. time the connection being used, etc.
Thanks in advance,
--
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
Przemek Klein ([EMA
> From: Vacuum Joe [mailto:[EMAIL PROTECTED]
> 3. Java is not interpreted. It is compiled machine language
> code, just like C or C++. Yes, that's right. The JVM uses
> something called a JIT to compile much of the Java bytecode
> all the way to fully native machine language, which is often
On 23/05/2007, at 11:08 AM, Kurt Spescha wrote:
I apologize for this question, maybe the wrong place to put it to.
But someone who is using Tomcat soon or later will be confronted
with the performance problem with java and multi/dual core
machines. Multi/dual core is trendy, customers want t
Hi,
I apologize for this question, maybe the wrong place to put it to. But someone
who is using Tomcat soon or later will be confronted with the performance
problem with java and multi/dual core machines. Multi/dual core is trendy,
customers want to have it. But Java runs slower on these machi
I think you need to uncomment the below
in conf\server.xml as this will be commented by default.
Srinivas.
> -Original Message-
> From: Roger Roger [mailto:[EMAIL PROTECTED]
> Sent: 23 May 2007 15:02
> To: users@tomcat.apache.org
> Subject: Tomcat 6 + SSL
>
>
> I would like to instal
Hi,
Does Tomcat 6.013 support XFire Spring Web Services?
Thanks & Regards,
Srinivas Velidanda.
This e-mail has been scanned for all viruses by MessageLabs.
Singularity operates globally through its offices in New York, L
I've problem to use Apache 2.2.4 and Tomcat 6 together.
I install Apache 2.2.4 and Tomcat 6.
I put mod_jk-apache-2.2.4.so in the directory modules in Apache and
configure in http.conf di apache in this way: LoadModule jk_module
modules/mod_jk-apache-2.2.4.so
Until this no problem Apache starts.
No
I would like to install Tomcat 6.0 with SSL. Tomcat 6.0 works, and I can get
Tomcat 5.5 working with SSL. For some reason I cannot get this to work with
6.0. Do you have any ideas or suggestions what might cause this? I'm working
on a Windows machine.
Thanks, Roger
A few points:
1. Java 1.4 is YEARS obsolete. It should not be used in production anymore
unless there is some reason why upgrading is impossible. And if there is such
a reason, time to fix it and upgrade.
2. All modern Java versions, including 1.4 I believe, use native system
operating syste
take a look at the documentation, the way you are reading it is incorrect.
you need to take advantage of the available() method
Filip
Peter Warren wrote:
My BEGIN block in my comet servlet now looks like the code below (added
a while loop to read until the buffer is empty). Is that what you ha
Hi,
I think you have to add
cometEvent.getHttpServletResponse().getWriter().flush();
also in the READ event case.
Matthias
> -Original Message-
> From: Peter Warren [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 22, 2007 10:11 PM
> To: users@tomcat.apache.org
> Subject: comet read eve
89 matches
Mail list logo