Difference between applicationdir/lib and domaindir/lib/ext
Hello,
In my application I use scriptura (A document generation product). The jar containing this products code uses the JAXP API.
If I include the jar in my ear file there is no problem.
If I don't put the jar in my ear file but put it in the lib/ext directory of my domain (i.e. c:\sun\applicationserver\domains\domain1\lib\ext) then the application throws a NoClassDefFoundError (org/apache/xml/serialize/XMLSerializer)
However If I put the jar in the lib directory of my application directory (i.e. c:\sun\applicationserver\lib) then everything works fine again.
I have read some of the documentation and if I understand it correctly third party jars should be in the lib/ext directory. Therefore I would like to see it work with scriptura jar in the lib/ext directory.
I have also looked up some information on classloaders but the way I understand the documentation both directory will be loaded by the common classloader (which is situated between the bootclasspath and the application classloader)?
Can you explain me the difference between putting a jar in the lib of the application directory or putting it in the lib/ext directory of the domain.
Thanks in advance,
Kind Regards,
Niels
domain_dir/lib/ext is an extension directory used by the Java Optional Package Mechanism. Any libraries placed in this directory are loaded just after the core JDK classes and before any application server or application libraries. Hence, the libraries placed in this directory should not refer to any classes in application server or application libraries.
In this particular case, scriptura depends on the JAXP API which is not part of the core JDK Classes. Hence, a NoClassDefFoundError is thrown.
However, when scriptura is placed in the appserver\lib directory, the required JAXP classes are also loaded by the same classloader and scriptura finds the required classes.
Bottom line, if a class is loaded by a classloader, then all the classes referred to by this class (directly or indirectly) must either be loaded by this classloader or its parent classloaders.
Similar Messages
-
Behaviour's difference between Time Capsule and Airport Extreme + Ext HDD ?
Hello !
I would like to know if there is any behaviour's difference between a Time Capsule and an Airport Extreme base station + External HDD ? For instance, once Time Machine configured, have I to mount manually the drive connected to the Airport Extreme to trigger the backup ? Or once my wifi is up, TIme Machine detects the Airport Extreme base station, the hard disk, and triggers the backup ?
Regards,
Mr LejeuneTheoretically there is no difference between the two. In reality there are two differences. First, Apple does not officially support Time Machine backups on a drive connected to the AEBS. If you run into technical difficulties you'll get no help from AppleCare techs nor from an Apple genius. Second, my experience suggests that it is a fragile backup backup system. My wife is using a TC at work whilst I have a base station and hard drive connected to it at home. Both of us have MacBooks, have the same software, and have the same basic habits. In a three month period I experienced frequent stalled backups - the last one fatal. After numerous attempts to get the backup going again I was forced to format the drive and start over. When I started over, having verified that the backup was working again, I abandoned TM and began backing up wirelessly using ChronoSync. My wife had fewer stalled backups (not none, but fewer) and thus far, nearly a year later, she has never had to format and start over.
In theory, wireless backup with TM is a great idea but its execution presently leave something to be desired. Frankly, while I am using TM to backup to a tethered hard drive and I'm beginning to trust it despite being a version 1 product, I wouldn't rely on TC and TM as my sole backup scheme. -
Difference between name.lib and nameD.lib
What's the difference between xxxx.lib files and xxxxD.lib files?
The xxxD.lib are debug libraries. When you build an application in debug mode, the application is built with the xxxD.lib library. When you build an application in release mode, the application is built with the xxx.lib library.
- Elton -
What would be the difference between sling:folder and nt:folder?
what would be the difference between sling:folder and nt:folder?
See,
As Nicolas said, there are some things that you can do only in a sling:folder type of node.
The "nt" means "Node Type", and a "node type: folder" is just a empty node that can be referenced as a organizational structure file folder. The "sling" prefix means that this one special folder belong to the type "Sling", in other words, that folder type node is built in the sling Framework structure and is constructed with some setting already, which I do not know to tell you. Take a look at "/libs/sling/nodetypes/sling.cnd" on you CRXDE Lite or CRXDE.
(I may be wrong about some details, eveything here is what I believe myself after some research and experience) -
Is there a difference between Statement Cache and the statement handle!
Hello!
The OCI statement cache is !session! wide. When I have a sql statement that was used before, I can use this feature.
But what is the difference between this feature and my statement handle for a certain sql statement that I can store and reuse a second time?
My stored statement handle is already prepared and the placeholders are bound. The second time I only have to copy new values in the memory positions and do an execute and that's all.
Thank you in advance
WolfgangThe underlying optimization is the same. When you re-execute a statement, you are reusing the metadata already available in the statement and the cursor already open on the server. If you know exactly the set of statements that you are going to execute repeatedly, you can maintain the cache on your own. (Yes, you save on doing the Bind/Define calls multiple times).
OCI Statement cache makes it transparent and the application does not need to keep the references/indexes to the relevant statements. Also once a cache size is set, least recently used statements get out of the cache when the cache is full and needs to accommodate more.
To optimize the bind/defines on the statements from the statement cache, you can use this feature:
http://www.filibeto.org/sun/lib/nonsun/oracle/11.2.0.1.0/E11882_01/appdev.112/e10646/oci09adv.htm#sthref1358 -
What is the difference between CUSTCRMPRJ or crm/home/shr/ext in SAP-CRMWEB
Hi
I have some questions related to customization of E-commerce application.
as we per the SAP doc.
we have three software components.
SAP-CRMWEB * SAP-SHRWEB
In the above two software components have two dc's like /crm/home/crm/ext & /crm/home/shr/ext and for all the extensions to modify. If we are adding all the chnages related to E-Commerce in the above DC's . what is the use of CUSTCRMPRJ software component?
Is there any difference between CUSTCRMPRJ.sca and above dc's,
When to modify which component?
2)
What is the relation between SHRWEB & SHRAPP same way CRMWEB & CRMAPP.?
3)
What is the relation between SHRWEB& CRMWEB , SHRAPP & CRMAPP?
Please clarify the above questions.
Regards
VijayHi Nitin,
Thanks for the valid reply.
I have worked on webdynpro applications in SAP WAS, but not much with respect to J2EE app. Now I need to support the CRM E-commerce apps(b2b scenario) which are already customized by dev team.
I have few questions related to applications.
I have imported the weborder track which has all the following .SCA's
sap.com_CUSTCRMPRJ
sap.com_SAP-CRMAPP
sap.com_SAP-CRMDIC
sap.com_SAP-CRMWEB
sap.com_SAP-SHRAPP
sap.com_SAP-SHRWEB
I have understood one point clearly that, SHRAPP & CRMAPP will have only Enterprise application Dc's only, it has one.ear file to deply the web applicatons related to SHRWEB and CRMWEB by refering the related web DC's.
All CRM Web component DC's in SHRWEB have corresponding Enterprise applications in SHRAPP to deploy in server. same for CRMWEB.SCA have corresponding Enterprise application dc's in CRMAPP.
can you clarify the folowing questions.
1) what is the relation ship between SHRWEB and CRMWEB?
2) what is the difference between
*isa (E-Commerce), this related .war is available in SHRWEB.sca*
*icss (Internet Customer Self Service) .war is availabl in CRMWEB.sca*
3) There are lot of dc's available in SHRWEB& CRMWEB, what is the relationship between each dc?
SAP-SHRWEB
CRM/home/shr/ext/ (for customer extn)
crm/ipc/web/ipc/
crm/ipc/web/ipcpricing
crm/ipc/web/ipcshared
crm/ipc/web/msaipc
crm/ipc/web/shared/pricing
crm/ipc/web/tomcatstart
crm/ipc/web/tteanalysis
crm/isa/web/advisor
crm/isa/web/auctionb2x
crm/isa/web/auctionebay
crm/isa/web/b2b
crm/isa/web/b2c
crm/isa/web/catlog
crm/isa/web/catlogtool
crm/isa/web/isacore
crm/isa/web/isauseradm
crm/isa/web/lwccustomer
crm/isa/web/ocitest
crm/isa/web/shopadmin
crm/sve/web/sve
crm/tc/web/appbase
crm/tc/web/attachment
crm/tc/web/catlog
crm/tc/web/contract
crm/tc/web/core
crm/tc/web/ecommercebase
crm/tc/web/scheduler
crm/tc/web/shopr3/metadata
crm/tc/web/user
crm/tc/web/xcmadmin
crm/web/mimes
SAP-CRmWEB
crm/eservice/web/cr_b2b
crm/eservice/web/insp_b2b
crm/home/crm/ext/
crm/icss/web/icss_b2b
crm/icss/web/icss_b2c
crm/icss/web/icss
crm/icss/web/cviews
crm/icss/web/entitlementinquiry
crm/icss/web/imsadmin
crm/icss/web/lwc
crm/icss/web/partmerregistration
crm/isa/web/sharedcatlog
4)
Also in the above dc's how to find that which dc's are related to Web order , Web Complaints & Returns.?
Please clarify it.
Regards -
Differences between hardware thread and software thread?
Hi ,all!
The Instructions of SPARC V9 have nothing about thread ID. And there are two bits of CCX packets indicating thread ID.
Does it mean that CCX generates the thread ID of SPARC core?
And, what are the differences between hardware thread and software thread?
Thanks in advance!Hi ,all!
The Instructions of SPARC V9 have nothing about
thread ID. And there are two bits of CCX packets
indicating thread ID.
Does it mean that CCX generates the thread ID
of SPARC core? Each SPARC core has one unique ID to identify itself when it receives packets, such as CCX packets, interupt packets and so on. Such ID is defined in the Hyperprivileged register. Maybe you can see UA2005-current-draft-HP-EXT.pdf for more information.
And, what are the differences between hardware
thread and software thread?
Thanks in advance!Software thread runs on the hardware thread (or strand). -
What are the difference between 4.6c and 4.7 versions?
what are the difference between 4.6c and 4.7 versions?
if any please give me answer
regards
ramanjiHi,
Upgrade SAP or Installation of SAP R/3 and ECC
What is ECC? Where to find the installation steps of ECC 5/6.0 with SQL as database and on windows platform with the steps including Solution Manager installation?
http://service.sap.com/instguides
ECC means Enterprise Central Component.
There are all the relevant installation guides. You NEED SAPNet access because without a registered and licensed SolMan installation number you will not be able to generate the SolMan key for the ECC installation.
Upgrade to 4.7
Have you gone through an upgrade to 4.7?
What are the difference or changes associated with 4.7.
If you are currently on 4.6C and are inching forward to upgrading to 4.7 then this information might be useful to you.
There is very little difference between 4.6 and 4.7, the only "steps" you should need are steps in SU25 ( skip step 1) Then go through all your role and perform a merge old new to bring in the new authorization objects
Just to forewarn you of a potential problem which have been encounter at the point of writing.
After updating/ modifying roles in step 2C, when going back into 2C to make sure all roles are now green, 70% have gone back to red!
The maintenance done is ok, but there seems to be a problem while trying to go back into the roles again to re-generate.
SAP recognizes them as needing "adjustment", so you cannot pick them up in mass generate in PFCG as they do not come in, even though the authorizations tab is red.
This problem is currently with SAP and it is confirmed that nothing have been done wrongly.
Generally, the work is quite manageable in the upgrade, but don't be surprised at how big the upgrade is when compared to upgrading from 46b to 46c.
If we have full software of 46c and 47E is it possible to upgrade 46c to 47E or there is a seperate 47E upgrade software need to be requested from SAP?
Where I can get the document with upgrade steps on the service market place?
It is of course possible and supported:
http://service.sap.com/inguides
--> SAP Components
--> SAP R/3 Enterprise
--> (choose your version)
at the bottom there is an "Upgrade guide" for Windows and Unix.
For Upgrades it is recommended to read ALL the notes mentioned in the
upgrade guide and to make sure one is using
- the correct version of the "tp" program
- the correct version of the "R3trans" program
- the correct version of the "R3up" program
All that is explained in the upgrade guide and in the corresponding notes.
If this is your first upgrade you should take a person, that has some experience on doing that for the first time.
Installation of SAP R/3
Currently we are going to install SAP on a new IBM server from the existing COMPAQ server. Where can I get the steps for that.
Configuration is :
OS - windows 2003 server
DB - Oracle 9i
SAP 4.7
http://service.sap.com/instguides
--> SAP Components
--> SAP R/3 Enterprise
--> SAP R/3 Enterprise Core 4.70 / Ext. Set 2.00 (SR1)
--> Inst. Guide - R/3 Enterprise 4.7 x 2.00 SR1 on Win: Oracle
The above url is the SAP Service Marketplace with all the information you need to install, configure and run system. You need to be a valid licensed customer with a user ID and PASSWORD to use that.
Without access you won't be able to successfully run any SAP systems because it has notes, patches etc. -
What is difference between sy-tabix and sy-index.
SAP Seniors,
Can you please let me know what is difference between sy-index and sy-tabix.
I read the SAP help, it is confusing for me. it looks like both are same from help. please help me.
Thank you
Anitha.HI,
Here is a brief description of difference between SY_TABIX and SY_INDEX and using them with several conditions.
SY-TABIX
Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables.
APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
SEARCH <itab> FOR sets SY-TABIX to the index of the table line in which the search string is found.
SY-INDEX
In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
Hope this helps.
Thank you,
Pavan. -
Difference between sy-tabix and sy-index?
tell me about sy-tabix and sy-index?what is the difference between sy-tabix and sy-index?
Moderator Message: Please search before posting. Read the [Forum Rules Of Engagement |https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] for further details.
Edited by: Suhas Saha on Jun 18, 2011 5:33 PMHI,
Here is a brief description of difference between SY_TABIX and SY_INDEX and using them with several conditions.
SY-TABIX
Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables.
APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
SEARCH <itab> FOR sets SY-TABIX to the index of the table line in which the search string is found.
SY-INDEX
In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
Hope this helps.
Thank you,
Pavan. -
What is difference between sy-index and sy-tabix and where both are using ?
what is difference between sy-index and sy-tabix and where both are using ?
hi nagaraju
sy-tabix is in Internal table, current line index. So it can only be used while looping at the internal table.
sy-index is in Loops, number of current pass. This you can use in other loop statements also (like do-enddo loop, while-endwhile)
SY-INDEX is a counter for following loops: do...enddo, while..endwhile
SY-TABIX is a counter for LOOP...ENDLOOP, READ TABLE...
Here is an example from which you can understand the difference between sy-tabix and sy-index.
Itab is an internal table with the following data in it.
id Name
198 XYZ
475 ABC
545 PQR.
loop at itab where id > 300.
write :/ itab-id, itab-name , sy-tabix, sy-index.
endloop.
My output will be :
475 ABC 2 1
545 PQR 3 2
Sy-tabix is the index of the record in internal table.
sy-index gives the no of times of loop passes.
So, for the first record in the output (475 ABC), 2 is the index of the record in internal table and as it is first time loop pass occured, sy-index value is 1.
Regards,
navjot
award points -
The difference between chapter markers and dvd studio pro markers
Does anyone know what is the difference between chapter markers and dvd studio pro markers? I can not find anywhere on Google. Also in the tutorials I have seen, suggesting DVD Studio Pro markers, but it did not mention the chapter markers.
Thanks,"Adding Chapter and Compression Markers to Your Sequence
Once you have your edited sequence or program finished, you can add markers to the sequence for use on DVD. Markers are reference points you can place within clips or sequences that identify specific frames. There are two kinds of markers you can add that directly relate to authoring a DVD—chapter markers and compression markers.
• Chapter markers allow DVD authoring applications to create a navigable chapter list for your exported QuickTime movie. Chapter markers force MPEG keyframes (known as I-frames) at their location, since the DVD specification requires an I-frame at each chapter point.
• Compression markers identify areas of abrupt change and include two types: those that are automatically inserted by Final Cut Pro at all edit points, and those you manually place in the clip or sequence. Like chapter markers, compression markers force I-frames at their location, although in this case it is for better quality encoding, and they are not used to create a chapter list.
Note: When you export a QuickTime movie, you have an option to export various kinds of markers, including compression, chapter, or DVD Studio Pro markers. *When you choose to export DVD Studio Pro markers, Final Cut Pro actually exports chapter markers and all compression markers.* This includes compression markers you set manually, as well as ones created automatically by Final Cut Pro at edit and transition points."
From the Final Cut Pro User Manual.
So, JS was right the first time -
The difference between an iphone and an ipod touch?
i want to know if the difference between an iphone and an ipod touch is just that the iphone is like a phone that has internet and is a phone. or what else is it?
The iPhone includes the same as an iPod Touch but also includes a phone, a camera, and a GPS radio.
In addition to having internet access via wi-fi, the iPhone also has internet access via the cellular network, so as long as you have cellular reception with the iPhone, you have access to the internet in addition to having access via an available wi-fi network. -
The difference between system restore and last good known configuration
hi,
what is the difference between system restore and last good known configuration.
in which situation you use system restore ,and in which situation you use last good known configuration.
very short answer wil be enough.
thanks
johan
h.davidLast Known Good Configuration deals only with Starting Windows eg. a bad registry or incorrect driver is preventing Windows to start.It recovers the registry settings of HKEY_LOCAL_MACHINE\System\CurrentControlSet
While System Restore uses restore points to return your system files and settings to an earlier point in time without affecting personal files. Restore points are created automatically every week, and just before significant system events, such as the installation
of a program or device driver. You can also create a restore point manually.You can undone system restore but there is no such option in Last Known Good Configuration.
Last Known Good Configuration is disabled in Windows 8 or,Windows 8.1 by default.
Try using Last Known Good Configuration if you can't start Windows, but it started correctly the last time you turned on the computer.
Try using System Restore to return the system to an earlier point in time when things worked correctly.
S.Sengupta, Windows Entertainment and Connected Home MVP -
Difference between sy-datum and any given date
Dear Friends;
I have one query regarding DATE I wanna calculate the difference between
SY-DATUM and ANY GIVEN DATE . Is there any function or code available that take one parameter as sy-datum and another parameter as any given date and give result as no. of days between them
Regards;
ParagDATA: DATEDIFF TYPE P.
CALL FUNCTION 'SD_DATETIME_DIFFERENCE'
EXPORTING
date1 = '20071122'
time1 = '000001'
date2 = '20070905'
time2 = '000001'
IMPORTING
DATEDIFF = DATEDIFF
EXCEPTIONS
INVALID_DATETIME = 1
OTHERS = 2.
Greetings,
Blag.
Maybe you are looking for
-
Hi, We have a typical issue, we work on webi report from BI Launch Pad, Our client User created a 2 users to access and design webi reports. 1 User is able to run the query and able to get results of the query and report is running fine. Whereas othe
-
Admin console with CU4 not working on Windows 8.1
I cannot get the admin console with CU4 to work on Windows 8.1. I don't get any errors when I install it. But after installation I cannot connect to any site.
-
Is the old profile hidden somewhere on my computer? Or is it gone forever? I am using Vista. The computer is about to die (keeps making clicking sounds) along with losing my firefox profile, it forgot how to find all my docs and pics but I was able t
-
How do I set up printer for3-5/8 x 6-1/2 envelopes
how do I set up printer for3-5/8 x 6-1/2 envelopes
-
How can I change my name in icloud mail?