Feeds:
Posts
Comments

According to ‘Java Advent Calendar’ I just blog Getting Started Java on Raspberry PI.

First you should choose Java – Oracle Java or OpenJDK.if you choose Oracle Java you should use ‘Soft-float Debian wheezy’,or wont work on ‘Hard-float’,is a bit older.if you use Rev.B w/512MB after installation to SD,you should replace start.elf as follows.

git git://github.com/raspberrypi/firmware.git
cd firmware;git checkout;git checkout -b 48f8bb0e47
cd boot
cp armXXX_start.elf /Volume/$SD_NAME/start.elf (Mac OS X)
*arm496_start.elf or arm448_start.elf is prefer to use.

and please be careful installing JBOSS,use Oracle Java Embedded Suite for the installation.

if you use OpenJDK,you don’t have to.only download ‘Hard-float Raspbian wheezy’ and get it with apt-get.if you use jetty you might use JamVM,lightweight VM for Embedded.the installation is as follows.

sudo apt-get install openjdk-7-jdk git libtool autoconf automake
git clone git://git.berlios.de/jamvm
cd jamvm
./autogen.sh –with-java-runtime- library=openjdk7
make
sudo cp src/.libs/libjvm.so /usr/lib/jvm/java-7-openjdk-armhf/jre/lib/arm/jamvm/

hope to make it with Java you should also check my slideshare http://www.slideshare.net/masafumi_ohta/raspberry-pi-on-java-20121110

Next @tanaka733 -san

According to ‘irof Advent Calender by Japan Java Users Group It is my turn today I would blog a ‘Joke’ :-p

I am newcomer of Japan Java Users Group so I don’t know famous Java Guys ‘irof-san’.I have heard many Japanese Java Guys he is very famous Kansai-Jin…but I haven’t met him…I only know ‘rofiadm’ command by OpenSolaris,which is for mounting iso onto devices.

*mounting iso
bash-3.00# lofiadm -a /var/tmp/sol-10-ccd-GA-sparc-iso.iso
/dev/lofi/1

*checking iso mounting to devices
bash-3.00# lofiadm
Block Device File
/dev/lofi/1 /var/tmp/sol-10-ccd-GA-sparc-iso.iso

*mounting devices to be available
bash-3.00# mount -F hsfs /dev/lofi/1 /mnt
bash-3.00# ls /mnt
README components installer volstart

*umount from OS and umount iso
bash-3.00# umount /mnt
bash-3.00# lofiadm -d /dev/lofi/1
bash-3.00# lofiadm
Block Device File

Next turn @yukieen -san

JBOSS on PI

According to ‘Java EE Advent Calendar by Japan Java UG.so I would blog JBOSS on PI but very slow so need some turnings.

Checking website it needs Oracle Java and ‘root’ privilege so I need Soft-ABI rasbian.and change start.elf to use 512MB (if you have Rev.B w/512MB)

Download Oracle Java Embededd Suite:http://download.oracle.com/otn-pub/java/JES/7.0-b11/jes-7.0-ga-bin-b11-linux-arm-runtime-15_nov_2012.zip
(not jdk,say ‘server VM only support ARM7+’)

And Download JBoss AS7:http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip

in my case exacting the files to /opt

needs .bash_profile and active with ‘source .bash_profile’ for root
add to JAVA_HOME PATH to .bash_profile,

JAVA_HOME=/opt/jes7.0/jre
PATH=$PATH:$JAVA_HOME/bin
export JAVA_HOME PATH

run standalone.sh as root:
#/opt/jboss-as-7.1.1.Final/bin/standalone.sh -b 192.168.100.8 (your PI IP address)

=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /opt/jboss-as-7.1.1.Final

JAVA: /opt/jes7.0/jre/bin/java

JAVA_OPTS: -server -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml

=========================================================================

05:35:05,272 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
05:35:09,249 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
05:35:10,217 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final “Brontes” starting
05:35:34,040 INFO [org.xnio] XNIO Version 3.0.3.GA
05:35:34,115 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
05:35:34,362 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
05:35:34,640 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
05:35:35,691 INFO [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin Subsystem
05:35:35,830 INFO [org.jboss.as.clustering.infinispan] JBAS010280: Activating Infinispan subsystem.
05:35:36,064 INFO [org.jboss.as.naming] JBAS011800: Activating Naming Subsystem
05:35:36,178 INFO [org.jboss.as.security] JBAS013101: Activating Security Subsystem
05:35:36,362 INFO [org.jboss.as.osgi] JBAS011940: Activating OSGi Subsystem
05:35:36,508 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
05:35:40,303 INFO [org.jboss.as.security] (MSC service thread 1-2) JBAS013100: Current PicketBox version=4.0.7.Final
05:35:40,559 INFO [org.jboss.as.connector] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
05:35:43,667 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool — 54) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
05:35:44,093 INFO [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service
05:35:47,348 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-1) JBoss Web Services – Stack CXF Server 4.0.2.GA
05:35:48,015 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
05:35:53,151 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http–192.168.100.8-8080
05:36:03,365 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:9999
05:36:03,976 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory /opt/jboss-as-7.1.1.Final/standalone/deployments
05:36:04,397 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /192.168.100.8:4447
05:36:05,502 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
05:36:05,837 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
05:36:05,848 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final “Brontes” started in 66170ms – Started 133 of 208 services (74 services are passive or on-demand)

very slow so I have to some turning I will check later.

Next @btnrouge -san

We Japanese Raspberry PI Users Group will hold First Raspberry Jam in Tokyo.I am eager to hold for networking Raspberry PI Users in Tokyo sharing the thought,ideas or some.All are welcome – Apps,Cases,OSes,Langs..Beginners are welcome,needless to say,Intermediates and Advances.all you needs ‘Love for PI’ – be a fan for PI to get started the PI.fortunately you know Raspberry PI is for studying how computer works – not for business – not needed any speeds,performances.Making Cases for PI is great contribution for the PI’s communities,right?Not needed some IT skills you can getting started with PI!
We very welcome youngers,girls encouraging our JP RasPI UG.why dont you join us and much appreciate if you would come.

For more info please check the link.

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=57&t=24639

hope to see you soon!

It is too late…I was extremely busy at that time..getting troubled with Xsigo – and infiniband controller,was difficult to handle,you might need to know about how infiniband systems work.now acquired by Oracle,hope getting better in Oracle with Oracle VM. Well I have reported my boss,is not usual event – almost like Oracle OpenWorld my employees attend managed vendors their attendants would help looking around,telling recommended sessions,places for having a meals and so on,but OSCON is mainly for attendees networkings – talking others more and more,we Japanese is not good at.OSCON is hosted by O’Reilly but not having attendants help those like other events do.but was much great time.met many people,talked more and more to ensure networkings. There were two terms in OSCON: two days hands-on labs or deep dives and three days keynotes,sessions and the networking events everywhere.were all great.and fortunately I attended CLS12 almost of the attendees also attended OSCON so easily talking more and more.

DSC_0018

Former term I attended Arduino,R Distribuiton,MySQL Cluster,and GlusterFS.I wondering there were many Gurus at the Arduino beginners session :-p.but very interesting – lately I am thinking of another ‘aspects’ of BigData I mean it has different way -I too much focused on ‘Hadoop’ as BigData system – it is very complex system to understand,especially MapReduce,but lately I would focus on memcashed and analysis – faster executions for key-value data easily and strict analysis like academic researches.we just really too much focus on Hadoop as BigData because it is the best way to execute BigData faster (of course it is for store and forming BigData).but lately executing Database on memories is good way to execute Bigdata faster also – memories and SSDs are getting faster.And Hadoop is now getting easier by Cloudera we just have to focus analysis – we haven’t found the best way and there are much more solutions producing vendor and releasing as OSS,yes is R Distribution – we might need knowledges about statics for the analysis- like academic researches,but we have had any chances to study such statics yet (or hiring ?)…. I am now interested in Gluster but I havent tried and my customers are interested as OSS based store systems.will have to try (they said Gluster might work on Solaris?really??)

