[jboss-user] [EJB 3.0] - Wrong Credentials passed to getConnection

gowrishankar.ka do-not-reply at jboss.com
Tue Aug 28 12:23:36 EDT 2007


I am using JBoss 4.0.5 - I get the following exception when connecting from my application - for the first time alone  i.e whenever the app-server is started/ear deployed. App works fine from the second attempt onwards.. any pointers ?? :(

20:39:36,217 ERROR [STDERR] org.jboss.util.NestedSQLException: Wrong credentials passed to getConnec
tion!; - nested throwable: (org.jboss.resource.JBossResourceException: Wrong credentials passed to g
etConnection!)
20:39:36,217 ERROR [STDERR]     at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(W
rapperDataSource.java:109)
.
.
.
20:39:36,217 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:39:36,217 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
mpl.java:39)
20:39:36,217 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
ccessorImpl.java:25)
20:39:36,217 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
20:39:36,217 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocat
ion.java:112)
20:39:36,217 ERROR [STDERR]     at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(Invocati
onContextImpl.java:166)
20:39:36,217 ERROR [STDERR]     at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB
3InterceptorsInterceptor.java:63)
20:39:36,217 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocat
ion.java:101)
20:39:36,233 ERROR [STDERR]     at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.i
nvoke(TransactionScopedEntityManagerInterceptor.java:54)
20:39:36,233 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocat
ion.java:101)
20:39:36,233 ERROR [STDERR]     at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperati
onsInterceptor.java:46)
20:39:36,233 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocat
ion.java:101)
20:39:36,233 ERROR [STDERR]     at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
20:39:36,233 ERROR [STDERR]     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.
java:191)
20:39:36,233 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocat
ion.java:101)
20:39:36,233 ERROR [STDERR]     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagatio
nInterceptor.java:76)
20:39:36,233 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocat
ion.java:101)
20:39:36,233 ERROR [STDERR]     at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(Stat
elessInstanceInterceptor.java:62)
20:39:36,233 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocat
ion.java:101)
20:39:36,233 ERROR [STDERR]     at org.jboss.aspects.security.AuthenticationInterceptor.invoke(Authe
nticationInterceptor.java:77)
20:39:36,233 ERROR [STDERR]     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3
AuthenticationInterceptor.java:102)
20:39:36,233 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocat
ion.java:101)
20:39:36,233 ERROR [STDERR]     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInt
erceptor.java:47)
20:39:36,233 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocat
ion.java:101)
20:39:36,233 ERROR [STDERR]     at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(Asynch
ronousInterceptor.java:106)
20:39:36,233 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocat
ion.java:101)
20:39:36,233 ERROR [STDERR]     at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(Statele
ssContainer.java:263)
20:39:36,249 ERROR [STDERR]     at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
20:39:36,249 ERROR [STDERR]     at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AO
PRemotingInvocationHandler.java:82)
20:39:36,249 ERROR [STDERR]     at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
20:39:36,249 ERROR [STDERR]     at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
20:39:36,249 ERROR [STDERR]     at org.jboss.remoting.transport.socket.ServerThread.processInvocatio
n(ServerThread.java:358)
20:39:36,249 ERROR [STDERR]     at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThre
ad.java:398)
20:39:36,249 ERROR [STDERR]     at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread
.java:239)
20:39:36,249 ERROR [STDERR] Caused by: org.jboss.resource.JBossResourceException: Wrong credentials
passed to getConnection!
20:39:36,249 ERROR [STDERR]     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.chec
kIdentity(BaseWrapperManagedConnection.java:408)
20:39:36,249 ERROR [STDERR]     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.getC
onnection(BaseWrapperManagedConnection.java:202)
20:39:36,249 ERROR [STDERR]     at org.jboss.resource.connectionmanager.BaseConnectionManager2.alloc
ateConnection(BaseConnectionManager2.java:405)
20:39:36,249 ERROR [STDERR]     at org.jboss.resource.connectionmanager.BaseConnectionManager2$Conne
ctionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
20:39:36,249 ERROR [STDERR]     at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(W
rapperDataSource.java:103)
20:39:36,249 ERROR [STDERR]     ... 39 more

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078872#4078872

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078872



More information about the jboss-user mailing list