Error while exporting OSB project using ANT
Hi,
My OSB Version is 11.1.1.5 and I was trying to get my export done using the scripts provided by Edwin on his blog http://biemond.blogspot.in/2010/07/osb-11g-ant-deployment-scripts.html
I am able to exportFromWorkspace but I am facing the error while using the target exportFromOSB. The error while executing is :
File "export.py", line 7, in ?
ImportError: no module named wli
at weblogic.management.scripting.WLSTInterpreterInvoker.printError(WLSTInterpreterInvoker.java:110)
at weblogic.management.scripting.WLSTInterpreterInvoker.executePyScript(WLSTInterpreterInvoker.java:103)
at weblogic.management.scripting.WLSTInterpreterInvoker.main(WLSTInterpreterInvoker.java:27)
Traceback (innermost last):
File "export.py", line 7, in ?
ImportError: no module named wli
I used these jar files in my Build.xml:
<path id="osb.class.path">
<pathelement path="D:\\Oracle1\\Middleware\\wlserver_10.3\\server\\lib\\weblogic.jar" />
<pathelement path="D:\\Oracle1\\Middleware\\Oracle_OSB1\\lib\\sb-kernel-api.jar" />
<pathelement path="D:\\Oracle1\\Middleware\\Oracle_OSB1\\lib\\sb-kernel-impl.jar" />
<pathelement path="D:\\Oracle1\\Middleware\\Oracle_OSB1\\lib\\sb-kernel-wls.jar" />
<pathelement path="${fmw.home}/Oracle_OSB1/modules/com.bea.common.configfwk_1.5.0.0.jar" />
</path>
<target name="exportFromOSB">
<wlst fileName="${domain.export.script}" debug="true" failOnError="true"
arguments="${wls.username} ${wls.password} ${wls.server} ${export.project} ${export.jar} ${export.customFile}">
<script>
adminUser=sys.argv[1]
adminPassword=sys.argv[2]
adminUrl=sys.argv[3]
exportJar = sys.argv[5]
customFile = sys.argv[6]
project = sys.argv[4]
print ('server:'+adminUser+','+adminPassword+','+adminUrl)
connect(adminUser,adminPassword,adminUrl)
domainRuntime()
</script>
</wlst>
</target>
so any one can help me..
Thanks in Advance
Chaitanya
http://www.javamonamour.org/2011/11/updated-version-of-importpy-and.html
click on build.xml and you will see the right jars
Similar Messages
-
Error while exporting LSMW Project
Hi friends,
while exporting LSMW project, one error file : "sapfewdll_01_0003_00_2024_1636.err.trc" gets created with the following MSG -
Error(03.10.06 13:40:23.278): Data sent from backend exceeds buffer size!
Please Help
Regards
Sonalhttp://www.javamonamour.org/2011/11/updated-version-of-importpy-and.html
click on build.xml and you will see the right jars -
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 Exporting in 10G using OEM
Hi everyone,
I am getting a validation error when I am trying to export to files using Oracle Enterprise Manager 10G.
Please advise, it does not seem to give an error code.
Thanks
Faiz
Validation Error
Examine and correct the following errors, then retry the operation:
Error - �
Export: Export Type
---------------------------------------Have you tried asking in the Enterprise Manager forum? You'll probably have more luck there. In addition please clarify what are you trying to export.
Cheers,
Colin -
Error while Executing stored procedure using ant
Hi,
I am trying to execute a stored procedure using ant ..
My build.xml is like this...
<project name="myproject" default="db.build">
<target name="db.build">
<sql driver="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@idm.orademo.com:1521:orcl"
userid="test"
password="oracle11g"
print="yes"
classpath="E:\\ojdbc14.jar"
src="E:\\upg_9102BP07.sql" />
<!--
<classpath>
<pathelement path=""\\>
<\\classpath> -->
</target>
</project>
I have my stored procedure in upg_9102BP07.sql as shown in above src..
When im executing ant cmd I got the following exception
E:\>ant -f test.xml
Buildfile: test.xml
db.build:
*[sql] Executing resource: E:\upg_9102BP07.sql*
*[sql] Failed to execute: declare cnt int*
BUILD FAILED
E:\test.xml:12: java.sql.SQLException: ORA-06550: line 1, column 15:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
*:= . ( @ % ; not null range default character*
Total time: 44 seconds
I have no clue.. But this sql ran successfully when did manually..
Please help me in solving the issue...
-- MariasHere is my script bit lengthy...
Rem
Rem $Header: oim/server/Database/Oracle/Upgrade/Release91x/910x/List/9102_ddl_AddcolumnToRCE_Oracle.sql st_oim_devjain_bug-9003841/1 2009/10/09 02:24:19 devjain Exp $
Rem
Rem 9102_ddl_AddcolumnToRCE_Oracle.sql
Rem
Rem Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
Rem
Rem NAME
Rem 9102_ddl_AddcolumnToRCE_Oracle.sql - <one-line expansion of the name>
Rem
Rem DESCRIPTION
Rem Create a new column 'RCE_DELETE' in RCE table
Rem
Rem MODIFIED (MM/DD/YY)
Rem blaksham 09/30/09 - Created
Rem
declare cnt int;
Begin
Select Count(1) into cnt From User_Tab_Columns Where TABLE_NAME='RCM' And COLUMN_NAME='RCM_DELETE';
IF cnt=0 Then
Begin
Execute Immediate 'ALTER TABLE RCM ADD RCM_DELETE VARCHAR2(1)';
End;
Else
DBMS_OUTPUT.PUT_LINE('Column already exists in the DB');
End IF;
End;
Rem
Rem $Header: oim/server/Database/Oracle/Upgrade/Release91x/910x/List/9102_dml_odf_source_name.sql st_oim_devjain_bug-9003841/1 2009/10/09 02:44:45 devjain Exp $
Rem
Rem 9103_dml_odf_source_name.sql
Rem
Rem Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
Rem
Rem NAME
Rem 9103_dml_odf_source_name.sql - <one-line expansion of the name>
Rem
Rem DESCRIPTION
Rem <short description of component this file declares/defines>
Rem
Rem NOTES
Rem <other useful comments, qualifications, etc.>
Rem
Rem MODIFIED (MM/DD/YY)
Rem vpotukuc 09/17/09 - Bug8796435: Increase the size of odf_source-name
Rem vpotukuc 09/17/09 - Created
Rem
SET ECHO ON
SET FEEDBACK 1
SET NUMWIDTH 10
SET LINESIZE 80
SET TRIMSPOOL ON
SET TAB OFF
SET PAGESIZE 100
declare
collen NUMBER := 0;
begin
select char_length into collen from user_tab_columns where table_name = 'ODF' and column_name = 'ODF_SOURCE_NAME';
IF (collen < 400) then
execute immediate 'alter table ODF modify ODF_SOURCE_NAME varchar2(400)';
END IF;
END;
File name: 91_dml_update_reviewers_With_NoEmail_attestation.sql
Purpose: Modify the email template to replace the 'Delegated By Last Name' with 'Reviewer Last Name' and 'Delegated By User Id' to 'Reviewer User Id'.
Author: Babu Lakshamanaiah
Description: Modify the email template 'Attestation Reviewers With No E-mail Addresses Defined'
declare
cnt int;
begin
Select Count(1) into cnt From emd Where emd_name='Attestation Reviewers With No E-mail Addresses Defined' and emd_language='en' and emd_country='US';
IF cnt=0 Then
Begin
DBMS_OUTPUT.PUT_LINE('There is no record with emd_name Attestation Reviewers With No E-mail Addresses Defined ');
End;
Else
update emd set emd_body='The following attestation reviewers do not have email addresses defined. Attestation requests have been generated for these reviewers and can be accessed by loging in to Oracle Identity Manager. However, notification emails were not sent.' ||chr(10) || chr(10) ||
'Attestation process: <Attestation Definition.Process Name>' || chr(10) ||
'Attestation Request ID: request <Attestation Request.Request Id>' || chr(10) ||
'Request date: <Attestation Request.Request Creation Date>' || chr(10) || chr(10) ||
'Reviewers Without E-mail Address: <reviewers> ' || chr(10) ||
'<Attestation Task.Reviewer First Name> <Attestation Task.Reviewer Last Name> [<Attestation Task.Reviewer User Id>]' Where emd_name='Attestation Reviewers With No E-mail Addresses Defined' and emd_language='en' and emd_country='US';
End IF;
commit;
end;
Please help me out.....
--Marias -
Error while deploying adf application using ant script or jdevloper IDE
Hi All,
While deploying adf application into cluster weblogic server I am getting strange error though my weblogic server is working fine as I checked it from weblogic console. Seems that there is some heap memory issue but don’t know the exact cause as it work perfectly if I restart the server.
Same error i get when i try to deploy application from Jdeveloper IDE though it created the server connection successfully.
Please help me by provided valuable tips to overcome this problem or any special tips to optimize weblogic server for ADF.
Thanks in advance
Error Reference:
Buildfile: builddeploy.xml
deploy:
[wldeploy] weblogic.Deployer -debug -stage -verbose -upload -noexit -name admin -source W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war -targets ADR_Cluster_1 -adminurl t3://WebServercom:7001 -user weblogic -password ******** -deploy
[wldeploy] weblogic.Deployer invoked with options: -debug -stage -verbose -upload -noexit -name admin -source W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war -targets ADR_Cluster_1 -adminurl t3://WebServercom:7001 -user weblogic -deploy
[wldeploy] [WebLogicDeploymentManagerImpl.<init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
[wldeploy] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at WebServercom:7001, as user weblogic
[wldeploy] [ServerConnectionImpl.getEnvironment():286] : setting environment
[wldeploy] [ServerConnectionImpl.getEnvironment():289] : getting context using t3://WebServercom:7001
[wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://WebServercom:7001/jndi/weblogic.management.mbeanservers.domainruntime
[wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://WebServercom:7001/jndi/weblogic.management.mbeanservers.runtime
[wldeploy] [DomainManager.resetDomain():36] : Getting new domain
[wldeploy] [DomainManager.resetDomain():39] : Using pending domain: false
[wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1d27069
[wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1d27069
[wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@200db9
[wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@200db9
[wldeploy] [ServerConnectionImpl.initialize():169] : Connected to WLS domain: ADR_domain
[wldeploy] [ServerConnectionImpl.setRemote():480] : Running in remote mode
[wldeploy] [ServerConnectionImpl.init():159] : Initializing ServerConnection : [email protected]21b
[wldeploy] [BasicOperation.dumpTmids():706] : Incoming tmids:
[wldeploy] [BasicOperation.dumpTmids():708] : {Target=ADR_Cluster_1, WebLogicTargetType=cluster, Name=admin}, targeted=true
[wldeploy] [BasicOperation.deriveAppName():140] : appname established as: admin
[wldeploy] <23-Sep-2011 11:05:14 o'clock BST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, admin [archive: W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war], to ADR_Cluster_1 .>
[wldeploy] [ServerConnectionImpl.upload():849] : Uploaded app to /data/app/Oracle/Middleware/user_projects/domains/ADR_domain/servers/AdminServer/upload/admin
[wldeploy] [BasicOperation.dumpTmids():706] : Incoming tmids:
[wldeploy] [BasicOperation.dumpTmids():708] : {Target=ADR_Cluster_1, WebLogicTargetType=cluster, Name=admin}, targeted=true
[wldeploy] [BasicOperation.loadGeneralOptions():623] : Delete Files:false
[wldeploy] Timeout :3600000
[wldeploy] Targets:
[wldeploy] ADR_Cluster_1
[wldeploy] ModuleTargets={}
[wldeploy] SubModuleTargets={}
[wldeploy] }
[wldeploy] Files:
[wldeploy] null
[wldeploy] Deployment Plan: null
[wldeploy] App root: \data\app\Oracle\Middleware\user_projects\domains\ADR_domain\servers\AdminServer\upload\admin
[wldeploy] App config: \data\app\Oracle\Middleware\user_projects\domains\ADR_domain\servers\AdminServer\upload\admin\plan
[wldeploy] Deployment Options: {isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=stage,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=admin,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaultSubmoduleTargets=true,timeout=0,deploymentPrincipalName=null,useExpiredLock=false}
[wldeploy]
[wldeploy] [BasicOperation.execute():440] : Initiating deploy operation for app, admin, on targets:
[wldeploy] [BasicOperation.execute():442] : ADR_Cluster_1
[wldeploy] Task 5 initiated: [Deployer:149026]deploy application admin on ADR_Cluster_1.
[wldeploy] dumping Exception stack
[wldeploy] Task 5 failed: [Deployer:149026]deploy application admin on ADR_Cluster_1.
[wldeploy] Target state: deploy failed on Cluster ADR_Cluster_1
[wldeploy] java.lang.Exception: [DeploymentService:290036]Deployment for request id '1316772356780' is deferred since target 'ADR_ManagedServer_2' is disconnected.
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.commitFailedDueToServerDisconnect(AdminRequestStatus.java:1870)
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.access$600(AdminRequestStatus.java:51)
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus$CommitDisconnectListenerImpl.onDisconnect(AdminRequestStatus.java:2042)
[wldeploy] at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerDisconnectListenerImpl.onDisconnect(ServerDisconnectManager.java:124)
[wldeploy] at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerConnectDisconnectListenerImpl$2.run(ServerDisconnectManager.java:219)
[wldeploy] at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
[wldeploy] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
[wldeploy] at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
[wldeploy]
[wldeploy]
[wldeploy] Target Assignments:
[wldeploy] + admin ADR_Cluster_1
[wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Task 5 failed: [Deployer:149026]deploy application admin on ADR_Cluster_1.
[wldeploy] Target state: deploy failed on Cluster ADR_Cluster_1
[wldeploy] java.lang.Exception: [DeploymentService:290036]Deployment for request id '1316772356780' is deferred since target 'ADR_ManagedServer_2' is disconnected.
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.commitFailedDueToServerDisconnect(AdminRequestStatus.java:1870)
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.access$600(AdminRequestStatus.java:51)
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus$CommitDisconnectListenerImpl.onDisconnect(AdminRequestStatus.java:2042)
[wldeploy] at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerDisconnectListenerImpl.onDisconnect(ServerDisconnectManager.java:124)
[wldeploy] at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerConnectDisconnectListenerImpl$2.run(ServerDisconnectManager.java:219)
[wldeploy] at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
[wldeploy] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
[wldeploy] at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
[wldeploy]
[wldeploy]
[wldeploy]
[wldeploy] at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:542)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[wldeploy] at weblogic.Deployer.run(Deployer.java:70)
[wldeploy] at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:597)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:597)
[wldeploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:348)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:357)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[wldeploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[wldeploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[wldeploy] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[wldeploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[wldeploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[wldeploy] [ServerConnectionImpl.close():332] : Closing DM connection
[wldeploy] [ServerConnectionImpl.close():352] : Unregistered all listeners
[wldeploy] [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
[wldeploy] [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
[wldeploy] [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connectionWell, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
>
Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
ADF Desktop Integration
ADF mBean
ADF MDS (Seeded customizations or cross-session personalization)
ADF Mobile
ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
ADF Business Components services interfaces (web services) or events
ADF Data Controls for BI, Essbase, BAM, and JMX
Further there are some restrictions which are good to know I think
No Java Mail API (=>Sending Mails is prohibited)
No File system access by deployed applications (=>Writing files is prohibited)
No Direct use of Oracle JDBC Driver APIs
No Java Message Service (JMS)
Max Size for deployment archive 95MB
>
I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
Timo -
Error while exporting a schema using data pump
Hi all,
I have 11.1.0.7 database and am using expdp to export a schema. The schema is quite huge and has roughly about 4 GB of data. When i export using the following command,
expdp owb_exp_v1/welcome directory=dmpdir dumpfile=owb_exp_v1.dmp
i get the following error after running for around 1 hour.
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [TABLESPACE_QUOTA:"OWB_EXP_V1"]
ORA-22813: operand value exceeds system limits
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 7839
----- PL/SQL Call Stack -----
object line object
handle number name
4A974B9C 18237 package body SYS.KUPW$WORKER
4A974B9C 7866 package body SYS.KUPW$WORKER
4A974B9C 2744 package body SYS.KUPW$WORKER
4A974B9C 8504 package body SYS.KUPW$WORKER
4A961BF0 1 anonymous block
4A9DAA4C 1575 package body SYS.DBMS_SQL
4A974B9C 8342 package body SYS.KUPW$WORKER
4A974B9C 1545 package body SYS.KUPW$WORKER
4A8CD200 2 anonymous block
Job "SYS"."SYS_EXPORT_SCHEMA_01" stopped due to fatal error at 14:01:23
This owb_exp_v1 user has dba privileges. I am not sure what is causing this error. I have tried running it almost thrice but in vain. I also tried increasing the sort_area_size parameter. Even then, i get this error.
Kindly help.
Thanks,
VidhyaHi,
Can you let us know what the last object type it was working on? It would be the line in the log file that looks like:
Processing object type SCHEMA_EXPORT/...
Thanks
Dean -
Error while exporting webi reports using BIAR command line tool.
HI,
We are trying to export webi objects to a biar file using the biar command line tool, biarengine.jar in XI 3.0. We are using the query select * from ci_infoobjects where si_kind='webi'.
We are getting an error "unable to create plugin object".
Export of all other objects is going through fine.
Any ideas?
Thanks,
AshokTry this
importBiarLocation=C:/test.biar
action=importXML
userName=UserName
password=Password
CMS=cmsname:6400
authentication=secEnterprise
exportQuery=select * from ci_appobjects where si_kind='universe' -
Error while exporting the database - using expdp
Hello,
I am trying to export the roger's schema ('scoala' database). I'm using:
D:\oracle\product\10.2.0\db_1\BIN>expdp roger/mypass@scoala directory=D:\EXP
ORTSCOALA dumpfile=scoala.dmp logfile=scoala.log
Export: Release 10.2.0.1.0 - Production on Wednesday, 14 July, 2010 17:36:22
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-39087: directory name D:\EXPORTSCOALA is invalidWhy i got that directory is invalid? The directory exists on my D:\
Thanks!This directory option is not a filesystem directory. but a database directory.
Look up dba_directories view
Example:
SQL> create directory expdir as 'D:\EXPORTSCOALA';
SQL> grant read, write on directory expdir to public;
After that:
expdp roger/mypass@scoala directory=*expdir* dumpfile=scoala.dmp logfile=scoala.log
And of course, as always: Google is also your friend: http://download.oracle.com/docs/cd/B28359_01/server.111/b28319.pdf
HTH,
FJFranken
My Blog: http://managingoracle.blogspot.com -
Error deploying JDeveloper project using ant-sca-compile.xml
Hi all, I'm having problems on deploying a JDeveloper project using ant-sca-compile.xml. The output in C:\XXXX\YYYYY\SCA-INF\classes\scac.log is:
java.lang.NoClassDefFoundError: 4\jdeveloper\////oracle_common
Caused by: java.lang.ClassNotFoundException: 4\jdeveloper\....oracle_common
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Could not find the main class: 4\jdeveloper\/../oracle_common. Program will exit.
Exception in thread "main"
What's missing in wich classpath?
Regards
Efren.Same composite we were able to deploy successfully without any error, from Monday onward we are experiencing this issue.
We checked in Installation Guide provided by oracle. Oracle has suggested few memory related changes in ant-sca-compile.xml file.
Increasing Memory to avoid Compilation Errors
To avoid out-of-memory errors during compilation of a SOA composite application, you need to
increase the following memory settings.
To increase memory settings:
1. Open the ant-sca-compile.xml file in the SOA_HOME/bin directory.
2. Under the scac element, increase the following memory settings.
<jvmarg value="-Xms2048m"/>
<jvmarg value="-Xmx2048m"/>
<jvmarg value="-XX:PermSize=32m"/>
<jvmarg value="-XX:MaxPermSize=256m"/>
3. For Windows change the following memory settings to.
<jvmarg value="-Xms1536m"/>
<jvmarg value="-Xmx1536m"/>
<jvmarg value="-XX:PermSize=32m"/>
<jvmarg value="-XX:MaxPermSize=256m"/>
We did those changes but still experiencing same error. I checked H:\AIASOAProject\AIAReceiptInterface\ReceiptListEbizProvider\SCA-INF\classes\scac.log ; file its showing Could not create the Java virtual machine.
Regards
Manish -
Error while deploying SOA composite via ant
I am getting following error while deploying SOA composite through ant from SOA server (UNIX).It is unable to get mds configuration.
Jdeveloper is not installed in SOA server.
I am trying to copy the SOA project from local machine to SOA server and trying to deploy from SOA server.
Error
Parse of component type files failed, check the adf-config.xml file : "oracle.fabric.common.FabricException: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
MDS-01329: unable to load element "persistence-config"
MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.
MDS-00503: The metadata path "/u01/orasoa/Oracle/Middleware/Oracle_SOA1/integration" does not contain any valid directories.
I checked /u01/orasoa/Oracle/Middleware/Oracle_SOA1 directory. Integretion directory is not available.
Am I missing anything?
*Please advise.*
build.propeties
============
# build file for HelloWorldComposite
composite.name=AntScriptDeployPOCService
# revision of the composite
composite.revision=1.0
# Set oracle.home to <JDEV_HOME>/jdeveloper, where <JDEV_HOME> is JDEV # installation directory
#oracle.home=C:/Oracle/Middleware/jdeveloper
oracle.home=/u01/orasoa/Oracle/Middleware/Oracle_SOA1
# soa-server side oracle home directory - needed for deployment plan
# and the weblogic sca library deployment
soa.server.oracle.home=/u01/orasoa/Oracle/Middleware/Oracle_SOA1
###### Deployment server connection information
# the admin server connection information
admin.server.host=10.40.237.106
admin.server.port=7001
# the domain where soa infra is installed
server.domain.name=soa_domain
# connection information for the managed server, used for soa-deployment
managed.server.host=10.40.237.106
managed.server.port=8001
# User and credentials for the servers
server.user=weblogic
server.password=<password>
# wls server where soa is targeted.
server.targets=soa_server1
#local.java.home=C:/Oracle/Middleware/jdk160_14_R27.6.5-32
local.java.home=/u01/orasoa/Oracle/Middleware/jdk160_14_R27.6.5-32
Build.xml
<?xml version="1.0" encoding="UTF-8" ?>
<project name="AntScriptDeployPOCService" default="all">
<!-- build.properties -->
<property file="build.properties"/>
<property name="deploy.dir" value="../deploy"/>
<!-- Add targets here -->
<target name="compile-package">
<property name="sca-inf.classes.dir" value="../SCA-INF/classes"/>
<mkdir dir="${sca-inf.classes.dir}"/>
<ant antfile="${oracle.home}/bin/ant-sca-package.xml" target="package" inheritall="false">
<property name="oracle.home" value="${oracle.home}"/>
<property name="compositeDir" value="${basedir}/../"/>
<!-- needed for adf config -->
<property name="scac.application.home" value="${basedir}/../.."/>
<!-- name of the composite -->
<property name="compositeName" value="${composite.name}"/>
<!-- revision of the composite -->
<property name="revision" value="${composite.revision}"/>
<!-- java.passed.home passed to scac, this property will be
overwritten to the env.JAVA_HOME if such env variable is defined in OS level-->
<property name="java.passed.home" value="${local.java.home}"/>
<!--property name="java.passed.home" value="C:/Oracle/Middleware/jdk160_14_R27.6.5-32"-->
</ant>
</target>
<target name="deploy">
<condition property="deploymentplan.name" value="null">
<not>
<isset property="${deploymentplan.name}"/>
</not>
</condition>
<echo>Deploying to http://${managed.server.host}:${managed.server.port}/soa-infra/deployer</echo>
<ant antfile="${oracle.home}/bin/ant-sca-deploy.xml" target="deploy" inheritall="false">
<!-- reformat of prop names -->
<property name="user" value="${server.user}"/>
<property name="password" value="${server.password}"/>
<!-- create the url for deployment -->
<property name="serverURL" value="http://${managed.server.host}:${managed.server.port}/soa-infra/deployer"/>
<!-- location of the sar -->
<property name="sarLocation" value="${deploy.dir}/sca_${composite.name}_rev${composite.revision}.jar"/>
<!-- force overwrite if already there -->
<property name="overwrite" value="true"/>
<!-- configplan-->
<property name="configplan" value="${deploymentplan.name}"/>
</ant>
</target>
<target name="all" depends="compile-package,deploy"/>
</project>Check whether the adf-config.xml file in your app is having proper mds path similar to this:
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config">
<persistence-config>
<metadata-namespaces>
<namespace metadata-store-usage="mstore-usage_1" path="/soa/shared"/>
</metadata-namespaces>
<metadata-store-usages>
<metadata-store-usage id="mstore-usage_1">
<metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
<property value="${oracle.home}/integration"
name="metadata-path"/>
<property value="seed" name="partition-name"/>
</metadata-store>
</metadata-store-usage>
</metadata-store-usages>
</persistence-config>
</mds-config>
</adf-mds-config>
" -
Error while saving BPM Project to MDS: BPM-70801 : Metadata operation failed
Dear All,
I am working on BPM 11g.
I installed the following products for BPM 11g
OS: Windows 7 SP1 Professional Edition all with 32 bit
Installed s/w:
JDeveloper 11.1.1.6.0 Generic Version
OracleXE 11.2 Win32
ofm soa generic 11.1.1.6.0
wls 10.3.5
RCU 11.1.1.6 for schemas dev_soainfra, dev_sdpm and dev_mds - Utility run successfully.
Overall Installation is successful wth no issues.
Configuration of Weblogic server for domain is ok with admin server, soa_server1 and bam_server1 with test connections is ok.
I am using browser as Internet Explorer 9
In Jdeveloper 11.1.1.6.0 after creating application, project and process
From BPM MDS Navigator I configured the connection for Database 11g XE as well using
Override Application Server user/password
For SOA MDS I included the dev_mds user with MDS partition as obpm
tested connections all ok (weblogic and soa_server1 up and running)
In Jdeveloper I am able to export the BPM successfully.
In the BPM Project Navigator when I use the Project --> SalesQuote.jpr --> right clicking with
option as Save to BPM MDS the following error is occured as
"Error while saving BPM Project to MDS: BPM-70801 : Metadata operation failed".
If the error is resolved than I can see the project in BPM composer.
My queries on this error are
1) Has soa_server anything to do with this error
2) Is dev_mds schema to be reviewed
what can be the possibility to resolve the BPM-70801 error.
Please provide the solution ASAP or send me the reply to my [email protected]
Regards
Ajaz AhmedHello Ajaz,
BPM-70801 is a very generic error that can have multiple causes. Please provide the error log from servers log file. From what I understand, you are using a separate soa_server1, so watch out /your_domain/servers/soa_server1/logs/soa_server1.log
Regards
km -
Characterset mismatch error while export
Hi,
I am getting characterset mismatch error while exporting a schema.
select * from nls_database_parameters where parameter in('NLS_LANGUAGE','NLS_TERRITORY','NLS_CHARACTERSET')
PARAMETER
VALUE
NLS_LANGUAGE
AMERICAN
NLS_TERRITORY
AMERICA
NLS_CHARACTERSET
AL32UTF8
i have set nls_lang on OS level
NLS_LANG = AMERICAN_AMERICA.AL32UTF8
C:\oracle\ora92\bin>
C:\oracle\ora92\bin>
C:\oracle\ora92\bin>exp hrtemp_v6/hrtemp_v6@testdb file=c:\hrtemp_v6 statistics=
none
Export: Release 9.2.0.1.0 - Production on Mon May 14 11:55:58 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion)
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user HRTEMP_V6
. exporting PUBLIC type synonyms
EXP-00008: ORACLE error 6552 encountered
ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-553: character set name is not recognized
EXP-00000: Export terminated unsuccessfully
please suggest , whats wrong here
thanks & regardsi have set nls_lang on OS level
NLS_LANG = AMERICAN_AMERICA.AL32UTF8How and where?
C:\oracle\ora92\bin>At this command prompt, what do you get back from "set nls"
You can use
c:\> set nls_lang=.al32utf8
...right before you issue exp command. -
Crystal Report: Error while Export to Excel
We are using combination of Crystal Report 10 With
J2EE, Below source code is working fine While
exporting to PDF, MSWord, RTF format.
if(selectedFormat.equals("MSWORD"))
exportOptions.setExportFormatType(ReportExportFormat.MSWord);
if(iPageFrom>0 && iPageTo>0)
RTFWordExportFormatOptions RTFExpOpts=new
RTFWordExportFormatOptions();
RTFExpOpts.setStartPageNumber(iPageFrom);
RTFExpOpts.setEndPageNumber(iPageTo);
exportOptions.setFormatOptions(RTFExpOpts);
But am getting following error while exporting report
to Excel
com.crystaldecisions.report.web.viewer.ReportExportControl
Invalid post back event : {0}
We would like to know, Is SDK feasible for exporting
to excel or not ?
If yes! then Please suggest us for same.
Thanks In advance :)I will make sure that I am on the latest patch ie SP4
https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
You can find the rumtimes here:
MSI:
https://smpdl.sap-ag.de/~sapidp/012002523100008782532011E/cr2008sp4_redist.zip
MSM:
https://smpdl.sap-ag.de/~sapidp/012002523100008782522011E/cr2008sp4_mm.zip
ClickOnce
https://smpdl.sap-ag.de/~sapidp/012002523100008782442011E/cr2008sp4_clickonce.zip
Recompile the app and then deploy.
What is the .NET Framework used by the application?
Method of deployment?
OS where app is deployed, x86 or x64?
Are you able to export the report from designer ie CR2008 Standalone?
- Saurabh -
Getting error while exporting the report
Hi,
I am facing error while exporting the report. Getting below error.
"No data can be exported because there are no rows.Operation failed."
how come this error is coming even though my report contains data.
please do the needful.
i am using the version discoverer 10g.
Thanks,
RC.I am having the same problem. I found this article in which the user was exporting 100,000 plus records and had the same issue exporting (Discoverer workbook exported to excel error - No dta can be exported and they were able to fix it by adjusting two memory settings in their pref.txt file. However, in my report there are only 1,100 records with eleven columns being returned. I export much larger reports on a daily basis.
Originally, the report was returning records and when I would go to retrieve all records it would tell me that all the rows could not be returned and the data may be incomplete. After scrubbing my SQL I no longer get that message, but the report still will not export and I get the same error as you.
I have not tried the pref.txt settings fix but may try it today to see if that is a workaround. I will then have to evaluate whether it is a good fix or just a band-aid.
Maybe you are looking for
-
Hi Guys, I have an issue with PO. Well you see when I was about to post the invoice for the PO, it was not block for payment. It was suppose to be block for payments so that it would get an approval from the user who is assigned to its Org Unit. It s
-
Hello, where can i find the gtx 770m drivers? I looked up my laptop in the msi website and the graphics driver that they have is for the 680m. Can someone post a link to the official drivers. Thank you
-
hi Guys! i tried to connect to external webservice. i create my external node and insert my url. when i ping the node i have the host error and the following error log (stack trace). java.io.FileNotFoundException: http://10.250.21.175:44833/it/_vti_b
-
Sometimes I want to edit photos through iPhoto, but I dont want it to change on facebook if I had previously uploaded. How can I do that?
-
This thread is a result of my previous two. I try to transfer CS2-Tiger scripts to CS3-Leopard. I discovered that if I stay in Tiger just replacing "CS2" to "CS3" in "tell" line - script works for me. But when I open the same script in Leopard - it l