cancel
Showing results for 
Search instead for 
Did you mean: 

how to start j2ee engine In Sap dual stack ?

Former Member
0 Kudos

Hello,

We are having sap with dual stack installaion ( SAP netweaver 7.0 with SAP ECC 6.0 dual stack ).

I am not able to find out how should i start my j2ee engine ,

and my VM Container is also having an error in SAPmmc "java not active"

when i see the trace file in SMICM -> goto-> HTTP Server-> Displya Data ->

ABAP Server operational        = TRUE

J2EE Server configured         = FALSE

J2EE HTTP port                 =

J2EE HTTPS port                =

J2EE Server operational        = FALSE

Default root access handler    = ABAP

URL Prefix Table loaded        = TRUE

following report is displayed .

can any one help me with this.

Thanks & Regard's.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If possible, try a complete restart of the entire dual stack system.

Also try the restart for Java stack steps as in the link:

http://help.sap.com/saphelp_nw70/helpdata/en/d5/84a5428295c911e10000000a1550b0/content.htm

Regards,

Srikishan

Former Member
0 Kudos

Hi,

I followed the process mentioned in the link  i got the message " operation executed successfully" but still  "J2EE Server operational        = FALSE" .

see , when i run the tcode SICF -> n i execute it i get two nodes sap and sap_java

Here the sap_java node is the VM container Engine  for java Application and whn i tried to test this service by right clicking on it  it say's cannot access the service no handler entered.

and even the TcOde SM52 it say's " VM not active cannot be loaded " and in Tcode SM53 it say's "  VM Container not active on this application server" . and my VM Container is also having an error in SAPmmc "java not active"

i am not getting any of the link between all these but i think all this is related to VM .

any advice will be of great help.

Thank you.

Former Member
0 Kudos

Hi,

For VMC to be active, the required profile parameters are to be set as per the help link below:

http://help.sap.com/saphelp_nw70/helpdata/en/42/df8a715afb1631e10000000a1553f7/content.htmhttp://help.sap.com/saphelp_nw70/helpdata/en/d4/b2c894490440caa8b17dfe8ab69d66/frameset.htm

System restart is required for the parameters to take effect. Could you try this and check if the Java comes up then?

Regards,

Srikishan

Former Member
0 Kudos

HI,

Thanks for the link it was helpfull.

But i  when i do SM52  following alv  header is displayed VMC is not loaded

does this means i dont have a VM  or its any thing to with setting the jdk

coz whn i do rz11 and displays parameter jstartup/vm/home  it say's no parameter exist.

And i am able to  display parameter vmcj/enable which is set to OFF in rz11 but  this parameter is not listed in rz10 why so ?

Former Member
0 Kudos

i came to knw why parameters are not displayed in rz11 and not in rz10

because  rz11 keeps the track of only dynamically switchable parameters.

and other parameters  are displayed in rz10  only if they are maintained or created iin rz10 . hope so i am right.

Former Member
0 Kudos

Hi,

Yes, RZ11 is used to set dynamically changeable parameters. It only shows current value for other parameter. For these, you would have add them to the instance profile via tcode RZ10 and restart the system for the parameter in the profile to take effect.

Regards,

Srikishan

Former Member
0 Kudos

Hi,

Thanks a lot for all ur efforts  my VM got activated and i am able to see the Tcode SM53.

but still

when i see the trace file in SMICM -> goto-> HTTP Server-> Displya Data ->

ABAP Server operational        = TRUE

J2EE Server configured         = FALSE

J2EE HTTP port                 =

J2EE HTTPS port                =

J2EE Server operational        = FALSE

Default root access handler    = ABAP

URL Prefix Table loaded        = TRUE

following report is displayed .

how will i get to know that my java is working i am not getting the missing link.

what will make  " J2EE Server operational = FALSE " set to TRUE .

Former Member
0 Kudos

Hi,

Is your Java home page accessible?

Its usually http://<full hostname>:5<instance number>00

Please check if the link opens. If not on the OS level cehck for Java logs in

../usr/sap/<SID>/DVE../work

Here check for errors in dev_server0, std_server0.out logs.

Regards,

Srikishan

Former Member
0 Kudos

hi,

when i execute this URL

http://<full hostname>:5<instance number>00 following message got displayed

"Internet browser page cannot be displayed."

what should i do next ? i think this port is for ICM to communicate with J2EE engin

I went in ths location but,

what is the name of java log file in this location

../usr/sap/<SID>/DVE../work

