• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

example not running at weblogic

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
absolutely no errors in log.
DS and pool also has no err.
 
Rahul Mahindrakar
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you put up your client code. Very very strange indeed.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic