WebSphere Application Server - WAS 5.0 - My First Application

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > April 2005 > WAS 5.0 - My First Application





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 WAS 5.0 - My First Application

2005-04-11, 2:51 am

Hi,

I am trying to deploy my first application on WAS 5.0. I am not using Site Developer. Here's what I have (with directory structure):

helloWorld.ear /
- META-INF /
- ibm-application-ext.xmi (links to appliction.xml)
- ibm-application-bnd.xml (links to appliction.xml)
- METAFEST.MF
- was.policy
- application.xml (with context-root=/helloWorld, web-uri = hello.war)

- hello.war /
- WEB-INF /
- ibm-web-bnd.xmi (links to web.xml)
- ibm-web-ext.xmi (links to web.xml)
- web.xml
- hello.jsp
- hello.html


When I try to deploy this ear, I get an exception:
com.ibm.etools.archive.exception.NoModuleFileException: A file does not exist for module element having uri: hello.war
(more details about the stack)


What file am I missing?

Also, I tried out another route... I have hello.war and tried to deploy this war directly (web module). I specified the context-root as "/helloWorld".

When I try to access "/helloWorld", it gives a 404 error:

Error 404: No target servlet configured for uri: /helloWorld/


The admin panel shows the application deployed and running.

What am I missing?



Regards,
Gaurav


tosi

2005-04-19, 8:55 pm

1. your apps url will be yourhost/helloWorld/hello.html (or hello.jsp
depends on the app.).
2. you have to regen the plugin config file from console and restart the
http server .(if you are using it)

tosi.

<gaurav.vaish@gmail.com> wrote in message
news:1997818850.1113204260695.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> Hi,
>
> I am trying to deploy my first application on WAS 5.0. I am not using

Site Developer. Here's what I have (with directory structure):
>
> helloWorld.ear /
> - META-INF /
> - ibm-application-ext.xmi (links to appliction.xml)
> - ibm-application-bnd.xml (links to appliction.xml)
> - METAFEST.MF
> - was.policy
> - application.xml (with context-root=/helloWorld, web-uri =

hello.war)
>
> - hello.war /
> - WEB-INF /
> - ibm-web-bnd.xmi (links to web.xml)
> - ibm-web-ext.xmi (links to web.xml)
> - web.xml
> - hello.jsp
> - hello.html
>
>
> When I try to deploy this ear, I get an exception:
> com.ibm.etools.archive.exception.NoModuleFileException: A file does

not exist for module element having uri: hello.war
> (more details about the stack)
>
>
> What file am I missing?
>
> Also, I tried out another route... I have hello.war and tried to deploy

this war directly (web module). I specified the context-root as
"/helloWorld".
>
> When I try to access "/helloWorld", it gives a 404 error:
>
> Error 404: No target servlet configured for uri: /helloWorld/
>
>
> The admin panel shows the application deployed and running.
>
> What am I missing?
>
>
>
> Regards,
> Gaurav
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com