Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

example not running at weblogic

 
jonny jinny
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The weblogic 6.1
comes with the following example:
examples.ejb20.basic.containerManaged
I have deployed it on server, datasource and connection pool established with cloudscape, but not able to run its client.
It gives the following error:

C:\bea\wlserver6.1\config\examples\clientclasses>java examples.ejb20.basic.conta
inerManaged.Client "t3://localhost:7001" 10020
Beginning containerManaged.Client...
The client was unable to lookup the EJBHome. Please make sure that you have dep
loyed the ejb with the JNDI name ejb20-containerManaged-AccountHome on the WebLo
gic server at t3://localhost:7001
Unable to look up the beans home: Unable to resolve 'ejb20-containerManaged-Acco
untHome' Resolved: '' Unresolved:'ejb20-containerManaged-AccountHome'
Kindly help.
Thanks
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Try to look up your weblogic.log file. You will find some entry with respect to
'ejb20-containerManaged-AccountHome'
and why it could not be deployed. It looks like most likely there is some problem with the datasource. Check up if the datasource has been successfuly bound in the JNDI tree.
You can check up the JNDI tree in the console.
Br
Rahul
 
jonny jinny
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
The entry is as follows:
####<Mar 27, 2003 12:35:21 PM IST> <Info> <EJB> <Pooja> <myserver> <ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'> <system> <> <010009> <EJB Deployed EJB with JNDI name ejb20-containerManaged-AccountHome.>
The datasource JNDI name is:
examples-dataSource-demoPool
Now wht ahead??
Thanks
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Johnny,
Did you Check up whether the JNDI tree has the ejb and datasource sucessfully deployed.
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are there any errors or exceptions in the weblogic.log file.
 
jonny jinny
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
absolutely no errors in log.
DS and pool also has no err.
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you put up your client code. Very very strange indeed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic