<< getting into Pebble 2.3.1 | Home | Installing Apache 2.0.63 >>

Running JBoss on iPhone

Have you got your iPhone? I got mine 2 weeks ago. I'm pretty much satisfied with it despite the short battery life and slooow Japanese input method that are sometimes irritating me.

Did you know that you can install a flavor of JVM called JamVM to a Jailbroken iPhone? To me, It is inevitable to Jailbreak my iPhone so that I can play with opensource iPhone wares and getting Java softwares running on my iPhone.

I tried to install JBoss Application server to my iPhone and I call the result "Partly success". Here's a movie showing JBoss running on my iPhone.

iPhone has got 128MB of main memory and I believe it should be enough for running the "default" configuration which contains JBossWeb, EJB3 container and so on. However, I only could run the "minimal" configuration. In fact, I could boot the JBoss microkernel, but I couldn't plug-in any practical MBean to the kernel. Deploying JBossWeb to the minimal configuration caused OutOfMemoryError which means that the JVM ran out of memory. I'm guessing that it's because of the unstableness and inefficiency of JamVM. Once OpenJDK ported to iPhone, it might be possible to run full featured JBoss on your iPhone. Stay tuned!


listing JBoss AS 4.2.3's bin directory


starting up JBoss


JBoss in my pocket!

Here's the console output.
./run.sh: line 89: ulimit: open files: cannot modify limit: Invalid argument
run.sh: Could not set maximum file descriptor limit: unlimited
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /var/mobile/Java/jboss-4.2.3.GA

  JAVA: java

  JAVA_OPTS: -Dprogram.name=run.sh -Xms32m -Xmx32m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

  CLASSPATH: /var/mobile/Java/jboss-4.2.3.GA/bin/run.jar

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

00:28:04,510 INFO  [Server] Starting JBoss (MX MicroKernel)...
00:28:04,524 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
00:28:04,553 INFO  [Server] Home Dir: /private/var/mobile/Java/jboss-4.2.3.GA
00:28:04,556 INFO  [Server] Home URL: file:/private/var/mobile/Java/jboss-4.2.3.GA/
00:28:04,573 INFO  [Server] Patch URL: null
00:28:04,575 INFO  [Server] Server Name: minimal
00:28:04,578 INFO  [Server] Server Home Dir: /private/var/mobile/Java/jboss-4.2.3.GA/server/minimal
00:28:04,583 INFO  [Server] Server Home URL: file:/private/var/mobile/Java/jboss-4.2.3.GA/server/minimal/
00:28:04,587 INFO  [Server] Server Log Dir: /private/var/mobile/Java/jboss-4.2.3.GA/server/minimal/log
00:28:04,593 INFO  [Server] Server Temp Dir: /private/var/mobile/Java/jboss-4.2.3.GA/server/minimal/tmp
00:28:04,602 INFO  [Server] Root Deployment Filename: jboss-service.xml
00:28:10,913 INFO  [ServerInfo] Java version: 1.5.0,GNU Classpath
00:28:10,916 INFO  [ServerInfo] Java VM: JamVM 1.5.1,Robert Lougher
00:28:10,919 INFO  [ServerInfo] OS-System: Darwin 9.3.1,arm
00:28:15,044 INFO  [Server] Core system initialized
00:28:31,407 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
00:28:35,626 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 30s:994ms

I also tried JBoss AS 5.0 CR1, but failed with ArrayIndexOutOfBoundsException. The exception stacktrace is as following:

 JBOSS_HOME: /var/mobile/Java/jboss-5.0.0.CR1

 JAVA: java

 JAVA_OPTS: -Dprogram.name=run.sh -Xms32m -Xmx32m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

 CLASSPATH: /var/mobile/Java/jboss-5.0.0.CR1/bin/run.jar

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

00:47:24,519 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
00:47:24,535 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)
00:47:24,596 INFO  [ServerImpl] Home Dir: /private/var/mobile/Java/jboss-5.0.0.CR1
00:47:24,599 INFO  [ServerImpl] Home URL: file:/private/var/mobile/Java/jboss-5.0.0.CR1/
00:47:24,603 INFO  [ServerImpl] Library URL: file:/private/var/mobile/Java/jboss-5.0.0.CR1/lib/
00:47:24,621 INFO  [ServerImpl] Patch URL: null
00:47:24,623 INFO  [ServerImpl] Server Name: minimal
00:47:24,626 INFO  [ServerImpl] Server Home Dir: /private/var/mobile/Java/jboss-5.0.0.CR1/server/minimal
00:47:24,632 INFO  [ServerImpl] Server Home URL: file:/private/var/mobile/Java/jboss-5.0.0.CR1/server/minimal/
00:47:24,636 INFO  [ServerImpl] Server Data Dir: /private/var/mobile/Java/jboss-5.0.0.CR1/server/minimal/data
00:47:24,640 INFO  [ServerImpl] Server Temp Dir: /private/var/mobile/Java/jboss-5.0.0.CR1/server/minimal/tmp
00:47:24,644 INFO  [ServerImpl] Server Config URL: file:/private/var/mobile/Java/jboss-5.0.0.CR1/server/minimal/conf/
00:47:24,649 INFO  [ServerImpl] Server Library URL: file:/private/var/mobile/Java/jboss-5.0.0.CR1/server/minimal/lib/
00:47:24,656 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
Failed to boot JBoss:
java.lang.RuntimeException: Unable to create a KernelInitializer based on the specified KernelConfig
  at org.jboss.kernel.KernelFactory.createKernelInitializer(KernelFactory.java:156)
  at org.jboss.kernel.KernelFactory.assembleNewKernel(KernelFactory.java:99)
  at org.jboss.kernel.KernelFactory.newInstance(KernelFactory.java:67)
  at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.bootstrap(AbstractBootstrap.java:114)
  at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:83)
  at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:79)
  at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:398)
  at org.jboss.Main.boot(Main.java:209)
  at org.jboss.Main$1.run(Main.java:544)
  at java.lang.Thread.run(Thread.java:743)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
  at org.jboss.reflect.plugins.MethodInfoImpl.<init>(MethodInfoImpl.java:103)
  at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.<init>(ReflectMethodInfoImpl.java:69)
  at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getMethods(IntrospectionTypeInfoFactoryImpl.java:207)
  at org.jboss.reflect.plugins.ClassInfoImpl.getDeclaredMethods(ClassInfoImpl.java:394)
  at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getMethods(AbstractBeanInfoFactory.java:232)
  at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:153)
  at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:124)
  at org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(AbstractConfiguration.java:69)
  at org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(AbstractKernelConfig.java:65)
  at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.getImplementation(PropertyKernelConfig.java:175)
  at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.createKernelInitializer(PropertyKernelConfig.java:120)
  at org.jboss.kernel.KernelFactory.createKernelInitializer(KernelFactory.java:150)
  ...9 more
00:47:27,513 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
00:47:27,553 INFO  [ServerImpl] Shutdown complete
Shutdown complete
Halting VM
Conclusion: - iPhone and JamVM are smart enough to host JBoss AS instance - currently JBoss AS 5.0 doesn't boot on JamVM / iPhone

Tags :


Re: Running JBoss on iPhone

On embedded systems (such as ARM) JamVM has a much smaller maximum heap (e.g. 8 Mb).  Run jamvm -X and look for -Xmx.  This will show the default maximum.

You can increase this using -Xmx, e.g.

jamvm -Xmx32m ...


This will now allow the heap to grow to 32 megabytes.

Re: Running JBoss on iPhone

Thanks, Actually i tried with -Xms32m -Xmx32m.

Re: Running JBoss on iPhone

It is really works,thanks for this article,keep posting,looking for new posts.firefly tv box wintel box w8

Re: Running JBoss on iPhone

Nice, it work. goo

Re: Running JBoss on iPhone

