E:\Programs\James\apache-james-3.0-beta4\bin>james start
wrapper  | The james service is not installed - The specified service does
not exist as an installed service. (0x424)
Press any key to continue . . .

E:\Programs\James\apache-james-3.0-beta4\bin>james install
wrapper  | Apache James Server App installed.

E:\Programs\James\apache-james-3.0-beta4\bin>james start
wrapper  | Starting the Apache James Server App service...
wrapper  | Apache James Server App started.

log file james-server
:
INFO  07:36:06,344 |
org.apache.james.container.spring.context.JamesServerApplicationContext |
Refreshing
org.apache.james.container.spring.context.JamesServerApplicationContext@7d742700:
startup date [Sat Jan 12 07:36:06 EST 2013]; root of context hierarchy
INFO  07:36:08,730 |
org.apache.james.container.spring.context.JamesServerApplicationContext |
Bean 'logprovider' of type [class
org.apache.james.container.spring.lifecycle.LogProviderImpl] is not
eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)
INFO  07:36:09,432 | james.mailrepositorystore | JamesMailStore init...
INFO  07:36:09,448 | james.mailrepositorystore | Registering Repository
instance of class org.apache.james.mailrepository.file.FileMailRepository
to handle file protocol requests for repositories with key file
INFO  07:36:09,448 | james.mailrepositorystore | Registering Repository
instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository
to handle db protocol requests for repositories with key db
INFO  07:36:09,448 | james.mailrepositorystore | Registering Repository
instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository
to handle dbfile protocol requests for repositories with key dbfile
INFO  07:36:09,448 | james.mailrepositorystore | Registering Repository
instance of class org.apache.james.mailrepository.file.MBoxMailRepository
to handle mbox protocol requests for repositories with key mbox
INFO  07:36:10,290 | james.dnsservice | DNS Server is: 68.204.0.31
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:

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>
> For additional commands, e-mail: 
> server-user-help@james.apache.**org<server-user-h...@james.apache.org>
>
>

Reply via email to