Selector create problem during simulatenious access...
Hello guys,
in my application I want to use one common selector for registering the new connection at the same time accessing channels which are registered to it , trying to read from that.
But when any new connection arrives it is not able to read from there means not able to register the new connection and that;s why not creating new channel for the new connection..
I have tried to use different selector but at reading time it open so many umnecessary port at server side..
to escape from this i have used same selector also at reading time but in this case i found no connection problem..
i read API for selector in that they have mentioned that
Selectors are themselves safe for use by multiple concurrent threads; their key sets, however, are not.
Is this the case which interrupt me to go ahead in my application...
how can i resolve this application...
please help me out...
Here in my application for socket channel connection I have taken one selector.
sel = Selector.open();
SelectionKey acceptKey = server.register(sel, SelectionKey.OP_ACCEPT );
while(acceptKey.selector().select( ) > 0 )
//here using iterator we manage new connection as well as read and write from
//particular channel.
This I have written in the run method of a Thread..
Now at the same time another thread also using this selector for selecting channel from the selector to read and write...
selector=sel;
SelectionKey sel_KEY= client.register(selector, SelectionKey.OP_READ);
while (sel_KEY.selector().select() > 0)
// read from the channel...
Now this thing not create problem until new connection is come for the same connection which is done by the first thread..
using the same selector in both thread stopping to accept new connection..
if i try to use different selector for second thread than it will create some extra
ports on server side...
what is the reason..when i see the api for selector there is written that ,selector can be used by multiple thread but key set can not...
is this the problem????????
please help me out....
Similar Messages
-
We encountered a problem during use the Configtool access JAVA engine.
We encountered a problem during use the Configtool access JAVA engine.
Our environment of system as below:
HardWard: IBM i570
OS: IBM as/400 V5E3
DB: DB2/400
Application system:SAP XI 3.0
The problem we encountered as below:
Our company used XI 3.0 SR1 for exchange data between SAP R/3 and no-sap system.For now,we wanna create a backup system(for
offline recovery),so we backup the XI product system throught entiry system save in AS/400(we stopped the XI system before
save process start).And following,we restored from the tape that we save from XI product system to the new backup system(they
are whole different paratition),but the problem is coming.Describe as following item:
1. The application seem to can be started but the java node always restart circularly(We have 4 java node now),I think
because of different of hardware configure(between XI product and Backup system) and lack of hardware resource.(XI prduction
have 5 CPUs and 22G Mem,Backup system have 2 CPUs and 16G MEM ).Therefore we wanna decrease the number of java nodes for
start application in backup system(throught configtool).
2. We wanna use configtool to decrease the java nodes for start backup system.But we encountered a problem during running the
configtool ,the information of prompt dialog as following:
Error occurred while working with Configuration (Scanning).
Msg:Error while connecting to DB.
We also see the system.log that below the directory of usr\sap\PXI\DVEBMGS00\j2ee\configtool,and found some error as
following text:
#1.5#C0000A0008A8000000000000017A906E000423BFFC7246E0#1165207387826#/System/Configuration/Logging##com.sap.tc.logging.APILogg
er.LogController[addLog()]#######Thread[main,5,main]##0#0#Info##Java#TC_LOGGING_CONFIGURATION_NEW_ITEMS
[C0000A305666000000000002018FB1F70003D67C779ECE88]##The () has been added to the !#3#Log#.
system.log#/System#
#1.5#C0000A0008A8000000000001017A906E000423BFFC73A670#1165207388006#/System/Server##com.sap.engine.core.configuration#######T
hread[main,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###ConfigurationManager: found jar for secure store
Z:
sapmnt
PXI
global
security
lib
tools
iaik_jce_export.jar#
#1.5#C0000A0008A8000000000002017A906E000423BFFC73CD80#1165207388016#/System/Server##com.sap.engine.core.configuration#######T
hread[main,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###ConfigurationManager: found jar for secure store
Z:
sapmnt
PXI
global
security
lib
tools
iaik_jsse.jar#
#1.5#C0000A0008A8000000000003017A906E000423BFFC73CD80#1165207388016#/System/Server##com.sap.engine.core.configuration#######T
hread[main,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###ConfigurationManager: found jar for secure store
Z:
sapmnt
PXI
global
security
lib
tools
iaik_smime.jar#
#1.5#C0000A0008A8000000000004017A906E000423BFFC73CD80#1165207388016#/System/Server##com.sap.engine.core.configuration#######T
hread[main,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###ConfigurationManager: found jar for secure store
Z:
sapmnt
PXI
global
security
lib
tools
iaik_ssl.jar#
#1.5#C0000A0008A8000000000005017A906E000423BFFC73CD80#1165207388016#/System/Server##com.sap.engine.core.configuration#######T
hread[main,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###ConfigurationManager: found jar for secure store
Z:
sapmnt
PXI
global
security
lib
tools
w3c_http.jar#
#1.5#C0000A0008A8000000000006017A906E000423BFFC9C25A0#1165207390660#/System/Configuration/Logging##com.sap.tc.logging.APILogg
er.LogController[setResourceBundleName(String resourceBundleName)]#######Thread[main,5,main]
##0#0#Info##Java#TC_LOGGING_CONFIGURATION_IS_CHANGED[C0000A305666000000000000018FB1F70003D67C779CD2B8]##The for the
has been changed from to )!#5#resource bundle
name#LogController#com.sap.security.core.server.secstorefs.SecStoreFS#<null>#com.sap.security.core.server.secstorefs.SecStore
FSResources#
#1.5#C0000A0008A8000000000007017A906E000423BFFC9C4CB0#1165207390670#/System/Configuration/Logging##com.sap.tc.logging.APILogg
er.LogController[setResourceBundleName(String resourceBundleName)]#######Thread[main,5,main]
##0#0#Info##Java#TC_LOGGING_CONFIGURATION_IS_CHANGED[C0000A305666000000000000018FB1F70003D67C779CD2B8]##The for the
has been changed from to )!#5#resource bundle
name#LogController#/System/Security/SecStoreFS#<null>#com.sap.security.core.server.secstorefs.SecStoreFSResources#
#1.5#C0000A0008A8000000000008017A906E000423BFFCAC7D38#1165207391731#/System/Server##com.sap.engine.core.configuration#######T
hread[main,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###OpenSQLDataSource successfully created with secure
store.#
#1.5#C0000A0008A8000000000009017A906E000423BFFCDA3070#1165207394726#/System/Configuration/Logging##com.sap.tc.logging.APILogg
er.LogController[setResourceBundleName(String resourceBundleName)]#######Thread[main,5,main]
##0#0#Info##Java#TC_LOGGING_CONFIGURATION_IS_CHANGED[C0000A305666000000000000018FB1F70003D67C779CD2B8]##The for the
has been changed from to )!#5#resource bundle
name#LogController#/System/Database/sql/jdbc#<null>#com.sap.sql.log.OpenSQLResourceBundle#
#1.5#C0000A0008A800000000000A017A906E000423BFFCDB41E0#1165207394796#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnect
ionFactory#######Thread[main,5,main]
##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error
occurred on connection : code={0,number,integer}, state="", message="".#5#-99999#08001#The application requester
cannot establish the connection. (XIPRD)#jdbc:as400://XIPRD/SAPPXIDB;transaction isolation=read uncommitted;data
truncation=true;date format=jis;time format=jis;sort=hex;hold input locators=true;hold statements=true;cursor
hold=false#<null>#
The "SQL error occurred on connection" happened during start run configtool.
We don't know how to solve this problem.
ThanksI am unable to start my configtool.bat to administer JVM memory settings for my J2EE.
Wait......
Thanks -
Adobe Acrobate XI and SecCommerce SecSigner have a problem during signing of a document, creating/verification of the signature is not possible - solutions? SecSigner is not responding.
Well, I contacted SecCommerce about the issue, the response was, that I should sign the file later (afterwards). This is a solution, but not the best in my opinion.
When I sign the document the SecSigner window/Java window appears and freezes. Adobe is not responding. I have to terminate Adobe because the program is not responding.
I only found this support website, so I have realized that this is a User 2 User site, but it was a try to get some help. -
PROBLEM DURING CREATING AN AR INVOICE
Dear Sir,
I am having a problem during creating the AR invoice from the delivery. I am getting the message: (2) Message Sales Employee is Must. I am unable to create AR invoice for this reason. But when i am going to create AR invoice for the same delivery in different numbering series it is saying that Error in Numbering file, restorer it. I am really unable to cope up this problem. Please help me to resolve it asap.
Regards
AnupamHi,
Do you have any addtional code in the SP_TransactionNotification? If yes, try removing the code and then try to add the AR Invoice.
Kind Regards,
Jitin
SAP Business One Forum Team -
Problem during SAP Solution Manager Migration - create secure store
Hi all,
I have a problem during a migration of my SAP SOLUTION MANAGEER from Linux ORACLE to AIX 6.1 ORACLE 10.2.0.4
Release SOLUTION MANAGER 4.0 KERNEL 700
I have done the export of the database and now i start with the import.
SAPINST stopped at Create Secure Store phase and this is the log of SercureStoreCreate.log file.
Unhandled exception
Type=Segmentation error vmState=0x00000000
J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000033
Handler1=09001000A1271B80 Handler2=09001000A1269C20
R0=0000000000000000 R1=0FFFFFFFFFFFD460 R2=0000000000000010 R3=0000000000000010
R4=000000000000000B R5=09000000089B70A0 R6=0000000111BBE829 R7=0000000000000018
R8=0000000111C23D58 R9=000000003A470000 R10=0000000111B99CB8 R11=09000000089CD638
R12=0900000008970594 R13=000000011000D0C0 R14=0000000111BBE7B8 R15=0000000110096400
R16=00000001110EC8B0 R17=0000000111C23FD8 R18=09001000A12753A8 R19=0000000000000013
R20=0000000111C23FB8 R21=0000000111BBE848 R22=0000000110096480 R23=0000000000000000
R24=0000000000000000 R25=0000000110001098 R26=0000000110096400 R27=0000000110016870
R28=0000000000000000 R29=07000000001DD260 R30=000000000000000B R31=0000000000000010
IAR=09000000089CD638 LR=00000001108BB6C0 MSR=A00000000000D032 CTR=09000000089CD638
CR=4222422420000004 FPSCR=8202200000000000 XER=2000000482022000
FPR0 3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
FPR1 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR2 3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
FPR3 4530000000000000 (f: 0.000000, d: 1.934281e+25)
FPR4 4330000000400000 (f: 4194304.000000, d: 4.503600e+15)
FPR5 4330000000000000 (f: 0.000000, d: 4.503600e+15)
FPR6 3fb9999999999999 (f: 2576980480.000000, d: 1.000000e-01)
FPR7 3c63333333333333 (f: 858993472.000000, d: 8.326673e-18)
FPR8 0000000082024000 (f: 2181185536.000000, d: 1.077649e-314)
FPR9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR10 4330000000000000 (f: 0.000000, d: 4.503600e+15)
FPR11 4077f00000000000 (f: 0.000000, d: 3.830000e+02)
FPR12 3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
FPR13 4071f40000000000 (f: 0.000000, d: 2.872500e+02)
FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
Module=/usr/java14_64/jre/bin/libj9jit23.so
Module_base_address=0900000008998000
Target=2_30_20070530_12820_BHdSMr (AIX 6.1)
CPU=ppc64 (4 logical CPUs) (0x80000000 RAM)
JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
JVMDUMP007I JVM Requesting System Dump using '/tmp/sapinst_instdir/SOLMAN/LM/COPY/ORA/SYSTEM/CENTRAL/AS/core.20110907.081216.6947032.dmp'
JVMDUMP010I System Dump written to /tmp/sapinst_instdir/SOLMAN/LM/COPY/ORA/SYSTEM/CENTRAL/AS/core.20110907.081216.6947032.dmp
JVMDUMP007I JVM Requesting Snap Dump using '/tmp/sapinst_instdir/SOLMAN/LM/COPY/ORA/SYSTEM/CENTRAL/AS/Snap0002.20110907.081216.6947032.trc'
JVMDUMP010I Snap Dump written to /tmp/sapinst_instdir/SOLMAN/LM/COPY/ORA/SYSTEM/CENTRAL/AS/Snap0002.20110907.081216.6947032.trc
JVMDUMP007I JVM Requesting Java Dump using '/tmp/sapinst_instdir/SOLMAN/LM/COPY/ORA/SYSTEM/CENTRAL/AS/javacore.20110907.081216.6947032.txt'
JVMDUMP010I Java Dump written to /tmp/sapinst_instdir/SOLMAN/LM/COPY/ORA/SYSTEM/CENTRAL/AS/javacore.20110907.081216.6947032.txt
JVMDUMP013I Processed Dump Event "gpf", detail "".
Could please help me for finishing the migration?
Thanks in advance
AndreaHi,
this is the a part of sapinst.log:
ERROR 2011-09-07 10:12:18.24
FCO-00011 The step createSecureStore with step key |NW_Doublestack_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0|createSecureStore was executed with status ERROR ( Last error reported by the step :Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:
Unhandled exception
Type=Segmentation error vmState=0x00000000
J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000033
Handler1=09001000A1271B80 Handler2=09001000A1269C20
R0=0000000000000000 R1=0FFFFFFFFFFFD460 R2=0000000000000010 R3=0000000000000010
R4=000000000000000B R5=09000000089B70A0 R6=0000000111BBE829 R7=0000000000000018
R8=0000000111C23D58 R9=000000003A470000 R10=0000000111B99CB8 R11=09000000089CD638
R12=0900000008970594 R13=000000011000D0C0 R14=0000000111BBE7B8 R15=0000000110096400
R16=00000001110EC8B0 R17=0000000111C23FD8 R18=09001000A12753A8 R19=0000000000000013
R20=0000000111C23FB8 R21=0000000111BBE848 R22=0000000110096480 R23=0000000000000000
R24=0000000000000000 R25=0000000110001098 R26=0000000110096400 R27=0000000110016870
R28=0000000000000000 R29=07000000001DD260 R30=000000000000000B R31=0000000000000010
IAR=09000000089CD638 LR=00000001108BB6C0 MSR=A00000000000D032 CTR=09000000089CD638
CR=4222422420000004 FPSCR=8202200000000000 XER=2000000482022000
FPR0 3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
FPR1 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR2 3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
FPR3 4530000000000000 (f: 0.000000, d: 1.934281e+25)
FPR4 4330000000400000 (f: 4194304.000000, d: 4.503600e+15)
FPR5 4330000000000000 (f: 0.000000, d: 4.503600e+15)
FPR6 3fb9999999999999 (f: 2576980480.000000, d: 1.000000e-01)
FPR7 3c63333333333333 (f: 858993472.000000, d: 8.326673e-18)
FPR8 0000000082024000 (f: 2181185536.000000, d: 1.077649e-314)
FPR9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR10 4330000000000000 (f: 0.000000, d: 4.503600e+15)
FPR11 4077f00000000000 (f: 0.000000, d: 3.830000e+02)
FPR12 3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
FPR13 4071f40000000000 (f: 0.000000, d: 2.872500e+02)
FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
Module=/usr/java14_64/jre/bin/libj9jit23.so
Module_base_address=0900000008998000
Target=2_30_20070530_12820_BHdSMr (AIX 6.1)
CPU=ppc64 (4 logical CPUs) (0x80000000 RAM)
JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
JVMDUMP007I JVM Requesting System Dump using '/tmp/sapinst_instdir/SOLMAN/LM/COPY/ORA/SYSTEM/CENTRAL/AS/core.20110907.081216.6947032.dmp'
JVMDUMP010I System Dump written to /tmp/sapinst_instdir/SOLMAN/LM/COPY/ORA/SYSTEM/CENTRAL/AS/core.20110907.081216.6947032.dmp
JVMDUMP007I JVM Requesting Snap Dump using '/tmp/sapinst_instdir/SOLMAN/LM/COPY/ORA/SYSTEM/CENTRAL/AS/Snap0002.20110907.081216.6947032.trc'
JVMDUMP010I Snap Dump written to /tmp/sapinst_instdir/SOLMAN/LM/COPY/ORA/SYSTEM/CENTRAL/AS/Snap0002.20110907.081216.6947032.trc
JVMDUMP007I JVM Requesting Java Dump using '/tmp/sapinst_instdir/SOLMAN/LM/COPY/ORA/SYSTEM/CENTRAL/AS/javacore.20110907.081216.6947032.txt'
JVMDUMP010I Java Dump written to /tmp/sapinst_instdir/SOLMAN/LM/COPY/ORA/SYSTEM/CENTRAL/AS/javacore.20110907.081216.6947032.txt
JVMDUMP013I Processed Dump Event "gpf", detail ""..).
Thanks
Andrea -
We have a document-level customization solution for Word and are experiencing problems during deployment in an environment running on terminal services. The OS (Windows 2012) is English and Word (2013) is non-English (German).
Installation is done into the "Program Files" folder correctly. But when trying to start a word document linked to the specific template. The "Microsoft Office Customization Installer" pops up with the error.
"There was an error during installation"
From: file:///C:/Programme/[CompanyName]/[Productname]/[Productname].vsto
Downloading file:///c:/Programme/[CompanyName]/[Productname]/[Productname].vsto did not succeed.
Exception: ....
System.Deployment.Application.DeploymentDonwloadException: Download file:///C:/Programme/[Companyname]/Productname]/[Productname].vsto did not suceed. ---> System.Net.WebException: Could not find a part of the path 'C:\Programme\[Companyname]\[Productname]\[Productname].vsto'.
---> System.Net.WebException: ...... ---> System.IO.DirectoyNotFoundException......
The problem seems to be that the installer is looking for C:\PROGRAMME instead of C:\PROGRAM FILES. C:\PROGAMME is the German localized name of PROGRAM FILES (http://en.wikipedia.org/wiki/Program_Files).
The installer installs the solution correctly deployed into c:\program files, but when the later a user tries to start it and the Microsoft Office Customization Installer is called, it tries to access the non-existing "c:\programme" folder. This
doesn't exist, because Windows is English.
Is there any thing related to deploying solutions on a platform which has different languages (mixing/matching of OS language and Office language?)
Thank you for your helpHello,
1. First, I would confirm with you whether you dealt with the localization for your document-level add-in?
2. Did you use this way to define the Create a class that defines the post-deployment action part of Put the document of a solution
onto the end user's computer (document-level customizations only) and did you get the path with Environment.SpecialFolder enum?
To handle this, I would recommend you consider using Environment.SpecialFolder to set that property.
Regards,
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Very very strange backflush problem during CO11N?????
Hi Experts,
I find a strange backflush problem during production order confirmation by CO11N,described as follows:
When I create a production order for material A ,total order quantity is 2,means to produce 2 material A. For produce 2 material A, we need 10 material B.That means in the component view of this produciton order ,there is item material B, and the requirement quantity is 10.
After release the production order,when doing order confirmation by CO11N,I enter 1 for material A in the "Yield to Be Confirmed" ,that means to confirm 1 material A and having done a partial confirmation (Beacause the production order quantity for A is 2) .Because 2 material A need 10 material B,so the system will post goods movement for 5 material B.
After that ,confirm 1 material A, I change the production order,change the requirement quantity of material B from 10 to 5,and the quantity withdrawn of B is aslo 5 because backflush of confirmation 1 material A.
And after changing the production order ,when again doing order confirmation by CO11N,I aslo enter 1 for material A in the "Yield to Be Confirmed" ,that means to confirm 1(the last material A to be produced) material A.But because I have already change the BOM of produciton order,2 material A only need 5 material B now,and the quantity withdrawn of B is 5 now.So I think the system should not backflush material B by this order confirmation.
But the system aslo backflush material B by this order confirmation,and the backflush quantity is 3 ,not 5,that means system automatic post 3 material B goods movement.
Very strange, I don't undrestand why?
I don't konw why system still automatic post goods movement backflush although I have changed the requirement quantity of one material and the Quantity withdrawn is equal to the requirement quantity?
What is the automatic goods movement logic by production order confiramtion ,especially the backflush quantity logic?
I aslo want to konw how I can set the backflush component quantity when doing order confirmation by CO11N in customzing through IMG?
Where can I customzing backflush quantity in IMG?
Edited by: Fei Liu on Apr 1, 2009 12:11 PMduffymo's right (but a little terse in explaining).
Your "urgent problem" is that your SQL query is unorderd. However duffymo is also pointing out that a little additionaly work can make your code be more standard and work better/faster.
Instead of doing what you're doing (bouncing to the end of the result set end, getting the number of messages, then walking through the result set backwards), retrieve the data in the order you want to display, using an "ORDER BY x" or "ORDER BY x DESC" clause. Use rs.next() to walk through the records and count them as you do so.
no_of_mail = 0;
while (rs.next())
no_of_mail = no_of_mail + 1;
// process here.
}Many drivers and DBs are designed to be much much more efficient when ResultSets are accessed "in order"; since that's the normal case, that's what is optimized the most. -
Problem during creation of shipment document and shipment cost document
Hi
My client facing problem during creation of shipment document and shipment cost document at the time of Batch Job
Delivery no 897654: goods issue on 30.11 at 13:22. Shipment on 30.11 (VT01N).
Shipment costs on 1.12 (VI01).
the problem is the shipment document get created on 30.11.2010 but the shipment cost document get created on 1.12.2010
pleas advice.Hi,
Please check the batch job processing log.
As per my understanding, business requires to generate the Shipment & Shipment cost documents immediatley.
However there is some time between the documents creation time. I dont see any issue in the data or problem in the delivery docs Because system will not generate the shipment docs after 1 or 2 days if there is an issue with the data . There must be problem in the Batch Job.
Analyse the batch jobs and timing of the job process.
Let us know your feedback...
Best Regards,
MKumar -
Problem during deployment of axis (stock) examples
Hi all
I am getting problem during the deployment of stock example given in the apache site.
Even i am not getting the right response from the URL
http://localhost:8080/axis/services/Version?method=getVersion
and
http://localhost:8080/axis/EchoHeaders.jws?method=list.
I am using tomcat 4.1 and JDK1.4.
I have set all the jar files in the axisclasspath.
At the deployment i am using the commond
C:\tomcat4\webapps\axis\WEB-INF\classes>java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService samples\stock\deploy.wsdd
and getting fault as
Processing file samples\stock\deploy.wsdd
Exception: AxisFault
faultCode: {http://xml.apache.org/axis/}Server.NoService
faultSubcode:
faultString: The AXIS engine could not find a target service to invoke! targetService is null
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:Divyakant-verma
If anybody has solution please let me know
Thanks in advance
Divyakant VermaI too am having the same issue and I am using the Java2WSDL and the WSDL2Java to create both the WSDL and the WSDD and I still get Server.NoService when I try to use the AdminClient to deploy the wsdd?
I have tried using both 1.2 and 1.2.1.
I am going to try to use an older verison to see if this is a bug..
If any one know the answer to this deployment problem please speak up. -
Problem during recording of CJ01 transaction for BDC
Hello All,
I am facing a problem during the recording of CJ01(Creation of projects) for creation of BDC program.
The problem is during recoding after entering the the first WBS element with level 1 and i press the '+' button to create one more WBS element with Level 2,the first WBS element with level 1 goes to the bottom of the line item table and now if try to create the WBS element with Level 2 in the first line it wont allow because of the fact that the first WBS element with level 1 is below it.
But if i enter the first WBS elemnt with level 1 in the first line and come to the next line and enter the second WBS element with level 2 it will create since Level 2 WBS is below the Level 1.But this approach cannot be used for doing a recording for BDC.
Can anyone help in this regard
Thanks in Advance
AshishHi Ashish,
NW is right. It is not proper to use BDC for CJ01. You can get more control and better if you use the following function module,
1. Use BAPI_PROJECT_MAINTAIN to create project definition and WBS Structure in one go. see the documentation in the BAPI on how to use this. Post the resut in this forum if you face any problem
Ravi -
Hello everyone!
I've a problem during installation of Itunes 10.7 on Window 7 x64. I had installed v11 but i don't like it, so i've uninstalled correctly this version and i have downloaded v10.7
The message, translated in english, is:
UNKNOWN \ Components \ ... \ 2B0163E6D0340BE2758E9BEDD8.
Make sure you have sufficient access to that key, or contact your support staff.
I don't know how to do...I don't want to format my pc
I have already tried to erase all the "apple" folders on directory C:\, but nothing to do...
Is there anybody that can help a poor italian boy, please?
Thanks a lot,
TeoThx Polydorus!
this evening i'll try and i'll tell you if it works!
Teo -
Problem during import of 121 transport requests to productive system
Hello
We have problem during import of transport requests to productive system. Import of 121 transport requests stopped very soon in phase "N" (in TRBAT I have only one entry and in TRJOB as well).
In sm50 there is an BGD running under user DDIC in client 000 now for 14453 seconds (program SAPLSDB2). This should be import.
In SM37 I can see it as job "RDDGEN0L" with repport"RDDGENBB". Based on some literature it should perform "Converting all structure changes generated by the import and recorded in table TBATG, other than the structure changes to matchcode objects." Very interesting that TBATG has only four entries related to 2 indexes in table "DFKKOPK" , one in table "DFKKREP06" and one" ENQU" for EFKKEXC". (only this last one has not status error)
For fist two indexes I know they are not present as objects "LIMU""INDX" in any transport request beeing imported.
Also on productive system there is no"VOL" and "ZOL"indexes for table "DFKKOPK"(instead they are created on test system ie. not transported from development to test system)
Last command for that process is "CREATE INDEX "DFKKOPK~HKO" ON "DFKKOPK" ("MANDT", "HKONT", "OPBEL") PCTFREE 10 INITRANS 002 TABLESPACE PSA
PTR3 STORAGE (INITIAL 0000000016 K NEXT 0000000016 K MINEXTENTS 0000000001 MAXEXTENTS UNLIMITED PCTINCREAS"
There is enaught space on disk and in tablespaces (it is an oracle/HPux server).
Does anyone knows workaroun to solve productionare you importing these transport requests simultaneously into production?
I would suggest you try doing in smaller groups of 5 or 10 and then see whether you are able to import the requests
Rohit -
Problem with file access in other computer in jsp
I have problem with file accessing in other computer in jsp.
The follow code
File folder=new File("Z:"+File.separator+"sharefolder");//Z is a net share driver
File[] files=folder.listFiles();
System.out.println("test");
System.out.println("length="+files.length);
will throw exception at the second print.
but it works well in main funtion.
Is anybody know what is the problem.
JSP works on windows2003 server,tomcat 5.0.28 JDK1.4 net share folder on windows2000 serverno error code for this.But when I start tomcat I get the follow error.
java.lang.IllegalArgumentException: Document base Z:\ does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3910)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4138)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Exception during cleanup after start failed
LifecycleException: Container StandardContext[msgstore] has not been started
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4466)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) -
RFC connection problem during SRM - R/3 integration
Hi,
Our environment is SRM 5.5 server with 2 R/3 backend systems. One of the R/3 systems is in another country. We happen to have RFC problems during the communication between the SRM and R/3 server.
Below you can find the SM21 log related to an operation on SRM server. What might be the reason for this problem? Does anyone know the solution?
Many thanks
Details Page 2 Line 26 System Log: Local Analysis of sapsrmt 1
Time
Type
Nr
Clt
User
TCode
Grp
N
Text
10:24:58
DIA
000
013
EMREK
R4
9
Communication error, CPIC return code 020, SAP return code 223
Communication error, CPIC return code 020, SAP return code 223
Details
Recording at local and central time........................ 07.12.2006 10:24:58
Task......
Process
User......
Terminal
Session
TCode
Program
Cl
Problem cl
Package
91342
Dialog work process No. 000
EMREK
XXXXXXXX
2
K
SAP Web AS Problem
STSK
Further details for this message type
Module nam
Line
Error text
Caller....
Reason/cal
thxxhead
7192
020223
ThRecei
CPIC-Er
Documentation for system log message R4 9 :
A CPIC function has failed. The conversation ID and CPIC function are
specified in the system log entries. Use the conversion ID to find more
detailed information about the error in the system log for the SAP
gateway.
Meaning of the SAP return codes:
1) Gateway errors:
221,,Error in CPIC-SS
222,,Storage bottleneck
223,,Network read error
224,,Network write error
225,,Invalid request
226,,No connection yet
227,,Gateway process terminated
228,,Shared-Memory problem(read)
229,,Shared Memory problem(write)
230,,No free LU
231,,No free gateway process
232,,Error when starting gateway proc.
233,,Incorrect communication type
234,,Connection setup failed
235,,Error in comm. table
236,,No connection to gateway
237,,Connection to gateway closed
238,,Error in GW command (write)
239,,Error in GW comm. (read)
240,,Invalid length
241,,Invalid environment
242,,Timeout
243,,Error setting up SAP connection
244,,Partner has closed connection
245,,Storage overflow
246,,Incorrect APPC header version
247,,APPC server not started
248,,Error accessing TXCOM
249,,Comm. table is full
630,,Invalid mode no. received
631,,Max.no. of gateways reached
632,,No LU specified
633,,Max.no. of clients reached
634,,Invalid TP name
635,,fork failed
636,,Invalid NI handle
637,,rexec failed
638,,TP start failed
639,,NiDgSend failed
640,,Internal error
664,,Gateway host is unknown
665,,Gateway service unknown
666,,NI error
667,,exec failed
668,,R/2 restarted
669,,Symb. destination too long
670,,No more side-info entries
672 ,,Logon to NetWeaver failed
673 ,,IMS Error Purging
674 ,,Timeout for registered programs
676 ,,TP not registered
677 ,,Timeout for registered programs
678 ,,TP is registered
679 ,,TP is not registered
720 ,,Security breach of registered programs
721 ,,SNC deactivated
722 ,,SNC required
723 ,,SNC name not defined
724 ,,Default SNC name not permitted
725 ,,Protocol does not support SNC
726 ,,No local SAP System
727 ,,SNC required
728 ,,Conversation ID not found
729 ,,SNS must do the communication
730 ,,Start of external programs deactivated
731 ,,Gateway shut down
732 ,,No external programs
733 ,,Conversation ID does not match
734 ,,Net conversation error
735 ,,Monitor is not active
736 ,,Conv-ID is not unique
Errors in the CPIC Interface:
450 ,,No storage
451,,No side-info entry
452,,TP-START failed
453,,No initialization
454,,"getlu" failed
455,,"signal" failed
456,,Timeout during conn. setup
457,,CMALLC failed
458,,CMSEND failed
459,,Prepare-To-Receive failed
460,,"mc_flush" failed
461,,CMRCV failed
462,,Argument missing
463,,"get_allocate" failed
464,,CMDEAL failed
465,,TP-END failed
466,,Max.no.of conv. reached
467,,"snaopen" failed
468,,"snactl" failed
469,,No flush in IBM environment
470,,"snaclse" failed
471,,Status error
472,,No side-info entry
473,,No conversation
474,,Connection closed manually
475,,Connection closed automatically
476,,No partner found
477,,Confirm failed
478,,Confirmed failed
479,,GWHOST not in side-info entry
480,,GWSERV not in side-info e.
481,,PROTOCOL not in side-info entry
482,,LU not in side-info e.
483,,TP not in side-info entry
484,,No conn.to gateway
485,,gethostname failed
486,,SAP_CMACCP not executed
487,,Program not in argument list
488,,Host not in argument list
489,,Service not in argument list
490,,Conv-ID not in argument list
491,,Invalid parameter
492,,LU62CVCT failed
493,,LU62ATTCH failed
494,,No CONV table
495,,Incorrect conv.table
496,,Invalid conv modification
497,,NiHostToAddr failed
498,,NiAddrToHost failed
499,,Read operation tab.THOST failed
500 ,,No side info file exists
501 ,,CMRCV failed
Technical details
File
Offset
RecFm
System log type
Grp
N
variable message data
6
245700
m
Error (Function,Module,Row)
R4
9
020223 ThReceiCPIC-Erthxxhead7192Hi,
It will be very difficult to solve without being on the customer site and having all information.
Right now, the error code is network error...
Kind regards,
Yann -
More on a very strange problem in microsoft access
Hi,
I wish to describe this problem futher. I have a table named test, the table has a field named "content" and it's a memo type. I try to insert some strings in it, many strings work fine except when I insert this string
client for updates
I do some testing, event
t for updates cannot be inserted in it.
Can anyone tell me what happened?
With my best,
Zike HuangI just created a table in Access 2000 with a memo column and inserted the string "client for update" into it. NO PROBLEM. It's your code.
Here's the Java I used to do it:
import java.sql.*;
public class MemoInsertTest
public static void main(String [] args)
try
if (args.length > 1)
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String url = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\\Software\\Java\\Forum\\MemoInsertTest.mdb";
Connection connection = DriverManager.getConnection(url);
String sql = "INSERT INTO DOCUMENTS(SUBJECT, CONTENT) VALUES(?,?)";
PreparedStatement statement = connection.prepareStatement(sql);
statement.setString(1, args[0]);
statement.setString(2, args[1]);
int rowCount = statement.executeUpdate();
System.out.println("# rows inserted: " + rowCount);
statement.close();
connection.close();
catch (Exception e)
e.printStackTrace(System.err);
}I created a table in Access with this schema:
CREATE TABLE DOCUMENTS
DOCUMENT_ID AUTOINCREMENT,
SUBJECT VARCHAR(80),
CONTENT MEMO,
PRIMARY KEY(DOCUMENT_ID) I'm running JDK 1.4.1 on Windows XP Professional.
I say this works. Try it on your machine and see. - MOD
Maybe you are looking for
-
No Volume in OS 10.5.4
Hey All.. Quick question. I am sitting on my MacBook Pro just now and I'm experiencing difficulty with my Volume controls. I haven't experienced this before. I have no volume yet the icon on the menu bar shows it to be full. No sound is coming out ev
-
Qosmio X300 - CORSAIR RAM is not working
Hello, I own a Toshiba Qosmio x300-130 and in users manuall it is said it support max 2 x 4gb ddr 3 =8gb So today my CORSAIR RAM ARRIVED !!! AND i was suprised they didnt work !!!! Ima out of tricks what do u think the pr is ? here is the part number
-
How do i get my Ipad to read exFat cards?
How do i get my´Ipad to read exFat cards?
-
Can anyone explain why my icloud won't send my emails via numbers
My icloud will not send email said numbers app. Or it won't cc. me. Can anyone explain?
-
We have a running application which uses Weblogic Server 6.1. We wanted to download an evaluation copy of 6.1 from one of our other centers to try and run the same application. However, on going to the site I find that only 8.1 (or 7.0) is available