cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to "Deploy and Run" the first WebDynpro application

Former Member
0 Kudos

After succesfully deployment and running of the "Calculator" example (so the J2EE and SDM are working correctly), I tried to deploy the first WebDynpro application. My own developed WebDynpro didn't work so I tried it with the download of the solution of the example "WelcomeApp".

In the Internet browser (which starts http://perfect-1152:50000/webdynpro/dispatcher/local/Welcome/WelcomeApp) I get the following error:

"404 Not Found

The requested resource does not exist.

Details: Go to Main page of this site!"

When I go to the Main page I get the same error.

Any suggestions?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Gerrit,

I had exactly the same problem when I installed the whole package on my notebook. I worked with it for a while and everything seemed working properly. But when it came to the webdynpro - I couldn't get it working. So I decided to install it on a more powerfull computer and now, I develop on my notebook and run and deploy to the remote machine. Give it a try.

Steffen

Former Member
0 Kudos

Hi Gerrit,

sometimes it also helps to shut down the server and restart it in the SAP Management Console. Give it additional 2-3 minutes after all processes are started so that the server can load all necessary applications and services. Then try again to deploy and run the Web Dynpro application.

Cheers

Ivo

Former Member
0 Kudos

Hi Steffen,

I did that. Plugged in another 512 Mb memory (now total 768 Mb). Reinstalled everything, but I still get the same result. The Calculator works. The Welcome Webdynpro gives the (new) error:

503 Service Unavailable

SAP J2EE Engine/6.30

Application stopped!

Details: You have requested an application that is not currently available. Please try again later.

Anyone any other ideas?

Gerrit

Former Member
0 Kudos

Hi Ivo,

I did that, (After I plugged in another 512 Mb memory (now total 768 Mb, reinstalled everything) but I still get the same result. The Calculator works. The Welcome Webdynpro gives the (new) error:

503 Service Unavailable

SAP J2EE Engine/6.30

Application stopped!

Details: You have requested an application that is not currently available. Please try again later.

Anyone any other ideas?

Gerrit

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Gerrit,

wow, you started with 256 MB? I wonder that it even started...

Please check if your other system properties are right. You can find them either on CD or at the download site. If your system is apropriate, then you have to start using the admin to find out what is wrong here. You can start it with a go.bat file that is available in the usr/sap/.../admin directory.

On help.sap.com is a complete manual of the server.

It seems that youe server does not come up completely and this is usually the case if the system has not enough ressources.

Regards,

Benny

Former Member
0 Kudos

Hi Benny,

After checking it seems to me that the "Web Container Service" is not running. At the help.sap.com I can't find a description on how I can start this service and it isn't clear to me what could be wrong.

In the help it also says that you could use ADD SERVLET_JSP in the shell environment for administrating the Web Container, but this command gives me the following error:

"There aren't commands from SERVLET_JSP group in the CommandContext"

As far as I can check all the system requirements are fullfilled.

Any help is welcome.

Thanks,

Gerrit

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Gerrit,

first of all, let's get straight which tools we wilol use. Please try visual Adfmin, as the console is a bit more complicated and an "expert tool". How did you find out the service is not running?

In the Admin, this would only be a click on the start button of the service.

Could you try this?

Another question will be why it does not run...

Regards,

Benny

Former Member
0 Kudos

Hi Benny,

I found out that the webcontainer wasn't running (not not correctly) because when I get an error (503 Application isn't running) when I call http://localhost:50000/ and in the help it says that web you get an error on this page that the webcontainer service isn't running correctly.

As I understand the help the Webcontainer Service is responsible for the compiling of the JSP files and I think that's why the J2EE examples are running and the Webdynpro Examples are not.

In the Visual Admin under services it looks like that the WebContainer Service is running (no red cross for the service), but in the monitoring service you can't see the service for the webcontainer (so probally it isn't working properly). I even tried stopping and starting the Webcontainer service, but I still get the error on the J2EE homepage http://localhost:50000/

Regards,

Gerrit

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Gerrit,

well, your complete webserver is not running, because the pages that you should see there are just html. Because of this, you have first to check for the HTTP provider. Is this one running?

And if so, please next check same service in the dispatcher. There you should see that http uses port 50000.

Regards,

Benny

Former Member
0 Kudos

Hi Gerrit,

There is another possibility that may cause your problem. The Web Container Service may be running but you are still not able to call your application because it is not started. So, if you see that Web Container Service is running in the Visual Administrator, that must be true

I suggest that you go to the Runtime tab of the Deploy Service (again in the Visual Administrator) and check if the application you request is running (if the application is stopped, you'll see it red-crossed). In case it is stopped, use the Start Application button to start it, and then call it again.

Regards,

Ivaylo

Former Member
0 Kudos

Hi Benny,

just a comment on your previous post.

When you request the host via http://hostname:50000, practically you request the default SAP J2EE Engine web application (not a plain html page). This application is mapped to the "/" URL pattern and is always displayed when you request the host only (no application context root or so).

So, if you do not see this application on the screen when you request your host, and the Web Container Service is running, you can check if the application is running!

Regards,

Ivaylo

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

You mean it deployed, but didn't run?

That's strange...

Did it reylla come back with deployment ready?

If so, you should check with visual Admin if it is there. Start with deployment service and check there if the app is running.

REegards,

Benny

Former Member
0 Kudos

Hi Benny,

it has been deployed (or so it seems). It came back with this message in the "message line" in Eclipse, not like the deployment of the Calculator which gave the succesful output in a pop-up Window.

How can I check it in the "visual Admin". What is the "visual Admin"? How do I start this?

How can I check in the file system if the deploy was succesful?

Thanks,

Gerrit

Former Member
0 Kudos

u00A0u00A0Hi Gerrit,

u00A0u00A0u00A0u00A0You can find the Visual Admin at C:usrsapC11JC00j2eeadmingo.bat

u00A0u00A0u00A0assuming C: is the installation drive.

.V