Google
 

Sunday, July 29, 2007

Solved: JRoR, Goldspike + NetWeaver

I finally managed to get a database backed JRuby on Rails application to run smoothly on SAP NetWeaver '04 (J2EE1.4 + JDK1.4).

What I needed to do to get it working was:

  1. Adding the MySQL jar file to war.rb (thanks to Raphaël for leading me in that direction)
  2. Moving my code to an empty rails application (perhaps something went wrong with the goldspike plugin?)
  3. Creating the war file using goldspike
  4. Building jruby.jar for myself
  5. Deleting jruby-complete-1.0.jar from the war file, and adding my own jruby.jar together with a couple of other dependent jar files (seems to be the ones from retroweaver).
  6. Packaging and deploying the war file to the NetWeaver Application Server

Note: I tried to just build jruby-complete.jar, but for some reason it didn't work (I got a NoClassDefFoundError: null in line 715 of Ruby.java). That's why I built jruby.jar instead.

So I actually have my first JRuby on Rails application running on SAP NetWeaver 2004 now! :-)

I'm all joy.

The SQL Server issue still remains, but is of less importance.

technorati tags:, , , , , , , , , , , , ,

Thursday, July 26, 2007

Issue: JRuby on Rails, Goldspike, NetWeaver

I'm having a couple of issues running a JRuby on Rails application on SAP NetWeaver Application Server.

First of all I wan't to be able to use the DBMS of the NetWeaver App. Server, which in my case is Microsoft SQL Server 2000. But currently there is no working support for SQL Server in activerecord-jdbc 0.4. Hope to find a work-around soon (tried different jdbc drivers, but those are not the issue - actually I know what the issue is, but not how to fix it because when using netbeans 6 you don't seem to get the sources for the gems you are using).

The next issue is that if I use MySQL instead of MS SQL, JRuby can't find the rubygems I use in the WAR file generated by the goldspike plugin (ServletException: Failed to load rubygems).

I just wanted to tell the world about my issues, because I can't seem to find an answer to my trouble anywhere, and the JRuby experts seem to be on (a well-deserved) vacation ;-)

If anyone out there have faced the same issues (or similar), please let me know. Until then I'll continue to try and find a solution (and let you know when I succeed).


technorati tags:, , , , , , , ,

Tuesday, July 24, 2007

New Nokia Maps on N95

The new pre-release version of Nokia Maps can be installed on N95, though the website doesn't initially say so.

This article describes how to install it on the N95:
http://www.3g.co.uk/3GForum/showthread.php?t=62157&highlight=nokia+maps

More information on the new features can be read here:
http://thenokiablog.com/2007/06/15/preview-nokia-maps-10-update/

Thanks to myn95 for the tip.

UPDATE: Check out these newer posts for updated information:
http://luposlip.blogspot.com/2007/08/nokia-maps-10-update.html
http://luposlip.blogspot.com/2007/08/nokia-maps-10-finally-for-n95.html
http://luposlip.blogspot.com/2007/08/new-nokia-map-loader-12.html

technorati tags:, , , , , ,

Monday, July 23, 2007

My N95 keeps rebooting!!

Last week I got the time to investigate why my N95 often reboots when somebody calls me. It's been doing it always, but to begin with only occasionally.

A couple of days ago I deinstalled any third party software I've ever installed on it, and it kept on doing it. The reason for me to do this now is that it now reboots itself almost every time somebody calls me.. Argh!

Well, I backed it up, reset it to factory settings, took out my SD card, and gave it to my reseller to have him fix it. He borrowed me a Nokia 3130, which I'll have to cope with for about 2 weeks... Bummer!

Has anyone else out there experienced the same kind of reboot-trouble?


technorati tags:, , , ,

JavaFX Compiler; awesome performance

While I was on vacation, Chris Oliver worked on the compiled version of JavaFX Script. And the preliminary results is awesome - the result for now is a amazing 54x performance gain!

