Hi Eric I noticed there is a wrapper.log file in bin folder, That file logs error message.
I use mysql database and put mysql-connector-java-5.1.15-bin.jar file in conf/lib folder. But the wrapper cannot load JDBC driver class 'com.mysql.jdbc.Driver'. I changed "wrapper.java.classpath.2=../conf" to "wrapper.java.classpath.2=../conf/lib" in conf/wrapper.conf file. Now I can start the James server by using ./james start Thanks Eric. -James On Sat, Jan 12, 2013 at 5:59 PM, youth men <youthmen...@gmail.com> wrote: > I used default settings. what should my dns settings be? > > > On Sat, Jan 12, 2013 at 2:31 PM, Eric Charles <e...@apache.org> wrote: > >> (snipped) >> >> INFO 07:36:10,306 | james.dnsservice | Registered cache, resolver and >>> search paths as DNSJava defaults >>> INFO 07:36:10,680 | james.domainlist | Set autodetect to: true >>> INFO 07:36:10,680 | james.domainlist | Set autodetectIP to: true >>> >>> It looks fine till here. See next below: >>> >>> >> No more log after? >> If no, can you check you dns settings? >> >> The rest (below) confirms that the server is not started. >> The strange things is that there is no exception in the log (it should >> continue after "Set autodetectIP to: true"). >> >> Thx, Eric >> >> E:\Programs\James\apache-**james-3.0-beta4\bin>james-cli -h localhost >>> -p 9999 >>> listusers >>> Error connecting to remote JMX agent! >>> java.io.IOException: Failed to retrieve RMIServer stub: >>> javax.naming.**ServiceUnavailableException [Root exception is >>> java.rmi.ConnectException: Connection refused to host: localhost; nested >>> exception is: >>> java.net.ConnectException: Connection refused: connect] >>> at javax.management.remote.rmi.**RMIConnector.connect(Unknown >>> Source) >>> at javax.management.remote.**JMXConnectorFactory.connect(** >>> Unknown >>> Source) >>> at >>> org.apache.james.cli.probe.**impl.JmxServerProbe.connect(** >>> JmxServerProbe.java:93) >>> at >>> org.apache.james.cli.probe.**impl.JmxServerProbe.<init>(** >>> JmxServerProbe.java:68) >>> at org.apache.james.cli.**ServerCmd.main(ServerCmd.java:**104) >>> Caused by: javax.naming.**ServiceUnavailableException [Root exception is >>> java.rmi.ConnectException: Connection refused to host: localhost; nested >>> exception is: >>> java.net.ConnectException: Connection refused: connect] >>> at com.sun.jndi.rmi.registry.**RegistryContext.lookup(Unknown >>> Source) >>> at com.sun.jndi.toolkit.url.**GenericURLContext.lookup(**Unknown >>> Source) >>> at javax.naming.InitialContext.**lookup(Unknown Source) >>> at >>> javax.management.remote.rmi.**RMIConnector.**findRMIServerJNDI(Unknown >>> Source) >>> at javax.management.remote.rmi.**RMIConnector.findRMIServer(** >>> Unknown >>> Source) >>> ... 5 more >>> Caused by: java.rmi.ConnectException: Connection refused to host: >>> localhost; nested exception is: >>> java.net.ConnectException: Connection refused: connect >>> at sun.rmi.transport.tcp.**TCPEndpoint.newSocket(Unknown >>> Source) >>> at sun.rmi.transport.tcp.**TCPChannel.createConnection(**Unknown >>> Source) >>> at sun.rmi.transport.tcp.**TCPChannel.newConnection(**Unknown >>> Source) >>> at sun.rmi.server.UnicastRef.**newCall(Unknown Source) >>> at sun.rmi.registry.RegistryImpl_**Stub.lookup(Unknown Source) >>> ... 10 more >>> Caused by: java.net.ConnectException: Connection refused: connect >>> at java.net.PlainSocketImpl.**socketConnect(Native Method) >>> at java.net.PlainSocketImpl.**doConnect(Unknown Source) >>> at java.net.PlainSocketImpl.**connectToAddress(Unknown Source) >>> at java.net.PlainSocketImpl.**connect(Unknown Source) >>> at java.net.SocksSocketImpl.**connect(Unknown Source) >>> at java.net.Socket.connect(**Unknown Source) >>> at java.net.Socket.connect(**Unknown Source) >>> at java.net.Socket.<init>(Unknown Source) >>> at java.net.Socket.<init>(Unknown Source) >>> at >>> sun.rmi.transport.proxy.**RMIDirectSocketFactory.**createSocket(Unknown >>> Source) >>> at >>> sun.rmi.transport.proxy.**RMIMasterSocketFactory.**createSocket(Unknown >>> Source) >>> ... 15 more >>> >>> E:\Programs\James\apache-**james-3.0-beta4\bin>telnet localhost 25 >>> Connecting To localhost...Could not open connection to the host, on port >>> 25: Connect failed >>> >>> E:\Programs\James\apache-**james-3.0-beta4\bin>telnet 127.0.0.1 25 >>> Connecting To 127.0.0.1...Could not open connection to the host, on port >>> 25: Connect failed >>> >>> >>> On Sat, Jan 12, 2013 at 4:51 AM, Eric Charles <e...@apache.org> wrote: >>> >>> Hi, >>>> What does the log say (log/james-server.log) >>>> What exact cli command do you issue? >>>> What "telnet localhost 25" says? >>>> >>>> Thx, Eric >>>> >>>> >>>> On 11/01/2013 16:30, youth men wrote: >>>> >>>> I can not start Apache James Server 3.0 beta4 by using the ./james >>>>> start >>>>> in >>>>> Quick Start step 5 in Window 7 and Ubuntu 11. But I can start it both >>>>> in >>>>> Window 7 and Ubuntu 11 by using run.bat/run.sh command. >>>>> >>>>> I run the james install command, then james start. I got a message says >>>>> james service started, but I still can not connect to the server using >>>>> james-cli in Quick Start step 6 either. >>>>> >>>>> What's wrong? Thanks >>>>> >>>>> >>>>> ------------------------------****----------------------------** >>>> --**--------- >>>> To unsubscribe, e-mail: server-user-unsubscribe@james.****apache.org< >>>> server-user-**unsubscr...@james.apache.org<server-user-unsubscr...@james.apache.org> >>>> > >>>> For additional commands, e-mail: server-user-help@james.apache.****org< >>>> server-user-help@james.**apache.org <server-user-h...@james.apache.org> >>>> > >>>> >>>> >>>> >>> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: >> server-user-unsubscribe@james.**apache.org<server-user-unsubscr...@james.apache.org> >> For additional commands, e-mail: >> server-user-help@james.apache.**org<server-user-h...@james.apache.org> >> >> >