Hi there,
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.
Rahul
-
error in running Client for BMP (4 messages)
- Posted by: Rahul ..
- Posted on: April 19 2001 12:23 EDT
Threaded Messages (4)
- error in running Client for BMP by Stephen Davies on April 19 2001 19:54 EDT
- error in running Client for BMP by shishank mathur on April 20 2001 01:15 EDT
-
error in running Client for BMP by Rahul .. on April 20 2001 06:38 EDT
- error in running Client for BMP by Doctor Zoidberg on April 20 2001 11:31 EDT
-
error in running Client for BMP by Rahul .. on April 20 2001 06:38 EDT
- error in running Client for BMP by shishank mathur on April 20 2001 01:15 EDT
-
error in running Client for BMP[ Go to top ]
- Posted by: Stephen Davies
- Posted on: April 19 2001 19:54 EDT
- in response to Rahul ..
Ruhal,
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. -
error in running Client for BMP[ Go to top ]
- Posted by: shishank mathur
- Posted on: April 20 2001 01:15 EDT
- in response to Stephen Davies
What I feel after reading is that you are having classpath problem....Kindly give more details about the error that you are facing??
Bye -
error in running Client for BMP[ Go to top ]
- Posted by: Rahul ..
- Posted on: April 20 2001 06:38 EDT
- in response to shishank mathur
Hi guys!!!
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:
:\EJB\Bean2>java -Djava.naming.factory.initial=weblogic.jndi.TengahInitialConte
xtFactory fenb.Client t3://localhost:7002
It is showing the following error:
Caught exception!
javax.ejb.CreateException: java.sql.SQLException: The url cannot be null
at weblogic.rmi.extensions.AbstractRequest.sendReceive(AbstractRequest.j
ava:76)
at fenb.AccountBeanHomeImpl_WLStub.create(AccountBeanHomeImpl_WLStub.jav
a:167)
at fenb.AccountBeanHomeImpl_ServiceStub.create(AccountBeanHomeImpl_Servi
ceStub.java:108)
at fenb.Client.main(Client.java:28)
Destroying account..
But the server is shwoing the :
New entity bean context created
createbean called()!
Please help me out!!!
Rahul
-
error in running Client for BMP[ Go to top ]
- Posted by: Doctor Zoidberg
- Posted on: April 20 2001 11:31 EDT
- in response to Rahul ..
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.