See the post for yourself here:
http://blogs.sun.com/chrisoliver/entry/first_steps_with_the_javafx


technorati tags:, , ,

Warning: Jealous computers!!

A warning from jealouscomputers.com to all owners of nseries (and particulary N95) popped in during my vacation last week:

Thanks for the warning, Darla Mack.

technorati tags:, ,

Thursday, July 12, 2007

Nokia Music Launched!

Nokia just announced their launch of Nokia Music!

Strangely they don't seem to support other phones than 5300, 6085 and N75..!?

If anyone knows otherwise, please comment on this post. I couldn't find any information on how to access the service from the N95. But as far as I'm concerned, all the features listed on the Nokia Music site is already available on the N95. Features such as (taken from the feature list of the N75):

  • Dedicated music keys
  • Synching of music from media players
  • Support for many various formats
  • Playlists and equalizer
  • Stereo FM player
  • Stereo hands-free with 3D audio, and
  • Stereo Bluetooth audio
Hmm..

technorati tags:, ,

Wednesday, July 11, 2007

Bidirectional binding in JavaFX

In the next version of the JavaFX interpreter, Chris Oliver introduces a genious concept he calls bidirectional binding.

In short it means that you can now bind a value, Y, to a function of another value, X. When you change the value of X, Y changes automatically - this is ordinary binding.

The magic happens if you change the value of Y. Then JavaFX performs a reverse calculation, to rectify the value of X!!

A small example from Chris's blog:

// arithmetic
var x = 10;
var y = bind -x + 100;
assert y == 90;
y = 40;
assert x == 60; // passes

Chris' blog post also contains an example for logical negation, as well as for sequence elements.

technorati tags:, , ,

Saturday, July 7, 2007

New N95 Firmware (incl. A-GPS)!!

By reading this I realized that Nokia has finally released the much anticipated new firmware for the N95.

The much anticipated new firmware for the Nokia N95 has arrived. And yes, it's the one that includes assisted GPS (A-GPS), which makes the GPS lock in to it's position much faster than before, as well as navigating indoor (well, perhaps not really navigating, but at least finding out approximately where you are, and in which direction you move).

Before you begin, remember to backup your phone memory! You can do this from Nokia PC Suite.

Afterwards, go to this site to get the update (and follow instructions):
http://europe.nokia.com/softwareupdate

This fetches the NokiaSoftwareUpdater_setup.exe (I got version 01.03.084.28415), which identifies the new 12.0.013 firmware:

After complete installation of the new update, disconnect the phone, and let it post install everything if it needs to (it took about 20 seconds on my phone).

Then you can restore your backup to the phone memory. You do this the same place as you took the backup. In my case from the Nokia PC Suite -> Backup -> restore.

That's it! :-)

Now it's time to play around with the new A-GPS feature. You can check that it is enabled in the settings -> general -> positioning -> pos. methods -> assisted gps.

When you start the Maps application, it will ask you to choose an internet connection, to let it ask a server for satellite positions (time based).

Have fun!

technorati tags:, , , , , , , , ,

Wednesday, July 4, 2007

Java SE 6.0 update 2 available

If you missed it, you can go get the newest update to Java SE 6.0 (update 2) from here:
http://java.sun.com/javase/downloads/index.jsp

The list of changes can be found here:
http://java.sun.com/javase/6/webnotes/ReleaseNotes.html


technorati tags:,

Netbeans 6.0 M10 released

1½ days ago, the Netbeans team announced the availability of the Netbeans 6.0 Milestone 10 build!

It includes a lot of bugfixes/improvements, including JRuby 1.0 and much more.

Furthermore, it now includes both glassfish v2 build 53, and Tomcat 6.0.13.

Go get it! :-)

A list of changes can be found here:
http://wiki.netbeans.org/wiki/view/NewAndNoteWorthyMilestone10


technorati tags:, , , ,