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
Well, I guess I really am starting to learn a bit more about Tomcat. It is
possible to remove the singleton loader and put it back in the application
code. I was just trying to do something slick with a single loader. But your
answer and the previous one have shown me the error of my way. now I
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 event
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
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
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
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.
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,
I think you need to uncomment the below
!--
Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true
maxThreads=150 scheme=https secure=true
clientAuth=false sslProtocol=TLS /
--
in conf\server.xml as this will be commented by default.
Srinivas.
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
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
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
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
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
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 + SSL
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
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
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
-
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
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 all
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 XFire
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 Spring's
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
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
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
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.
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.
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:
Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true
keystoreFile=C:\Tomcat\keystore\.keystore
-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 the
Roger Roger wrote:
I used the following connector:
Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true
keystoreFile=C:\Tomcat\keystore\.keystore
maxThreads=150 scheme=https secure=true
clientAuth=false sslProtocol=TLS /
I tried this with a keystore filename
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,
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.
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:
filter
filter-nameSkinFilter/filter-name
filter-classcom.xmltravel.jsp.filters.SkinFilter/filter-class
/filter
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:
Listener className=org.apache.catalina.core.AprLifecycleListener
SSLEngine=on /
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
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.
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
-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,
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
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:
Listener
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
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
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:
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
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
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
if you are using APR, then you need a different set of options in the
Connector 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.
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
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
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
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
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
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
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 JSP. Is
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
Or, jsp:usebean ..., 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.
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 'deployOnStartup'
jsp:useBean class=classname does not help either. Same error
- classname cannot be resolved to a type.
Of course, adding package solves all the problems. But what can be
done to modify 3rd party classes already in WEB-INF/classes prior to
this Sun restriction...
On 5/23/07, Williams, Allen
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
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
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
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
Maybe you could decompile those legacy Java classes, and add them to
your project as source files?
Rajiv M wrote:
jsp:useBean class=classname does not help either. Same error
- classname cannot be resolved to a type.
Of course, adding package solves all the problems. But what can be
done
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
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
I have the following:
error-page
exception-typejava.lang.Throwable/exception-type
location/web/error/Throwable.jsf/location
/error-page
but there are myfaces / spring and hibernate exceptions being thrown and it
is not being sent to this xhtml page. any ideas?
--
View
thanks, we are using all of these including h:message. Error messages in
pages using JSF but many of the MyFaces exceptions are never brought to
light. they stay buried.
Do you have more information on this global exception that gets added to
when any exception anywhere is thrown.
we are
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
Yes, I'm using the NIO connector. Here is the config line from my
server.xml:
Connector port=80
protocol=org.apache.coyote.http11.Http11NioProtocol maxThreads=150
connectionTimeout=2 keepAliveTimeout=12
maxKeepAliveRequests=-1 acceptorThreadCount=2 redirectPort=8443 /
Are there any
SiSi'mon a écrit :
I have the following:
error-page
exception-typejava.lang.Throwable/exception-type
location/web/error/Throwable.jsf/location
/error-page
but there are myfaces / spring and hibernate exceptions being thrown and it
is not being sent to this xhtml
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
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
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]
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
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,
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 run
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
Kyle-
someone probably put in a deny in your engine config in server.xml e.g.
Engine name=Catalina defaultHost=localhost
//if you see a Valve declaration such as
Valve className=org.apache.catalina.valves.RemoteAddrValve
deny=192.168.1.*/
and replace deny with allow
and you should be good
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 )
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
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 be
81 matches
Mail list logo