problem about hotswap-Collection of common programming errors
Granger
windows-server-2008 software-raid raid1 hotswap
Does Win2k8 natively handle hot-swapping of a hard drive? I have an existing server with 2 hard drives in it that are currently setup in a hardware RAID-1 configuration; they are each hot-swappable. I would like to switch them from being hardware to software RAID-1. If Windows Server 2008 were to handle the RAID-1 for these 2 drives, would Windows handle the hot-swapping just like the hardware solution does right now? (No rebooting, no fancy scripts, etc.)ADDENDUM: The situation is that I’ve got
iestyn
python pickle cpickle recompile hotswap
After a class definition is updated by recompiling a script, pickle refuses to serialize previously instantiated objects of that class, giving the error: “Can’t pickle object: it’s not the same object as “Is there a way to tell pickle that it should ignore such cases? To just identify classes by name, ignore whichever internal unique ID is causing the mismatch?I would definitely welcome as an answer the suggestion of an alternative, equivalent module which solves this problem in a convenient and
Peter Rader
java tomcat maven-3 hotswap
Usually i start tomcat using mvnDebug tomcat:run.After Code-change i need to use mvn tomcat:redeploy. This is sub-optimal because i often only change content of existing method-bodys.Can I HotSwap the method’s body into the runtime, and hot-redeploy as a fallback?I have unfortunatally nothing found like a maven-hotswap-plugin.faces-config.xml… <application><view-handler>com.sun.facelets.FaceletViewHandler</view-handler><locale-config><default-locale>de_DE</defa
Arjan Tijms
eclipse maven deployment weblogic12c hotswap
I have a basic question about running a Java EE application on Weblogic using maven in eclipse.I use OEPE (Oracle Enterprise pack for Eclipse) which comes with some plugins such as m2e and wtp. As far as I know this plugins read the pom file and based on them build the jar, war and ear files. What I do right now is like this: I check the build automatically option and let these plugins create my EAR file, then right click on the instance of weblogic server in Eclipse and add it to server using a
rnunes
java eclipse osgi aspectj hotswap
I’m making a tool to perform several checks in runtime (this is going to be runned in the CI server) and one of the things that I need it’s too change implementations of some classes to give the data that I need (basically, I need to know when some specific changes happen in some classes).This is an OSGi application (I don’t know if that’s the right name) and I’m using AspectJ to make this information capturing, but AspectJ doesn’t change JDK classes and, while I can solve my problem with some c
Emmanuel Bourg
java hotswap
JRebel allows for newly compiled code to be redeployed without restarting the application. I am wondering if there are any alternative (free?). The FAQ page answers this question, but I am sure it’s biased towards JRebel. This question was asked a year ago on this site, but I am bringing it back up to see if anyone has any new information.On a side note, I really like JRebel, but if there is a free alternative, I am willing to try it.One additional note, I am working on an open source projec
none
versioning virtual-machine hotswap
I’m currently brainstorming over the idea how to upgrade a program while it is running. (Not while debugging, a “production” system.)But one thing that is required for it, is to actually submit the changed source code or compiled byte code into the running process.Pseudo Codevar method = typeof(MyClass).GetMethod(“Method1”); var content = //get it from a database (bytecode or source code)SELECT content FROM methods WHERE id=? AND version=? method.SetContent(content);At first, I want to achieve t
jmite
haskell dynamic ghc hotswap ghc-api
I have an application where, for various reasons, I need to run arbitrary, user supplied code. (SafeHaskell makes this nice and secure). I’ve looked at the plugins package, which is really nice for loading from a .hi file on disc.However, for my program design, it would be ideal if I could store these user programs in a database, then directly compile them to functions which I can use in my program.So, if the function I’m compiling has the following type:someFunction :: MyIn -> MyOutI’m looki
Matthew Madson
java dynamic client-server hotswap
Say I’ve got a logging service deployed to some (jaxrs-compliant) container.@Path(“/logger”) public class LogService {@GET@Path(“/log”)public Response log(final String @QueryParam(“msg”) msg){System.out.println(msg);// …} }If I make the following request to the container hosting this service, I expect to see the output of my message to the container’s stdout log:GET <host>:<port>/logger/log?msg=fooNow I’d like to change the implementation of this log message at runtime with behavio
darioo
java runtime hotswap
Assume we have a trivial Java program that consists of just one class:public class HelloWorld {private static void replacable(int i) {System.out.println(“Today is a nice day with a number ” + i);} public static void main(String[] args) throws Exception {for(int i = 0; i < 100000; ++i) {replacable(i);Thread.sleep(500);} }After it’s compiled and run, output will be this:Today is a nice day with a number 0Today is a nice day with a number 1Today is a nice day with a number 2Today is a nic
Web site is in building