[jboss-as7-dev] Strange behaviour with messaging

Vimal Kansal vkansal at redhat.com
Tue Jul 19 05:02:41 EDT 2011


Yup they are not showing up in the JNDI tree; very simple to verify :

Just execute the operation :

/subsystem=naming:jndi-view. In my deployment, this what I get :

==========================================================================================================================================

[standalone at localhost:9999 /] /subsystem=naming:jndi-view
{
     "outcome" => "success",
     "result" => {
         "java: contexts" => {
             "java:jboss" => {
                 "jaas" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "children" => {"other" => {
                         "class-name" => 
"org.jboss.as.security.plugins.SecurityDomainContext",
                         "value" => 
"org.jboss.security.authentication.JBossCachedAuthenticationManager at 114f313"
                     }}
                 },
                 "TransactionManager" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => 
"com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate at c5575"
                 },
                 "datasources" => {
                     "class-name" => "javax.naming.Context",
                     "children" => {"ExampleDS" => {
                         "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                         "value" => 
"org.jboss.jca.adapters.jdbc.WrapperDataSource at f2f973"
                     }}
                 },
                 "orb" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => "org.jacorb.orb.ORB at ee5d13"
                 },
                 "irpoa" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => "org.jacorb.poa.POA at 39880a"
                 },
                 "poa" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => "org.jacorb.poa.POA at d767dc"
                 },
                 "TransactionSynchronizationRegistry" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => 
"com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple at 30380"
                 },
                 "corbanaming" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => 
"IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000100000000000000E4000102000000000A3132372E302E302E3100
0DC8000000144A426F73732F4E616D696E67504F412F726F6F74000000030000000000000008000000004A414300000000010000002000000000000100010000000105010001000101090000000205010001000101000000002100000074000000000000
00010000000000000024000000220000007E00000000000000010000000F3136392E3235342E3138372E313700000DC9004000000000000000080606678102010101000000170401000806066781020101010000000764656661756C7400000000000000
00000000000000000000"
                 }
             },
             "java:global" => {"TODService" => {
                 "class-name" => "javax.naming.Context",
                 "children" => {
                     "TimeOfDay!ejb.TimeOfDay" => {
                         "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                         "value" => "Proxy for view class: ejb.TimeOfDay 
of EJB: TimeOfDay"
                     },
                     "TimeOfDay" => {
                         "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                         "value" => "Proxy for view class: ejb.TimeOfDay 
of EJB: TimeOfDay"
                     }
                 }
             }}
         },
         "applications" => {"TODService.war" => {
             "java:app" => {
                 "AppName" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => "TODService"
                 },
                 "TODService" => {
                     "class-name" => "javax.naming.Context",
                     "children" => {
                         "TimeOfDay!ejb.TimeOfDay" => {
                             "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                             "value" => "Proxy for view class: 
ejb.TimeOfDay of EJB: TimeOfDay"
                         },
                         "TimeOfDay" => {
                             "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                             "value" => "Proxy for view class: 
ejb.TimeOfDay of EJB: TimeOfDay"
                         }
                     }
                 }
             },
             "modules" => {"TODService" => {"java:module" => {
                 "TimeOfDay" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => "Proxy for view class: ejb.TimeOfDay of 
EJB: TimeOfDay"
                 },
                 "Validator" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => 
"org.hibernate.validator.engine.ValidatorImpl at 35ff29"
                 },
                 "TimerService" => {"class-name" => 
"org.jboss.as.naming.context.ModularReference"},
                 "TimeOfDay!ejb.TimeOfDay" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => "Proxy for view class: ejb.TimeOfDay of 
EJB: TimeOfDay"
                 },
                 "ValidatorFactory" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => 
"org.jboss.as.ee.beanvalidation.LazyValidatorFactory at d837c1"
                 },
                 "UserTransaction" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => "Transaction: unknown"
                 },
                 "ModuleName" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => "TODService"
                 },
                 "TransactionSynchronizationRegistry" => {
                     "class-name" => 
"org.jboss.as.naming.context.ModularReference",
                     "value" => 
"com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple at 30380"
                 },
                 "EJBContext" => {"class-name" => 
"org.jboss.as.naming.context.ModularReference"}
             }}}
         }}

==================================================================================================================================================

Thx.

Vimal

On 19/07/2011 6:53 PM, Heiko Braun wrote:
> If they don't show in the JNDI tree, yes.
> But that's not related to  the CLI or the console.
>
>
> On Jul 19, 2011, at 10:52 AM, Vimal Kansal wrote:
>
>> So, is this something that needs to be fixed?



More information about the jboss-as7-dev mailing list