Deployment (Ejb and third party jars with portal app)

My problem is that I'm trying to set up the development env for a portal project.
I have an ejb and a third party jar in my portal app. My portlets have some java
classes associated with them. The ejb needs to reference(instantiate) the java
classes in the portlets.
Right now the only way I can get it to work is to put the ejb, third party jar
and the portlet classes(jarred up) into the classpath of the server.
I think there should be a way to deploy these things without putting them in the
class path. I've read all the manual sections about deploying.
Can anyone help me with this. It would be much appreciated.
Thanks
Rob Castle
Principal
NuWave Solutions, LLC
12510 Prosperity Drive
Suite 300
Silver Spring, MD 20904
office phone: (301) 625-3000 ext. 2003
mobile phone: (410) 340-5529
email: [email protected]
website: www.nuwavesolutions.com

On 01/10/2002 06:40 AM, Rob Castle wrote:
My problem is that I'm trying to set up the development env for a portal project.
I have an ejb and a third party jar in my portal app. My portlets have some java
classes associated with them. The ejb needs to reference(instantiate) the java
classes in the portlets.
Right now the only way I can get it to work is to put the ejb, third party jar
and the portlet classes(jarred up) into the classpath of the server.
I think there should be a way to deploy these things without putting them in the
class path. I've read all the manual sections about deploying.
Refer to the portal deployment guide
(http://edocs.bea.com/wlp/docs40/deploygd/index.htm). Also refer to
http://edocs.bea.com/wls/docs61/ejb/deploy.html for more general
information on deployment of ejbs.
Regards,
Subbu

Similar Messages

  • Using third party jars with Oracle Business Rules

    Hi
    I am working on Oracle AS 10g release 2.
    We are using Oracle Business Rules in integration with Oracle BPEL.
    While using third party jars however, Oracle Business Rules end is facing errors.
    Error during unmarshallingProvider com.sun.xml.bind.ContextFactory_1_0_1 not found
    oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: com.sun.xml.bind.ContextFactory_1_0_1
    Dependent class: javax.xml.bind.ContextFinder
    Loader: oracle.xml:10.1.0_2
    Code-Source: /D:/oracleasr3/lib/xml.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\oracleasr3\j2ee\home\oc4j.jar
    Can anybody help in figuring out where Jaxb jars(3rd party jars) are to be kept so that OAS access it?
    We tried using the applib folder to load the jars but we are getting class loading errors.
    When new instances are created, class loading is not happening.
    Pls help.
    Thanks
    Kavya

    Are you using Application Server Release 3 or Release 2? There are different versions listed in your mail.
    I think you probably want to add this as a shared library via EM and then import the shared library to your application with the application's xml config files.

  • Third party integration with Oracle Apps

    Hi friends,
    I have a dot net application and I would like to integrate that with oracle applications(specifically HR module). Can I do that? Does oracle apps provide any APIs to provide this third party integration with 3rd party software we have?
    can you please post any links if there is one which helps me in this direction
    thanks

    Hello,
    I am new on this forum and I have difficulty in beginning.
    I'm working in a similar project, indeed I need an example or a document which can help me for using the HRMS api's of oracle e-business suite via a dotNet plateform or SharePoint application.
    I have to work on a middelware allowing retreiving and persisting data from oracle e-business suite database using oracle HRMS api's like hr_appraisals_api. So haw can i call these api's from .NET application how can i use a .NET code to call these api's ?
    Can you help me please ? i'm waiting for your answers if possible and this is my e-mail address if necessary "[email protected]" .
    I would be so grateful if someone can help me. Thank you in advance.
    Cordially.

  • During deployment include certain third party jars using deployment API.

    I am trying to deploy using the weblogic deployment API ( Weblogic 10.0) and want to include certain external jars during the deployment process. I have found that one way is to provide in the setWLSenv.bat but I cannot include the external jars that are runtime specific.
    In websphere we can pass the classess as a parameter (-cp) to the WAS Deploy tool (ejbdeploy) but need to find how to do it in Weblogic 10.0
    Edited by: user10643013 on Nov 23, 2008 10:40 AM

    IDE and Maven have nothing to do with it.
    You need to look at your Oracle AS docs and put the 3rd party JARs in the directory where it expects to find them. I don't know where that is. Most Java EE app servers are different. WebLogic uses an APP-INF directory at the top level of the EAR file. I don't believe it's a Java EE standard. There's more variability in EAR arrangements than there is for WAR files. Those are standard.
    %

  • Integrating Third Party Data with BI Apps

    Hi,
    I have had a couple of inquiries from customers interested in BI Applications, but who want to integrate their reporting with data from other operational systems.
    My question is: what is our recommended best practice for this scenario. Would we recommend customers to maintain two separate data warehouses with a single BI Server pointing to them and do the 'integration' at the enterprise model layer; or would we recommend the incorporation of their operational data into the BI Applications DW?
    Obviously there are pros and cons for each and I would be interested to hear your views on these, understand what the implications are, and understand what our recommend approach is.
    Thanks,
    JOHN

    I am not sure of any standard integration programs specific to recruitment, but through customization we can integrate third party rectt systems like People click, HRP etc.
    Develop inbound programs with ALE-IDOC system to transfer the data to Rectt tables.
    The switch will control activation of integration between the systems.
    If this helps, pl do reward.
    Thanks
    Narasimha

  • Best way to make a jar with third party jars

    hi, i have a question.
    i have an application that uses different third party jars. For the moment i make my jar like this :
    a) i include all my third party jars (it is working)
    or is it better to
    b) include the jars in the jnlp file
    if b is better should i :
    b1) link to them to another jnlp file, like this :
    <extension name ....
    or
    b2) just put them as resources
    Another question :
    i sign my jar, but can't access the local file system. if i use solution a from above, do i have also to sign the jars that i include in my jar...
    for solution b i think i will have to sign all the jars... right ?
    Thx for your help

    hi, i have a question.
    i have an application that uses different third party
    jars. For the moment i make my jar like this :
    a) i include all my third party jars (it is working)
    or is it better to
    b) include the jars in the jnlp file
    this is best, leaving the third party jars alone.
    if b is better should i :
    b1) link to them to another jnlp file, like this :
    <extension name ....
    If you app needs all-permissions, it is best to do it this way, you can, for example, sign your jar, and then ask for all-permissions in the main jnlp file, then not ask for all-permissions in the extension jnlp file. Or you can ask for all-permission in the extension as well, if the third party jars are signed, and need all-permissions to run properly.
    or
    b2) just put them as resources
    if you don't need all-permissions anywhere, this is easiest.
    If you do need all-permissions everywhere, you could also do this, but you would need to sign the third party jars with the same certificate chain as you signed your jar.
    If the third party jars are allready signed by the third party, or if all-permissions are only needed in some of the jars, the b1 is beter.
    >
    Another question :
    i sign my jar, but can't access the local file
    system. if i use solution a from above, do i have
    also to sign the jars that i include in my jar...
    You need to add :
    <security> <all-permissions/> </security>
    to your jnlp file. In that case, all the jars listed as resources in that jnlp file need to be signed, and by the same certificate.
    for solution b i think i will have to sign all the
    jars... right ?
    yes
    Thx for your help/Andy

  • NoClassDefFoundError after adding third-party jars... need help

    Hello SDN! I'm strongly need your help.
    I'm developing a WD Java application which contains followed DCs:
    AppDC is a Web Dynpro which contains application-depended views, controllers, runnable WD app.
    ExporterDC is a Web Dynpro DC with no applications, this is helper DC for export table data into Excel and other formats
    MainDC is a Web Dynpro DC with no applications, this is a basis DC. This DC contains some common useful views and controllers which used by AppDC
    JavaDC is a Java DC (not J2EE Server Component) which contains my own common helper classes
    LibsDC is a External Library DC which contains third-party jars used by apps
    J2eeDC is a J2EE Server Component Library DC which is just a wrapper for LibsDC
    These DCs has followed  dependencies:
    LibsDC is Used DC for J2eeDC (both assemble and compile types) with Build-time dependency
    J2eeDC is Used DC for JavaDC (defLib) with Build-time and Run-time dependencies
    JavaDC is Used DC for ExporterDC, MainDC and AppDC (both assemble and compile types) with Build-time dependency
    ExporterDC is Used DC for MainDC (both assemble and compile types) with Build-time dependency
    MainDC is Used DC for AppDC (both assemble and compile types) with Build-time dependency
    Build perform without errors. I can deploy build results of J2eeDC, ExporterDC, MainDC and AppDC. But when I call my application I get NoClassDefFoundError at row of ExporterDC where is the first call of class from JavaDC which has reference to classes from third-aprty jars.
    Please note that I'm not using third-party jars in WD DCs, these jars used only in JavaDC.
    I've read quite many threads and blogs but I can't to find solution.
    P.S. I'm working with NW 7.0 SP 14, all DCs are local.
    Hell will be apriciated!
    Regards, Lev

    Hi!
    Thank you for reply!
    Here are few jars in Entities for assembly PP and compile PP in ExtLibrary DC. In "properties" tab property "type" has value "Archive" for every of jar in Entity.
    About blog - this blog about situation when Web Dynpro DC use third-party jar. But in my situation Web DC uses Java DC, there is no references to jars in code of WD DC. Only Java DC references to jars.
    regards, Lev

  • Create a JAR including third party JARS

    How can I export my project into a JAR file also including the third party JARs being used from my application (project)?
    I think Eclipse does not support this, does it?
    The problem is, that when I export my project into a JAR and then manually put the required JARs into the JAR using WinZip I do get such an Exception:
    java.lang.NoClassDefFoundError: oracle/ucp/jdbc/PoolDataSourceFactory
    In my project I have a class (Runner.java) with a main method which the user can invoke from command line. Furthermore I have a GUI also with a main method which internally invokes Runner.java. How can I start either of themain methods/classes both in the same JAR?
    Thank you.

    hi, i have a question.
    i have an application that uses different third party
    jars. For the moment i make my jar like this :
    a) i include all my third party jars (it is working)
    or is it better to
    b) include the jars in the jnlp file
    this is best, leaving the third party jars alone.
    if b is better should i :
    b1) link to them to another jnlp file, like this :
    <extension name ....
    If you app needs all-permissions, it is best to do it this way, you can, for example, sign your jar, and then ask for all-permissions in the main jnlp file, then not ask for all-permissions in the extension jnlp file. Or you can ask for all-permission in the extension as well, if the third party jars are signed, and need all-permissions to run properly.
    or
    b2) just put them as resources
    if you don't need all-permissions anywhere, this is easiest.
    If you do need all-permissions everywhere, you could also do this, but you would need to sign the third party jars with the same certificate chain as you signed your jar.
    If the third party jars are allready signed by the third party, or if all-permissions are only needed in some of the jars, the b1 is beter.
    >
    Another question :
    i sign my jar, but can't access the local file
    system. if i use solution a from above, do i have
    also to sign the jars that i include in my jar...
    You need to add :
    <security> <all-permissions/> </security>
    to your jnlp file. In that case, all the jars listed as resources in that jnlp file need to be signed, and by the same certificate.
    for solution b i think i will have to sign all the
    jars... right ?
    yes
    Thx for your help/Andy

  • NoClassdefFoundError on the third-party jar's classes when building APK

    I am building a native extension for Android.
    For the android library, I create a android project and add several third-party jar files to build path.
    I extract a jar file from a android project and merge it and third-party jar files into a single jar file.
    I package ANE using a merged jar file and build a APK.
    When I install a APK and launch it, NoClassdefFoundError on the third-party class occurs.
    I use Flash Builder 4.6 and set sdk version to the Flex SDK 4.6.0 + AIR SDK 15.0.0.356.
    I decompile APK and check the classes.dex.
    Strangely a certain jar's classes are missing in the classes.dex.
    I tried googling and found a similar case.
    The following is the link :
    http://stackoverflow.com/questions/24777394/noclassdeffounderror-on-thirdparty-class-files -when-building-adobe-native-extens
    I try to follow the answer in this link.
    Did dx.jar in the AIR SDK really strip out some classes of third-party jar file??
    I inquired the java version of the third-party related with NoClassdefFoundError.
    Now I am waiting for the reply.
    Is anybody else know about this?

    The android-support-v4.jar is same.
    I check android-support-v4.jar's classes in ANE.
    But they are missing in APK after release build.
    I don't know why.
    I use Flash Builder 4.6 and Flex SDK 4.6.0 + AIR SDK 15.0.0.356.
    Is there anyone else know about this???

  • Ear files and third-party packages

    Hi all.
    I don't know where to put a third-party .jar package into an ear file. Does it have to go under the META-INF folder, or maybe it has to go at the same folder as ejb jars go? I read the J2EE specs, but it doesn't make up my mind.
    Thanks very much.

    In meta-inf folder change application.xml
    in <application>
    add here u'r application jar and third party jar
    eg
    <module><ejb>test.jar</ejb></module>
    <module><ejb>test1.jar</ejb></module>
    </application>
    put u'r all jar files ( application and third party jars )in parent folder.

  • To create a stock transport order and third party order

    please explain steps to create a stock transport order and third party order with transaction code what are the pre-requisite. related to MM?

    First you need a supplying plant. stock ready to transfer for a matetrial which should be created/extended at both the suppling and receiving plants.
    The order type is UB
    rest of the things are Pur org, Pur Grp, Company Code etc...
    The most important part is Vender has been replaced by supplying plant.

  • Unable to access classes in third party jar files packaged with my ejb.jar

    I have packaged some third party jar files in my xxx_ejb.jar file.  The third party jar file contains classes that are accessed by some custom classes which are in turn accessed by my bean classes.  I get the following error when my custom classes attempt to use any of the classes in one of the third party jar files:
    java.lang.NoClassDefFoundError: com/Ostermiller/util/CSVParser
    Shouldn't I be able to access classes in jar files that are packaged with my xxx_ejb.jar file?  I see the xxx_ejb.jar file as a resource of the application classloader that contains it but I don't see the third party jar files.

    As per the Java EE specification, additional JAR files should be packaged on the EAR level. Only WAR files' WEB-INF/lib folder is scanned for JAR files to be added to the classloader.

  • Problems with the ActiveX bridge for Java beans when using third-party .jar

    I encountered the following problem when using the ActiveX bridge for a java bean:
    I am using JDK 1.4.2_09 and MS Visual Basic 6.0 (SP6). I wrote a java bean called ProcessViewer (my class ProcessViewer inherits from JComponent and implements the interfaces Serializable and AdjustmentListener) which I would like to use within a VB 6.0 application. I used the ActiveX bridge (packager.exe) to generate a DLL (ProcessViewer.dll) and registered it successfully. The java bean GUI-control works fine within my VB 6.0 application unless my java bean (ProcessViewer.jar) uses any third-party .jar files.
    But when I tried to add a reference to some third-party class (com.sap.xxx.xxx....) I got some problems. I could solve the problem with packager.exe by setting the correct CLASSPATH. But at runtime my VB 6.0 application does not work. It crashes or it reports an error like this: "The control ... could not be loaded from axbridge.dll" (although I deployed my .jar file correctly to the directory C:\Programme\Java\j2re1.4.2_09\axbridge\bin and lib). Setting the CLASSPATH environment variable before calling my VB 6.0 application (exe) did not solve the problem.
    How can I teach my VB 6.0 application (containing the Java bean ActiveX control) where to find the third-party .jar file? Copying the third-party .jar file to the JRE lib-folder or to the axbridge\lib folder did not solve the problem either.
    I studied the documentation about the ActiveX bridge given at:
    http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html
    but I am missing informations on how the third-party .jar files can be found during runtime of the ActiveX container (e. g. a VB 6.0 application).

    See how to solve your problem with JNI:
    http://codeproject.com/cpp/OOJNIUse.asp
    More examples (for SWING) in tools setup:
    http://www.simtel.net/product.php[id]95126[SiteID]simtel.net
    http://www.simtel.net/product.php[id]94368[SiteID]simtel.net
    http://www.simtel.net/product.php[id]93174[SiteID]simtel.net

  • Problem: Deploy a SSO Third Party Integration Adapter in Portal

    A user want to deploy a SSO third party integration adapter (Novell Access Gateway) in Portal (AS v10.1.2.0.2). And used method in Note 430877.1. They can login through Novell Access Gateway and login Portal, but when click search user button, there always show a blank IE. And no error log. How to resolve? Thanks.

    Hello,
    I have found out that in SAP Portal it must be possible to create a new system from a par-file which is uploaded to portal before.
    I have such a par-file. It is deployed and uploaded to the portal server. And the application which is contained by this PAR is running in SAP Portal.  But when I go to
    System Administration --> System Configuration --> Portal Content --> right mouse click to folder --> new System from par
    then this PAR can not find there.
    I have also tried to upload this PAR manually to portal. But the result is the same. This PAR does not exist in the radiobutton-options to create a new System.
    Please can anybody tell me how to create a system (or a system-template) from an uploaded PAR-file?
    Regards,
    Iris

  • SSL: Portal and Third-Party-Tool

    Hello everybody,
    I need an advice how to solve the following problem: We integrated a Third-Party-WebTool with the Application Integrator. If we lauch the portal and the special iView with HTTP everything works fine but with HTTPS we get an error message: "Session Management will not work! Please check DSM log files for details. You can turn off this alert inside 'Support Desk' -> 'SAP Application'"
    Do I need those logs? Because if I understood the message correctly this deals only with SAP Applications. What about Third-Party-Tools with own SSL certificates? How solve the problem described above? Do I need to import the certificate of my Third-Party-Tool into my portal keystorage? Do I need to configure anything else?
    Thanks in advance...
    Regards
    Steffen

    I would be very appreciated if anybody could give me an advice...
    Steffen

Maybe you are looking for

  • Mac mini EFI Firmware Update 1.7 Not supported on system.

    I am attempting to install the Mac mini EFI Firmware Update 1.7 on my 2012 Mac Mini (just purchased) to solve my flickering display problem.  When trying to install the update, it states that the software is not supported on my system.  I am connecte

  • Reports are not showing correctly

    hi all, need a solution for this issue thanks

  • Error 148:3 on PS4

    I've been using PS4 since last 2 months but all of the sudden I've started  getting 148:3 error while starting PS. I'm on window 8.1(64bit) and it is a licensed version not the demo/pirated. However, I've demo PS6 (expired, 30 days +) on my machine.

  • Rotate screen won't stay - device - mini iPad

    when i switch between apps i have to go to device to rotate screen each time.

  • Scrollbar in HTML iview

    Hi Experts, I have one HTML iview with number of links in it. I need to put a scrollbar in this iview so that user can scroll down to see all the links. Can you please suggest in the properties of this iview(under content admin) which property I need