發表文章

How to download and install OS X El Capitan

1. Download the latest OS X from App Store or directly download from this link 2. Extract the pkg file. 3. Download DiskMaker X from  http://diskmakerx.com/ 4. Install and launch DiskMaker X. 5. Select the location of the extracted installer (pkg) file. 6. Select Another kind of disk or An 8GB USB thumb drive. 7. Quit from DiskMaker X. 8. Eject the thumb drive or disk and insert it into the target Mac. 9. Reboot or start the Mac and hold the option button of the keyboard.

Setup Scheduler Service on JBoss Application Server

 Step1). Create a directory somewhere in your file system like "/home/username/SchedulerDemo/SchedulerDemo". Step 2). Configure a scheduler mbean in jboss-server.xml or create a "myScheduler-service.xml" inside "/home/username/SchedulerDemo/SchedulerDemo" directory as following: xml version = "1.0" encoding = "UTF-8" ?> < server >      < mbean code = "org.jboss.varia.scheduler.Scheduler" name = "jboss.test:service=MyScheduler" >          < attribute name = "StartAtStartup" >true</ attribute >          < attribute name = "SchedulableClass" >test.MySchedulable</ attribute >          < attribute name = "SchedulableArguments" >MySchedulable,100</ attribute >          < attribute name = "SchedulableArgumentTypes" >java.lang.S...