Hi,

I have a datasource defined on JMC with user and password on it. Some
times in my application, I need to connect with a different user, so I
use datasource.getConnection( usr, pwd ), but I'm getting the following:

java.lang.UnsupportedOperationException: Name/password cannot be
different than already specified in properties
 at
allaire.ejipt._ejb._DataSource.getConnection(allaire/ejipt/_ejb/_DataSource.java:207)

 at asm.seguranca.User.<init>(User.java:49)
 at LoginServlet.service(LoginServlet.java:70)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1416)
 at
allaire.jrun.session.JRunSessionService.service(../session/JRunSessionService.java:1082)

 at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)
 at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:89)

 at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
 at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
 at
allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)

 at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)
 at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
 at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)


Anyone ???


Marcelo


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to