I have attached the xml files to your personal email address.
Thanks.
Aaron Mulder wrote:
>
> As Marc indicated, my internet access will be a bit spotty for a
> while, but I'll say what I can when I get the chance...
> The output below indicates that the pool did start up
> successfully. So I suspect the problem is in your XML files. Can you
> send along your ejb-jar.xml and jboss.xml for the bean in question?
>
> Aaron
>
> On Tue, 15 Aug 2000, Stuart Barlow wrote:
> > I would first like to congratulate jBoss on putting together a stable
> > server.
> >
> > I am trying to define and connect to a Minerva SE pool following the
> > documentation
> > in the minerva.htm doc.
> > I define a pool called xa.PoolNameStu. And then following the example
> > given it is
> > linked to a resource called TestDB.
> > When I try the following lines of code I get a NameNotFound exception as
> > below
> > and reported in the jBoss console.
> >
> > SOURCE
> > Context context = new InitialContext();
> > DataSource ds = (DataSource)context.lookup("java:comp/env/TestDB");
> > END_SOURCE
> >
> > [Test] Error loading persistence service.
> > javax.naming.NameNotFoundException: TestDB not bound
> >
> > Do you know what I am missing?
> > I am using the jBoss2.0_pr3 install.
> >
> > Thanks
> > Stuart.
> >
> > The entire jBoss output is below...
> >
> > E:\jBoss2.0_pr3\bin>run
> > [Console logging] Logging started
> > [Classpath] Added directory:file:/E:/jBoss2.0_pr3/log/
> > [Info] Java version: 1.3.0rc1,Sun Microsystems Inc.
> > [Info] Java VM: Java HotSpot(TM) Client VM 1.3.0rc1-S,Sun Microsystems
> > Inc.
> > [Info] System: Windows NT 4.0,x86
> > [Classpath] Added directory:file:/E:/jBoss2.0_pr3/db/
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/activation.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/awt.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/dynaserver.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/ejb.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/ejxeditor.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/ejxejb.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/ejxjaws.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/ejxjboss.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/hsql.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/idb.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/jboss.jar
> > [Classpath] Added
> > library:file:/E:/jBoss2.0_pr3/lib/ext/jdbc2_0-stdext.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/jmxtools.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/jndi.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/jnpserver.jar
> > [Classpath] Added
> > library:file:/E:/jBoss2.0_pr3/lib/ext/jpl-util-0_5b.jar
> > [Classpath] Added
> > library:file:/E:/jBoss2.0_pr3/lib/ext/jta-spec1_0_1.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/mail.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/pd4proto.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/Tools.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/TOPLink.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/TOPLinkX.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/weblogic.jar
> > [Classpath] Added library:file:/E:/jBoss2.0_pr3/lib/ext/xml.jar
> > [JDBC] Loaded JDBC-driver:org.hsql.jdbcDriver
> > [JDBC] Loaded JDBC-driver:jdbc.idbDriver
> > [JDBC] Loaded JDBC-driver:weblogic.jdbc.mssqlserver4.Driver
> > [Webserver] Initializing
> > [Webserver] Initialized
> > [Hypersonic] Initializing
> > [Hypersonic] Server 1.4 is running
> > [Hypersonic] Database started
> > [Hypersonic] Initialized
> > [Naming] Initializing
> > [Naming] Naming started on port 1099
> > [Naming] Initialized
> > [Transaction manager] Initializing
> > InstantDB - Version 3.12
> > [Transaction manager] Initialized
> > [DataSource] Initializing
> > [DataSource] Connection pool for jdbc:idb:../conf/instantdb.properties
> > bound to InstantDB
> > [DataSource] Copyright (c) 1997-1999 Instant Computer Solutions Ltd.
> > [DataSource] Initialized
> > [DataSource] Initializing
> > [DataSource] Connection pool for jdbc:HypersonicSQL:hsql://localhost
> > bound to Hypersonic
> > [DataSource] Initialized
> > [Container factory] Initializing
> > [Container factory] Initialized
> > [Auto deploy] Watching E:\jBoss2.0_pr3\deploy
> > [Auto deployer] Initializing
> > [Auto deployer] Initialized
> > [JMX RMI Adaptor] Initializing
> > [JMX RMI Adaptor] Initialized
> > [Configuration] Initializing
> > [Configuration] Initialized
> > [XADataSource] Initializing
> > [XADataSource] Initialized
> > [Configuration] MaxActiveClientCount set to 10 in Adaptor:name=html
> > [Configuration] Port set to 8082 in Adaptor:name=html
> > [Configuration] LibraryDirectory set to D:\jBoss2.0_pr3\bin in
> > DefaultDomain:service=MLet
> > [Configuration] Format set to [{2}] {4} in
> > DefaultDomain:service=Logging,type=Console
> > [Configuration] Port set to 8083 in DefaultDomain:service=Webserver
> > [Configuration] URL set to jdbc:weblogic:mssqlserver4:sbarlow@DEVDB:1433
> > in DefaultDomain:service=XADataS
> > ource,name=PoolNameStu
> > [Configuration] JDBCUser set to pduser in
> > DefaultDomain:service=XADataSource,name=PoolNameStu
> > [Configuration] MinSize set to 0 in
> > DefaultDomain:service=XADataSource,name=PoolNameStu
> > [Configuration] ShrinkPercent set to 0.33 in
> > DefaultDomain:service=XADataSource,name=PoolNameStu
> > [Configuration] GCEnabled set to false in
> > DefaultDomain:service=XADataSource,name=PoolNameStu
> > [Configuration] TimestampUsed set to false in
> > DefaultDomain:service=XADataSource,name=PoolNameStu
> > [Configuration] Blocking set to false in
> > DefaultDomain:service=XADataSource,name=PoolNameStu
> > [Configuration] GCMinIdleTime set to 1200000 in
> > DefaultDomain:service=XADataSource,name=PoolNameStu
> > [Configuration] MaxSize set to 5 in
> > DefaultDomain:service=XADataSource,name=PoolNameStu
> > [Configuration] Password set to pd in
> > DefaultDomain:service=XADataSource,name=PoolNameStu
> > [Configuration] ShrinkMinIdleTime set to 600000 in
> > DefaultDomain:service=XADataSource,name=PoolNameStu
> > [Configuration] ShrinkingEnabled set to false in
> > DefaultDomain:service=XADataSource,name=PoolNameStu
> > [Configuration] VerifyDeployments set to false in
> > EJB:service=ContainerFactory
> > [Webserver] Starting
> > [Webserver] Codebase set to http://localhost:8083/
> > [Webserver] Started webserver on port 8083
> > [Webserver] Started
> > [Auto deployer] Starting
> > [Auto deploy] Auto deploy of file:/E:/jBoss2.0_pr3/deploy/pd4proto.jar
> > [Container factory] Deploying:file:/E:/jBoss2.0_pr3/deploy/pd4proto.jar
> > [Container factory] Deploying Test
> > [Container factory] Deploying Deposit
> > [Container factory] Deploying Retrieve
> > [Container factory] Bound Test to Test
> > [Container factory] Bound Retrieve to Retrieve
> > [Container factory] Bound Deposit to Deposit
> > [Container factory] Deployed application:
> > file:/E:/jBoss2.0_pr3/deploy/pd4proto.jar
> > [Auto deployer] Started
> > [XADataSource] Starting
> > [XADataSource] XA Connection pool PoolNameStu bound to xa.PoolNameStu
> > [XADataSource] Started
> > [DataSource] Starting
> > [DataSource] Started
> > [JMX RMI Adaptor] Starting
> > [JMX RMI Adaptor] Started
> > [DataSource] Starting
> > [DataSource] Started
> > [Transaction manager] Starting
> > [Transaction manager] Started
> > [Container factory] Starting
> > [Container factory] Started
> > [Hypersonic] Starting
> > [Hypersonic] Started
> > [Naming] Starting
> > [Naming] Started
> > [Default] Shutdown hook added
> > [Default] jBoss 2.0 Started
> > [Default] org.jboss.tm.TxManager@60038
> > [Test] Calling the next invoker in runInvokeHome
> > [Test] Calling the next invoker in runInvoke
> > [Test] (1PersistenceServiceClass):
> > com.peopledoc.persistence.JBossTLPersistenceService
> > [Test] (2PersistenceServiceClass): just about to call Class.forName() -
> > com.peopledoc.persistence.JBossTL
> > PersistenceService
> > [Test] (3PersistenceServiceClass): just called
> > Class.forName()com.peopledoc.persistence.JBossTLPersistenc
> > eService
> > [Test] (TLPersistenceService): calling cnstr
> > [Test] (3PersistenceServiceClass):
> > com.peopledoc.persistence.JBossTLPersistenceService
> > [Test] (TLPersistenceService): starting to initialise
> > [Test] Logging into TopLink...
> > [Test] Creating Server Session...
> > [Test] ****** USING EJB to create to the ServerSession ***********
> > [Test] (JBossTLPersistenceService): just about to getInitialContext()
> > [Test] Error loading persistence service.
> > javax.naming.NameNotFoundException: xa.PoolNameStu not bound
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Problems?: [EMAIL PROTECTED]
> >
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]