Tuesday, 30 December 2008

Round-up

pda: can't get the sample GWT app to run. Suspect I'm lacking java runtime support. Java support on mobile is not same as on desktop. Trying installing Opera - insufficient space... nightmare. Opera installed and I now have GWT on WM5 but Opera needs a lot of ram. Moving the cache - which can be done through opera:config (but you have to scroll down a long way).

tomcat: you don't need tomcat to support client side javascript, however you do need a web server. Apache httpd does fine.

The following URLs work fine from fuji:
  • http://localhost:8080/examples/jsp/
  • http://fuji.slm.dnsdojo.net:8080/examples/jsp/
  • http://fuji.slm.dnsdojo.net:8080/sw/StockWatcher.html
  • http://www.slm.dnsdojo.net/content/tech/gwt/tests/StockWatcher.html
Haven't yet figured how to deploy my static site into local tomcat, don't expect a big deal here though.

Firefox crashing A LOT

Could it be a java problem?

Tomcat

I thought I was going to have problems debugging Java webapp but no, it was Tomcat installation.

BTW: having rebooted, let's see if synce:/// still works or not. Something wrong with usb. After swapping to a direct connection to avoid problems with hub, syslog gets:

Dec 30 09:50:55 fuji kernel: [ 2321.307330] eth1: unregister 'rndis_host' usb-0000:00:1d.7-6.1, RNDIS device
Dec 30 09:51:27 fuji kernel: [ 2354.060022] usb 4-2: new low speed USB device using uhci_hcd and address 18
Dec 30 09:51:28 fuji kernel: [ 2354.920022] usb 4-2: new full speed USB device using uhci_hcd and address 19
Dec 30 09:51:29 fuji kernel: [ 2355.179328] usb 4-2: configuration #1 chosen from 1 choice
Dec 30 09:51:29 fuji kernel: [ 2355.282171] eth1: register 'rndis_host' at usb-0000:00:1d.3-2, RNDIS device, 80:00:60:0f:e8:00
Dec 30 09:51:33 fuji kernel: [ 2359.603206] nm-system-setti[6412]: segfault at 14 ip b7fe5ce9 sp bf9078c0 error 4 in libnm-settings-plugin-ifupdown.so[b7fe0000+8000]

sometime later, without my intervention (but i think maybe pda wet to sleep)

Dec 30 10:01:33 fuji kernel: [ 2960.048051] usb 4-2: USB disconnect, address 19
Dec 30 10:01:33 fuji kernel: [ 2960.051348] eth1: unregister 'rndis_host' usb-0000:00:1d.3-2, RNDIS device
Dec 30 10:03:09 fuji kernel: [ 3056.140020] usb 4-2: new full speed USB device using uhci_hcd and address 20
Dec 30 10:03:10 fuji kernel: [ 3056.331472] usb 4-2: configuration #1 chosen from 1 choice
Dec 30 10:03:10 fuji kernel: [ 3056.468597] eth1: register 'rndis_host' at usb-0000:00:1d.3-2, RNDIS device, 80:00:60:0f:e8:00
Dec 30 10:06:29 fuji gvfsd-synce[16622]: GVFS-CRITICAL: g_mount_spec_set_with_len: assertion `value != NULL' failed

i think that gvfsd report coincides with opening nautilus into the device or its storage card.

Anyway: hitting the app from desktop works ok, but from the mobile it doesn't.

Why can't I get into Tomcat admin? Because the bloody lines are commented out by default in tomcat-users.xml.

Notice also that the docs speak of conf/ but if you look in /etc/tomcat6 you find the configs right there. Suspect this is because, looking in the installation root (see main page) conf is a symlink to /etc/tomcat6

Monday, 29 December 2008

GWT experimentation

In at the deep end...

Java in Eclipse on GWT

Starting point Google Code

PDA Wars

PDAs: love 'em, hate 'em, but we're stuck with them...

Tried to get sync working with synce on linux, haven't been able to browse through the usb connection since. The PDA gets no IP. Some configuration had to change for the synce attempt to disable. Can't figure what it was. Maybe having the pda connected to the wrong mini-usb didn't help. There are 3 to choose from.

In between transcoding mythtv output - a whole different saga - I managed to reboot fuji and now I find that synce:/// in nautilus actually works. IIRC, fuji is runing intrepid:

Linux fuji 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux

Well, I tried and failed to get a photo in here of the inside of the pda. Some issue in blogger by the look of it.

Now synce:/// is failing, the pda is discharging despite being on usb - which isn't getting an IP on USB because there's no server within reach.

So, browser access from the pda isn't as smooth as I'd like but it does work. Better get something ready to test... (Java/Eclipse/GWT)