Server node creation in J2EE
Hi,
I want to create a new server node (server1)with existing server0 in J2EE engine .Please tell me the procedure .
Thanks
Hello,
Olivier is right, all info is in the SAP online help :
[http://help.sap.com/erp2005_ehp_04/helpdata/EN/68/dcde416fb3c417e10000000a155106/content.htm|http://help.sap.com/erp2005_ehp_04/helpdata/EN/68/dcde416fb3c417e10000000a155106/content.htm]
Proper J2EE and portal setup means a good preparation not only adding server nodes.
Also make sure that you have enough space in your J2EE instance directory, this is often forgotten.
[http://help.sap.com/erp2005_ehp_04/helpdata/EN/ef/61ca70718e4992befe589d9fb9d37b/content.htm|http://help.sap.com/erp2005_ehp_04/helpdata/EN/ef/61ca70718e4992befe589d9fb9d37b/content.htm]
For the rest have a look on the SAP Market place for SAP Notes concerning J2EE tuning, especially SAP Notes related to J2EE memory parameters for your OS.
There exist a lot of interesting SAP Notes on this topic.
Success.
Wim
Similar Messages
-
How to create one more server node for SAP J2EE server?
Hi,
Can any one please suggest how to create one more server node for SAP J2EE server? I am using WAS700.
Thanks and Regards,
Smriti.Hai,
Login into the Configtool(C:\usr\sap\SID\DVEBMGS<inst no>\j2ee\configtool) if ABAP+JAVA stack or C:\usr\sap\SID\JC<inst no>\j2ee\configtool) if JAVA stack
click on the instance and and select the addserver button on the top to create a servernode for J2EE server.
Thanks and Regards, -
Options to change jdbc adapter for multiple server nodes without flag in db
Due to load, we are about to add a new server node for additional J2EE memory within XI. Reading the notes and discussions about this, it is apparent that the server nodes don't distinguish between themselves in terms of polling. i.e. If we have a jdbc channel that polls every 24 hours, and you have 2 server nodes, it polls twice at the approximate same time every 24 hours.
Question I have is how have people got around this issue where you cannot update the information to say that the data has been read. i.e. Our scenario is reading the complete table contents every day and sending all information to another system.
Hence, if we have 2 server nodes, we will execute this message twice. When we add a 3rd server node, we will have 3 messages sent at the same time per day.
One complicated option (I think) is to use an application client on XI to schedule a job which calls an ABAP Proxy on the integration client which starts off a ccBPM which in turn reads the database hence single threading this process.
Anyone got any sensible ideas?
Regards,
Matt
ps. Ignore the obvious design flaws with this approach as there is no other option in this scenario due to restrictions in the end system.Hi Matt,
Extending Bhavesh's point, and assuming the receiver system is SAP, then why not schedule your calls on the receiver system, as the consumer of the data.
The report name and optionally a date range can be written from the RFC via XI to a separate table in the database. The select statement can join the table to the existing view. The update statement can update the new table as your source table or view is obviously out of bounds.
The advantage of this approach is that it results in a classic request response where XI is transparent.
We are planning to do something very similar in our own project.
Best Regards,
Bill -
Server node doesn,t appear
Dear Guru's;
I'm trying to add server nodes to my J2EE instance...i stopped the instance and added two server nodes using the config tool..they are added succesfully without error...but when i restarted the instance they don't appear in the instance i opened the config tool again to check and they're still exist but the don't appear in MMC neither where directories created for them???
Thanks in advance...Dear Micheal
you where right i was doing it on the wrong instance...when i ran the template configurator it automatically created a new instance and this is the one that gets started but in the instance profile the old instance number still existed????so ihad to replace it manually....do u know anyway i can delete the old instance from config tool???
Thanks anyways... -
The problem is occurred with J2ee server node which is disabled it from MMC
Dear SAP Consultants,
The problem is occurred with J2ee server node which is disabled J2ee server node from MMS Console and the abap work process is working fine but the dispatcher is yellow status and I can login to the abap system but Iu2019m not able to start the j2ee from Tcode u201CSmicmu201D as well
The system parameters are:
BI 7.0 System as ABAP & JAVA add on, windows 2003 on Oracle database, 24 GB Ram
Paging files: Driveu201D Os system: minimum: 1525, maximum: 3048
Driveu201DEu201D application: minimum: 70855, maximum: 70855
I can see the log files as follow:
From dev_disp:
Sun Jun 21 13:10:28 2009
J2EE server info
start = TRUE
state = STARTED
pid = 2892
argv[0] = E:\usr\sap\BWD\DVEBMGS00\exe\jcontrol.EXE
argv[1] = E:\usr\sap\BWD\DVEBMGS00\exe\jcontrol.EXE
argv[2] = pf=E:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS00_cai-bwdev
argv[3] = -DSAPSTART=1
argv[4] = -DCONNECT_PORT=64990
argv[5] = -DSAPSYSTEM=00
argv[6] = -DSAPSYSTEMNAME=BWD
argv[7] = -DSAPMYNAME=cai-bwdev_BWD_00
argv[8] = -DSAPPROFILE=E:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS00_cai-bwdev
argv[9] = -DFRFC_FALLBACK=ON
argv[10] = -DFRFC_FALLBACK_HOST=localhost
start_lazy = 0
start_control = SAP J2EE startup framework
DpJ2eeStart: j2ee state = STARTED
DpJ2eeLogin: j2ee state = CONNECTED
Sun Jun 21 13:10:29 2009
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
ERROR => NiIRead: SiRecv failed for hdl 6 / sock 1032
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1362) [nixxi.cpp 4424]
DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=2892)
ERROR => DpProcKill: kill failed [dpntdisp.c 371]
DpIJ2eeShutdown: j2ee state = SHUTDOWN
Sun Jun 21 13:10:48 2009
DpEnvCheckJ2ee: switch off j2ee start flag
From dev_jcontrol :
[Thr 2124] Sun Jun 21 13:10:29 2009
[Thr 2124] *** ERROR => invalid return code of process [bootstrap] (exitcode = 66) [jstartxx.c 1642]
[Thr 2124] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = 66)
[Thr 2124] JControlCloseProgram: started (exitcode = 66)
[Thr 2124] JControlCloseProgram: good bye... (exitcode = 66)
From dev_bootstrap :
JHVM_BuildArgumentList: main method arguments of node [bootstrap]
-> arg[ 0]: com.sap.engine.bootstrap.Bootstrap
-> arg[ 1]: ./bootstrap
-> arg[ 2]: ID0072573
-> arg[ 3]: -XX:NewSize=57M
-> arg[ 4]: -XX:MaxNewSize=57M
-> arg[ 5]: -Xms256M
-> arg[ 6]: -Xmx256M
-> arg[ 7]: -XX:+DisableExplicitGC
-> arg[ 8]: -verbose:gc
-> arg[ 9]: -Djava.security.policy=.java.policy
-> arg[ 10]: -Djava.security.egd=file:/dev/urandom
-> arg[ 11]: -Djco.jarm=1
[Thr 5216] JLaunchIExitJava: exit hook is called (rc = 66)
[Thr 5216] **********************************************************************
ERROR => The Java VM terminated with a non-zero exit code.
Please see SAP Note 943602 , section 'J2EE Engine exit codes'
for additional information and trouble shooting.
[Thr 5216] JLaunchCloseProgram: good bye (exitcode = 66)
From server.0.log :
#1.5 #001E4F208703008A0001C7470000092000046A4414D60A1F#1242740546634#/System/Server##com.sap.caf.eu.gp.schedule.impl.ScheduleWorker#J2EE_GUEST#0##n/a##27772ea0447811deb9bf001e4f208703#SAPEngine_Application_Thread[impl:3]_25##0#0#Error#1#com.sap.caf.eu.gp.schedule.impl.ScheduleWorker#Plain###ERROR_ACQUIRE_CONNECTION
com.sap.caf.eu.gp.base.exception.EngineException: ERROR_ACQUIRE_CONNECTION
at com.sap.caf.eu.gp.base.db.ConnectionPoolJ2EE.getConnection(ConnectionPoolJ2EE.java:92)
at com.sap.caf.eu.gp.schedule.impl.ScheduleDbImpl.getScheduleToProcess(ScheduleDbImpl.java:1936)
at com.sap.caf.eu.gp.schedule.impl.ScheduleService.getScheduleToProcess(ScheduleService.java:432)
at com.sap.caf.eu.gp.schedule.impl.ScheduleWorker.work(ScheduleWorker.java:77)
at com.sap.caf.eu.gp.schedule.impl.ScheduleWorker.run(ScheduleWorker.java:63)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
cai-bwdev
sapmnt
BWD
SYS
global
security
data
SecStore.properties" does not exist although it should..
at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:59)
at com.sap.caf.eu.gp.base.db.ConnectionPoolJ2EE.getConnection(ConnectionPoolJ2EE.java:89)
... 8 more
Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
cai-bwdev
sapmnt
BWD
SYS
global
security
data
SecStore.properties" does not exist although it should..
at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:193)
at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:338)
at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:267)
at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:51)
... 9 more
Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
cai-bwdev
sapmnt
BWD
SYS
global
security
data
SecStore.properties" does not exist although it should..
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:117)
... 12 more
Caused by: com.sap.security.core.server.secstorefs.FileMissingException: File "
cai-bwdev
sapmnt
BWD
SYS
global
security
data
SecStore.properties" does not exist although it should.
at com.sap.security.core.server.secstorefs.StorageHandler.openExistingStore(StorageHandler.java:372)
at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1946)
at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)
at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)
at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)
... 14 more
Please advice with the right solution,
Regards,
Ahmedthanks
-
J2EE server node crashes / .hotspot_compiler
Hi,
I'm trying to install a NW AS Java + usage type DI 7.0 SR3 on W2K3 R2 x64 SP2 with MS SQL Server 2005 and Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_18-b06, mixed mode). During sapinst the server node was shut down by the program but doesn't come up anymore. It crashes constantly and is directly beeing restarted.
A look in std_server0.out gave me the following insight (example, added lf):
Login :33.902: [ParNew 218352K->59053K(966656K), 0.0923355 secs]
39.132: [ParNew 222893K->62535K(966656K), 0.1131081 secs]
44.103: [ParNew 226375K->65891K(966656K), 0.0794097 secs]
### Excluding compile: com.sap.engine.services.
webservices.jaxrpc.encoding.TypeMappingImpl::initializeRelations
48.296: [ParNew 229731K->66972K(966656K), 0.0845196 secs]
### Excluding compile: com.sap.engine.services.
webservices.jaxrpc.encoding.InstanceBuilder::readElement
52.107: [ParNew 230812K->71757K(966656K), 0.0862884 secs]
### Excluding compile: com.sap.engine.services.
webservices.jaxrpc.encoding.GeneratedComplexType::_loadInto
56.691: [ParNew 235597K->75601K(966656K), 0.0875517 secs]
An unrecoverable stack overflow has occurred.
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x00000000080e3dd6, pid=4460, tid=5532
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.4.2_18-b06 mixed mode)
# Problematic frame:
# V [jvm.dll+0xe3dd6]
# An error report file with more information is saved as hs_err_pid4460.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
stdout/stderr redirect
node name : server0
pid : 3924
system name : DID
system nr. : 00
started at : Wed Sep 24 12:27:17 2008
As you can see the VM crashes. A look in the corresponding log-file (hs_err_pid4460.log) gave me the following insight (added lf):
Current CompileTask:
opto:1295 ! com.sap.engine.core.cluster.impl6.ms.MSRawConnection.sendMessage(
Lcom/sap/engine/core/cluster/impl6/ms/MSMessageObjectImpl;
Lcom/sap/engine/core/cluster/impl6/ms/MSRegistrable;
[BIIZ)Lcom/sap/engine/frame/cluster/message/MessageAnswer; (1477 bytes)
It seems that the CompileTask for the Hotspot VM always crashes when trying to compile the MSRawConnection class natively (reproducable). Sun describes a workaround for this type of problem, http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/gbyzo.html#gbyzd . The workaround is to place a .hotspot_compiler file in the working directory of the application with an exclusion of the method. This will advice the VM whenever it decides to natively compile a certain bit of code first to check this file for exclusions. If the method identified by the VM to be compiled is exluded in this file, the compilation will be skipped. Therefore it would have been worth a try to exclude the above mentioned method sendMessage of class MSRawConnection for hotspot compilation. But when I do a quick search for .hotspot_compiler in my sap folder I find four of them, it seems SAP is already making heavy use of this "workaround" instead of reporting a bug. These files are located under:
D:\usr\sap\DID\JC00\j2ee\cluster
D:\usr\sap\DID\JC00\SDM\program
D:\usr\sap\DID\JC00\j2ee\cluster\dispatcher
D:\usr\sap\DID\JC00\j2ee\cluster\server0
They all contain the same exclusions, listed here (added lf):
## This file contains a list of methods which are going to be excluded from JIT compilation on server start
## The format of the file is as follows
## exclude package/subpackage1/subpackage2/../subpackageN/<Class_name> <method_to_exclude>
## Each line of the file describes only one method
## <method_to_exclude> is method name that will not be compiled with JIT
## package/subpackage1/subpackage2/../subpackageN/<Class_name>
is the name of the class with the packages containing <method_to_exclude>
## Example:
## exclude com/sap/engine/boot/Start main
## will not compile with JIT the main method of com.sap.engine.boot.Start class
## To enter a list of methods to exclude from JIT compilation write them after this line
exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
I thought the D:\usr\sap\DID\JC00\j2ee\cluster\server0\.hotspot_compiler file must be the right file, but however to be sure (test) I added the following line to all four files after having shutdown the instance:
exclude com/sap/engine/core/cluster/impl6/ms/MSRawConnection sendMessage
When I start the engine again, the content of every file gets overwritten by the original content, therefore lacking my new line. So it seems to me that the content is somehow hardcoded or contained in the db. If it is in the db, is it possible to change the content via config tool? It also seems that this jdk is a beta version since it reports itself with the version string 1.4.2_18-b06. This is the one officially delivered by Sun on the [SAP download page|http://java.sun.com/j2se/1.4.2/SAPsite/download.html], as mentioned in [SAP Note 941595|https://websmp130.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=941595]. Can you please provide me a solution to add an exclusion to the .hotspot_compiler file or workaround for the above mentioned problem. As a last option I will deinstall the system and reinstall it with another jdk (e.g. J2SE v 1.4.2_17 x64 SDK), but first I want to try to exclude the method/class from compilation. Thanks for your help!
Best regards,
FabianHi,
You can tell the VM which file to load as compiler exclusion list. Therefore I copied .hotspot_compiler to .ext_hotspot_compiler and added my line
exclude com/sap/engine/core/cluster/impl6/ms/MSRawConnection sendMessage
then I went to config tool and added under cluster data -> myinstance -> myservernode under tab General the Java parameter
-XX:CompileCommandFile=D:/usr/sap/DID/JC00/j2ee/cluster/server0/.ext_hotspot_compiler
The J2EE node is now starting up without problems.
Best regards,
Fabian -
Batch restart of j2ee server nodes
Hello all,
Is it possible (maybe with jcmon) to schedule a single server node restart within a j2ee cluster ?
I would like to restart just one out of 4 server nodes on which ther are sometimes memory issues and where there are dedicated jobs running
thanks and regards,
MIcheleHi Donna
If you are on unix/linux then you can pass options to jcmon over a pipe. This will restart the server1 node:
echo "20\n5\n2\ny\n0\n0\n" | jcmon pf=SID_DVEBMGS00_host
20\n5\n2\ny\n0\n0\n decodes like this:
20 -> goto local administration menu
5 -> restart process
2 -> restart server node 1 (change this to your server node number)
y -> yes i want to restart it
0 -> exit local admin menu
0 -> exit jcmon
This command can be included into a script and scheduled in cron.
Best regards, Michael -
hi everyone,
can any one tell me how to create j2ee server node.
What happens basically by creating one.
-Naveen.Dear Naveen,
A node represents a logical view of an external communication system in the SAP System,
This will help you
http://help.sap.com/saphelp_webas620/helpdata/en/2b/d9263f4b8a11d1894c0000e8323c4f/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/73a16f1d-0e01-0010-95a6-a4f66ca1a65e
Regards
Agasthuri Doss -
Restarting J2EE server nodes from Developer Studio Vs SAP Management Consol
Hi,
What makes the difference between restarting server nodes from Dev Studio and SAP Management console.
Please let me know if any documents related to this.
ThanksThanks for your quick reply.
I observed that options for restarting services from Dev Studio are disabled.
Could you please let me know where we need to configure to enable these options when right click on server instances.
Thanks -
File system getting full and Server node getting down.
Hi Team,
Currently we are using IBM Power 6 AIX operating system.
And in our environment, for development system, file system is getting full and development system is getting slow while accessing.
Can you please let me know , what exactly the problem & which command is used to see the file system size and how to resolve the issue by deleting the core files or some ting. Please help me .
Thanks
Manoj KHi Orkun Gedik,
When i executed the command df -lg and find . -name core noting is displayed, but if i execute the command df is showed me the below information. below is an original file which i have modified the sid.
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/fslv10 52428800 16279744 69% 389631 15% /usr/sap/SID
Server 0 node is giving the problem. its getting down all the times.
And if i check it in the /usr/sap/SID/<Instance>/work for the server node "std_server0.out file , the below information is written in the file.
framework started for 73278 ms.
SAP J2EE Engine Version 7.00 PatchLevel 81863.450 is running! PatchLevel 81863.450 March 10, 2010 11:48 GMT
94.539: [GC 94.539: [ParNew: 239760K->74856K(261888K), 0.2705150 secs] 239760K->74856K(2009856K), 0.2708720 secs] [Times: user=0.00 sys=0.36, real=0.27 secs]
105.163: [GC 105.164: [ParNew: 249448K->80797K(261888K), 0.2317650 secs] 249448K->80797K(2009856K), 0.2320960 secs] [Times: user=0.00 sys=0.44, real=0.23 secs]
113.248: [GC 113.248: [ParNew: 255389K->87296K(261888K), 0.3284190 secs] 255389K->91531K(2009856K), 0.3287400 secs] [Times: user=0.00 sys=0.58, real=0.33 secs]
Please advise.
thanks in advance
Manoj K -
SAP Note #723909 Clarification needed: 2G heap for server nodes
We mare upgrading from Enterprise 4.7 to ERP 6.0 SP12. For our ESS/MSS we will use standalone Java NW 7.0 SP14 with XSS SP12. Our portal servers and ERP ABAP are Unix Solaris 9 or 10 64-bit. The portal servers are 4CPU x 16G. We use three server nodes on our central instance and three server nodes on our dialog instance. All server nodes have 2G heap.
Recent load tests indicate we are reaching memory limits in the server nodes. THis causes frequent full GC with tenured objects deleted (very time consuming). We want to increase heap size > 2GB. Note 723909 seems to say this can be done for 64-bit systems, but SAP appears to recommend additional server nodes with 2G heap. I think this is because of GC performance with large heap.
- Are we supported with heap > 2G?
- Are there still concerns with GC when heap > 2G?
- Are there other reasons why heap should be no higher than 2G?
Thanks in advance- Are we supported with heap > 2G?
- Are there still concerns with GC when heap > 2G?
- Are there other reasons why heap should be no higher than 2G?
You´ve answered your questions yourself
To have a fast J2EE engine you need to absolutely make sure all the heap is covered in physical memory. No swapping should take place at all. Once the system starts swapping in and out, you will loose a lot of performance.
How big is your Oracle SGA? If you can decrase it so all the heaps (+ dispatcher heap) will fit in physical memory you can increase more. We use 2.5 - 3 GB heap (for BI) with three server nodes.
Markus -
Deactivate Portal server node from Web dispatcher, but still keep online
We want to deactivate a Portal server node from the Web dispatcher. We also need to connect directly to the specific node.
We configured the Server Node using Config Tool --> Server_ID####### --> Debug --> Debuggable --> Restricted Load Balancing. The node is not available to the Web dispatcher, However we are unable to explicitly connect to that node. We get the error message in the browser:
503 Service Unavailable
SAP WebAS engine is starting...
If this state does not change within a few minutes,
please contact your system administrator.
Check the recommendations in SAP Notes: 943498, 764417
Message: Dispatcher running but no server connected!
I have also read through the Web dispatcher online Help. They mention creating groups but they all seem to pertain to ABAP groups using SMLG. Our Web dispatcher is used in a strictly J2EE environment.
There must be a Profile setting or some config to restrict specified nodes... Let me know if you have found out?
Thank You,
Jon SellsHi PR,
Yes I understand that the Web Dispatchers Job ends at that point. That's why I want to stop the requests at the Web dispatcher by not allowing those nodes to be available.
Here is the situation. We have 3 Windows Servers with 10 Server Nodes spread accros them.
Host A - 2 Server Nodes, Central instance (Message Server) and SQL Server DB.
Host B - 4 Server Nodes.
Host C - 4 Server Nodes.
The Going Live Analysis suggested we move the DB off of the CI. We cannot do that at this time. What we can do is shut down the 2 nodes on Host A. Instead of shutting them down, we would rather remove them from the WD group. that way, our users never connect to the 2 nodes on the CI but Basis can still use them for Administration and those 2 nodes on the CI are never used for production purposes. Those nodes will just be used for monitoring and maintenance or even emergency purposes.
Right now our process to remove the 2 nodes from the Web dispatcher is to connect to the Admin page for Web Dispatcher --> Monitor Server Groups --> Right Click on the Host and select Deactivate. We have to do this whenever the Message Server is retarted. The million dollar question: How can that be set via a startup parameter?
Thanks
Jon Sells
Here is an example of how you can connect to a specific node:
https://<Host_name>.domain.local/b2b/b2b/init.do;sapj2ee_irj=7501753 -
EP7.0 - Adding server nodes (processes) and managing all the logs
First, can anyone confirm whether the Template Configuration Tool is used with Portal 7.0 (NW2004s)? All of the documentation I find is for Portal 6.0. If you use the Template Configuration Tool, it will match the resources available on your server to the type of J2EE you will be running which is the route I prefer to take. Otherwise, I'll add the nodes manually with configtool.
Second, is it a best practice to just stick to one server node (server0) on your DEV system? I would think that would make analyzing all of those fun logs much easier.
Third, are there any best practices for managing all of those logs if you start adding additional nodes. I have server0 on the QA system with 2048MB of Heap. I plan to add server1, server2 and server3 ... all with 2048MB of Heap. But then the number of logs is 4 times for everything. The Portal Tuning guide suggests turning off unnecessary logging which I will do but our developers want a convenient way to do research and we don't want them overwhelmed with logs.
We are setting up Solution Manager Diagnostics now so I haven't seen it's functionality. Will it make log anaysis more streamlined and easier to find relevant data even if you have 4 server nodes?Hi Richard,
A1: NO!!! do not use the Template Configuration Tool on NW7.0 as it sets properties that are not valid or optimal anymore.
A2: I don't know if there is a best practice about it but I do know that it is best practice to have atleast 2 servernodes per instance because this helps you top optimize your resources when 1 servernode is in Full Garbage Collection the other still can use the CPU to process (Presented on SAP Insider Infra & Admin in Orlando 2008).
A3: Regarding the logging This is just how it is made... every servernode logs for itsself...
Use NetWeaver Administrator (/nwa) to auto consoldate the loggin info. It's slow but eventualy it does the job. You can give developers an NWA read-only role (shipped by default) to look at the logs.
A4: SMD makes central monitoring and diagnostic possible for your complete landscape.
You can configure a central NWA on the SMD host. The solution as proposed by A3 is already helping you to manage your issue (consolidating logs of multiple servernodes.. >2 )
Good Luck!
Benjamin Houttuin -
Hi,,
How can I decidethe the numbrer of the server node.
Heap size? CPU thered?Hi
When you install your Java instance, SAPInst automatically configures the number of server processes based on the hardware resources that are available.
If you need to add more server processes to an existing Java instance, you can do that manually using the J2EE Engine Config Tool
Check the below link to add more server processes
http://help.sap.com/saphelp_nw70/helpdata/EN/6e/dd0041aafdf123e10000000a155106/frameset.htm
Hope help you
Regards,
Sureshram. -
Java Dispatcher not coming up,Server node and SDM is running.
Hi Everyone,
While starting my Java instance, Dispatcher is stopped with return code "666",Server node and SDM is running.This is all of sudden not sure what has changed.
I have changed the heap size value of dispatcher ,Did cleanipc ,But still no luck.
My heap size parameters are according to SAP note:
Note 0001024539 - Recommended Settings for NW04 >= SP14, NW 7.0 >= SP6 on AIX-BPBO.
Java version :
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142-20080923 (SR12) (JIT enabled: jitc))
Please find below dispatcher error log.
Mon Jan 10 15:36:04 2011
JVMDUMP006I Processing Dump Event "systhrow", detail "java/lang/OutOfMemoryError" - Please Wait.
JVMDUMP007I JVM Requesting System Dump using '/usr/sap/D10/DVEBMGS01/j2ee/cluster/dispatcher/core.20110110.153604.2523266.0001.dmp'
Note: "Enable full CORE dump" in smit is set to FALSE and as a result there will be limited threading information in core file.
Mon Jan 10 15:36:14 2011
JVMDUMP010I System Dump written to /usr/sap/D10/DVEBMGS01/j2ee/cluster/dispatcher/core.20110110.153604.2523266.0001.dmp
JVMDUMP007I JVM Requesting Snap Dump using '/usr/sap/D10/DVEBMGS01/j2ee/cluster/dispatcher/Snap.20110110.153604.2523266.0002.trc'
JVMDUMP010I Snap Dump written to /usr/sap/D10/DVEBMGS01/j2ee/cluster/dispatcher/Snap.20110110.153604.2523266.0002.trc
JVMDUMP007I JVM Requesting Heap Dump using '/usr/sap/D10/DVEBMGS01/j2ee/cluster/dispatcher/heapdump.20110110.153604.2523266.0003.phd'
Mon Jan 10 15:36:15 2011
JVMDUMP010I Heap Dump written to /usr/sap/D10/DVEBMGS01/j2ee/cluster/dispatcher/heapdump.20110110.153604.2523266.0003.phd
JVMDUMP007I JVM Requesting Java Dump using '/usr/sap/D10/DVEBMGS01/j2ee/cluster/dispatcher/javacore.20110110.153604.2523266.0004.txt'
JVMDUMP010I Java Dump written to /usr/sap/D10/DVEBMGS01/j2ee/cluster/dispatcher/javacore.20110110.153604.2523266.0004.txt
JVMDUMP013I Processed Dump Event "systhrow", detail "java/lang/OutOfMemoryError".
</verbosegc>
[Thr 6428] JLaunchIExitJava: exit hook is called (rc = 666)
[Thr 6428] **********************************************************************
ERROR => The Java VM terminated with a non-zero exit code.
Please see SAP Note 943602 , section 'J2EE Engine exit codes'
for additional information and trouble shooting.
[Thr 6428] SigISetIgnoreAction : SIG_IGN for signal 20
[Thr 6428] JLaunchCloseProgram: good bye (exitcode = 666)
Could somebody help...
ThanksHi John ,Thanks
The dispatcher connects to only one server node.dev_dispatcher content details below.
JStartupIReadSection: read node properties [ID18122300]
-> node name : dispatcher
-> node type : dispatcher
-> node execute : yes
-> jlaunch parameters :
-> java path : /usr/java14_64
-> java parameters : -Xmn70M -Xgcpolicy:gencon -verbose:gc -Xj9 -Xdump:system:events=systhrow,filter=java/lang/OutOfMemoryError,request=exclusive+prepwalk -Djava.security.policy=.\java.policy -Djava.security.egd=file:/dev/urandom -Djco.jarm=1
-> java vm version : J2RE 1.4.2 IBM J9 2.3 AIX ppc64-64 j9ap64142-20080923 (JIT enabled)
-> java vm vendor : IBM J9 VM (IBM Corporation)
-> java vm type : server
-> java vm cpu : ppc64
-> heap size : 200M
-> init heap size : 200M
-> root path : /usr/sap/D10/DVEBMGS01/j2ee/cluster/dispatcher
-> class path : ./bin/boot/boot.jar:./bin/system/bytecode.jar:.
-> OS libs path : /usr/sap/D10/DVEBMGS01/j2ee/os_libs
-> main class : com.sap.engine.boot.Start
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : /usr/sap/D10/DVEBMGS01/exe/jstartup.jar:/usr/sap/D10/DVEBMGS01/exe/jvmx.jar
-> shutdown class : com.sap.engine.boot.Start
-> parameters :
-> debuggable : no
-> debug mode : no
-> debug port : 50000
-> shutdown timeout : 120000
[Thr 1] JLaunchISetDebugMode: set debug mode [no]
[Thr 772] JLaunchIStartFunc: Thread 772 started as Java VM thread.
JHVM_LoadJavaVM: VM Arguments of node [dispatcher]
-> stack : 1048576 Bytes
-> arg[ 0]: exit
-> arg[ 1]: abort
-> arg[ 2]: vfprintf
-> arg[ 3]: -Xmn70M
-> arg[ 4]: -Xgcpolicy:gencon
-> arg[ 5]: -verbose:gc
-> arg[ 6]: -Xj9
-> arg[ 7]: -Xdump:system:events=systhrow,filter=java/lang/OutOfMemoryError,request=exclusive+prepwalk
-> arg[ 8]: -Djava.security.policy=.\java.policy
-> arg[ 9]: -Djava.security.egd=file:/dev/urandom
-> arg[ 10]: -Djco.jarm=1
-> arg[ 11]: -Dsys.global.dir=/usr/sap/D10/SYS/global
-> arg[ 12]: -Dapplication.home=/usr/sap/D10/DVEBMGS01/exe
-> arg[ 13]: -Djava.class.path=/usr/sap/D10/DVEBMGS01/exe/jstartup.jar:/usr/sap/D10/DVEBMGS01/exe/jvmx.jar:./bin/boot/boot.jar:./bin/system/bytecode.jar:.
-> arg[ 14]: -Djava.library.path=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/D10/DVEBMGS01/exe:
/usr/sap/D10/DVEBMGS01/exe:/usr/sap/D10/DVEBMGS01/exe:/usr/TDAccess2.4.1:/usr/sap/D10/SYS/exe/run:/oracle/client/10x_64/instantclient:/
usr/java14_64/jre/bin/j9vm:/usr/sap/D10/DVEBMGS01/exe::/usr/lib:/usr/sap/D10/DVEBMGS01/j2ee/os_libs:/usr/sap/D10/DVEBMGS01/exe:/usr/sap/D10
/DVEBMGS01/exe:/usr/sap/D10/DVEBMGS01/exe:/usr/TDAccess2.4.1:/usr/sap/D10/SYS/exe/run:/oracle/client/10x_64/instantclient
-> arg[ 15]: -Dmemory.manager=200M
-> arg[ 16]: -Xmx200M
-> arg[ 17]: -Xms200M
-> arg[ 18]: -DLoadBalanceRestricted=no
-> arg[ 19]: -Djstartup.mode=JCONTROL
-> arg[ 20]: -Djstartup.ownProcessId=2748598
-> arg[ 21]: -Djstartup.ownHardwareId=U0234126406
-> arg[ 22]: -Djstartup.whoami=dispatcher
-> arg[ 23]: -Djstartup.debuggable=no
-> arg[ 24]: -DSAPINFO=D10_01_dispatcher
-> arg[ 25]: -DSAPSTART=1
-> arg[ 26]: -DCONNECT_PORT=64999
-> arg[ 27]: -DSAPSYSTEM=01
-> arg[ 28]: -DSAPSYSTEMNAME=D10
-> arg[ 29]: -DSAPMYNAME=eccdcs1s_D10_01
-> arg[ 30]: -DSAPPROFILE=/usr/sap/D10/SYS/profile/D10_DVEBMGS01_xxxxxxx
-> arg[ 31]: -DFRFC_FALLBACK=ON
-> arg[ 32]: -DFRFC_FALLBACK_HOST=localhost
-> arg[ 33]: -DSAPSTARTUP=1
-> arg[ 34]: -DSAPSYSTEM=01
-> arg[ 35]: -DSAPSYSTEMNAME=D10
-> arg[ 36]: -DSAPMYNAME=xxxxxxxx_D10_01
-> arg[ 37]: -DSAPDBHOST=xxxxxxx
-> arg[ 38]: -Dj2ee.dbhost=xxxxxx
Edited by: Khaiser Khan Mohammed on Jan 18, 2011 11:19 AM
Maybe you are looking for
-
Passing a parameter from one class to another class in the same package
Hi. I am trying to pass a parameter from one class to another class with in a package.And i am Getting the variable as null every time.In the code there is two classes. i. BugWatcherAction.java ii.BugWatcherRefreshAction.Java. We have implemented cac
-
Installing new iOS system iPad frozen. What do I do?
Trying to install new IOS7.1.2. iPad is frozen on , will not allow me to shut down change screen, etc. what can I do? It has been like this for over 3hours.
-
ORA-02315: incorrect number of arguments for default constructor
I was able to register the XML schema successfully by letting Oracle creating the XML Types. Then when I try to execute the create view command the ORA-02315: incorrect number of arguments for default constructor is always raised. I tried using the X
-
Lenova 3000 C100 (Reset the Pw for Client Security) Password Manager
Can any body help me to reset the pw for Lenova 3000 c100 's Client Security, I forgot the password as I did not use it for long time. Message Edited by tomm1986 on 08-08-2009 12:27 AM
-
Problem locking error message.
Hi experts, I've been working in a WebDynpro application that shows error messages in a Errors-Message Area element. The problem is that if I collapse or expand a tray in the view, then the errors displayed in the message area disappear. Is it possib