Oct
07
2009
0

JBoss and Oracle connection failing with java.lang.NoSuchMethodError: oracle.sql.converter.CharacterConverters.toUnicodeChars

Ever saw some/none of the DB calls in jboss (4.2.3) and oracle (9i) failing with the following error. The exceptions can be all different types, but eventually caused by this following exception.

.
.
Caused by: java.lang.NoSuchMethodError: oracle.sql.converter.CharacterConverters.toUnicodeChars([BI[CII)I
.
.

This happened when I tried to switch databases this morning (both Oracle 9i) . Nothing fixed it till I replaced both the Driver jars(nls_charset12-10.2.0.jar, ojdbc14-10.2.0.jar) , preferrably from somwhere the connection is working, I took them from a colleague.  Or you can try and download the latest drivers as well. But make sure to delete your server work and temp directories.

Written by Kishore in: java |
Mar
10
2009
0

Subversion proxy connection issues with Eclipse (In windows)

If you are having issues connecting to your subversion repositories from Eclipse (May be with Subversive/Subclipse). Try the following.

Enter proxy details into Subversion configuration:

Open servers file in the following location

Window XP
C:\Documents and Settings\MyUserId\Application Data\Subversion\servers
Windows Vista
C:\Users\Clientside\AppData\Roaming\Subversion\servers

Update following lines at the end of file

[global]
http-proxy-exceptions = yourproxy exceptions (e.g. dev.company.com.au)
http-proxy-host = yourproxyhost (e.g. proxy.company.com.au)
http-proxy-port = your proxy port (e.g. 8080)
http-proxy-username = proxyusername
http-proxy-password = proxypassword

This step might not be needed all the time

Update Eclipse Proxy settings

Windows > Preferences

Type ‘proxy‘ in the filter text box. Go to ‘Network Connections’ config page. Choose manual proxy configuration and Update the proxy details.

Written by Kishore in: eclipse, java | Tags: , , , ,
Jun
20
2008
0

Eclipse/RAD debugger timing out before starting server

Is your RAD/Eclipse Java debugger timing out before starting the server?

Have a gazillion projects in RAD/Eclipse which all have to be deployed in server for debugging all the time like I do?

There is an easy way to increase RAD/Eclipse debugger timeout.

  1. Go to Windows > Preferences > Java > Debug
  2. Increase both “Debugger time-out” and “Launch time-out” value to be much larger. Try values like 180000/360000 respectively for time-out values of 3 and 6 mins.

Full article at IBM

http://www-1.ibm.com/support/docview.wss?rs=2042&context=SSRTLW&context=SSJM4G&context=SSSTY3&context=SSCGQ7C&context=SSDV2W&uid=swg21212755&loc=en_US&cs=UTF-8&lang=en

Written by Kishore in: eclipse, java | Tags: , ,
Jun
12
2008
0

Looks like Sun hired a Web Designer finally

Looks like sun hired a web designer finally.. Evidence a second cool website from Sun. Here by cool I mean simple, elegant and informative.

http://www.opensolaris.com/

Check it out for your self.

Written by Kishore in: java, tech |
Jun
09
2008
0

A cool new look for Java.com

I have always felt let down as java developer about Sun websites.. They make a bad example of themselves in web. Opposed to Microsoft and Adobe who make stunning first impressions.

Sun should do more sites like this ..simple and informative.

Check it out.. I’m sure you will like the cool new look.

http://www.java.com/en/

Written by Kishore in: java, tech |

Powered by WordPress. Theme: TheBuckmaker