How to REALLY monitor a J2EE-engine?

We recently started implementing an EP 6.0 project as well as a NWDI infrastructure to develop some thing for Internet Sales on CRM 2005.
I installed a NW2004s SR1 and patched the instance up to SP7 - so latest and greatest.
However, doing a search for "exception" in the log directory I get a number of 201670 (yes, you've read right).
Using the logviewer I see on each start and during runtime ~ 200 - 300 exceptions that are getting thrown, some of them often, some of them only one - so I counted about 80 - 90 different exceptions.
How should I as an administrator find out, which ones of them are crucial for the application, what is a real error and what is just an exception, because something is installed but not (yet) configured?
Setting up NetWeaver Administrator will not help much since I would get 90 mails every day with different errors and I would see there also those 90 different errors.
How to distinguish between relevant/irrelevant exceptions/errors? There's no source code around and I doubt, that it's necessary for an administrator, to learn the full J2EE API just to get those informations. It can't also be that I need to create OSS calls to get an answer from the development.
Where is some documentation what part of the engine is used where, what errors can be ignored and which of them needs to be followed?
Markus

Apologies, this thread is old but worth a mention.
No problem with that!
I was in ramp up for 630 J2EE and starting from the beginning it was clear that ERROR means there is some type of error that can even be of user cause and so ERROR was a rubbish thing to monitor (a bit like looking for red messages in SM21).
We don´t have many "red messages" in SM21 - and if, then there is really a problem (like a dump)
However, right from the start I have been alerting on CRITICAL errors as these mean trouble. Seems to work well..
There are less of them - true - but they are even less speaking:
#1.5^H#00118513360B002E000000250000399900044B606D5EC8B1#1208777430714#com.sap.engine.services.failover.st
orage#sap.com/irj#com.sap.engine.services.failover.storage#Guest#0##n/a##55b6fe700f9611ddbf4800118513360b
#SAPEngine_Application_Thread[impl:3]_31##0#0#Error##Java###null
[EXCEPTION]
{0}#1#com.sap.engine.services.failover.exceptions.PersistentStorageException: Exception occurred during
I/O operations.
        at com.sap.engine.services.failover.storage.DatabasePersistentStorage.serializeSession(DatabasePe
rsistentStorage.java:123)
        at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadDestroyer.serializeSess
ions(ApplicationThreadDestroyer.java:104)
        at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadDestroyer.run(Applicati
onThreadDestroyer.java:72)
or
#1.5^H#00118513360B00070000000100006B1100044D3854843446#1210804238299#com.sap.engine.services.security.po
licyconfiguration##com.sap.engine.services.security.policyconfiguration####n/a##60ab1ab0220511dda5f700118
513360b#SAPEngine_System_Thread[impl:5]_67##0#0#Warning#1#/System/Security/PolicyConfiguration#Java###Exc
eption occurred during remove of policy root [{0}].
[EXCEPTION]
{1}#2#service.iiop#com.sap.engine.frame.core.configuration.NameNotFoundException: A configuration entry
with the name "service.iiop" cannot be found in the configuration "security/configurations".
        at com.sap.engine.core.configuration.impl.ConfigurationDataCacheAllImpl.getValue(ConfigurationDat
aCacheAllImpl.java:98)
        at com.sap.engine.core.configuration.impl.ReadAccessConfiguration.getConfigEntry(ReadAccessConfig
uration.java:849)
        at com.sap.engine.services.security.server.PolicyRoots.removePolicyRoot(PolicyRo
I gave up on Java.
We run the instances and in case of a problem we restart all affected Java systems subsequently until the error vanishes because trying to "find" an error in a federated portal network (with some scenarios 6 or 7 machines affected) is not only cumbersome and very time consuming but in most cases meaningless because the support needs a reproducibility, a case, otherwise they can´t help - and recommend to "install the latest support packages". This is also true for production system. In case I open a prio-1 call I don´t only got hold off sleep because they are working on the call 24 h but we finally end in restarting the engines though.
There´s one call open since June 2006 - which is now two years old - about the dependencies in the packages and how to find out which service/applications needs which, to monitor only the really necessary ones. Since the development itself is not able to tell which dependencies they generate then, well, it´s better for everyones nerves and finally health to "just reboot" as you were (and maybe are) doing with Windows boxes if they don´t behave as they should. Maybe it´s by design/defnition like this, I don´t know.
We´re now in the process of putting all Java instances onto clusters to do an automatic switchover so the instances get restarted every few days and we avoid any problems that are caused by instances running too long.
I wish there was another solution or an idea of how to deal with that - I don´t know how others handle that but I have to take of about 50 instances (ABAP + Java) so I don´t just have the time of collecting dozens of logfiles of half a dozen machines and open an OSS call try to explain someone at the other side of the world in a foreign language (english is not my native language) what´s happening. The problem starts with "in which component do I open the call?"
Markus

Similar Messages

  • How to install/start local J2EE engine in Netweaver Developer Studido

    Hello,
    I just installed NDS 2.0.11 and I'm having a heck of a time figuring out how to actually test my code.
    Went thru tutorial for creating Calculator J2EE sample. When I get to step that describes how to deploy the EAR I get error below. I've gone into Windows|Preferences|SAP J2EE Enginee section thinking I could configure/start engine from there but I can't figure out what to do.
    I've searched these forums and the NDS help files with no luck.
    I didn't get any prompts during install asking me whether or not I wanted to install a local J2EE engine.
    Has anyone run into this and do they know the answer. ANY help would be greatly appreciated.
    Thanks!
    David
    Mar 9, 2005 11:36:49 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [002]Deployment aborted
    Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !

    RK,
    Thanks for the link. It did help a little. I found some of the errors on that page and it helped me get past them.
    The last issue I had run into was issue 1-13. So I created a new user on my laptop and gave it admin rights.
    The install got a little further but now it's stuck again. Here are the messages from the install log:
    SAPinst is getting started.
    Please be patient ...
    guiengine: no GUI connected; waiting for a connection on host TAGname, port 21212 to continue with the installation
    guiengine: login in process
    WARNING: Could not read file control.xml. Please make sure that you called SAPinst with the correct control file (the control file is given to SAPinst as its first command line parameter or as value of the command line property SAPINST_CONTROL_URL)
    ERROR  Could not create DOM from control.xml
    Exit status of child:  1
    Any ideas?
    I started the install process by running SAPinst.exe. When the installation window opened I chose 
    SAP NetWeaver '04 Support Release 1
    Java System
    MaxDB
    Developer Workplace
    SAP Netweaver Developer Workplace Installation
    Thanks in advance for help!

  • How to find out if J2EE Engine is PROD or TEST or DEV System

    Hi,
    I want to get the system state / system type (even if si PROD or TEST or DEVELOP system) of the J2EE-Engine at runtime, because to use different properties.
    How can I find this information and how can I get this info in Java?
    Thanks for help.
    Sven Rickelt
    we use: SAP Web AS 6.40 SP 13 (Netweaver 2004)

    Hi Gianluca,
    one method I found is "to ask" System.getProperty("j2ee.dbhost") or System.getProperty("SAPSYSTEMNAME"), but I don't know if it is the right way.
    So I must store the servernames in my properties (f.e.
    dev=mypcname
    test=testservername
    a.s.o.)
    but I think there must be a method to configure the server, that I can ask it and the answer is "PROD" or "TEST" and I not must know the servernames...
    Best Regards
    Sven Rickelt

  • How do I invoke the J2EE Engine (what path)

    Hello:
    I isntalled the SAP WebAS Sneak Preview (NOT the ENTERPRISE PORTAL, whcih I could never get to work).
    In the Enterprise portal install, it puts the J2EE Admin tool in the /usr/.... path.
    That path is not created in the WebAS Sneak Preview Install.  In this Install I get an eclipse GUI (Netweaver Dev Studio, and a MMC), but I dont know how to access the J2EE admin, since I dont have a /usr path
    Could someone please tell me both the path and the command file to execute to get the J2EE Engine Admin GUI to invoke for the smaller install (WebAS) ?
    Thanks, John

    I found my error.
    I had just added a RAID to my machine, and when I re-installed, it put the /usr/... directory on the RAID, not the C: drive where I was used to it.
    Thanks, John

  • How can I start local J2EE Engine in debug mode automatically?

    Hello,
    I thought there was a way to setup the local J2EE engine to automatically start in debug mode.
    Right now, I have to start the engine, go into Studio and right-click on engine and choose "Enable debugging of process". This means that I have to wait for the engine to restart.
    What I'm looking for is a system setting where I can tell it to automatically start in debug mode.
    Thanks in advance for any help.
    David.

    Ivaylo,
    Thanks for the quick reply.
    Could you please elaborate on your instructions? I have started the Config Tool. Now I see the following tree structure:
    + cluster-data
       secure store
       UME LDAP data
    I expand the cluster-data node and get this:
      - cluster-data
        +Global dispatcher configuration
        +Global server configuration
        +instance_ID12345
    Assumed that I should expand the instance node. When I do I get this:
        + dispatcher_ID1234500
        + server_ID123450
    Again, I assumed I should expand the server node. This is where I get lost. I have no idea where to go next to set the debug configuration.
    Can you please help?
    Thanks
    David.

  • How to attach J2ee Engine....

    Hi All,
    I want to know that how can we attach the J2EE Engine to my WD Application..
    Pls Help me out......
    Regards,
    Dhruv Shah

    Hi,
    Is your J2ee engine is in your local system or in Remote I mean installed in another system.
    Based on your J2ee engine there s an option NWDS .
    Windows> preferences->J2eeengine--->Select the radio button based on your sever availability.
    If you select the remote server
    Messge server Host: EP host name
    Messge server Port :3601
    Otherwise select the second option
    server instance s attached automativcally.
    Thanks,
    Lohi.

  • Regarding RFC Communication from SAP R/3 to SAP J2EE Engine 6.40

    Hello,
         We have an application deployed in SAP J2EE engine 6.20. From SAP R3 (SAP R/3 version is 6.4C), We are communicating to the application deployed in SAP J2EE Engine 6.20 using RFC protocol. EJB module (Deployed in SAP J2EE Engine 6.20) which is being invoked from a Function Module using RFC protocol has the same name as the Function Module name. We were able to communicate to SAP J2EE Engine 6.20 this way.
         Currently, I have deployed the same application in SAP J2EE Engine 6.40.  I have followed the same procedure which i have used while depolying and working with SAP J2EE Engine 6.20. But, it is not working, and i was not able to communicate to SAP J2EE 6.40, the same way i did in SAP J2EE Engine 6.20. 
       Please let me know whether the procedure for communicating to SAP J2EE Engine 6.40 has changed in comparison with SAP J2EE Engine 6.20.
    Also,Any pointers regarding RFC and JCO implementation in SAP J2EE Engine 6.40 willl be helpful.
    Thank you.
    Regards,
    -Shabir Rahim.

    Hello ,
          The Connection in sm59 is established successfully> there were no Error thorwn in SAP when testing the connnection. But when i am making background call using a Function Module in SAP R3, the calls reaches Application deployed in SAP J2EE Engine 6.40, But it is failing with the error as,
    #1.5#005056A24413003C000000240000126000042853BD899290#1170240034258#/System/Server##com.sap.engine.services.dsr####sstra902_IPC_2629150#Guest#6813e650a93f11dba9f5005056a24413#Thread[JCO.ServerThread-1,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/System/Server#Plain####
    #1.5#005056A244130042000000000000126000042853CFDB80F8#1170240341655#/System/Server##com.sap.engine.services.dsr#Guest#2####322aaa71b11811db85e1005056a24413#SAPEngine_Application_Thread[impl:3]_36##0#0#Error#1#com.sap.engine.services.dsr#Java#DSR_36#com.sap.engine.services.dsr.res.DSRResourceBundle#Error while taking over external passport null#1#null#
    #1.5#005056A244130042000000030000126000042853CFDB86BD#1170240341671#/System/Server##com.sap.engine.services.jndi#Guest#2####322aaa71b11811db85e1005056a24413#SAPEngine_Application_Thread[impl:3]_36##0#0#Info#1#com.sap.engine.services.jndi#Plain###Incorrect name parameter rfcaccessejb//DCEUR/Z_AIS_IPC_CFG_PRICE in naming operation.#
    #1.5#005056A244130042000000040000126000042853CFDB8745#1170240341671#/System/Server##com.sap.engine.services.jndi#Guest#2####322aaa71b11811db85e1005056a24413#SAPEngine_Application_Thread[impl:3]_36##0#0#Info#1#com.sap.engine.services.jndi#Plain###Incorrect name parameter java:rfcaccessejb//DCEUR/Z_AIS_IPC_CFG_PRICE in naming operation.#
    #1.5#005056A24413003C000000280000126000042853CFDBC4AA#1170240341686#/System/Server##com.sap.engine.services.dsr####sstra902_IPC_2629150#Guest#6813e650a93f11dba9f5005056a24413#Thread[JCO.ServerThread-1,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/System/Server#Plain####
    Here, //DCEUR/Z_AIS_IPC_CFG_PRICE is the Funcrtion module name in SAP R/3 6.4C.
    Also Please let me know whether is there any Operating Differences between WAS 6.20 and WAS 6.40, for JCO/RFC based Communication( ie Comunicating with WAS 6.40 from SAP r/3 using RFC Protocol). Any materials and Information on how to work on SAP J2EE Engine 6.4 will also be very helpful.
    Thank you.

  • Starting and stoping SAP J2EE engine without using SAPMMC

    Hi All,
    How can we start SAP J2EE engine without using SAPMMC.
    My SAP J2EE version is 6.40.
    Kindly, help.
    Regards,
    Devender V

    hi Devender,
    if your SID = J01 system no# 00, host = hostabc
    open a command prompt,..cd to this exe folder... (/usr/sap/J01/SYS/exe) just cross check if startsap existing or not.
    then run
    startsap.exe name=J01 nr=00 SAPDIAHOST=hostabc
    if the PATH env variable already has a value C:\usr\sap\J01\SYS\exe then you may directly run the command from any folder.. no need to specifically go to the exe folder.
    (if you need help how to set env variable in windows, http://www.cs.usask.ca/~wew036/latex/env.html)
    Regards,
    Debasis.
    Edited by: Debasis Sahoo on Apr 29, 2009 8:56 PM

  • J2EE engine download

    Hello ,
               Can anybody send me the link from where i can download J2EE engine......
                    Plz...........

    Composition Environment (contains Java EE) (1.453.755.029 bytes)
    NetWeaver Developer Studio (715.874.878 bytes)
    Composition Environment - Java EE only (1.083.358.415 bytes)
    i also want to ask some about the J2EE engine.
    i select and download the third one.
    but when run the sapinst.exe. it will displays error message and close soon.
    and then, how about to configure the J2EE engine for Web Dynpro Project.
    thank you !

  • Restarting XI J2EE Engine

    How do restart the XI J2EE Engine in a proper way.
    Thanks

    Hi Rokie.
    You can restart it from the SAPMMC Console.
    Open the SAPMMC Console, right click on the host name ---> All tasks ---> Stop.
    Once, all the icons turn into grey color from green, then you can start it by right clicking on the hostname-->all tasks ---> start.
    Hope this helps you.
    Regards,
    Hari.

  • How do u restart and monitor J2EE engine from Visual Admin?

    Hi mates,
    How do you restart J2EE engine from VA?
    From VA, is there any way we can monitor if the J2EE engine is rebooting properly or got stuck somewhere?
    thx in adv
    praveen

    Hi Praveen,
    1) I don't think you can monitor from SAP GUI. SMICM will only allow you also to trigger a reboot via Administration / J2EE server but for the rest it's happing all in the background with no visibility.
    2) The dispatcher node is the 'SAP WEB dispatcher' component which is an independent component / product and ( can ) act as the load balancer
    You can also install it standalone to act e.g. as a reverse proxy.
    3) The J2EE node represents the J2EE server
    rgds
    Dirk

  • How to execute j2ee engine xample program

    http://portal address/index.html > J2EE Engine Examples->Message-Driven Bean Example -->The source files of the example are available here as a zip file.
    It contains jsps and java..
    how can I excecute in Netweaver. I have no idea of proper path to compile and excecute.. Can anyone help me?

    You might want to ask this in the Java developer's forum. It's not really related to KM and/or the portal...
    You'll need to get some exposure the NetWeaver Developer Studio and there are tutorials built in that can help you understand the process for doing Java development.
    Cheers and good luck

  • How to restart the J2EE Engine

    I ran a couple tests the other day, and the next time I looked the J2EE Engine was down.  (Could not send or receive PTP messages to it).
    When I brought up the J2EE Engine Administrator, it put upt the following help box:
    <b>Unable to lookup connection default
    http:host1:8101/msgserver/text/login returned empty list of connection parameters</b>
    I had to reinstall to get it to work.
    Does anyone know how to restart the J2EE engine ?
    Thanks, John

    Hi,
    judging by the URL given in the error message (which is a URL that queries the message server), your engine must be of 6.40 version. Well, on 6.40 you should have the SAP Management Console (SAP MMC) that you can open and start the engine from. TO open it, go to Start -> Programs -> SAP Management Console. Inside, locate your SAP System, right-click on it and select Start.
    That's it.
    Just for a reference, <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9b/dd7277f3e64ecba59f7fbac7edd2fe/frameset.htm">this</a> page contains also some screenshots of the MMC.

  • How to use the activation library on SAP J2EE Engine

    Hi my friends:
       This post is referent to a note and their solution, but the solution is not clearly:
    Symptom:
    One wants to use the activation library provided together with the j2ee engine from an own library.
    Reason and Prerequisites:
    One wants to use the activation library from an own library but a ClassNotFound Exception or a NoClassDefFoundError keeps showing up.
    Solution:
    For J2EE Engine 6.30/6.40:
    To avoid the above mentioned exceptions one has to specify circular references between the activation library and the specific resource. When the engine's classloading system sees such references it creates a common loader for these resources and avoids the issue.
    Some one knows how to do circular references in my program????,
    i can use web applications or web dynpro with SAP Developer Studio Kit.
    thnsk Forum
    Joshua

    Hi,
    This is the info from help.sap.com on libraries and how provider.xml sjould look like:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/16/df813e77d46245e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/content.htm
    this is the dtd:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/09/5d963be736904c96cbdfe93793eb42/content.htm
    The file itslef is located in the library archive in server folder usually.
    I hope this helps.
    Greetings, Myriana

  • How to access the JMS queues in the XI J2EE Engine?

    Hi Gurus,
    Can anybody know how to access the jms dead message queues in the WAS J2EE Engine?
    I have read in the SAP documentation that we can use some JMS commands from the telnet. I don't know how to use those commands.
    Can anybody provide a step-by-step process to access these queues?
    Thanks
    Kalyan

    1) Open a command prompt
    2) type
    telnet localhost 50008
    where the port is the same as your http, but with 8 as last digit.
    3) Login
    4) Issue the following set of commands
            jump 0
            add jms
            jms list deadmsgs
    Check by man jms other possible options.
    HTH
    Peter

Maybe you are looking for

  • Connecting an External Monitor to a HP Pavilion 15t-n200

    I have a HP Pavilion 15t-n200 laptop computer and I'm trying to hook up an external monitor.  I tried connecting directly to a monitor with an HDMI cable and this didn't work. So I bought a HDMI to VGA adaptor, and still no luck. In both instances, I

  • Problems opening & resaving NEF files with CS3/CS2

    I seem to be having problems sending my NEF files to Photoshop from Aperture. This started happening just today & I'm not sure what to do. What happens is that when I open a NEF file in external editor, instead of just opening up as a psd file in CS3

  • What would cause my sound to stop working?

    My sound was working then it suddenly stopped.

  • Image details lost when save as TIF

    How do you keep all the image details of an image file when you save it as a TIF? I lose half of mine.

  • ItineraryForwardSendReceive Problem

    Hello, I have a problem with the ItineraryForwardSendReceive send pipeline.  First I created a send pipeline with send pipeline = ItinerarySendPassThroug and receive pipeline = ItineraryForwardSendReceive Second I created an itinerary (atrribute requ