have you turned on smtp auth and lifted the remoteaddrnotinhost restriction?

-Camron Levanger

On Apr 29, 2005, at 8:55 AM, Kelly wrote:

Thanks for replying Bud.

I found the driver thanks.  I can get the server to start now.  I can
connect to it but it sends all mail to a user I created in the
virtualUserTable to the relay denied folder.

Kelly


-------- Original Message --------
Subject: RE: Connection refused
From: "Bud Bach" <[EMAIL PROTECTED]>
Date: Fri, April 29, 2005 9:25 am
To: "'James Users List'" <[email protected]>

http://dev.mysql.com/downloads/connector/j/3.1.html

Grab the zip file and unzip it. The jar file is in the root of the unzipped
directory. Also, are you running mysql on the same machine as james? You
might want to use localhost as the server for your connect string.



-----Original Message-----
From: Kelly [mailto:[EMAIL PROTECTED]
Sent: Friday, April 29, 2005 8:58 AM
To: James Users List
Subject: RE: Connection refused

I cannot find the connectorJ 3.0.9 driver on the MySQL website. I found
the 3.0.6 tar file. I found the 3.1.8a tar file. When I try to untar
any of them I get a checksum error. The MySQL website says to copy the
mysql-connector-java-[version]-bin.jar to the lib directory from the com
directory. There are no files that end in 'jar' in the com directory,
only '.java' and '.class' files. I downloaded the windows version and
looked at the files. Same thing as the tar files, no '.jar' files
anywhere. Can anyone help me understand this. I have never felt so
stupid in my whole life.


K


-------- Original Message --------
Subject: Re: Connection refused
From: Camron Levanger <[EMAIL PROTECTED]>
Date: Thu, April 28, 2005 10:16 pm
To: "James Users List" <[email protected]>

It sounds to me like you are using mysql 4.1 or greater. You need to
download the connectorj 3.0.9 driver from the mysql site and put it
in your lib directory, then you need to go into your datasource and
switch the driver from org.gjt.mm.mysql to com.mysql.jdbc.Driver


-Cam

On Apr 28, 2005, at 9:05 PM, Kelly wrote:


I am still having a problem getting the database to connect.

This is from\m the default log.  It happens when I try to access
the server.

28/04/05 22:04:27 ERROR database-connections.maildb: Error creating
connection: java.sql.SQLException: Cannot connect to MySQL server
on boredomhost.com:3306. Is there a MySQL server running on the
machine/port you are trying to connect to? (java.net.ConnectException)
at org.gjt.mm.mysql.Connection.connectionInit(Unknown Source)
at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Unknown
Source)
at org.gjt.mm.mysql.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java: 512)
at java.sql.DriverManager.getConnection(DriverManager.java: 171)
at org.apache.james.util.mordred.JdbcDataSource.createConn
(JdbcDataSource.java:514)
at org.apache.james.util.mordred.JdbcDataSource.getConnection
(JdbcDataSource.java:163)
at org.apache.james.transport.mailets.JDBCVirtualUserTable.init
(JDBCVirtualUserTable.java:131)
at org.apache.mailet.GenericMailet.init(GenericMailet.java: 129)
at org.apache.james.transport.MailetLoader.getMailet
(MailetLoader.java:60)
at org.apache.james.transport.JamesSpoolManager.initialize
(JamesSpoolManager.java:253)
at
org.apache.avalon.framework.container.ContainerUtil.initialize
(ContainerUtil.java:235)
at
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startu p
(LifecycleHelper.java:144)
at
org.apache.avalon.phoenix.components.application.DefaultApplicatio n.st
artup(DefaultApplication.java:480)
at
org.apache.avalon.phoenix.components.application.DefaultApplicatio n.do
RunPhase(DefaultApplication.java:428)
at
org.apache.avalon.phoenix.components.application.DefaultApplicatio n.ru
nPhase(DefaultApplication.java:364)
at
org.apache.avalon.phoenix.components.application.DefaultApplicatio n.st
art(DefaultApplication.java:138)
at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:178)
at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addAppli cati
on(DefaultKernel.java:254)
at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.depl oy
(DefaultDeployer.java:353)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.depl oyFi
le(DefaultEmbeddor.java:498)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.depl oyFi
le(DefaultEmbeddor.java:491)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.depl oyFi
les(DefaultEmbeddor.java:476)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.depl oyDe
faultApplications(DefaultEmbeddor.java:466)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.exec ute(
DefaultEmbeddor.java:224)
at org.apache.avalon.phoenix.frontends.CLIMain.run (CLIMain.java:
158)
at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
at org.apache.avalon.phoenix.frontends.CLIMain.main
(CLIMain.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.avalon.phoenix.launcher.Main.startup (Main.java:94)
at org.apache.avalon.phoenix.launcher.Main.main(Main.java:46)






Noel J. Bergman wrote:



OK. What is showing up in the logs? Is this Solaris? Have you done
something like tail -f * in the logs directory, and checked? Have
you
turned on DEBUG for all of the log types?


    --- Noel


----------------------------------------------------------------- ----
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: server-user- [EMAIL PROTECTED]








------------------------------------------------------------------ ---
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-------------------------------------------------------------------- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to