Return to Jive Software

This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
716 Views 2 Replies Last post: Oct 28, 2009 11:24 AM by Kevin Imber RSS
proliant Novice 5 posts since
Sep 4, 2009
Currently Being Moderated

Oct 10, 2009 10:50 AM

Problem uploading avatars

Hi,

 

I have two servers running jiveforums with same configuration. JiveForums 5.5

Aplication server: WebLogic 10.3

OS. Red Hat

Same Classpath

Same jdbc drivers.

 

In one of the servers I don't have any problem with the forum, but in the other I'm getting an SQL Exception when loading an avatar for an user. I get the following error.

 

2009.10.08 09:07:26 [error] Failed to load Oracle JDK 1.4 JDBC drivers.

java.lang.IllegalArgumentException: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB@9da

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.jivesoftware.forum.database.DbAttachment.insert(DbAttachment.java:542)

at com.jivesoftware.forum.database.DbAttachment.<init>(DbAttachment.java:150)

at com.jivesoftware.forum.database.DbAvatar.<init>(DbAvatar.java:97)

at com.jivesoftware.forum.database.DbAvatarManager.createAvatar(DbAvatarManager.java:83)

at com.jivesoftware.forum.proxy.AvatarManagerProxy.createAvatar(AvatarManagerProxy.java:43)

 

 

Any ideas, I've seen another thread with a similar issue, but it is not stated how it was finally solved

http://www.jivesoftware.com/jivespace/thread/21510

 

Thanks!

cunneen Novice 16 posts since
Aug 14, 2003
Currently Being Moderated
Oct 11, 2009 3:42 AM in response to: proliant
Re: Problem uploading avatars

Hi Proliant,

 

It was my post that you referred to earlier.  We didn't determine the root cause of the problem; it disappeared when we moved the jive forums to a different machine.

 

It was most likely due to having multiple oracle JDBC drivers in the CLASSPATH, as suggested by Greg in the thread you referred to.  My suggestion on how to troubleshoot it would involve using the JSP code I provided, and uninstalling all of the oracle drivers you can find (to the point where jive and the JSP cause compilation errors).  Then try adding the thin oracle driver back in using weblogic connection pooling - the code requires the connection pool to be available at the JNDI name "comp/env/jdbc/jive".

 

Sorry I can't be of more help.

 

Cheers,

Mike Cunneen

Kevin Imber Jive Employee 293 posts since
Oct 19, 2009
Currently Being Moderated
Oct 28, 2009 11:24 AM in response to: cunneen
Re: Problem uploading avatars

Hello,

 

Would you try loading this same avatar that your forums has an error with on the other forums instance?  Also, have you checked whether you have multiple Oracle jdbc drivers in your classpaths?

 

Thanks,

Kevin

More Like This

  • Retrieving data ...

Bookmarked By (0)

To better serve our customers we have included functionality to automatically follow up on a case after it has been idle for more than 5 days, and then auto close after an additional 3 days of inactivity. Choose No to acknowledge that this case will remain idle for longer than 5 days.
Making cases public allows other customers to learn from the solution of the case. It can also be used to gain feedback from others in the community. Ask our Support Engineers for more info, but we encourage you to make your cases public.