cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Netweaver 7.0 Java on SUSE Linux VMWare

Former Member
0 Kudos

Hi All,

I installed SAP Netweaver 7.0 Java on Linux VMWare Trial Version. When i open the VM player with the image, SAP NetWeaver7.0-Java-VMware-TrialCTB, the j2ee server starts for 15 min and then stops.

When i click the link

http://ivml2005/

I am able to see the page.

I am able to login to portal and vc for 15min. But

But when i click visual administrator. It says opening error.

cannot find file://ivml2005/mnt/admintools/go.bat

But when i click SDM. It says opening error.

cannot find file://ivml2005/mnt/admintools/sdm.bat

I read this thread -

http://forums.sdn.sap.com/thread.jspa?messageID=10105074&#10105074

But i am unable to find this configuration file and the parameter. Can any one please help me out in this error. How shall i set this parameter.

Thanks,

Divya

Edited by: Divya V on Mar 20, 2011 11:01 AM

Edited by: Divya V on Mar 20, 2011 4:28 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Pleasee help to resolve this error.

Edited by: Divya V on Mar 21, 2011 8:27 AM

Former Member
0 Kudos

Do you have the license for your java engine installed? If not, it will shutdown automatically...

Check the contents of dev_server0

Kind regards,

Mark

Former Member
0 Kudos

Hi Mark,

I have the new license. But i am unable to open Visual Administrator.

When i click VM from Windows, i get the error

cannot find file://ivml2005/mnt/admintools/go.bat

When i click VM from Linux, i get the error,

java_home environment variable not set.

Inside terminal i wrote the commands like

export PLATIN_JAVA=/usr/java/j2sdk1.4.2_09/jre/bin/java

export PLUGIN_HOME=/usr/java/j2sdk1.4.2_09/jre/plugin

export JAVA_HOME=/usr/java/j2sdk1.4.2_09/jre

export PATH=$JAVA_HOME/bin:$PATH

jdk is installed under /usr/java.

After setting when i type the command

echo $JAVA_HOME

I get the output

/usr/java/j2sdk1.4.2_09/

But when i restart the system, echo $JAVA_HOME produces no output

Still l i am unable to open the Visual Administrator.

Could you please guide me through the correct steps to set the environment variables. Is there some configuration to be set?

Please help to resolve this issue....

Thanks,

Divya

former_member266290
Participant
0 Kudos

Hi

The environment variables set by are valid for that login session only.

To make them permanent edit the profile files and add the environment variable.

Regards

Vijay

Former Member
0 Kudos

Hi Vijay,

Could you please explain me the procedure.

I tried using the command to edit the profile.

vi /etc/profile

and entered the

export JAVA_HOME=/usr/java/jdk1.5.0_07

export PATH=$JAVA_HOME/bin:$PATH

But how shall i save the file. I dont think it is accepting the changes. next time when i login

echo $JAVA_HOME is not showing the output.

Could you please suggest me with the correct procedure to edit the profile and save the profile file.

Thanks,

Divya

former_member266290
Participant
0 Kudos

hi

if you login as root, usually bash shell is used , so you have to edit

.bash_profile

file.

use export command to set environment variable in this file.

if you login as <SID>adm user, C shell is used, so you have to edit

.cshrc

file.

use setenv command to set variables in this file.

so login as <sid>adm and edit the .cshrc file.

Regards

Edited by: VijayIngle on Mar 22, 2011 1:34 PM

Former Member
0 Kudos

Hi Vijay,

I am logging in as root. I entered the command

vi bash_profile.

i was able to see an empty page. with a blue symbol.

I entered the export commands. How shall i save the file. When i press escape button, nothing is happening. How shall i save the file.

Please do help me in this.

Thanks,

Divya

Former Member
0 Kudos

Hi Divya,

#open the file

vi ~/.bash_profile #It will make environment variable to be available only when you logoff and login again.

#append the following variable in the end of the file.

export PLATIN_JAVA=/usr/java/j2sdk1.4.2_09/jre/bin/java

export PLUGIN_HOME=/usr/java/j2sdk1.4.2_09/jre/plugin

export JAVA_HOME=/usr/java/j2sdk1.4.2_09/jre

export PATH=$JAVA_HOME/bin:$PATH

#now save and close the file using

:wq and enter

now execute

. .~/.bash_profile #It will make the environment variables in the current session

echo $JAVA_HOME

it should show JAVA_HOME.

Regards

Sahil

former_member266290
Participant
0 Kudos

Hi

Note the . (dot) at the start of the file name.

No need to set the environment variable for root user.

Set the environment variable for <SID>adm user by as follows:

login as <SID>adm user.

Edit .cshrc file. ( note the dot at the start of the file name).

Set the environment variables using setenv command.

Enter the environment variables at the start of the file:

setenv PLATIN_JAVA /usr/java/j2sdk1.4.2_09/jre/bin/java

setenv PLUGIN_HOME /usr/java/j2sdk1.4.2_09/jre/plugin

setenv JAVA_HOME /usr/java/j2sdk1.4.2_09/jre

setenv PATH $JAVA_HOME/bin:$PATH

then save the file.

Hope it helps you

Former Member
0 Kudos

Thanks all for the help. Problem solved.

Thanks,

Divya

Former Member
0 Kudos

log on 'ctbadm'

Edited by: Bogdan Radziejowski on Jul 26, 2011 4:53 PM

Former Member
0 Kudos

I am also facing same problem - May I know how you resolved this issue?

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Divya,

Could you please tell me as to how you have solved this problem.

It feels very good once you have solved the problem, but some steps to guide the rest of us would be very appreacited.

Thanks,

Rajat

Former Member
0 Kudos

Pleasee help to resolve this error.

Edited by: Divya V on Mar 21, 2011 8:27 AM

Former Member
0 Kudos

Hi All,

I installed SAP Netweaver 7.0 Java on Linux VMWare Trial Version. When i open the VM player with the image, SAP NetWeaver7.0-Java-VMware-TrialCTB, the j2ee server starts for 15 min and then stops.

When i click the link

http://ivml2005/

I am able to see the page.

I am able to login to portal and vc for 15min. But

But when i click visual administrator. It says opening error.

cannot find file://ivml2005/mnt/admintools/go.bat

But when i click SDM. It says opening error.

cannot find file://ivml2005/mnt/admintools/sdm.bat

I read this thread -

http://forums.sdn.sap.com/thread.jspa?messageID=10105074&#10105074

But i am unable to find this configuration file and the parameter. Can any one please help me out in this error. How shall i set this parameter.

Thanks,

Divya