|
Home > Archive > WebSphere Application Server > August 2007 > web applications are deployed, but i get this Error
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
web applications are deployed, but i get this Error
|
|
|
|
Hi,
i deployed a war file(myApplication.war), which work on the tomcat properly
to the Websphere 6.1 using the admin tool.
In the admin tool i start my application. It seems
every thing run ok. But when i try to access the service
in the browser
i become Error: Error 404: No target servlet configured for uri: /myApplication/
??
I cant even run the samples coming with the Websphere installations
(DefaultApplication, query, SampleGallery, PlantsByWebSphere...)
although they are shown in the admin tool as deployed and started!!!!
thanks for your hint
| |
| Ken Hygh 2007-08-14, 7:20 pm |
| mpas1342@yahoo.de wrote:
> Hi,
> i deployed a war file(myApplication.war), which work on the tomcat properly
> to the Websphere 6.1 using the admin tool.
> In the admin tool i start my application. It seems
> every thing run ok. But when i try to access the service
> in the browser
> i become Error: Error 404: No target servlet configured for uri: /myApplication/
> ??
> I cant even run the samples coming with the Websphere installations
> (DefaultApplication, query, SampleGallery, PlantsByWebSphere...)
> although they are shown in the admin tool as deployed and started!!!!
>
> thanks for your hint
>
what's the context-root for your application?
Ken
| |
| Juanma Martinez 2007-08-14, 7:20 pm |
| mpas1342@yahoo.de wrote:
> Hi,
> I cant even run the samples coming with the Websphere installations
> (DefaultApplication, query, SampleGallery, PlantsByWebSphere...)
> although they are shown in the admin tool as deployed and started!!!!
>
> thanks for your hint
>
Why? How are you trying to run them? Which URL are you trying to access?
What is your platform? You might need to provide some more info to get
some hints.
| |
|
|
> How are your accessing your application? Directly
> through the App Server or through Web Server?
I ?think? i am accessing through the application server.
I did not thought about that, because i work with
sun app. Server where you deploy direct to the
application server.
I tried now in the admin console to install a
web server. I become an error:
No connection to the administrative server could be made by IBM HTTP server on the threadNode01/TestWebserver.
(Sorry, i translate the error myself because my server version is a German one
)
???
regard
| |
| Ken Hygh 2007-08-15, 7:21 am |
| mpas1342@yahoo.de wrote:
>
> I ?think? i am accessing through the application server.
> I did not thought about that, because i work with
> sun app. Server where you deploy direct to the
> application server.
>
> I tried now in the admin console to install a
> web server. I become an error:
> No connection to the administrative server could be made by IBM HTTP server on the threadNode01/TestWebserver.
> (Sorry, i translate the error myself because my server version is a German one
> )
>
> ???
> regard
We really need the answers to Juanma's questions before we can help you.
Ken
| |
| Juanma Martinez 2007-08-15, 7:21 am |
| mpas1342@yahoo.de wrote:
>
> I ?think? i am accessing through the application server.
> I did not thought about that, because i work with
> sun app. Server where you deploy direct to the
> application server.
>
You can access it through the App server or the web server (if you have
it installed and configured) but if you do the latter you need to
regenerate the plugin file so they both are aware of the new application
installed.
For the AppServeraccess you should be using something like
http;//servername:9080/yourappname
(where 9080 might vary depending on your installtion, 9080 is the
default port).
| |
|
| My platform Windows XP with sp2,
The context of my application: myApplication
The application server version: Websphere 6.1
i access the application like http://localhost:9080/myApplication/index.jsp
(or http://PC1:9080/myApplication/index.jsp)
This application is a war file and it runs in the tomcat properly
The content of it is a spring web project
?
it seems there is every thing ok, the problem is even
the samples coming with the application server
(DefaultApplication, query, SampleGallery, PlantsByWebSphere...)
cant be run although they are shown as deployed and started in the admin console.
There should be some thing else to be configured at the server??
The other problem, which maybe is connected together with
that and let to understand what causes this problem ist, i can define a
?web server? in the console , but when i try to start
the web server i become an error in the console (see my last posting)
regard
| |
| Juanma Martinez 2007-08-15, 7:22 pm |
| mpas1342@yahoo.de wrote:
> My platform Windows XP with sp2,
> The context of my application: myApplication
> The application server version: Websphere 6.1
> i access the application like http://localhost:9080/myApplication/index.jsp
> (or http://PC1:9080/myApplication/index.jsp)
> This application is a war file and it runs in the tomcat properly
> The content of it is a spring web project
> ?
> it seems there is every thing ok, the problem is even
> the samples coming with the application server
> (DefaultApplication, query, SampleGallery, PlantsByWebSphere...)
> cant be run although they are shown as deployed and started in the admin console.
> There should be some thing else to be configured at the server??
> The other problem, which maybe is connected together with
> that and let to understand what causes this problem ist, i can define a
> ?web server? in the console , but when i try to start
> the web server i become an error in the console (see my last posting)
> regard
>
Is 9080 really the port where WAS is started? NETSTAT -A might help you
confirm it.
And again, how are you trying to run the samples? From the Windows
icons? From URLs? (if so, which)?
| |
| Paul Ilechko 2007-08-15, 7:22 pm |
| mpas1342@yahoo.de wrote:
> My platform Windows XP with sp2,
> The context of my application: myApplication
> The application server version: Websphere 6.1
> i access the application like http://localhost:9080/myApplication/index.jsp
> (or http://PC1:9080/myApplication/index.jsp)
> This application is a war file and it runs in the tomcat properly
> The content of it is a spring web project
> ?
> it seems there is every thing ok, the problem is even
> the samples coming with the application server
> (DefaultApplication, query, SampleGallery, PlantsByWebSphere...)
> cant be run although they are shown as deployed and started in the admin console.
You're probably using the wrong URL, but you're not doing a very good
job so far at being specific about exactly what you are doing.
> There should be some thing else to be configured at the server??
> The other problem, which maybe is connected together with
> that and let to understand what causes this problem ist, i can define a
> ?web server? in the console , but when i try to start
> the web server i become an error in the console (see my last posting)
> regard
Did you ever actually install and configure a web server? You can't do
that from the WAS admin console ...
|
|
|
|
|