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,
MIchele
Hi 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
Similar Messages
-
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
-
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 -
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 -
When should i consider to add multiple j2ee server node?
are there best practice about configuration for this?
such as : any recommendation provided are helpful for me!
thanks a lot!Hi,
Please see this link
adding additional j2ee node
Best Regards
Imran -
NWA: Restart of a server process requires a specific user
Hi all,
we use SAP Netweaver AS Java 2004s 7.0 (Java Stack only).
Since the installation of SPS10 (prior we had SPS8) restarting a Java server node
by means of the web interface NWA (netweaver administration) requires a OS user
and a OS password.
What is meant by OS user.? I interpreted it with an Operation System user and tried with <SID>adm user but it doesn't work
Any help is really appreciated
Regards KarinHi Karin,
To assign rights to a user you can use this path:
Control Panel -> Computer Management -> User -> Member of
Here you can add the Administrator role to the user.
I would suggest you assign the administrator rights to all the SAP based user.
Also i suggest to try you windows logon username and password.
Hope this works!!!
Regards,
Prashil -
EP 6.0 J2EE Server Job Will Not Start
Yesterday I was trying to install Adobe Document Services on EP 6.0 SP11 and during the process of restarting the J2EE server the job hung so I cancelled it and retried the process again only to have it hang again. Now I cannot get the J2EE server jobs to start at all. The jobs stop during the step of synchronizing binaries.
I wonder if anyone has had this issues and what steps were taken to corrent it.
Here is a copy of the bootstrap text.
Bootstrap MODE:
<INSTANCE GLOBALS>
determined by parameter [ID0040811].
Missing RunningMode property - runningin NORMAL mode.
Instance [ID40811] will run in [NORMAL] mode, performing action [NONE]
Synchronizing file [.\.hotspot_compiler].
...Done!
Synchronizing file [..\..\SDM\program\.hotspot_compiler].
...Done!
Synchronizing native files...
Synchronizing file [.\..\os_libs\msvcirtd.dll].
...Done!
Synchronizing file [.\..\os_libs\msvcp60d.dll].
...Done!
Synchronizing file [.\..\os_libs\FontManagerService_native.zip].
Synchronizing file [.\..\os_libs\omniDynamic403_rt.dll].
...Done!
Synchronizing file [.\..\os_libs\msvcrt.dll].
...Done!
Synchronizing file [.\..\os_libs\omniORB403_rt.dll].
...Done!
Synchronizing file [.\..\os_libs\XMLFormService_native.zip].
...Done!
Synchronizing file [.\..\os_libs\omnithread30_rtd.dll].
...Done!
Synchronizing file [.\..\os_libs\asn.er.dll].
...Done!
Synchronizing file [.\..\os_libs\PDFManipulation_native.zip].
...Done!
Synchronizing file [.\..\os_libs\msvcp60.dll].
...Done!
Synchronizing file [.\..\os_libs\rscp4j.dll].
...Done!
Synchronizing file [.\..\os_libs\bsld.dll].
...Done!
Synchronizing file [.\..\os_libs\rscp4j.pdb].
...Done!
Synchronizing file [.\..\os_libs\msvcrtd.dll].
...Done!
Synchronizing file [.\..\os_libs\msvcirt.dll].
...Done!
Synchronizing file [.\..\os_libs\omnithread30_rt.dll].
...Done!
Synchronizing file [.\..\os_libs\omniDynamic403_rtd.dll].
...Done!
Synchronizing file [.\..\os_libs\omniORB403_rtd.dll].
...Done!
Synchronizing file [.\..\os_libs\jmon.dll].
...Done!
Synchronizing file [.\..\os_libs\bsl.dll].
...Done!
Exception occured:
com.sap.engine.bootstrap.SynchronizationException: Unable to synchronize native files for instance [ID40811]!
at com.sap.engine.bootstrap.Bootstrap.synchInstanceGlobals(Bootstrap.java:203)
at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:830)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)
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:324)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
==[ Caused by: ]==----
com.sap.engine.frame.core.configuration.InvalidPersistentDataStreamException: Could not get file from DB.
at com.sap.engine.core.configuration.impl.PersistentDataInputStream.getStream(PersistentDataInputStream.java:84)
at com.sap.engine.core.configuration.impl.PersistentDataInputStream.read(PersistentDataInputStream.java:135)
at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:180)
at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:165)
at com.sap.engine.bootstrap.Synchronizer.synchronizeFile(Synchronizer.java:118)
at com.sap.engine.bootstrap.Bootstrap.getOSDependentFiles(Bootstrap.java:614)
at com.sap.engine.bootstrap.Bootstrap.synchInstanceGlobals(Bootstrap.java:193)
at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:830)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)
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:324)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
[Bootstrap module]> Problem occured while performing synchronization.
Always,
Doug Slupski
The Plastek GroupHere the output:
[Feb 27, 2006 5:31:51 PM ] Synchronizing file [./../os_libs/libomniDynamic4.so.0
[Feb 27, 2006 5:31:51 PM ] ...Synched ok!
[Feb 27, 2006 5:31:51 PM ] Synchronizing file [./../os_libs/libomniORB4.so].
[Feb 27, 2006 5:31:52 PM ] ...Synched ok!
[Feb 27, 2006 5:31:52 PM ] Synchronizing file [./../os_libs/libomnithread.so].
[Feb 27, 2006 5:31:52 PM ] ...Synched ok!
[Feb 27, 2006 5:31:52 PM ] All CHMOD commands finished successfully...
[Feb 27, 2006 5:31:52 PM ] Exception occurred:
com.sap.engine.bootstrap.SynchronizationException: Unable to synchronize native
files for instance [ID57212]!
at com.sap.engine.bootstrap.Bootstrap.synchInstanceGlobals(Bootstrap.jav
a:203)
at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:831)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:815)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81
==[ Caused by: ]==----
java.io.FileNotFoundException: ./../os_libs/libjmon.so (Cannot open or remove a
file containing a running program.)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:201)
at java.io.FileOutputStream.<init>(FileOutputStream.java:92)
at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:158)
at com.sap.engine.bootstrap.Synchronizer.synchronizeFile(Synchronizer.ja
va:112) -
Enque Server was restarted without restarting the J2EE engine (MSCS)
Hello All,
I've installed the Portal on Microsoft Cluster (MSCS) and everything is working well. Now when i try to move the Group from Node 1 to Node 2 to test whether it fails over or not?? It does fail over however, server node on CI and DI(Dialog Instance) gets crashed. I checked the log files and got the following:-
<b>Enque Server was restarted without restarting the J2EE engine. This could lead to data inconsistencies and requires a restart of the entire system.</b>
Has someone experienced this before, any ideas.
Regards
VaibHi vaibhav,
We are planning to install a HA & Load balanced NW portal. I was looking to get some information regarding same. While going through SDN, I came across this message. Thought of writing to you, since you have already implemented this solution.
Do you have any IDEA, whether SAP(Ok with other Institute also..) offer's any courses / Training for setting up HA (High-Availability) & LOAD BALANCING solutions for NetWeaver Enterprise Portal ?
Or any books available for the same at SAP Press?
PS: you also may refer to my message at SDN with the subject line: Courses / Books For HA & Load balancing for NW Portal
Courses / Books For HA & Load balancing for NW Portal
Regards
Sunil Kulkarni -
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, -
Need help!---lookup connectionFactory failed after restart j2ee server!
hi,
I wonder anyone could help me to solve this context lookup problem described as bellows.i should say 'thanks' in advance!!!
At the end of the message i post the code used to lookup administered objects then create connection.
i use sun's default jms implementation (j2sdkee1.3.1) and jdk1.4 as environment.
The jms client will try to establish a new connection if the j2ee server restarts (perhaps due to remote j2ee server shutdown or network trouble) , but it fails to lookup topicConnectionFactory in the JNDI this time. An namingException will be caught :
"javax.naming.CommunicationException: java.rmi.MarshalException: CORBA COMM_FAILURE 1398079689 No; nested exception is:
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:92)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.lookup(Unknown Source)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:176)
at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:68)
at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:70)
at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:641)
at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:583)
at com.sun.corba.ee.internal.corba.ClientDelegate.request(ClientDelegate.java:875)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.lookup(Unknown Source)
... 6 more
Some code in the establish() method:
try {
TopicConnectionFactory topicConnectionFactory = null;
InitialContext ctx = null;
ctx = new InitialContext();
System.out.println("ctx:" + ctx);
topicConnectionFactory =
(TopicConnectionFactory) ctx.lookup ("connectionfactory");
System.out.println("topicConnectionFactory:" + topicConnectionFactory);
while (connection == null)
try{
connection = topicConnectionFactory.createTopicConnection();
} catch (javax.jms.JMSException jmse)
System.out.print("Cannot connect to message server...");
System.out.println("Pausing " +
CONNECTION_RETRY_PERIOD / 1000 + " seconds before retry.");
try
Thread.sleep(CONNECTION_RETRY_PERIOD);
} catch (java.lang.InterruptedException ie) {ie.printStackTrace();}
continue;
System.out.println("\nConnection established");
session =
connection.createTopicSession(false,Session.AUTO_ACKNOWLEDGE);
topic = (Topic) ctx.lookup ("subscribeTopic");
connection.setExceptionListener( (javax.jms.ExceptionListener) this);
catch (javax.naming.NamingException jne){
System.err.println("[MessageSubscriber] - NamingException!");
//jne.printStackTrace( );
Best Regards,
-bawanglongqiqiHi!
I've encountered a similar problem with looking up the Home-interface
of an EJB from a client through the InitialContext object after a
restart of the application server.
Try to set an additional property before creating your InitialContext
object that clears the JNDI cache (the property name seems to differ
between context factories - e.g. I'm using a WebSphere one and had to
set a WebSphere specific property name).
I'm sure you will find further info when you do a web search on "clear
JNDI cache" for your specific JNDI provider.
Kind regards,
Markus -
J2EE Server Process is restarted automatically?
Hi,
On one of our systems we have seen that one J2EE server process was taking up nearly 100% CPU, after a few hours suddenly the process seemed to restart itself. I am guessing that maybe JControl Framework restarted it since it was chewing up so much CPU, but can't find any documentation regarding if JControl can do this and if it logs anything to say it did an automatic restart. Can anyone clear this up?
Thanks in advance,
SimonHi Simon
Look at sap note 742395 might help u.
regards,
kaushal -
Autorun WebDynpro Application after J2EE Server Restart
Hi All
I have developed an application which registers the event capturer for KM in webdynpro.This application doesnot have any UI output.
I need to run this application after every J2EE server restart.
I changed the portalapp.xml and added startup = true property, but of no use.
Is there any way to do this ?
Points will be rewarded for helpful answers.You should create a portal service and set startup = true in portalapp.xml
-
Hi,
I have installed SAP CRM 4.0 (WAS 640) with Internet Sales. The following are installed:
CRM 4.0 - ABAP/Oracle
Java Addin
ISA/IPC/TREX
How do I restart only the J2EE Server. It seems restart from SMICM does not work . How do I know that the J2ee is shutdown when i do it using the smicm t code. and how to restart it ?
regards,
HasnainHi Hasnain,
SMICM --> (Menu)Administration --> J2EE-Server --> Send Hardshutdown or Softshutdown --> without restart
This indeed stops the J2EE server. To start the J2EE server again you must select: SMICM --> (Menu)Administration --> J2EE-Server --> Restart --> Yes
SMICM --> (Menu)Administration --> J2EE-Server --> Send Hardshutdown or Softshutdown --> with restart
This will stop and then start the J2EE server.
The status if the J2EE server can be checked in ST11 and displaying the dev_disp. In this file you wille see the stop ans start loggin of the J2EE server.
Regards,
Hay -
Hi,
I want to create a new server node (server1)with existing server0 in J2EE engine .Please tell me the procedure .
ThanksHello,
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
Maybe you are looking for
-
Issues after Vista---- Win7 migration
Hi, I upgraded my T400s from Vista Prof to Win7 Prof 32 bit yesterday, and it did NOT go smooth. I had to start over after an error message given in the process. Anyway I ended up having to format my preload drive and installed there. Coming back up
-
Hi Ive only had my mac a few hours and this is my 2nd question, I think I am going to be a regular sorry in advance. I plugged my iphone 4 in to my mac pro and it doesn't do anything, no recognition at all, any ideas anyone please?
-
Nokia lumia 610 randomly dials numbers
I have a Nokia Lumia 610 and for some odd reason last two weeks it randomly dials numbers either mobile or landline. When its sat on the kitchen table, it just dials it, more oddly it switches to loud speaker and it does it about 10-15 times same nu
-
Hi I am trying to create a new query by selecting the plant and a calculated key figure and when I tried to save the query, I encounter the following error message: Error When Saving The query could not be saved due to a problem in transport BEx tran
-
Ipad 1 doesnt import my photos in iphoto, seems stuck
Got some 500 pictures (5.7 GB) on my Ipad-and left it running for one night... Still see no advance in the process of iphoto import... am I just impatient or is the process frozen somehow? The button "import all" and import selected are grey... but I