Posts

How to connect to WbLogic JMS queue using t3s via full client with two way SSL authentication? -

i have struggled on 1 several days now. using weblogic 11g (10.3.4.0) on windows (linux behaves same). have setup 2 way ssl authentication following details http://emo.sourceforge.net/cert-login-howto.html , http://middlewareforum.com/weblogic/?p=312 . used jmeter client following jvm parameters. standalone java client behaves same. -djavax.net.ssl.keystoretype=pkcs12 -djavax.net.ssl.truststoretype=jks -djavax.net.ssl.keystore=c:/users/sli/keys/browser.p12 -djavax.net.debug=ssl -djavax.net.ssl.keystorepassword=password-djavax.net.ssl.truststorepassword=changeit -dweblogic.security.ssl.ignorehostnameverification=true it works fine t3 thin client (wlthint3client.jar), not work when switch full client (wlfullclient.jar). 1 of applications somehow stuck full client. different problem own. btw, full client not full needs webserviceclient+ssl.jar , cryptoj.jar ssl. complains following @ client. javax.naming.communicationexception [root exception java.net.connectexception: ...

database - Storing Hash Data Externally in Perl -

i'm working refactor script has reliance on 3 hashes (simple hashes), initialized @ beginning of script. in total, these hash values take on hundred lines in script. in order improve overall readability , cleanliness of code, should store information outside of script , read in information @ start? data should static (individual entries may have changed on occasion). if yes, how go storing in database/suggested storage medium? (i'm noob when comes sql). sounds have configuration data. mastering perl book has chapter discussing several choices.

Cannot connect anymore to local SQL Server 2008 database -

today went connect local database cannot connect anymore unknown reasons. typed in (local) , used windows authentication yet error. cannot connect localhost. a network-related or instance-specific error occurred while establishing connection sql server. server not found or not accessible. verify instance name correct , sql server configured allow remote connections. (provider: named pipes provider, error: 40 - not open connection sql server) (.net sqlclient data provider) is sql server service running? check, right-click on "my computer" , choose "manage..." tree on left side of window, choose "services , applications", "services". "sql server" service , see if in "started" status. if not, right-click on service , choose "start".

emulation - Has anyone every done any integration with the M.A.M.E. arcade ROM emulator? -

i'm looking write application grab basic information mame emulator. i wondering if on here had experience that. i've done little searching , can't seem find information. i'm hoping make few hooks running emulator find out things when game starts, game starts, how many players, when player stops playing, game scores, etc. has ever heard of being done? have no idea how of possible, i'm looking explore possibilities here , pointers welcome. building mame sources doable, , result modifying sources , building doable. adding hooks application can monitor going on in particular game in mame easier task, creating sort of app app communication , having new app monitor information. mame may have these sorts of things build in there or @ least 1 gui launcher mame.

programming languages - Bash: check if element is in an array -

im trying make work next bash code, seems im doing things wrong: hostname=`hostname -s` qaiservers={'v-qai01' 'v-qai02'} in ${qaiservers[@]} if [[ $i = ${hostname} ]]; echo 1 else echo 0 fi done the current hostname v-qai01 supposed match verification, doesnt: ./run.sh: line 14: v-qai02}: command not found ./run.sh: line 15: }: command not found thank you fixed: made work with: hostname=`hostname -s` qaiservers=("v-qai01" "v-qai02") #portales={'t1wsyellar01' } in "${qaiservers[@]}" if [ "$i" == "${hostname}" ] ; echo "found" fi done made work link qaiservers=('v-qai01' 'v-qai02')

c - Simulating Circuits and Programming Micro-controllers over Linux -

i'm go through micro-controller project controls robotic arm. problem @ ms windows there mikroelectronica (ide: microc) compile .c hex put hex in proteus , simulate. using special (pcb) kit cd (carries windows software) put microchip , install hex file or ever. first respect ms hate it! adore ubuntu/linux , open-source need experts tell me in "steps" how mentioned in linux minimal complications. the electrical , mechanical engineers along me brag ms easy. want show them how computer science guy uses open-source technology , how strong , reliable is. please ! you wish demonstrate power of linux trying run products designed operating system on it? chances tools may work in wine . or maybe can use hi-tech c compiler , try geda simulation. possible compile microchip c30 on linux if working on 16-bit pic:s. in case, may not easy using out-of the-box windows tools. more educational, nevertheless.

Android StrictMode InstanceCountViolation -

i running app strictmode activated in development documented here strictmode lower platform versions , noticed error message not know think nor can find reference. i android.os.strictmode$instancecountviolation values instances , limit e.g. instances=3; limit=2 now wondering: a) how limit calculated b) how can such violation happen , evasive actions. any ideas? it's in code the key strictmode.sexpectedactivityinstancecount , incrementexpectedactivitycount , decrementexpectedactivitycount : increment called in activitythread.performlaunchactivity after creating activity instance. decrement called in activitythread.performdestroyactivity after activity has been removed application. so limit less each time activity destroyed, if instance leaked real instance count bigger limit, detect if it's leaked gc magic (in decrementexpectedactivitycount ): system.gc(); system.runfinalization(); // added in https://github.com/android/...