Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 113171 | Differences between
and this patch

Collapse All | Expand All

(-).classpath (+1 lines)
Lines 4-8 Link Here
4
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
4
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
6
	<classpathentry kind="src" path="src-config"/>
6
	<classpathentry kind="src" path="src-config"/>
7
	<classpathentry sourcepath="ECLIPSE_HOME/plugins/org.eclipse.jdt.source_3.1.0/src/org.junit_3.8.1/junitsrc.zip" kind="var" path="JUNIT_HOME/junit.jar"/>
7
	<classpathentry kind="output" path="bin"/>
8
	<classpathentry kind="output" path="bin"/>
8
</classpath>
9
</classpath>
(-)plugin.properties (+2 lines)
Lines 178-183 Link Here
178
HyadesGAContextInstanceConfiguration_Day_Value_Invalid_ERROR_ = IWAT0452E The value {0} of the attribute {1} of {2} is invalid.  It must be an integer value between 1 and 31.
178
HyadesGAContextInstanceConfiguration_Day_Value_Invalid_ERROR_ = IWAT0452E The value {0} of the attribute {1} of {2} is invalid.  It must be an integer value between 1 and 31.
179
HyadesGAContextInstanceConfiguration_Timezone_Value_Invalid_ERROR_ = IWAT0453E The value {0} of the attribute {1} of {2} is invalid.  It must be a timezone offset from GMT in the format specified in RFC 822.  For example, -0500.
179
HyadesGAContextInstanceConfiguration_Timezone_Value_Invalid_ERROR_ = IWAT0453E The value {0} of the attribute {1} of {2} is invalid.  It must be a timezone offset from GMT in the format specified in RFC 822.  For example, -0500.
180
180
181
HyadesGA_CBE_Log_Outputter_AgentControllerUnavailable_ERROR_=IWAT0323E Common Base Event Logging Agent outputter cannot communicate with Agent Controller. Ensure Agent Controller is running and Agent Controller native libraries are accessible.
182
181
# Message strings:
183
# Message strings:
182
EXCEPTION                                           = Exception
184
EXCEPTION                                           = Exception
183
185
(-)src/org/eclipse/hyades/logging/adapter/outputters/CBELogOutputter.java (-26 / +46 lines)
Lines 42-47 Link Here
42
	
42
	
43
	private long waitTime = 0;
43
	private long waitTime = 0;
44
	
44
	
45
	private boolean firstEvents = true;
45
	/**
46
	/**
46
	 * This implementation processes messages represented by an array of CommonBaseEvent objects
47
	 * This implementation processes messages represented by an array of CommonBaseEvent objects
47
	 * where each CommonBaseEvent represents a message. Each CommonBaseEvent is
48
	 * where each CommonBaseEvent represents a message. Each CommonBaseEvent is
Lines 65-104 Link Here
65
	{
66
	{
66
		int cbesReturned = 0;
67
		int cbesReturned = 0;
67
		
68
		
68
		// If the agent is not being monitored then wait for it to be so
69
		// If the Agent Controller is not available then just return because the
70
		// events cannot be sent to the client.
69
		
71
		
70
		if (events.length > 0 && !cbelogger.isLogging() && getWaitTime() > 0) {
72
		if ( !cbelogger.isAgentControllerAvailable()) {
71
73
			// log a message
72
		    CommonBaseEvent event = getEventFactory().createCommonBaseEvent();
74
		    CommonBaseEvent event = getEventFactory().createCommonBaseEvent();
73
75
74
		    event.getMsgDataElement().setMsgCatalogId("HyadesGA_CBE_Logging_Agent_Waiting_INFO_");
76
		    event.getMsgDataElement().setMsgCatalogId("HyadesGA_CBE_Log_Outputter_AgentControllerUnavailable_ERROR_");							    
75
		    event.getMsgDataElement().setMsgCatalogTokensAsStrings(new String[]{getUniqueID(),getAgentName()});							    
76
77
77
		    event.setSeverity(CommonBaseEvent.SEVERITY_INFORMATION);
78
		    event.setSeverity(CommonBaseEvent.SEVERITY_CRITICAL);
78
			
79
			
79
		    log(event);
80
		    log(event);
80
			
81
			return events;
81
		    while ( !cbelogger.waitUntilLogging(getWaitTime())) {
82
		}
82
83
83
			    event = getEventFactory().createCommonBaseEvent();
84
		// If the agent is not being monitored then wait for it to be so. Only wait if it is the first time.
84
			   
85
		
85
			    event.getMsgDataElement().setMsgCatalogId("HyadesGA_CBE_Logging_Agent_Waiting_INFO_");
86
		if (firstEvents && events.length > 0 && !cbelogger.isLogging() && waitTime >= 0) {
86
			    event.getMsgDataElement().setMsgCatalogTokensAsStrings(new String[]{getUniqueID(),getAgentName()});							    
87
88
		    CommonBaseEvent event = getEventFactory().createCommonBaseEvent();
87
89
88
			    event.setSeverity(CommonBaseEvent.SEVERITY_INFORMATION);
90
		    event.getMsgDataElement().setMsgCatalogId("HyadesGA_CBE_Logging_Agent_Waiting_INFO_");
91
		    event.getMsgDataElement().setMsgCatalogTokensAsStrings(new String[]{getUniqueID(),getAgentName()});							    
89
92
90
			    log(event);
93
		    event.setSeverity(CommonBaseEvent.SEVERITY_INFORMATION);
91
			} 
92
			
94
			
93
/*          This does not work - waitUntilLogging is not returning true after user attaches to 
95
		    log(event);
94
			agent but it should. 
96
		    
95
 
97
		    if (waitTime > 0) {
96
			if (!cbelogger.waitUntilLogging(60000)) {
98
		    	cbelogger.waitUntilLogging(waitTime);
97
				if (!cbelogger.isLogging()) {
99
		    }
98
				return events;
100
		    else {
99
				}
101
		    	// Wait forever for the logging agent to be monitored by a client
100
			}
102
			    while ( !cbelogger.waitUntilLogging(1000)) {
101
*/			
103
	
