[JBoss-user] [EJB/JBoss] - Re: creating connection pool! please help me!

2005-01-11 Thread repkin
try 
{ 
InitialContext ctx = new InitialContext(); 
DataSource ds = (DataSource)ctx.lookup(jspNedirMysql); 
java.sql.Connection jspNedirCon = null; 
jspNedirCon = ds.getConnection(); 
}catch(SQLException ex) 
{ 
setMessage(ex.toString()); 
}catch(NamingException ex) 
{ 
setMessage(ex.toString()); 
} 

 


I have tried that and this error have been occured 

javax.naming.NameNotFoundException: jspNedirMysql not bound 

please help me.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861577#3861577

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861577


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: creating connection pool! please help me!

2005-01-11 Thread HariV
The lookup should be 
DataSource ds = (DataSource)ctx.lookup(java:/jspNedirMysql); 

instead of DataSource ds = (DataSource)ctx.lookup(jspNedirMysql); 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861588#3861588

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861588


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: creating connection pool! please help me!

2005-01-11 Thread repkin
there is an exception

18:02:43,314 INFO  [CachedConnectionManager] Closing a connection for you.  
Please close them yourself: [EMAIL PROTECTED]
java.lang.Exception: STACKTRACE

what is the reason for that and what I have to do?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861611#3861611

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861611


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: creating connection pool! please help me!

2005-01-11 Thread [EMAIL PROTECTED]
This question gets repeated often in the forums.  People, please refer to the 
JBoss Wiki for information.  Go to the Jboss Web Site and Click on Developer 
Zone.   You will see Wiki and you can get information there also.


Ok,  this problem is solved by:
http://www.jboss.org/wiki/Wiki.jsp?page=WhatDoesTheMessageDoYourOwnHousekeepingMean

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861681#3861681

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861681


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user