This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Websphere and the fly likes Issue with WAS 6.0/RAD 7.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Issue with WAS 6.0/RAD 7.0" Watch "Issue with WAS 6.0/RAD 7.0" New topic

Issue with WAS 6.0/RAD 7.0

kalpna sharma

Joined: Apr 08, 2004
Posts: 5
I have installed Rad7.o and migrated old appplicxation from RAD6.0/WAS 5.1 to Rad7.0/WAS6.0. While starting the server, it complains about foward slash "/" in front of WEB_INF in WEBContent/WEB_INF/web.xml file.

Below is excerpt from stack trace-

ActionServlet E org.apache.struts.action.ActionServlet handleConfigException Parsing error processing resource path

And, If I remove "/" from web.xml and set custom property(prependSlashToResource and its value = �true�) through admin console then also it through exception-

00a WebApp W SRVE0238E: Resource paths should have a leading slash
[2/4/08 12:26:03:148 PST] 0000000a Digester E org.apache.struts.config.ActionMappingFactory createObject ActionMappingFactory.createObject:
java.lang.ClassNotFoundException: com.sbc.swot.arch.client.mvc.action.SwotActionMapping
at java.lang.ClassLoader.loadClass(
at org.apache.struts.util.RequestUtils.applicationClass(
at org.apache.struts.util.RequestUtils.applicationInstance(
at org.apache.struts.config.ActionMappingFactory.createObject(
at org.apache.commons.digester.FactoryCreateRule.begin(
at org.apache.commons.digester.Digester.startElement(
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(
at org.apache.struts.action.ActionServlet.initModuleConfig(
at org.apache.struts.action.ActionServlet.init(
at javax.servlet.GenericServlet.init(

Earlier with WAS 5.1 it was working good without forward slash to WEB_INF instances.

Any help will be appreciated.
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 984

When you say "forward slash" are you refering to an entry in web.xml?

Please ignore post, I have no idea what I am talking about.
vamsheedhar devarishati

Joined: Feb 19, 2008
Posts: 25
Do not Delete slash.

You are adding that property to ignore this Check.Just add this property and bounce the server to pick up the change.

Refer the following link for more info.

SCJP, WAS6.0, Sun webservices, IBM ILOG JRules 7.0 Certified
It is sorta covered in the JavaRanch Style Guide.
subject: Issue with WAS 6.0/RAD 7.0
Similar Threads
My Webspere contains so many errors how to resolve it
My Webspere contains so many errors how to resolve it
action.ActionServlet Parsing error processing resource path
Migrating to Websphere app server 7 and RAD 7.5 from WSAD
Deployment Issue