aspose file tools*
The moose likes BEA/Weblogic and the fly likes example not running at weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "example not running at weblogic" Watch "example not running at weblogic" New topic
Author

example not running at weblogic

jonny jinny
Greenhorn

Joined: Oct 29, 2002
Posts: 11
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

Joined: Jul 28, 2000
Posts: 1851
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

Joined: Oct 29, 2002
Posts: 11
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

Joined: Jul 28, 2000
Posts: 1851
Hi Johnny,
Did you Check up whether the JNDI tree has the ejb and datasource sucessfully deployed.
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1851
Are there any errors or exceptions in the weblogic.log file.
jonny jinny
Greenhorn

Joined: Oct 29, 2002
Posts: 11
absolutely no errors in log.
DS and pool also has no err.
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1851
Can you put up your client code. Very very strange indeed.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: example not running at weblogic