Hi,
I downloaded the Pre-2.1 CVS version of JBoss. After doing the 'build', I ran the
run.bat file in the dist\bin folder. Amongst other messages, I get the following:
*****************************************************
.
.
.
[Configuration] URLs set to ../deploy in EJB:service=AutoDeployer
[Configuration] Port set to 1099 in DefaultDomain:service=Naming
[Configuration] RmiPort set to 0 in DefaultDomain:service=Naming
[Configuration] Logging set to false in DefaultDomain:service=Naming
.
.
.
[Default] javax.management.InstanceNotFoundException:
DefaultDomain:service=ServiceControl
[Default] at
com.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerImpl.java:1678)
[Default] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1522)
[Default] at org.jboss.Main.<init>(Main.java:157)
[Default] at org.jboss.Main$1.run(Main.java:89)
[Default] at java.security.AccessController.doPrivileged(Native Method)
[Default] at org.jboss.Main.main(Main.java:85)
[Default] JBoss PRE-2.1 Started
Press any key to continue . . .
*****************************************************
When I run a client that wants to connect to the naming service of JBoss, I get the
following exception:
*****************************************************
javax.naming.ServiceUnavailableException: Connection refused: no further information.
Root exception is java.net.ConnectException: Connection refused: no furth
er information at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:100)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:94)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:693)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:286)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at USMQueueSender.<init>(USMQueueSender.java:17)
at USMQueueSender.main(USMQueueSender.java:36)
*****************************************************
Has the JBoss server started properly? I can see the Naming service started at
localhost:1099; and I am getting a refernce to a valid naming service on the
client-side from the server-side..... Any config settings that I may have
forgotten/mistaken?.... What am I missing?
Do let me know.
Get your small business started at Lycos Small Business at
http://www.lycos.com/business/mail.html
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]