Optional Package - startup behavior

Hi guys,
Hi have an optional package (similar to a shared library) that is referenced by two different applications. This optional package is a jar file.
When I 've a web application (WAR) I know that WebLogic will use the exploded directory in .../tmp/_WL_user to load the application, but which is the behavior when i'm using a jar file?
Thanks

Hi Amol,
WebLogic jDriver for Oracle fully supports the JDBC 2.0 Optional Package API for
distributed transactions.
Laurent Goldsztejn
Developer Relations Engineer
BEA Support
"amol desai" <[email protected]> wrote:
>
Do you support the optional package features? If yes , how?

Similar Messages

  • Optional Package class reference at server startup...gives class not found

    I have a enterprise app having a webservice..the webservice (servlet) gets instantiated on server startup…It has reference of a class which is an optional package
    All the manifest entries are correctly added to the ear..manifest.mf..
    When the servlet is initialized at startup.. gives me a class not found error…
    However, the app works fine..this is just a one time error(whenever the app is deployed fresh..)..
    Any help would be appreciated
    Thanks

    I have a enterprise app having a webservice..the webservice (servlet) gets instantiated on server startup…It has reference of a class which is an optional package
    All the manifest entries are correctly added to the ear..manifest.mf..
    When the servlet is initialized at startup.. gives me a class not found error…
    However, the app works fine..this is just a one time error(whenever the app is deployed fresh..)..
    Any help would be appreciated
    Thanks

  • How to change a Firefox startup behavior

    Whe a new instance of Firefox starts it "wakes up" all the previously minimized Firefox windows. I would like to change a startup behavior. The minimized Firefox windows should stay minimized and only the new Firefox window should show up as active.

    -> Tap '''ALT''' key or press '''F10''' to show the Menu Bar
    -> go to Help Menu -> select '''Restart with Add-ons Disabled'''
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> go to View Menu -> Toolbars -> unselect All Unwanted/Incompatible Toolbars
    -> go to Tools Menu -> Clear Recent History -> '''Time range to clear: select "EVERYTHING"''' -> click Details (small arrow) button -> place Checkmarks on '''Cookies, Cache''' -> click '''Clear Now'''
    -> go to Tools Menu -> Options -> General -> '''When Firefox starts : select "Show My Home Page"''' and click '''Reset to Default''' button
    -> go to Tools Menu -> Options -> Content -> place Checkmarks on:
    1) Block Pop-up windows 2) Load images automatically 3) Enable JavaScript
    -> go to Tools Menu -> Options -> Privacy -> History section -> '''Firefox will: select "Use Custom Settings for History"''' -> REMOVE Checkmark from '''"Permanent Private Browsing mode"''' -> '''Firefox will: select "Remember History"'''
    -> go to Tools Menu -> Options -> Security -> place Checkmarks on:
    1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries
    -> go to Tools Menu -> Options -> Advanced -> General -> Remove Checkmark from '''Warn me when websites try to redirect or reload the page'''
    -> go to Tools Menu -> Options -> Advanced -> Network -> Offline Storage (Cache): click '''Clear Now''' button
    -> Click OK on Options window
    -> click the Favicon on SearchBar -> click '''Manage Search Engines''' -> select all Unwanted Search Engines and click '''Remove''' -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious/Incompatible Extensions (Add-ons)
    -> go to Tools Menu -> Add-ons -> Appearance section -> REMOVE All Unwanted/Suspicious/Incompatible Themes (Persona)
    -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons and Themes later. Check and tell if its working.

  • Set Safari 5.1 startup behavior to not resume

    Is there any way to configure the startup behavior in Safari 5.1 (7534.48.3) on Lion 10.7? It now always resumes whatever was running when I quit it. I would like to have it start on "Top Sites", but to do so now, I must navigate back there before I quit. Dumb.

    While I do not know of a preference to turn this off just for Safari..  You can close Safari by pressing Option + Command + Q to close Safari and it will NOT remember the last state.
    This is how I close Safari most of the time now, since upgrading to 10.7.
    I think the Resume function will be great for most other apps, just wish there was a more granular control of where it applies and where it does not.

  • Weblogic Optional Packages - Permgen Memory Space

    Hi,
    We are packaging some common jars as Optional Packages in weblogic and using them from different EAR files.We know for classes in side the EAR, each classloader creates individual clazz objects in the permgen space.
    For classes inside the Optional packages and which are referenced in multiple EAR,does weblogic create seperate clazz instances in the permgen space for each classloader? If so then it would mean that classes inside the Optional Package will be created multiple times in the permgen space (attributed to different classloaders)
    Any idea on the behaviour will be highly appreciated.Is the situation same with shared libraries ?

    Depends on where your optinal classes are located.
    If you insert them in the system (or server) classloader they will be loaded once, by the system
    classloader. You can use the ${DOMAIN_HOME}/lib directory for this purpose. The jars located in
    this directory will be picked up and added to the end of the server classpath at server startup.
    The jars will be ordered lexically in the classpath.
    If you are using shared libraries, these shared libraries will be merged at runtime with the
    applications referencing them, so they will be local to the application and to my knowledge
    loaded by the classloader of the application and not a separate shared library classloader. Thus
    if you reference the shared library from multiple applications, the shared libraries get merged
    multiple times and loaded multiple times. The reason is that WebLogic uses classloading
    isolation between the deployed applications, so that from a classloading perspective
    other applications do not bother other applications.

  • Generic Connection Framework Optional Package for J2SE

    i have learnt that the Generic Connection Framework Optional Package can be used to make J2SE able to use J2ME classes. However, how can i implement the package so that i can do so.
    Thank you for your advice.

    http://developers.sun.com/techtopics/mobility/midp/articles/genericframework/

  • Firefox 4 on Windows 7, Tools- Options- General- Startup- When FireFox Starts: Show my windows & Tabs from last time .. but on startup permanently shows only Firefox Default Home page

    Settings (Firefox 4 on Windows 7), Tools->Options->General->Startup->When FireFox Starts: Show my windows & Tabs from last time ..
    On startup permanently shows only Firefox Default Home page

    Make sure that you do not use [[Clear Recent History]] to clear the "Browsing History" if Firefox is closed.
    See also:
    * http://kb.mozillazine.org/Session_Restore

  • After deleting Win at partition 3, there is still Windows option at startup

    I bought an SSD, and hooked it with my old hdd to my system. There was a Mac and Win partition in my older drive. I erased system files, but couldn't formatted it because it has important info.
    Now at startup, i managed to erase second Mac option and second Recovery option, but there is still a second Windows option, which linked to nothing.
    My question is, how can i delete that obsolete option at startup? Is there anyway i can manually arrange that screen?

    I'm talking about the screen when starting up the computer and pressing alt button. there has to be 3 options, mac, windows and recovery. instead there is 4th setting named windows, if i hit it, black screen and a blinking cursor appears and nothing happens. because i uninstalled that windows, but instead of formatting that partition, i just deleted windows files, because i have important info in that drive.
    now, i want to delete that obsolete windows option at startup menu.

  • Optional package

    How can I add optional package (example the MMAPI) for a phone that does not implement it natively?
    is it possible?
    Example we have a P900 that does not support MMAPI for video... is it possible to extend its possibilities?
    Many thanks
    Greg

    (oops, error in previous post... wrong tag...)
    Hi Greg,
    In theory this would be possible, yes... However, this might be a lot of work because you will have to develop it in Java (as you cannot use a native language like C, there's no public native interface). This means that you will need to write things like playing back a video (from a stream), etc etc... All in Java; with its limitations. Sound playback (probably?) can be covered by the MMAPI (so you might need to extend a few pieces from MMAPI and use that within your Java Video MMAPI).
    Cheers

  • Optional package feature supported

    Do you support the optional package features? If yes , how?

    Hi Amol,
    WebLogic jDriver for Oracle fully supports the JDBC 2.0 Optional Package API for
    distributed transactions.
    Laurent Goldsztejn
    Developer Relations Engineer
    BEA Support
    "amol desai" <[email protected]> wrote:
    >
    Do you support the optional package features? If yes , how?

  • Restart deployment (.ear) does not load optional package

    Hello everybody,
    In our 10.3.5 WLS domains, we are using optional packages for sharing libraries between applications see [http://docs.oracle.com/cd/E24329_01/web.1211/e24368/libraries.htm|Creating Shared Java EE Libraries and Optional Packages]
    The problem is that if I redeploy the library I have to redeploy the deployment. This issue only happens with the applications packaged as *.ear*. If the application has been deployed as a .war, with restarting the deployment is enough.
    Would be possible to load the referenced library from an *.ear* just restarting the deployment?
    Thanks in advance,
    Luis

    Thanks Vimala,
    I have 1 ear project and 1 web service project.
    Attached my ant output when I run the build.xml.
    C:\wivWorkSpace\wivApp>ant build -Dworkspace=C:/wivWorkSpace
    Buildfile: build.xml
    init.env:
    init.typedefs:
    init:
    build:
    [echo] project.name = wivApp
    init:
    build:
    [echo] wivWS: C:\wivWorkSpace\wivWS\build.xml
    BUILD SUCCESSFUL
    Total time: 23 seconds
    C:\wivWorkSpace\wivApp>ant build -Dworkspace=C:/wivWorkSpace archive
    Buildfile: build.xml
    init.env:
    init.typedefs:
    init:
    build:
    [echo] project.name = wivApp
    init:
    build:
    [echo] wivWS: C:\wivWorkSpace\wivWS\build.xml
    init.env:
    init.typedefs:
    init:
    stage:
    [delete] Deleting directory C:\wivWorkSpace\wivApp\.staging
    [mkdir] Created dir: C:\wivWorkSpace\wivApp\.staging
    [copy] Copying 13 files to C:\wivWorkSpace\wivApp\.staging
    BUILD FAILED
    C:\wivWorkSpace\wivApp\build.xml:192: The following error occurred while executing this line:
    jar:file:/C:/BEAPLA%7e1/WEBLOG%7e1/workshop/lib/wlw-antlib.jar!/com/bea/wlw/antlib/antlib.xml:91: The follow
    ng this line:
    C:\wivWorkSpace\wivApp\build.xml:204: The following error occurred while executing this line:
    Target `stage.to.ear' does not exist in this project.
    Total time: 15 seconds

  • Use of Optional Packages

    Hello,
    I would like to know if there is any way to include in my application an optional package just in case the device does not have it in its Runtime Environment.
    What I was thinking is more like including all the classes from a jar file (e.g j2me-ws.jar JSR172) in my application's jar file.
    Thanks in advance,
    Nick

    Hi there,
    The reason it did not work is because it failed to decode doubles. But once I replaced the doubles in my WS with Strings everything went smoothly.
    Note: I was using CLDC1.1 so doubles should have been supported(The WTK emulators worked just fine, but the Nokia and Sony Ericsson emulators didn't).
    SO for everybody out there: try not to use doubles in your WS for the moment :) (WTK 2.2)
    Cheers, Nick

  • Confusion with JDBC Optional Package for CDC.

    I am somewhat confused as to where this optional package fits.
    1. Is the implementation of this optional package to be COMPLETELY supplied by the database vendor(e.g. hsqdb, Oracle)?
    OR
    2. Is there an implementation available from Sun?
    OR
    3. Has Sun simply not released an implementation yet?
    OR
    4. Am I completely missing something here and losing my mind :)
    OR
    Is the JVM supposed to supply the implementation?
    Thanks for any enlightenment.
    J

    The actual specification can be written without actually talking to a database (the spec is mostly interfaces). However, you are write in that along with these classes (which must pass the TCK) the database vendor must provide the rest. Unlike normal java.sql where there is a DriverManager class, that is not the case in JSR-169.

  • Is it possible to redeploy Optional Package(J2EELibrary)without versioning?

    Currently, I decided to use Optional Package feature for one of our common shared jar file as it is referenced by our multiple applications (ear files). I can understand, how I can deploy multiple version of the optional package in order for the referencing application to use it. I am planning to use this version feature for optional package in our Production Environment. However, my issue is I don't want to use this version feature in our development environment as it involves more work for the developers (overhead on the developers to specify the optional package version in their referencing application). Is there any way I can redeploy optional package in development environment? I can only redeploy only after undeploying all my 6 referencing applications, which is taking more time.

    Does any one have an example to implement Optional Package and versioning it?

  • Persistence Layer deployed as Optional Package

    Environment:
    - WebLogic 11g which consequently means EJB 3.0
    - Application has 3 modules: Web (referencing EJB and Persistence), EJB (referencing Persistence) and Persistence
    Could I deploy my persistence layer as an Optional Package or does it have to be a Shared Library?
    The reason I'm asking is that when I try to deploy my EJB module, WLS can't find the persistence unit being inject to it:
    Unable to deploy EJB: StocksBean from BLayer-1.0.0-SNAPSHOT.jar: No persistence unit named 'internalAppsPU' is available in scope BLayer-1.0.0-SNAPSHOT.jar. Available persistence units: []
    Persistence module is basically a JAR file deployed as an Optional Package with following in its Manifest:
    Extension-Name: PersistenceLayer
    Implementation-Version: 1.0.0-SNAPSHOT
    Specification-Version: 1.6
    in EJB's code I have:
    @Stateless(name="StocksBean", mappedName="StocksBean")
    public class StocksBean implements Stocks {
         @PersistenceContext(unitName = "internalAppsPU")
         private EntityManager em;
    and in EJB's JAR file I have:
    pLayer-Extension-Name: PersistenceLayer
    pLayer-Implementation-Version: 1.0.0-SNAPSHOT
    pLayer-Specification-Version: 1.6
    I'm deploying these one by one and not as an Application.

    Hi Arun,
    Thank you so much for taking time and responding. I'm still having the same issue.
    You see, I had the exact same problem when my persistence Entities were in the same Jar file as EJBs and I found out the problem was the name of the persistence.xml file (which was "Persistence.xml") and also the version of the namespace used in the XML file which conflicted with version of JPA's spi (version of JPA's spi in JEE1.6 is 1.0 and I was using version 2.0 of the namespace).
    However, I got that fixed and now I'm trying to separate the layers (just moved the files around and didn't change the content). Here is what I have so far:
    Name of Persistence Layer's JAR file: PLayer.jar
    Manifest of Persistence Layer's JAR file:
    Manifest-Version: 1.0
    Archiver-Version: Plexus Archiver
    Created-By: Apache Maven
    Built-By: bm03043
    Build-Jdk: 1.6.0_18
    Extension-Name: PersistenceLayer
    Implementation-Version: 1.0.0-SNAPSHOT
    Specification-Version: 1.6
    Name of EJB's JAR file: BLayer-1.0.0-SNAPSHOT.jar
    Manifest of EJB's JAR file:
    Manifest-Version: 1.0
    Archiver-Version: Plexus Archiver
    Created-By: Apache Maven
    Built-By: bm03043
    Build-Jdk: 1.6.0_18
    Extension-List: PLayer
    PLayer-Extension-Name: PersistenceLayer
    PLayer-Implementation-Version: 1.0.0-SNAPSHOT
    PLayer-Specification-Version: 1.6
    I didn't know that Extension-List entry in EJB's jar file should match with the name of Persistence layer's jar file.
    As for deployment, I deploy the Player and then EJB.
    Appreciate any input.
    Edited by: Keibi on Apr 26, 2012 11:30 AM

Maybe you are looking for

  • Iphone 5 is going crazy please help

    for some reason my iphone is having a paddy, it has 51 picutures on but it has used 6GB??? help please

  • T.Code of Customer Info Record and Sampling procedure

    Pls Tell me T.Code of Customer info Record and Sampling procedure.

  • HP Pavilion G6 1202sa Graphics Change

    Hi. I was wondering if I could upgrade my graphics card from my AMD card to a NVidia GeForce 9400 in my HP Pavilion G6 1202sa as my motherboard supports PCI-E which is what my card is. Any help would be greatly appreciated. 

  • H264 file crashes CC 2014 but not CC?

    I have some screen capture video files that load/import fine in premiere pro cc but crash cc 2014 whenever I try to load or import them. This is happening with the two CC applications on the same computer system, so nothing is changing but the app. I

  • MP3 volumes low in iTunes after bounce from master

    I know this is an old question but I am still baffled by this. When I bounce an mp3 from my mastered file It sounds great if I run it from my mac desktop. Drag it into iTunes and the volume cuts in half - at least. To make a test, I took my WAV maste