104
				    event = getEventFactory().createCommonBaseEvent();
105
				   
106
				    event.getMsgDataElement().setMsgCatalogId("HyadesGA_CBE_Logging_Agent_Waiting_INFO_");
107
				    event.getMsgDataElement().setMsgCatalogTokensAsStrings(new String[]{getUniqueID(),getAgentName()});							    
108
	
109
				    event.setSeverity(CommonBaseEvent.SEVERITY_INFORMATION);
110
	
111
				    log(event);
112
				} 
113
		    }
114
		}
115
		
116
		if (firstEvents && events.length > 0) {
117
			firstEvents = false;
102
		}
118
		}
103
		
119
		
104
		for (int i = 0; i < events.length; i++)
120
		for (int i = 0; i < events.length; i++)
Lines 167-173 Link Here
167
		Element outputterNode;
183
		Element outputterNode;
168
		
184
		
169
		String waittm = null;
185
		String waittm = null;
170
		String agent = null;
171
186
172
		// Get the outputter parameters from the outputter properties
187
		// Get the outputter parameters from the outputter properties
173
		Hashtable outputterProperties = getProperties();		
188
		Hashtable outputterProperties = getProperties();		
Lines 259-265 Link Here
259
			}
274
			}
260
			cbelogger = new LoggingAgent(logAgentName,bufferSize);
275
			cbelogger = new LoggingAgent(logAgentName,bufferSize);
261
		}
276
		}
262
277
		firstEvents = true;
278
		
279
		if (!cbelogger.isAgentControllerAvailable()) {
280
			// Agent Controller is not available so throw an exception
281
			throw new AdapterInvalidConfig(Messages.getString("HyadesGA_CBE_Log_Outputter_AgentControllerUnavailable_ERROR_"));
282
		}
263
	}
283
	}
