Hi

> -----Original Message-----
> From: Scott M Stark [mailto:[EMAIL PROTECTED]]
> 
> 
> The problem is with the jboss.jcml file. 

OK - I've updated that.

> I would just bring all of
> the jbossmq src/lib jars up to date with the current jboss 
> dist. Note that you can
> turn on debugging of the MBean server by passing a 
> -DLEVEL_TRACE=INFO_MBEANSERVER
> property on the java command line. 
> 

I think I have done this - but please feel free to check it.

Things work a little better now...

I am not sure if the jaas stuff is really needed - but it is now in the
jbossmq module too... I couldn't seem to get it to work without it.

When I start jboss up, I get an error complaining about naming having a
problem - but then it seems to work anyway - its as if naming is trying to
start twice...

This is the error, for those who might know what I've done wrong   ;-(




[Service Control] Registered with server
[Service Control] Initializing 4 MBeans
[Naming] Initializing
[Naming] Initialization failed
[Naming] javax.naming.ServiceUnavailableException: Connection refused.  Root
exception is java.net.ConnectExc
eption: Connection refused
[Naming]        at java.net.PlainSocketImpl.socketConnect(Native Method)
[Naming]        at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
[Naming]        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
[Naming]        at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
[Naming]        at java.net.Socket.<init>(Socket.java:273)
[Naming]        at java.net.Socket.<init>(Socket.java:100)
[Naming]        at
org.jnp.interfaces.NamingContext.getServer(NamingContext.java:94)
[Naming]        at
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:696)
[Naming]        at
org.jnp.interfaces.NamingContext.<init>(NamingContext.java:180)
[Naming]        at
org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFacto
ry.java:38)
[Naming]        at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
[Naming]        at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
[Naming]        at javax.naming.InitialContext.init(InitialContext.java:222)
[Naming]        at
javax.naming.InitialContext.<init>(InitialContext.java:178)
[Naming]        at
org.jboss.naming.NamingService.initService(NamingService.java:94)
[Naming]        at
org.jboss.util.ServiceMBeanSupport.init(ServiceMBeanSupport.java:67)
[Naming]        at java.lang.reflect.Method.invoke(Native Method)
[Naming]        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Naming]        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Naming]        at
org.jboss.util.ServiceControl.init(ServiceControl.java:59)
[Naming]        at java.lang.reflect.Method.invoke(Native Method)
[Naming]        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Naming]        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Naming]        at org.jboss.Main.<init>(Main.java:189)
[Naming]        at org.jboss.Main$1.run(Main.java:94)
[Naming]        at java.security.AccessController.doPrivileged(Native
Method)
[Naming]        at org.jboss.Main.main(Main.java:90)
[Service Control] Could not initialize DefaultDomain:service=Naming
[Service Control] javax.management.MBeanException: Exception thrown in
operation init
[Service Control]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1644)
[Service Control]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Service Control]       at
org.jboss.util.ServiceControl.init(ServiceControl.java:59)
[Service Control]       at java.lang.reflect.Method.invoke(Native Method)
[Service Control]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Service Control]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Service Control]       at org.jboss.Main.<init>(Main.java:189)
[Service Control]       at org.jboss.Main$1.run(Main.java:94)
[Service Control]       at
java.security.AccessController.doPrivileged(Native Method)
[Service Control]       at org.jboss.Main.main(Main.java:90)
[JNDIView] Initializing
[JNDIView] Initialized
[JBossMQ] Initializing
[JBossMQ] Initialized
[Service Control] Initialized 4 services
[Service Control] Starting 4 MBeans
[Naming] Starting
[Naming] Naming started on port 1099




HTH,
Chris

================================================================================================
This electronic message (email) and any attachments to it are subject to copyright and 
are sent for the personal attention of the addressee. Although you may be the named 
recipient, it may become apparent that this email and its contents are not intended 
for you and an addressing error has been made. This email may include information that 
is legally privileged and exempt from disclosure. If you have received this email in 
error, please advise us immediately and delete this email and any attachments from 
your computer system.Rabobank International is the trading name of Coöperatieve 
Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands. 
Registered with the Registrar of Companies for England & Wales No. BR002630 and 
regulated by the SFA for the conduct of investment business in the UK.

The presence of this footnote also confirms that this email has been automatically 
checked by Rabobank International for the presence of computer viruses prior to it 
being sent, however, no guarantee is given or implied that this email is virus free 
upon delivery.



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to