Discussion:
The DataSource with the JNDI name could not be found
(too old to reply)
Ram
2004-02-05 11:31:27 UTC
Permalink
Hi,

I hv created my domain and was trying to test the example applications by moving
the example folder to my directory.

My directory is E:\bea\user_projects\mywork and in this directory I hv placed
the examples directory.Hence it look like,E:\bea\user_projects\mywork\examples

I hv modified the examples.properties to accomodate these changes.

I was able to build and run Stateless and Stateful session beans,but when i try
to run CMP it gives the error saying the datasource could not be found and hence
JNDI could not locate home interface class file.

It says it could not fine demoPool.

I hv not changed the descriptor files.

<data-source-name>examples-dataSource-demoPool</data-source-name>

Pl.advise.

Regards,

Ram
Rob Woollen
2004-02-05 18:24:02 UTC
Permalink
CMP typically needs a DataSource. The DataSource needs a JDBC
Connection pool. My guess is the connection pool was named demoPool,
and it failed. check the logfile for errors.

If you need more help, please post your server's log file.

-- Rob
Post by Ram
Hi,
I hv created my domain and was trying to test the example applications by moving
the example folder to my directory.
My directory is E:\bea\user_projects\mywork and in this directory I hv placed
the examples directory.Hence it look like,E:\bea\user_projects\mywork\examples
I hv modified the examples.properties to accomodate these changes.
I was able to build and run Stateless and Stateful session beans,but when i try
to run CMP it gives the error saying the datasource could not be found and hence
JNDI could not locate home interface class file.
It says it could not fine demoPool.
I hv not changed the descriptor files.
<data-source-name>examples-dataSource-demoPool</data-source-name>
Pl.advise.
Regards,
Ram
Ram
2004-02-06 04:47:21 UTC
Permalink
Post by Rob Woollen
CMP typically needs a DataSource. The DataSource needs a JDBC
Connection pool. My guess is the connection pool was named demoPool,
and it failed. check the logfile for errors.
If you need more help, please post your server's log file.
I think the problem is the creation of Datasource only.Actually I am trying to
run the examples given in the default examples server from my user_projects instance
'Ram'.

The log file is:
==========
####<Feb 5, 2004 10:50:40 AM GMT+05:30> <Notice> <Security> <ram> <myserver> <main>
<<WLS Kernel>> <> <BEA-090082> <Security initializing using security realm myrealm.>

####<Feb 5, 2004 10:50:40 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<main> <<WLS Kernel>> <> <BEA-000327> <Starting WebLogic Admin Server "myserver"
for domain "ram">
####<Feb 5, 2004 10:50:53 AM GMT+05:30> <Warning> <JDBC> <ram> <myserver> <main>
<<WLS Kernel>> <> <BEA-001129> <Received exception while creating connection for
pool "Ram_A": Unable to connect to any hosts due to exception: java.net.ConnectException:
Connection refused: connect>
####<Feb 5, 2004 10:50:54 AM GMT+05:30> <Error> <JDBC> <ram> <myserver> <main>
<<WLS Kernel>> <> <BEA-001150> <Connection Pool "Ram_A" deployment failed with
the following error: 0:Could not create pool connection. The DBMS driver exception
was: Unable to connect to any hosts due to exception: java.net.ConnectException:
Connection refused: connect.>
####<Feb 5, 2004 10:50:54 AM GMT+05:30> <Error> <JDBC> <ram> <myserver> <main>
<<WLS Kernel>> <> <BEA-001151> <Data Source "Ram_B" deployment failed with the
following error: DataSource(Ram_JNDI) can't be created with non-existent Pool
(connection or multi) (Ram_A).>
####<Feb 5, 2004 10:51:05 AM GMT+05:30> <Warning> <Deployer> <ram> <myserver>
<ExecuteThread: '3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149004>
<Failures were detected while initiating Deploy task for application _appsdir_ejb20_basic_containerManaged_ear.>

####<Feb 5, 2004 10:51:05 AM GMT+05:30> <Error> <Deployer> <ram> <myserver> <ExecuteThread:
'3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149201> <Failed
to complete the deployment task with ID 1 for the application _appsdir_ejb20_basic_containerManaged_ear.
weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: activate failed for ejb20_basic_containerManaged.jar
Module: ejb20_basic_containerManaged.jar Error: Exception activating module:
EJBModule(ejb20_basic_containerManaged.jar,status=PREPARED)


Unable to deploy EJB: containerManaged from ejb20_basic_containerManaged.jar:

[EJB:011028]The DataSource with the JNDI name: examples-dataSource-demoPool could
not be located. Please ensure that the DataSource has been deployed successfully
and that the JNDI name in your EJB Deployment descriptor is correct.



at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2549)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: activate failed for ejb20_basic_containerManaged.jar
Module: ejb20_basic_containerManaged.jar Error: Exception activating module:
EJBModule(ejb20_basic_containerManaged.jar,status=PREPARED)


Unable to deploy EJB: containerManaged from ejb20_basic_containerManaged.jar:

[EJB:011028]The DataSource with the JNDI name: examples-dataSource-demoPool could
not be located. Please ensure that the DataSource has been deployed successfully
and that the JNDI name in your EJB Deployment descriptor is correct.


]
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2523)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
####<Feb 5, 2004 10:51:07 AM GMT+05:30> <Warning> <DRS> <ram> <myserver> <ExecuteThread:
'3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-002506> <The current
version 13 for DataIdentifier DataIdentifierID: 1 does not match with incoming
version 14 for a one-phase update.>
####<Feb 5, 2004 10:51:12 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
####<Feb 5, 2004 10:51:12 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<ListenThread.Default> <<WLS Kernel>> <> <BEA-000355> <Thread "ListenThread.Default"
listening on port 7001, ip address *.*>
####<Feb 5, 2004 10:58:37 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<Graceful shutdown task> <<WLS Kernel>> <> <BEA-000365> <Server state changed
to SUSPENDING>
####<Feb 5, 2004 10:58:37 AM GMT+05:30> <Notice> <HTTP> <ram> <myserver> <Graceful
shutdown task> <<WLS Kernel>> <> <BEA-101278> <There are no active sessions. The
Web service is ready to suspend.>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Alert> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000228>
<The disabling of server logins has been requested by <WLS Kernel>>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Alert> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000229>
<Server logins have been disabled.>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000352>
<Thread "ListenThread.Default" stopped listening on port 7001>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000365>
<Server state changed to STANDBY>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000365>
<Server state changed to SHUTTING_DOWN>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Alert> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000218>
<Server shutdown has been requested by <WLS Kernel>>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Alert> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000219>
<The shutdown sequence has been initiated.>
========

Pl.advise

Ram

The server log is:
============
Post by Rob Woollen
-- Rob
Post by Ram
Hi,
I hv created my domain and was trying to test the example applications
by moving
Post by Ram
the example folder to my directory.
My directory is E:\bea\user_projects\mywork and in this directory I
hv placed
Post by Ram
the examples directory.Hence it look like,E:\bea\user_projects\mywork\examples
I hv modified the examples.properties to accomodate these changes.
I was able to build and run Stateless and Stateful session beans,but
when i try
Post by Ram
to run CMP it gives the error saying the datasource could not be found
and hence
Post by Ram
JNDI could not locate home interface class file.
It says it could not fine demoPool.
I hv not changed the descriptor files.
<data-source-name>examples-dataSource-demoPool</data-source-name>
Pl.advise.
Regards,
Ram
Rob Woollen
2004-02-06 21:36:36 UTC
Permalink
Post by Ram
Post by Rob Woollen
CMP typically needs a DataSource. The DataSource needs a JDBC
Connection pool. My guess is the connection pool was named demoPool,
and it failed. check the logfile for errors.
If you need more help, please post your server's log file.
I think the problem is the creation of Datasource only.Actually I am trying to
run the examples given in the default examples server from my user_projects instance
'Ram'.
==========
####<Feb 5, 2004 10:50:40 AM GMT+05:30> <Notice> <Security> <ram> <myserver> <main>
<<WLS Kernel>> <> <BEA-090082> <Security initializing using security realm myrealm.>
####<Feb 5, 2004 10:50:40 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<main> <<WLS Kernel>> <> <BEA-000327> <Starting WebLogic Admin Server "myserver"
for domain "ram">
####<Feb 5, 2004 10:50:53 AM GMT+05:30> <Warning> <JDBC> <ram> <myserver> <main>
<<WLS Kernel>> <> <BEA-001129> <Received exception while creating connection for
Connection refused: connect>
Your JDBC Connection Pool is failing right here. It looks like it can't
connect to the database.
Post by Ram
####<Feb 5, 2004 10:50:54 AM GMT+05:30> <Error> <JDBC> <ram> <myserver> <main>
<<WLS Kernel>> <> <BEA-001150> <Connection Pool "Ram_A" deployment failed with
the following error: 0:Could not create pool connection. The DBMS driver exception
Connection refused: connect.>
####<Feb 5, 2004 10:50:54 AM GMT+05:30> <Error> <JDBC> <ram> <myserver> <main>
<<WLS Kernel>> <> <BEA-001151> <Data Source "Ram_B" deployment failed with the
following error: DataSource(Ram_JNDI) can't be created with non-existent Pool
(connection or multi) (Ram_A).>
And this is telling you the DataSource failed because it's pool failed
previously.

