on weblogic shared lib

Hi people,

.  I'm using jdev 11.1.1.7.0. I have a basic application it folds of adbc components deployed in weblogic server as a shared library. I can summon these your in another application.

Thank you

Take a look at the shared libraries - Blog of Andrejus Baranovskis: deployment of Applications such as shared on WLS ADF libraries

Tags: Java

Similar Questions

  • EPCO adding weblogic shared libraries - can add it to a project of the EAR?

    Project > properties > Java Build Path > libraries tab > add library button > WebLogic Shared Libraries > next.

    the foregoing is not available for the EAR project...

    Andrew is describe something different. You cannot configure a library shared via the Java EE Module dependencies page reference. Who does something different.

    To answer the original question... An EAR project is not a Java project, so there is no way to build. You add references to shared library path to build some modules that need to access the types contained in the shared library. The tool will sort what descriptors must be modified to make this work. After you change the path to build, look in the view of problems for problems of differences between stuff referenced on the way to build and that specify the descriptors. Problem markers, you can access quick fixes for updating the descriptors.

    -Konstantin

  • iPad music Colocation - can't see any other shared libs on ipad

    I installed the roommate on my MBP and it seems that I have HS setup on my iPad BUT my iPad plays dumb-dumb and do not allow me to see the other libs, iTunes. There is no reason why this lark HS shouldn't work, I even disabled the firewall on my MBP but when same, dead as a dodo on the iPad.

    Pathetic! Pathetic! Pathetic! I had a hunch that maybe because I have no music on my iPad that stop me "roommate" mac to the iPad. It's true! Can you believe that people's Party? I had a single track on my iPad to budge on this. I do not see why this should be, and I think it's pathetic. Surely, when trying "homeshare" and no track resident on iPad, a wee dialog box appears to inform the user of the facts before "sharing." Nope. This little tiny piece of information that would allow an unlimited number of users was not coded by Apple developers. Idiots!

  • Solution: WSDL shared lib error on Fedora Core 6

    When you run coldfusion on Fedora Core 6, it seemed to me to get an error whenever I tried to consume a Web service. The same scenario worked fine on my development on OS X machine but not on the FC6 machine. Read error:

    coldfusion.jsp.CompilationFailedException: errors reported by Java compiler: / opt/coldfusionmx7/runtime/bin/jikesw: error while loading shared libraries: libstdc ++-libc6. 1 - 1.so.2: cannot open shared object file: no such file or directory.

    I found a quick solution on the web that worked. The lib does not appear to be installed by FC6 and coldfusion seems to demand it instead of another version. Simply find the library libstdc ++-libc6. 1 - 1.so.2, another server, or on the web, and then copy it to: /usr/lib/libstdc++-libc6.1-1.so.2

    You do not need to restart coldfusion, the script should work now.

    When you run coldfusion on Fedora Core 6, it seemed to me to get an error whenever I tried to consume a Web service. The same scenario worked fine on my development on OS X machine but not on the FC6 machine. Read error:

    coldfusion.jsp.CompilationFailedException: errors reported by Java compiler: / opt/coldfusionmx7/runtime/bin/jikesw: error while loading shared libraries: libstdc ++-libc6. 1 - 1.so.2: cannot open shared object file: no such file or directory.

    I found a quick solution on the web that worked. The lib does not appear to be installed by FC6 and coldfusion seems to demand it instead of another version. Simply find the library libstdc ++-libc6. 1 - 1.so.2, another server, or on the web, and then copy it to: /usr/lib/libstdc++-libc6.1-1.so.2

    You do not need to restart coldfusion, the script should work now.

  • [appldev@oracletrng5 ~] $. / lanceApp/bin/sh: error loading shared lib

    Hi hussein.

    I got error when I start my new cloned Oracle 11i Applications in OEL5.6
    [appldev@oracletrng5 ~]$ ./startAPP
    /bin/sh: error while loading shared libraries: libdl.so.2: 
    cannot open shared object file: No such file or directory
    Or any command line (like 'ls', 'cat', etc.) get this error :(
    But if I am a 'root' user I can run this.

    Help, please...


    Thank you

    Published by: Crystal on February 18, 2011 17:53

    What is the error?

    Make sure that apache log files for details about the error.

    Thank you
    Hussein

  • Deploy the shared library in WebLogic by EPCO

    Hello

    I'm deploying in WebLogic 10.0 an EAR file as a shared library.

    I am able to deploy using the server administration Console, but if I deploy the EAR by EPCO, the EAR is always deployed as an Application.

    Is it possible to deploy with EPCO as shared library? I declare the EAR as a shared library in any file descriptor before?

    Thank you
    Carles.

    If you save your shared library of the EAR in the preferences under WebLogic-> shared libraries then refer to this library in an application, EPCO will deploy the shared library when the listing application is deployed.

    -Konstantin

  • How to deploy taskflow with ADFBC as a shared library?

    Dear all,

    I'm deploying my taskflow as a shared library in WLS and I wanted to extend the webcenter spaces using this
    taskflow.

    Use case:
    My problem is this, my components ADFBC a taskflow. When I try to add this as library-ref in the weblogic.xml,
    I can't see this taskflow when I go to the catalogue of resources change-> add-> add library-> Taskflows

    I can't see my taskflow.

    To validate my case:
    I created a very simple taskflow who does not ADFBC, simply the JSF UI components and I could see this taskflow.
    I continue then add to my content in a page.

    Is there something specific I should do with my taskflow who has configured ADFBC?

    Thank you

    Basically, you will need to follow the steps of 52.3 of official documentation: http://docs.oracle.com/cd/E21764_01/webcenter.1111/e10148/jpsdg_wcsres.htm#BCFDFHHH

    Basically the steps are:

    -Deploy your Jar library tasks flow ADF as Shared Lib in WebLogic (don't forget set etc. etc. of META-INF...)
    -With the "DesignWebCenterSpaces" project, enter your weblogic.xml a Ref library to your sharing-lib and configure the config.properties for deployment.

    Kind regards.

    Daniel

  • Dummy issues of shared libraries

    Hello *.

    I'm painfully improves my understanding on shared libs. I read technical docs how reference them etc, but I guess I'm missing the concepts.

    I built a web service with 10.3 workshop that works of course the end of the workshop, the default settings, so the web service references 3 automatically shared libs.

    Now, I have manually deployed this Web service application to a managed instead of the admin server and it failed. I realized I have to target libraries shared with the managed server, which is understandable. But still, wouldn't not useful to have shared some libs targeted on all servers by default? (actually I don't know if there is such a thing, target to all servers, all I know is target to an entire cluster).

    Now, I tried to deploy the same web service to another domain with administration console. It does not work. Workshop deploys shared libraries but not admin.

    Now my main question is about the concept behind.

    1. is there a recommended way to get rid libraries shared for a workshop project, once it has been configured to use shared libs?
    Is the only way by manually adding the lib shared under WEB-INF/lib?

    2. is there a deployment shared dependent libs? I mean if workshop can do, couldn't wls admin do the same way?

    3. If I generate a build script, he'll deal with deployment shared libs?

    4 assume that I want to replace wls-commonslogging - bridge.war containing the commons - logging.jar.
    where is located the pot?

    I understand share libs make sense for larger projects, but I do not understand that I need to deploy 3 of them first to
    make a web service of Hello World running.

    curious,

    Barossa

    Published by: Barossa on February 18, 2009 21:17

    First of all, to questions of the workshop you can try this specific forum:
    Workshop

    Your question has certainly WebLogic components too. I would like to try some of them.

    >

    1. is there a recommended way to get rid libraries shared for a workshop project, once it has been configured to use shared libs?
    Is the only way by manually adding the lib shared under WEB-INF/lib?

    This would be a way, another way would be APP-INF/lib of the EAR. Shared libraries are defined in weblogic.xml or weblogic-application xml. Usually a domain is configured with libraries that will be deployed when you create if you are just using the standard libraries of shared as part of the workshop, WebLogic etc. You can also make sure that your deployment mechanism, such as WLST, verifies that the libraries are deployed.

    >

    2. is there a deployment shared dependent libs? I mean if workshop can do, couldn't wls admin do the same way?

    It is my understanding that it is a convenience mechanism that workshop built specifically. You shared libraries are defined in the workshop in the preferences so that he knows where to find if they are absent, it is not necessarily true for the deployment of the server administrator.

    3. If I generate a build script, he'll deal with deployment shared libs?

    No doubt WLST can be used to do this.

    4 assume that I want to replace wls-commonslogging - bridge.war containing the commons - logging.jar.
    where is located the pot?

    Can't remember offhand (not on my normal machine right now), but you should be able to check easily by searching for your installation of WLS for shared library name (the war in this case). In addition, workshop should have a reference somewhere in the preferences.

    I understand share libs make sense for larger projects, but I do not understand that I need to deploy 3 of them first to
    make a web service of Hello World running.

  • starting the server do not log4j.jar placed in the domain root/lib folder

    Hello

    I use oracle Weblogic server 11g Release 1 (11.1.1.6) and at the time of implementation of Log4j I am faced in error, I followed these steps



    1. copy wllog4j.jar in your WebLogic server/lib directory and place it in your domain_root/lib folder.
    2. copy your version of log4j.jar to your domain_root/lib folder.
    3. copy your log4j.xml to your domain_root folder.
    4. connect the console to the WebLogic Admin Server click servers-> server-> check Admin. Click Advanced mode, and change the implementation of the JDK to Log4J logging. Save your changes.

    Most of the blogs had these items, but the only critical part missing:
    5. (Linux) edit the setDomainEnv.sh file domain_root/bin directory. and look for the following code:


    If ["${LOG4J_CONFIG_FILE}"! = ""]; then
    JAVA_PROPERTIES = "${JAVA_PROPERTIES} - Dlog4j.configuration = file: ${LOG4J_CONFIG_FILE}" "
    export JAVA_PROPERTIES
    FI


    Insert the following above these lines of code (replace the path with the domain_root from your system directory):


    LOG4J_CONFIG_FILE = "/ u01/app/Oracle/middleware/user_projects/Domains/base_domain/log4j." XML ".
    Export LOG4J_CONFIG_FILE


    5. (Windows)
    Modify the setDomainEnv.cmd domain_root/bin directory. and look for the following code:


    in the CONTRARY case () "% LOG4J_CONFIG_FILE %"is.
    Set JAVA_PROPERTIES = % JAVA_PROPERTIES %-Dlog4j.configuration=file:%LOG4J_CONFIG_FILE%
    )


    Insert the following above these lines of code (replace the path with the domain_root from your system directory):


    Set LOG4J_CONFIG_FILE=%DOMAIN_HOME%/log4j.xml



    6 activate the changes, and then restart the management server.

    Here is an example of log4j.xml file. Of course, you will need to update to a valid location for your file appender and replace yourcompany and VotreProject with valid values.


    <? XML version = "1.0" encoding = "UTF-8"? >
    <! DOCTYPE log4j:configuration SYSTEM "log4j.dtd" >
    < log4j:configuration xmlns:log4j = "http://jakarta.apache.org/log4j/" debug = "false" >
    <!--====================================================================-->
    <! - appenders - >
    <!-%d {dd-MMM-yy HH} % - 5 p [%c {1}] %%n-> m
    < name appender = "CONSOLE" class = "org.apache.log4j.ConsoleAppender" >
    < param name = "Target" value = "System.out" / >
    < class = "org.apache.log4j.PatternLayout layout" >
    < param name = "ConversionPattern" value = "% [p] - %m (%F:%M:%L)%n"/ >) "
    <!-param name = "ConversionPattern" value = "%d {ISO8601} %p [%c {1}]-%m (%F:%M:%L)%n"/-->) "
    < / page layout >
    < / appender >

    < name appender = "The FILE" class = "org.apache.log4j.RollingFileAppender" >
    < param name = "File" value="/temp/logs/yourproject.log"/ >
    < param name = "Append" value = "true" / >
    < class = "org.apache.log4j.PatternLayout layout" >
    < param name = "ConversionPattern" value = "{ISO8601} %d %t % - 5 p %c {2} - %m%n"/ > "
    < / page layout >
    < / appender >

    <!--====================================================================-->
    <! - recording levels - >

    < name = "com.yourcompany.yourproject category" >
    < value priority = "DEBUG" / >
    < / category >

    < name = "org.apache category" >
    < value priority = "NOTIFY" / >
    < / category >

    < name = "org.springframework category" >
    < value priority = "NOTIFY" / >
    < / category >

    <!--===================================================================-->
    <! - appender assignments - >
    < root >
    < value priority = "ERROR" / >
    < Ref appender-ref = "FILE" / >
    < / root >
    < / log4j:configuration >







    The weblogic Server Getting does not his next error throw log4j.jar



    [18: 57:44] Girish A Patil: August 7, 2012 18:56:02 IST > < critical > < WebLogicServer > < BEA-000386 > < su Server
    bsystem failed. Reason: java.lang.NoSuchMethodError: com.bea.logging.LogBufferHa
    ndler.getServerLogBufferHandler (mCol, bea, recording, LogBufferHandler);
    java.lang.NoSuchMethodError: com.bea.logging.LogBufferHandler.getServerLogBuffer
    Manager (mCol, bea, recording, LogBufferHandler);
    at weblogic.logging.log4j.JDKLog4jAdapterFactory.createAndInitializeServ
    erLogger(JDKLog4jAdapterFactory.java:82)
    to weblogic.logging.ServerLoggingInitializer.initializeServerLogging (Ser
    verLoggingInitializer.java:50)
    to weblogic.diagnostics.lifecycle.ServerLoggingLifecycleImpl.initialize)
    ServerLoggingLifecycleImpl.java:43)
    to weblogic.diagnostics.lifecycle.DiagnosticFoundationService.start (Diag
    nosticFoundationService.java:108)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. check the log file full stacktrace
    >
    ***************************************************************************
    The WebLogic Server has encountered a critical failure
    Reason: Assertion violated
    ***************************************************************************
    Exception in thread "main" java.lang.NoClassDefFoundError: has not been initialized
    class weblogic.protocol.ServerIdentityManager$ Initializer
    at weblogic.protocol.ServerIdentityManager.findServerIdentity (ServerIden
    tityManager.java:64)
    at weblogic.protocol.URLManager.findAdministrationURL (URLManager.java:17
    3)
    to weblogic.server.ServerLifeCycleRuntime.getLifeCycleOperationsRemote (S
    erverLifeCycleRuntime.java:1078)
    at weblogic.t3.srvr.ServerRuntime.sendStateToAdminServer (ServerRuntime.j
    AVA: 429)
    at weblogic.t3.srvr.ServerRuntime.updateRunState(ServerRuntime.java:415)

    at weblogic.t3.srvr.T3Srvr.setState(T3Srvr.java:206)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:482)
    in weblogic. Server.main (Server.Java:71)



    How do I give the address of log4j.jar in setDomainEnv.cmd please specify the server

    Concerning
    Mayur Mitkari

    You are in the wrong file, that is, of setDomainEnv (located in the ${DOMAIN_HOME} / bin directory).

    You should look in the file commEnv - located in the directory ${WL_HOME} / common/bin.

    Also note that the example above is for Linux and you're on Windows. Under Windows, you will need to use something like:

    Set WEBLOGIC_CLASSPATH=%WEBLOGIC_CLASSPATH%;DIRECTORY_WHERE_YOU_PLACED_YOUR_JARS\log4j.jar

  • WebLogic directory changes

    Hi team,
    I intend to change the structure of directories in the production environment current to what the BEA would recommend, I would lie to know if I can see any possible problem if I make the following changes. I'm worried if config.xml or any file can corrupt or bring an unknown problem.

    As my old domain is under ' / usr/local/bea10/user_projects/domains/ProductionDomain "(old) directory under linux.". " I'll 'zip' upward and then pull out the field "/ opt/qa/qadomain ' directory.and will then do the below changes to setDomainEnv.sh & startWeblogic.sh and startManagedWeblogic.sh files. Please let me know if there is a possible problem with the configuration files associated with BEA.

    Is currently working on a sample environment, before moving on to the prod
    Changes: -.

    a.Domain_Home to/usr/local/bea10/user_projects/domains/ProductionDomain "(old)" "

    Domain_Home to "/ opt/qa/qadomain"(new).»

    b.Log4j - file-Location to ' / usr/local/bea10/user_projects/domains/ProductionDomain/log4j "(old) to ' / usr/local/appstage/qadomain/config/log4j / ' (entrance A-dlog4j.configuration=/usr/local/appstage/qadomain/config/log4j/log4j.qa.properties)." "

    to "/ usr/local/bea10/weblogic/common/lib /" (old) c.Master - pots-map to "/ usr/local/appstage/qadomain/lib / ' (entrance to CA_COMMON =" / usr/local/appstage/qadomain/lib ')

    d.LONG_DOMAIN_HOME to/usr/local/bea10/user_projects/domains/ProductionDomain "(old)" "

    LONG_DOMAIN_HOME = "/ opt/QA/qadomain" (New).

    e.WILY_HOME->/usr/local/bea10/user_projects/domains/ProductionDomain/wily "(old)" ""

    WILY_HOME-> "/ usr/local/admintools/cunning".

    As long as you change the new locations in all files and scripts, you should be good. As you try it in a non-production environment, you will know if you missed something.

    Harsha - Chava

  • How to reach the property file / resource bundle in webcenter

    Hello

    How to make a properties file / resource bundle file in webcenter?

    I kept a few images on my server. I got all of the URLS. I want to store these URLS in a file and I need a key attribute for each URL.

    So if I ever want to change the URL of images, I have to change it in one place, that is to say, that in this properties file.

    Please tell me how do to images used on webcenter.

    Thank you

    A

    Well, if it's just a webcenter application properties file, I'll suggest.place your property file in class path and read it. If the user can be updated without changing the code.

    Try this

    • Add a JVM parameter for managed servers WC_CustomPortal, WC_Portlets, and where your applications are run to find the path of the properties file. Pour-Dtranslation.properties=/opt/translations DS
    • Use the Library of Configuration Apache Commons which provides an API to read and add a policy of charging for properties files.
    • Create your own helper class to make an easier way to manage properties and deploy in a common shared-lib to be used by all applications.

    Where you have saved your image? I will suggest you to store images in WCC or deploy the image, under shared css lib in weblogic file.

    See http://www.techartifact.com/blogs/2014/11/uploading-static-file-image-in-webcenter-portal-for-template.html

  • Custom pages OAF does not not in the R 12.2.4 upgrade

    Hi guys,.

    We are upgrading to R R 11.5.10.2 12.2.4. We have copied our instance of generation of Production and improved to R 12.2.24. Now, there is a problem with the custom pages OAF. It seems that the custom java class files are not get covered by the application.

    Since it is the body build, I am applying custom patch directly in the file system to run (fs1) and I am getting below error while executing one of the custom of the OPS page:

    oracle.apps.fnd.framework.OAException: could not create Java class: (oracle.apps.xxfe.f486.asn.lead.webui. ASNLeadQryCOEx) associated with the area: (ASNLeadQryRN). It is probably because the class name is incorrect or not included in the project.

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)

    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2848)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1991)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    I think that it is simply saying that it couldn't find the java class. But I checked in the system as indicated below, the class files are roughly:

    $ cd $JAVA_TOP

    $ cd oracle/apps/xxfe/f486/asn/lead/webui /.

    $ ls - ltr

    total 10

    -rw - r - r - 1 a2bur12a s/n 5693 7 Jan 13:23 ASNLeadLstCOEx.class

    -rw - r - r - 1 a2bur12a s/n 3397 7 Jan 13:23 ASNLeadQryCOEx.class

    I also checked the class path, which is also to top java:

    $ cd $JAVA_TOP

    $ pwd

    / opt/lapp121/FS1/EBSapps/COMN/java/classes

    $ echo $CLASSPATH

    /opt/lapp121/fs1/EBSapps/comn/util/jdk32/lib/dt.jar:/opt/lapp121/fs1/EBSapps/comn/util/jdk32/lib/tools.jar:/opt/lapp121/fs1/EBSapps/comn/util/jdk32/jre/lib/rt.jar:/opt/lapp121/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/opt/lapp121/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw/WEB-INF/lib/ebsFMWManifest.jar:/opt/lapp121/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/opt/lapp121/fs1/FMW_Home/oracle_common/modules/oracle.uix_11.1.1/uix2.jar:/opt/lapp121/fs1/EBSapps/comn/java/classes:/ opt/lapp121/fs1/EBSapps/10.1.2/forms/java:/opt/lapp121/fs1/EBSapps/10.1.2/forms/java/frmall.jar:/opt/lapp121/fs1/EBSapps/10.1.2/jlib/ewt3.jar:/opt/lapp121/fs1/EBSapps/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar

    I've heard that it takes run the utility adcgnjar and when I tried, I got the message below:

    Generation customall.jar...

    Do not create custom not customall.jar like no java directory under JAVA_TOP.

    Maybe it's because the location of the custom folder which is$JAVA_TOP/oracle/apps/xxfe

    I also tried to install these custom features of the OPS in online marking (as per my understanding following the features of online marking is not required (this is just an instance of generation) so earlier I had installed directly in the file system to run). But in following mode of patch, I had some error in ADOPTION (prepare) as below:

    FATAL ERROR *.

    PROGRAM: (/ opt/lapp121/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)

    TIME: Fri Jan 9 15:07:37 2015

    FUNCTION: main::validatePatchLocation [level 1]

    ERRORMSG: / opt/lapp121/fs_ne/EBSapps/patch/19258581 directory does not exist.

    [UNEXPECTED] Error occurred during execution 'perl /opt/lapp121/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl-


    Notice that I use the commands below to bounce at the intermediate level:

    1. stop adapcctl.sh
    2. admanagedsrvctl.sh stop oacore_server1
    3. Enter the password for Weblogic: < pass >
    4. admanagedsrvctl.sh start oacore_server1
    5. Enter the password for Weblogic: < pass >
    6. adapcctl.sh start


    I am mainly looking for the installation of this file system customization to run if it is absolutely not necessary to do so in the patch file system.


    Please let me know if anyone knows about it, or any way to go?

    Thank you

    Anupam

    Hello

    I could solve this problem. I am writing the solution that worked for reference:

    1. When the custom java files are placed in one of the shipped Oracle directories of the application (for example $JAVA_TOP/oracle/apps/fnd, $JAVA_TOP/oracle/apps/ad, etc) then the creation of custom jar file is not necessary.
    1. When the custom java files are placed in $JAVA_TOP // and then run the utility adcgnjar.
    1. Deploy customizations that are created in the package. oracle.apps.xxprod * and no xxprod.oracle.apps. * or xxprod.oracle.apps.xxprod. * on EBS 12.2.X?

    It was our case because we have a custom directory under $JAVA_TOP/oracle/apps/xxfe

    When the custom java files are placed in any other non-standard location (for example $JAVA_TOP/oracle /, $JAVA_TOP/oracle/java / etc) then custom jar file must be created manually and must be made available for WebLogic to pick it up.

    Detailed instructions are given below:

    Create a temporary custom.zip file that contains the entire application customized to the non-standard location directories/files:

    (1) cd $JAVA_TOP

    (2) zip r - customprod.zip. Where the list of all directory paths are present, compared to $JAVA_TOP for the custom to the non-standard location application java files.

    Generate customprod.jar file & sign 3).

    Command: adjava oracle.apps.ad.jri.adjmx - areas $JAVA_TOP/customprod.zip - outputFile $JAVA_TOP / customprod.jar - jar $CONTEXT_NAME 1 CUST jarsigner - storePass - keyPass

    (4) delete temporary customprod.zip.

    Command: rm $JAVA_TOP/customprod.zip

    (5) follow the steps below to allow the custom WebLogic jar

    (a) to take a backup copy of the existing /admin/template/ebsProductManifest_xml.tmp

    (b) modify /admin/template/ebsProductManifest_xml.tmp to add the customprod.jar (after customall.jar)

    (c) execute AutoConfig

    (d) bounce midrange services

    Thank you

    Anupam

  • WebCenter large Portal Site with Jar of deployment/Configuration files

    Hello

    I have a large portal of WCS to deploy comprising many different groups 'applications'.
    Ideally, we want to deploy as an .ear file, containing menus, templates, preferences and a few other common structures.
    We want to challenge each request as a .jar File. What is the best way to do it?

    Can we build menus pointing to Taskflow .jar files without incorporating the .jar file in the application?



    Thank you very much


    João,

    To use the workflow in your WebCenter Portal Application you provide in JDeveloper, ADF JAR library classpath.
    However, when you deploy your WebCenter portal, you can configure your deployment profile to only deploy the library with the WebCenter Portal Application.
    Then just reference the shared lib deployment in weblogic.xml file.

    Kind regards.

  • java.lang.ClassNotFoundException: oracle.stellent.ridc.IdcClientManager

    Hi all
    JDeveloper 11.1.1.6 with Bathroom Extension
    RIDC library included in my project
    Integrated WLS has the oracle.ucm.ridc.app - lib (11.1.1,11.1.1) as a shared library.

    I get the error as in the subject when I run my application and you're trying to check in a document to the Complutense University of MADRID on the next line -
    IdcClientManager checkinmanager = new IdcClientManager();
    Interestingly, when I run the same class with a main method, it goes through fine, which probably means that the class is not picked up from the shared library.
    No idea what I'm doing wrong here.

    Class IdcClientManager is present in oracle.ucm.ridc - 11.1.1.jar, which is part of CRMI JDeveloper Extension deployed as a shared lib oracle.ucm.ridc.app - lib (11.1.1,11.1.1) on weblogic.

    Under the project Technologies tab, select RIDC, which will automatically add the RIDC shared lib weblogic-application.xml/weblogic.xml mention. (See sections 23.11.1, 23.11.2 in http://docs.oracle.com/cd/E23943_01/doc.1111/e10807/c23_ridc.htm#BABEIGAA)

    Thank you
    Bharat

  • Check that this class has been marked with the annotation @Entity

    Hello


    We have a level of the shared lib App that makes all the APP associated with request for an application. And each application can use the lib goes to get the related JPA query to do.
    To define the scope of the Joint Parliamentary Assembly between App. We have created the EMF for each application.

    When an application to run and any associated APP action that it works fine, but when trying to run a second application we are seeing the following error message when you try to do a specific action JPA.


    the @Entity annotation.
    [2012 05-23 T 04: 08:16.839 - 07:00] [WC_Spaces] [ERROR] [] [oracle.webcenter.spaces] [tid: [ASSETS].] [ExecuteThread: '3' for the queue: "(self-adjusting) weblogic.kernel.Default"] [ecid: 5825b814-2931-4ad5-8dc3-3e18f66992b7-00000004,0] [APP: webcenterCustom] []
    java.lang.IllegalArgumentException: unknown entity bean class: oracle.webcenter.spaces.internal.repository.WcSpaceHeader class, please check that this class has been marked with the @Entity annotation.
    at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:648)
    at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:532)
    at oracle.webcenter.spaces.internal.repository.SpaceRepositoryUtils.refreshSpaceRows(SpaceRepositoryUtils.java:1791)


    Where WcSpaceHeader is an entity.

    To create emf by App, this is the code


    private static EntityManagerFactory getEntityManagerFactory()
    {
    String appName = Utility.getApplicationName ();
    EntityManagerFactory emf = sEntityMgrFactory.get (appName);

    if(EMF==null)
    {
    EMF = Persistence.createEntityManagerFactory ("SpacesReposPUnit");
    sEntityMgrFactory.put (appName, emf);
    SpacesConstants.LOGGER.info ("Caching" +)
    ("EMF for" + appName);
    }

    return of the emf;
    }



    My persistence.xml

    <? XML version = "1.0" encoding = "US-ASCII"? >
    < persistence xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
    xsi: schemaLocation = "http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd".
    version = "1.0" xmlns = "http://java.sun.com/xml/ns/persistence" >
    < name of persistence - unit = "SpacesReposPUnit" transaction-type = "RESOURCE_LOCAL" >
    <>provider
    org.eclipse.persistence.jpa.PersistenceProvider
    < / provider >
    oracle.webcenter.spaces.internal.repository.WcSpaceHeader < class > < / class >
    oracle.webcenter.spaces.internal.repository.WcSpaceUsrDetail < class > < / class >
    oracle.webcenter.framework.service.jpa.WcCommonXlationEntity < class > < / class >
    oracle.webcenter.spaces.internal.repository.WCNavigationActivity < class > < / class >
    Properties of <>
    < name = "eclipselink.session.customizer property"
    value="Oracle.WebCenter.spaces.internal.repository.SpacesEclipselinkSessionCustomizer"/ >
    < / properties >
    < / persistence - unit >
    < / persistence >



    Another problem I see in this is that. When I create an EMF EM, (which is different for different app) and do a query, I get a class cast Exception.


    [(self-adjusting)'] [ecid: 5825b814-2931-4ad5-8dc3-3e18f66992b7-00000004,0] [APP: webcenterCustom] []
    java.lang.IllegalArgumentException: unknown entity bean class: oracle.webcenter.spaces.internal.repository.WcSpaceHeader class, please check that this class has been marked with the @Entity annotation.
    at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:648)
    at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:532)

    It is a problem of class loader, somehow you have deployed the same classes in two places, have two versions of the classes.

    How, exactly made things, where are your domain classes?

    The questions is more likely that,
    Persistence.createEntityManagerFactory ("SpacesReposPUnit");
    always returns the same plant once it has been deployed.

    If you pass a map properties for createEntityManagerFactory and set the property "name eclipselink.session" a single value, then you should get a new plant.

Maybe you are looking for