Import package (synonym) from db
Hi,
in our DWH we use a dedicated user (owbread) to read all data from all source databases . Tables are granted to this user in the source databases via synonym. The user does noown any tables , vies or packages himself.
With tables this works fine. I can import them via obi and extract data in the etl processes.
We want to do exactly the same with packages (and procedures or functions). We have created synonyms for the packages in the source database, but when we want to import the packages, we cannot see them in the import wizzard.
Do we really need to copy these packages over to the data warehouse or how do we import them ?
Regards,
Knut
P.S. OWB 11.1.0.7.0
source db Oracle 9i
Edited by: knherzog on 25.01.2011 02:16
I faced the same problem long ago. may be you can raise a SR.
the alternate is to create the location pointing to that schema.
Unable to import private Synonym for procedure in OWB
Cheers
Nawneet
Similar Messages
-
Import package from one project into another
Hello everyone,
I have some projects.
An enterprise and war project created in netbeans.
I would like to use some files from one project to another. when I import
the package I get the error-
'package x does not exist'
I have added the package to the project but I still get the error.
I have also added the project to import to my glasspath but still.
E.g.
set classpath
.;c:\enterpriseA;
My next idea is to create a war project into my enterprise project and copy the files
from the war project into it in order to use it. But I'm sure there is a better way.
THanking you in advance.
eve
Edited by: evepokua on Nov 22, 2009 1:44 PMOne mistake I keep making is that I don't add the package to the
Dependencies of the plugin I'm writing. You have to go to plugin.xml,
and add the package you depend on to the Dependencies section. Maybe you
didn't do this?
Michael
nasti wrote:
> Hello everybody!
> I am new user of osgi and eclipse. I tried to do some of Oscar examples
> but I had some problems. Namely, the problem in import of package from
> one project into another in Eclipse.
> I add first project to the Build Path of the second one.
> I add to the first project manifest line: Export-Package example2.service.
> I add to the second project manifest line: Import-Package example2.service.
> But when I tried to execute these bundles the
> java.lang.NoClassDefFoundError was occurred. May be you will help me
> with this problem.
> Thanks....
>
> -
Importing package from ext folder
hello ,
i am learning java and try to import packages ,
now here is problem i am facing:-
i made two files as follows :-
1. package mypack1;
public class Protection1{
public void show(){
System.out.println("i am in class Protection1");
2. package mypack2;
public class Protection2{
public void show(){
System.out.println("i am in class Protection2");
now i made following class to import packages
import mypack1.*;
import mypack2.*;
class Trial{
public static void main (String args[]){
System.out.println("trial class");
mypack2.Protection2 ob2=new mypack2.Protection2();
mypack1.Protection1 ob1=new mypack1.Protection1();
ob2.show();
ob1.show();
my problem is class Trial is running fine when packages are in same directory with the file Trial.java .
but when i try to create a jar file and store that file in ext folder so that i can import these packages from anywhere .no error comes at comilation time butwhen i try to run program it shows error the class mypack1/Protection1 can not be found and same for class Protection2 . i know that there is no problem in creating jar files.
please help me to find out solution.
thanks>
but when i try to create a jar file and store that file in ext folder so that i can import these packages from anywhere .no error comes at comilation time butwhen i try to run program it shows error the class mypack1/Protection1 can not be found and same for class Protection2 . i know that there is no problem in creating jar files.I think problem here is you've to put the jar file in your classpath, and then you've to import the classname. it's something like import mypack1.*;can you post me the code. which u've used after creating the jar. and check whether the class files are there in your jar file are not. i mean open the jar with winzip/winrar and chech whether the .class files are there are not.
Diablo -
Hi,
We are importing package from ecc5.0 to 4.6c, but gui is not getting imported. Please advice.....
Thanks for your help in advance.
Thanks,
SheelHi Sheel,
Have you looked through SAP Note 330367 and what is the error you are getting? Are you going from a unicode box to a non-unicode box (SAP Note 638357 discusses the requirements for this)?
Generally, you can move everything from the ECC 5.0 box to the 4.6 box except for some CUA interfaces (you might see an error concerning EUDB table entries on the transport log). First you will want to update the transport programs (including tp) and then make any needed changes for going from UC to NUC. Finally you will bring in the transports and transfer the CUA screens using a program called from SE38 (detailed in SAP Note 327565).
Hope that helps!
J. Haynes -
PI 711 Installation: Loading of 'SAPNTAB' import package: error but no log
Hello,
I'm perfromong an installation of a SAP PI 7.11 ystem on windoows Server 2003 and Oracle 10.2 .
I've perfromed the installation of the DEV system without particular issue.
But now when tryning to install the QAS system , I can't finish the installation : Im' stuck in the import ABAP step ...
It is impossible to import the 'SAPNTAB' package. I couln't find the reason.
I've tried updating the R3load binary, rebooting the server, restarting the instalaltion from scratch but it didn't help.
Here I provide you the logs, maybe you can help me
SAPNTAB.log
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110223195542
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/711_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: version R7.11/V1.4 [UNICODE]
Compiled Dec 14 2010 22:52:23
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -i SAPNTAB.cmd -dbcodepage 4103 -l SAPNTAB.log -stop_on_error -loadprocedure fast
DbSl Trace: ORA-1403 when accessing table SAPUSER
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
(DB) INFO: SVERS deleted/truncated #20110223195543
sapinst_dev.log
Syslib info about system call. OS message 109 (The pipe has been ended.
) after execution of system call 'ReadFile' with parameter ((read end of child process output pipe)), line (403) in file (synxcpipe.cpp).
WARNING 2011-02-23 19:56:12.607
CJSlibModule::writeWarning_impl()
Execution of the command ""C:\Program Files\sapinst_instdir\NW71\INSTALL\SYSTEM\ORA\STD\AS\sapjvm\sapjvm_5\bin\java.exe" -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 5.1.024)
SAP Java 64-Bit Server VM (build 5.1.024, Sep 4 2008 23:21:58 - 51_REL - optU - windows amd64 - bas2:106386 (mixed mode))
Import Monitor jobs: running 1, waiting 28, completed 0, failed 0, total 29.
Loading of 'SAPNTAB' import package: ERROR
Import Monitor jobs: running 0, waiting 28, completed 0, failed 1, total 29.
TRACE 2011-02-23 19:56:12.607
Function setMessageIdOfExceptionMessage: nw.programError
ERROR 2011-02-23 19:56:12.607
CJSlibModule::writeError_impl()
CJS-30022 Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
import_monitor.log
TRACE: 2011-02-23 19:55:42 com.sap.inst.migmon.imp.ImportStandardTask preCreate
Parse of 'C:\Program Files\sapinst_instdir\NW71\INSTALL\SYSTEM\ORA\STD\AS\DDLORA.TPL' template file is started.
INFO: 2011-02-23 19:55:42 com.sap.inst.migmon.imp.ImportStandardTask preCreate
Parse of 'C:\Program Files\sapinst_instdir\NW71\INSTALL\SYSTEM\ORA\STD\AS\DDLORA.TPL' template file is successfully completed.
Primary key creation: after load.
Index creation: after load.
INFO: 2011-02-23 19:55:42
Data codepage 1100 is determined using TOC file 'E:\SAPCD\51036706\DATA_UNITS\EXP1\DATA\REPOSRC.TOC' for package 'REPOSRC'.
INFO: 2011-02-23 19:55:42
Version table 'SVERS' is found in STR file 'E:\SAPCD\51036706\DATA_UNITS\EXP3\DATA\SAPNTAB.STR' from package 'SAPNTAB'.
INFO: 2011-02-23 19:55:42
Data conversion tables 'DDNTF,DDNTF_CONV_UC,DDNTT,DDNTT_CONV_UC' are found in STR file 'E:\SAPCD\51036706\DATA_UNITS\EXP3\DATA\SAPNTAB.STR' from package 'SAPNTAB'.
TRACE: 2011-02-23 19:55:42 com.sap.inst.migmon.LoadTask run
Loading of 'SAPNTAB' import package is started.
TRACE: 2011-02-23 19:55:42 com.sap.inst.migmon.LoadTask processPackage
Loading of 'SAPNTAB' import package into database:
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -i SAPNTAB.cmd -dbcodepage 4103 -l SAPNTAB.log -stop_on_error -loadprocedure fast
ERROR: 2011-02-23 19:55:45 com.sap.inst.migmon.LoadTask run
Loading of 'SAPNTAB' import package is interrupted with R3load error.
Process 'E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -i SAPNTAB.cmd -dbcodepage 4103 -l SAPNTAB.log -stop_on_error -loadprocedure fast' exited with return code -1,073,741,819.
For mode details see 'SAPNTAB.log' file.
Standard error output:
sapparam: sapargv(argc, argv) has not been called!
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
WARNING: 2011-02-23 19:56:12
Cannot continue import because not all import packages with data conversion tables are loaded successfully.
WARNING: 2011-02-23 19:56:12
1 error(s) during processing of packages.
INFO: 2011-02-23 19:56:12
Import Monitor is stopped.
Edited by: Raoul Shiro on Feb 23, 2011 8:11 PM
Edited by: Raoul Shiro on Feb 23, 2011 8:12 PMHello,
Thank you for your answer.
I already opened a sap cutomer call, they answered that it it not a database issue,
I restarted the installationfriom scracth , but i still got the same error :
Here is the full content of the file SAPNTAB.log
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110225170643
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/711_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: version R7.11/V1.4 [UNICODE]
Compiled Dec 22 2008 00:13:12
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -ctf I E:\SAPCD\51036706\DATA_UNITS\EXP3\DATA\SAPNTAB.STR C:\Program Files\sapinst_instdir\NW71\INSTALL\SYSTEM\ORA\STD\AS\DDLORA.TPL SAPNTAB.TSK ORA -l SAPNTAB.log
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: job completed
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20110225170643
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110225170643
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/711_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe: version R7.11/V1.4 [UNICODE]
Compiled Dec 22 2008 00:13:12
E:\usr\sap\PIQ\SYS\exe\uc\NTAMD64\R3load.exe -i SAPNTAB.cmd -dbcodepage 4103 -l SAPNTAB.log -stop_on_error -loadprocedure fast
DbSl Trace: ORA-1403 when accessing table SAPUSER
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
(DB) INFO: SVERS created #20110225170643
Regards.
Raoul -
Loading of 'SEOCOMPODF' import package is interrupted with R3load error.
Dear SAP Colleagues,
Please advice with the following, we try to install SAP ERP 6.0 support release 3 on windows 2008 server with oracle database 10g 10.2.0.4.0,
The error is occurred in Import ABAP phase as follow,
ERROR 2010-10-14 12:10:00.729
CJS-30022 Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
Hint : I already applied this scenario of installation in two other server with same hardware and sap software and itu2019s already up and running,
From my side I applied the following but nothing is changed,
u2022 Applied sap Note 709389
u2022 Replaced the sap source more times,
u2022 Maintained the paging file,
u2022 Restart the sap server
u2022 Restart the installation from scratch
Also I can see that the oracle service and listener is started automatically
I checked the log files mentioned above as follow,
Contents in log file u201Cimport_monitor.javau201D
java version "1.4.2_17"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_17-b06)
Java HotSpot(TM) Client VM (build 1.4.2_17-b06, mixed mode)
Import Monitor jobs: running 1, waiting 4, completed 23, failed 0, total 28.
Import Monitor jobs: running 2, waiting 3, completed 23, failed 0, total 28.
Import Monitor jobs: running 3, waiting 2, completed 23, failed 0, total 28.
Loading of 'SEOCOMPODF' import package: ERROR
Loading of 'DD03L' import package: ERROR
Import Monitor jobs: running 0, waiting 2, completed 23, failed 3, total 28.
Loading of 'FUPARAREF' import package: ERROR
Import Monitor jobs: running 0, waiting 2, completed 23, failed 3, total 28.
Import Monitor jobs: running 0, waiting 2, completed 23, failed 3, total 28.
Import Monitor jobs: running 1, waiting 1, completed 23, failed 3, total 28.
Loading of 'TODIR' import package: ERROR
Import Monitor jobs: running 0, waiting 1, completed 23, failed 4, total 28.
Contents in log file u201Cimport_monitoru201D
ERROR: 2010-10-14 12:09:04 com.sap.inst.migmon.LoadTask run
Loading of 'SEOCOMPODF' import package is interrupted with R3load error.
Process 'D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i SEOCOMPODF.cmd -dbcodepage 4103 -l SEOCOMPODF.log -stop_on_error' exited with return code 2.
For mode details see 'SEOCOMPODF.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
ERROR: 2010-10-14 12:09:04 com.sap.inst.migmon.LoadTask run
Loading of 'DD03L' import package is interrupted with R3load error.
Process 'D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error' exited with return code 2.
For mode details see 'DD03L.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
ERROR: 2010-10-14 12:09:04 com.sap.inst.migmon.LoadTask run
Loading of 'FUPARAREF' import package is interrupted with R3load error.
Process 'D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i FUPARAREF.cmd -dbcodepage 4103 -l FUPARAREF.log -stop_on_error' exited with return code 2.
For mode details see 'FUPARAREF.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
TRACE: 2010-10-14 12:09:30 com.sap.inst.migmon.LoadTask run
Loading of 'TODIR' import package is started.
TRACE: 2010-10-14 12:09:30 com.sap.inst.migmon.LoadTask processPackage
Loading of 'TODIR' import package into database:
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i TODIR.cmd -dbcodepage 4103 -l TODIR.log -stop_on_error
ERROR: 2010-10-14 12:09:30 com.sap.inst.migmon.LoadTask run
Loading of 'TODIR' import package is interrupted with R3load error.
Process 'D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i TODIR.cmd -dbcodepage 4103 -l TODIR.log -stop_on_error' exited with return code 2.
For mode details see 'TODIR.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
WARNING: 2010-10-14 12:10:00
Cannot start import of packages with views because not all import packages with tables are loaded successfully.
WARNING: 2010-10-14 12:10:00
4 error(s) during processing of packages.
INFO: 2010-10-14 12:10:00
Import Monitor is stopped.
Regards,
Ahmed SaberHi Gagan Deep Kaushal,
The todir.log file it was so big so I backup it run the installation again to regenerate the log file, please find below the log file you requested,
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20101014135456
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jan 24 2008 01:41:44
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe -i TODIR.cmd -dbcodepage 4103 -l TODIR.log -stop_on_error
DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
DbSl Trace: CONNECT failed with sql error '1034'
DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
DbSl Trace: CONNECT failed with sql error '1034'
(DB) ERROR: db_connect rc = 256
DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
DbSl Trace: CONNECT failed with sql error '1034'
DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
DbSl Trace: CONNECT failed with sql error '1034'
(DB) ERROR: DbSlErrorMsg rc = 99
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
D:\usr\sap\ECP\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20101014135457
Regards,
Ahmed Saber -
SAPAPPL0,SAPSSEXC,SAPAPPL2 import package is interrupted with R3load
Hi SAP Experts,
I am installing ECC 6.0 SR1 EHP4 with DB29.1 on AIX6.1 but durning Import ABAP , I am getting error
SAPAPPL2' import package is interrupted with R3load error.
SAPAPPL0' import package is interrupted with R3load error.
SAPSSEXC' import package is interrupted with R3load error.
I am attaching all the logs import_monitor,import_monitor.java, SAPAPPL2,SAPAPPL0,SAPSSEXC
Kindly help me to come out from this error.
Import_monitor----
TRACE: 2010-08-19 22:16:46 com.sap.inst.migmon.LoadTask processPackage
Loading of 'SAPAPPL0' import package into database:
/usr/sap/LD1/SYS/exe/run/R3load -i SAPAPPL0.cmd -dbcodepage 4102 -l SAPAPPL0.log -stop_on_error -loadprocedure fast LOAD
ERROR: 2010-08-19 22:16:47 com.sap.inst.migmon.LoadTask run
Loading of 'SAPAPPL2' import package is interrupted with R3load error.
Process '/usr/sap/LD1/SYS/exe/run/R3load -i SAPAPPL2.cmd -dbcodepage 4102 -l SAPAPPL2.log -stop_on_error -loadprocedure fast LOAD' exited with return code 2.
For mode details see 'SAPAPPL2.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
ERROR: 2010-08-19 22:16:47 com.sap.inst.migmon.LoadTask run
Loading of 'SAPSSEXC' import package is interrupted with R3load error.
Process '/usr/sap/LD1/SYS/exe/run/R3load -i SAPSSEXC.cmd -dbcodepage 4102 -l SAPSSEXC.log -stop_on_error -loadprocedure fast LOAD' exited with return code 2.
For mode details see 'SAPSSEXC.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
ERROR: 2010-08-19 22:18:00 com.sap.inst.migmon.LoadTask run
Loading of 'SAPAPPL0' import package is interrupted with R3load error.
Process '/usr/sap/LD1/SYS/exe/run/R3load -i SAPAPPL0.cmd -dbcodepage 4102 -l SAPAPPL0.log -stop_on_error -loadprocedure fast LOAD' exited with return code 2.
For mode details see 'SAPAPPL0.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
WARNING: 2010-08-19 22:18:14
Cannot start import of packages with views because not all import packages with tables are loaded successfully.
WARNING: 2010-08-19 22:18:14
3 error(s) during processing of packages.
INFO: 2010-08-19 22:18:14
Import Monitor is stopped.
SAPAPPL2
/usr/sap/LD1/SYS/exe/run/R3load: START OF LOG: 20100819221646
/usr/sap/LD1/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
/usr/sap/LD1/SYS/exe/run/R3load: version R7.01/V1.4 [UNICODE]
Compiled Feb 24 2009 21:54:08
/usr/sap/LD1/SYS/exe/run/R3load -i SAPAPPL2.cmd -dbcodepage 4102 -l SAPAPPL2.log -stop_on_error -loadprocedure fast LOAD
(DB) INFO: connected to DB
(TSK) ERROR: file /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/DB6/CENTRAL/SAPAPPL2.TSK.bck already seems to exist
a previous run may not have been finished cleanly
file /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/DB6/CENTRAL/SAPAPPL2.TSK possibly corrupted
/usr/sap/LD1/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/LD1/SYS/exe/run/R3load: END OF LOG: 20100819221647
SAPAPPL0
/usr/sap/LD1/SYS/exe/run/R3load: START OF LOG: 20100819221646
/usr/sap/LD1/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
/usr/sap/LD1/SYS/exe/run/R3load: version R7.01/V1.4 [UNICODE]
Compiled Feb 24 2009 21:54:08
/usr/sap/LD1/SYS/exe/run/R3load -i SAPAPPL0.cmd -dbcodepage 4102 -l SAPAPPL0.log -stop_on_error -loadprocedure fast LOAD
(DB) INFO: connected to DB
(DB) INFO: /1CN/CPTSAP00005 dropped #20100819221758
(DB) INFO: /1CN/CPTSAP00005 created #20100819221759
(DB) INFO: /1CN/CPTSAP00005~0 created #20100819221759
(DB) INFO: /1CN/CPTSAP00005SC created #20100819221759
(IMP) INFO: import of /1CN/CPTSAP00005 completed (0 rows) #20100819221759
(DB) ERROR: DDL statement failed
( CREATE TABLE "/1CN/CPTSAP00006" ( "CLIENT" SAPDB6FIXCHAR(3) DEFAULT '000' NOT NULL , "VARNUMH" CHAR(16) FOR BIT DATA NOT NULL , "PRT_PARTNER" CHAR(16) FOR BIT DATA NOT NULL , "KSCHL" SAPDB6CHAR(4) DEFAULT ' ' NOT NULL , "OBJECT_ID" CHAR(16) FOR BIT DATA , "TIMESTAMP_TO" SAPDB6CHAR(14) DEFAULT ' ' NOT NULL , "RELEASE_STATUS" SAPDB6FIXCHAR(1) DEFAULT ' ' NOT NULL , "TIMESTAMP_FROM" SAPDB6CHAR(14) DEFAULT ' ' NOT NULL , "KSCHL_SUPP" SAPDB6CHAR(4) DEFAULT ' ' NOT NULL , "COND_GROUP_ID" CHAR(16) FOR BIT DATA , "MAINT_STATUS" SAPDB6CHAR(2) DEFAULT ' ' NOT NULL , "CREATED_BY" SAPDB6CHAR(12) DEFAULT ' ' NOT NULL , "CREATED_ON" SAPDB6CHAR(8) DEFAULT '00000000' NOT NULL , "KOPOS" SAPDB6FIXCHAR(3) DEFAULT '000' NOT NULL , "SUPP_EXIST" SAPDB6FIXCHAR(1) DEFAULT ' ' NOT NULL , "SCALE_DIM" SAPDB6FIXCHAR(2) DEFAULT '00' NOT NULL , "KBETR" DECIMAL(15,2) DEFAULT 0 NOT NULL , "KPEIN" DECIMAL(5,0) DEFAULT 0 NOT NULL , "KMEIN" SAPDB6CHAR(3) DEFAULT ' ' NOT NULL , "KONWA" SAPDB6CHAR(5) DEFAULT ' ' NOT NULL , "KRECH" SAPDB6CHAR(3) DEFAULT ' ' NOT NULL ) IN LD1#STABD INDEX IN LD1#STABI LONG IN LD1#STABD )
dsql_exec_immediate returned DS_DBOBJECTEXISTS
(DB) INFO: disconnected from DB
/usr/sap/LD1/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/LD1/SYS/exe/run/R3load: END OF LOG: 20100819221800
SAPSSEXC
/usr/sap/LD1/SYS/exe/run/R3load: START OF LOG: 20100819221646
/usr/sap/LD1/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
/usr/sap/LD1/SYS/exe/run/R3load: version R7.01/V1.4 [UNICODE]
Compiled Feb 24 2009 21:54:08
/usr/sap/LD1/SYS/exe/run/R3load -i SAPSSEXC.cmd -dbcodepage 4102 -l SAPSSEXC.log -stop_on_error -loadprocedure fast LOAD
(DB) INFO: connected to DB
(DB) INFO: BRATEXT dropped #20100819221647
(DB) INFO: BRATEXT created #20100819221647
(DB) INFO: BRATEXT~0 created #20100819221647
(IMP) INFO: import of BRATEXT completed (0 rows) #20100819221647
(DB) ERROR: DDL statement failed
( CREATE TABLE "D010INC" ( "MASTER" SAPDB6CHAR(40) DEFAULT ' ' NOT NULL , "INCLUDE" SAPDB6CHAR(40) DEFAULT ' ' NOT NULL ) IN LD1#ES701D INDEX IN LD1#ES701I LONG IN LD1#ES701D )
dsql_exec_immediate returned DS_DBOBJECTEXISTS
(DB) INFO: disconnected from DB
/usr/sap/LD1/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/LD1/SYS/exe/run/R3load: END OF LOG: 20100819221647
IMPORT_MONITOR.JAVA
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 AIX ppc64-64 j9ap64142ifx-20100615 (JIT enabled)
J9VM - 20100610_59470_BHdSMr
JIT - 20090210_1447ifx2_r8
GC - 200902_24)
Import Monitor jobs: running 1, waiting 3, completed 24, failed 0, total 28.
Import Monitor jobs: running 2, waiting 2, completed 24, failed 0, total 28.
Import Monitor jobs: running 3, waiting 1, completed 24, failed 0, total 28.
Loading of 'SAPAPPL2' import package: ERROR
Import Monitor jobs: running 2, waiting 1, completed 24, failed 1, total 28.
Loading of 'SAPSSEXC' import package: ERROR
Import Monitor jobs: running 1, waiting 1, completed 24, failed 2, total 28.
Loading of 'SAPAPPL0' import package: ERROR
Import Monitor jobs: running 0, waiting 1, completed 24, failed 3, total 28.
PLEASE HELP ANYONE TO RESOLVE THIS ERRORSAPINST.LOG
INFO 2021-03-23 14:09:35
Copied file 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.14.xml'.
INFO 2021-03-23 14:09:36
Copied file 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.15.xml'.
INFO 2021-03-23 14:09:40
Execute step
Component W2K_ServicePack_Check|ind|ind|ind|ind
Preprocess of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_First_Steps|ind|ind|ind|ind|0|0|W2K_ServicePack_Check|ind|ind|ind|ind|2|0.
INFO 2021-03-23 14:10:04
Copied file 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/keydb.xml' to 'C:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/keydb.8.xml'.
INFO 2021-03-23 14:10:04
Execute step runMigrationMonitor of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0.
WARNING 2021-03-23 14:10:11
Error 5 (Access is denied.) in execution of a 'RegOpenKeyEx' function, line (645), with parameter (S-1-5-21-1712382466-689420201-920741312-1010).
WARNING 2021-03-23 14:10:11
Error 5 (Access is denied.) in execution of a 'RegOpenKeyEx' function, line (645), with parameter (ProtectedRoots).
INFO 2021-03-23 14:10:11
Switched to user: rasadm.
INFO 2021-03-23 14:10:11
Creating file C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS\import_monitor.java.log.
INFO 2021-03-23 14:10:11
Switched to user: rasadm.
INFO 2021-03-23 14:10:11
Working directory changed to C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS.
INFO 2021-03-23 14:10:11
Output of C:\j2sdk1.4.2_13\bin\java.exe -classpath migmon.jar -showversion com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs "D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_1\EXP1;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_2\EXP2;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_3\EXP3;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_4\EXP4;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_5\EXP5;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP6;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP7;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP8;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP9;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP10;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP11" -installDir "C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS" -orderBy "" -r3loadExe H:\usr\sap\RAS\SYS\exe\uc\NTI386\R3load.exe -tskFiles yes -extFiles yes -dbCodepage 4103 -jobNum 3 -monitorTimeout 30 -loadArgs " -stop_on_error" -trace all -sapinst is written to the logfile import_monitor.java.log.
WARNING 2021-03-23 14:10:43
Execution of the command "C:\j2sdk1.4.2_13\bin\java.exe -classpath migmon.jar -showversion com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs "D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_1\EXP1;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_2\EXP2;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_3\EXP3;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_4\EXP4;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_5\EXP5;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP6;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP7;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP8;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP9;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP10;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP11" -installDir "C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS" -orderBy "" -r3loadExe H:\usr\sap\RAS\SYS\exe\uc\NTI386\R3load.exe -tskFiles yes -extFiles yes -dbCodepage 4103 -jobNum 3 -monitorTimeout 30 -loadArgs " -stop_on_error" -trace all -sapinst" finished with return code 103. Output:
java version "1.4.2_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
Import Monitor jobs: running 1, waiting 3, completed 15, failed 0, total 19.
Import Monitor jobs: running 2, waiting 2, completed 15, failed 0, total 19.
Import Monitor jobs: running 3, waiting 1, completed 15, failed 0, total 19.
Loading of 'SAPAPPL0' import package: ERROR
Loading of 'SAPSSEXC' import package: ERROR
Import Monitor jobs: running 1, waiting 1, completed 15, failed 2, total 19.
Import Monitor jobs: running 1, waiting 1, completed 15, failed 2, total 19.
Loading of 'SAPAPPL2' import package: ERROR
Import Monitor jobs: running 0, waiting 1, completed 15, failed 3, total 19.
ERROR 2021-03-23 14:10:43
CJS-30022 Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
ERROR 2021-03-23 14:10:43
FCO-00011 The step runMigrationMonitor with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .
INFO 2021-03-23 14:10:45
An error occured and the user decided to retry the current step: "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor".
INFO 2021-03-23 14:10:46
Switched to user: rasadm.
INFO 2021-03-23 14:10:46
Creating file C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS\import_monitor.java.log.
INFO 2021-03-23 14:10:46
Switched to user: rasadm.
INFO 2021-03-23 14:10:46
Working directory changed to C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS.
INFO 2021-03-23 14:10:46
Output of C:\j2sdk1.4.2_13\bin\java.exe -classpath migmon.jar -showversion com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs "D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_1\EXP1;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_2\EXP2;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_3\EXP3;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_4\EXP4;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_5\EXP5;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP6;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP7;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP8;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP9;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP10;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP11" -installDir "C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS" -orderBy "" -r3loadExe H:\usr\sap\RAS\SYS\exe\uc\NTI386\R3load.exe -tskFiles yes -extFiles yes -dbCodepage 4103 -jobNum 3 -monitorTimeout 30 -loadArgs " -stop_on_error" -trace all -sapinst is written to the logfile import_monitor.java.log.
WARNING 2021-03-23 14:11:16
Execution of the command "C:\j2sdk1.4.2_13\bin\java.exe -classpath migmon.jar -showversion com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs "D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_1\EXP1;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_2\EXP2;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_3\EXP3;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_4\EXP4;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_5\EXP5;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP6;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP7;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP8;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP9;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP10;D:\SAP IDES 60\SAP_ERP60_IDES_Export\51032413_6\EXP11" -installDir "C:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS" -orderBy "" -r3loadExe H:\usr\sap\RAS\SYS\exe\uc\NTI386\R3load.exe -tskFiles yes -extFiles yes -dbCodepage 4103 -jobNum 3 -monitorTimeout 30 -loadArgs " -stop_on_error" -trace all -sapinst" finished with return code 103. Output:
java version "1.4.2_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
Import Monitor jobs: running 1, waiting 3, completed 15, failed 0, total 19.
Import Monitor jobs: running 2, waiting 2, completed 15, failed 0, total 19.
Import Monitor jobs: running 3, waiting 1, completed 15, failed 0, total 19.
Loading of 'SAPAPPL0' import package: ERROR
Import Monitor jobs: running 2, waiting 1, completed 15, failed 1, total 19.
Loading of 'SAPAPPL2' import package: ERROR
Import Monitor jobs: running 1, waiting 1, completed 15, failed 2, total 19.
Loading of 'SAPSSEXC' import package: ERROR
Import Monitor jobs: running 0, waiting 1, completed 15, failed 3, total 19.
ERROR 2021-03-23 14:11:16
CJS-30022 Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
ERROR 2021-03-23 14:11:16
FCO-00011 The step runMigrationMonitor with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR . -
Error while importing the Entries from Payroll
Dear Guru's
For the First time we are Import the Entries from Payroll , Request End with the Warning message
when i check the Out Put file lot of Errors
eriod Error Codes
EP01 This date is not in any open or future enterable period.
EP03 This date is not within any period in an open encumbrance year.
EP04 This date is not a business day.
DOHA COA Journal Import Execution Report Date: 21-APR-12 10:16
Concurrent Request ID: 424967 Page: 11
========================================================== Error Key ===========================================================
Period Error Codes
EP05 There are no business days in this period.
Unbalanced Journal Error Codes
WU01 Warning: This journal entry is unbalanced. It is accepted because suspense posting is allowed in this ledger.
EU02 This journal entry is unbalanced and suspense posting is not allowed in this ledger.
EU03 This encumbrance journal entry is unbalanced and the Reserve for Encumbrance account is not defined.
Flexfield Error Codes
EF01 This Accounting Flexfield is inactive for this accounting date.
EF02 Detail posting not allowed for this Accounting Flexfield.
EF03 Disabled Accounting Flexfield.
EF04 This is an invalid Accounting Flexfield. Check your cross-validation rules and segment values.
EF05 There is no Accounting Flexfield with this Code Combination ID.
EF06 The alternate account is invalid.
WF01 An alternate account was used instead of the original account.
WF02 A suspense account was used instead of the original account.
Foreign Currency Error Codes
EC01 A conversion rate must be entered when using the User conversion rate type.
EC02 There is no conversion date supplied.
EC03 A conversion rate type or an accounted amount must be supplied when entering foreign currency journal lines.
EC06 There is no conversion rate for this currency, conversion type, and conversion date.
EC08 Invalid currency code.
EC09 No currencies are enabled.
EC10 Encumbrance journals cannot be created in a foreign currency.
EC11 Invalid conversion rate type.
EC12 The entered amount must equal the accounted amount in a ledger or STAT currency journal line.
EC13 Amount is too large.
ECW1 Warning: Converted amounts could not be validated because the conversion rate type is not specified.
Budget Error Codes
EB01 A budget version is required for budget lines.
EB02 Journals cannot be created for a frozen budget.
EB03 The budget year is not open.
EB04 This budget does not exist for this ledger.
EB05 The encumbrance_type_id column must be null for budget journals.
EB06 A period name is required for budget journals.
EB07 This period name is not valid. Check calendar for valid periods.
EB08 Average journals cannot be created for budgets.
EB09 Originating company information cannot be specified for budgets.
Encumbrance Error Codes
EE01 An encumbrance type is required for encumbrance lines.
EE02 Invalid or disabled encumbrance type.
EE03 Encumbrance journals cannot be created in the STAT currency.
DOHA COA Journal Import Execution Report Date: 21-APR-12 10:16
Concurrent Request ID: 424967 Page: 12
========================================================== Error Key ===========================================================
Encumbrance Error Codes
EE04 The BUDGET_VERSION_ID column must be null for encumbrance lines.
EE05 Average journals cannot be created for encumbrances.
EE06 Originating company information cannot be specified for encumbrances.
Reversal Error Codes
ER01 A reversal period name must be provided.
ER02 This reversal period name is invalid. Check your calendar for valid periods.
ER03 A reversal date must be provided
ER04 This reversal date is not in a valid period.
ER05 This reversal date is not in your database date format.
ER06 Your reversal date must be the same as or after your effective date.
ER07 This reversal date is not a business day.
ER08 There are no business days in your reversal period.
ER09 Default reversal information could not be determined.
Descriptive Flexfield Error Codes
ED01 The context and attribute values do not form a valid descriptive flexfield for Journals - Journal Entry Lines.
ED02 The context and attribute values do not form a valid descriptive flexfield for Journals - Captured Information.
ED03 The context and attribute values do not form a valid descriptive flexfield for Value Added Tax.
Miscellaneous Error Codes
EM01 Invalid journal entry category.
EM02 There are no journal entry categories defined.
EM04 The value in the ACTUAL_FLAG must be "A" (actuals), "B" (budgets), or "E" (encumbrances).
EM05 The encumbrance_type_id column must be null for actual journals.
EM06 The budget_version_id column must be null for actual journals.
EM07 A statistical amount belongs in the entered_dr(cr) column when entering a STAT currency journal line.
EM09 There is no Transaction Code defined.
EM10 Invalid Transaction Code.
EM12 An Oracle error occurred when generating sequential numbering.
EM13 The assigned sequence is inactive.
EM14 There is a sequential numbering setup error resulting from a missing grant or synonym.
EM17 Sequential numbering is always used and there is no assignment for this ledger and journal entry category.
EM18 Manual document sequences cannot be used with Journal Import.
EM19 Value Added Tax data is only valid in conjunction with actual journals.
EM24 Average journals can only be imported into consolidation ledgers.
EM25 Invalid average journal flag. Valid values are "Y", "N", and null.
EM26 Invalid originating company.
EM27 Originating company information can only be specified when intercompany balancing is enabled.
EM29 You do not have access to this ledger and account combination.
EM30 This balancing segment value is not valid for this ledger.
EM31 This management segment value is not valid for this ledger.
** Batches listed under "Unbalanced Batches**" have not been imported.
Edited by: 912775 on Apr 21, 2012 1:00 AMHi Bharat17an,
Please provide the detail information when create the MySQL connection in your PowerPivot model. Here is a good article regarding "how to Use MySQL and Microsoft PowerPivot Together" for your reference, please see:
http://www.datamensional.com/2011/09/how-to-use-mysql-and-microsoft-powerpivot-together-2/
If this issue still persists, please help to collection windows event log information. It maybe helpful for us to troubleshoot this issue.
Regards,
Elvis Long
TechNet Community Support -
Help me import my synonyms please
I have 2 database (a. production, b. test).
I got an DMP file and I would like to import the synonyms into the test database.
How could I only import that?
or alternative, which query could I use to know the synonym name a table is using?
So i can make a store procedure by reading the production database synonym name and pass it to the test database.
graciasHi, you can use the next script for extract the ddl from your production database and after recreate into the test database.
select 'CREATE '|| decode(owner,'PUBLIC','PUBLIC ',null) ||
'SYNONYM ' || decode(owner,'PUBLIC',null, owner || '.') ||
lower(synonym_name) || ' FOR ' || lower(table_owner) ||
'.' || lower(table_name) ||
decode(db_link,null,null,'@'||db_link) || ';'
from sys.dba_synonyms
where table_owner = 'MYOWNER'
order by synonym_name
Luck.
Have a good day.
Regards. -
Importing a class from another context?
Hi JSP techies,
Im using RESIN and having a simple problem of figuring out how to import classes from another context, if Im using the right word.
ie.
My .jsp files are under $home/resin/doc/test dir. And in the jsp file, I would like to import a servlet class or a plain java class. But the servlet classes and all other classes are located under $home/resin/webapps/project/WEB-INF/classes/a/b/c
Hence when I say
<% page import="a.b.c.*" %>
I get an error saying "a" not found.
1. When I say "servlet classes are in a different CONTEXT", is that right? or is it just another directory?
2. How can I make the jsp file import the classes from the servlets class path?
Note: Ofcourse, when I copy the package to the
$home/resin/doc/WEB-INF/classes dir, everything works fine. But thats simply not an efficient way to get around. Could anyone clear my doubts on this regd.?
Thanks in advance.
ArunOh... I get it now. I'm sorry, I had you poorly misunderstood. You are trying to import servlets from another web app or servlet context. I would suggest you put servlets that are common to all web apps in the system classpath and not tie them to any particular web app. In other words create a package directory structure from the system's root directory or any where outside of any web apps and point the system classpath to the beginning of that directory structure. I have a similar thing going with Tomcat. I have a folder in my root called Java_Class which is in my classpath. I build all common utilities in this directory. So I have a com/craig/web structure that holds my AppServlet which is in package com.craig.web. This servlet is visible to all web apps via the Windows classpath. Servlets particular to an application like say an MusicOrderProcess servlet would reside in a package under the webserverhome/webapps/MusicStore/WEB-INF/classes directory where webserver home is the home directory of the webserver you are using. I've tested this across webservers as well (orionserver and Tomcat) and it works.
From the prompt you include in your posts I am guessing that you are running on UNIX. Move your common servlets out of their respective web apps and into a common directory structure. Configure the UNIX $CLASSPATH (or is it $classpath?) environment variable to point to this sturcture and you'll be on your way!
Post again if you have more questions! -
How can Imported Package of components to be fully editable??
hi people,
with JDeveloper TP3
How To Import a Package of components that are editable and display in the
Application Navigator
Fusion Developer’s Guide for Oracle Application Development 11g
Chapter 35.7 Working with Libraries of Reusable Business Components
Says:
Tip: If you require components that are editable and display in the
Application Navigator. Add additional business components from a
directory that is not currently part of your project's source path, then
open the Project Content page of the Project Properties dialog and
add the parent directory for these other components as one of the
directories in the Java Content list. In contrast to imported packages
of components, additional components added to your project's source
path will be fully editable and will appear in the Application
Navigator.
but i can't even change Control hints.
with JDeveloper TP3
How To Import a Package of components that are editable and display in the
Application Navigator
Fusion Developer’s Guide for Oracle Application Development 11g
Chapter 35.7 Working with Libraries of Reusable Business Components
say:
To create the JAR files, in the Application Navigator right-click the Business
Components project folder and choose Deploy and the ReusableComponents
profile. A Deployment tab appears in the JDeveloper Log window that should display
feedback like:
---- Deployment started. ---- Apr 28, 2007 7:04:02 PM
Running dependency analysis...
Wrote JAR file to ...\ReuseableComponents\deploy\ReuseableComponentsCSMT.jar
Running dependency analysis...
Wrote JAR file to ...\ReuseableComponents\deploy\ReuseableComponentsCSCommon.jar
Elapsed time for deployment: less than one second
---- Deployment finished. ---- Apr 28, 2007 7:04:02 PM
then If you require components that are editable and display in the
Application Navigator Add additional business components from a
directory that is not currently part of your project's source path, then
open the Project Content page of the Project Properties dialog and
add the parent directory for these other components as one of the
directories in the Java Content list
where i didn't find Project Content page of the Project Properties
but i got
Compiling...
Context: selection=rootBusiness.jpr project=rootBusiness.jpr node=rootBusiness.jpr
Validating Business Component: rootbusiness.rootBusiness
copying rootbusiness/rootBusiness.jpx to output directory
Validating Business Component: rootbusiness.entity.Dept
copying rootbusiness/entity/Dept.xml to output directory
Validating Business Component: rootbusiness.entity.Emp
copying rootbusiness/entity/Emp.xml to output directory
Validating Business Component: rootbusiness.entity.FkDeptnoAssoc
copying rootbusiness/entity/FkDeptnoAssoc.xml to output directory
Validating Business Component: rootbusiness.Service.rootAppModule
copying rootbusiness/Service/rootAppModule.xml to output directory
Validating Business Component: rootbusiness.view.DeptView
copying rootbusiness/view/DeptView.xml to output directory
Validating Business Component: rootbusiness.view.EmpView
copying rootbusiness/view/EmpView.xml to output directory
Validating Business Component: rootbusiness.view.FkDeptnoLink
copying rootbusiness/view/FkDeptnoLink.xml to output directory
copying rootbusiness/Service/common/bc4j.xcfg to output directory
Updated file:/C:/JDeveloper/mywork/Root/rootBusiness/classes/META-INF/adfm.xml
[10:16:25 ص] Successful compilation: 0 errors, 0 warnings
and didn't find ReuseableComponentsCSMT.jar or ReuseableComponentsCSCommon.jar
thanks
Message was edited by:
greenApplewith JDeveloper TP3
How To Import a Package of components that are editable and display in the
Application Navigator
Fusion Developer’s Guide for Oracle Application Development 11g
Chapter 35.7 Working with Libraries of Reusable Business Components
Says:
Tip: If you require components that are editable and display in the
Application Navigator. Add additional business components from a
directory that is not currently part of your project's source path, then
open the Project Content page of the Project Properties dialog and
add the parent directory for these other components as one of the
directories in the Java Content list. In contrast to imported packages
of components, additional components added to your project's source
path will be fully editable and will appear in the Application
Navigator.
but i can't even change Control hints. -
Hello there!
Just to ask if somebody knows about the error "No match defined for the lookup dimension CATEGORY", I get this error when I execute the import package.
I have to tell you that I created a copy from the CATEGORY dimension to a new called CATEGORIA, this new dimension is of category type, I have changed into the System_Constans file the line:
*FUNCTION CATEGORYDIM =%CATEGORIA_DIM%
If somebody could help me into this error, I would be appreciate.
RegardsI did the data manager validation using the Transformation File and the data file used at the time to do the import, there are no errors everything is fine, all records are acepted abd there are no reject.
Running the Import package, there are no rejected records, all of them are acepted, but and error is happening into the detail log (at the end) the error "No match defined for lookup dimension CATEGORY".
Regards -
Import package with .* in jsp
If i want to use HashMap in jsp page i need to have HashMap of util package in import statment in
page directive.
What is difference in Using
a) <%@ page import="java.util.HashMap"%>
b) <%@ page import="java.util.*"%>
Is there any performance issue using importing package with .*Ofcourse there will be a performance issue. In the
second case (<%@ page import="java.util.*"%>
) , you are loading all the classes in java.util
package into your JSP, where as in the first case you
are getting only HashMap. So the second option will
affect the performance. Always import only the
required classes.
rgdsThen you have no idea how import works. The only difference at all would come at compile time. After the page is compiled, there would be no performance issue whatsoever.
The main reason for doing one or the other way (same for any Java class) is clarity for those reading the code. Meaning if you use the full import, when they see "HashMap" in the code, they can look at the import statements and be sure that it's in java.util package. But generally, most people are going to be familiar with the classes in the common packages, like java.util. So I wouldn't generally list the specific classes if you are using more then one from the same package. There are other considerations where packages have classes of the same name (java.sql.Date & java.util.Date) but generally, I would always just put the full class name in the code. -
You don't need to unzip uacalc.jar. Just make sure you put the JAR file in the classpath.
You first need to compile your program Maroti.java, like this:
C:\mystuff> javac -classpath C:\uacalc\uacalc.jar;. Maroti.java
If it compiles without errors, you can run it with:
C:\mystuff> java -classpath C:\uacalc\uacalc.jar;. Maroti
Thank you to all who replied to my orignal post. I did set the classpath to C:\uacalc\uacalc.jar file located in C:\uacalc. which contains all of the packages that I am looking for, and tried to run it as it says to above, but no such luck.. I'm getting the same error which says none of org.uacalc.util, org.uacalc.alg, org.uacalc.io, org.uacalc.alg.con, or org.uacalc.alg.sub exist. The thing is, it says in the documents for the UACalc program that these packages do exist will all the necessary classes that I need.
Thanks again,
HakeemCan you compile your source file Maroti.java, which imports the classes from uacalc.jar?
If you can compile it, you must have set the classpath correctly while compiling.
So why then can't you set the classpath right when running?
It's very simple. The syntax is, as already explained:
java -classpath <CLASSPATH> Maroti
Make sure that for <CLASSPATH> you choose the exact path to the uacalc.jar file. If the jar file is in the directory C:\uacalc, it should be: C:\uacalc.jar
Then type a semi-colon ; and a dot . to include the current directory in the classpath also.
Check it again. Make sure you don't make any typing errors. -
Importing packages at the same level
Hi,
I have two packages A at B (with some classes) in the same level. How do i import the classes from one packages to other.......Hi,
By level i mean that the packages are in the same directory.
I created two packages A & B. In the classes belonging to A, i used
package A; import B.*;
In the classes belonging to B i used
package B; import A.*;
I then tried to run the program in JCreator IDE. But it generated error as package is missing.
I also tried to place both packages in another package 'C'. i.e. C\A and C\B. In A's classes i used
package C.A; import C.B.*;
In B's classes I used package
C.B; import C.A.*;
Even then i got the same error and also moreover i was unable to access other classes in a package by a class belonging to the same package.
Kindly help me out.
Maybe you are looking for
-
Error While Calling a WebService
Hi After Many trails to connect to a web service on Delopeyed within Our Company LAN all the time i face the following error : [SOAPException: faultCode=SOAP-ENV:IOException; msg=ModuleException thrown by HTTPClient while getting the response.HTTPCli
-
Is there a way to prevent store from going back to beginning when browsing aps
I'm on an ipad2. When I browse a category in the app store and find something I would like to know more about, I tap on it and it brings me to the detailed page. After viewing the information I want to go back to the list of apps. When I do it takes
-
Image quality in Viewer vs Full Screen
I've seen lots of discussions about this in earlier version (pre 1.5x), but they seem to be backward from what I'm seeing. I have an extremely noticable difference in image quality in the viewer vs full screen. At first, I just thought my images were
-
Deleting Photos in Lightroom 2.1 for Mac
I use 2.1 on Mac OS 10.5, recently having changed over from Windows. In the Library module, if I select all then go to delete the photos, it will only remove one at a time. I feel stupid even asking this, but what am I doing wrong?
-
How to use the Transport Delay element?
Hello everybody, I'm experimenting in Multism and I have to say that I am not an expert when it comes to eletronics. Unfortunately it's part of a project that I am involved in and I have to get to the bottom of it. In my circuit I want to use a relay