Hi,
I'm trying to display JNDI names using JNDIView, but the listing seems to
be missing names, particularly the datasource names, e.g.
java:/DefaultDS. Can anyone please tell me why these other names don't
show up?
Here's the JNDIView listing, followed by the log from starting JBoss with a
small ejb JAR file deployed:
JNDIView listing:
D:\cvs-root\jboss\jboss\dist\bin>java -jar jndiView.jar jndi.properties -v
InitialContext
+- Person (class: $Proxy0)
+- 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)
+- jmx:9bkwb:rmi (class: org.jboss.jmx.server.RMIConnectorImpl)
+- XATopicConnectionFactory (class: org.jbossmq.SpyXATopicConnectionFactory)
+- UILXATopicConnectionFactory (class:
org.jbossmq.SpyXATopicConnectionFactory)
+- RMIXATopicConnectionFactory (class:
org.jbossmq.SpyXATopicConnectionFactory)
+- RMITopicConnectionFactory (class: org.jbossmq.SpyTopicConnectionFactory)
+- invokers (class: org.jnp.interfaces.NamingContext)
| +- Person (class:
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker)
| +- UIDHighKeyGenerator (class:
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker)
| +- Skill (class: org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker)
+- Skill (class: $Proxy3)
+- 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)
| +- testDurableTopic (class: org.jbossmq.SpyTopic)
| +- example (class: org.jbossmq.SpyTopic)
| +- testTopic (class: org.jbossmq.SpyTopic)
| +- metrics (class: org.jbossmq.SpyTopic)
| +- bob (class: org.jbossmq.SpyTopic)
| +- beancache (class: org.jbossmq.SpyTopic)
+- UILQueueConnectionFactory (class: org.jbossmq.SpyQueueConnectionFactory)
+- UIDHighKeyGenerator (class: $Proxy1)
+- QueueConnectionFactory (class: org.jbossmq.SpyQueueConnectionFactory)
+- UILTopicConnectionFactory (class: org.jbossmq.SpyTopicConnectionFactory)
JBoss startup log:
[Info] Java version: 1.3.0,Sun Microsystems Inc.
[Info] Java VM: Classic VM 1.3.0-C,Sun Microsystems Inc.
[Info] System: Windows NT 4.0,x86
[Shutdown] Shutdown hook added
[Service Control] Registered with server
[Service Control] Initializing 25 MBeans
[CastorJDO] Initializing
[CastorJDO] Initialized
[Webserver] Initializing
[Webserver] Initialized
[Naming] Initializing
[Naming] Initialized
[Transaction manager] Initializing
[Transaction manager] Initialized
[JAAS Security Manager] Initializing
[JAAS Security Manager] Initialized
[Simple Realm Mapping] Initializing
[Simple Realm Mapping] Initialized
[Security manager] Initializing
[Security manager] Initialized
[Transaction manager] Initializing
[Transaction manager] Loaded JDBC-driver:org.hsql.jdbcDriver
[Transaction manager] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver
[Transaction manager] Initialized
[Hypersonic] Initializing
[Hypersonic] Initialized
[InstantDB] Initializing
[InstantDB] Initialized
[DefaultDS] Initializing
[DefaultDS] Initialized
[Container factory] Initializing
[Container factory] Initialized
[JBossMQ] Initializing
[JBossMQ] Initialized
[DefaultJMSProvider] Initializing
[DefaultJMSProvider] Initialized
[StdJMSPool] Initializing
[StdJMSPool] Initialized
[J2EE Deployer Default] Initializing
[J2EE Deployer Default] Initialized
[Auto deploy] Initializing
[Auto deploy] Initialized
[RARDeployer] Initializing
[RARDeployer] Found a temp directory left over from a previous run -
deleting it.
[RARDeployer] Initialized
[ConnectionManagerFactoryLoader] Initializing
[MinervaSharedLocalCMFactory] Initialized
[ConnectionManagerFactoryLoader] Initializing
[MinervaXACMFactory] Initialized
[ConnectionFactoryLoader] Initializing
[BlackBoxDS] Initialized
[JMX RMI Adaptor] Initializing
[JMX RMI Adaptor] Initialized
[JMX RMI Connector] Initializing
[JMX RMI Connector] Initialized
[Mail Service] Initializing
[Mail Service] Initialized
[Service Control] Initialized 25 services
[Service Control] Starting 25 MBeans
[CastorJDO] Starting
[CastorJDO] Started
[Webserver] Starting
[Webserver] Codebase set to http://9bkwb:8083/
[Webserver] Started webserver on port 8083
[Webserver] Started
[Naming] Starting
[Naming] Naming started on port 1099
[Naming] Started
[Transaction manager] Starting
[Transaction manager] Started
[JAAS Security Manager] Starting
[JAAS Security Manager] Started
[Simple Realm Mapping] Starting
[Simple Realm Mapping] Started
[Security manager] Starting
[Security manager] Started
[Transaction manager] Starting
[Transaction manager] Started
[Hypersonic] Starting
[Hypersonic] Server 1.4 is running
[Hypersonic] Database started
[Hypersonic] Started
[InstantDB] Starting
[Hypersonic] Press [Ctrl]+[C] to abort
[InstantDB] XA Connection pool InstantDB bound to java:/InstantDB
Enhydra InstantDB - Version 3.21
[InstantDB] The Initial Developer of the Original Code is Lutris
Technologies Inc.
Portions created by Lutris are Copyright (C) 1997-2000 Lutris Technologies,
Inc.
All Rights Reserved.
[InstantDB] Started
[DefaultDS] Starting
[DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
[DefaultDS] Started
[Container factory] Starting
[Container factory] Started
[JBossMQ] Starting
[JBossMQ] Server Version 0.8 Started
[JBossMQ] Started
[DefaultJMSProvider] Starting
[DefaultJMSProvider] JMS provider Adapter DefaultJMSProvider bound to
java:/DefaultJMSProvider
[DefaultJMSProvider] Started
[StdJMSPool] Starting
[StdJMSPool] JMS provider Adapter StdJMSPool bound to java:/StdJMSPool
[StdJMSPool] Started
[J2EE Deployer Default] Starting
[J2EE Deployer Default] No web container found - only EJB deployment
available...
[J2EE Deployer Default] Cleaning up deployment directory
[J2EE Deployer Default] Started
[Auto deploy] Starting
[Auto deploy] Watching D:\cvs-root\jboss\jboss\dist\deploy
[Auto deploy] Auto deploy of
file:/D:/cvs-root/jboss/jboss/dist/deploy/ejbpeople.jar
[J2EE Deployer Default] Module ejbpeople.jar is not running
[J2EE Deployer Default] Destroying application ejbpeople.jar
[J2EE Deployer Default] Deploy J2EE application:
file:/D:/cvs-root/jboss/jboss/dist/deploy/ejbpeople.jar
[J2EE Deployer Default] Create application ejbpeople.jar
[J2EE Deployer Default] install module ejbpeople.jar
[J2EE Deployer Default] Starting module ejbpeople.jar
[Container factory]
Deploying:file:/D:/cvs-root/jboss/jboss/dist/tmp/deploy/Default/ejbpeople.jar/ejb1001.jar
[Verifier] Verifying
file:/D:/cvs-root/jboss/jboss/dist/tmp/deploy/Default/ejbpeople.jar/ejb1001.jar
[Container factory] Deploying Person
[Container factory] Deploying Skill
[Container factory] Deploying UIDHighKeyGenerator
[JAWS] Table 'Skill' already exists
[Bean Cache] Cache policy scheduler started
[Container factory] Deployed application:
file:/D:/cvs-root/jboss/jboss/dist/tmp/deploy/Default/ejbpeople.jar/ejb1001.jar
[J2EE Deployer Default] J2EE application:
file:/D:/cvs-root/jboss/jboss/dist/deploy/ejbpeople.jar is deployed.
[Auto deploy] Started
[RARDeployer] Starting
[RARDeployer] Started
[MinervaSharedLocalCMFactory] Starting
[MinervaSharedLocalCMFactory] Connection manager factory
'MinervaSharedLocalCMFactory bound to 'java:/MinervaSharedLocalCMFactory'
[MinervaSharedLocalCMFactory] Started
[MinervaXACMFactory] Starting
[MinervaXACMFactory] Connection manager factory 'MinervaXACMFactory bound
to 'java:/MinervaXACMFactory'
[MinervaXACMFactory] Started
[BlackBoxDS] Starting
[BlackBoxDS] Started
[JMX RMI Adaptor] Starting
[JMX RMI Adaptor] Started
[JMX RMI Connector] Starting
[JMX RMI Connector] Started
[Mail Service] Starting
[Mail Service] DEBUG: not loading system providers in <java.home>/lib
[Mail Service] DEBUG: not loading optional custom providers file:
/META-INF/javamail.providers
[Mail Service] DEBUG: successfully loaded default providers
[Mail Service]
DEBUG: Tables of loaded providers
[Mail Service] DEBUG: Providers Listed By Class Name:
{com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc],
com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun
Microsystems, Inc],
com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
Microsystems, Inc]}
[Mail Service] DEBUG: Providers Listed By Protocol:
{imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun
Microsystems, Inc],
pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
Microsystems, Inc],
smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc]}
[Mail Service] DEBUG: not loading optional address map file:
/META-INF/javamail.address.map
[Mail Service] Mail Service 'Mail' bound to java:/Mail
[Mail Service] Started
[Service Control] Started 25 services
[Default] JBoss PRE-2.1 Started in 0m:46s
Thanks very much for any help anyone can provide.
Rick Horowitz
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]