Hello,
I have tried struts application excecuting in Weblogic in which i created my own Domain, Whenever i start the server i m encountering the following error before deplyment. This is becoz of the ActionServlet may be.
<Error> <HTTP> <BEA-101216> <Servlet: "action" failed to preload on startup
in Web application: "XYZ".javax.servlet.ServletException:org/apache/commons/digester/RuleSet at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm pl.java:884) at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub Impl.java:848) at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI mpl.java:787) at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS ervletContext.java:3252) at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp ServletContext.java:3197) at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp pServletContext.java:3174) at
weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServl etContext.java:5647) at
weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869) at
weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer .java:2022) at
weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai ner.java:2063) at
weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
activateContainer(SlaveDeployer.java:2592) at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit( SlaveDeployer.java:2515) at
weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeplo yer.java:2317) at
weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(S laveDeployer.java:2399) at
weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDepl oyer.java:2311) at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S laveDeployer.java:2479) at
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla veDeployer.java:798) at
weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl oyer.java:507) at
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep loyer.java:465) at
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan dler.java:25) at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) > <Mar 21, 2006 5:18:59 PM IST> <Warning>
<HTTP> <BEA-101248> <[Application: 'C:\b ea8.1\user_projects\domains\mydomain\applications',
Module: 'servetexample']: De ployment descriptor "web.xml" is malformed. Check against the DTD:
org.xml.sax.S AXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'. ( line
2, column 10).> <Mar 21, 2006 5:19:04 PM IST> <Warning> <HTTP> <BEA-101248> <[null]: Deployment
descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseEx ception: cvc-
elt.1: Cannot find the declaration of element 'web-app'. (line 2, c olumn 10).>
=======================================================
Struts-config.xml, web.xml are perfectly alright.
Even i am able to execute same application In TOMCAT sucessfully.
Plz help me so that i can work it out with WEBLOGIC. I guess The RuleSet inetface has some problem.
Do reply me ASAP.
Thanks
-
Servlet: "action" failed to preload due to servlet exception wit (3 messages)
- Posted by: Prasad Dhamne
- Posted on: April 17 2006 02:56 EDT
Threaded Messages (3)
- Servlet: "action" failed to preload due to servlet exception wit by Bob Armour on April 20 2006 06:36 EDT
- Thanks for inputs but i resolved the issue.... by Prasad Dhamne on April 26 2006 02:34 EDT
- Thanks for inputs but i resolved the issue.... by Bob Armour on April 26 2006 05:24 EDT
-
Servlet: "action" failed to preload due to servlet exception wit[ Go to top ]
- Posted by: Bob Armour
- Posted on: April 20 2006 06:36 EDT
- in response to Prasad Dhamne
Prasad,
The digester doesn't like the web.xml file, so I'd be interested to know upon which facts you based your decision that it is 'perfectly alright'.
Maybe you could post the web.xml file, so that we can determine where the problem lies?
Bob -
Thanks for inputs but i resolved the issue....[ Go to top ]
- Posted by: Prasad Dhamne
- Posted on: April 26 2006 02:34 EDT
- in response to Prasad Dhamne
Thanks Bob for ur inputs,
After alot of R&D i found the solution for this.It cannot be called as solution becoz i uninstalled the WLS8.1.2 & reinstalled it. Afetr that i deployed the same application.. and surprizingly it worked..
I astonised, really i tried to dig in it but i didn't find any reason for that...
Whats ur words on it.
Regards,
Prasad -
Thanks for inputs but i resolved the issue....[ Go to top ]
- Posted by: Bob Armour
- Posted on: April 26 2006 05:24 EDT
- in response to Prasad Dhamne
I hate it when this kind of thing happens, because you never really know what went wrong so you're not sure if it'll come back at some point.
In the end though, I wouldn't lose any sleep over it - just get one with the next thing on your list.