Good work. livedoor

Re: Running JBoss on iPhone

Nice job. ameba

Re: Running JBoss on iPhone

Re: Running JBoss on iPhone

WRT: running this on JBoss5

I guess I can reproduce this with having JamVM on my laptop?
As it looks like JamVM treats annotations differently than other JVMs.

I try to make MethodInfoImpl handle this kind of annotations arrays,
but I suspect there might be other similar issues.

Will post my findings if I can get JamVM run on my machine.

About me

Considerably, the article is in reality the greatest on this noteworthy topic. I agree with your conclusions and will eagerly look forward to your next acai berry updates. Saying thanks will not just be sufficient, for weight loss pills the wonderful clarity in your writing. I will immediately grab your rss feed to stay privy of any updates. Pleasant work and much success in your business dealings!

Adidas Js Wings

he cost of the TBR15 puts it in competition with the Sunbeam 5891 bread machine

Adidas Js Wings

(In fact, it’s acknowledgment to ETA and Nivarox, addition fake rolex watches Group–owned supplier of components, that Swatch was able to accomplish the accumulation and accumulation of Sistem51 absolutely in-house. No Swiss watch cast alfresco of the Swatch Group would accept the basement and ability to accomplish that appear at scale.) OK, I do accept a buzz that tells the time, but afresh again, I acclimated to accept a abridged swiss replica watches because I anticipation that would be accurate too, but it wasn't. More... Like the aboriginal Swatch watches, the Sistem51 is the affectionate of addition that combines the attraction of the new with abating echoes of the past. Like its forebears, it’s an affordable watch that’s congenital by machine. And like the originals, this Swatch arrives at a moment if the Swiss industry is beneath advance by new technology and adopted competition. It’s too aboriginal to say whether Swatch can afresh accomplishment the Swiss industry, but its action seems sound. The Sistem51 isn’t just cloudburst old wine into new bottles: It’s a way to action the added absorption in nonwatch wrist abrasion by reintroducing the Swiss automated alarm to a added abject of consumers who couldn’t allow it before—and who ability not be able to allow an rolex replica uk either. But the ambition isn’t to attempt with Apple’s abstruse prowess: It’s to accomplish activity for Swiss adroitness on a abundant added base. As an entry-level brand, Swatch has consistently been about cartoon in abeyant watch buyers and activity as a aperture biologic to the Swatch Group’s higher-value offerings.

breitling replica

In case you hadn't noticed, it is gift-giving season, so this anniversary let's attending at rolex replica three rather chic and modernist watches that would accomplish absolute presents. We alpha with Nomos, a cast I aboveboard love. I've assertive endless … OK, four humans … to buy a Nomos and the affidavit are obvious: the designs are apple-pie and timeless, the replica watches uk has the authority of getting from Glashutte, in Germany, and it makes all its own movements. I consistently acclaim the Minimatik (bottom right), which, with its minimalist design, says a lot by adage actual little. Sized at a absolutely best 35.5mm, the animate case comes with arced azure glass. The punch is apple-pie although there are absolutely a few colours acclimated for the hands, the logo and the indices. The Minimatik is priced at HK$29,800. Like Nomos, Ressence is addition cast that is accepted on not alone breitling replica blogs but aswell architecture ones. Founded by Belgian automated artist Beno?t Mintiens, Ressence has all the elements of acceptable watchmaking with a few cogent modernist touches. Now I don't absolutely accept the allowance to explain the ability of the Ressence Type 1B (top right), so I acclaim blockage it out on YouTube. Actual briefly, the architecture conveys 3D time cogent as able-bodied as "movement", that is, if you move the case, the hours, account and easily acclimatize accordingly.

Nike Brand Shoes

Cool Grey Reflective Silver Pro Purple Pro Purple Nike LunarEclipse 2 Men's Running Shoes. We choose them as light or heavy, or fruity or floral.

Re: Running JBoss on iPhone

doudoune moncler enfant nouvelle cher

