Deploying Common-utilities and Third-party Classes

In your documentation you state that several jar-libraries (containing
utilities, third-party classes, jdbc-drivers and also I suppose classes for
custom realms) needs to added to the Java system classpath.
This probably also means that they will not be distributed from the
administration server to the managed servers as applications does. Since
most non-trivial applications include startups, custom realms and so forth
it renders the distribution feature (ie. from admin server to managed
server) virtually useless. Installs needs to be made on all nodes anyway.
One example on a solution for this is to distribute these jar-libraries to
the new node-manager which then starts up the server with these jar-files on
the classpath?
Also one could include the startup and shutdown-classes in a
weblogic-specific enterprise application deployment-descriptor so that these
are run in the same classloader as the enterprise application. Most
non-trivial startups probably needs to run in this classloader anyway. (If
they for example access ejbs etc.)
An alternative implementation would be to specify a servlet with a
load-on-startup, but I'm not sure at what time the servlet will be loaded.
Is this a recommended strategy for startup-classes that needs to run in the
application classloader?

 

Similar Messages

  • No of classes, Methods, Lines of codes, DLL's used and Third Party Libraries details identifying tools

    We have started a project to migrate 100+ Web Applications developed using legacy Microsoft technologies to latest .Net 4.5 Framework.
    The following are the planned migration approach
    Classic Asp à                                                   
    Asp.Net 1.1 Framework à Asp.Net 4.5 Framework
    Asp.Net 2.0, 3.5, 4.0 Framework à         Asp.Net 4.5 Framework (Direct Migration)
    Asp.Net 2.0, 3.5, 4.0 Framework à         Asp.Net 4.5 Framework (Application Rewrite
    using MVC/Entity Framework)
    VB 6 (COM/DCOM) à                                  
    C# .Net 4.5 (Web Services)
    We have to analyze 100+ applications to categorize them as Simple/Medium/Complex conversions for planning the timeline for completing the migration activities.
    Analysis includes identifying the following details - No of classes, Methods, Lines of codes, DLL’s used and Third Party Libraries  details
    for 100+ Microsoft applications.
    Could you please let me know do we have any effective tool to identify above mentioned details?

    This forum is for Microsoft Project Server, an EPM tool. You will need to find a more suitable forum for your question.
    Good Luck with the conversion!
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

  • Drag n Drop between JButton and third party Java object

    Hi!
    I want to implement drag n drop(however it is not drag n drop in its real sense) between JButton(s) placed in a JToolBar and third party Java Object i.e. Netbeans Visual Library API's Scene class that is actually like a Canvas in drawing Apps. The Scene class itself is not a JComponent (it extends directly from java.lang.Object), rather we invoke createView method on the Scene object to get a JComponent that could be used any where(probably in a JScrollPane).
    What i want is that when my user drags a JButton to the Scene's view it appears similarly as something is being dragged But in actaul that JButton should'nt be dragged or dropped Rather when user releases the mouse button to drop the item i could use my custom code to do something(actually add a Widget(a graphical item) to the Scene object).
    How could this be achieved..?
    thanks in advance,
    regards.

    The problem with UNIX and more specially with X is thare wasn't common drag'n'drop interface. Now there is XDND (X Drag'n'drop) protocol but it might not be implemented on each X server or may not be used by each X application.
    I don't know if GNOME use XDND and/or if Java implementations for UNIX support that protocol. However you can check some other projects like:
    http://java-gnome.sourceforge.net/
    http://gnome-gcj.sourceforge.net/
    which provide external bindings of gnome libraries to java.

  • Memory leaks with Third party classes

    Hello all,
    This is fairly known problem. But I guess, my problem gives a new dimention to the problem.
    I have an application which is developed by me. This application ideally needed to use third party classes ( obviously no source code is supplied ). These third party classes provide extra functionality required.
    The problem is, when I don't use third party classes in my application, every thing is fine. When I include third party classes, I am having memory leaks.
    Then I tried to investigate memory leaks with Optimizeit tool. It is new to me. As of now, I understood, we can identify where the memory leaks are occuring.
    finally the problem is, in order to solve this, I need some patches in the code. But I don't have source code for those classes. How to solve this problem?
    For example,
    I use a third party classes in my code like this,
    ThirdPartyMemoryLeakClass obj = new ThirdPartyMemoryLeakClass();
    This 'obj' is made static, as it takes lot of time to create this object. Obviously this object contains several references to other objects, which I can't control.
    In the process of reusing this object, I am getting memory leaks.
    Any ideas regarding, how one has to deal this type of situations? What are the issues involved with this case? Are there any similar problems, which have been solved? are most welcome.
    many thanks for your time.
    Madhav

    Decompile it using jad. Find leak.Yes, I too got the idea and tried to decompile those classes and recompile. I had some problems while recompiling. Is this is the only way to get rid of this problem?
    I was refering to powersoft.datawindow.DataStore class. Does any body here has worked on these?
    Can you suggest me how to find the memory leak causes? if you were needed to find out memory leak causes, what would be your approach?
    Madhav

  • Marshalling third party classes with JAXB

    I put together a test case similar to what is illustrated at:
    [https://jaxb.dev.java.net/guide/XML_layout_and_in_memory_data_layout.html#Using_XmlJavaTypeAdapter_for_element_attribute_values]
    and here:
    [http://weblogs.java.net/blog/kohsuke/archive/2005/09/using_jaxb_20s.html]
    I declared a Color object, defined a ColorAdapter, and declared the @XmlJavaTypeAdapter to the package. Alas, it isn't getting called... If you consider the following sample code:
    JAXBContext jc = JAXBContext.newInstance(Color.class);
    // Note that a dump of the context confirms that com.acme.Color is listed!
    //System.out.println("JAXBContext: " + jc.toString());
    Marshaller m = jc.createMarshaller();
    m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
    Color color = Color.RED;
    // Case 1: The following line works, but it does NOT call the ColorAdapter...
    m.marshal( new JAXBElement( new QName("", "rootTag"), Color.class, color ), System.out);
    // Case 2: This fails...
    m.marshal(color, System.out);Case 1 "works" (doesn't error), but the output clearly shows that the ColorAdapter is not getting called.
    Case 2 throws a javax.xml.bind.MarshalException exception:
    javax.xml.bind.MarshalException
    - with linked exception:
    [com.sun.istack.SAXException2: unable to marshal type "com.acme.Color" as an element because it is missing an @XmlRootElement annotation]
    at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:
    328)
    testMarshalling : javax.xml.bind.MarshalException
    at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.jav
    a:254)
    at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshal
    lerImpl.java:75)
    at resty.AppTest.testMarshalling(AppTest.java:68)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    - with linked exception:
    [com.sun.istack.SAXException2: unable to marshal type "com.acme.Color" as an element because it is missing an @XmlRootElement annotation]
    at java.lang.reflect.Method.invoke(Method.java:597)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
    Caused by: com.sun.istack.SAXException2: unable to marshal type "com.acme.Color"
    as an element because it is missing an @XmlRootElement annotation
    at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:244)
    at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeRoot(ClassBeanInfoImpl.java:303)
    at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:490)
    at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:325)
    ... 29 moreNote that my Color object represents a third-party class -- a class where I can't just annotate it with @XmlRootElement. Hence, why I am looking at @XmlJavaTypeAdapter.
    Can somebody please tell me why my adapter is not getting called, and what I can do about customizing the marshaling of a third-party class?
    Note that I am using JAXB 2.1.8.

    what kind of third party API are using ?

  • Firmware and third party updates

    Hi Everyone,
    Currently I am running ARD version 3 on tiger server and I have Tiger and Leopard OS X running on my client machines (G5, Intel Mac).
    I was wondering if there is a way to send Apple firmware and third party application updates to all of my Mac clients using ARD.
    I have used "softwareupdate -i -a" and this command seems to be only working with Apple software but nothing else.
    1. Is there a command that I can send (using ARD) to update firmware on all my Mac clients?
    2. Is there a command to update third party software such as Adobe, Roxio etc?

    1. No
    2. Only by repackaging the updates into an Apple standard package installer and pushing them out via ARD. I suggest you use LanREV's InstallEase (Free) to package up the updated files on your master build system and deploy those packages.

  • Adding Third-Party Classes

    Hello, I have a bunch of third party classes that I wish to use as javac complies...
    Where do I place these files and what format do they have to be in (i.e. a folder or a jar file)?
    Thank you!

    They can be in either directories or jar files. You just need to make sure that they are included in your $CLASSPATH.

  • How do i access a third party .class file

    Hi,
    I am new to both java and enterprise 8, and would greatly appreciate some help.
    I have a third party .class file and want to include it in a project so i can call it's methods etc. I can access it by creating an object as follows
    thirdPartyClass tpc= new thirdPartyClass();and then create a .class file of my own using javac at the command line without any probles, but if I use the same code in enterprise 8 it reports an error stating "cannot access MyProjectName.thirdPartyClass" could someone please tell me how to reference this file as so far I have not been able to find anything.
    Thanks for any help.

    Thanks for the suggestions it appears I was doing more or less the right things but miss reading the error message:
    Cannot access keyword.classes.thirdPartyClass
    bad class file C:\java\keyword\classes\thirdPartyClass
    class file contains wrong class: thirdPartyClass
    please remove or make sure it appears in the correct subdirectroy of the classpath.
    While looking I have found that the classes do not contian src folders of Javadoc so I will go see if the third party can supply a Jar file or similar.
    Thanks

  • IC WebClient Connectivity with ICI and Third Party Solution (Genesys)

    <b>Hi Techies,
                 Can any body give the information about the IC WebClient Connectivity with ICI and Third Party Solution (Especially Chat and Mail Configuration with Web Client in CRM). We are using CRM 5.0 server with Java+Abap Engine.  I need configuration for Web Client Genesys(Third Party) with ICI configuration.  I dont have idea regarding this. I 've little idea on Business Communication Broker.  Can any help me out in this regard.   Thanks in an advance. If u have any document it can be acceptable.
    Regds,</b>
    Govinda
    [email protected]

    We are looking for a site to site model. I want all the devices on the remote network to be on their own subnet. We need to be able to hit individual remote devices from the head end. The devices at the remote site in turn also need to be able to communicate with each other without having to use the VPN.

  • Employee Vendor and Third Party Vendor Posting Issue

    Dear Experts,
    I have an issue while Posting of Employee Vendor and Third Party Vendor.
    In T706K table, maintained symbolic account offset entry MJ90 Wage Type but its asking for Symbolic Exp account too. Otherwise, while posting its says Trip has no postable entries.
    I should get entry in FB03 as mentioned below
    Employee Vendor   (Dr)
    Service Tax            (Dr)
    Third Party Vendor  (Cr)
    Awaiting for quick response.
    Regards
    Shaik

    Hi Sieg,
    Thanks for your reply.
    Company has given Forex advance to employee via third party vendor
    So, We need to debit the amount into Employee Vendor and Credit into Third Party Vendor
    For Ex: Third Party Vendor is Thomas Cook (Forex Provider)
    Please guide me how to post the above entry in Standard.
    Regards
    Shaik

  • Give me the Configuration steps  for intercompany billing and third party s

    Hi Gurus,
    Give me  the Configuration steps  for intercompany billing and third party sales and give me a brief description with examples.
    Regards,
    YSR

    Dear YSR
    Check the links
    [Cross Company Configuration|http://help.sap.com/bp_bblibrary/500/Documentation/J62_BB_ConfigGuide_EN_DE.doc]
    [Third Party Without Shipping Notification|http://help.sap.com/bestpractices/BBLibrary/html/J55_ThirdPartyWOSN_EN_US.htm]
    Third party order processing is as follows:
    Assume three companies X, Y and Z
    X - The company,
    y - The customer
    Z - Vendor
    When ever X gets a PO from Y to supply some goods, X has an option of either manufacturing those goods or procuring those goods.
    If he is procuring the goods, there are two methods that are generally followed:
    Method 1)
    After receiving the PO from Y, X creates a sales order against Y.
    Now at the same time he also creates a PO to a vendor Z to produce the goods
    Z produces the goods and supplies to X
    X receives the goods from Z
    Then X delivers the same goods to Y.
    After that X invoices Y and Z invoices X.
    Note : Here there is no direct/ Indirect relation between Z and Y.
    This process is known as Trading Process. and the Material here is created  with Material type HAWA.
    The other method is a Third party order processing method:
    Here the glaring difference is that instead of Z supplying the material to X and X in turn supplying the same material to Y.
    X authorizes Z to supply the material to Y on his behalf and notify him once the delivery is complete.
    Now Z supplies the material to Y and acknowledges the same to X.
    Z  will send a copy of delivery acknowledgement and invoice to X.
    After receiving the delivery confirmation and invoice from Z, X has to verify the invoice and this process is known as invoice verification and is done in SAP through Tcode MIRO.
    The next step for X  is to create an invoice and submit to Y
    Only after the invoice verification document is posted  then only X can create an invoice for Y.
    This is the business flow that is followed for third party order configuration.
    There are few steps that have to be configured to enable the system to function as mentioned above.
    Step1)
    If you are always followwing a third party process for a material then you have to create the material using item category group BANS.
    The procument type should be marked as External procurement (F) in MRP 2 view of the material master record.
    if you are not always allowing third party order processing then u can create a material master record with item category group as NORM and the procurement type should be marked as ( X) meaning both types of procurment ( in house manufacturing and external procurement).
    Step 2)
    the item category in the order should be manually changed as TAS.
    For that you need to confugure the item category determination
    ord type + item cat grp + usge + Hiv level = Item cat + Manual item cat
    OR + NORM +      +       = TAN . + TAS
    OR + BANS +       +       = TAS
    Step 3)
    make sure that during the item category configuration for TAS  you need to mark relevnat for billing indicator as F
    Step 4)
    The schedule line cateogry for this type should be CS.
    make sure that you mark  subsequent type as NB - purchase requisition  in this schedule line category as this will trigger the purchase requision order immediately after the creation of the sales order and the PO to vendor is created against this purchase requiesion.
    thanks
    G. Lakshmipathi

  • XI and Third party systems are on diff OS which affects File adapter

    Hello,
    I hav ea sceanrio where XI is on Unix and third party system is on Windows.
    We are using a file adapter to give data to third party.on third party system os level script reads this file.
    When ever XI is file adapter is writing file that time only sometimes script tries to read the file and I guess here unix file lock mechanism is not understandable by script which read these files in third party.
    At the same time third party is writing data  and file adapter of XI reads that file, here also file lock mechanism is not recognised.
    This is causing bad data read in XI and as well third party level.
    Pl can you suggest how to resolve this.
    thanks,
    Sharada

    HI Sharada
    You need to use FTP. XI server's file adapter can access only files placed on its local directory.
    In your case  install a FTP server on your desktop and make file adapter connnnect to it .
    More in this blog,
    /people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang
    Cheers..
    Vasu
    <i>** Reward Points if found useful **</i>

  • Web as Java and Third Party

    Hi experts,
    I need a clarification about Web As Java and Third Party. I have done a lot research at the google and sdn but i am still not clear.
    File -> PI -> third party
    This third part is installed at other server( not in PI server ) and it is running on j2ee application. During creation of Technical System and Bussines System should i use Web As JAVA or third party?
    Please guide me experts and i will give you back the good *oints.
    Thank you experts,
    S.Saravannan

    The JAVA based system should be available withing client network, in this case we create system as Web As JAVA.
    you can get more info on below link]
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/24/8fa93e08503614e10000000a114084/content.htm
    Regards,
    Raj

  • Diff b/w standard PO and third party PO

    hi can anyone explain me the differences between standard PO and third party PO?  how does the screen shots vary b/w each other.
    tks in advance..

    under stand the scenerio
    sd pepole has recived a  sales order for material x
    but in the sales order they have mentined the item category as TAS so by doing this the moment they save the sales order system will genrate a requisiton automatically with the account assignement category as third party so now it is th ejob of the mm pepole to convert that pr into po and that po is know as the third party po and when u do the dummy gr for this po then system will nto ask for the sloc as there is no stock updation for the po

  • Integration between SAP and third party tax software

    can some body explain me or provide me docs regarding integration between sap and third party tax software like vertex.
    Thanks

    Hi
    First configure the same via the following menu path:
    1.) IMG>Financial accounting>Financial accounting global settings>Taxes on sales/purchases>Basic settings>External tax calculation>Define physical destination
    2.) Then test connection (option is available there).
    3.) If the connection is successful, also verify that the external tax package installed supports the R/3 4.6 version of the API. You do that by going to:
    System Information>Function List
    Check if the following functions are listed:
    • RFC_CALCULATE_TAXES_DOC
    • RFC_UPDATE_TAXES_DOC
    • RFC_FORCE_TAXES_DOC
    • RFC_DETERMINE_JURISDICTION
    4.) Then test the tax data retrieval:
    From SE37, select the relevant function modules like RFC_DETERMINE_JURISDICTION.
    The above 4 steps are necessary to satisfy that the RFC connection is established
    Hope useful
    S Jayaram

Maybe you are looking for