Thanks. So far so good, packaged, installed, and I have daemonized pax runner.
Now, I just need to find a good osgi shell. Lets see if pax shell is up to the task Cam 2009/4/2 Thomas Joseph <[email protected]> > Sorry. I forgot to take that line out. Actualy, It needs JDK6, and my > default is JDK5. With this, I adjusted my build with a profile put in my > settings.xml without changing my default JDK. > > > On Thu, Apr 2, 2009 at 4:50 PM, Cameron Braid <[email protected]>wrote: > >> I tried to "mvn package" and it failed: >> >> [INFO] Compiling 4 source files to >> /media/workspace/drivenow-osgi/jdaemon/jdaemon-main/target/classes >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Fatal error compiling >> >> Embedded error: Error while executing the external compiler. >> java.io.IOException: error=2, No such file or directory >> >> I removed the <executable> element from jdaemon-main/pom.xml and it >> compiled fine >> >> Is this element really needed ? Seems like it puts an unnecessary >> requirement on the environment ? >> >> Cheers >> >> Cameron >> >> 2009/4/2 Peter Neubauer <[email protected]> >> >> That's OPS at work! >>> >>> /peter >>> >>> GTalk: neubauer.peter >>> Skype peter.neubauer >>> Phone +46 704 106975 >>> LinkedIn http://www.linkedin.com/in/neubauer >>> Twitter http://twitter.com/peterneubauer >>> >>> http://www.neo4j.org - New Energy for Data - The Graph Database. >>> http://www.ops4j.org - New Energy for OSS Communities - Open >>> Participation Software. >>> http://www.qi4j.org - New Energy for Java - Domain Driven >>> Development. >>> >>> >>> >>> On Thu, Apr 2, 2009 at 1:00 PM, Cameron Braid <[email protected]> >>> wrote: >>> > No worries. >>> > >>> > I'm just happy to see progress on the demonizing front :) >>> > >>> > I'll checkout your code later and give it a try. >>> > >>> > Cheers >>> > >>> > Cameron >>> > >>> > 2009/4/2 Thomas Joseph <[email protected]> >>> >> >>> >> Thanks anyway for giving info on the akuma. I was unaware of it. >>> Possibly, >>> >> I can borrow some ideas from there! >>> >> >>> >> /Thomas >>> >> >>> >> On Thu, Apr 2, 2009 at 3:13 PM, Thomas Joseph <[email protected]> >>> >> wrote: >>> >>> >>> >>> Hi Cameron >>> >>> >>> >>> Already there are solutions like the Commons Daemon. However, it is >>> very >>> >>> much native and have different solutions to linux and windows >>> platoform. I >>> >>> considered writing this in Java, so that it can be used uniformly >>> acorss >>> >>> platforms, just that we may need to change the script file that >>> actually >>> >>> starts the program. >>> >>> >>> >>> AFIK, in windows any program can be made as a service by a simple >>> command >>> >>> (but I don't know ;) ). And most of the service wrappers for windows >>> do just >>> >>> that. >>> >>> >>> >>> Till now, I have not tested this on other platforms other than Linux >>> (may >>> >>> be I will do this evening), but should work to my thinking. >>> >>> >>> >>> Again, what I have done is a quick proof of concept. It can be >>> improved a >>> >>> lot, with a bit of planning. >>> >>> >>> >>> On Thu, Apr 2, 2009 at 2:55 PM, Cameron Braid <[email protected]> >>> >>> wrote: >>> >>>> >>> >>>> I submitted this JIRA issue yesterday asking about daemonizing. >>> >>>> >>> >>>> http://issues.ops4j.org/browse/PAXRUNNER-228 >>> >>>> >>> >>>> The akuma library already does all the heavly lifting needed to >>> >>>> daemonize on linux. I think this would make a good solution for >>> linux - >>> >>>> however a different tact would need to be taken for windows (however >>> there >>> >>>> are many java service wrappers for windows) >>> >>>> >>> >>>> Cameron >>> >>>> >>> >>>> 2009/4/2 Thomas Joseph <[email protected]> >>> >>>>> >>> >>>>> Hi guys, >>> >>>>> >>> >>>>> I had tried to run pax-runner (or any other java program infact) >>> >>>>> daemonised. i.e. it will get detached from the terminal. We can do >>> a telnet >>> >>>>> to stop the service. >>> >>>>> >>> >>>>> It is available in my lab >>> >>>>> >>> https://scm.ops4j.org/repos/ops4j/laboratory/users/open4thomas/jdaemon >>> >>>>> >>> >>>>> Basic thing works on my Linux box. I did not try other platforms, >>> but >>> >>>>> should work I suppose. I did not try, but it should be fairyl smple >>> to make >>> >>>>> this as a windows service as well. >>> >>>>> >>> >>>>> If someone is intrested in trying it out, I will be happy to >>> recieve >>> >>>>> feedbacks. Beware that it pre-pre alpha and has lot of bugs :). >>> >>>>> >>> >>>>> PS: Few months back I had asked on this mailing list if pax runner >>> >>>>> could be daemonised. That time Alin asked me to make the effort if >>> I know >>> >>>>> it. Two weeks back I just took that effort after my office hours. >>> >>>>> >>> >>>>> -- >>> >>>>> Thanks and Regards, >>> >>>>> >>> >>>>> Thomas Joseph >>> >>>>> >>> >>>>> LinkedIn: http://www.linkedin.com/in/ethomasjoseph >>> >>>>> ------------------------------------------------------------ >>> >>>>> Promote Open Source - Promote Liberty of Ideas and Software. >>> >>>>> ------------------------------------------------------------ >>> >>>>> >>> >>>>> _______________________________________________ >>> >>>>> general mailing list >>> >>>>> [email protected] >>> >>>>> http://lists.ops4j.org/mailman/listinfo/general >>> >>>>> >>> >>>> >>> >>>> >>> >>>> _______________________________________________ >>> >>>> general mailing list >>> >>>> [email protected] >>> >>>> http://lists.ops4j.org/mailman/listinfo/general >>> >>>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >>> -- >>> >>> Thanks and Regards, >>> >>> >>> >>> Thomas Joseph >>> >>> >>> >>> LinkedIn: http://www.linkedin.com/in/ethomasjoseph >>> >>> ------------------------------------------------------------ >>> >>> Promote Open Source - Promote Liberty of Ideas and Software. >>> >>> ------------------------------------------------------------ >>> >> >>> >> >>> >> >>> >> -- >>> >> -- >>> >> Thanks and Regards, >>> >> >>> >> Thomas Joseph >>> >> >>> >> LinkedIn: http://www.linkedin.com/in/ethomasjoseph >>> >> ------------------------------------------------------------ >>> >> Promote Open Source - Promote Liberty of Ideas and Software. >>> >> ------------------------------------------------------------ >>> >> >>> >> _______________________________________________ >>> >> general mailing list >>> >> [email protected] >>> >> http://lists.ops4j.org/mailman/listinfo/general >>> >> >>> > >>> > >>> > _______________________________________________ >>> > general mailing list >>> > [email protected] >>> > http://lists.ops4j.org/mailman/listinfo/general >>> > >>> > >>> >>> _______________________________________________ >>> general mailing list >>> [email protected] >>> http://lists.ops4j.org/mailman/listinfo/general >>> >> >> >> _______________________________________________ >> general mailing list >> [email protected] >> http://lists.ops4j.org/mailman/listinfo/general >> >> > > > -- > -- > Thanks and Regards, > > Thomas Joseph > > LinkedIn: http://www.linkedin.com/in/ethomasjoseph > ------------------------------------------------------------ > Promote Open Source - Promote Liberty of Ideas and Software. > ------------------------------------------------------------ > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > >
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