Re: Running JBoss on iPhone

I also have replica chanel I did called Party is Over with Kathy Baker from gucci outlet uk That one should be coming out soon.

Mrs

It can be a programmed response to disregard offers for protection spread when a businessperson tries to influence you about its ideals. Also in the event that you are a hopeful person, you may accept that your telephone will never get incidentally harmed or stolen. However it might be worth taking a minute to consider iphone protection, on the grounds that a telephone has ended up such an imperative piece of cutting edge life that current without it might be unbelievable for some individuals. homework help geometry

Re: Running JBoss on iPhone

Your blog very us full all my students. Your blog  providing good essay writing services and content writing topessayservices.com - best essay services review services . So many students very loving your blog information. Thank you.

Re: Running JBoss on iPhone

Deploying JBossWeb to the minimal configuration caused OutOfMemoryError which means that the JVM ran out of memory. I'm guessing that it's because of the unstableness and inefficiency of JamVM. Once OpenJDK ported to iPhone, it might be possible to run full featured JBoss on your iPhone. Stay tuned! read more here

Re: Running JBoss on iPhone

it should be enough for running the "default" configuration which contains JBossWeb, EJB3 container and so on. ebaycom

http://www.ok8uk.org.uk

What if there was a quartz fake rolex that was bargain and simple to produce, still had the cachet of getting Swiss made, and was marketed as a fun accent at a low price? It wouldn’t be your capital watch; maybe you’d accept a few of them, to abrasion in altered situations, or just for a season, or even two at a time. (The name rolex replica watches was a abbreviating of “second watch.”) Although the abstraction of a watch as appearance accent seems above accessible today, it was still actual abundant a change in the Swiss bazaar at the time. The aboriginal Swatch watches came out in 1983 and were an actual success. They were produced on a absolutely automatic accumulation band and had alone 51 apparatus (a affection echoed by the Sistem51), admitting added quartz watches had abutting to 100. The watches amount 10 swiss rolex francs to aftermath and awash for 50 each. The aggregation took off from there, bearing one accumulating afterwards another. The watches were acceptable quality, affordable Swiss quartz pieces, but they were aswell marketed altogether as fun, expressive, and eye-catching. They became a mass-market mainstay.

Re: Running JBoss on iPhone

JVM ran out of memory. I'm guessing that it's because of the unstableness and inefficiency of JamVM. Once OpenJDK ported to iPhone, it might be possible to run full featured JBoss on your iPhone. BMR calculator

Re: Running JBoss on iPhone

it should be enough for running the "default" configuration which contains JBossWeb, EJB3 container and so on. However, I only could run the "minimal" configuration. 302 crate engine

Re: Running JBoss on iPhone

I believe it should be enough for running the "default" configuration which contains JBossWeb, EJB3 container and so on. hay day cheats

Re: Running JBoss on iPhone

Deploying JBossWeb to the minimal configuration caused OutOfMemoryError which means that the JVM ran out of memory. t5 lighting

Re: Running JBoss on iPhone

I couldn't plug-in any practical MBean to the kernel. Deploying JBossWeb to the minimal configuration caused OutOfMemoryError which means that the JVM ran out of memory. venus factor john barban

facebook

this is the website that is claiming to give free fb account hacker from the other facebook profile.

Re: Running JBoss on iPhone

iPhone and JamVM are smart enough to host JBoss AS instance - currently JBoss AS 5.0 doesn't boot on JamVM / iPhone ewordpressthemes.net

Re: Running JBoss on iPhone

I am also happy with my iphone except the short battery life. All workd pretty good, but the battery gies very soon. If you are using 3G, then dont have to say anything. Mine was a genuine version, so no need of jailbreak software's . top medical billing companies

Re: Running JBoss on iPhone

Couldn’t agree more about Sansa and the fur! I’m convinced it’s a visual clue that she fully embraces her Stark identity and the devotion to the North that comes with it. Game of Thrones Season 6 Episode 1 online

