Is JCO Depreciated ?
Dear Experts,
I have created a jsp dynpage applications in NWDS CE 7.1, deployed and its working fine. But when I add the same portal application in to NWDI DC , all JCO related methods says JCO depreciated.
Any pointers on this?
Ram
This is the way! created a common DC, addedthe sapjco jar, deployed and used
Similar Messages
-
Error while selecting Load Balancing in JCO creation
While creating JCO i am facing this error.It is working fine with Single server connection,but when i chose Load balancing i error comes out.Please tell me the solution.
I have read couples of forum mentioned you need to start both Portal and ECC.
For you information my Portal and Java are both on diffrrent Box.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=olameccpdvr GROUP=PUBLIC R3NAME=DVR MSSERV=sapmsDVR PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service 'sapmsDVR' unknown TIME Thu Feb 24 12:19:54 201 RELEASE 701 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE nixxhsl.cpp LINE 776 DETAIL NiHsLGetServNo: service name cached as unknown COUNTER 5Is your backend system configured correctly in your SLD ?
Go to transaction SMMS on your backend system that your are connecting to. Click on Goto=>Parameters=>Display. Look for "server port" value.
This should give you the TCP/IP port for your message server. It could be 3600 or 3601 (36NN - where NN is the instance number).
In your services file, if you made the entry at the end of the file, press Enter (Return) after your entry.
Try restarting your server after making the above changes.
- Shanti -
Error in creation of JCO with Load balancing server
Hi,
We are using a ABAP user base for our WEBAS server 6.40 (with ABAP+JAVA). i have created a Public group in concerned ECC 5.0 system. I have already configured SLD, and then i maintain data supplier bridge in SLD and run RZ70 in ECC 5.0 system to load system information.. i can see details in SLD ..
now i am trying to create JCO connections .. here i am unable to create JCO with load balancing option.. i get
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=<servername> GROUP=PUBLIC R3NAME=SID MSSERV=sapms<SID> PCS=1 ERROR service 'sapms<SID>' unknown TIME Fri Jun 16 12:41:20 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 MODULE ninti.c LINE 505 DETAIL NiPGetServByName2: service 'sapms<SID>' not found SYSTEM CALL getservbyname_r COUNTER 1
i am able to create single server JCO, but it fails in load balancing.. is there anything i have missed out in settings...
Thanks and regards,
SudhirThanks, Bogdan Rokosa
I have the same problem,and solved it following the steps provided by Bogdan Rokosa :
you must insert an entry for your R3 system
(like: sapms<SID> 3600/tcp)
in services file
(C:\WINDOWS\system32\drivers\etc\services) on Java WAS.
I test the Jco successful without restart J2EE Engine. -
Calculation of Tax Depreciation
can u tell me How Can we calculate Tax Depreciation with out posting in Financial Records...for Income Tax Purpose....plz give me the configuration steps
and also how can we show in reports,,....
Thanks in Advance....
SureshHi Suresh,
I have set up a new depreciation are for tax reason you have to do the following steps:
V_T093C_08 Specify Transfer Date/Last Closed Fiscal Year
(Take over date, last day of the last fiscal year)
VC_T093U03 Specify Sequence of Depreciation Areas Set-up area 67
(plase the new depreciation area on top)
VC_ANKB_01 Determine Depreciation Areas in the Asset Class
(Assign new depreciation area to asset classes wirh default values
V_TABWA Define Transaction Types for Acquisitions
( Created transaction type to make a acquisition posting in only the new depreciation area)
V_T093_00 Define Depreciation Areas
(created new depreciation Area)
To run AFBN - New Depreciation Area to ad the new depreciation area's to the existing assets
I created 2 LSMW's
1. To up-date the assets from last year with the correct depreciation key, depreciation start date (when you chage this you have to change exp. UL live to blanc, SAP recalculate this) Do this upload not for deactivated assets this year. (the first collum is than not the new depr area in AS92
2. To uplad the acquisition value for the Capitalized assets this year (using the new tranaction type to post only in the new area) transaction ABSO.
The best is to test this first and to do year-end closing for this year.
Paul -
Calculation of Tax Depreciation - India
Hi,
We are following the New GL Accounting setup to our US based client in India.
My Leading Ledger (US) is Jan u2013 Dec and Non-leading Ledger (India) is April u2013 March.
We also created different Fiscal Year variants (Year Dependent) as S1 and IN for both the Co codes.
I have defined and activated Non-leading ledger for India Company code.
All the transactions were posting correctly as per Leading and Non-leading ledgers except Tax Depreciation in Fixed Assets.
I was able to post correct depreciation for India Company Act Depreciation area with a stated percentage. But the Tax depreciation area calculation is incorrect.
Required Depreciation Calculation for Tax Depreciation Area as below:
For Acquires & Additions:
Rule1: If it is >=180 days (as per Non-leading ledger Fiscal year) the system should calculate depreciation as stated percentage. Eg: 10%
Rule2:
If it is <180 days (as per Non-leading ledger Fiscal year) the system should calculate depreciation of 50% on stated percentage. Eg: Stated percentage is 10%, then it should be 5%.
I already copied India standard setting IT & NL to my fiscal year variant in Calender assignments of Period controls. But when I tried to post the Tax Depreciation in the month of March as per Non-leading ledger, the system is calculating full Depreciation as per Rule1 instead of 50% of stated Percentage in Rule2.
Can any one of you kindly advice how to setup the Multi levels methods and Period controls for Tax Depreciation key in Indian Tax Depreciation area as per above requirement. I have been working on this since one week. Please help me.
Thanks for the help.
Regards,
JBCI am not sure if this work.. but give it a try.
In your multi-level method line 1 put Acq yr = 9999, Year = 999, Per = 6, Percent = 50
line 2 put Acq yr = 9999, Year = 999, Per = 12, Percent = 10
Now what i dont understand from your question is that is this rule for the first acquisition year only?
If so, also try with Acq yr = 9999, Year = 1 (so only the first acq yr will get calculated based on the percentage).
Try this in your sandbox and let me know if it works or not!! -
In repeat run, can i calculate Depreciation for perticular period.
Hi
when I calculate the depreciation in Repeat Run, It shows the message that for 12 periods only the Dep is calculated.
But I want to calculate the Dep for Particular period. Is it possible?????
If possible pl give me the suggession
Venkata RajuHi,
You can't do.
See below note:
It is possible to repeat the posting run within the period last posted. However, in contrast to the first run for a period, the repeat run can be restricted to specific assets. In the repeat run, the system posts changes to depreciation, as compared to the depreciation amounts from the previous run.
Normally the repeat run is carried out at the end of the fiscal year, if completing postings are necessary because of corrections to manual depreciation or depreciation terms.
Regards,
Murali -
Hi All,
After two years of CTS+ working without issue, in the last fortnight JCO_ERROR_LOGON_FAILURE has occurred. I have reviewed all the configuration in document http://scn.sap.com/doc/DOC-30177, and it all looks fine. The user configured also checks out fine as well. The user id that is causing all the trouble is CTS_<SID>. We chose this option so we could determine which user in case of future issues. We have two development paths, Project and BAU. So at anyone time transports that have started in the BAU development system will need to be imported into the Project development system (using transport express) and vice versa. Attached is the security authentication log from the system showing authentication failure. I have also checked the transport routes defined for the business systems in the SLD and these look fine as well. Roles assigned to the user are SAP_CTS_PLUS,
SAP_J2EE_ADMIN, SAP_XI_CMS_SERV_USER, SAP_XI_CONFIGURATOR, SAP_XI_DEVELOPER, Z_CTS_PLUS_ADDITIONAL. I have also checked the permissions on the file at the operating system level.
Any suggestions/advice gratefully received as this really has me scratching my head.
Log:
!REPOSITORY_ERROR_CHECK_STACKTRACE!
[EXCEPTION]
com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon) on DXI mshost strsap31
at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:662)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1364)
at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:731)
at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:103)
at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:293)
at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:46)
at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:262)
at com.sap.conn.jco.rt.RfcDestination.initialize(RfcDestination.java:509)
at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:533)
at com.sap.conn.jco.rt.RepositoryManager.getRepository(RepositoryManager.java:30)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:603)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:27)
at com.sap.cts.jco.tms.TmsJCoAdapter.initializeJCo(TmsJCoAdapter.java:76)
at com.sap.cts.jco.tms.TmsJCoAdapter.<init>(TmsJCoAdapter.java:57)
at com.sap.cts.jco.EpsFileReader.<init>(EpsFileReader.java:76)
at com.sap.cts.jco.EpsFileReaderController.doImport(EpsFileReaderController.java:90)
at com.sap.cts.core.ImportManager.execImport(ImportManager.java:102)
at com.sap.cts.ejb.DeployBean.execImport(DeployBean.java:170)
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:597)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:47)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:204)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:710)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:662)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:322)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:199)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:65)
at com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:457)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: RfcException: [null]
message: Name or password is incorrect (repeat logon) on DXI mshost strsap31
Return code: RFC_SYS_EXCEPTION(3)
error group: 103
key: RFC_ERROR_LOGON_FAILURE
at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:219)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1331)
... 87 more
Caused by: RfcException: [DXI|strsap31]
message: Name or password is incorrect (repeat logon)
Return code: RFC_SYS_EXCEPTION(3)
error group: 104
key: RFC_ERROR_SYSTEM_FAILURE
Exception raised by DXI|strsap31
at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:2034)
at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:187)
... 88 more
Caused by: com.sap.conn.rfc.exceptions.RfcGetException: Name or password is incorrect (repeat logon)
at com.sap.conn.rfc.engine.RfcImp.ab_rfcerror(RfcImp.java:1157)
at com.sap.conn.rfc.engine.RfcGet.rfcget_run(RfcGet.java:131)
at com.sap.conn.rfc.engine.RfcGet.ab_rfcget(RfcGet.java:23)
at com.sap.conn.rfc.engine.RfcRcv.ab_rfcreceive(RfcRcv.java:33)
at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:1981)
... 89 moreUser id missing in client 000
-
Hi all,
I'm trying to upload the Active Fix Asset to the SBO (no new).
for example:
item: FixAsset
Useful life : 48 (month)
Remaining Life: 12 (month)
APC(Historical cost): 10000
Accumulated Ordinary Depr.: 7500
So Value Balance: 1500
and Life Balance : 12 month
I have tried to Import active ITEM by Excel ,follow this link : Importing Fixed Asset Master Data from Microsoft Excel - SAP Business One 9.0 - SAP Library
every time recieve the message :
Cannot import asset "fixasset"; a new asset's useful life and remaining life must be the same in depreciation area "AFA"Hi,
Please check SAP note:
2001876 - The system does not consider the Salvage Value nor the
Remaining Book Value when you import assets
Thanks & Regards,
Nagarajan -
Fixed Asset and Depreciation method in SAP B1 2005B
Hi All,
I want to know what is the method by which we can do depreciation for fixed asset in SAP Business One 2005B.
Looking for a postive response from all.
Regards,
KawishHi Kawish,
The system supports the following forms of depreciation:
u2022Ordinary Depreciation
u2022Unplanned Depreciation
u2022Special Depreciation
And for the depreciation methods:
Straight-line
Immediate writeoff
multilevel method
declining-balance method
special depreciation
You can get more helpful documentations through partner portal:
Solutions-> SAP Business One-> Solution Overview-> Documentation
Resource Center-> SAP Business ONe Add-ons 2005-> Fixed Assets
Regards,
Candice Ren
SAP Business One Forums Team -
Fixed Asset calculates extra period for Depreciation
Hi All,
I have imported the Fixed Asset for 2007B for the Year 2010. while checking the import, i notice that the system calculates an additional period for depreciation.
Here is my scenario :
a. Asset Cost = 15,863.12 (purchased on 31-May-2007).
b. Useful Life = 36
c. Remaining Life = 4
The above are displayed according to import file.
At the Depreciation Tab, there are 5 rows of planned depreciation calculated. Period 01 to Period 05.
How can the system calculates 5 periods when there is only 4 remaining periods for the asset?
This happens to all the assets being imported.
Please advise.
JessieFurther information.
The Net Book value = 1762.94
with Accumulated Depreciation = 14100.18.
So the remaining 4 periods should be calculated as = 440.735 (per month for 4 months).
but it is displayed as 352.59 per month for 5 months.
The Fixed Asset is setup as Monthly Basis.
Using Straight Line Mehtod = Net Book Value / remaining life. -
Fixed Asset: Current Year Depreciation
Dear Experts,
Previously, fixed assets was managed manually in an excel sheet and depreciation was calculated manually in the excel sheet.
My client wants to start using the FA Addon in March. I managed to import all the fixed asset master data with its Cost, Acc. Depn and NBV. They all tally with the GL balances as at 31.12.2010 which is the last day of the accounting year.
However, I have problem with the current year accumulated depn figure. When I run depreciation for Jan-Feb, the figure does not tally with the GL balances as at 28.02.2011.
For example:
Fixed Asset Cost: $5,859.00
In SAP B1
Depreciation method: Straight-line depreciation
Calculation medthod: Percentage of Acquisition Value
Percentage: 33.33%
Planned monthly depreciation: $162.77 <-- Not sure how B1 get this figure
Therefore, accumulated depreciation for current year as at 28.02.2011 = $325.54
Manual via Excel
Depreciation method: Straight-line depreciation
Calculation medthod: Percentage of Acquisition Value
Percentage: 33.33%
Accumulated depreciation for current year as at 28.02.2011= ($5,859 x 33.33%) / 12 x 2 = $325.47
How do I get the current year depreciation to tie with the GL?Hi Joyce,
I understand the issue you are facing is that
accumulated depreciation for current year as at 28.02.2011(calculated by Fixed assets addon) = $325.54,
but
accumulated depreciation for current year as at 28.02.2011(calculated by excel)= ($5,859 x 33.33%) / 12 x 2 = $325.47
you want to know how system calculate the accumulated depreciation as $325.54?
in order to make it clear,
please let me know how did you define the FA master data,such as the net book value,useful life,remaing life and so on.
Please check the FA master data->general tab and calculation tab,as it is not possible to attach the screenshot to show the relevant data,please log a SAP message for the further assistance.
Kind regards,
Eleven -
Hi Everyone
My Connection Pool parameters JCO api.
client=300
user=SISGERAL_RFC
passwd=******
ashost=14.29.3.120
sysnr=00
size=10
I have these parameters on my Connection Pool and sometimes appear these wrongs in my application:
1.
2006-01-07 13:20:37,414 ERROR com.tel.webapp.framework.SAPDataSource - ##### Time limit exceeded. LOCALIZED MESSAGE = Time limit exceeded. KEY = RFC_ERROR_SYSTEM_FAILURE GROUP = 104 TOSTRING = com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Time limit exceeded.
2.
2006-01-07 14:01:31,007 ERROR com.tel.webapp.framework.SapPoolConnectionManager - Timeout
Id like to know if is happening.
Are there something wrong with my connection pool?
What can be happening?
ThanksRaghu,
Thanks for your response.
Yes, the pool connections are in place according to the sAP note mentioned above.
Regards,
Faisal -
JCO connection pool is exhausted
hi
I am using RFC module in my web dynpro application. When the application is used for sometime, the JCO connection will get exhusted. The JCO connection will not release itself. I can't find any method in web dynpro to release the connection manually. How can I solve this problem?Hi,
What is scope of the connection. View properties of MODELDATA and METADATA destinations.
You can change the scope of the connection..
or
wdContext.current<BAPI INPUT>Element().modelObject().modelInstance().disconnectIfAlive();
For more ways , give a forum search.. There are a lot of close forum posts.. Gud luc..
Regards
Bharathwaj -
Problem with JCo Connection Pool
Hi,
I have a problem with using an RFC Model in my WebApplication. So sometimes the access to the function block works, and sometimes it doesn't work. Now I know, that there is a problem with the connection pool. Look at this message:
com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool WD_X24_MODELDATA_DEST_CPIC_REKTO_DE_useDefinedUser is exhausted. The current pool size limit (max connections) is 10 connections.
So it looks like a problem with closing the JCo Connections after using. Do know where the problem is? Because I'm using many other function blocks with no problems.Hello,
You need to increase the pool size via Visual Administrator.
Server 0 -> Services -> JCO RFC Connections.
Change the pool size from there. I believe a restart is in order.
Regards,
Jan -
Hi All,
Can anyone help me to connect to SAP from JCO using logon group....appericate if you can give some example such as sample code on how to connect using logon group. Its is urgent.
thanks!
prabHi Pardeep,
Thanks a lot!!!
It seems now the connection is working. I passed the parameters u have told and now I am not getting any connection error.When I print
System.out.println(myClient.getAttributes());
It returns me the following with correct IP address:
OWN_HOST: bpcbz6n
PARTNER_HOST: 172.30.xxx.xxx
SYSTNR: 02
SYSID: TS1
CLIENT: 203
USER: CPIC-DIS-BPC
LANGUAGE: E
ISO_LANGUAGE: EN
OWN_CODEPAGE: 1100
OWN_CHARSET: ISO8859_1
OWN_ENCODING: ISO-8859-1
OWN_BYTES_PER_CHAR: 1
PARTNER_CODEPAGE: 1100
PARTNER_CHARSET: ISO8859_1
PARTNER_ENCODING: ISO-8859-1
PARNER_BYTES_PER_CHAR: 1
OWN_REL: 640
PARTNER_REL: 620
PARTNER_TYPE: 3
KERNEL_REL: 640
TRACE:
RFC_ROLE: C
OWN_TYPE: E
CPIC_CONVID: 385948
So this means connection is working?
But when I call the RFC, it is returning me null value. When I call the following RFC, the functionTemplate instance is returning the "null" value. What can be the cause of it?This RFC exists in the SAP. I hope connection is working?
IFunctionTemplate functionTemplate = aRepository.getFunctionTemplate("Z_RFC_PLANTS");
thanks!
Maybe you are looking for
-
Unrecognized Windows Sockets error...
Hello everybody! I am encountering the following problem, when I try to run a program which wants to access the internet. I pasted an extract from the source code here, which I think includes the critical lines: import java.net.*; import java.io.*; c
-
Issue when Uploading the Transactional Data
Hi Gurus, I am not an expert in Back- End SQl and I am BI guy. Please provide a solution or what exactly is going in this Error. I am facing an issue Where I am loading a Transactional Data into Finance application with out any logic and Conversion
-
There is a thing in connection to exception handling in GUI applications that I have been thinking on at some times: Where/how to produce user messages for exceptions that may occur somewhere in the business logic? The best guidelines I have read abo
-
Dear friends, I have such a requirement. We are implementing PO workflow. A PO is created with centralized and decentralized purchasing groups. If itu2019s created from a plant, it has to be approved by plant manager and purchasing manager at headqua
-
hello, I have written a package function but I cannot call it from .net environment correctly. I want to ask you that is there anything wrong in the package: Specification Part: CREATE OR REPLACE PACKAGE SAGECM AS TYPE T_CURSOR IS REF CURSOR; FUNCTIO