It's not a secret anymore!
The moose likes BEA/Weblogic and the fly likes load on startup in web.cml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "load on startup in web.cml" Watch "load on startup in web.cml" New topic
Author

load on startup in web.cml

Bhupesh Maduskar
Greenhorn

Joined: Jun 14, 2011
Posts: 6
when i am trying to hot deploy my ear file , getting below error

<Jun 14, 2011 12:40:25 PM IST> <Error> <J2EE> <BEA-160197> <Unable to load descr
iptor H:\BOW\WLDeploy\DOX_DEV\fxopsapp.ear\fxopsweb.war/WEB-INF/web.xml of modul
e fxopsweb.war. The error is weblogic.descriptor.DescriptorException: VALIDATION
PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4b: Element not allowed: load-on-startup@http://ja
va.sun.com/xml/ns/javaee in element listener@http://java.sun.com/xml/ns/javaee:<
null>

i have tried almost all versions of dtd into web.xml nothing is working, it is same config which is working on my colleagues machine, can any one please give your input.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17149
    
  27

Welcome to the JavaRanch, Bhupesh!

You've posted to the wrong forum. That's a WebLogic error and this is the Tomcat forum. I'll transfer your posting to the WebLogic forum.

An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: load on startup in web.cml
 
It's not a secret anymore!