How content server see Java jars in custom component?

I put my Java class under mycomponent/classes and some jar under mycomponent/lib.
Content server can call into my classes but can not see the jars under lib.
Do I need other setup to let content server see the jars

I added the jars in .hda file not not recoginize by component ,kinldy share the your .hda file which working
my hda file data
<?hda version="11gR1-11.1.1.3.0-idcprod1-100505T121221" jcharset=UTF8 encoding=utf-8?>
@Properties LocalData
blFieldTypes=
hasPreferenceData=false
classpathorder=10
libpathorder=10
blDateFormat=M/d{yy}{ h:mm[:ss]{ a}}!mAM,PM!tAmerica/Chicago
libpath=D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib
classpath=D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/classes;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/avalon-framework-api-4.3.1.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/valon-framework-impl-4.3.1.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/commons-codec-1.3.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/commons-io-1.3.1.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/commons-lang-2.4.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/commons-logging-1.1.1.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/commons-vfs-patched-1.9.1.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/docx4j-2.5.0.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/fop-patched-0.95.756437.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/hwpf-3.4.0.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/jcr-1.0.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/jdom-1.0.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/junit-4.4.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/log4j-1.2.15.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/parent-pointer-plugin-1.0.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/wmf2svg-0.8.3.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/xalan-patched-2.7.0.jar;D:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/xmlgraphics-commons-1.3.757686.jar;:/Oracle/Middleware/user_projects/domains/base_domain/ucm/cs/custom/Test/lib/server.zip
ComponentName=Test
version=11.1.1.3.0
@end
@ResultSet Filters
4
type
location
parameter
loadOrder
validateStandard
test.CheckinFilter
null
1
@end
@ResultSet ClassAliases
2
classname
location
@end
error geting while access java class which is part jar (docx jar )
regards
Varaprasad

