Deploy with custom libraries

Hi
I'm trying to test/deploy my application. In the application I use a custom library for logging (log4j).
I have successfully included the library in the Model and used in the code.
The code compile but when i try to deploy in the integrated weblogic server i get this error:
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
I'm missing some step to include the custom library during the deploy?
thanks

@Shay Shmeltzer: Thanks for the help, I was searching for this option in the application properties.
@Duncan Mills: I know ADF Logger it's more integrated with the weblogic enviroment. I was told to use log4j and i must stick with this choice.

Similar Messages

  • Firefox 4 Deployment with customized user settings?

    Hi folks,
    I want to deploy FF 4.0 with customized user settings, but where is the "localized" folder for my prefs.js file? In FF 3.6.x we've extracted the setup.exe file and with sources we deployed our customized firefox. Now in FF 4.0 there are some folder missing in the new sources. Are there any documents which explain the deployment of FF 4.0? thanks a lot

    Here are some instructions for creating a customised deployment of Firefox 4 (including setting the homepage for all new and existing users)
    http://mockbox.net/configmgr-sccm/174-install-and-configure-firefox-silently.html
    http://mockbox.net/configmgr-sccm/300-firefox-4-set-default-home-page-for-all-users.html

  • Arduino ino with custom libraries

    Hi,
    I'm trying to compile an arduino sketch using ino. I'm also using a custom library called TimerOne which I've installed to ~/sketchbook/libraries and even the normal arduino IDE is able to link and compile it.
    But if I try to build it with ino, it keeps telling me this:
    user@host$ ino build
    src/sketch.cpp
    .build/uno/src/sketch.cpp:3:22: error: TimerOne.h: No such file or directory
    src/sketch.ino: In function ‘void setup()’:
    src/sketch.ino:41: error: ‘Timer1’ was not declared in this scope
    .build/uno/Makefile:189: recipe for target '.build/uno/src/sketch.o' failed
    make: *** [.build/uno/src/sketch.o] Error 1
    Make failed with code 2
    Then I tried to copy the TimerOne library directly to the lib folder of my ino-project, which didn't help.
    I also tried to specify the lib folder using "ino build -d ~/sketchbook/libraries/" but it failed too.
    I've read the documentation and help files of ino, but I can't figure out how to tell ino to use the library correctly.
    I'm a little bit confused, does anybody know what I'm doing wrong?

    Except that it does not appear in my "User Defined" option, hence the reason for me trying to find it in "Other Libraries." Sorry I did not explain that. That's why I'm bothered by this. This is very unusual.

  • PXIe deployment with errors

    Hello,
    I have been trying to run a program on my PXIe-1065 without success. I think I may be missing a driver or software, especifically LabVIEW Real-Time module on the host and DAQmx on the target which I both tried to install following this steps for DAQmx http://digital.ni.com/public.nsf/allkb/79CB44F7E228AED88625756E00445151?OpenDocument. Is Run-Time module the same as Real-Time?. Do I really need to insert a CD when installing the Real-Time Module? This is where I tried to download it from: http://www.ni.com/download/labview-real-time-module-2014/4832/en/. You can check the list of software I have installed on each device on the MAX screenshots.
    Also, I got this error when trying to deploy my VI on the target:
    Initializing...
    Calculating dependencies...
    Checking items for conflicts. This operation could take a while...
    Preparing items for download. This operation could take a while...
    Deploying NI-PXIe8135-2F144366(successfully deployed target settings)
    Deploying whitespace.ctl (1.32 K)
    Deploying Error Code Database.vi (4.39 K)
    Deploying DAQmx Timing (Sample Clock).viDAQmx Timing (Sample Clock).vi loaded with errors on the target and was closed.
    LabVIEW: Failed to load shared library nilvaiu.*:setTimingTerminalAP:C. Ensure that the library is present on the RT target. Use either MAX to install NI software or FTP to transfer custom libraries to the RT target.
    LabVIEW: Failed to load shared library nilvaiu.*:setTimingI32EnumAP:C. Ensure that the library is present on the RT target. Use either MAX to install NI software or FTP to transfer custom libraries to the RT target.
    LabVIEW: Failed to load shared library nilvaiu.*:setTimingF64U64AP:C. Ensure that the library is present on the RT target. Use either MAX to install NI software or FTP to transfer custom libraries to the RT target.
    LabVIEW: Failed to load shared library nilvaiu.*:setTimingF64AP:C. Ensure that the library is present on the RT target. Use either MAX to install NI software or FTP to transfer custom libraries to the RT target.
    Deploying NI-PXIe8135-2F144366 Container
    Deployment completed with errors
    On the screenshots it shows that I have the library but I cannot open it. And in MAX every slot on the PXIe has a waring symbol, why is that?
    Thank you very much!
     

    Hello glovato,
    The run-time is not the same as the Real Time module, and shouldn't have to use a CD to install it necesarilly, what happened when you tried to install the one you downloaded from the link you mentioned?
     

  • Deploying a custom login module to the J2EE engine

    I have developed a custom login module, and want to deploy it to the SAP j2ee engine. How should I go about this ? I tried packaging it as a jar and then using the deploytool, went into user management to register the module, but when the module was invoked I got an error in the log saying "Cannot load a login module".
    The way I currently deploy it is packaged with the Example Calculator, and this works. I just add my 2 java files into the web module (in com.sap.examples.calculator.beans) and it gets packaged in the war file.
    Can anyone help with the "proper" way of deploying my module ?
    Thanks in advance

    Hi Brad,
    >
    > What I'm actually trying to do is NOT deploy my
    > custom login module with an application. But rather
    > deploy the jar file as a library to the J2EE engine,
    > so that any application can use it by configuring it
    > in their login stacks. I'm still not totally clear
    > whether this is possible or not.
    Once again - It is possible to deploy the login module as a library to the J2EE Engine; furthermore, this is the PREFERRED way to use login modules!
    >
    > What I have currently done:
    >
    > 1. developed custom login module packaged as a jar in
    > NW studio (2 class files)
    >
    > 2. Using deploytool I deploy the jar as a library to
    > the j2ee engine. This works and the library shows up
    > under the libraries section.
    >
    > 3. Register the login module in the user
    > management->manage security stores section. I'm
    > unsure if this works properly. Do I just provide the
    > full path to the required class ? For example
    > "com.example.myloginmodule.LoginModule"
    > I have a suspicion that my error of "cannot load a
    > login module" stems from here.
    >
    > 4. I have then followed your step and added a
    > reference to the libray (Hard reference) and this
    > seems ok.
    >
    Sorry, Brad, I've made a mistake here. You need to set a reference from the Security Provider Service to the library that contains the login module (not from the application). To do that at runtime, you'll have to use the Configuration Adapter service on the J2EE Engine. For a description of the procedure, see this page in the documentation: http://help.sap.com/saphelp_nw04/helpdata/en/dd/1e3a3e5069eb6ce10000000a114084/frameset.htm
    You need to provide additional entry of the following type in the security-provider.xml file:
    <reference type="library" strength="weak">
            Your-library-name-here
          </reference>
    Regards,
    Ivo.
    Message was edited by: Ivaylo Ivanov

  • JD3-Error deploying Oracle Java Libraries

    I get the following error when trying to deploy Oracle 8.1.5
    JDBC, Connection Manager, and JBO Runtime libraries:
    initialization complete
    loading : oracle/sql/converter/CharacterConverter
    creating : oracle/sql/converter/CharacterConverter
    loading : oracle/jdbc/oracore/OracleTypeREF
    creating : oracle/jdbc/oracore/OracleTypeREF
    Error while creating class oracle/jdbc/oracore/OracleTypeREF
    ORA-01031: insufficient privileges
    loading : oracle/jdbc/ttc7/TTCDataSet
    creating : oracle/jdbc/ttc7/TTCDataSet
    Error while creating class oracle/jdbc/ttc7/TTCDataSet
    ORA-01031: insufficient privileges
    loading : oracle/jpub/runtime/MutableArray
    creating : oracle/jpub/runtime/MutableArray
    loading : oracle/sql/converter/CharacterConverterSJIS
    creating : oracle/sql/converter/CharacterConverterSJIS
    loading : oracle/jdbc/ttc7/TTCAdapter
    creating : oracle/jdbc/ttc7/TTCAdapter
    Error while creating class oracle/jdbc/ttc7/TTCAdapter
    ORA-01031: insufficient privileges
    null

    Thank you very much for your quick response.
    So, then I tried to deploy my classes without including the
    Oracle libraries in the advanced deploy options, and this is
    what I got (I try to deploy a Java Stored Procedure which calls
    Oracle Business Components for Java. It's working all fine
    locally in a Java VM, but now I want to access that remotely
    through a Java Stored Procedure):
    *** Executing deployment profile C:\Program
    Files\Oracle\JDeveloper 3.0\myprojects\SPProfile1.prf ***
    *** Generating archive file C:\Program Files\Oracle\JDeveloper
    3.0\myclasses\SPProfile4_Untitled.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Loading archive C:\Program Files\Oracle\JDeveloper 3.0
    \myclasses\SPProfile4_Untitled.jar into JServer using JDBC ***
    Load Java argument list:
    "C:\Program Files\Oracle\JDeveloper 3.0\java\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.0\bin;C:\Program
    Files\Oracle\JDeveloper 3.0\java\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.0
    \java\lib\classes.zip;C:\Program Files\Oracle\JDeveloper 3.0
    \lib\jdeveloper.zip;C:\Program Files\Oracle\JDeveloper 3.0
    \myclasses;C:\Program Files\Oracle\JDeveloper 3.0\lib\jdev-
    rt.zip;C:\Program Files\Oracle\JDeveloper 3.0
    \jdbc\lib\oracle8.1.5\classes111.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\connectionmanager.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\jbodatum.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\jbomt.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\jboremote.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\jndi.jar;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\xmlparserv2.jar;C:\Program
    Files\Oracle\JDeveloper 3.0\aurora\lib\aurora.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\jboejb.jar;C:\Program
    Files\Oracle\JDeveloper 3.0
    \aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper
    3.0\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \lib\javax_ejb.zip;C:\Program Files\Oracl
    \JDeveloper 3.0\java\lib\classes.zip;C:\Program
    Files\Oracle\JDeveloper 3.0
    \aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper
    3.0\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \jdbc\lib\oracle8.1.5\classes111.zip"
    oracle.aurora.server.tools.LoadJavaMain
    -user
    devp/[email protected]:1521:MWAY
    -thin
    -verbose
    -resolve
    "C:\Program Files\Oracle\JDeveloper 3.0
    \myclasses\SPProfile4_Untitled.jar"
    AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
    Copyright (c) 1997-1998 Borland International. All Rights
    Reserved.
    Copyright (c) 1997-1999 Oracle Corporation. All Rights Reserved.
    initialization complete
    identical: package1/CommuterRegionSubscriptionViewImpl is
    unchanged from previously loaded file
    identical: package1/ErikProc2Lib is unchanged from previously
    loaded file
    identical: package1/TestReadTable2 is unchanged from previously
    loaded file
    identical: package1/CommuterEtakRegionImpl is unchanged from
    previously loaded file
    identical: package1/CommuterRegionSubscriptionImpl is unchanged
    from previously loaded file
    identical: package1/CommuterEtakRegionViewImpl is unchanged from
    previously loaded file
    identical: package1/Package1ModuleImpl is unchanged from
    previously loaded file
    identical: package1/ErikProc is unchanged from previously loaded
    file
    identical: package1/ErikProc2 is unchanged from previously
    loaded file
    identical: package1/CommuterRegionSubscription.xml is unchanged
    from previously loaded file
    identical: package1/FkCommuterEtakRegionSubAssoc.xml is
    unchanged from previously loaded file
    identical: package1/FkCommuterEtakRegionSubLink.xml is unchanged
    from previously loaded file
    identical: package1/CommuterRegionSubscriptionView.xml is
    unchanged from previously loaded file
    identical: META-INF/MANIFEST.MF is unchanged from previously
    loaded file
    identical: package1/package1.xml is unchanged from previously
    loaded file
    loading : connections.properties
    creating : connections.properties
    identical: package1/Package1Module.xml is unchanged from
    previously loaded file
    resolver :
    resolving: package1/CommuterRegionSubscriptionViewImpl
    Error while resolving class
    package1/CommuterRegionSubscriptionViewImpl
    ORA-29554: unhandled Java out of memory condition
    package1/ErikProc2Lib is already resolved
    resolving: package1/TestReadTable2
    Error while resolving class package1/TestReadTable2
    ORA-29554: unhandled Java out of memory condition
    resolving: package1/CommuterEtakRegionImpl
    Error while resolving class package1/CommuterEtakRegionImpl
    ORA-29554: unhandled Java out of memory condition
    resolving: package1/CommuterRegionSubscriptionImpl
    Error while resolving class
    package1/CommuterRegionSubscriptionImpl
    ORA-29554: unhandled Java out of memory condition
    resolving: package1/CommuterEtakRegionViewImpl
    Error while resolving class package1/CommuterEtakRegionViewImpl
    Exception java.sql.SQLException: No more data to read from
    socket
    initialization complete
    resolving: package1/Package1ModuleImpl
    Error while resolving class package1/Package1ModuleImpl
    ORA-29554: unhandled Java out of memory condition
    package1/ErikProc is already resolved
    package1/ErikProc2 is already resolved
    loadjava: 6 errors
    *** Errors occurred while loading the archive into JServer ***
    *** Deployment completed ***
    Thank you very much for your cooperation,
    Erik :-)
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    JDev Team (guest) wrote:
    : Erik,
    : A lot of the oracle. packages already exist in the server in
    the
    : SYS namespace because they are used by the JDK in the server.
    If
    : you try to deploy them, the server thinks you
    : are trying to overwrite and it won't let you. The oracle.jdbc
    : and oracle.sql stuff is definitely already there. I suspect
    the
    : oracle.jpub stuff is there as well.
    : In JDeveloper, you can see what's in the SYS namespace by
    using
    : the database browser. Double-click the connection you're
    using
    : to deploy to the database under the Connections folder. This
    : will display the Database Browser. Expand the 'Database
    Schemas'
    : folder, SYS, then Deployed Java Classes. Under there, you'll
    see
    : packages such as 'com','sun', 'javax', etc. You can expand
    each
    : of those to see if the one you're trying to deploy already
    : exists.
    : In JDeveloper 2.0, you control which dependency
    packages/classes
    : are deployed with the 'Dependencies' page of the deployment
    : profile wizard. In JDev 3.0, this information is available
    from
    : the 'Advanced' button on the Projects page. Make sure to
    remove
    : any packages from your deployment profile that already exist
    in
    : the SYS schema.
    : Use the Preview button to make sure your deployment archive
    : contains only those files you want to deploy, and not any
    : additional dependencies which are already in the server.
    : Laura
    : Erik Mailhiot (guest) wrote:
    : : I get the following error when trying to deploy Oracle 8.1.5
    : : JDBC, Connection Manager, and JBO Runtime libraries:
    : : initialization complete
    : : loading : oracle/sql/converter/CharacterConverter
    : : creating : oracle/sql/converter/CharacterConverter
    : : loading : oracle/jdbc/oracore/OracleTypeREF
    : : creating : oracle/jdbc/oracore/OracleTypeREF
    : : Error while creating class oracle/jdbc/oracore/OracleTypeREF
    : : ORA-01031: insufficient privileges
    : : loading : oracle/jdbc/ttc7/TTCDataSet
    : : creating : oracle/jdbc/ttc7/TTCDataSet
    : : Error while creating class oracle/jdbc/ttc7/TTCDataSet
    : : ORA-01031: insufficient privileges
    : : loading : oracle/jpub/runtime/MutableArray
    : : creating : oracle/jpub/runtime/MutableArray
    : : loading : oracle/sql/converter/CharacterConverterSJIS
    : : creating : oracle/sql/converter/CharacterConverterSJIS
    : : loading : oracle/jdbc/ttc7/TTCAdapter
    : : creating : oracle/jdbc/ttc7/TTCAdapter
    : : Error while creating class oracle/jdbc/ttc7/TTCAdapter
    : : ORA-01031: insufficient privileges
    null

  • Fusion Applications 11.1.7: Deploy a custom ADF page to Fusion Applications

    Hi,
    I am trying to create and deploy a custom ADF page in Fusion Applications(in premise) which will allow search, create and update operations on a custom table. I have been going through a pile of documents and this forum but I still have the following questions.
    I have a PageA based on the UIShell. This page is linked to the taskflow TaskFlowA which provides the search functionality. TaskFlowA calls TaskFlowB and TaskFlowC which provide the create and edit functionalities.
    I have enabled security from Jdeveloper (Application>Secure>Configure ADF Security)
    Question#1: Is this step required?
    To deploy it I will generate the ADF Library JAR for the Model and ViewController. The ADF Library JAR for the model will be placed into the <ExplodedEarDirectory>/APP-INF/lib directory of an existing application(say HCM). The ADF Library JAR for the UI will be placed in the <ExploadedWarDirectory>/WEB-INF/lib directory.
    Question#2: Are any other steps required for deployment.
    I will then add permissions for the page by following the steps in How To Configure Security For Custom Pages/Taskflows Added To Fusion Applications(Doc ID 1486524.1). This document lists the steps for configuring authorization policies using APM.
    Question#3: While specifying the resource type in APM, I will select RegionResouceType and set the Name to PageA. I understand that I need to provide the full path of PageA in the form xx.xxx.xx. But how do I get the full path?
    Finally I will add a new menu entry in the Navigator menu using the setup task “Manage Menu Customizations” by adding a new item.
    Question#4: What will be the value of Focus View Id for the new Item? Will it be the Focus View Id that I provided while creating the menu file in JDeveloper?
    Question#5: What will be the value of Secured Resource Name? Will it be the same as what I provided in Question#3 above?
    Thanks,
    Sujoy

    Question#1: Is this step required?
    Yes if you want to test the security in the integrated WLS .
    Question#2: Are any other steps required for deployment.
    Yes. Please follow up our earlier post ADF How-To #12: Deploying Customizations to Standalone WLS
    For question #3, #4 & #5 please first review our other post ADF How-To #10: Replacing A Bounded Task Flow  This won't answer completely what you asked but would definitely be a step in that direction.
    I would also recommend you to go through other posts starting with title ADF How-To #.
    Hope this helps
    Vik
    http://blogs.oracle.com/fadevrel

  • Create Document Set with custom Create Only permission set

    Here is the situation. We have a requirement where my customer wants to create document sets, however, document set/document level permissions are required.
    Setup: We created a new permission level called "Create Only". We then give the user Read and Create only permissions. This allows the user to theoretically create the item. We then run a Workflow on create that Replaces the permissions so that
    you are only allowed to view the ones you created along with other security groups based on their choices in the metadata fields.
    This setup works PERFECTLY when using a List or Form Library.
    However, for the life of me I cannot get it to work for Document Sets. If I have the same setup, I get an Access Denied message. However, it still creates the document set.
    What is weird, I've been playing around with custom permission levels and it seems as though the user has to have EDIT permissions at a minimum in order to create the document set. This will not work for me since I dynamically assign permissions to each
    document set based on what they select.
    As a side note, the only tool I have at my disposal is SharePoint Designer 2010.
    Does anyone know if there is an actual requirement to have EDIT permissions when creating a Document Set? Any input would be greatly appreciated.
    Alternatively, is there a way to setup permissions on a library for all NT Authenticated users so that we can give them the necessary permissions to create the Document Set, but still prevent them from see the other items and then the Workflow would set
    the permissions accordingly?
    I believe the more granular the permissions it uses those permissions instead so would this work?  I have not tested this theory yet.

    Hi,
    According to your description, my understanding is that you want to know if there is an actual requirement to have EDIT permissions when creating a Document Set and is there a way to setup permissions on a library for all NT Authenticated users and prevent
    them from seeing items created by others.
    For the first question, per my knowledge, if a user is given the Add Items permission, he/she can create a document set in SharePoint.
    However, there is an error “access denied” after the document set is created. It is due to the user has no permission to access the page which SharePoint will redirect the user to after finishing creating the document set.
    If the user is also given Edit Items permission, there will be no error when he/she create a document set.
    For the second question, I recommend to follow the link below to
    customize item permissions for each document submitted to a document library and remember to give the
    NT Authenticated users contribute permission.
    http://blogs.technet.com/b/spke/archive/2010/04/09/configure-item-level-permissions-for-document-libraries-sharepoint-2010-edition.aspx
    To grant permission to NT Authenticated users, please refer to the link below:
    http://office.microsoft.com/en-in/sharepoint-server-help/what-happened-to-add-all-authenticated-users-HA101805183.aspx
    Best regards.
    Thanks
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to create an install medium of Windows 8 with custom programs (like an OEM install)

    Hello all,
    I am interested in setting up a small business of making PCs for people around my area, and was curious if there was any way I could install Windows 8.1 on those computers with custom programs (i.e. Browsers, Anti-virus, etc.), but not have to create a user
    account to do so? I want people to get these computers and go through the regular setup account process when they turn them on for the first time, just like with any computer from a regular OEM. Basically, I am trying to create my own OEM instillations of
    Windows.
    Thanks for any help, and let me know if I need to clarify anything.
    Graham

    Hi,
    Andreas is right, we have many ways to deploy Windows 8.1 like OEM.
    You can also try the ADK:
    Windows Assessment and Deployment Kit (Windows ADK) for Windows 8.1
    http://www.microsoft.com/en-hk/download/details.aspx?id=39982
    The Windows ADK enables two key scenarios: Windows deployment and Windows assessment.
    Windows Deployment is for OEMs and IT professionals who customize and automate the large-scale installation of Windows on a factory floor or across an organization.
    Kate Li
    TechNet Community Support

  • Deploying a custom Web Application in Oracle Apps 11.5.10..Urgent

    Hi,
    I need to develop and deploy a custom J2EE based Web Application in Oracle Apps (11.5.10).
    Is it mandatory to build it using OA framework?
    As an example, If I develop a "CD Library" J2EE application using JSPs(View),Servlet(Controller) and Utility classes(Model),will it be supported during upgrades in future.
    I have done the same in 11.5.9. (which doesn't have OA Framework support).
    I had deployed JSPs in $OA_HTML, Servlet and model classes in $OA_JAVA.
    I understand that the same is possible in 11.5.10.Can I follow the same approach for 11.5.10?What are the pros and cons?
    Basically, Why should I go for OA Framework to develop and deploy a custom J2EE WebApplication though I can do it as explained above.
    If you are aware of any article on this please share it with me.
    thanks,
    Gowtam.

    Hi,
    Thanks for the reply.
    To conclude my understanding,
    If I create a new J2EE web Application with
    - n number of JSPs
    - 1 servlet
    - and n number of Java model classes,
    I can deploy all these in $OA_HTML and $OA_JAVA and use it as custom application.
    I need few more clarifications
    My JSPs do not follow Oracle BLAF standards
    Java model classes are not BC4J objects
    The servlet is unique for the custom application and page flow does not include invoking OA.jsp.
    Stil, can i continue with my approach?
    Will it be supported during upgrade?
    Thanks,
    Gowtam

  • JavaFX with external libraries

    Hi,
    I would like to get some help about compiling a JavaFX code with external libraries. I've searched around a lot, but cant find the solution.
    Basically I have a JavaFX application, that uses images (they are under the src/ folder as they suggest it) and uses external .jar files, AND these jar files uses other external files (not jars). I want to run the application in desktop mode first, so now I am interested in a solution that makes it work on PC.
    I am using Netbeans to develop and run (works everything fine when running from IDE), and using javafxpackager to compile, when I want to run without the IDE.
    When I compile with Netbeans, the generated jar and jnlp files can run ONLY from the dist/ folder, if I copy it somewhere else in my winchester, it does not start.
    I have find something about "signing jars", so I have to make the jars signed to be able to run them AND to be able to link to the image files that the application uses.
    So I have 2 problems/questions with this situation:
    - I have to use external jars and those jars uses external files, but when I start the app, it seems its __DIR__ variable is not set correctly, but I've read that I have to make the application "signed" to solve this problem, but
    - if I make the JavaFX signed, it requires that all other jars have to be signed? (it sounds logical of course)
    So, my final question is, do I have to make the application (and all other jars) signed, to be able to use external jars and files or not (if I want to run as a desktop application)?
    And if I have to make them signed, then will the relative linking work correctly?
    So whats the best way to make it work (using external files and jars)?
    Thanks for any help, and sorry for the long post (and for my bad english) :)
    Cheers
    kojak

    kojak wrote:
    When I compile with Netbeans, the generated jar and jnlp files can run ONLY from the dist/ folder, if I copy it somewhere else in my winchester, it does not start.Unfortunately JNLP requires the base location to be stored in the JNLP file. While that supposedly makes JNLP distributed stuff more secured, it also make them cumbersome and time-consuming to use.
    Futhermore, JNLP files generated by NetBeans reference a local web server that only runs when NetBeans is on.
    That explains why you just simply cannot move the app to the location you want. I you move them, you have to open them (any text editor) and modify the codebase field (possibly the homepage's href too).
    If you want to use only 1 single JNLP, all your JARs references in that JNLP need to be signed with the very same certificate (certificate A).
    Unfortunately, this is not good most of the time as some external lib (generally the ones coming from Sun/Oracle) are already signed and you cannot resign them.
    The other option is that you can make your main JNLP reference other sub-JNLP that are placed at the same location. Each of these sub-JNLP can reference 1 or more JARs that are signed with a different certificate (1st JNLP used certificate B, 2nd JNLP used certificate C, etc.).
    An example adapted from my own main JNLP:
    <resources>
        <java version="1.6+"/>
        <jar href="http://<intranet web server>/<my main JAR file>" download="eager" main="true"/>
        <extension href="http://dl.javafx.com/1.3/javafx-rt.jnlp" name="JavaFX 1.3.x Runtime"/>
        <extension href="http://<intranet web server>/l2fprod-7.3.jnlp" name="l2fprod-7.3"/>
        <extension href="http://<intranet web server>/JFXtras-0.7.jnlp" name="JFXtras-0.7"/>
        ...and JFXtras-0.7.jnlp:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://<intranet web server>" href="JFXtras-0.7.jnlp">
        <information>
            <title>JFXtras-0.7</title>
            <vendor>JFXtras</vendor>
            <homepage href="http://code.google.com/p/jfxtras/"/>
            <description>Additionnal controls for JavaFX</description>
            <offline-allowed/>
        </information>
        <security>
           <all-permissions/>
        </security>
        <resources>
           <jar href="lib/JFXtras-Common-0.7rc2.1.jar" main="false" download="eager" size="1309380"/>
           <jar href="lib/JFXtras-Controls-0.7rc2.jar" main="false" download="eager" size="1453233"/>
           <extension name="MigLayout-3.7" href="MigLayout-3.7.jnlp"/>
           <extension name="SwingWorker-1.2" href="SwingWorker-1.2.jnlp"/>
        </resources>
        <component-desc/>
    </jnlp>Both JARs files in that particular JNLP can be signed with a different certificate from the one of the main jar, same wit the JARs listed in the 2 sub-JNLPs that are referenced here.
    Note: of course, currently, JARs provided by JFXtras are note signed, so I end having to sign them myself anyway, but you get the idea.
    Unfortunately NetBeans does not generate such setup so you'll have to find a tool or develop something that does that for you.
    Perhaps you should try to post your question in the web start forum Java Web Start & JNLP as well but be prepared to face the all knowledgeable and always helpful but not very user-friendly and definitely not patient with new comers Andrew Thompson.
    Note that I've never used external files so I do not know if signing the JAR would fix that particular issue (I do not think so).
    Overall I do not like Java Web Start, as said before, it's cumbersome, time-consuming to use, poorly documented, with basically very little to no packaging/helper tool, prone to failure if you make the slightest mistake in the JNLP(s) definition (having a nebulous documentation of its feature does not help) and they've introduced a stream of bugs and errors with each sub-release of Java 6 for the past year and the half that makes programmer's life a hell and JWS a joke compared to other deployment technologies used by competitors.

  • ESS/MSS business packages "Deployed with Warning"

    Hello All,
       We are on NW04s SP10 on MS SQL server and Windows server. The Database and portal installations or on different machines. I installed the business packages ESS 1.0, MSS 1.0 and the XSS components - 600 using the JSPM.
    After I deploy, I get the message<b> "Deployed with Warning"</b>
    When I opened the log files and checked for errors, I found errors in deployment on these SDAs
    sap.com/essfiaddr  - WEBDYNPRO
    sap.com/essinaddr  - WEBDYNPRO
    sap.com/essinpdata  - WEBDYNPRO
    sap.com/mssexpdyn  - WEBDYNPRO
    sap.com/mssexpssa  - WEBDYNPRO
    sap.com/mssoprogeneraldescription  - WEBDYNPRO
    And I get the following exceptions for all the SDAs above.
    <b>07/01/11 09:54:10 -    sap.com/essfiaddr  - WEBDYNPRO
    07/01/11 09:54:10 -  ***********************************************************
    Jan 11, 2007 9:54:11 AM  Info: End of log messages of the target system.
    Jan 11, 2007 9:54:11 AM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Jan 11, 2007 9:54:11 AM  Warning: Finished with warnings: development component 'ess/fi/addr'/'sap.com'/'MAIN_ERP05PAT_C'/'795293':
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application sap.com/ess/fi/addr and wait.
    Reason: Clusterwide exception: server ID 11376250:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application ''sap.com/essfiaddr'' for startup. Reason=
    Clusterwide exception: Failed to start application ''sap.com/essfiaddr'': The referenced application ''sap.com/ess~per'' can''t be started. Check the causing exception for details. Hint: Is the referenced application deployed correctly on the server?
         at com.sap.engine.services.webdynpro.WebDynproContainer.prepareStart(WebDynproContainer.java:1490)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:231)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:179)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:317)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:111)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:227)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4684)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4589)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4562)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)</b>
    Now, after this, when I log into the portal and see the MSS role, the links are all missing. I see only Overview and its worksets and pages and Reports and its worksets. Everything else is missing. The warning that I see is<b> "Linked object is unavailable"</b>
    Could anyone please suggest me what could be wrong?
    Thanks,
    Sunitha<b></b>

    Hi Sunitha,
    First of all I was not able to find if your backend is ERP 2004 or ERP 2005. It should be ERP 2005 if you want to user ESS 1.0 and MSS 1.0 BP
    Please check in Content Administrator if you can locate these applications and test the same. If yes then you can ignore this warning. If No, in that case you have to redeploy XSS, ESS and MSS using SDM again.
    The links in portal comes from your backend Area Page Customizing. To verify if the problem is with your Portal Business Package or with your backend customizing run your ESS applications using
    http://<portal>:<port>/webdynpro/dispatcher/sap.com/pcui_gp~xssutils/XssMenuArea?sap.xss.menuhdr=SAPDEFAULT&sap.xss.menuargrp=SAPDEFAULTESS
    and MSS using
    http://<portal>:<port>/webdynpro/dispatcher/sap.com/pcui_gp~xssutils/XssMenuArea?sap.xss.menuhdr=SAPDEFAULT&sap.xss.menuargrp=SAPDEFAULTMSS
    If you can see all the links correctly here, your backend customization is fine and there is a problem with your BP of ESS and MSS. So you will have to import the same again in the portal. However if you are not able to view the links in the page, then there is a problem with you Area Page Customization. You will need to check your config with the Client 000 configuration to find out the missing config.
    Hope this helps.
    Regards,
    Shubham

  • Upgrading WLS+ADF to 11.1.1.6: problem with ADF libraries

    Hi,
    I'm upgrading a standalone ADF environment (on RHEL5 64-bit) from 11.1.1.2.0 to 11.1.1.6.0. I followed note 1408663.1 "How to upgrade a WLS domain extended with ADF libraries" so first upgraded WLS to 10.3.6., then uninstalled Application Developer and finally installed the new ADF Runtime.
    When I ran the upgradeJRF command in wlst for my existing domain, I got a listing of 11.1.1.2.0 targets and no mention of 11.1.1.6.0 (no error messages either, though). Starting the servers I'm still seeing deployments such as adf.oracle.domain(1.0,11.1.1.2.0) and adf.oracle.domain.webapp(1.0,11.1.1.2.0). Shouldn't these be 11.1.1.6.0 now? Also tried re-deploying my application, re-built with JDeveloper 11.1.1.6.0, but the library deployments are still on 11.1.1.2.0.
    How can I upgrade the existing domain to 11.1.1.6.0?
    Regards,
    Joonas

    hi Joonas
    Joonas Linkola wrote:
    ...Starting the servers I'm still seeing deployments such as adf.oracle.domain(1.0,11.1.1.2.0) and adf.oracle.domain.webapp(1.0,11.1.1.2.0). Shouldn't these be 11.1.1.6.0 now? ...See also the related ADFEMG JIRA issue ADFEMG-112, "ER 12834041 : ADF RUNTIME LIBRARIES DON'T SHOW THE CORRECT VERSION NUMBERS IN WLS CONFIG.XML"
    at http://java.net/jira/browse/ADFEMG-112
    (or the forum message at Re: ADF Version to be used on a FormsReports 11gR2 install )
    regards
    Jan Vervecken

  • How to deploy the custom java application for self regaistration in portal?

    hi,
    I have created a custom java application in NWDS for Self Registration of new users.I am working on EP 7.02 and the standard self registration application is a Web dynpro java application.
    How can i deploy my custom java application built as a par file in place of the Web dynpro java application?
    Thanks,

    Hi Amarys,
    If you have developed the PAR file in NWDS then you can deploy the PAR in the server with NWDS ( [Check Required Settings |NWDS 7.0 does not deploy PAR;) or in server directly (system administrator > support >> portal runtime >> administration console)
    Best Regards
    Arun Jaiswal

  • Link java class with custom taglib in Nitrox

    Hi,
    I am creating a set of Nitrox custom libraries for my company, and I need a tag with the following behavior:
    The tag insert window has to contain a select combo with information retrieved from a file or a database.
    So, my questions are:
    1) How can I call java classes from tlei or tagedit files?
    2) What does it mean the following tag?
    <editor-class>com.m7.wide.struts.tags.tagedit.StrutsSelectTagEditor</editor-class>
    3) What does it mean this other tag?
    <default-bundle>com.m7.wide.struts.resources.html-resources</default-bundle>
    4) Do you have any online documentation about tagedit files and the related classes?
    I am using Eclipse 3.1 and Nitrox 3.0.0 M2
    Thanks in advance,
    Alberto

    The Workshop Java API for tag customization is not public for the time being, sorry for the inconvenience.

Maybe you are looking for