and also where to locate   dev_server0, std_server0.out logs

Thank you.

Former Member
0 Kudos

and one more thing

when i executed the standard program through sap " RSVMCRT_HEALTH_CHECK "

following message got displayed with green light :

 

   The Java component is activated

    Call from ABAP to Java made successfully

    Call from Java to ABAP made successfully

    Java runtime services tested successfully

Former Member
0 Kudos

Hi,

What is the link you tried opening for Java? The link I mentioned is with placeholder, you need to fill based upon the hostname of your server. I hope you were using actual hostname and not the link I posted for reference purpose.

Regards,

Srikishan

Former Member
0 Kudos

Hi,

Surely i was using the hostname and port no. of my sap devlopment system .

Former Member
0 Kudos

do i need to set any port no. for j2ee engin any profile parameters

Former Member
0 Kudos

Can you post the default trace for java?

Regards,

Vishal

Former Member
0 Kudos

Hi Vishal,

Can u guide me in getting the trace for java ?

I am new to javaAS in sap .

Thank you.

Former Member
0 Kudos

Hello Dakshaini,

you will find default trace in /usr/sap<SID>/DVEBMGS../j2ee/cluster/server0/defaultTrace.*.trc

post the latest default trace.

Regards,

Vishal

Former Member
0 Kudos

hi Vishal,

I  went on the specified location but i am not having j2ee folder

in this path  /usr/sap<SID>/DVEBMGS../j2ee/cluster/server0/defaultTrace.*.trc

so i was only able to go till  /usr/sap<SID>/DVEBMGS../.

Is there any Transaction code in sap which will give the details trace  ?

Regard's,

Dakshaini.

Former Member
0 Kudos

Hi,

That is strange. Are you sure its a dual stack system? Dual stack should be having the j2ee directory as in mentioned folder.

Regards,

Srikishan

Former Member
0 Kudos

Yes Srikishan, either it is strange or it is a single stack system.

I feel this a single stack system or somebody has deleted j2ee folder itself.

@Dakshaini

Can you find profiles with  SCS<nn> in your profile directory?

or check in T code SM51 --> in message type you shold able to see J2EE, if your system is dual stack.

Dialog Batch Update Upd2 Spool Enqueue ICM J2EE

Thanks,

Vishal

Former Member
0 Kudos

Hi,

There is no SCS<nn> file or folder but there are few scs.lst files in kernel patchs and other directories.

I executed the Tcode SM51 and in message  type  following discription was there :

" Dialog Batch Update Upd2 Spool Enqueue ICM "

See there are few questions arises ?

1.  If lets  say the system is single stack, Then how come i am able to see

     Tcode SMICM-> Administration->ICM

                                                          J2EE Instance ( Local )

                                                          J2EE Cluster (Global)

and these options are active. and all the options within them for  shutdown and restart are also active (Means ther are not gray in color).

2.) 

when i see the trace file in SMICM -> goto-> HTTP Server-> Displya Data ->

ABAP Server operational        = TRUE

J2EE Server configured         = FALSE

J2EE HTTP port                 =

J2EE HTTPS port                =

J2EE Server operational        = FALSE

Default root access handler    = ABAP

URL Prefix Table loaded        = TRUE

following report is displayed .

3) In previous disscussion  with Help of Srikishan i was able to active the  VM.

    and when i executed the Tcode SM53 Vm monitor opend and there are many java stuff in

     it like pakages , Jco , awt , etc.

4) and the last one when i executed the SAP standard program      RSVMCRT_HEALTH_CHECK.

    it gave me following message with green Light.

The Java component is activated

Call from ABAP to Java made successfully

Call from Java to ABAP made successfully

Java runtime services tested successfully

------------------------------------------------------------------------------------------------------------------

See i was not there during implimentation of this system.

Does above 4 points depicts that it is a dual stack or not ?

If yes , suppose it is a dual stack, and as u people are gussing that somebody might have deleted the j2ee cluster then how will i come to know any trace file .?

Actually i am totally confused . Please guide me though this.

Regar's,

Dakshaini.

Former Member
0 Kudos

Hi,

There is no SCS<nn> file or folder but there are few scs.lst files in kernel patchs and other directories.

I executed the Tcode SM51 and in message  type  following discription was there :

" Dialog Batch Update Upd2 Spool Enqueue ICM "

See there are few questions arises ?

1.  If lets  say the system is single stack, Then how come i am able to see

     Tcode SMICM-> Administration->ICM

                                                          J2EE Instance ( Local )

                                                          J2EE Cluster (Global)

