How to remove inherited libraries in oc4j 10.1.2
I'm facing a problem in oc4j 10.1.2.0.2. I want to remove
an imported shared library from a j2ee application deployed in oc4j.
In oc4j 10.1.3 adding the following code in orion-application.xml will remove the specified library:
<imported-shared-libraries>
<remove-inherited name="global.libraries"/>
<import-shared-library name="oracle.xml.security"/>
</imported-shared-libraries>
In oc4j 10.1.2 this functionality is not possible.
Is there any other way to remove inherited libraries in oc4j 10.1.2 so that
my application is forced to use the default libs deployed with the war?
Problem solved: I added the line
<web-app-class-loader search-local-classes-first="true"/>
in the global-web-application.xml of the specified oc4j instance.
Similar Messages
-
ITS.ear Wireless -- how to remove appl from embedded OC4J config JDev b4157
The embedded container configuration currently includes ITS.ear; I'd like to remove this from the default applications started by embedded container.
The JDev (10.1.3.41.57) Tools .. Embedded OC4J Server Preferences .. Applications list includes ITS. The input fields and buttons to change or Delete this web application are greyed out. Removing the <application> entry from the server.xml file in c:/JDev_4157/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/ only removes ITS application temporarily -- it reappeared.
I've not been able to locate a configuration that causes this to be added to the default datatags and current-workspace-app applications.
Thanks.Thanks for reading and checking your installation.
Don't believe it's automatic in the standard install; I only noticed it recently but I have no idea how it got activated or how to unactivate it. (You can find the EAR file in <your-JDEV-root>/wirelss/ITS.ear.) Is there a binary JDev config file storing a preference to include this in the IDE and/or container?
The <application> tag appeared in my \JDev_4157\jdev\system\oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/server.xml unexpectedly but its tag's path was incorrect and so it would not auto-deploy during container start-up. When I copied the ear file from the wireless directory to the embedded-oc4j/applications folder it deployed next time I started the embedded container.
Even though I removed tags in server.xml and the default-web-site.xml in the container's config folder, and deleted the ear file and the deployed subdirectories, it continued to re-appear. Possibly I didn't always get all of these pieces. It doesn't alway reappear on the first restart; sometimes not until after the 3rd restart. That doesn't make sense to me but I haven't discerned the pattern for when it re-creates itself. -
How to Removing Shared Libraries
recently an unscrupulous tech downloaded my library. In so doing, he downloaded to my iTunes quite a few shared libraries for (I assume)others he does work for. How do I get rid of these shared libraries?????? some require passwords and I can not find a "delete" in my file bar area. Thanks BUDDf
You cannot "get rid of them" because they belong to another user. Just disable sharing. Go to your iTunes preferences > Sharing > Uncheck everything. Yay!
-
How can i remove shared libraries and itunes
how can i remove shared libraries and itunes account from my iphone to my little brothers itouch if we both share the same itunes?
he keeps on getting all the apps that i download as well as pictures i was wondering if anyone knows how to fix this problemYou could either remove the iCloud account altogether and have him create his own or go into settings->store-> and switch automatically download Apps off. And go into icloud and turn off photostream. Depends on what you prefer.
-
Admin_client jar - add "remove-inherited" for oracle.jdbc shared library
Guys,
I am using admin_client.jar utility which comes oracle 10.1.3 to deploy our web-application on the oc4j server, everythings is working fine, except for this small issue, where i want to avoid having the shared library "oracle.jdbc" inherited by web-module (which is by default inherited by all apps apparently), since i want to use the oracle-jdbc driver bundled with the war. Now i do that the solution is to introduce a "remove-inherited" tag (for the oracle.jdbc library) under the "inherited-shared-libraries" element in the orion-application.xml file (generated on deployment by oc4j), but what i want to know is how to automate this process of adding this entry, since we dont want to have any manual intervention on deployment.
Though admin_client.jar so far has provided all the functionality required for deployment but it apprarently doesnt any way where we can specify the shared-libraries not to be inherited by the deployed war..
Any comments/suggestions ?
Thanks and Regards,
Message was edited by:
user632496
Message was edited by:
user632496Alright that makes sense.
Yes, spot on. The suggestion I made was contingent on having an EAR file -- even though we accept a WAR file from you, we ultimately produce an EAR file from it during the deployment phase. If you don't want to produce an EAR file then its not viable for you.
Another possible solution is one that you are sort of suggesting here -- each application can be specified as a child of a parent application -- from which it will inherit various libraries and configuration settings.
What you could do is to deploy a single, dedicated application on which you configure the shared-library import to the JDBC driver you want -- and then you simply choose that application as the parent, whereupon the child application will pick up the shared-library setting.
There current, visible parent of all deployed applications is the "default" application. What you could do is to tweak the configuration of the default applicaiton so it uses a different JDBC library to the one it inherits from its actual parent (the system application). The configuration for the default application is contained within the j2ee/home/config/application.xml file -- which if you look at it, is actually an "orion-application.xml" file. So if you make the change there, it will apply to all the applications that are deployed to the container.
Just found it in the doc:
http://download.oracle.com/docs/cd/B32110_01/web.1013/b28952/classload.htm#CIHFFBCA
Even easier, what you evaluate is a simpler approach where you install and publish the Oracle JDBC driver you wish to use, with the name "oracle.jdbc" and set it with a higher version (which I assume you are doing) than the deafault one -- whereby from how the config in the application.xml is set and where the oracle.jdbc driver is imported, it should pick up the higher version -- so that way you don't even need to change the config file -- simply publish the later versioned library using the name oracle.jdbc and it should be picked up.
Currently the version in 10.1.3.3 is:
<shared-library name="oracle.jdbc" parent="api" version="10.1.0_2">
So if you published the jdbc driver you want to use with the name oracle.jdbc and a higher version, then the import of oracle.jdbc will default to the latest version, which should pick up your library.
Thus all you need to do is a one-off publishing operation of a new shared-library (oracle.jdbc: 10.1.2.3 for example) and it then should be picked up implicitly by all deployed applications.
Worth testing my theory though ... ;-)
-steve- -
Does anyone know how to remove multiple wireless profiles?
Interestingly enough, I recently setup a new computer with the same itunes library as my old computer which I moved to another part of the house. I renamed BOTH libraries from their previous names. These are both iMacs. Now, all my iOS devices (iphones/ipads/etc.) show up on BOTH and wirelessly sync to BOTH! So, I turned off wireless sync on one of the machines but the devices still show up in the menu. Also, on the devices themselves both libraries show up as available to sync. Does anyone know how to remove the wireless capabilities from one computer or device so the devices just sync with a single library?
The instructions that are on reedcorner are great, however if you wish to do things in a simpler way; I have created an Automator workflow that can take you through the process. You can download it here: https://public.me.com/edson.ajj
-
Portal 7.3 masthead customization - How to remove Logoff dialog box "Are you sure you want to logoff?"
I have recently upgraded our portal to 7.3 sps10 and we are using the Ajax framework
I have a requirement to Remove the Logoff Dialog box "Are you sure you want to logoff?"
I am able to Import masthead.war into NWDS and get the project ready for development with the appropriate jar and libraries.
I am able to deploy the project also. I need help finding How to turn this dialog box off and just log the user off. I was able to accomplish this in Classic frame work page HeaderiView.jsp.
I have looked at afpmasthead.org.sj and masthead.jsp. I am not a js/jsp developer.
I can see the logoff dialog box being created but I am having trouble finding the logoff code.
Please advise me on the code changes required to remove the Logoff dialog box "Are you sure you want to logoff?" from the Ajax framework.
Any help on this matter would be greatly appreciated.
Thank you
SarahThank you Troy for your Helpful Threads.
Problem Solution:
Followed the thread on How to download and change AFP Masthead on SAP Portal 7.3
Located the file which contains the logoff code from thread http://scn.sap.com/thread/3265584
The File with the Logoff coding in it is a Javascript file afpmasthead.js
Identified logoff code without dialog box using this thread https://scn.sap.com/thread/3307601
NovaDialogBox.performLogout(); (perform logoff)
I was able to remove the Logoff dialog box Do you really want to logoff? And replace it with logging the user off.
afpmasthead.js All the code is on 1 line, To fix this go to -->Source -->Format
Comment out the following lines of code and replace with logoff code
logoffLinkElement.onmouseup= function(aS) {
logoffLinkElement.onmouseup= function(aS) {
NovaDialogBox.performLogout();
Sarah -
How to remove all ALV buttons?
Hello all.
Does anyone know how to remove all the ALV buttons?
I now the IT_EXCLUDING option, but is there a different and
faster way?
(I'm using ALV classes).
Thanks!hii..
All the ALV Toolbar Buttons can be removed in Single Shot.
There is a method in CL_GUI_ALV_GRID->SET_TOOLBAR_VISIBLE.
it is protected method create class that is inheriting from CL_GUI_ALV_GRID.
CALL METHOD ME->set_toolbar_visible
EXPORTING
visible = '0'
* EXCEPTIONS
* error = 1
* others = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Set visible to '0' will disable all the buttons.
Example Program:
*DATA DECALRATIONS
TYPES : BEGIN OF ty_sflight,
carrid TYPE sflight-carrid,
connid TYPE sflight-connid,
Fldate TYPE sflight-fldate,
price TYPE sflight-price,
currency TYPE sflight-currency,
END OF ty_sflight.
DATA : IT_SFLIGHT TYPE TABLE OF TY_SFLIGHT,
WA_SFLIGHT TYPE TY_SFLIGHT.
DATA : IT_FCAT TYPE LVC_T_FCAT ,
WA_FCAT TYPE LVC_S_FCAT.
data : o_cont type REF TO cl_gui_custom_container ,
o_grid type REF TO cl_gui_alv_grid.
CLASS LCL_ALV DEFINITION INHERITING FROM CL_GUI_ALV_GRID.
PUBLIC SECTION.
METHODS : M1.
ENDCLASS.
CLASS LCL_ALV IMPLEMENTATION.
METHOD M1.
CALL METHOD ME->set_toolbar_visible
EXPORTING
visible = '0'
* EXCEPTIONS
* error = 1
* others = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMETHOD.
ENDCLASS.
START-OF-SELECTION.
CALL SCREEN 200.
*& Module STATUS_0200 OUTPUT
module STATUS_0200 output.
SET PF-STATUS 'ZDC'.
* SET TITLEBAR 'xxx'.
endmodule. " STATUS_0200 OUTPUT
*& Module USER_COMMAND_0200 INPUT
module USER_COMMAND_0200 input.
CASE SY-UCOMM.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
ENDCASE.
endmodule. " USER_COMMAND_0200 INPUT
*& Module GET_DATA OUTPUT
module GET_DATA output.
SELECT * FROM SFLIGHT INTO CORRESPONDING FIELDS OF TABLE IT_SFLIGHT
UP TO 50 ROWS.
CLEAR WA_FCAT.
WA_FCAT-col_pos = '01'.
WA_FCAT-fieldname = 'CARRID'.
WA_FCAT-tabname = 'SFLIGHT'.
WA_FCAT-ref_table = 'SFLIGHT'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.
WA_FCAT-col_pos = '02'.
WA_FCAT-fieldname = 'CONNID'.
WA_FCAT-tabname = 'SFLIGHT'.
WA_FCAT-ref_table = 'SFLIGHT'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.
WA_FCAT-col_pos = '03'.
WA_FCAT-fieldname = 'FLDATE'.
WA_FCAT-tabname = 'SFLIGHT'.
WA_FCAT-ref_table = 'SFLIGHT'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.
WA_FCAT-col_pos = '04'.
WA_FCAT-fieldname = 'PRICE'.
WA_FCAT-tabname = 'SFLIGHT'.
WA_FCAT-ref_table = 'SFLIGHT'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.
WA_FCAT-col_pos = '05'.
WA_FCAT-fieldname = 'CURRENCY'.
WA_FCAT-tabname = 'SFLIGHT'.
WA_FCAT-ref_table = 'SFLIGHT'.
APPEND WA_FCAT TO IT_FCAT.
CREATE OBJECT o_cont
EXPORTING
* parent =
container_name = 'C1'
.DATA O_ALV TYPE REF TO LCL_ALV.
CREATE OBJECT O_ALV
EXPORTING
I_PARENT = O_CONT.
CALL METHOD o_ALV->set_table_for_first_display
CHANGING
it_outtab = IT_SFLIGHT
it_fieldcatalog = IT_FCAT
CALL METHOD O_ALV->M1. "method called to remove all the toolbar buttons
endmodule. -
Hello
i hv installed 2 to 3 times Oracle 9i and each time during installation i hv to give new SID.
I have Deinstalled it before Installation if installed. Some Services of Oracle are removed but not all. I hv restarted after deinstalled. My Question is How to remove services and also where SID is stored. I hv also checked Registry of system and remove the registry also. Plz Help me.use ORADIM
in command line, type
ORADIM -DELETE -SID <SID>
you may also want to clean up the registry and corresponding files
(ref: Link: [http://oracle-study-notes.blogspot.com/2007/09/oracle-10g-on-windows-recreating.html])
for registry:
1. Go to Start -> Run -> type regedit.
2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsole<SID>.
3. Delete OracleDBConsole<SID> key (hit delete).
for files:
1. Navigate to %ORACLE_HOME%\DomainName_SID directory and remove it.
2. Navigate to %ORACLE_HOME%\oc4j\j2ee\OC4J_DBConsole_DomainName_<SID> directory and remove it.
3. Reboot the server.
4. Verify that OracleDBConsole<SID> is not listed in Windows Services.
Zaiming
Edited by: user10318556 on 23-Sep-2008 20:13 -
Firefox hangs on opening requiring force quit I have snow leopard Mac It even hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise me
== This happened ==
Every time Firefox opened
== I tried to update firefox add-ons ==
== User Agent ==
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7Try a new profile. See [[Recovering important data from an old profile]]
-
ALV . How to remove the sort buttons on toolbar in ALV report?
Hi,experts
As you know, in default case , the alv report will display two sort buttons(ascending ,descending) on its toolbar , So How to remove the sort buttons on toolbar in ALV report?
Thanks for your help .Hi guixin,
1. Before calling REUSE_ALV_LIST_DISPLAY
2. Write this code :
data : excl type SLIS_T_EXTAB.
data : exclwa type SLIS_EXTAB.
exclwa = '&OUP'.
append exclwa to excl.
exclwa = '&ODN'.
append exclwa to excl.
3. Then while calling the FM,
pass this parameter also .
IT_EXCLUDING = excl
It will work fantastic.
regards,
amit m. -
How to remove blank pages from WebI Report in view page layout option
Hi,
I am working in Business Objects XIR2 environment. I have a WebI report with several sections. I need to show the report as a book with 69 sections (each section on new page). there are 69 sections on cost center and each cost center section has almost 10 sections embedded in it. When i see in regular view - I only see 69 pages but when I try to see in "View Page Lay out" option, there is one blank page added after each results page.
Please let me know how to remove this blank page. I need to give users the option to download the book as PDF on to their machine. Now, when I download to my machine, I see one blank page after each results page.
Thanks in advance.Jus convert your report in Page Layout mode and see if your first pafe is getting expand in the second page.
Now check if there are any cell going into second page.
- if there are any blank cell which is there after table.
you have to check formating very carefull. -
How to remove credit card from iphone4s
how to remove credit card from iphone4s
Not sure what you mean by this. Are you trying to remove your credit card information from the App Store/iTunes store?
-
How to remove calendar in ical
I clicked on a link that added a calendar to my ical which has now synced with my Google calendar and added all the events to it as well. Unfortunately, I did not realize that this was going to add every single instance (multiple events per day) to all my calendars.
I'd like to reverse this action but there is not easy way to do this in ical it seems. I cannot "delete" the calendar because it does not appear in the list of subscribed calendars in ical.
I subscribed to two calendars this way and I'd like to remove them both. I also have to now deal with how to remove hundreds of entries in my Google calendar....and it seems there is no batch delete there either unless I pay for a third party program....arrrgh
If anyone can shed some light on this I'd be most grateful.Thanks for your reply. I "subscribed" to a couple of motorsports calendars in iCal by visiting a direct link on the Apple website like this one: http://www.apple.com/downloads/macosx/calendars/2011motogpworldchampionshipcalen darprovisional_gpticketltd.html
This adds the events contained in this calendar directly to iCal and I can't for the life of me find a way to "unsubscribe" or eliminate these entries short of erasing them manually one by one. Unfortunately, there are many of them.
If you know how I may go about doing this in an efficient manner, please let me know! -
Adobe Creative Cloud (Desktop) does not work properly. The application is blocked : it could not be launch neither stopped. I'm on MAC Yosemite OS, does anyone know how to remove it properly or to force its stop. It does not appear in the launched applications.
I received no error message. The application was just trying to find applications unsuccessfully.
I am using MAC OS 10.10.1
I tried to uninstall the application but it seems that a kind of deamon is still installed thus providing me to reinstall properly. Do you know where are the elements to remove in order to get my machine just like before ?
Otherwise I would have to reinstall everything and this would be a pain.
Thanks for your help.
Maybe you are looking for
-
Hi, wifi on my iMac is terrible. Basically it works on and off and often at very low speed. While the iMac is not working I have no problem connecting with my PC and iPhone. The wifi station is close by the iMac and there is a good connection. I have
-
My sister had a problem with call volume being too low on the iPhone 5S. Is the iPhone 6 louder? Is anyone else feeling that call volume on iPhone 5S isn't loud enough?
-
TextFrame.fit() in CS6
So, I had a minute and wanted to test the new auto-fitting text frames against the usual textFrame.fit(FitOptions.FRAME_TO_CONTENT) from a performance standpoint. The auto-fitting seemed to work fine in very limited testing. When I went to compare th
-
Hi Experts, On the ADS have been tested for 944221 without a note of paragraph 6 "Generated PDF with additional information". ADS is working locally. But on the another server occurs errors "ADS-error: com.adobe.ProcessingException: Problem accessing
-
Rearranging song order in Playlist - any help please?
Folks, I have put together a playlist for a party and it is ~3 hrs long. I would like to move some of the songs around, perhaps listening tracks earlier, fast paced then dancing tracks later. I thought it would be easy enough to just drag tracks up o