I am using weblogic 5.1 I deployed a BMP bean , but i couldn't run the client. It throws the following exception.
java.net.Connection failure...Please let me know how to solve this problem.
you haven't really given a lot to go on here. A common problem with clients is the client classpath. You need weblogicaux.jar, the beans interfaces and the PK class on the clients classpath.
What I feel after reading is that you are having classpath problem....Kindly give more details about the error that you are facing??
Thanks a lot for your response. I am using weblogic.50 . The BMP bean is deployed successfully which is using JdbcOdbc driver. When I am starting the server the server is showing that the connection pool is sucessful. But when I am trying to connect my client from command prompt , like this:
xtFactory fenb.Client t3://localhost:7002
It is showing the following error:
javax.ejb.CreateException: java.sql.SQLException: The url cannot be null
But the server is shwoing the :
New entity bean context created
Please help me out!!!
seems like you have a problem getting the database connection. 'url is null' probably means that the url-string, which points to your database, is not set at all.
check your 'getConnection' code or however you achieve a db-connection.