and these options are active. and all the options within them for  shutdown and restart are also active (Means ther are not gray in color).

2.) 

when i see the trace file in SMICM -> goto-> HTTP Server-> Displya Data ->

ABAP Server operational        = TRUE

J2EE Server configured         = FALSE

J2EE HTTP port                 =

J2EE HTTPS port                =

J2EE Server operational        = FALSE

Default root access handler    = ABAP

URL Prefix Table loaded        = TRUE

following report is displayed .

3) In previous disscussion  with Help of Srikishan i was able to active the  VM.

    and when i executed the Tcode SM53 Vm monitor opend and there are many java stuff in

     it like pakages , Jco , awt , etc.

4) and the last one when i executed the SAP standard program      RSVMCRT_HEALTH_CHECK.

    it gave me following message with green Light.

The Java component is activated

Call from ABAP to Java made successfully

Call from Java to ABAP made successfully

Java runtime services tested successfully

------------------------------------------------------------------------------------------------------------------

See i was not there during implimentation of this system.

Does above 4 points depicts that it is a dual stack or not ?

If yes , suppose it is a dual stack, and as u people are gussing that somebody might have deleted the j2ee cluster then how will i come to know any trace file .?

Actually i am totally confused . Please guide me though this.

Regar's,

Dakshaini.

Former Member
0 Kudos

Hi,

I think it can be concluded that your system is not a dual stack

1. The J2EE options in SMICM are visible on a single stack ABAP system also. The fact that no info for J2EE is being shown confirms the Java stack does not exists

2. As you see clearly that SMICM shows J2EE server is not configured - this is correct for single stack ABAP system

3. The VM as of newer Netweaver releases is a part of SAP_AP component. This component although an ABAP component renders VM capabilities with in-built related Java functionalities.

It would be highly unlikely if someone has deleted the j2ee folder - because deletion would not be possible while system is up and as the files will be in use. Also deleting like this would render the entire system inconsistent.

Regards,

Srikishan

Former Member
0 Kudos

Hi Dakshaini,

You will see the options which you are talking in Pure ABAP system.

If you goto SMICM --> J2ee Instance --> Display Status

If You have following things:-

1) Status of AS Java: Initial

2) rdisp/j2ee_start = 0

Then it is a ABAP system only.

Thanks,

Vishal

Former Member
0 Kudos

Hi,

Now Things got cleared . Thanks a lot for all this.

Can i make it a dual stack or  is there any way that i can write my java program and connect it with abap AS.

because i am having Sap Netweaver developer studio.

Former Member
0 Kudos

Hi,

What is the SAP Product ABAP version you are using?

As of Netweaver 7.0 SR3, Java add-in installation to an existing pure ABAP system is not possible. You would need to install a Netweaver AS Java system and create relevant communication channels between the two systems. The communication channel usually are JCO RFCs but that depends on the application usage.

Regards,

Srikishan

Former Member
0 Kudos

Instead of adding java addon to existing ECC system, I would recommend you to install EP on separate host and perform java development on it.

Cheers,

Vishal

Former Member
0 Kudos

Hi,

I think installing  EP on seperate host would be better without disturbing the  original abap AS.

Can u give me the link to install it, does it have any lisence issues .

Former Member
0 Kudos

Hi,

Check http://service.sap.com/instguides -> Netweaver for your respective OS/DB combination

Seperate license is to be requested from http://service.sap.com/licensekey.

Regards,

Srikishan

Former Member
0 Kudos

For installing EP 7.0

Please find the guide:-

https://websmp208.sap-ag.de/~sapidb/011000358700000416812008E.pdf

About the licenseing, I don't think there would be any problem for EP.

just to be sure ask your IT manager  or ask SAP.

Cheers,

Vishal

Answers (1)

Answers (1)

former_member192421
Active Participant
0 Kudos

Hi Dakshaini,

The ideal way to start dual stack sytem is as follows.

1. Database instance

2. ERS instance for SCS & ASCS

3. SCS instance

4. ASCS instance

5. Central instance

6. Dialog instances

The above will start both ABAP & Java.

SMICM can be used to start & shutdown Java stack of an integrated system.

Remember: ABAP dispatcher controls the Java instances in dual stack system.

To Stop Java stack

SMICM--> Administration--> Send soft/hard shutdown--> without Restart

To Restart java stack

SMICM--> Administration--> Send soft/hard shutdown--> with Restart

Regards,

Rajkumar