Solved

even through wars are deployed correctly in th ear ;but not able to access second war .

Posted on 2011-02-16
11
808 Views
Last Modified: 2013-12-11
we have 2 wars in a ear.even though ear is  deployed correctly ;but not able to access second war .i.we. WeatherWebContentWeb when i hit http://localhost:9080/WeatherWebContentWeb
getting below message 'The webpage cannot be found'

[2/16/11 20:56:52:498 IST] 0000003b WebGroup      A   SRVE0169I: Loading Web Module: WeatherWeb.
[2/16/11 20:56:52:451 IST] 0000003b VirtualHost   I   SRVE0250I: Web Module WeatherWeb has been bound to default_host[*:9080,*:80,*:9443,*:5060,*:5061,*:443].
[2/16/11 20:56:52:498 IST] 0000003b WebGroup      A   SRVE0169I: Loading Web Module: WeatherWebContentWeb.
[2/16/11 20:56:52:529 IST] 0000003b VirtualHost   I   SRVE0250I: Web Module WeatherWebContentWeb has been bound to default_host[*:9080,*:80,*:9443,*:5060,*:5061,*:443].
[2/16/11 20:56:52:529 IST] 0000003b ApplicationMg A   WSVR0221I: Application started: Weather
0
Comment
Question by:chaitu chaitu
11 Comments
 
LVL 20

Author Comment

by:chaitu chaitu
Comment Utility
am getting this error.how to resolve this?

A WebGroup/Virtual Host to handle /WeatherWebContentWeb has not been defined.
0
 

Expert Comment

by:RishiBang
Comment Utility
Hi chaituu,

You can check the following things

1) The Application deployed correctly. I mean all configuration dependencies are satisfied (Datasources, Security etc.,)
2) After starting the server take a look at the end of SystemOut.log to check for the message "Application XYZ Started successfully"

Attach the error logs if you can.

Thanks,
Rishi
0
 
LVL 20

Author Comment

by:chaitu chaitu
Comment Utility
please ignore my last comment.
see my application.xml

  <display-name>Weather</display-name>
  <module>
    <web>
      <web-uri>WeatherWeb.war</web-uri>
      <context-root>/WeatherWeb</context-root>
    </web>
  </module>
  <module>
    <web>
      <web-uri>WeatherWebContentWeb .war</web-uri>
      <context-root>/WeatherWebContentWeb </context-root>
    </web>
  </module>
</application>

when i access http://localhost:9080/WeatherWeb its coming.
http://localhost:9080/WeatherWebContentWeb not coming.

if i see my first comment application has started sucessfully

Application started: Weather

0
 
LVL 20

Author Comment

by:chaitu chaitu
Comment Utility
strange.

we have only static content(js files,images ,css,some html files etc..) in WeatherWebContentWeb  war.

i have created sample test.jsp and placed in WeatherWebContentWeb  and accessed
http://localhost:9080/WeatherWebContentWeb/index.jsp then page is coming but when i try to acess some gif file that is placed in the same context and same folder http://localhost:9080/WeatherWebContentWeb/cardt.gif its not coming.....
0
 
LVL 1

Expert Comment

by:gavin_si
Comment Utility
Hi,

Have you tried regenerating with web server plug-ins from the admin console?

Gavin
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 20

Author Comment

by:chaitu chaitu
Comment Utility
plugin-cfg.xml

      below contents were there in above xml file;

      <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/WeatherWebContentWeb/*.jsp"/>
      <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/WeatherWebContentWeb/*.jsv"/>
      <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/WeatherWebContentWeb/*.jsw"/>
      <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/WeatherWebContentWeb/j_security_check"/>
      <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/WeatherWebContentWeb/ibm_security_logout"/>
      <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/WeatherWebContentWeb/servlet/*">

will this issue resolved if i add like this;after adding if i try to regenerating with web server plug-ins from the admin console then old xml file is again coming back..


<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/WeatherWebContentWeb/*">
0
 
LVL 1

Expert Comment

by:gavin_si
Comment Utility

I dont think so. You should never have to alter the plug-ins file by hand.

Do you get a 404 or a 500 error?

0
 
LVL 20

Author Comment

by:chaitu chaitu
Comment Utility
i am getting HTTP 404 not found error.

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rweb_jspengine.html

as per above link i have even changed like this in the ibm-web-ext.xmi in WeatherContentWeb.war/WEB-INF folder but still problem persists.

<?xml version="1.0" encoding="UTF-8"?>
<com.ibm.ejs.models.base.extensions.webappext:WebAppExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:com.ibm.ejs.models.base.extensions.webappext="webappext.xmi" xmi:id="WebAppExtension_1" reloadInterval="3" reloadingEnabled="true" additionalClassPath="" fileServingEnabled="true" directoryBrowsingEnabled="false" serveServletsByClassnameEnabled="true">
  <webApp href="WEB-INF/web.xml#WebApp_1297856567155"/>
   <fileServingAttributes xmi:id="FileServingAttribute_1297856567155" name="extendedDocumentRoot"
       value="D:/MYCA/RAD75/SDP/runtimes/base_v61/profiles/was61profile1/installedApps/pc120686Node01Cell/Weather.ear/WeatherContentWeb.war"/>
  <jspAttributes xmi:id="JSPAttribute_1297856567155" name="reloadEnabled" value="true"/>
</com.ibm.ejs.models.base.extensions.webappext:WebAppExtension>
0
 
LVL 11

Expert Comment

by:Radek Baranowski
Comment Utility
you might want to check this:

http://www.ibm.com/developerworks/websphere/techjournal/0211_brown/brown.html

was is a bit cllumsy when it comes to static content. see the article.
0
 
LVL 20

Accepted Solution

by:
chaitu chaitu earned 0 total points
Comment Utility
above solutions not worked...

need enable ServingEnabled="true" in the below file has done the trick.

config\cells\pc120686Node01Cell\applications\Weather.ear\deployments\Weather\WeatherContentWeb.war\WEB-INF\ibm-web-ext.xmi
0
 
LVL 20

Author Closing Comment

by:chaitu chaitu
Comment Utility
none of the above comments  not worked.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video discusses moving either the default database or any database to a new volume.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now