aspose file tools*
The moose likes BEA/Weblogic and the fly likes deployment problem in WLS_10.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "deployment problem in WLS_10.3 " Watch "deployment problem in WLS_10.3 " New topic
Author

deployment problem in WLS_10.3

Vivek Kr Agrawal
Ranch Hand

Joined: Sep 08, 2012
Posts: 51

I have developed a simple jsp dynamic web application in Eclipse(Indigo) and exported the war file to my desktop. When I tried to deploy that file in Weblogic Server 10.3 I am getting this error:-
Unable to access the selected application.
Exception in AppMerge flows' progression
Exception in AppMerge flows' progression
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>;
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>;

My web-xml file is
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<display-name>TestApp</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
Please help....

Vivek Agrawal
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
WebLogic Server 10.3 does not support servlet (web app) 3.0.

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>;
Vivek Kr Agrawal
Ranch Hand

Joined: Sep 08, 2012
Posts: 51

So what is the solution? Please guide me to a positive solution.....
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
From the problem, I thought you would be able to find the solution from the oracle documentation.

If you want or need to use servlet / web app 3.0 then you need a different version of WebLogic Server.

In either case you will need to modify your web.xml to be properly configured for the correct servlet / web app version. You may notice your web.xml references web app 2.5 and 3.0, and 2.5 is the correct one for WLS 10.3.

The oracle oracle documentation for WLS 10.3.3 shows a valid web.xml configuration.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deployment problem in WLS_10.3