264
284
265
	/**
285
	/**
(-)src/org/eclipse/hyades/logging/adapter/util/properties/plugin.properties (+295 lines)
Added Link Here
1
#####################################################
2
# Hyades Generic Adapter strings
3
#
4
#**********************************************************************
5
# * Copyright (c) 2005 IBM Corporation and others.
6
# * All rights reserved.   This program and the accompanying materials
7
# * are made available under the terms of the Eclipse Public License v1.0
8
# * which accompanies this distribution, and is available at
9
# * http://www.eclipse.org/legal/epl-v10.html
10
# * $Id: plugin.properties,v 1.16 2005/10/06 06:32:26 dnsmith Exp $
11
# *
12
# * Contributors:
13
# * IBM - Initial API and implementation
14
# **********************************************************************/
15
#####################################################
16
#====================================================================
17
# To code developer:
18
#   Do NOT change the properties between this line and the
19
#   "%%% END OF TRANSLATED PROPERTIES %%%" line.
20
#   Make a new property name, append to the end of the file and change
21
#   the code to use the new property.
22
#====================================================================
23
#####################################################
24
25
# NLS_MESSAGEFORMAT_VAR
26
# NLS_ENCODING=UTF-8
27
28
29
HyadesGACommand_line_usage=Command line usage: Adapter [-cc ContextConfiguration.xml] [-ac ComponentConfigurations.xml]
30
31
HyadesGAAdapterFatal_ERROR_=IWAT0310E Generic Log Adapter could not be started due to configuration problems.
32
HyadesGAContextFatal_ERROR_=IWAT0311E Context will not be run due to fatal configuration error.
33
HyadesGAContextConfigurationErrorContextCountMismatchFatal_ERROR_=IWAT0312E Adapter cannot start.  Configuration error: Number of Context's is not the same as the number of ContextInstance's.  They must be the same.
34
HyadesGAContextInstanceConfigurationErrorComponentMismatchFatal_ERROR_=IWAT0313E Adapter cannot start.  Context and ContextInstance configurations do not match for context {0}.  The number of components must be the same.
35
HyadesGAContextInstanceConfigurationErrorComponentIdNotFoundFatal_ERROR_=IWAT0314E Adapter cannot start.  Configuration error:  Component with ID {0} cannot be found in context with ID {1}.
36
HyadesGAContextInstanceConfigurationErrorContextIdNotFoundFatal_ERROR_=IWAT0315E Adapter cannot start.  Configuration error:  ContextInstance ID {0} cannot be found in the list of Context''s.
37
HyadesGAContextInstantiation_ERROR_=IWAT0316E Error building context {0}. {1}
38
HyadesGAComponentInstantiation_ERROR_=IWAT0317E Error building component {0}. {1}
39
HyadesGAClassLoad_ERROR_=IWAT0318E {0} was not found.
40
HyadesGAInstantiation_ERROR_=IWAT0319E Class {0} cannot be instantiated.
41
HyadesGAAccess_ERROR_=IWAT0320E {0} is not accessible due to security restrictions.
42
HyadesGAMalformedParserExpression_ERROR_=IWAT0321E Regular exression is malformed.
43
HyadesGAPatternSyntaxException_Details = Exception = {0}  Pattern = {1}
44
HyadesGAPatternSyntaxException_Index = Index = {0}
45
HyadesGASubstitutionRuleIgnored_WARN_=IWAT0322W Substitution rule will be ignored because it is invalid ({0}).
46
47
HyadesGA_CBE_File_Outputter_Write_ERROR_=IWAT0323E Common Base Event File outputter {0} cannot write to file {1}. Exception: {2}
48
HyadesGA_CBE_File_Outputter_Create_ERROR_=IWAT0324E Common Base Event File outputter {0} cannot create file {1}. Exception: {2}
49
50
HyadesGA_CBE_Formatter_MsgDataElement_WARN_=IWAT0325W Common Base Event formatter {0} has received an invalid MsgDataElement property name: {1}.
51
52
HyadesGA_CBE_Formatter_Duplicate_ContextDataElement_WARN_=IWAT0326W Common Base Event formatter {0} has received the ContextDataElement property {1} but it cannot be set because {2} is set.
53
HyadesGA_CBE_Formatter_ContextDataElement_WARN_=IWAT0327W Common Base Event formatter {0} has received an invalid ContextDataElement property name: {1}.
54
55
HyadesGA_CBE_Formatter_ComponentIdentification_WARN_=IWAT0328W Common Base Event formatter {0} has received an invalid ComponentIdentification property name: {1}.
56
57
HyadesGA_CBE_Formatter_SituationType_WARN_=IWAT0329W Common Base Event formatter {0} has received the situation type {1} but this CBE has a different situation type.
58
HyadesGA_CBE_Formatter_AvailableSituation_WARN_=IWAT0330W Common Base Event formatter {0} has received the property name {1} that is not an Available Situation property.
59
HyadesGA_CBE_Formatter_RequestSituation_WARN_=IWAT0331W Common Base Event formatter {0} has received the property name {1} that is not a Request Situation property.
60
HyadesGA_CBE_Formatter_StartSituation_WARN_=IWAT0332W Common Base Event formatter {0} has received the property name {1} that is not a Start Situation property.
61
HyadesGA_CBE_Formatter_StopSituation_WARN_=IWAT0333W Common Base Event formatter {0} has received the property name {1} that is not a Stop Situation property.
62
HyadesGA_CBE_Formatter_ConnectSituation_WARN_=IWAT0334W Common Base Event formatter {0} has received the property name {1} that is not a Connect Situation property.
63
HyadesGA_CBE_Formatter_ConfigureSituation_WARN_=IWAT0335W Common Base Event formatter {0} has received the property name {1} that is not a Configure Situation property.
64
HyadesGA_CBE_Formatter_CreateSituation_WARN_=IWAT0336W Common Base Event formatter {0} has received the property name {1} that is not a Create Situation property.
65
HyadesGA_CBE_Formatter_DestroySituation_WARN_=IWAT0337W Common Base Event formatter {0} has received the property name {1} that is not a Destroy Situation property.
66
HyadesGA_CBE_Formatter_ReportSituation_WARN_=IWAT0338W Common Base Event formatter {0} has received the property name {1} that is not a Report Situation property.
67
HyadesGA_CBE_Formatter_FeatureSituation_WARN_=IWAT0339W Common Base Event formatter {0} has received the property name {1} that is not a Feature Situation property.
68
HyadesGA_CBE_Formatter_DependencySituation_WARN_=IWAT0340W Common Base Event formatter {0} has received the property name {1} that is not a Dependency Situation property.
69
HyadesGA_CBE_Formatter_OtherSituation_WARN_=IWAT0341W Common Base Event formatter {0} has received the property name {1} that is not an Other Situation property.
70
71
HyadesGA_CBE_Formatter_Invalid_Situation_WARN_=IWAT0342W Common Base Event formatter {0} has received an invalid Situation property name {1}.
72
HyadesGA_CBE_Formatter_Invalid_SituationType_WARN_=IWAT0343W Common Base Event formatter {0} has received an invalid Situation Type property name {1}.
73
HyadesGA_CBE_Formatter_Invalid_AssociatedEvent_WARN_=IWAT0344W Common Base Event formatter {0} has received an invalid AssociatedEvent property name {1}.
74
HyadesGA_CBE_Formatter_Invalid_AssociationEngine_WARN_=IWAT0345W Common Base Event formatter {0} has received an invalid AssociationEngine property name {1}.
75
76
HyadesGA_CBE_Formatter_Duplicate_ExtendedDataElement_WARN_=IWAT0346W Common Base Event formatter {0} has received the ExtendedDataElement property {1} but it cannot be set because {2} is set.
77
HyadesGA_CBE_Formatter_Invalid_ExtendedDataElement_WARN_=IWAT0347W Common Base Event formatter {0} has received an invalid ExtendedDataElement property name {1}.
78
HyadesGA_CBE_Formatter_Invalid_CommmonBaseEvent_WARN_=IWAT0348W Common Base Event formatter {0} has received an invalid CommmonBaseEvent property name {1}.
79
HyadesGA_CBE_Formatter_Invalid_Property_WARN_=IWAT0349W Common Base Event formatter {0} has received an invalid property name string {1}.
80
HyadesGA_CBE_Formatter_Non_Numeric_Property_WARN_=IWAT0350W Common Base Event formatter {0} has received an non numeric value when it was expecting one when processing {1}.
81
HyadesGA_CBE_Formatter_Exception_WARN_=IWAT0351W Common Base Event formatter {0} has received an exception when processing {1} - {2}.
82
83
HyadesGA_CBE_Logging_Agent_Waiting_INFO_=IWAT0352I Common Base Event logging agent outputter {0} is waiting for agent {1} to be monitored...
84
85
HyadesGA_CBE_Logging_Agent_Write_ERROR_=IWAT0353E Common Base Event logging agent outputter {0} cannot write to agent {1} due to the following exception: {2}
86
87
HyadesGAInitialization_Internal_Logging_Not_Started_WARN_ = IWAT0354W Generic Log Adapter internal logging failure: {0}
88
89
HyadesGA_CBE_ProcessUnit_ERROR_=IWAT0355E Process Unit {0} has been requested to process Event Items.
90
91
HyadesGA_CBE_Sensor_getNext_INFO_=IWAT0356I Sensor getNext has been requested from {0}.
92
93
HyadesGA_CBE_File_Parsing_ERROR_=IWAT0357E Exception parsing file {0}:  {1}.
94
95
HyadesGA_CBE_Simple_Extractor_Message_INFO_=IWAT0358I The following message is being passed on: {0}
96
HyadesGA_CBE_Regular_Expression_Extractor_Start_Pattern_Invalid_ERROR_=IWAT0359E The extractor start pattern regular expression is malformed: {0}.
97
HyadesGA_CBE_Regular_Expression_Extractor_End_Pattern_Invalid_ERROR_=IWAT0360E The extractor end pattern regular expression is malformed: {0}.
98
99
HyadesGA_CBE_Parser_Preparation_SubstitutionExtensionClass_NotFound_ERROR_=IWAT0361E Could not find substitution extension class {0}.
100
HyadesGA_CBE_Parser_Preparation_SubstitutionExtensionClass_Exception_ERROR_=IWAT0362E Exception occurred intantiating substitution extension class {0}.
101
HyadesGA_CBE_Parser_Preparation_Invalid_Time_Format_ERROR_=IWAT0363E The time format {0} is invalid.
102
HyadesGA_CBE_Parser_Run_SubstitutionExtensionClass_Invalid_ERROR_=IWAT0364E Substitution extension class {0} does not implement ISubstitutionExtension or IStatefulSubstitutionExtension.
103
HyadesGA_CBE_Parser_Run_StatelessSubstitutionExtensionClass_Exception_ERROR_=IWAT0365E Stateless substitution extension class {0} threw an exception.
104
HyadesGA_CBE_Parser_Run_StatefulSubstitutionExtensionClass_Exception_ERROR_=IWAT0366E Stateful substitution extension class {0} threw an exception.
105
HyadesGA_CBE_Parser_Run_TimeParser_Exception_ERROR_=IWAT0367E The time {0} could not be parsed with format {1} because an exception occurred.
106
HyadesGA_CBE_Adapter_No_Config_File_Specified_ERROR_=IWAT0368E An adapter configuration file must be specified on the command line.
107
HyadesGA_CBE_Adapter_No_Config_File_ERROR_=IWAT0369E The adapter configuration file {0} cannot be found.
108
HyadesGA_CBE_Adapter_Config_File_Open_ERROR_=IWAT0370E The adapter configuration file {0} cannot be opened.
109
HyadesGA_CBE_Adapter_Config_File_Parse_ERROR_=IWAT0371E The adapter configuration file {0} cannot be parsed.
110
HyadesGA_CBE_Adapter_Config_File_Missing_Element_ERROR_=IWAT0372E The adapter configuration file {0} is missing the element {1}.
111
HyadesGA_CBE_Adapter_Config_File_Save_ERROR_=IWAT0373E The adapter configuration file {0} cannot be saved due to the following reason: {1}
112
HyadesGA_CBE_Adapter_No_Config_File_Migration_Required_INFO_=IWAT0374I No migration is required for the adapter configuration file {0}.
113
HyadesGA_CBE_SingleFileSensor_Invalid_Config_File_ERROR_=IWAT0375E The SingleOSFileSensor configuration is incorrect. The directory or fileName property is missing or invalid.
114
HyadesGA_CBE_StaticParserSensor_Invalid_Config_File_ERROR_=IWAT0376E The StaticParserSensor configuration is incorrect. The directory, fileName or parserClassName property is missing or invalid.
115
HyadesGA_CBE_SingleFileOutputter_Invalid_Config_File_ERROR_=IWAT0377E The CBEFileOutputter configuration is incorrect. The directory or fileName property is missing or invalid.
116
HyadesGA_CBE_Logging_Agent_Buffer_Specification_WARN_=IWAT0378W Common Base Event logging agent outputter {0} has invalid buffer specification.  Using default size of {1}
117
HyadesGA_CBE_Parser_Preparation_No_Parser_Element_ERROR_=IWAT0379E Could not find the parser configuration element {0} in the adapter configuration file.
118
HyadesGA_CBE_Parser_Preparation_Separator_Token_Pattern_Invalid_ERROR_=IWAT0380E The parser separator token regular expression is malformed: {0}.
119
HyadesGA_CBE_Parser_Preparation_Designation_Token_Pattern_Invalid_ERROR_=IWAT0381E The parser designation token regular expression is malformed: {0}.
120
HyadesGAValidation_Fatal_ERROR_=IWAT0382E Adapter Validation Fatal Error: {0}
121
HyadesGAValidation_ERROR_=IWAT0383E Adapter Validation Error: {0}
122
HyadesGAValidation_WARN_=IWAT0384W Adapter Validation Warning: {0}
123
HyadesGAValidation_Getting_Schemas_ERROR_=IWAT0385E Could not get schema files: {0}
124
HyadesGAValidation_No_GLAHome_ERROR_=IWAT0386E GLA_HOME is not provided to JVM
125
HyadesGAValidation_GLAHome_Invalid_ERROR_=IWAT0387E GLA_HOME value {0} is not valid.
126
HyadesGAContextInstanceConfiguration_LocaleNotFound_ERROR_=IWAT0388E Could not determine a locale for this context based on language {0} and country {1}.  Aborting this context.
127
HyadesGAContextInstanceConfiguration_CharsetNotSupported_ERROR_=IWAT0389E The character set {0} specified for this context is not supported.  Aborting this context.
128
HyadesGAContextInstanceConfiguration_ContextLocaleSetting_INFO_=IWAT0390I Context is configured to run in locale {0}.
129
HyadesGAContextInstanceConfiguration_ContextCharsetSetting_INFO_=IWAT0391I Context is configured to run with character set {0}.
130
HyadesGAContextInstanceConfiguration_ConfigurationComplete_INFO_=IWAT0392I Finished configuring the context {0}.
131
HyadesGAContext_Started_INFO_=IWAT0393I Generic Log Adapter Context {0} has started.
132
HyadesGAContext_Stopped_INFO_=IWAT0394I Generic Log Adapter Context {0} has stopped.
133
HyadesGAComponent_ConfigurationComplete_INFO_=IWAT0395I Finished configuring the component {0}.
134
HyadesGAComponent_Started_INFO_=IWAT0396I Generic Log Adapter Component {0} has started.
135
HyadesGAComponent_Stopped_INFO_=IWAT0397I Generic Log Adapter Component {0} has stopped.
136
HyadesGASensor_SingleOSFileSensor_Configuration_INFO_=IWAT0398I Sensor will read file {0} from directory {1} using the converter command {2}.
137
HyadesGAValidation_Validation_Not_Supported_WARN_ = IWAT0399W Validation of adapter configuration is not supported since the run-time environment does not support XML schema validation.  Adapter configuration will not be validated.
138
HyadesGABufferedPeriodicReader_Converter_Process_Exit_Value_ERROR_ = IWAT0238E Converter process ended with exit value {0}
139
HyadesGABufferedPeriodicReader_Converter_Command_Failed_ERROR_ = IWAT0239E Converter command failed: {0}
140
HyadesGABufferedPeriodicReader_Determine_File_Modification_ERROR_ = IWAT0240E Exception occurred when determining if file {0} has changed: {1}
141
HyadesGA_CBE_Parser_Run_Match_And_Substitution_Failure_ERROR_ = IWAT0404E A failure occurred attempting to substitute {0} using the match string {1} in the rule for attribute {2}.  Exception: {3}
142
HyadesGA_AdapterLogOutputter_No_Logger_ERROR_ = IWAT0411E No output logger is defined for this Adapter Log Outputter.
143
HyadesGAContextInstanceConfiguration_JVM_Charset_Not_Found_WARN_ = IWAT0415W The default JVM file encoding could not be determined.  Character set encoding {0} will be used to read the log file.
144
145
HyadesGAInitialization_GetContextListeners_Failure_ERROR_ = IWAT0418E A failure occurred attempting to get the context listeners from the platform.
146
HyadesGAInitialization_GetComponent_Failure_ERROR_ = IWAT0419E A failure occurred attempting to get the adapter component {0} from the platform.
147
HyadesGAInitialization_GetSubstitutionExtension_Failure_ERROR_ = IWAT0420E A failure occurred attempting to get the substitutution extension {0} from the platform.
148
HyadesGAInitialization_Invalid_Class_Failure_ERROR_ = IWAT0421E Invalid class: {0} is not an instance of {1}.
149
HyadesGAInitialization_ContextConfiguration_Failure_ERROR_ = IWAT0422E Could not create context configuration using adapter configuration file {0}.
150
HyadesGAInitialization_ContextInstanceConfiguration_Failure_ERROR_ = IWAT0423E Could not create context instance configuration using adapter configuration file {0}.
151
HyadesGABufferedPeriodicReader_Log_File_Open_Failed_ERROR_ = IWAT0424E Failed to open log file {0}.  Exception: {1}
152
HyadesGATrace_Component_Processing_End_INFO_ = IWAT0425I Component {0} is returning {1} items.
153
HyadesGA_CBE_StaticParserSensor_Parser_Class_Load_ERROR_ = IWAT0426E The static parser class {0} could not be loaded.  Ensure it is accessible via the classpath or an extension point.
154
HyadesGA_CBE_StaticParserSensor_GetParser_Failure_ERROR_ = IWAT0427E A failure occurred attempting to get the static parser {0} from the platform.
155
156
HyadesGAFilter_FilterType_Class_Not_Found_ERROR_ 					= IWAT0429E FilterType class {0} was not found in class path.
157
HyadesGAFilter_FilterType_Class_Instantiation_ERROR_ 				= IWAT0430E FilterType class {0} could not be instantiated. Exception: {1}
158
HyadesGAFilter_FilterRule_Invalid_No_Value_ERROR_ 					= IWAT0431E A filter rule is invalid.  There is no attribute value.
159
HyadesGAFilter_Preparation_No_Filter_Element_ERROR_ 				= IWAT0432E Could not find the filter configuration element {0} in the adapter configuration file.
160
HyadesGAFilter_Preparation_Invalid_Filter_Element_ERROR_ 			= IWAT0433E Invalid filter configuration element {0} in the adapter configuration file.
161
HyadesGAFilter_Preparation_Invalid_Filter_Rule_No_Operator_ERROR_ 	= IWAT0434E Invalid filter rule element {0} in the adapter configuration file. There is no operator.
162
HyadesGAFilter_FilterRule_Invalid_Operator_ERROR_ 					= IWAT0435E A filter rule for attribute {0} is invalid.  The operator {1} is invalid for the filter type.
163
HyadesGAFilter_FilterRuleBlock_Invalid_Operator_ERROR_ 				= IWAT0436E A filter rule block is invalid.  The operator {0} is invalid.  It must be AND or OR.
164
HyadesGAFilter_FilterRule_Invalid_No_Impl_Class_ERROR_				= IWAT0437E A filter rule is invalid.  There is no implementation class.
165
166
HyadesGA_CBE_Formatter_Missing_Required_Field_ERROR_ = IWAT0438E Common Base Event formatter {0} cannot create a CommmonBaseEvent because required property {1} is missing.
167
HyadesGA_CBE_Formatter_Invalid_Field_Value_ERROR_ = IWAT0440E Common Base Event formatter {0} cannot create a CommmonBaseEvent because the value for property {1} is invalid.  Value={2} Problem={3}
168
169
HyadesGAContextConfigurationWarning_Logging_Level_Incorrect_WARN_   = IWAT0443W The value {0} of the attribute {1} of component {2} is invalid.  It must be an integer between 0 and 99.  {1} will be set to 30.
170
HyadesGAContextInstanceConfiguration_Continuous_Operation_Value_Invalid_ERROR_ = IWAT0444E The value {0} of the attribute {1} of {2} is invalid.  It must be a boolean value of {3} or {4}.
171
HyadesGAContextInstanceConfiguration_Pause_Interval_Value_Invalid_ERROR_ = IWAT0445E The value {0} of the attribute {1} of {2} is invalid.  It must be an integer value greater than zero. 
172
HyadesGAContextInstanceConfiguration_Max_Idle_Time_Value_Invalid_ERROR_ = IWAT0446E The value {0} of the attribute {1} of {2} is invalid.  It must be a positive integer value.
173
HyadesGAContextInstanceConfiguration_Required_Continuous_Attribute_Missing_ERROR_ = IWAT0447E The attribute {0} of {1} is missing.  It is required if the attribute {2} has a value of {3}.
174
HyadesGAComponentConfiguration_Invalid_Integer_Attribute_Value_ERROR_ = IWAT0448E The value {0} of the attribute {1} of component {2} is invalid. It must be an integer value greater than zero.
175
HyadesGAComponentConfiguration_Required_Attribute_Missing_ERROR_ = IWAT0449E The attribute {0} of component {1} is missing.  It is a required attribute.
176
HyadesGAComponentConfiguration_Invalid_Positive_Integer_Attribute_Value_ERROR_ = IWAT0450E The value {0} of the attribute {1} of component {2} is invalid.  It must be a positive integer value.
177
HyadesGAContextInstanceConfiguration_Month_Value_Invalid_ERROR_ = IWAT0451E The value {0} of the attribute {1} of {2} is invalid.  It must be an integer value between 1 and 12.
178
HyadesGAContextInstanceConfiguration_Day_Value_Invalid_ERROR_ = IWAT0452E The value {0} of the attribute {1} of {2} is invalid.  It must be an integer value between 1 and 31.
179
HyadesGAContextInstanceConfiguration_Timezone_Value_Invalid_ERROR_ = IWAT0453E The value {0} of the attribute {1} of {2} is invalid.  It must be a timezone offset from GMT in the format specified in RFC 822.  For example, -0500.
180
181
HyadesGA_CBE_Log_Outputter_AgentControllerUnavailable_ERROR_=IWAT0323E Common Base Event Logging Agent outputter cannot communicate with Agent Controller. Ensure Agent Controller is running and Agent Controller native libraries are accessible.
182
183
# Message strings:
184
EXCEPTION                                           = Exception
185
186
# plugin.xml strings:
187
188
STR_GLA_CFG_PRBLM= Generic Log Adapter Configuration Problem
189
190
#====================================================================
191
# %%% END OF TRANSLATED PROPERTIES %%%
192
#====================================================================
193
194
pluginName=Hyades Generic Log Adapter Runtime
195
providerName=Eclipse.org
196
ContextListener_Schema=Context Listeners
197
AdapterComponent_Schema=Adapter Components
198
SubstitutionExtension_Schema=Substitution Extensions
199
200
# Command line strings:
201
HyadesGA-cc=-cc
202
HyadesGA-ac=-ac
203
204
# File symbol and tag names in the xml schema:
205
HyadesGADefaultContextConfigurationFile=SimpleContextConfiguration.xml
206
HyadesGADefaultComponentConfigurationsFile=SimpleComponentConfigurations.xml
207
HyadesGA=:
208
209
HyadesGAExecutableClassAttributeName=executableClass
210
HyadesGANameAttributeName=name
211
HyadesGAUniqueIDAttributeName=uniqueID
212
HyadesGADescriptionAttributeName=description
213
HyadesGARoleAttributeName=role
214
HyadesGALoggingLevelAttributeName=loggingLevel
215
HyadesGARoleVersionAttributeName=roleVersion
216
HyadesGARoleCreationDateAttributeName=roleCreationDate
217
HyadesGARoleVersionDescriptionAttributeName=roleVersionDescription
218
HyadesGAImplementationVersionAttributeName=implementationVersion
219
HyadesGAImplemenationCreationDateAttributeName=implementationCreationDate
220
HyadesGAImplemenationVersionDescriptionAttributeName=implementationVersionDescription
221
HyadesGAAdapterProcessUnitNamespaceAttributeTagName=xmlns:pu
222
HyadesGAAdapterProcessUnitNamespaceAttributeValue=http://www.eclipse.org/hyades/schema/ProcessUnit.xsd
223
224
HyadesGAtypeAttributeName=type
225
HyadesGAagentNameAttributeName=agentName
226
HyadesGAdirectoryAttributeName=directory
227
HyadesGAfileNameAttributeName=fileName
228
HyadesGAstaticParserClassAttributeName=parserClassName
229
HyadesGAconverterCmdAttributeName=converter
230
HyadesGAconverterShellAttributeName=shell
231
HyadesGAexpirationAttributeName=expiration
232
HyadesGAmaximumBlockingAttributeName=maximumBlocking
233
HyadesGAconfidenceBufferSizeAttributeName=confidenceBufferSize
234
HyadesGAfileFooterSizeAttributeName=fileFooterSize
235
HyadesGAwaitTimeAttributeName=waitUntilLoggingTime
236
HyadesGAnestedMessagesAttributeName=nestedMessages
237
HyadesGAcontainsLineBreaksAttributeName=containsLineBreaks
238
HyadesGAreplaceLineBreaksAttributeName=replaceLineBreaks
239
HyadesGAstartPatternAttributeName=startPattern
240
HyadesGAendPatternAttributeName=endPattern
241
HyadesGAincludeStartPatternAttributeName=includeStartPattern
242
HyadesGAincludeEndPatternAttributeName=includeEndPattern
243
HyadesGAlineBreakSymbolAttributeName=lineBreakSymbol
244
HyadesGARuleElementTagName=RuleElement
245
HyadesGARuleAttributeTagName=RuleAttribute
246
HyadesGASubstitutionRuleTagName=SubstitutionRule
247
HyadesGAPositionsAttributeName=positions
248
HyadesGAMatchAttributeName=match
249
HyadesGASubstituteAttributeName=substitute
250
HyadesGADesignationTokenName=designationToken
251
HyadesGASeparatorTokenAttributeName=separatorToken
252
HyadesGAIndexAttributeName=index
253
HyadesGAResourceURLAttributeName=resourceURL
254
HyadesGAcontextListenerAttributeName=contextListener
255
HyadesGAstaticParserClassAttributeName=parserClassName
256
HyadesGAstaticParserAgentName=Generic Log Parser Agent
257
HyadesGAUsePreviousMatchSubstitutionAsDefault=usePreviousMatchSubstitutionAsDefault
258
259
HyadesGAPropertyElementTagName=pu:Property
260
HyadesGAPropertyNameAttributeName=propertyName
261
HyadesGAPropertyValueAttributeName=propertyValue
262
HyadesGASensorPropertyElementTagName=sensor:SensorProperty
263
HyadesGASensorPropertyNameAttributeName=propertyName
264
HyadesGASensorPropertyValueAttributeName=propertyValue
265
HyadesGAExtensionPointPackageNameTag=org.eclipse.hyades.logging.parsers
266
HyadesGAExtensionPointNameTag=logParser
267
HyadesGAExtensionPointIDTag=id
268
HyadesGAUnknownNameTag=unknown
269
HyadesGAStaticParserOutputterTagName=StaticParserOutputter
270
HyadesGAStaticParserLoggerKeyName=loggerKey
271
HyadesGASingleFileSensorTagName=sensor:SingleFileSensor
272
HyadesGAStaticParserSensorTagName=sensor:StaticParserSensor
273
HyadesGASingleFileOutputterTypeTagName=op:SingleFileOutputterType
274
HyadesGALogOutputterTypeTagName=op:LoggingAgentOutputterType
275
HyadesGAEclipseErrorDialogOutputterTypeTagName=op:EclipseErrorDialogOutputter
276
HyadesGAuseBuiltInFunctionAttributeName=useBuiltInFunction
277
HyadesGAsubstitutionExtensionClassAttributeName=substitutionExtensionClass
278
HyadesGAdefaultValueAttributeName=defaultValue
279
HyadesGAtimeFormatAttributeName=timeFormat
280
HyadesGAbufferSizeAttributeName=bufferSize
281
HyadesGAisRequiredByParentAttributeName=isRequiredByParent
282
HyadesGAisChildChoiceAttributeName=isChildChoice
283
HyadesGAAdapterContextName=AdapterContext
284
285
HyadesGAFilterTagName=filter:Filter
286
HyadesGAFilterRuleBlockElementTagName=FilterRuleBlock
287
HyadesGAFilterRuleElementTagName=FilterRule
288
HyadesGAOperatorAttributeName=operator
289
HyadesGANegationAttributeName=negation
290
HyadesGAImplementationClassAttributeName=implementationClass
291
HyadesGAAttributeValueAttributeName=attributeValue
292
HyadesGAttributeNamePathElementTagName=attributeNamePath
293
HyadesGAttributeNameElementTagName=attributeName
294
HyadesGANodeElementTagName=node
295

Return to bug 113171