Unable to load descriptor .../web.xml - DescriptorException - Java EE6 war

Deploying a simple Java EE 6 war into WebLogic 10.3.3 fails with <Unable to load descriptor /root/Oracle/Middleware/user_projects/domains/palis1/servers/AdminServer/upload/SimpleEE6App.war/WEB-INF/web.xml of module SimpleEE6App.war. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-enumeration-valid: string value '3.0' is not a valid enumeration value for web-app-versionType in namespace http://java.sun.com/xml/ns/javaee:<null>
The web app consists of one JSF 2 web dialog, one managed bean, one stateless session bean and one entity bean. In GlassFish v3 the app works fine. Then I installed the actual version of WebLogic server in order to check whether I can run EE6 apps there to. But deploying the war using WebLogic admin console fails with
... <AdminServer> <main> <<WLS Kernel>> <> <> <1273649525966> <BEA-000360> <Server started in RUNNING mode>
... <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <admin> <> <> <1273649790693> <BEA-160197> <Unable to load descriptor /root/Oracle/Middleware/user_projects/domains/palis1/servers/AdminServer/upload/SimpleEE6App.war/WEB-INF/web.xml of module SimpleEE6App.war. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-enumeration-valid: string value '3.0' is not a valid enumeration value for web-app-versionType in namespace http://java.sun.com/xml/ns/javaee:<null>
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
at weblogic.servlet.utils.WarUtils.getWebAppBean(WarUtils.java:124)
at weblogic.application.compiler.WARModule.processLibraries(WARModule.java:413)
at weblogic.application.compiler.WARModule.merge(WARModule.java:455)
at weblogic.application.compiler.flow.SingleModuleMergeFlow.proecessModule(SingleModuleMergeFlow.java:16)
at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
at weblogic.application.compiler.ReadOnlyWarMerger.merge(ReadOnlyWarMerger.java:27)
at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:88)
at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:41)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:157)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.AppMerge.merge(AppMerge.java:169)
at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:88)
at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:63)
at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:181)
at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:156)
at weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:661)
at com.bea.console.actions.app.install.Flow$2.execute(Flow.java:469)
at com.bea.console.utils.DeploymentUtils.runDeploymentAction(DeploymentUtils.java:5000)
at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:467)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
The web.xml is
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>faces/index.xhtml</welcome-file>
</welcome-file-list>
</web-app>
After changing the version number I got the same error message with the differing number. I also tryed to deploy the web-app_3_0.xsd into the server. This also did not solve the problem.
Any ideas?
Thanks in advance
Axel Burghof

The web app consists of one JSF 2 web dialog, one managed bean, one stateless session bean and one entity bean. In GlassFish v3 the app works fine. Then I installed the actual version of WebLogic server in order to check whether I can run EE6 apps there to. But deploying the war using WebLogic admin console fails with ...
Hey Axel -
WLS 10.3.x does not implement Java EE 6 -- it's a Java EE 5 based server.
While we have added support for a few independent Java EE 6 specifications where we can -- such as JSF 2.0 in WLS 10.3.3 and JPA 2.0/JAX-RS 1.1 with WLS 10.3.4 that is coming in the next patchset -- we don't support all of the Java EE 6 model and thus you can't use any of the EJB 3.1, Servlet 3.0 changes and you can't deploy EJBs (and JPA entities) inside of a WAR file. Our next major release will be a Java EE 6 implementation, where this will be possible.
-steve-

