cancel
Showing results for 
Search instead for 
Did you mean: 

Can't start J2EE Calculator after Deploying (NDS 2.0.4)

Former Member
0 Kudos

Hello,

after deploying the J2EE-Calculator Tutorial from my NDS to the local J2EE Server, i can't start it in the Browser.

J2EE is unable to find the JSP-File.

( The requested resource /Calculator/Calculator.jsp is not available)

It seems that NDS deploys to I:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\CalcualatorEar\servlet_jsp\myCalculator\rootbut J2EE expects the files at I:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root.

So where can i set the properties, that this example works.

Any hint?

Thanks,

Frank

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

I am using SAP XI 3.0 SP5 running under Linux.

I am using the DeployTool to deploy in the SAP J2EE Server a WAR file.

After deploying the Web App from my NDS to the J2EE Server, can't start it in the Browser.

J2EE is unable to find the JSP-File.

( The requested resource /iwae/index.jsp is not available)

It seems that NDS deploys to

\cluster\server\apps\sap.com\iwae\servlet_jsp\iwar\root

but J2EE expects the files at

\cluster\server\apps\sap.com\com.sap.engine.docs.example\servlet_jsp\_default\root

How to fix this?

I did everything, reboot the Linux Box, SAP XI, made no manuel change when deploying the WAR in the DeployTool...

Need help!

Former Member
0 Kudos

Yes, it is not the best solution to reboot the system when somthing goes wrong, the questions about the problem still unanswered.

It would be interesting to know what happened with frank Winkler Calculator.

Maybe something about the services that were running?

Former Member
0 Kudos

I had the same problem, i did everything like it was specified in the tutorial, but when I open the browser with the URL: http://localhost:50000/Calculator/Calculator.jsp

it gave me an error, but when i restarted my machine, voila! it worked!

Did you try that?

Former Member
0 Kudos

Hello,

seems it works now, but strange why the J2EE Engine looks at the wrong place in the filesystem, and rebooting the computer will fix this..

Thanks, Frank

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Frank,

can you tell me if you did install anything else before that Calculator project. Especially my idea is about the standard exanmples that can be found on the startpage of the server that is available via localhhost:50000.

Did you play around with those?

Regards,

Benny

Former Member
0 Kudos

Hello Benny,

I am having the same problem on my computer and restarting it does not solve the problem? Do you know how can I fix it?

Best Regards,

Dmitriy Mindich

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Did you see my last question on that thread?

Please answer that one, Then I me be able to help.

Regards,

Benny

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Don't care too much for this, as Server and deployment handle these things differently.

Like a webserver (which you actually using here) this system handles a real path and a logical path that it maps too.

If you manipulated somewhere in the project then there may come up a problem. Did you try to deploy the project as is?

Regards,

Benny

Former Member
0 Kudos

Hello Benny,

i just tried like explained in the tutorial, didn't work..

Then i loaded the downloaded the zip, imported it and voila, the same result.

I didn't change anything, and i installed nds 'out of the box', without changing any of the default settings.

Thanks in advance, Frank.

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

I have an idea for this, but need to try out next week in the office.

Please stand by until then...

Regards,

Benny