Import package declarations
Hi All,
Is there any difference in terms of efficiency, class loading etc. in a program when I use the following?:
import java.util.ArrayList;
as opposed to:
import java.util.*;
This is assuming that ArrayList will be the only class that I will be using.
Thanks
You might earn yourself a millisecond or so during compile-time.
Other than that, no.
There is however some subtle difficulties when you are doing name resolving that can be avoided implicitly.
As example:
import java.util.*;
import java.awt.*;
public class Gronsak
public Gronsak()
// Code below is ambigious - Compiler does not understand if
// we want to use java.util.List or java.awt.List
List l = new List();
}Offcourse, if you need to use both ambigious classes in the same code, atleast one of them needed to be typed out fully.
Regards,
Peter Norell
Similar Messages
-
Problem importing packages...
hello!
I am learning Java for a while. I have a very strange problem with packages. The problem is the next one:
When I import the complete package like this:
import ThePackage.*
I got the following the next errors:
main.java:8: cannot resolve symbol
symbol : constructor Class1 ()
location: class Class1
Class1 C1=new Class1();
^
main.java:9: cannot resolve symbol
symbol : constructor Class2 ()
location: class Class2
Class2 C2=new Class2();
^
2 errors
In order to use this packages, I have to use it this way:
import ThePackage.Class1;
import ThePackage.Class2;
My question is if I have to import every class I am going to use per package? Or why I can�t import using asterisks ('*')
My other problem is when I use class within the same package, I have to import them too. I have to put the "import ThePackage.*;" in every class within it.
Thanks,
Santiago (A Java Newbie)You can try to compile with javac -verbose and see what happens. It's because the class you want to compile is not in a package, and you want to import a whole package. But how would the compiler know if you want to use the Class1 and Class2 that is not in a package or those that are in a package?! First it checks if there are those classes which are not in a package. It doesn't find them, but it finds the java source code, so it attempts to use that (which will fail becuase you have package declaration in them). So sudha_mp is right about that you have to remove the source code, then you should be able to compile your code (or the class you want to compile has to be in a package).
-
Multiple top level package declarations
The "Programming Adobe ActionScript 3.0" states in chapter 4 "ActionScript Language and Syntax", "Packages and Namespaces", "Creating Packages" that you can declare at the top level of a package multiple variables, functions, and namespaces in addition to a single class as long as only one is declared "public".
However, in Flash when I declare a public class and any other variable or function either with the "internal" attribute or no attribute, I get this error:
5006: An ActionScript file can not have more than one externally visible definition: test.function1, test.Test
The package code is as follows:
package test
internal function function1():String
return "Function1()";
public class Test
The same thing happens if I replace the function with an internal variable declaration. According to the manual, any declaration with the "internal" attribute should not be externally visible outside the package. Only the "public" class declaration should be externally visible.
Can anyone clue me in as to why I get this error?That is not the situation described by the quoted manual section that I am trying to recreate.
It clearly says:
"In ActionScript 3.0, you use the package statement to declare a package, which means that you can also declare variables, functions, and namespaces at the top level of a package. You can even include executable statements at the top level of a package. If you do declare variables, functions, or namespaces at the top level of a package, the only attributes available at that level are public and internal, and only one package-level declaration per file can use the public attribute, whether that declaration is a class, variable, function, or namespace."
The data properties and class you have decleared are outside the package within the ActionScript file, and not at the top level of a package. The "public" attribute is not available outside the package at all.
What I wish to know is why the quoted internal declarations at the top level of the package generate the quoted error.
However, I am beginning to believe that the documentation is in error and that what it is actually describing IS the situation you just described. When the manual says "top level of the package", it really means "top level of the ActionScript file outside the package", and when it says "the only attributes available at that level are public and internal", it really mans "the only attribute available outside the package declaration is internal. At the top level of the package, only one declaration may be made, it must have the same identifier as the ActionScript file name, and it can have either the public or internal attribute. Code within the same file but outside the package declaration can not access an internal declaration in the package declaration."
Actually, the whole paragraph would need to be re-written to clarify the issue and to unambiguously distinguish between "top level of a package" and "top level of an ActionScript file outside the package declaration".
As a concrete example - two ActionScript files:
MCTest.as is saved in the same directory as MCTest.fla, and the document class of MCTest.fla is set to "MCTest".
package
trace("MCTest package code.");
import flash.display.MovieClip;
import test.Test;
public class MCTest
extends MovieClip
trace("MCTest class code.");
function MCTest()
trace("Created Class MCTest: " + Test.StaticMessage);
trace("MCTest outside package code");
Test.as is saved in a sub-directory called "test".
package test
trace("test.Test package code");
public class Test
public static const StaticMessage:String = "Test: Hello World!";
trace("test.Test class code");
var myField:String = "myField";
function myFunction():String
return "myFunction";
trace("test.Test outside package: " + myField + ", " + myFunction() + ", " + test.Test.StaticMessage);
The resultant trace output is:
MCTest class code.
MCTest package code.
MCTest outside package code
test.Test class code
test.Test package code
test.Test outside package: myField, myFunction, Test: Hello World!
Created Class MCTest: Test: Hello World!
It is interesting to note that the package and outside package code are executed AFTER the class code.
That seems to make more sense. You can only declare one class, variable, function, or namespace at the top level of a package with the same identifier as the file name, public or internal, and you can include executable code. At the top level of the ActionScript file outside the package declaration, you can only declare internal classes, variables, functions, and namespaces, and you can include executable code, none of which are within the package nor have access to any package internal declarations.
The problem, therefore, would seem to be an incorrect manual. Does anyone actually know if this is accurate and the intended behavior? -
Invalid package declaration:
If you read my post a few messages down, I asked how to add a package in NetBeans. Solved (THANKS).
But now I get this error when I mouseover the items in the package. Can I get an exact walkthrough on what to do to enable a package to work in NetBeans?
l'll be more specific. I downloaded the jpb package from http://knking.com/books/java/ (Near the bottom)
NetBeans saves my projects in C:\Documents and Settings\Administrator. So (In accordance with the instructions given in the book) I made the dir. C:\Documents and Settings\Administartor\jpb and inserted 3 .java files in it (SimpleIO.java Convert.java and DrawableFrame.java). From this point, what do I do so that (in netbeans) I can type import jpb.* and not get any errors?
THANKS AGAIN FOR EVERYONE WHO HELPSYou must compile these files, and I suggest you to
create a jar library:
New project -> General -> Java Class Library
Copy your sources in it and build project. This will
generate a .jar in the dist folder in mounted
filesystem.
Now add this builded jar in your project library as
commented before.
mariOHey there, I'm also a newb facing a similar error...
I backed up a package by copy - pasting it and now i mounted it. However, when i mouseover any of its classes it says "Invalid package declaration" and i can't solve it....
pls help
THX!!! -
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 running import package
Hi,
Transformation file was validated successfully. But after running import package i am having following error on MS-BPC-7.0.
Invalid character in the given encoding. Line 1, position 1.
When i try validate and process trans file i am having the following error message. But same data file and same trans file was working till couple of days ago. After that whatever changes i have made to file, i did revert them to have it working like beofre.
Warning: Some records were rejected.
Rejected records reference either calculated members or invalid members.
Actually rejected record is only, one, but even other data was not loaded.
Thanks in advance for sharing your ideas or similar experiences.
Thanks,
KKHi,
There is definitely some problem with one of the records there. Do you have header? What is the delimiter? Do you have the same delimiter in the transformation file? You need to take a look at all the possibilities.
Hope this helps. -
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....
>
> -
Load of big files in BPC with import package
HI,
I need to import many files (.txt) with 1,5 million of data lines in BPC with import package.
But BPC is limited to 500 000 lines for each import.
Have you got a solution ?
Thanks,
MorgannMorgann,
You have two options.
1. use import into FACT table -> Cons : System will be offline. Pros : faster performance. No limit
2. if you should use import package, split file and put it into one folder and create a custom package that will handle those data file one by one. Cons : Need to make a custom package Pros : No system offline.
I hope it will help you.
Thanks.
James Lim -
i am new to java and facing problems in importing package which are self made.
secondly does JDK 1.1.3 can support swingHi,
I had some problems myself. I will add few lines, maybe it helps:
OK, let's assume that you work in a directory. In this case, set classpath to this hierarchy as well as to "." ('this' hierarchy - like in DOS).
Now, assume that you want to use packages MyPack1 and MyPack2. The source files of classes belonging to MyPack1 must:
- start with command
package MyPack1;
- be located all in the directory MyPack1
(and the same for MyPack2, of course)
If you want to use MyPack1 within MyPack2, you have to include:
import MyPack1.*;
even though MyPack1 is, in fact, located on path: ../MyPack1/*
(trust the classpath is important here) -
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 All,
I am getting a strange behavior using Import Package to load data into BPC. I load data into BPC in both LC and USD. When I load the data first time, it accepts transactions in both LC and USD. But when I load after the initial load, it errors out in CONVERT data with CURRENCY 'USD' and rejects transactions with USD Curriencies. USD is a valid currency and I have processed the currency dimension multiple times. Has anyone experienced this issue? I have processed the transformation file and also the conversion files and no issues with them.
Thanks for your inputs!!Hi,
I think that your FxTrans.lgl is included in your Default.lgl, and it is trying to convert your values at the same time that you are loading them. Do you require the FxTrans to always run? If not you can just comment it out and then you should not have an issue any more.
Cheers,
Andries -
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 packages without Maintenance license
I have installed my test SAP Solution Manager 7.1 to my laptop to Virtulabox. I would try to import the support packages, but I miss maintenance license. Is there any possibility to import packages when I have only a temporary license?
I want to just learn to work with transaction SPAM and try to import packages.Dear Miroslav,
There are not any possibility to import packages when you have only a temporary license.
YOu can learn to use SPAM/SAINT,if maintenance license will be present.
Regards,
Amit Barnawal
Maybe you are looking for
-
How do I lock Audio clip at playhead in iMovie
Hi, I have been using iMovie HD for years. Great program. Finally had to move on to iMovie 10. What a total disaster that is. I have a myriad of issues with it, as does everyone else, but right now I am trying to figure out how to lock an audio c
-
How do I sync my iPhone 5 with my iPad ?
how do I sync my iPhone with my iPad so my pictures and other content from my phone go to my iPhone?
-
F110_PRENUM_CHCK Form(SAP SCRIPT)
Hi, For the form F110_PRENUM_CHCK(SAP SCRIPT) Print Program is RFFOUS_C.What is the Check Amount Field in this Form and Direct Deposit Amount Field name in this Form and also needText Element names For this Fields. Thanks in Advance.
-
BC4J Problem using multiple EntityObjects in a single ViewObject
Hi, I have found a bug while using multiple EntityObjects in a single ViewObject. Considere the following example: Table A: A_ID Table B: B_ID A_ID (FK) NULLABLE TABLE C: C_ID B_ID (FK) NULLABLE For each table there is a corresponding EntityObject :
-
"View Pdf After Exporting" Moves Acrobat to Background
Wow, even this forum is buggy. I just lost my entire post because the "server wasn't responding". That'll teach me to copy and paste my post into a text file before hitting the Post Message button. Here goes again: I've tried getting an answer for th