Refreshing an array
i have chess program which has newgame() method inside it
with local array
now i implemented loading postion of my game form file and when i load game it display board [with new array(array in updateloaded from file)] but still use [arrays in (defualt)new game] as its calculation array how can i reset value(in new game) [it correct itself after the first move) i think it construct progame with old value and it refresh them when it through it once.it work properly after other player make its move
how can i tell loadgame with load arrays rather arrays in newgame.
does anything to do with how i initial the array.
tanx
[code]
Class Board{
int loadboard[]= new int [120];
int loadboardcolor[]= new int [120];
public void drawloadBoard(){
updateload();
repaint();
}public void updateload()
{ for (int i=21;i<99 ;i++ )
{ board<i>=loadboard<i>;
boardcolor<i> = loadboardcolor<i>;
}public void newgame ()
{ //generate original position
int [] openningpostion = { 7,Pawn,Pawn,Pawn,Pawn,Pawn,Pawn,Pawn,Pawn,7, 7,FreshRook,Knight,Bisshop,Queen,Freshking,Bisshop,
Knight,FreshR };
int [] Coloropenning= { 7,White,White,White,White,White,White,White,White,7, 7,White,White,White,White,White,White,White,White,7, };}
// here it method which should update my board
for (int i=0; i < 120; i++)
{ board <i> = openningpostion <i>;
boardcolor<i> = Coloropenning<i>; }}
tanx
I tried your code and it did work. I implemented your suggestion but in my application it keeps adding the new data as an additional curve. I cannot append the new data, even if the shift register feeds the data into the build array. I can't see at the moment what I did wrong...
Attachments:
waveform_graph_udate_2.PNG 50 KB
waveform_graph_udate_2_front_panel.PNG 32 KB
Similar Messages
-
Refreshing storage array failed
I am creating a iSCSI storage array using Oracle VM Manager. After creating the storage array when refreshing it failed with the following exception
OVMAPI_B000E Storage plugin command [storage_plugin_discover] failed for storage server [0004fb0000090000eea14a5fcc10028d] failed with [com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: storage_plugin_discover to server: ..........
Please helpPrajeesh wrote:
OVMAPI_B000E Storage plugin command [storage_plugin_discover] failed for storage server [0004fb0000090000eea14a5fcc10028d] failed with [com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: storage_plugin_discover to server: ..........
You need to provide the full error. This is not enough information. -
AdvancedDataGrid - create Array (cfquery) with children for hierarchical data set
I'm trying to create an AdvancedDataGrid with a hierarchical
data set as shown below. The problem that I am having is how to
call the data from a ColdFusion remote call and not an
ArrayCollection inside of the Flex app (as below). I'm guessing
that the problem is with the CFC that I've created which builds an
array with children. I assume that the structure of the children is
the issue. Any thoughts?
Flex App without Remoting:
http://livedocs.adobe.com/labs/flex3/html/help.html?content=advdatagrid_10.html
<?xml version="1.0"?>
<!-- dpcontrols/adg/GroupADGChartRenderer.mxml -->
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
private var dpHierarchy:ArrayCollection= new
ArrayCollection([
{name:"Barbara Jennings", region: "Arizona", total:70,
children:[
{detail:[{amount:5}]}]},
{name:"Dana Binn", region: "Arizona", total:130, children:[
{detail:[{amount:15}]}]},
{name:"Joe Smith", region: "California", total:229,
children:[
{detail:[{amount:26}]}]},
{name:"Alice Treu", region: "California", total:230,
children:[
{detail:[{amount:159}]}
]]>
</mx:Script>
<mx:AdvancedDataGrid id="myADG"
width="100%" height="100%"
variableRowHeight="true">
<mx:dataProvider>
<mx:HierarchicalData source="{dpHierarchy}"/>
</mx:dataProvider>
<mx:columns>
<mx:AdvancedDataGridColumn dataField="name"
headerText="Name"/>
<mx:AdvancedDataGridColumn dataField="total"
headerText="Total"/>
</mx:columns>
<mx:rendererProviders>
<mx:AdvancedDataGridRendererProvider
dataField="detail"
renderer="myComponents.ChartRenderer"
columnIndex="0"
columnSpan="0"/>
</mx:rendererProviders>
</mx:AdvancedDataGrid>
</mx:Application>
CFC - where I am trying to create an Array to send back to
the Flex App
<cfset aPackages = ArrayNew(1)>
<cfset aDetails = ArrayNew(1)>
<cfloop query="getPackages">
<cfset i = getPackages.CurrentRow>
<cfset aPackages
= StructNew()>
<cfset aPackages['name'] = name >
<cfset aPackages
['region'] = region >
<cfset aPackages['total'] = total >
<cfset aDetails
= StructNew()>
<cfset aDetails['amount'] = amount >
<cfset aPackages
['children'] = aDetails >
</cfloop>
<cfreturn aPackages>I had similar problems attempting to create an Array of
Arrays in a CFC, so I created two differents scripts - one in CF
and one in Flex - to build Hierarchical Data from a query result.
The script in CF builds an Hierarchical XML document which is then
easily accepted as HIerarchical Data in Flex. The script in Flex
loops over the query Object that is returned as an Array
Collection. It took me so long to create the XML script, and I now
regret it, since it is not easy to maintain and keep dynamic.
However, it only took me a short while to build this ActionScript
logic, which I quite like now (though it is not [
yet ] dynamic, and currently only handles two levels of
Hierarchy):
(this is the main part of my WebService result handler)....
// Create a new Array Collection to store the Hierarchical
Data from the WebService Result
var categories:ArrayCollection = new ArrayCollection();
// Create an Object variable to store the parent-level
objects
var category:Object;
// Create an Object variable to store the child-level
objects
var subCategory:Object;
// Loop through each Object in the WebService Result
for each (var object:Object in results)
// Create a new Array Collection as a copy of the Array
Collection of Hierarchical Data
var thisCategory:ArrayCollection = new
ArrayCollection(categories.toArray());
// Create a new instance of the Filter Function Class
var filterFunction:FilterFunction = new FilterFunction();
// Create Filter on the Array Collection to return only
those records with the specified Category Name
thisCategory.filterFunction =
filterFunction.NameValueFilter("NAMETXT", object["CATNAMETXT"]);
// Refresh the Array Collection to apply the Filter
thisCategory.refresh();
// If the Array Collection has records, the Category Name
exists, so use the one Object in the Collection to add Children to
if (thisCategory.length)
category = thisCategory.getItemAt(0);
// If the Array Collection has no records, the Category Name
does not exist, so create a new Object
else
// Create a new parent-level Object
category = new Object();
// Create and set the Name property of the parent-level
Object
category["NAMETXT"] = object["CATNAMETXT"];
// Create a Children property as a new Array
category["children"] = new Array();
// Add the parent-level Object to the Array Collection
categories.addItem(category);
// Create a new child-level Object as a copy of the Object
in the WebService Result
subCategory = object;
// Create and set the Name property of the child-level
Object
subCategory["NAMETXT"] = object["SUBCATNAMETXT"];
// Add the child-level Object to the Array of Children on
the parent-level Object
category["children"].push(subCategory);
// Convert the Array Collection to a Hierarchical Data
Object and use it as the Data Provider for the Advanced Data Grid
advancedDataGrid.dataProvider = new
HierarchicalData(categories); -
In frame 1 one presses a button and an array ("array 1") of
11 jpgs load into a movie clip "_root.overview".
On frame 2 when another button is pressed another array
("array2") loads into the same movie clip "_root.overview". The
only problem is that the second array has one less image than the
first array and the extra image remains persistent if one toggles
back.
Is there a way to clear an array before reloading another in
the same clip. I tried unloadMovie but that unloads everything. I
need a way to refresh the array each time it is clicked.
ThanksClearing out the array isn't going to get you anywhere. You
need to first
unload the movies you loaded in. You should be using
MovieClipLoader class,
along with its unloadClip method.
You say you're loading images into an overview clip - how are
you loading in
the movies?
Also, why is clearing out everything (with unloadMovie) bad?
You load in new
images anyway right?
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
OVM 3.0.3 - register iSCSI server
Probably a basic thing that I'm overlooking, for which I apologize in advance. Stumped and turning to wider community while I recheck docs. Any ideas appreciated.
A) Problem: Receiving a OVMAPI_B000E when attempting to Refresh Storage Array. The specific message is
OVMAPI_B000E Storage plugin command [storage_plugin_discover] failed for storage server [0004fb0000090000d7551a2353d303ce] failed with [com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: storage_plugin_discover to server: caballo5 failed. OVMAPI_4004E Server Failed Command: storage_plugin_discover oracle.generic.SCSIPlugin.GenericPlugin, Status: socket.gaierror:(-2, 'Name or service not known')
B) Environment:
OVS 3.0.3 fresh install
- hostname caballo5
- host is a Dell Precision P490 dual CPU, quad core w 20GB RAM
- 3 NICs, one on primary subnet (192.168.0), two unassigned
OVM 3.0.3 fresh instal
- hostname gandalfl
- host is a Dell Optiplex 755 w 8GB RAM, 500 GB OS disk,
- Oracle Enterprise Linux 5 update 6
- also houses Cloud Control 12.1.0
- Production install
OpenFiler 2.99 fresh install
- hostname blackmax
- host is a custom with 4x 1.5TB SATA for storage + 1x 300GB SATA for OS
- iSCSI confiigured with no CHAP for discovery.
I can discover the openfiler iSCSI services from Windows iSCSI initiator as well as from OVM & OVS hosts using iscsiadm. (Added below)
I use FQDN everywhere, but have removed domain in the info.
C) Full details:
Job Construction Phase
begin()
Appended operation 'Storage Server Discover Capabilities' to object '0004fb0000090000d7551a2353d303ce (blackmax)'.
Appended operation 'Storage Server Discover Access Groups' to object '0004fb0000090000d7551a2353d303ce (blackmax)'.
Appended operation 'Storage Array Discover Info' to object '0004fb0000090000d7551a2353d303ce (blackmax)'.
Appended operation 'Storage Array Discover Storage Elements' to object '0004fb0000090000d7551a2353d303ce (blackmax)'.
Appended operation 'ISCSI Storage Array Discover Targets' to object '0004fb0000090000d7551a2353d303ce (blackmax)'.
commit()
Completed Step: COMMIT
Objects and Operations
Object (IN_USE): [IscsiStorageArray] 0004fb0000090000d7551a2353d303ce (blackmax)
Operation: Storage Server Discover Capabilities
Operation: Storage Server Discover Access Groups
Operation: Storage Array Discover Info
Operation: Storage Array Discover Storage Elements
Operation: ISCSI Storage Array Discover Targets
Job Running Phase at 03:23 on Sat, Dec 31, 2011
Job Participants: [44:45:4c:4c:50:00:10:52:80:46:b8:c0:4f:36:46:31 (caballo5)]
Actioner
Starting operation 'Storage Server Discover Capabilities' on object '0004fb0000090000d7551a2353d303ce (blackmax)'
Setting Context to model only in job with id=1325327039664
Completed operation 'Storage Server Discover Capabilities' completed with direction ==> DONE
Starting operation 'Storage Server Discover Access Groups' on object '0004fb0000090000d7551a2353d303ce (blackmax)'
Completed operation 'Storage Server Discover Access Groups' completed with direction ==> LATER
Starting operation 'Storage Array Discover Info' on object '0004fb0000090000d7551a2353d303ce (blackmax)'
Setting Context to model only in job with id=1325327039664
Completed operation 'Storage Array Discover Info' completed with direction ==> DONE
Starting operation 'Storage Array Discover Storage Elements' on object '0004fb0000090000d7551a2353d303ce (blackmax)'
Completed operation 'Storage Array Discover Storage Elements' completed with direction ==> LATER
Starting operation 'ISCSI Storage Array Discover Targets' on object '0004fb0000090000d7551a2353d303ce (blackmax)'
Setting Context to model only in job with id=1325327039664
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_B000E Storage plugin command [storage_plugin_discover] failed for storage server [0004fb0000090000d7551a2353d303ce] failed with [com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: storage_plugin_discover to server: caballo5 failed. OVMAPI_4004E Server Failed Command: storage_plugin_discover oracle.generic.SCSIPlugin.GenericPlugin, Status: socket.gaierror:(-2, 'Name or service not known')
Sat Dec 31 03:24:00 MST 2011
Sat Dec 31 03:24:00 MST 2011] OVMAPI_4010E Attempt to send command: storage_plugin_discover to server: caballo5 failed. OVMAPI_4004E Server Failed Command: storage_plugin_discover oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: socket.gaierror:(-2, 'Name or service not known')
Sat Dec 31 03:24:00 MST 2011
Sat Dec 31 03:24:00 MST 2011
Sat Dec 31 03:24:00 MST 2011
at com.oracle.ovm.mgr.action.StoragePluginAction.processException(StoragePluginAction.java:1325)
at com.oracle.ovm.mgr.action.StoragePluginAction.discoverISCSIStorageArrayTargets(StoragePluginAction.java:208)
at com.oracle.ovm.mgr.discover.ovm.IscsiStorageArrayTargetsDiscoverHandler.query(IscsiStorageArrayTargetsDiscoverHandler.java:30)
at com.oracle.ovm.mgr.discover.ovm.IscsiStorageArrayTargetsDiscoverHandler.query(IscsiStorageArrayTargetsDiscoverHandler.java:19)
at com.oracle.ovm.mgr.discover.ovm.DiscoverHandler.execute(DiscoverHandler.java:50)
at com.oracle.ovm.mgr.discover.StorageServerDiscover.handleDiscover(StorageServerDiscover.java:72)
at com.oracle.ovm.mgr.discover.StorageServerDiscover.discoverStorageServer(StorageServerDiscover.java:52)
at com.oracle.ovm.mgr.op.physical.storage.IscsiStorageArrayDiscoverTargets.discoverIscsiStorageArrayTargets(IscsiStorageArrayDiscoverTargets.java:47)
at com.oracle.ovm.mgr.op.physical.storage.IscsiStorageArrayDiscoverTargets.action(IscsiStorageArrayDiscoverTargets.java:38)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: storage_plugin_discover to server: caballo5 failed. OVMAPI_4004E Server Failed Command: storage_plugin_discover oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: socket.gaierror:(-2, 'Name or service not known')
Sat Dec 31 03:24:00 MST 2011
Sat Dec 31 03:24:00 MST 2011
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:475)
at com.oracle.ovm.mgr.action.ActionEngine.sendUndispatchedServerCommand(ActionEngine.java:427)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:369)
at com.oracle.ovm.mgr.action.StoragePluginAction.discoverISCSIStorageArrayTargets(StoragePluginAction.java:204)
... 23 more
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: storage_plugin_discover oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: socket.gaierror:(-2, 'Name or service not known')
Sat Dec 31 03:24:00 MST 2011
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:753)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:471)
... 26 more
FailedOperationCleanup
Starting failed operation 'ISCSI Storage Array Discover Targets' cleanup on object 'blackmax'
Complete rollback operation 'ISCSI Storage Array Discover Targets' completed with direction=blackmax
Rollbacker
Executing rollback operation 'Storage Array Discover Info' on object '0004fb0000090000d7551a2353d303ce (blackmax)'
Complete rollback operation 'Storage Array Discover Info' completed with direction=DONE
Executing rollback operation 'Storage Server Discover Capabilities' on object '0004fb0000090000d7551a2353d303ce (blackmax)'
Complete rollback operation 'Storage Server Discover Capabilities' completed with direction=DONE
Objects To Be Rolled Back
Object (IN_USE): [IscsiStorageArray] 0004fb0000090000d7551a2353d303ce (blackmax)
Write Methods Invoked
Class=InternalJobDbImpl vessel_id=2292 method=addTransactionIdentifier accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=refresh accessLevel=6
Class=InternalJobDbImpl vessel_id=2292 method=setCompletedStep accessLevel=6
Class=InternalJobDbImpl vessel_id=2292 method=setAssociatedHandles accessLevel=6
Class=InternalJobDbImpl vessel_id=2292 method=setContext accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setAbility accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=nextJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=2292 method=setTuringMachineFlag accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setCurrentOperationToLater accessLevel=6
Class=InternalJobDbImpl vessel_id=2292 method=setTuringMachineFlag accessLevel=6
Class=InternalJobDbImpl vessel_id=2292 method=setContext accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=lock accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=nextJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=2292 method=setTuringMachineFlag accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=setCurrentOperationToLater accessLevel=6
Class=InternalJobDbImpl vessel_id=2292 method=setTuringMachineFlag accessLevel=6
Class=InternalJobDbImpl vessel_id=2292 method=setContext accessLevel=6
Class=InternalJobDbImpl vessel_id=2292 method=setFailedOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=nextJobOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=nextJobOperation accessLevel=6
Class=IscsiStorageArrayDbImpl vessel_id=2274 method=nextJobOperation accessLevel=6
Completed Step: ROLLBACK
Job failed commit (internal) due to OVMAPI_B000E Storage plugin command [storage_plugin_discover] failed for storage server [0004fb0000090000d7551a2353d303ce] failed with [com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: storage_plugin_discover to server: caballo5 failed. OVMAPI_4004E Server Failed Command: storage_plugin_discover oracle.generic.SCSIPlugin.GenericPlugin, Status: socket.gaierror:(-2, 'Name or service not known')
Sat Dec 31 03:24:00 MST 2011
Sat Dec 31 03:24:00 MST 2011] OVMAPI_4010E Attempt to send command: storage_plugin_discover to server: caballo5 failed. OVMAPI_4004E Server Failed Command: storage_plugin_discover oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: socket.gaierror:(-2, 'Name or service not known')
Sat Dec 31 03:24:00 MST 2011
Sat Dec 31 03:24:00 MST 2011
Sat Dec 31 03:24:00 MST 2011
com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_B000E Storage plugin command [storage_plugin_discover] failed for storage server [0004fb0000090000d7551a2353d303ce] failed with [com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: storage_plugin_discover to server: caballo5 failed. OVMAPI_4004E Server Failed Command: storage_plugin_discover oracle.generic.SCSIPlugin.GenericPlugin, Status: socket.gaierror:(-2, 'Name or service not known')
Sat Dec 31 03:24:00 MST 2011
Sat Dec 31 03:24:00 MST 2011] OVMAPI_4010E Attempt to send command: storage_plugin_discover to server: caballo5 failed. OVMAPI_4004E Server Failed Command: storage_plugin_discover oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: socket.gaierror:(-2, 'Name or service not known')
Sat Dec 31 03:24:00 MST 2011
Sat Dec 31 03:24:00 MST 2011
Sat Dec 31 03:24:00 MST 2011
at com.oracle.ovm.mgr.action.StoragePluginAction.processException(StoragePluginAction.java:1325)
at com.oracle.ovm.mgr.action.StoragePluginAction.discoverISCSIStorageArrayTargets(StoragePluginAction.java:208)
at com.oracle.ovm.mgr.discover.ovm.IscsiStorageArrayTargetsDiscoverHandler.query(IscsiStorageArrayTargetsDiscoverHandler.java:30)
at com.oracle.ovm.mgr.discover.ovm.IscsiStorageArrayTargetsDiscoverHandler.query(IscsiStorageArrayTargetsDiscoverHandler.java:19)
at com.oracle.ovm.mgr.discover.ovm.DiscoverHandler.execute(DiscoverHandler.java:50)
at com.oracle.ovm.mgr.discover.StorageServerDiscover.handleDiscover(StorageServerDiscover.java:72)
at com.oracle.ovm.mgr.discover.StorageServerDiscover.discoverStorageServer(StorageServerDiscover.java:52)
at com.oracle.ovm.mgr.op.physical.storage.IscsiStorageArrayDiscoverTargets.discoverIscsiStorageArrayTargets(IscsiStorageArrayDiscoverTargets.java:47)
at com.oracle.ovm.mgr.op.physical.storage.IscsiStorageArrayDiscoverTargets.action(IscsiStorageArrayDiscoverTargets.java:38)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
at sun.reflect.GeneratedMethodAccessor1324.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: storage_plugin_discover to server: caballo5 failed. OVMAPI_4004E Server Failed Command: storage_plugin_discover oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: socket.gaierror:(-2, 'Name or service not known')
Sat Dec 31 03:24:00 MST 2011
Sat Dec 31 03:24:00 MST 2011
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:475)
at com.oracle.ovm.mgr.action.ActionEngine.sendUndispatchedServerCommand(ActionEngine.java:427)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:369)
at com.oracle.ovm.mgr.action.StoragePluginAction.discoverISCSIStorageArrayTargets(StoragePluginAction.java:204)
... 23 more
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: storage_plugin_discover oracle.generic.SCSIPlugin.GenericPlugin, Status: org.apache.xmlrpc.XmlRpcException: socket.gaierror:(-2, 'Name or service not known')
Sat Dec 31 03:24:00 MST 2011
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:753)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:471)
... 26 more
End of Job
++++++
output of isciadm (on both OVM and OVS host). Same output whether using IP address or host name (/etc/hosts resolution)
[root@caballo5 ~]# iscsiadm -m discovery -t sendtargets -p 192.168.0.49
192.168.0.49:3260,1 iqn.2006-01.com.openfiler:tsn.79a153599c9b
192.168.2.254:3260,1 iqn.2006-01.com.openfiler:tsn.79a153599c9b
192.168.2.253:3260,1 iqn.2006-01.com.openfiler:tsn.79a153599c9b
192.168.0.49:3260,1 iqn.2006-01.com.openfiler:rac.asm
192.168.2.254:3260,1 iqn.2006-01.com.openfiler:rac.asm
192.168.2.253:3260,1 iqn.2006-01.com.openfiler:rac.asm
192.168.0.49:3260,1 iqn.2006-01.com.openfiler:rac.vm
192.168.2.254:3260,1 iqn.2006-01.com.openfiler:rac.vm
192.168.2.253:3260,1 iqn.2006-01.com.openfiler:rac.vm
192.168.0.49:3260,1 iqn.2006-01.com.openfiler:tsn.b0d06035dcdb
192.168.2.254:3260,1 iqn.2006-01.com.openfiler:tsn.b0d06035dcdb
192.168.2.253:3260,1 iqn.2006-01.com.openfiler:tsn.b0d06035dcdbSolved.
DNS Issue. The OpenFiler system was not listed properly in DNS. Added it to the /etc/hosts on the OVS machine and the refresh works OK. -
Dispatch Event for loaded Netconnection datas
Hi All!
I made a manager component to retrieve data from database
through amfphp.
When the datas are loaded at the end of the "onResult"
function, I dispatch an event "contactLoader"
Another parent mxml component has an instance of my manager
component with a call to a function contactLoader="getData()",
and then this function calls in turn the getContacts()
function of the instantiated manager component to retrieve the
datas. Thus I am sure that the datas are correctly loaded by my
manager before to retrieve the Array.
But I would like to refresh this array in case any change has
been made in the database. The problem is that the listener is
created automaticly by the instance of my manager component and the
"contactLoader" already exists once the data are loaded once. I
need a way to reload the data in the manager , create a new event
once the data are downloaded and then my parent component can call
one more time the getContacts function.
Is it the right way to do that? I'm not skilled enouth to
solve that problem. Thanks for your help."badoumba" <[email protected]> wrote in
message
news:gk57nf$oak$[email protected]..
> Hi All!
> I made a manager component to retrieve data from
database through amfphp.
> When the datas are loaded at the end of the "onResult"
function, I
> dispatch an
> event "contactLoader"
> Another parent mxml component has an instance of my
manager component with
> a
> call to a function contactLoader="getData()",
> and then this function calls in turn the getContacts()
function of the
> instantiated manager component to retrieve the datas.
Thus I am sure that
> the
> datas are correctly loaded by my manager before to
retrieve the Array.
>
> But I would like to refresh this array in case any
change has been made in
> the
> database. The problem is that the listener is created
automaticly by the
> instance of my manager component and the "contactLoader"
already exists
> once
> the data are loaded once. I need a way to reload the
data in the manager ,
> create a new event once the data are downloaded and then
my parent
> component
> can call one more time the getContacts function.
I'm not sure what the issue is...you can fire a new
contactLoader event
whenever you need to. -
Edit filtered ArrayCollection messes up Datagrid
I understand Datagrid + itemrenderer is a frustrating issue
sometimes. After Googling around, I got no luck solving my problem.
It goes like this:
I have an ArrayCollection
objectArray as the dataprovider for a datagrid. I applied a
filtered function on
objectArray and the datagrid displayed the filtered array
with no problem. However, when I looped through the filtered array
and made some changes, the datagrid went crazy. The order got
changed and some of the changed values didn't show up as changed.
Did anyone come across the same issue? Can anyone give me
some idea of what's going on?
Thanks.mmm...
Filter should be working, lets try to change Item for object.
private function changeValue():void {
for each (var item:Object in myArray) {
item.value = true;
myArray.refresh();
"scabbage" <[email protected]> wrote in
message
news:[email protected]...
> Ok, I think I found where the problem is. My code looks
like this:
>
>
>
> ----------
> <mx:Script>
> <![CDATA[
>
> private function applyFilter():void {
> myArray.filterFunction = myFilter;
> myArray.refresh();
> }
>
> private function changeValue():void {
> for each (var item:Item in myArray) {
> item.value = true;
> }
> myArray.refresh();
> }
>
>
> // simple filter
> private function myFilter(item:Object):void {
> if (item.id > 5 && item.id < 20)
> return true;
> else
> return false;
> }
>
> ]]>
> </mx:Script>
>
> <mx:DataGrid dataProvider="{myArray}"/>
> <mx:Button label="filter" click="applyFilter()"/>
> <mx:Button label="change value"
click="changeValue()"/>
>
>
>
> -------------------------
>
> So what causes the problem is the "changeValue"
function. Solution to my
> problem: bring "myArray.refresh()" inside the loop. So
instead of doing a
> refresh after all the values are changed, refresh the
array EVERY TIME you
> change a value. I realized that without doing this, the
"for each" loop
> doesn't
> loop through the filtered array correctly. Some items
gets accessed twice
> and
> some don't get accessed at all. This explains the "true,
false, true,
> false,
> ..." alternating result I got previously.
>
> However, I was not able to reproduce this problem using
a 5000-item toy
> ArrayCollection (different objects). Flex made the right
value changes
> with
> only one array refresh at the end.
>
>
>
quote:
Originally posted by:
Newsgroup User
> Sorry.. I can't help you without see some code.
> Rgds
>
> JFB
>
>
> "scabbage" <[email protected]> wrote in
message
> news:[email protected]...
> > JFB,
> >
> > I followed what you said and did a
myArray.refresh() after I changed all
> > my
> > myArray.someProperty from false to true (myArray is
the filtered array).
> > However, in the Datagrid, the someProperty column
didn't show "true"
> > everywhere, but with true and false alternating
(false, true, false,
> > true,
> > false...) across the datagrid. Any idea how this
coud be solved?
> >
> > Thanks.
> >
>
>
>
>
>
> -
Help needed in refreshing a button array
Hi,
I am developing a GUI, in which window1 is in package pack1 & window2 in pack2. from window1, clicking "Add" button window2 appears.
In window1, I am storing the content of a particular directory in my file system as a string array. So, each string in the string array is used as the label of a button in the button array. The no. of buttons corresponds to the no. of files in the directory. window1 is having a panel that displays the buttonarray.
In window2, I have created a textfield and a "ok" button. whatever textinput(string) I give to the textfield, after clicking "ok" that is stored as a file in the directory, to which window1 refers for its buttons.
My requirement is: During runtime, when I am creating new files thru the textfield of window2,those files need to be added to the panel of window1 dynamically updating the directory content.
So, how can I refresh the panel in window1 after adding a file thru textfiels in window2.
If anybody has any idea about this, please let me know soon.
Regards.Hello,
I have not got the solution. So, still I am waitiong for the answer.
If you have any idea, please let me know. -
Object Array Data Provider Refresh Possible bug
Hello
I am having a problem with Object Array Data Provider in terms that the table's data is not changed corectly after a request as expected, but after two requests.
Steps to reproduce the bug:
0. Create a new Visual Web project, call it 'test'.
Set 'Bundled Tomcat ' or 'Sun 9' as deploy target server.
Edit 'Page1' of the project.
1. Create an Entity class, simple class that has only getters and setters with a few fields (lets say 'id' and 'name').
2. In the SessionBean1 that is generated by the framework create an array of Entity class named 'entityArr', and getters and setters for this field.
3. Add a new Array Object Data Provider on the page and set in its properties as array the array created in the previous step 'entityArr (SessionBean1)'.
4. Add a new table component, and set as data provider the provider created in step 3.
In the Table's Layout map the fields from the Entity class, and set whatever compnents you desire for each component's type or leave the default ones (Static Text).
5. Add a 'property change trigger component' on the page. I called it like this because I tried the following :
5.1 A text field and a button to submit the text value
5.2 A Calendar component with autosubmit
5.3 A DropDown with autosubmit.
6. On the property change trigger component created at step 5 set a value_changed method that changes the the array that should be displayed by the table.
For Example, for a DropDown component, you will have a method like this :
public void dropDown1_processValueChange(ValueChangeEvent event) {
String idStr = (String) event.getNewValue();
System.out.println("Entity id :"+idStr);
if(idStr .equals("item1")) {
fillSessionBean1(true);
else {
fillSessionBean1(false);
getSessionBean1().setItemName(idStr);
private void fillSessionBean1(boolean fillValues) {
Entity[] values ;
if(fillValues) {
values = new Entity[4];
for ( int i=0;i<values.length; i++) {
Entity entity = new Entity();
entity.setDescription("Description "+i);
entity.setName("Name "+i);
entity.setId(i) ;
values[i] = entity;
else {
//values = new Entity[0];
values = null;
getSessionBean1().setEntityArr(values);
7. When running the program, if the selected is Item1, the table does not show the array set if on this branch.
I am using :
Netbeans 5.5 build 20061017100,
Visual Web Pack 070104_2,
Ent.Pack 20061212
jdk 1.6.0
Operating Systems : Both Linux Suse10 and Windows.
If anyone has a solution for this please let me know.OK
While no one responded, I had to think for myself.
There is a bug in the code generated by netbeans or there is nowhere specified that if you attach an array to a data provider you will have to notify by hand the data provider that the array has changed.
You will have to put this line that is generated in init function in your valuechanged functions :
objectArrayDataProvider1.setArray((java.lang.Object[])getValue("#{SessionBean1.entityArr}"));
I think this aproach is a little bit wrong, even it works.
I believe the data provider should be notified the array has been changed.
There could be a much more simple aproaches :
1. In the code generated by netbeans, if you attach an array to a data provider the data provider will be notified after any set(Object[])
2. The data provider could have a function so you will ne anle to attach to the data provider an Object (the session bean, in my case) and the name of the function that retrieves the array (in my case, 'getEntityArr') .
The code generated by netbeans could add this function easily.
Maybe there are any other better aproaches, and I might be wrong.
It's good that it works. -
Using LV2010.
A table displays the test configuration that has been selected by the user. This appeared to work fine until recently.
Nothing in that area of the code has changed .
The issue is that although valid data exists on the wire and it even gets written to file, nothing is displayed in the table.
The operator can click multiple times and nothing is displayed. Even when running with highlight execution turned ON, the table does not get refreshed.
Unfortunately, each time the operator click the button to insert the configuration, it does. But it is not displayed. The same list goes to the table. You would expect the subsequent attempts would cause all the items to be displayed when it finally does, but no... only the last selection gets displayed.
I've recently taken over the project and did notice that a previously working feature was not working. That feature was to allow multiple selections to be inserted at once. I suspect the feature still workes, but the table only displays a single line of data.
I did find a thread that started to discuss a similar behavior with a link to a description of the bug, but that page appears to have dissappeared from the website. It was discussed in 2005.
Is there a way to force a refresh display on a table? Another thought... Could it be that the table is displaying data from a portion further down the list which makes it appear as if there is no data? As I said earlier, this section of code was not touched and it is the only area where the table data is updated and the display refreshed..
Has anyone else seen this behavior?
As can be seen above, the probe does "see" the data on the wire. The screen capture was taken after the data flow had completed the entire state. The wire itself claims to have a 2D array of 1 X 11 elements. Normally, this data would be displayed. I can't think of why it wouldn't be displayed. If I could, I wouldn't be posting this..
I am curious if this is a LV bug...
Attachments:
TableDataInvisible.PNG 21 KBYou know me & locals...
Plus the property node was used for something else.
I fear using the VI Analyzer would... well... euh.. hummm... how to say this,...
blow up..
LOL!! -
How Do You Populate A Spark List Control With An Array?
Hello, all,
Sorry to come accross so frustrated, but how in the name of God do you populate a Spark list control with the data in an array? You used to be able to do this with the mx:List control, but the guys developing Flex just had to make things more difficult than they need to be! I am more of a code purist and prefer doing things the way they have been done for decades, but apparently nothing can ever stay simple!
I simply want to populate a list control with an array and this shouldn't be rocket science! I found out that I must use a "collection" element, so I decided that an arrayCollection would be best. However, after searching Adobe's documentation about arrayCollections, I am lost in a black hole of data binding, extra lines of code just to add a new element, the need to sort it, etc...!
Here is my code:
var pendingArray:ArrayCollection = new ArrayCollection();
for ( var i:int = 0 ; i < queue.length ; i++ )
var item:UserQueueItem = queue[i] as UserQueueItem ;
if ( item.status == UserQueueItem.STATUS_PENDING )
pendingArray.addItem({label:item.descriptor.displayName,descriptor:item.descriptor});
Here is the relevant MXML:
<s:VGroup>
<s:List id="knockingList" width="110" height="100"/>
</s:VGroup>
I'm not getting any errors, but the list is not populating.
I have seen several examples where the arrayCollection is declared and populated in MXML:
<mx:ArrayCollection id="myAC">
<!-- Use an fx:Array tag to associate an id with the array. -->
<fx:Array id="myArray">
<fx:Object label="MI" data="Lansing"/>
<fx:Object label="MO" data="Jefferson City"/>
<fx:Object label="MA" data="Boston"/>
etc...
</fx:Array>
</mx:ArrayCollection>
That may be fine for an example, but I think this is a rare situation. Most of the time I would image that the arrayCollection would be created and populated on the fly in ActionScript! How can I do this?
Thanks in advance for any help or advice anyone can give!
MattIn your post it seemed like you were trying to take care of many considerations at once: optimization, design, architecture. I would suggest you get something up and running and then worry about everything else.
If I use data binding, then I will probably have to declare the arrayCollection as a global variable and then I'll have to write 100 or so extra lines of code to addItem(), removeItem(), sort(), etc... It just seems like too much overhead.
I believe you may have some misconceptions about databinding in general. You won't have to make it a global variable and you certainly won't need an extra 100 lines of code. If you did this forum would be a very , very quiet place.
I don't want to use data binding because the original array is refreshed often and there is one function called by an event that re-declares the arrayCollection each time, populates it with the array, and then sets it as the list's dataprovider.
That is the beauty of the ArrayCollection, it can handle the updates to its source Array. I don't know if you need to redeclare the ArrayCollection, resetting the source to the new Array allows everyone involved to keep their references so you don't have to worry about any "spooky" stuff going on. -
After performing the OS X 10.10.2 update, OpenGL applications, for example Starry Night Pro fail to run, there are numerous windows update/refresh problems (incomplete refresh, remnants of window/frame borders), and some applications, for example Google Chrome are unusable, as cursor motion in the application window causes the display to flash horizontal bars in the window.
I've tried a variety of things, including downloading the most current release of Xcode, turning on/off transparency in Accessibility, graphics switching, and a few other things, but the problem persists.
The App Store display behaves similarly. I am running a MacBook Pro.
This is the output from EtreCheck:
Problem description:
Screen/windows corruption
EtreCheck version: 2.1.8 (121)
Report generated March 11, 2015 at 10:26:15 PM CDT
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
MacBook Pro (15-inch, Mid 2012) (Technical Specifications)
MacBook Pro - model: MacBookPro9,1
1 2.6 GHz Intel Core i7 CPU: 4-core
16 GB RAM Upgradeable
BANK 0/DIMM0
8 GB DDR3 1600 MHz ok
BANK 1/DIMM0
8 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en1: 802.11 a/b/g/n
Battery Health: Normal - Cycle count 36
Video Information: ℹ️
Intel HD Graphics 4000
NVIDIA GeForce GT 650M - VRAM: 1024 MB
System Software: ℹ️
OS X 10.10.2 (14C1510) - Time since boot: 23:26:45
Disk Information: ℹ️
APPLE HDD HTS547575A9E384 disk0 : (750.16 GB)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
Macintosh HD (disk1) / : 748.96 GB (146.71 GB free)
Encrypted AES-XTS Unlocked
Core Storage: disk0s2 749.30 GB Online
HL-DT-ST DVDRW GS31N
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Apple iPod
Western Digital My Book 1 TB
EFI (disk3s1) <not mounted> : 210 MB
WDP1 (disk3s2) /Volumes/WDP1 : 333.40 GB (9.12 GB free)
WDP2 (disk3s3) /Volumes/WDP2 : 333.40 GB (2.55 GB free)
WDP3 (disk3s4) /Volumes/WDP3 : 332.79 GB (94.00 GB free)
Western Digital My Book 1140 2 TB
EFI (disk4s1) <not mounted> : 210 MB
2TB_1 (disk4s2) /Volumes/2TB_1 : 666.79 GB (31.36 GB free)
2TB_2 (disk4s3) /Volumes/2TB_2 : 666.79 GB (58.76 GB free)
2TB_3 (disk4s4) /Volumes/2TB_3 : 666.18 GB (70.41 GB free)
Logitech USB Receiver
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Logitech USB Receiver
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Anywhere
Kernel Extensions: ℹ️
/Applications/Parallels Access.app
[loaded] com.parallels.virtualsound (1.0.36 36 - SDK 10.6) [Click for support]
/Applications/Parallels Desktop.app
[not loaded] com.parallels.kext.hypervisor (10.1.1 28614 - SDK 10.7) [Click for support]
[not loaded] com.parallels.kext.netbridge (10.1.1 28614 - SDK 10.7) [Click for support]
[not loaded] com.parallels.kext.usbconnect (10.1.1 28614 - SDK 10.7) [Click for support]
[not loaded] com.parallels.kext.vnic (10.1.1 28614 - SDK 10.7) [Click for support]
/Applications/Utilities/DiskWarrior.app
[not loaded] com.alsoft.Preview (4.1) [Click for support]
/Library/Extensions
[loaded] com.epson.driver.EPSONProjectorUDAudio (1.40 - SDK 10.6) [Click for support]
/System/Library/Extensions
[not loaded] com.FTDI.driver.FTDIUSBSerialDriver (2.2.18 - SDK 10.6) [Click for support]
[loaded] com.Logitech.Control Center.HID Driver (3.6.0 - SDK 10.6) [Click for support]
[loaded] com.Logitech.Unifying.HID Driver (1.2.0 - SDK 10.6) [Click for support]
[not loaded] com.Ralink.driver.RT73 (1.1.6) [Click for support]
[not loaded] com.beceem.BeceemAppleWiMAXAdapter (5.2.56d16) [Click for support]
[not loaded] com.cisco.nke.ipsec (2.0.1) [Click for support]
[not loaded] com.devguru.driver.DIFMCDFree (1.1.0) [Click for support]
[not loaded] com.devguru.driver.DIFMSerial (1.1.0) [Click for support]
[not loaded] com.fklt.driver (1.8.0) [Click for support]
[not loaded] com.novatelwireless.driver.3G (2.2.8) [Click for support]
[not loaded] com.novatelwireless.driver.DisableAutoInstall (1.2) [Click for support]
[not loaded] com.prolific.driver.PL2303 (2.0.0) [Click for support]
[not loaded] com.rim.driver.BlackBerryUSBDriverInt (0.0.39) [Click for support]
[not loaded] com.rim.driver.BlackBerryUSBDriverVSP (0.0.39) [Click for support]
[not loaded] com.sbig.driver.SBIGUSBEDriver (4.70) [Click for support]
[not loaded] com.sbig.driver.SBIGUSBLoader (4.70.2) [Click for support]
[not loaded] com.sierrawireless.driver.SierraDevSupport (2.0.6) [Click for support]
[not loaded] com.sierrawireless.driver.SierraFSCSupport (2.0.6) [Click for support]
[not loaded] com.tomtom.driver.UsbEthernetGadget (1.0.0d1) [Click for support]
[not loaded] com.wacom.kext.wacomtablet (6.3.7 - SDK 10.8) [Click for support]
[not loaded] org.emul.driver.EarthMate (1.0.0d1) [Click for support]
/System/Library/Extensions/NovatelWireless3G.kext/Contents/Plugins
[not loaded] com.novatelwireless.driver.3GData (2.2.8) [Click for support]
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist [Click for support]
[running] com.adobe.AdobeCreativeCloud.plist [Click for support]
[not loaded] com.canon.MFManager.plist [Click for support]
[loaded] com.divx.dms.agent.plist [Click for support]
[loaded] com.divx.update.agent.plist [Click for support]
[loaded] com.google.keystone.agent.plist [Click for support]
[running] com.kodak.BonjourAgent.plist [Click for support]
[running] com.Logitech.Control Center.Daemon.plist [Click for support]
[loaded] com.oracle.java.Java-Updater.plist [Click for support]
[running] com.parallels.mobile.prl_deskctl_agent.launchagent.plist [Click for support]
[running] com.wacom.wacomtablet.plist [Click for support]
[loaded] org.macosforge.xquartz.startx.plist [Click for support]
Launch Daemons: ℹ️
[running] com.adobe.adobeupdatedaemon.plist [Click for support]
[loaded] com.adobe.fpsaud.plist [Click for support]
[running] com.autodesk.backburner_manager.plist [Click for support]
[running] com.autodesk.backburner_server.plist [Click for support]
[loaded] com.autodesk.backburner_start.plist [Click for support]
[loaded] com.google.keystone.daemon.plist [Click for support]
[running] com.makerbot.conveyor.plist [Click for support]
[loaded] com.oracle.java.Helper-Tool.plist [Click for support]
[loaded] com.oracle.java.JavaUpdateHelper.plist [Click for support]
[running] com.parallels.mobile.dispatcher.launchdaemon.plist [Click for support]
[loaded] com.parallels.mobile.kextloader.launchdaemon.plist [Click for support]
[loaded] org.macosforge.xquartz.privileged_startx.plist [Click for support]
User Launch Agents: ℹ️
[loaded] com.adobe.AAM.Updater-1.0.plist [Click for support]
[loaded] com.adobe.ARM.[...].plist [Click for support]
[loaded] com.adobe.ARM.[...].plist [Click for support]
[loaded] com.adobe.ARM.[...].plist [Click for support]
[loaded] com.adobe.ARM.[...].plist [Click for support]
[loaded] com.citrixonline.GoToMeeting.G2MUpdate.plist [Click for support]
[loaded] com.kodak.KODAK AiO Firmware Updater.plist [Click for support]
[loaded] com.kodak.KODAK AiO Software Updater.plist [Click for support]
[running] com.parallels.mobile.startgui.launchagent.plist [Click for support]
[loaded] com.valvesoftware.steamclean.plist [Click for support]
User Login Items: ℹ️
Google Drive Application (/Applications/Google Drive.app)
USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
Internet Plug-ins: ℹ️
WacomNetscape: Version: 2.1.0-1 - SDK 10.8 [Click for support]
OVSHelper: Version: 1.1 [Click for support]
Default Browser: Version: 600 - SDK 10.10
Google Earth Web Plug-in: Version: 6.0 [Click for support]
SlingPlayer: Version: Unknown [Click for support]
RealPlayer Plugin: Version: Unknown [Click for support]
AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 [Click for support]
FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
DivX Web Player: Version: 3.2.4.1250 - SDK 10.6 [Click for support]
Silverlight: Version: 5.1.10411.0 - SDK 10.6 [Click for support]
Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
QuickTime Plugin: Version: 7.7.3
iPhotoPhotocast: Version: 6.0
WacomTabletPlugin: Version: WacomTabletPlugin 2.1.0.2 [Click for support]
AdobePDFViewer: Version: 9.5.5 [Click for support]
JavaAppletPlugin: Version: Java 8 Update 40 Check version
User internet Plug-ins: ℹ️
fbplugin_1_0_3: Version: Unknown [Click for support]
BrowserPlus_2.6.0: Version: 2.6.0 [Click for support]
CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 [Click for support]
fbplugin_1_0_1: Version: Unknown [Click for support]
Picasa: Version: 1.0 [Click for support]
Safari Extensions: ℹ️
Open in Internet Explorer
3rd Party Preference Panes: ℹ️
Flash Player [Click for support]
Flip4Mac WMV [Click for support]
GoPro [Click for support]
Growl [Click for support]
Java [Click for support]
Logitech Control Center [Click for support]
MacFUSE [Click for support]
Perian [Click for support]
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: OFF
Auto backup: NO - Auto backup turned off
Volumes being backed up:
Macintosh HD: Disk size: 748.96 GB Disk used: 602.25 GB
Destinations:
WDP3 [Local]
Total size: 332.79 GB
Total number of backups: 2
Oldest backup: 2013-04-03 12:26:32 +0000
Last backup: 2013-04-03 12:26:32 +0000
Size of backup disk: Too small
Backup size 332.79 GB < (Disk used 602.25 GB X 3)
STAR_TECH_EXT [Local]
Total size: 499.76 GB
Total number of backups: 2
Oldest backup: 2013-04-03 14:26:44 +0000
Last backup: 2013-04-03 14:26:44 +0000
Size of backup disk: Too small
Backup size 499.76 GB < (Disk used 602.25 GB X 3)
Top Processes by CPU: ℹ️
3% WindowServer
1% Creative Cloud
0% firefox
0% fontd
0% AdobeUpdateDaemon
Top Processes by Memory: ℹ️
670 MB Safari
567 MB firefox
464 MB softwareupdated
395 MB mds_stores
309 MB WindowServer
Virtual Memory Information: ℹ️
1.43 GB Free RAM
7.87 GB Active RAM
6.40 GB Inactive RAM
1.47 GB Wired RAM
7.30 GB Page-ins
205 KB Page-outs
Diagnostics Information: ℹ️
Mar 11, 2015, 04:04:23 PM /Library/Logs/DiagnosticReports/ScreenSaverEngine_2015-03-11-160423_[redacted]. cpu_resource.diag [Click for details]
Mar 11, 2015, 02:54:29 PM /Library/Logs/DiagnosticReports/ScreenSaverEngine_2015-03-11-145429_[redacted]. cpu_resource.diag [Click for details]
Mar 11, 2015, 10:18:18 AM /Library/Logs/DiagnosticReports/ScreenSaverEngine_2015-03-11-101818_[redacted]. cpu_resource.diag [Click for details]
Mar 10, 2015, 10:55:10 PM Self test - passed
Mar 9, 2015, 03:21:58 AM /Library/Logs/DiagnosticReports/SubmitDiagInfo_2015-03-09-032158_[redacted].cpu _resource.diag [Click for details]Here is the diagnostic script output:
Start time: 12:06:12 03/14/15
Revision: 1290
Model Identifier: MacBookPro9,1
System Version: OS X 10.10.2 (14C1510)
Kernel Version: Darwin 14.1.0
Time since boot: 3 days 13:11
UID: 502
Memory
BANK 0/DIMM0
Size: 8 GB
Speed: 1600 MHz
Status: OK
Manufacturer: 0x859B
BANK 1/DIMM0
Size: 8 GB
Speed: 1600 MHz
Status: OK
Manufacturer: 0x859B
USB
Hub (Belkin Corporation)
My Book 1140 (Western Digital Technologies, Inc.)
My Book (Western Digital Technologies, Inc.)
USB Receiver (Logitech Inc.)
USB Receiver (Logitech Inc.)
FileVault 2: On
Activity
CPU: user 13%, system 7%
CPU usage (%)
plugin-container (UID 502): 100.0
com.apple.WebKit (UID 502): 26.2
File opens (per sec)
AdobeUpdateDaem (UID 0) => /tmp/UUID_OUT (status 60): 6
Energy (lifetime)
WindowServer (UID 88): 7.44
com.apple.WebKit.WebContent (UID 502): 7.22
Energy (sampled)
plugin-container (UID 502): 99.13
com.apple.WebKit.WebContent (UID 502): 23.60
WindowServer (UID 88): 21.29
com.apple.WebKit.WebContent (UID 502): 13.16
Console (UID 502): 12.28
Memory (MB)
kernel_task (UID 0): 1327
Font issues: 1
Listeners
launchd: ftp
System caches/logs
3.6 GiB: /System/Library/Caches/com.apple.coresymbolicationd/data
Diagnostic reports
2015-02-19 com.apple.WebKit.WebContent crash
2015-02-20 Topaz Adjust 5 crash
2015-02-20 Topaz ReStyle crash
2015-02-20 com.apple.WebKit.WebContent crash x2
2015-02-21 com.apple.WebKit.WebContent crash x2
2015-02-25 com.apple.WebKit.WebContent crash
2015-03-04 system_profiler crash
2015-03-07 com.apple.WebKit.WebContent crash
2015-03-08 MPEG Streamclip hang x2
2015-03-08 com.apple.WebKit.WebContent crash
I/O errors
disk2s2: close: journal 0xffffff8049bb9c20, is invalid. aborting outstanding transactions 1
disk2s2: do_jnl_io: strategy err 0x6 1
disk2s3: close: journal 0xffffff8049bb9740, is invalid. aborting outstanding transactions 1
disk2s3: do_jnl_io: strategy err 0x6 1
disk2s4: close: journal 0xffffff8049bb9260, is invalid. aborting outstanding transactions 1
disk2s4: do_jnl_io: strategy err 0x6 1
disk3s2: do_jnl_io: strategy err 0x6 1
disk3s3: close: journal 0xffffff8049bb95a0, is invalid. aborting outstanding transactions 1
disk3s3: do_jnl_io: strategy err 0x6 1
disk3s4: close: journal 0xffffff8049bb9400, is invalid. aborting outstanding transactions 1
disk3s4: do_jnl_io: strategy err 0x6 1
disk4s3: close: journal 0xffffff8023522c20, is invalid. aborting outstanding transactions 1
disk4s3: do_jnl_io: strategy err 0x6 1
Volumes
disk1: /
disk5s3: /Volumes/WDP2
disk5s2: /Volumes/WDP1
disk5s4: /Volumes/WDP3
disk6s2: /Volumes/2TB_1
disk6s4: /Volumes/2TB_3
disk6s3: /Volumes/2TB_2
disk7s2: /Volumes/Starry Night Pro 7
HID errors: 3
Kernel log
Mar 8 17:08:19 firefox (map: 0xffffff80501790f0) triggered DYLD shared region unnest for map: 0xffffff80501790f0, region 0x7fff8a200000->0x7fff8a400000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Mar 8 17:08:59 firefox (map: 0xffffff8051e54870) triggered DYLD shared region unnest for map: 0xffffff8051e54870, region 0x7fff8a200000->0x7fff8a400000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Mar 9 08:11:09 jnl: disk2s4: close: journal 0xffffff8049bb9260, is invalid. aborting outstanding transactions
Mar 9 08:11:09 jnl: disk3s4: close: journal 0xffffff8049bb9400, is invalid. aborting outstanding transactions
Mar 9 08:11:09 jnl: disk2s3: close: journal 0xffffff8049bb9740, is invalid. aborting outstanding transactions
Mar 9 08:11:09 jnl: disk3s3: close: journal 0xffffff8049bb95a0, is invalid. aborting outstanding transactions
Mar 9 08:11:09 jnl: disk3s2: write_journal_header: error writing the journal header!
Mar 9 08:11:09 jnl: disk2s2: close: journal 0xffffff8049bb9c20, is invalid. aborting outstanding transactions
Mar 9 11:42:59 firefox (map: 0xffffff8031b5e780) triggered DYLD shared region unnest for map: 0xffffff8031b5e780, region 0x7fff89e00000->0x7fff8a000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Mar 10 13:44:08 Limiting closed port RST response from 310 to 250 packets per second
Mar 10 23:03:12 firefox (map: 0xffffff802a954780) triggered DYLD shared region unnest for map: 0xffffff802a954780, region 0x7fff90000000->0x7fff90200000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Mar 10 23:20:37 Limiting icmp unreach response from 302 to 250 packets per second
Mar 11 08:39:04 jnl: disk4s3: write_journal_header: error writing the journal header!
Mar 11 08:39:04 jnl: disk4s3: close: journal 0xffffff8023522c20, is invalid. aborting outstanding transactions
Mar 13 17:42:33 Limiting icmp unreach response from 428 to 250 packets per second
Mar 13 17:42:34 Limiting icmp unreach response from 433 to 250 packets per second
System log
Mar 14 09:09:18 VTDecoderXPCService: GVA warning: failed to get a service for display id: 4128828
Mar 14 09:09:18 VTDecoderXPCService: GVA warning: failed to get a service for display id: 4128829
Mar 14 09:09:18 VTDecoderXPCService: GVA warning: failed to get a service for display id: 4128830
Mar 14 09:09:18 VTDecoderXPCService: GVA warning: failed to get a service for display id: 4128831
Mar 14 09:14:35 Adobe Photoshop Elements Editor: Error loading /Applications/Adobe Photoshop Elements 10/Support Files/Plug-Ins/onOne Library.8li/Contents/MacOS/onOne Library: dlopen(/Applications/Adobe Photoshop Elements 10/Support Files/Plug-Ins/onOne Library.8li/Contents/MacOS/onOne Library, 262): no suitable image found. Did find:
/Applications/Adobe Photoshop Elements 10/Support Files/Plug-Ins/onOne Library.8li/Contents/MacOS/onOne Library: mach-o, but wrong architecture
Mar 14 09:14:35 Adobe Photoshop Elements Editor: Error loading /Applications/Adobe Photoshop Elements 10/Support Files/Plug-Ins/onOne Library.8li/Contents/MacOS/onOne Library: dlopen(/Applications/Adobe Photoshop Elements 10/Support Files/Plug-Ins/onOne Library.8li/Contents/MacOS/onOne Library, 262): no suitable image found. Did find:
/Applications/Adobe Photoshop Elements 10/Support Files/Plug-Ins/onOne Library.8li/Contents/MacOS/onOne Library: mach-o, but wrong architecture
Mar 14 09:14:35 Adobe Photoshop Elements Editor: Error loading /Applications/Adobe Photoshop Elements 10/Support Files/Plug-Ins/onOne Library.8li/Contents/MacOS/onOne Library: dlopen(/Applications/Adobe Photoshop Elements 10/Support Files/Plug-Ins/onOne Library.8li/Contents/MacOS/onOne Library, 262): no suitable image found. Did find:
/Applications/Adobe Photoshop Elements 10/Support Files/Plug-Ins/onOne Library.8li/Contents/MacOS/onOne Library: mach-o, but wrong architecture
Mar 14 09:32:27 com.apple.sbd: SOSCCThisDeviceIsInCircle SOSCCThisDeviceIsInCircle!! 7
Mar 14 09:35:28 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
Mar 14 09:47:41 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Installer" for over 1.00 seconds. Server has re-enabled them.
Mar 14 09:50:38 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
Mar 14 09:52:55 WindowServer: WSGetSurfaceInWindow : Invalid surface 583724228 for window 1898
Mar 14 10:09:38 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "com.apple.appkit.xpc.openAndSav" for over 1.00 seconds. Server has re-enabled them.
Mar 14 10:09:38 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "com.apple.WebKit.Plugin.64" for over 1.00 seconds. Server has re-enabled them.
Mar 14 10:09:48 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "com.apple.appkit.xpc.openAndSav" for over 1.00 seconds. Server has re-enabled them.
Mar 14 10:09:49 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "com.apple.WebKit.Plugin.64" for over 1.00 seconds. Server has re-enabled them.
Mar 14 10:09:55 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "com.apple.appkit.xpc.openAndSav" for over 1.00 seconds. Server has re-enabled them.
Mar 14 10:10:08 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "com.apple.appkit.xpc.openAndSav" for over 1.00 seconds. Server has re-enabled them.
Mar 14 10:39:34 launchservicesd: Application App:"loginwindow" asn:0x0-1001 pid:69 refs=7 @ 0x7fd821519070 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x29a29a pid=25591 "ScreenSaverEngine"")), so denying. : LASSession.cp #1521 SetFrontApplication() q=LSSession 100005/0x186a5 queue
Mar 14 10:39:34 launchservicesd: Application App:"loginwindow" asn:0x0-1001 pid:69 refs=8 @ 0x7fd821519070 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x29a29a pid=25591 "ScreenSaverEngine"")), so denying. : LASSession.cp #1521 SetFrontApplication() q=LSSession 100005/0x186a5 queue
Mar 14 11:57:26 launchservicesd: Application App:"loginwindow" asn:0x0-1001 pid:69 refs=7 @ 0x7fd821519070 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x29f29f pid=26088 "ScreenSaverEngine"")), so denying. : LASSession.cp #1521 SetFrontApplication() q=LSSession 100005/0x186a5 queue
Mar 14 11:57:26 launchservicesd: Application App:"loginwindow" asn:0x0-1001 pid:69 refs=8 @ 0x7fd821519070 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x29f29f pid=26088 "ScreenSaverEngine"")), so denying. : LASSession.cp #1521 SetFrontApplication() q=LSSession 100005/0x186a5 queue
launchd log
Mar 8 17:07:46 com.apple.xpc.launchd.domain.system: Session adoption is only allowed in user domains.
Mar 8 17:08:18 com.apple.xpc.launchd.user.502.100006.Aqua: Could not import service from caller: caller = otherbsd.341, service = com.garmin.renu.service, error = 119: Service is disabled
Mar 8 17:08:18 com.apple.xpc.launchd.user.502.100006.Aqua: Could not import service from caller: caller = otherbsd.341, service = com.apple.photostream-agent, error = 119: Service is disabled
Mar 9 11:41:23 com.apple.xpc.launchd.domain.system: Session adoption is only allowed in user domains.
Mar 9 11:41:51 com.apple.xpc.launchd.user.502.100006.Aqua: Could not import service from caller: caller = otherbsd.274, service = com.garmin.renu.service, error = 119: Service is disabled
Mar 9 11:41:51 com.apple.xpc.launchd.user.502.100006.Aqua: Could not import service from caller: caller = otherbsd.274, service = com.apple.photostream-agent, error = 119: Service is disabled
Mar 10 22:48:48 com.apple.xpc.launchd.domain.user.loginwindow.14802.4294967295: Could not import service from caller: caller = imklaunchagent.14852, service = com.parallels.inputmethod.ParallelsIM.5712, error = 134: Service cannot load in requested session
Mar 10 22:48:58 com.apple.xpc.launchd.domain.user.loginwindow.14802.4294967295: Could not import service from caller: caller = WacomTabletDriv.14813, service = com.wacom.WacomTouchDriver.183780, error = 134: Service cannot load in requested session
Mar 10 22:48:59 com.apple.xpc.launchd.domain.user.loginwindow.14802.4294967295: Could not import service from caller: caller = prl_deskctl_age.14812, service = com.parallels.mobile.prl_deskctl_agent.220416.UUID, error = 134: Service cannot load in requested session
Mar 10 22:48:59 com.apple.xpc.launchd.domain.user.loginwindow.14802.4294967295: Could not import service from caller: caller = WacomTabletDriv.14813, service = com.wacom.TabletDriver.184064, error = 134: Service cannot load in requested session
Mar 10 22:56:21 com.apple.xpc.launchd.domain.system: Session adoption is only allowed in user domains.
Mar 10 22:59:02 com.apple.xpc.launchd.user.502.100005.Aqua: Could not import service from caller: caller = otherbsd.340, service = com.garmin.renu.service, error = 119: Service is disabled
Mar 10 22:59:02 com.apple.xpc.launchd.user.502.100005.Aqua: Could not import service from caller: caller = otherbsd.340, service = com.apple.photostream-agent, error = 119: Service is disabled
Loaded kernel extensions
com.Logitech.Control Center.HID Driver (3.6.0)
com.Logitech.Unifying.HID Driver (1.2.0)
com.epson.driver.EPSONProjectorUDAudio (1.40)
com.parallels.virtualsound (1.0.36 36)
System services loaded
com.adobe.adobeupdatedaemon
com.adobe.fpsaud
com.apple.watchdogd
com.autodesk.backburner_manager
com.autodesk.backburner_server
com.autodesk.backburner_start
com.google.keystone.daemon
com.makerbot.conveyor.daemon
com.oracle.java.Helper-Tool
com.oracle.java.JavaUpdateHelper
com.parallels.mobile.dispatcher.launchdaemon
com.parallels.mobile.kextloader.launchdaemon
org.macosforge.xquartz.privileged_startx
System services disabled
com.apple.security.FDERecoveryAgent
com.apple.mtmd
com.apple.mrt
com.apple.mtmfs
Login services loaded
com.GoPro.GoPro-Importer
com.Logitech.Control Center.Daemon
com.adobe.AAM.Scheduler-1.0
com.adobe.ARM.UUID
com.adobe.ARM.UUID
com.adobe.ARM.UUID
com.adobe.AdobeCreativeCloud
com.apple.Safari
- status: 78
com.apple.mrt.uiagent
com.citrixonline.GoToMeeting.G2MUpdate
com.divx.dms.agent
com.divx.update.agent
com.google.keystone.system.agent
com.kodak.BonjourAgent
com.kodak.KODAK AiO Firmware Updater
com.kodak.KODAK AiO Software Updater
com.oracle.java.Java-Updater
com.parallels.mobile.prl_deskctl_agent.launchagent
com.parallels.mobile.startgui.launchagent
com.valvesoftware.steamclean
com.wacom.wacomtablet
gldrvmond
org.macosforge.xquartz.startx
Global login items
/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app
/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app
User login items
Google Drive
- /Applications/Google Drive.app
USB Display Agent
- /Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app
USB Display Agent
- /Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app
User crontab
#SqzS VERSION = 1.0.0
#SYMANTEC SCHEDULER CRON ENTRIES. THESE ENTRIES ARE AUTOMATICALLY GENERATED
#PLEASE DO NOT EDIT.
# Enc=1 Name="Update Virus Protection" EvType1=1 EvType2=0 Sched=2
0 8 * * 5 "/Library/Application Support/Symantec/Scheduler/SymSecondaryLaunch.app/Contents/schedLauncher" 1 "/Applications/Symantec Solutions/LiveUpdate.app/Contents/MacOS/LiveUpdate" " " "oapp" "aevt" "exAG" "-update LUdf"
# Enc=1 Name="My AntiVirus Scan Task" EvType1=2 EvType2=0 Sched=2
#0 9 * * 6 "/Library/Application Support/Symantec/Scheduler/SymSecondaryLaunch.app/Contents/schedLauncher" -n 2 "/Library/Application Support/Symantec/AntiVirus/ScanNotification.app/Contents/scheduledScanner" " " "NVsi" "SCae" "path" '/' "kydo" "niCE" "long" 0
# Enc=1 Name="My Product Update Task" EvType1=1 EvType2=0 Sched=3
0 8 * * * "/Library/Application Support/Symantec/Scheduler/SymSecondaryLaunch.app/Contents/schedLauncher" 3 "/Applications/Symantec Solutions/LiveUpdate.app/Contents/MacOS/LiveUpdate" " " "oapp" "aevt" "exAG" "-update LUlu"
#SqzS END SYMANTEC CRON ENTRIES
Safari extensions
Open in Internet Explorer
- com.parallels.openinie
Widgets
TimeCalc
eCalc_Scientific
iCloud errors
bird 137
cloudd 18
storedownloadd 2
CallHistorySyncHelper 2
Continuity errors
lsuseractivityd 21
sharingd 11
Restricted files: 10847
Lockfiles: 19
High file counts
Desktop: 84
Accessibility
Keyboard Zoom: On
Scroll Zoom: On
Contents of /Library/LaunchAgents/com.canon.MFManager.plist
- mod date: May 22 05:23:32 2012
- checksum: 290641261
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.canon.MFManager</string>
<key>Program</key>
<string>/Applications/Canon Utilities/ImageBrowser EX/ExtApp/MFManager.app/Contents/MacOS/MFManager</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Canon Utilities/ImageBrowser EX/ExtApp/MFManager.app/Contents/MacOS/MFManager</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Contents of /Library/LaunchAgents/com.divx.dms.agent.plist
- mod date: Nov 17 02:11:48 2014
- checksum: 637650676
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.divx.dms.agent</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/DivX/DivXMediaServer.app/Contents/MacOS/DivXMediaServer</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Contents of /Library/LaunchAgents/com.divx.update.agent.plist
- mod date: May 19 16:24:29 2014
- checksum: 3867571547
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.divx.update.agent</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/DivX/DivXUpdate.app/Contents/MacOS/DivXUpdate</string>
<string>/silent</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>10800</integer>
</dict>
</plist>
Contents of /Library/LaunchAgents/com.kodak.BonjourAgent.plist
- mod date: Sep 21 01:39:00 2012
- checksum: 2625351456
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Kodak Version</key>
<string>7.1.6.10</string>
<key>Label</key>
<string>com.kodak.BonjourAgent</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Library/Printers/Kodak/AiO_Printers/KodakAiOBonjourAgent.app/Contents/ MacOS/KodakAiOBonjourAgent</string>
</array>
<key>ServiceIPC</key>
<true/>
</dict>
</plist>
Contents of /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
- mod date: Feb 15 11:22:20 2014
- checksum: 2857777334
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.oracle.java.Java-Updater</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater</string>
<string>-bgcheck</string>
</array>
<key>StandardErrorPath</key>
<string>/dev/null</string>
<key>StandardOutPath</key>
<string>/dev/null</string>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>71</integer>
<key>Minute</key>
<integer>54</integer>
<key>Weekday</key>
<integer>5</integer>
</dict>
</dict>
...and 1 more line(s)
Contents of /Library/LaunchAgents/com.parallels.mobile.prl_deskctl_agent.launchagent.plist
- mod date: Feb 24 10:45:51 2015
- checksum: 1795713191
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnableTransactions</key>
<true/>
<key>KeepAlive</key>
<dict>
<key>PathState</key>
<dict>
<key>/etc/com.parallels.mobile.prl_deskctl_agent.launchd</key>
<true/>
</dict>
</dict>
<key>Label</key>
<string>com.parallels.mobile.prl_deskctl_agent.launchagent</string>
<key>LimitLoadToSessionType</key>
<array>
<string>Aqua</string>
<string>LoginWindow</string>
</array>
<key>Program</key>
<string>/Applications/Parallels Access.app/Contents/MacOS/Parallels Access Agent.app/Contents/MacOS/prl_deskctl_agent</string>
</dict>
</plist>
Contents of /Library/LaunchAgents/com.wacom.wacomtablet.plist
- mod date: Oct 11 17:37:46 2013
- checksum: 2972905917
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnvironmentVariables</key>
<dict>
<key>RUN_WITH_LAUNCHD</key>
<string>1</string>
</dict>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<true/>
</dict>
<key>Label</key>
<string>com.wacom.wacomtablet</string>
<key>LimitLoadToSessionType</key>
<array>
<string>Aqua</string>
<string>LoginWindow</string>
</array>
<key>Program</key>
<string>/Library/Application Support/Tablet/WacomTabletSpringboard</string>
<key>RunAtLoad</key>
<true/>
...and 4 more line(s)
Contents of /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
- mod date: Aug 11 16:52:54 2014
- checksum: 2451978492
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.macosforge.xquartz.startx</string>
<key>ProgramArguments</key>
<array>
<string>/opt/X11/lib/X11/xinit/launchd_startx</string>
<string>/opt/X11/bin/startx</string>
<string>--</string>
<string>/opt/X11/bin/Xquartz</string>
</array>
<key>Sockets</key>
<dict>
<key>org.macosforge.xquartz:0</key>
<dict>
<key>SecureSocketWithKey</key>
<string>DISPLAY</string>
</dict>
</dict>
<key>ServiceIPC</key>
<true/>
<key>EnableTransactions</key>
<true/>
...and 2 more line(s)
Contents of /Library/LaunchDaemons/com.autodesk.backburner_manager.plist
- mod date: Feb 4 12:44:56 2013
- checksum: 3394451584
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<dict>
<key>PathState</key>
<dict>
<key>/usr/discreet/backburner/nrapi.conf</key>
<true/>
</dict>
</dict>
<key>Label</key>
<string>com.autodesk.backburner_manager</string>
<key>ProgramArguments</key>
<array>
<string>/usr/discreet/backburner/backburnerManager</string>
</array>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.autodesk.backburner_server.plist
- mod date: Feb 4 12:44:56 2013
- checksum: 2405015914
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<dict>
<key>PathState</key>
<dict>
<key>/usr/discreet/backburner/nrapi.conf</key>
<true/>
</dict>
</dict>
<key>Label</key>
<string>com.autodesk.backburner_server</string>
<key>ProgramArguments</key>
<array>
<string>/usr/discreet/backburner/backburnerServer</string>
</array>
<key>Nice</key>
<integer>18</integer>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.autodesk.backburner_start.plist
- mod date: Feb 4 12:44:56 2013
- checksum: 597826117
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>com.autodesk.backburner_start</string>
<key>ProgramArguments</key>
<array>
<string>/usr/discreet/backburner/backburner</string>
<string>boot</string>
</array>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.makerbot.conveyor.plist
- mod date: Dec 2 11:47:26 2013
- checksum: 147573995
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>com.makerbot.conveyor.daemon</string>
<key>WorkingDirectory</key>
<string>/Library/MakerBot</string>
<key>ProgramArguments</key>
<array>
<string>/Library/MakerBot/conveyor-svc</string>
<string>--config_file</string>
<string>/Library/MakerBot/conveyor.conf</string>
</array>
<key>KeepAlive</key>
<true/>
<key>EnvironmentVariables</key>
<dict/>
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
<string>_conveyor</string>
</dict>
...and 1 more line(s)
Contents of /Library/LaunchDaemons/com.parallels.mobile.dispatcher.launchdaemon.plist
- mod date: Feb 24 10:45:50 2015
- checksum: 1994226602
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ExitTimeOut</key>
<integer>150</integer>
<key>Label</key>
<string>com.parallels.mobile.dispatcher.launchdaemon</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Parallels Access.app/Contents/MacOS/Parallels Access Dispatcher Service.app/Contents/MacOS/prl_pm_service</string>
<string>-e</string>
<string>--logfile</string>
<string>/var/log/prl_disp_service_server.log</string>
<string>--pidfile</string>
<string>/var/run/prl_pm_service.pid</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.parallels.mobile.kextloader.launchdaemon.plist
- mod date: Feb 24 10:45:51 2015
- checksum: 3938648138
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ExitTimeOut</key>
<integer>150</integer>
<key>Label</key>
<string>com.parallels.mobile.kextloader.launchdaemon</string>
<key>ProgramArguments</key>
<array>
<string>/sbin/kextload</string>
<string>/Applications/Parallels Access.app/Contents/Library/Extensions/10.9/prl_virtual_sound.kext</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Contents of /private/etc/ssh_config
- mod date: Nov 19 19:03:16 2012
- checksum: 1281775184
Host *
SendEnv LANG LC_*
Host *
XAuthLocation /opt/X11/bin/xauth
Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist
- mod date: Jan 20 19:45:18 2011
- checksum: 408149527
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.adobe.ARM.UUID</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>12600</integer>
</dict>
</plist>
Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist
- mod date: Jan 29 16:03:43 2010
- checksum: 2544798274
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.adobe.ARM.UUID</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Adobe Reader 8/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>12600</integer>
</dict>
</plist>
Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist
- mod date: Sep 11 18:20:35 2011
- checksum: 2170691092
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.adobe.ARM.UUID</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Adobe Reader 9/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>12600</integer>
</dict>
</plist>
Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist
- mod date: Oct 19 12:47:52 2009
- checksum: 10744905
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.adobe.ARM.UUID</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Adobe Acrobat 8 Professional/Adobe Acrobat Professional.app/Contents/MacOS/Updater/Adobe Acrobat Updater Helper.app/Contents/MacOS/Adobe Acrobat Updater Helper</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>12600</integer>
</dict>
</plist>
Contents of Library/LaunchAgents/com.apple.FolderActions.folders.plist
- mod date: Jan 30 08:36:08 2015
- checksum: 1189540302
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.FolderActions.folders</string>
<key>Program</key>
<string>/usr/bin/osascript</string>
<key>ProgramArguments</key>
<array>
<string>osascript</string>
<string>-e</string>
<string>tell application "Folder Actions Dispatcher" to tick</string>
</array>
<key>WatchPaths</key>
<array/>
</dict>
</plist>
Contents of Library/LaunchAgents/com.apple.SafariBookmarksSyncer.plist
- mod date: Dec 18 09:24:48 2008
- checksum: 3493273791
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.Safari</string>
<key>LimitLoadToSessionType</key>
<string>Aqua</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Safari.app/Contents/SafariSyncClient.app/Contents/MacOS/S afariSyncClient</string>
<string>--sync</string>
<string>com.apple.Safari</string>
<string>--entitynames</string>
<string>com.apple.bookmarks.Bookmark,com.apple.bookmarks.Folder</string>
</array>
<key>RunAtLoad</key>
<false/>
<key>ThrottleInterval</key>
<integer>60</integer>
<key>WatchPaths</key>
<array>
<string>/Users/USER/Library/Safari/Bookmarks.plist</string>
</array>
</dict>
...and 1 more line(s)
Contents of Library/LaunchAgents/com.citrixonline.GoToMeeting.G2MUpdate.plist
- mod date: Dec 15 10:55:51 2014
- checksum: 3001252484
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.citrixonline.GoToMeeting.G2MUpdate</string>
<key>ProgramArguments</key>
<array>
<string>/Users/USER/Library/Application Support/CitrixOnline/GoToMeeting/G2MUpdate</string>
</array>
<key>StartInterval</key>
<integer>3660</integer>
</dict>
</plist>
Contents of Library/LaunchAgents/com.parallels.mobile.startgui.launchagent.plist
- mod date: Mar 10 23:00:25 2015
- checksum: 662430762
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ExitTimeOut</key>
<integer>150</integer>
<key>Label</key>
<string>com.parallels.mobile.startgui.launchagent</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Parallels Access.app/Contents/MacOS/prl_deskctl_wizard</string>
<string>--autorun</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Contents of Library/LaunchAgents/com.valvesoftware.steamclean.plist
- mod date: Mar 7 15:48:06 2014
- checksum: 1327160095
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.valvesoftware.steamclean</string>
<key>Program</key>
<string>/Users/USER/Library/Application Support/Steam/SteamApps/steamclean</string>
<key>ProgramArguments</key>
<array>
<string>/Users/USER/Library/Application Support/Steam/SteamApps/steamclean</string>
<string>Public</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>SteamContentPaths</key>
<array>
<string>/Users/USER/Library/Application Support/Steam/SteamApps</string>
</array>
<key>WatchPaths</key>
<array>
<string>/Applications/Steam.app</string>
</array>
</dict>
</plist>
App extensions
com.google.GoogleDrive.FinderSyncAPIExtension
com.parallels.desktop.console.Resource-Monitor
Installations
Topaz Detail2: 11/15/12, 2:58 PM
Topaz DeNoise 5: 11/15/12, 2:57 PM
Topaz Adjust 5: 1 -
Refresh browser causes to increment results
Hi,
I have a servlet that is using a database to query results from a survey. The survey has 3 questions and each one of them has 4 possible answers. The query runs fine and displays in the web browser, but once I do a refresh some of the data increments its value at a constant rate.
Here is the code:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
import java.util.StringTokenizer;
public class Survey extends HttpServlet {
private Connection con = null;
private Statement stmt = null;
private String url = "jdbc:odbc:survey";
private String table = "results";
private int numQues = 3;
private int [] numAns = {4,4,4};
private int num = 0;
public void init() throws ServletException {
try {
// loading the jdbc-odbc bridge
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
// making a connection
con = DriverManager.getConnection(url,"anonymous","guest");
} catch (Exception e) {
e.printStackTrace();
con = null;
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
String [] results = new String[numQues];
for (int i=0;i<numQues;i++) {
results = req.getParameter("q"+i);
// test if the user has answered all the question
String resultsDb = "";
for (int i=0;i<numQues;i++) {
if (i+1!=numQues) {
resultsDb += "'" + results + "',";
else {
resultsDb += "'" + results + "'";
boolean success = insertIntoDb(resultsDb);
// print a thank you message
res.setContentType("text/html");
PrintWriter output = res.getWriter();
StringBuffer buffer = new StringBuffer();
buffer.append("<HTML>");
buffer.append("<HEAD>");
buffer.append("</HEAD>");
buffer.append("<BODY BGCOLOR=\"#FFFFFF\">");
buffer.append("<P>");
if (success) {
buffer.append("Thank you for participating!");
else {
buffer.append("An error has occurred. Please press the back button of your browser");
buffer.append(" and try again.");
buffer.append("</P>");
buffer.append("</BODY>");
buffer.append("</HTML>");
output.println(buffer.toString());
output.close();
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws IOException {
// get info from file
res.setContentType("text/html");
PrintWriter output = res.getWriter();
StringBuffer buffer = new StringBuffer();
buffer.append("<HTML>");
buffer.append("<HEAD>");
buffer.append("</HEAD>");
buffer.append("<BODY BGCOLOR=\"#FFFFFF\">");
buffer.append("<P>");
try {
stmt = con.createStatement();
// find the number of participation
for (int i=0;i<1;i++) {
String query = "SELECT q" + i + " FROM " + table;
ResultSet rs = stmt.executeQuery(query);
while (rs.next()) {
rs.getInt("q"+i);
num++;
// loop thru each question
for (int i=0;i<numQues;i++) {
int [] results = new int[num];
String query = "SELECT q" + i + " FROM " + table;
ResultSet rs = stmt.executeQuery(query);
int j=0;
while (rs.next()) {
results[j]=rs.getInt("q"+i);
j++;
//call method
int[] total = percent(results,4);
buffer.append("Question" + i + ":<BR>");
for (int k=0;k<4;k++) {
buffer.append(" > Answer " + k + ":" + total[k]);
buffer.append("<BR>");
buffer.append("\n");
} catch (SQLException ex) {
ex.printStackTrace();
// display the results
buffer.append("</P>");
buffer.append("</BODY>");
buffer.append("</HTML>");
output.println(buffer.toString());
output.close();
public void destroy() {
try {
con.close();
} catch (Exception e) {
System.err.println("Problem closing the database");
public boolean insertIntoDb(String results) {
String query = "INSERT INTO " + table + " VALUES (" + results + ");";
try {
stmt = con.createStatement();
stmt.execute(query);
stmt.close();
} catch (Exception e) {
System.err.println("ERROR: Problems with adding new entry");
e.printStackTrace();
return false;
return true;
public int [] percent(int [] array, int numOptions) {
System.out.println("==============================================");
int [] total = new int[numOptions];
// initialize array
for (int i=0;i<total.length;i++) {
total=0;
for (int j=0;j<numOptions;j++) {
for (int i=0;i<array.length;i++) {
System.out.println("j="+j+"\t"+"i="+i+"\ttotal[j]="+total[j]);
if (array==j) {
total[j]++;
System.out.println("==============================================");
return total;
Thanks!Hi,
I do encounter similar problem. The root cause was that URL at the location bar of the browser still pointing to the same servlet (which handle the HTTP POST/GET request to update the database) after the result was returned by the servicing servlet.
For example, in your case the "Survey" servlet URL.
The scenario is like this.
1.Browser (HTML form) ---HTTP post ---> Survey Servlet (service & update database)
2.Survey Servlet -- (Result in HTML via HttpServletResponse)---> Browser (display the result)
Note that after step 2, the browser's location bar value still pointing to the Survey Servlet URL (used in the HTML form's action value). So if the refresh is performed here, the same action will be repeated, as the result, 2 identical records have been created in your database table instead of one.
A way to work around this is to split the servlet in to two, one performing the update of database and one responsible to display the result.
Thing become as follow:
1.Browser (HTML form) ---HTTP post ---> Survey Servlet (service & update database)
2.Survey Servlet -- (Redirect the Http request)---> Display Result ServletBrowser
3.Display Result Servlet --(Acknowledgement in HTML via HttpServletResponse) ---> Browser (display the result)
Note that now the browser's location bar will point to the Display Result Servlet. Refresh action will be posted to Display Result Servlet which will not create duplication of database update activity.
to redirect the request to another servlet, use the res.sendRedirect(url); where res is the HttpServletResponse object and url is the effective url of calling the target servlet.
Hope that this help. -
Excel 2010 Pivot Table VBA Not Refreshing Table
My company recently upgraded from Excel 2003 to 2010. I had VBA written to take source data and convert it into a number of Pivot Tables on a number of worksheets. It has been working fine for years. After upgrading to 2010 the VBA crashed. I tracked it
down to the fact that when my code was making changes to the Pivot Tables (changing fields, filters, etc...) the pivot table on the worksheet had no data, but the fields were there. I can manually go to the pivot table and manually refresh and all the data
comes in.
So I tried adding the VBA code to refresh the pivot table, but the pivot tables will not refresh with data.
I tried:
ActiveSheet.PivotTables("WO Pivot").RefreshTable
and
ActiveWorkbook.RefreshAll
And these did not work.
I also tried recording a macro for the manual steps to refresh and got:
ActiveSheet.PivotTables("WO Pivot").PivotCache.Refresh
This does not work either.
The PivotTable name is correct, but I tried using the number as well, and the name works for other code manipulating the the pivot table.
e.g.:
With ActiveSheet.PivotTables("WOPivot").PivotFields("Task Title")
.Orientation = xlRowField .Position = 2
.Subtotals = Array(False, False, False, False, False, False, False, False, False, False, _False, False)
End
With Why isn't this working? Is there another way to refresh pivot table data in 2010?
Thanks. P.S. I've tried formating this so it is readable, but it comes out garbled. Hope this looks better.The solution above didn't work for me, but the following did the trick:
ActiveSheet.PivotTables("WOPivot").PivotCache.Refresh
By the way, I identified it by recording a macro, then going on the Pivot Table that needed refreshing and pressing F9 to refresh it. The line of VBA code above was the result.
Cheers,
Marco. -
How can we get a value in a drop down box without refreshing the page
In my application i am having 14 drop down boxes. On selcting a particular value in a drop down box i am doing its corresponding functionality. I would like to get these values without refreshing the page each and every time i select a text box, Is it possible to get these values without refreshing the page each and every time.
RaghuThere is a new hype going on called AJAX. It is either that, or dumping a lot of information in javascript arrays and reading the information from there when you make selections. I would choose AJAX.
Maybe you are looking for
-
Calling a Session bean from a java client
Hi I have been using OC4J for quite some while now, and I have a lot of programs to test my session beans. But with the new versions of the container 9.0.2.0.0 production release and 9.0.3.0.0 pre-release J2EE 1.3 certified, all my test program hang
-
DVD Movie won't play on DVD Player
When sharing project to DVD it only plays in Apple computer what Im I doing wrong?
-
Newsletter form activating event registration form
I have a newsletter form in a content holder that is part of my template. When a user signs up for the newsletter while on the event registration page, it activates the event registration autoresponder email saying that they signed up for the seminar
-
Preview bypassing PDF view settings
Hey guys, another Preview issue here. I created a PDF using Adobe Acrobat Pro. The PDF setting on the file is to open in Single Page view with Bookmarks Panel showing. Preview opens it in complete disregard for these settings and I have to view it
-
How to delete the last "\n" ??
Hey! I have a string with alot of "\n" within it, how can i only delete or substring or something to get rid of the last appreared "\n" ? I generates a text dokument like: hi "\n" hi "\n" hi "\n" Dont want the last one "\n" here!! Can i do that with