diff --git a/jonas_doc/.gitignore b/.gitignore similarity index 100% rename from jonas_doc/.gitignore rename to .gitignore diff --git a/jonas_doc/.project b/.project similarity index 100% rename from jonas_doc/.project rename to .project diff --git a/jonas_doc/README b/README similarity index 100% rename from jonas_doc/README rename to README diff --git a/jonas_doc/build.properties b/build.properties similarity index 100% rename from jonas_doc/build.properties rename to build.properties diff --git a/jonas_doc/build.xml b/build.xml similarity index 100% rename from jonas_doc/build.xml rename to build.xml diff --git a/jonas/.checkstyle b/jonas/.checkstyle deleted file mode 100644 index f197dee3b2985b4886e60f749981148fca2f5634..0000000000000000000000000000000000000000 --- a/jonas/.checkstyle +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/jonas/.checkstyle_eclipse_config b/jonas/.checkstyle_eclipse_config deleted file mode 100644 index 8bfd33c209e4fa7869217784415138409449c7c8..0000000000000000000000000000000000000000 --- a/jonas/.checkstyle_eclipse_config +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jonas/.classpath b/jonas/.classpath deleted file mode 100644 index 9ffa8fbde5e4ff7f8b76558bbf90a9c4c4e1fbf6..0000000000000000000000000000000000000000 --- a/jonas/.classpath +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jonas/.gitignore b/jonas/.gitignore deleted file mode 100644 index 015586ae374341e1fef5db7b6fd0150cf41ee97f..0000000000000000000000000000000000000000 --- a/jonas/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Maven -# ----------------------------------- -target/ - -# IntelliJ Idea -# ----------------------------------- -.idea/ -*.iml -*.iws - -# Eclipse -# ----------------------------------- -.settings/ -.classpath -.project diff --git a/jonas/.project b/jonas/.project deleted file mode 100644 index 0af046e72851bde528da952fb1012dda7c9e719c..0000000000000000000000000000000000000000 --- a/jonas/.project +++ /dev/null @@ -1,29 +0,0 @@ - - - jonas - - - - - - org.maven.ide.eclipse.maven2Builder - - - - - org.eclipse.jdt.core.javabuilder - - - - - com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder - - - - - - org.eclipse.jdt.core.javanature - org.maven.ide.eclipse.maven2Nature - com.atlassw.tools.eclipse.checkstyle.CheckstyleNature - - diff --git a/jonas/.settings/org.eclipse.jdt.core.prefs b/jonas/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 1d81c0f75250b331ee2008f75319e7e33dd21899..0000000000000000000000000000000000000000 --- a/jonas/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,268 +0,0 @@ -#Tue Aug 17 09:56:30 CEST 2010 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.6 -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=1 -org.eclipse.jdt.core.formatter.blank_lines_before_field=1 -org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 -org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 -org.eclipse.jdt.core.formatter.blank_lines_before_method=1 -org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 -org.eclipse.jdt.core.formatter.blank_lines_before_package=0 -org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 -org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 -org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true -org.eclipse.jdt.core.formatter.comment.format_block_comments=true -org.eclipse.jdt.core.formatter.comment.format_header=false -org.eclipse.jdt.core.formatter.comment.format_html=true -org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=false -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=do not insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert -org.eclipse.jdt.core.formatter.comment.line_length=80 -org.eclipse.jdt.core.formatter.compact_else_if=true -org.eclipse.jdt.core.formatter.continuation_indentation=2 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=128 -org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false -org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false -org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 -org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=space -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true diff --git a/jonas/.settings/org.eclipse.jdt.ui.prefs b/jonas/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 9d0ec048565ca0dd4f88634e2e4270f9f07dd19d..0000000000000000000000000000000000000000 --- a/jonas/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,57 +0,0 @@ -#Wed Sep 17 14:43:57 CEST 2008 -eclipse.preferences.version=1 -editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true -formatter_profile=_JOnAS formatter -formatter_settings_version=11 -org.eclipse.jdt.ui.text.custom_code_templates= -sp_cleanup.add_default_serial_version_id=true -sp_cleanup.add_generated_serial_version_id=false -sp_cleanup.add_missing_annotations=true -sp_cleanup.add_missing_deprecated_annotations=true -sp_cleanup.add_missing_methods=false -sp_cleanup.add_missing_nls_tags=false -sp_cleanup.add_missing_override_annotations=true -sp_cleanup.add_serial_version_id=false -sp_cleanup.always_use_blocks=true -sp_cleanup.always_use_parentheses_in_expressions=false -sp_cleanup.always_use_this_for_non_static_field_access=false -sp_cleanup.always_use_this_for_non_static_method_access=false -sp_cleanup.convert_to_enhanced_for_loop=false -sp_cleanup.correct_indentation=false -sp_cleanup.format_source_code=false -sp_cleanup.format_source_code_changes_only=false -sp_cleanup.make_local_variable_final=false -sp_cleanup.make_parameters_final=true -sp_cleanup.make_private_fields_final=false -sp_cleanup.make_type_abstract_if_missing_method=false -sp_cleanup.make_variable_declarations_final=true -sp_cleanup.never_use_blocks=false -sp_cleanup.never_use_parentheses_in_expressions=true -sp_cleanup.on_save_use_additional_actions=true -sp_cleanup.organize_imports=true -sp_cleanup.qualify_static_field_accesses_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true -sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true -sp_cleanup.qualify_static_member_accesses_with_declaring_class=false -sp_cleanup.qualify_static_method_accesses_with_declaring_class=false -sp_cleanup.remove_private_constructors=true -sp_cleanup.remove_trailing_whitespaces=true -sp_cleanup.remove_trailing_whitespaces_all=true -sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=true -sp_cleanup.remove_unnecessary_nls_tags=false -sp_cleanup.remove_unused_imports=false -sp_cleanup.remove_unused_local_variables=false -sp_cleanup.remove_unused_private_fields=true -sp_cleanup.remove_unused_private_members=false -sp_cleanup.remove_unused_private_methods=true -sp_cleanup.remove_unused_private_types=true -sp_cleanup.sort_members=false -sp_cleanup.sort_members_all=false -sp_cleanup.use_blocks=true -sp_cleanup.use_blocks_only_for_return_and_throw=false -sp_cleanup.use_parentheses_in_expressions=false -sp_cleanup.use_this_for_non_static_field_access=false -sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true -sp_cleanup.use_this_for_non_static_method_access=false -sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/jonas/.settings/org.maven.ide.eclipse.prefs b/jonas/.settings/org.maven.ide.eclipse.prefs deleted file mode 100644 index 89f176d02203d9e140f9fded0de2d8accd54eccf..0000000000000000000000000000000000000000 --- a/jonas/.settings/org.maven.ide.eclipse.prefs +++ /dev/null @@ -1,9 +0,0 @@ -#Wed Sep 16 13:07:40 CEST 2009 -activeProfiles= -eclipse.preferences.version=1 -fullBuildGoals=process-test-resources -includeModules=true -resolveWorkspaceProjects=true -resourceFilterGoals=process-resources resources\:testResources -skipCompilerPlugin=true -version=1 diff --git a/jonas/LicenceAgreement.txt b/jonas/LicenceAgreement.txt deleted file mode 100644 index 678c6921d59838dd7d9240be016e05f877d261f1..0000000000000000000000000000000000000000 --- a/jonas/LicenceAgreement.txt +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/jonas/README b/jonas/README deleted file mode 100644 index fded334f952d14c2972020c154c6d8b312aab10d..0000000000000000000000000000000000000000 --- a/jonas/README +++ /dev/null @@ -1,6 +0,0 @@ - ==================== - How to compile JOnAS - ==================== - -Here is how to build JOnAS 5: - http://wiki.jonas.ow2.org/xwiki/bin/view/Doc/BuildingJOnAS5 \ No newline at end of file diff --git a/jonas/ReleaseNotes.txt b/jonas/ReleaseNotes.txt deleted file mode 100644 index b2a5e1f23aa77dfc3af98ba758f1abf40bbaaa67..0000000000000000000000000000000000000000 --- a/jonas/ReleaseNotes.txt +++ /dev/null @@ -1,2 +0,0 @@ -Release Notes of JOnAS 5.2 are available online -on the JOnAS web site: http://wiki.jonas.ow2.org diff --git a/jonas/assemblies/binaries/pom.xml b/jonas/assemblies/binaries/pom.xml deleted file mode 100644 index 84e0d542922623b0fa15626bad0290ca3cba08a2..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - org.ow2.jonas - assemblies - 5.2.0-M4-SNAPSHOT - ../pom.xml - - 4.0.0 - org.ow2.jonas.assemblies - binaries - JOnAS :: Assemblies :: Binaries - - - - - - src/main/resources - true - - - - - \ No newline at end of file diff --git a/jonas/assemblies/binaries/src/main/resources/bin/ClientStubGen b/jonas/assemblies/binaries/src/main/resources/bin/ClientStubGen deleted file mode 100644 index c9bc686a3582f0048fc3e508951bd9f7949b6a99..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/ClientStubGen +++ /dev/null @@ -1,50 +0,0 @@ -#! /bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2008 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Philippe Durieux -# Contributor(s): ______________________________________. -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# Check JONAS_ROOT is set. -if [ ! -d $JONAS_ROOT/deploy ] -then - echo "JONAS_ROOT must be set" - exit 1 -fi - -# Set CLASSPATH and JONAS_BASE -. $JONAS_ROOT/bin/setenv - -JAVA_OPTS="$JAVA_OPTS \ - -Djonas.root=$JONAS_ROOT \ - -Djonas.base=$JONAS_BASE \ - -Djava.security.manager \ - -Djava.security.policy=$JONAS_BASE/conf/java.policy \ - -Djava.endorsed.dirs=$JONAS_ROOT/lib/endorsed \ -" - -# add /client-bootstrap.jar to the classpath for the bootstrap class -JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$JONAS_ROOT/lib/bootstrap/client-bootstrap.jar$SPS$JONAS_ROOT/lib/jonas-generators-clientstubs.jar$SPS$JONAS_ROOT/lib/client.jar - -$JAVA -cp $JONAS_CLASSPATH $JAVA_OPTS org.ow2.jonas.client.boot.Bootstrap org.ow2.jonas.generators.genclientstub.ClientStubGen "$@" diff --git a/jonas/assemblies/binaries/src/main/resources/bin/ClientStubGen.bat b/jonas/assemblies/binaries/src/main/resources/bin/ClientStubGen.bat deleted file mode 100755 index 30e27fb92fc4b871549c5aaed4357aea57cee639..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/ClientStubGen.bat +++ /dev/null @@ -1,50 +0,0 @@ -@ECHO OFF -REM --------------------------------------------------------------------------- -REM JOnAS: Java(TM) Open Application Server -REM Copyright (C) 1999-2008 Bull S.A.S. -REM Contact: jonas-team@ow2.org -REM -REM This library is free software; you can redistribute it and/or -REM modify it under the terms of the GNU Lesser General Public -REM License as published by the Free Software Foundation; either -REM version 2.1 of the License, or any later version. -REM -REM This library is distributed in the hope that it will be useful, -REM but WITHOUT ANY WARRANTY; without even the implied warranty of -REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -REM Lesser General Public License for more details. -REM -REM You should have received a copy of the GNU Lesser General Public -REM License along with this library; if not, write to the Free Software -REM Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -REM USA -REM -REM Initial developer(s): Guillaume Sauthier -REM -REM --------------------------------------------------------------------------- -REM $Id$ -REM --------------------------------------------------------------------------- - -SET JONAS_LIB=%JONAS_ROOT%\lib - -if ["%JONAS_ROOT%"]==[""] Goto RootIsNotSetError - -CALL "%JONAS_ROOT%\bin\setenv.bat" -ECHO JONAS_BASE is set to %JONAS_BASE% - -SET JONAS_OPTS=-Djonas.root="%JONAS_ROOT%" -SET JONAS_OPTS=%JONAS_OPTS% -Djonas.base="%JONAS_BASE%" -SET JONAS_OPTS=%JONAS_OPTS% -Djava.security.manager -Djava.security.policy="%JONAS_BASE%\conf\java.policy" -SET JONAS_OPTS=%JONAS_OPTS% -Djava.endorsed.dirs="%JONAS_ROOT%\lib\endorsed" - -REM add ow_jonas_bootstrap.jar to the classpath for the bootstrap class -SET JONAS_CLASSPATH=%JONAS_CLASSPATH%;%JONAS_ROOT%\lib\bootstrap\client-bootstrap.jar;%JONAS_ROOT%\lib\jonas-generators-clientstubs.jar;%JONAS_ROOT%\lib\client.jar - -%JAVA% -cp "%JONAS_CLASSPATH%" %JONAS_OPTS% org.ow2.jonas.client.boot.Bootstrap org.ow2.jonas.generators.genclientstub.ClientStubGen %* -GOTO End - -:RootIsNotSetError -ECHO "JONAS_ROOT must be set" -GOTO End - -:End diff --git a/jonas/assemblies/binaries/src/main/resources/bin/GenIC b/jonas/assemblies/binaries/src/main/resources/bin/GenIC deleted file mode 100644 index 7facbef5bb97afe012816226aef97e79c6a414b5..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/GenIC +++ /dev/null @@ -1,50 +0,0 @@ -#! /bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2008 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Philippe Durieux -# Contributor(s): ______________________________________. -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# Check JONAS_ROOT is set. -if [ ! -d $JONAS_ROOT/deploy ] -then - echo "JONAS_ROOT must be set" - exit 1 -fi - -# Set CLASSPATH and JONAS_BASE -. $JONAS_ROOT/bin/setenv - -JAVA_OPTS="$JAVA_OPTS \ - -Djonas.root=$JONAS_ROOT \ - -Djonas.base=$JONAS_BASE \ - -Djava.security.manager \ - -Djava.security.policy=$JONAS_BASE/conf/java.policy \ - -Djava.endorsed.dirs=$JONAS_ROOT/lib/endorsed \ -" - -# add /client-bootstrap.jar to the classpath for the bootstrap class -JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$JONAS_ROOT/lib/bootstrap/client-bootstrap.jar$SPS$JONAS_ROOT/lib/client.jar - -$JAVA -cp $JONAS_CLASSPATH $JAVA_OPTS org.ow2.jonas.client.boot.Bootstrap org.ow2.jonas.generators.genic.GenIC "$@" diff --git a/jonas/assemblies/binaries/src/main/resources/bin/GenIC.bat b/jonas/assemblies/binaries/src/main/resources/bin/GenIC.bat deleted file mode 100755 index dca492634541cc30390c7892da0bf2de8ceac5f4..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/GenIC.bat +++ /dev/null @@ -1,51 +0,0 @@ -@Echo Off - -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2008 Bull S.A.S. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - -setlocal - -call "%JONAS_ROOT%\bin\setenv.bat" -echo JONAS_BASE is set to %JONAS_BASE% - -rem Check environment variables: -if ["%JONAS_ROOT%"]==[""] goto setRoot - -set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%JONAS_ROOT%\lib\bootstrap\client-bootstrap.jar;%JONAS_ROOT%\lib\client.jar - -:set_opts -set JONAS_OPTS=-Djonas.root="%JONAS_ROOT%" -set JONAS_OPTS=%JONAS_OPTS% -Djonas.base="%JONAS_BASE%" -set JONAS_OPTS=%JONAS_OPTS% -Djava.security.manager -Djava.security.policy="%JONAS_BASE%\conf\java.policy" -set JONAS_OPTS=%JONAS_OPTS% -Djava.endorsed.dirs="%JONAS_ROOT%\lib\endorsed" - -%JAVA% -cp "%JONAS_CLASSPATH%" %JONAS_OPTS% org.ow2.jonas.client.boot.Bootstrap org.ow2.jonas.generators.genic.GenIC %* -goto end - -:setRoot -@echo "JONAS_ROOT must be set" -goto end - -:end - diff --git a/jonas/assemblies/binaries/src/main/resources/bin/JmsServer b/jonas/assemblies/binaries/src/main/resources/bin/JmsServer deleted file mode 100644 index cc4a4e3a89cee234d770eead5e89b5068d297e8f..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/JmsServer +++ /dev/null @@ -1,54 +0,0 @@ -#! /bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2008 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Philippe Durieux -# Contributor(s): ______________________________________. -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# Check JONAS_ROOT is set. -if [ ! -d $JONAS_ROOT/deploy ] -then - echo "JONAS_ROOT must be set" - exit 1 -fi - -# Set CLASSPATH and JONAS_BASE -. $JONAS_ROOT/bin/setenv - - -JAVA_OPTS="$JAVA_OPTS \ - -Djonas.root=$JONAS_ROOT \ - -Djonas.base=$JONAS_BASE \ - -Djava.security.manager \ - -Djava.security.policy=$JONAS_BASE/conf/java.policy \ - -Djava.endorsed.dirs=$JONAS_ROOT/lib/endorsed \ - -DTransaction=fr.dyade.aaa.util.NullTransaction \ - -Dfr.dyade.aaa.agent.A3CONF_DIR=$JONAS_BASE/conf \ -" -# add /client-bootstrap.jar to the classpath for the bootstrap class -JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$JONAS_ROOT/lib/bootstrap/client-bootstrap.jar - -$JAVA -cp $JONAS_CLASSPATH $JAVA_OPTS org.ow2.jonas.client.boot.Bootstrap fr.dyade.aaa.agent.AgentServer 0 ./s0 "$@" - - diff --git a/jonas/assemblies/binaries/src/main/resources/bin/JmsServer.bat b/jonas/assemblies/binaries/src/main/resources/bin/JmsServer.bat deleted file mode 100755 index 544fdf565fee7d0101e0425dbe3b7e0f41ac1514..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/JmsServer.bat +++ /dev/null @@ -1,48 +0,0 @@ -@Echo Off - -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2008 Bull S.A.S. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem Initial developer(s): Philippe Durieux -Rem Contributor(s): -Rem -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - -Rem Check environment variables: -if not ["%JONAS_ROOT%"]==[""] Goto Run -@echo "JONAS_ROOT must be set" -Goto End - -:Run -call "%JONAS_ROOT%\bin\setenv.bat" - -set JAVA_OPTS=%JAVA_OPTS% -Djonas.root="%JONAS_ROOT%" -set JAVA_OPTS=%JAVA_OPTS% -Djonas.base="%JONAS_BASE%" -set JAVA_OPTS=%JAVA_OPTS% -Djava.security.manager -set JAVA_OPTS=%JAVA_OPTS% -Djava.security.policy="%JONAS_BASE%\conf\java.policy" -set JAVA_OPTS=%JAVA_OPTS% -Djava.endorsed.dirs="%JONAS_ROOT%\lib\endorsed" -set JAVA_OPTS=%JAVA_OPTS% -DTransaction=fr.dyade.aaa.util.NullTransaction -set JAVA_OPTS=%JAVA_OPTS% -Dfr.dyade.aaa.agent.A3CONF_DIR="%JONAS_BASE%\conf" - -%JAVA% %JAVA_OPTS% -cp "%JONAS_ROOT%\lib\bootstrap\client-bootstrap.jar" org.ow2.jonas.client.boot.Bootstrap fr.dyade.aaa.agent.AgentServer 0 .\s0 %1 %2 %3 %4 %5 %6 %7 %8 %9 - -:End diff --git a/jonas/assemblies/binaries/src/main/resources/bin/RAConfig b/jonas/assemblies/binaries/src/main/resources/bin/RAConfig deleted file mode 100644 index ed2a72ea0abc7ffd026378361b662e50afcc2bb9..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/RAConfig +++ /dev/null @@ -1,50 +0,0 @@ -#! /bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2008 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Philippe Durieux -# Contributor(s): ______________________________________. -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# Check JONAS_ROOT is set. -if [ ! -d $JONAS_ROOT/deploy ] -then - echo "JONAS_ROOT must be set" - exit 1 -fi - -# Set CLASSPATH and JONAS_BASE -. $JONAS_ROOT/bin/setenv - -JAVA_OPTS="$JAVA_OPTS \ - -Djonas.root=$JONAS_ROOT \ - -Djonas.base=$JONAS_BASE \ - -Djava.security.manager \ - -Djava.security.policy=$JONAS_BASE/conf/java.policy \ - -Djava.endorsed.dirs=$JONAS_ROOT/lib/endorsed \ -" - -# add /client-bootstrap.jar to the classpath for the bootstrap class -JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$JONAS_ROOT/lib/bootstrap/client-bootstrap.jar$SPS$JONAS_ROOT/lib/jonas-generators-raconfig.jar$SPS$JONAS_ROOT/lib/client.jar - -$JAVA -cp $JONAS_CLASSPATH $JAVA_OPTS org.ow2.jonas.client.boot.Bootstrap org.ow2.jonas.generators.raconfig.RAConfig "$@" diff --git a/jonas/assemblies/binaries/src/main/resources/bin/RAConfig.bat b/jonas/assemblies/binaries/src/main/resources/bin/RAConfig.bat deleted file mode 100755 index 5b39668146d6db8a35153c40714725aed73b73f1..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/RAConfig.bat +++ /dev/null @@ -1,54 +0,0 @@ -@Echo Off - -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2008 Bull S.A.S. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem Initial developer(s): Benoit Pelletier -Rem -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - -setlocal - -Rem Check environment variables: -if ["%JONAS_ROOT%"]==[""] Goto SetRoot -call "%JONAS_ROOT%\bin\setenv.bat" - -Rem --------------------------------------------------------------------------- -Rem Set JAVA_OPTS -Rem --------------------------------------------------------------------------- -Set JAVA_OPTS=%JAVA_OPTS% -Djonas.root="%JONAS_ROOT%" -Set JAVA_OPTS=%JAVA_OPTS% -Djonas.base="%JONAS_BASE%" -Set JAVA_OPTS=%JAVA_OPTS% -Djava.security.manager -Djava.security.policy="%JONAS_BASE%\conf\java.policy" -Set JAVA_OPTS=%JAVA_OPTS% -Djava.endorsed.dirs="%JONAS_ROOT%\lib\endorsed" - -Set JONAS_CLASSPATH=%JONAS_ROOT%\lib\bootstrap\client-bootstrap.jar;%JONAS_CLASSPATH% -Set JONAS_CLASSPATH=%JONAS_ROOT%\lib\jonas-generators-raconfig.jar;%JONAS_CLASSPATH% -Set JONAS_CLASSPATH=%JONAS_ROOT%\lib\client.jar;%JONAS_CLASSPATH% - -%JAVA% -cp "%JONAS_CLASSPATH%" %JAVA_OPTS% org.ow2.jonas.client.boot.Bootstrap org.ow2.jonas.generators.raconfig.RAConfig %1 %2 %3 %4 %5 %6 %7 %8 %9 -Goto End - -:SetRoot -@echo "JONAS_ROOT must be set" -Goto End - -:End diff --git a/jonas/assemblies/binaries/src/main/resources/bin/WsGen b/jonas/assemblies/binaries/src/main/resources/bin/WsGen deleted file mode 100644 index 0666f0b28121b8ba8f3b773e1835df5eef751161..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/WsGen +++ /dev/null @@ -1,50 +0,0 @@ -#! /bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2008 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Philippe Durieux -# Contributor(s): ______________________________________. -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# Check JONAS_ROOT is set. -if [ ! -d $JONAS_ROOT/deploy ] -then - echo "JONAS_ROOT must be set" - exit 1 -fi - -# Set CLASSPATH and JONAS_BASE -. $JONAS_ROOT/bin/setenv - -JAVA_OPTS="$JAVA_OPTS \ - -Djonas.root=$JONAS_ROOT \ - -Djonas.base=$JONAS_BASE \ - -Djava.security.manager \ - -Djava.security.policy=$JONAS_BASE/conf/java.policy \ - -Djava.endorsed.dirs=$JONAS_ROOT/lib/endorsed \ -" - -# add /client-bootstrap.jar to the classpath for the bootstrap class -JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$JONAS_ROOT/lib/bootstrap/client-bootstrap.jar$SPS$JONAS_ROOT/lib/client.jar - -$JAVA -cp $JONAS_CLASSPATH $JAVA_OPTS org.ow2.jonas.client.boot.Bootstrap org.ow2.jonas.generators.wsgen.WsGen "$@" diff --git a/jonas/assemblies/binaries/src/main/resources/bin/WsGen.bat b/jonas/assemblies/binaries/src/main/resources/bin/WsGen.bat deleted file mode 100755 index 60712346cd4df827082389bde11efc1e0985bbb8..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/WsGen.bat +++ /dev/null @@ -1,53 +0,0 @@ -@Echo Off - -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2008 Bull S.A.S. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem Initial developer(s): Guillaume Sauthier -Rem Contributor(s): -Rem -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - -setlocal - -Rem Check environment variables: -if ["%JONAS_ROOT%"]==[""] Goto SetRoot - -call "%JONAS_ROOT%\bin\setenv.bat" -echo JONAS_BASE is set to %JONAS_BASE% - -Set JAVA_OPTS=%JAVA_OPTS% -Djonas.root="%JONAS_ROOT%" -Set JAVA_OPTS=%JAVA_OPTS% -Djonas.base="%JONAS_BASE%" -Set JAVA_OPTS=%JAVA_OPTS% -Djava.security.manager -Djava.security.policy="%JONAS_BASE%\conf\java.policy" -Set JAVA_OPTS=%JAVA_OPTS% -Djava.endorsed.dirs="%JONAS_ROOT%\lib\endorsed" - -Set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%JONAS_ROOT%\lib\bootstrap\client-bootstrap.jar;%JONAS_ROOT%\lib\client.jar - -%JAVA% -cp "%JONAS_CLASSPATH%" %JAVA_OPTS% org.ow2.jonas.client.boot.Bootstrap org.ow2.jonas.generators.wsgen.WsGen %1 %2 %3 %4 %5 %6 %7 %8 %9 -Goto End - -:SetRoot -@echo "JONAS_ROOT must be set" -Goto End - -:End - diff --git a/jonas/assemblies/binaries/src/main/resources/bin/jcl.bash b/jonas/assemblies/binaries/src/main/resources/bin/jcl.bash deleted file mode 100644 index 504109ed418697c664f9e8ec79e78fa9f5807508..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/jcl.bash +++ /dev/null @@ -1,582 +0,0 @@ -#!/bin/bash -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 2006-2009 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s) 4.8.2: Jerome Pioux - Benoit Pelletier -# -# Modifications for 4.8.3 -# ----------------------- -# Jerome - 10/17/2006 -# - Make this bash script to work for ksh. ie: -# (first line may need to be altered on some sites)... -# * change all with -# * Add a prefix (Do) in the start,stop,kill,status function names -# * Other modifications are flagged as Jerome - 10/17/2006 in the code -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# Status|Start|Stop|Kill JONAS cluster node(s) -# Usage: cl [-n ] [status] | < [-f] kill | [-d] start | stop >" - -# If XWINDOWS=yes or YES exists in the user env., then use -win on startup -XWINDOWS=${XWINDOWS:-no} - -# Default values -JCL_NUMBER_OF_NODES=${JCL_NUMBER_OF_NODES:-40} -JCL_BASE_PREFIX=${JCL_BASE_PREFIX:-$JCL_CLUSTER_DAEMON_DIR/jb} -JCL_DOMAIN_NAME=${JCL_DOMAIN_NAME:-sampleClusterDomain} -JCL_EAR_FILE=${JCL_EAR_FILE:-$JONAS_ROOT/examples/cluster-j2ee14/output/apps/sampleCluster2.ear} -JCL_HA_EAR_FILE=${JCL_HA_EAR_FILE:-$JONAS_ROOT/examples/cluster-j2ee14/output/apps/haTransactions.ear} -JCL_JAVAEE5_EAR_FILE=${JCL_JAVAEE5_EAR_FILE:-$JONAS_ROOT/examples/cluster-javaee5/output/apps/sampleCluster3.ear} -JCL_NODE_NAME_PREFIX=${JCL_NODE_NAME_PREFIX:-node} -JCL_CLUSTER_DAEMON_DIR=${JCL_CLUSTER_DAEMON_DIR:-cd} -JCL_DB_DIR=${JCL_DB_DIR:-db} -JCL_DB_NAME=${JCL_DB_NAME:-db} -JCL_MASTER_DIR=${JCL_MASTER_DIR:-master} -JCL_MASTER_NAME=${JCL_MASTER_NAME:-master} - -# ------------------------------------------ -# NO NEED TO MODIFY ANYTHING BELOW THIS LINE -# ------------------------------------------ -JCL_BASE_DEBUG_PORT=${JCL_BASE_DEBUG_PORT:-414} - -# Delay in seconds to apply between nodes startup/shutdown -DELAY1_AFTER_NODE_START=20 -DELAY2_AFTER_NODE_START=3 -DELAY_BETWEEN_NODE_STOP=1 - -CLUSTER="" -jonasbase="" -typeset -i nnodes=0 -typeset -i wholeCluster=0 -osname=`uname -s` - - -# ------ -# ATEXIT -# ------ -atexit() -{ - printf "\n" -} - -# ----- -# USAGE -# ----- -usage() -{ - printf "\n" - printf "usage: $(basename $0) [ [-n ] [status]] | < [-f] kill | [-d] start | stop > ]\n" - printf "\n" - printf " With node_id: clusterd (or cd), $JCL_MASTER_NAME (or ms), $JCL_DB_NAME \n" - printf " With node_number: node number of JOnAS instances which corresponds to the suffix of the node name\n" - printf " * Form1: Multiple nodes can be specified between commas (no space)\n" - printf " * Form2: Range(s) can be entered using a dash between node numbers (no space)\n" - printf " * Any combination between form1 and form2 is allowed\n" - printf " Ex: -n $JCL_DB_NAME,1-3 applies to the $JCL_DB_NAME node and nodes 1,2 and 3\n" - printf " Notes:\n" - printf " * Do not specify -n or use -nall to address all nodes in the cluster\n" - printf " * A node number for your cluster must be between 1 and $JCL_NUMBER_OF_NODES\n" - printf "\n" - printf " Use \"export XWINDOWS=yes\" if you want to start the JVMs in dedicated xterms\n"; - printf "\n" - exit 1 -} - -# --------- -# DOPADDING -# --------- -DoPadding() -{ - # Use to align fields on the screen - typeset -i m1=$1 - typeset -i m2=$2 - typeset -i p=m2-m1 - - typeset -i i=1 - while [[ $i -le $p ]]; do - printf " " - i=i+1 - done - printf " " - return -} - -# ------------ -# SETJONASBASE -# ------------ -SetJonasBase() -{ - # Do not add any echo or printf in this routine - # besides the one before the return - case $1 in - clusterd) - base=$JCL_CLUSTER_DAEMON_DIR - ;; - $JCL_MASTER_NAME) - base=$JCL_MASTER_DIR - ;; - $JCL_DB_NAME) - base=$JCL_DB_DIR - ;; - *) - # Jerome - 10/17/2006 - char pos in string doesn't work in ksh - #typeset -i l=${#JCL_NODE_NAME_PREFIX} - #base=$JCL_BASE_PREFIX${node:$l} - base=$JCL_BASE_PREFIX${node#*$JCL_NODE_NAME_PREFIX} - ;; - esac - echo $base - return -} - -# ---------- -# SETCLUSTER -# ---------- -SetCluster() -{ -str=${1:-all} -typeset -i n=1 - -# --- All nodes -# We are in control so order nodes "startup-ready" -if [[ $str = 0 || $str = all ]]; then - wholeCluster=1 - cluster="clusterd $JCL_DB_NAME $JCL_MASTER_NAME" - while [[ $n -le $JCL_NUMBER_OF_NODES ]]; do - cluster="$cluster $JCL_NODE_NAME_PREFIX$n" - n=n+1 - done - CLUSTER=${cluster#\ *} - return -fi - -# --- Partial nodes list -# Respect order chosen by user -typeset -i err=0 -typeset -i numnode -OLDIFS=$IFS - -# For nodes between commas -IFS=, -for substr in $str; do - n="$(expr $substr : '.*-')" - - # No dash-formed node - if [[ $n -eq 0 ]]; then - # Non numeric node - if ( echo "$substr" | grep -q [^[:digit:]] ); then - # Abbrev. - [[ $substr = cd ]] && substr=clusterd - [[ $substr = ms ]] && substr=$JCL_MASTER_NAME - if [[ $substr != clusterd && - $substr != $JCL_MASTER_NAME && - $substr != $JCL_DB_NAME ]]; then - err=1 - fi - cluster="$cluster $substr" - # Numeric - else - numnode=$substr - # numnode must be less then JCL_NUMBER_OF_NODES - [[ $numnode -gt $JCL_NUMBER_OF_NODES ]] && err=1 - cluster="$cluster $JCL_NODE_NAME_PREFIX$substr" - fi - - # dash-formed node - else - n1=${substr%%-*} - n2=${substr##*-} - # Both dash-formed nodes must be numeric - if ( echo "$n1" | grep -q [^[:digit:]] || - echo "$n2" | grep -q [^[:digit:]] ); then - err=1 - else - typeset -i i=$n1 && typeset -i imax=$n2 - # First dash-formed node must be less or equal the second - # which in turn must be less then JCL_NUMBER_OF_NODES - [[ $i -gt $imax || $imax -gt $JCL_NUMBER_OF_NODES ]] && err=1 - while [[ $i -le $imax ]]; do - cluster="$cluster $JCL_NODE_NAME_PREFIX$i" - i=i+1 - done - fi - fi -done -IFS=$OLDIFS - -# Remove heading space if any -cluster=${cluster#\ *} - -# Raise error on duplicates -if [[ $err -eq 0 ]]; then - for node1 in $cluster; do - n=0 - for node2 in $cluster; do - [[ $node1 = $node2 ]] && n=n+1 - done - [[ $n -gt 1 ]] && err=1 && break - done -fi - -# Error - empty cluster -[[ $err -eq 1 ]] && cluster="" -CLUSTER=$cluster -return -} - -# --------------- -# CLUSTER DAEMON -# --------------- -ClusterDaemon() -{ - case ${1:-na} in - start) - printf "\n\n*** Starting JOnAS cluster daemon ... \n" - # Jerome - 10/17/2006 - Change regex below for ksh support - #if [[ $XWINDOWS =~ '[Yy][Ee][Ss]' ]]; then - if [[ $XWINDOWS = [Yy][Ee][Ss] ]]; then - xterm -title $HOSTNAME:clusterd -geometry 110x16 -sb -e jclusterd start & - else - jclusterd start & - fi - sleep $DELAY2_AFTER_NODE_START - ;; - - stop) - echo -e "\n\n*** Stopping JOnAS cluster daemon ..." - jclusterd stop - sleep $DELAY_BETWEEN_NODE_STOP - ;; - esac - return -} - -# ------- -# SOSTART -# ------- -Dostart() -{ - typeset -i delay - typeset -i n=1 - - # Jerome - 10/17/2006 - Change regex below for ksh support - #[[ $XWINDOWS =~ '[Yy][Ee][Ss]' ]] && WIN="-win" || WIN="" - [[ $XWINDOWS = [Yy][Ee][Ss] ]] && WIN="-win" || WIN="" - - # Startup cluster; If we are in control of the whole cluster, the nodes - # are already in the correct order for startup - for node in $CLUSTER; do - jonasbase=$(SetJonasBase $node) - export JONAS_BASE=$jonasbase - DBG="" - OSGI="" - - # Set debug and startup delay - case $node in - clusterd) - ClusterDaemon start - continue - ;; - master | db) - delay=$DELAY1_AFTER_NODE_START - [[ $CLEAN = true ]] && OSGI="-clean" - [[ $DEV = true ]] && OSGI="$OSGI -dev" - [[ $GUI = true ]] && OSGI="$OSGI -gui" - ;; - *) - delay=$DELAY2_AFTER_NODE_START - # Jerome - 10/17/2006 - char pos in string doesn't work in ksh - #typeset -i l=${#node} - #[[ $DEBUG = true ]] && DBG="-debug -p $JCL_BASE_DEBUG_PORT${node:$l}" - [[ $DEBUG = true ]] && DBG="-debug -p $JCL_BASE_DEBUG_PORT${node#*$JCL_NODE_NAME_PREFIX}" - [[ $CLEAN = true ]] && OSGI="-clean" - [[ $DEV = true ]] && OSGI="$OSGI -dev" - [[ $GUI = true ]] && OSGI="$OSGI -gui" - ;; - esac - - - - # Save and clean up logs - rm -rf $JONAS_BASE/logs/old/* - mkdir -p $JONAS_BASE/logs/old - mv $JONAS_BASE/logs/* $JONAS_BASE/logs/old 2>/dev/null - - case $node in - node1 | node2 | node3 | node4) - if [[ "$JCL_EAR_FILE" != "NULL" && -f $JCL_EAR_FILE ]]; then - cp $JCL_EAR_FILE $JONAS_BASE/deploy 2>/dev/null - fi - if [[ "$JCL_HA_EAR_FILE" != "NULL" && -f $JCL_HA_EAR_FILE ]]; then - cp $JCL_HA_EAR_FILE $JONAS_BASE/deploy 2>/dev/null - fi - if [[ "$JCL_JAVAEE5_EAR_FILE" != "NULL" && -f $JCL_JAVAEE5_EAR_FILE ]]; then - cp $JCL_JAVAEE5_EAR_FILE $JONAS_BASE/deploy 2>/dev/null - fi - ;; - esac - - cmd="jonas start $OSGI $WIN $DBG -n $node -Ddomain.name=$JCL_DOMAIN_NAME" - printf "\n\n*** Starting JOnAS $node instance ... \n($cmd)\n" - $cmd - - # Wait delay seconds between nodes startup - if [[ $n -lt $nnodes && $WIN = "-win" ]]; then - printf "\n\tWaiting ${delay}s before starting next node ..." - sleep $delay - fi - n=n+1 - done - return -} - -# ------ -# DOSTOP -# ------ -Dostop() -{ - typeset -i delay=$DELAY_BETWEEN_NODE_STOP - - # Stop cluster; If we are in control of the whole cluster, the nodes - # are in the correct order for startup which is the reverse order of - # how we would like to stop them; so let's build a "reverse" cluster - if [[ $wholeCluster -eq 1 ]]; then - for node in $CLUSTER; do - cluster2="$node $cluster2" - done - CLUSTER=$cluster2 - fi - - # Stop cluster - for node in $CLUSTER; do - jonasbase=$(SetJonasBase $node) - export JONAS_BASE=$jonasbase - export CATALINA_BASE=$JONAS_BASE - - if [[ $node = clusterd ]]; then - ClusterDaemon stop - continue - fi - - cmd="jonas stop -n $node" - printf "\n\n*** Stopping JOnAS $node instance ...\n($cmd)\n" - $cmd - - sleep $delay - done - return -} - -# ------ -# DOKILL -# ------ -Dokill() -{ - # Kill cluster - for node in $CLUSTER; do - - # flegare+vma - little adaptation to make it run under solaris: - # this ps does not truncate its output to 80 chars but does not accept - # the '-o' param - if [[ $osname = "SunOS" ]]; then - pid=$(/usr/ucb/ps aww | grep $strToMatch | grep -v grep | cut -d' ' -f2) - else - if [[ $osname = "HP-UX" ]]; then - pid=$(ps -efx | grep $strToMatch | grep -v grep | awk '{ print $2 }') - else - # Jerome - 10/17/2006 - Make ps formatting variables to please AIX and LINUX - proc=$(ps -$psfmt "%p|%a" | grep Djonas.name=$node | grep -v grep | sed -e 's/ *//g') - # Jerome - 10/17/2006 - The pipe below must be protected in ksh - pid=${proc%%\|*} - fi - fi - - if [[ ! -z $pid ]]; then - cmd="/bin/kill -$force $pid" - printf "\n*** Killing JOnAS $node instance ...\n($cmd)\n" - $cmd - fi - done - return -} - -# -------- -# DOSTATUS -# -------- -Dostatus() -{ - typeset -i l - typeset -i lnode - typeset -i ljonasbase - typeset -i maxlnode=0 - typeset -i maxljonasbase=0 - - # Get longest strings length - # (to use in field alignment for display below) - for node in $CLUSTER; do - jonasbase=$(SetJonasBase $node) - - lnode=${#node} - ljonasbase=${#jonasbase} - [[ $lnode -gt $maxlnode ]] && maxlnode=$lnode - [[ $ljonasbase -gt $maxljonasbase ]] && maxljonasbase=$ljonasbase - done - - printf "\n" - - # Display status - for node in $CLUSTER; do - jonasbase=$(SetJonasBase $node) - - lnode=${#node} - ljonasbase=${#jonasbase} - - printf " node=%-s" $node - DoPadding $lnode $maxlnode - - printf "base=%-s" $jonasbase - DoPadding $ljonasbase $maxljonasbase - - printf "%0.s-> " - - if [[ $node = clusterd ]]; then - strToMatch=ClusterDaemon - else - strToMatch=Djonas.name=$node - fi - - # flegare+vma - little adaptation to make it run under solaris: - # this ps does not truncate its output to 80 chars but does not accept - # the '-o' param - if [[ $osname = "SunOS" ]]; then - pid=$(/usr/ucb/ps aww | grep $strToMatch | grep -v grep | cut -d' ' -f2) - else - if [[ $osname = "HP-UX" ]]; then - pid=$(ps -efx | grep $strToMatch | grep -v grep | awk '{ print $2 }') - else - # Jerome - 10/17/2006 - Make ps formatting variables to please AIX and LINUX - proc=$(ps -$psfmt "%p|%a" | grep Djonas.name=$node | grep -v grep | sed -e 's/ *//g') - # Jerome - 10/17/2006 - The pipe below must be protected in ksh - pid=${proc%%\|*} - fi - fi - - if [[ ! -z $pid ]]; then - printf "running [$pid]\n" - else - printf "not running\n" - fi - done - return -} - -# ----- -# MAIN -# ----- -trap "atexit" exit - -# Jerome - 10/17/2006 -# On AIX, the ww is not supported (and not needed) -if [[ $(uname -s) = AIX ]]; then - XTERM=aixterm - psfmt=eo -else - XTERM=xterm - psfmt=ewwo -fi - -typeset -i n -typeset -i force=15 -debug=false -clean=false -dev=false - -# Show stopper -if [[ ! -n $JONAS_ROOT ]]; then - printf "$0: JONAS_ROOT is not defined\n" - exit 2 -fi -if ( ! echo $PATH | grep $JONAS_ROOT/bin >/dev/null 2>&1 ) then - printf "$0: JONAS_ROOT/bin is not in your PATH\n" - exit 3 -fi - -# Read inputs -if [[ $# -ne 0 ]]; then - # linux/bash help way - [[ "$1" = --help ]] && usage - - while getopts ?cegfhn:d c - do - case $c in - # Nodes - n) - node=$OPTARG - ;; - f) - force=9 - ;; - d) - DEBUG=true - ;; - c) - CLEAN=true - ;; - e) - DEV=true - ;; - g) - GUI=true - ;; - *) - usage - ;; - esac - done - shift `expr $OPTIND - 1` - action="$@" -fi - -# Define the cluster -SetCluster $node -if [[ -z $CLUSTER ]]; then - printf "$0: illegal -n parameters\n" - usage -else - # Remember the number of nodes in the cluster - for node in $CLUSTER; do - nnodes=nnodes+1 - done -fi - -# Do the action -[[ "$action" = "" ]] && action=status -case "$action" in - start|stop|kill|status) - Do$action - ;; - *) - usage - ;; -esac -exit 0 diff --git a/jonas/assemblies/binaries/src/main/resources/bin/jcl.bat b/jonas/assemblies/binaries/src/main/resources/bin/jcl.bat deleted file mode 100755 index 95bd93b24675e1a5c0e9ee75817b3d6a05d1ead9..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/jcl.bat +++ /dev/null @@ -1,371 +0,0 @@ -@echo off -REM --------------------------------------------------------------------------- -REM JOnAS: Java(TM) Open Application Server -REM Copyright (C) 2006-2009 Bull S.A.S. -REM Contact: jonas-team@ow2.org -REM -REM This library is free software; you can redistribute it and/or -REM modify it under the terms of the GNU Lesser General Public -REM License as published by the Free Software Foundation; either -REM version 2.1 of the License, or any later version. -REM -REM This library is distributed in the hope that it will be useful, -REM but WITHOUT ANY WARRANTY; without even the implied warranty of -REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -REM Lesser General Public License for more details. -REM -REM You should have received a copy of the GNU Lesser General Public -REM License along with this library; if not, write to the Free Software -REM Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -REM USA -REM -REM Initial developer(s): Jerome Pioux - Benoit Pelletier -REM --------------------------------------------------------------------------- -REM $Id$ -REM --------------------------------------------------------------------------- - -REM Start, Stop JONAS cluster nodes -REM Usage: jcl [-n ] start | stop - -setlocal enabledelayedexpansion - -REM ----- If SEPARATE_WINDOWS=yes or YES exists in the user env., then use -win on startup -if not defined SEPARATE_WINDOWS set SEPARATE_WINDOWS=No - -:: ------------------------------------------ -:: NO NEED TO MODIFY ANYTHING BELOW THIS LINE -:: ------------------------------------------ - -REM ----- Delay in seconds to apply between nodes startup/shutdown -set /a DELAY1_AFTER_NODE_START=10 -set /a DELAY2_AFTER_NODE_START=4 -set /a DELAY_BETWEEN_NODE_STOP=1 - -REM ----- Set defaults if this script is called directly w/o the script wrapper -if "%JCL_NUMBER_OF_NODES%"=="" set JCL_NUMBER_OF_NODES=4 -if "%JCL_BASE_PREFIX%"=="" set JCL_BASE_PREFIX=%JCL_CLUSTER_DAEMON_DIR%\jb -if "%JCL_DOMAIN_NAME%"=="" set JCL_DOMAIN_NAME=sampleClusterDomain -if "%JCL_NODE_NAME_PREFIX%"=="" set JCL_NODE_NAME_PREFIX=node -if "%JCL_CLUSTER_DAEMON_DIR%"=="" set JCL_CLUSTER_DAEMON_DIR=cd -if "%JCL_DB_DIR%"=="" set JCL_DB_DIR=db -if "%JCL_DB_NAME%"=="" set JCL_DB_NAME=db -if "%JCL_MASTER_DIR%"=="" set JCL_MASTER_DIR=master -if "%JCL_MASTER_NAME%"=="" set JCL_MASTER_NAME=master - -REM ----- Defined list of supported actions -set /a numberOfCommands=2 -set actionTable[1]=start -set actionTable[2]=stop - -REM ----- CHECK if JONAS_ROOT is set -if not defined JONAS_ROOT ( - echo. - echo Error: JONAS_ROOT is not defined - goto endScript -) - -REM Set bin directory -set BIN=%JONAS_ROOT%\bin - -REM ----- Need findstr -findstr /? >nul 2>&1 -if errorlevel 1 ( - echo. - echo Error: findstr is not available! - goto endScript -) - -REM ----- Help wanted the "dos cmdline way" -if "%1X"=="/?X" goto usage - -REM ----- Parse input parameters -set /a nflag=0 -set /a err=0 -set cluster= -set action= - -for %%i in (%*) do ( - REM ----- err=3: Command syntax error - if defined action if %err% equ 0 set /a err=3 - - REM ----- There is an error, break out of the parser - if !err! equ 1 goto endParsing - - set param=%%i - - REM ----- Param starts with a dash - if /I "!param:~0,1!"=="-" ( - set /a nflag=0 - set key=!param:~1,2! - REM ----- Found -n flag to customize cluster nodes - if /I "!key!"=="n" ( - set /a nflag=1 - REM ----- err=1: Invalid flag - ) else ( - if %err% equ 0 set /a err=1 - ) - - REM ----- Param does not start with a dash - ) else ( - REM ----- Param is following up the -n flag - if !nflag! equ 1 ( - REM ----- See if param is a known action - for /l %%c in (1,1,%numberOfCommands%) do ( - REM ----- param is an action, register it and turn off the nflag - if /I !param! equ !actionTable[%%c]! ( - set action=!param! - set /a nflag=0 - ) - ) - REM ----- param was not an action, so it is a node - enter it in cluster - if !nflag! equ 1 ( - call :IsNumeric !param! answer - if "!answer!"=="yes" ( - if !param! GTR %JCL_NUMBER_OF_NODES% if %err% equ 0 set /a err=4 - set param=%JCL_NODE_NAME_PREFIX%!param! - ) - if defined cluster (set cluster=!cluster!,!param!) else (set cluster=!param!) - ) - - REM ----- Param is not following up the -n - ) else ( - REM ----- See if param is a known action - for /l %%c in (1,1,%numberOfCommands%) do ( - REM ----- param is an action, register it and turn on the done flag - if /I !param! equ !actionTable[%%c]! ( - set action=!param! - set /a done=1 - ) - ) - REM ----- err=2: Invalid action specified - if !done! equ 0 if %err% equ 0 set /a err=2 - ) - ) -) -:endParsing - -REM ----- err=2: No action specified -if %err% equ 0 if not defined action set /a err=2 - -REM ----- Work on the cluster nodes -set wholeCluster= -if not defined cluster set wholeCluster=1 -if "%cluster%"=="all" set wholeCluster=1 -if "%cluster%"=="0" set wholeCluster=1 - -if defined wholeCluster ( - set cluster=clusterd,db,master - for /l %%c in (1,1,%JCL_NUMBER_OF_NODES%) do ( - set cluster=!cluster!,%JCL_NODE_NAME_PREFIX%%%c - ) -) - -REM ----- report errors -if not %err% equ 0 ( - echo. - if %err% equ 1 echo Error: Invalid flag ^(-%key%^) - if %err% equ 2 echo Error: Invalid action or no action specified - if %err% equ 3 echo Error: Command syntax error - if %err% equ 4 echo Error: Node must be less than %JCL_NUMBER_OF_NODES% - goto usage -) - -REM Remember the number of nodes in the cluster -set /a nnodes=0 -for %%i in (%cluster%) do (set /a nnodes+=1) - -REM ----- Go do the work -call :%action% - -:endScript -endlocal - -REM ----- Unset variables -for /f "usebackq tokens=1-2 delims==" %%a in (`set JCL_`) do set %%a= - -echo. -exit /b 0 - -REM ------------------------------- END MAIN ------------------------------- - -REM ------------------------------ SUBROUTINES ----------------------------- -:: --------------- -:: CLUSTER DAEMON -:: --------------- -:ClusterDaemon -setlocal -set action=%1 - -if "%action%"=="start" ( - echo. - echo *** Starting JOnAS cluster daemon ... - call %BIN%\jclusterd start - call :sleep %DELAY2_AFTER_NODE_START% -) else ( -if "%action%"=="stop" ( - echo. - echo *** Stopping JOnAS cluster daemon ... - call %BIN%\jclusterd stop - call :sleep %DELAY_BETWEEN_NODE_STOP% -)) -endlocal&goto :eof - -:: --------------- -:: START -:: --------------- -:start -setlocal - -set /a n=1 - -echo %SEPARATE_WINDOWS%|findStr "[Yy][Ee][Ss]" >nul -if %errorlevel% equ 0 (set WIN=-win) else (set WIN=) - -REM ----- Startup cluster; If we are in control of the whole cluster, the nodes -REM ----- are already in the correct order for startup -for %%i in (%cluster%) do ( - set node=%%i - - call :SetJonasBase !node! base - set JONAS_BASE=!base! - set CATALINA_BASE=!JONAS_BASE! - - REM ----- Set debug and startup delay - if /I "!node!"=="clusterd" ( - call :ClusterDaemon start - ) else ( - - if /I "!node!"=="master" ( - set /a delay=%DELAY1_AFTER_NODE_START% - ) else ( - if /I "!node!"=="db" ( - set /a delay=%DELAY1_AFTER_NODE_START% - ) else ( - set /a delay=%DELAY2_AFTER_NODE_START% - )) - - REM ----- Save and clean up logs - rmdir /S /Q !JONAS_BASE!\logs\old\* 2>NUL - mkdir !JONAS_BASE!\logs\old 2>NUL - xcopy /Q /Y !JONAS_BASE!\logs\* !JONAS_BASE!\logs\old >NUL - - - - echo. - echo *** Starting JOnAS !node! instance ... - echo ^(jonas start !WIN! -n !node! -Ddomain.name=%JCL_DOMAIN_NAME%^) - call %BIN%\jonas start !WIN! -n !node! -Ddomain.name=%JCL_DOMAIN_NAME% - - REM ----- Wait delay seconds between nodes startup - if !n! LSS %nnodes% ( - if /I "!WIN!"=="-win" ( - echo. - echo Waiting !%delay!s before starting next node ... - call :sleep !delay! - ) - ) - set /a n+=1 - ) -) -endlocal&goto :eof - -:: --------------- -:: STOP -:: --------------- -:stop -setlocal - -REM ----- Stop cluster; If we are in control of the whole cluster, the nodes -REM ----- are in the correct order for startup which is the reverse order of -REM ----- how we would like to stop them; so let's build a "reverse" cluster -set cluster2= -if defined wholeCluster ( - for %%i in (%cluster%) do ( - set node=%%i - if defined cluster2 (set cluster2=!node!,!cluster2!) else (set cluster2=!node!) - ) - set cluster=!cluster2! -) - -REM ----- Stop cluster -for %%i in (%cluster%) do ( - set node=%%i - - call :SetJonasBase !node! base - set JONAS_BASE=!base! - set CATALINA_BASE=!JONAS_BASE! - - if /I "!node!"=="clusterd" ( - call :ClusterDaemon stop - ) else ( - echo. - echo *** Stopping JOnAS !node! instance ... - echo ^(jonas stop -n !node!^) - call %BIN%\jonas stop -n !node! - - call :sleep %DELAY_BETWEEN_NODE_STOP% - ) -) -:endStop -endlocal&goto :eof - -:: --------------- -:: SetJonasBase -:: --------------- -:SetJonasBase -setlocal -set node=%1 - -if "%node%"=="clusterd" ( - set base=%JCL_CLUSTER_DAEMON_DIR% -)else ( -if "%node%"=="master" ( - set base=%JCL_MASTER_DIR% -) else ( -if "%node%"=="db" ( - set base=%JCL_DB_DIR% -) else ( - set /a l=%node:node=% - set base=%JCL_BASE_PREFIX%!l! -))) -endlocal&set %2=%base%&goto :eof - -:: --------------- -:: ISNUMERIC -:: --------------- -:isnumeric -setlocal -set string=%1 -REM ----- Do not consider quote if any -set string=%string:"=% -REM ----- Use findstr with reg.ex. -echo %string%|findStr "[^0-9]" >nul -set answer=no -if %errorlevel% equ 1 set answer=yes -endlocal&set %2=%answer%&goto :eof - -:: --------------- -:: SLEEP -:: --------------- -:sleep -setlocal -set delay=%1 -ping 1.1.1.1 -n 1 -w %delay%000 >nul -endlocal&goto :eof - -:: --------------- -:: USAGE -:: --------------- -:usage -echo. -echo usage: %~n0 ^[ -n ^[clusterd^],^[db^],^[master^],^[node number^],... ^] start^|stop -echo Syntax notes: -echo * At least, one space is mandatory after -n -echo * If multiple values are used after -n, they must be separated by a -echo delimiter ^(space, comma...^) or multiple -n can also be used -echo * All nodes in the cluster will be used if -n is not specified -echo. -echo Example: -n db,1,3 addresses the db, node1 and node3 instances -echo. -echo Use "set SEPARATE_WINDOWS=yes" if you want to start the JVMs in dedicated windows -goto endScript diff --git a/jonas/assemblies/binaries/src/main/resources/bin/jcl.ksh b/jonas/assemblies/binaries/src/main/resources/bin/jcl.ksh deleted file mode 100644 index 0ebf89756d08dac8d22b46c091da75ea16232894..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/jcl.ksh +++ /dev/null @@ -1,541 +0,0 @@ -#!/bin/ksh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 2006 Bull S.A.S. -# Contact: jonas-team@objectweb.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s) 4.8.2: Jerome Pioux - Benoit Pelletier -# -# Modifications for 4.8.3 -# ----------------------- -# Jerome - 10/17/2006 -# - Make this bash script to work for ksh. ie: -# (first line may need to be altered on some sites)... -# * change all with -# * Add a prefix (Do) in the start,stop,kill,status function names -# * Other modifications are flagged as Jerome - 10/17/2006 in the code -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# Status|Start|Stop|Kill JONAS cluster node(s) -# Usage: cl [-n ] [status] | < [-f] kill | [-d] start | stop>" - -# If XWINDOWS=yes or YES exists in the user env., then use -win on startup -XWINDOWS=${XWINDOWS:-no} - -# Default values -JCL_NUMBER_OF_NODES=${JCL_NUMBER_OF_NODES:-40} -JCL_BASE_PREFIX=${JCL_BASE_PREFIX:-$JCL_CLUSTER_DAEMON_DIR/jb} -JCL_DOMAIN_NAME=${JCL_DOMAIN_NAME:-sampleClusterDomain} -JCL_NODE_NAME_PREFIX=${JCL_NODE_NAME_PREFIX:-node} -JCL_CLUSTER_DAEMON_DIR=${JCL_CLUSTER_DAEMON_DIR:-cd} -JCL_DB_DIR=${JCL_DB_DIR:-db} -JCL_DB_NAME=${JCL_DB_NAME:-db} -JCL_MASTER_DIR=${JCL_MASTER_DIR:-master} -JCL_MASTER_NAME=${JCL_MASTER_NAME:-master} - -# ------------------------------------------ -# NO NEED TO MODIFY ANYTHING BELOW THIS LINE -# ------------------------------------------ -JCL_BASE_DEBUG_PORT=${JCL_BASE_DEBUG_PORT:-414} - -# Delay in seconds to apply between nodes startup/shutdown -DELAY1_AFTER_NODE_START=20 -DELAY2_AFTER_NODE_START=3 -DELAY_BETWEEN_NODE_STOP=1 - -CLUSTER="" -jonasbase="" -typeset -i nnodes=0 -typeset -i wholeCluster=0 -osname=`uname -s` - - -# ------ -# ATEXIT -# ------ -atexit() -{ - printf "\n" -} - -# ----- -# USAGE -# ----- -usage() -{ - printf "\n" - printf "usage: $(basename $0) [ [-n ] [status]] | < [-f] kill | [-d] start | stop > ]\n" - printf "\n" - printf " With node_id: clusterd (or cd), $JCL_MASTER_NAME (or ms), $JCL_DB_NAME \n" - printf " With node_number: node number of JOnAS instances which corresponds to the suffix of the node name\n" - printf " * Form1: Multiple nodes can be specified between commas (no space)\n" - printf " * Form2: Range(s) can be entered using a dash between node numbers (no space)\n" - printf " * Any combination between form1 and form2 is allowed\n" - printf " Ex: -n $JCL_DB_NAME,1-3 applies to the $JCL_DB_NAME node and nodes 1,2 and 3\n" - printf " Notes:\n" - printf " * Do not specify -n or use -nall to address all nodes in the cluster\n" - printf " * A node number for your cluster must be between 1 and $JCL_NUMBER_OF_NODES\n" - printf "\n" - printf " Use \"export XWINDOWS=yes\" if you want to start the JVMs in dedicated xterms\n"; - printf "\n" - exit 1 -} - -# --------- -# DOPADDING -# --------- -DoPadding() -{ - # Use to align fields on the screen - typeset -i m1=$1 - typeset -i m2=$2 - typeset -i p=m2-m1 - - typeset -i i=1 - while [[ $i -le $p ]]; do - printf " " - i=i+1 - done - printf " " - return -} - -# ------------ -# SETJONASBASE -# ------------ -SetJonasBase() -{ - # Do not add any echo or printf in this routine - # besides the one before the return - case $1 in - clusterd) - base=$JCL_CLUSTER_DAEMON_DIR - ;; - $JCL_MASTER_NAME) - base=$JCL_MASTER_DIR - ;; - $JCL_DB_NAME) - base=$JCL_DB_DIR - ;; - *) - # Jerome - 10/17/2006 - char pos in string doesn't work in ksh - #typeset -i l=${#JCL_NODE_NAME_PREFIX} - #base=$JCL_BASE_PREFIX${node:$l} - base=$JCL_BASE_PREFIX${node#*$JCL_NODE_NAME_PREFIX} - ;; - esac - echo $base - return -} - -# ---------- -# SETCLUSTER -# ---------- -SetCluster() -{ -str=${1:-all} -typeset -i n=1 - -# --- All nodes -# We are in control so order nodes "startup-ready" -if [[ $str = 0 || $str = all ]]; then - wholeCluster=1 - cluster="clusterd $JCL_DB_NAME $JCL_MASTER_NAME" - while [[ $n -le $JCL_NUMBER_OF_NODES ]]; do - cluster="$cluster $JCL_NODE_NAME_PREFIX$n" - n=n+1 - done - CLUSTER=${cluster#\ *} - return -fi - -# --- Partial nodes list -# Respect order chosen by user -typeset -i err=0 -typeset -i numnode -OLDIFS=$IFS - -# For nodes between commas -IFS=, -for substr in $str; do - n="$(expr $substr : '.*-')" - - # No dash-formed node - if [[ $n -eq 0 ]]; then - # Non numeric node - if ( echo "$substr" | grep -q [^[:digit:]] ); then - # Abbrev. - [[ $substr = cd ]] && substr=clusterd - [[ $substr = ms ]] && substr=$JCL_MASTER_NAME - if [[ $substr != clusterd && - $substr != $JCL_MASTER_NAME && - $substr != $JCL_DB_NAME ]]; then - err=1 - fi - cluster="$cluster $substr" - # Numeric - else - numnode=$substr - # numnode must be less then JCL_NUMBER_OF_NODES - [[ $numnode -gt $JCL_NUMBER_OF_NODES ]] && err=1 - cluster="$cluster $JCL_NODE_NAME_PREFIX$substr" - fi - - # dash-formed node - else - n1=${substr%%-*} - n2=${substr##*-} - # Both dash-formed nodes must be numeric - if ( echo "$n1" | grep -q [^[:digit:]] || - echo "$n2" | grep -q [^[:digit:]] ); then - err=1 - else - typeset -i i=$n1 && typeset -i imax=$n2 - # First dash-formed node must be less or equal the second - # which in turn must be less then JCL_NUMBER_OF_NODES - [[ $i -gt $imax || $imax -gt $JCL_NUMBER_OF_NODES ]] && err=1 - while [[ $i -le $imax ]]; do - cluster="$cluster $JCL_NODE_NAME_PREFIX$i" - i=i+1 - done - fi - fi -done -IFS=$OLDIFS - -# Remove heading space if any -cluster=${cluster#\ *} - -# Raise error on duplicates -if [[ $err -eq 0 ]]; then - for node1 in $cluster; do - n=0 - for node2 in $cluster; do - [[ $node1 = $node2 ]] && n=n+1 - done - [[ $n -gt 1 ]] && err=1 && break - done -fi - -# Error - empty cluster -[[ $err -eq 1 ]] && cluster="" -CLUSTER=$cluster -return -} - -# --------------- -# CLUSTER DAEMON -# --------------- -ClusterDaemon() -{ - case ${1:-na} in - start) - printf "\n\n*** Starting JOnAS cluster daemon ... \n" - # Jerome - 10/17/2006 - Change regex below for ksh support - #if [[ $XWINDOWS =~ '[Yy][Ee][Ss]' ]]; then - if [[ $XWINDOWS = [Yy][Ee][Ss] ]]; then - xterm -title $HOSTNAME:clusterd -geometry 110x16 -sb -e jclusterd start & - else - jclusterd start & - fi - sleep $DELAY2_AFTER_NODE_START - ;; - - stop) - echo -e "\n\n*** Stopping JOnAS cluster daemon ..." - jclusterd stop - sleep $DELAY_BETWEEN_NODE_STOP - ;; - esac - return -} - -# ------- -# SOSTART -# ------- -Dostart() -{ - typeset -i delay - typeset -i n=1 - - # Jerome - 10/17/2006 - Change regex below for ksh support - #[[ $XWINDOWS =~ '[Yy][Ee][Ss]' ]] && WIN="-win" || WIN="" - [[ $XWINDOWS = [Yy][Ee][Ss] ]] && WIN="-win" || WIN="" - - # Startup cluster; If we are in control of the whole cluster, the nodes - # are already in the correct order for startup - for node in $CLUSTER; do - jonasbase=$(SetJonasBase $node) - export JONAS_BASE=$jonasbase - export CATALINA_BASE=$JONAS_BASE - DBG="" - - # Set debug and startup delay - case $node in - clusterd) - ClusterDaemon start - continue - ;; - - $JCL_MASTER_NAME | $JCL_DB_NODE) - delay=$DELAY1_AFTER_NODE_START - ;; - - *) - delay=$DELAY2_AFTER_NODE_START - # Jerome - 10/17/2006 - char pos in string doesn't work in ksh - #typeset -i l=${#node} - #[[ $DEBUG = true ]] && DBG="-debug -p $JCL_BASE_DEBUG_PORT${node:$l}" - [[ $DEBUG = true ]] && DBG="-debug -p $JCL_BASE_DEBUG_PORT${node#*$JCL_NODE_NAME_PREFIX}" - ;; - esac - - # Save and clean up logs - rm -rf $JONAS_BASE/logs/old/* - mkdir -p $JONAS_BASE/logs/old - mv $JONAS_BASE/logs/* $JONAS_BASE/logs/old 2>/dev/null - - cmd="jonas start $WIN $DBG -n $node -Ddomain.name=$JCL_DOMAIN_NAME" - printf "\n\n*** Starting JOnAS $node instance ... \n($cmd)\n" - $cmd - - # Wait delay seconds between nodes startup - if [[ $n -lt $nnodes && $WIN = "-win" ]]; then - printf "\n\tWaiting ${delay}s before starting next node ..." - sleep $delay - fi - n=n+1 - done - return -} - -# ------ -# DOSTOP -# ------ -Dostop() -{ - typeset -i delay=$DELAY_BETWEEN_NODE_STOP - - # Stop cluster; If we are in control of the whole cluster, the nodes - # are in the correct order for startup which is the reverse order of - # how we would like to stop them; so let's build a "reverse" cluster - if [[ $wholeCluster -eq 1 ]]; then - for node in $CLUSTER; do - cluster2="$node $cluster2" - done - CLUSTER=$cluster2 - fi - - # Stop cluster - for node in $CLUSTER; do - jonasbase=$(SetJonasBase $node) - export JONAS_BASE=$jonasbase - export CATALINA_BASE=$JONAS_BASE - - if [[ $node = clusterd ]]; then - ClusterDaemon stop - continue - fi - - cmd="jonas stop -n $node" - printf "\n\n*** Stopping JOnAS $node instance ...\n($cmd)\n" - $cmd - - sleep $delay - done - return -} - -# ------ -# DOKILL -# ------ -Dokill() -{ - # Kill cluster - for node in $CLUSTER; do - - # flegare+vma - little adaptation to make it run under solaris: - # this ps does not truncate its output to 80 chars but does not accept - # the '-o' param - if [[ $osname = "SunOS" ]]; then - pid=$(/usr/ucb/ps aww | grep $strToMatch | grep -v grep | cut -d' ' -f2) - else - # Jerome - 10/17/2006 - Make ps formatting variables to please AIX and LINUX - proc=$(ps -$psfmt "%p|%a" | grep Djonas.name=$node | grep -v grep | sed -e 's/ *//g') - # Jerome - 10/17/2006 - The pipe below must be protected in ksh - pid=${proc%%\|*} - fi - - if [[ ! -z $pid ]]; then - cmd="/bin/kill -$force $pid" - printf "\n*** Killing JOnAS $node instance ...\n($cmd)\n" - $cmd - fi - done - return -} - -# -------- -# DOSTATUS -# -------- -Dostatus() -{ - typeset -i l - typeset -i lnode - typeset -i ljonasbase - typeset -i maxlnode=0 - typeset -i maxljonasbase=0 - - # Get longest strings length - # (to use in field alignment for display below) - for node in $CLUSTER; do - jonasbase=$(SetJonasBase $node) - - lnode=${#node} - ljonasbase=${#jonasbase} - [[ $lnode -gt $maxlnode ]] && maxlnode=$lnode - [[ $ljonasbase -gt $maxljonasbase ]] && maxljonasbase=$ljonasbase - done - - printf "\n" - - # Display status - for node in $CLUSTER; do - jonasbase=$(SetJonasBase $node) - - lnode=${#node} - ljonasbase=${#jonasbase} - - printf " node=%-s" $node - DoPadding $lnode $maxlnode - - printf "base=%-s" $jonasbase - DoPadding $ljonasbase $maxljonasbase - - printf "%0.s-> " - - if [[ $node = clusterd ]]; then - strToMatch=ClusterDaemon - else - strToMatch=Djonas.name=$node - fi - - # flegare+vma - little adaptation to make it run under solaris: - # this ps does not truncate its output to 80 chars but does not accept - # the '-o' param - if [[ $osname = "SunOS" ]]; then - pid=$(/usr/ucb/ps aww | grep $strToMatch | grep -v grep | cut -d' ' -f2) - else - # Jerome - 10/17/2006 - Make ps formatting variables to please AIX and LINUX - proc=$(ps -$psfmt "%p|%a" | grep Djonas.name=$node | grep -v grep | sed -e 's/ *//g') - # Jerome - 10/17/2006 - The pipe below must be protected in ksh - pid=${proc%%\|*} - fi - - if [[ ! -z $pid ]]; then - printf "running [$pid]\n" - else - printf "not running\n" - fi - done - return -} - -# ----- -# MAIN -# ----- -trap "atexit" exit - -# Jerome - 10/17/2006 -# On AIX, the ww is not supported (and not needed) -if [[ $(uname -s) = AIX ]]; then - XTERM=aixterm - psfmt=eo -else - XTERM=xterm - psfmt=ewwo -fi - -typeset -i n -typeset -i force=15 -debug=false - -# Show stopper -if [[ ! -n $JONAS_ROOT ]]; then - printf "$0: JONAS_ROOT is not defined\n" - exit 2 -fi -if ( ! echo $PATH | grep $JONAS_ROOT/bin >/dev/null 2>&1 ) then - printf "$0: JONAS_ROOT/bin is not in your PATH\n" - exit 3 -fi - -# Read inputs -if [[ $# -ne 0 ]]; then - # linux/bash help way - [[ "$1" = --help ]] && usage - - while getopts ?fhn:d c - do - case $c in - # Nodes - n) - node=$OPTARG - ;; - f) - force=9 - ;; - d) - debug=true - ;; - *) - usage - ;; - esac - done - shift `expr $OPTIND - 1` - action="$@" -fi - -# Define the cluster -SetCluster $node -if [[ -z $CLUSTER ]]; then - printf "$0: illegal -n parameters\n" - usage -else - # Remember the number of nodes in the cluster - for node in $CLUSTER; do - nnodes=nnodes+1 - done -fi - -# Do the action -[[ "$action" = "" ]] && action=status -case "$action" in - start|stop|kill|status) - Do$action - ;; - *) - usage - ;; -esac -exit 0 - diff --git a/jonas/assemblies/binaries/src/main/resources/bin/jcl.sh b/jonas/assemblies/binaries/src/main/resources/bin/jcl.sh deleted file mode 100755 index 5b64827987e5cbce005938f0dc6004eaf30e3888..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/jcl.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 2007 Bull S.A.S. -# Contact: jonas-team@objectweb.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s) 4.8: Jerome Pioux -# -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# jcl.ksh|bash launcher script -# Jerome - -# Recup jcl scripts location -if [ -L $0 ]; then - JCL_DIR=`dirname $(ls -l "$0" |sed "s/^.*-> //")` -else - JCL_DIR=`dirname $0` -fi - -# Check what shell is available (priority to bash) -if [ -x /bin/bash ]; then - shell=bash -elif [ -x /bin/ksh ]; then - shell=ksh -else - echo "Error: Could not find either /bin/bash or /bin/ksh" - exit 2 -fi - -# Setup appropriate script -JCL_SCP=$JCL_DIR/jcl.$shell - -# Should never see this if the install did its job -if [ ! -x $JCL_SCP ]; then - echo "Error: Could not find or execute $JCL_SCP" - exit 3 -fi - -# Runit -$JCL_SCP $* -exit 0 - diff --git a/jonas/assemblies/binaries/src/main/resources/bin/jclient b/jonas/assemblies/binaries/src/main/resources/bin/jclient deleted file mode 100644 index 1089249342a838e3b866a13a51116b89cd01e5dc..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/jclient +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2010 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - - -# ----------------------------------------------------------------------- -# Check JONAS_ROOT is set. -# ----------------------------------------------------------------------- -if [ ! -d $JONAS_ROOT/deploy ] -then - echo "JONAS_ROOT must be set" - exit 1 -fi - -# Set CLASSPATH and JONAS_BASE -. $JONAS_ROOT/bin/setenv - - -# --------------------------------------------- -# Get args -# --------------------------------------------- -ARGS= -while [ "$#" -gt 0 ] -do case "$1" in - -cp) - shift - JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$1 - ;; - -D*) - JAVA_OPTS="$JAVA_OPTS $1" - ;; - -security) - # Use security manager for jclient - JAVA_OPTS="$JAVA_OPTS -Djava.security.manager -Djava.security.policy=$JONAS_BASE/conf/java.policy" - ;; - -debug) - shift - # $1=-p - if [ "$1" != "-p" ]; then - echo "-debug mode need a following \"-p \"" - exit 1 - fi - shift - JONAS_DEBUG_PORT=$1 - JONAS_DEBUG_SUSPEND=n - if [ "$2" = "-s" ]; then - shift - shift - JONAS_DEBUG_SUSPEND=$1 - fi - echo "JOnAS Debug Info :" - echo " listening on port : $JONAS_DEBUG_PORT" - echo " suspend mode : $JONAS_DEBUG_SUSPEND" - JONAS_DEBUG_OPTS=" -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=$JONAS_DEBUG_PORT,suspend=$JONAS_DEBUG_SUSPEND" - ;; - -enable-jpa2) - JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$JONAS_ROOT/lib/bootstrap/bundles-jpa2.0/ow2-jpa-2.0-spec.jar - JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$JONAS_ROOT/repositories/maven2-internal/org/ow2/easybeans/osgi/easybeans-modules-persistence-eclipselink-2.x/${easybeans.version}/easybeans-modules-persistence-eclipselink-2.x-${easybeans.version}.jar - ;; - *) - # all other args are passed "as is" to the java program - ARGS="$ARGS $1" - ;; - esac - shift -done - -JAVA_OPTS="-Djava.security.auth.login.config=$JONAS_BASE/conf/jaas.config \ --Djava.endorsed.dirs=$JONAS_ROOT/lib/endorsed \ --Dregistry=$REGISTRY \ --Djonas.root=$JONAS_ROOT \ -$JAVA_OPTS" - - -# Add client.jar -# CLASSPATH could be upgraded here -JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$JONAS_ROOT/lib/bootstrap/client-bootstrap.jar$SPS$JONAS_ROOT/lib/jonas-client.jar$SPS$JONAS_ROOT/lib/client.jar - - -$JAVA -cp $JONAS_CLASSPATH $JAVA_OPTS $JONAS_DEBUG_OPTS org.ow2.jonas.client.boot.Bootstrap org.ow2.jonas.client.ClientContainer $ARGS - diff --git a/jonas/assemblies/binaries/src/main/resources/bin/jclient.bat b/jonas/assemblies/binaries/src/main/resources/bin/jclient.bat deleted file mode 100755 index ab450aaef43cbe30578fa1614fa168d2fd0d51d9..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/jclient.bat +++ /dev/null @@ -1,123 +0,0 @@ -@Echo off -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2010 Bull S.A.S. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - -Rem Keep variables local to this script -setlocal -set ARGS= - -Rem check JONAS_ROOT and JONAS_BASE -if ["%JONAS_ROOT%"]==[""] goto setroot -Rem Required for carol.properties file (add JONAS_BASE\conf to classpath) -call "%JONAS_ROOT%\bin\setenv.bat" -set JONAS_LIB=%JONAS_ROOT%\lib - -Rem check client.jar -if not exist "%JONAS_LIB%\client.jar" goto noclient - -Rem --------------------------------------------- -Rem Get args -Rem --------------------------------------------- -:loop_on_args -set VALUE=%~1 -if ["%1"]==["-cp"] goto cp_arg -if ["%1"]==["-security"] goto security -if ["%1"]==["-enable-jpa2"] goto jpa2 -if ["%1"]==["-debug"] goto debug_arg -if ["%VALUE:~0,2%"]==["-D"] goto java_opts -set ARGS=%ARGS% %1 -goto next_arg - -Rem Use security manager for jclient ? -:security -set JAVA_OPTS=%JAVA_OPTS% -Djava.security.manager -Djava.security.policy="%JONAS_BASE%\conf\java.policy" -goto next_arg - -:jpa2 -set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%JONAS_LIB%\bootstrap\bundles-jpa2.0\ow2-jpa-2.0-spec.jar -set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%JONAS_LIB%\repositories\maven2-internal\org\ow2\easybeans\osgi\easybeans-modules-persistence-eclipselink-2.x\${easybeans.version}\easybeans-modules-persistence-eclipselink-2.x-${easybeans.version}.jar -goto next_arg - -Rem Add -D System Properties -:java_opts -set PROP=%~1 -shift -set PROP=%PROP%=%1 -set JAVA_OPTS=%JAVA_OPTS% %PROP% -goto next_arg - -:cp_arg -shift -set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%~1 -goto next_arg - -:debug_arg -shift -if not [%1]==[-p] goto debug_usage -shift -set JONAS_DEBUG_PORT=%1 -set JONAS_DEBUG_SUSPEND=n -if not [%2]==[-s] goto set_debug_opts -shift -shift -set JONAS_DEBUG_SUSPEND=%1 - -:set_debug_opts -echo JOnAS Debug Info : -echo listening on port : %JONAS_DEBUG_PORT% -echo suspend mode : %JONAS_DEBUG_SUSPEND% -set JONAS_DEBUG_OPTS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=%JONAS_DEBUG_PORT%,suspend=%JONAS_DEBUG_SUSPEND% -goto next_arg - -:next_arg -shift -if not [%1]==[] goto loop_on_args - -Rem Add client.jar -Rem CLASSPATH could be upgraded here -set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%JONAS_LIB%\client.jar -set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%JONAS_LIB%\jonas-client.jar -set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%JONAS_LIB%\bootstrap\client-bootstrap.jar - -set JAVA_OPTS=%JAVA_OPTS% -Djava.security.auth.login.config="%JONAS_BASE%\conf\jaas.config" -set JAVA_OPTS=%JAVA_OPTS% -Djava.endorsed.dirs="%JONAS_ROOT%\lib\endorsed" -if [%REGISTRY%]==[] goto next_java_opts -set JAVA_OPTS=%JAVA_OPTS% -Dregistry="%REGISTRY%" -:next_java_opts -set JAVA_OPTS=%JAVA_OPTS% -Djonas.root="%JONAS_ROOT%" -%JAVA% -cp "%JONAS_CLASSPATH%" %JAVA_OPTS% %JONAS_DEBUG_OPTS% org.ow2.jonas.client.boot.Bootstrap org.ow2.jonas.client.ClientContainer %ARGS% -goto :EOF - -:noclient -echo client.jar file must be present in JONAS_ROOT\lib directory -goto :EOF - - -:setroot -echo JONAS_ROOT must be set. -goto :EOF - -:debug_usage -echo -debug option parameters are : "-debug -p [-s ]" -goto :EOF diff --git a/jonas/assemblies/binaries/src/main/resources/bin/jclusterd b/jonas/assemblies/binaries/src/main/resources/bin/jclusterd deleted file mode 100644 index 1fbfbd350524911a7dd930100edbc4cb1c81dfb1..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/jclusterd +++ /dev/null @@ -1,166 +0,0 @@ -#!/bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2008 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Philippe Durieux -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# ----------------------------------------------------------------------- -# Compute JONAS_ROOT in case it has not been set. -# ----------------------------------------------------------------------- -if [ ! -d $JONAS_ROOT/lib ]; then - savewd=`pwd` - cd `dirname $0` - zdir=`pwd` - cd $savewd - zfqn=$zdir/`basename "$0"` - JONAS_ROOT=`dirname $zdir` - JONAS_ROOT=`dirname $JONAS_ROOT` - export JONAS_ROOT -fi - -# Set CLASSPATH and JONAS_BASE -. $JONAS_ROOT/bin/setenv - -JONAS_OPTS="\ - -Djonas.root=$JONAS_ROOT \ - -Djonas.root=$JONAS_ROOT \ - -Djonas.base=$JONAS_BASE \ - -Djava.awt.headless=true \ - -Djava.security.auth.login.config=$JONAS_BASE/conf/jaas.config \ - -Djava.endorsed.dirs=$JONAS_ROOT/lib/endorsed \ - -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB \ - -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton \ - -Dorg.omg.PortableInterceptor.ORBInitializerClass.standard_init=org.jacorb.orb.standardInterceptors.IORInterceptorInitializer \ - -Djavax.rmi.CORBA.PortableRemoteObjectClass=org.ow2.carol.rmi.multi.MultiPRODelegate \ - -Djava.naming.factory.initial=org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory \ - -Djavax.rmi.CORBA.UtilClass=org.ow2.carol.util.delegate.UtilDelegateImpl \ - " - -# --------------------------------------------- -# Get arguments -# --------------------------------------------- -ARGS= -DEBUG_OPTS= -MODE=start -USERNAME= -PASSWORD= -while [ "$#" -gt 0 ] - do case "$1" in - start) - MODE=start - ;; - stop) - MODE=stop - ;; - -cp) - shift - JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$1 - ;; - -D*) - JAVA_OPTS="$JAVA_OPTS $1" - ;; - -security) - # Use security manager - JAVA_OPTS="$JAVA_OPTS -Djava.security.manager -Djava.security.policy=$JONAS_BASE/conf/java.policy" - ;; - -debug) - shift - # $1=-p - if [ "$1" != "-p" ]; then - echo "-debug mode need a following \"-p \"" - exit 1 - fi - shift - DEBUG_PORT=$1 - DEBUG_SUSPEND=n - if [ "$2" = "-s" ]; then - shift - shift - DEBUG_SUSPEND=$1 - fi - echo "Debug Info :" - echo " listening on port : $DEBUG_PORT" - echo " suspend mode : $DEBUG_SUSPEND" - DEBUG_OPTS=" -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=$DEBUG_PORT,suspend=$DEBUG_SUSPEND" - ;; - -username) - shift - USERNAME="-username $1" - ;; - -password) - shift - PASSWORD="-password $1" - ;; - *) - # All other args are passed "as is" to the java program - ARGS="$ARGS $1" - ;; - esac - shift -done - -# --------------------------------------------- -# Check mode -# --------------------------------------------- -case "$MODE" in - start) - CLASS_TO_RUN=org.ow2.jonas.cluster.daemon.ClusterDaemon - ;; - stop) - CLASS_TO_RUN="org.ow2.jonas.cluster.daemon.ClusterDaemonAdmin -stop" - ;; - *) - echo "Usage: jclusterd start|stop [options]" - echo "Debug mode : jclusterd start -debug -p [-s ] [options]" - exit 1 - ;; -esac - -# --------------------------------------------- -# Set tomcat base directory -# --------------------------------------------- -if [ -n "$CATALINA_HOME" ] -then - JONAS_OPTS="$JONAS_OPTS -Dcatalina.home=$CATALINA_HOME" -fi -if [ -n "$CATALINA_BASE" ] -then - JONAS_OPTS="$JONAS_OPTS -Dcatalina.base=$CATALINA_BASE" -fi - -# --------------------------------------------- -# Set jetty home directory -# --------------------------------------------- -if [ -n "$JETTY_HOME" ] -then - JONAS_OPTS="$JONAS_OPTS -Djetty.home=$JETTY_HOME" -fi - - -# update CLASSPATH -JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$JONAS_ROOT/lib/bootstrap/client-bootstrap.jar$SPS$JONAS_ROOT/lib/jonas-cluster-daemon.jar$SPS$JONAS_ROOT/lib/client.jar - -# --------------------------------------------- -# Run java command -# --------------------------------------------- -$JAVA -cp $JONAS_CLASSPATH $JAVA_OPTS $DEBUG_OPTS $JONAS_OPTS org.ow2.jonas.client.boot.Bootstrap $CLASS_TO_RUN $ARGS $USERNAME $PASSWORD diff --git a/jonas/assemblies/binaries/src/main/resources/bin/jclusterd.bat b/jonas/assemblies/binaries/src/main/resources/bin/jclusterd.bat deleted file mode 100755 index fc80a98335925b92ab177fe541e3344ee0b8158e..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/jclusterd.bat +++ /dev/null @@ -1,198 +0,0 @@ -@Echo Off -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2009 Bull S.A.S. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem Initial developer(s): Benoit Pelletier -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - -Rem Keep variables local to this script -setlocal ENABLEDELAYEDEXPANSION - -Rem Check for JONAS_ROOT, if not set set it to the default -if ["%JONAS_ROOT%"]==[""] Goto SetJONAS_ROOT -echo JONAS_ROOT is set to %JONAS_ROOT% -Goto ExecuteBatch - -Rem %~dp0 is the directory in which this batch file is, -Rem therefore JONAS_ROOT\bin in our case. -:SetJONAS_ROOT -pushd "%~dp0" -cd .. -@set JONAS_ROOT=%CD% -@echo Setting JONAS_ROOT to %JONAS_ROOT% -popd - -:ExecuteBatch -Rem --------------------------------------------- -Rem set environment -Rem --------------------------------------------- -if ["%JONAS_ROOT%"]==[""] goto setroot -call "%JONAS_ROOT%\bin\setenv.bat" -set JONAS_LIB=%JONAS_ROOT%\lib - - -Rem --------------------------------------------- -Rem set JAVA_OPTS -Rem --------------------------------------------- -if ["%JAVA_HOME%"]==[""] goto setjava - -Rem JONAS_OPTS may be already partially initialized -set JONAS_OPTS=%JONAS_OPTS% -Djonas.root="%JONAS_ROOT%" -set JONAS_OPTS=%JONAS_OPTS% -Djonas.root="%JONAS_ROOT%" -set JONAS_OPTS=%JONAS_OPTS% -Djonas.base="%JONAS_BASE%" -set JONAS_OPTS=%JONAS_OPTS% -Djava.security.policy="%JONAS_ROOT%\conf\java.policy" -set JONAS_OPTS=%JONAS_OPTS% -Djonas.classpath="%XTRA_CLASSPATH%" -set JONAS_OPTS=%JONAS_OPTS% -Djonas.default.classloader=true -set JONAS_OPTS=%JONAS_OPTS% -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -set JONAS_OPTS=%JONAS_OPTS% -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton -set JONAS_OPTS=%JONAS_OPTS% -Dorg.omg.PortableInterceptor.ORBInitializerClass.standard_init=org.jacorb.orb.standardInterceptors.IORInterceptorInitializer -set JONAS_OPTS=%JONAS_OPTS% -Djavax.rmi.CORBA.PortableRemoteObjectClass=org.ow2.carol.rmi.multi.MultiPRODelegate -set JONAS_OPTS=%JONAS_OPTS% -Djava.naming.factory.initial=org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory -set JONAS_OPTS=%JONAS_OPTS% -Djavax.rmi.CORBA.UtilClass=org.ow2.carol.util.delegate.UtilDelegateImpl -set JONAS_OPTS=%JONAS_OPTS% -Djava.security.auth.login.config="%JONAS_BASE%\conf\jaas.config" -set JONAS_OPTS=%JONAS_OPTS% -Djava.endorsed.dirs="%JONAS_ROOT%\lib\endorsed" - -Rem --------------------------------------------- -Rem Get args -Rem --------------------------------------------- -set ARGS= -set MODE= -set USERNAME= -set PASSWORD= - -:loop_on_args -Set VALUE=%~1 -if [%1]==[] goto usage -if [%1]==[start] goto start_arg -if [%1]==[stop] goto stop_arg -if [%1]==[-cp] goto cp_arg -if [%1]==[-debug] goto debug_arg -if [%1]==[-username] goto username_arg -if [%1]==[-password] goto password_arg -if %VALUE:~0,2%==-D goto java_opts -set ARGS=%ARGS% %1 -goto next_arg - -Rem Add -D System Properties -:java_opts -Set PROP=%~1 -shift -Set PROP=%PROP%=%1 -Set JONAS_OPTS=%JONAS_OPTS% %PROP% -goto next_arg - - -:start_arg -set MODE=start -set CLASS_TO_RUN=org.ow2.jonas.cluster.daemon.ClusterDaemon -echo JONAS_BASE is set to %JONAS_BASE% -goto next_arg - -:stop_arg -set MODE=stop -set CLASS_TO_RUN=org.ow2.jonas.cluster.daemon.ClusterDaemonAdmin -stop -goto next_arg - -:cp_arg -shift -set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%~1 -goto next_arg - -:debug_arg -shift -if not [%1]==[-p] goto debug_usage -shift -set JONAS_DEBUG_PORT=%1 -set JONAS_DEBUG_SUSPEND=n -if not [%2]==[-s] goto set_debug_opts -shift -shift -set JONAS_DEBUG_SUSPEND=%1 - -:set_debug_opts -echo JOnAS Debug Info : -echo listening on port : %JONAS_DEBUG_PORT% -echo suspend mode : %JONAS_DEBUG_SUSPEND% -set JONAS_DEBUG_OPTS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=%JONAS_DEBUG_PORT%,suspend=%JONAS_DEBUG_SUSPEND% -goto next_arg - -:username_arg -shift -set USERNAME=-username %1 -goto next_arg - -:password_arg -shift -set PASSWORD=-password %1 -goto next_arg - -:next_arg -shift -if not [%1]==[] goto loop_on_args - -if [%MODE%]==[] goto no_mode - - -Rem --------------------------------------------- -Rem Set tomcat/jetty base directory -Rem --------------------------------------------- -set TOMCAT_OPTS= -set JETTY_OPTS= -if not ["%TOMCAT_BASE%"]==[""] set TOMCAT_OPTS=%TOMCAT_OPTS% -Dtomcat.base="%TOMCAT_BASE%" -if not ["%CATALINA_HOME%"]==[""] set TOMCAT_OPTS=%TOMCAT_OPTS% -Dcatalina.home="%CATALINA_HOME%" -if not ["%CATALINA_BASE%"]==[""] set TOMCAT_OPTS=%TOMCAT_OPTS% -Dcatalina.base="%CATALINA_BASE%" -if not ["%JETTY_HOME%"]==[""] set JETTY_OPTS=-Djetty.home="%JETTY_HOME%" - -Rem --------------------------------------------- -Rem include jonas classes -Rem --------------------------------------------- -Set JONAS_CLASSPATH=%JONAS_ROOT%\lib\bootstrap\client-bootstrap.jar;%JONAS_ROOT%\lib\jonas-cluster-daemon.jar;%JONAS_ROOT%\lib\client.jar;%JONAS_CLASSPATH% - -Rem --------------------------------------------- -Rem Run java command -Rem --------------------------------------------- -set BOOT=org.ow2.jonas.client.boot.Bootstrap -start /B "jclusterd" %JAVA% -cp "%JONAS_CLASSPATH%" %JAVA_OPTS% %JONAS_DEBUG_OPTS% %JONAS_OPTS% %TOMCAT_OPTS% %JETTY_OPTS% %BOOT% %CLASS_TO_RUN% %USERNAME% %PASSWORD% - -goto :EOF - -:setjava -echo JAVA_HOME not set. -goto :EOF - -:setroot -echo JONAS_ROOT not set. -goto :EOF - -:debug_usage -echo -debug option parameters are : "-debug -p [-s ]" -goto :EOF - -:no_mode -echo "No startup mode specified, specify start | stop | admin | version | check" -goto usage - -:usage -echo "jclusterd start | stop [options]" -echo "Debug mode : jclusterd start -debug -p [-s ]" -goto :EOF - diff --git a/jonas/assemblies/binaries/src/main/resources/bin/jonas b/jonas/assemblies/binaries/src/main/resources/bin/jonas deleted file mode 100644 index ccb5b584fd904d1027f25dc7b4582a40520da5d0..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/jonas +++ /dev/null @@ -1,403 +0,0 @@ -#!/bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2011 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Philippe Durieux -# Contributor(s): Adriana Danes : -# - Change /config en /conf -# - Use JONAS_BASE -# Florent Benoit & Ludovic Bert -# eyindanga -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -cygwin=false; -case "`uname`" in - CYGWIN*) cygwin=true ;; -esac - -# For Cygwin, ensure paths are in UNIX format before anything is touched -if $cygwin ; then - [ -n "JONAS_ROOT" ] && - JONAS_ROOT=`cygpath --unix "$JONAS_ROOT"` - [ -n "$JAVA_HOME" ] && - JAVA_HOME=`cygpath -m -s "$JAVA_HOME"` -fi - -# ----------------------------------------------------------------------- -# Compute JONAS_ROOT in case it has not been set. -# ----------------------------------------------------------------------- -if [ -z $JONAS_ROOT ]; then - savewd=`pwd` - cd `dirname $0` - zdir=`pwd` - cd $savewd - zfqn=$zdir/`basename "$0"` - JONAS_ROOT=`dirname $zdir` - echo "JONAS_ROOT is set to" $JONAS_ROOT - export JONAS_ROOT -fi - -# Check if $JONAS_ROOT is set. -if [ ! -f "$JONAS_ROOT/bin/setenv" ]; then - echo "Please set the JONAS_ROOT variable." - exit -fi - -# Set CLASSPATH and JONAS_BASE -. $JONAS_ROOT/bin/setenv - -# Display banner (if any) -if [ -f $JONAS_BASE/conf/banner.txt ]; then - cat $JONAS_BASE/conf/banner.txt -fi - -# Set path for JOnAS bootstrap libraries -LIB_BOOTSTRAP_PATH=$JONAS_ROOT/lib/bootstrap - -# Update JONAS_CLASSPATH -JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$LIB_BOOTSTRAP_PATH/felix-launcher.jar -JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$LIB_BOOTSTRAP_PATH/jonas-commands.jar -JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$LIB_BOOTSTRAP_PATH/jonas-version.jar - -# For Cygwin, switch paths to Windows format before running java -if $cygwin; then - [ -n "$JONAS_ROOT" ] && - JONAS_ROOT=`cygpath --path --windows "$JONAS_ROOT"` - [ -n "$JONAS_BASE" ] && - JONAS_BASE=`cygpath --path --windows "$JONAS_BASE"` -fi - -JONAS_OPTS="\ - -Djonas.root=$JONAS_ROOT \ - -Djonas.base=$JONAS_BASE \ - -Dipojo.log.level=ERROR \ - -Djava.security.policy=$JONAS_BASE/conf/java.policy \ - -Djava.security.auth.login.config=$JONAS_BASE/conf/jaas.config \ - -Djava.endorsed.dirs=$JONAS_ROOT/lib/endorsed \ - -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB \ - -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton \ - -Dorg.omg.PortableInterceptor.ORBInitializerClass.standard_init=org.jacorb.orb.standardInterceptors.IORInterceptorInitializer \ - -Dcom.sun.CORBA.ORBDynamicStubFactoryFactoryClass=com.sun.corba.se.impl.presentation.rmi.StubFactoryFactoryStaticImpl \ - -Djavax.xml.soap.SOAPConnectionFactory=com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory \ - -Djavax.xml.soap.SOAPFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl \ - -Djavax.xml.soap.MetaFactory=com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl \ - -Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl \ - " -# Most of the ORB and naming properties are not usually changed by the user !! Should be in a class. - -# --------------------------------------------- -# Get arguments -# --------------------------------------------- -ARGS= -MODE= -JONAS_NAME= -PINGTIMEOUT= -PINGSTATE= -HEADLESS="-Djava.awt.headless=true" -START_OPTS= -PINGTIMEOUT_OPT= -PINGSTATE_OPT= -WHERE=background -FORCE_FOREGROUND=false -ADMIN_CLASS=org.ow2.jonas.commands.admin.ClientAdmin -USERNAME= -PASSWORD= -while [ "$#" -gt 0 ] - do case "$1" in - start) - MODE=start - ;; - halt) - echo "[DEPRECATED] Please use stop argument instead of halt" - MODE=stop - PINGSTATE=j2ee.state.stopped - ;; - stop) - MODE=stop - PINGSTATE=j2ee.state.stopped - ;; - admin) - MODE=admin - FORCE_FOREGROUND=true - ;; - version) - MODE=version - FORCE_FOREGROUND=true - ;; - check) - MODE=check - FORCE_FOREGROUND=true - ;; - -standby) - ARGS="$ARGS -standby" - if [ "$MODE" = "stop" ]; then - FORCE_FOREGROUND=false - fi - ;; - -running) - # Implicit argument for the 'start' argument - ;; - -halt) - # Implicit argument for the 'stop' argument - ;; - -cp) - PARAMS="$PARAMS $1" - shift - JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$1 - ;; - -debug) - PARAMS="$PARAMS $1" - shift - # $1=-p - if [ "$1" != "-p" ]; then - echo "-debug mode need a following \"-p \"" - exit 1 - fi - shift - JONAS_DEBUG_PORT=$1 - JONAS_DEBUG_SUSPEND=n - if [ "$2" = "-s" ]; then - shift - shift - JONAS_DEBUG_SUSPEND=$1 - fi - echo "JOnAS Debug Info :" - echo " listening on port : $JONAS_DEBUG_PORT" - echo " suspend mode : $JONAS_DEBUG_SUSPEND" - JONAS_DEBUG_OPTS=" -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=$JONAS_DEBUG_PORT,suspend=$JONAS_DEBUG_SUSPEND" - ;; - -fg) - WHERE=foreground - ;; - -bg) - WHERE=background - ;; - -gui) - echo "Start Felix GUI with JOnAS." - START_OPTS="$START_OPTS -Djonas.felix.gui.enabled=true" - HEADLESS="" - ;; - -tui) - echo "Start Felix TUI with JOnAS." - START_OPTS="$START_OPTS -Djonas.felix.tui.enabled=true" - FORCE_FOREGROUND=true - ;; - -win) - WHERE=window - ;; - -nojit) - JONAS_OPTS="$JONAS_OPTS -Djava.compiler=NONE" - START_OPTS="$START_OPTS -Djava.compiler=NONE" - ;; - -dev) - START_OPTS="$START_OPTS -Djonas.developer=true" - ;; - -clean) - echo "Clean Felix cache before starting JOnAS." - START_OPTS="$START_OPTS -Djonas.cache.clean=true" - ;; - -n) - PARAMS="$PARAMS $1" - shift - JONAS_NAME=$1 - ;; - -timeout) - PARAMS="$PARAMS $1" - shift - PINGTIMEOUT=$1 - ;; - -state) - PARAMS="$PARAMS $1" - shift - PINGSTATE=$1 - ;; - -D*) - JONAS_OPTS="$JONAS_OPTS $1" - START_OPTS="$START_OPTS $1" - ;; - -X*) - JAVA_OPTS="$JAVA_OPTS $1" - ;; - -target) - if [ "$MODE" = "start" ]; then - ARGS="$ARGS -start" - fi - if [ "$MODE" = "stop" ]; then - ARGS="$ARGS -stop" - fi - MODE=admin - ARGS="$ARGS -target" - ;; - -username) - PARAMS="$PARAMS $1" - shift - USERNAME="-username $1" - ;; - -password) - PARAMS="$PARAMS $1" - shift - PASSWORD="-password $1" - ;; - *) - # All other args are passed "as is" to the java program - ARGS="$ARGS $1" - ;; - esac - if [ "$1" != "-win" ]; then - PARAMS="$PARAMS $1" - fi - shift -done - -# --------------------------------------------- -# Check args -# --------------------------------------------- -case "$MODE" in - start) - CLASS_TO_RUN="$ADMIN_CLASS -start" - ;; - stop) - CLASS_TO_RUN="$ADMIN_CLASS -stop" - ;; - admin) - CLASS_TO_RUN=$ADMIN_CLASS - ;; - version) - CLASS_TO_RUN=org.ow2.jonas.Version - ;; - check) - CLASS_TO_RUN=org.ow2.jonas.commands.check.CheckEnv - ;; - *) - # Usage - # Will be displayed if the user type an unrecognized command - echo "Unrecognized command : '$*'" - echo "Usage: $0 start | stop | admin | version | check" - echo "Options:" - echo " for 'start': [-fg] [-bg] [-win] [-n] [-standby] [-debug] [-gui] [-tui] [-dev] [-clean] [-nojit]" - echo " -fg Launch JOnAS in foreground (Only applicable for 'start')." - echo " -bg Launch JOnAS in background (Only applicable for 'start')." - echo " -win Launch JOnAS in a separate window (Only applicable for 'start')." - echo " -n Specify the JOnAS instance name." - echo " -standby Allow to reach the STANDBY state (Only applicable for 'start' and 'stop')." - echo " -debug -p [-s ] Debug the JOnAS instance." - echo " -gui Launch JOnAS with the Apache Felix GUI (Only applicable for 'start')." - echo " -tui Launch JOnAS with the Apache Felix Shell" - echo " (allow to perform OSGi operations on the framework)." - echo " (Only applicable for 'start')" - echo " -dev Use M2 registry for bundles (for JOnAS developers)." - echo " -clean Clean Felix cache before starting JOnAS." - echo " -nojit Disable JIT." - echo " for '*': [-cp] [-n] [-timeout] [-target] [-D*]" - echo " -cp Additional CLASSPATH entries (to be used with care)." - echo " -timeout Specify a new connection timeout." - echo " -target [options] Perform remote administration tasks." - echo " -Dname=value Add JVM properties." - exit 1 - ;; -esac - -# --------------------------------------------- -# Print out JONAS_BASE -# --------------------------------------------- -case "$MODE" in - start|check) - echo "JONAS_BASE is set to" $JONAS_BASE - ;; -esac - -# --------------------------------------------- -# Add RMI Annotation -# --------------------------------------------- -#if [ -z "$ANNOTATE" ]; then -# JONAS_OPTS="$JONAS_OPTS \ -# -Djava.rmi.server.RMIClassLoaderSpi=org.ow2.jonas.lib.bootstrap.RemoteClassLoaderSpi" -#fi - -# --------------------------------------------- -# Set jonas server name -# --------------------------------------------- -if [ ! -z "$JONAS_NAME" ]; then - JONAS_OPTS="$JONAS_OPTS -Djonas.name=$JONAS_NAME " - START_OPTS="$START_OPTS -Djonas.name=$JONAS_NAME " -fi - -# --------------------------------------------- -# Set jonas timeout for ping -# --------------------------------------------- -if [ ! -z "$PINGTIMEOUT" ]; then - PINGTIMEOUT_OPT="-timeout $PINGTIMEOUT" -fi - -# --------------------------------------------- -# Set jonas state for ping -# --------------------------------------------- -if [ ! -z "$PINGSTATE" ]; then - PINGSTATE_OPT="-state $PINGSTATE" -fi - -# Add Headless if needed -START_OPTS="$START_OPTS $HEADLESS" - -# Force foreground mode -if [ "$FORCE_FOREGROUND" = true ]; then - WHERE=foreground -fi - -# For Cygwin, switch paths to Windows format before running java -if $cygwin; then - [ -n "$JONAS_CLASSPATH" ] && - JONAS_CLASSPATH=`cygpath --path --windows "$JONAS_CLASSPATH"` -fi - -# --------------------------------------------- -# Run java command -# --------------------------------------------- -if [ "$MODE" = "start" ] -then - case "$WHERE" in - window) - xterm -title $HOSTNAME:$JONAS_NAME -geometry 110x16 -sb -e $0 $PARAMS -fg & - ;; - foreground) - # Start JOnAS in the foreground - $JAVA $JAVA_OPTS $START_OPTS $JONAS_OPTS -cp $JONAS_CLASSPATH $JONAS_DEBUG_OPTS $CLASS_TO_RUN $ARGS $USERNAME $PASSWORD - ;; - *) - # Start JOnAS in the background - $JAVA $JAVA_OPTS $START_OPTS $JONAS_OPTS -cp $JONAS_CLASSPATH $JONAS_DEBUG_OPTS $CLASS_TO_RUN $ARGS $USERNAME $PASSWORD & - - # Wait for JOnAS to actually start - $JAVA $START_OPTS $JONAS_OPTS -cp $JONAS_CLASSPATH $ADMIN_CLASS -ping $PINGTIMEOUT_OPT $PINGSTATE_OPT $ARGS $USERNAME $PASSWORD - ;; - esac -elif [ "$MODE" = "stop" ] -then - # Send the JMX command for stopping JOnAS, in the background - $JAVA $START_OPTS $JONAS_OPTS -cp $JONAS_CLASSPATH $JONAS_DEBUG_OPTS $CLASS_TO_RUN $ARGS $USERNAME $PASSWORD & - - # Wait for JOnAS to actually stop - $JAVA $START_OPTS $JONAS_OPTS -cp $JONAS_CLASSPATH $ADMIN_CLASS -ping $PINGTIMEOUT_OPT $PINGSTATE_OPT $ARGS $USERNAME $PASSWORD -else - # JOnAS admin or other similar command - $JAVA $START_OPTS $JONAS_OPTS -cp $JONAS_CLASSPATH $JONAS_DEBUG_OPTS $CLASS_TO_RUN $ARGS $PINGTIMEOUT_OPT $PINGSTATE_OPT $USERNAME $PASSWORD -fi diff --git a/jonas/assemblies/binaries/src/main/resources/bin/jonas.bat b/jonas/assemblies/binaries/src/main/resources/bin/jonas.bat deleted file mode 100755 index d0dd7bf1cae5bb6b455f21ee8f96d822ad8b5d66..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/jonas.bat +++ /dev/null @@ -1,420 +0,0 @@ -@Echo Off -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2009 Bull S.A.S. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem Initial developer(s): Philippe Durieux -Rem Contributor(s): Miroslav Halas -Rem Adriana Danes : -Rem - Change /config in /conf -Rem - Use JONAS_BASE -Rem Jerome Pioux: -Rem - Remove extra spaces in :start_jonas_bg after %JAVA% - was causing -Rem bug #306113 - happen only if the script is used from the tarball -Rem (UNIX format [LF]). As a side note, with 4.8.3, the script will -Rem be saved as DOS format [CRLF] inside SVN. -Rem eyindanga: -Rem - Start JOnAS on OSGi. -Rem -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - -Rem Keep variables local to this script -setlocal ENABLEDELAYEDEXPANSION - -if ["%JONAS_ROOT%"]==[""] goto emptyroot -goto execute - -Rem %~dp0 is the directory in which this batch file is. JONAS_ROOT\bin in our case. -:emptyroot -pushd "%~dp0" -cd .. -@set JONAS_ROOT=%cd% -@echo JONAS_ROOT is set to %JONAS_ROOT% -popd - -Rem --------------------------------------------- -Rem set environment -Rem --------------------------------------------- -if ["%JONAS_ROOT%"]==[""] goto setroot - -:execute -call "%JONAS_ROOT%\bin\setenv.bat" - -Rem Display JOnAS banner (if any) -if not exist "%JONAS_BASE%\conf\banner.txt" goto no_banner -more "%JONAS_BASE%\conf\banner.txt" - -Rem Marker when no banner is available -:no_banner - -Rem Set path for JOnAS bootstrap libraries -set LIB_BOOTSTRAP_PATH=%JONAS_ROOT%\lib\bootstrap - -Rem Set JONAS_CLASSPATH -set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%LIB_BOOTSTRAP_PATH%\felix-launcher.jar -set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%LIB_BOOTSTRAP_PATH%\jonas-commands.jar -set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%LIB_BOOTSTRAP_PATH%\jonas-version.jar - -Rem --------------------------------------------- -Rem set JONAS_OPTS -Rem --------------------------------------------- -Rem JAVA_HOME must be set since config_env.bat requires it for tools.jar -if ["%JAVA_HOME%"]==[""] goto setjava - -Rem JONAS_OPTS may be already partially initialized -set JONAS_OPTS=%JONAS_OPTS% -Djonas.root="%JONAS_ROOT%" -set JONAS_OPTS=%JONAS_OPTS% -Djonas.base="%JONAS_BASE%" -set JONAS_OPTS=%JONAS_OPTS% -Dipojo.log.level=ERROR -set JONAS_OPTS=%JONAS_OPTS% -Djava.security.policy="%JONAS_BASE%\conf\java.policy" -set JONAS_OPTS=%JONAS_OPTS% -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -set JONAS_OPTS=%JONAS_OPTS% -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton -set JONAS_OPTS=%JONAS_OPTS% -Dorg.omg.PortableInterceptor.ORBInitializerClass.standard_init=org.jacorb.orb.standardInterceptors.IORInterceptorInitializer -set JONAS_OPTS=%JONAS_OPTS% -Djava.security.auth.login.config="%JONAS_BASE%\conf\jaas.config" -set JONAS_OPTS=%JONAS_OPTS% -Djava.endorsed.dirs="%JONAS_ROOT%\lib\endorsed" -set JONAS_OPTS=%JONAS_OPTS% -Dcom.sun.CORBA.ORBDynamicStubFactoryFactoryClass=com.sun.corba.se.impl.presentation.rmi.StubFactoryFactoryStaticImpl -set JONAS_OPTS=%JONAS_OPTS% -Djavax.xml.soap.SOAPConnectionFactory=com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory -set JONAS_OPTS=%JONAS_OPTS% -Djavax.xml.soap.SOAPFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl -set JONAS_OPTS=%JONAS_OPTS% -Djavax.xml.soap.MetaFactory=com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl -set JONAS_OPTS=%JONAS_OPTS% -Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl - -Rem --------------------------------------------- -Rem Get args -Rem --------------------------------------------- - -if [%1]==[] goto no_arg - -set ARGS= -set MODE= -set JONASNAME= -set PINGTIMEOUT= -set PINGSTATE= -set ANNOTATE= -set WHERE=background -set HEADLESS=-Djava.awt.headless=true -set START_OPTS= -set FORCE_FOREGROUND=false -set ADMIN_CLASS=org.ow2.jonas.commands.admin.ClientAdmin -set USERNAME= -set PASSWORD= -:loop_on_args -set VALUE=%~1 -if [%1]==[start] goto start_arg -if [%1]==[stop] goto stop_arg -if [%1]==[halt] goto halt_arg -if [%1]==[admin] goto admin_arg -if [%1]==[version] goto version_arg -if [%1]==[check] goto check_arg -if [%1]==[ntservice] goto ntservice_arg -if [%1]==[-standby] goto standby_arg -if [%1]==[-running] goto next_arg -if [%1]==[-halt] goto next_arg -if [%1]==[-fg] goto fg_arg -if [%1]==[-bg] goto bg_arg -if [%1]==[-win] goto win_arg -if [%1]==[-n] goto n_arg -if [%1]==[-timeout] goto timeout_arg -if [%1]==[-state] goto state_arg -if [%1]==[-cfgsvc] goto cfgsvc_arg -if [%1]==[-cp] goto cp_arg -if [%1]==[-debug] goto debug_arg -if [%1]==[-target] goto target_arg -if [%1]==[-gui] goto gui_arg -if [%1]==[-tui] goto tui_arg -if [%1]==[-dev] goto dev_arg -if [%1]==[-clean] goto clean_arg -if [%1]==[-username] goto username_arg -if [%1]==[-password] goto password_arg -if %VALUE:~0,2%==-D goto jonas_opts -if %VALUE:~0,2%==-X goto java_opts -set ARGS=%ARGS% %1 -goto next_arg - -Rem First arguments : start, stop, admin, version, check - -:start_arg -set MODE=start -set CLASS_TO_RUN=%ADMIN_CLASS% -start -goto next_arg - -:stop_arg -set MODE=stop -set CLASS_TO_RUN=%ADMIN_CLASS% -stop -set PINGSTATE=-state j2ee.state.stopped -goto next_arg - -:halt_arg -echo [DEPRECATED] Please use stop argument instead of halt -goto stop_arg - -:admin_arg -set MODE=admin -set CLASS_TO_RUN=%ADMIN_CLASS% -set FORCE_FOREGROUND=true -goto next_arg - -:version_arg -set MODE=version -set CLASS_TO_RUN=org.ow2.jonas.Version -set FORCE_FOREGROUND=true -goto next_arg - -:check_arg -set MODE=check -set CLASS_TO_RUN=org.ow2.jonas.commands.check.CheckEnv -set FORCE_FOREGROUND=true -goto next_arg - -Rem Take all arguments after ntservice and goto ntservice processing -:ntservice_arg -set MODE=ntservice -shift -set ARGS= -:nt_args -if [%1]==[] goto nt_args_done -set ARGS=%ARGS% %1 -shift -goto nt_args - -:nt_args_done -echo JONAS_BASE is set to %JONAS_BASE% -goto ntservice - -Rem Add -D System Properties -:jonas_opts -Set PROP=%~1 -shift -Set PROP=%PROP%=%1 -Set JONAS_OPTS=%JONAS_OPTS% %PROP% -Set START_OPTS=%START_OPTS% %PROP% -goto next_arg - -Rem Add -X System Properties -:java_opts -Set JAVA_OPTS=%JAVA_OPTS% %~1 -goto next_arg - -:standby_arg -set ARGS=%ARGS% -standby -if [%MODE%]==[stop] set FORCE_FOREGROUND=false -goto next_arg - -:gui_arg -echo Start Felix GUI with JOnAS. -set START_OPTS=%START_OPTS% -Djonas.felix.gui.enabled=true -set HEADLESS= -goto next_arg - -:tui_arg -echo Start Felix TUI with JOnAS. -set START_OPTS=%START_OPTS% -Djonas.felix.tui.enabled=true -set FORCE_FOREGROUND=true -goto next_arg - -:dev_arg -echo JOnAS starts in developer mode. -set START_OPTS=%START_OPTS% -Djonas.developer=true -goto next_arg - -:clean_arg -echo Clean Felix cache before starting JOnAS. -set START_OPTS=%START_OPTS% -Djonas.cache.clean=true -goto next_arg - -:fg_arg -set WHERE=foreground -goto next_arg - -:bg_arg -set WHERE=background -goto next_arg - -:win_arg -set WHERE=window -goto next_arg - -:n_arg -shift -set JONASNAME=%1 -set JONAS_OPTS=%JONAS_OPTS% -Djonas.name="%JONASNAME%" -set START_OPTS=%START_OPTS% -Djonas.name="%JONASNAME%" -goto next_arg - -:timeout_arg -shift -set PINGTIMEOUT=-timeout %1 -goto next_arg - -:state_arg -shift -set PINGSTATE=-state %1 -goto next_arg - -:cfgsvc_arg -shift -if [%1]==[] goto cfgsvc_usage -set WHERE=cfgsvc -set WRAPPER_CONF=%1 -goto start_arg - -:cp_arg -shift -set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%~1 -goto next_arg - -:debug_arg -shift -if not [%1]==[-p] goto debug_usage -shift -set JONAS_DEBUG_PORT=%1 -set JONAS_DEBUG_SUSPEND=n -if not [%2]==[-s] goto set_debug_opts -shift -shift -set JONAS_DEBUG_SUSPEND=%1 - -:set_debug_opts -echo JOnAS Debug Info : -echo listening on port : %JONAS_DEBUG_PORT% -echo suspend mode : %JONAS_DEBUG_SUSPEND% -set JONAS_DEBUG_OPTS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=%JONAS_DEBUG_PORT%,suspend=%JONAS_DEBUG_SUSPEND% -goto next_arg - -:target_arg -if [%MODE%]==[start] set ARGS=%ARGS% -start -if [%MODE%]==[stop] set ARGS=%ARGS% -stop -set MODE=admin -set ARGS=%ARGS% -target -goto next_arg - -:username_arg -shift -set USERNAME=-username %1 -goto next_arg - -:password_arg -shift -set PASSWORD=-password %1 -goto next_arg - -:next_arg -if not [%1]==[-win] set PARAMS=%PARAMS% %1 -shift -if not [%1]==[] goto loop_on_args - -if [%MODE%]==[] goto no_mode - -Rem --------------------------------------------- -Rem Remove RMI Annotation -Rem --------------------------------------------- -Rem set JONAS_OPTS=%JONAS_OPTS% -Djava.rmi.server.RMIClassLoaderSpi=org.ow2.jonas.lib.bootstrap.RemoteClassLoaderSpi - -Rem Add Headless if needed -set START_OPTS=%START_OPTS% %HEADLESS% - -Rem Print out JONAS_BASE -if [%MODE%]==[start] echo JONAS_BASE is set to %JONAS_BASE% -if [%MODE%]==[check] echo JONAS_BASE is set to %JONAS_BASE% - -if %FORCE_FOREGROUND%==true set WHERE=foreground - -Rem --------------------------------------------- -Rem Run java command -Rem --------------------------------------------- - -if [%MODE%]==[stop] goto stop -if not [%MODE%]==[start] goto admin -if %WHERE%==cfgsvc goto cfgsvc_mode -if %WHERE%==window goto window -if %WHERE%==foreground goto foreground -if %WHERE%==background goto background -goto :EOF - -:cfgsvc_mode -rem called by ANT create_windows_service -set JAVA_CMD=%JAVA% -classpath "%JONAS_CLASSPATH%" org.ow2.jonas.commands.wrapper.GenerateWrapperConf -%JAVA_CMD% -d ; -i 2 wrapper.java.classpath "%JONAS_CLASSPATH%" >>%WRAPPER_CONF% -%JAVA_CMD% -i 2 wrapper.java.additional %JAVA_OPTS% %JONAS_OPTS% >>%WRAPPER_CONF% -echo wrapper.app.parameter.10=%JONASNAME% >>%WRAPPER_CONF% -echo wrapper.ntservice.name=JOnAS_%JONASNAME% >>%WRAPPER_CONF% -echo wrapper.ntservice.displayname=JOnAS (%JONASNAME%) >>%WRAPPER_CONF% -goto :EOF - -:foreground -REM start JOnAS in foreground mode -%JAVA% %JAVA_OPTS% %START_OPTS% %JONAS_OPTS% -cp "%JONAS_CLASSPATH%" %JONAS_DEBUG_OPTS% %CLASS_TO_RUN% %ARGS% %USERNAME% %PASSWORD% -goto :EOF - -:background -REM start JOnAS in background mode -start /B "JOnAS" %JAVA% %JAVA_OPTS% %START_OPTS% %JONAS_OPTS% -cp "%JONAS_CLASSPATH%" %JONAS_DEBUG_OPTS% %CLASS_TO_RUN% %ARGS% %USERNAME% %PASSWORD% -%JAVA% %START_OPTS% %JONAS_OPTS% -cp "%JONAS_CLASSPATH%" %ADMIN_CLASS% -ping %PINGTIMEOUT% %PINGSTATE% %ARGS% %USERNAME% %PASSWORD% -goto :EOF - -:stop -REM stop JOnAS and wait for it to stop -start /B "JOnAS" %JAVA% %START_OPTS% %JONAS_OPTS% -cp "%JONAS_CLASSPATH%" %JONAS_DEBUG_OPTS% %CLASS_TO_RUN% %ARGS% %PINGTIMEOUT% %PINGSTATE% %USERNAME% %PASSWORD% -%JAVA% %START_OPTS% %JONAS_OPTS% -cp "%JONAS_CLASSPATH%" %ADMIN_CLASS% -ping %PINGTIMEOUT% %PINGSTATE% %ARGS% %USERNAME% %PASSWORD% -goto :EOF - -:window -set WINDOW_TITLE="%HOSTNAME%:%JONASNAME%" -if %WINDOW_TITLE%==":" set WINDOW_TITLE="JOnAS Server" -start %WINDOW_TITLE% %JAVA% %JAVA_OPTS% %START_OPTS% %JONAS_OPTS% -cp "%JONAS_CLASSPATH%" %JONAS_DEBUG_OPTS% %CLASS_TO_RUN% %ARGS% %USERNAME% %PASSWORD% -goto :EOF - -:admin -%JAVA% %START_OPTS% %JONAS_OPTS% -cp "%JONAS_CLASSPATH%" %JONAS_DEBUG_OPTS% %CLASS_TO_RUN% %ARGS% %PINGTIMEOUT% %PINGSTATE% %USERNAME% %PASSWORD% -goto :EOF - -:ntservice -"%JONAS_ROOT%\bin\jonasnt" %ARGS% -goto :EOF - -:setjava -echo JAVA_HOME not set. -goto :EOF - -:no_mode -echo No startup mode specified, specify start | stop | admin | version | check -goto usage - -:no_arg -echo No arguments specified. -goto usage - -:usage -echo jonas start | stop | admin | version | check| ntservice | -fg | -bg | -win | -n | -standby | -debug | -cfgsvc | -gui | -tui | -dev | -clean -echo Debug mode : jonas start -debug -p [-s ] -REM TODO: Add here explanation for the arguments -goto :EOF - -:setroot -echo JONAS_ROOT not set. -goto :EOF - -:debug_usage -echo -debug option parameters are : "-debug -p [-s ]" -goto :EOF - -:cfgsvc_usage -echo -cfgsvc option requires filename for target wrapper.conf file -goto :EOF - diff --git a/jonas/assemblies/binaries/src/main/resources/bin/jonasnt.bat b/jonas/assemblies/binaries/src/main/resources/bin/jonasnt.bat deleted file mode 100755 index cf4baa9d25100b4a74eb64160619be2849126e2b..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/jonasnt.bat +++ /dev/null @@ -1,138 +0,0 @@ -@echo off -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2009 Bull S.A.S. -Rem Copyright (c) 1999-2006 Tanuki Software Inc. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - -setlocal - -if "%OS%"=="Windows_NT" goto nt -echo This script only works with NT-based versions of Windows. -goto :eof - -:nt -Rem check JONAS_ROOT -if ["%JONAS_ROOT%"]==[""] goto setJonasRoot - -Rem check JONAS_BASE -if ["%JONAS_BASE%"]==[""] goto setJonasBase - -Rem check WRAPPER_HOME -if ["%WRAPPER_HOME%"]==[""] goto setWrapperHome - -rem -rem Find the application home. -rem -set _WRAPPER_BIN=%WRAPPER_HOME%\bin\ -set _WRAPPER_BASE=wrapper -set _WRAPPER_EXE=%_WRAPPER_BIN%%_WRAPPER_BASE%-windows-x86-32.exe -if exist "%_WRAPPER_EXE%" goto jonasbase -set _WRAPPER_EXE=%_WRAPPER_BIN%%_WRAPPER_BASE%-windows-x86-64.exe -if exist "%_WRAPPER_EXE%" goto jonasbase -set _WRAPPER_EXE=%_WRAPPER_BIN%%_WRAPPER_BASE%.exe -if exist "%_WRAPPER_EXE%" goto jonasbase -echo Unable to locate a Wrapper executable using any of the following names: -echo %_WRAPPER_BIN%%_WRAPPER_BASE%-windows-x86-32.exe -echo %_WRAPPER_BIN%%_WRAPPER_BASE%-windows-x86-64.exe -echo %_WRAPPER_BIN%%_WRAPPER_BASE%.exe -rem pause -goto :eof - -:jonasbase -rem Check that the JONAS_BASE is valid -if exist "%JONAS_BASE%\conf\jonas.properties" goto validate -echo The JONAS_BASE is not valid -rem pause -goto :eof - -:validate -rem Find the requested command. -for /F %%v in ('echo %1^|findstr "^console$ ^start$ ^stop$ ^restart$ ^status$ ^install$ ^uninstall"') do call :exec set COMMAND=%%v - -if "%COMMAND%" == "" ( - echo Usage: %0 { console : start : stop : restart : status : install : uninstall} - goto :eof -) else ( - shift -) - -set WRAPPER_CONF=%JONAS_BASE%\conf\wrapper.conf - -rem -rem Run the application. -rem At runtime, the current directory will be that of wrapper.exe -rem -:run -call :%COMMAND% -rem if errorlevel 1 pause -goto :eof - -:console -"%_WRAPPER_EXE%" -c "%WRAPPER_CONF%" -goto :eof - -:start -"%_WRAPPER_EXE%" -t "%WRAPPER_CONF%" -goto :eof - -:stop -"%_WRAPPER_EXE%" -p "%WRAPPER_CONF%" -goto :eof - -:status -"%_WRAPPER_EXE%" -q "%WRAPPER_CONF%" -goto :eof - -:install -"%_WRAPPER_EXE%" -i "%WRAPPER_CONF%" -goto :eof - -:uninstall -"%_WRAPPER_EXE%" -r "%WRAPPER_CONF%" -goto :eof - -:console -"%_WRAPPER_EXE%" -c "%WRAPPER_CONF%" -goto :eof - -:restart -call :stop -call :start -goto :eof - -:exec -%* -goto :eof - -:setJonasRoot -echo JONAS_ROOT must be set. -goto :eof - -:setJonasBase -echo JONAS_BASE must be set. -goto :eof - -:setWrapperHome -echo WRAPPER_HOME must be set. -echo Please check your Tanuki Java Service wrapper installation. -goto :eof diff --git a/jonas/assemblies/binaries/src/main/resources/bin/joram_raconfig b/jonas/assemblies/binaries/src/main/resources/bin/joram_raconfig deleted file mode 100644 index a960bed6b43cc88657c2a3cb11f2fb05bbd600ac..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/joram_raconfig +++ /dev/null @@ -1,117 +0,0 @@ -#! /bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2008 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Philippe Durieux -# Contributor(s): ______________________________________. -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# Check JONAS_ROOT is set. -if [ ! -d $JONAS_ROOT/deploy ] -then - echo "JONAS_ROOT must be set" - exit 1 -fi - -# Set CLASSPATH and JONAS_BASE -. $JONAS_ROOT/bin/setenv - -# Locate the JORAM ResourceAdapter to configure -RA_LOCATION=repositories/maven2-internal/org/objectweb/joram/joram_ra_for_jonas/${joram.version}/joram_ra_for_jonas-${joram.version}.rar -if [ -f $JONAS_BASE/$RA_LOCATION ]; then - RARJORAM=$JONAS_BASE/$RA_LOCATION; -else - if [ -f $JONAS_BASE/joram_ra_for_jonas.rar ]; then - RARJORAM=$JONAS_BASE/joram_ra_for_jonas.rar; - fi -fi - -if ([ "$RARJORAM" = "" ] || [ ! -f $RARJORAM ]); then - echo "[ERROR] Cannot find a JORAM Resource Adapter file to process."; - echo "Expected locations:"; - echo " * $JONAS_BASE/$RA_LOCATION (newjb generated base)"; - echo " * $JONAS_BASE/joram_ra_for_jonas.rar"; - echo "Notice that the JORAM RA is automatically placed at the right location by 'newjb' when generating a new JONAS_BASE"; - exit 1 ; -fi - -PRM="false"; -PORT=16010; -HOST=localhost; -SERVER=0; -export PRM PORT HOST SERVER - -while [ "$#" -gt 0 ] -do - case "$1" in - -p) - shift - PORT=$1; - PRM="true"; - ;; - -h) - shift - HOST=$1; - PRM="true"; - ;; - -s) - shift - SERVER=$1; - PRM="true"; - ;; - -v) - shift - export VERBOSE=$1; - ;; - *) - shift - ;; - esac -done - -if [ "$PRM" = "false" ] -then - echo "Usage : $0 -p -h -s "; - exit 1; -fi - -echo "Target JORAM Resource Adapter: $RARJORAM" - -JAVA_OPTS="$JAVA_OPTS \ - -Djonas.root=$JONAS_ROOT \ - -Djonas.base=$JONAS_BASE \ - -Djava.security.manager \ - -Djava.security.policy=$JONAS_BASE/conf/java.policy \ - -Djava.endorsed.dirs=$JONAS_ROOT/lib/endorsed \ -" -# add /client-bootstrap.jar to the classpath for the bootstrap class -JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$JONAS_ROOT/lib/bootstrap/client-bootstrap.jar$SPS$JONAS_ROOT/lib/jonas-generators-raconfig.jar$SPS$JONAS_ROOT/lib/client.jar - -$JAVA -cp $JONAS_CLASSPATH \ - $JAVA_OPTS \ - org.ow2.jonas.client.boot.Bootstrap org.objectweb.joram.client.connector.utils.RAConfig \ - -rar $RARJORAM \ - -uhp $HOST $PORT $SERVER \ - -conf $JONAS_BASE/conf \ - $VERBOSE - diff --git a/jonas/assemblies/binaries/src/main/resources/bin/joram_raconfig.bat b/jonas/assemblies/binaries/src/main/resources/bin/joram_raconfig.bat deleted file mode 100755 index 44fe852f67e6140ce29cc122441e68c7a518d5ba..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/joram_raconfig.bat +++ /dev/null @@ -1,134 +0,0 @@ -@Echo Off -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2008 Bull S.A.S. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem Initial developer(s): Nicolas Tachker -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - -Rem Keep variables local to this script -setlocal ENABLEDELAYEDEXPANSION - -Rem --------------------------------------------- -Rem set environment -Rem --------------------------------------------- -if ["%JONAS_ROOT%"]==[""] goto setroot -call "%JONAS_ROOT%\bin\setenv.bat" - -REM Locate the JORAM ResourceAdapter to configure -set RA_LOCATION=repositories/maven2-internal/org/objectweb/joram/joram_ra_for_jonas/${joram.version}/joram_ra_for_jonas-${joram.version}.rar -if not exist "%JONAS_BASE%\%RA_LOCATION%" goto compatibility_rar -Set RARJORAM=%JONAS_BASE%\%RA_LOCATION% - -Rem Marker that help to come back at the beggining of the script when we tryed to use the compatibility rar -:joram_rar_available - -set HOST=localhost -set PORT=16010 -set SERVER=0 - -Rem --------------------------------------------- -Rem Get args -Rem --------------------------------------------- -if [%1]==[] goto no_arg - -:loop_on_args -Set VALUE=%~1 -if [%1]==[-p] goto port_arg -if [%1]==[-h] goto host_arg -if [%1]==[-s] goto sid_arg -if [%1]==[-v] goto verbose -set ARGS=%ARGS% %1 -goto next_arg - -:port_arg -shift -if [%1]==[] goto usage -set PORT=%1 -goto next_arg - -:host_arg -shift -if [%1]==[] goto usage -set HOST=%1 -goto next_arg - -:sid_arg -shift -if [%1]==[] goto usage -set HOST=%1 -goto next_arg - -:verbose -shift -set VERBOSE=-v -goto next_arg - -:next_arg -shift -if not [%1]==[] goto loop_on_args - -Rem --------------------------------------------- -Rem set JAVA_OPTS -Rem --------------------------------------------- -Set JAVA_OPTS=%JAVA_OPTS% -Djonas.root="%JONAS_ROOT%" -Set JAVA_OPTS=%JAVA_OPTS% -Djonas.base="%JONAS_BASE%" -Set JAVA_OPTS=%JAVA_OPTS% -Djava.security.manager -Djava.security.policy="%JONAS_BASE%\conf\java.policy" -Set JAVA_OPTS=%JAVA_OPTS% -Djava.endorsed.dirs="%JONAS_ROOT%\lib\endorsed" - -Rem Update classpath -Set JONAS_CLASSPATH=%JONAS_ROOT%\lib\bootstrap\client-bootstrap.jar;%JONAS_ROOT%\lib\jonas-generators-raconfig.jar;%JONAS_ROOT%\lib\client.jar;%JONAS_CLASSPATH% - -Rem --------------------------------------------- -Rem start Joram RAConfig -Rem --------------------------------------------- -echo "Target JORAM Resource Adapter: %RARJORAM%" -%JAVA% %JAVA_OPTS% -cp "%JONAS_CLASSPATH%" org.ow2.jonas.client.boot.Bootstrap org.objectweb.joram.client.connector.utils.RAConfig -rar "%RARJORAM%" -uhp %HOST% %PORT% %SERVER% -conf "%JONAS_BASE%\conf" %VERBOSE% -goto :EOF - -:setjava -echo JAVA_HOME not set. -goto :EOF - -:no_arg -echo No arguments specified. -goto usage - -:usage -echo "Usage : joram_raconfig.bat -p -h -s " -goto :EOF - -:setroot -echo JONAS_ROOT not set. -goto :EOF - -:setrar -echo "[ERROR] Cannot find a JORAM Resource Adapter file to process."; -echo "Expected locations:"; -echo " * %JONAS_BASE%\%RA_LOCATION% (newjb generated base)"; -echo " * %JONAS_BASE%\joram_ra_for_jonas.rar"; -echo "Notice that the JORAM RA is automatically placed at the right location by 'newjb' when generating a new JONAS_BASE"; -goto :EOF - -:compatibility_rar -if not exist "%JONAS_BASE%\joram_ra_for_jonas.rar" goto setrar -Set RARJORAM=%JONAS_BASE%\joram_ra_for_jonas.rar -goto joram_rar_available diff --git a/jonas/assemblies/binaries/src/main/resources/bin/newjb b/jonas/assemblies/binaries/src/main/resources/bin/newjb deleted file mode 100644 index 402777fa538c130cbab9a86538e1298111fa6989..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/newjb +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2008 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Florent Benoit -# Contributor(s): Benoit Pelletier -# --------------------------------------------------------------------------- -# $Id:newjb 12758 2008-01-31 10:23:26Z durieuxp $ -# --------------------------------------------------------------------------- - -# ----------------------------------------------------------------------- -# Compute JONAS_ROOT in case it has not been set. -# ----------------------------------------------------------------------- -if [ ! -d $JONAS_ROOT/deploy ]; then - - # We know that the 'jonas' command is located at /bin/jonas - # So we can try to be smart enough and deduce the JONAS_ROOT value from that info :) - - # Remove bin/jonas from the command path - relative_directory=`dirname $0` - relative_directory=`dirname $relative_directory` - - # Keep old position - old_position=`pwd` - - # As the relative path is relative from the current location, we can cd into it ... - cd $relative_directory - # ... and then get the absolute path - absolute_directory=`pwd` - - # Come back into the old position - cd $old_position - - # Before accepting that value as is, check if that's a real JONAS_ROOT - if [ ! -d $absolute_directory/deploy ]; then - echo "Cannot deduce JONAS_ROOT value from $0." - exit 1 - fi - - # Set the JONAS_ROOT variable - JONAS_ROOT=$absolute_directory - export JONAS_ROOT -fi - -i=0 -while [ -z "$JONAS_BASE" ] -do - if [ $i -eq 3 ] - then - exit 1 - fi -echo "JONAS_BASE not set. Please enter a JONAS_BASE: " -read JONAS_BASE -i=`expr $i + 1` -done -export JONAS_BASE - -# ----------------------------------------------------------------------- -# Debugging properties -#ANT_OPTS="$ANT_OPTS -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=4143,suspend=y" -# ----------------------------------------------------------------------- - -# Force endorsed directory for the ant process -# Ensure that the XML parser used is recent enough -ANT_OPTS="$ANT_OPTS -Djava.endorsed.dirs=$JONAS_ROOT/lib/endorsed" -export ANT_OPTS - -# creation d'un cluster daemon demandee -if [ "$1" = "-cd" ]; then - ant -file $JONAS_ROOT/templates/newjb/build-jb.xml create_jonas_clusterDaemon -else - ant -file $JONAS_ROOT/templates/newjb/build-jb.xml -fi diff --git a/jonas/assemblies/binaries/src/main/resources/bin/newjb.bat b/jonas/assemblies/binaries/src/main/resources/bin/newjb.bat deleted file mode 100755 index 6c81489250613d865e7106e0a0629073fab02b5a..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/newjb.bat +++ /dev/null @@ -1,54 +0,0 @@ -@Echo Off - -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2009 Bull S.A.S. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem Initial developer(s): Benoit Pelletier -Rem Contributor(s): Shenheng Liang -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - -setlocal - -Rem set the Environment Variables -if ["%JONAS_ROOT%"]==[""] goto setroot -if ["%JONAS_BASE%"]==[""] goto setbase - -Rem Force endorsed directory for the ant process -Rem Ensure that the XML parser used is recent enough -set ANT_OPTS=%ANT_OPTS% -Djava.endorsed.dirs="%JONAS_ROOT%\lib\endorsed" - -if "%1" == "-cd" goto cd_call - -call ant -file "%JONAS_ROOT%\templates\newjb\build-jb.xml" -goto :EOF - -:setroot -echo JONAS_ROOT not set. -goto :EOF - -:setbase -echo JONAS_BASE not set. -goto :EOF - -:cd_call -call ant -file "%JONAS_ROOT%\templates\newjb\build-jb.xml" create_jonas_clusterDaemon -goto :EOF \ No newline at end of file diff --git a/jonas/assemblies/binaries/src/main/resources/bin/newjc b/jonas/assemblies/binaries/src/main/resources/bin/newjc deleted file mode 100644 index d96a171de3e314a13d21399732e8c0197e985fae..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/newjc +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 2005-2007 Bull S.A.S. -# Contact: jonas-team@objectweb.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Benoit Pelletier -# Contributor(s): Nicolas Duvauchel -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- -echo $0 -if [ ! -d $JONAS_ROOT/lib ] -then - echo "JONAS_ROOT must be set" - exit 1 -fi - -NEWJCDIR=$JONAS_ROOT/templates/newjc; - -# Force endorsed directory for the ant process -# Ensure that the XML parser used is recent enough -ANT_OPTS="$ANT_OPTS -Djava.endorsed.dirs=$JONAS_ROOT/lib/endorsed" -export ANT_OPTS - -if [ $# -eq 0 ] -then - echo 1>&2 Mode Step by Step - ant -file $NEWJCDIR/build-jc.xml -Dsilence.mode="false" -else - if [ $1 = "-auto" ] - then - echo 1>&2 Mode Auto - ant -file $NEWJCDIR/build-jc.xml -Dsilence.mode="true" - fi -fi - - diff --git a/jonas/assemblies/binaries/src/main/resources/bin/newjc.bat b/jonas/assemblies/binaries/src/main/resources/bin/newjc.bat deleted file mode 100755 index dd76d10cd25c53dc42896bd583bb29092507b07b..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/newjc.bat +++ /dev/null @@ -1,106 +0,0 @@ -@echo off -:: --------------------------------------------------------------------------- -:: JOnAS: Java(TM) Open Application Server -:: Copyright (C) 2006-2009 Bull S.A.S. -:: Contact: jonas-team@objectweb.org -:: -:: This library is free software; you can redistribute it and/or -:: modify it under the terms of the GNU Lesser General Public -:: License as published by the Free Software Foundation; either -:: version 2.1 of the License, or any later version. -:: -:: This library is distributed in the hope that it will be useful, -:: but WITHOUT ANY WARRANTY; without even the implied warranty of -:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -:: Lesser General Public License for more details. -:: -:: You should have received a copy of the GNU Lesser General Public -:: License along with this library; if not, write to the Free Software -:: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -:: USA -:: -:: Initial developer(s): Benoit Pelletier -:: Contributor(s): -:: --------------------------------------------------------------------------- -:: $Id$ -:: --------------------------------------------------------------------------- -Rem Keep variables local to this script -setlocal ENABLEDELAYEDEXPANSION - -if [%JONAS_ROOT%]==[] goto setroot - -set NEWJCDIR=%JONAS_ROOT%\templates\newjc - -Rem Force endorsed directory for the ant process -Rem Ensure that the XML parser used is recent enough -set ANT_OPTS=%ANT_OPTS% -Djava.endorsed.dirs="%JONAS_ROOT%\lib\endorsed" - -if [%1]==[] goto no_arg - -Rem --------------------------------------------- -Rem Set the silence mode required -Rem --------------------------------------------- -:arg -if [%1]==[-auto] goto auto_mode -if [%1]==[-debug] goto debug_arg -goto end - - -:execute -call ant -file "%NEWJCDIR%\build-jc.xml" %SILENCE_MODE% -goto end - -:auto_mode -echo Mode Auto -set SILENCE_MODE=%SILENCE_MODE% -Dsilence.mode="true" -goto next_arg - -:next_arg -shift -if not [%1]==[] goto arg -goto execute - - -Rem --------------------------------------------- -Rem No arg, silence mode by default -Rem --------------------------------------------- - -:no_arg -echo Mode Step by Step -set SILENCE_MODE=%SILENCE_MODE% -Dsilence.mode="false" -goto execute -goto end - -:setroot -echo JONAS_ROOT not set. -goto end - - -:debug_usage -echo -debug option parameters are : "-debug -p [-s ]" -goto end - -:set_debug_opts -echo newjc Debug Info : -echo listening on port : %DEBUG_PORT% -echo suspend mode : %DEBUG_SUSPEND% -set ANT_OPTS=%ANT_OPTS% -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=%DEBUG_PORT%,suspend=%DEBUG_SUSPEND% -goto next_arg - -:debug_arg -shift -if not [%1]==[-p] goto debug_usage -shift -set DEBUG_PORT=%1 -set DEBUG_SUSPEND=n -shift -shift -if [%1]==[y] goto set_debug_suspend -goto set_debug_opts - -:set_debug_suspend -set DEBUG_SUSPEND=%1 -goto set_debug_opts - -:end -goto :EOF \ No newline at end of file diff --git a/jonas/assemblies/binaries/src/main/resources/bin/probeJgroups b/jonas/assemblies/binaries/src/main/resources/bin/probeJgroups deleted file mode 100644 index d27a036cedf173b56876356d2bad98c8665ebcd0..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/probeJgroups +++ /dev/null @@ -1,53 +0,0 @@ -#! /bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2009 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Philippe Durieux -# Contributor(s): ______________________________________. -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# Check JONAS_ROOT is set. -if [ ! -d $JONAS_ROOT/deploy ] -then - echo "JONAS_ROOT must be set" - exit 1 -fi - -# Set CLASSPATH and JONAS_BASE -. $JONAS_ROOT/bin/setenv - -JAVA_OPTS="$JAVA_OPTS \ - -Djonas.root=$JONAS_ROOT \ - -Djonas.base=$JONAS_BASE \ - -Djava.security.manager \ - -Djava.security.policy=$JONAS_BASE/conf/java.policy \ - -Djava.endorsed.dirs=$JONAS_ROOT/lib/endorsed \ -" - -# Find jar with the jgroups classes -JGROUPSLIB=`find $JONAS_ROOT/repositories -name ow2-bundles-externals-jgroups*.jar` - -# add /client-bootstrap.jar to the classpath for the bootstrap class -JONAS_CLASSPATH=$JONAS_CLASSPATH$SPS$JONAS_ROOT/lib/bootstrap/client-bootstrap.jar$SPS$JGROUPSLIB - -$JAVA -cp $JONAS_CLASSPATH $JAVA_OPTS org.ow2.jonas.client.boot.Bootstrap org.jgroups.tests.Probe -timeout 500 $* diff --git a/jonas/assemblies/binaries/src/main/resources/bin/probeJgroups.bat b/jonas/assemblies/binaries/src/main/resources/bin/probeJgroups.bat deleted file mode 100755 index 77d418ab3918ae522b5a8f9dbfca692d544d1cec..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/probeJgroups.bat +++ /dev/null @@ -1,69 +0,0 @@ -@Echo Off -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2009 Bull S.A.S. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - -Rem Keep variables local to this script -setlocal ENABLEDELAYEDEXPANSION - -Rem --------------------------------------------- -Rem set environment -Rem --------------------------------------------- -if ["%JONAS_ROOT%"]==[""] goto setroot -call "%JONAS_ROOT%\bin\setenv.bat" - -Rem --------------------------------------------- -Rem set JAVA_OPTS -Rem --------------------------------------------- -Set JAVA_OPTS=%JAVA_OPTS% -Djonas.root="%JONAS_ROOT%" -Set JAVA_OPTS=%JAVA_OPTS% -Djonas.base="%JONAS_BASE%" -Set JAVA_OPTS=%JAVA_OPTS% -Djava.security.manager -Djava.security.policy="%JONAS_BASE%\conf\java.policy" -Set JAVA_OPTS=%JAVA_OPTS% -Djava.endorsed.dirs="%JONAS_ROOT%\lib\endorsed" - -Rem --------------------------------------------- -Rem include jgroups class -Rem THIS MUST BE UPDATED FOR WINDOWS !!!!!!!!!!!! -Rem unix: JGROUPSLIB=`find $JONAS_ROOT/repositories -name ow2-bundles-externals-jgroups*.jar` -Rem --------------------------------------------- -Rem Setting JGroups libraries. -for /r %JONAS_ROOT%/repositories %%i in (ow2-bundles-externals-jgroups*.jar) do (set JGROUPSLIB=%%i %JGROUPSLIB%) - - - -Set JONAS_CLASSPATH=%JGROUPSLIB%;%JONAS_CLASSPATH% - -Rem --------------------------------------------- -Rem Run java command -Rem --------------------------------------------- -Set JONAS_CLASSPATH=%JONAS_CLASSPATH%;%JONAS_ROOT%\lib\bootstrap\client-bootstrap.jar - -%JAVA% %JAVA_OPTS% -cp "%JONAS_CLASSPATH%" org.ow2.jonas.client.boot.Bootstrap org.jgroups.tests.Probe -timeout 500 %1 %2 %3 %4 %5 %6 %7 %8 %9 -goto :EOF - -:setjava -echo JAVA_HOME not set. -goto :EOF - -:setroot -echo JONAS_ROOT not set. -goto :EOF diff --git a/jonas/assemblies/binaries/src/main/resources/bin/registry b/jonas/assemblies/binaries/src/main/resources/bin/registry deleted file mode 100644 index 00f733e37f748c3361003bee82950c146995c218..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/registry +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2009 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Philippe Durieux -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# This command is deprecated. -# Use "jonas start -standby" instead. -jonas start -standby diff --git a/jonas/assemblies/binaries/src/main/resources/bin/registry.bat b/jonas/assemblies/binaries/src/main/resources/bin/registry.bat deleted file mode 100755 index a5580e19eac94e3261507055544e9fa201f8bc2e..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/registry.bat +++ /dev/null @@ -1,31 +0,0 @@ -@Echo Off - -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2009 Bull S.A.S. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem Initial developer(s): -Rem -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - -Rem This command is deprecated. -Rem Use jonas start -standby instead. -jonas start -standby diff --git a/jonas/assemblies/binaries/src/main/resources/bin/setenv b/jonas/assemblies/binaries/src/main/resources/bin/setenv deleted file mode 100644 index 69b01e014b49d370a0397b0fa2269778f754b29b..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/setenv +++ /dev/null @@ -1,135 +0,0 @@ -#! /bin/sh -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2009 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Philippe Durieux -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# ----------------------------------------------------------------------- -# Check JONAS_ROOT is set. -# ----------------------------------------------------------------------- -if [ ! -d $JONAS_ROOT/repositories ] -then - echo "JONAS_ROOT must be set" - exit 1 -fi - -# ----------------------------------------------------------------------- -# Check JONAS_BASE is set. Set it to JONAS_ROOT if not set. -# ----------------------------------------------------------------------- -if [ -z "$JONAS_BASE" ] -then - JONAS_BASE=$JONAS_ROOT - export JONAS_BASE -fi - -# --------------------------- -# Resolve links -# --------------------------- - -# Do the same stuff than readlink -f but using standard sh commands -# On some Unix systems, readlink -f is not supported -readlink_f() { - # if $1 is a file remove the possible last / - dname=`dirname "$1"` - bname=`basename "$1"` - noslash="$dname"/"$bname" - - linktofile=`read_last_link "$noslash"` # `basename linktofile` is not a link - dna=`dirname "$linktofile"` - # res=the sure path (1 by 1 add no symb link) - res=`basename "$linktofile"` - - while ([ "$dna" != "/" ] && [ "$dna" != "." ]) # Finished if . or / (loop) - do - if [ -L "$dna" ] - then - dna=`read_last_link "$dna"` # last directory is not a link - fi - # basename $dna is not a symbolic link, we can add it to res - res=`basename "$dna"`/"$res" - dna=`dirname "$dna"` - done - if ([ "$dna" = "/" ] && [ "$res" != '/' ]) - then - res=/"$res"; - fi - echo $res -} - -# ensure that the basename of result will not be a link -read_last_link() { - res="$1" - while [ -L "$res" ] - do - ls=`ls -ld "$res"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null - then # if absolute link (begin with /) - res="$link" - else # if relative link (not begin with /) - rel=`dirname "$res"` - res="$rel"/"$link" - fi - done - echo $res -} -JONAS_ROOT=`readlink_f $JONAS_ROOT` -JONAS_BASE=`readlink_f $JONAS_BASE` - - -# must be : for Unix, \; for CygWin on NT -SPS=: - -# ----------------------------------------------------------------------- -# JAVA setup -# We try to use first the java JVM in JAVA_HOME and if not found, -# we use the one found in the path. -# ----------------------------------------------------------------------- -if [ -z "$JAVA" ]; then - if [ -z "$JAVA_HOME" ] - then - JAVA=java - JAVAC=javac - else - JAVA=$JAVA_HOME/bin/java - JAVAC=$JAVA_HOME/bin/javac - fi - export JAVA JAVAC -fi - - -# You can specify additional options to give to the Java JVM in the -# JAVA_OPTS environment variable. -export JAVA_OPTS - -# ----------------------------------------------------------------------- -# Take always the JOnAS configuration files in $JONAS_BASE/conf -# So it must be before the $JONAS_CLASSPATH (if carol.properties is redefined elsewhere) -# ----------------------------------------------------------------------- -if [ "$JONAS_CLASSPATH" = "" ]; then - JONAS_CLASSPATH=$JONAS_BASE/conf -else - JONAS_CLASSPATH=$JONAS_BASE/conf$SPS$JONAS_CLASSPATH -fi - -export JONAS_CLASSPATH diff --git a/jonas/assemblies/binaries/src/main/resources/bin/setenv.bat b/jonas/assemblies/binaries/src/main/resources/bin/setenv.bat deleted file mode 100755 index 4f22b8d28ccf4882bb6bcab67b2073c00ca6e181..0000000000000000000000000000000000000000 --- a/jonas/assemblies/binaries/src/main/resources/bin/setenv.bat +++ /dev/null @@ -1,51 +0,0 @@ -@Echo Off - -Rem --------------------------------------------------------------------------- -Rem JOnAS: Java(TM) Open Application Server -Rem Copyright (C) 1999-2008 Bull S.A.S. -Rem Contact: jonas-team@ow2.org -Rem -Rem This library is free software; you can redistribute it and/or -Rem modify it under the terms of the GNU Lesser General Public -Rem License as published by the Free Software Foundation; either -Rem version 2.1 of the License, or any later version. -Rem -Rem This library is distributed in the hope that it will be useful, -Rem but WITHOUT ANY WARRANTY; without even the implied warranty of -Rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Rem Lesser General Public License for more details. -Rem -Rem You should have received a copy of the GNU Lesser General Public -Rem License along with this library; if not, write to the Free Software -Rem Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -Rem USA -Rem -Rem Initial developer(s): Philippe Durieux -Rem Contributor(s): Miroslav Halas -Rem --------------------------------------------------------------------------- -Rem $Id$ -Rem --------------------------------------------------------------------------- - - -Rem check JONAS_ROOT and JONAS_BASE -if ["%JONAS_ROOT%"]==[""] goto setroot -if ["%JONAS_BASE%"]==[""] set JONAS_BASE=%JONAS_ROOT% - -Rem ---------- -Rem JAVA setup -Rem ---------- -Rem We try to use first the java JVM in JAVA_HOME and if not found, -Rem we use the one found in the path. -Rem You can specify additional options to give to the Java JVM in the -Rem JAVA_OPTS environment variable. -Rem JAVA_HOME must be set since config_env.bat requires it for tools.jar -set JAVA="%JAVA_HOME%\bin\java.exe" -set JAVAC="%JAVA_HOME%\bin\javac.exe" -Rem For JOnAS configuration files (carol.properties, trace.properties, ...) -Rem must be before the CLASSPATH (if carol.properties is redefined elsewhere) -set JONAS_CLASSPATH=%JONAS_BASE%\conf;%JONAS_CLASSPATH% -goto :EOF - -:setroot -echo JONAS_ROOT must be set. -goto :EOF diff --git a/jonas/assemblies/client-jar/pom.xml b/jonas/assemblies/client-jar/pom.xml deleted file mode 100644 index 1914c5345fdc1f9d1f1e9da00458bf26569ef7a0..0000000000000000000000000000000000000000 --- a/jonas/assemblies/client-jar/pom.xml +++ /dev/null @@ -1,95 +0,0 @@ - - - - - org.ow2.jonas - assemblies - 5.2.0-M4-SNAPSHOT - ../pom.xml - - 4.0.0 - org.ow2.jonas.assemblies - client-jar - JOnAS :: Assemblies :: Client JAR - - - - - - maven-dependency-plugin - - - generate-resources - - unpack - - - - - org.ow2.jonas.assemblies.profiles - jonas-full - ${project.version} - bin - zip - ${project.build.directory} - - - true - true - - - - - - - maven-antrun-plugin - - - generate-resources - - - - - - - - run - - - - - - maven-jar-plugin - - - ${project.build.directory}/classes/META-INF/MANIFEST.MF - - - - - - diff --git a/jonas/assemblies/configuration/pom.xml b/jonas/assemblies/configuration/pom.xml deleted file mode 100644 index 6fe68d84b086c314dcd789e40dce75a4391267c9..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/pom.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - org.ow2.jonas - assemblies - 5.2.0-M4-SNAPSHOT - ../pom.xml - - 4.0.0 - org.ow2.jonas.assemblies - configuration - JOnAS :: Assemblies :: Configuration - - - - - - src/main/resources - true - - conf/banner.txt - - - - - src/main/resources - false - - conf/banner.txt - - - - - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/FirebirdSQL.properties b/jonas/assemblies/configuration/src/main/resources/conf/FirebirdSQL.properties deleted file mode 100644 index a1142ff46a9b16e42955cba6f2ba98b73e7dda8c..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/FirebirdSQL.properties +++ /dev/null @@ -1,60 +0,0 @@ -###################### FireBird DataSource configuration example -# - - -##### -# DataSource configuration -# -datasource.name jdbc_1 -datasource.url jdbc:firebirdsql:/// - -datasource.classname org.firebirdsql.jdbc.FBDriver -datasource.username -datasource.password -datasource.isolationlevel read_committed -datasource.mapper rdb.firebird - - -##### -# ConnectionManager configuration -# - -# JDBC connection checking level. -# 0 = no special checking -# 1 = check physical connection is still open before reusing it -# 2 = try every connection before reusing it -jdbc.connchecklevel 0 - -# Max age for jdbc connections -# nb of minutes a connection can be kept in the pool -jdbc.connmaxage 1440 - -# Maximum time (in mn) a connection can be left busy. -# If the caller has not issued a close() during this time, the connection -# will be closed automatically. -jdbc.maxopentime 60 - -# Test statement -jdbc.connteststmt select * from rdb$types - -# JDBC Connection Pool size. -# Limiting the max pool size avoids errors from database. -jdbc.minconpool 10 -jdbc.maxconpool 30 - -# Sampling period for JDBC monitoring : -# nb of seconds between 2 measures. -jdbc.samplingperiod 30 - -# nb of seconds between 2 pool adjustement -jdbc.adjustperiod 60 - -# Maximum time (in seconds) to wait for a connection in case of shortage. -# This may occur only when maxconpool is reached. -jdbc.maxwaittime 5 - -# Maximum of concurrent waiters for a JDBC Connection -# This may occur only when maxconpool is reached. -jdbc.maxwaiters 100 - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/HSQL1.properties b/jonas/assemblies/configuration/src/main/resources/conf/HSQL1.properties deleted file mode 100644 index 7d2a5eb9a274f414b2bf7699c2ba0cadc6635f5c..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/HSQL1.properties +++ /dev/null @@ -1,57 +0,0 @@ -###################### HSQLDB DataSource configuration example -# - - -##### -# DataSource configuration -# Replace db_jonas and jonas by appropriate values. -# -datasource.name jdbc_1 -datasource.url jdbc:hsqldb:hsql://localhost:9001/db_jonas -datasource.classname org.hsqldb.jdbcDriver -datasource.username jonas -datasource.password jonas -datasource.mapper rdb.hsql - - -##### -# ConnectionManager configuration -# - -# JDBC connection checking level. -# 0 = no special checking -# 1 = check physical connection is still open before reusing it -# 2 = try every connection before reusing it -jdbc.connchecklevel 0 - -# Max age for jdbc connections -# nb of minutes a connection can be kept in the pool -jdbc.connmaxage 1440 - -# Maximum time (in mn) a connection can be left busy. -# If the caller has not issued a close() during this time, the connection -# will be closed automatically. -jdbc.maxopentime 60 - -# Test statement -jdbc.connteststmt select count(1) from information_schema.system_tables - -# JDBC Connection Pool size. -# Limiting the max pool size avoids errors from database. -jdbc.minconpool 10 -jdbc.maxconpool 100 - -# Sampling period for JDBC monitoring : -# nb of seconds between 2 measures. -jdbc.samplingperiod 30 - -# nb of seconds between 2 pool adjustement -jdbc.adjustperiod 60 - -# Maximum time (in seconds) to wait for a connection in case of shortage. -# This may occur only when maxconpool is reached. -jdbc.maxwaittime 5 - -# Maximum of concurrent waiters for a JDBC Connection -# This may occur only when maxconpool is reached. -jdbc.maxwaiters 100 diff --git a/jonas/assemblies/configuration/src/main/resources/conf/InstantDB1.properties b/jonas/assemblies/configuration/src/main/resources/conf/InstantDB1.properties deleted file mode 100644 index d41e13f1eb96174bec318a6135e02c29f314499e..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/InstantDB1.properties +++ /dev/null @@ -1,55 +0,0 @@ -####################### InstantDB DataSource configuration example -# - - -##### -# DataSource configuration -# -datasource.name jdbc_1 -datasource.url jdbc:idb=db1.prp -datasource.classname org.enhydra.instantdb.jdbc.idbDriver - - -##### -# ConnectionManager configuration -# - -# JDBC connection checking level. -# 0 = no special checking -# 1 = check physical connection is still open before reusing it -# 2 = try every connection before reusing it -jdbc.connchecklevel 0 - -# Max age for jdbc connections -# nb of minutes a connection can be kept in the pool -jdbc.connmaxage 1440 - -# Maximum time (in mn) a connection can be left busy. -# If the caller has not issued a close() during this time, the connection -# will be closed automatically. -jdbc.maxopentime 60 - -# Test statement -jdbc.connteststmt set date format "yyyy/mm/dd" - -# JDBC Connection Pool size. -# Limiting the max pool size avoids errors from database. -jdbc.minconpool 10 -jdbc.maxconpool 20 - -# Sampling period for JDBC monitoring : -# nb of seconds between 2 measures. -jdbc.samplingperiod 30 - -# nb of seconds between 2 pool adjustement -jdbc.adjustperiod 60 - -# Maximum time (in seconds) to wait for a connection in case of shortage. -# This may occur only when maxconpool is reached. -jdbc.maxwaittime 5 - -# Maximum of concurrent waiters for a JDBC Connection -# This may occur only when maxconpool is reached. -jdbc.maxwaiters 100 - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/InterBase1.properties b/jonas/assemblies/configuration/src/main/resources/conf/InterBase1.properties deleted file mode 100644 index 4789d6080d4f15aaede113e72b3f222dd8c86d8c..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/InterBase1.properties +++ /dev/null @@ -1,61 +0,0 @@ -###################### InterBase DataSource configuration example -# - - -##### -# DataSource configuration -# -datasource.name jdbc_1 -datasource.url jdbc:interbase:/// -#datasource.url jdbc:interbase://localhost//dbs/orders.gdb -#datasource.url jdbc:interbase://localhost/C:/dbs/orders.gdb -datasource.classname interbase.interclient.Driver -datasource.username -datasource.password -datasource.isolationlevel read_committed -datasource.mapper rdb.interbase - - -##### -# ConnectionManager configuration -# - -# JDBC connection checking level. -# 0 = no special checking -# 1 = check physical connection is still open before reusing it -# 2 = try every connection before reusing it -jdbc.connchecklevel 0 - -# Max age for jdbc connections -# nb of minutes a connection can be kept in the pool -jdbc.connmaxage 1440 - -# Maximum time (in mn) a connection can be left busy. -# If the caller has not issued a close() during this time, the connection -# will be closed automatically. -jdbc.maxopentime 60 - -# Test statement -jdbc.connteststmt select * from rdb$types - -# JDBC Connection Pool size. -# Limiting the max pool size avoids errors from database. -jdbc.minconpool 5 -jdbc.maxconpool 15 - -# Sampling period for JDBC monitoring : -# nb of seconds between 2 measures. -jdbc.samplingperiod 30 - -# nb of seconds between 2 pool adjustement -jdbc.adjustperiod 60 - -# Maximum time (in seconds) to wait for a connection in case of shortage. -# This may occur only when maxconpool is reached. -jdbc.maxwaittime 5 - -# Maximum of concurrent waiters for a JDBC Connection -# This may occur only when maxconpool is reached. -jdbc.maxwaiters 100 - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/MailMimePartDS1.properties b/jonas/assemblies/configuration/src/main/resources/conf/MailMimePartDS1.properties deleted file mode 100644 index b2385576f47a34c31156bee33e767706fe9bfed1..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/MailMimePartDS1.properties +++ /dev/null @@ -1,38 +0,0 @@ -####################### -## Required properties -####################### - -#Factory Name/Type -mail.factory.name mailMimePartDS_1 -mail.factory.type javax.mail.internet.MimePartDataSource - -######################## -## Optional properties -## Each line can be removed -####################### - -### Authentication -#mail.authentication.username -#mail.authentication.password - -### Session properties -#mail.debug -#mail.from -#mail.mime.address.strict -#mail.host -#mail.store.protocol -#mail.transport.protocol -#mail.user - -### For each protocol: imap, pop3, smtp,... -### Ovveride default values defined aboved -#mail..class -#mail..host -#mail..port -#mail..user - -#### MimePartDataSource properties -#mail.to -#mail.cc -#mail.bcc -#mail.subject diff --git a/jonas/assemblies/configuration/src/main/resources/conf/MailSession1.properties b/jonas/assemblies/configuration/src/main/resources/conf/MailSession1.properties deleted file mode 100644 index d3d1a24ac152eb3fb4ec4b5e0c793e526b70ecc2..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/MailSession1.properties +++ /dev/null @@ -1,32 +0,0 @@ -####################### -## Required properties -####################### - -#Factory Name/Type -mail.factory.name mailSession_1 -mail.factory.type javax.mail.Session - -######################## -## Optional properties -## Each line can be removed -####################### - -### Authentication -#mail.authentication.username -#mail.authentication.password - -### Session properties -#mail.debug -#mail.from -#mail.mime.address.strict -#mail.host -#mail.store.protocol -#mail.transport.protocol -#mail.user - -### For each protocol: imap, pop3, smtp,... -### Ovveride default values defined aboved -#mail..class -#mail..host -#mail..port -#mail..user diff --git a/jonas/assemblies/configuration/src/main/resources/conf/McKoi1.properties b/jonas/assemblies/configuration/src/main/resources/conf/McKoi1.properties deleted file mode 100644 index 65267d4b5b63062a2af98e3dc02b48e7aeb375ee..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/McKoi1.properties +++ /dev/null @@ -1,59 +0,0 @@ -###################### McKoi DataSource configuration example -# - - -##### -# DataSource configuration -# -datasource.name jdbc_1 -datasource.url jdbc:mckoi:// -datasource.classname com.mckoi.JDBCDriver -datasource.username -datasource.password -datasource.mapper rdb.mckoi - -##### -# ConnectionManager configuration -# - -# JDBC connection checking level. -# 0 = no special checking -# 1 = check physical connection is still open before reusing it -# 2 = try every connection before reusing it -jdbc.connchecklevel 0 - -# Max age for jdbc connections -# nb of minutes a connection can be kept in the pool -jdbc.connmaxage 1440 - -# Maximum time (in mn) a connection can be left busy. -# If the caller has not issued a close() during this time, the connection -# will be closed automatically. -jdbc.maxopentime 60 - -# Test statement -jdbc.connteststmt select 1 - -# JDBC Connection Pool size. -# Limiting the max pool size avoids errors from database. -jdbc.minconpool 10 -jdbc.maxconpool 30 - -# Sampling period for JDBC monitoring : -# nb of seconds between 2 measures. -jdbc.samplingperiod 30 - -# nb of seconds between 2 pool adjustement -jdbc.adjustperiod 60 - -# Maximum time (in seconds) to wait for a connection in case of shortage. -# This may occur only when maxconpool is reached. -jdbc.maxwaittime 5 - -# Maximum of concurrent waiters for a JDBC Connection -# This may occur only when maxconpool is reached. -jdbc.maxwaiters 100 - - -# Maximum number of Prepare Statements cached in a Connection -jdbc.pstmtmax 120 diff --git a/jonas/assemblies/configuration/src/main/resources/conf/MySQL.properties b/jonas/assemblies/configuration/src/main/resources/conf/MySQL.properties deleted file mode 100644 index 472cbf10a8224e3f2bcc1886cd0799e5b74a6ff5..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/MySQL.properties +++ /dev/null @@ -1,56 +0,0 @@ -###################### MySQL DataSource configuration example -# - -datasource.name jdbc_1 -datasource.url jdbc:mysql://localhost/db_jonas -datasource.classname org.gjt.mm.mysql.Driver -datasource.username -datasource.password -datasource.mapper rdb.mysql - - -##### -# ConnectionManager configuration -# - -# JDBC connection checking level. -# 0 = no special checking -# 1 = check physical connection is still open before reusing it -# 2 = try every connection before reusing it -jdbc.connchecklevel 0 - -# Max age for jdbc connections -# nb of minutes a connection can be kept in the pool -# By default mySQL has a timeout every 8 hours, use a value of 7h -jdbc.connmaxage 420 - -# Maximum time (in mn) a connection can be left busy. -# If the caller has not issued a close() during this time, the connection -# will be closed automatically. -jdbc.maxopentime 60 - -# Test statement -jdbc.connteststmt select 1 - -# JDBC Connection Pool size. -# Limiting the max pool size avoids errors from database. -jdbc.minconpool 10 -jdbc.maxconpool 30 - -# Sampling period for JDBC monitoring : -# nb of seconds between 2 measures. -jdbc.samplingperiod 30 - -# nb of seconds between 2 pool adjustement -jdbc.adjustperiod 60 - -# Maximum time (in seconds) to wait for a connection in case of shortage. -# This may occur only when maxconpool is reached. -jdbc.maxwaittime 5 - -# Maximum of concurrent waiters for a JDBC Connection -# This may occur only when maxconpool is reached. -jdbc.maxwaiters 100 - -# Maximum number of Prepare Statements cached in a Connection -jdbc.pstmtmax 120 diff --git a/jonas/assemblies/configuration/src/main/resources/conf/Oracle1.properties b/jonas/assemblies/configuration/src/main/resources/conf/Oracle1.properties deleted file mode 100644 index 1d755980a8fc82e4571b6c548eae69de5c97391b..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/Oracle1.properties +++ /dev/null @@ -1,59 +0,0 @@ -###################### Oracle DataSource configuration example -# - - -##### -# DataSource configuration -# -datasource.name jdbc_1 -datasource.url jdbc:oracle:thin:@:1521: -datasource.classname oracle.jdbc.driver.OracleDriver -datasource.username -datasource.password -datasource.mapper rdb.oracle - - -##### -# ConnectionManager configuration -# - -# JDBC connection checking level. -# 0 = no special checking -# 1 = check physical connection is still open before reusing it -# 2 = try every connection before reusing it -jdbc.connchecklevel 0 - -# Max age for jdbc connections -# nb of minutes a connection can be kept in the pool -jdbc.connmaxage 1440 - -# Maximum time (in mn) a connection can be left busy. -# If the caller has not issued a close() during this time, the connection -# will be closed automatically. -jdbc.maxopentime 60 - -# Test statement -jdbc.connteststmt select * from dual - -# JDBC Connection Pool size. -# Limiting the max pool size avoids errors from database. -jdbc.minconpool 10 -jdbc.maxconpool 30 - -# Sampling period for JDBC monitoring : -# nb of seconds between 2 measures. -jdbc.samplingperiod 30 - -# nb of seconds between 2 pool adjustement -jdbc.adjustperiod 60 - -# Maximum time (in seconds) to wait for a connection in case of shortage. -# This may occur only when maxconpool is reached. -jdbc.maxwaittime 5 - -# Maximum of concurrent waiters for a JDBC Connection -# This may occur only when maxconpool is reached. -jdbc.maxwaiters 100 - -# Maximum number of Prepare Statements cached in a Connection -jdbc.pstmtmax 120 diff --git a/jonas/assemblies/configuration/src/main/resources/conf/PostgreSQL1.properties b/jonas/assemblies/configuration/src/main/resources/conf/PostgreSQL1.properties deleted file mode 100644 index 157b09d226f386a24b5f8d65aceadc10d83bd13b..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/PostgreSQL1.properties +++ /dev/null @@ -1,61 +0,0 @@ -###################### PostgreSQL DataSource configuration example -# - - -##### -# DataSource configuration -# Replace db_jonas and jonas by appropriate values. -# -datasource.name jdbc_1 -datasource.url jdbc:postgresql://localhost:5432/db_jonas -datasource.classname org.postgresql.Driver -datasource.username jonas -datasource.password jonas -datasource.mapper rdb.postgres - - -##### -# ConnectionManager configuration -# - -# JDBC connection checking level. -# 0 = no special checking -# 1 = check physical connection is still open before reusing it -# 2 = try every connection before reusing it -jdbc.connchecklevel 0 - -# Max age for jdbc connections -# nb of minutes a connection can be kept in the pool -jdbc.connmaxage 1440 - -# Maximum time (in mn) a connection can be left busy. -# If the caller has not issued a close() during this time, the connection -# will be closed automatically. -jdbc.maxopentime 60 - -# Test statement -jdbc.connteststmt select 1 - -# JDBC Connection Pool size. -# Postgres accepts up to 30 connections. -# Limiting the max pool size avoids errors from database. -jdbc.minconpool 2 -jdbc.maxconpool 30 - -# Sampling period for JDBC monitoring : -# nb of seconds between 2 measures. -jdbc.samplingperiod 30 - -# nb of seconds between 2 pool adjustement -jdbc.adjustperiod 60 - -# Maximum time (in seconds) to wait for a connection in case of shortage. -# This may occur only when maxconpool is reached. -jdbc.maxwaittime 5 - -# Maximum of concurrent waiters for a JDBC Connection -# This may occur only when maxconpool is reached. -jdbc.maxwaiters 100 - -# Maximum number of Prepare Statements cached in a Connection -jdbc.pstmtmax 120 diff --git a/jonas/assemblies/configuration/src/main/resources/conf/Sybase1.properties b/jonas/assemblies/configuration/src/main/resources/conf/Sybase1.properties deleted file mode 100644 index 1a3b00ae351514c31469d848a73319862cdd9dd7..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/Sybase1.properties +++ /dev/null @@ -1,33 +0,0 @@ -###################### Sybase DataSource configuration example -# - - -##### -# DataSource configuration -# Replace jonas and pwdjonas by appropriate values. -# -datasource.name jdbc_1 -datasource.url jdbc:sybase:Tds:machineName:5000/jonas -datasource.classname com.sybase.jdbc2.jdbc.SybDriver -datasource.username jonas -datasource.password pwdjonas - -##### -# ConnectionManager configuration -# - -# JDBC connection checking level. -# 0 = no special checking -# 1 = check physical connection is still open before reusing it -# 2 = try every connection before reusing it -jdbc.connchecklevel 1 - -# Max age for jdbc connections -# nb of minutes a connection can be kept in the pool -jdbc.connmaxage 30 - -# Test statement -jdbc.connteststmt select 5 x, 2 y, "the product is", 5*2 Result - -# Maximum number of Prepare Statements cached in a Connection -jdbc.pstmtmax 120 diff --git a/jonas/assemblies/configuration/src/main/resources/conf/a3debug.cfg b/jonas/assemblies/configuration/src/main/resources/conf/a3debug.cfg deleted file mode 100644 index b58643fadeb17a4cddc9dfa450c6842cdd23cf6d..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/a3debug.cfg +++ /dev/null @@ -1,33 +0,0 @@ -log.config.classname org.objectweb.util.monolog.wrapper.javaLog.LoggerFactory - -# ----------------------------------------------------------------------- -# tty : console handler -# ----------------------------------------------------------------------- -handler.tty.type Console -handler.tty.output System.out -handler.tty.pattern %d : %O{1}.%M : %m%n - -# ----------------------------------------------------------------------- -# logf : rolling file handler -# ----------------------------------------------------------------------- -#handler.logf.type RollingFile -#handler.logf.output jonas.log -#handler.logf.pattern %d : %l : %h : %O{1}.%M : %m%n -#handler.logf.fileNumber 2 -#handler.logf.maxSize 10000 - -# ----------------------------------------------------------------------- -# logger definitions -# ----------------------------------------------------------------------- -logger.root.handler.0 tty -#logger.root.handler.1 logf - -logger.root.level ERROR - ------- -# JORAM -#------- -logger.fr.dyade.aaa.level ERROR - -#logger.org.objectweb.joram.client.jms.Client.level DEBUG -logger.org.objectweb.joram.client.Adapter.level DEBUG diff --git a/jonas/assemblies/configuration/src/main/resources/conf/a3servers.xml b/jonas/assemblies/configuration/src/main/resources/conf/a3servers.xml deleted file mode 100644 index b4b744f581ee5d64457716492159d524e1b24a9d..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/a3servers.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/banner.txt b/jonas/assemblies/configuration/src/main/resources/conf/banner.txt deleted file mode 100644 index b43cd9d14ae6b9c49f32b5877a610d61f09dcb91..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/banner.txt +++ /dev/null @@ -1,3 +0,0 @@ - -OW2 JOnAS ${project.version} [ http://jonas.ow2.org / jonas@ow2.org ] - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/carol.properties b/jonas/assemblies/configuration/src/main/resources/conf/carol.properties deleted file mode 100644 index 7f757f4caf33ae15e79d1718183769e539c0a8e2..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/carol.properties +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright (C) 2002-2007 ObjectWeb -# -# CAROL: Common Architecture for RMI ObjectWeb Layer -# -# This library is developed inside the ObjectWeb Consortium, -# http://www.ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# -------------------------------------------------------------------------- -# $Id$ -# -------------------------------------------------------------------------- - -# jonas rmi activation (iiop, irmi, jrmp, lmi) -carol.protocols=jrmp - -# RMI IRMI URL -carol.irmi.url=rmi://localhost:1098 - -# RMI JRMP URL -carol.jrmp.url=rmi://localhost:1099 - -# RMI IIOP URL -carol.iiop.url=iiop://localhost:2001 - -# RMI LMI URL (no listening port) -carol.lmi.url=rmi://localhost:0 - - -###################################################################### -# Advanced Configuration for IRMI -###################################################################### -# Exported objects will listen on this port for remote method -# invocations. -#A value of 0 will cause a random port to be selected. -# This is the default value. -# Warning : if the port is set (not 0) with the value 'n', be aware that -# the port 'n + 1' will be used by the JMX server. -# So, for the firewall configuration, you have to open the port numbers 'n' -# and 'n+1'. -carol.irmi.server.port=0 - -# Use only a single interface when creating the registry -# (specified in carol.irmi.url property) -# Use all interfaces available [default configuration = false] -carol.irmi.interfaces.bind.single=false - -###################################################################### -# Advanced Configuration for JRMP -###################################################################### -# If true, local call with jrmp are optimized. If you get "ClassCastException -# with 2 beans in different jars, you should set it at "false". -carol.jvm.rmi.local.call=false - -# If true a local Naming context is used (to be used only with a collocated registry) -carol.jvm.rmi.local.registry=true - -# The value of this port is used to set the port of the objects listener. -# This allow to use this port for a firewall configuration. -# If registry and server are on same host, the two ports to open are the following and the registry port. -# 0 means random port [default configuration = 0] -carol.jrmp.server.port=0 - -# Use only a single interface when creating the registry -# (specified in carol.jrmp.url property) -# Use all interfaces available [default configuration = false] -carol.jrmp.interfaces.bind.single=false - - -###################################################################### -# Advanced Configuration for IIOP -###################################################################### -# The value of this port is used to set the port of the objects listener. -# This allow to use this port for a firewall configuration. -# If registry and server are on same host, the two ports to open are the following and the registry port. -# 0 means random port [default configuration = 0] -carol.iiop.server.port=0 - -# The value of this port is used to set the SSL port of the objects listener. -# Note that this port musn't not be set to 0 as it is used for CsiV2. -# but this port is used only if SSL mode is enable. -# So by default, there is no listener on this port -# [default configuration = not used] -carol.iiop.server.sslport=2003 - -# Delegate used by JOnAS for rmi-iiop protocol -carol.iiop.PortableRemoteObjectClass=org.ow2.jonas.registry.carol.delegate.JacORBPRODelegate - -###################################################################### -# Advanced JNDI Configuration -###################################################################### -carol.jndi.java.naming.factory.url.pkgs=org.ow2.jonas.lib.naming diff --git a/jonas/assemblies/configuration/src/main/resources/conf/classloader-default-filtering.xml b/jonas/assemblies/configuration/src/main/resources/conf/classloader-default-filtering.xml deleted file mode 100644 index 2407a5c4cba4dfdb5010bc542c9339d325659b4d..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/classloader-default-filtering.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - org.apache.commons.digester.* - org.springframework.* - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/clusterd.xml b/jonas/assemblies/configuration/src/main/resources/conf/clusterd.xml deleted file mode 100644 index e8f1ffdf98d7cd0be24883fc7e920ec4dec2e000..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/clusterd.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - cd - domainSample - loosely-coupled - - - JGroupsDiscovery - jgroups-discovery.xml - true - - - - - - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/cmi-config.xml b/jonas/assemblies/configuration/src/main/resources/conf/cmi-config.xml deleted file mode 100644 index e31b5ed91a046b04f75989f2c86f18beb957f69c..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/cmi-config.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/db2.properties b/jonas/assemblies/configuration/src/main/resources/conf/db2.properties deleted file mode 100644 index 570a6031e8574f681ea6f34508f2edae0e2dbb56..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/db2.properties +++ /dev/null @@ -1,55 +0,0 @@ -###################### DB2 DataSource configuration example -# - -##### -# DataSource configuration -# -datasource.name jdbc_1 -datasource.url jdbc:db2://your.db.server:51000/db9 -datasource.classname COM.ibm.db2.jdbc.net.DB2Driver -datasource.username user -datasource.password pass -datasource.mapper rdb.db2 - - -##### -# ConnectionManager configuration -# - -# JDBC connection checking level. -# 0 = no special checking -# 1 = check physical connection is still open before reusing it -# 2 = try every connection before reusing it -jdbc.connchecklevel 0 - -# Max age for jdbc connections -# nb of minutes a connection can be kept in the pool -jdbc.connmaxage 1440 - -# Maximum time (in mn) a connection can be left busy. -# If the caller has not issued a close() during this time, the connection -# will be closed automatically. -jdbc.maxopentime 60 - -# Test statement - not sure this is correct ? -jdbc.connteststmt select 1 - -# JDBC Connection Pool size. -# Limiting the max pool size avoids errors from database. -jdbc.minconpool 10 -jdbc.maxconpool 30 - -# Sampling period for JDBC monitoring : -# nb of seconds between 2 measures. -jdbc.samplingperiod 30 - -# nb of seconds between 2 pool adjustement -jdbc.adjustperiod 60 - -# Maximum time (in seconds) to wait for a connection in case of shortage. -# This may occur only when maxconpool is reached. -jdbc.maxwaittime 8 - -# Maximum of concurrent waiters for a JDBC Connection -# This may occur only when maxconpool is reached. -jdbc.maxwaiters 100 diff --git a/jonas/assemblies/configuration/src/main/resources/conf/domain.xml b/jonas/assemblies/configuration/src/main/resources/conf/domain.xml deleted file mode 100644 index b32ce082e94a2d07105652980448d438c488096a..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/domain.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - A domain named jonas - - - - - - - - - - - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/env.sh.include b/jonas/assemblies/configuration/src/main/resources/conf/env.sh.include deleted file mode 100644 index 2526da3a4c7ecde9a29600104d43dd12b73d6a18..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/env.sh.include +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh -#set -xv -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 2006 Bull S.A.S. -# Contact: jonas-team@objectweb.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Guillaume Sauthier -# -# --------------------------------------------------------------------------- -# $Id: env.sh.include 11267 2007-08-08 16:51:45Z sauthieg $ -# --------------------------------------------------------------------------- - -# Environment -# -------------------------------- -JONAS_ROOT=@JONAS_ROOT@ -export JONAS_ROOT -SERVER_NAME=jonas -export SERVER_NAME - -# Allow that script to be executed without hard-writing -# the JVM and Ant version to use -VAR_HOME_SET=@VAR_HOME_SET@ - -# Fix the JAVA_HOME value -if [ "$VAR_HOME_SET" = "true" ]; then -#JAVA_HOME=@JAVA_HOME@ -#export JAVA_HOME - echo -n -fi -# Fix the ANT_HOME value -if [ "$VAR_HOME_SET" = "true" ]; then -#ANT_HOME=@ANT_HOME@ -#export ANT_HOME - echo -n -fi - - -# JVM Memory options -# --------------------------------- -# example : 128m -INI_HEAP_SIZE="" -MAX_HEAP_SIZE="" -THREAD_STACK_SIZE="" - -[ "$INI_HEAP_SIZE" != "" ] && JAVA_OPTS=$JAVA_OPTS" -Xms"$INI_HEAP_SIZE -[ "$MAX_HEAP_SIZE" != "" ] && JAVA_OPTS=$JAVA_OPTS" -Xmx"$MAX_HEAP_SIZE -[ "$THREAD_STACK_SIZE" != "" ] && JAVA_OPTS=$JAVA_OPTS" -Xss"$THREAD_STACK_SIZE - -# JVM Misc Options -# -------------------------------- -# Uncomment the following line -#JAVA_OPTS=$JAVA_OPTS" -Dyour.property=value" - -export JAVA_OPTS - -# Classpath -# -------------------------------- -if [ "$CLASSPATH" != "" ]; then - S="\033[1;31m" - E="\033[0m" - printf "${S}Warning : CLASSPATH should be empty with JOnAS !$E\n" - printf "Please use ${S}JONAS_BASE/lib/apps$E or ${S}JONAS_BASE/lib/commons$E ...\n" -fi -# You may add jars here, but this is not recommended -CLASSPATH=$CLASSPATH -export CLASSPATH - -# Script Debug -# -------------------------------- -if [ "$ENV_DEBUG" = "yes" ]; then - echo "* -------------------------------------------" - echo "* Returned by $0 :" - echo "* JONAS_ROOT = $JONAS_ROOT" - echo "* SERVER_NAME = $SERVER_NAME" - echo "* JAVA_HOME = $JAVA_HOME" - echo "* ANT_HOME = $ANT_HOME" - echo "* JAVA_OPTS = $JAVA_OPTS" - echo "* CLASSPATH = $CLASSPATH" - echo "* -------------------------------------------" -fi diff --git a/jonas/assemblies/configuration/src/main/resources/conf/env.start.sh.include b/jonas/assemblies/configuration/src/main/resources/conf/env.start.sh.include deleted file mode 100644 index 23b384e8a856d7bc463c6a78e4120ea6c793e978..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/env.start.sh.include +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -#set -xv -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 2006 Bull S.A.S. -# Contact: jonas-team@objectweb.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Guillaume Sauthier -# -# --------------------------------------------------------------------------- -# $Id: env.start.sh.include 11267 2007-08-08 16:51:45Z sauthieg $ -# --------------------------------------------------------------------------- - - -# JVM Memory options -# --------------------------------- -# example : 128m -INI_HEAP_SIZE="256m" -MAX_HEAP_SIZE="256m" -THREAD_STACK_SIZE="" - -[ "$INI_HEAP_SIZE" != "" ] && JAVA_OPTS=$JAVA_OPTS" -Xms"$INI_HEAP_SIZE -[ "$MAX_HEAP_SIZE" != "" ] && JAVA_OPTS=$JAVA_OPTS" -Xmx"$MAX_HEAP_SIZE -[ "$THREAD_STACK_SIZE" != "" ] && JAVA_OPTS=$JAVA_OPTS" -Xss"$THREAD_STACK_SIZE - -# JVM Misc Options -# -------------------------------- -JAVA_OPTS=$JAVA_OPTS" -Djava.awt.headless=true" -export JAVA_OPTS - -# Classpath -# -------------------------------- -if [ "$CLASSPATH" != "" ]; then - S="\033[1;31m" - E="\033[0m" - printf "${S}Warning : CLASSPATH should be empty with JOnAS !$E\n" - printf "Please use ${S}JONAS_BASE/lib/apps$E or ${S}JONAS_BASE/lib/commons$E ...\n" -fi -# You may add jars here, but this is not recommended -CLASSPATH=$CLASSPATH -export CLASSPATH - -# Script Debug -# -------------------------------- -if [ "$ENV_DEBUG" = "yes" ]; then - echo "* -------------------------------------------" - echo "* Returned by $0 :" - echo "* JONAS_ROOT =$JONAS_ROOT" - echo "* SERVER_NAME =$SERVER_NAME" - echo "* JAVA_HOME =$JAVA_HOME" - echo "* ANT_HOME =$ANT_HOME" - echo "* JAVA_OPTS =$JAVA_OPTS" - echo "* CLASSPATH =$CLASSPATH" - echo "* -------------------------------------------" -fi diff --git a/jonas/assemblies/configuration/src/main/resources/conf/file1.properties b/jonas/assemblies/configuration/src/main/resources/conf/file1.properties deleted file mode 100644 index ee1546b012db3a2dd364e2de097bd67deac00099..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/file1.properties +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ - -# FileWSDLPublisher class -jonas.service.wsdl.class org.ow2.jonas.ws.publish.internal.file.FileWSDLPublisher - -# Directory where WSDLs will be copied -# If not set JONAS_BASE/wsdls will be used -# jonas.service.publish.file.directory /tmp - -# Encoding of the file (In respect with the platform JOnAS is running on) -# If not set default to UTF-8 -jonas.service.publish.file.encoding UTF-8 diff --git a/jonas/assemblies/configuration/src/main/resources/conf/initial-repositories.xml b/jonas/assemblies/configuration/src/main/resources/conf/initial-repositories.xml deleted file mode 100644 index 6ea7b453da044705c7a09b811f83d2e150e43442..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/initial-repositories.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - maven2 - http://repo1.maven.org/maven2/ - - - maven2 - http://maven.ow2.org/maven2/ - - - maven2 - http://maven.ow2.org/maven2-snapshot/ - - \ No newline at end of file diff --git a/jonas/assemblies/configuration/src/main/resources/conf/jaas.config b/jonas/assemblies/configuration/src/main/resources/conf/jaas.config deleted file mode 100644 index f1c97326c64bd49fcc992ac41f3ac6683a81d244..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/jaas.config +++ /dev/null @@ -1,114 +0,0 @@ -jaasclient { - // Login Module to use for the example jaasclient. - - //First, use a LoginModule for the authentication - // Use the resource memrlm_1 - - //By default it uses the server named 'jonas' to authenticate - // to specify a different server name, use attribute 'serverName="myJonas"' - org.ow2.jonas.security.auth.spi.JResourceLoginModule required - resourceName="memrlm_1" - ; - - // The previous JResourceLoginModule was renamed to JDirectResourceLoginModule - // You need to activate the registration of resources in jonas.properties file - - - // Use the login module to propagate security to the JOnAS server - // globalCtx is set to true in order to set the security context - // for all the threads of the client container instead of only - // on the current thread. - // Useful with multithread applications (like Swing Clients) - org.ow2.jonas.security.auth.spi.ClientLoginModule required - globalCtx="true" - ; -}; - -jaas-jmx { - // Use LoginModule for JMX authentication - org.ow2.jonas.security.auth.spi.JResourceLoginModule required - resourceName="memrlm_1" - ; -}; - -jetty { - // Login Module to use for the web container Jetty - - - // Uncomment this if you want to check that the certificates - // were not revocated by the Certification Authority - //org.ow2.jonas.security.auth.spi.CRLLoginModule required - //CRLsResourceName="Directory" - //CRLsDirectoryName="/home/jonas/CRLs" - //; - - - //LoginModule for the authentication - //add parameter certCallback="true" if you want use certificate callback - // Use the resource memrlm_1 - //By default it uses the server named 'jonas' to authenticate - // to specify a different server name, use attribute 'serverName="myJonas"' - org.ow2.jonas.security.auth.spi.JResourceLoginModule required - resourceName="memrlm_1" - ; -}; - -tomcat { - // Login Module to use for the web container Tomcat - - - // Uncomment this if you want to check that the certificates - // were not revocated by the Certification Authority - //org.ow2.jonas.security.auth.spi.CRLLoginModule required - //CRLsResourceName="Directory" - //CRLsDirectoryName="/home/jonas/CRLs" - //; - - - //LoginModule for the authentication - //add parameter certCallback="true" if you want use certificate callback - // Use the resource memrlm_1 - //By default it uses the server named 'jonas' to authenticate - // to specify a different server name, use attribute 'serverName="myJonas"' - org.ow2.jonas.security.auth.spi.JResourceLoginModule required - resourceName="memrlm_1" - ; -}; - -test { - // Login Module to use for the a client without setting for all threads the identity - - //LoginModule for the authentication - //add parameter certCallback="true" if you want use certificate callback - // Use the resource memrlm_1 - //By default it uses the server named 'jonas' to authenticate - // to specify a different server name, use attribute 'serverName="myJonas"' - org.ow2.jonas.security.auth.spi.JResourceLoginModule required - resourceName="memrlm_1" - ; - - //Security propagation - org.ow2.jonas.security.auth.spi.ClientLoginModule required; -}; - -ask_remote { - // Ask the remote side - org.ow2.jonas.security.auth.spi.RemoteLoginModule required - entryName="remote" providerURLs="rmi://localhost:1099, rmi://localhost:1979" serverName="jonas" serverNames="jonas,j1,j2,j3" - ; - -}; - - -remote { - // Do authentication and sign the Subject. - org.ow2.jonas.security.auth.spi.JResourceLoginModule required - resourceName="memrlm_1" - ; - - // Specify the keystore to use with the alias and the associated password used to get the private key. - org.ow2.jonas.security.auth.spi.SignLoginModule required - keystoreFile="/tmp/keystore" keystorePass="keystorepass" keyPass="keypass" alias="OW" - ; - -}; diff --git a/jonas/assemblies/configuration/src/main/resources/conf/jacorb.properties b/jonas/assemblies/configuration/src/main/resources/conf/jacorb.properties deleted file mode 100644 index f195ef7ed35062d369e8ed392a69b55a8054fe3d..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/jacorb.properties +++ /dev/null @@ -1,737 +0,0 @@ -## -## JacORB configuration options -## - -######################################## -# # -# Initial references configuration # -# # -######################################## - -# -# URLs where IORs are stored (used in orb.resolve_initial_service()) -# DO EDIT these! (Only those that you are planning to use, -# of course ;-). -# -# The ORBInitRef references are created on ORB startup time. In the -# cases of the services themselves, this may lead to exceptions being -# displayed (because the services aren't up yet). These exceptions -# are handled properly and cause no harm! - -#ORBInitRef.NameService=corbaloc::160.45.110.41:38693/StandardNS/NameServer-POA/_root -#ORBInitRef.NameService=file:/c:/NS_Ref -#ORBInitRef.NameService=http://www.x.y.z/~user/NS_Ref -#ORBInitRef.TradingService=http://www.x.y.z/~user/TraderRef - - -######################################## -# # -# Export of corbaloc IORs # -# # -######################################## - -# allow for more readable corbaloc URLs by mapping the -# actual object key to an arbitrary string. The mapping -# below would permit clients of a name service to -# access it using corbaloc::ipaddress:portnum/NameService -# Note: it is NOT necessary to define this property for -# the name service here because this is done already in the -# code of the ns implementation. -# This mapping can be altered programatically by the proprietary -# function ORB::addObjectKey(NameService, file:/home/rnc/NameSingleton.ior) -# -# The property also accepts the following mappings: -# IOR, resource, jndi, URL (e.g. file, http) -# examples: -# jacorb.orb.objectKeyMap.NameService=StandardNS/NameServer-POA/_root -# jacorb.orb.objectKeyMap.NameService=file:/home/rnc/NameSingleton.ior - -################################## -# # -# ORB version number output # -# # -################################## - -# if on, the ORB's version number and a copyright statement is printed -# any time the ORB is initialized -jacorb.orb.print_version=on - -################################## -# # -# Default Logging configuration # -# # -################################## - -# Name of the factory class that plugs in a given log kit -# The default value is JacORB's own factory for the Apache -# LogKit. Only edit (or uncomment) if you want a different -# log kit. -#jacorb.log.loggerFactory=org.jacorb.util.LogKitLoggerFactory - -# log levels: -# -# 0 = fatal errors only = "almost off" (FATAL ERRORS) -# 1 = non-fatal errors and exceptions (ERROR) -# 2 = important messages (WARN) -# 3 = informational messages and exceptions (INFO) -# 4 = debug-level output (DEBUG) (may confuse the unaware user :-) -# NOTE: the name of this property has changed from jacorb.verbosity!! -jacorb.log.default.verbosity=2 - -# where does output go? Terminal is default -#jacorb.logfile=LOGFILEPATH - -# If logging to file whether to append to existing file or overwrite -jacorb.logfile.append=off - -# If jacorb.logfile.append is on, set rolling log size in kilobytes. -# A value of 0 implies no rolling log -jacorb.logfile.maxLogSize=0 - -# hexdump outgoing messages -jacorb.debug.dump_outgoing_messages=off - -# hexdump incoming messages -jacorb.debug.dump_incoming_messages=off - -jacorb.util.tpool.log.verbosity=0 - -################################################## -# # -# WARNING: The following properties should # -# only be edited by the expert user. They # -# can be left untouched in most cases! # -# # -################################################## - - - -################################ -# # -# Basic ORB Configuration # -# # -################################ - -# the GIOP minor version number to use for newly created IORs -jacorb.giop_minor_version=2 - -# number of retries if connection cannot directly be established -jacorb.retries=1 - -# how many msecs. do we wait between retries -jacorb.retry_interval=500 - -# log2 of maximum buffer size managed by the internal -# buffer manager. -# -# This is NOT the maximum buffer size that -# can be used, but just the largest size of buffers that -# will be kept and managed. This value will be added to -# an internal constant of 5, so the real value in bytes -# is 2**(5+maxManagedBufSize-1). You only need to increase this -# value if you are dealing with LOTS of LARGE data structures. -# You may decrease it to make the buffer manager release large -# buffers immediately rather than keeping them for later -# reuse. -jacorb.maxManagedBufSize=18 - -# If this value is 0 an extra unlimited size buffer cache is created -# for the CDROutputStreams. If this value is > 0 then the cache will -# be purged every x msecs. If this value is -1 no caching of these -# buffers will take place. This will reduce memory footprint at the -# cost of decreased performance handling large data structures. -# This value defaults to 0 if not set. -#jacorb.bufferManagerMaxFlush=-1 - -# Normally, a jacorb server will close the TCP/IP connection right -# after sending a CloseConnection message. However, it may -# occasionally happen that the client sends a message into the closed -# connection because it hasn't handled the CloseConnection yet. To -# avoid this situation, closing of the TCP/IP connection can be delayed. -#jacorb.connection.delay_close=on -#jacorb.connection.timeout_after_closeconnection=20000 - -# Initial timeout for establishing a connection. -#jacorb.connection.client.connect_timeout=0 - -# Wait the specified number of msecs for a reply to a request. If -# exceeded, a org.omg.CORBA.TIMEOUT exception will be thrown -#jacorb.connection.client.pending_reply_timeout=0 - -# client-side connection idle timeout, set no non-zero to stop -# close the connection after so many msecs. -#jacorb.connection.client.idle_timeout=0 - -# shall the orb ignore pending messages when a connection idle timeout -# is detected? If "on", the connection is closed and all pending -# messages are cancelled. Default is "off" -#jacorb.connection.client.timeout_ignores_pending_messages=off - -# whenever a network failure is detected, the orb can either -# (infinitely) retry all pending requests, or propagate a COMM_FAILURE -# back into the client code. Default is "off", i.e. throw a -# COMM_FAILURE -#jacorb.connection.client.retry_on_failure=off - -# max time (msecs) a server keeps a connection open if nothing happens -#jacorb.connection.server.timeout=10000 - -# Max no of accepted connections on the server. -#jacorb.connection.max_server_connections= - -# The number of msecs that are waited until the next attempt to find -# an idle connection is made (i.e. do not continuously spin) -#jacorb.connection.wait_for_idle_interval=500 - -# The class name of the SelectionStrategy class -#jacorb.connection.selection_strategy_class= - -# The class name of the StatisticsProvider class -#jacorb.connection.statistics_provider_class= - -#jacorb.reference_caching=off - -# -# The following property specifies the class which is used for -# reference caching. WeakHashtable uses WeakReferences, so entries -# get gc'ed if only the Hashtable has a reference to them. This -# is useful if you have many references to short-living non-persistent -# CORBA objects. It is only available for java 1.2 and above. -# -# On the other hand the standard Hashtable keeps the references until -# they are explicitely deleted by calling _release(). This is useful -# for persistent and long-living CORBA objects. -# -#jacorb.hashtable_class=org.jacorb.util.WeakHashtable -# -jacorb.hashtable_class=java.util.Hashtable - -# use GIOP 1.2 byte order markers (since CORBA 2.4-5) -jacorb.use_bom=off - -# add additional IIOP 1.0 profiles even if we are using IIOP 1.2 -jacorb.giop.add_1_0_profiles=off - -# Use DNS names in IORs -jacorb.dns.enable=off - -# Compact Typecodes (0 - off, 1 - partial (not member_names), 2 - all) -jacorb.compactTypecodes=0 - -# Cache typecode on read -jacorb.cacheTypecodes=off - -# Cache poa names -jacorb.cachePoaNames=off - -########################################### -# # -# Interoperability # -# # -########################################### - -# Turn off indirection encoding for repeated typecodes. This fixes -# interoperability with certain broken ORB's eg. Orbix2000 -jacorb.interop.indirection_encoding_disable=off - -# Iona Comet CORBA/COM bridge can incorrectly encode buffer lengths. -# Enabling this property adds additional length checking and adjustment -# for interoperability with Comet. -jacorb.interop.comet=off - -# Some ORBs do not set a byte value of 1 as a CDR encoded boolean true -# value. Enabling this property interprets any non zero CDR encoded -# boolean value as true. -jacorb.interop.lax_boolean_encoding=off - -# Control whether the method create_abstract_interface_tc performs -# a validity check on the name parameter or not. Turning this check -# off circumvents a bug in Sun's implementation of javax.rmi.CORBA.ValueHander, -# which occasionally passes an invalid name (an empty string) to -# ORBSingleton.create_abstract_interface_tc. If you are using RMI valuetypes, -# you should turn this property off. -jacorb.interop.strict_check_on_tc_creation=off - -# Custom-marshalled RMI valuetypes should be encoded as chunks, but some -# ORBs are not able to decode chunked values. Disable this property for -# interoperability with the ORB in Sun's JDK 1.4.2. -jacorb.interop.chunk_custom_rmi_valuetypes=off -########################################### -# # -# Socket Factories # -# # -########################################### - -# A factory design pattern is used for the creation of sockets and server -# sockets. -# The jacorb.net.socket_factory property can be used to configure -# a socket factory that must implement the operations defined in the -# interface org.jacorb.orb.factory.SocketFactory. -# The jacorb.net.server_socket_factory property can be used to configure a -# server socket factory that must implement the operations defined in the -# interface org.jacorb.orb.factory.ServerSocketFactory. -# -#jacorb.net.socket_factory=org.jacorb.orb.factory.DefaultSocketFactory -#jacorb.net.server_socket_factory=org.jacorb.orb.factory.DefaultServerSocketFactory -#jacorb.net.socket_factory=org.jacorb.orb.factory.PortRangeSocketFactory -#jacorb.net.server_socket_factory=org.jacorb.orb.factory.PortRangeServerSocketFactory -# -# Additional socket factores are supported that allow for the configuration -# of maximum and minimum port numbers that can be used. This can be used to -# enable firewall traversal via a fixed port range. To use these socket factories -# configure one or both of the following property pairs. The first property pair -# configures the client socket factory and the second pair the server socket -# factory. -# -#jacorb.net.socket_factory.port.min -#jacorb.net.socket_factory.port.max -#jacorb.net.server_socket_factory.port.min -#jacorb.net.server_socket_factory.port.max - -########################################### -# # -# BiDirectional GIOP # -# # -########################################### - -# uncomment this initializer if you want to use BiDirectional GIOP - -#org.omg.PortableInterceptor.ORBInitializerClass.bidir_init=org.jacorb.orb.giop.BiDirConnectionInitializer - - -########################################### -# # -# Proxy address in IOR # -# # -########################################### - -# -# with these two properties it is possible to -# tell the ORB what IP/port IORs should contain, -# if the ServerSockets IP/port can't be used -# (e.g. for traffic through a firewall). -# -# WARNING: this is just "dumb" replacing, so you -# have to take care of your configuration! -# - -#jacorb.ior_proxy_host=1.2.3.4 -#jacorb.ior_proxy_port=4711 - - -########################################### -# # -# The Object Adapter Internet Address # -# # -########################################### - -# IP address on multi-homed host (this gets encoded in -# object references). NOTE: Adresses like 127.0.0.X -# will only be accessible from the same machine! -#OAIAddr=1.2.3.4 -#OAPort=4711 - - -############################ -# # -# Default Interceptors # -# Please leave them in! # -# # -############################ -org.omg.PortableInterceptor.ORBInitializerClass.standard_init=org.jacorb.orb.standardInterceptors.IORInterceptorInitializer - - - -############################################### -# # -# Implementation Repository Configuration # -# # -############################################### -# Switch off to avoid contacting the ImR on every server start-up -jacorb.use_imr=off - -# Switch off if you don't want to write the ImR address into server IORs -# (ignored if jacorb.use_imr=off) -jacorb.use_imr_endpoint=on - -# if set to "on", servers that don't already have an entry on their -# first call to the imr, will get automatically registered. Otherwise, -# an UnknownServer exception is thrown. -jacorb.imr.allow_auto_register=off - -# if set to "on", the imr will try to "ping" every object reference, -# that it is going to return. If the reference is not alive, TRANSIENT -# is thrown. -jacorb.imr.check_object_liveness=off - -ORBInitRef.ImplementationRepository=http://www.x.y.z/~user/ImR_Ref - -jacorb.imr.table_file=Z:\table.dat -jacorb.imr.backup_file=z:\backup.dat -jacorb.imr.ior_file=/home/bwana/brose/public_html/ImR_Ref -# Time (msecs) that the implementation will wait for a started server to register. -jacorb.imr.timeout= - -# Host for ImR endpoint -jacorb.imr.endpoint_host= -# Port number for IMR endpoint -jacorb.imr.endpoint_port_number= - -# how many millisecs should the imr wait, until a connection from an -# application client is terminated. Default is 2000. -jacorb.imr.connection_timeout=2000 - -# the implementation name, should be set to a different -# name in the code of persistent servers -jacorb.implname=StandardImplName - -# -# This is supposed to be a generic startup string for everything -# that calls Runtime.exec(). Might be replaced by jaco[.bat]. -# -jacorb.java_exec=java -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton - -# with these two properties it is possible to -# tell the ORB what IP / hostname and port the IMR IOR and IMRified server IORs should -# contain, if the ServerSockets IP/port can't be used -# (e.g. for traffic through a firewall). -# -# WARNING: this is just "dumb" replacement, so you -# have to take care of your configuration! -# -#jacorb.imr.ior_proxy_host=1.2.3.4 -#jacorb.imr.ior_proxy_port=4711 - - -######################### -# # -# SSL Configuration # -# # -######################### - -# -# The port number used by SSL, will be dynmically assigned -# by default -# - -# This interceptor must be set if programs need access to -# certificates using the CORBA Security API, SSL works also -# without this interceptor - -#org.omg.PortableInterceptor.ORBInitializerClass.ForwardInit=org.jacorb.security.ssl.SecurityServiceInitializer -#org.omg.PortableInterceptor.ORBInitializerClass.ForwardInit=org.jacorb.security.ssl.iaik.SecurityServiceInitializer - -# qualified classname of access decision object -jacorb.security.access_decision=org.jacorb.security.level2.AccessDecisionImpl - -# list of qualified classnames of principal authenticator objects, -# separated by commas (no whitespaces!). The first entry (that can -# be successfully created) will be available through the -# principal_authenticator property. -jacorb.security.principal_authenticator=org.jacorb.security.level2.PrincipalAuthenticatorImpl - -# the qualified classname of the ssl socket factory class -jacorb.ssl.socket_factory=org.jacorb.security.ssl.sun_jsse.SSLSocketFactory -#jacorb.ssl.socket_factory=org.jacorb.security.ssl.iaik.SSLSocketFactory - -# the qualified classname of the ssl server socket factory class -jacorb.ssl.server_socket_factory=org.jacorb.security.ssl.sun_jsse.SSLServerSocketFactory -#jacorb.ssl.server_socket_factory=org.jacorb.security.ssl.iaik.SSLServerSocketFactory - -# IIOP/SSL parameters (numbers are hex values, without the leading "0x"): -# NoProtection = 1 -# EstablishTrustInClient = 40 -# EstablishTrustInTarget = 20 -# mutual authentication = 60 -# please see the programming guide for more explanation - -jacorb.security.support_ssl=off - -jacorb.security.ssl.client.supported_options=60 -jacorb.security.ssl.client.required_options=0 - -jacorb.security.ssl.server.supported_options=60 -jacorb.security.ssl.server.required_options=0 - -# -# If set, the following two values will be placed in the IOR, if -# "corbaloc:ssliop" ssliop. -# -# If not set, only EstablishTrustInTarget is used for both supported -# and required options. EstablishTrustInClient is not set, and the -# rest of the Association Options aren't currently used anyway. -#jacorb.security.ssl.corbaloc_ssliop.supported_options=0 -#jacorb.security.ssl.corbaloc_ssliop.required_options=0 - -# The name and location of the keystore. This may be absolute or -# relative to the home directory. -# -# NOTE (for Sun JSSE users): The "javax.net.ssl.trustStore[Password]" -# properties don't seem to take effect, so you may want to add trusted -# certificates to "normal" keystores. In this case, please set the -# property "jacorb.security.jsse.trustees_from_ks"is to "on", so trusted -# certificates are taken from the keystore instead of a dedicated -# truststore. -jacorb.security.keystore= -jacorb.security.keystore_password= - -# -# IAIK specific settings -# - - -# files with public key certs of trusted CAs -# -# WARNING: If no CA certs are present, the IAIK chain verifier will -# accept ALL otherwise valid chains! -# -jacorb.security.trustees= - -# the name of the default key alias to look up in the keystore -jacorb.security.default_user= -jacorb.security.default_password= - -# have iaiks ssl classes print debug output to stdout -jacorb.security.iaik_debug=off - -# -# Sun JSSE specific settings -# -# Use the keystore to take trusted certs from. -jacorb.security.jsse.trustees_from_ks=on - -# A comma-separated (no whitespaces!) list of cipher suite names. See -# the JSSE docs on how to obtain the correct cipher suite strings -jacorb.security.ssl.server.cipher_suites= -jacorb.security.ssl.client.cipher_suites= - -# Csiv2 interceptor will add this component( as it is based on EJB XML specific descriptor) -jacorb.security.ssl_components_added_by_ior_interceptor=on - - -######################### -# # -# POA Configuration # -# # -######################### - -# displays a GUI monitoring tool for servers -jacorb.poa.monitoring=off - -# POA log levels: -# 0 = fatal errors only = "almost off" (FATAL ERRORS) -# 1 = non-fatal errors and exceptions (ERROR) -# 2 = important messages (WARN) -# 3 = informational messages and exceptions (INFO) -# 4 = debug-level output (DEBUG) (may confuse the unaware user :-) -jacorb.poa.log.verbosity=2 - -# thread pool configuration for request processing -jacorb.poa.thread_pool_max=20 -jacorb.poa.thread_pool_min=5 - -# if set, request processing threads in thePOA -# will run at this priority. If not set or invalid, -# MAX_PRIORITY will be used. -#jacorb.poa.thread_priority= - -# Properties controlling the POA's request queue. If queue_wait is off, -# then if there are more than queue_max requests in the queue, the -# client gets TRANSIENT exceptions for any requests. If queue_wait is on, -# then the call blocks at the server side until no more than queue_min -# requests are left in the queue. The new request is then delivered as usual. -jacorb.poa.queue_wait=off -jacorb.poa.queue_max=100 -jacorb.poa.queue_min=10 - -# Set this to on for server-side checking of expired ReplyEndTimePolicy. -# (This also applies to RelativeRoundtripTimeoutPolicy.) When this is on, -# the clocks of the server and client machine need to be synchronized. -#jacorb.poa.check_reply_end_time=off - - -################################### -# # -# Transport Layer Configuration # -# # -################################### - -# Names of the factories classes for all installed transport plug-ins -# (comma-separated list). - -#jacorb.transport.factories=org.jacorb.orb.iiop.IIOPFactories - -# ProfileId tags of all installed transports that should actually -# listen on the server side. This is a comma-separated list of numbers, -# each number must correspond to one ProfileId tag from a factory in -# jacorb.transport.factories. In IORs produced by the server, the transport -# profiles will appear in the order indicated by this list. - -#jacorb.transport.server.listeners=0 - -# Name of a class that selects the transport profile to use on the -# client side. - -#jacorb.transport.client.selector=org.jacorb.orb.DefaultProfileSelector - - -################################## -# # -# Name Service Configuration # -# # -################################## - -# log levels: -# 0 = fatal errors only = "almost off" (FATAL ERRORS) -# 1 = non-fatal errors and exceptions (ERROR) -# 2 = important messages (WARN) -# 3 = informational messages and exceptions (INFO) -# 4 = debug-level output (DEBUG) (may confuse the unaware user :-) - -jacorb.naming.log.verbosity=3 - -# -# name of the logger factory. Implement your own subclass of -# org.jacorb.util.LoggerFactory and enter class name here to -# customize logging behavior. Built-in default is org.jacorb.util.LogKitLoggerFactory -#jacorb.log.loggerFactory= - -# Whether non active references are purged from name service -# when list operation is invoked. - -jacorb.naming.purge=on - -# Whether resolve should return references without trying to -# ping them to see if they're still alive first. - -jacorb.naming.noping=on - -# The file where the name server drops its IOR -#jacorb.naming.ior_filename=c:/NS_Ref - -######################################## -# # -# Trader configuration, please see # -# src/trading/README.PROPERTIES for # -# explanation # -# # -######################################## - -jtrader.util.max_threads=10 -jtrader.util.min_threads=1 -jtrader.util.query_timeout=5000 -jtrader.impl.cache_max=100 - -# boolean values, e.g. true / false -#jtrader.modifiable_properties= -#jtrader.dynamic_properties= -#jtrader.proxy_offers= - -jtrader.debug=false -jtrader.debug_verbosity=3 - -#integer values -jtrader.def_search_card= -jtrader.max_search_card= -jtrader.def_match_card= -jtrader.max_match_card= -jtrader.def_return_card= -jtrader.max_return_card= -jtrader.max_list= -jtrader.def_hop_count= -jtrader.max_hop_count= - -#FollowOptions -#always=2 -#if_no_local=1 -#local_only=0 -jtrader.def_follow_policy= -jtrader.max_follow_policy= -jtrader.max_link_follow_policy= - -######################################################## -# # -# Notification Service configuration, please see # -# the JacORB ProgrammingGuide for a explanation # -# # -######################################################## - -jacorb.notification.filter.thread_pool_size = 2 - -jacorb.notification.proxyconsumer.thread_pool_size = 2 - -jacorb.notification.proxysupplier.thread_pool_size = 4 - -jacorb.notification.supplier.poll_intervall = 1000 - -jacorb.notification.max_batch_size = 1 - -jacorb.notification.max_events_per_consumer = 100 - -jacorb.notification.order_policy = PriorityOrder - -jacorb.notification.discard_policy = PriorityOrder - -jacorb.notification.consumer.backout_interval = 5000 - -jacorb.notification.consumer.error_threshold = 3 - -# valid values: ThreadPool, ThreadPerProxy -jacorb.notification.proxysupplier.threadpolicy = ThreadPool - -jacorb.notification.default_filter_factory = builtin - -# jacorb.notification.supplier.max_number = 10 - -# jacorb.notification.start_time_supported = 10 - -jacorb.notification.stop_time_supported = on - -jacorb.notification.proxy.destroy_causes_disconnect = on - -# Notification Service log levels: -org.jacorb.notification.log.verbosity = INFO - -######################################## -# # -# SAS configuration # -# # -######################################## - -#commented (Uses JOnAS csiv2) - -# Use stateless mode (JOnAS) -#jacorb.security.sas.stateful=false - -#jacorb.SAS.log.verbosity=INFO -#jacorb.SAS.CSS.log.verbosity=INFO -#jacorb.SAS.TSS.log.verbosity=INFO - -# This option defines the specific SAS context generator/validator -# Currently supported contexts include: -# NullContext - Sends a NULL SAS Context -# GssUpContext - Uses GSSUP security -# KerberosContext - uses Kerberos security -# At least one context must be selected for SAS support -#jacorb.security.sas.contextClass=org.jacorb.security.sas.NullContext -#jacorb.security.sas.contextClass=org.jacorb.security.sas.GssUpContext -#jacorb.security.sas.contextClass=org.jacorb.security.sas.KerberosContext - -# This initializer installs the SAS interceptors -# Comment out this line if you do not want SAS support -#org.omg.PortableInterceptor.ORBInitializerClass.SAS=org.jacorb.security.sas.SASInitializer - -# This option is used for GSSUP security and sets up the GSS Provider -# Comment out this line if you are not using GSS UP authentication -#org.omg.PortableInterceptor.ORBInitializerClass.GSSUPProvider=org.jacorb.security.sas.GSSUPProviderInitializer - -######################################## -# # -# Custom configuration # -# # -######################################## - - -# any other custom properties can be added here. - -jacorb.config.log.verbosity=2 \ No newline at end of file diff --git a/jonas/assemblies/configuration/src/main/resources/conf/java.policy b/jonas/assemblies/configuration/src/main/resources/conf/java.policy deleted file mode 100644 index 6789deb5d681bcf7fe3e7da5c84ef8232df1f8dc..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/java.policy +++ /dev/null @@ -1,10 +0,0 @@ -//##################### Security Policy -// -// The default security policy for the JOnAS server. -// Currently, this is set to allow all permissions. -// - -grant { - // Allow everything for now - permission java.security.AllPermission; -}; diff --git a/jonas/assemblies/configuration/src/main/resources/conf/jgroups-cmi.xml b/jonas/assemblies/configuration/src/main/resources/conf/jgroups-cmi.xml deleted file mode 100644 index 6cecffeb60e2df3e32aff939ef361339d673aa45..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/jgroups-cmi.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/jgroups-discovery.xml b/jonas/assemblies/configuration/src/main/resources/conf/jgroups-discovery.xml deleted file mode 100644 index e829c9b9b0192fdc0e592a6142893366dad35e48..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/jgroups-discovery.xml +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/jgroups-ha.xml b/jonas/assemblies/configuration/src/main/resources/conf/jgroups-ha.xml deleted file mode 100644 index 3e618dbe2fcaaecff290c272abd5f81555f7f1ce..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/jgroups-ha.xml +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/jmx.access b/jonas/assemblies/configuration/src/main/resources/conf/jmx.access deleted file mode 100644 index aa60c8681e4711c0f215c37a59601e6c39bb4e86..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/jmx.access +++ /dev/null @@ -1,35 +0,0 @@ -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 2008-2010 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# -# --------------------------------------------------------------------------- -# $Id: jonas.properties 17416 2009-05-19 13:49:51Z durieuxp $ -# --------------------------------------------------------------------------- - -# When JMX security is enabled and jonas.service.jmx.authorization.method is -# set to jmx.remote.x.access.file, this file contains the access rights of each -# user. -# -# We define two levels of access: -# - readonly can access all getter methods -# - readwrite can access all methods - -monitor readonly -jonas readwrite diff --git a/jonas/assemblies/configuration/src/main/resources/conf/jmx.passwords b/jonas/assemblies/configuration/src/main/resources/conf/jmx.passwords deleted file mode 100644 index 39458141044bdb1c33edb9c46d9e15580f5e0362..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/jmx.passwords +++ /dev/null @@ -1,37 +0,0 @@ -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 2008-2010 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# -# --------------------------------------------------------------------------- -# $Id: jonas.properties 17416 2009-05-19 13:49:51Z durieuxp $ -# --------------------------------------------------------------------------- - -# When JMX security is enabled and jonas.service.jmx.authentication.method is -# set to jmx.remote.x.password.file, this file contains the user names and -# passwords. -# -# Each line contains the user name, one or more blanks and the password. -# -# No encryption is supported, if you need encryption please use -# jonas.service.jmx.authentication.method with jmx.remote.x.login.config. -# This way, you can encode the password using any method supported by JAAS. - -monitor jonas -jonas jonas diff --git a/jonas/assemblies/configuration/src/main/resources/conf/jmx.rolebased.access b/jonas/assemblies/configuration/src/main/resources/conf/jmx.rolebased.access deleted file mode 100644 index 67c0cc81317587a5043ae8f66477f835aabd3b8f..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/jmx.rolebased.access +++ /dev/null @@ -1,47 +0,0 @@ -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 2008-2010 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# -# --------------------------------------------------------------------------- -# $Id: jonas.properties 17416 2009-05-19 13:49:51Z durieuxp $ -# --------------------------------------------------------------------------- - -# When JMX security is enabled and jonas.service.jmx.authorization.method is -# set to jmx.remote.x.access.rolebased.file, this file contains the access -# rights of each role (as defined in the JAAS realm). -# -# We define two levels of access: -# - readonly can access all getter methods -# - readwrite can access all methods -# -# If one user has multiple roles, then the role with the highest level of -# access rights will be used. - -# jonas-admin role can do everything (access right: readwrite) -jonas-admin readwrite - -# jonas-monitor role can only read data (access right: readonly) -jonas-monitor readonly - -# The * role means "everyone" (including users that already have roles) -# -# This role is optional, if not set then all users with no role that appears -# in this file will have no access rights at all. -# * readonly diff --git a/jonas/assemblies/configuration/src/main/resources/conf/jonas-client.properties b/jonas/assemblies/configuration/src/main/resources/conf/jonas-client.properties deleted file mode 100644 index 8b65af934a7d0583ca7ca1d7bf0a720ab0583f5e..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/jonas-client.properties +++ /dev/null @@ -1,28 +0,0 @@ -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999 Bull S.A. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Initial developer(s): Guillaume Sauthier. -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - -# Set the JServiceFactory to use -jonas.service.ws.factory.class org.ow2.jonas.ws.axis.JAxisServiceFactory diff --git a/jonas/assemblies/configuration/src/main/resources/conf/jonas-realm.xml b/jonas/assemblies/configuration/src/main/resources/conf/jonas-realm.xml deleted file mode 100644 index c5dfac3515b1737de8002523fa86e5bbce923630..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/jonas-realm.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/jonas.properties b/jonas/assemblies/configuration/src/main/resources/conf/jonas.properties deleted file mode 100644 index 51bc9063db1c2227a7a2e5744803657f8fc74ef3..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/jonas.properties +++ /dev/null @@ -1,546 +0,0 @@ -# --------------------------------------------------------------------------- -# JOnAS: Java(TM) Open Application Server -# Copyright (C) 1999-2010 Bull S.A.S. -# Contact: jonas-team@ow2.org -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# -# --------------------------------------------------------------------------- -# $Id$ -# --------------------------------------------------------------------------- - - -###################### JOnAS Server configuration -# The current file is in the /conf directory. It can be copied and -# customized in JONAS_BASE/conf directory -###################### - -# Name of the JOnAS server -# default value is "jonas" -jonas.name jonas - -# Name of the JOnAS domain -# default value is "jonas" -domain.name jonas - -# Enable the Security context propagation (for jrmp) -jonas.security.propagation true - -# Enable the Security manager -# default value is true (if not set) -# Setting this to false implies a collocated registry and setting in carol.properties: -# carol.jvm.rmi.local.registry=true -jonas.security.manager false - -# Enable csiv2 -jonas.csiv2.propagation true - -# Enable the Transaction context propagation -jonas.transaction.propagation true - -# Set the name of log configuration file -jonas.log.configfile trace - -# Set the work directory used by JOnAS (relative or absolute) -# A relative directory name will be prefixed by JONAS_BASE/ -# An absolute path will be used directly -jonas.workdirectory work - -# Set to true if the server is a master -jonas.master false - -# Set to true in order to execute the JOnAS Server in development mode. -# -# WAR archive deployment case in development mode (for single or EAR packaged WARs): -# Each modified WAR archive will be unpacked in the working directory of the JOnAS Server -# in a different folder to avoid file locks. This is especially useful in a Windows environment. -jonas.development true - -# Set the list of the services launched in the JOnAS Server. -# Possible services are: jtm,db,dbm,validation,resource,mail,cmi,ha,versioning,ejb2,ejb3, -# jaxrpc,jaxws,web,ear,depmonitor,discovery,resourcemonitor,smartclient,audit,cdi,jaxrs -# -# Notes: -# - registry, security and jmx services are always started -# - some services may start automatically if required (depending on the server configuration and deployed applications) -# See 'Configuring JOnAS services' in JOnAS documentation for more information -# -jonas.services jtm,db,resource,ejb3,jaxws,web,ear,depmonitor - -# -###################### JOnAS Admin Client configuration -# -# If JMX security is enabled, the JOnAS Admin Client requires its parameters -# To be passed using -username and -password arguments. These two parameters -# pass these arguments to the JOnAS Admin Client internally. -jonas.adminClient.username jonas -jonas.adminClient.password jonas - -# -###################### JOnAS Registry service configuration -# -# Set the name of the implementation class of the Registry service -jonas.service.registry.class org.ow2.jonas.registry.carol.CarolRegistryService - -# Set the Registry launching mode -# If set to 'automatic', the registry is launched in the same JVM as Application Server, -# if it's not already started. -# If set to 'collocated', the registry is launched in the same JVM as Application Server -# If set to 'remote', the registry has to be launched before in a separate JVM -jonas.service.registry.mode collocated - -# -###################### JOnAS JMX service configuration -# -# Set the name of the implementation class of the JMX service -jonas.service.jmx.class org.ow2.jonas.jmx.internal.JOnASJMXService - -# Set to true if the JMXRemote interface should require the client to provide -# authentication information. That information is provided when establishing -# the JMX connection, using the JMXConnector.CREDENTIALS key. -# -# Note that if you enable JMX security for a server, all clients (including -# any administration tool such as the domain master) connecting to this -# instance via JMX must provide a valid user name and password. -jonas.service.jmx.secured false - -# If jonas.service.jmx.secured is set to true, defines the authentication -# method and the method's parameter. For example, to use file-based -# authentication using the conf/jmx.passwords file, define: -# jonas.service.jmx.authentication.method jmx.remote.x.password.file -# jonas.service.jmx.authentication.parameter conf/jmx.passwords -# You are free to use the authentication provider you wish. -jonas.service.jmx.authentication.method jmx.remote.x.password.file -jonas.service.jmx.authentication.parameter conf/jmx.passwords -# You may for example choose to use JAAS LoginModule for authentication. -# In this case define the used configuration in the JAAS configuration file -# using the jonas.service.jmx.authentication.parameter: -# jonas.service.jmx.authentication.method jmx.remote.x.login.config -# jonas.service.jmx.authentication.parameter jaas-jmx - -# If jonas.service.jmx.secured is set to true, defines the authorization -# method and the method's parameter. For example, to use file-based -# authorization using the conf/jmx.access file, define: -# jonas.service.jmx.authorization.method jmx.remote.x.access.file -# jonas.service.jmx.authorization.parameter conf/jmx.access -# You are free to use the authorization provider you wish. -jonas.service.jmx.authorization.method jmx.remote.x.access.file -jonas.service.jmx.authorization.parameter conf/jmx.access -# You may for example choose to use role-based authorization manager -# configured using conf/jmx.rolebased.access file. In this case, define: -# jonas.service.jmx.authorization.method jmx.remote.x.access.rolebased.file -# jonas.service.jmx.authorization.parameter conf/jmx.rolebased.access - - -# -###################### JOnAS WorkCleaner service configuration -# -# Set the name of the implementation class of the wc service -jonas.service.wc.class org.ow2.jonas.workcleaner.internal.JOnASWorkCleanerService - -# Set the clean period in seconds -jonas.service.wc.period 300 - -# -###################### JOnAS CDI service configuration -# -# Set the name of the implementation class of the cdi service -jonas.service.cdi.class org.ow2.jonas.cdi.weld.internal.DefaultWeldService - -# -###################### JOnAS JAX-RS service configuration -# -# Set the name of the implementation class of the jaxrs service -jonas.service.jaxrs.class org.ow2.jonas.jaxrs.jersey.internal.JerseyService - -# -###################### JOnAS WorkManager service configuration -# -# Set the name of the implementation class of the wm service -jonas.service.wm.class org.ow2.jonas.workmanager.internal.JOnASWorkManagerService - -# Set the size of the worker thread pool -jonas.service.wm.minworkthreads 3 - -# Set the maximun size of the worker thread pool -jonas.service.wm.maxworkthreads 80 - -# Set the max # of seconds that a thread will wait for work -# This is used to shrink the worker thread pool back to minimum -jonas.service.wm.threadwaittimeout 60 - - -# -###################### JOnAS EJB 2 Container service configuration -# -# Set the name of the implementation class of the ejb2 service -jonas.service.ejb2.class org.ow2.jonas.ejb2.internal.JOnASEJBService - -# Set the XML deployment descriptors parsing mode (with or without validation) -jonas.service.ejb2.parsingwithvalidation true - -# If enabled, the GenIC tool will be called if : -# - JOnAS version of the ejb-jar is not the same version than the running JOnAS instance -# - Stubs/Skels stored in the ejb-jar are not the same than the JOnAS current protocols. -# By default, this is enabled -jonas.service.ejb2.auto-genic true - -# Arguments for the auto GenIC (-invokecmd, -verbose, etc.) -jonas.service.ejb2.auto-genic.args -invokecmd - - -# Note: these two settings can be overriden by the EJB descriptor. -# -# If EJB monitoring is enabled, statistics about method call times will be -# collected. This is a very lightweight measurement and should not have much -# impact on performance. -jonas.service.ejb2.monitoringEnabled true -# If EJB monitoring is enabled, this value indicates after how many -# milliseconds spent executing an EJB method a warning message should be -# displayed. If 0, no warning will ever be displayed. -jonas.service.ejb2.warningThreshold 20000 - - -# -###################### JOnAS EJB 3 container service configuration -# -# Set the name of the implementation class of the EJB 3 service. -jonas.service.ejb3.class org.ow2.jonas.ejb.easybeans.EasyBeansService - -# Set the JPA provider: hibernate,eclipselink,openjpa,eclipselink2,hibernate3.5,openjpa2 -# Note that some JPA providers are not embedded in the JOnAS package, -# and, if needed, are automatically downloaded from a maven repository. -# So, if you change this default value, and if you use a proxy, -# do not forget to set the 'http_proxy' environment variable. -jonas.service.ejb3.jpa.provider hibernate - - -# -###################### JOnAS Versioning service configuration -# -# Set the name of the implementation class of the versioning service. -jonas.service.versioning.class org.ow2.jonas.versioning.internal.VersioningServiceImpl - -# Content types to filter. Set this list to empty for the versioning -# service not to filter any content in Web responses. -jonas.service.versioning.filteredContentTypes text/html, \ - application/javascript, \ - text/javascript, \ - text/css, \ - text/xml - - -# -###################### JOnAS Web container service configuration -# -# Set the name of the implementation class of the web container service. -jonas.service.web.class org.ow2.jonas.web.tomcat6.Tomcat6Service -#jonas.service.web.class org.ow2.jonas.web.tomcat7.Tomcat7Service -#jonas.service.web.class org.ow2.jonas.web.jetty6.Jetty6Service - -# Set the XML deployment descriptors parsing mode for the WEB container -# service (with or without validation). -jonas.service.web.parsingwithvalidation true - -# If true, the onDemand feature is enabled. A proxy is listening on the http port and will make actions like starting or deploying applications. -# The web container instance is started on another port number (that can be specified) but all access are proxified. -# It means that the web container will be started only when a connection is done on the http port. -# The .war file is also loaded upon request. -# This feature cannot be enabled in production mode. -jonas.service.web.ondemand.enabled true - -# The redirect port number is used to specify the port number of the http web container. -# The proxy will listen on the http web container port and redirect all requests on this redirect port -# 0 means that a random port is used. -jonas.service.web.ondemand.redirectPort 0 - - -# -###################### JOnAS JAX-RPC service configuration -# -# Set the name of the implementation class of the jaxrpc service. -jonas.service.jaxrpc.class org.ow2.jonas.ws.axis.AxisService - -# Set the XML deployment descriptors parsing mode for the jaxrpc service (with or without validation). -jonas.service.jaxrpc.parsingwithvalidation true - -# Set the Generator to use with wsgen -jonas.service.jaxrpc.wsgen.generator.factory org.ow2.jonas.generators.wsgen.generator.ews.EWSGeneratorFactory - -# Set the prefix that will be used to compute URL endpoints for web services -# Example of prefix: http://www.mydomain.com:8888 -jonas.service.jaxrpc.url-prefix - -# Set automatic WsGen mode on/off -# If set to 'true', WsGen will automatically be applied to all deployed archives (EjbJars, Webapps, Applications) -jonas.service.jaxrpc.auto-wsgen.engaged true - - -# -###################### JOnAS WSDL Publisher service configuration -# -# Set the name of the implementation class of the WSDL Publisher service. -jonas.service.wsdl-publisher.class org.ow2.jonas.ws.publish.internal.manager.DefaultWSDLPublisherManager - -# Set the WSDL Publishers list for WSDL publication -# A minimum of 1 WSDLPublisher is required ! -# This property is set with a coma-separated list of WSDLPublisher properties -# file names (without the '.properties' suffix). -# Ex: file1,uddi (while the properties file names are -# file1.properties and uddi.properties) -jonas.service.wsdl-publisher.publishers file1 - - -# -###################### JOnAS JAX-WS 2.x service configuration -# -# Set the name of the implementation class of the jaxws service -# Note: The jaxws service implementation based on Apache CXF is currently -# the only implementation that pass Java EE TCK. -jonas.service.jaxws.class org.ow2.jonas.ws.cxf.CXFService - -# Note: The jaxws service implementation based on Apache Axis2 is still -# at experimental stage (missing features, not currently TCK tested) -# Use it at your own risks -#jonas.service.jaxws.class org.ow2.jonas.ws.axis2.Axis2Service - - -# -###################### JOnAS EAR service configuration -# -# Set the name of the implementation class of the ear service. -jonas.service.ear.class org.ow2.jonas.ear.internal.JOnASEARService - -# Set the XML deployment descriptors parsing mode for the EAR service -# (with or without validation). -jonas.service.ear.parsingwithvalidation true - -# Generate stubs for all EJBs that may be accessed from the application -# In almost all cases, this is not required to be enabled as stubs can be found. -jonas.service.ear.genstub false - -# Create a child classloader when deploying EJB3 of the EAR -jonas.service.ear.useEJB3ChildClassloader false - - -# -###################### JOnAS DBM Database service configuration -# -# Set the name of the implementation class of the dbm service -jonas.service.dbm.class org.ow2.jonas.dbm.internal.JOnASDataBaseManagerService - -# Set the jonas DataSources. This enables the JOnAS server to load -# the data dources, to load related jdbc drivers, and to register the data -# sources into JNDI. -# This property is set with a coma-separated list of Datasource properties -# file names (without the '.properties' suffix). -# Ex: Oracle1,InstantDB1 (while the Datasources properties file names are -# Oracle1.properties and InstantDB1.properties) -jonas.service.dbm.datasources HSQL1 - - -# -###################### JOnAS Mail service configuration -# -# Set the name of the implementation class of the mail service -jonas.service.mail.class org.ow2.jonas.mail.internal.JOnASMailService - -# Set the jonas mail factories. -# This property is set with a coma-separated list of MailFactory properties -# file names (without the '.properties' suffix). -# Ex: MailSession1,MailMimePartDS1 (while the properties file names are -# MailSession1.properties and MailMimePartDS1.properties) -jonas.service.mail.factories - - -# -###################### JOnAS JTM Transaction service configuration -# - -# Set the name of the implementation class of the jtm service -jonas.service.jtm.class org.ow2.jonas.tm.jotm.JOTMTransactionService - -# Set the Transaction Manager launching mode. -# If set to 'true', TM is remote: TM must be already launched in an other JVM. -# If set to 'false', TM is local: TM is going to run into the same JVM -# than the jonas Server. -jonas.service.jtm.remote false - -# Set the default transaction timeout, in seconds. -jonas.service.jtm.timeout 60 - - -# -###################### JOnAS SECURITY service configuration -# -# Set the name of the implementation class of the security service -jonas.service.security.class org.ow2.jonas.security.internal.JonasSecurityServiceImpl - -# Realm used for CsiV2 authentication -jonas.service.security.csiv2.realm memrlm_1 - -# Realm used for Web Service authentication -jonas.service.security.ws.realm memrlm_1 - -# Registration of realm resources into JNDI -# Disable by default so configuration is not available with clients -jonas.service.security.realm.jndi.registration false - -# Enable security context check on Remote Login Module -jonas.security.context.check false - -# Path to the keystore file -jonas.security.context.check.keystoreFile /tmp/keystore - -# Pass used for the keystore file -jonas.security.context.check.keystorePass keystorepass - -# Alias (stored in the keystore) -jonas.security.context.check.alias FB - - -# -###################### JOnAS J2CA resource service configuration -# -# Set the name of the implementation class of the J2CA resource service -jonas.service.resource.class org.ow2.jonas.resource.internal.JOnASResourceService - -# -###################### JOnAS DB service configuration -# -# Set the name of the implementation class of the db service (hsql for example) -jonas.service.db.class org.ow2.jonas.db.hsqldb.HsqlDBServiceImpl -jonas.service.db.port 9001 -jonas.service.db.dbname db_jonas -jonas.service.db.users jonas:jonas -# Multiple users -#jonas.service.db.users jonas:jonas,login:password - -# -###################### JOnAS Discovery service -# -# Set the name of the implementation class and initialization parameters -jonas.service.discovery.class=org.ow2.jonas.discovery.jgroups.JgroupsDiscoveryServiceImpl -# Uncomment this to set Multicast implementation -#jonas.service.discovery.class=org.ow2.jonas.discovery.internal.MulticastDiscoveryServiceImpl - - -# -##################### Properties for multicast impl. -# -# For a master server, configure the client source port with this property -jonas.service.discovery.source.port=9888 -jonas.service.discovery.ttl=1 -jonas.service.discovery.multicast.address=224.224.224.224 -jonas.service.discovery.multicast.port=9080 - -# A multicast greeting message is sent out when discovery service is started. -# The starting server listens at the port jonas.service.discovery.greeting.port -# (default 9899) for a response for jonas.service.discovery.greeting.timeout miliseconds -# (default 1000 ms). If a pre-existing server has the same server name as this one, -# this server's discovery service will be terminated. -# Uncomment these two lines for multicast discovery -jonas.service.discovery.greeting.port=9899 -jonas.service.discovery.greeting.timeout=1000 - -##################### properties for JGroups impl. -jonas.service.discovery.jgroups.conf= jgroups-discovery.xml -jonas.service.discovery.group.name = JGroupsDiscovery -#Reconnection timeout for JGroups Channel, if it's closed on request. -jonas.service.discovery.reconnection.timeout = 5000 - - -# -###################### JOnAS CMI service configuration -# -# Set the name of the implementation class of the CMI service. -jonas.service.cmi.class org.ow2.jonas.cmi.internal.CmiServiceImpl - - -# -###################### JOnAS HA service configuration -# -# Set the name of the implementation class of the HA service. -jonas.service.ha.class org.ow2.jonas.ha.internal.HaServiceImpl - -# Set the JGroups configuration file name -jonas.service.ha.jgroups.conf jgroups-ha.xml - -# Set the JGroups group name -jonas.service.ha.jgroups.groupname jonas-rep - -# Set the SFSB backup info timeout. The info stored in the backup node is removed when the timer expires. -jonas.service.ha.gc.period 600 - -# Set the datasource for the tx table -jonas.service.ha.datasource jdbc_1 - -# Reconnection timeout for JGroups Channel, if it's closed on request. -jonas.service.ha.reconnection.timeout 5000 - - -# -###################### JOnAS Deployment Monitor -# -# Set the name of the implementation class of the depmonitor service -# -jonas.service.depmonitor.class org.ow2.jonas.deployablemonitor.DeployableMonitorService - -# Set the execution mode (three possible values): -# - inherit: inherit of the value of the "jonas.development" property -# - true : development mode -# - false : production mode -jonas.service.depmonitor.development inherit - -jonas.service.depmonitor.directories -# List (comma separated) of exclusion patterns (based on names, not directories) -jonas.service.depmonitor.exclusions README - -# Monitor interval in milliseconds -jonas.service.depmonitor.monitorInterval 5000 - - -# -###################### JOnAS Resource Monitor -# -# Set the name of the implementation class of the resource monitor service -# -jonas.service.resourcemonitor.class org.ow2.jonas.resourcemonitor.internal.JOnASResourceMonitorService -# duration in milliseconds -jonas.service.resourcemonitor.monitorInterval 30000 - - -# -###################### JOnAS/EasyBeans Smartclient service configuration -# -# Set the name of the implementation class of the smartclient service. -jonas.service.smartclient.class org.ow2.jonas.smartclient.internal.SmartclientServiceImpl -# port number the Smartclient service listens on -jonas.service.smartclient.port 2503 - - -# -###################### JOnAS Audit service configuration -# -# Set the name of the implementation class of the audit service. -jonas.service.audit.class org.ow2.jonas.audit.internal.JOnASAuditServiceImpl - -# -###################### JOnAS Validation service configuration -# -# Set the name of the implementation class of the validation service. -jonas.service.validation.class org.ow2.jonas.validation.hibernate.JOnASHibernateValidationServiceImpl diff --git a/jonas/assemblies/configuration/src/main/resources/conf/joramAdmin.xml b/jonas/assemblies/configuration/src/main/resources/conf/joramAdmin.xml deleted file mode 100644 index 594662f04604e5f03fed40a1ca158739f2403c09..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/joramAdmin.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jonas/assemblies/configuration/src/main/resources/conf/jotm.properties b/jonas/assemblies/configuration/src/main/resources/conf/jotm.properties deleted file mode 100644 index f1a5bce24c4379795b036b7fd1b11ed110103dc0..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/jotm.properties +++ /dev/null @@ -1,15 +0,0 @@ -# ------------------------------------------ -# Jotm properties -# -# see: org.objectweb.howl for description of -# howl properties. -# ------------------------------------------ -jotm.recovery.Enabled false -howl.log.ListConfiguration false -howl.log.BufferSize 4 -howl.log.MinimumBuffers 16 -howl.log.MaximumBuffers 16 -howl.log.MaximumBlocksPerFile 200 -howl.log.FileDirectory c:/logs -howl.log.FileName howl -howl.log.MaximumFiles 2 diff --git a/jonas/assemblies/configuration/src/main/resources/conf/spy.properties b/jonas/assemblies/configuration/src/main/resources/conf/spy.properties deleted file mode 100644 index 5815fb873c3001a03ce9aa0558fc8c53a620df74..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/spy.properties +++ /dev/null @@ -1,251 +0,0 @@ -################################################################# -# P6Spy Options File # -# See documentation for detailed instructions # -################################################################# - -################################################################# -# MODULES # -# # -# Modules provide the P6Spy functionality. If a module, such # -# as module_log is commented out, that functionality will not # -# be available. If it is not commented out (if it is active), # -# the functionality will be active. # -# # -# Values set in Modules cannot be reloaded using the # -# reloadproperties variable. Once they are loaded, they remain # -# in memory until the application is restarted. # -# # -################################################################# - -module.log=com.p6spy.engine.logging.P6LogFactory -#module.outage=com.p6spy.engine.outage.P6OutageFactory - -################################################################# -# REALDRIVER(s) # -# # -# In your application server configuration file you replace the # -# "real driver" name with com.p6spy.engine.spy.P6SpyDriver. # -# This is where you put the name of your real driver P6Spy can # -# find and register your real driver to do the database work. # -# # -# If your application uses several drivers specify them in # -# realdriver2, realdriver3. See the documentation for more # -# details. # -# # -# Values set in REALDRIVER(s) cannot be reloaded using the # -# reloadproperties variable. Once they are loaded, they remain # -# in memory until the application is restarted. # -# # -################################################################# - -# oracle driver -# realdriver=oracle.jdbc.driver.OracleDriver - -# mysql Connector/J driver -# realdriver=com.mysql.jdbc.Driver - -# informix driver -# realdriver=com.informix.jdbc.IfxDriver - -# ibm db2 driver -# realdriver=COM.ibm.db2.jdbc.net.DB2Driver - -# the mysql open source driver -#realdriver=org.gjt.mm.mysql.Driver - -# the posgresql driver -realdriver=org.postgresql.Driver - -#specifies another driver to use -realdriver2= -#specifies a third driver to use -realdriver3= - - -#the DriverManager class sequentially tries every driver that is -#registered to find the right driver. In some instances, it's possible to -#load up the realdriver before the p6spy driver, in which case your connections -#will not get wrapped as the realdriver will "steal" the connection before -#p6spy sees it. Set the following property to "true" to cause p6spy to -#explicitily deregister the realdrivers -deregisterdrivers=false - -################################################################ -# P6LOG SPECIFIC PROPERTIES # -################################################################ -# no properties currently available - -################################################################ -# EXECUTION THRESHOLD PROPERTIES # -################################################################ -# This feature applies to the standard logging of P6Spy. # -# While the standard logging logs out every statement # -# regardless of its execution time, this feature puts a time # -# condition on that logging. Only statements that have taken # -# longer than the time specified (in milliseconds) will be # -# logged. This way it is possible to see only statements that # -# have exceeded some high water mark. # -# This time is reloadable. # -# -# executionthreshold=integer time (milliseconds) -# -executionthreshold= - -################################################################ -# P6OUTAGE SPECIFIC PROPERTIES # -################################################################ -# Outage Detection -# -# This feature detects long-running statements that may be indicative of -# a database outage problem. If this feature is turned on, it will log any -# statement that surpasses the configurable time boundary during its execution. -# When this feature is enabled, no other statements are logged except the long -# running statements. The interval property is the boundary time set in seconds. -# For example, if this is set to 2, then any statement requiring at least 2 -# seconds will be logged. Note that the same statement will continue to be logged -# for as long as it executes. So if the interval is set to 2, and the query takes -# 11 seconds, it will be logged 5 times (at the 2, 4, 6, 8, 10 second intervals). -# -# outagedetection=true|false -# outagedetectioninterval=integer time (seconds) -# -outagedetection=false -outagedetectioninterval= - -################################################################ -# COMMON PROPERTIES # -################################################################ - -# filter what is logged -filter=false - -# comma separated list of tables to include when filtering -include = -# comma separated list of tables to exclude when filtering -exclude = - -# sql expression to evaluate if using regex filtering -sqlexpression = - - -# turn on tracing -autoflush = true - -# sets the date format using Java's SimpleDateFormat routine -dateformat= - -#list of categories to explicitly include -includecategories= - -#list of categories to exclude: error, info, batch, debug, statement, -#commit, rollback and result are valid values -excludecategories=info,debug,result,batch - - -#allows you to use a regex engine or your own matching engine to determine -#which statements to log -# -#stringmatcher=com.p6spy.engine.common.GnuRegexMatcher -#stringmatcher=com.p6spy.engine.common.JakartaRegexMatcher -stringmatcher= - -# prints a stack trace for every statement logged -stacktrace=false -# if stacktrace=true, specifies the stack trace to print -stacktraceclass= - -# determines if property file should be reloaded -reloadproperties=false -# determines how often should be reloaded in seconds -reloadpropertiesinterval=60 - -#if=true then url must be prefixed with p6spy: -useprefix=false - -#specifies the appender to use for logging -#appender=com.p6spy.engine.logging.appender.Log4jLogger -#appender=com.p6spy.engine.logging.appender.StdoutLogger -#appender=com.p6spy.engine.logging.appender.FileLogger -# JOnAS change -appender=org.objectweb.util.monolog.wrapper.p6spy.P6SpyLogger - -# name of logfile to use, note Windows users should make sure to use forward slashes in their pathname (e:/test/spy.log) (used for file logger only) -logfile = spy.log - -# append to the p6spy log file. if this is set to false the -# log file is truncated every time. (file logger only) -append=true - -#The following are for log4j logging only -log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender -log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout -log4j.appender.STDOUT.layout.ConversionPattern=p6spy - %m%n - -#log4j.appender.CHAINSAW_CLIENT=org.apache.log4j.net.SocketAppender -#log4j.appender.CHAINSAW_CLIENT.RemoteHost=localhost -#log4j.appender.CHAINSAW_CLIENT.Port=4445 -#log4j.appender.CHAINSAW_CLIENT.LocationInfo=true - -log4j.logger.p6spy=INFO,STDOUT - - -################################################################# -# DataSource replacement # -# # -# Replace the real DataSource class in your application server # -# configuration with the name com.p6spy.engine.spy.P6DataSource,# -# then add the JNDI name and class name of the real # -# DataSource here # -# # -# Values set in this item cannot be reloaded using the # -# reloadproperties variable. Once it is loaded, it remains # -# in memory until the application is restarted. # -# # -################################################################# -#realdatasource=/RealMySqlDS -#realdatasourceclass=com.mysql.jdbc.jdbc2.optional.MysqlDataSource - -################################################################# -# DataSource properties # -# # -# If you are using the DataSource support to intercept calls # -# to a DataSource that requires properties for proper setup, # -# define those properties here. Use name value pairs, separate # -# the name and value with a semicolon, and separate the # -# pairs with commas. # -# # -# The example shown here is for mysql # -# # -################################################################# -#realdatasourceproperties=port;3306,serverName;ibmhost,databaseName;mydb - - -################################################################# -# JNDI DataSource lookup # -# # -# If you are using the DataSource support outside of an app # -# server, you will probably need to define the JNDI Context # -# environment. # -# # -# If the P6Spy code will be executing inside an app server then # -# do not use these properties, and the DataSource lookup will # -# use the naming context defined by the app server. # -# # -# The two standard elements of the naming environment are # -# jndicontextfactory and jndicontextproviderurl. If you need # -# additional elements, use the jndicontextcustom property. # -# You can define multiple properties in jndicontextcustom, # -# in name value pairs. Separate the name and value with a # -# semicolon, and separate the pairs with commas. # -# # -# The example shown here is for a standalone program running on # -# a machine that is also running JBoss, so the JDNI context # -# is configured for JBoss (3.0.4). # -# # -################################################################# -#jndicontextfactory=org.jnp.interfaces.NamingContextFactory -#jndicontextproviderurl=localhost:1099 -#jndicontextcustom=java.naming.factory.url.pkgs;org.jboss.nameing:org.jnp.interfaces - -#jndicontextfactory=com.ibm.websphere.naming.WsnInitialContextFactory -#jndicontextproviderurl=iiop://localhost:900 diff --git a/jonas/assemblies/configuration/src/main/resources/conf/trace.properties b/jonas/assemblies/configuration/src/main/resources/conf/trace.properties deleted file mode 100644 index cec081e24e9e9ccdc7175d8ec600eb05508e8ea3..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/trace.properties +++ /dev/null @@ -1,441 +0,0 @@ -# ----------------------------------------------------------------------- -# This is a default configuration file for monolog. -# -# 2 handlers have been defined : tty (System.out) and logf (file) -# -# Patterns for each handler may include these possible values : -# %h the thread name -# %O{1} the Class name (basename only) -# %M the method name -# %L the line number -# %d the date -# %l the level -# %m the message itself -# %n a new line -# -# A list of predefined loggers is given at the end of the file. -# Each logger inherits from its parent for properties not defined. -# The root logger is "root". It must always be defined. -# -# Each logger is associated with a level that can be one of : -# ERROR | WARN | INFO | DEBUG | FATAL | INHERIT -# -# -> More info on http://www.objectweb.org/monolog/doc.html -# ----------------------------------------------------------------------- - -# ----------------------------------------------------------------------- -# Define which wrapper to use (= javaLog) -# ----------------------------------------------------------------------- -# For Log4j you need to add log4j.jar -# log.config.classname org.objectweb.util.monolog.wrapper.log4j.MonologLoggerFactory -log.config.classname org.objectweb.util.monolog.wrapper.javaLog.LoggerFactory - -# ----------------------------------------------------------------------- -# tty : console handler -# The switch attribute is used to log either on System.out or System.err -# depending of the level of the log. -# ----------------------------------------------------------------------- -handler.tty.type Console -handler.tty.output Switch -handler.tty.pattern %d : %O{1}.%M : %m%n - -# ----------------------------------------------------------------------- -# mesonly : console handler without header -# ----------------------------------------------------------------------- -handler.mesonly.type Console -handler.mesonly.output Switch -handler.mesonly.pattern %m%n - -# ----------------------------------------------------------------------- -# logf : file handler -# ----------------------------------------------------------------------- -handler.logf.type File -handler.logf.output automatic -handler.logf.pattern %d : %l : %h : %O{1}.%M : %m%n - -# ----------------------------------------------------------------------- -# wsdl : file handler -# ----------------------------------------------------------------------- -handler.wsdl.type File -handler.wsdl.output jonas_wsdls.log -handler.wsdl.pattern %d : %l : %h : %O{1}.%M : %m%n - -# ----------------------------------------------------------------------- -# jmxHandler : jmx handler -# ----------------------------------------------------------------------- -#handler.jmxHandler.type jmx -#handler.jmxHandler.output Switch -#handler.jmxHandler.pattern %d : %l : %h : %O{1}.%M : %m%n - - -# ----------------------------------------------------------------------- -# logf : rolling file handler -# ----------------------------------------------------------------------- -#handler.logf.type RollingFile -#handler.logf.output jonas.log -#handler.logf.pattern %d : %l : %h : %O{1}.%M : %m%n -#handler.logf.fileNumber 2 -#handler.logf.maxSize 10000 - -# ----------------------------------------------------------------------- -# logger definitions -# ----------------------------------------------------------------------- -logger.root.handler.0 tty -logger.root.handler.1 logf -#logger.root.handler.2 jmxHandler - -logger.root.level INFO -logger.org.ow2.level INFO -logger.org.objectweb.level INFO - -#----------------------------------------------------------------------- -# JOnAS logger definitions -#----------------------------------------------------------------------- - -logger.org.ow2.jonas.admin.level INHERIT - -logger.org.ow2.jonas.bootstrap.level INHERIT - -logger.org.ow2.jonas.client.level INHERIT - -logger.org.ow2.jonas.cluster.daemon.level INHERIT - -logger.org.ow2.jonas.cmd.level INHERIT - -logger.org.ow2.jonas.cmi.level INHERIT - -logger.org.ow2.jonas.ha.level INHERIT - -logger.org.ow2.jonas.db.level INHERIT - -logger.org.ow2.jonas.dbm.level INHERIT -logger.org.ow2.jonas.dbm.con.level INHERIT -logger.org.ow2.jonas.dbm.ps.level INHERIT -logger.org.ow2.jonas.dbm.xa.level INHERIT - -logger.org.ow2.jonas.deployment.level INHERIT -logger.org.ow2.jonas.deployablemonitor.level INHERIT -logger.org.ow2.jonas.deployment.client.level INHERIT -logger.org.ow2.jonas.deployment.domain.level INHERIT -logger.org.ow2.jonas.deployment.ejb.level INHERIT -logger.org.ow2.jonas.deployment.ejb.digester.level FATAL - - - -logger.org.ow2.jonas.domain.management.level INHERIT - -# EJB 3 container -logger.org.ow2.easybeans.level INHERIT - -logger.org.ow2.jonas.ear.level INHERIT - -logger.org.ow2.jonas.ee.level INHERIT -logger.org.ow2.jonas.ee.jdbc.level INHERIT -logger.org.ow2.jonas.ee.jdbc.RA.level INHERIT -logger.org.ow2.jonas.ee.jdbc.sql.level INHERIT -logger.org.ow2.jonas.ee.jdbc.xa.level INHERIT - -logger.org.ow2.jonas.ejb.level INHERIT - -#logger.org.ow2.jonas.generators.handler.0 mesonly -#logger.org.ow2.jonas.generators.additivity false - -logger.org.ow2.jonas.generators.genbase.level INHERIT -logger.org.ow2.jonas.generators.genclientstub.level INHERIT -logger.org.ow2.jonas.generators.genic.level INHERIT -logger.org.ow2.jonas.generators.genic.velocity.level ERROR -logger.org.ow2.jonas.generators.wsgen.level INHERIT -logger.org.ow2.jonas.generators.wsgen.ews.level INHERIT - -logger.org.ow2.jonas.jca.level INHERIT -logger.org.ow2.jonas.jca.connection.level INHERIT -logger.org.ow2.jonas.jca.management.level INHERIT -logger.org.ow2.jonas.jca.pool.level INHERIT -logger.org.ow2.jonas.jca.process.level INHERIT -logger.org.ow2.jonas.jca.setters.level INHERIT - -logger.org.ow2.jonas.jmx.level INHERIT - -logger.org.ow2.jonas.jtm.level ERROR - -logger.org.ow2.jonas.lib.ejb21.level INHERIT -logger.org.ow2.jonas.lib.ejb21.coherence.level INHERIT -logger.org.ow2.jonas.lib.ejb21.context.level INHERIT -logger.org.ow2.jonas.lib.ejb21.dd.level INHERIT -logger.org.ow2.jonas.lib.ejb21.endpoint.level INHERIT -logger.org.ow2.jonas.lib.ejb21.factory.level INHERIT -logger.org.ow2.jonas.lib.ejb21.genclass.level INHERIT -logger.org.ow2.jonas.lib.ejb21.interp.level INHERIT -logger.org.ow2.jonas.lib.ejb21.mdb.level INHERIT -logger.org.ow2.jonas.lib.ejb21.mijorm.level INHERIT -logger.org.ow2.jonas.lib.ejb21.query.level INHERIT -logger.org.ow2.jonas.lib.ejb21.security.level INHERIT -logger.org.ow2.jonas.lib.ejb21.ssfpool.level INHERIT -logger.org.ow2.jonas.lib.ejb21.swapper.level INHERIT -logger.org.ow2.jonas.lib.ejb21.synchro.level INHERIT -logger.org.ow2.jonas.lib.ejb21.thread.level INHERIT -logger.org.ow2.jonas.lib.ejb21.tx.level INHERIT -logger.org.ow2.jonas.lib.ejb21.ha.level INHERIT -logger.org.ow2.jonas.lib.ejb21.ha.interceptors.iiop.level INHERIT -logger.org.ow2.jonas.lib.ejb21.ha.interceptors.jrmp.level INHERIT - - -logger.org.ow2.jonas.lib.jms.level INHERIT - -logger.org.ow2.jonas.lib.naming.java.level INHERIT - -logger.org.ow2.jonas.lib.svc.level INHERIT - -logger.org.ow2.jonas.lib.timer.level INHERIT - -logger.org.ow2.jonas.lib.util.level INHERIT - -logger.org.ow2.jonas.lib.windows.level INHERIT - -logger.org.ow2.jonas.lib.work.level INHERIT - -logger.org.ow2.jonas.loader.level INHERIT - -logger.org.ow2.jonas.mail.level INHERIT - -logger.org.ow2.jonas.management.level INHERIT -logger.org.ow2.jonas.management.cluster.level INHERIT -logger.org.ow2.jonas.management.domain.level INHERIT -logger.org.ow2.jonas.management.event.level INHERIT -logger.org.ow2.jonas.management.j2eemanagement.level INHERIT -logger.org.ow2.jonas.management.j2eemanagement.event.level INHERIT - -logger.org.ow2.jonas.naming.level INHERIT - -logger.org.ow2.jonas.propagation.level INHERIT - -logger.org.ow2.jonas.publication.handler.0 wsdl -logger.org.ow2.jonas.publication.additivity false - -logger.org.ow2.jonas.registry.level INHERIT - -logger.org.ow2.jonas.security.level INHERIT -logger.org.ow2.jonas.security.csiv2.level INHERIT -logger.org.ow2.jonas.security.csiv2_details.level INHERIT -logger.org.ow2.jonas.security.jacc.level INHERIT -logger.org.ow2.jonas.security.ws.level INHERIT - -logger.org.ow2.jonas.server.level INHERIT - -logger.org.ow2.jonas.web.level INHERIT - -logger.org.ow2.jonas.webapp.jadmin.servlet.level INHERIT - -logger.org.ow2.jonas.work.level INHERIT - -logger.org.ow2.jonas.workcleaner.level INHERIT - -logger.org.ow2.jonas.ws.level INHERIT -logger.org.ow2.jonas.ws.wsdl.level INHERIT - -#----------- -# Hibernate -#----------- -logger.org.hibernate.cache.level ERROR -logger.org.hibernate.cfg.level ERROR -logger.org.hibernate.connection.level ERROR -logger.org.hibernate.dialect.level ERROR -logger.org.hibernate.ejb.level ERROR -logger.org.hibernate.impl.level ERROR -logger.org.hibernate.hql.ast.level ERROR -logger.org.hibernate.search.level ERROR -logger.org.hibernate.tool.hbm2ddl.level ERROR -logger.org.hibernate.transaction.level ERROR -logger.org.hibernate.validator.level ERROR - -#------- -# JOTM -#------- -logger.org.objectweb.jotm.level INFO -logger.org.objectweb.jotm.jta.level INHERIT -logger.org.objectweb.jotm.tm.level INHERIT -logger.org.objectweb.jotm.recovery.level INHERIT - -#------- -# MEJB -#------- -logger.org.ow2.jonas.ee.mejb.level INFO - -#------- -# CAROL -#------- -logger.org.ow2.carol.level INFO -logger.org.ow2.carol.rmi.level INHERIT -logger.org.ow2.carol.jndi.level INHERIT - -#------- -# JORM -#------- -logger.org.objectweb.jorm.level WARN -logger.org.objectweb.jorm.compiler.level INHERIT -logger.org.objectweb.jorm.xml2mi.level INHERIT -logger.org.objectweb.jorm.mi2xml.level INHERIT -logger.org.objectweb.jorm.metainfo.level INHERIT -logger.org.objectweb.jorm.generator.level INHERIT -logger.org.objectweb.jorm.generator.velocity.level ERROR -logger.org.objectweb.jorm.mapper.rdb.generator.level INHERIT - -#------- -# MEDOR -#------- -logger.org.objectweb.medor.level INHERIT -logger.org.objectweb.medor.optim.rule.level INHERIT -logger.org.objectweb.medor.optim.rewriter.level INHERIT -logger.org.objectweb.medor.eval.rdb.level INHERIT - -#------- -# JORAM -#------- -logger.fr.dyade.aaa.level ERROR -logger.fr.dyade.aaa.agent.level ERROR -logger.fr.dyade.aaa.agent.Agent.level INHERIT -logger.fr.dyade.aaa.agent.Engine.level INHERIT -logger.fr.dyade.aaa.agent.Service.level INHERIT -logger.org.objectweb.joram.level ERROR -logger.org.objectweb.joram.mom.level INHERIT -logger.org.objectweb.joram.mom.Destination.level INHERIT -logger.org.objectweb.joram.mom.Proxy.level INHERIT -logger.org.objectweb.joram.client.level INHERIT -logger.org.objectweb.joram.client.jms.Client.level ERROR -logger.org.objectweb.joram.client.connector.Adapter.level ERROR - -#------- -# SPEEDO -#------- -logger.org.objectweb.speedo.level WARN -## GENERATION -logger.org.objectweb.speedo.generation.SpeedoCompiler.level INFO -## RUN TIME -logger.org.objectweb.speedo.init.level INHERIT -logger.org.objectweb.speedo.po-manager-factory.level INHERIT -logger.org.objectweb.speedo.po-manager-switch.level INHERIT -logger.org.objectweb.speedo.po-manager-pool.level INHERIT -logger.org.objectweb.speedo.po-manager-instanciator.level INHERIT -logger.org.objectweb.speedo.po-manager.level INHERIT -logger.org.objectweb.speedo.po-manager.query.level INHERIT -logger.org.objectweb.speedo.mapper.level INHERIT -logger.org.objectweb.speedo.mapper.mapper.level INHERIT -logger.org.objectweb.speedo.mapper.mapper.sql.level INHERIT -logger.org.objectweb.speedo.mapper.jorm-factory.level INHERIT -logger.org.objectweb.speedo.mapper.jorm-factory.class-properties.level INHERIT -logger.org.objectweb.speedo.mapper.pool.level INHERIT -logger.org.objectweb.speedo.mapper.storage-manager.level INHERIT -logger.org.objectweb.speedo.memory-instance-manager.level INHERIT -logger.org.objectweb.speedo.workingset-manager.level INHERIT -logger.org.objectweb.speedo.naming-manager-factory.level INHERIT -logger.org.objectweb.speedo.transaction.level INHERIT -logger.org.objectweb.speedo.tpm.level INHERIT -logger.org.objectweb.speedo.tpm.transactional-persistence-manager.level INHERIT -logger.org.objectweb.speedo.tpm.cache-manager.level INHERIT -logger.org.objectweb.speedo.tpm.cache-manager.bgcleaner.level INHERIT -logger.org.objectweb.speedo.tpm.concurrency-manager.level INHERIT -logger.org.objectweb.speedo.query-manager.level INHERIT -logger.org.objectweb.speedo.query-manager.compiled-query.level INHERIT -logger.org.objectweb.speedo.query-manager.compiled-query.allocator.level INHERIT -logger.org.objectweb.speedo.query-manager.compiled-query.parser.level INHERIT -logger.org.objectweb.speedo.query-manager.compiled-query.parser.variable.level INHERIT -logger.org.objectweb.speedo.query-manager.compiled-query.parser.filter.level INHERIT -logger.org.objectweb.speedo.compiled-query-cache.level INHERIT -logger.org.objectweb.speedo.jca.level INHERIT -logger.org.objectweb.speedo.txStatistic.level INHERIT -logger.org.objectweb.speedo.jmx.level INHERIT - -# Struts -logger.org.apache.struts.util.level WARN - -#------------------------------ -# Tomcat 6 - Catalina logging -#------------------------------ -logger.org.apache.catalina.core.ContainerBase.[jonas].level INFO -logger.org.apache.catalina.core.ContainerBase.[jonas].[localhost].level INFO -logger.org.apache.catalina.core.ContainerBase.[jonas].[localhost].[path].level INFO -### example for jonasAdmin ### -logger.org.apache.catalina.core.ContainerBase.[jonas].[localhost].[jonasAdmin].level INFO - -#----------------------------- -# Jetty 6 (Avoid log of MBean registration (info level) -#----------------------------- -logger.org.mortbay.util.jmx.ModelMBeanImpl.level ERROR - -#----------------------------- -# Apache CXF -#----------------------------- -logger.org.apache.cxf.level INHERIT -# Avoid a log diplaying erroneous informations (INFO level) -# TODO remove theses lines when a proper startup message policy will be decided -logger.org.apache.cxf.endpoint.ServerImpl.level ERROR - -#----------------------------- -# Open Symphony Quartz -#----------------------------- -logger.org.quartz.level INHERIT -# Avoid logs of unwanted informations (INFO level) -# TODO remove theses lines when a proper startup message policy will be decided -logger.org.quartz.core.QuartzScheduler.level ERROR -logger.org.quartz.simpl.RAMJobStore.level ERROR -logger.org.quartz.impl.StdSchedulerFactory.level ERROR - -# ----------------------------------------------------------------------- -# MX4J - also need to set system proprty mx4j.log.priority to the corresponding level -# (fatal, error, warn, info, debug, trace) -# ----------------------------------------------------------------------- -logger.mx4j.level ERROR - -#----------------------------- -# OSGi logging -#----------------------------- -logger.org.ow2.util.log.impl.osgi.level ERROR - -#----------------------------- -# Deployment plan logging -#----------------------------- -logger.org.ow2.util.plan.deployer.impl.level ERROR - -#--------- -# File logger for JGroups -# JGroups -#--------- -handler.all_jgroups.type File -handler.all_jgroups.output all_jgroups.log -handler.all_jgroups.pattern %d : %l : %h : %O{1}.%M : %m%n -logger.org.jgroups.level FATAL -logger.org.jgroups.handler.0 all_jgroups -logger.org.jgroups.additivity false - -# ----------------------------------------------------------------------- -# For Log file (tests) -# ----------------------------------------------------------------------- -handler.logtest.type File -handler.logtest.output jonas_tests.log -handler.logtest.pattern %d : %l : %h : %O{1}.%M : %m%n -logger.org.ow2.jonas_tests.history.level INFO -logger.org.ow2.jonas_tests.history.handler.0 logtest -logger.org.ow2.jonas_tests.history.additivity false - - -#--- -# Discovery Logger configuration -#uncomment these lines to configure a file logger for jonas discovery -#handler.jonas-discovery.type File -#handler.jonas-discovery.output jonas_discovery.log -#handler.jonas-discovery.pattern %d : %l : %h : %O{1}.%M : %m%n -# Don't forget to set logs level. -logger.org.ow2.jonas.discovery.level INFO -#logger.org.ow2.jonas.discovery.handler.0 jonas-discovery -#logger.org.ow2.jonas.discovery.additivity false - -#--- -#Granite Logger configuration -handler.granite-ds.type File -handler.granite-ds.output granite-ds.log -handler.granite-ds.pattern %d : %l : %h : %O{1}.%M : %m%n -# Don't forget to set logs level. -logger.org.granite.config.level INFO -logger.org.granite.config.handler.0 granite-ds -logger.org.granite.config.additivity false - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/traceclient.properties b/jonas/assemblies/configuration/src/main/resources/conf/traceclient.properties deleted file mode 100644 index 5190f18bcc9a7f18f9e4fd8540fe61d10beb6800..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/traceclient.properties +++ /dev/null @@ -1,45 +0,0 @@ -# ----------------------------------------------------------------------- -# This is a default configuration file for monolog. -# -# Patterns for each handler may include these possible values : -# %h the thread name -# %O{1} the Class name (basename only) -# %M the method name -# %L the line number -# %d the date -# %l the level -# %m the message itself -# %n a new line -# -# Each logger inherits from its parent for properties not defined. -# The root logger is "root". It must always be defined. -# -# Each logger is associated with a level that can be one of : -# ERROR | WARN | INFO | DEBUG -# -# -> More info on http://www.objectweb.org/monolog/doc.html -# ----------------------------------------------------------------------- -# -# Define which wrapper to use (= javaLog) -# ----------------------------------------------------------------------- -# For Log4j you need to add log4j.jar -# log.config.classname org.objectweb.util.monolog.wrapper.log4j.MonologLoggerFactory -log.config.classname org.objectweb.util.monolog.wrapper.javaLog.LoggerFactory - -# ----------------------------------------------------------------------- -# tty : console handler -# ----------------------------------------------------------------------- -handler.tty.type Console -handler.tty.output System.out -handler.tty.pattern %d : %h : %O{1}.%M : %m%n - -# ----------------------------------------------------------------------- -# logger definitions -# ----------------------------------------------------------------------- -logger.root.handler.0 tty - -logger.root.level ERROR -logger.org.ow2.jonas.client.level WARN - -# Set INFO to see test names. -logger.org.objectweb.jonas_tests.level WARN \ No newline at end of file diff --git a/jonas/assemblies/configuration/src/main/resources/conf/uddi.properties b/jonas/assemblies/configuration/src/main/resources/conf/uddi.properties deleted file mode 100644 index 99f2d808f0fa187e40c283d56cbce39fe10cab21..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/uddi.properties +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ - -# RegistryWSDLPublisher class -jonas.service.wsdl.class org.ow2.jonas.ws.publish.internal.registry.RegistryWSDLPublisher - -# User name and Password to access Registry -jonas.service.publish.uddi.username jonas -jonas.service.publish.uddi.password jonas - -# Organization name, small desc (optionnal) and primary contact name. -jonas.service.publish.uddi.organization.name OW2 -jonas.service.publish.uddi.organization.desc OW2 Consortium (http://www.ow2.org) -jonas.service.publish.uddi.organization.person_name JOnAS - -# URLs where Registry can be contacted (Publish an Query APIs) -javax.xml.registry.lifeCycleManagerURL http://localhost:9000/juddi/publish -javax.xml.registry.queryManagerURL http://localhost:9000/juddi/inquiry diff --git a/jonas/assemblies/configuration/src/main/resources/conf/wrapper.conf b/jonas/assemblies/configuration/src/main/resources/conf/wrapper.conf deleted file mode 100644 index 37b72349b42eee82f6d84a04ea4b0aff9a482885..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/wrapper.conf +++ /dev/null @@ -1,134 +0,0 @@ -#******************************************************************** -# Wrapper Properties -# -# DO NOT MODIFY THIS FILE, IT WILL BE REGERENATED BY THE ANT TASK. -# -# For extra options, use the wrapper_extra.conf file instead. -# -#******************************************************************** -# Java Application -#wrapper.debug=true -wrapper.java.command=@java.home@/bin/java - -# Java Main class -wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperStartStopApp - -# Java Classpath (wrapper.jar is required) -# Add JOnAS class path elements as needed starting from 2 -wrapper.java.classpath.1=@wrapper.home@/lib/wrapper.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=@wrapper.home@/lib - -# Java Additional Parameters -wrapper.java.additional.1=-Dorg.tanukisoftware.wrapper.WrapperStartStopApp.waitForStartMain=FALSE - -# Initial Java Heap Size (in MB) -# set to zero so that -Xms can be set using wrapper.java.additonal -# in the wrapper_ext.conf file. // BUG 304628 -# SET JAVA_OPTS=-Xms before running the ANT task -wrapper.java.initmemory=0 - -# Maximum Java Heap Size (in MB) -# set to zero so that -Xmx can be set using wrapper.java.additonal -# in the wrapper_ext.conf file. // BUG 304628 -# SET JAVA_OPTS=-Xmx before running the ANT task -wrapper.java.maxmemory=0 - -# Port which the native wrapper code will attempt to connect to -wrapper.port=4777 - -#******************************************************************** -# Application parameters. -# -# THESE PARAMETERS SHOULD NOT BE MODIFIED -# -# Parameters in this section specify the Java classes to be run -# and the parameters to the classes. -# The parameters defined in this section will start and stop -# JOnAS using the default server name of 'jonas'. -# wrapper.app.parameter.8 specifies the server name. This value -# can be changed by setting wrapper.app.parameter.8 in the -# wrapper_ext.conf file that is generated by the ANT task. -# -# The parameters below should be identical to those used -# by bin\jonas.bat to start and stop the server. -#******************************************************************** - -# Start parameters -wrapper.app.parameter.1=org.ow2.jonas.commands.admin.ClientAdmin -wrapper.app.parameter.2=1 -wrapper.app.parameter.3=-start - -# Stop parameters -wrapper.app.parameter.4=org.ow2.jonas.commands.admin.ClientAdmin -wrapper.app.parameter.5=false -wrapper.app.parameter.6=1 -wrapper.app.parameter.7=-stop - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=INFO - -# Log file to use for wrapper output logging. -wrapper.logfile=@jonas.base@/logs/wrapper.log - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel=INFO - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=0 - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=0 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=NONE - -#******************************************************************** -# Wrapper NT Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.ntservice.name=JOnAS - -# Display name of the service -wrapper.ntservice.displayname=JOnAS - -# Description of the service -wrapper.ntservice.description=JOnAS Java EE Application Server - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop. -wrapper.ntservice.interactive=false - -#******************************************************************** -# include wrapper.conf extensions specific to JONAS_BASE -# -# note that #include is a wrapper directive, not a comment -# -# this will be resolved to JONAS_BASE by the ANT task -#******************************************************************** -#include @jonas.base@/conf/wrapper_extra.conf - diff --git a/jonas/assemblies/configuration/src/main/resources/conf/wrapper_extra.conf b/jonas/assemblies/configuration/src/main/resources/conf/wrapper_extra.conf deleted file mode 100644 index 3896c5aad94e896bb2a6ea7e877113975b096759..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/conf/wrapper_extra.conf +++ /dev/null @@ -1,8 +0,0 @@ -#******************************************************************** -# Wrapper Properties -# -# For information regarding these parameters refer to the -# Java Service Wrapper documentation at -# http://wrapper.tanukisoftware.org/doc/english/properties.html -# -#******************************************************************** diff --git a/jonas/assemblies/configuration/src/main/resources/deploy/jdbc-ds.xml b/jonas/assemblies/configuration/src/main/resources/deploy/jdbc-ds.xml deleted file mode 100644 index f4a60b0f94e235d1a5cc811ec39cea558e7cf30a..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/deploy/jdbc-ds.xml +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - jdbc_1 - jdbc:hsqldb:hsql://localhost:9001/db_jonas - org.hsqldb.jdbcDriver - jonas - jonas - rdb.hsql - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - select count(1) from information_schema.system_tables - 1440 - 60 - 10 - 10 - 100 - 100 - 5 - 100 - 30 - - - diff --git a/jonas/assemblies/configuration/src/main/resources/newjb/build-jb.properties b/jonas/assemblies/configuration/src/main/resources/newjb/build-jb.properties deleted file mode 100644 index 74e7628eaf517d11b274069ae5af4b1d365a632b..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/newjb/build-jb.properties +++ /dev/null @@ -1,113 +0,0 @@ -#Drivers directory -drivers.dir=jb.config/lib - -#jonas.properties global properties -jonas.services=jtm,db,security,resource,ejb3,jaxws,web,ear,depmonitor -jonas.security.propagation=true -jonas.security.manager=false -jonas.csiv2.propagation=true -jonas.log.configfile=trace -jonas.transaction.propagation=true -jonas.development=true -#Jms -jms.port=16010 -jms.topics=InvoiceTopic -jms.queues=OrderApprovalQueue,OrdersQueue,MailCompletedOrderQueue,SupPurchaseOrderQueue,MailOrderApprovalQueue,MailQueue - -#Carol -carol.allport=1099 -carol.defaultprotocol=jrmp -carol.jrmpopt=false -carol.localregistry=true - -#Web -webcontainer.port=9000 -# Tomcat/Jetty -webcontainer.service.defaultname=tomcat -webcontainer.ondemandenabled=true -webcontainer.ondemanderedirectport=0 -#Db -db.port=9001 - -#Discovery -discovery.sourceport=9888 -discovery.greetingport=9899 -discovery.mcastaddr=224.224.224.224 -discovery.mcastport=9080 -discovery.ttl=1 - -#Database -rajdbc.defaultname=hsql - -#DB connections through RAR - -rajdbc.hsql.user=jonas -rajdbc.hsql.password=jonas -rajdbc.hsql.url=jdbc:hsqldb:hsql://localhost:9001/db_jonas -rajdbc.hsql.drivername=org.hsqldb.jdbcDriver -rajdbc.hsql.jndiname=jdbc_1 -rajdbc.hsql.jdbcdriverjarfile=none -rajdbc.hsql.mappername=rdb.hsql - -rajdbc.postgresql.user=jonas -rajdbc.postgresql.password=jonas -rajdbc.postgresql.url=jdbc:postgresql://localhost:5433/db_jonas -rajdbc.postgresql.drivername=org.postgresql.Driver -rajdbc.postgresql.jndiname=jdbc_1 -rajdbc.postgresql.jdbcdriverjarfile=postgresql.jar -rajdbc.postgresql.mappername=rdb.postgresql - -rajdbc.oracle.user=jonas -rajdbc.oracle.password=jonas -rajdbc.oracle.url=jdbc:oracle:thin:@localhost:1521:db_jonas -rajdbc.oracle.drivername=oracle.jdbc.driver.OracleDriver -rajdbc.oracle.jndiname=jdbc_1 -rajdbc.oracle.jdbcdriverjarfile=ojdbc5.jar -rajdbc.oracle.mappername=rdb.oracle - -rajdbc.mysql.user=root -rajdbc.mysql.password= -rajdbc.mysql.url=jdbc:mysql:http://localhost:3306/db_jonas -rajdbc.mysql.drivername=org.gjt.mm.mysql.Driver -rajdbc.mysql.jndiname=jdbc_1 -rajdbc.mysql.jdbcdriverjarfile=mysql-connector-java.jar -rajdbc.mysql.mappername=rdb.mysql - -#DB connections through datasource XML - -xmljdbc.hsql.name=jdbc_1 -xmljdbc.hsql.username=jonas -xmljdbc.hsql.password=jonas -xmljdbc.hsql.url=jdbc:hsqldb:hsql://localhost:9001/db_jonas -xmljdbc.hsql.mapper=rdb.hsql -xmljdbc.hsql.classname=org.hsqldb.jdbcDriver -xmljdbc.hsql.conteststmt=select count(1) from information_schema.system_tables -xmljdbc.hsql.connmaxage=1440 -xmljdbc.hsql.conchecklevel=2 -xmljdbc.hsql.initconpool=10 -xmljdbc.hsql.minconpool=10 -xmljdbc.hsql.maxconpool=100 -xmljdbc.hsql.maxopentime=60 -xmljdbc.hsql.maxwaiters=100 -xmljdbc.hsql.maxwaitingtime=5 -xmljdbc.hsql.pstmtmax=100 -xmljdbc.hsql.samplingperiod=100 - -#Mail -mail.session.name=mailSession_1 -mail.mimepartds.name=mailMimePartDS_1 -mail.to=jean.dupont@ow2.org -mail.subject=test mail -mail.host=localhost - - -#Wsdl -wsdl.file.name=file1 -wsdl.file.dir=/tmp/ - -#Cluster daemon configuration -cluster.daemon.protocol=jrmp -cluster.daemon.port=1806 -cluster.daemon.interactionMode=loosely-coupled -discovery.domainName=jonas - diff --git a/jonas/assemblies/configuration/src/main/resources/newjb/build-jb.xml b/jonas/assemblies/configuration/src/main/resources/newjb/build-jb.xml deleted file mode 100644 index 6918e8c6e7a48c6d75043e1583fbffcf19466e04..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/newjb/build-jb.xml +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jonas/assemblies/configuration/src/main/resources/newjc/build-db.properties b/jonas/assemblies/configuration/src/main/resources/newjc/build-db.properties deleted file mode 100644 index 3d8330fd13eb053390e97bff95aedcc06d34b6b7..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/newjc/build-db.properties +++ /dev/null @@ -1,80 +0,0 @@ -#Drivers directory -drivers.dir=jc.config/lib - -#Services -jonas.services=registry,jmx,jtm,db,security,resource,discovery - -#Jms -jms.port=16050 -jms.topics=sampleTopic,InvoiceTopic -jms.queues=sampleQueue,OrderApprovalQueue,OrdersQueue,MailCompletedOrderQueue,SupPurchaseOrderQueue,MailOrderApprovalQueue,MailQueue - -#Carol -carol.allport=2053 -carol.defaultprotocol=jrmp -carol.protocol=jrmp -carol.jrmpopt=false -carol.localregistry=true - -#Web -webcontainer.port=9500 -# Tomcat -webcontainer.service.defaultname=tomcat -webcontainer.service.name=tomcat - -#Db -db.port=9005 - -#Discovery -# sourceport is set to -1 for disabling the master node -discovery.sourceport=-1 -discovery.greetingport=9903 -discovery.mcastaddr=224.224.224.224 -discovery.mcastport=9080 -discovery.ttl=1 - -#Database -rajdbc.defaultname=hsql -rajdbc.name=hsql - -#DB connections through RAR - -rajdbc.hsql.user=jonas -rajdbc.hsql.password=jonas -rajdbc.hsql.url=jdbc:hsqldb:hsql://localhost:9005/db_jonas -rajdbc.hsql.drivername=org.hsqldb.jdbcDriver -rajdbc.hsql.jndiname=jdbc_1 -rajdbc.hsql.jdbcdriverjarfile=none -rajdbc.hsql.mappername=rdb.hsql - -#DB connections through datasource XML - -xmljdbc.hsql.name=jdbc_1 -xmljdbc.hsql.username=jonas -xmljdbc.hsql.password=jonas -xmljdbc.hsql.url=jdbc:hsqldb:hsql://localhost:9005/db_jonas -xmljdbc.hsql.mapper=rdb.hsql -xmljdbc.hsql.classname=org.hsqldb.jdbcDriver -xmljdbc.hsql.conteststmt=select count(1) from information_schema.system_tables -xmljdbc.hsql.connmaxage=1440 -xmljdbc.hsql.conchecklevel=2 -xmljdbc.hsql.initconpool=10 -xmljdbc.hsql.minconpool=10 -xmljdbc.hsql.maxconpool=100 -xmljdbc.hsql.maxopentime=60 -xmljdbc.hsql.maxwaiters=100 -xmljdbc.hsql.maxwaitingtime=5 -xmljdbc.hsql.pstmtmax=100 -xmljdbc.hsql.samplingperiod=100 - -#Mail -mail.session.name=mailSession_1 -mail.mimepartds.name=mailMimePartDS_1 -mail.to=jean.dupont@objectweb.org -mail.subject=test mail - - -#Wsdl -wsdl.file.name=wsdlJean_Dupont -wsdl.file.dir=/tmp/ - diff --git a/jonas/assemblies/configuration/src/main/resources/newjc/build-jc.properties b/jonas/assemblies/configuration/src/main/resources/newjc/build-jc.properties deleted file mode 100644 index 0c858e0811d68fb3605bdd04b673a0fa7a06cd0a..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/newjc/build-jc.properties +++ /dev/null @@ -1,181 +0,0 @@ -# Prefix for JONAS_BASE directories -jonas.base.defaultprefix=jb - -#Drivers directory -drivers.dir=jc.config/lib - -#Cluster architecture : -# bothWebEjb : both web and ejb services and each instance -# diffWebEjb : dedicates instances to web level and separated instances to ejb level -cluster.architecture.default=diffWebEjb - -#Cluster architecture : -# nodes name : prefix of the node names -cluster.nodesName=node - -#Cluster daemon configuration -cluster.daemon.name=cd -cluster.daemon.protocol=jrmp -cluster.daemon.port=1806 -cluster.daemon.dir=cd -#enable this to set JAVA_HOME of the cluster daemon -#cluster.daemon.jdk=/usr/java/jdk/sun/current-1.5 -cluster.daemon.interactionMode=loosely-coupled -cluster.daemon.autoBoot=false -cluster.daemon.xprm=-Djava.net.preferIPv4Stack=true - -#Services -jonas.web.services=registry,jmx,jtm,security,cmi,jaxrpc,web,ear,depmonitor,discovery -jonas.ejb.services=registry,jmx,jtm,db,security,resource,cmi,ha,ejb2,ejb3,ear,depmonitor,discovery -jonas.full.services=registry,jmx,jtm,db,security,resource,cmi,ha,ejb2,ejb3,jaxrpc,jaxws,web,ear,depmonitor,discovery - -#Jms -jms.portrange=16010,16020,16030,16040 -jms.topics=sampleTopic,InvoiceTopic -jms.queues=sampleQueue,OrderApprovalQueue,OrdersQueue,MailCompletedOrderQueue,SupPurchaseOrderQueue,MailOrderApprovalQueue,MailQueue - -#Carol -carol.portrange=2002,2022,2032,2043 -carol.defaultprotocol=jrmp -carol.jrmpopt=false - -# Cmi service -cmi.mcastaddr=224.0.0.35 -cmi.mcastport=35467 - -# Ha service -ha.mcastaddr=224.0.0.36 -ha.mcastport=35468 - -#Web -webcontainer.httpportrange=9000,9200,9300,9400 -webcontainer.ajpportrange=9010,9011,9012,9013 -webcontainer.stickysession=false -webcontainer.mod_jkenabled=true -webcontainer.mod_jk.dir=conf/jk -webcontainer.mod_jk.lbfactorrange=1,1,1,1 -webcontainer.directorenabled=false -webcontainer.directorportrange=9996,9997,9998,9999 -webcontainer.director.lbfactorrange=1,1,1,1 -webcontainer.director.dir=director -webcontainer.cluster.name=myTomcatCluster -webcontainer.cluster.mcastaddr=228.0.0.4 -webcontainer.cluster.mcastport=45564 -webcontainer.cluster.listenportrange=4003,4004,4005,4006 -# Enable ondemand on web instances -webinstances.ondemandenabled=true -webinstances.ondemand.redirectport=0 - -#disable development mode on web instances. -webinstances.devmodeenabled=false -#enable development mode for depmonitor on ejb instances. -webinstances.depmonitor.devmodeenabled=true - -#Tomcat -webcontainer.service.defaultname=tomcat - -#disable ondemand on ejb instances -ejbinstances.ondemandenabled=false -#disable development mode on ejb instances. -ejbinstances.devmodeenabled=false -#enable development mode for depmonitor on ejb instances. -ejbinstances.depmonitor.devmodeenabled=true - -#Director -director.lib.jarfile=tomcat5.5-director.jar - -#Discovery service -discovery.sourceportrange=-1,-1,-1,-1 -discovery.greetingportrange=9899,9900,9901,9902 -discovery.mcastaddr=224.224.224.224 -discovery.mcastport=9080 -discovery.domainName=sampleClusterDomain -discovery.domainDesc=A domain for management of cluster examples. -discovery.clusterName=mycluster -discovery.clusterDesc=A cluster sample. -# specify here the node number that will be the master. By default, the feature -# is supported by a dedicated node but the file is generated in the first cluster -# member. Then it will copy to the master conf dir -discovery.masternode=1 - -#Master node when the feature is shipped by a dedicated node (default) -master.dir=master -master.nodeName=master - -#Db -db.portrange=9001,9002,9003,9004 -db.dir=db -db.nodeName=db - - -#Database -rajdbc.defaultname=hsql - -#DB connections through datasource RA - -rajdbc.hsql.user=jonas -rajdbc.hsql.password=jonas -rajdbc.hsql.url=jdbc:hsqldb:hsql://localhost:9005/db_jonas -rajdbc.hsql.drivername=org.hsqldb.jdbcDriver -rajdbc.hsql.jndiname=jdbc_1 -rajdbc.hsql.jdbcdriverjarfile=none -rajdbc.hsql.mappername=rdb.hsql - -rajdbc.postgresql.user=jonas -rajdbc.postgresql.password=jonas -rajdbc.postgresql.url=jdbc:postgresql://localhost:5433/db_jonas -rajdbc.postgresql.drivername=org.postgresql.Driver -rajdbc.postgresql.jndiname=jdbc_1 -rajdbc.postgresql.jdbcdriverjarfile=postgresql.jar -rajdbc.postgresql.mappername=rdb.postgresql - -rajdbc.oracle.user=jonas -rajdbc.oracle.password=jonas -rajdbc.oracle.url=jdbc:oracle:thin:@localhost:1521:db_jonas -rajdbc.oracle.drivername=oracle.jdbc.driver.OracleDriver -rajdbc.oracle.jndiname=jdbc_1 -rajdbc.oracle.jdbcdriverjarfile=ojdbc5.jar -rajdbc.oracle.mappername=rdb.oracle - -rajdbc.mysql.user=root -rajdbc.mysql.password= -rajdbc.mysql.url=jdbc:mysql:http://localhost:3306/db_jonas -rajdbc.mysql.drivername=org.gjt.mm.mysql.Driver -rajdbc.mysql.jndiname=jdbc_1 -rajdbc.mysql.jdbcdriverjarfile=mysql-connector-java.jar -rajdbc.mysql.mappername=rdb.mysql - -#DB connections through datasource XML - -xmljdbc.hsql.name=jdbc_1 -xmljdbc.hsql.username=jonas -xmljdbc.hsql.password=jonas -xmljdbc.hsql.url=jdbc:hsqldb:hsql://localhost:9005/db_jonas -xmljdbc.hsql.mapper=rdb.hsql -xmljdbc.hsql.classname=org.hsqldb.jdbcDriver -xmljdbc.hsql.conteststmt=select count(1) from information_schema.system_tables -xmljdbc.hsql.connmaxage=1440 -xmljdbc.hsql.conchecklevel=2 -xmljdbc.hsql.initconpool=10 -xmljdbc.hsql.minconpool=10 -xmljdbc.hsql.maxconpool=100 -xmljdbc.hsql.maxopentime=60 -xmljdbc.hsql.maxwaiters=100 -xmljdbc.hsql.maxwaitingtime=5 -xmljdbc.hsql.pstmtmax=100 -xmljdbc.hsql.samplingperiod=100 - - -#Mail -mail.session.name=mailSession_1 -mail.mimepartds.name=mailMimePartDS_1 -mail.to=jean.dupont@ow2.org -mail.subject=test mail -mail.host=localhost - -#Wsdl -wsdl.file.name=wsdlPublishFile -wsdl.file.dir=/tmp/ - -# script -script.node.basename=node diff --git a/jonas/assemblies/configuration/src/main/resources/newjc/build-jc.xml b/jonas/assemblies/configuration/src/main/resources/newjc/build-jc.xml deleted file mode 100644 index bbb6538b16c06ba32422f2bb63476022d219fa57..0000000000000000000000000000000000000000 --- a/jonas/assemblies/configuration/src/main/resources/newjc/build-jc.xml +++ /dev/null @@ -1,376 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -