Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    NullPointerException accessing DataSource via JNDI

    Hello, I'm using the SmartGWT Pro trial, and can't seem to get the admin console to recognize my ORACLE database via JNDI. I receive a NullPointerException, but I'm not sure why, as there isn't any information provided in the message explaining it - here is the log snippet:

    Code:
    2010-08-05 12:13:38,913 INFO  [STDOUT] === 2010-08-05 12:13:38,913 [80-3] DEBUG BuiltinRPC - Testing DB connection for database: testDB with config: {
        "driver.context":"_container_",
        "driver.serverName":"localhost",
        "interface.credentialsInURL":true,
        "driver.driverType":"thin",
        "driver.networkProtocol":"tcp",
        "driver.portNumber":"1521",
        useURL:false,
        driver:null,
        "driver.url":null,
        driverName:null,
        "database.type":"oracle",
        autoJoinTransactions:true,
        "interface.type":"jndi",
        name:"testDB",
        dbName:"testDS"
    }
    2010-08-05 12:13:38,955 INFO  [STDOUT] === 2010-08-05 12:13:38,955 [80-3] DEBUG PoolableSQLConnectionFactory - Initializing SQL config for 'testDS' via JNDI
    2010-08-05 12:13:38,958 INFO  [STDOUT] === 2010-08-05 12:13:38,958 [80-3] DEBUG JNDI - No configuration for JNDI context _container_ - assuming default initialContext
    2010-08-05 12:13:38,961 INFO  [STDOUT] === 2010-08-05 12:13:38,961 [80-3] DEBUG JNDI - Detected container context, using new InitialContext(env) lookup method
    2010-08-05 12:13:38,964 INFO  [STDOUT] === 2010-08-05 12:13:38,964 [80-3] INFO  BuiltinRPC - testDB (testDB) error: java.lang.NullPointerException
    2010-08-05 12:13:38,967 INFO  [STDOUT] === 2010-08-05 12:13:38,967 [80-3] DEBUG RPCDMI - rpc returned RPCResponse
    2010-08-05 12:13:38,970 INFO  [STDOUT] === 2010-08-05 12:13:38,970 [80-3] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
    I'm running JBoss 4.2.3.GA with SmartGWTEE 2.3, and I'm using the GWT 2.0.4 compiler.

    Here's my datasource:

    Code:
    <DataSource ID="testDataSource" serverType="sql" dbName="testDS" tableName="EMPLOYEES">
        <fields>
            <field name="EMPLOYEE_ID" primaryKey="true"/>
            <field name="EMPLOYEE_NAME" />
        </fields>
    </DataSource>
    Here's the resource configuration in jboss-web.xml:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 4.2//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">
    <jboss-web>
        <resource-ref>
            <res-ref-name>testDS</res-ref-name>
            <jndi-name>java:/testDS</jndi-name>
        </resource-ref>
    </jboss-web>
    And finally my web.xml:

    Code:
    <resource-ref>
        <res-ref-name>testDS</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
    </resource-ref>
    Samples using the built-in HSQLDB datasource work fine, and I can access this datasource via JNDI in servlet code without any problems (of course, being a resource-ref, I need to use java:comp/env/ in code):

    Code:
    try
    {
        InitialContext context = new InitialContext();
        System.out.println("Context: " + context.lookup("java:comp/env/testDS"));
    }
    catch (Exception ex)
    {
        System.out.println(ex);
    }
    
    2010-08-05 12:32:48,097 INFO  [STDOUT] Context: org.jboss.resource.adapter.jdbc.WrapperDataSource@35c41b
    I've tried many combinations of the JNDI name, include with/without 'java:', with/without 'comp/env', etc. Any idea what I'm doing wrong here? And this might sound dumb, but do I even need to use resource-refs? I can access JNDI resources in my servlets with or without mapping them like this.

    Is it possible I need to specify some configuration in server.properties to set up the JNDI context? (I haven't yet found the documentation for the available configuration parameters in server.properties.)

    Your assistance is appreciated. Thanks!

    #2
    When you save in the Admin Console, it writes to server.properties, and you can download the file to see a sample set of JNDI settings based on what you entered.

    If it's unclear what name to use (application servers differ in various capricious ways here), try instead opening the SQL DataSource Wizard in Visual Builder. In the database dropdown, it will show you all the available JNDI connections that were detected. If you can see your JNDI connection there, use that exact text with the Admin Console or directly in server.properties.

    Comment


      #3
      Thanks for the quick response!

      I've tried saving in the admin console, and it appears to save the settings. After examining the updated server.properties file, I indeed see the following has appended:

      Code:
      sql.Oracle.driver.networkProtocol: tcp
      sql.Oracle.driver.user: system
      sql.Oracle.driver.portNumber: 1521
      sql.Oracle.interface.type: jndi
      sql.Oracle.pool.enabled: false
      sql.Oracle.database.type: oracle
      sql.Oracle.driver.password: manager
      sql.Oracle.database.supportsSQLLimit: false
      sql.Oracle.driver.context: _container_
      sql.Oracle.driver.serverName: localhost
      sql.Oracle.driver.driverType: thin
      sql.Oracle.autoJoinTransactions: true
      sql.Oracle.driver: oracle.jdbc.pool.OracleDataSource
      sql.Oracle.driver.databaseName: default
      sql.Oracle.interface.credentialsInURL: true
      Unfortunately, the specified JNDI (testDS) name is not in there, even though I pressed 'Save' and it popped up a dialog saying the changes were saved. There are no JNDI settings anywhere else in the file.

      I've opened the DataSource Wizard, and the database drop-down is empty.

      I've tried switching to the showcase.war - exploding it into my JBoss deployment directory and stripping out any JARs already provided by the container, as well as adding jboss-web.xml and updating web.xml with the resource-ref I'm trying to use (I also copied my .ds.xml file into the ds/ directory). This was in hopes that I could isolate any mistakes in my own project files, but I get the exact same results, except that the database drop-down in the DataSource Wizard of the showcase has HSQLDB in there.

      Any idea on what I can look at next? I'm trying to build an argument for my company to purchase several licenses of SmartGWT Enterprise. I love SmartGWT/SmartClient, but I just want to avoid the mess that is GWT-RPC with a GenericGwtRpcDataSource for every datasource, that connects to a Spring MVC Dispatcher which routes to a Gilead RPC service exporter that wraps the DAOs so that we can attach/detach JPA entities in transit. Haha, my head hurts just thinking about setting something like that up again. :)
      Last edited by Crogdor; 5 Aug 2010, 13:31.

      Comment


        #4
        Those saved settings lack "testDS" anywhere - did you omit that for some reason? If you'd entered a JNDI name in the Admin Console, you should see a setting like:

        Code:
        sql.Oracle.driver.name: testDS
        .. being saved.

        Regardless, the fact that you're not seeing any JNDI names in the DataSource Wizard is very suspect. This strongly suggests the JNDI DataSource is not available in the web application where you are running SmartGWT.

        You mentioned successfully getting to the JNDI DataSource with servlet code - where exactly did you put this code and how did you run it? Is it possible you're configuring various things in JBoss but still launching SmartGWT inside the default Eclipse Jetty server?

        Or if you are definitely running it inside of the same web application where, is it placed differently, eg, perhaps the isomorphic_sql.jar etc files are in WEB-INF/lib, whereas your servlet code is on the system classpath or similar?

        Finally, you can enable some additional diagnostics - in log4j.config.xml, set com.isomorphic.sql.SQLConnectionManager to DEBUG. As you bring up the SQL DataSource Wizard, you should see a bunch of logs about "Autodetecting datasources at JDNI root..."

        Comment


          #5
          I've just double-checked it, and there is no 'sql.Oracle.driver.name: testDS' setting or anything like it in the downloaded server.properties file.

          As for the servlet code where I was able to access the JNDI DataSource, that servlet code is in the same project - I've just added some additional <servlet> descriptors in the web.xml alongside the SmartGWT servlets (IDACall, etc) and pointed it at my trivial servlet (code previously posted). I'm definitely running in JBoss, and not Jetty or any other container. I've also added the debug logging you mentioned, but don't see any additional details.

          The important thing you mention is where the various JARs are located, which is a place I may have indeed gone wrong due to the complex nature of classloading in JBoss. Since I'm running in a JBoss container, I have to pull out any JARs that the container provides or I (of course) run the risk of collisions. I'm using Maven to build my project, and solve the class collision problem by creating two Maven modules that describe the dependency structure clearly for both isomorphic, and isomorphic when running in JBoss:

          * The first module, named 'isomorphic', contains all the SmartGWTEE dependencies - isomorphic_*.jar, smartgwtee.jar, smartgwt.jar, and their dependencies. (I used the 'JavaModuleDependencies' documentation on your site to determine my list of dependencies.)
          * The second module, named 'isomorphic-jboss4', includes the 'isomorphic' module as a dependency, and then proceeds to exclude all the JARs already contained in JBoss.

          My project then simply includes the isomorphic-jboss4 artifact as a dependency, which produces a clean build for JBoss 4. So getting to the point, it's definitely possible that there's some kind of classloader issue with resource lookups here, but after having looked over the deployed libraries for the webapp several times, it definitely looks correct. That doesn't preclude any possible issues with the servlet JARs being located in a parent classloader of the webapp - I'm not actually sure how that would cause a problem, to be honest, since the classes are still available via the parent classloader. What are your thoughts?

          As a side-note, I've successfully set up my DataSource by using the DriverManager instead of JNDI, and specifying the full connection URL (we use LDAP for looking up ORACLE connection listeners) along with specifying the credentials explicitly. This will get me going, but I don't intend to take focus away from JNDI - we will need JNDI working eventually, so that we can maintain our database configuration in one place.

          I'd love to dig into this more. Is there anything else you can think of to try and identify why JNDI DataSources aren't visible? For what it's worth, here is the debug code from the feature that looks for JNDI datasources - we can see it's finding a lot of stuff in the JBoss JNDI, but not the datasource:

          Code:
          2010-08-05 16:46:26,279 INFO  [STDOUT] === 2010-08-05 16:46:26,279 [80-3] INFO  SQLConnectionManager - Autodetecting datasources at JNDI root: __root__
          2010-08-05 16:46:26,284 INFO  [STDOUT] === 2010-08-05 16:46:26,284 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: --><--
          2010-08-05 16:46:26,288 INFO  [STDOUT] === 2010-08-05 16:46:26,288 [80-3] INFO  JNDI - Listing:
          2010-08-05 16:46:26,292 INFO  [STDOUT] === 2010-08-05 16:46:26,291 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: TopicConnectionFactory
          2010-08-05 16:46:26,296 INFO  [STDOUT] === 2010-08-05 16:46:26,296 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: jmx
          2010-08-05 16:46:26,301 INFO  [STDOUT] === 2010-08-05 16:46:26,301 [80-3] DEBUG JNDI - recursing into:  -> jmx
          2010-08-05 16:46:26,308 INFO  [STDOUT] === 2010-08-05 16:46:26,308 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx<--
          2010-08-05 16:46:26,311 INFO  [STDOUT] === 2010-08-05 16:46:26,311 [80-3] INFO  JNDI - Listing: jmx
          2010-08-05 16:46:26,315 INFO  [STDOUT] === 2010-08-05 16:46:26,315 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: invoker
          2010-08-05 16:46:26,321 INFO  [STDOUT] === 2010-08-05 16:46:26,321 [80-3] DEBUG JNDI - recursing into: jmx -> invoker
          2010-08-05 16:46:26,324 INFO  [STDOUT] === 2010-08-05 16:46:26,324 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/invoker<--
          2010-08-05 16:46:26,327 INFO  [STDOUT] === 2010-08-05 16:46:26,327 [80-3] INFO  JNDI - Listing: jmx/invoker
          2010-08-05 16:46:26,331 INFO  [STDOUT] === 2010-08-05 16:46:26,331 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy48, name: RMIAdaptor
          2010-08-05 16:46:26,338 INFO  [STDOUT] === 2010-08-05 16:46:26,338 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: rmi
          2010-08-05 16:46:26,342 INFO  [STDOUT] === 2010-08-05 16:46:26,342 [80-3] DEBUG JNDI - recursing into: jmx -> rmi
          2010-08-05 16:46:26,345 INFO  [STDOUT] === 2010-08-05 16:46:26,345 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/rmi<--
          2010-08-05 16:46:26,350 INFO  [STDOUT] === 2010-08-05 16:46:26,350 [80-3] INFO  JNDI - Listing: jmx/rmi
          2010-08-05 16:46:26,354 INFO  [STDOUT] === 2010-08-05 16:46:26,354 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: RMIAdaptor
          2010-08-05 16:46:26,358 INFO  [STDOUT] === 2010-08-05 16:46:26,358 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: HTTPXAConnectionFactory
          2010-08-05 16:46:26,364 INFO  [STDOUT] === 2010-08-05 16:46:26,364 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: ConnectionFactory
          2010-08-05 16:46:26,370 INFO  [STDOUT] === 2010-08-05 16:46:26,370 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy15, name: UserTransactionSessionFactory
          2010-08-05 16:46:26,372 INFO  [STDOUT] === 2010-08-05 16:46:26,372 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: HTTPConnectionFactory
          2010-08-05 16:46:26,376 INFO  [STDOUT] === 2010-08-05 16:46:26,376 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: XAConnectionFactory
          2010-08-05 16:46:26,380 INFO  [STDOUT] === 2010-08-05 16:46:26,380 [80-3] DEBUG JNDI - got NameClassPair with name:com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple, name: TransactionSynchr
          onizationRegistry
          2010-08-05 16:46:26,387 INFO  [STDOUT] === 2010-08-05 16:46:26,387 [80-3] DEBUG JNDI - Unable to lookup name: TransactionSynchronizationRegistry
          2010-08-05 16:46:26,395 INFO  [STDOUT] === 2010-08-05 16:46:26,395 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.tm.usertx.client.ClientUserTransaction, name: UserTransaction
          2010-08-05 16:46:26,399 INFO  [STDOUT] === 2010-08-05 16:46:26,399 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILXAConnectionFactory
          2010-08-05 16:46:26,403 INFO  [STDOUT] === 2010-08-05 16:46:26,403 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2XAConnectionFactory
          2010-08-05 16:46:26,407 INFO  [STDOUT] === 2010-08-05 16:46:26,407 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: queue
          2010-08-05 16:46:26,410 INFO  [STDOUT] === 2010-08-05 16:46:26,410 [80-3] DEBUG JNDI - recursing into:  -> queue
          2010-08-05 16:46:26,412 INFO  [STDOUT] === 2010-08-05 16:46:26,412 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->queue<--
          2010-08-05 16:46:26,417 INFO  [STDOUT] === 2010-08-05 16:46:26,417 [80-3] INFO  JNDI - Listing: queue
          2010-08-05 16:46:26,420 INFO  [STDOUT] === 2010-08-05 16:46:26,420 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: A
          2010-08-05 16:46:26,423 INFO  [STDOUT] === 2010-08-05 16:46:26,423 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: ex
          2010-08-05 16:46:26,426 INFO  [STDOUT] === 2010-08-05 16:46:26,426 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: testQueue1
          2010-08-05 16:46:26,429 INFO  [STDOUT] === 2010-08-05 16:46:26,429 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: DLQ
          2010-08-05 16:46:26,433 INFO  [STDOUT] === 2010-08-05 16:46:26,433 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: D
          2010-08-05 16:46:26,436 INFO  [STDOUT] === 2010-08-05 16:46:26,436 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: C
          2010-08-05 16:46:26,438 INFO  [STDOUT] === 2010-08-05 16:46:26,438 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: B
          2010-08-05 16:46:26,442 INFO  [STDOUT] === 2010-08-05 16:46:26,442 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: topic
          2010-08-05 16:46:26,445 INFO  [STDOUT] === 2010-08-05 16:46:26,445 [80-3] DEBUG JNDI - recursing into:  -> topic
          2010-08-05 16:46:26,448 INFO  [STDOUT] === 2010-08-05 16:46:26,448 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->topic<--
          2010-08-05 16:46:26,451 INFO  [STDOUT] === 2010-08-05 16:46:26,451 [80-3] INFO  JNDI - Listing: topic
          2010-08-05 16:46:26,454 INFO  [STDOUT] === 2010-08-05 16:46:26,454 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testDurableTopic
          2010-08-05 16:46:26,458 INFO  [STDOUT] === 2010-08-05 16:46:26,458 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testTopic
          2010-08-05 16:46:26,461 INFO  [STDOUT] === 2010-08-05 16:46:26,461 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: securedTopic
          2010-08-05 16:46:26,464 INFO  [STDOUT] === 2010-08-05 16:46:26,464 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: console
          2010-08-05 16:46:26,467 INFO  [STDOUT] === 2010-08-05 16:46:26,467 [80-3] DEBUG JNDI - recursing into:  -> console
          2010-08-05 16:46:26,470 INFO  [STDOUT] === 2010-08-05 16:46:26,470 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->console<--
          2010-08-05 16:46:26,474 INFO  [STDOUT] === 2010-08-05 16:46:26,474 [80-3] INFO  JNDI - Listing: console
          2010-08-05 16:46:26,477 INFO  [STDOUT] === 2010-08-05 16:46:26,477 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy49, name: PluginManager
          2010-08-05 16:46:26,480 INFO  [STDOUT] === 2010-08-05 16:46:26,480 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2ConnectionFactory
          2010-08-05 16:46:26,484 INFO  [STDOUT] === 2010-08-05 16:46:26,484 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory, name: HiLoKeyGeneratorFactory
          2010-08-05 16:46:26,487 INFO  [STDOUT] === 2010-08-05 16:46:26,487 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILConnectionFactory
          2010-08-05 16:46:26,491 INFO  [STDOUT] === 2010-08-05 16:46:26,491 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: QueueConnectionFactory
          2010-08-05 16:46:26,494 INFO  [STDOUT] === 2010-08-05 16:46:26,494 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory, name: UUIDKeyGeneratorFactory
          2010-08-05 16:46:26,497 INFO  [STDOUT] === 2010-08-05 16:46:26,497 [80-3] INFO  SQLConnectionManager - Autodetecting datasources at JNDI root: java:comp/env
          2010-08-05 16:46:26,501 INFO  [STDOUT] === 2010-08-05 16:46:26,501 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->java:comp/env<--
          2010-08-05 16:46:26,504 INFO  [STDOUT] === 2010-08-05 16:46:26,504 [80-3] INFO  JNDI - Listing: java:comp/env
          2010-08-05 16:46:26,507 INFO  [STDOUT] === 2010-08-05 16:46:26,507 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: TopicConnectionFactory
          2010-08-05 16:46:26,511 INFO  [STDOUT] === 2010-08-05 16:46:26,511 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: jmx
          2010-08-05 16:46:26,514 INFO  [STDOUT] === 2010-08-05 16:46:26,514 [80-3] DEBUG JNDI - recursing into: java:comp/env -> jmx
          2010-08-05 16:46:26,517 INFO  [STDOUT] === 2010-08-05 16:46:26,517 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx<--
          2010-08-05 16:46:26,520 INFO  [STDOUT] === 2010-08-05 16:46:26,520 [80-3] INFO  JNDI - Listing: jmx
          2010-08-05 16:46:26,523 INFO  [STDOUT] === 2010-08-05 16:46:26,523 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: invoker
          2010-08-05 16:46:26,527 INFO  [STDOUT] === 2010-08-05 16:46:26,527 [80-3] DEBUG JNDI - recursing into: jmx -> invoker
          2010-08-05 16:46:26,530 INFO  [STDOUT] === 2010-08-05 16:46:26,530 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/invoker<--
          2010-08-05 16:46:26,533 INFO  [STDOUT] === 2010-08-05 16:46:26,533 [80-3] INFO  JNDI - Listing: jmx/invoker
          2010-08-05 16:46:26,536 INFO  [STDOUT] === 2010-08-05 16:46:26,536 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy48, name: RMIAdaptor
          2010-08-05 16:46:26,539 INFO  [STDOUT] === 2010-08-05 16:46:26,539 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: rmi
          2010-08-05 16:46:26,542 INFO  [STDOUT] === 2010-08-05 16:46:26,542 [80-3] DEBUG JNDI - recursing into: jmx -> rmi
          2010-08-05 16:46:26,545 INFO  [STDOUT] === 2010-08-05 16:46:26,545 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/rmi<--
          2010-08-05 16:46:26,548 INFO  [STDOUT] === 2010-08-05 16:46:26,548 [80-3] INFO  JNDI - Listing: jmx/rmi
          2010-08-05 16:46:26,551 INFO  [STDOUT] === 2010-08-05 16:46:26,551 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: RMIAdaptor
          2010-08-05 16:46:26,554 INFO  [STDOUT] === 2010-08-05 16:46:26,554 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: HTTPXAConnectionFactory
          2010-08-05 16:46:26,559 INFO  [STDOUT] === 2010-08-05 16:46:26,559 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: ConnectionFactory
          2010-08-05 16:46:26,563 INFO  [STDOUT] === 2010-08-05 16:46:26,562 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy15, name: UserTransactionSessionFactory
          2010-08-05 16:46:26,566 INFO  [STDOUT] === 2010-08-05 16:46:26,566 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: HTTPConnectionFactory
          2010-08-05 16:46:26,570 INFO  [STDOUT] === 2010-08-05 16:46:26,570 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: XAConnectionFactory
          2010-08-05 16:46:26,574 INFO  [STDOUT] === 2010-08-05 16:46:26,574 [80-3] DEBUG JNDI - got NameClassPair with name:com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple, name: TransactionSynchr
          onizationRegistry
          2010-08-05 16:46:26,580 INFO  [STDOUT] === 2010-08-05 16:46:26,580 [80-3] DEBUG JNDI - Unable to lookup name: TransactionSynchronizationRegistry
          2010-08-05 16:46:26,586 INFO  [STDOUT] === 2010-08-05 16:46:26,586 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.tm.usertx.client.ClientUserTransaction, name: UserTransaction
          2010-08-05 16:46:26,589 INFO  [STDOUT] === 2010-08-05 16:46:26,589 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILXAConnectionFactory
          2010-08-05 16:46:26,593 INFO  [STDOUT] === 2010-08-05 16:46:26,593 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2XAConnectionFactory
          2010-08-05 16:46:26,597 INFO  [STDOUT] === 2010-08-05 16:46:26,597 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: queue
          2010-08-05 16:46:26,601 INFO  [STDOUT] === 2010-08-05 16:46:26,601 [80-3] DEBUG JNDI - recursing into: java:comp/env -> queue
          2010-08-05 16:46:26,604 INFO  [STDOUT] === 2010-08-05 16:46:26,604 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->queue<--
          2010-08-05 16:46:26,606 INFO  [STDOUT] === 2010-08-05 16:46:26,606 [80-3] INFO  JNDI - Listing: queue
          2010-08-05 16:46:26,609 INFO  [STDOUT] === 2010-08-05 16:46:26,609 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: A
          2010-08-05 16:46:26,612 INFO  [STDOUT] === 2010-08-05 16:46:26,612 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: ex
          2010-08-05 16:46:26,615 INFO  [STDOUT] === 2010-08-05 16:46:26,615 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: testQueue1
          2010-08-05 16:46:26,618 INFO  [STDOUT] === 2010-08-05 16:46:26,618 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: DLQ
          2010-08-05 16:46:26,622 INFO  [STDOUT] === 2010-08-05 16:46:26,622 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: D
          2010-08-05 16:46:26,626 INFO  [STDOUT] === 2010-08-05 16:46:26,626 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: C
          2010-08-05 16:46:26,629 INFO  [STDOUT] === 2010-08-05 16:46:26,629 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: B
          2010-08-05 16:46:26,633 INFO  [STDOUT] === 2010-08-05 16:46:26,633 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: topic
          2010-08-05 16:46:26,636 INFO  [STDOUT] === 2010-08-05 16:46:26,636 [80-3] DEBUG JNDI - recursing into: java:comp/env -> topic
          2010-08-05 16:46:26,639 INFO  [STDOUT] === 2010-08-05 16:46:26,639 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->topic<--
          2010-08-05 16:46:26,642 INFO  [STDOUT] === 2010-08-05 16:46:26,642 [80-3] INFO  JNDI - Listing: topic
          2010-08-05 16:46:26,646 INFO  [STDOUT] === 2010-08-05 16:46:26,646 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testDurableTopic
          2010-08-05 16:46:26,650 INFO  [STDOUT] === 2010-08-05 16:46:26,650 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testTopic
          2010-08-05 16:46:26,656 INFO  [STDOUT] === 2010-08-05 16:46:26,656 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: securedTopic
          2010-08-05 16:46:26,659 INFO  [STDOUT] === 2010-08-05 16:46:26,659 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: console
          2010-08-05 16:46:26,663 INFO  [STDOUT] === 2010-08-05 16:46:26,662 [80-3] DEBUG JNDI - recursing into: java:comp/env -> console
          2010-08-05 16:46:26,665 INFO  [STDOUT] === 2010-08-05 16:46:26,665 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->console<--
          2010-08-05 16:46:26,669 INFO  [STDOUT] === 2010-08-05 16:46:26,668 [80-3] INFO  JNDI - Listing: console
          2010-08-05 16:46:26,672 INFO  [STDOUT] === 2010-08-05 16:46:26,672 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy49, name: PluginManager
          2010-08-05 16:46:26,676 INFO  [STDOUT] === 2010-08-05 16:46:26,676 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2ConnectionFactory
          2010-08-05 16:46:26,680 INFO  [STDOUT] === 2010-08-05 16:46:26,680 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory, name: HiLoKeyGeneratorFactory
          2010-08-05 16:46:26,684 INFO  [STDOUT] === 2010-08-05 16:46:26,684 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILConnectionFactory
          2010-08-05 16:46:26,687 INFO  [STDOUT] === 2010-08-05 16:46:26,687 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: QueueConnectionFactory
          2010-08-05 16:46:26,690 INFO  [STDOUT] === 2010-08-05 16:46:26,690 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory, name: UUIDKeyGeneratorFactory
          I'll keep playing with it in the mean time. Thanks!

          Comment


            #6
            Those logs do make it pretty definitive that the JNDI DataSource is just not available to SmartGWT.

            It's unclear what that set of Maven dependencies adds up to in terms of where files are placed at runtime, but, we'd suggest placing isomorphic_SQL.jar right next to wherever your test servlet .class file ends up.

            Comment


              #7
              The isomorphic_sql.jar is in WEB-INF/lib, and the TestServlet.class is in WEB-INF/classes, so they're definitely in the same scope.

              I just noticed something. When I do a JNDI list from the JBoss JMX console, it has three headings - 'Web Applications', 'java: Namespace', and 'Global JNDI Namespace'. I see my web application listed in the first section, with the datasource listed under it. The debug output shows that it's only searching the global namespace, though. Here's the output of the JNDI list() command in JMX, which you can compare with the previously posted SmartClient log output to see it's searching only in the global namespace:

              Code:
              Web Applications
              
              
              java:comp namespace of the SmartGWTSandbox-0.1.ear/SmartGWTSandbox-web-0.1.war application:
              
              
                +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
                +- env (class: org.jnp.interfaces.NamingContext)
                |   +- security (class: org.jnp.interfaces.NamingContext)
                |   |   +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
                |   |   +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
                |   |   +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
                |   |   +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
                |   +- testDS[link -> java:/DefaultDS] (class: javax.naming.LinkRef)
              
              java:comp namespace of the http-invoker.sar/invoker.war application:
              
              
                +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
                +- env (class: org.jnp.interfaces.NamingContext)
                |   +- security (class: org.jnp.interfaces.NamingContext)
                |   |   +- realmMapping[link -> java:/jaas/jmx-console] (class: javax.naming.LinkRef)
                |   |   +- subject[link -> java:/jaas/jmx-console/subject] (class: javax.naming.LinkRef)
                |   |   +- securityMgr[link -> java:/jaas/jmx-console] (class: javax.naming.LinkRef)
                |   |   +- security-domain[link -> java:/jaas/jmx-console] (class: javax.naming.LinkRef)
              
              java:comp namespace of the jboss-web.deployer/ROOT.war application:
              
              
                +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
                +- env (class: org.jnp.interfaces.NamingContext)
                |   +- security (class: org.jnp.interfaces.NamingContext)
                |   |   +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
                |   |   +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
                |   |   +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
                |   |   +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
              
              java:comp namespace of the jmx-console.war application:
              
              
                +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
                +- env (class: org.jnp.interfaces.NamingContext)
                |   +- security (class: org.jnp.interfaces.NamingContext)
                |   |   +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
                |   |   +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
                |   |   +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
                |   |   +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
              
              java:comp namespace of the jbossmq-httpil.sar/jbossmq-httpil.war application:
              
              
                +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
                +- env (class: org.jnp.interfaces.NamingContext)
                |   +- security (class: org.jnp.interfaces.NamingContext)
                |   |   +- realmMapping[link -> java:/jaas/jbossmq] (class: javax.naming.LinkRef)
                |   |   +- subject[link -> java:/jaas/jbossmq/subject] (class: javax.naming.LinkRef)
                |   |   +- securityMgr[link -> java:/jaas/jbossmq] (class: javax.naming.LinkRef)
                |   |   +- security-domain[link -> java:/jaas/jbossmq] (class: javax.naming.LinkRef)
              
              java:comp namespace of the console-mgr.sar/web-console.war application:
              
              
                +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
                +- env (class: org.jnp.interfaces.NamingContext)
                |   +- security (class: org.jnp.interfaces.NamingContext)
                |   |   +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
                |   |   +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
                |   |   +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
                |   |   +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
              
              java:comp namespace of the jbossws.sar/jbossws-context.war application:
              
              
                +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
                +- env (class: org.jnp.interfaces.NamingContext)
                |   +- security (class: org.jnp.interfaces.NamingContext)
                |   |   +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
                |   |   +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
                |   |   +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
                |   |   +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
              
              java: Namespace
              
              
                +- jaas (class: javax.naming.Context)
                |   +- other (class: org.jboss.security.plugins.SecurityDomainContext)
                |   +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext)
                |   +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext)
                |   +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext)
                +- TransactionPropagationContextImporter (class: com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
                +- comp.ejb3 (class: javax.naming.Context)
                |   NonContext: null
                +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
                +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
                +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory)
                +- TransactionManager (class: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate)
                +- TransactionPropagationContextExporter (class: com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
                +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
                +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)
                +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
                +- Mail (class: javax.mail.Session)
                +- comp.original (class: javax.namingMain.Context)
                +- timedCacheFactory (class: javax.naming.Context)
              Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy
                +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory)
                +- comp (class: javax.naming.Context)
              
              Global JNDI Namespace
              
              
                +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
                +- jmx (class: org.jnp.interfaces.NamingContext)
                |   +- invoker (class: org.jnp.interfaces.NamingContext)
                |   |   +- RMIAdaptor (proxy: $Proxy48 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
                |   +- rmi (class: org.jnp.interfaces.NamingContext)
                |   |   +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef)
                +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
                +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
                +- UserTransactionSessionFactory (proxy: $Proxy15 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
                +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
                +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
                +- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple)
                +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
                +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
                +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)
                +- queue (class: org.jnp.interfaces.NamingContext)
                |   +- A (class: org.jboss.mq.SpyQueue)
                |   +- ex (class: org.jboss.mq.SpyQueue)
                |   +- testQueue1 (class: org.jboss.mq.SpyQueue)
                |   +- DLQ (class: org.jboss.mq.SpyQueue)
                |   +- D (class: org.jboss.mq.SpyQueue)
                |   +- C (class: org.jboss.mq.SpyQueue)
                |   +- B (class: org.jboss.mq.SpyQueue)
                +- topic (class: org.jnp.interfaces.NamingContext)
                |   +- testDurableTopic (class: org.jboss.mq.SpyTopic)
                |   +- testTopic (class: org.jboss.mq.SpyTopic)
                |   +- securedTopic (class: org.jboss.mq.SpyTopic)
                +- console (class: org.jnp.interfaces.NamingContext)
                |   +- PluginManager (proxy: $Proxy49 implements interface org.jboss.console.manager.PluginManagerMBean)
                +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
                +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
                +- UILConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
                +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair)
                +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)

              Comment


                #8
                Actually the SmartGWT logs show that we're looking at __root__ (really "") and java:comp/env.

                Your traversal suggests it is also necessary to try "java:comp". If so, you could enable this by adding this setting to server.properties:

                Code:
                sql.jndi.autoDetectRoots: __root__, java:comp/env, java:comp
                This also suggests that the correct JNDI name for your DataSource is "java:comp/testDS".

                Comment


                  #9
                  I've tried manipulating the autoDetectRoots settings as specified, but no luck - the datasource still isn't found.

                  Oddly, it finds the exact same stuff in JNDI no matter what autoDetectRoots is set to; moreover, it does it for each item in the comma-separated list. So if I put five autoDetectRoots values, it scans the exact same global JNDI entries five times over. Actually, the previously posted SmartClient log data shows it scanning the global JNDI tree twice (once for the root, and once for java:comp/env) - I assume that the default for autoDetectRoots has those two values.
                  Last edited by Crogdor; 6 Aug 2010, 10:18.

                  Comment


                    #10
                    That doesn't agree with the logs you posted earlier. Note there are two logs indicating the start of a scan of a particular JNDI subtree:

                    SQLConnectionManager - Autodetecting datasources at JNDI root: __root__
                    ...
                    SQLConnectionManager - Autodetecting datasources at JNDI root: java:comp/env
                    ...
                    If you've got five entries, you should see five such logs, and scans of five separate subtrees... given that you previously succeeded in having it scan two subtrees, we're guessing some simple mistake like a typo is the problem.

                    Comment


                      #11
                      Actually, hang on. Try putting the entries in order of increasing path length:

                      Code:
                      sql.jndi.autoDetectRoots: __root__, java:comp, java:comp/env
                      Also, did you try "java:comp/testDS" as the JNDI name via the Admin Console? Because your own dump of the JBoss JNDI trees suggest that's the expected name.

                      Comment


                        #12
                        Ahh sorry for the miscommunication. The logs I posted earlier were before I knew about autoDetectRoots, and before I had attempted to manipulate it. The reference to that log was intended to show that it scans the global JNDI tree multiple times.

                        To clarify, here is the example after having modified autoDetectRoots to try five different values:

                        Code:
                        sql.jndi.autoDetectRoots: __root__, java:, java:comp/env, java:comp/env/jdbc, java:comp
                        And the resulting SmartClient log:

                        Code:
                        2010-08-06 11:31:10,335 INFO  [STDOUT] === 2010-08-06 11:31:10,335 [80-3] INFO  SQLConnectionManager - Autodetecting datasources at JNDI root: __root__
                        2010-08-06 11:31:10,342 INFO  [STDOUT] === 2010-08-06 11:31:10,342 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: --><--
                        2010-08-06 11:31:10,344 INFO  [STDOUT] === 2010-08-06 11:31:10,344 [80-3] INFO  JNDI - Listing:
                        2010-08-06 11:31:10,348 INFO  [STDOUT] === 2010-08-06 11:31:10,348 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: TopicConnectionFactory
                        2010-08-06 11:31:10,356 INFO  [STDOUT] === 2010-08-06 11:31:10,356 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: jmx
                        2010-08-06 11:31:10,360 INFO  [STDOUT] === 2010-08-06 11:31:10,360 [80-3] DEBUG JNDI - recursing into:  -> jmx
                        2010-08-06 11:31:10,364 INFO  [STDOUT] === 2010-08-06 11:31:10,364 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx<--
                        2010-08-06 11:31:10,367 INFO  [STDOUT] === 2010-08-06 11:31:10,367 [80-3] INFO  JNDI - Listing: jmx
                        2010-08-06 11:31:10,370 INFO  [STDOUT] === 2010-08-06 11:31:10,370 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: invoker
                        2010-08-06 11:31:10,374 INFO  [STDOUT] === 2010-08-06 11:31:10,374 [80-3] DEBUG JNDI - recursing into: jmx -> invoker
                        2010-08-06 11:31:10,377 INFO  [STDOUT] === 2010-08-06 11:31:10,377 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/invoker<--
                        2010-08-06 11:31:10,381 INFO  [STDOUT] === 2010-08-06 11:31:10,380 [80-3] INFO  JNDI - Listing: jmx/invoker
                        2010-08-06 11:31:10,384 INFO  [STDOUT] === 2010-08-06 11:31:10,384 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy48, name: RMIAdaptor
                        2010-08-06 11:31:10,389 INFO  [STDOUT] === 2010-08-06 11:31:10,388 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: rmi
                        2010-08-06 11:31:10,393 INFO  [STDOUT] === 2010-08-06 11:31:10,393 [80-3] DEBUG JNDI - recursing into: jmx -> rmi
                        2010-08-06 11:31:10,398 INFO  [STDOUT] === 2010-08-06 11:31:10,398 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/rmi<--
                        2010-08-06 11:31:10,406 INFO  [STDOUT] === 2010-08-06 11:31:10,406 [80-3] INFO  JNDI - Listing: jmx/rmi
                        2010-08-06 11:31:10,410 INFO  [STDOUT] === 2010-08-06 11:31:10,410 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: RMIAdaptor
                        2010-08-06 11:31:10,413 INFO  [STDOUT] === 2010-08-06 11:31:10,413 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: HTTPXAConnectionFactory
                        2010-08-06 11:31:10,422 INFO  [STDOUT] === 2010-08-06 11:31:10,422 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: ConnectionFactory
                        2010-08-06 11:31:10,427 INFO  [STDOUT] === 2010-08-06 11:31:10,427 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy15, name: UserTransactionSessionFactory
                        2010-08-06 11:31:10,431 INFO  [STDOUT] === 2010-08-06 11:31:10,431 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: HTTPConnectionFactory
                        2010-08-06 11:31:10,435 INFO  [STDOUT] === 2010-08-06 11:31:10,435 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: XAConnectionFactory
                        2010-08-06 11:31:10,439 INFO  [STDOUT] === 2010-08-06 11:31:10,439 [80-3] DEBUG JNDI - got NameClassPair with name:com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple, name: TransactionSynchr
                        onizationRegistry
                        2010-08-06 11:31:10,446 INFO  [STDOUT] === 2010-08-06 11:31:10,446 [80-3] DEBUG JNDI - Unable to lookup name: TransactionSynchronizationRegistry
                        2010-08-06 11:31:10,461 INFO  [STDOUT] === 2010-08-06 11:31:10,461 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.tm.usertx.client.ClientUserTransaction, name: UserTransaction
                        2010-08-06 11:31:10,466 INFO  [STDOUT] === 2010-08-06 11:31:10,465 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILXAConnectionFactory
                        2010-08-06 11:31:10,469 INFO  [STDOUT] === 2010-08-06 11:31:10,469 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2XAConnectionFactory
                        2010-08-06 11:31:10,473 INFO  [STDOUT] === 2010-08-06 11:31:10,473 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: queue
                        2010-08-06 11:31:10,477 INFO  [STDOUT] === 2010-08-06 11:31:10,477 [80-3] DEBUG JNDI - recursing into:  -> queue
                        2010-08-06 11:31:10,480 INFO  [STDOUT] === 2010-08-06 11:31:10,480 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->queue<--
                        2010-08-06 11:31:10,485 INFO  [STDOUT] === 2010-08-06 11:31:10,484 [80-3] INFO  JNDI - Listing: queue
                        2010-08-06 11:31:10,491 INFO  [STDOUT] === 2010-08-06 11:31:10,491 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: A
                        2010-08-06 11:31:10,496 INFO  [STDOUT] === 2010-08-06 11:31:10,496 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: ex
                        2010-08-06 11:31:10,500 INFO  [STDOUT] === 2010-08-06 11:31:10,500 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: testQueue1
                        2010-08-06 11:31:10,502 INFO  [STDOUT] === 2010-08-06 11:31:10,502 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: DLQ
                        2010-08-06 11:31:10,506 INFO  [STDOUT] === 2010-08-06 11:31:10,506 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: D
                        2010-08-06 11:31:10,509 INFO  [STDOUT] === 2010-08-06 11:31:10,509 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: C
                        2010-08-06 11:31:10,513 INFO  [STDOUT] === 2010-08-06 11:31:10,513 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: B
                        2010-08-06 11:31:10,518 INFO  [STDOUT] === 2010-08-06 11:31:10,518 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: topic
                        2010-08-06 11:31:10,522 INFO  [STDOUT] === 2010-08-06 11:31:10,522 [80-3] DEBUG JNDI - recursing into:  -> topic
                        2010-08-06 11:31:10,525 INFO  [STDOUT] === 2010-08-06 11:31:10,525 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->topic<--
                        2010-08-06 11:31:10,529 INFO  [STDOUT] === 2010-08-06 11:31:10,529 [80-3] INFO  JNDI - Listing: topic
                        2010-08-06 11:31:10,535 INFO  [STDOUT] === 2010-08-06 11:31:10,534 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testDurableTopic
                        2010-08-06 11:31:10,538 INFO  [STDOUT] === 2010-08-06 11:31:10,538 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testTopic
                        2010-08-06 11:31:10,542 INFO  [STDOUT] === 2010-08-06 11:31:10,542 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: securedTopic
                        2010-08-06 11:31:10,545 INFO  [STDOUT] === 2010-08-06 11:31:10,545 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: console
                        2010-08-06 11:31:10,549 INFO  [STDOUT] === 2010-08-06 11:31:10,549 [80-3] DEBUG JNDI - recursing into:  -> console
                        2010-08-06 11:31:10,554 INFO  [STDOUT] === 2010-08-06 11:31:10,554 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->console<--
                        2010-08-06 11:31:10,557 INFO  [STDOUT] === 2010-08-06 11:31:10,557 [80-3] INFO  JNDI - Listing: console
                        2010-08-06 11:31:10,563 INFO  [STDOUT] === 2010-08-06 11:31:10,562 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy49, name: PluginManager
                        2010-08-06 11:31:10,566 INFO  [STDOUT] === 2010-08-06 11:31:10,566 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2ConnectionFactory
                        2010-08-06 11:31:10,570 INFO  [STDOUT] === 2010-08-06 11:31:10,570 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory, name: HiLoKeyGeneratorFactory
                        2010-08-06 11:31:10,574 INFO  [STDOUT] === 2010-08-06 11:31:10,574 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILConnectionFactory
                        2010-08-06 11:31:10,578 INFO  [STDOUT] === 2010-08-06 11:31:10,578 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: QueueConnectionFactory
                        2010-08-06 11:31:10,583 INFO  [STDOUT] === 2010-08-06 11:31:10,583 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory, name: UUIDKeyGeneratorFactory
                        2010-08-06 11:31:10,587 INFO  [STDOUT] === 2010-08-06 11:31:10,587 [80-3] INFO  SQLConnectionManager - Autodetecting datasources at JNDI root: java:
                        2010-08-06 11:31:10,591 INFO  [STDOUT] === 2010-08-06 11:31:10,591 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->java:<--
                        2010-08-06 11:31:10,594 INFO  [STDOUT] === 2010-08-06 11:31:10,594 [80-3] INFO  JNDI - Listing: java:
                        2010-08-06 11:31:10,599 INFO  [STDOUT] === 2010-08-06 11:31:10,598 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: TopicConnectionFactory
                        2010-08-06 11:31:10,602 INFO  [STDOUT] === 2010-08-06 11:31:10,602 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: jmx
                        2010-08-06 11:31:10,606 INFO  [STDOUT] === 2010-08-06 11:31:10,606 [80-3] DEBUG JNDI - recursing into: java: -> jmx
                        2010-08-06 11:31:10,610 INFO  [STDOUT] === 2010-08-06 11:31:10,610 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx<--
                        2010-08-06 11:31:10,613 INFO  [STDOUT] === 2010-08-06 11:31:10,613 [80-3] INFO  JNDI - Listing: jmx
                        2010-08-06 11:31:10,619 INFO  [STDOUT] === 2010-08-06 11:31:10,619 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: invoker
                        2010-08-06 11:31:10,623 INFO  [STDOUT] === 2010-08-06 11:31:10,623 [80-3] DEBUG JNDI - recursing into: jmx -> invoker
                        2010-08-06 11:31:10,627 INFO  [STDOUT] === 2010-08-06 11:31:10,627 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/invoker<--
                        2010-08-06 11:31:10,632 INFO  [STDOUT] === 2010-08-06 11:31:10,632 [80-3] INFO  JNDI - Listing: jmx/invoker
                        2010-08-06 11:31:10,635 INFO  [STDOUT] === 2010-08-06 11:31:10,635 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy48, name: RMIAdaptor
                        2010-08-06 11:31:10,639 INFO  [STDOUT] === 2010-08-06 11:31:10,639 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: rmi
                        2010-08-06 11:31:10,642 INFO  [STDOUT] === 2010-08-06 11:31:10,642 [80-3] DEBUG JNDI - recursing into: jmx -> rmi
                        2010-08-06 11:31:10,646 INFO  [STDOUT] === 2010-08-06 11:31:10,646 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/rmi<--
                        2010-08-06 11:31:10,650 INFO  [STDOUT] === 2010-08-06 11:31:10,650 [80-3] INFO  JNDI - Listing: jmx/rmi
                        2010-08-06 11:31:10,659 INFO  [STDOUT] === 2010-08-06 11:31:10,659 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: RMIAdaptor
                        2010-08-06 11:31:10,664 INFO  [STDOUT] === 2010-08-06 11:31:10,664 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: HTTPXAConnectionFactory
                        2010-08-06 11:31:10,668 INFO  [STDOUT] === 2010-08-06 11:31:10,668 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: ConnectionFactory
                        2010-08-06 11:31:10,672 INFO  [STDOUT] === 2010-08-06 11:31:10,672 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy15, name: UserTransactionSessionFactory
                        2010-08-06 11:31:10,675 INFO  [STDOUT] === 2010-08-06 11:31:10,675 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: HTTPConnectionFactory
                        2010-08-06 11:31:10,679 INFO  [STDOUT] === 2010-08-06 11:31:10,679 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: XAConnectionFactory
                        2010-08-06 11:31:10,685 INFO  [STDOUT] === 2010-08-06 11:31:10,685 [80-3] DEBUG JNDI - got NameClassPair with name:com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple, name: TransactionSynchr
                        onizationRegistry
                        2010-08-06 11:31:10,693 INFO  [STDOUT] === 2010-08-06 11:31:10,693 [80-3] DEBUG JNDI - Unable to lookup name: TransactionSynchronizationRegistry
                        2010-08-06 11:31:10,703 INFO  [STDOUT] === 2010-08-06 11:31:10,703 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.tm.usertx.client.ClientUserTransaction, name: UserTransaction
                        2010-08-06 11:31:10,708 INFO  [STDOUT] === 2010-08-06 11:31:10,708 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILXAConnectionFactory
                        2010-08-06 11:31:10,714 INFO  [STDOUT] === 2010-08-06 11:31:10,714 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2XAConnectionFactory
                        2010-08-06 11:31:10,719 INFO  [STDOUT] === 2010-08-06 11:31:10,719 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: queue
                        2010-08-06 11:31:10,723 INFO  [STDOUT] === 2010-08-06 11:31:10,722 [80-3] DEBUG JNDI - recursing into: java: -> queue
                        2010-08-06 11:31:10,727 INFO  [STDOUT] === 2010-08-06 11:31:10,727 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->queue<--
                        2010-08-06 11:31:10,730 INFO  [STDOUT] === 2010-08-06 11:31:10,730 [80-3] INFO  JNDI - Listing: queue
                        2010-08-06 11:31:10,733 INFO  [STDOUT] === 2010-08-06 11:31:10,733 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: A
                        2010-08-06 11:31:10,736 INFO  [STDOUT] === 2010-08-06 11:31:10,736 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: ex
                        2010-08-06 11:31:10,741 INFO  [STDOUT] === 2010-08-06 11:31:10,741 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: testQueue1
                        2010-08-06 11:31:10,744 INFO  [STDOUT] === 2010-08-06 11:31:10,744 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: DLQ
                        2010-08-06 11:31:10,748 INFO  [STDOUT] === 2010-08-06 11:31:10,747 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: D
                        2010-08-06 11:31:10,750 INFO  [STDOUT] === 2010-08-06 11:31:10,750 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: C
                        2010-08-06 11:31:10,756 INFO  [STDOUT] === 2010-08-06 11:31:10,756 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: B
                        2010-08-06 11:31:10,760 INFO  [STDOUT] === 2010-08-06 11:31:10,760 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: topic
                        2010-08-06 11:31:10,765 INFO  [STDOUT] === 2010-08-06 11:31:10,765 [80-3] DEBUG JNDI - recursing into: java: -> topic
                        2010-08-06 11:31:10,770 INFO  [STDOUT] === 2010-08-06 11:31:10,770 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->topic<--
                        2010-08-06 11:31:10,773 INFO  [STDOUT] === 2010-08-06 11:31:10,773 [80-3] INFO  JNDI - Listing: topic
                        2010-08-06 11:31:10,776 INFO  [STDOUT] === 2010-08-06 11:31:10,776 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testDurableTopic
                        2010-08-06 11:31:10,779 INFO  [STDOUT] === 2010-08-06 11:31:10,779 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testTopic
                        2010-08-06 11:31:10,782 INFO  [STDOUT] === 2010-08-06 11:31:10,782 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: securedTopic
                        2010-08-06 11:31:10,785 INFO  [STDOUT] === 2010-08-06 11:31:10,785 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: console
                        2010-08-06 11:31:10,789 INFO  [STDOUT] === 2010-08-06 11:31:10,789 [80-3] DEBUG JNDI - recursing into: java: -> console
                        2010-08-06 11:31:10,793 INFO  [STDOUT] === 2010-08-06 11:31:10,793 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->console<--
                        2010-08-06 11:31:10,799 INFO  [STDOUT] === 2010-08-06 11:31:10,799 [80-3] INFO  JNDI - Listing: console
                        2010-08-06 11:31:10,803 INFO  [STDOUT] === 2010-08-06 11:31:10,803 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy49, name: PluginManager
                        2010-08-06 11:31:10,809 INFO  [STDOUT] === 2010-08-06 11:31:10,808 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2ConnectionFactory
                        2010-08-06 11:31:10,812 INFO  [STDOUT] === 2010-08-06 11:31:10,812 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory, name: HiLoKeyGeneratorFactory
                        2010-08-06 11:31:10,815 INFO  [STDOUT] === 2010-08-06 11:31:10,815 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILConnectionFactory
                        2010-08-06 11:31:10,819 INFO  [STDOUT] === 2010-08-06 11:31:10,819 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: QueueConnectionFactory
                        2010-08-06 11:31:10,824 INFO  [STDOUT] === 2010-08-06 11:31:10,824 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory, name: UUIDKeyGeneratorFactory
                        2010-08-06 11:31:10,828 INFO  [STDOUT] === 2010-08-06 11:31:10,828 [80-3] INFO  SQLConnectionManager - Autodetecting datasources at JNDI root: java:comp/env
                        2010-08-06 11:31:10,836 INFO  [STDOUT] === 2010-08-06 11:31:10,836 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->java:comp/env<--
                        2010-08-06 11:31:10,840 INFO  [STDOUT] === 2010-08-06 11:31:10,840 [80-3] INFO  JNDI - Listing: java:comp/env
                        2010-08-06 11:31:10,843 INFO  [STDOUT] === 2010-08-06 11:31:10,843 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: TopicConnectionFactory
                        2010-08-06 11:31:10,847 INFO  [STDOUT] === 2010-08-06 11:31:10,847 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: jmx
                        2010-08-06 11:31:10,850 INFO  [STDOUT] === 2010-08-06 11:31:10,850 [80-3] DEBUG JNDI - recursing into: java:comp/env -> jmx
                        2010-08-06 11:31:10,853 INFO  [STDOUT] === 2010-08-06 11:31:10,853 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx<--
                        2010-08-06 11:31:10,860 INFO  [STDOUT] === 2010-08-06 11:31:10,860 [80-3] INFO  JNDI - Listing: jmx
                        2010-08-06 11:31:10,863 INFO  [STDOUT] === 2010-08-06 11:31:10,863 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: invoker
                        2010-08-06 11:31:10,867 INFO  [STDOUT] === 2010-08-06 11:31:10,867 [80-3] DEBUG JNDI - recursing into: jmx -> invoker
                        2010-08-06 11:31:10,870 INFO  [STDOUT] === 2010-08-06 11:31:10,870 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/invoker<--
                        2010-08-06 11:31:10,875 INFO  [STDOUT] === 2010-08-06 11:31:10,875 [80-3] INFO  JNDI - Listing: jmx/invoker
                        2010-08-06 11:31:10,879 INFO  [STDOUT] === 2010-08-06 11:31:10,878 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy48, name: RMIAdaptor
                        2010-08-06 11:31:10,882 INFO  [STDOUT] === 2010-08-06 11:31:10,881 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: rmi
                        2010-08-06 11:31:10,884 INFO  [STDOUT] === 2010-08-06 11:31:10,884 [80-3] DEBUG JNDI - recursing into: jmx -> rmi
                        2010-08-06 11:31:10,889 INFO  [STDOUT] === 2010-08-06 11:31:10,889 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/rmi<--
                        2010-08-06 11:31:10,893 INFO  [STDOUT] === 2010-08-06 11:31:10,893 [80-3] INFO  JNDI - Listing: jmx/rmi
                        2010-08-06 11:31:10,897 INFO  [STDOUT] === 2010-08-06 11:31:10,897 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: RMIAdaptor
                        2010-08-06 11:31:10,902 INFO  [STDOUT] === 2010-08-06 11:31:10,902 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: HTTPXAConnectionFactory
                        2010-08-06 11:31:10,909 INFO  [STDOUT] === 2010-08-06 11:31:10,909 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: ConnectionFactory
                        2010-08-06 11:31:10,913 INFO  [STDOUT] === 2010-08-06 11:31:10,913 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy15, name: UserTransactionSessionFactory
                        2010-08-06 11:31:10,916 INFO  [STDOUT] === 2010-08-06 11:31:10,916 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: HTTPConnectionFactory
                        2010-08-06 11:31:10,919 INFO  [STDOUT] === 2010-08-06 11:31:10,919 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: XAConnectionFactory
                        2010-08-06 11:31:10,925 INFO  [STDOUT] === 2010-08-06 11:31:10,925 [80-3] DEBUG JNDI - got NameClassPair with name:com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple, name: TransactionSynchr
                        onizationRegistry
                        2010-08-06 11:31:10,933 INFO  [STDOUT] === 2010-08-06 11:31:10,933 [80-3] DEBUG JNDI - Unable to lookup name: TransactionSynchronizationRegistry
                        2010-08-06 11:31:10,943 INFO  [STDOUT] === 2010-08-06 11:31:10,943 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.tm.usertx.client.ClientUserTransaction, name: UserTransaction
                        2010-08-06 11:31:10,946 INFO  [STDOUT] === 2010-08-06 11:31:10,946 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILXAConnectionFactory
                        2010-08-06 11:31:10,950 INFO  [STDOUT] === 2010-08-06 11:31:10,950 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2XAConnectionFactory
                        2010-08-06 11:31:10,955 INFO  [STDOUT] === 2010-08-06 11:31:10,955 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: queue
                        2010-08-06 11:31:10,966 INFO  [STDOUT] === 2010-08-06 11:31:10,966 [80-3] DEBUG JNDI - recursing into: java:comp/env -> queue
                        2010-08-06 11:31:10,970 INFO  [STDOUT] === 2010-08-06 11:31:10,970 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->queue<--
                        2010-08-06 11:31:10,973 INFO  [STDOUT] === 2010-08-06 11:31:10,973 [80-3] INFO  JNDI - Listing: queue
                        2010-08-06 11:31:10,976 INFO  [STDOUT] === 2010-08-06 11:31:10,976 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: A
                        2010-08-06 11:31:10,979 INFO  [STDOUT] === 2010-08-06 11:31:10,979 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: ex
                        2010-08-06 11:31:10,982 INFO  [STDOUT] === 2010-08-06 11:31:10,982 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: testQueue1
                        2010-08-06 11:31:10,985 INFO  [STDOUT] === 2010-08-06 11:31:10,985 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: DLQ
                        2010-08-06 11:31:10,989 INFO  [STDOUT] === 2010-08-06 11:31:10,989 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: D
                        2010-08-06 11:31:10,994 INFO  [STDOUT] === 2010-08-06 11:31:10,994 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: C
                        2010-08-06 11:31:10,999 INFO  [STDOUT] === 2010-08-06 11:31:10,999 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: B
                        2010-08-06 11:31:11,005 INFO  [STDOUT] === 2010-08-06 11:31:11,004 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: topic
                        2010-08-06 11:31:11,008 INFO  [STDOUT] === 2010-08-06 11:31:11,008 [80-3] DEBUG JNDI - recursing into: java:comp/env -> topic
                        2010-08-06 11:31:11,011 INFO  [STDOUT] === 2010-08-06 11:31:11,011 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->topic<--
                        2010-08-06 11:31:11,013 INFO  [STDOUT] === 2010-08-06 11:31:11,013 [80-3] INFO  JNDI - Listing: topic
                        2010-08-06 11:31:11,016 INFO  [STDOUT] === 2010-08-06 11:31:11,016 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testDurableTopic
                        2010-08-06 11:31:11,020 INFO  [STDOUT] === 2010-08-06 11:31:11,020 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testTopic
                        2010-08-06 11:31:11,026 INFO  [STDOUT] === 2010-08-06 11:31:11,026 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: securedTopic
                        2010-08-06 11:31:11,029 INFO  [STDOUT] === 2010-08-06 11:31:11,029 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: console
                        2010-08-06 11:31:11,033 INFO  [STDOUT] === 2010-08-06 11:31:11,033 [80-3] DEBUG JNDI - recursing into: java:comp/env -> console
                        2010-08-06 11:31:11,036 INFO  [STDOUT] === 2010-08-06 11:31:11,036 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->console<--
                        2010-08-06 11:31:11,040 INFO  [STDOUT] === 2010-08-06 11:31:11,040 [80-3] INFO  JNDI - Listing: console
                        2010-08-06 11:31:11,044 INFO  [STDOUT] === 2010-08-06 11:31:11,044 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy49, name: PluginManager
                        2010-08-06 11:31:11,047 INFO  [STDOUT] === 2010-08-06 11:31:11,047 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2ConnectionFactory
                        2010-08-06 11:31:11,051 INFO  [STDOUT] === 2010-08-06 11:31:11,051 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory, name: HiLoKeyGeneratorFactory
                        2010-08-06 11:31:11,055 INFO  [STDOUT] === 2010-08-06 11:31:11,055 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILConnectionFactory
                        2010-08-06 11:31:11,061 INFO  [STDOUT] === 2010-08-06 11:31:11,061 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: QueueConnectionFactory
                        2010-08-06 11:31:11,067 INFO  [STDOUT] === 2010-08-06 11:31:11,067 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory, name: UUIDKeyGeneratorFactory
                        2010-08-06 11:31:11,076 INFO  [STDOUT] === 2010-08-06 11:31:11,076 [80-3] INFO  SQLConnectionManager - Autodetecting datasources at JNDI root: java:comp/env/jdbc
                        2010-08-06 11:31:11,080 INFO  [STDOUT] === 2010-08-06 11:31:11,080 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->java:comp/env/jdbc<--
                        2010-08-06 11:31:11,083 INFO  [STDOUT] === 2010-08-06 11:31:11,083 [80-3] INFO  JNDI - Listing: java:comp/env/jdbc
                        2010-08-06 11:31:11,086 INFO  [STDOUT] === 2010-08-06 11:31:11,086 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: TopicConnectionFactory
                        2010-08-06 11:31:11,092 INFO  [STDOUT] === 2010-08-06 11:31:11,091 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: jmx
                        2010-08-06 11:31:11,096 INFO  [STDOUT] === 2010-08-06 11:31:11,096 [80-3] DEBUG JNDI - recursing into: java:comp/env/jdbc -> jmx
                        2010-08-06 11:31:11,101 INFO  [STDOUT] === 2010-08-06 11:31:11,101 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx<--
                        2010-08-06 11:31:11,107 INFO  [STDOUT] === 2010-08-06 11:31:11,107 [80-3] INFO  JNDI - Listing: jmx
                        2010-08-06 11:31:11,110 INFO  [STDOUT] === 2010-08-06 11:31:11,110 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: invoker
                        2010-08-06 11:31:11,113 INFO  [STDOUT] === 2010-08-06 11:31:11,113 [80-3] DEBUG JNDI - recursing into: jmx -> invoker
                        2010-08-06 11:31:11,116 INFO  [STDOUT] === 2010-08-06 11:31:11,116 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/invoker<--
                        2010-08-06 11:31:11,119 INFO  [STDOUT] === 2010-08-06 11:31:11,119 [80-3] INFO  JNDI - Listing: jmx/invoker
                        2010-08-06 11:31:11,124 INFO  [STDOUT] === 2010-08-06 11:31:11,124 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy48, name: RMIAdaptor
                        2010-08-06 11:31:11,129 INFO  [STDOUT] === 2010-08-06 11:31:11,129 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: rmi
                        2010-08-06 11:31:11,132 INFO  [STDOUT] === 2010-08-06 11:31:11,132 [80-3] DEBUG JNDI - recursing into: jmx -> rmi
                        2010-08-06 11:31:11,135 INFO  [STDOUT] === 2010-08-06 11:31:11,134 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/rmi<--
                        2010-08-06 11:31:11,138 INFO  [STDOUT] === 2010-08-06 11:31:11,138 [80-3] INFO  JNDI - Listing: jmx/rmi
                        2010-08-06 11:31:11,142 INFO  [STDOUT] === 2010-08-06 11:31:11,142 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: RMIAdaptor
                        2010-08-06 11:31:11,145 INFO  [STDOUT] === 2010-08-06 11:31:11,145 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: HTTPXAConnectionFactory
                        2010-08-06 11:31:11,149 INFO  [STDOUT] === 2010-08-06 11:31:11,149 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: ConnectionFactory
                        2010-08-06 11:31:11,153 INFO  [STDOUT] === 2010-08-06 11:31:11,153 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy15, name: UserTransactionSessionFactory
                        2010-08-06 11:31:11,157 INFO  [STDOUT] === 2010-08-06 11:31:11,157 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: HTTPConnectionFactory
                        2010-08-06 11:31:11,162 INFO  [STDOUT] === 2010-08-06 11:31:11,162 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: XAConnectionFactory
                        2010-08-06 11:31:11,168 INFO  [STDOUT] === 2010-08-06 11:31:11,168 [80-3] DEBUG JNDI - got NameClassPair with name:com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple, name: TransactionSynchr
                        onizationRegistry
                        2010-08-06 11:31:11,176 INFO  [STDOUT] === 2010-08-06 11:31:11,176 [80-3] DEBUG JNDI - Unable to lookup name: TransactionSynchronizationRegistry
                        2010-08-06 11:31:11,183 INFO  [STDOUT] === 2010-08-06 11:31:11,183 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.tm.usertx.client.ClientUserTransaction, name: UserTransaction
                        2010-08-06 11:31:11,186 INFO  [STDOUT] === 2010-08-06 11:31:11,185 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILXAConnectionFactory
                        2010-08-06 11:31:11,191 INFO  [STDOUT] === 2010-08-06 11:31:11,191 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2XAConnectionFactory
                        2010-08-06 11:31:11,196 INFO  [STDOUT] === 2010-08-06 11:31:11,196 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: queue
                        2010-08-06 11:31:11,202 INFO  [STDOUT] === 2010-08-06 11:31:11,202 [80-3] DEBUG JNDI - recursing into: java:comp/env/jdbc -> queue
                        2010-08-06 11:31:11,206 INFO  [STDOUT] === 2010-08-06 11:31:11,206 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->queue<--
                        2010-08-06 11:31:11,209 INFO  [STDOUT] === 2010-08-06 11:31:11,209 [80-3] INFO  JNDI - Listing: queue
                        2010-08-06 11:31:11,213 INFO  [STDOUT] === 2010-08-06 11:31:11,213 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: A
                        2010-08-06 11:31:11,216 INFO  [STDOUT] === 2010-08-06 11:31:11,216 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: ex
                        2010-08-06 11:31:11,219 INFO  [STDOUT] === 2010-08-06 11:31:11,218 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: testQueue1
                        2010-08-06 11:31:11,223 INFO  [STDOUT] === 2010-08-06 11:31:11,223 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: DLQ
                        2010-08-06 11:31:11,228 INFO  [STDOUT] === 2010-08-06 11:31:11,228 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: D
                        2010-08-06 11:31:11,234 INFO  [STDOUT] === 2010-08-06 11:31:11,233 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: C
                        2010-08-06 11:31:11,238 INFO  [STDOUT] === 2010-08-06 11:31:11,238 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: B
                        2010-08-06 11:31:11,241 INFO  [STDOUT] === 2010-08-06 11:31:11,241 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: topic
                        2010-08-06 11:31:11,244 INFO  [STDOUT] === 2010-08-06 11:31:11,244 [80-3] DEBUG JNDI - recursing into: java:comp/env/jdbc -> topic
                        2010-08-06 11:31:11,247 INFO  [STDOUT] === 2010-08-06 11:31:11,247 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->topic<--
                        2010-08-06 11:31:11,250 INFO  [STDOUT] === 2010-08-06 11:31:11,250 [80-3] INFO  JNDI - Listing: topic
                        2010-08-06 11:31:11,253 INFO  [STDOUT] === 2010-08-06 11:31:11,253 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testDurableTopic
                        2010-08-06 11:31:11,258 INFO  [STDOUT] === 2010-08-06 11:31:11,257 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testTopic
                        2010-08-06 11:31:11,262 INFO  [STDOUT] === 2010-08-06 11:31:11,262 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: securedTopic
                        2010-08-06 11:31:11,265 INFO  [STDOUT] === 2010-08-06 11:31:11,265 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: console
                        2010-08-06 11:31:11,268 INFO  [STDOUT] === 2010-08-06 11:31:11,268 [80-3] DEBUG JNDI - recursing into: java:comp/env/jdbc -> console
                        2010-08-06 11:31:11,271 INFO  [STDOUT] === 2010-08-06 11:31:11,271 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->console<--
                        2010-08-06 11:31:11,275 INFO  [STDOUT] === 2010-08-06 11:31:11,274 [80-3] INFO  JNDI - Listing: console
                        2010-08-06 11:31:11,278 INFO  [STDOUT] === 2010-08-06 11:31:11,278 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy49, name: PluginManager
                        2010-08-06 11:31:11,281 INFO  [STDOUT] === 2010-08-06 11:31:11,281 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2ConnectionFactory
                        2010-08-06 11:31:11,285 INFO  [STDOUT] === 2010-08-06 11:31:11,285 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory, name: HiLoKeyGeneratorFactory
                        2010-08-06 11:31:11,289 INFO  [STDOUT] === 2010-08-06 11:31:11,289 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILConnectionFactory
                        2010-08-06 11:31:11,294 INFO  [STDOUT] === 2010-08-06 11:31:11,293 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: QueueConnectionFactory
                        2010-08-06 11:31:11,298 INFO  [STDOUT] === 2010-08-06 11:31:11,298 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory, name: UUIDKeyGeneratorFactory
                        2010-08-06 11:31:11,303 INFO  [STDOUT] === 2010-08-06 11:31:11,303 [80-3] INFO  SQLConnectionManager - Autodetecting datasources at JNDI root: java:comp
                        2010-08-06 11:31:11,308 INFO  [STDOUT] === 2010-08-06 11:31:11,308 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->java:comp<--
                        2010-08-06 11:31:11,311 INFO  [STDOUT] === 2010-08-06 11:31:11,311 [80-3] INFO  JNDI - Listing: java:comp
                        2010-08-06 11:31:11,314 INFO  [STDOUT] === 2010-08-06 11:31:11,313 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: TopicConnectionFactory
                        2010-08-06 11:31:11,317 INFO  [STDOUT] === 2010-08-06 11:31:11,317 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: jmx
                        2010-08-06 11:31:11,320 INFO  [STDOUT] === 2010-08-06 11:31:11,320 [80-3] DEBUG JNDI - recursing into: java:comp -> jmx
                        2010-08-06 11:31:11,326 INFO  [STDOUT] === 2010-08-06 11:31:11,326 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx<--
                        2010-08-06 11:31:11,329 INFO  [STDOUT] === 2010-08-06 11:31:11,329 [80-3] INFO  JNDI - Listing: jmx
                        2010-08-06 11:31:11,332 INFO  [STDOUT] === 2010-08-06 11:31:11,332 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: invoker
                        2010-08-06 11:31:11,334 INFO  [STDOUT] === 2010-08-06 11:31:11,334 [80-3] DEBUG JNDI - recursing into: jmx -> invoker
                        2010-08-06 11:31:11,338 INFO  [STDOUT] === 2010-08-06 11:31:11,337 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/invoker<--
                        2010-08-06 11:31:11,342 INFO  [STDOUT] === 2010-08-06 11:31:11,342 [80-3] INFO  JNDI - Listing: jmx/invoker
                        2010-08-06 11:31:11,345 INFO  [STDOUT] === 2010-08-06 11:31:11,345 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy48, name: RMIAdaptor
                        2010-08-06 11:31:11,348 INFO  [STDOUT] === 2010-08-06 11:31:11,348 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: rmi
                        2010-08-06 11:31:11,351 INFO  [STDOUT] === 2010-08-06 11:31:11,351 [80-3] DEBUG JNDI - recursing into: jmx -> rmi
                        2010-08-06 11:31:11,354 INFO  [STDOUT] === 2010-08-06 11:31:11,354 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->jmx/rmi<--
                        2010-08-06 11:31:11,360 INFO  [STDOUT] === 2010-08-06 11:31:11,360 [80-3] INFO  JNDI - Listing: jmx/rmi
                        2010-08-06 11:31:11,364 INFO  [STDOUT] === 2010-08-06 11:31:11,364 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: RMIAdaptor
                        2010-08-06 11:31:11,370 INFO  [STDOUT] === 2010-08-06 11:31:11,370 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: HTTPXAConnectionFactory
                        2010-08-06 11:31:11,374 INFO  [STDOUT] === 2010-08-06 11:31:11,374 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: ConnectionFactory
                        2010-08-06 11:31:11,378 INFO  [STDOUT] === 2010-08-06 11:31:11,378 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy15, name: UserTransactionSessionFactory
                        2010-08-06 11:31:11,381 INFO  [STDOUT] === 2010-08-06 11:31:11,381 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyConnectionFactory, name: HTTPConnectionFactory
                        2010-08-06 11:31:11,384 INFO  [STDOUT] === 2010-08-06 11:31:11,384 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyXAConnectionFactory, name: XAConnectionFactory
                        2010-08-06 11:31:11,389 INFO  [STDOUT] === 2010-08-06 11:31:11,389 [80-3] DEBUG JNDI - got NameClassPair with name:com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple, name: TransactionSynchr
                        onizationRegistry
                        2010-08-06 11:31:11,397 INFO  [STDOUT] === 2010-08-06 11:31:11,397 [80-3] DEBUG JNDI - Unable to lookup name: TransactionSynchronizationRegistry
                        2010-08-06 11:31:11,409 INFO  [STDOUT] === 2010-08-06 11:31:11,408 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.tm.usertx.client.ClientUserTransaction, name: UserTransaction
                        2010-08-06 11:31:11,412 INFO  [STDOUT] === 2010-08-06 11:31:11,412 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILXAConnectionFactory
                        2010-08-06 11:31:11,415 INFO  [STDOUT] === 2010-08-06 11:31:11,415 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2XAConnectionFactory
                        2010-08-06 11:31:11,419 INFO  [STDOUT] === 2010-08-06 11:31:11,419 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: queue
                        2010-08-06 11:31:11,424 INFO  [STDOUT] === 2010-08-06 11:31:11,424 [80-3] DEBUG JNDI - recursing into: java:comp -> queue
                        2010-08-06 11:31:11,428 INFO  [STDOUT] === 2010-08-06 11:31:11,428 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->queue<--
                        2010-08-06 11:31:11,434 INFO  [STDOUT] === 2010-08-06 11:31:11,434 [80-3] INFO  JNDI - Listing: queue
                        2010-08-06 11:31:11,439 INFO  [STDOUT] === 2010-08-06 11:31:11,439 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: A
                        2010-08-06 11:31:11,442 INFO  [STDOUT] === 2010-08-06 11:31:11,442 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: ex
                        2010-08-06 11:31:11,445 INFO  [STDOUT] === 2010-08-06 11:31:11,445 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: testQueue1
                        2010-08-06 11:31:11,448 INFO  [STDOUT] === 2010-08-06 11:31:11,448 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: DLQ
                        2010-08-06 11:31:11,451 INFO  [STDOUT] === 2010-08-06 11:31:11,451 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: D
                        2010-08-06 11:31:11,455 INFO  [STDOUT] === 2010-08-06 11:31:11,455 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: C
                        2010-08-06 11:31:11,460 INFO  [STDOUT] === 2010-08-06 11:31:11,460 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyQueue, name: B
                        2010-08-06 11:31:11,466 INFO  [STDOUT] === 2010-08-06 11:31:11,466 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: topic
                        2010-08-06 11:31:11,469 INFO  [STDOUT] === 2010-08-06 11:31:11,469 [80-3] DEBUG JNDI - recursing into: java:comp -> topic
                        2010-08-06 11:31:11,472 INFO  [STDOUT] === 2010-08-06 11:31:11,472 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->topic<--
                        2010-08-06 11:31:11,475 INFO  [STDOUT] === 2010-08-06 11:31:11,475 [80-3] INFO  JNDI - Listing: topic
                        2010-08-06 11:31:11,478 INFO  [STDOUT] === 2010-08-06 11:31:11,478 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testDurableTopic
                        2010-08-06 11:31:11,481 INFO  [STDOUT] === 2010-08-06 11:31:11,481 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: testTopic
                        2010-08-06 11:31:11,484 INFO  [STDOUT] === 2010-08-06 11:31:11,484 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.mq.SpyTopic, name: securedTopic
                        2010-08-06 11:31:11,490 INFO  [STDOUT] === 2010-08-06 11:31:11,490 [80-3] DEBUG JNDI - got NameClassPair with name:org.jnp.interfaces.NamingContext, name: console
                        2010-08-06 11:31:11,493 INFO  [STDOUT] === 2010-08-06 11:31:11,493 [80-3] DEBUG JNDI - recursing into: java:comp -> console
                        2010-08-06 11:31:11,498 INFO  [STDOUT] === 2010-08-06 11:31:11,498 [80-3] INFO  JNDI - searchTreeForClass - accumulatedPath: -->console<--
                        2010-08-06 11:31:11,504 INFO  [STDOUT] === 2010-08-06 11:31:11,504 [80-3] INFO  JNDI - Listing: console
                        2010-08-06 11:31:11,508 INFO  [STDOUT] === 2010-08-06 11:31:11,508 [80-3] DEBUG JNDI - got NameClassPair with name:$Proxy49, name: PluginManager
                        2010-08-06 11:31:11,511 INFO  [STDOUT] === 2010-08-06 11:31:11,511 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UIL2ConnectionFactory
                        2010-08-06 11:31:11,514 INFO  [STDOUT] === 2010-08-06 11:31:11,514 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory, name: HiLoKeyGeneratorFactory
                        2010-08-06 11:31:11,518 INFO  [STDOUT] === 2010-08-06 11:31:11,518 [80-3] DEBUG JNDI - got NameClassPair with name:javax.naming.LinkRef, name: UILConnectionFactory
                        2010-08-06 11:31:11,522 INFO  [STDOUT] === 2010-08-06 11:31:11,522 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.naming.LinkRefPair, name: QueueConnectionFactory
                        2010-08-06 11:31:11,526 INFO  [STDOUT] === 2010-08-06 11:31:11,526 [80-3] DEBUG JNDI - got NameClassPair with name:org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory, name: UUIDKeyGeneratorFactory
                        I agree that there could be a typo of some kind - I wouldn't be surprised if I had done that, but right now I haven't any evidence for it. Any ideas where to go from here?

                        EDIT: I should mention that the context root 'java:comp/env/jdbc', which I specified in autoDetectRoots, doesn't even exist in JNDI, but it had no trouble scanning it.
                        Last edited by Crogdor; 6 Aug 2010, 10:42.

                        Comment


                          #13
                          Ahem, thanks for your efforts, indeed there is a bug in the auto-scanning that causes it to report the correct root value initially but then always recurse into root (""). This is now corrected and will be available in the next nightly build.

                          However, regardless, specifying "java:comp/testDS" as the JNDI name in the Admin Console (or in server.properties, as:

                          Code:
                          sql.Oracle.driver.name: java:comp/testDS

                          Comment


                            #14
                            Well, it works! :) I had to use the following JNDI name in server.properties, though, as it was complaining in the log that 'comp' was not bound.

                            Code:
                            sql.Oracle.driver.name: java:/testDS
                            (It also works without prepending the 'java:/' part.)

                            Something is still amiss with the UI, however. After getting it to work, and selecting the DataSource in the Admin Console, I notice that the JNDI name field is still blank. Moreover, if I put some random garbage in there, and click Test, the test succeeds...

                            Well that was a light bulb moment - the JNDI name field in the Admin Console was not being honored this whole time. :(

                            This explains why saving the DataSource doesn't save the JNDI name into the server.properties (as mentioned earlier in this topic), as well as why inputting 'java:/testDS' didn't work, even though it's correct. It also explains the NullPointerException I was receiving before having added the JNDI name property to the server.properties file.

                            I'll let you guys take care of things from here. Thank you SO MUCH for the time and effort you've put in helping me out. I'm especially thankful for the quick responses I've been getting.

                            Comment


                              #15
                              We'll check this out with JBoss. Possibly something odd is happening causing the JNDI name to get discarded.

                              Comment

                              Working...
                              X