-- Rob
Post by Ram
####<Feb 5, 2004 10:51:05 AM GMT+05:30> <Warning> <Deployer> <ram> <myserver>
<ExecuteThread: '3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149004>
<Failures were detected while initiating Deploy task for application _appsdir_ejb20_basic_containerManaged_ear.>
'3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149201> <Failed
to complete the deployment task with ID 1 for the application _appsdir_ejb20_basic_containerManaged_ear.
Exception:weblogic.management.ApplicationException: activate failed for ejb20_basic_containerManaged.jar
EJBModule(ejb20_basic_containerManaged.jar,status=PREPARED)
[EJB:011028]The DataSource with the JNDI name: examples-dataSource-demoPool could
not be located. Please ensure that the DataSource has been deployed successfully
and that the JNDI name in your EJB Deployment descriptor is correct.
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2549)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
Exception:weblogic.management.ApplicationException: activate failed for ejb20_basic_containerManaged.jar
EJBModule(ejb20_basic_containerManaged.jar,status=PREPARED)
[EJB:011028]The DataSource with the JNDI name: examples-dataSource-demoPool could
not be located. Please ensure that the DataSource has been deployed successfully
and that the JNDI name in your EJB Deployment descriptor is correct.
]
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2523)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
'3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-002506> <The current
version 13 for DataIdentifier DataIdentifierID: 1 does not match with incoming
version 14 for a one-phase update.>
####<Feb 5, 2004 10:51:12 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
####<Feb 5, 2004 10:51:12 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<ListenThread.Default> <<WLS Kernel>> <> <BEA-000355> <Thread "ListenThread.Default"
listening on port 7001, ip address *.*>
####<Feb 5, 2004 10:58:37 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<Graceful shutdown task> <<WLS Kernel>> <> <BEA-000365> <Server state changed
to SUSPENDING>
####<Feb 5, 2004 10:58:37 AM GMT+05:30> <Notice> <HTTP> <ram> <myserver> <Graceful
shutdown task> <<WLS Kernel>> <> <BEA-101278> <There are no active sessions. The
Web service is ready to suspend.>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Alert> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000228>
<The disabling of server logins has been requested by <WLS Kernel>>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Alert> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000229>
<Server logins have been disabled.>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000352>
<Thread "ListenThread.Default" stopped listening on port 7001>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000365>
<Server state changed to STANDBY>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Notice> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000365>
<Server state changed to SHUTTING_DOWN>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Alert> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000218>
<Server shutdown has been requested by <WLS Kernel>>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Alert> <WebLogicServer> <ram> <myserver>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-000219>
<The shutdown sequence has been initiated.>
========
Pl.advise
Ram
============
Post by Rob Woollen
-- Rob
Post by Ram
Hi,
I hv created my domain and was trying to test the example applications
by moving
Post by Ram
the example folder to my directory.
My directory is E:\bea\user_projects\mywork and in this directory I
hv placed
Post by Ram
the examples directory.Hence it look like,E:\bea\user_projects\mywork\examples
I hv modified the examples.properties to accomodate these changes.
I was able to build and run Stateless and Stateful session beans,but
when i try
Post by Ram
to run CMP it gives the error saying the datasource could not be found
and hence
Post by Ram
JNDI could not locate home interface class file.
It says it could not fine demoPool.
I hv not changed the descriptor files.
<data-source-name>examples-dataSource-demoPool</data-source-name>
Pl.advise.
Regards,
Ram
Ram
2004-02-09 05:26:20 UTC
Permalink
Yes.Rob.

