Solaris 11.2 User Manager System Error
Has anyone encountered a system error when attempting to add users as the root role or executing the user manager from the cli as root?
I can use the gui manager after a user has been created in the staff group. I run into issue creating the user as root in any group but staff and any default shell outside of /usr/bin/bash.
Example - Using gui to create user in ftp group with /bin/bash as login shell with auto set for userid and home directory.
Thanks in advance.
No system error for me but I've filed Bug 20873166 - "User Manager" always creates user under "staff" group
Similar Messages
-
I need user management system in PHP recommendations to work with Flex client side
Hi All,
I have a very big project that involves PHP server side (That i have to develop) and Flex client side. I was wondering it there is a ready made PHP user management system that i can use to provide me:
- user login/logout
- forgot my password functionality
- register (better with captcha)
Does someone can recommend this kind of php system?Hi, guys
Free and open source PHP User Management Scripts. These scripts provide a solution of creating a membership system of a website.
Some PHP user management scripts listed on PHPKode.com. which you can choose the right php user management to meet your demands!
Hopefully can help you!
Best regards!
Anny -
I have been using an ASP based user management system with an
Access
database and it has worked very well, however, I need to
implement a similar
system on a Linux server. I know you can password protect
sections of the
site using htaccess but I want something similar to what I
get with the ASP
system, ie user reg page and redirection pages for those who
enter wrong
details, duplicate usernames, password recovery, etc. Nothing
fancy, just
the basic functions to allow people to access restricted
areas of the site.
No payment will be involved, my client just wants to limit
access to certain
parts of the site to registered users.
Can anyone recommend something simple and easy to setup and
use? Either a DW
extension or standalone, bearing in mind I don't know PHP but
I can edit
code with a little guidance...
Many thanks in advanceDW has User Authentication server behaviors built in, you
know?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"polarl light" <[email protected]> wrote in message
news:g166m7$gvt$[email protected]..
>I have been using an ASP based user management system
with an Access
>database and it has worked very well, however, I need to
implement a
>similar system on a Linux server. I know you can password
protect sections
>of the site using htaccess but I want something similar
to what I get with
>the ASP system, ie user reg page and redirection pages
for those who enter
>wrong details, duplicate usernames, password recovery,
etc. Nothing fancy,
>just the basic functions to allow people to access
restricted areas of the
>site. No payment will be involved, my client just wants
to limit access to
>certain parts of the site to registered users.
>
> Can anyone recommend something simple and easy to setup
and use? Either a
> DW extension or standalone, bearing in mind I don't know
PHP but I can
> edit code with a little guidance...
>
> Many thanks in advance
> -
SourceFire management system error when I try to delete a user agent
I'm running into an issue with the Sourcefire management system. When I try to delete a user agent within Sourcefire I get redirected to an error page.
Running 5.3. I have attached the error.Try disabling your antivirus/antispam software.
-
Managed System - error in SSO setup
Hi Experts,
i am doing Managed system configuration but stuck on "step 8 - Configure Automatically" with below error.
My SOLMAN version is 71 SPS11.
Error while calling Diagnostics setup web service. Check note 1822831.
CX_AI_SYSTEM_FAULT : SOAP:1.007 SRT: Unsupported xstream found: ("HTTP Code 401 : Unauthorized")
CX_SOAP_FAILURE : Error when processing Web service call
CX_SOAP_CORE : Error when calling SOAP Runtime functions: SRT: Unsupported xstream found: ("HTTP Code 401 : Unauthorized")
I have check the note 1822831 but not help at all.
Also, i have tested the webservice connection with out issue and JAVA UME master client have set to client 100.
i have also able to login to http://localhost:50000 with user SM_INTERN_WS without issue.
Basically i have the same error for SAPRouter setup, Extractors Setup, Introscope Host Adapter and Generate System-level Metrics in this step 8.
It seen like authorization issue. But i have no idea where to verify the user id and authorization.
Kindly advise.
Thank you.
BR,
Por.Hi Soon,
Please follow SAP Note 1837656 - Extractor Setup returns "CX_AI_SYSTEM_FAULT : SOAP:1.007 SRT: Unsupported xstream found: ("HTTP Code 500 : Timeout")" - Solution Manager 7.10
Hope this will resolve your issue.
Regards,
Gaurav -
BPC Mass User Management Tool error in BPC 10
Hello,
I've downloaded tranport files from How to use BPC Mass User Management Tool in Netweaver. But Transport import fails with RC12 without any shortdump. ABAP program ZUJE_MASS_USER_MGMT is not created.
Version used - BPC 10 CPMBPC 801 on Netweaver 7.4 .
Thanks in advance for your inputs.Tried changing transport options but no luck. Transport failed with status RC12 without creating ABAP program. However, Old version transport files imported with error. But I could not find METHOD check_bpc_component_is_valid.
Can anyone please send the updated program.
*& Report ZUJE_MASS_USER_MGMT
*& Created By: Rich Heilman SAP Labs, LLC
*& Created On: 08/2/2010
REPORT zuje_mass_user_mgmt.
TYPE-POOLS: abap, vrm.
* CLASS lcl_application DEFINITION
CLASS lcl_application DEFINITION FINAL.
PUBLIC SECTION.
CONSTANTS: lc_comma TYPE char01 VALUE ',',
lc_pipe TYPE char01 VALUE '|',
lc_tab TYPE char10 VALUE 'TAB'.
TYPES: BEGIN OF t_appldim,
appl_id TYPE uj_appl_id,
dimension TYPE uj_dim_name,
END OF t_appldim.
TYPES: BEGIN OF t_appldimmembers,
appl_id TYPE uj_appl_id,
dimension TYPE uj_dim_name,
member TYPE uj_dim_member,
END OF t_appldimmembers.
CLASS-METHODS: file_f4 RETURNING value(r_file) TYPE string,
directory_f4 RETURNING value(r_path) TYPE string,
get_initial_directory RETURNING value(r_path) TYPE string,
set_delimiter_listbox,
set_delimiter,
export_users_to_file,
import_users_from_file,
export_teams_to_file,
import_teams_from_file,
export_team_assign_to_file,
import_team_assign_from_file,
export_task_profiles_to_file,
import_task_profiles_from_file,
export_mem_profiles_to_file,
import_mem_profiles_from_file,
export_tap_assign_to_file,
import_tap_assign_from_file,
export_map_assign_to_file,
import_map_assign_from_file,
get_appset_data IMPORTING i_appset_id TYPE uj_appset_id
EXCEPTIONS appset_not_found .
PRIVATE SECTION.
CLASS-DATA: lv_appset_id TYPE uja_s_appset_info-appset_id.
CLASS-DATA: lv_delimiter TYPE string.
CLASS-DATA: ls_appset_info TYPE uja_s_appset_info.
CLASS-DATA: lt_appl_info TYPE uja_t_appl_info.
CLASS-DATA: lt_appl_dim TYPE TABLE OF t_appldim.
CLASS-DATA: lt_members TYPE TABLE OF t_appldimmembers.
CLASS-DATA: lt_teams_list TYPE uje_t_team.
CLASS-DATA: lt_users_list TYPE uje_t_user.
CLASS-DATA: lt_tprofs TYPE uje_t_api_profile_id.
CLASS-DATA: lt_mprofs TYPE uje_t_api_profile_id.
CLASS-DATA: lt_tasks TYPE uje_t_role_tskasg.
CLASS-DATA: lt_roles TYPE uje_t_role.
CLASS-DATA: lo_context TYPE REF TO if_uj_context.
CLASS-DATA: lt_alv_messages TYPE uj0_t_message.
CLASS-METHODS: set_global_context,
render_alv,
upload IMPORTING i_filepath TYPE any
RETURNING value(rt_strtab) TYPE stringtab,
download IMPORTING i_filepath TYPE any
it_datatab TYPE STANDARD TABLE,
user_is_valid IMPORTING i_user_id TYPE any
RETURNING value(r_boolean) TYPE abap_bool,
team_is_valid IMPORTING i_team_id TYPE any
RETURNING value(r_boolean) TYPE abap_bool,
tprofile_is_valid IMPORTING i_profile_id TYPE any
RETURNING value(r_boolean) TYPE abap_bool,
mprofile_is_valid IMPORTING i_profile_id TYPE any
RETURNING value(r_boolean) TYPE abap_bool,
role_is_valid IMPORTING i_role_id TYPE any
RETURNING value(r_boolean) TYPE abap_bool,
task_is_valid IMPORTING i_task_id TYPE any
RETURNING value(r_boolean) TYPE abap_bool.
ENDCLASS. "lcl_application DEFINITION
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_export RADIOBUTTON GROUP grp1 DEFAULT 'X' USER-COMMAND chk.
PARAMETERS: p_import RADIOBUTTON GROUP grp1.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS: p_appset TYPE uja_appset_info-appset_id.
PARAMETERS: p_file TYPE string LOWER CASE.
PARAMETERS: p_delmt TYPE char10 AS LISTBOX VISIBLE LENGTH 20
DEFAULT lcl_application=>lc_comma. "delimiter
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
PARAMETERS: p_eusers RADIOBUTTON GROUP grp2 MODIF ID exp.
PARAMETERS: p_eteams RADIOBUTTON GROUP grp2 MODIF ID exp.
PARAMETERS: p_eteama RADIOBUTTON GROUP grp2 MODIF ID exp.
PARAMETERS: p_etprof RADIOBUTTON GROUP grp2 MODIF ID exp.
PARAMETERS: p_emprof RADIOBUTTON GROUP grp2 MODIF ID exp.
PARAMETERS: p_etprfa RADIOBUTTON GROUP grp2 MODIF ID exp.
PARAMETERS: p_emprfa RADIOBUTTON GROUP grp2 MODIF ID exp.
SELECTION-SCREEN END OF BLOCK b3.
SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-004.
PARAMETERS: p_iusers RADIOBUTTON GROUP grp3 MODIF ID imp.
PARAMETERS: p_iteams RADIOBUTTON GROUP grp3 MODIF ID imp.
PARAMETERS: p_iteama RADIOBUTTON GROUP grp3 MODIF ID imp.
PARAMETERS: p_itprof RADIOBUTTON GROUP grp3 MODIF ID imp.
PARAMETERS: p_improf RADIOBUTTON GROUP grp3 MODIF ID imp.
PARAMETERS: p_itprfa RADIOBUTTON GROUP grp3 MODIF ID imp.
PARAMETERS: p_imprfa RADIOBUTTON GROUP grp3 MODIF ID imp.
SELECTION-SCREEN END OF BLOCK b4.
INITIALIZATION.
p_file = lcl_application=>get_initial_directory( ).
lcl_application=>set_delimiter_listbox( ).
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_export = abap_true AND screen-group1 = 'IMP'.
screen-active = '0'.
ENDIF.
IF p_import = abap_true AND screen-group1 = 'EXP'.
screen-active = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
AT SELECTION-SCREEN.
CASE abap_true.
WHEN p_export.
CLEAR: p_iusers, p_iteams, p_iteama, p_itprof,
p_improf, p_itprfa, p_imprfa.
WHEN p_import.
CLEAR: p_eusers, p_eteams, p_eteama, p_etprof,
p_emprof, p_etprfa, p_emprfa.
ENDCASE.
IF sy-ucomm <> 'CHK'.
IF p_appset IS INITIAL.
MESSAGE e001(00) WITH 'Please enter an AppSet Id'.
ENDIF.
IF p_file IS INITIAL.
MESSAGE e001(00) WITH 'Please enter a valid directory or file'.
ENDIF.
IF p_delmt IS INITIAL.
MESSAGE e001(00) WITH 'Please specify a delimiter'.
ENDIF.
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CASE abap_true.
WHEN p_export. p_file = lcl_application=>directory_f4( ).
WHEN p_import. p_file = lcl_application=>file_f4( ).
ENDCASE.
START-OF-SELECTION.
lcl_application=>set_delimiter( ).
lcl_application=>get_appset_data(
EXPORTING
i_appset_id = p_appset
EXCEPTIONS
appset_not_found = 1 ).
IF sy-subrc <> 0.
RETURN.
ENDIF.
CASE abap_true.
WHEN p_eusers. lcl_application=>export_users_to_file( ).
WHEN p_iusers. lcl_application=>import_users_from_file( ).
WHEN p_eteams. lcl_application=>export_teams_to_file( ).
WHEN p_iteams. lcl_application=>import_teams_from_file( ).
WHEN p_eteama. lcl_application=>export_team_assign_to_file( ).
WHEN p_iteama. lcl_application=>import_team_assign_from_file( ).
WHEN p_etprof. lcl_application=>export_task_profiles_to_file( ).
WHEN p_itprof. lcl_application=>import_task_profiles_from_file( ).
WHEN p_emprof. lcl_application=>export_mem_profiles_to_file( ).
WHEN p_improf. lcl_application=>import_mem_profiles_from_file( ).
WHEN p_etprfa. lcl_application=>export_tap_assign_to_file( ).
WHEN p_itprfa. lcl_application=>import_tap_assign_from_file( ).
WHEN p_emprfa. lcl_application=>export_map_assign_to_file( ).
WHEN p_imprfa. lcl_application=>import_map_assign_from_file( ).
ENDCASE.
* CLASS lcl_application IMPLEMENTATION
CLASS lcl_application IMPLEMENTATION.
METHOD file_f4.
DATA: lt_file_table TYPE filetable.
DATA: ls_file_table LIKE LINE OF lt_file_table.
DATA: lv_rc TYPE sy-subrc.
cl_gui_frontend_services=>file_open_dialog(
CHANGING
file_table = lt_file_table
rc = lv_rc ).
CLEAR ls_file_table .
READ TABLE lt_file_table INTO ls_file_table INDEX 1.
IF sy-subrc = 0.
r_file = ls_file_table-filename.
ENDIF.
ENDMETHOD. "file_f4
METHOD directory_f4.
cl_gui_frontend_services=>directory_browse(
CHANGING
selected_folder = r_path
EXCEPTIONS
OTHERS = 4 ).
ENDMETHOD. "directory_f4
METHOD upload.
cl_gui_frontend_services=>gui_upload(
EXPORTING
filename = i_filepath
CHANGING
data_tab = rt_strtab
EXCEPTIONS
OTHERS = 19 ).
IF sy-subrc <> 0.
MESSAGE e001(00) WITH 'File not found, check file path and name'.
ENDIF.
DELETE rt_strtab WHERE table_line IS INITIAL.
ENDMETHOD. "upload
METHOD download.
DATA: lt_datatab TYPE stringtab.
DATA: ls_datatab LIKE LINE OF lt_datatab.
FIELD-SYMBOLS: <ls_data> TYPE ANY.
FIELD-SYMBOLS: <lv_field> TYPE ANY.
* Convert table to delimited string table
LOOP AT it_datatab ASSIGNING <ls_data>.
CLEAR ls_datatab.
DO.
ASSIGN COMPONENT sy-index
OF STRUCTURE <ls_data> TO <lv_field>.
IF sy-subrc <> 0.
EXIT.
ENDIF.
IF ls_datatab IS INITIAL.
ls_datatab = <lv_field>.
ELSE.
CONCATENATE ls_datatab <lv_field>
INTO ls_datatab SEPARATED BY lcl_application=>lv_delimiter.
ENDIF.
ENDDO.
APPEND ls_datatab TO lt_datatab.
ENDLOOP.
cl_gui_frontend_services=>gui_download(
EXPORTING
filename = i_filepath
CHANGING
data_tab = lt_datatab
EXCEPTIONS
OTHERS = 24 ).
IF sy-subrc <> 0.
MESSAGE e001(00)
WITH 'File not downloaded, check file path and name'.
ENDIF.
ENDMETHOD. "download
METHOD get_initial_directory.
cl_gui_frontend_services=>get_desktop_directory(
CHANGING
desktop_directory = r_path ).
cl_gui_cfw=>flush( ).
CONCATENATE r_path '\*.csv' INTO r_path.
ENDMETHOD. "get_initial_directory
METHOD export_users_to_file.
TYPES: BEGIN OF t_output,
user_id TYPE uje_user-user_id,
fullname TYPE uje_user-fullname,
email TYPE uje_user-email,
END OF t_output.
DATA: lt_user_id TYPE uje_t_api_user_id.
DATA: lt_users TYPE uje_t_user.
DATA: ls_users LIKE LINE OF lt_users.
DATA: lt_output TYPE TABLE OF t_output.
DATA: ls_output LIKE LINE OF lt_output.
lcl_application=>set_global_context( ).
CALL FUNCTION 'UJE_API_GET_LIST_USERS'
EXPORTING
i_appset_id = lcl_application=>lv_appset_id
is_user = lcl_application=>lo_context->ds_user
it_user_id = lt_user_id
IMPORTING
et_user = lt_users.
REFRESH lt_output.
LOOP AT lt_users INTO ls_users.
MOVE-CORRESPONDING ls_users TO ls_output.
APPEND ls_output TO lt_output.
ENDLOOP.
* Download table
lcl_application=>download( EXPORTING i_filepath = p_file
it_datatab = lt_output ).
ENDMETHOD. "export_users_to_file
METHOD import_users_from_file.
DATA: lv_action TYPE uj_action.
DATA: lv_success TYPE uj_bool.
DATA: ls_user_info TYPE uje_s_userinfo.
DATA: lt_messages TYPE uj0_t_message.
DATA: ls_alv_messages LIKE LINE OF lt_alv_messages.
DATA: lt_team_asin TYPE uje_t_user_team.
DATA: lt_tprofiles TYPE uje_t_profile_id_act.
DATA: lt_mprofiles TYPE uje_t_profile_id_act.
DATA: lt_strtab TYPE stringtab.
DATA: ls_strtab LIKE LINE OF lt_strtab.
lt_strtab = lcl_application=>upload( p_file ).
LOOP AT lt_strtab INTO ls_strtab.
SPLIT ls_strtab AT lcl_application=>lv_delimiter INTO ls_user_info-user_id
ls_user_info-fullname
ls_user_info-email.
* Check if user already exists, and set action accordingly.
IF lcl_application=>user_is_valid( ls_user_info-user_id ) = abap_false.
lv_action = 'I'.
ELSE.
lv_action = 'M'.
ENDIF.
CALL FUNCTION 'UJE_API_MANAGE_USER2'
EXPORTING
i_appset_id = lcl_application=>lv_appset_id
is_user = lcl_application=>lo_context->ds_user
is_user_info = ls_user_info
i_action = lv_action
it_team_asin = lt_team_asin
it_tprofile_id = lt_tprofiles
it_mprofile_id = lt_mprofiles
IMPORTING
e_success = lv_success
et_message_lines = lt_messages.
IF lv_success = 'Y'.
CLEAR ls_alv_messages.
ls_alv_messages-msgid = '00'.
ls_alv_messages-msgty = 'S'.
ls_alv_messages-msgno = '001'.
CONCATENATE 'User ID' ls_user_info-user_id
'has been created/updated successfully'
INTO ls_alv_messages-message SEPARATED BY space.
APPEND ls_alv_messages TO lt_alv_messages.
ELSE.
APPEND LINES OF lt_messages TO lt_alv_messages.
CLEAR ls_alv_messages.
ls_alv_messages-msgid = '00'.
ls_alv_messages-msgty = 'E'.
ls_alv_messages-msgno = '001'.
CONCATENATE 'User ID' ls_user_info-user_id
'not created/updated due to error'
INTO ls_alv_messages-message SEPARATED BY space.
APPEND ls_alv_messages TO lt_alv_messages.
ENDIF.
ENDLOOP.
lcl_application=>render_alv( ).
ENDMETHOD. "create_users_from_file
METHOD export_teams_to_file.
TYPES: BEGIN OF t_output,
team_id TYPE uje_s_team-team_id,
description TYPE uje_s_team-description,
END OF t_output.
DATA: lt_teams TYPE uje_t_team.
DATA: ls_teams LIKE LINE OF lt_teams.
DATA: lt_output TYPE TABLE OF t_output.
DATA: ls_output LIKE LINE OF lt_output.
CALL FUNCTION 'UJE_API_GET_TEAMS'
EXPORTING
i_appset_id = lcl_application=>lv_appset_id
is_user = lcl_application=>lo_context->ds_user
IMPORTING
et_team = lt_teams.
REFRESH lt_output.
LOOP AT lt_teams INTO ls_teams.
MOVE-CORRESPONDING ls_teams TO ls_output.
APPEND ls_output TO lt_output.
ENDLOOP.
* Download table
lcl_application=>download( EXPORTING i_filepath = p_file
it_datatab = lt_output ).
ENDMETHOD. "export_teams_to_file
METHOD import_teams_from_file.
DATA: lv_action TYPE uj_action.
DATA: lv_success TYPE uj_bool.
DATA: ls_team TYPE uje_s_team.
DATA: lt_messages TYPE uj0_t_message.
DATA: ls_alv_messages LIKE LINE OF lt_alv_messages.
DATA: lt_users TYPE uje_t_user_team.
DATA: lt_tprofiles TYPE uje_t_profile_id_act.
DATA: lt_mprofiles TYPE uje_t_profile_id_act.
DATA: lt_strtab TYPE stringtab.
DATA: ls_strtab LIKE LINE OF lt_strtab.
lt_strtab = lcl_application=>upload( p_file ).
LOOP AT lt_strtab INTO ls_strtab.
SPLIT ls_strtab AT lcl_application=>lv_delimiter INTO ls_team-team_id
ls_team-description.
* Check if team is already a valid team, set action appropriatly
IF lcl_application=>team_is_valid( ls_team-team_id ) = abap_false.
lv_action = 'I'.
ELSE.
lv_action = 'M'.
ENDIF.
CALL FUNCTION 'UJE_API_MANAGE_TEAM2'
EXPORTING
i_appset_id = lcl_application=>lv_appset_id
is_user = lcl_application=>lo_context->ds_user
is_team = ls_team
i_action = lv_action
it_users = lt_users
it_tprofile_id = lt_tprofiles
it_mprofile_id = lt_mprofiles
IMPORTING
e_success = lv_success
et_message_lines = lt_messages.
IF lv_success = 'Y'.
CLEAR ls_alv_messages.
ls_alv_messages-msgid = '00'.
ls_alv_messages-msgty = 'S'.
ls_alv_messages-msgno = '001'.
CONCATENATE 'Team' ls_team-team_id
'has been created/updated successfully'
INTO ls_alv_messages-message SEPARATED BY space.
APPEND ls_alv_messages TO lt_alv_messages.
ELSE.
APPEND LINES OF lt_messages TO lt_alv_messages.
CLEAR ls_alv_messages.
ls_alv_messages-msgid = '00'.
ls_alv_messages-msgty = 'E'.
ls_alv_messages-msgno = '001'.
CONCATENATE 'Team' ls_team-team_id
'not created/updated due to error'
INTO ls_alv_messages-message SEPARATED BY space.
APPEND ls_alv_messages TO lt_alv_messages.
ENDIF.
ENDLOOP.
lcl_application=>render_alv( ).
ENDMETHOD. "create_teams_from_file
METHOD export_team_assign_to_file.
TYPES: BEGIN OF t_user_assign,
user_id TYPE uje_s_user_team-user_id,
team_id TYPE uje_s_user_team-team_id,
teamleader TYPE uje_s_user_team-teamleader,
END OF t_user_assign.
DATA: lt_user_det TYPE uje_t_user_detail.
DATA: ls_user_det LIKE LINE OF lt_user_det.
DATA: ls_user_team TYPE uje_s_user_team.
DATA: lt_team_assign TYPE TABLE OF t_user_assign.
DATA: ls_team_assign LIKE LINE OF lt_team_assign.
CALL FUNCTION 'UJE_API_GET_USERDATA'
EXPORTING
i_appset_id = lcl_application=>lv_appset_id
is_user = lcl_application=>lo_context->ds_user
IMPORTING
et_user = lt_user_det.
LOOP AT lt_user_det INTO ls_user_det.
LOOP AT ls_user_det-t_team_id INTO ls_user_team.
MOVE-CORRESPONDING ls_user_team TO ls_team_assign.
APPEND ls_team_assign TO lt_team_assign.
ENDLOOP.
ENDLOOP.
* Download table
lcl_application=>download( EXPORTING i_filepath = p_file
it_datatab = lt_team_assign ).
ENDMETHOD. "export_team_assign_to_file
METHOD import_team_assign_from_file.
TYPES: BEGIN OF t_user_assign,
user_id TYPE uje_s_user_team-user_id,
team_id TYPE uje_s_user_team-team_id,
teamleader TYPE uje_s_user_team-teamleader,
END OF t_user_assign.
DATA: lv_success TYPE uj_bool.
DATA: lt_user_team_temp TYPE uje_t_user_team.
DATA: ls_user_team_temp TYPE uje_s_user_team.
DATA: lt_user_team TYPE uje_t_user_team.
DATA: ls_user_team TYPE uje_s_user_team.
DATA: ls_team_assign TYPE uje_s_user_team.
DATA: lt_messages TYPE uj0_t_message.
DATA: ls_alv_messages LIKE LINE OF lt_alv_messages.
DATA: lt_tprofiles TYPE uje_t_profile_id_act.
DATA: ls_tprofiles LIKE LINE OF lt_tprofiles.
DATA: lt_mprofiles TYPE uje_t_profile_id_act.
DATA: ls_mprofiles LIKE LINE OF lt_mprofiles.
DATA: lt_tprofile_ids TYPE uje_t_api_profile_id.
DATA: ls_tprofile_ids LIKE LINE OF lt_tprofile_ids.
DATA: lt_mprofile_ids TYPE uje_t_api_profile_id.
DATA: ls_mprofile_ids LIKE LINE OF lt_mprofile_ids.
DATA: lt_strtab TYPE stringtab.
DATA: ls_strtab LIKE LINE OF lt_strtab.
DATA: ls_teams_list LIKE LINE OF lt_teams_list.
lt_strtab = lcl_application=>upload( p_file ).
LOOP AT lt_strtab INTO ls_strtab.
SPLIT ls_strtab AT lcl_application=>lv_delimiter INTO ls_team_assign-user_id
ls_team_assign-team_id
ls_team_assign-teamleader.
CLEAR ls_user_team.
ls_user_team-user_id = ls_team_assign-user_id.
ls_user_team-team_id = ls_team_assign-team_id.
ls_user_team-teamleader = ls_team_assign-teamleader.
TRANSLATE ls_user_team-teamleader USING 'YXyX1XxXN n 0 '. "Translate to X or space
APPEND ls_user_team TO lt_user_team.
IF lcl_application=>team_is_valid( ls_team_assign-team_id ) = abap_false.
CLEAR ls_alv_messages.
ls_alv_messages-msgid = '00'.
ls_alv_messages-msgty = 'E'.
ls_alv_messages-msgno = '001'.
CONCATENATE 'Team' ls_team_assign-team_id 'does not yet exist.'
'No user assigments done.'
INTO ls_alv_messages-message SEPARATED BY space.
APPEND ls_alv_messages TO lt_alv_messages.
lcl_application=>render_alv( ).
RETURN.
ENDIF.
IF lcl_application=>user_is_valid( ls_team_assign-user_id ) = abap_false.
CLEAR ls_alv_messages.
ls_alv_messages-msgid = '00'.
ls_alv_messages-msgty = 'E'.
ls_alv_messages-msgno = '001'.
CONCATENATE 'User' ls_team_assign-user_id 'does not yet exist.'
'No user assigments done.'
INTO ls_alv_messages-message SEPARATED BY space.
APPEND ls_alv_messages TO lt_alv_messages.
lcl_application=>render_alv( ).
RETURN.
ENDIF.
ENDLOOP.
LOOP AT lcl_application=>lt_teams_list INTO ls_teams_list.
REFRESH lt_user_team_temp.
REFRESH lt_tprofile_ids.
REFRESH lt_mprofile_ids.
* Check that there is data for team assignment, otherwise skip
READ TABLE lt_user_team TRANSPORTING NO FIELDS
WITH KEY team_id = ls_teams_list-team_id.
IF sy-subrc <> 0.
CONTINUE.
ENDIF.
* Get existing team data for this team.
CALL FUNCTION 'UJE_API_GET_TEAMDATA'
EXPORTING
i_appset_id = lcl_application=>lv_appset_id
is_user = lcl_application=>lo_context->ds_user
i_team_id = ls_teams_list-team_id
IMPORTING
et_user_team = lt_user_team_temp
et_tprofile_id = lt_tprofile_ids
et_mprofile_id = lt_mprofile_ids.
* Update with new users.
LOOP AT lt_user_team INTO ls_user_team
WHERE team_id = ls_teams_list-team_id.
MOVE-CORRESPONDING ls_user_team TO ls_user_team_temp.
APPEND ls_user_team_temp TO lt_user_team_temp.
ENDLOOP.
* Keep existing profiles.
REFRESH lt_tprofiles.
LOOP AT lt_tprofile_ids INTO ls_tprofile_ids.
ls_tprofiles-profile_id = ls_tprofile_ids-profile_id.
APPEND ls_tprofiles TO lt_tprofiles.
ENDLOOP.
REFRESH lt_mprofiles.
LOOP AT lt_mprofile_ids INTO ls_mprofile_ids.
ls_mprofiles-profile_id = ls_mprofile_ids-profile_id.
APPEND ls_mprofiles TO lt_mprofiles.
ENDLOOP.
* now update the user/team assignments
CALL FUNCTION 'UJE_API_MANAGE_TEAM2'
EXPORTING
i_appset_id = lcl_application=>lv_appset_id
is_user = lcl_application=>lo_context->ds_user
is_team = ls_teams_list
i_action = 'M'
it_users = lt_user_team_temp
it_tprofile_id = lt_tprofiles
it_mprofile_id = lt_mprofiles
IMPORTING
e_success = lv_success
et_message_lines = lt_messages.
IF lv_success = 'Y'.
CLEAR ls_alv_messages.
ls_alv_messages-msgid = '00'.
ls_alv_messages-msgty = 'S'.
ls_alv_messages-msgno = '001'.
CONCATENATE 'Team' ls_teams_list-team_id 'user assignments'
'have been updated successfully'
INTO ls_alv_messages-message SEPARATED BY space.
APPEND ls_alv_messages TO lt_alv_messages.
ELSE.
APPEND LINES OF lt_messages TO lt_alv_messages.
CLEAR ls_alv_messages.
ls_alv_messages-msgid = '00'.
ls_alv_messages-msgty = 'E'.
ls_alv_messages-msgno = '001'.
CONCATENATE 'Team' ls_teams_list-team_id 'user assignments'
'not updated due to error'
INTO ls_alv_messages-message SEPARATED BY space.
APPEND ls_alv_messages TO lt_alv_messages.
ENDIF.
ENDLOOP.
lcl_application=>render_alv( ).
ENDMETHOD. "import_team_assign_from_file
METHOD export_task_profiles_to_file.
TYPES: BEGIN OF t_output,
identifier TYPE char01, " Row Identifer
profile TYPE uj_profile_id,
values TYPE string,
END OF t_output.
DATA: ls_tprofs LIKE LINE OF lt_tprofs.
DATA: lv_profile TYPE uj_profile_id.
DATA: ls_profile TYPE uje_s_profile.
DATA: lt_role_id TYPE uje_t_api_role_id.
DATA: ls_role_id LIKE LINE OF lt_role_id.
DATA: lt_task_info TYPE uje_t_task_info.
DATA: ls_task_info LIKE LINE OF lt_task_info.
DATA: lt_users_asin TYPE uje_t_api_user_id.
DATA: ls_users_asin LIKE LINE OF lt_users_asin.
DATA: lt_teams_asin TYPE uje_t_api_team_id.
DATA: ls_teams_asin LIKE LINE OF lt_teams_asin.
DATA: lt_output TYPE TABLE OF t_output.
DATA: ls_output LIKE LINE OF lt_output.
LOOP AT lcl_application=>lt_tprofs INTO ls_tprofs.
lv_profile = ls_tprofs-profile_id.
* Get relevant data for task profile
CLEAR ls_profile.
REFRESH: lt_role_id, lt_task_info, lt_users_asin, lt_teams_asin.
CALL FUNCTION 'UJE_API_GET_TPROFILEDATA2'
EXPORTING
i_appset_id = lcl_application=>lv_appset_id
is_user = lcl_application=>lo_context->ds_user
i_profile_id = lv_profile
IMPORTING
es_profile = ls_profile
et_role_id = lt_role_id
et_task_info = lt_task_info
et_user_id = lt_users_asin
et_team_id = lt_teams_asin.
* Write Header row
CLEAR ls_output.
ls_output-identifier = 'H'.
ls_output-profile = lv_profile.
ls_output-values = ls_profile-description.
APPEND ls_output TO lt_output.
* Write task assigments
CLEAR ls_output.
ls_output-identifier = 'K'.
ls_output-profile = lv_profile.
LOOP AT lt_task_info INTO ls_task_info.
ls_output-values = ls_task_info-task_id.
APPEND ls_output TO lt_output.
ENDLOOP.
* Write role assigments
CLEAR ls_output.
ls_output-identifier = 'R'.
ls_output-profile = lv_profile.
LOOP AT lt_role_id INTO ls_role_id.
ls_output-values = ls_role_id-role_id.
APPEND ls_output TO lt_output.
ENDLOOP.
* Write user assignments
CLEAR ls_output.
ls_output-identifier = 'U'.
ls_output-profile = lv_profile.
LOOP AT lt_users_asin INTO ls_users_asin.
ls_output-values = ls_users_asin-user_id.
APPEND ls_output TO lt_output.
ENDLOOP.
* Write team assignments
CLEAR ls_output.
ls_output-identifier = 'T'.
ls_output-profile = lv_profile.
LOOP AT lt_teams_asin INTO ls_teams_asin.
ls_output-values = ls_teams_asin-team_id.
APPEND ls_output TO lt_output.
ENDLOOP.
ENDLOOP.
* Download table
lcl_application=>download( EXPORTING i_filepath = p_file
it_datatab = lt_output ).
ENDMETHOD. "export_task_profiles_to_file
METHOD import_task_profiles_from_file.
TYPES: BEGIN OF t_input,
identifier TYPE char01, " Row Identifer
profile TYPE uj_profile_id,
values TYPE string,
END OF t_input.
TYPES: BEGIN OF t_task_profile,
profile TYPE uje_s_profile,
roles TYPE uje_t_api_role_id,
task_info TYPE uje_t_task_info,
users_asin TYPE uje_t_api_user_id,
teams_asin TYPE uje_t_api_team_id,
END OF t_task_profile.
DATA: lt_task_profile TYPE TABLE OF t_task_profile.
DATA: ls_task_profile LIKE LINE OF lt_task_profile.
DATA: ls_alv_messages LIKE LINE OF lt_alv_messages.
DATA: lt_messages TYPE uj0_t_message.
DATA: lv_action TYPE uj_action.
DATA: lv_success TYPE uj_bool.
DATA: lv_last_profile TYPE uj_profile_id.
DATA: lt_role_id TYPE uje_t_api_role_id.
DATA: ls_role_id LIKE LINE OF lt_role_id.
DATA: lt_task_info TYPE uje_t_task_info.
DATA: ls_task_info LIKE LINE OF lt_task_info.
DATA: lt_users_asin TYPE uje_t_api_user_id.
DATA: ls_users_asin LIKE LINE OF lt_users_asin.
DATA: lt_teams_asin TYPE uje_t_api_team_id.
DATA: ls_teams_asin LIKE LINE OF lt_teams_asin.
DATA: lt_strtab TYPE stringtab.
DATA: ls_strtab LIKE LINE OF lt_strtab.
DATA: lt_input TYPE TABLE OF t_input.
DATA: ls_input LIKE LINE OF lt_input.
DATA: lt_obj_asin TYPE uje_t_profile_asin.
DATA: ls_obj_asin LIKE LINE OF lt_obj_asin.
DATA: lt_task_asin TYPE uje_t_task_id_act.
DATA: ls_task_asin LIKE LINE OF lt_task_asin.
* Upload file
lt_strtab = lcl_application=>upload( p_file ).
* Rip import file into internal table
LOOP AT lt_strtab INTO ls_strtab.
CLEAR ls_input.
SPLIT ls_strtab AT lcl_application=>lv_delimiter INTO ls_input-identifier
ls_input-profile
ls_input-values.
APPEND ls_input TO lt_input.
ENDLOOP.
* Build profile table containing all associated data
SORT lt_input STABLE ASCENDING BY profile identifier values.
LOOP AT lt_input INTO ls_input.
IF ls_input-profile <> lv_last_profile
AND lv_last_profile IS NOT INITIAL.
APPEND ls_task_profile TO lt_task_profile.
CLEAR ls_task_profile.
ENDIF.
* Based on record identifier
CASE ls_input-identifier.
WHEN 'H'. " Header
ls_task_profile-profile-profile_id = ls_input-profile.
ls_task_profile-profile-description = ls_input-values.
WHEN 'K'. " Task info
SPLIT ls_input-values AT lcl_application=>lv_delimiter INTO ls_task_info-task_id
ls_task_info-description.
IF lcl_application=>task_is_valid( ls_task_info-task_id ) = abap_false.
CLEAR ls_alv_messages.
ls_alv_messages-msgid = '00'.
ls_alv_messages-msgty = 'E'.
ls_alv_messages-msgno = '001'.
CONCATENATE 'Task ID' ls_task_info-task_id 'is not valid.'
'No task profile updates done.'
INTO ls_alv_messages-message SEPARATED BY space.
APPEND ls_alv_messages TO lt_alv_messages.
lcl_application=>render_alv( ).
RETURN.
ENDIF.
APPEND ls_task_info TO ls_task_profile-task_info.
WHEN 'R'. " Roles
ls_role_id = ls_input-values.
IF lcl_application=>role_is_valid( ls_role_id ) = abap_false.
CLEAR ls_alv_messages.
ls_alv_messages-msgid = '00'.
ls_alv_messages-msgty = 'E'.
ls_alv_messages-msgno = '001'.
CONCATENATE 'Role ID' ls_role_id 'is not valid.'
-
Microsoft ODBC Manager: System error 998
I've just installed Oracle 10.2.0 Enterprise Edition. I want to create a ODBC connection in microsoft ODBC manager but then appear following windows message:
"Cannot load oracle routines instalation of ODBC controller in OraDb10g_home1. System error 998"
Does anybody know how can I solve that?
ThanksThis error code means this:
ERROR_BAD_EXE_FORMAT
193 (0xC1)
%1 is not a valid Win32 application.
If you are talking about ODBCAD32.exe, then it looks like the installation of the driver mis-registered a 32 bit driver ad 64 bit or vise-versa. It is trying to load either a 32 bit driver from the 64 bit version (C:\windows\system32\odbcad32.exe) or trying to load a 64 bit driver from the 32 bit version (C:\windows\syswow64\odbcad32.exe). As the driver listing is determined by registry keys that are set on installation of the driver, it is likely that the driver installer has a fault which is causing it to be mis-registered with ODBC.
I would take this up with Oracle from here, I suppose.
Hope that helps,
JohnThis post is provided 'as is' and confers no express or implied warranties or rights. -
Ringback Tone Manager - System Error
I am unable to manage my ringbacks. Whenever I try to change the default, create a new jukebox or edit my preferences in any way, a message pops up with "System error or unknown error". Please advise!
It appears to be fixed now! Thanks!!
-
Solaris 10 x86 Update Manager & smpatch errors
I've recently installed Solaris 10 on two x86 machines and, even after installing patch 121119-15, I'm having Update Manager and smpatch issues. It appears to be due to certificate troubles.
I've followed several sets of instructions (including cacaoadm stop/start and registration) and nothing has seemed to work.
I have successfully connected to:
# telnet sun.com 80
# telnet cns-services.sun.com 443
# telnet getupdates1.sun.com 443
# telnet a248.e.akamai.net 443
I have also tried:
# cacaoadm stop
# cacaoadm status
# /usr/lib/cc-ccr/bin/eraseCCRRepository
# rm /var/scn/persistence/SCN*
# cacaoadm start
Reregistering didn't change anything.
Thanks in advance for everyone's help!
~~~~~~~~
Output of smpatch analyze:
bash-3.00# smpatch analyze -C patchpro.debug=true
Effective proxy host : ""
Effective proxy port : ""
Effective proxy user : ""
Last Modified Date read: Wed Dec 31 19:00:00 EST 1969
... Submitting download request against a GUUS server
... ... Hostname of URL is getupdates1.sun.com
... ... Filename of URL is /xml/motd.xml
... ... File path portion of URL is /xml/motd.xml
Defining request header : IF_MODIFIED_SINCE... valueWed Dec 31 19:00:00 EST 1969
Key 1 : Server = Sun-Java-System-Web-Server/7.0
Key 2 : Date = Mon, 11 May 2009 20:43:31 GMT
Key 3 : Content-disposition = attachment; filename=xml/motd.xml
Key 4 : Content-type = text/xml
Key 5 : Content-length = 10513
Key 6 : Set-Cookie = 01SessionID=0xe2849044; path=/
Last Modified Date value written to /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd is 0
Date format for this value: Wed Dec 31 19:00:00 EST 1969
Last Modified Date file updated : /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd
Last Modified Date read: Wed Dec 31 19:00:00 EST 1969
... Submitting download request against a GUUS server
... ... Hostname of URL is getupdates1.sun.com
... ... Filename of URL is /xml/motd.xml
... ... File path portion of URL is /xml/motd.xml
Defining request header : IF_MODIFIED_SINCE... valueWed Dec 31 19:00:00 EST 1969
Key 1 : Server = Sun-Java-System-Web-Server/7.0
Key 2 : Date = Mon, 11 May 2009 20:43:31 GMT
Key 3 : Content-disposition = attachment; filename=xml/motd.xml
Key 4 : Content-type = text/xml
Key 5 : Content-length = 10513
Key 6 : Set-Cookie = 01SessionID=0xfb9fa105; path=/
Last Modified Date value written to /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd is 0
Date format for this value: Wed Dec 31 19:00:00 EST 1969
Last Modified Date file updated : /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd
Effective proxy host : ""
Effective proxy port : ""
Effective proxy user : ""
... Submitting download request against a GUUS server
... ... Hostname of URL is getupdates1.sun.com
... ... Filename of URL is /database/current2.zip
... ... File path portion of URL is /database/current2.zip
Effective proxy host : ""
Effective proxy port : ""
Effective proxy user : ""
... Submitting download request against a GUUS server
... ... Hostname of URL is getupdates1.sun.com
... ... Filename of URL is /detector/detectors.jar
... ... File path portion of URL is /detector/detectors.jar
Defining request header : IF_MODIFIED_SINCE... valueWed Dec 31 19:00:00 EST 1969
Defining request header : IF_MODIFIED_SINCE... valueWed Dec 31 19:00:00 EST 1969
Failure: Cannot connect to retrieve current2.zip: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
~~~~~~~~~~~~~~~~~~~~~~
Output of suc.sh:
bash-3.00# ./suc.sh
User: root
Logname: root
Mon May 11 16:44:15 EDT 2009
opc-sec-fimdev3
smpatch settings:
patchpro.backout.directory "" ""
patchpro.baseline.directory - /var/sadm/spool
patchpro.download.directory /var/sadm/spool /var/sadm/spool
patchpro.install.types - rebootafter:reconfigafter:standard
patchpro.patch.source - https://getupdates1.sun.com/
patchpro.patchset current2 current2
patchpro.proxy.host "" ""
patchpro.proxy.passwd **** ****
patchpro.proxy.port "" 8080
patchpro.proxy.user "" ""
smpatch analyze:
Failure: Cannot connect to retrieve current2.zip: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Entitlement:
Solaris10Security
SolarisSecurityUpdates
SolarisDataIntegrityUpdates
SolarisHardwareUpdates
SolarisUtilityUpdates
Public
Solaris10
SolarisAllUpdates
ContractRequired
Sun UC patch revision:
119789-09
120336-04
121082-06
121119-13
121119-15
121454-02
123004-03
123006-07
123631-03
123896-05
124187-07
Solaris release:
Solaris 10 10/08 s10x_u6wos_07b X86
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 27 October 2008
Solaris Kernel: Generic_137138-09
Machine Type: i86pc
Platform: i86pc
Java -version:
java version "1.5.0_16"
Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)
Cacao Java version:
java-home=/usr/jdk/jdk1.5.0_16
Software Cluster:
CLUSTER=SUNWCall
All ccr properties:
20:
Property not defined: 20
cns.assetid:
8kh0OIj4ADe5LdHlrU88bic3Lps=
cns.br.SunUCenabled:
true
cns.ccr.keyGenPath:
/usr/lib/cc-ccr/bin/ccrKeyGen
cns.clientid:
a1b19f4d-37db-446f-9707-181b8e47f0d6
cns.httpproxy.auth:
cns.httpproxy.ipaddr:
cns.httpproxy.port:
cns.patchsvr.cachelocation:
/var/sadm/spool/patchsvr
cns.patchsvr.patchsource:
https://getupdates.sun.com
cns.regtoken:
1c230c7b-4d6c-43f8-9802-c2c89f96493d:1269820800000:T
cns.security.password:
IJ3RI+p/Cb9M2qyVpqnw7ycp6tXQkSGkhIT/D/0KiPtH
cns.security.privatekey:
-----BEGIN ENCRYPTED PRIVATE KEY-----
REMOVED
-----END ENCRYPTED PRIVATE KEY-----
cns.security.publickey:
-----BEGIN PUBLIC KEY-----
REMOVED
-----END PUBLIC KEY-----
cns.swup.UMautolaunch:
false
cns.swup.autoAnalysis.enabled:
true
cns.swup.checkinInterval:
2
cns.swup.lastCheckin:
0
cns.swup.patchbaseline:
current
cns.swup.regRequired:
true
cns.transport.serverurl:
https://cns-transport.sun.com
patchsvr settings:
Patch source URL: https://getupdates.sun.com
Cache location: /var/sadm/spool/patchsvr
Sun UC package status:
SUNWbreg not installed
SUNWdc not installedI added patch 121082-08 and 123896-10 and modified the entries in /usr/sbin/pprosvc and /usr/bin/updatemanager.
I am now unable to register the system using the Registration Wizard or sconadm (Invalid Sun Online credentials which I know are correct).
Also, smpatch analyze exits with a timeout.
~~~~~reginfo.txt~~~~~~
userName=[obfuscated]
password=[obfuscated]
hostName=
subscriptionKey=
portalEnabled=false
proxyHostName=
proxyPort=
proxyUserName=
proxyPassword=
sconadm register -a -r /tmp/reginfo.txt
~~~~~basicreg.log~~~~~
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicReg loadPropertiesFromHomeDir
INFO: properties file loaded from the default config.properties
May 12, 2009 11:46:53 AM com.sun.scn.util.Utils getLocalHostNames
INFO: get hostname 172.28.121.3
May 12, 2009 11:46:53 AM com.sun.scn.util.Utils getLocalHostNames
INFO: first returned hostname 172.28.121.3
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setHost() = null
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setPort() = null
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setUser() = null
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter setProxy
INFO: SCNNetworkProxyConfigMBean.setPassword() = null
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: userName = [obfuscated]
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: password = *****
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: hostName =
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: subscriptionKey = ********
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: portalEnabled =false
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.BasicRegCLI run
INFO: Authenticating user ...
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter getSCNClientSession
INFO: CREATING SCNClientSession
May 12, 2009 11:46:53 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter$LoginAccountCallbackHandler handle
INFO: account callback setting username: [obfuscated]
May 12, 2009 11:47:14 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter loginAccount
SEVERE: Error: login account exception: AccessDeniedFault
May 12, 2009 11:47:14 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter loginAccount
SEVERE:
com.sun.scn.jmx.impl.UISClientLoginModule.login(UISClientLoginModule.java:216)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
javax.security.auth.login.LoginContext.login(LoginContext.java:575)
com.sun.scn.jmx.impl.UISClientLogin.login(UISClientLogin.java:201)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
javax.management.StandardMBean.invoke(StandardMBean.java:323)
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:203)
com.sun.cacao.agent.DispatchInterceptor.invoke(DispatchInterceptor.java:783)
com.sun.cacao.agent.auth.impl.AccessControlInterceptor.invoke(AccessControlInterceptor.java:638)
com.sun.jdmk.JdmkMBeanServerImpl.invoke(JdmkMBeanServerImpl.java:764)
com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.invoke(InstrumDefaultForwarder.java:126)
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
java.security.AccessController.doPrivileged(Native Method)
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1350)
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
sun.rmi.transport.Transport$1.run(Transport.java:153)
java.security.AccessController.doPrivileged(Native Method)
sun.rmi.transport.Transport.serviceCall(Transport.java:149)
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
java.lang.Thread.run(Thread.java:595)
May 12, 2009 11:47:14 AM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter getLoginResult
INFO: SCN Fault: AccessDeniedFault
May 12, 2009 11:47:14 AM com.sun.cns.basicreg.BasicRegCLI run
SEVERE: Sun On-line Account authentication failed
~~~~~~~~~~~~ -
Transport Management System Error
Trying to delete the TMS configuration the following error pops up:
"System 0 unknown in transport domain"
I'm performing this action on the transport domain controller [DEV] in
client 000 with my user [sap_all, sap_new].
Want to set up the transport routes between
DEV (4.7 EE) and MPD (ECC6.0) for the time
being. Any solution plz give reply
Thank youHello Manjula,
First of all STMS configurations needs to be carried out in client 000 with DDIC user with (SAP_ALL & SAP_NEW)
Since you are getting the error that the system you are trying to delete is not available in the domain you may update the domain configuration across all the systems from the domain controller.
Once it is done you may again add the new system to the transport domain and then can go ahead with the setting up of the transport routes.
Hope this info would help you.
Thanks and Regards,
-Bijesh. -
Oracle Enterprise Performance management system -error
Hi All
I am getting
Essbase error occured: Failed to deploy Essbase cube.
Caused by: Incompatible 'Duplicate member name support' setting.
OEPMS version : 11.1.2
Please help.ThanksHi
After importing the metadata , after validation and when I am trying to do the deployment, I got an error "Error adding Attribute to member A35027".
Then I changed the prpoerty of each dimension to "Allow duplicates in Dimension" and then changed the property of the application in OEPMS's outline to "Allow Duplicates in outline".
Thanks -
Error during Managed system setup "Wilyhost Agent" type
Hello All,
Managed system setup finished with one error. Iam using this for selfmonitoring (solman itself as managed system)
Error msg as follows.
0 Wilyhost Agent(s) from host inbbssun02 are connected to the EM.
Wilyhost Agent configuration finished without errors, but on Enterprise Manager (TDCTBI.india.tcs.com:6001) no Wilyhost Agent was detected from host inbbssun02. Please check the log file jvm_smdagent.out whether the Wilyhost Agent could connect to the Enterprise Manager. If the Enterprise Manager configuration has been changed recently please restart the SMD Agent on OS level.
I checked jvm_SMDAgent.out. and log as follows.
/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Introscope Agent Release 8.0.2.0 (Build 470970)
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Using Java VM version "Java HotSpot(TM) 64-Bit Server VM 1.4.2_20-rev" from S
un Microsystems Inc.
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Trying to load agent profile based on system property "com.wily.introscope.ag
entProfile"
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Trying to load file from /usr/sap/SMD/J98/SMDAgent/applications.config/com.sa
p.smd.agent.application.wilyhost/IntroscopeSapAgent.profile
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Loaded file from /usr/sap/SMD/J98/SMDAgent/applications.config/com.sap.smd.ag
ent.application.wilyhost/IntroscopeSapAgent.profile
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Agent Metric Aging is turned off
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Agent Metric Aging: property introscope.agent.metricAging.heartbeatInterval i
s set to 1800
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Agent Metric Aging: property introscope.agent.metricAging.dataChunk is set to
500
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Agent Metric Aging: property introscope.agent.metricAging.numberTimeslices is
set to 3000
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Looking for agent profile property "introscope.agent.extensions.directory" to
locate the extensions directory.
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] The agent extensions directory /usr/sap/SMD/J98/SMDAgent/applications.config/
com.sap.smd.agent.application.wilyhost/ext was successfully located
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Introscope Agent startup complete.
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] The Agent will attempt to determine its name.
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Using the Agent name "SAP HostAgent J98" based on the value of the System Pro
perty "com.wily.introscope.agent.agentName".
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent] Initial agent name set to SAP HostAgent J98
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent.Isengard] Initiating connection attempts to the Introscope Enterprise Manager.
1/06/10 02:55:29 PM IST [INFO] [IntroscopeAgent.Isengard] The Agent reconnection delay is set to 15 second(s).
1/06/10 02:55:30 PM IST [INFO] [IntroscopeAgent] Started Error Reporting service
[p4://inbbssun02:50004] Agent ready.
1/06/10 02:55:34 PM IST [INFO] [IntroscopeAgent.IsengardServerConnectionManager] Connected Agent to the Introscope Enterprise
Manager at TDCTBI.india.tcs.com:6001,com.wily.isengard.postofficehub.link.net.DefaultSocketFactory. Host = "inbbssun02", Proce
ss = "SAP HostAgent Process", Agent Name = "SAP HostAgent J98".
Is there any seperate setting for wilyhost agent connection to EM ?
Regards,
ShyamI have restarted the agent at OS level and it appears in the Agent Admin page.
I then re-ran the Managed System Config for this system and receive the same error.
I have looked at the jvm_smdagent.out file on the wilyhost and found the following errors
1/11/10 05:37:02 AM CET [INFO] [IntroscopeAgent] Looking for agent profile property "introscope.agent.extensions.directory" to locate the extensions directory.
1/11/10 05:37:02 AM CET [INFO] [IntroscopeAgent] The agent extension property "introscope.agent.extensions.directory" is not set. No extensions will be loaded.
1/11/10 05:37:02 AM CET [INFO] [IntroscopeAgent] Introscope Agent startup complete.
1/19/10 12:34:08 PM CET [WARN] [IntroscopeAgent.IsengardServerConnectionManager] The Introscope Agent is sending data to the Introscope Enterprise Manager too slowly. Keeping the connection alive.
The agent on the solution manager box is version 7.0 and the version od the agent on the PI box is 7.11
Regards
Stephen -
This is a tool that i've been working on for a couple of days, it needs work (so no flames) I want to make a similar linux compatable version aswell...
It's basically a tool that I think network administrators and pen-testers / ethical hackers alike would find usefull all comments welcome, it has the following features:
Ping computer
net view
nslookup
net users
tracert
syskey encryption
remote desktop
netstat
remote shutdown
ping of deathScreenshot -->
http://img138.imageshack.us/img138/4777/copyofblueprintfinallb7.jpg
Source code: http://www.mediafire.com/?7myynwankml
Class file: http://www.mediafire.com/?6zjdk3msmgm
Source:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.lang.*;
import java.lang.String.*;
//======================System error's blueprint=======================
class blueprint extends JFrame implements ActionListener
JButton button1 = new JButton("Ping computer");
JButton button2 = new JButton("network view");
JButton button3 = new JButton("nslookup");
JButton button4 = new JButton(" net users ");
JButton button5 = new JButton("Tracert");
JButton button6 = new JButton("syskey encryption");
JButton button7 = new JButton("remote desktop");
JButton button8 = new JButton(" netstat ");
JButton button9 = new JButton("Remote shutdown");//shutdown.exe -i -l -s -r -a -f -m
JButton button10 = new JButton("ping of death (DOS)");
JButton button11 = new JButton("exit program");
JButton button12 = new JButton("OK!");
JLabel textLabel3 = new JLabel ("");
JLabel textLabel = new JLabel ("URL or IP address:");
JTextField text = new JTextField("127.0.0.1 ", 17);
JLabel textLabel2 = new JLabel ("Coded by System error (: [email protected] ");
//Create the window
JTextArea textarea = new JTextArea(2,25);
JTextArea textarea2 = new JTextArea(2,25);
public blueprint()
super ("System error's blueprint");
setSize(500, 600);
setResizable(false);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
button1.addActionListener(this);
button1.setBackground(Color.black);
button1.setForeground(Color.red);
content.add(button1);
setContentPane(content);
Color customgreen = new Color (128, 0, 128);
Color customblack = new Color (128, 0, 128);
button2.addActionListener(this);
button2.setBackground(Color.black);
button2.setForeground(Color.red);
content.add(button2);
setContentPane(content);
button3.addActionListener(this);
button3.setBackground(Color.black);
button3.setForeground(Color.red);
content.add(button3);
setContentPane(content);
button4.addActionListener(this);
button4.setBackground(Color.black);
button4.setForeground(Color.red);
content.add(button4);
setContentPane(content);
button5.addActionListener(this);
button5.setBackground(Color.black);
button5.setForeground(Color.red);
content.add(button5);
setContentPane(content);
button6.addActionListener(this);
button6.setBackground(Color.black);
button6.setForeground(Color.red);
content.add(button6);
setContentPane(content);
button7.addActionListener(this);
button7.setBackground(Color.black);
button7.setForeground(Color.red);
content.add(button7);
setContentPane(content);
button8.addActionListener(this);
button8.setBackground(Color.black);
button8.setForeground(Color.red);
content.add(button8);
setContentPane(content);
button9.addActionListener(this);
button9.setBackground(Color.black);
button9.setForeground(Color.red);
content.add(button9);
setContentPane(content);
button10.addActionListener(this);
button10.setBackground(Color.black);
button10.setForeground(Color.red);
content.add(button10);
setContentPane(content);
button10.addActionListener(this);
button10.setBackground(Color.black);
button10.setForeground(Color.red);
content.add(button10);
setContentPane(content);
button11.addActionListener(this);
button11.setBackground(Color.black);
button11.setForeground(Color.red);
content.add(button11);
setContentPane(content);
textLabel3.setForeground(Color.red);
textLabel3.setBackground(Color.black);
contentArea.add(textLabel3);
setContentPane(content);
textLabel.setForeground(Color.red);
textLabel.setBackground(Color.black);
contentArea.add(textLabel);
setContentPane(content);
//compnent interfaces
text.setForeground(Color.red);
text.setBackground(Color.black);
contentArea.add(text);
setContentPane(content);
textLabel2.setForeground(Color.red);
textLabel2.setBackground(Color.black);
contentArea.add(textLabel2);
setContentPane(content);
textarea.setForeground(Color.red);
textarea.setBackground(Color.black);
contentArea.add(textarea);
setContentPane(content);
textarea2.setForeground(Color.red);
textarea2.setBackground(Color.black);
contentArea.add(textarea2); //rememeber for events the else{expression}
setContentPane(content);
} //end method
public void actionPerformed(ActionEvent event) // user events and actions here
String clearscreen = ("\n\n\n\n\n\n\n\n\n\n\n\nresults cleared\n\n\n\n\n\n\n\n\n\n");
String targetIP = text.getText(); //important code!
//------------button 1------ping----//
if(event.getSource() == button1)
try
String command1 = "C:\\WINDOWS\\system32\\ping.exe "+targetIP;
Process p = Runtime.getRuntime().exec(command1);
DataInputStream in = new DataInputStream(p.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command1 = br.readLine()) != null) {
System.out.println(command1);
JLabel textLabel5 = new JLabel (command1);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println("trying another method for ping");
try
String command1 = "C:\\WINNT\\system32\\ping.exe "+targetIP;
Process p = Runtime.getRuntime().exec(command1);
DataInputStream in = new DataInputStream(p.getInputStream()); //stream data input to show process
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command1 = br.readLine()) != null) { //readline from the bufferedReader
System.out.println(command1);
JLabel textLabel5 = new JLabel (command1); //show results on GUI
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println();
JLabel textLabel5 = new JLabel ();
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
//-------button 2-----net view--//
if(event.getSource()== button1)return;
if(event.getSource()== button2)
try
String command2 = "C:\\WINDOWS\\system32\\net view ";
Process p2 = Runtime.getRuntime().exec(command2);
DataInputStream in = new DataInputStream(p2.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command2 = br.readLine()) != null) {
System.out.println(command2);
JLabel textLabel5 = new JLabel (command2);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println();
try
String command2 = "C:\\WINNT\\system32\\net view ";
Process p2 = Runtime.getRuntime().exec(command2);
DataInputStream in = new DataInputStream(p2.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command2 = br.readLine()) != null) {
System.out.println(command2);
JLabel textLabel5 = new JLabel (command2);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println();
JLabel textLabel5 = new JLabel ();
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
//-------button 3-----nslookup--//
if(event.getSource()== button2)return;
if(event.getSource()== button3)
try
String command2 = "C:\\WINDOWS\\system32\\nslookup "+targetIP;
Process p2 = Runtime.getRuntime().exec(command2);
DataInputStream in = new DataInputStream(p2.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command2 = br.readLine()) != null) {
System.out.println(command2);
JLabel textLabel5 = new JLabel (command2);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println("trying another method ");
try
String command2 = "C:\\WINNT\\system32\\nslookup "+targetIP;
Process p2 = Runtime.getRuntime().exec(command2);
DataInputStream in = new DataInputStream(p2.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command2 = br.readLine()) != null) {
System.out.println(command2);
JLabel textLabel5 = new JLabel (command2);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println();
JLabel textLabel5 = new JLabel ();
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
//------------------button 4-----net user------//
if(event.getSource()== button3)return;
if(event.getSource()== button4)
try
String command2 = "C:\\WINDOWS\\system32\\net user";
Process p2 = Runtime.getRuntime().exec(command2);
DataInputStream in = new DataInputStream(p2.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command2 = br.readLine()) != null) {
System.out.println(command2);
JLabel textLabel5 = new JLabel (command2);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println("trying another method ");
try
String command2 = "C:\\WINNT\\system32\\net user";
Process p2 = Runtime.getRuntime().exec(command2);
DataInputStream in = new DataInputStream(p2.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command2 = br.readLine()) != null) {
System.out.println(command2);
JLabel textLabel5 = new JLabel (command2);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println();
JLabel textLabel5 = new JLabel ();
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
//----------------button 5-------tracert---//
if(event.getSource()== button4)return;
if(event.getSource()== button5)
try
String command2 = "C:\\WINDOWS\\system32\\tracert.exe "+targetIP;
Process p2 = Runtime.getRuntime().exec(command2);
DataInputStream in = new DataInputStream(p2.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command2 = br.readLine()) != null) {
System.out.println(command2);
JLabel textLabel5 = new JLabel (command2);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println("trying another method ");
try
String command2 = "C:\\WINNT\\system32\\tracert.exe "+targetIP;
Process p2 = Runtime.getRuntime().exec(command2);
DataInputStream in = new DataInputStream(p2.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command2 = br.readLine()) != null) {
System.out.println(command2);
JLabel textLabel5 = new JLabel (command2);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println();
JLabel textLabel5 = new JLabel ();
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
//-----------button 6--------syskey---//
if(event.getSource()== button5)return;
if(event.getSource()== button6)
try
String command2 = "C:\\WINDOWS\\system32\\syskey.exe";
Process p2 = Runtime.getRuntime().exec(command2);
DataInputStream in = new DataInputStream(p2.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command2 = br.readLine()) != null) {
System.out.println(command2);
JLabel textLabel5 = new JLabel (command2);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println("trying another method ");
try
String command2 = "C:\\WINNT\\system32\\syskey.exe ";
Process p2 = Runtime.getRuntime().exec(command2);
DataInputStream in = new DataInputStream(p2.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command2 = br.readLine()) != null) {
System.out.println(command2);
JLabel textLabel5 = new JLabel (command2);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println();
JLabel textLabel5 = new JLabel ();
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} //-----------button 7--------remote desktop---------//
if(event.getSource()== button6)return;
if(event.getSource()== button7)
try
String command2 = "C:\\WINDOWS\\system32\\mstsc.exe";
Process p2 = Runtime.getRuntime().exec(command2);
DataInputStream in = new DataInputStream(p2.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command2 = br.readLine()) != null) {
System.out.println(command2);
JLabel textLabel5 = new JLabel (command2);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println("trying another method ");
try
String command2 = "C:\\WINNT\\system32\\mstcs.exe ";
Process p2 = Runtime.getRuntime().exec(command2);
DataInputStream in = new DataInputStream(p2.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(in));
try {
while ((command2 = br.readLine()) != null) {
System.out.println(command2);
JLabel textLabel5 = new JLabel (command2);
Container content = getContentPane(); //create layout manager
FlowLayout layout = new FlowLayout();
content.setLayout(layout);
Container contentArea = getContentPane ();
contentArea.setBackground(Color.black); //container
textLabel5.setForeground(Color.red);
textLabel5.setBackground(Color.black);
contentArea.add(textLabel5);
setContentPane(content);
} catch (IOException e) {
} catch (IOException e1) {
System.err.println();
JLabel textLabel5 = new JLabel ();
Container content = getContentPane(); //create layout manager
System-error wrote:
I preffer using a text editor rather than a full blown API,IDE not API (IDE is an advanced text editor and compiler all in one package, API is a interface (in the none-Java way) for programmers to use).
IDE - http://en.wikipedia.org/wiki/Integrated_development_environment
API - http://en.wikipedia.org/wiki/API
know the command like - the "extends and implements keyword" and creating a sub() Extra classes do not automatically mean subclasses.
class ect but i'm finding it awkward with using a text editor What part are you finding "awkward"?
(maybe it'll have something to do with *.jar)(??) Jars are useful for deployment, however at the moment you just need to be able to compile and run the application from the command line. So I would not worry about Jars just yet.
Now do you have a question, or is this just a request for someone to review your code?
If the latter:
button1 is never a good name for a button.
You might want to look at Actions & AbstractAction rather than the large if statement.
Most of the code is copy & paste code. You might want to have a RunCommandAction. -
hi all,
i want to make a user managment for already built web Site, i want to make a isolate type of User management system so i can easily embed it in different web site.
can any one suggest me any good tutorial , article or any sample code?
thxhttp://sourceforge.net/projects/bofhms
http://sourceforge.net/projects/cw-ums
http://sourceforge.net/projects/jgum
http://sourceforge.net/projects/minpo
http://sourceforge.net/projects/corendaldiry
http://freshmeat.net/projects/opa/ -
Hey guys,
Any suggestions on how to have a web based user management system? I am looking for users to be able to change their user passwords from the web.
Either to the local NetInfo or the Open Directory.
Most of my users just use mail / webmail services and I want them to be able to change their passwords easily.
I have looked into Usermin (usermin.com), but wonder if there is a better solutions.
Appreciate the help,
Tommy.
G5 PowerMac Mac OS X (10.4.7)Does this application do what you want?
(14223)
Maybe you are looking for
-
I have a macbook 4.1 with 4gb ram running lion. I have a 3 tb external drive that i use for time machine bakcups and a partition for my itunes library. When I want to watch a movie I connect the external hard drive to my macbook, open itunes and airp
-
I connect to a remote website usingFTP : a message appears " DW cannot determine the remote server time. The select Newer & Synchonise commands will not be available". I click ok and in the Remote site window of DW a folder appears named /. I click G
-
Hi All, I m unable to find tables, in which these fields are related..mainly....Father's Name and Shift.... Plz Help Me... Thanks...
-
Installed QT 7.3 - now nothing works
Hello, I've been reading some of the posts and am having similar problems with QuickTime 7.3. Unfortunately, I upgraded to 7.3 and now nothing is working. I'm having issues with playback of QT videos, FCP exports and so on. A common error message has
-
DLSw+ local switching, Ethernet to QLLC
In the following url: http://www.cisco.com/en/US/partner/tech/tk331/tk336/technologies_configuration_example09186a0080093fba.shtml there is an example of using DLSw+ for connecting an ethernet device and a x.25 (QLLC) FEP. Is the opposite connection