It was my fault to choose latter ‘sessions’ – I had no time to investigate how the event was (of course about CLS12..) before so I did it randomly mainly BigData and M2M.almost Hadoop sessions can hear also in Japan with no delay…a Japanese attendee told me that…he said I might have checked the descriptions in detail…and more I had attended the Cloudera hadoop seminar 1 week before the event so I really feel…but M2M sessions ware fun – Arduino,Raspberry PI and some more gadgets.In U.S. Linux Gadgets are used for education especially K12.is for studying electric DIYs and learning lT languages using sample files.Here in Japan is not,is for something like Geiger counter and Thermo sensor.And wondering there are some community sessions mainly discussing community encouragement.in Japan we haven‘t talked more about such ‘encouragement’ though getting less community members.I met my friends who concerning illumos project,they now planning to have some for encouraging community members.many more of my friends presented at OSCON.I will check MySQL connector for Arduino perhaps it will be useful for gathering the data easily to Arduino.

keynotes were wonderful,Simon talked OSI and O’reilly talked about SMB growing up with OSS,VPS and Cloud in U.S. – so is in Japan,Sakura Internet cheapest cloud and VPS service lead Japanese SMB,much more low cost and very useful UI for their customers.And I was very interested Juju by Ubuntu it is very easy to control Hadoop,Cassandra,MySQL,Node.js – like OSS for servers.

DSC_0162

There were a bit time to see the booth at the exhibition but interested in OpenShift by Redhat – it was cheap and easy to use.And I didn’t know Japanese Arduino compatible machines exhibited at Make booth – there were much ppl gathered to see Sakura gadgets.wonderful to see many OSS booth and ppl were friendly to talk – was great.

Networking events and attractions were GREAT.O’reilly help encouraging the events for networking,tags,lunches and parties at every nights.I met many ppl and talk to them for networking.much impressed.also met old friends I used to work with them when I was Core Contributor for OpenSolaris.I still have regretted my poor English skill – couldn’t talk more but they warmly welcome to me.much appreciated.

DSC_0325

Anyway it was very fun to attend OSCON through a week and having talks more and more to OSS guys.I remembered guys who talked to me at OSCON and CLS said ‘see you next year!’ leaving for the airport going back to Japan.Hope,I wish I could go FOSDEM and meet some of them.

P.S. Thanks Pat Patterson of Salesforce took me and my customer to dinner.had a great time to talk more.and thanks my friends all over the world talk to me more to share your idea with me.I do hope to see you at OSCON 2013 next year!

R.I.P. Steve Jobs

R.I.P Jobs – I went to Infinite Loop – Apple HQ last year I have heard he has passed away through Oracle OpenWorld 2011.I saw many massages,flowers..more at Apple Store in SF downtown.so I would go there.

I rode Caltrain SF sta. to Sunnyvale Sta. and rode the bus to Infinite Loop ( you should ask the driver the bus stops near the HQ).You traveller can go not renting any cars or motorcycles ( I would ride and driver though I had no time to do that ).

DSC_0949

DSC_0960

DSC_0962

I saw much more flowers,messages,a bit Japanese who looked sightseeing in SF.

DSC_0974

For more pics happend in the HQ please following my flickr http://www.flickr.com/photos/ohta_masafumi/sets/72157627925034454/with/6258248240/

In this year I couldn’t go JavaOne and Oracle OpenWorld so I now watching videos praying for him.

Rasberry PI resaler CPC

CPC is sis company of Element14,which has been manufacturing Raspberry PI since the Rev.2 has been released,now having much more stocks for PI.it is almost a week to deliver.Their international customers need to contact with internationalsales@cpc.co.uk.you can use credit card or paypal

last week I purchased an order 3 PIs.cost me 91.19£ (12,177 JPN Yen) included shipping fee (UPS),the international sales said the fee was same till 11 units.in this case it was my trial purchase – you know it is too much long time to deliver from RS components,almost 10 week! – so I tried to buy 3 units to check how long it take to deliver to Japan.

The sales was not good – mistook delivery places and it was 3 days they checked my payments (PayPal) – a bit long.fortunately UPS told me yesterday they correctly deliver.Perhaps it was their new delivery to me so next time it won’t be happened – I do hope.

Anyway there were a bit problem with them,getting my PIs though,they will deliver this week :-p I am happy to get new so faster.will try many to present two event – Japanese Android Bazzar in Tohoku and JJUC CCC in Tokyo.