Import SCA files in Development Tab of the Transport Studio take more time
Hi,
After Check-In files in the Transport Studio, the import of SCA files starts in the development Tab of the Transport Studio.
The import takes more time. Why this happens?
Am I missing any configuration? Please specify in detail.
Thanks in Advance,
Sathya
SC: sap.com_SAP-JEE:
SDM-deploy
Returncode : Not executed.
How to check the username, password and url for SDM?
Log file of Repository-import:
Info:Starting Step Repository-import at 2009-10-13 22:15:49.0484 +5:00
Info:Component:sap.com/SAP_JTECHS
Info:Version :SAP AG.20060119105400
Info:3. PR is of type TCSSoftwareComponent
Info:Component:sap.com/SAP_BUILDT
Info:Version :SAP AG.20060411165600
Info:2. PR is of type TCSSoftwareComponent
Info:Component:sap.com/SAP-JEE
Info:Version :SAP AG.20060119105300
Info:1. PR is of type TCSSoftwareComponent
Info:Step Repository-import ended with result 'not needed' at 2009-10-13 22:15:49.0500 +5:00
Log File of CBS-make :
Import got failed.
Info:build process already running: waiting for another period of 30000 ms
Info:no changes on the CBS request queue (DM0_DEMObp1_D) after a waiting time of 14430000 ms
Fatal:The request queue is not processed by the CBS during the given time intervall => TCS cannot import the request because queue is not empty
Fatal:There seems to be a structural problem in the NWDI. Please look after the operational status of the CBS.
Fatal Exception:com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: The request queue is not processed during the given time intervall. There seems to be a structural problem in the NWDI. Please look after the operational status of the CBS.:communication error: The request queue is not processed during the given time intervall. There seems to be a structural problem in the NWDI. Please look after the operational status of the CBS.
com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: The request queue is not processed during the given time intervall. There seems to be a structural problem in the NWDI. Please look after the operational status of the CBS.
at com.sap.cms.tcs.client.CBSCommunicator.importRequest(CBSCommunicator.java:369)
at com.sap.cms.tcs.core.CbsMakeTask.processMake(CbsMakeTask.java:120)
at com.sap.cms.tcs.core.CbsMakeTask.process(CbsMakeTask.java:347)
at com.sap.cms.tcs.process.ProcessStep.processStep(ProcessStep.java:77)
at com.sap.cms.tcs.process.ProcessStarter.process(ProcessStarter.java:179)
at com.sap.cms.tcs.core.TCSManager.importPropagationRequests(TCSManager.java:376)
at com.sap.cms.pcs.transport.importazione.ImportManager.importazione(ImportManager.java:216)
at com.sap.cms.pcs.transport.importazione.ImportQueueHandler.execImport(ImportQueueHandler.java:585)
at com.sap.cms.pcs.transport.importazione.ImportQueueHandler.startImport(ImportQueueHandler.java:101)
at com.sap.cms.pcs.transport.proxy.CmsTransportProxyBean.startImport(CmsTransportProxyBean.java:583)
at com.sap.cms.pcs.transport.proxy.CmsTransportProxyBean.startImport(CmsTransportProxyBean.java:559)
at com.sap.cms.pcs.transport.proxy.LocalCmsTransportProxyLocalObjectImpl0.startImport(LocalCmsTransportProxyLocalObjectImpl0.java:1736)
at com.sap.cms.ui.wl.Custom1.importQueue(Custom1.java:1169)
at com.sap.cms.ui.wl.wdp.InternalCustom1.importQueue(InternalCustom1.java:2162)
at com.sap.cms.ui.wl.Worklist.onActionImportQueue(Worklist.java:880)
at com.sap.cms.ui.wl.wdp.InternalWorklist.wdInvokeEventHandler(InternalWorklist.java:2338)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:422)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:133)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:344)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:298)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:705)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:659)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:227)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Info:Step CBS-make ended with result 'fatal error' ,stopping execution at 2009-10-14 02:16:28.0296 +5:00
Similar Messages
-
SC's Dependencies are missing in the check-In tab of the transport Studio
In SLD, the SC is created with the following dependencies:
(1) DI Build Tool 7.0
(2) SAP J2EE Engine 7.0
(3) SAP JAVA TECH SERVICES 7.0
Then, in NWDS, in the Development Configuration Window, the SC which is created is loaded.
Within the created SC, the DC is created. but the DC is created with some errors saying " The dependency files are not linked".
XML of CBS Build Compartment:
Software Component SC : SAP_JTECHS
SC State : ( 3 gray colored circle )
<dependencies>
</dependencies>
<build-variants>
<build-variant name="default" required-for-activation="yes">
<variant-mappings>
</variant-mappings>
</build-variant>
</build-variants>
Please note the dependencies tag are empty.
I also done "update CMS". but still it remains the same. please explain me my mistake.
D:\usr\sap\JTrans\CMS\inbox folder is empty.
I could able to see all the buttons in the Check-In tab of the transport Studio. But the Check-In button is disabled and the table of Check-In tab is empty.
The required Track is selected in the left-hand side of the Transport Studio Window.
Please guide me.Hi Sathya,
First you need to put SCA files
(1) DI Build Tool 7.0
(2) SAP J2EE Engine 7.0
(3) SAP JAVA TECH SERVICES 7.0
In your D:\usr\sap\JTrans\CMS\inbox in the server.
then you can create TRack and add SC dependancy to track...after that it will appear in the check-in tab.
Hope it helps,
Regards,
arun -
Optimizing the query - which takes more time
Hi,
Am having a query which was returning the results pretty fast one week back but now the same query takes more time to respond, nothing much changed in the table data, what could be the problem. Am using IN in the where clause, whether that could be an issue? if so what is the best method of rewriting the query.
SELECT RI.RESOURCE_NAME,TR.MSISDN,MAX(TR.ADDRESS1_GOOGLE) KEEP(DENSE_RANK LAST ORDER BY TR.MSG_DATE_INFO) ADDRESS1_GOOGLE,
MAX(TR.TIME_STAMP) MSG_DATE_INFO FROM TRACKING_REPORT TR, RESOURCE_INFO RI
WHERE TR.MSISDN IN ( SELECT MSISDN FROM RESOURCE_INFO WHERE GROUP_ID ='4'
AND COM_ID='12') AND RI.MSISDN = TR.MSISDN
GROUP BY RI.RESOURCE_NAME,TR.MSISDN ORDER BY MSG_DATE_INFO DESCHi
i have followed this link http://www.lorentzcenter.nl/awcourse/oracle/server.920/a96533/sqltrace.htm in enabling the trace and found out the following trace output, can you explain the problem here and its remedial action pls.
SELECT RI.RESOURCE_NAME,TR.MSISDN,MAX(TR.ADDRESS1_GOOGLE) KEEP(DENSE_RANK
LAST ORDER BY TR.MSG_DATE_INFO) ADDRESS1_GOOGLE, MAX(TR.TIME_STAMP)
MSG_DATE_INFO
FROM
TRACKING_REPORT TR, RESOURCE_INFO RI WHERE RI.GROUP_ID ='426' AND
RI.COM_ID='122' AND RI.MSISDN = TR.MSISDN GROUP BY RI.RESOURCE_NAME,
TR.MSISDN
call count cpu elapsed disk query current rows
Parse 1 0.01 0.02 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 6 13.69 389.03 81747 280722 0 72
total 8 13.70 389.05 81747 280722 0 72
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 281
Rows Row Source Operation
72 SORT GROUP BY
276558 NESTED LOOPS
79 TABLE ACCESS FULL RESOURCE_INFO
276558 TABLE ACCESS BY INDEX ROWID TRACKING_REPORT
276558 INDEX RANGE SCAN TR_INDX_ON_MSISDN_TIME (object id 60507)
********************************************************************************and the plan_table output is
STATEMENT_ID TIMESTAMP REMARKS OPERATION OPTIONS OBJECT_NODE OBJECT_OWNER OBJECT_NAME OBJECT_INSTANCE OBJECT_TYPE OPTIMIZER SEARCH_COLUMNS ID PARENT_ID POSITION COST CARDINALITY BYTES OTHER_TAG PARTITION_START PARTITION_STOP PARTITION_ID OTHER DISTRIBUTION CPU_COST IO_COST TEMP_SPACE ACCESS_PREDICATES FILTER_PREDICATES
23-Mar-11 23:36:45 SELECT STATEMENT CHOOSE 0 115 115 1058 111090 115
23-Mar-11 23:36:45 SORT GROUP BY 1 0 1 115 1058 111090 115
23-Mar-11 23:36:45 NESTED LOOPS 2 1 1 9 4603 483315 9
23-Mar-11 23:36:45 TABLE ACCESS FULL BSNL_RTMS RESOURCE_INFO 2 ANALYZED 3 2 1 8 1 30 8 "RI"."GROUP_ID"=426 AND "RI"."COM_ID"='122'
23-Mar-11 23:36:45 TABLE ACCESS BY INDEX ROWID BSNL_RTMS TRACKING_REPORT 1 ANALYZED 4 2 2 1 3293 246975 1
23-Mar-11 23:36:45 INDEX RANGE SCAN BSNL_RTMS TR_INDX_ON_MSISDN_TIME NON-UNIQUE 1 5 4 1 1 3293 1 "RI"."MSISDN"="TR"."MSISDN" -
Why view have no stored data ? And what is the reason view take more time
Why view have no stored data ? And what is the reason view take more time to query ?
what happen if a view have stored data?user12941450 wrote:
I want to know the reason that why querying view is slower then querying a normal table?..Untrue.
For example take a table with 2laks record and a view for that table.
If i make a query like( Select name,address from table) then it works fast then select(name,address)from view..Incorrectly interpreting the results.
A view is a SQL statement. Only difference is that the SQL statement is stored in the database's dictionary. Let's consider the following view:
create or replace view foo_view as select * from empWhen you use the view as follows:
select * from foo_viewOracle sees it as follows:
select * from (select * from emp)This is no slower, or no faster, than providing the following SQL to Oracle:
select * from empSo if you observe a difference in performance between using plain SQL versus using that same SQL via a view, there are other reasons for that difference in performance. The reason is NOT that views are slower. -
Error while importing ESS.sca file in Development tab.
Hi,
we are importing the ESS.sca file development tab. we are getting the below error.
Fatal Exception:com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: VcmFailureException received: HTTP protocol error [cause: Parsing of the response body failed [reason: XMLParser: > expected to close empty element (:main:, row:1, col:3541811)]]:
please give your sugesstions.
Regards,
srinivas,Hi Srinivas,
Try this out. I had a similar problem and i did this to make the import successful.
1) Go to usr/sap/J2E/JTrans/archives and copy the sca file with version shown like the above screen shot.
2) Unzip the entire sca file by renaming it. In the META-INF folder open the SAP_MANIFEST.MF file and the replace the 32 character guid for the field 'pr_dtrwspropagationlistid'
3) Change it to a different value and save it.
4) There will be four folders when the sca file was unzipped. Select all the 4 folders and then zip it again to the original name of the sca file.
5) Copy this file and then place it in the path usr/sap/J2E/JTrans/archives.
6) Now try re-importing the file it should work.
Hope this helps,
Regards,
Nagarajan. -
[JavaWebStart] the method showDocument take more time withJWS 1.6 ?
Hi,
I'm facing currently a problem since our product was migrated to Java webstart 1.6. Indeed, this problem is the same with JRE 1.5 or 1.6, it only depends of the JavaWebstart version.
We use the method showDocument of BasicService (http://java.sun.com/j2se/1.5.0/docs/guide/javaws/jnlp/javax/jnlp/BasicService.html)
BasicService bs = (BasicService) ServiceManager.lookup("javax.jnlp.BasicService");
bs.showDocument(file); This service is managed by JavaWebstart, that's why I have the problem independantly of the JRE version, it is only related to JavaWebstart version.
Since JWS 1.6, opening a documents takes 9 seconds when calling showDocument (it was only 1ms in JWS 1.5)
Does anybody already have this problem ?application server have 20 GB ram and DB server have 16 GB.
This is the parameter maintain in RZ10 regarding DB. Anything i want to maintain for DB memory allocation.
rsdb/obj/max_objects 20000
rsdb/obj/buffersize 40000
zcsa/db_max_buftab 10000
rsdb/cua/buffersize 10000
rsdb/ntab/irbdsize 8000
rsdb/ntab/ftabsize 60000
rsdb/ntab/entrycount 30000
j2ee/dbdriver $(DIR_EXECUTABLE)\mssjdbc\base.jar;
dbs/mss/par_stmt_cache_size 1000 -
A block of code takes more time in JRE 6_20 but less in the previous versio
while (entries.hasMoreElements()) {
ZipEntry zipEntry = (ZipEntry) entries.nextElement();
is = zipFile.getInputStream(zipEntry);
File file = new File(unzipDir, zipEntry.getName());
if (is.available() == 0) {
file.mkdir();
is.close();
} else {
file.createNewFile();
fos = new FileOutputStream(file);
CommonUtils.connectIO(is, fos, -1, true);
}Sorry a type,. The above code takes more time when I run withJDK 6_20. But its less time if the previous version is used. Cannot figure whats wrong. Here is the full method.
* Unzips the specified file into the specified directory. The optional file names list allows the caller
* to specify the actual files that get unzipped.
* @param srcFile the file to unzip
* @param unzipDir the directory where the unzipped files will be put
* @param fileNames the optional list of name strings for the zip entries to unzip or <code>null</code> to unzip
* all entries
* @throws NullPointerException if either the source file or the unzip directory is <code>null</code>
* @throws javax.faces.FacesException if the
public static void unzipFile(File srcFile, File unzipDir, List fileNames) {
if (srcFile == null) {
throw new NullPointerException("The zip file argument is null");
if (unzipDir == null) {
throw new NullPointerException("The unzip directory argument is null");
ZipFile zipFile = null;
InputStream is = null;
FileOutputStream fos = null;
try {
zipFile = new ZipFile(srcFile);
Enumeration entries = null;
if (fileNames != null) {
// Use a vector only so we can abstract away the zip entries enumeration...
Vector v = new Vector();
Iterator it = fileNames.iterator();
while (it.hasNext()) {
String name = (String) it.next();
v.add(new ZipEntry(name));
entries = v.elements();
} else {
entries = zipFile.entries();
while (entries.hasMoreElements()) {
ZipEntry zipEntry = (ZipEntry) entries.nextElement();
is = zipFile.getInputStream(zipEntry);
File file = new File(unzipDir, zipEntry.getName());
if (is.available() == 0) {
file.mkdir();
is.close();
} else {
file.createNewFile();
fos = new FileOutputStream(file);
CommonUtils.connectIO(is, fos, -1, true);
catch (IOException e) {
throw new FacesException("Problem unzipping file " + srcFile.getAbsolutePath(), e);
finally {
try {
if (is != null) {
is.close();
if (fos != null) {
fos.close();
if (zipFile != null) {
zipFile.close();
catch (IOException e) {
throw new FacesException("Problem closing resources when unzipping file " + srcFile.getAbsolutePath(), e);
} -
Importing sca into local development
Hi,
I need to create a web dynpro DC in my local development workspace. It is not connected to any track.
I also want to use a DC from the LM-TOOLS.sca. How do I import this in my local develpoment file system. The only sca's that are present are th SAP-JEE, SAP_BUILDT, and SAP_JTECHS.
On a track I know I can import it in the transport studio.
But how do I import it on a local develpoment tree.
thanks
PadmajaHi,
If her intention is to create a webdynpro DC this link helps her
http://help.sap.com/saphelp_nw04/helpdata/en/60/0a02403d62c442e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/34/6b63c1a7ba6845b85239999b7061bc/content.htm
To Importing Configurations via Local Configuration File
http://help.sap.com/saphelp_nw04/helpdata/en/9f/34353ed106ec2ce10000000a114084/content.htm
hope this helps you!
Regards,
RK -
All,
When attempting to import an SCA into a new project in NWDS, an "Import (into source SC) not possible: SCA doesn't contain DC sources" occurs. Any assistance to fix this issue appreciated.
Thanks,
LeeYou can indeed import SCAs into local development configurations in NWDS (Eclipse). You have to have a pre-existing software component of the same name and vendor which may or may not be empty.
In the Development Infrastructure perspective in NWDS 7.1, just right-click on the software component you want to overwrite with the import and choose "Import".
To import SCAs into a CMS track in the NWDI, you have to go to http://<NWDI server>:5<nn instance no>00/devinf/ and import the SCAs from the transport inbox directory of the NWDI server. Don't forget to maintain the SLD if necessary.
Cheers,
Thorsten -
How to import .jar files in order to use the classes within this file
hello guys,
I'm just wondering how can i import .jar files in order to uses the classes within this file.
let's take an example:
i have a folder in which I have many .jar files which contain classes to be called. the full path of this folder is set in the Classpath inside the enviroment variables.
so does anyone have any idea how can i import these .jar files so i can use the classes?
thank you.Hi,
My problem is that: I created a Serializable class in a project. And I added this project (first project) to another project (second project). First project is appearing in the second project' s Libraries folder. No problem. I want to create a jar file from second project. i.e. I want to Build second project (I use NetBeans IDE). I am using Build Main Project tab under Run. It is falling out. I am finding it second project' s jar file under its folder. I am clicking on it. But it is NOT WORKING. Do you know WHY. Could you help me please?
Thanks, -
SAP_ESS COMPONET are not showing in Check-in tab under the trasport Studio
Hi
Friends
I performed the following steps
1.created track in CMS
2.Added the software components
SAP_ESS 603 Folder UNDER FOLLOWING Sc's
EP_BUILDT
SAP-JEE
SAPPCUI_GP
SAP_BUILDT
SAP_JTECHS
3.copied the following SCAs to the inbox folder of CMS
sap.com_EP-WDC
sap.com_EPBC
sap.com_EPBC2
sap.com_KMC-CM
sap.com_LM-TOOLS
sap.com_SAP-EU
sap.com_SAP-JEE
sap.com_SAP_BUILDT
sap.com_SAP_JTECHS
sap.com_WDEXTENSIONS
sap.com_SAP_ESS
checked these SCAs in the transport studio
Check-in tab
sap.com_EP-WDC
sap.com_EPBC
sap.com_EPBC2
sap.com_KMC-CM
sap.com_LM-TOOLS
sap.com_SAP-EU
sap.com_SAP-JEE
sap.com_SAP_BUILDT
sap.com_SAP_JTECHS
sap.com_WDEXTENSIONS(this are the components are present under the transport studio check-in TAB)
BUT
sap.com_SAP_ESS COMPONET are not showing
Transport Studio I checked in all the components But sap.com_SAP_ESS COMPONET are not showing.
sap.com_SAP_ESS Component are showing in Assembly Tab in Transport Studio under the CMS..
My Question Is
Why its not present in the Check-in Tab
can u any body please Guide Me
Tanks & Regards
Rafi Shaiki am placed Dis .sca file in CMS INBOX..NOW ITS WORING
-
Can we send more than 50 files ...even at the cost of a more expensive subscription level?
Thanks.Hi Val,
Nice to see you in the forums again!
There is currently just the one subscription level for Adobe Send. If you want to send more than 50 files per transaction, you can try zipping up some or all of the files and sending them in batches. However, the ZIP files can't be previewed by your recipients, and tracking information pertains only to the full ZIP file.
Best,
Sara -
i send to be apple developer,and put the credit details,and more than 3 days passed and no reply
Lenovo have to call their customer number too, and the Solectron people like to put them on hold. Only when a Lenovo Executive gets involved like Mark_Lenovo can any problem with Solectron get resolved, as normal worker wouldn't have special contact numbers within the Solectron's management. So Lenovo call center workers get as frustrated as you if not more, as they hear complaints after complaints about them been thick and incompetent regarding depot repairs, when there is nothing more they can do, but obviously customers don't know the full story.
-
Multithreaded File Copy takes more time 1.5 times than single thread.
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.nio.channels.FileChannel;
public class TestMulti implements Runnable {
public static Thread Th1;
public static Thread Th2;
String str = null;
static int seqNumber = 1000000000;
public static void main(String args[]) {
Th1 = new Thread(new TestMulti("1_1"));
Th2 = new Thread(new TestMulti("1_2"));
Th1.start();
Th2.start();
try {
Th1.join();
Th2.join();
} catch (Exception e) {
e.printStackTrace();
public TestMulti(String str) {
this.str = str;
public void run() {
File f = new File("C:/Songs2/" + str);
File files[] = f.listFiles();
String fileName = "";
String seqName = "";
String seq = "";
int sequenceNo = 0;
try {
for (int j = 0; j < files.length; j++) {
File musicFiles[] = files[j].listFiles();
for (int k = 0; k < musicFiles.length; k++) {
seq = "18072006";
seqName = seq + seqNumber;
sequenceNo = 10000 + seqNumber % 100;
seqNumber = seqNumber + 1;
fileName = musicFiles[k].getName();
String fileExt = fileName.substring(fileName.length() - 3,fileName.length());
String targetFile = "C:/Songs1/" + sequenceNo;
File fi = new File(targetFile);
if (!fi.exists()) { fi.mkdir(); }
targetFile = "C:/Songs1/" + sequenceNo + "/" + seqName+ "." + fileExt;
FileInputStream fin = new FileInputStream(musicFiles[k]);
FileChannel fcin = fin.getChannel();
FileOutputStream fout = new FileOutputStream(targetFile);
FileChannel fcout = fout.getChannel();
fcin.transferTo(0, fcin.size(), fcout);
fout.flush();
fcout.close();
fcin.close();
fout.close();
fin.close();
} catch (Exception e) {
e.printStackTrace();
Multithreaded File Copy takes more time 1.5 times than single thread.
Is there any issue with this code. Please help me.If all of your threads are doing CPU-intensive work, or all are doing I/O to the same interface (for example, writing to the same physical disk), then multithreading would not be expected to help you.
Multithreading does not magically make your CPU able to do more work per unit time than it could otherwise.
Multithreading does not magically make your network interface or disk controller able to pump more bytes through than it could otherwise.
Where multithreading helps (some or all of this has already been mentioned):
* When you have multiple, independent CPU-bound tasks AND multiple CPUs available on which to execute them.
* When you have tasks that involve a mix of CPU-bound and I/O-bound work. The CPU-bound stuff can crank while the I/O-bound stuff waits for bytes to be written or read, thus making use of what would otherwise be CPU "dead time."
What you're doing does not fit either of those scenarios. Copying a file is pure I/O. If the source and destination file are on the same phsyical disk or controller, adding threads only adds overhead with no real possibility to do more work per unit time.
If your source and destination are on different disks or controllers, then it's possible that you could get some benefit from multithreading. While one thread is waiting for bytes to be written to the target disk, the other thread can be reading from the source disk. -
The 0co_om_opa_6 ip in the process chains takes long time to run
Hi experts,
The 0co_om_opa_6 ip in the process chains takes long time to run around 5 hours in production
I have checked the note 382329,
-> where the indexes 1 and 4 are active
-> index 4 was not "Index does not exist in database system ORACLE"- i have assgined to " Indexes on all database systems and ran the delta load in development system, but guess there are not much data in dev it took 2-1/2 hrs to run as it was taking earlier. so didnt find much differnce in performance.
As per the note Note 549552 - CO line item extractors: performance, i have checked in the table BWOM_SETTINGS these are the settings that are there in the ECC system.
-> OLTPSOURCE - is blank
PARAM_NAME - OBJSELSIZE
PARAM_VALUE- is blank
-> OLTPSOURCE - is blank
PARAM_NAME - NOTSSELECT
PARAM_VALUE- is blank
-> OLTPSOURCE- 0CO_OM_OPA_6
PARAM_NAME - NOBLOCKING
PARAM_VALUE- is blank.
Could you please check if any other settings needs to be done .
Also for the IP there is selction criteris for FISCALYEAR/PERIOD from 2004-2099, also an inti is done for the same period as a result it becoming difficult for me to load for a single year.
Please suggest.The problem was the index 4 was not active in the database level..it was recommended by the SAP team to activate it in se14..however while doing so we face few issues se14 is a very sensitive transaction should be handled carefully ... it should be activate not created.
The OBJSELSIZE in the table BWOM_SETTINGS has to be Marked 'X' to improve the quality as well as the indexe 4 should be activate at the abap level i.e in the table COEP -> INDEXES-> INDEX 4 -> Select the u201Cindex on all database systemu201D in place of u201CNo database indexu201D, once it is activated in the table abap level you can activate the same indexes in the database level.
Be very carefull while you execute it in se14 best is to use db02 to do the same , basis tend to make less mistake there.
Thanks Hope this helps ..
Maybe you are looking for
-
Very slow Broadband in Crawley after "Upgrade to u...
7.5 days after a service upgrade in my Crawley area I am still experiencing a painfully slow broadband connection. Speedtester tonight has recorded the dizzy speeds of 45Kbps Download / 366Kbps Upload. My BT Vision service does not want to know. My I
-
Problem in zmethod of bor object?
hi all, I have developed a workflow in which i have created one step to call a zmethod. and one function module is called inside this method with input parameters doctype,docyear and fyear.but the WF goes into error at this step. In log it is showing
-
Adobe Media Encoder cs5 - No audio
I am using Adobe Media Encoder cs5 version 5.0.1.0 on a Windows XP Service Pack 3 32-bit machine. None of the wmv or avi files I try to encode have the audio track encoded. I have tried encoding with both the "F4V - Match Source Attributes" and "FL
-
Getting distorted aspect ratio when Importing my TIFF picture files
Trying to import some Powerpoint slides in order to intercut between the slides and the speaker. When brought to the browser or timeline, these TIFF files, which looked fine on the cd, have taken on a widescreen 1.88:1 look. Under the motion tab in t
-
Hi,all.New here,and new to Sawtooth's. I just bought my first one(400mhz,DVD,120 gb hard drive,256mb ram[for now]),and was wondering if there was a video card that would allow me to hook it up to my HDTV.I have s-video,composite and HDMI inputs.Thank