Bugs item #442329, was opened at 2001-07-18 01:38
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=442329&group_id=22866

Category: JBossServer
Group: v2.4 BETA (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: External jndi referencing fails to work 

Initial Comment:
Refer to docs - External JNDI Configuration and JNDI
Viewing

Attempted to implement both the ldap and filesystem
external jndi referencing. In both cases the home
interface is not bound to the external jndi
implementation. This means that any remote client is
unable to reference a jboss server via jndi.

The files below define the environment used to set up
the implementation for the external jndi filesystem

1. server startup
2. server shutdown
3. jndiview dump
4. jboss.jcml bean
5. syntactics_fs.props
6. ejb-jar.xml

If any further details are required, please mail
[EMAIL PROTECTED]

--------------------

(1)
sh ./run.sh
JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar
jboss.home =
/export/home/nick/servers/jboss/JBoss-2.4.0BETA
Using JAAS LoginConfig:
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/conf/default/auth.conf
Using configuration "default"
[root] Started Log4jService,
config=
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/conf/default/log4j.properties
[Info] Java version: 1.3.1,Sun Microsystems Inc.
[Info] Java VM: Java HotSpot(TM) Server VM
1.3.1-b24,Sun Microsystems
Inc.
[Info] System: SunOS 5.8,sparc
[Shutdown] Shutdown hook added
[Service Control] Initializing 28 MBeans
[WebService] Initializing
[WebService] Initialized
[NamingService] Initializing
[NamingService] Initialized
[JNDIView] Initializing
[JNDIView] Initialized
[ExternalContext] Initializing
[ExternalContext] Initialized
[TransactionManagerService] Initializing
[TransactionManagerService] Initialized
[ClientUserTransactionService] Initializing
[ClientUserTransactionService] Initialized
[JaasSecurityManagerService] Initializing
[JaasSecurityManagerService] Initialized
[JdbcProvider] Initializing
[JdbcProvider] Loaded JDBC-driver:org.hsql.jdbcDriver
[JdbcProvider] Loaded
JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver
[JdbcProvider] Initialized
[HypersonicDatabase] Initializing
[HypersonicDatabase] Initialized
[XADataSourceLoader] Initializing
[XADataSourceLoader] Initialized
[XADataSourceLoader] Initializing
[XADataSourceLoader] Initialized
[ServerDataCollector] Initializing
[ServerDataCollector] Initialized
[ContainerFactory] Initializing
[ContainerFactory] Initialized
[JBossMQService] Initializing
[JBossMQService] Initialized
[JMSProviderLoader] Initializing
[JMSProviderLoader] Initialized
[ServerSessionPoolLoader] Initializing
[ServerSessionPoolLoader] Initialized
[J2eeDeployer] Initializing
[J2eeDeployer] Initialized
[RARDeployer] Initializing
[RARDeployer] Initialized
[ConnectionManagerFactoryLoader] Initializing
[ConnectionManagerFactoryLoader] Initialized
[ConnectionManagerFactoryLoader] Initializing
[ConnectionManagerFactoryLoader] Initialized
[ConnectionManagerFactoryLoader] Initializing
[ConnectionManagerFactoryLoader] Initialized
[ConnectionFactoryLoader] Initializing
[ConnectionFactoryLoader] Initialized
[ConnectionFactoryLoader] Initializing
[ConnectionFactoryLoader] Initialized
[AutoDeployer] Initializing
[AutoDeployer] Initialized
[JMXAdaptorService] Initializing
[JMXAdaptorService] Initialized
[RMIConnectorService] Initializing
[RMIConnectorService] Initialized
[MailService] Initializing
[MailService] Initialized
[Service Control] Initialized 28 services
[Service Control] Starting 28 MBeans
[WebService] Starting
[Default] Started on port 8083
[Webserver] Codebase set to http://wotan:8083/
[Webserver] Started webserver on port 8083
[WebService] Started
[NamingService] Starting
[NamingService] Starting jnp server
[NamingService] Started jnpPort=1099, rmiPort=0, Client
SocketFactory=null, Server SocketFactory=null
[NamingService] InitialContext Environment:
[NamingService] key=java.naming.factory.initial,
value=org.jnp.interfaces.NamingContextFactory
[NamingService] key=java.naming.factory.url.pkgs,
value=org.jboss.naming:org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces
[NamingService] Naming started on port 1099
[NamingService] Started
[JNDIView] Starting
[JNDIView] Started
[ExternalContext] Starting
[ExternalContext] Started
[TransactionManagerService] Starting
[TransactionManagerService] Started
[ClientUserTransactionService] Starting
[ClientUserTransactionService] Started
[JaasSecurityManagerService] Starting
[Default] JAAS.startService, cachePolicy=null
[Default] JAAS.startService,
SecurityProxyFactory=org.jboss.security.SubjectSecurityProxyFactory@62cb55
[JaasSecurityManagerService] Started
[JdbcProvider] Starting
[JdbcProvider] Started
[HypersonicDatabase] Starting
[HypersonicDatabase] Database started
[HypersonicDatabase] Started
[XADataSourceLoader] Starting
[InstantDB] XA Connection pool InstantDB bound to
java:/InstantDB
[Default] Enhydra InstantDB - Version 3.26
[Default] 
[Default] The Initial Developer of the Original Code is
Lutris
Technologies Inc.
Portions created by Lutris are Copyright (C) 1997-2001
Lutris
Technologies, Inc.
All Rights Reserved.
[Default] Server 1.4 is running
[Default] Press [Ctrl]+[C] to abort
[XADataSourceLoader] Started
[XADataSourceLoader] Starting
[DefaultDS] XA Connection pool DefaultDS bound to
java:/DefaultDS
[XADataSourceLoader] Started
[ServerDataCollector] Starting
[ServerDataCollector] JBoss Management Service
'servercollector' bound
to servercollector
[ServerDataCollector] Started
[ContainerFactory] Starting
[ContainerFactory] Started
[JBossMQService] Starting
[Default] Port configured to: 2323
[Default] JBossMQ listening on PORT: 2323
[Default] Port configured to: 2324
[Default] JBossMQ listening on PORT: 2324
[Default] Server Version 0.8 Started
[JBossMQService] Started
[JMSProviderLoader] Starting
[JMSProviderLoader] bound adapter DefaultJMSProvider to
java:/DefaultJMSProvider
[JMSProviderLoader] Started
[ServerSessionPoolLoader] Starting
[ServerSessionPoolLoader] JMS provider Adapter
StdJMSPool bound to
java:/StdJMSPool
[ServerSessionPoolLoader] Started
[J2eeDeployer] Starting
[J2EE Deployer Default] No web container found - only
EJB deployment
available...
[J2EE Deployer Default] Cleaning up deployment
directory
[J2eeDeployer] Started
[RARDeployer] Starting
[RARDeployer] Started
[ConnectionManagerFactoryLoader] Starting
[MinervaNoTransCMFactory] Connection manager factory
'MinervaNoTransCMFactory bound to
'java:/MinervaNoTransCMFactory'
[ConnectionManagerFactoryLoader] Started
[ConnectionManagerFactoryLoader] Starting
[MinervaSharedLocalCMFactory] Connection manager
factory
'MinervaSharedLocalCMFactory bound to
'java:/MinervaSharedLocalCMFactory'
[ConnectionManagerFactoryLoader] Started
[ConnectionManagerFactoryLoader] Starting
[MinervaXACMFactory] Connection manager factory
'MinervaXACMFactory
bound to 'java:/MinervaXACMFactory'
[ConnectionManagerFactoryLoader] Started
[ConnectionFactoryLoader] Starting
[ConnectionFactoryLoader] Started
[ConnectionFactoryLoader] Starting
[ConnectionFactoryLoader] Started
[AutoDeployer] Starting
[AutoDeployer] Watching
/export/home/nick/servers/jboss/JBoss-2.4.0BETA/deploy
[AutoDeployer] Watching
/export/home/nick/servers/jboss/JBoss-2.4.0BETA/deploy/lib
[AutoDeployer] Auto deploy of
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/deploy/admin-ejb.jar
[J2EE Deployer Default] Deploy J2EE application:
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/deploy/admin-ejb.jar
[J2EE Deployer Default] Create application
admin-ejb.jar
[J2EE Deployer Default] install module admin-ejb.jar
[Container factory]
Deploying:
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/tmp/deploy/Default/admin-ejb.jar
[Verifier] Verifying
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/tmp/deploy/Default/admin-ejb.jar/ejb1001.jar
[Container factory] Deploying ClientEJB
[Bean Cache] Cache policy scheduler started
[ContainerManagement] Initializing
[ContainerManagement] Initialized
[ContainerManagement] Starting
[ContainerManagement] Started
[Default] Added ClassLoader:
org.jboss.web.WebClassLoader@56860b URL:
http://wotan:8083/WebClassLoader@5670411/
[Container factory] Deployed application:
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/tmp/deploy/Default/admin-ejb.jar
[J2EE Deployer Default] J2EE application:
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/deploy/admin-ejb.jar
is deployed.
[AutoDeployer] Auto deploy of
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/deploy/lib/jbosspool-jdbc.rar
[RARDeployer] Attempting to deploy RAR at
'
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/deploy/lib/jbosspool-jdbc.rar
'
[RARDeployer] Loading Minerva Resource Adapter for JDBC
1/2 drivers
[RARDeployer] Required license terms present. See
deployment descriptor.
[MinervaDS] Not setting config property 'Driver'
[MinervaDS] Not setting config property 'Password'
[MinervaDS] Not setting config property 'UserName'
[MinervaDS] Bound connection factory for resource
adapter 'Minerva JDBC
LocalTransaction ResourceAdapter' to JNDI name
'java:/MinervaDS'
[AutoDeployer] Auto deploy of
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/deploy/lib/jms-ra.rar
[RARDeployer] Attempting to deploy RAR at
'file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/deploy/lib/jms-ra.rar'
[JmsXA] Using default value 'java:DefaultJMSProvider'
for config
property 'JmsProviderAdapterJNDI'
[JmsXA] FINE: Setting LogWriter:
org.jboss.logging.LogWriter@283a13
[JmsXA] Bound connection factory for resource adapter
'JMS Adapter' to
JNDI name 'java:/JmsXA'
[AutoDeployer] Started
[JMXAdaptorService] Starting
[JMXAdaptorService] Started
[RMIConnectorService] Starting
[RMIConnectorService] Started
[MailService] Starting
[MailService] Mail Service 'Mail' bound to java:/Mail
[MailService] Started
[Service Control] Started 28 services
[Default] JBoss 2.4 BETA(Rel_2_4_0_13) Started in
0m:22s



(2)

^C[Default] Shutting down
[Service Control] Stopping 28 MBeans
[MailService] Stopping
[MailService] Mail service 'Mail' removed from JNDI
[MailService] Stopped
[RMIConnectorService] Stopping
[RMIConnectorService] Stopped
[JMXAdaptorService] Stopping
[JMXAdaptorService] Stopped
[AutoDeployer] Stopping
[AutoDeployer] Stopped
[ConnectionFactoryLoader] Stopping
[ConnectionFactoryLoader] Stopped
[ConnectionFactoryLoader] Stopping
[ConnectionFactoryLoader] Stopped
[ConnectionManagerFactoryLoader] Stopping
[MinervaXACMFactory] Connection manager factory
'MinervaXACMFactory'
removed from JNDI
[ConnectionManagerFactoryLoader] Stopped
[ConnectionManagerFactoryLoader] Stopping
[MinervaSharedLocalCMFactory] Connection manager
factory
'MinervaSharedLocalCMFactory' removed from JNDI
[ConnectionManagerFactoryLoader] Stopped
[ConnectionManagerFactoryLoader] Stopping
[MinervaNoTransCMFactory] Connection manager factory
'MinervaNoTransCMFactory' removed from JNDI
[ConnectionManagerFactoryLoader] Stopped
[RARDeployer] Stopping
[RARDeployer] Stopped
[J2eeDeployer] Stopping
[J2EE Deployer Default] Undeploying all applications.
[J2EE Deployer Default] Stopping module admin-ejb.jar
[Container factory]
Undeploying:
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/tmp/deploy/Default/admin-ejb.jar
[ContainerManagement] Stopping
[ContainerManagement] Stopped
[ContainerManagement] Destroying
[ContainerManagement] Destroyed
[ContainerManagement] Destroying
[ContainerManagement] Destroyed
[Container factory] Undeployed application:
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/tmp/deploy/Default/admin-ejb.jar
[J2EE Deployer Default] Destroying application
admin-ejb.jar
[J2EE Deployer Default] Undeployed 1 applications.
[J2eeDeployer] Stopped
[ServerSessionPoolLoader] Stopping
[ServerSessionPoolLoader] JMA Provider Adapter
StdJMSPool removed from
JNDI
[ServerSessionPoolLoader] Stopped
[JMSProviderLoader] Stopping
[JMSProviderLoader] unbound adapter DefaultJMSProvider
from
java:/DefaultJMSProvider
[JMSProviderLoader] Stopped
[JBossMQService] Stopping
[Default] Unregistering 'JMS:service=JMSServer'
[Default] Unregistering
'JMS:service=DistributedJMSServerSetup,type=OIL'
[Default] Unregistering
'JMS:service=DistributedConnectionFactory,type=OIL'
[Default] Unregistering
'JMS:service=DistributedJMSServerSetup,type=UIL'
[Default] Unregistering
'JMS:service=DistributedConnectionFactory,type=UIL'
[Default] Unregistering
'JMS:service=DistributedJMSServerSetup,type=RMI'
[Default] Unregistering
'JMS:service=DistributedConnectionFactory,type=RMI'
[Default] Unregistering
'JMS:service=DistributedJMSServerSetup,type=INVM'
[Default] Unregistering
'JMS:service=DistributedConnectionFactory,type=INVM'
[JBossMQService] Stopped
[ContainerFactory] Stopping
[ContainerFactory] Stopped
[ServerDataCollector] Stopping
[ServerDataCollector] JBoss Management service
'servercollector' removed
from JNDI
[ServerDataCollector] Stopped
[XADataSourceLoader] Stopping
[DefaultDS] XA Connection pool DefaultDS removed from
JNDI
[DefaultDS] XA Connection pool DefaultDS shut down
[XADataSourceLoader] Stopped
[XADataSourceLoader] Stopping
[InstantDB] XA Connection pool InstantDB removed from
JNDI
[Default] Database instantdb is shutting down...
[Default] Database instantdb shutdown complete.
[InstantDB] XA Connection pool InstantDB shut down
[XADataSourceLoader] Stopped
[HypersonicDatabase] Stopping
[HypersonicDatabase] Database closed clean
[HypersonicDatabase] Stopped
[JdbcProvider] Stopping
[JdbcProvider] Stopped
[JaasSecurityManagerService] Stopping
[JaasSecurityManagerService] Stopped
[ClientUserTransactionService] Stopping
[ClientUserTransactionService] Stopped
[TransactionManagerService] Stopping
[TransactionManagerService] Stopped
[ExternalContext] Stopping
[ExternalContext] javax.naming.NameNotFoundException:
client not bound
[ExternalContext]       at
org.jnp.server.NamingServer.getBinding(NamingServer.java:473)
[ExternalContext]       at
org.jnp.server.NamingServer.getBinding(NamingServer.java:481)
[ExternalContext]       at
org.jnp.server.NamingServer.getObject(NamingServer.java:487)
[ExternalContext]       at
org.jnp.server.NamingServer.lookup(NamingServer.java:282)
[ExternalContext]       at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
[ExternalContext]       at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
[ExternalContext]       at
javax.naming.InitialContext.lookup(InitialContext.java:350)
[ExternalContext]       at
org.jboss.naming.ExternalContext.unbind(ExternalContext.java:254)
[ExternalContext]       at
org.jboss.naming.ExternalContext.stopService(ExternalContext.java:168)
[ExternalContext]       at
org.jboss.util.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:137)
[ExternalContext]       at
java.lang.reflect.Method.invoke(Native
Method)
[ExternalContext]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[ExternalContext]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[ExternalContext]       at
org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:831)
[ExternalContext]       at $Proxy0.stop(Unknown Source)
[ExternalContext]       at
org.jboss.util.ServiceControl.stop(ServiceControl.java:107)
[ExternalContext]       at
java.lang.reflect.Method.invoke(Native
Method)
[ExternalContext]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[ExternalContext]       at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[ExternalContext]       at
org.jboss.util.Shutdown.shutdownServices(Shutdown.java:87)
[ExternalContext]       at
org.jboss.util.Shutdown$1.run(Shutdown.java:56)
[ExternalContext] Stopped
[JNDIView] Stopping
[JNDIView] Stopped
[NamingService] Stopping
[NamingService] Stopping
[NamingService] Stopped
[NamingService] JNP server stopped
[NamingService] Stopped
[WebService] Stopping
[WebService] Stopped
[Service Control] Stopped 28 services
[Service Control] Destroying 28 MBeans
[MailService] Destroying
[MailService] Destroyed
[RMIConnectorService] Destroying
[RMIConnectorService] Destroyed
[JMXAdaptorService] Destroying
[JMXAdaptorService] Destroyed
[AutoDeployer] Destroying
[AutoDeployer] Destroyed
[ConnectionFactoryLoader] Destroying
[ConnectionFactoryLoader] Destroyed
[ConnectionFactoryLoader] Destroying
[ConnectionFactoryLoader] Destroyed
[ConnectionManagerFactoryLoader] Destroying
[ConnectionManagerFactoryLoader] Destroyed
[ConnectionManagerFactoryLoader] Destroying
[ConnectionManagerFactoryLoader] Destroyed
[ConnectionManagerFactoryLoader] Destroying
[ConnectionManagerFactoryLoader] Destroyed
[RARDeployer] Destroying
[RARDeployer] Destroyed
[J2eeDeployer] Destroying
[J2eeDeployer] Destroyed
[ServerSessionPoolLoader] Destroying
[ServerSessionPoolLoader] Destroyed
[JMSProviderLoader] Destroying
[JMSProviderLoader] Destroyed
[JBossMQService] Destroying
[JBossMQService] Destroyed
[ContainerFactory] Destroying
[ContainerFactory] Destroyed
[ServerDataCollector] Destroying
[ServerDataCollector] Destroyed
[XADataSourceLoader] Destroying
[XADataSourceLoader] Destroyed
[XADataSourceLoader] Destroying
[XADataSourceLoader] Destroyed
[HypersonicDatabase] Destroying
[HypersonicDatabase] Destroyed
[JdbcProvider] Destroying
[JdbcProvider] Destroyed
[JaasSecurityManagerService] Destroying
[JaasSecurityManagerService] Destroyed
[ClientUserTransactionService] Destroying
[ClientUserTransactionService] Destroyed
[TransactionManagerService] Destroying
[TransactionManagerService] Destroyed
[ExternalContext] Destroying
[ExternalContext] Destroyed
[JNDIView] Destroying
[JNDIView] Destroyed
[NamingService] Destroying
[NamingService] Destroyed
[WebService] Destroying
[WebService] Destroyed
[Service Control] Destroyed 28 services
[Default] Shutdown complete


(3)

The operation [list] was successfully invoked for the
MBean
[DefaultDomain:service=JNDIView].
The operation returned with the value:

Application:
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/tmp/deploy/Default/admin-ejb.jar

java:comp namespace of the ClientEJB bean:

  +- UserTransaction (class:
javax.transaction.UserTransaction)
  +- env (class: org.jnp.interfaces.NamingContext)

java: Namespace

  +- jaas (class: javax.naming.Context)
  |   NonContext: null
  +- InstantDB (class:
org.jboss.pool.jdbc.xa.XAPoolDataSource)
  +- TransactionPropagationContextImporter (class:
org.jboss.tm.TransactionPropagationContextImporter)
  +- JmsXA (class:
org.jboss.jms.ra.JmsConnectionFactoryImpl)
  +- INVMTopicConnectionFactory (class:
org.jbossmq.SpyTopicConnectionFactory)
  +- MinervaSharedLocalCMFactory (class:
org.jboss.pool.connector.jboss.MinervaSharedLocalCMFactory)
  +- DefaultDS (class:
org.jboss.pool.jdbc.xa.XAPoolDataSource)
  +- StdJMSPool (class:
org.jboss.jms.asf.StdServerSessionPoolFactory)
  +- MinervaXACMFactory (class:
org.jboss.pool.connector.jboss.MinervaXACMFactory)
  +- TransactionManager (class: org.jboss.tm.TxManager)
  +- TransactionPropagationContextExporter (class:
org.jboss.tm.TransactionPropagationContextFactory)
  +- INVMXAQueueConnectionFactory (class:
org.jbossmq.SpyXAQueueConnectionFactory)
  +- DefaultJMSProvider (class:
org.jboss.jms.jndi.JBossMQProvider)
  +- INVMXATopicConnectionFactory (class:
org.jbossmq.SpyXATopicConnectionFactory)
  +- Mail (class: javax.mail.Session)
  +- MinervaDS (class:
org.jboss.pool.connector.jdbc.JDBCDataSource)
  +- SecurityProxyFactory (class:
org.jboss.security.SubjectSecurityProxyFactory)
  +- comp (class: javax.naming.Context)
  +- MinervaNoTransCMFactory (class:
org.jboss.pool.connector.jboss.MinervaNoTransCMFactory)
  +- INVMQueueConnectionFactory (class:
org.jbossmq.SpyQueueConnectionFactory)

