Error while creating Supplier Contact through API
Hi,
I am not able to create supplier contact through an API: ap_vendor_pub_pkg.create_vendor_contact
The return status (x_return_status)from the API is 'U' and x_msg_data is 'FND'.
Please help with your suggestions !
Thanks,
Sambit
Hi Hussein,
Yes the only meesage that is coming in the pot parameter of the API is: 'FND'
The code snippet is as below:
===================================================
fnd_global.apps_initialize(user_id => v_user_id,
resp_id => v_resp_id,
resp_appl_id => v_application_id);
mo_global.set_policy_context(
'S', v_org_id);
v_message := v_message || chr(13) || 'Assigning values for the api ';
v_vendor_contact_rec_type.vendor_site_id := v_vendor_site_id;
v_vendor_contact_rec_type.vendor_id := v_vendor_id;
v_vendor_contact_rec_type.person_first_name := v_first_name;
v_vendor_contact_rec_type.person_last_name := v_last_name;
v_vendor_contact_rec_type.email_address := '[email protected]';
v_vendor_contact_rec_type.org_id := v_org_id;
v_message := v_message || chr(13) ||
'Before calling AP_VENDOR_PUB_PKG.CREATE_VENDOR_CONTACT api ';
BEGIN
ap_vendor_pub_pkg.create_vendor_contact(p_api_version => v_api_version,
p_init_msg_list => fnd_api.g_false,
p_commit => fnd_api.g_false,
p_validation_level => fnd_api.g_valid_level_full,
x_return_status => v_return_status,
x_msg_count => v_msg_count,
x_msg_data => v_msg_data,
p_vendor_contact_rec => v_vendor_contact_rec_type,
x_vendor_contact_id => v_vendor_contact_id,
x_per_party_id => v_per_party_id,
x_rel_party_id => v_rel_party_id,
x_rel_id => v_rel_id,
x_org_contact_id => v_org_contact_id,
x_party_site_id => v_party_site_id);
v_message := v_message || chr(13) ||
'After calling AP_VENDOR_PUB_PKG.CREATE_VENDOR_CONTACT api: '||v_msg_data;
=========================================================================
Output: v_msg_data= FND
Thanks,
Sambit
Similar Messages
-
Getting error while creating an assignment through API
Hi Experts,
When i'm trying to create a assignment using the following code, Im getting the following error
ORA-20001: You must enter GRE details for the assignment
Where we can pass the GRE information or how we can come out of this error.
Pls clarify this
hr_assignment_api.update_emp_asg_criteria
p_validate => false
,p_effective_date => l_hire_date --to_date('01-Jan-2012','DD-MON-YYYY')
,p_datetrack_update_mode => 'CORRECTION'
,p_assignment_id => l_assignment_id
,p_object_version_number => l_object_version_number
,p_organization_id => l_organization_id
,p_location_id => l_location_id
,p_grade_id => l_grade_id
,p_job_id => l_job_id
--,p_position_id => 362
,p_payroll_id => l_payroll_id
,p_pay_basis_id => l_basis_id
,p_special_ceiling_step_id => l_special_ceiling_step_id
,p_people_group_id => l_people_group_id
,p_group_name => l_group_name
,p_org_now_no_manager_warning => l_org_now_no_manager_warning
,p_effective_start_date => l_effective_start_date
,p_effective_end_date => l_effective_end_date
,p_other_manager_warning => l_other_manager_warning
,p_spp_delete_warning => l_spp_delete_warning
,p_entries_changed_warning => l_entries_changed_warning
,p_tax_district_changed_warning => l_tax_district_changed_warning
,p_soft_coding_keyflex_id => l_soft_coding_keyflex_id
,p_concatenated_segments => l_concatenated_segments
,p_gsp_post_process_warning => l_gsp_post_process_warning
Thanks,
AnilWhat is your application release?
Please see if these docs help.
Error Saving an Assignment: APP-Pay-50001: You Must Enter Gre Details For The Assignment [ID 277958.1]
'GRE & Other Data' Statutory Tab Not Available; Errors APP-FND-00668; APP-PAY-50001 [ID 312787.1]
12567830: PERWSHRG Staturtory Information Flexfield is not Recognizing Default Values [ID 1329310.1]
Manager Self-Service - Hire - GRE Is Not Defaulting if Field is not Displayed [ID 1458563.1]
Statutory Information Flexfield isn't Recognizing Default Values with Required Segments [ID 1344618.1]
Thanks,
Hussein -
Error while creating new projects using api
Hello,
I am having error while creating projects using standard api, PA_PROJECT_PUB.CREATE_PROJECTS. The error I am having is as follow.
Source template ID is invalid.
===
My code is as follow:
SET SERVEROUTPUT ON SIZE 1000000
SET VERIFY OFF
define no=&amg_number
DECLARE
-- Variables used to initialize the session
l_user_id NUMBER;
l_responsibility_id NUMBER;
cursor get_key_members is
select person_id, project_role_type, rownum
from pa_project_players
where project_id = 1;
-- Counter variables
a NUMBER := 0;
m NUMBER := 0;
-- Variables needed for API standard parameters
l_commit VARCHAR2(1) := 'F';
l_init_msg_list VARCHAR2(1) := 'T';
l_api_version_number NUMBER :=1.0;
l_return_status VARCHAR2(1);
l_msg_count NUMBER;
l_msg_data VARCHAR2(2000);
-- Variables used specifically in error message retrieval
l_encoded VARCHAR2(1) := 'F';
l_data VARCHAR2(2000);
l_msg_index NUMBER;
l_msg_index_out NUMBER;
-- Variables needed for Oracle Project specific parameters
-- Input variables
l_pm_product_code VARCHAR2(30);
l_project_in pa_project_pub.project_in_rec_type;
l_key_members pa_project_pub.project_role_tbl_type;
l_class_categories pa_project_pub.class_category_tbl_type;
l_tasks_in pa_project_pub.task_in_tbl_type;
-- Record variables for loading table variables above
l_key_member_rec pa_project_pub.project_role_rec_type;
l_class_category_rec pa_project_pub.class_category_rec_type;
l_task_rec pa_project_pub.task_in_rec_type;
-- Output variables
l_workflow_started VARCHAR2(100);
l_project_out pa_project_pub.project_out_rec_type;
l_tasks_out pa_project_pub.task_out_tbl_type;
-- Exception to call messag handlers if API returns an error.
API_ERROR EXCEPTION;
BEGIN
-- Initialize the session with my user id and Projects, Vision Serves (USA0
-- responsibility:
select user_id into l_user_id
from fnd_user
where user_name = 'SSHAH';
select responsibility_id into l_responsibility_id
from fnd_responsibility_tl
where responsibility_name = 'Projects Implementation Superuser';
pa_interface_utils_pub.set_global_info(
p_api_version_number => l_api_version_number,
p_responsibility_id => l_responsibility_id,
p_user_id => l_user_id,
p_msg_count => l_msg_count,
p_msg_data => l_msg_data,
p_return_status => l_return_status);
if l_return_status != 'S' then
raise API_ERROR;
end if;
-- Provide values for input variables
-- L_PM_PRODUCT_CODE: These are stored in pa_lookups and can be defined
-- by the user. In this case we select a pre-defined one.
select lookup_code into l_pm_product_code
from pa_lookups
where lookup_type = 'PM_PRODUCT_CODE'
and meaning = 'Conversion';
-- L_PROJECT_IN: We have to provide values for all required elements
-- of this record (see p 5-13, 5-14 for the definition of the record).
-- Customers will normally select this information from some external
-- source
l_project_in.pm_project_reference := 'AGL-AMG Project &no';
l_project_in.project_name := 'AGL-AMG Project &no';
l_project_in.created_from_project_id := 1;
l_project_in.carrying_out_organization_id := 2864; /*Cons. West*/
l_project_in.project_status_code := 'UNAPPROVED';
l_project_in.start_date := '01-JAN-11';
l_project_in.completion_date := '31-DEC-11';
l_project_in.description := 'Trying Hard';
l_project_in.project_relationship_code := 'Primary';
-- L_KEY_MEMBERS: To load the key member table we load individual
-- key member records and assign them to the key member table. In
-- the example below I am selecting all of the key member setup
-- from an existing project with 4 key members ('EE-Proj-01'):
for km in get_key_members loop
-- Get the next record and load into key members record:
l_key_member_rec.person_id := km.person_id;
l_key_member_rec.project_role_type := km.project_role_type;
-- Assign this record to the table (array)
l_key_members(km.rownum) := l_key_member_rec;
end loop;
-- L_CLASS_CATEGORIES: commented out below should fix the error we get
-- because the template does not have an assigment for the mandatory class
-- 'BAS Test'
l_class_category_rec.class_category := 'Product';
l_class_category_rec.class_code := 'Non-classified';
-- Assign the record to the table (array)
l_class_categories(1) := l_class_category_rec;
-- L_TASKS_IN: We will load in a single task and a subtask providing only
-- the basic fields (see pp. 5-16,5-17,5-18 for the definition of
-- the task record)
l_task_rec.pm_task_reference := '1';
l_task_rec.pa_task_number := '1';
l_task_rec.task_name := 'Construction';
l_task_rec.pm_parent_task_reference := '' ;
l_task_rec.task_description := 'Plant function';
-- Assign the top task to the table.
l_taskS_in(1) := l_task_rec;
-- Assign values for the sub task
l_task_rec.pm_task_reference := '1.1';
l_task_rec.pa_task_number := '1.1';
l_task_rec.task_name := 'Brick laying';
l_task_rec.pm_parent_task_reference := '1' ;
l_task_rec.task_description := 'Plant building';
-- Assign the subtask to the task table.
l_tasks_in(2) := l_task_rec;
-- All inputs are assigned, so call the API:
pa_project_pub.create_project
(p_api_version_number => l_api_version_number,
p_commit => l_commit,
p_init_msg_list => l_init_msg_list,
p_msg_count => l_msg_count,
p_msg_data => l_msg_data,
p_return_status => l_return_status,
p_workflow_started => l_workflow_started,
p_pm_product_code => l_pm_product_code,
p_project_in => l_project_in,
p_project_out => l_project_out,
p_key_members => l_key_members,
p_class_categories => l_class_categories,
p_tasks_in => l_tasks_in,
p_tasks_out => l_tasks_out);
-- Check the return status, if it is not success, then raise message handling
-- exception.
IF l_return_status != 'S' THEN
dbms_output.put_line('Msg_count: '||to_char(l_msg_count));
dbms_output.put_line('Error: ret status: '||l_return_status);
RAISE API_ERROR;
END IF;
-- perform manual commit since p_commit was set to False.
COMMIT;
--HANDLE EXCEPTIONS
EXCEPTION
WHEN API_ERROR THEN
FOR i IN 1..l_msg_count LOOP
pa_interface_utils_pub.get_messages(
p_msg_count => l_msg_count,
p_encoded => l_encoded,
p_msg_index => i,
p_msg_data => l_msg_data,
p_data => l_data,
p_msg_index_out => l_msg_index_out);
dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
END LOOP;
rollback;
WHEN OTHERS THEN
dbms_output.put_line('Error: '||sqlerrm);
FOR i IN 1..l_msg_count LOOP
pa_interface_utils_pub.get_messages(
p_msg_count => l_msg_count,
p_encoded => l_encoded,
p_msg_index => i,
p_msg_data => l_msg_data,
p_data => l_data,
p_msg_index_out => l_msg_index_out);
dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
END LOOP;
rollback;
END;
===
Msg_count: 1
Error: ret status: E
ERROR: 1: Project: 'AGL-AMG Project 1123'
Source template ID is invalid.
PL/SQL procedure successfully completed.I was using a custom Application, which had a id other then 275 (which belongs to Oracle projects)
-
Error While terminating the employee through API
Hello Group,
I am facing the error while terminating the employee through standard api. The error is "You cannot create an entry past the termination rule date" The element entry I have are type "Recurring" and Termination at "Final Close" I have gone through the thread
" http://forums.oracle.com/forums/thread.jspa?messageID=3794867 " Which is partial complete.
Will be looking forward for the response.
Thanks,
Nitin SinghThis doc directs to apply a patch.
I have gone through. Just want to cross check if this required. I am able to terminate the employee through the application. There it just throws the warning saying " Element Entry has been changed for the Employee as the result of the termination do you wish to go with the termination"
Srini let me know your opinion.
Thanks
Nitin Singh -
*Error while creating Trave Requset through ESS*
Hi,
We are getting following error while creating request through ESS:
Entry not found in table T706V. Argument: 40P IN 0010120090608
The estimated travel amounts could not be determined
Errors have been discovered when checking the Expense Report. Please correct them in order to proceed.
Whereas we have already maintained entries in the same table.
Please reply urgently...
Thanks
NehaHello,
The solution is documented in Travel Wiki:
https://wiki.sdn.sap.com/wiki/display/ERPHCM/Entrynotfoundintable+T706V
Regards,
Raynard
Edited by: Raynard Coscolluela on May 8, 2009 10:53 AM -
Error while creating the Contact Person in the BP Master Data
Dear Experts,
I encountered the following error while updating the contact person name either while creating new or editing existing customer.
Error - [Contact Persons - Contact Persons name][Line 1],'This entry already exists in the following tables 'Contact Persons' (OCPR) (ODBC - 2035)' [Message 131-183].Dear Experts,
I am not doing a DTW for the same, i am updating the BP Master manually. It has been a recent occurence since 3 days when the customer is trying to update the contact person the following error throws. I tried updating for the existing customers with no contact person, there in also it throwed the same error.
To bring to your notice i had a test database for the same customer where in i encounter no issues with regard to the contact person update.
Saravanan -
Getting error while creating a contact.
Hi,
I am new to using Exchange server and while creating a contact getting the below error. Just wanted to know in what circumstances, ScriptingAgentConfig.xml is used and/or any possible reasons for this error to occur?
Provisioning layer initialization failed: "Scripting Agent initialization failed: "File is not found: C:\Program Files\Microsoft\Exchange Server\V\Bin\CmdletExtensionAgents\ScriptingAgentConfig.xmlYes. Error says "File is not found: C:\Program Files\Microsoft\Exchange Server\V\Bin\CmdletExtensionAgents\ScriptingAgentConfig.xml"
Do you have any other Exchange server? If so, copy the file "C:\Program Files\Microsoft\Exchange Server\V\Bin\CmdletExtensionAgents\ScriptingAgentConfig.xml"
from another server to this server by creating same directory structure and try creating contact...
Blog |
Get Your Exchange Powershell Tip of the Day from here -
Authentication error while creating directory server through dscc
Hi
I am getting authentication error while creating a DS from dscc on windows box on a linux RHEL4 server.However I do not get an authentication issue when creating a ds on solaris box from same dscc.
Can someone guide me what might be the issue?
Thanks
AartiHi,
Please check there is no firewall issue between your windows client to Linux directory server. You may be able to login via dscc but when you create DS instance, your dscc agent port might be an issue not able to talk to Directory server because of firewall. -
Error While Making a Request Through API
Hi everyone,
I'm trying to submit a request through the API for the "Assign Roles" template, I used http://java.net/projects/openptk/sources/svn/content/branches/Oracle/OIM11g/examples/java/OIMClient/src/oim/client/request/RequestRoleCreate.java?rev=1489 as a basis for my code. Pretty much line for line.
This is my code.
public static RequestStatusSummary[] applicationAccessRequest(String email, String templateName, String roleName) {
String userKey = getUserKey(email);
Beneficiary beneficiary = null;
RequestBeneficiaryEntity entity = null;
List<RequestBeneficiaryEntity> entityList = null;
List<RequestBeneficiaryEntity> entityAttrList = null;
// add role requested
entityList = new ArrayList<RequestBeneficiaryEntity>();
entity = new RequestBeneficiaryEntity();
entity.setEntityKey(getRoleKey(roleName));
entity.setEntityType(RequestConstants.ROLE);
entity.setEntitySubType(roleName);
entityList.add(entity);
// set beneficiary to user
beneficiary = new Beneficiary();
beneficiary.setBeneficiaryType("user");
beneficiary.setBeneficiaryKey(userKey);
beneficiary.setTargetEntities(entityList);
// add benficiaries to the request data
List<Beneficiary> beneficiaries = new ArrayList<Beneficiary>();
beneficiaries.add(beneficiary);
requestData.setBeneficiaries(beneficiaries);
System.out.println(requestData);
// submit request
String reqId = requestSvc.submitRequest(requestData);
RequestStatusSummary[] requestStatusSummary = requestSvc.getRequestStatusSummary(reqId);
return requestStatusSummary;
getRoleKey() and getUserKey obtain the correct values. Directly before calling this method I log in to OIM using OIMClient this works correctly as well. The issue is that submitRequest() throws this. Any suggestions would be greatly appreciated. Thank you for your time.
javax.ejb.EJBException: ; nested exception is:
java.io.EOFException; nested exception is: java.io.EOFException
at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:345)
at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:826)
at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:760)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:941)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:888)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:339)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
javax.ejb.EJBException: ; nested exception is:
java.io.EOFException; nested exception is: java.io.EOFException
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:121)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:96)
at $Proxy6.submitRequestx(Unknown Source)
at oracle.iam.request.api.RequestServiceDelegate.submitRequest(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy7.submitRequest(Unknown Source)
at testoimlogin.TestOIMLogin.applicationAccessRequest(TestOIMLogin.java:350)
at testoimlogin.TestOIMLogin.main(TestOIMLogin.java:537)
Caused by: java.io.EOFException
at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:345)
at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:826)
at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:760)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:941)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:888)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:339)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)How are you creating OIMClient ?
Make sure that you are using proper OIM URL: t3://ManagerServer:MANAGEDSERVERPORT
getting error while calling RequestService interface -
Error while creating Time Card Using API
Hello
I have a requirement to run OTL Interface once day to create/update Time Card in OTL for those datea created on sysdate-1 in Service Module (data will get feeded from Service Module). For example this interface will run on sysdate to create time cards for those data created in the service module on sysdate-1.
I have some sample data and code I am using but it is erroring out with different errors..Can anybody help me on this
My Interface should run as expected below and my time card range will be Monday 24-Dec-2012 to Sunday 30-Dec-2012
Interface Run Date Time Entry to process
25-Dec-2012 24-Dec-2012 Data
26-Dec-2012 25-Dec-2012 Data
CREATE OR REPLACE PROCEDURE main_process (o_errbuf OUT VARCHAR2,
o_ret_code OUT NUMBER,
l_chr_from_date IN VARCHAR2,
l_chr_to_date IN VARCHAR2)
IS
l_chr_skip VARCHAR2 (1);
l_chr_task_exists VARCHAR2 (100);
l_chr_error_msg VARCHAR2 (4000);
l_num_tbb_id NUMBER;
l_num_request_id NUMBER := fnd_global.conc_request_id;
l_num_login_id NUMBER := fnd_global.login_id;
l_num_user_id NUMBER := fnd_global.user_id;
l_num_resp_id NUMBER := fnd_Profile.VALUE ('resp_ID');
l_num_otl_appl_id CONSTANT NUMBER (3) := 809; -- This is the appl_id for OTL, do not change
l_chr_proj_attr1 CONSTANT VARCHAR2 (7) := 'Task_Id';
l_chr_proj_attr2 CONSTANT VARCHAR2 (10) := 'Project_Id';
l_chr_proj_attr3 CONSTANT VARCHAR2 (16) := 'Expenditure_Type';
l_chr_proj_attr4 CONSTANT VARCHAR2 (19) := 'Expenditure_Comment';
l_chr_proj_attr5 CONSTANT VARCHAR2 (23) := 'SYSTEM_LINKAGE_FUNCTION';
i_num_count NUMBER;
i_num_rows_inserted NUMBER := NULL;
l_chr_message fnd_new_messages.MESSAGE_TEXT%TYPE;
l_chr_hdr_eligible VARCHAR2 (5);
l_tbl_timecard_info hxc_self_service_time_deposit.timecard_info;
l_tbl_attributes_info hxc_self_service_time_deposit.app_attributes_info;
l_tbl_messages hxc_self_service_time_deposit.message_table;
l_new_timecard_id NUMBER;
l_new_timecard_ovn NUMBER;
l_num_time_building_block_id hxc_time_building_blocks.time_building_block_id%TYPE;
I NUMBER; --PENDING REMOVE
l_message VARCHAR2 (2000); --PENDING REMOVE
l_time_building_block_id NUMBER; --PENDING REMOVE
CURSOR process_line
IS
SELECT ROWID ROW_ID, a.*
FROM xxpowl.xxpowl_hxt_otl_intf a
WHERE 1 = 1 --a.request_id = l_num_request_id
AND a.status_flag = 'NEW' -- 'VALID'
AND a.error_desc IS NULL
AND a.service_activity_type IS NOT NULL;
BEGIN
FND_FILE.PUT_LINE (
fnd_file.LOG,
'Entered From Date:'
|| (TO_DATE ( (l_chr_from_date), 'YYYY/MM/DD HH24:MI:SS')));
FND_FILE.PUT_LINE (
fnd_file.LOG,
'Entered To Date:'
|| (TO_DATE ( (l_chr_to_date), 'YYYY/MM/DD HH24:MI:SS')));
FND_GLOBAL.APPS_INITIALIZE (user_id => l_num_user_id,
resp_id => l_num_resp_id,
resp_appl_id => l_num_otl_appl_id);
BEGIN
FND_FILE.PUT_LINE (
fnd_file.LOG,
'Inserting the data in the custom table XXPOWL_HXT_OTL_INTF');
INSERT INTO xxpowl.XXPOWL_HXT_OTL_INTF (SR_NUMBER,
PROJECT_TASK_OWNER,
PROJECT_TASK_OWNER_PERSON_ID,
PROJECT_ID,
PROJECT_TASK_ID,
ASSIGNEE,
ASSIGNEE_ID,
ASSIGNEE_PERSON_ID,
ASSIGNEE_SUPERVISOR_PERSON_ID,
TASK_NUMBER,
PARENT_TASK_NUMBER,
DEBRIEF_NUMBER,
DEBRIEF_HEADER_ID,
DEBRIEF_DATE,
TASK_ASSIGNMENT_ID,
DEBRIEF_OBJECT_VERSION_NUMBER,
DEBRIEF_PER_COMPLETE,
DEBRIEF_LINE_ID,
DEBRIEF_PROCESS,
SERVICE_ACTIVITY,
SERVICE_ACTIVITY_TYPE,
INVENTORY_ITEM_ID,
ITEM,
BUSINESS_PROCESS_ID,
DEBRIEF_TRANSACTION_TYPE_ID,
DEBRIEF_UOM_CODE,
DEBRIEF_HOURS,
CONV_DEBRIEF_IN_HOURS,
DEBRIEF_START_TIME,
DEBRIEF_END_TIME,
DEBRIEF_SERVICE_DATE,
NOTES,
OTL_ELIGIBLE_FLAG,
NOTIF_SENT_FLAG,
NOTIF_ELIGIBLE_FLAG,
ERROR_DESC,
STATUS_FLAG,
INITIAL_NOTIF_SENT_DATE,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
LAST_UPDATE_LOGIN,
REQUEST_ID,
INITIAL_REQUEST_ID)
(SELECT b.incident_number sr_number,
h.resource_name project_task_owner,
h.source_id project_task_owner_person_id,
b.external_attribute_1 project_id,
b.external_attribute_2 project_task_id,
jtf_task_utl.get_owner (d.resource_type_code, d.resource_id)
assignee,
d.resource_id assignee_id,
jrre.source_id assignee_person_id,
paa.supervisor_id assignee_supervisor_person_id,
c.task_number task_number,
(SELECT task_number
FROM jtf_tasks_b z
WHERE c.parent_task_id = z.task_id)
parent_task_number,
a.debrief_number,
a.debrief_header_id debrief_header_id,
a.debrief_date debrief_date,
a.task_assignment_id task_assignment_id,
a.object_version_number debrief_object_version_number,
a.attribute1 debrief_per_complete,
e.debrief_line_id debrief_line_id,
cbp.name debrief_process,
cttv.name service_activity,
DECODE (cttv.attribute1,
'Y', 'Service-Billable',
'N', 'Service-Non Billable')
service_activity_type,
e.inventory_item_id inventory_item_id, --f.segment1 item,
(SELECT segment1
FROM mtl_system_items_b f
WHERE e.inventory_item_id = f.inventory_item_id
AND f.organization_id = b.inv_organization_id)
item, --241 --Mater Org
e.business_process_id business_process_id,
e.transaction_type_id debrief_transaction_type_id,
e.uom_code debrief_uom_code,
e.quantity debrief_hours,
(g.conversion_rate * e.quantity) conv_debrief_in_hours,
e.labor_start_date debrief_start_time,
e.labor_end_date debrief_end_time,
e.service_date debrief_service_date,
(SELECT note_tl.notes
FROM JTF_NOTES_B NOTE, JTF_NOTES_TL NOTE_TL
WHERE NOTE.JTF_NOTE_ID = NOTE_TL.JTF_NOTE_ID
AND NOTE_TL.LANGUAGE = USERENV ('LANG')
AND NOTE.SOURCE_OBJECT_ID = a.DEBRIEF_HEADER_ID
AND note.jtf_note_id =
(SELECT MAX (note1.jtf_note_id)
FROM JTF_NOTES_B note1
WHERE NOTE1.SOURCE_OBJECT_ID =
a.DEBRIEF_HEADER_ID))
notes,
'Y',
'N',
'X',
NULL,
'NEW',
NULL,
SYSDATE,
l_num_user_id,
SYSDATE,
l_num_user_id,
l_num_login_id,
l_num_request_id,
l_num_request_id
FROM csf_debrief_headers a,
cs_incidents_all_b b,
jtf_tasks_b c,
jtf_task_assignments d,
csf_debrief_lines e, --mtl_system_items_b f,
mtl_uom_conversions g,
jtf_rs_resource_extns_vl h,
cs_business_processes cbp,
cs_transaction_types_vl cttv --, cs_sr_task_debrief_notes_v notes
jtf_rs_resource_extns_vl jrre,
per_all_assignments_f paa
WHERE a.task_assignment_id = d.task_assignment_id
AND d.task_id = c.task_id
AND c.source_object_id = b.incident_id
AND c.source_object_type_code = 'SR'
AND a.debrief_header_id = e.debrief_header_id
AND e.uom_code = g.uom_code
AND g.uom_class = 'Time'
AND b.incident_owner_id = h.resource_id(+)
AND e.business_process_id = cbp.business_process_id
AND e.transaction_type_id = cttv.transaction_type_id
AND d.resource_id = jrre.resource_id
AND jrre.source_id = paa.person_id --= 181
AND TRUNC (SYSDATE) BETWEEN paa.effective_start_date
AND paa.effective_end_date
AND TRUNC (e.last_update_date) BETWEEN TO_DATE (
(l_chr_from_date),
'YYYY/MM/DD HH24:MI:SS')
AND TO_DATE (
(NVL (
l_chr_to_date,
l_chr_from_date)),
'YYYY/MM/DD HH24:MI:SS')
AND NOT EXISTS
(SELECT 1
FROM xxpowl.XXPOWL_HXT_OTL_INTF old
WHERE old.debrief_header_id =
e.debrief_header_id
AND old.task_number = c.task_number
AND TRUNC (old.DEBRIEF_SERVICE_DATE) =
TRUNC (e.SERVICE_DATE)
AND old.DEBRIEF_TRANSACTION_TYPE_ID =
e.TRANSACTION_TYPE_ID
AND old.request_id <> l_num_request_id
AND old.DEBRIEF_UOM_CODE = e.uom_code
AND old.DEBRIEF_HOURS = e.quantity));
i_num_rows_inserted := SQL%ROWCOUNT;
fnd_file.put_line (fnd_file.LOG,
'No of rows Inserted:' || i_num_rows_inserted);
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
l_chr_error_msg :=
l_chr_error_msg
|| 'Error while Inserting debrief lines data into custom table.Error: '
|| SQLERRM
|| '. Exiting the interface without processing further';
fnd_file.put_line (fnd_file.LOG, l_chr_error_msg);
ROLLBACK;
RETURN;
END;
FOR process_line_rec IN process_line
LOOP
l_chr_error_msg := NULL;
l_tbl_timecard_info.delete;
l_tbl_attributes_info.delete;
l_tbl_messages.delete;
l_new_timecard_id := NULL;
l_new_timecard_ovn := NULL;
l_num_time_building_block_id := NULL;
l_chr_message := NULL;
i_num_count := 0;
l_num_tbb_id := NULL;
BEGIN
hxc_timestore_deposit.create_time_entry (
p_measure => process_line_rec.conv_debrief_in_hours,
p_day => TO_DATE ( (process_line_rec.debrief_service_date),
'DD/MM/RRRR'),
p_resource_id => process_line_rec.assignee_person_id,
p_comment_text => process_line_rec.notes
|| '....Remove this notes in the code logic....Request Id:'
|| l_num_request_id, --pending lokesh
p_app_blocks => l_tbl_timecard_info,
p_app_attributes => l_tbl_attributes_info,
p_time_building_block_id => l_num_time_building_block_id);
fnd_file.put_line (
fnd_file.LOG,
'Step#1 completed, TIME_BUILDING_BLOCK_ID:'
|| l_num_time_building_block_id);
EXCEPTION
WHEN OTHERS
THEN
l_chr_error_msg :=
l_chr_error_msg
|| '.Error in INSERT API CALL at Step#1 for the debrief line id: '
|| process_line_rec.debrief_line_id
|| '.Error:'
|| SQLERRM;
END;
BEGIN
-- Classify Time
-- Attribute1
hxc_timestore_deposit.create_attribute (
p_building_block_id => l_num_time_building_block_id,
p_attribute_name => 'Task_Id',
p_attribute_value => process_line_rec.project_task_id,
p_app_attributes => l_tbl_attributes_info);
EXCEPTION
WHEN OTHERS
THEN
l_chr_error_msg :=
l_chr_error_msg
|| '.Error in INSERT API CALL at Step#2 for the debrief line id: '
|| process_line_rec.debrief_line_id
|| '.Error:'
|| SQLERRM;
END;
BEGIN
-- Attribute2
hxc_timestore_deposit.create_attribute (
p_building_block_id => l_num_time_building_block_id,
p_attribute_name => 'Project_Id',
p_attribute_value => process_line_rec.project_id,
p_app_attributes => l_tbl_attributes_info);
EXCEPTION
WHEN OTHERS
THEN
l_chr_error_msg :=
l_chr_error_msg
|| '.Error in INSERT API CALL at Step#3 for the debrief line id: '
|| process_line_rec.debrief_line_id
|| '.Error:'
|| SQLERRM;
END;
BEGIN
-- Attribute3
hxc_timestore_deposit.create_attribute (
p_building_block_id => l_num_time_building_block_id,
p_attribute_name => 'Expenditure_Type',
p_attribute_value => 'Service-Billable',
-- p_attribute_value=> 'Service-Non Billable',
p_app_attributes => l_tbl_attributes_info);
EXCEPTION
WHEN OTHERS
THEN
l_chr_error_msg :=
l_chr_error_msg
|| '.Error in INSERT API CALL at Step#4 for the debrief line id: '
|| process_line_rec.debrief_line_id
|| '.Error:'
|| SQLERRM;
END;
BEGIN
-- Attribute4
hxc_timestore_deposit.create_attribute (
p_building_block_id => l_num_time_building_block_id,
p_attribute_name => 'Expenditure_Comment',
p_attribute_value => 'Expenditure Comment created by API',
p_app_attributes => l_tbl_attributes_info);
EXCEPTION
WHEN OTHERS
THEN
l_chr_error_msg :=
l_chr_error_msg
|| '.Error in INSERT API CALL at Step#5 for the debrief line id: '
|| process_line_rec.debrief_line_id
|| '.Error:'
|| SQLERRM;
END;
BEGIN
-- Attribute5
hxc_timestore_deposit.create_attribute (
p_building_block_id => l_num_time_building_block_id,
p_attribute_name => 'SYSTEM_LINKAGE_FUNCTION',
p_attribute_value => 'ST',
p_app_attributes => l_tbl_attributes_info);
EXCEPTION
WHEN OTHERS
THEN
l_chr_error_msg :=
l_chr_error_msg
|| '.Error in INSERT API CALL at Step#6 for the debrief line id: '
|| process_line_rec.debrief_line_id
|| '.Error:'
|| SQLERRM;
END;
BEGIN
hxc_timestore_deposit.execute_deposit_process (
p_validate => FALSE,
p_app_blocks => l_tbl_timecard_info,
p_app_attributes => l_tbl_attributes_info,
p_messages => l_tbl_messages,
p_mode => 'SAVE', -- p_mode-> 'SUBMIT', 'SAVE', 'MIGRATION', 'FORCE_SAVE' or 'FORCE_SUBMIT'
p_deposit_process => 'OTL Deposit Process',
p_timecard_id => l_new_timecard_id,
p_timecard_ovn => l_new_timecard_ovn);
COMMIT;
hxc_timestore_deposit.log_messages (p_messages => l_tbl_messages);
IF (l_tbl_messages.COUNT <> 0)
THEN
l_chr_error_msg :=
l_chr_error_msg
|| '.Error in INSERT API CALL at Step#7 for the debrief line id: '
|| process_line_rec.debrief_line_id
|| '.Error:'
|| SQLERRM
|| '.API Error messages are:';
i_num_count := l_tbl_messages.FIRST;
LOOP
EXIT WHEN (NOT l_tbl_messages.EXISTS (i_num_count));
l_chr_message :=
fnd_message.get_string (
appin => l_tbl_messages (i_num_count).application_short_name,
namein => l_tbl_messages (i_num_count).message_name);
fnd_file.put_line (
fnd_file.LOG,
(l_tbl_messages (i_num_count).message_name));
l_chr_error_msg := l_chr_error_msg || l_chr_message || '.';
i_num_count := l_tbl_messages.NEXT (i_num_count);
END LOOP;
END IF;
EXCEPTION
WHEN OTHERS
THEN
fnd_file.put_line (
fnd_file.LOG,
'**** Error.....Inside Exception Block in execute_deposit_process');
BEGIN
hxc_timestore_deposit.log_messages (
p_messages => l_tbl_messages);
EXCEPTION
WHEN OTHERS
THEN
fnd_file.put_line (
fnd_file.LOG,
'*****Error....Inside Exception Block in hxc_timestore_deposit.log_messages.Error:'
|| SQLERRM);
END;
l_chr_error_msg :=
l_chr_error_msg
|| 'Error in INSERT API CALL at Step#7 for the debrief line id: '
|| process_line_rec.debrief_line_id
|| '.Error:'
|| SQLERRM
|| '.API Error messages are:';
IF (l_tbl_messages.COUNT <> 0)
THEN
i_num_count := l_tbl_messages.FIRST;
LOOP
EXIT WHEN (NOT l_tbl_messages.EXISTS (i_num_count));
l_chr_message :=
fnd_message.get_string (
appin => l_tbl_messages (i_num_count).application_short_name,
namein => l_tbl_messages (i_num_count).message_name);
l_chr_error_msg := l_chr_error_msg || l_chr_message || '.';
i_num_count := l_tbl_messages.NEXT (i_num_count);
END LOOP;
END IF;
END;
COMMIT;
IF l_chr_error_msg IS NOT NULL OR l_new_timecard_id IS NULL
THEN
fnd_file.put_line (fnd_file.LOG,
'***** Error *****' || l_chr_error_msg);
o_ret_code := 1;
END IF;
BEGIN
fnd_file.put_line (
fnd_file.LOG,
'Updating the status of the record in custom table for debrief_line_id:'
|| process_line_rec.debrief_line_id);
UPDATE xxpowl.XXPOWL_HXT_OTL_INTF
SET status_flag =
DECODE (
l_chr_error_msg,
NULL, DECODE (
l_new_timecard_id,
NULL, 'FAILED',
DECODE (SIGN (l_new_timecard_id),
'1', 'SUCESS',
'FAILED')),
'FAILED'),
time_building_block_id = l_new_timecard_id,
last_update_date = SYSDATE,
request_id = l_num_request_id,
last_updated_by = l_num_user_id,
error_desc = l_chr_error_msg
WHERE ROWID = process_line_rec.row_id;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
l_chr_error_msg :=
l_chr_error_msg
|| '.Error while updating the status to SUCCESS.Error: '
|| SQLERRM;
END;
END LOOP; --process_line
EXCEPTION
WHEN OTHERS
THEN
FND_FILE.PUT_LINE (
fnd_file.LOG,
'Unknown/Unhandlled Exception Error......' || SQLERRM);
o_ret_code := 2;
END main_process;
SHOW ERR;
Error Messages:
1. Error in INSERT API CALL at Step#7 for the debrief line id: 41011.Error:ORA-00001: unique constraint (HXC.HXC_ROLLBACK_TIMECARDS_PK) violated.
2. Error in INSERT API CALL at Step#7 for the debrief line id: 41011.Error:ORA-00001: unique constraint (HXC.HXC_LATEST_DETAILS_FK) violated
Thanks a lot for the help!Hello
We will get this error message when we run this from application other than "Time and Labor Engine". So try to run this concurrent program (if you registered as a conc. program) from Time and Labor Engine application.
--Lokesh -
Error while creating vendor contact person using vmd_ei_api
Hi,
while craeting vendor contact person using maintain_bapi of vmd_ei_api class iam getting error like 'Specify address number or address handle'.
code :
CALL FUNCTION 'BAPI_PARTNEREMPLOYEE_GETINTNUM'
EXPORTING
quantity = 1
IMPORTING
* RETURN =
contactid = lv_contactid
* QUANTITY =
* TABLES
* CONTACT =
ls_contacts1-task = 'I'.
ls_contacts1-data_key-parnr = lv_contactid."ls_knvk-parnr.
ls_contacts1-data-abtnr = '0002'."ls_knvk-abtnr.
ls_contacts1-data-pafkt = '02'."ls_knvk-pafkt.
ls_contacts1-data-parau = 'BNotes'."ls_knvk-parau.
ls_contacts1-datax-abtnr = 'X'.
ls_contacts1-datax-pafkt = 'X'.
ls_contacts1-datax-parau = 'X'.
* Inserting Phone ,Fax and email.
ls_phone-contact-task = 'I'. "Phone
ls_phone-contact-data-telephone = '89655696569'.
ls_phone-contact-data-extension = '778548'.
ls_phone-contact-datax-telephone = 'X'.
ls_phone-contact-datax-extension = 'X'.
APPEND ls_phone TO lt_phone.
ls_phone-contact-task = 'I'.
ls_phone-contact-data-r_3_user = 'X'.
ls_phone-contact-data-telephone = '89845589369'.
ls_phone-contact-data-extension = '858588'.
ls_phone-contact-datax-updateflag = 'X'.
ls_phone-contact-datax-telephone = 'X'.
ls_phone-contact-datax-extension = 'X'.
ls_phone-contact-datax-r_3_user = 'X'.
APPEND ls_phone TO lt_phone.
ls_fax-contact-task = 'I'.
ls_fax-contact-data-fax = '8896589'.
ls_fax-contact-data-extension ='44521'.
ls_fax-contact-datax-fax = 'X'.
ls_fax-contact-datax-extension ='X'.
APPEND ls_fax TO lt_fax.
ls_contacts1-address_type_3-communication-phone-current_state = ' '.
ls_contacts1-address_type_3-communication-phone-phone = lt_phone.
ls_contacts1-address_type_3-communication-fax-current_state = ' '.
ls_contacts1-address_type_3-communication-fax-fax = lt_fax.
ls_contacts1-address_type_3-communication-fax-current_state = ' '.
ls_contacts1-address_type_3-communication-fax-fax = lt_fax.
ls_contacts1-address_type_3-task = 'I'.
ls_contacts1-address_type_3-POSTAL-data-FIRSTNAME = 'Roger'.
ls_contacts1-address_type_3-postal-data-lastname = 'Fedrer'.
ls_contacts1-address_type_3-POSTAL-datax-FIRSTNAME = 'X'.
ls_contacts1-address_type_3-postal-datax-lastname = 'X'.
APPEND ls_contacts1 TO lt_contacts1.
ls_vendor1-header-object_instance = p_lifnr.
ls_vendor1-header-object_task = 'M'.
ls_vendor1-central_data-contact-contacts = lt_contacts1.
ls_vendor1-central_data-contact-current_state = 'X'.
ls_vendor1-central_data-central-data-adrnr = ls_adrnr.
ls_vendor1-central_data-central-datax-adrnr = 'X' .
APPEND ls_vendor1 TO lt_vendor1.
gs_vmds_extern-vendors = lt_vendor1.
DATA:gs_succ_messages TYPE cvis_message,
gs_vmds_error TYPE vmds_ei_main,
gs_err_messages TYPE cvis_message,
gs_vmds_succ TYPE vmds_ei_main.
* Call the Method for creation of Vendor.
CALL METHOD vmd_ei_api=>maintain_bapi
EXPORTING
is_master_data = gs_vmds_extern
IMPORTING
es_master_data_correct = gs_vmds_succ
es_message_correct = gs_succ_messages
es_master_data_defective = gs_vmds_error
es_message_defective = gs_err_messages.
if sy-subrc = 0.
commit work.
Please suggest which fields else i have to pass??Hi Abhijeet,
here i am showing you some scn help to use maintain bapi of vmd_ei_api class, i think you are missing some data to be uploaded along with there are methods in lsmw, bdc too for this, please go through below links carefully , i hope you will able to solve your problem.
Vendor Master Upload Program - ABAP Development - SCN Wiki
unable to vendor master record update using class vmd_ei_api
Creation of Vendor - VMD_EI_API -
Error while creating Auxiliary database through RMAN on the same host.
I got the following error while cloning a stand by database through RMAN.
I got the following error while cloning a stand by database through RMAN.
[oracle@localhost admin]$ rman auxiliary sys/clonedb@clonedb
Recovery Manager: Release 11.1.0.6.0 - Production on Mon Sep 19 10:51:48 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-12154: TNS:could not resolve the connect identifier specified
My LISTENER looks like this:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = ora11g)
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = CLONEDB)
TNS Names:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
CLONEDB=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CLONEDB)
And SQLNet.ora
NAMES.DIRECTORY_PATH= (TNSNAMES,HOSTNAME, EZCONNECT)
Any help would be highly appreciated.
Thanks,
-Revku.Hello,
I think there is something wrong with the ")" in the listener.ora : the second SID_DESC is not part of the SID_LIST.
Instead of
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = ora11g)
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = CLONEDB)
)It should be :
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = ora11g)
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = CLONEDB)
)Hope it will help.
Regards,
Sylvie -
Geting error while creating a dir through CREATE DIRECTORY command
Hi Gurus,
When I'm trying to create a dir through this command with logged in as SYS
CREATE DIRECTORY pump_dir AS 'd:\temp\pump_dir';
I'm getting the error
Error starting at line 1 in command:
CREATE DIRECTORY pump_dir AS 'd:\temp\pump_dir'
Error at Command Line:1 Column:18
Error report:
SQL Error: ORA-00955: name is already used by an existing object
00955. 00000 - "name is already used by an existing object"
Any ideas how I can create a dir and grant access to a different user.
Thanks
Amitava.amitavachatterjee1975 wrote:
I checked and there is no such directory. I guess it is not that simple, the error I mean.Actually it is , please see,
ORA-00955: name is already used by an existing object
Cause: An attempt was made to create a database object (such as a table, view, cluster, index, or synonym) that already exists. A user's database objects must have distinct names.
Action: Enter a unique name for the database object or modify or drop the existing object so it can be reusedSo as Sb mentioned, check that which object is using the same name that you are trying to assign to this directory object and either rename or drop the object if you want to use the same name only. If not, you can always use another distinct name for this directory object .
Aman.... -
Error while creating planning application through workspace
Hi,
I am getting the following error when i am trying to create the classic planning application through workspace.
Invalid or could not find module configuration.
Required application module HyperionPlanning.AppWizard is not configured. Please contact your administrator.
Communication Error.
http://localhost:45000/HyperionPlanning/conf/HspJSConfig.xml?LOCALE_LANGUAGE=en
Please suggest me how to resolve this error. Also please share the order in which services to start.
Thanks in Advance,
Naveen SuramHi John,
I am facing the same issue. Reconfiguring Web server did not help. It is still not coming up and the link to planning that you have shared here is also not working. I am doing it on RHEL and facing issue with the same. Any help will be greatly appreciated. I checked the mod_jk log which has the following:
*[Tue Jan 31 20:17:01 2012] [info] ajp_send_request::jk_ajp_common.c (1186): Error connecting to the Tomcat process.*
*[Tue Jan 31 20:17:01 2012] [info] ajp_service::jk_ajp_common.c (1665): Sending request to tomcat failed, recoverable operation attempt=2*
*[Tue Jan 31 20:17:01 2012] [error] ajp_service::jk_ajp_common.c (1673): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=Workspace failed errno = 111*
*[Tue Jan 31 20:17:01 2012] [info] jk_handler::mod_jk.c (1875): Service error=0 for worker=Workspace*
I don't know what to do now.
Thanks in advance.
Saurabh -
ORA-12547 error while creating new database through dbca
i installed oracle 10g R2 on parallels virtuozzo container. (it is a product similar to openvz and solaris containers)
added: oracle version is 10.2.0.1.0
the installation goes off without too much fuss but when i try to create a general purpose database through dbca it throws up an error
ORA-12547 : TNS lost contact
my listener is up and runing and did stop and restart it. i also created a new listener after deleting the previous one.
still the error persists.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 19-MAY-2009 15:39:06
Uptime 0 days 0 hr. 55 min. 56 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /export/home/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /export/home/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfullyi am running dbca from oracle user only and i did ensure that the contents of the oracle home directory (on which oracle is installed) has permissions of oracle:oinstall.
i am clueless as to what is causing this error.
just to add to issues which i faced during installation on virtuozzo containers. containers does not allow me to create a swap space. but i had to ignore the error and go ahead with the installation with most of the steps followed from http://wiki.openvz.org/Oracle_10g_VE.
please guide
Edited by: iinfi on May 19, 2009 4:53 PMhi all
virtuozzo during creation of containers doesnt install the following.
sysstat-5.0.5-1
libaio-0.3.103-3
libaio-0.3.103-3 (i386)
libaio-devel-0.3.103-3
the oracle documentation tells us to install the following and so i didnt know i had to install other packages as well.
make-3.79.1
gcc-3.2.3-34
glibc-2.3.2-95.20
compat-db-4.0.14-5
compat-gcc-7.3-2.96.128
compat-gcc-c++-7.3-2.96.128
compat-libstdc++-7.3-2.96.128
compat-libstdc++-devel-7.3-2.96.128
openmotif21-2.1.30-8
setarch-1.3-1
thanks for your time.
Maybe you are looking for
-
Everytime i try to export my project i get the message "Sorry, a serious error has occurred that requires Adobe Premiere Pro to shut down. We will attempt to save your current project" How can i just export my project?
-
Printing current pdf to Adobe PDF printer
I have Windows XP and Adobe Acrobat 10 on my computer. I am able to take a 60 page pdf file from Internet Explorer, hit print to Adobe PDF, choose pages 4-6 to print, rename the file and save this document to my desktop. The pdf pops up and it's just
-
Ios6 is annoying me!!!
i have tried multiple times with my itouch fourth generation to update to ios6. my internet is connected and everything, but everytime i try it says error 3014. its really annoying what should i do???
-
IPhone 1st generation question
When iphones update to the 3.0 for picture messaging and etc. do first generation iphones still not have picture messaging because mine doesnt and im still using my email for sending pictures.
-
Wait for a few minutes before starting a backgroung step in workflow
Dear All, I have a requirement where in I have to make sure the user has completed a particular workitem. The workitem is to open the transaction PP02. I cannot make it asynchronous and use a terminating event as I could not see any logical place whe