After adding prefer-application-package in Weblogic file getting errors
up vote
0
down vote
favorite
I had added the tag like prefer-application-packages in the Weblogic XML file. When I tried build of application I am getting error like below.
<20 Nov, 2018 12:23:53 PM IST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor deploywar/WEB-INF/weblogic.xml of module null. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
[java] at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
xml weblogic
|
show 3 more comments
up vote
0
down vote
favorite
I had added the tag like prefer-application-packages in the Weblogic XML file. When I tried build of application I am getting error like below.
<20 Nov, 2018 12:23:53 PM IST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor deploywar/WEB-INF/weblogic.xml of module null. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
[java] at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
xml weblogic
Pleas eprovide at least the error message and the weblogic.xml file.
– Emmanuel Collin
Nov 20 at 8:42
The error message was hidden in an unformatted set of angle brackets. Please familiarise yourself with the Markdown formatting tools here.
– halfer
Nov 20 at 8:46
Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - the summary is that this is not an ideal way to address volunteers, and is probably counterproductive to obtaining answers. Please refrain from adding this to your questions.
– halfer
Nov 20 at 8:46
<weblogic-web-app xmlns="bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:schemaLocation="bea.com/ns/weblogic/weblogic-web-app bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"> <description> TAG Application </description> <jsp-descriptor> <keepgenerated>true</keepgenerated> </jsp-descriptor> <container-descriptor> <prefer-web-inf-classes> <package-name>com.rsa.jsafe.*</package-name> </prefer-web-inf-classes> </container-descriptor> </weblogic-web-app>
– Aslam
Nov 20 at 9:46
Your weblogic.xml file is not correct. Use either prefer-web-inf-classes tag or package-name but not both at the same time. Refer to this documentation for a correct understanding of this descriptor
– Emmanuel Collin
Nov 20 at 10:25
|
show 3 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I had added the tag like prefer-application-packages in the Weblogic XML file. When I tried build of application I am getting error like below.
<20 Nov, 2018 12:23:53 PM IST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor deploywar/WEB-INF/weblogic.xml of module null. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
[java] at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
xml weblogic
I had added the tag like prefer-application-packages in the Weblogic XML file. When I tried build of application I am getting error like below.
<20 Nov, 2018 12:23:53 PM IST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor deploywar/WEB-INF/weblogic.xml of module null. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
[java] at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
xml weblogic
xml weblogic
edited Nov 20 at 8:45
halfer
14.2k758106
14.2k758106
asked Nov 20 at 7:05
Aslam
43
43
Pleas eprovide at least the error message and the weblogic.xml file.
– Emmanuel Collin
Nov 20 at 8:42
The error message was hidden in an unformatted set of angle brackets. Please familiarise yourself with the Markdown formatting tools here.
– halfer
Nov 20 at 8:46
Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - the summary is that this is not an ideal way to address volunteers, and is probably counterproductive to obtaining answers. Please refrain from adding this to your questions.
– halfer
Nov 20 at 8:46
<weblogic-web-app xmlns="bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:schemaLocation="bea.com/ns/weblogic/weblogic-web-app bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"> <description> TAG Application </description> <jsp-descriptor> <keepgenerated>true</keepgenerated> </jsp-descriptor> <container-descriptor> <prefer-web-inf-classes> <package-name>com.rsa.jsafe.*</package-name> </prefer-web-inf-classes> </container-descriptor> </weblogic-web-app>
– Aslam
Nov 20 at 9:46
Your weblogic.xml file is not correct. Use either prefer-web-inf-classes tag or package-name but not both at the same time. Refer to this documentation for a correct understanding of this descriptor
– Emmanuel Collin
Nov 20 at 10:25
|
show 3 more comments
Pleas eprovide at least the error message and the weblogic.xml file.
– Emmanuel Collin
Nov 20 at 8:42
The error message was hidden in an unformatted set of angle brackets. Please familiarise yourself with the Markdown formatting tools here.
– halfer
Nov 20 at 8:46
Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - the summary is that this is not an ideal way to address volunteers, and is probably counterproductive to obtaining answers. Please refrain from adding this to your questions.
– halfer
Nov 20 at 8:46
<weblogic-web-app xmlns="bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:schemaLocation="bea.com/ns/weblogic/weblogic-web-app bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"> <description> TAG Application </description> <jsp-descriptor> <keepgenerated>true</keepgenerated> </jsp-descriptor> <container-descriptor> <prefer-web-inf-classes> <package-name>com.rsa.jsafe.*</package-name> </prefer-web-inf-classes> </container-descriptor> </weblogic-web-app>
– Aslam
Nov 20 at 9:46
Your weblogic.xml file is not correct. Use either prefer-web-inf-classes tag or package-name but not both at the same time. Refer to this documentation for a correct understanding of this descriptor
– Emmanuel Collin
Nov 20 at 10:25
Pleas eprovide at least the error message and the weblogic.xml file.
– Emmanuel Collin
Nov 20 at 8:42
Pleas eprovide at least the error message and the weblogic.xml file.
– Emmanuel Collin
Nov 20 at 8:42
The error message was hidden in an unformatted set of angle brackets. Please familiarise yourself with the Markdown formatting tools here.
– halfer
Nov 20 at 8:46
The error message was hidden in an unformatted set of angle brackets. Please familiarise yourself with the Markdown formatting tools here.
– halfer
Nov 20 at 8:46
Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - the summary is that this is not an ideal way to address volunteers, and is probably counterproductive to obtaining answers. Please refrain from adding this to your questions.
– halfer
Nov 20 at 8:46
Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - the summary is that this is not an ideal way to address volunteers, and is probably counterproductive to obtaining answers. Please refrain from adding this to your questions.
– halfer
Nov 20 at 8:46
<weblogic-web-app xmlns="bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:schemaLocation="bea.com/ns/weblogic/weblogic-web-app bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"> <description> TAG Application </description> <jsp-descriptor> <keepgenerated>true</keepgenerated> </jsp-descriptor> <container-descriptor> <prefer-web-inf-classes> <package-name>com.rsa.jsafe.*</package-name> </prefer-web-inf-classes> </container-descriptor> </weblogic-web-app>
– Aslam
Nov 20 at 9:46
<weblogic-web-app xmlns="bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:schemaLocation="bea.com/ns/weblogic/weblogic-web-app bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"> <description> TAG Application </description> <jsp-descriptor> <keepgenerated>true</keepgenerated> </jsp-descriptor> <container-descriptor> <prefer-web-inf-classes> <package-name>com.rsa.jsafe.*</package-name> </prefer-web-inf-classes> </container-descriptor> </weblogic-web-app>
– Aslam
Nov 20 at 9:46
Your weblogic.xml file is not correct. Use either prefer-web-inf-classes tag or package-name but not both at the same time. Refer to this documentation for a correct understanding of this descriptor
– Emmanuel Collin
Nov 20 at 10:25
Your weblogic.xml file is not correct. Use either prefer-web-inf-classes tag or package-name but not both at the same time. Refer to this documentation for a correct understanding of this descriptor
– Emmanuel Collin
Nov 20 at 10:25
|
show 3 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53387848%2fafter-adding-prefer-application-package-in-weblogic-file-getting-errors%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Pleas eprovide at least the error message and the weblogic.xml file.
– Emmanuel Collin
Nov 20 at 8:42
The error message was hidden in an unformatted set of angle brackets. Please familiarise yourself with the Markdown formatting tools here.
– halfer
Nov 20 at 8:46
Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - the summary is that this is not an ideal way to address volunteers, and is probably counterproductive to obtaining answers. Please refrain from adding this to your questions.
– halfer
Nov 20 at 8:46
<weblogic-web-app xmlns="bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="w3.org/2001/XMLSchema-instance" xsi:schemaLocation="bea.com/ns/weblogic/weblogic-web-app bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"> <description> TAG Application </description> <jsp-descriptor> <keepgenerated>true</keepgenerated> </jsp-descriptor> <container-descriptor> <prefer-web-inf-classes> <package-name>com.rsa.jsafe.*</package-name> </prefer-web-inf-classes> </container-descriptor> </weblogic-web-app>
– Aslam
Nov 20 at 9:46
Your weblogic.xml file is not correct. Use either prefer-web-inf-classes tag or package-name but not both at the same time. Refer to this documentation for a correct understanding of this descriptor
– Emmanuel Collin
Nov 20 at 10:25