The change discussed in the indicated thread was in the 3.0.5 release. Provide
more info about what is occuring that the point of the
javax.resource.ResourceException and show that full stack trace as the provided
stack trace an an NPE occuring after the fact.
Or, even better, get the 3.0.5 source:
http://prdownloads.sourceforge.net/jboss/jboss-3.0.5-src.tgz?download
Edit the
jboss-3.0.5-src/connector/src/main/org/jboss/resource/adapter/jdbc/local/LocalManagedConnection.java
file to print out the properties that are failing the comparison as shown here:
private void checkIdentity(Subject subject, ConnectionRequestInfo cri)
throws ResourceException
{
Properties newProps = mcf.getConnectionProperties(subject, cri);
if (!props.equals(newProps))
{
System.out.println("checkIdentity failure");
Thread.dumpStack();
System.out.println("props: "+props);
System.out.println("newProps: "+newProps);
throw new ResourceException("Wrong credentials passed to getConnection!");
} // end of if ()
}
build the dist by running jboss-3.0.5-src/build/build.sh from within the
jboss-3.0.5-src/build directory and then copy the
jboss-3.0.5-src/connector/output/lib/jboss-local-jdbc.rar over your
deploy/jboss-local-jdbc.rar and create a bug report with this info on sourceforge.
--
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
Meyer-Willner, Bernhard wrote:
> Hi,
>
> can anybody please contribute anything to this topic. It is extremely
> important an strange!!!!!!
>
> Our app always ran smoothly on JBoss 3.0.5 and Oracle 8 till at one point we
> received the stacktrace you can find at the end of the email.
>
> I tried finding something about this on the web and found a thread from the
> jboss-dev list dated April 30, 2002
> (http://www.geocrawler.com/mail/thread.php3?subject=%5BJBoss-dev%5D+Re%3A+Wr
> ong+credentials+passed+to+getConnection%21&list=10766) where David Jencks
> and Stephen Coy were
> debating the issue. As far as I have understood the conversation it has
> something to do with a mistake in both or one of the following JBoss
> classes:
>
>
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory>
org.jboss.resource.adapter.jdbc.local.LocalManagedConnection>
> Has anyone ever run into this exception, knows anything about it, knows if
> it applies to JBoss 3.0.5 and could maybe tell me more about it, in what
> circumstances it occurs, in which release of JBoss it has been fixed.
>
> Since we need to stay with 3.0.5 it would also be extremely helpful, if
> someone could tell me how to apply a patch - if one exists - or if it
> necessary to get those files from CVS (what's the appropriate source) and
> rebuild JBoss by myself.
>
> Thanks so much for any info on this!
>
> Regards,
> Bernie
>
>
>
> Stacktrace:
>
> 13:57:49,864 ERROR [CSSyncBean] startSynchronisation :: SQLException : Wrong
> credentials passed to getConnection!; - nested throwable:
> (
javax.resource.ResourceException: Wrong credentials passed to
> getConnection!)
> 13:57:49,912 ERROR [LogInterceptor] RuntimeException:
>
java.lang.NullPointerException> at
> com.logica.isis.server.al.ctrlservice.sync.CSSyncBean.startSynchronisation(C
> SSyncBean.java:309)
> at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
JBoss-user@(protected)
https://lists.sourceforge.net/lists/listinfo/jboss-user