Finally I was able to make it run.

I hv one basic question since I am new to EJB.

What is the requirement of deploying .EAR,.WAR,.JAR files and what circumstances
they need to be deployed ?

Regards,

Ram
Post by Ram
Post by Ram
Post by Rob Woollen
CMP typically needs a DataSource. The DataSource needs a JDBC
Connection pool. My guess is the connection pool was named demoPool,
and it failed. check the logfile for errors.
If you need more help, please post your server's log file.
I think the problem is the creation of Datasource only.Actually I am
trying to
Post by Ram
run the examples given in the default examples server from my user_projects
instance
Post by Ram
'Ram'.
==========
####<Feb 5, 2004 10:50:40 AM GMT+05:30> <Notice> <Security> <ram> <myserver>
<main>
Post by Ram
<<WLS Kernel>> <> <BEA-090082> <Security initializing using security
realm myrealm.>
Post by Ram
####<Feb 5, 2004 10:50:40 AM GMT+05:30> <Notice> <WebLogicServer> <ram>
<myserver>
Post by Ram
<main> <<WLS Kernel>> <> <BEA-000327> <Starting WebLogic Admin Server
"myserver"
Post by Ram
for domain "ram">
####<Feb 5, 2004 10:50:53 AM GMT+05:30> <Warning> <JDBC> <ram> <myserver>
<main>
Post by Ram
<<WLS Kernel>> <> <BEA-001129> <Received exception while creating connection
for
Post by Ram
Connection refused: connect>
Your JDBC Connection Pool is failing right here. It looks like it can't
connect to the database.
Post by Ram
####<Feb 5, 2004 10:50:54 AM GMT+05:30> <Error> <JDBC> <ram> <myserver>
<main>
Post by Ram
<<WLS Kernel>> <> <BEA-001150> <Connection Pool "Ram_A" deployment
failed with
Post by Ram
the following error: 0:Could not create pool connection. The DBMS driver
exception
Post by Ram
Connection refused: connect.>
####<Feb 5, 2004 10:50:54 AM GMT+05:30> <Error> <JDBC> <ram> <myserver>
<main>
Post by Ram
<<WLS Kernel>> <> <BEA-001151> <Data Source "Ram_B" deployment failed
with the
Post by Ram
following error: DataSource(Ram_JNDI) can't be created with non-existent
Pool
Post by Ram
(connection or multi) (Ram_A).>
And this is telling you the DataSource failed because it's pool failed
previously.
-- Rob
Post by Ram
####<Feb 5, 2004 10:51:05 AM GMT+05:30> <Warning> <Deployer> <ram>
<myserver>
Post by Ram
<ExecuteThread: '3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
<> <BEA-149004>
Post by Ram
<Failures were detected while initiating Deploy task for application
_appsdir_ejb20_basic_containerManaged_ear.>
Post by Ram
####<Feb 5, 2004 10:51:05 AM GMT+05:30> <Error> <Deployer> <ram> <myserver>
'3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149201>
<Failed
Post by Ram
to complete the deployment task with ID 1 for the application _appsdir_ejb20_basic_containerManaged_ear.
Exception:weblogic.management.ApplicationException: activate failed
for ejb20_basic_containerManaged.jar
Post by Ram
Module: ejb20_basic_containerManaged.jar Error: Exception activating
EJBModule(ejb20_basic_containerManaged.jar,status=PREPARED)
[EJB:011028]The DataSource with the JNDI name: examples-dataSource-demoPool
could
Post by Ram
not be located. Please ensure that the DataSource has been deployed
successfully
Post by Ram
and that the JNDI name in your EJB Deployment descriptor is correct.
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2549)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
Exception:weblogic.management.ApplicationException: activate failed
for ejb20_basic_containerManaged.jar
Post by Ram
Module: ejb20_basic_containerManaged.jar Error: Exception activating
EJBModule(ejb20_basic_containerManaged.jar,status=PREPARED)
[EJB:011028]The DataSource with the JNDI name: examples-dataSource-demoPool
could
Post by Ram
not be located. Please ensure that the DataSource has been deployed
successfully
Post by Ram
and that the JNDI name in your EJB Deployment descriptor is correct.
]
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2523)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
####<Feb 5, 2004 10:51:07 AM GMT+05:30> <Warning> <DRS> <ram> <myserver>
'3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-002506>
<The current
Post by Ram
version 13 for DataIdentifier DataIdentifierID: 1 does not match with
incoming
Post by Ram
version 14 for a one-phase update.>
####<Feb 5, 2004 10:51:12 AM GMT+05:30> <Notice> <WebLogicServer> <ram>
<myserver>
Post by Ram
<main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
####<Feb 5, 2004 10:51:12 AM GMT+05:30> <Notice> <WebLogicServer> <ram>
<myserver>
Post by Ram
<ListenThread.Default> <<WLS Kernel>> <> <BEA-000355> <Thread "ListenThread.Default"
listening on port 7001, ip address *.*>
####<Feb 5, 2004 10:58:37 AM GMT+05:30> <Notice> <WebLogicServer> <ram>
<myserver>
Post by Ram
<Graceful shutdown task> <<WLS Kernel>> <> <BEA-000365> <Server state
changed
Post by Ram
to SUSPENDING>
####<Feb 5, 2004 10:58:37 AM GMT+05:30> <Notice> <HTTP> <ram> <myserver>
<Graceful
Post by Ram
shutdown task> <<WLS Kernel>> <> <BEA-101278> <There are no active
sessions. The
Post by Ram
Web service is ready to suspend.>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Alert> <WebLogicServer> <ram>
<myserver>
Post by Ram
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
<> <BEA-000228>
Post by Ram
<The disabling of server logins has been requested by <WLS Kernel>>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Alert> <WebLogicServer> <ram>
<myserver>
Post by Ram
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
<> <BEA-000229>
Post by Ram
<Server logins have been disabled.>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Notice> <WebLogicServer> <ram>
<myserver>
Post by Ram
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
<> <BEA-000352>
Post by Ram
<Thread "ListenThread.Default" stopped listening on port 7001>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Notice> <WebLogicServer> <ram>
<myserver>
Post by Ram
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
<> <BEA-000365>
Post by Ram
<Server state changed to STANDBY>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Notice> <WebLogicServer> <ram>
<myserver>
Post by Ram
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
<> <BEA-000365>
Post by Ram
<Server state changed to SHUTTING_DOWN>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Alert> <WebLogicServer> <ram>
<myserver>
Post by Ram
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
<> <BEA-000218>
Post by Ram
<Server shutdown has been requested by <WLS Kernel>>
####<Feb 5, 2004 10:58:39 AM GMT+05:30> <Alert> <WebLogicServer> <ram>
<myserver>
Post by Ram
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
<> <BEA-000219>
Post by Ram
<The shutdown sequence has been initiated.>
========
Pl.advise
Ram
============
Post by Rob Woollen
-- Rob
Post by Ram
Hi,
I hv created my domain and was trying to test the example applications
by moving
Post by Ram
the example folder to my directory.
My directory is E:\bea\user_projects\mywork and in this directory
I
Post by Ram
Post by Rob Woollen
hv placed
Post by Ram
the examples directory.Hence it look like,E:\bea\user_projects\mywork\examples
I hv modified the examples.properties to accomodate these changes.
I was able to build and run Stateless and Stateful session beans,but
when i try
Post by Ram
to run CMP it gives the error saying the datasource could not be found
and hence
Post by Ram
JNDI could not locate home interface class file.
It says it could not fine demoPool.
I hv not changed the descriptor files.
<data-source-name>examples-dataSource-demoPool</data-source-name>
Pl.advise.
Regards,
Ram
Slava Imeshev
2004-02-09 17:59:24 UTC
Permalink
Post by Ram
I hv one basic question since I am new to EJB.
You need to get a better understanding than. There is a couple of good
books on EJB that I always recommend:

1. Ed Roman "Mastering Enterprise Java Beans"
http://www.amazon.com/exec/obidos/tg/detail/-/0471417114

2. O'Reilly "Enterprise Java Beans"
http://www.amazon.com/exec/obidos/tg/detail/-/0596002262
Post by Ram
What is the requirement of deploying .EAR,.WAR,.JAR files and what circumstances
they need to be deployed ?
These are questions that require certain background to understand answers.
I suggest you to read the books above - it's likely these and many other questions
will be cleared.

Regards,

Slava Imeshev
Ram
2004-02-10 13:18:19 UTC
Permalink
hi,

sorry for raising this question.

By mistake i hv posted this question.

Basically I wanted to know how to call session bean and entity bean from message
driven bean.

Actually I am doing a pilot project,in that from onMessage() ,I have to call one
session bean followed by one CMP.

Any suggestions?.

Ram
Post by Slava Imeshev
Post by Ram
I hv one basic question since I am new to EJB.
You need to get a better understanding than. There is a couple of good
1. Ed Roman "Mastering Enterprise Java Beans"
http://www.amazon.com/exec/obidos/tg/detail/-/0471417114
2. O'Reilly "Enterprise Java Beans"
http://www.amazon.com/exec/obidos/tg/detail/-/0596002262
Post by Ram
What is the requirement of deploying .EAR,.WAR,.JAR files and what
circumstances
Post by Ram
they need to be deployed ?
These are questions that require certain background to understand answers.
I suggest you to read the books above - it's likely these and many other questions
will be cleared.
Regards,
Slava Imeshev
Slava Imeshev
2004-02-10 18:00:42 UTC
Permalink
Post by Ram
sorry for raising this question.
By mistake i hv posted this question.
Basically I wanted to know how to call session bean and entity bean from message
driven bean.
Actually I am doing a pilot project,in that from onMessage() ,I have to call one
session bean followed by one CMP.
Any suggestions?.
Yes, there are. Read these books:

1. Ed Roman "Mastering Enterprise Java Beans"
http://www.amazon.com/exec/obidos/tg/detail/-/0471417114
2. O'Reilly "Enterprise Java Beans"
http://www.amazon.com/exec/obidos/tg/detail/-/0596002262

Regards,

Slava Imeshev
Post by Ram
Ram
Post by Slava Imeshev
Post by Ram
I hv one basic question since I am new to EJB.
You need to get a better understanding than. There is a couple of good
1. Ed Roman "Mastering Enterprise Java Beans"
http://www.amazon.com/exec/obidos/tg/detail/-/0471417114
2. O'Reilly "Enterprise Java Beans"
http://www.amazon.com/exec/obidos/tg/detail/-/0596002262
Post by Ram
What is the requirement of deploying .EAR,.WAR,.JAR files and what
circumstances
Post by Ram
they need to be deployed ?
These are questions that require certain background to understand answers.
I suggest you to read the books above - it's likely these and many other questions
will be cleared.
Regards,
Slava Imeshev
Akilah McIntyre
2005-01-10 20:14:48 UTC
Permalink
1) [u]http://commerce.bea.com/showproduct.jsp?family=WLP&major=8.1&minor=4[/u]

2)Make sure you add your JDBC drivers to the beginning of CLASSPATH in either setDomainenv.cmd or setEnv.cmd

3)What really helped was BEA support and playing with BEA's JDBC example that shows how to create and deploy and use a data source.

[url=http://dev2dev.bea.com/codelibrary/code/examples_jdbc.jsp]http://dev2dev.bea.com/codelibrary/code/examples_jdbc.jsp[/url]
Loading...