Global JNDI Namespace

  +- jmx:wotan:rmi (class:
org.jboss.jmx.server.RMIConnectorImpl)
  +- TopicConnectionFactory (class:
org.jbossmq.SpyTopicConnectionFactory)
  +- XAQueueConnectionFactory (class:
org.jbossmq.SpyXAQueueConnectionFactory)
  +- jmx (class: org.jboss.jmx.server.JMXAdaptorImpl)
  +- UILXAQueueConnectionFactory (class:
org.jbossmq.SpyXAQueueConnectionFactory)
  +- RMIXAQueueConnectionFactory (class:
org.jbossmq.SpyXAQueueConnectionFactory)
  +- RMIQueueConnectionFactory (class:
org.jbossmq.SpyQueueConnectionFactory)
  +- client (class: $Proxy2)
  +- XATopicConnectionFactory (class:
org.jbossmq.SpyXATopicConnectionFactory)
  +- UILXATopicConnectionFactory (class:
org.jbossmq.SpyXATopicConnectionFactory)
  +- RMIXATopicConnectionFactory (class:
org.jbossmq.SpyXATopicConnectionFactory)
  +- RMITopicConnectionFactory (class:
org.jbossmq.SpyTopicConnectionFactory)
  +- UserTransactionSessionFactory (class:
org.jboss.tm.usertx.server.UserTransactionSessionFactoryImpl)
  +- invokers (class: org.jnp.interfaces.NamingContext)
  |   +- client (class:
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker)
  +- UserTransaction (class:
org.jboss.tm.usertx.client.ClientUserTransaction)
  +- queue (class: org.jnp.interfaces.NamingContext)
  |   +- A (class: org.jbossmq.SpyQueue)
  |   +- testQueue (class: org.jbossmq.SpyQueue)
  |   +- controlQueue (class: org.jbossmq.SpyQueue)
  |   +- ex (class: org.jbossmq.SpyQueue)
  |   +- E (class: org.jbossmq.SpyQueue)
  |   +- D (class: org.jbossmq.SpyQueue)
  |   +- C (class: org.jbossmq.SpyQueue)
  |   +- B (class: org.jbossmq.SpyQueue)
  +- topic (class: org.jnp.interfaces.NamingContext)
  |   +- example (class: org.jbossmq.SpyTopic)
  |   +- testTopic (class: org.jbossmq.SpyTopic)
  |   +- bob (class: org.jbossmq.SpyTopic)
  +- UILQueueConnectionFactory (class:
org.jbossmq.SpyQueueConnectionFactory)
  +- servercollector (class:
org.jboss.management.ServerDataCollector)
  +- QueueConnectionFactory (class:
org.jbossmq.SpyQueueConnectionFactory)
  +- UILTopicConnectionFactory (class:
org.jbossmq.SpyTopicConnectionFactory)

 Back to MBean View


(4)

<mbean code="org.jboss.naming.ExternalContext"
name="DefaultDomain:service=ExternalContext,jndiName=client"
>
     <attribute name="JndiName">client</attribute>
     <attribute
name="Properties">syntactics_fs.props</attribute>
     <attribute
name="InitialContext">javax.naming.InitialContext</attribute>
 </mbean>


(5)

java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
java.naming.provider.url=file:///export/home/nick/servers/jndi/env

(6)

<ejb-jar>
   <enterprise-beans>
     <session>
       <ejb-name>ClientEJB</ejb-name>
      
<home>com.syntactics.server.admin.share.ClientHome</home>
      
<remote>com.syntactics.server.admin.share.Client</remote>
      
<ejb-class>com.syntactics.server.admin.ejb.ClientEJB</ejb-class>
       <session-type>Stateful</session-type>
       <transaction-type>Bean</transaction-type>
     </session>
   </enterprise-beans>
 </ejb-jar>


(7) 

<jboss>
   <enterprise-beans>
     <session>
       <ejb-name>ClientEJB</ejb-name>
       <jndi-name>client</jndi-name>
     </session>
   </enterprise-beans>
 </jboss>

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


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=442329&group_id=22866

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

Reply via email to