Re: Running JBoss on iPhone

if you could choose who to marry in game of thrones, which character would it be and why?? Watch Game of Thrones Season 6 Episode 1 Online

Re: Running JBoss on iPhone

Here is a good reason Season 6 gathers, and now my watch begins. It shall not end 'til the season finale. I shall embrace no wife, mow no lands, entertain no children. I shall wear no ties and make no money. I shall live and die at my TV. I am the witness in the darkness. I am the watcher on the couch. I am the fire that burns the hand that tries to change the channel, the one who programs the DVR, the one who yells "NO TALKING!", the shield that guards the remote control. I pledge my life and honor to this seasons watch, for this night and all the nights to come.... till the end of this season.

Re: Running JBoss on iPhone

good post. site

Re: Running JBoss on iPhone

As Peter said in his interview....it good to have season 6 after season 5, anything looks good after season 5......Any hows Sundays are not going to be the same soon.:)) Read more: Game of Thrones Season 6 Episode 1

Re: Running JBoss on iPhone

iPhone is the best but the battery life is a real problem. Mine was all fine till some time, but then it started the battery issue. If time warner cable tv guide 3G is on the battery goes very fast. Still I love this phone.

Re: Running JBoss on iPhone

This will indeed give you a lot of options to choose from when compare to the restrictions that apple has inserted to it until now. I am sure this will prove to be of great use to you over the years to come. los angeles party rentals

Re: Running JBoss on iPhone

<a href='http://iplauction2016.in'>IPL live streaming score 2016</a>
<a href='http://iplauction2016.com'>IPL 2016 live streaming score</a>
<a href='http://icct20worldcup2016live.org/uefa-euro-2016-fixtures-schedule-time-table-starting-date-teams-tickets/'>UEFA Euro 2016 Starting Date</a>

Re: Running JBoss on iPhone

I also had the same problem with my iphone.Short battery life of iphone made me so irritated. Happy to know about JBoss application Server. I will surely install this. Thanks for sharing blogs like this which are very useful to us. Keep sharing. pain management doctors los angeles

Re: Running JBoss on iPhone

Your post has been always been so good and now i want to know the methods so to generate<a href="http://freecodeshub.com/itunes-gift-cards/">iTunes gift card online</a>  when we need it. These codes are lot helpful when we are at the store for iTunes and want to purchase music and TV shows. iTunes marked the end of previous version of music bylaunching apple music online.

Re: Running JBoss on iPhone

Ans so i have found here free itunes gift cards online so that  everybody can have the fun of music and TV shows.

agen bola sbobet

Experience to top and trusted sportsbook online where you can entrust your money safe and sound. Agen Bola Sbobet Agen Ibcbet

Re: Running JBoss on iPhone

Thanks a  lot .Pokemon go hacker

Re: Running JBoss on iPhone

Thanks for pokemon pokemongohacker.joomla.com/

SEO

Fligno will be able to help you to develop the best customized digital marketing plan to optimize your website.SEO

www.upresults.nic.in

Uttar Pradesh Board of High school and Intermediate Education has recently held the 10th Class Annual Board Examinations www.upresults.nic.in

Roll Up Banner

Iphone is my one of the best phone. I have used all iphones models. Now recently i have buy iphone 7 . This is amazing phone.

Re: Running JBoss on iPhone

Here you go guys, all relevant and the most trused situs agen bola dan bandar bola terbaik in Indonesia.

Re: Running JBoss on iPhone

Saya yang berpengalaman bermain [url=https://www.interwin.me]taruhan bola online[/url], selalu melakukan deposit di berbagai [url=https://www.idola188.info]situs judi online[/url] yang saya anggap bagus.

Re: Running JBoss on iPhone

Saya yang berpengalaman bermain taruhan bola online, selalu melakukan deposit di berbagai situs judi online yang saya anggap bagus.

Re: Running JBoss on iPhone

High qualityg games in permainan judi online is very satisfying

Add a comment Send a TrackBack