Time out parameters for ABAP and JAVA instance
Hello All,
We are looking for Time out parameters for our ABAP and JAVA instances.
As users are complaining that they are getting time out error
while they are trying to access Cprojects from Portal.
I was able to check/collect the ABAP instance parameters from SMICM Tcode.
Can anybody tell me which parameters we need to look for JAVA instance.
Thanks in advance.
Regards,
Amber S
jstart/shutdownTimeout
(jstartup/shutdown_timeout)
Specifies the shutdown timeout, i.e. the grace period for the AS Java instance to shut down before the Java process terminates itself. Unt is in Seconds. Default is 120
j2ee/ms/connectTimeout
(jstartup/wait_for_scs)
Specifies the timeout for the first connection to the message server. The AS Java instance fails to start if this timeout expires.Unt is in Seconds.Default is 60
j2ee/ms/reconnectTimeout
(jstartup/wait_for_reconnect)
Specifies the timeout for the reconnecting to the message server.The AS Java instance shuts down when this timeout expires.Unt is inSeconds.Default is 3600 (one hour)
Thanks
Similar Messages
-
Time out parameters for java servers
Dear Gurus,
I'm trying to identify if there are any time out parameters/attributes which can be set for the users at Java level.
I'm wondering if it's possible to limit a user from running a report/query for a long period of time.
Or a parameter to limit the number of sessions one user can have.
The reason I'm asking this is because my java server nodes have experience OutOfMemory errors every once in a while, and this is caused by high workload by the users. I'm trying to prevent or decrease the number of these OutOfMemory errors.
Appreciate any feedback on this.
Thanks.
Regards,
KeatHi Mark,
Currently, parameter DefaultExpirationTime = 3600, i think this is okay.
I've located other parameters which might be related to user/system timeout settings.
HttpMonitoringCacheTimeoutMillis = 1500
KeepAliveTimeout = 15
SessionTableTimeout = -1
InputStreamAddTimeout = 0
TransactionTimeout = 0
sap.defaultMaxNumberOfConnections = 10
I'm thinking about tweaking these parameters as well.
Any comments???
Regards,
Keat -
MDM with separated ABAP and Java Instance
We installed SAP ERP system with SRM server and Portal as Java instance.
We use Oracle and have 2 oracle schemas/instances: ABAP and Java.
After mounting of MDM server and DBMS configuraiton (to Java instance) we have the following oracle objects:
Oracle Schema A2I_XCAT_DBS
2 oracle users: A2I_XCAT_DBS (owner of the schema) and MDMADMIN
2 tablespaces A2I_A2I_XCAT_DBS.DBF and A2I_A2I_XCAT_DBS_IX.DBF within the main dbs directory E:\oracle\<sid>\102\database
The used tablespace was set to PSAPTEMP
Questions:
1) How can the DBMS configuration will be removed, because the oralce path E:\oracle\<sid>\102\database was wrong
Unfortunately we would like to avoid merge MDM and Portal data in one and the same tablespace PSAPTEMP
2) Where can we find the oracle configuration for MDM with Java Schema, but using their own tablespace?Are you basically trying to put a new User Interface (UI) on top of MDM because you do not want to use the standard MDM UI? If so, then yes you could write a custom WebDynpro and use the MDM API. We evaluated WebDynpro as an option, but instead we built a new Adobe Flex based UI that sits on top of the MDM Catalog and it totally awesome! There is a sample on our website (www.simplifying-it.net), but we are making some changes to the look/feel... however, the sample demo on the website should give you an idea.
If you have any questions, please let me know.
Thanks,
Mark -
Links for ABAP and JAVA Admin + Troubleshooting
Hi Gurus,
Can anyone send me the useful links for Admin + Troubleshooting in SAP BASIS i.e. ABAP and JAVA ?
Also, which are the Routing Maintenance Tasks in SAP BASIS ?
Any / All help is most welcome and would be rewarded with suitable points.
Many Thanks in Advance ,
Regards,
- IshanHello Balaji,
Yes, you can connect the JAVA user adminsitration with the Single CUA.
Make use of the JAVA UME feature for this.
http://help.sap.com/saphelp_nw04/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/content.htm
Regards,
Ammey Kesarkar -
Individual business system for ABAP and Java Stack
Hi All,
I need to send message from a system to XI via ABAP proxy and Java proxy. The sender's ABAP and Java proxy use the same message interface to communicate with XI. Should I create one business system for the ABAP stack and one for Java stack of the sender system?
Thanks + Best Regards
JeromeAre you sending same message type from ABAP proxy and Java Proxy to XI?
If you have ABAP proxy, why do you need Java Proxy? Actually you cannot create any Java proxies on ABAP bases systems. What kind of system sender is? Java proxies are created for pure Java based applications.
Let me know if I didnt understand your question correctly. If so, please explain in detail why you need both proxies and what is your sender application.
--Archana -
i have a AS-ABAP System and AS-JAVA system.
Can i have a single CUA for AS-ABAP system and aS-JAVA system or i should have seperate CUA for ABAP and JAVAHello Balaji,
Yes, you can connect the JAVA user adminsitration with the Single CUA.
Make use of the JAVA UME feature for this.
http://help.sap.com/saphelp_nw04/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/content.htm
Regards,
Ammey Kesarkar -
Can we have same system Id for ABAP and JAVA in CRM 7.0 ?
Hi,
After installing CRM 7.0 ABAP, I want to install CRM7.0 Java using same system id as of ABAP. Is it possible ?
Regards,
Vivek GaurWell I found the solution for it. It looks more of a bug in sapinst that it doesn't allow to change userid !
All you need is to to create users ora<sid> and <sid>adm before running it and assign the required groups to them and it would work fine
Thanks Markus for you keen interest in my issue
Regards,
Vivek Gaur -
Hi all,
I have recently started learning Web Dynpro for ABAP.
I have worked in WebDynpro for Java.
1)I wanted to understand pros and cons of WebDynpro for ABAP and Java.
2)What are the functionality that are available in Web Dynpro for Java but not in Web Dynpro for ABAP.
3)What should be preferred when considering performance issues - WD for ABAP of Java?
Any Web Log or Link in this context will be helpful.
Thanks a lot,
RashmiHi,
OOPs ABAP uses Classes and Interfaces which uses Methods and events.
If you have Java skills it is advantage for you.
There are Local classes as well as Global Classes.
Local classes we can work in SE38 straight away.
But mostly it is better to use the Global classes.
Global Classes or Interfaces are to be created in SE24.
SAP already given some predefined classes and Interfaces.
This OOPS concepts very useful for writing BADI's also.
So first create a class in SE 24.
Define attributes, Methods for that class.
Define parameters for that Method.
You can define event handlers also to handle the messages.
After creation in each method write the code.
Methods are similar to ABAP PERFORM -FORM statements.
After the creation of CLass and methods come to SE38 and create the program.
In the program create a object type ref to that class and with the help of that Object call the methods of that Class and display the data.
see the links below, Understand them and start developing.
chk out the links below:
General Tutorial for OOPS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
Have a look at these links for OO ABAP.
http://www.sapgenie.com/abap/OO/
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
http://www.allsaplinks.com/
http://www.sapgenie.com/abap/controls/index.htm
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
SDN Series:
https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb [original link is broken]
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
Basic concepts of OOPS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
http://www.henrikfrank.dk/abapuk.html
http://www.erpgenie.com/abap/OO/
OOPS in ABAP
oops consept in abap
ABAP with OOPS
http://www.abap4.it/download/ALV.pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
http://www.erpgenie.com/abap/controls/alvgrid.htm
OOPS with ABAP
https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=37566
/people/rich.heilman2/blog/2005/07/27/dynamic-internal-tables-and-structures--abap
http://www.sapgenie.com/abap/OO/
Regards
Srinivas.K
Message was edited by:
Armin Reichert -
Wanted to confirm my understaing for ABAP and JAVA mapping.
Am I correct in my assumption that these mapping techniques can be used only if input and ouput is in XML format ?
So if XI is receiving a flat comma separated text/non-XML file or an IDOC for that matter and output is NOT in XML format, say again flat text file or IDOC, I cannot use above two techniques?
All the docs I have read suggest that 'Execute' method is called when XML file/data is received, paresed using DOM/SAX/JAXB (for Java mapping) or IXML lib (for ABAP mapping) and then create a output XML file.
-Thanks in advanceHi Bob,
Here you have a code sample for deescaping. I have have written this code a couple of time ago. The incoming file can be any text format. It might be XML, but not necessarily.
The main method is not reqired, but good for testing.
Regards
Stefan
* Created on 28.09.2005
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
package sample;
import com.sap.aii.mapping.api.*;
import java.io.*;
import java.util.Map;
public class Deescaping implements StreamTransformation{
public static void main (String[] args) {
try {
InputStream in = new FileInputStream(new File("in.xml"));
OutputStream out = new FileOutputStream(new File("out.xml"));
Deescaping change = new Deescaping();
change.execute(in, out);
} catch (Exception e) {
e.printStackTrace();
public void setParameter (Map map) {
public void execute (InputStream in, OutputStream out)
throws StreamTransformationException {
try {
int c;
while ((c = in.read()) != -1) {
if (c != '&') {
out.write(c);
} else {
// ampersand
String help = "&";
boolean exit = false;
// check the next 5 chars, if there is a ';'
for (int i = 0; i < 5 && !exit; i++) {
c = in.read();
if (c == -1) {
exit = true;
} else {
// another ampersand?
if (c == '&') {
out.write(help.getBytes());
help = "&";
i = 0; // check the next 5 chars
} else {
help = help + (char) c;
if (c == ';') {
exit = true;
if (help.equals("&")) {
help = "&";
if (help.equals("<")) {
help = "<";
if (help.equals(">")) {
help = ">";
if (help.equals(""")) {
help = """;
if (help.equals("'")) {
help = "'";
} // for
out.write(help.getBytes());
} // while
out.flush();
} catch (Exception e) {
throw new StreamTransformationException(e.getMessage(),e); -
RESOURCE_NOT_FOUND for XSLT and Java Mappings (SXMB_MONI)
Experts,
I need your opinion / experience about a problem that we have been facing here:
XI 3.0 was upgraded to PI 7.0, but since then all interfaces that uses XSLT and Java Mappings throws a RESOURCE_NOT_FOUND error in SXMB_MONI only in the production environment.
We found SAP Note 951318 that describes exactly the scenario we have here. The note also inform that the issue is solved at SP 07 (for PI 7.0).
The problem is that we find out that abap and java instance are with different SP ( SP 13 for abap and SP 09 for java) after XI upgrade to 7.0, since they had a error at java instance.
Have anyone of you facing with this problem?
I believe that even having a SP greater than 07 (as sap note 951318 requires), as we have an difference between abap and java SP, this issue might have been causing the problem.
Points will be given.
Regards,
DanielaYes, thats true. As you can see,
In XI 3.0 (SAP Netweaver'04), the issue is solved in:
SP 18,
SP 17, patch 1 (archive SAPXITOOL17_1. sca for XI Tools)
SP 16, patch 4 (archive SAPXITOOL16_4.sca for XI Tools).
you need to import and put a patch if you are using XI 3.0. but in your case it is PI 7.0.
So please check out the SAP Note : 950608 and download SP 07,patch 2 (archive SAPXITOOL07_2.sca for XI Tools).and Note 952402 .
Regards
Aashish Sinha
PS : reward points if helpful -
WebDispatcher on ABAP and JAVA on serperate Servers
Hi all,
i read a lot of hours trough post concerning issues about web dispatcher, but i didn't find anything that suits my problem.
We have a MSCS-Cluster. One Node has the db which is for ABAP and JAVA (different schemas).
Than we have an SCS for ABAP and one for JAVA.
So the ABAP and JAVA-Instances are physically separated.
Now we want to use a web dispatcher to pass the requests to the right destination.
But i am not sure how to set it up. Do we need 2 dispatcher, or can one handle the requests. How does the dispatcher knows, where to redirect the requests ?
Is that done with the parameter icm/HTTP/redirect_<xx> ?
in hope of any advise to this problem
yours
BjoernTrabesSo, i tested around a little bit.
i am not clear with the function of the dispatcher.
When i bind the ABAP Dispatcher, than all requests to /sap/ are handled by the ABAP-Stack an are working, but when i browse to an Adress like /irj/portal/ the dispatcher says that the Adress is noch reachable.
When i bind the dispatcher to the Java-Stack, than all Java-Adresses work, but the /sap/ not, which is the ABAP Stack.
so, i don't know exactly where my fault is.
How knows the Dispatcher, where the ABAP or JAVA-Stack is.
On an other Machine where the java is an add-in, it works quite well, but on this server the abap and Java Servers are physically separated.
greets
Bjoern
Edited by: Björn Trabes on May 18, 2009 10:59 AM -
Upgrade of CRM 5.0 abap and java
Hi,
I have to upgrade CRM 5.0 to CRM 7.0 with EhP1. In my system landscape, CRM 5.0 ABAP (CRA) and CRM 5.0 Java (CRJ) are installed on different servers. CRJ is a portal available for end user for which CRA is acting as backend server and database. I have experienced that when we install CRM 7.0, installer automatically creates 2 seperate instances each for abap and java. I am not able to presume what exactly will happen in this kind of upgrade. My doubts are:
1. Will this upgrade CRA (abap) and CRJ (java) seperately on different server? and i connect them as i am doing currently (CRA being the UME for CRJ)?
2. While upgrading CRA, upgrade tool will ask the path of CRJ and both the instance will be upgraded simultaneously. And CRJ will behave as web ui instance after upgrade.
3. CRA will be upgraded and a new instance for WebUI will be created (let us call it CRW) and i will connect CRW with CRJ for all practical purposes? where CRJ will act as portal for CRW.
Kindly help.
Thanks.
- gauravHi,
> 1. Will this upgrade CRA (abap) and CRJ (java) seperately on different server? and i connect them as i am doing currently (CRA being the UME for CRJ)?
Yes. You need to upgrade both the servers separately. You need not to reconnect it as both the systems are already connected with each other.
> 2. While upgrading CRA, upgrade tool will ask the path of CRJ and both the instance will be upgraded simultaneously. And CRJ will behave as web ui instance after upgrade.
> 3. CRA will be upgraded and a new instance for WebUI will be created (let us call it CRW) and i will connect CRW with CRJ for all practical purposes? where CRJ will act as portal for CRW.
>
No, new instance will be created. You need to upgrade CRA and CRJ separately. WEBUI will be automatically upgraded.
Thanks
Sunny -
Possibilities Web Dynpro for ABAP versus JAVA
Hello,
I would like to know whether WebDynpro for ABAP and Java have the same options, abilities and possibilities. e'm I able to produce the same results with WebDynpro for ABAP as Java. I would like to standardize on just one of the two and be sure that it will to limit me later.
Thanks in advance.Hi Maurice,
If you make have to make a choice you have to consider the followings:
- Which release do you have? Java version is available since 6.30/6.40, the ABAP only as of 7.00.
- Performance. If you have your WD4ABAP and backend (eg ERP) in the same system you gain a lot of performance
- Other small difference, that Java version has a much nicer graphical editor, which I miss from the ABAP version
These are, which came to my mind.
Best regards,
Peter -
New Server for Preview SAP WAS ABAP and Java
Hi
I wish to purchase a new PC or server to specifically house my ABAP and Java preview installations rather than have them running on an old PC and laptop.
Anyone out there got some recommended configurations? Max spend will be £1500.
Cheers
IanIan,
Personally I wouldn't be happy running a server 24/7 at home but would want to just switch it on and the server start so would be looking to have some sort of script to run the relevant WAS instances automatically on startup.
160Gb hard drives would be ample. Could consider increasing the storage and then the system could double up as a backup device as well as a SAP server.
I've built systems in the past and that's the approach I'd take for this too. I don't mind buying pre-built systems but I
detest all the rubbish software they bundle with them. If you build it yourself you can install just Windows and it'll run like a dream.
This bundle looks interesting:
http://www.overclockers.co.uk/showproduct.php?prodid=BU-039-OK
The motherboard takes four memory modules so the 2Gb would consume two of these allowing for upgrades in the future if deemed necessary. Add in a couple of HD's, a DVD-RW, a cheap gfx card and a case and you'd easily get change from £800. Could spend a bit more to get more silent components too.
Now I've had a look around and priced them up I'm even more tempted!!!
Cheers,
JB -
Crm7.0 double stack abap and java-add-in in one instance
hi all,
how can i install a double stack java-add-in? i use the sapinst from medium -> dvd with number 51038620_8. In sapinst I must decide for abap or java central instance. first, i install the abap central instance, i use the following p.a. sapsid ->sp7 and dbsid -->sp7. the install of abap central instance is complete successfully. SysNR00. Then i restart sapinst and i choose install java central instance with a new sapsid --> sp8, an the same dbsid --> sp7.For Java was create the following SYSNrs: JC1 --> 01 and SCS --> 02. I choose SAPJSF for Communication ABAP/JAVA Stack. sapinst stops by step "minimal configuration" after JAVA Import with "webdispatcher start" server0 -> unknown.
Should I install the webdispatcher in sapsid SP7?
The following dbschemas was created ABAP --> SAPSP7 and for JAVA SAPSP8DB.
Thanks,
Christophhi markus,
please wait a moment. I reinstall under IBM_JDK_1.4.2 SR13. Please wait ...
When i get the same error -> dont start dispatcher and derver0.
I provide the logs from dir /usr/sap/SJ7/JC01/work.
I sent tzhe mail.
Thnaks,
Christoph
Edited by: Christoph Kautz on May 17, 2010 1:32 PM
Maybe you are looking for
-
Line Layout with Reference Key in F-03
Dear all, Iu2019m facing the following problem. I modified the line layouts for F-03 through O7Z4S. In particular I created a line layouts with the field Reference key 1. The problem is that in F-03, using this variant, the field XREF1 appeared alway
-
Wow, I went from not being able to add headers and footers to my pdf, to now I can't print to PDF from Powerpoint. Everytime I do, it pretends to print and then in the print window, it stops. I have uninstalled the application twice. I am losing my m
-
Why does Mail say that I cannot move items to the trash????
I cannot delete email the "normal" way. When I set up my POP account, it created a second trash folder with the same name as my mail account. There are thus two folders in my Trash can - "On My Mac" and the one named after my email account. When I tr
-
RCU installers/setups link?
I am trying for RCU installer setups but i didnt find it. I tried it in e-delivery and downloaded ofm rcu but i dont see ./runInstaller in that folders .. Please help me. . . Thanks
-
ICal fails to Sync with my Palm Treo yet my iPod does!
iCal is a nightmare for me! Throughout much of 2007 it continually failed to refresh and update itself when I sync'd with my Lifedrive via Missing Sync. During Dec 07 I decided to perform a clean install of Leopard on a Cleaned Hardrive in my Powerbo