• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with weblogic.xml

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hey, when I am trying to deploy my war I am getting the below exception :

Unable to access the selected application.
Exception in AppMerge flows' progression
Exception in AppMerge flows' progression
VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a: Expected elements 'description@http://xmlns.oracle.com/weblogic/weblogic-web-app weblogic-version@http://xmlns.oracle.com/weblogic/weblogic-web-app security-role-assignment@http://xmlns.oracle.com/weblogic/weblogic-web-app run-as-role-assignment@http://xmlns.oracle.com/weblogic/weblogic-web-app resource-description@http://xmlns.oracle.com/weblogic/weblogic-web-app resource-env-description@http://xmlns.oracle.com/weblogic/weblogic-web-app ejb-reference-description@http://xmlns.oracle.com/weblogic/weblogic-web-app service-reference-description@http://xmlns.oracle.com/weblogic/weblogic-web-app message-destination-descriptor@http://xmlns.oracle.com/weblogic/weblogic-web-app session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-web-app jsp-descriptor@http://xmlns.oracle.com/weblogic/weblogic-web-app auth-filter@http://xmlns.oracle.com/weblogic/weblogic-web-app container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-web-app charset-params@http://xmlns.oracle.com/weblogic/weblogic-web-app virtual-directory-mapping@http://xmlns.oracle.com/weblogic/weblogic-web-app url-match-map@http://xmlns.oracle.com/weblogic/weblogic-web-app security-permission@http://xmlns.oracle.com/weblogic/weblogic-web-app context-root@http://xmlns.oracle.com/weblogic/weblogic-web-app wl-dispatch-policy@http://xmlns.oracle.com/weblogic/weblogic-web-app servlet-descriptor@http://xmlns.oracle.com/weblogic/weblogic-web-app work-manager@http://xmlns.oracle.com/weblogic/weblogic-web-app component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-web-app logging@http://xmlns.oracle.com/weblogic/weblogic-web-app library-ref@http://xmlns.oracle.com/weblogic/weblogic-web-app fast-swap@http://xmlns.oracle.com/weblogic/weblogic-web-app coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-web-app' instead of 'resource-env-ref@http://xmlns.oracle.com/weblogic/weblogic-web-app' here in element weblogic-web-app@http://xmlns.oracle.com/weblogic/weblogic-web-app:<null>


I get this error after adding the below statements in weblogic.xml :



I added the below lines in web.xml too :

<resource-ref>
<res-ref-name>jms/QCF/H</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Application</res-auth>
</resource-ref>

Before this the application gets deployed without any exceptions.

Thanks,
Niharika
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, that error message is a bit horrendous, but here's the important part of it:

Expected elements ... instead of 'resource-env-ref...



In other words, you inserted that resource-env-ref element in the wrong place. The elements have to be in a particular order (which is defined by the schema, but should be documented). So take it back out, find the documentation which specifies the order of the elements, and put it back in the right place.
 
hari gutta
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply Paul,
I am working on it. I will post when I found significant improvement.

Regards,
Niharika
 
What a show! What atmosphere! What fun! What a tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic