Posts

jsp - Jar try to create service in windows on java wrapper -

hellow. today in first time try create service in os windows used jar. try used java wrapper community edition 3.5.29 create test_service in windows ok. next step try start new test_service. service try startup , down. in logs java wrapper has information. status | wrapper | 2016/07/19 11:53:21 | --> wrapper started service status | wrapper | 2016/07/19 11:53:21 | java service wrapper community edition 32-bit 3.5.29 status | wrapper | 2016/07/19 11:53:21 | copyright (c) 1999-2016 tanuki software, ltd. rights reserved. status | wrapper | 2016/07/19 11:53:21 | http://wrapper.tanukisoftware.com status | wrapper | 2016/07/19 11:53:21 | status | wrapper | 2016/07/19 11:53:22 | launching jvm... info | jvm 1 | 2016/07/19 11:53:22 | [11:53:22 19.07.2016]: starting oracle. info | jvm 1 | 2016/07/19 11:53:22 | [11:53:22 19.07.2016]: try update. info | jvm 1 | 2016/07/19 11:53:22 | [11:53:22 19.07.2016]: update ok. error | wrapper | 2016/07/19 11:54:21 | ...

java - OSGi Http Whiteboard pattern -

moving web.xml osgi http whiteboard pattern created bundle-context.xml how pass below properties web.xml in jspservletfilter's osgi:service-properties <jsp-config> <jsp-property-group> <url-pattern>*.jsp</url-pattern> <el-ignored>true</el-ignored> </jsp-property-group> </jsp-config> i tried below solution not work. <bean id="jspservlet" class="com.test.servlet.web.servlet.testjspservlet"/> <osgi:service ref="jspservlet" interface="javax.servlet.servlet" > <osgi:service-properties> <entry key="osgi.http.whiteboard.filter.name" value="jspservlet" /> <entry key="osgi.http.whiteboard.servlet.pattern" value-ref="jsppatternslist"/> <entry key="osgi.http.whiteboard.context.select" value="(osgi.http.whiteboard.context.name=cb)" /> ...

Sitecore List Manager: add new contact -

i'm trying add new contact empty list in sitecore list manager. click "create , add new contact", type appropriate data , click "save" button. after following messages: please note list being built , locked. and please note contacts in list being indexed, not contacts available view @ time. 0 out of 1 contacts indexed. then use "index manager" , rebuild "sitecore_list_index". after that, go list manager , unlock list manually. finally, can't see contacts in list. can't figure out what's wrong. edited sitecore version 8.1 (it upgraded 8.0) this issue in 8.0, there contact locking issue. @ list manager @ bottom of list. upgrade should fix issue. kb.sitecore.net/articles/616431

ios - Xcode UITesting: label disappears from hierarchy and won't come back -

this using xcode 7.2.1 , swift 2.0. i have table cell containing uilabel used display error message. @ initial load blanked using code this: cell.errorlabel.alpha = 0.0 cell.errorlabel.text = nil then later on when i've detected error want display this: cell.label.text = "to" cell.errorlabel.alpha = 1.0 cell.errorlabel.text = "error !!!!" this works fine when running app. when running in ui test, try test error being displayed this: let tocell = xcuiapplication().tables.... // finds cell label 'to' xctasserttrue(tocell.statictexts["error !!!!"].exists) and fails. i've verified i'm getting right cell checking other ('to') label present. is. ui testing not see error label. i've tested adding break point , using debugger this: (lldb) p tocell.statictexts.count t = 427.03s number of matches for: descendants matching type statictext t = 427.29s snapshot accessibility hierarchy enterpri...

c# - XAML - Update text on different property update -

so have following xaml: <textblock text="{binding disconnecteddevices, updatesourcetrigger=propertychanged}" /> the view model has following properties: public string disconnecteddevices {get; set;} public ienumerable<ideviceinformationvm> devicecollection {get; set;} there's method gets called raises property notified event: public void devicecollectionchanged() { raisepropertychanged(() => devicecollection); } i'd update value in textblock when devicecollection changes. i'm aware call raisepropertychanged on disconnecteddevices i'm wondering if possible update textblock on different property change event. thanks all! edit: suggestions using observablecollection instead of ienumerable, unfortunately, i'm not @ liberty change collection type.. the devicecollectionchanged method called whenever collection changes (tedious know...) further edit: have gone ahead with raisepropertychanged(() => disconnecteddevic...

sql - how to select one row from several rows with minimum value -

the question based on sql query select distinct row minimum value . consider table: id game point 1 x 1 1 y 10 1 z 1 2 x 2 2 y 5 2 z 8 using suggested answers mentioned question (select ids have minimum value in point column, grouped game) obtain id game point 1 x 1 1 z 1 2 x 2 the question how obtain answer single output each id. both outputs id game point 1 x 1 2 x 2 and id game point 1 z 1 2 x 2 are acceptable. use row_number() : select t.* (select t.*, row_number() on (partition id order point asc) seqnum t ) t seqnum = 1;

excel - Loop Cells to check hours passed -

i trying find macro loop through column check hours compared current time. date/time entered cell via button on form , formatted mm/dd/yyyy hh:mm:ss , want run macro once every hour find cells in column older 6 hours , needs work if goes next day. tried 1 small piece of code found results incorrect. for each rcell in rrng.cells if rcell < hour(now) - 6 msgbox rcell.address, rcell.value elseif rcell = "" exit sub else the datetime values in excel stored decimal. have compare difference between cell's value , now greater 6.0/24 for each rcell in rrng.cells if - rcell.value > (6.0/24) msgbox rcell.address, rcell.value elseif rcell = "" exit sub else ......