Difference between prefer application-packages in weblogic.xml and weblogic application. XML?
Hello!
When you deploy a WAR for WebLogic 10.3.5, what is the difference between the prefer-application-package element in the weblogic.xml and weblogic application files. XML?
In my WARs WEB-INF/lib / I have a JAR that contains classes that are already provided by the container (but older versions).
If I do not prefer-application-packages use my application gets then the classes provided by the container.
If I use prefer-application-packages in weblogic.xml can I get classes in WAR/WEB-INF/lib, which is expected.
But if I use prefer application-packages in weblogic - application.xml, then I get the versions of container. Why?
Is there a difference between these two options?
The exact data that I use are:
(foo.bar. * is the name of the conflicting package;) Add or remove the linex tagged XXXX)
WEB-INF/weblogic.xml:
<?xml version="1.0" encoding="UTF-8"?> <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" 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_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd"> <wls:container-descriptor> <wls:show-archived-real-path-enabled>true</wls:show-archived-real-path-enabled> <wls:prefer-application-packages> <!-- XXXX --> <wls:package-name>foo.bar.*</wls:package-name> <!-- XXXX --> </wls:prefer-application-packages> <!-- XXXX --> <wls:prefer-application-resources> <wls:resource-name>META-INF/services/some....</wls:resource-name> <wls:resource-name>META-INF/services/unrelated...</wls:resource-name> <wls:resource-name>META-INF/services/stuff...</wls:resource-name> </wls:prefer-application-resources> </wls:container-descriptor> <wls:jsp-descriptor> <wls:page-check-seconds>-1</wls:page-check-seconds> <wls:precompile>true</wls:precompile> <wls:precompile-continue>true</wls:precompile-continue> <wls:keepgenerated>true</wls:keepgenerated> </wls:jsp-descriptor> <wls:session-descriptor> <wls:persistent-store-type>replicated_if_clustered</wls:persistent-store-type> </wls:session-descriptor> </wls:weblogic-web-app>
META-INF/weblogic - application.xml:
<?xml version="1.0" encoding="UTF-8"?> <weblogic-application xmlns="http://xmlns.oracle.com/weblogic/weblogic-application" 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/javaee_5.xsd http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.2/weblogic-application.xsd"> <application-param> <param-name>webapp.encoding.default</param-name> <param-value>UTF-8</param-value> </application-param> <xml> <parser-factory> <saxparser-factory> org.apache.xerces.jaxp.SAXParserFactoryImpl </saxparser-factory> <document-builder-factory> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl </document-builder-factory> <transformer-factory> org.apache.xalan.processor.TransformerFactoryImpl </transformer-factory> </parser-factory> </xml> <prefer-application-packages> <package-name>foo.bar.*</package-name> <!-- XXXX --> <package-name>javax.jws.*</package-name> <package-name>javax.xml.ws.*</package-name> <package-name>org.apache.cxf.*</package-name> <package-name>antlr.*</package-name> <package-name>org.xmlsoap.schemas.wsdl.*</package-name> </prefer-application-packages> </weblogic-application>
WebLogic - application.xml has no meaning in wars, it is only used in the ears.
Tags: Fusion Middleware
Similar Questions
-
What is the difference between an application and a widget?
I'm a newbie trying my Tablet cleaning. to start:
What is the difference between an application and a widget?
Widget-based applications
not always asked of widgets
Widget is just an application interface to develop android home and have some readily available settings/info/etc.; If you do not need to type an application to access some of the data; but you can type the widget to run the application if necessary and if possible.
It's like a windows program, you must run it to use it... If they is not a widget.
-
Hi guys!
I'm really confused... Help, please!
We have developed applications for our customers. We tested with our BB8700 and it works fine.
We used JDE4.2 for development... and we think that it will work on v4.2 based handsets.
But our customers wrote that it works on v3.7. Why? Is this possible?
I looked at the information about my 8700 device and then noticed: v4.2.1.107 (platform v2.3.0.84)
-What are the differences between the version of BlackBerry Device Software and platform?
Possible customers spoke of version 3.7 of the platform?
There is a list of the devices, where we can find the version of BlackBerry Device Software by BlackBerry device model?
Or where we can find information about the models of devices that will support our application?
Thanks in advance!
AFAIK there is no version 3.7 platform.
Customer talking about the OS version.
So, if they have the device OS version 3.7 you must use JDE JDE 3.6, 3.7 or older.
Or take updated device OS if the necessary software is available.
-
What is the difference between win 7 pro DSP OEI DVD and the OEM or normal Full pack?
1. What is the difference between win 7 pro DSP OEI DVD and the pack OEM or normal Full we learned normally?
2. does DSP OEI DVD comes with CD of instalation?These versions are for small integrators (DSP = 'partners in enforcement service'), which usually contain a single Windows (1pk = 32-bit or 64-bit, not both as in commercial versions) and an OEM preinstallation kit to preconfigure Windows and/or integrate additional tools (OEI = 'Installation of Original equipment' or 'Integration organizational environment'). They have the same limitations that versions OEM = license is tied to the computer where the operating system has been installed initially and not transferable in case of death of the machine. "192GO should be enough for everyone." (of the miniseries "Next generation jokes")
-
Difference between convert it to a smart object and convert for smart filters?
Hello
I'm curious to know is there is a difference between the right clicking on a layer and convert it to a smart object vs going to the menu Filter and choose Convert for smart filters?
I don't think that there is a difference. When you use a filter on a smart object to a smart filter layer. The layer must be a dynamic object for a smart filter layer filter it is a catch 22.
-
What is the difference between count (1) selection of the tab and select count (*) tab;
994122 wrote:
Hello
SQL > set timing on
SQL > select count (*) of the emp
2 where deptno = 30;
COUNT (*)
---------------
6
Elapsed time: 00:00:00.01
SQL > select count (1) of the emp
2 * where deptno = 30
SQL > /.
COUNT (1)
-------------
6
Elapsed time: 00:00:00.01
See that both give the same time
Do you really think the 100th's of a second it takes 6 rows from counting will truly representative of the difference it takes actually?
Such a small data set cannot possibly show no difference to these larger units of time (in the calculation of terms where we have millions of instructions per second in lieu)
As the link to the FAQ provided in the response of Anton (first response on this thread) Watch, count (1) and count (*) are essentially the same, except that count (1) actually get re-written by the query re - write the step of the optimization to make it count (*).
Generally 'count (*)' makes more sense language, because it reads like "count" while "count (1)" reads as "count we ', which does not have as much good sense when you actually count all.
-
What is the difference between creative Cloud ENT 'SN EDFUL V15' and 'SN EDFUL N15'?
What is the difference between creative Cloud ENT 'SN EDFUL V15' and 'SN EDFUL N15'?
Moving to this discussion on the Adobe Creative Cloud forum.
ESI valladolid, please contact our support team directly to contact customer service for more details on the plans available to your organization creative cloud.
-
difference between 10.2.0.1 oracle db and 10.2.0.4
can any body please tell me that what is the difference between 10.2.0.1 oracle db and 10.2.0.4.
Thanks and greetings
MazahrAbbas wrote:
can any body please tell me that what is the difference between 10.2.0.1 oracle db and 10.2.0.4.Thanks and greetings
Mazahr
>can any body please tell me that what is the difference between 10.2.0.1 oracle db and 10.2.0.4.
Thanks and greetings
Mazahr
36 (32 open)It seems that you never mark your answers questions :(
If you mark never questions answers people decide later that it isn't worth trying to answer you because they never know if yes or no, their response has been of no use, or if you even bothered to read it.
-
Hello
I see under files in IOM. I exported and checked the content, both are different.
(1) /metadata/iam-features-ldap-sync/LDAPUser.xml
(2) / db/LDAPUser
What is the difference between these two files and what the purpose of each?
All entries would be useful.
Thank you
You can open both files and check the contents easily.
(1) the /metadata/iam-features-ldap-sync/LDAPUser.xml contains Provisioning of the related necessary inputs to the configuration of the LDAP synchronization:
string fake >
Web site Web site (2) related areas of reconciliation involved in the LDAP synchronization:
-
I want to know what is the difference between the two packages to choose from for photoshop.
Pricing plans and creative Cloud membership | Adobe Creative Cloud
I am looking to buy photoshop and I see two sets with a price. There is a plan of photography that comes with photoshop cc for 119 a year, and then the other package is a purchase unique app for photoshop cc for 239 per year. They are both the same in photoshop?
Hi domk15243449,
Yes, you will get the same version of Photoshop on one of the Plans,
Please see the following link, it should be useful: helps Photoshop | Differences between Photoshop and creative photography programs Cloud
Kind regards
Tanuj
-
Difference between an application and a Folio and what is not taken in charge
Hello
I'm about to dive into work on my first app in InDesign.
I have two questions that are more specific, while I understand the difference.
1. What is the difference between an App and a Folio?
2. I also understand that native animations and synchronization options are NOT supported in a Folio for a DPS, the same system go for something later to be used as an application?
Just try to understand and start on the right foot
Thank you!
Babs
Imagine a folio as content kind of as a book has pages.
The app has a folio.
That said, you may not aware that only edition apps are no longer included in Creative cloud without a full account of DPS, you cannot create an app.
-
Can someone tell me the difference between an application and a widget?
I am somewhat a novice with this phone, and for the life of me, I can't tell the difference between the two. When I put them to the top of the list of widgets on my Droid, there is a mixture of things that I'm sure I got on the market like applications (such as Stitcher and sportstap) and things, I would maybe consider widgets (like weatherbug or powercontrol). So I can't understand what the difference is.
A widget is a kind of user controls, which can be exploited on the screen, such as the Facebook widget. A widget can also provide a display, like a widget of battery life. BTW... Battery left Widget is very nice, because it shows the battery life of. 01% increments.
Applications have a bit on the functions of the screen.
-
What are the differences between the application and Validation?
Hi there;
These two concept has been explained in the link here: https://docs.oracle.com/cd/B19306_01/server.102/b14223/constra.htm
I want to learn the difference between ACTIVATE and VALIDATE. Suppose I have a person table. There is a salary (int), name (nvarchar), country (nvarchar), family name (nvarchar) and date of birth (datetime) column. There are a few lines that the pay is less. If I create a constraint that the salary must be zero, what happens if it is activated or validated?Thanks in advance.
read this: https://docs.oracle.com/cd/B19306_01/server.102/b14200/clauses002.htm
-
Difference between article 2 of Yoga Pro 59400098 and 59400099?
I am interested to buy an IdeaPad Yoga 2 Pro, but I can't find two different numbers. Can someone tell me the difference between 59400098 and 59400099 (numbers Lenovo)...?
With sincere friendships.
-Johan.
Hi hstrom,
After reviewing the links in your other post it seems to me that if one of the systems to win 8, the other 8 Professional Win indicated by the W8P in the description.
-
difference between microsoft lifecam studio model # Q2F-00013 and model #Q2F-00001
What is the difference between microsoft life cam model studio # Q2F-00013 and model # Q2F-00001
Hello, Paul.
See details on the two
Q2F-00001
http://www.Microsoft.com/hardware/en-us/p/LifeCam-Studio/Q2F-00001#details
Q2F-00013
Maybe you are looking for
-
How to use R &; amp; R for backup on external USB HDD?
Hello, I have two Lenovo workstations and we Desktop and other is Thinkpad and I want it to be saved on a single 1 TB external hard drive and I can't seem to backup both of them on external HD single. It seems that this does not work with only 1 TB H
-
I use a PCIe-6537 with LabWindows CVI 8.5 and DAQmx 8.9. I have existing code that sends data using Port0_32. It's using an external clock introduced the PFI4. I use DAQmxStartTask and DAQmxStopTask to start and stop the flow of data, each of them
-
Hello I recently bought a laptop computer with a trashed hard disk. I have the product key for the Windows XP Home Edition, which accompanies it originally but do not have the factory reset CD. Is is possible that I can download the Microsoft opera
-
Doubts about the creation of the screen stack and its navigation
Hello I like to navigate between the pages. While referring link below https://developer.BlackBerry.com/Cascades/documentation/UI/navigation/multiple_screens_stack.html They have the option to declare it in the header file, while declaring in the hea