Avatar billede fredand Forsker
01. december 2007 - 23:18 Der er 1 kommentar og
1 løsning

How come I can not access my started tomcat from Eclipse

Hello!

I have followed the tutorial at:
http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html

But I cant get it right.
I use Eclipse IDE for Java EE Developers 3.3.1.1
I have tried to use Axis2 1.2 and 1.3, but no success!

I named my app to names2 at step 5, it says that I can choose any name.

At step 18 I just get:

HTTP Status 404 - /names2/
type Status report
message /names2/
description The requested resource (/names2/) is not available.
Apache Tomcat/6.0.14

The server says it is running, just like in the tutorial. But if a point to localhost:8080/names2
localhost:8080
192.168.0.195:8080/names2
192.168.0.195:8080
...I only got 404, also with webbrowser outside eclipse.

One thing that I do see that I miss is in the image at in step 7, there is a Deployment descriptor at second level in the project navigator.
I never got that one.

But If I select the project and choose Java EE > Generate Deployment descriptor stub... it then says that there is already a Deployment descriptor.

So if you guys got any input please let me know!

Bets regards
Fredrik
Avatar billede fredand Forsker
01. december 2007 - 23:34 #1
I guess there must be something wrong with the Deployment Description, because I could not maange to configure the next step for the client either. No wsdl to choose under project names2.

But it is also starnge that the webserver does not answer at localhost:8080
(Tomcat 6.0)

So if you got any input!
Best regards
Fredrik
Avatar billede fredand Forsker
02. december 2007 - 17:12 #2
I'm not done yet with this  tutorial.
But one error was that I did not set CATALINA_HOME.
Now I can start tomcat.
I think we close this one
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester