Can anyone tell me how to get my app, which uses java mail to get a secure
session with my smtp resource as defined in my context file.
mail.smtp.host
192.168.100.24
mail.smtp.socketFactory.class
javax.net.ssl.SSLSocketFactory
mail.smtp.socketFactory.fallback
false
I also had the same problem with that driver. JTDS is a much much better
driver. Also look at your connection pooling software, using the commons DBCP
is also a little shady. I switched to c3p0 and all the connection problems
disappeared. Furthermore with c3p0 when the sql server reboots c3p
You could leave 8080 on .. But restrict access to it via firewall.
-Original Message-
From: Scott Heitkamp [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 4:32 PM
To: tomcat-user@jakarta.apache.org
Subject: Turning off port 8080 but still need to access to admin pages
I need to
>From what it sounds like you have apache running as a proxy to tomcat. If
>thats the case,
Add the following to your apache config file httpd.conf change
ErrorDocument 503 /your_file.html
ErrorDocument 200 /your_file.html
-B
-Original Message-
From: j r [mailto:[EMAIL PROTECTED]
Sent:
Hi , Im hoping someone can give me some pretty detailed instructions on how to
load balance 2 tomcat servers with 1 apache web server in front. I wanted to
use mod_jk. First question, is , is this the best way to load balance?
Second question. Where do i start. Im having trouble finding clea
Can anyone tell me how to get tomcat to see my connection pool (DBCP) when
tomcat starts?
I'm running struts if that helps.
I have a Jndi resource set up that i can call from my code. But the pool
starts the first time i ask for a connection from the factory. I'd rather it
start on startup.
j.PatternLayout
log4j.appender.nycbbuilderlog.layout.ConversionPattern=%5p [EMAIL
PROTECTED]:mm:ss,SSS}] - %m%n
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 3:01 PM
To: Tomcat Users List
Subject: RE:[RESOLVED] log4j.properties not found in tomcat
Quoting Brian M
ation file [log4j.properties].
AbandonedObjectPool is used ([EMAIL PROTECTED])
LogAbandoned: true
RemoveAbandoned: true
RemoveAbandonedTimeout: 60
-Original Message-
From: Brian McGovern [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 8:24 AM
To: Tomcat Users List
Subjec
he
correct and safe thing to do. It is your responsibility to make sure the
directory exists before Log4j attempts to use it.
Jake
At 11:09 PM 2/21/2005 -0500, you wrote:
>Where do you put log4j.properties currently?
>-Michael Greer
>
>On Feb 21, 2005, at 5:02 PM, Brian McGo
I have a wierd problem. Tomcat on W2k barks FileNotFound Exceptions for the
log4j.properties file when i execute a servlet that instantiates log4j.
Strangely enough the actual file that i create and log to with log4j.properties
file logs out just fine even though stdout.log said that it couldn
, 2005 5:51 PM
To: Tomcat Users List
Subject: Re: log4j in tomcat erroring -- dont know why
Brian,
Are you calling PropertyConfigurator explicitly anywhere in your code?
Brian McGovern wrote:
>Hi. I've got tomcat up and running and have a log4j.properties file in my
>WEB-
Hi. I've got tomcat up and running and have a log4j.properties file in my
WEB-INF\classes directory. My servlets and jsps run fine. No errors.
Stdout.log shows this on servlet execution and i have no idea why because the
log4j log file is being populated just fine even though my stdout says
go wrong?
-Original Message-
From: Brian McGovern [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 16, 2005 4:57 PM
To: Tomcat Users List
Subject: RE: log4j best practices
Oh man. they were in winnt system32 the whole time. UGH. You were right.
Thanks Jake!
-Original Message
Im looking to do the exact same thing. I tried adding a file named
"commons-logging.properties" to my classes directory that contains the
following line.
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
This doesn't do what I read it would do. I still have output to
JVM.
I suggest you use...
log4j.appender.stdout.File=${catalina.home}/logs/catalina.out
Tomcat creates the "catalina.home" system property at startup. You can use it
to reference Tomcat's home directory and then put the file anywhere you want
relative to that.
Jake
Quoting
Thats the same approach im using. I have a commons-logging.properties and a
log4j.properties file in my WEB-INF\classes directory. But I only get the same
loggin as before in stdout.log Im using Win2k as OS. Where do my defined log
files go? Im confused. Everything compiles.
I have this li
Hi everyone
Im looking for some tips on implementing a logging system in tomcat. Ive got
log4j installed and am about to write code but im just looking for some tips
before i get started. My idea is to write a central logger class for my app
that imports the log4j package and supplys static me
Who knows.
-Original Message-
From: Brian McGovern [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 08, 2005 12:53 PM
To: Tomcat Users List
Subject: No jsp compiles
I just installed tomcat 5.0.28 and java 1.4.2_06 on redhat and no JSP compiles,
with the following error: Even jsp
I just installed tomcat 5.0.28 and java 1.4.2_06 on redhat and no JSP compiles,
with the following error: Even jsp with one line in them
Any ideas?
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j
Hello,
I recently installed tomcat 5.0.28 and java 1.4.2_06. I get the default app
and can execute servlets, but if i execute any jsp that is NOT defined in the
jsp-examples web app, i get the error above. Full stack trace below:
I have no idea what is causing this. Please help.
type Except
20 matches
Mail list logo