Similar Messages

  • Error BEA-000438 - Unable to load performance pack. Using Java I/O instead.

    On a Solaris 9 machime, 64 bits architecture, j2sdk1.4.2_08, Weblogic Server 8.1 SP2
              when I try to deploy the application, launching java wiht "-d64" option I get :
              <Jun 22, 2005 12:12:41 PM CEST> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead.
              Please ensure that libmuxer library is in
              :'/export/home/j2se/j2sdk1.4.2_08/jre/lib/sparcv9/server:/export/home/j2se/j2sdk1.4.2_08/jre/lib/sparcv9:/export/home/Aplics/Apl1/WEB-INF/lib::/usr/local/bea/weblogic81/server/lib/solaris:/usr/local/bea/weblogic81/server/lib/solaris/oci920_8:/usr/lib'
              libmuxer exist on /usr/local/bea/weblogic81/server/lib/solaris
              Any idea?
              Thanks

              Can you post more details ?
              Sergi
              Jiffy <[email protected]> wrote:
              >error:
              > <2004-3-12 %u4E0B%u534815%u65F648%u520654%u79D2 CST> <Error> <Socket>
              ><BEA-000438> <Unable to load performance pack. Using Java I/O instead.
              >Please ensure that wlntio.dll is in: 'D:D:/bea/weblogic81/server/bin'
              >>
              

  • I am unable to load some web pages, I get an error message saying unable to load page due to invalid or unsupported form of compression, this happens on the BBC news page for example. Any ideas how to overcome???

    OS is Windows7. I'm using the latest version of Mozilla Firefox
    I am unable to load some web pages, I get an error message saying unable to load page due to invalid or unsupported form of compression, this happens on the BBC news page for example. Any ideas how to overcome???

    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • Unable to load performance pack. Using Java I/O instead. Please ensure...

    Hi there.
    I am running WL 1033 development version using 64-bit 1.6.1 jdk (jdk-6u21-windows-x64) and the performance is terrible. I have upped my mem settings to this:
    set MEM_ARGS=-Xms1024m -Xmx1408m -XX:PermSize=1024m -XX:MaxPermSize=1024m
    and after a couple of deploys, I still get out of memory errors.
    I notice this message on startup: <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that wlntio.dll is in:
    Could this be part of my performace issues? If so, how do I fix it?
    I followed the install directions in the README.txt file from this zip file: wls1033_dev.zip
    Mike

    Hi Mike,
    If you are using 64 bit of Windows Operating System then Make sure that you add the following directory in the *"java.library.path"*....
    Directory: E:\bea1033\wlserver_10.3\server\native\win\64
    Example: In your servers start Script please add the following MEM_ARGS or in JAVA_OPTIONS:
    <b><font color=maroon>
    set MEM_ARGS= -Xms1024m -Xmx1408m -XX:PermSize=1024m -XX:MaxPermSize=1024m -Djava.library.path=E:\bea1033\wlserver_10.3\server\native\win\64</font></b>
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic (Middleware Magic Is Here)

  • Unable to load resource: Web Start

    I have a server called BIServer running on mds9021.sas-frontiers.com. Using jboss. And there is a database called dictionary also running on that machine. Both are up. Then I have a person that started up Web Start and is trying to connect to the mds9021.sas-frontiers.com. machine. But I get the following error.
    An error occured while launching/running the application.
    Title: jhfkskas
    Vendor: sdjkfhjksdhfk
    Category: Download Error
    Unable to load resource: http://mds9021.sas-frontiers.com/webstart/...jretriever.jnlp
    If anybody knows what this means please let me know.
    Thanx

    Thank you for the advise. But I got it sorted. The problem was jre related. The links got mixed up one way or the other and was using the wrong jre version.

  • Using a Variable from web-inf/web.xml in java code?

    I would like to create a read-only variable with a value in the /web-inf/web.xml file and then access that value within a java service method within the Application Module.
    Where / how do I read the value from the web.xml file and make it accessible within my java code?
    thanks

    Hi,
    you can define context parameters in web.xml that you can access from Java in the web application
    The following is a JSF examle that checks a context parameter in a PhaseListener, where the string is stored ina Java constant (could be "myParam")
    ExternalContext exctx = FacesContext.getCurrentInstance().getExternalContext();
    useSessionPageCache = exctx.getInitParameter(Constants.USE_PAGE_CACHE) == null ? false :
    (exctx.getInitParameter(Constants.USE_PAGE_CACHE)).equalsIgnoreCase("TRUE") ? true : false;
    From here you can call a method on the AM to set the value or look for another option.
    Frank

  • Descriptor web.xml problem !!

    Hi!, I`m trying to create a .war file that contains a group of .jsp files and another group of EJB(Session Beans).
    The problem is that i dont know what things i have to put in the web.xml file. I only found examples with 1 EJB and servlets(No JSP !!), but it doesnt help me.
    Does anyone know which must be the structure of the file ?. I even dont know if all the information about the EJB's and JSP's must be in the web.xml file or in other files if i want to create a unique .war archive.
    Thanks a lot !!!
    CristiAn.

    If you want to have EJBs, servlets and jsps together in one file, then you should create an ear file. War files are used only for web applications, that contain jsps and servlets only.
    Check : http://java.sun.com/j2ee/1.4/docs/tutorial/doc/WebApp.html
    and http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Ebank.html.
    Regards,
    D.

  • Hi i am unable to load a web application on firefox, however it loads perfect in google chrome and IE7

    On loading the web application on firefox, it says the connection is not trusted... i tried treating it as an exceptiom, but it still doesnot allow to access it on firefox

    Hi.
    The internet is a big, wonderful source of knowledge.
    Here is a site that I found that will describe setting up a static IP.
    http://homepage.mac.com/car1son/staticport_fwdstaticip.html
    the pictures may be slightly different, and your Airport will be slightly different, but this is a concept that you can learn and adapt from these other sources.
    the entire article is here:
    http://homepage.mac.com/car1son/staticport_fwdintro.html
    Oh, look here's a specific OSX 10.4 page over at portforward.com
    http://portforward.com/networking/static-Mac10.4.htm

  • Help! web.xml security without using WAR files

    I'm currently using the RDBMSRealm and URL ACL security for my app. I would like to use the web.xml descriptor for security so that I can specify login pages and such. We currently are not using WAR files. I've been having alot of trouble setting this up. Is there a way to use the RDBMS realm along with the web.xml security? It looks like it should work, but I can't seem to get it to function. How do I specify the regular document root as a webapp? I'm currently running WLS 5.1 with SP4. Thanks.

    The RDBMSRealm is just the authentication mechanism underneath WLS versus the
    web.xml of the WebApplication which describes all the access control for that WebApp.
    the later being scoped only to that WebApp.
    you don't need to deploy in a war file, you can expand the archive into an identical
    directory structure and then just point us towards the top level of that structure.
    see: http://www.weblogic.com/docs51/classdocs/webappguide.html
    .paul
    chris wrote:
    I'm currently using the RDBMSRealm and URL ACL security for my app. I would like to use the web.xml descriptor for security so that I can specify login pages and such. We currently are not using WAR files. I've been having alot of trouble setting this up. Is there a way to use the RDBMS realm along with the web.xml security? It looks like it should work, but I can't seem to get it to function. How do I specify the regular document root as a webapp? I'm currently running WLS 5.1 with SP4. Thanks.

  • I'd like to load images using XML and Java - hints??

    I have a XML files that are created on a timed basis....they describe a photo and point to a dir where the photo is stored...like...
    <image>
    <user>bill</user>
    <img>photo.jpg</img>
    <img_dir>'/tmp/photos'</img_dir>
    </image>
    I'd like to write a Java program that parses the XML and loads the images, data into Oracle.
    Suggestions on Oracle tools, downloads that will help me accomplish this???
    Thanks!

    I pass a URL and then when I parse the XML I download the file from the URL.
    A.

  • Unable to load certain web pages unless cache is empty

    I continue to have the problem that certain web sites (eg Dodgers.com) will not load completely unless I have just emptied the Safari cache. Similar problems with weatherunderground.com. These are content-rich pages, so they load in "outline" form, or with lots of little boxes with question marks. If I immediately go and empty the cache, then reload the page, it comes back perfectly. This doesn't happen with my laptop on the same home network, and I have all of the Safari preferences set the same. Most other web pages load just fine.
    Previous posts of this same question were not helpful.

    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • Unable to load many web based games after installing lion

    After installing Lion, I am unable to launch several online games (Pogo e.g.). What compatibility issues are being addressed?

    I didn't think reinstalling was gonna do me any good except for getting rid of every single thing I have ever installed since getting this MBP.  I'm thinking it has to be something that is on my computer causing this, especially since it only affects my ability to get to this one site and I only started seeing this problem yesterday.
    So, I went ahead and disabled all my Chrome extensions and I don't have any Safari extensions at all.  That didn't fix my issue.
    I've been trying to run Sophos on here, thinking that maybe I've got a Trojan or some kind of malware, but it never seems to finish a full scan of my hard drive.  That "Plugin" that I mentioned above has me very suspicious, except that whatever that is, it's been on my computer since basically when I first got it.  Maybe it's malicious, or maybe it's just a poorly named piece of software.  In any case, it got updated last night around 11pm, about the same time I noticed my problem.  After trying everything I have, it's hard for me to overlook that as coincidence.
    But, where do I go to gain more information about what that could be?  I should mention that this MBP is basically my first Apple computer.  I've been a PC guy (still am mostly) forever, but I finally dove in and got a Mac to start iOS development.  So I'm sure there are ways to get more information than I am currently aware of.
    Also, apologies if I posted this in the wrong forum.

  • Unable to load the web site after deploying into the windows azure.Internal Server 500

    Hello everyone,
    Currently we are having one cloude service running into window azure.We are weekly deployeing that from local visual studio 2010.Yesterday when i published from visuual studio after that i am getting 500-Internal server error while opening my URL.So i had
    thought of enabling the Remote Access for my cloude service ,but when i am trying to do that i am geting different differnt errors.
    Details are like..
    3:14:39 PM - Warning: There are package validation warnings.
    3:14:39 PM - Checking for Remote Desktop certificate...
    3:14:40 PM - Preparing deployment for ScrumApplication.Azure - 2/11/2015 3:13:26 PM with Subscription ID 'b7a6057b-c401-46d7-a18d-7e0a4d6d1863' using Service Management URL 'https://management.core.windows.net/'...
    3:14:40 PM - Connecting...
    3:14:40 PM - Verifying storage account 'leanzy'...
    3:14:41 PM - Uploading Package...
    3:35:24 PM - Updating...
    3:36:13 PM - Legacy plugin RemoteAccess is found in role ScrumApplication. Please remove the import from Service Definition file to use the Extension.
    and some time i am getting another issue like
    1:58:36 AM - Warning: There are package validation warnings.
    11:58:36 AM - Checking for Remote Desktop certificate...
    11:58:41 AM - Uploading Certificates...
    11:59:01 AM - Preparing deployment for ScrumApplication.Azure - 2/11/2015 11:57:47 AM with Subscription ID 'b7a6057b-c401-46d7-a18d-7e0a4d6d1863' using Service Management URL 'https://management.core.windows.net/'...
    11:59:01 AM - Connecting...
    11:59:01 AM - Verifying storage account 'leanzy'...
    11:59:03 AM - Uploading Package...
    12:10:41 PM - Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
    so please help me to resolve the problem in urgent basis. 
    Please mail me if anything we can do on urgent basis.
    My email id is- [email protected]
    Thanks in advance.

    hi Madhusudan,
    According to your description, It is very hard to reproduce your issue. But from my experience, I suggest you can try those steps:
    1.Please try to create a new cloud service and try to deploy on Azure. I wanted to check whether the environment  issue.
    2.Please try to redeploy your project and disable RemoteAccess feature in your deployment process.
    Any results, please let me know free.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is there any way to prevent web.xml from any change like java class?

    hi all,
    Is there any way to prevent web.xml from any change after making EAR(WAR)?
    One can easily make a change in web.xml and redeploy the application to get the result. Now we want to restrict the web.xml as java class for any change after making EAR(or WAR).
    Could some one help me to do this?
    thanks,
    dinesh

    hi,
    Not at development level. We want it after deploying the application on server .
    We want to create it (web.xml) at tomcat startup (or in any other web/app server ) before loading any context.
    Is there any way to run a simple java class(not servlet) on tomcat startup(before initializing the contexts)?
    Message was edited by:
    DP_java
    Message was edited by:
    DP_java

  • Alternate deployment descriptor for an exploded war (web.xml/weblogic.xml)

    Hi.
    I believe this is a simple question: Am i able to deploy an exploded war directory using an alternate deployment descriptor (web.xml outside the directory structure of my application)? According to the docs, I can do it for an ear, but I'm not sure if it can be done for an war.
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81b/deployment/concepts.html#1001945
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/config_xml/Application.html#AltDescriptorPath
    Thanks in advance.
    Best regards,
    Daniel.

    Or should i use a deployment plan?
    http://download.oracle.com/docs/cd/E13222_01/wls/docs103/deployment/config.html#wp1057141

Maybe you are looking for

  • Edit Text from one screen to another screen

    Hi Experts,        Here I am having two doubts in doing functionality on SMP 2.3,The below mentioned are the doubts,                    1. In SMP 2.3 Version,When i am doing Hybrid App Designer in that  Edit Text functionality to pass the values from

  • I facing problem with my itunes ...my itunes not syn with iphone apps

    i have downloaded  apps and games in my iphones 4s ..but that apps and games are  not copying to my itunes when i have connected my iphone my pc..i have authorized my computer then also i have facing the problem

  • Merge in HDR Pro Problem

    I select images in Lightroom 5 and then select Merge in HDR Pro.  The images go  to Photoshop (CC), but when the HDR dialog opens, the imaage area is black.  I also have PS CS6 and it works correctly there.  Is this a bug in CC?

  • Table header fixed

    hi i have a table with n colums. i would fix the table header so that are the header always visible. have anybody a idea how can i do this? best regads Thomas

  • OBIEE 10g - Cant not see a specific report in a dashboard

    Hi All We have a dashboard which as 10 tabs. I can see 9 tabs but only one tab is not visible. Access right are same to all 10 tabs. I am just a read only user. I can see the 10th tab if i login as Administrator/Presentation Services Administrator. R