Hi,
Regarding JavaMail:
Is it possible to put the mail.jar (and activation.jar) in the web
application's WEB-INF/lib folder instead of tomcat's common/lib?
I did have it working in common/lib but then moved it to
[web-app]/WEB-INF/lib - due to requirements - and I now get the following
error:
[EMAIL PROTECTED] wrote:
Regarding JavaMail:
Is it possible to put the mail.jar (and activation.jar) in the web
application's WEB-INF/lib folder instead of tomcat's common/lib?
I did have it working in common/lib but then moved it to
[web-app]/WEB-INF/lib - due to requirements - and I now
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Erik,
Erik Melkersson wrote:
Hi! I wanted to do something similar. (but without the two virtual
hosts).
It sounds like a solution might be something like this:
VirtualHost *:80
ServerName app1.example.com
RewriteRule ^(.*)$ /app1/$1 [PT]
Hi Everybody,
I have installed Tomcat 5.0.28 over windows 2003 server standard edition
SP2.
When i go to services.msc.
Then Press start button .The Tomcat as a service starts.
Then if i press the stop button it takes a long time and finally gives a
message the service did not responded in a
Yes, David, you were right. The same behavior we got with direct JDBC
access.
Our database server is Oracle 10.2.0.2.0 and we use thin JDBC driver with
the same version. Our JAVA environment is 1.5. Tomcat version 5.5.17. There
are no firewalls between Tomcat and Oracle (direct LAN connection).
You're requesting a TLS Secure connection
http://java.sun.com/products/jndi/tutorial/ldap/ext/starttls.html
HTH,
Martin
---
This e-mail message (including attachments, if any) is intended for the use of
the individual or
Hi!
Actually I never got JkMount to work, so I would say something like:
VirtualHost *:80
ServerName app1.example.com
# you do not want to have a loop
RewriteCond %{REQUEST_FILENAME} !^/app1/
RewriteRule ^/(.*)$ /app1/$1 [PT]
Location /app1/
SetEnv JK_WORKER_NAME
Paul,
I am not sûre it can help me ! I used IBM's keyman in order to install my
certificate !
Cipher suites problem is still here.
Anyone else to help me ?
Malek
-Message d'origine-
De : Paul Singleton [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 22 mars 2007 15:40
À : Tomcat Users List
Link is:
http://www.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23.
exe.asc
http://www.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23
.exe.asc
On page: http://tomcat.apache.org/download-55.cgi
http://tomcat.apache.org/download-55.cgi
I downloaded using the
If I get a HttpsURLConnection like you've said, and then get an
InputStream as connection.getInputStream(), I can't read anything from
that stream, and metthod InputStream.available() returns 0. All this is
true if you use a 'https' url, not a 'http' one.
You can try it one day when you have
thanks, I will fix that!
Filip
Day, Jeff wrote:
Link is:
http://www.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23.
exe.asc
http://www.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23
.exe.asc
On page: http://tomcat.apache.org/download-55.cgi
I've uploaded the .asc file, mirrors will synch during the day. the
apache.org/dist should have it within an hour
Filip
Day, Jeff wrote:
Link is:
http://www.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23.
exe.asc
Hello,
I run applications that requires to save have files such as PDF. It was first
located within the webapp's directory, but that caused a problem since the
files were deleted each time the application was re-deployed.
Where should I put those files ?
Is there any configurations for
Thanks, but I already have that added. It appears that I don't have the
jkstatus files. Are these delivered with a specific version of tomcat,
or how do I get the files? Shouldn't I be able to directly hit each
tomcat jkstatus instance directly like http://node1/jkstatus or
Hello
I run tomcat 5.5.x with jsvc (on Linux) to be able to make it listen on port
80. This works fine. However, if I try to run it with the security manager, I
get an error and the daemon doesn't start (see log below).
I'm using the script jsvc-src/native/Tomcat5.sh which ships with the
It's not enough to just simply change HttpURLConnection to
HttpsURLConnection, there are a few more actions required.
Have a look at this (it definately works), maybe you'll get the idea
what is going wrong on your side:
http://java.sun.com/developer/technicalArticles/Security/secureinternet2/
you will have to set either in server.policy (to make applicable for all
containers)
or catalina.policy (specific for catalina container)
grant {
permission java.io.FilePermission ALL FILES, read,write.delete;
}
HTH,
M-
---
I am not sure to follow you on this.
Jean-Sébastien Pilon
Systems Administrator
Penson Financial Services Canada Inc.
% Tel.: 514.841.9724 #269
% Cell: 514.771.0365
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Friday, March 23, 2007 12:38 PM
To: Tomcat
Hello,
I'm using mod_proxy_ajp as my link b/w tomcat and apache. Things are
working well with the exception of getting the following error:
2007-03-22 20:02:42,875 [TP-Processor51] WARN
org.apache.jk.core.MsgContext - Error sending end packet
java.net.SocketException: Broken pipe
at
Thanks Martin
I will try this, but what i want is tomcat to start as a service and take all
these options while it is starting up
Venkat
- Original Message
From: Martin Gainty [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, March 22, 2007 6:31:04 PM
Hi Robert,
Try get to it through the APACHE box
http://apachebox/jkstatus
Below I MODIFIED some entries to make it look better...
I think you almost have it right...
regards Johnny
- Original Message -
Thanks, but I already have that added. It appears that I don't have the
I'd recommend moving to mod_proxy_http, it will be easier for you to debug.
the error below seems tobe more of a problem with apache (mod_proxy_ajp)
then with tomcat, tomcat is simply trying to write a message, but the
connection is no longer valid.
Filip
c. wrote:
Hello,
I'm using
Chris-
broken pipe means that at one end (more than likely the DB listener you're
connecting to somehow dropped)
A quick fix is to bump the connectionTimeout up by 5 sec
If not bump the mod_proxy.proxytimeout up by 5 secs
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxytimeout
Martin-
you'd be walking in a security hazard, but you could probably set the
cookie to secure even though it is running in http.
in org.apache.catalina.connector.Request.java, the cookie is set,
as you can see, last few lines, that the cookie is only set to secure if
the request is considered secure.
Hi Ven-
(easier than I thought)
%TOMCAT_HOME%\bin\tomcat5w.exe
go to Java Tab (4th Tab from left)
3rd paragraph down you should see 'Java Options'
place all of your Java Options in that textfield
cmd
net stop Tomcat5
net start Tomcat5
HTH!
Martin--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
I'd recommend moving to mod_proxy_http, it will be easier for you to debug.
Bah! :(
the error below seems to be more of a problem with apache (mod_proxy_ajp)
then with tomcat, tomcat is simply trying to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
Martin Gainty wrote:
broken pipe means that at one end (more than likely the DB listener you're
connecting to somehow dropped)
Unlikely:
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native
I'll try upping the connection timeouts, but aside from the problem of
dropped connections what I'm really confused about is why there is a jk
exception (org.apache.jk.common.ChannelSo
cket.send(ChannelSocket.java:518)) when I'm using mod_proxy_ajp, NOT
mod_jk.
Chris.
On 3/23/07,
Looking at the server.xml connectionTimeout, I've set the value to 60,
600 seconds not 60 seconds, could I be holding onto the connection for too
long? The reason I'm asking is 'cause I don't think adding another five
seconds to the 600 will make a difference, adding five seconds to 60 could
On top of the previous error in the log tomcat log file, the following error
shows up in the httpd error log:
[Thu Mar 22 19:55:23 2007] [error] (70007)The timeout specified has expired:
ajp_ilink_receive() can't receive header
[Thu Mar 22 19:55:23 2007] [error] ajp_read_header:
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
I'd recommend moving to mod_proxy_http, it will be easier for you to debug.
Bah! :(
that sounds knowledgeable :)
the error below seems to be more of a problem with
Filip, thanks for the info, I'll listen to anyone with good advice. So you
recommend mod_proxy_http over mod_jk?
Is it the same basic setup as mod_proxy_ajp? Looking at the doc (
http://httpd.apache.org/docs/2.0/mod/mod_proxy_http.html) it doesn't give
much info.
c.
On 3/23/07, Filip Hanik -
Jean-Sebastien Pilon wrote:
I would like to know if I need to recompile JSVC if I update the jvm.
Current version of the JVM is 5.0_u6 and the new one will be 5.0_u10
No recompile will be needed.
-
To start a new topic,
Filip, I know this isn't the httpd forum, but how did you get the ssl
working using mod_proxy_http?
Chris.
On 3/23/07, c. [EMAIL PROTECTED] wrote:
Filip, thanks for the info, I'll listen to anyone with good advice. So
you recommend mod_proxy_http over mod_jk?
Is it the same basic setup as
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
c. wrote:
I'll try upping the connection timeouts, but aside from the problem
of dropped connections what I'm really confused about is why there is
a jk exception
(org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:518))
when
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
c. wrote:
Filip, thanks for the info, I'll listen to anyone with good advice. So you
recommend mod_proxy_http over mod_jk?
That's a good question. In two successive messages, he recommended each
over the other. shrug
Is it the same basic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Apologies to all. I read mod_proxy_http as mod_proxy_ajp, and made a
fool of myself. Duh.
- -chris
Christopher Schultz wrote:
Chris,
c. wrote:
I'll try upping the connection timeouts, but aside from the problem
of dropped connections
I have two or three web applications that use JavaMail. I develop on a
Macintosh then drop the WAR files on Tomcat running on a Red Hat Linux
system. In each case it was sufficient to put the JAR files in
WEB-INF/lib. My web.xml files do not contain any resource-ref tags.
-Original
no worries, mistakes happen.
Thanks for the clarification on the jk exceptions. Now that you've said it
it seems obvious.
I can get mod_proxy_http to work unsecurely, but once I hit the secure pages
I get internal server error. Why would I not have had to do anything to
enable ssl with
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
c. wrote:
Filip, thanks for the info, I'll listen to anyone with good advice. So you
recommend mod_proxy_http over mod_jk?
That's a good question. In two successive messages, he recommended each
over
c. wrote:
Filip, thanks for the info, I'll listen to anyone with good advice.
So you
recommend mod_proxy_http over mod_jk?
Is it the same basic setup as mod_proxy_ajp? Looking at the doc (
http://httpd.apache.org/docs/2.0/mod/mod_proxy_http.html) it doesn't give
much info.
Ah, it's straight
in my last email I forgot one
SSLProxyMachineCertificateFile --
SSLProxyEngine
SSLProxyMachineCertificatePath
SSLEngine
SSLProxyProtocol,
SSLProxyCipherSuite
c. wrote:
Filip, thanks for the info, I'll listen to anyone with good advice.
So you
recommend mod_proxy_http over mod_jk?
Is it the
Thanks Filip,
We've always had the need for SSL, and our config worked without any changes
when I put AJP in the mix. It doesn't, however, work with proxy http.
On 3/23/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:
in my last email I forgot one
SSLProxyMachineCertificateFile --
Gurdeep Kaur (gurdeep) wrote:
So why would tomcat create two threads for one tls session?
Because Tomcat receives two requests. You might want to start looking
more closely at what is going on at the network level.
Mark
-
To
Mark,
For some reason the previous TLS sessions are not getting closed, I see
so many TCP sessions in CLOSE_WAIT on port 8443.
Not sure why is that
Gurdeep
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Friday, March 23, 2007 3:46 PM
To: Tomcat Users List
On 3/23/07, Jean-Sebastien Pilon [EMAIL PROTECTED] wrote:
Is there any configurations for avoiding to delete the files within the webapp's
directory when the webapp is redeployed ?
When the app is re-deployed old Java/ JSP files are replaced with new,
that's why the folder under webapps is
46 matches
Mail list logo