This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes FileNotFound Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "FileNotFound Exception " Watch "FileNotFound Exception " New topic

FileNotFound Exception

Suresh Gopi
Ranch Hand

Joined: Mar 08, 2007
Posts: 49
Hello Friends,

I'm getting the following exception when i try to access my web application.

It has been working fine without any problem today i just modified one of the jsp (added new javascript function) and rebuilt the war and deployed it. I didn't get any error during deployment.

Even i reverted my recent changes and rebuilt it even after that it is not working.

What could be the problem?

Your inputs will be highly appreciated.Thanks in Advance.

Env Info:
BEA weblogic 8.1 SP5 :: Struts 1.2.x :: JDk 1.4.2

Please let me know if any other information is required.

Note: I didn't change anything in my struts-config.xml

21 Jul 2008 17:57:50,777 ERROR ExecuteThread: '2' for queue: 'weblogic.kernel.System' org.apache.struts.action.ActionServlet org.apache.struts.action.ActionServlet.handleConfigException( Parsing error processing resource path Response: '400: Bad Request' for url: ''
at weblogic.apache.xerces.impl.XMLEntityManager.startEntity(
at weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(
at weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(
at weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(
at weblogic.apache.xerces.parsers.XMLParser.parse(
at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(
at weblogic.xml.jaxp.WebLogicXMLReader.parse(
at weblogic.xml.jaxp.RegistryXMLReader.parse(
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(
at com.jnjvision.acuminderEcp.servlets.InitServlet.init(
at weblogic.servlet.internal.ServletStubImpl$
at weblogic.servlet.internal.ServletStubImpl.createServlet(
at weblogic.servlet.internal.ServletStubImpl.createInstances(
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(
at weblogic.servlet.internal.WebAppServletContext.preloadResources(
at weblogic.servlet.internal.WebAppServletContext.setStarted(
at weblogic.servlet.internal.WebAppModule.start(
at weblogic.j2ee.J2EEApplicationContainer.start(
at weblogic.j2ee.J2EEApplicationContainer.activate(
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(
at weblogic.kernel.ExecuteThread.execute(
21 Jul 2008 17:57:51,489 ERROR ExecuteThread: '2' for queue: 'weblogic.kernel.System'

Regards<br />Suresh
Ali Al Ali

Joined: Dec 29, 2007
Posts: 18
Dear Suresh,

Sometimes you face this problem because your IDE doesn't deploy well and you don't get the final work to be deployed, then you think that everything is working fine, but actually the result is comming from the previous work.

In other cases you fase this problem for no reason, in this case close the IDE or even you may restart the PC and you will find the result that you needed.

This is according to my experience, so if you have anything else then it will be good from you to tell me.

SCJP 1.4, SCWCD 1.4
Suresh Gopi
Ranch Hand

Joined: Mar 08, 2007
Posts: 49
Thanks a lot for your time Hadid.

Actually its working fine in my local machine but in QA environment i'm facing this problem. I'm not using IDE's auto deploy feature it QA env. I (manually) use admin console to stop and redeploy my web application.

Do you mean that war is not properly built? I tried to build 2 to 3 times..
Same set of files (war content) were working fine earlier.

(note: same version of server is being used in Development (Local) & QA env)
Suresh Gopi
Ranch Hand

Joined: Mar 08, 2007
Posts: 49
Problem solved now. Thanks Hadid.

Now this time i manually deleted the war and classes folder and rebuilt the WAR again.. (Earlier i used 'ant clean' to do this task)
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63873

"Suresh", please check your private messages for an important administrative matter.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: FileNotFound Exception
It's not a secret anymore!