Similar Messages

  • How to modify a java method in Folder component

    Hi,
    I need to add some custom java code after a java method in Folder component (I am using UCM 10g, the java method is "buildResultSet" in service "COLLECTION_COPY_LOT").
    I defined service handler as described in Bex's book. My static table is:
    <@table custom_ServiceHandler@>
    <tr>
    <td>serviceName</td><td>handler</td><td>searchOrder</td>
    </tr>
    <tr>
    <td>Service</td><td>myPackage.MyClass</td><td>1</td>
    </tr>
    </table>
    Java code is :
    package myPackage
    public class MyClass extends ServiceHandler {
    public void buildResultSet() trows DataException,ServiceException
    ............. mu custom code
    m_service.doCodeEx("",this);
    If a change java method to addFiles and in static table Service to DocService, when i execute Checkin_new service it executes my custom code. I tried to change to loadorder, but have no success.
    Pls someone to tell me how can i modify this method or any other java method in "COLLECTION_COPY_LOT" service. Do i have to make some additional settings ? What other ways to modify java methods i should try ?
    I hope someone who has done someything like this to help me out.
    Thanks in advance

    A service handler might be the right way to run some code at the end of a service call (another way would be to make use of filters).
    First, make sure your static table is merged with ServiceHandlers.
    Secondary, change your custom method name into one that is not already in the service definition of COLLECTION_COPY_LOT (preferably a unique method name like collectionCopyLotLastAction that describes its purpose) and remove the following line from your code:
    m_service.doCodeEx("",this);Now create a service definition for COLLECTION_COPY_LOT in your custom component based on the original COLLECTION_COPY_LOT (copy paste from the original service definition) and add you own method collectionCopyLotLastAction as the last step in the service. Play with the load order to make sure CS is using your service definition of COLLECTION_COPY_LOT instead of the original.
    regards,
    Fabian

  • How to get an event both in custom component and into its instance

    I have a custom component that extends a Jtree
    I want to know when a node is clicked both , into my component and after into the component sited into Jpanel
    now, I can only detect it into the component, but I dont know how to detect it at the component I have in my Jpanel
    I have 'addTreeSelectionListener' in both places ...
    xxxxx.addTreeSelectionListener(new javax.swing.event.TreeSelectionListener() {
    public void valueChanged(javax.swing.event.TreeSelectionEvent e) { .....
    Any help ?
    Thanks

    tonnot wrote:
    Thank you.
    I think that a good answer can be ' Revise your code, because there must be a problem' Well, that's the life of a programmer. If you want to post an SSCCE, I'm sure somebody can help if you get stuck.
    And ...
    Why are you extending JTree? I'd bet you shouldn't be.Why not ? ....
    Why SUN develop the 'extends' functionality ? You should use extends if you're changing the behavior of an existing class. An example of this is extending JPanel and overriding the paintComponent() method to do some custom painting.
    You should not use extends if you just need an instance of an existing class. An example of this is extending JFrame instead of simply creating a JFrame instance.
    Without seeing your code, I can't be sure you're misusing extends. But many people do.
    Here's an example.
    Bad:
    public class MyProgram extends JFrame{
       public MyProgram(){
          setSize(200, 200);
          setVisible(true);
       public static void main(String [] args){
          new MyProgram();
    }Better:
    public class MyProgram{
       public MyProgram(){
          JFrame frame = new JFrame();
          frame.setSize(200, 200);
          frame.setVisible(true);
       public static void main(String [] args){
          new MyProgram();
    }

  • How to add default values when adding custom component to design view?

    I have a set of custom components (usually) extending Spark components. But when adding our custom component onto design view, how can I define defult values (in AS3).
    For example, s:Button has default label = 'Button' when added to application, or mx:DataGrid has 3 columns predefined, but when using custom components there are no predefined values like this.
    I can put this values in constructor, but they are not visible in design time, only runtime.
    Any ideas? Thanks
    Esmin

    yes, I am. By the way I've found the solution. Someone might find this usefull.
    In design.xml having
    <component name="ExtendedTextInput" namespace="mynamespace" category="beta" displayName="ExtendedTextInput"/>
    use this
    <component name="ExtendedTextInput" namespace="mynamespace" category="beta" displayName="ExtendedTextInput">
            <defaultAttribute name="text" value="ExtendedTextInput"/>
        </component>
    so when adding this component to design view, it will have text setted to value ('ExtendedTextInput' in this case).

  • How can I see what MCS the customer has?

    Hi!
    I am trying to determine what kind if HW the customer has, to see if we can use the existing server for the CCM4.2 upgrade or if we need a new one.
    When looking at the server I could see that it is a 7815 (tower) and when doing a msinfo32 in the "Run" field I could see that it is an IBM machine with 1Ghz CPU and 512MB RAM, the model was 847931X, which I assume is an IBM xSeries 200 8479-31X.
    Maybe you aren't the right forum to ask but the Swedish Cisco accountteam did not have any clues, to I thought I just might try you guys.
    Buying a new server seems very unnecessary if they don't need to do it.
    Best regards, Johan Andersson

    you will at least need to upgrade your memory.
    cisco currently recommends a 7815-I1 or IBMx206. these servers are 3 & 2ghz respectively with 2gb ram.
    how many phones does it need to support?

  • How to use standard Java file in custom module

    Hi All,        
    I want to use some CatalogItemImpl.java file in my custom DC but i was unable to find any entry in the standard component in businessobject.xml file as <businessObject name="XYZ" className="x"/>. Can anyone let me know how can we use the file file in my custom DC.
    Please provide your inputs......
    Regards,
    Rahul.

    Hi Rahul,
    You will not find the "CatalogItemImpl" in the 'businessobject.xml'. The 'businessobject.xml' is there to define session based API of modules. Those API have properties and web channel builder values injected when the user start a web session.
    For the "CatalogItem", you will have to use the Generic Factory concept. The Generic Factory is used to allocate instance given a configuration. If no configuration exists, the default implementation is used. By adding an entry in the Generic Factory you can choose to allocate your class instead of the default class.
    Within the catalog module, the alias to use for classes extending "CatalogItemImpl" is "com.sap.wec.app.common.module.catalog.businessobject.ext.interf.CatalogItemExtInterf".
    Please refer to the extension guide on how to manage the Generic Factory configuration file.
    Regards,
    Robin

  • Error with TaskSearchFilter using Java APIs in custom component

    I have created a custom Java component for use in LC Process Mgr.
    Upon invoke of process containing component, component fails with the following message:
    2011-02-28 16:28:31,260 ERROR [com.adobe.workflow.AWS] Cannot coerce object: [email protected]41 of type: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter to type: class com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter
    Code is pretty basic:
            ServiceClientFactory myFactory = ServiceClientFactory.createInstance();
            TaskManagerQueryService queryManager = TaskManagerClientFactory.getQueryManager(myFactory);
            TaskSearchFilter filter = new TaskSearchFilter();
            filter.addCondition(TaskSearchingConstants.pSTATUS, Operator.EQUALS, "3");
            List<TaskRow> result = queryManager.taskSearch(filter);
    Error seems to occur with the creation of the List. This code works ok when run as standalone file in either Eclipse or Netbeans but not within the component.
    All necessary JARs are included and are listed in the class-path in component.xml.
    Does anyone have any ideas?
    Thanks,
    David

    Looks like a class loader issue.  Usually this is caused by having the a class (TaskSearchFilte) in your component that on the server.   In other words there are two copies of the TaskSearchFilte class - yours and the one already in LiveCycle - and they are in conflict.
    If that's the case, the solution is simple:
    remove the jar files containing the TaskSearchFilte (and any other LiveCycle clients) from your component's jar file.  You may need them in the build path, so your code can compile - but you don't need them in the final component jar.
    remove the references to these jar files from the component.xml file's class-path entry
    add an import-packages section to your component.xml file.  This will not reference the jar files, but the package names themselves.  For example:
    <import-packages>    
         <package version="1.0">com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter</package>
         <!--  add more as needed -->
    </import-packages>

  • Primay file is not available in java filter of custom component

    I have a java filter on checkin doc.
    I can see primary file dir by calling binder.getLocal("primaryFile:path");
    By when I check my disk, it is not really there. So I can not do any processing on the checked-in doc.
    What caused that?

    That should be right, I believe. The temporary path also looks to be a relative path. Try using a combination of:
    String path = binder.getLocal("primaryFile:path")
    String dir = binder.getTemporaryDirectory();
    and/or iterate through:
    Vector v = binder.getTempFiles();
    to find the one one you need. Once you do, you should be able to use the following to create the file to validate against:
    File file = new File(path);
    Good luck.

  • How to get the name of a (custom) component

    Hi,
    I would like to know whether there is a way to get the name Xcelsius uses for instance in the Object Browser. Getting the components "name" property doesnt return this information.
    Thanks in advance.

    String myFileName = request.getRequestURL().substring(request.getRequestURL().lastIndexOf("/")+1);
    or with javascript
    <H1><script>document.write(document.location.href.substring(document.location.href.lastIndexOf("/")+1))</script></H1>
    bye! :)

  • How to see my JAR files....

    I would like to know that how can i see my JAR files. Suppose i've one JAR file or 've downloaded from net. Now, i want see those files. Don't say with Eclipse or any other IDE. In my pc i've only j2sdk and j2re. can i see all my JAR files throw j2sdk? or any other way , let me know.

    I really didn't get you. As in Eclipse you can easily see all java code comprises of real code. As what you mentioned, i'm only able to see the command lines codes what it comprises of. I wanted to see the real java code files.
    eg..
    I've[b] jr jar files in my pc. I want to see what it consists of (java code). I want to see that pure java source code. As what you can easily do with your any IDE (Eclipse). Can i do it with command prompt?

  • How to log out in content server

    Hi,
    Whats is the process to log out in content server?
    Thanks,
    Abhijit

    Hi Abhijit ,
    Install the ExtranetLook component and enable it on the content server . Before restarting the content server add the following variable in config.cfg :
    IsWebServerPagesOnly=false
    Save the file and then restart the content server and WEBSERVER to get the component in effect on the content server.
    After that you will see the logout button appearing.
    You will get this component in the coreupdate patchset if you have downloaded one or else download it from http://updates.oracle.com/download/6907073.html
    Thanks
    Srinath
    Edited by: srinathmenon on Mar 24, 2010 11:54 AM

  • Performance tuning content server

    Hi,
    I would like to profile my UCM based application. I am using Oracle content server 10g version and has custom java components for my business functionality. I would like to profile this application to identify performance bottlenecks. Is there any profiling tool in market that would get plugged /integrated with oracle content server (UCM 10g)?
    What are the general tips for performance tuning custom components?
    Thanks in advance
    Siva

    Some information can be found in the following document on Metalink :
    Use VisualVM Tools to Troubleshoot UCM and Observe Performance Problems Occurring in Java Virtual Machine (Doc ID 950621.1)

  • Jars in the class path of a custom component

    I am using the dom4j-1.6.1.jar library in a custom component, but my JBoss server has dom4j.jar in jboss\server\all\lib.  My custom component is throwing the following error:
    DefFoundError message:org/dom4j/xpath/DefaultXPath while invoking service XmlToCsvService and operation convert and no fault routes were found to be configured.
    This makes me suspect that the version of Dom4J in the lib directory of the server is taking precedence over the one in my component.  Any suggestions for how to deal with this?  Thanks.
    Jared Langdon

    Even Marcel's suggestion may not always work, but it certainly is worth a quick try.  I seem to remember trying that and finding that one of the LiveCycle EAR files has a version of dom4j buried inside it (I don't remember which version of LC it was).
    Of course altering an Adobe supplied EAR is not recommended and may violate your support ageement. There is an alternative, however; if changing the JBoss lib folder doesn't work.  To avoid the conflict you can use JarJar to rename the packages within the DOM4J class and deploy the renamed jar with your component to avoid the conflict.
    http://code.google.com/p/jarjar/
    You would then use the renamed classes in your component:
    import org.mypackage.dom4j.Document;
    import org.mypackage.dom4j.DocumentException;
    import org.mypackage.dom4j.DocumentHelper;
    import org.mypackage.dom4j.Element;
    import org.mypackage.dom4j.Node;
    import org.mypackage.dom4j.io.DOMReader;
    import org.mypackage.dom4j.io.DOMWriter;

  • Setting content server for storing PPM documents

    Hi Folks,
    We have followed the steps outlined the PPM config doc for setting up the content server (pages 117). Summary of the steps are shown below. (We are on PPM5.0)
    Creating a Content Server Entry
    1. In Customizing for SAP NetWeaver under Application Server Basis Services
    Knowledge Provider Content Management Service Define Content
    Repositories , choose Content Repository Display/Change .
    2. Choose Content Repository Create .
    3. Enter a name and a description for the content server.
    4. Enter CFF in the Document Area field and HTTP in the Storage Type field.
    Creating a Storage Category for a Repository
    1. In Customizing for SAP NetWeaver under Application Server Basis Services
    Knowledge Provider Content Management Service Define Content Categories
    , choose New entries.
    2. Enter a name and description, and then enter CFF in the Document Area field.
    3. Enter the name of the newly-created content repository in the Content Repository
    field.
    Setting the new Content Server as the Default Storage Category
    1. Choose transaction DMWB.
    2. Choose model area CFF in the tree.
    3. Navigate to PHIO-classes, node CFF_VERSION_V.
    4. Change the standard attribute STORAGE_CATEGORY from CFFCONTENT to the
    category you have defined above.
    5. Repeat this for node CFF_ADD_FILES_V and for CFF_VERS in node
    CFF_VERSION_V.
    After doing the above steps I did the following tests.
    1. Tried to access documents stored at the portfolio item level before doing the above content server config. I was able to access the documents which leads me to believe that files are still getting stored in the DB.
    2. Checked the table CFF_CONT before and after storing a 1kb file and the number of entries increased by 2, which again leads me to believe the file is not stored in the content server.
    Appreciate any input on whether we have followed the correct steps and if there is a better way check if files are actually being stored in the content server.
    Thanks,
    Lashan
    Edited by: Lashan Wanigatunga on Apr 28, 2011 7:08 AM

    Hi Lashan,
    I didn't same steps as you explain in your first post but it isn't working.
    Why didn't it work for you when you posted your 1st post, and now is is working? Is there some installation or Add-on that we need you have? Is there any Basis system parameters that we need to put?
    thanks in advance,
    aupalaura

  • Content server pros and cons when compared to others

    Hi DMS Gurus,
    we are in a process of deciding which storage area to go for, and the client is kneen on going for a common existing  server, as he is not kneen on spending on DMS content server.
    my question are,
    can we transform any existing file server or system (which is already in use) in to a content server just by installing windows 2003, and content server CDs. if so please tell me how to go about this.
    is content server only the preferred storage to process the original files in through WEB DMS, or will Starage in SAP Database,Vault or Archive also will give this funtionality.
    let me please know what are the major Pros (benifits) and cons (demerits)  which Content server storage gives when compared to other storage.
    Points for sure,
    thanks in advance
    Shanti

    Shanti,
    ArchiveLink:
    You use SAP ArchiveLink as a communication interface between the document management system and the archiving systems. You can display the archived data using the SAP ArchiveLink viewer. Many times there are documents generated which needs to be tied to a DIR and hence you use the archive link to tie these to a transaction and the originals can be stored in the content server.
    KPRO
    KPRO apart from attaching the originals, it provides a wide range of other functionalities like content service,
    where after every check in& checkout of DIR you can mantain the working copies in the content server.
    Knowledge Provider is a component of SAP Web Application Server and provides the general infrastructure for storing and administrating documents.The Content Server and the Cache Server are server components that interact with the Knowledge Provider
    Knowledge Provider provides the following services:
    -Services for KPro client applications
    -Document Management Framework (DMF)
    -Document Management Service (DMS)
    -Content Management Service (CMS)
    -Integration of content servers and cache servers
    -Content Server
    -Allows you to integrate SAP Content Sever or
    external content servers
    -Cache Server
    -Allows you to store documents close to the client (caching)
    -Content Modeling Tool
    -Document Modeling Workbench (DMWB)
    Hope this helps
    Paddy

Maybe you are looking for