Question about running a filter on the service of the Complutense University of MADRID

OK so I started almost in front of the finish line which understand me is: /.  Uh, I tried to learn how to use filters and I met an obstacle that confuses me.  OK, so I wrote a filter to just add "This is a test" to xComments, it is a simple test to prove a point before I push forward with a request.  If everything seems to be set up, made the file (compiled without any problem) class, the component and changed the .hda to point to the class file (I think); However, I get the error message "the content item was not verified successfully. Impossible to filter "filterFile' of type 'validateStandard '. java.lang.NoClassDefFoundError: filter/filterFile: filterFile (fake name filter/filterFile). »

Here is the information about the filter

Path of the class:.../custom/filterFile/classes/filterFile.class

HDA file:

classpath = $COMPONENT_DIR/classes

Filters @ResultSet

4

type

location

parameter

loadOrder

validateStandard

filterFile

null

1

@end

It seems that the filter cannot find class file, even though I said classpath is "$COMPONENT_DIR/classes" and put the location as "filterFile.

Try to open your component in the component wizard.

There are two things that you need to configure:

(1) according to Build - build settings you should have defined an entry of the type Component class or Classes that will connect the additional component or directory linking to .jar (if your classes are packaged in a jar)

(2) pursuant to Build - build settings - advanced should have defined the path of custom class

From what you write, I guess 2) is (classpath =... in the name of the component.hda), but 1) might be gone (it is stored in manifest.hda)

If these two work, check the package name and the name of the class. Note that you need both in your definition - package_name.filter_class_name

In fact, it is not related to filters as with the use of Java custom in a custom component.

If you think that you have done everything, but it still does not work, create a hello_world as a component which will print classpath for you, as it is visible from your JVM, for example by: String classpath = System.getProperty ("java.class.path"); and then, if your device classes are really there.

Tags: Fusion Middleware

Similar Questions

  • Conductor 3.0 with 10.5 of the Complutense University of MADRID - cannot get the AdHoc questions work/TLS record

    I'm working on a laboratory configuration to prepare application a client driver 3.0 with 10.5SU1 of the Complutense University of MADRID.  I have the base line everything up, but I can't get the Ad Hoc conference bridge to enroll at the University Complutense of MADRID by the conductor, nor I can SIP trunk to become accessible.  This all points to a TLS problem, which is reflected in the newspapers of the Complutense University of MADRID:

    Pre-verifie SdlSSLTCPListener::verify_cb = 0, cert check errno = 20, depth = 0
    00269848.000 | 22:41:54.023 | AppInfo | HandleSSLError - verification of the certificate has no:(Verification error:20)-Impossible to get the certificate of the local radio station for 10.0.0.113:41409

    This repeats for the Ad Hoc and appointments of the intellectual property on the driver.

    I followed the conductor with the guide of the AAU (http://www.cisco.com/c/dam/en/us/td/docs/telepresence/infrastructure/con...) as well as the deployment of certificate (http://www.cisco.com/c/dam/en/us/td/docs/telepresence/infrastructure/con...) guide.  I have a root certification authority I use (lab.local), I installed the root certificate and the certificates of the host on both devices.  OpenSSL gives me the verification of the return code: 0 (ok), at once UCM and conductor during validation to the root certificate.

    I think that I followed the guides and double-checked against them.  Someone else has seen this? What Miss me?

    Hi Ryan,

    I think that I am running into the same question... The TAC engineer gave you a bug ID I can follow?

    Thank you

    Peter

  • Question on the alias in the Complutense University of MADRID

    Hello

    I am currently in the process of brainstorming of ideas that would help streamline the e-mail notifications by using the cmdlet workflow management and wonder if there are best practices following help put me in the process.

    In essence, I want to do, it's associate a security group at the University Complutense of MADRID to groups of users by using aliases and tokens. My implementation involved naming aliases similar to security groups and have a token to decide which group to choose. It worked well, but I got to thinking that there may be a way to streamline this process, so when a user creates a new field in LDAP, an alias can be created that is associated with members of the cname. Is it possible to embed aliases in Complutense University of MADRID with members of a specific LDAP cname? Are there other processes that can do what I'm doing?

    Thank you for your time.

    Hello

    Of course, it is possible, but with some customization. There are two options for you.

    Option 1: Conduit in the Complutense University of MADRID

    1. do you have a personalized search LDAP for users who belong to a cname using JNDI calls (regular service)

    2 look for this information in a result set and use it as input for the creation of the alias of the Complutense University of MADRID with this set of users

    Note: Users should be connected to the AAU at least once to have his updated profile cached in the Complutense University of MADRID

    Option 2: Led outdoor AAU

    1. do you have a program of independent Java at the request of the LDAP query for the new groups/areas created (new JNDI)

    2 do you calls of CRMI to AAU to create aliases with the users information from LDAP

    I hope this helps.

    Kind regards

    -Anand

  • Service that returns all documents at the Complutense University of MADRID

    Do we not have a service that returns the revision Lee of all documents (native document and documents of data file type) at the Complutense University of MADRID?

    Kind regards
    Pratap

    Hi Pratap,

    GET_SEARCH_RESULTS does not return the latest revisions? You can restrict to only native of Documents and data files if you want in your query. You will be limited by the MaxResults defined in the file config.cfg to the content server, I think.

    -jason

  • WebService custom at the Complutense University of MADRID

    Hello world

    Can anyone confirm if a web service at the Complutense University of MADRID is created the same way as creating an IdcService custom.

    To experiment, I generated the WSDL file for my personalized service, but I can't find any entry and exit of the metadata in the WSDL file.

    I'm it's incorrect, generating or y at - it another way to create a webservice in UCM or am I supposed to manually change my WSDL?

    This is what looks like the element

    < s:element name = "getTwoMetadata" >

    < s:complexType >

    < s:sequence >

    < s:element minOccurs = "0" maxOccurs = "1" name = "extraProps" type = "s0:IdcPropertyList" / >

    < / s:sequence >

    < / s:complexType >

    < / s:element >

    In fact, it takes in 3 metadata, but does not show here.

    Thanks in advance

    Hi Valerie,.

    So custom WSDL can be created the same way as we do for STANDARD services. I assume that you have added the relevant parameters of the demand for this service and then run WSDL generates. If not, then try and communicate the results.

    Thank you

    Srinath

  • Using webservices to archive files to the Complutense University of MADRID

    Hi all.

    We are trying to perform some tests to the Complutense University of MADRID, but we do not see many examples on this subject.
    That's what we want to do:

    We want to use Web services for archiving of files at the Complutense University of MADRID.

    How?

    1. we will develop a java application
    2 inside of the application, there will be a button that calls the Web service
    3 after the Web service is called, the document should go outside UCM

    So far, I only do research. Read the documents on Web services, how they work and what I could find.
    But I can't find an example about this. Someone, please, I could tell where I can find it?

    Thanks for your help and your patience.

    Fernando

    Just in case someone was looking for a code example, I created one:

                Stub stub = (Stub)client.getPort();
                stub._setProperty(stub.USERNAME_PROPERTY, "weblogic");
                stub._setProperty(stub.PASSWORD_PROPERTY, "welcome1");
    
                IdcPropertyList ipl = null;
                IdcFile primaryFile = new IdcFile();
                File f = new File ("C:/temp/test.doc");
    
                primaryFile.setFileName(f.getName());
                primaryFile.setFileContent(CheckInSoapPortClient.getBytesFromFile(f));
    
                //client.checkInUniversal(dDocName, dDocTitle, dDocType, dDocAuthor, dSecurityGroup, dDocAccount, CustomDocMetaData, primaryFile, alternateFile, extraProps)
                CheckInUniversalResult result = client.checkInUniversal("", "Checked-in via WS call", "Document", "weblogic", "Public", "", ipl, primaryFile, null, null);
    
                System.out.println(result.getStatusInfo().getStatusMessage());
    

    All I needed was the CheckIn.wsdl and JDev (I created a Web Service Proxy, he gave the WSDL file and added in the code above to an auto-generated Java).

  • setting up e-mail server in the Complutense University of MADRID

    Hi all

    I am new to the Complutense University of MADRID. I have to configure the mail server of development at the Complutense University of MADRID. How that.any idea?

    : PEI

    bad question.how I do know.ask your mail administrator.

    for ex -.

    MailServer - example - testmail.com

    Admin e-mail - [email protected]

    It may be useful

  • Mapping of the external LDAP user with the role of the Complutense University of MADRID

    Hello WebCenter content masters,

    I'm having trouble mapping a group LDAP to the role of the Complutense University of MADRID.
    Let me explain the situation.

    I have an external LDAP (Apache DS) with two groups (groupofuniquenames), 'Administrators' and 'Test' and two users 'ldap_admin' and 'ldap_user '. ldap_admin is a uniqueMember administrators and the ldap_test a test uniqueMember.

    At the University Complutense of MADRID, I created a custom role 'Test' with privileges "RWD" group 'Public '.

    I guess that the external LDAP has been configured successfully as an LDAP authenticator provider - myrealm settings tab, since I can see groups and external LDAP users, and they can connect the DCU with their user id and password.

    However, ldap_user is unable to perform the check, and on their profile page, the role is "invited, authenticated."
    And when I pass ldap_user in the test group to the Administrators group, the role is then "invited, authenticated, admin, sysmanager, refineryadmin, rmaadmin, pcmadmin, ermadmin.
    It seems that the Administrators group is mapped correctly, but not the group test.

    I try to apply the advice given in these two threads:
    External LDAP user has only priviledge research at the Complutense University of MADRID
    Unable to map external users to roles in content Webcenter 11 g

    I have created a 'externalLdapMap' identification card, completed the provider.hda file and put the map "Test, Test". I also tried with "Test, contributor" that I was not sure about the first mapping.
    Whatever it is, after restarting the server of the University Complutense of MADRID, I'm still not able to grant the privilege of writing for a user to the Administrators group.

    I missed something in the process?
    Thank you for your attention and of course any help would be greatly appreciated.
    L.

    Hello

    I think that you have enabled the LDAP authenticator credits and that this error will go up.

    You must create an OpenLDAPAuthenticator and do the same settings with flag set up and then test the scenario.

    Thank you
    Srinath

  • How to get around the process of authentication of the Complutense University of MADRID

    Hi all

    I use Oracle Content Server and I need to get the file directly so I can attach my mail application. However, I am able to get the native file using this URL:


    http://localhost:16200/cs/idcplg? IdcService = GET_FILE & dID = 29401 & dDocName = IPM_029601 & allowInterrupt = 1

    But as soon as I click on that URL, it shows me the Login Page and after you submit the user name and password, it gives me the file to save to my local computer.
    I need to bypass the authentication page, and I need this file directly to save on my local computer.
    Is there a method that I can implement to pass the credentials as hardcoded or is it possible to pass the credentials in the url GET_FILE above.

    Please suggest!
    Urgent!

    Thank you...

    Taken the lead here: service GET_FILE p does not accept user and password settings. He worked while authentication has been cached in the browser.

    If you can handle protocols SOAP & WSDL side client (Visual Basic or Java), then there is the solution to get the file from the Complutense University of MADRID with a proper authentication. It is a GetFile.wsdl to start.

    http://download.Oracle.com/docs/CD/E17904_01/doc.1111/e10807/a01_wsdl_and_soap.htm

    and 10gR 3 manual with even better examples:

    http://download.Oracle.com/docs/CD/E10316_01/CS/cs_doc_10/documentation/addons/soap_wsdl_10en.PDF

    Kind regards
    Boris

  • Any model of user interface to display the banner from the content of the Complutense University of MADRID

    Hello
    There is a requirement to indicate the type of banner of the portal in the webcenter spaces, where it should display html content one after another since the press kit of the Complutense University of MADRID. The banner should Flash each content for a while and repeat the cycle. Access to the content can be easily controlled by the security of the University Complutense of MADRID, so that each user sees a different content in the banner. Is there a Webcenter UI model or example to achieve this usecase? Any thoughts on how to build this banner in webcenter spaces 11g ps3? something like http://www.npower.com/Home/index.htm (see banner in the Middle - but the content should be different pages)

    Concerning
    Prasath.C

    Published by: Fabien C April 30, 2011 15:49

    I don't know if you can do it with flash, but it might be possible. If you really want to use the flash, I advice allows you to use the REST API to query the content to the correct content server or use the AAU regular services for web content.
    If you really want to use flash, but I just want to have the feature of changing the content of a banner once every few seconds, you can also use JQuery in combination with the content presenter. You must write your own template to the content Distributor and use JQuery or some JS framework to make things. In my view, it should also be possible without JQuery, but I have not tried...

  • How to get to the Complutense University of MADRID

    Hello

    UCM is installed and running. There is no default file available in AAU... is there a process to create/get files (such as C) at the Complutense University of MADRID... Please help me to create the folders in the Complutense University of MADRID...

    Thanks in advance

    Published by: user11178721 on December 3, 2010 02:43

    Published by: user11178721 on December 3, 2010 02:44

    Hello

    Everything you have to do is to go to Administration - Admin Server - Component Manager: check the box for Folders_g - update and then restart UCM managed server. It's that simple :-).

    Thank you
    Srinath

  • External users at the Complutense University of MADRID

    I have LDAP connected to the Complutense University of MADRID. So when a user connects to AAU, they are automatically added to the Complutense University of MADRID and the roles are given to their development on the groups that I place in the LDAP backend. If it works well.

    That is the question:
    How can I go on adding users to the Complutense University of MADRID by users to log on for the first time? Yes I can use local users and add them one by one, giving them a password of users, but that wouldn't make sense since it is imperative to allow authenticated users to LDAP. So basically I ask, this is a kind of "digitizing" utility or something that can scan the LDAP users add them to the Complutense University of MADRID by giving them appropriate roles. So when a user logs in the first time they already have necessary permissions/roles.

    I want to do this is because many of these users will participate in the flow of work as authors/approvers/Editor. Now, I'll have to sign their "first time" so they added to the Complutense University of MADRID and then I manually and add these users to their games of Alias (which are used in workflows to allow users to approve/publish etc..)

    Thanks in advance.

    In fact, I had a similar situation. You can also write a SQL script to add them into the User table so that they will become available as in the projects and all. Once the user connects, he will use this same entry you made in the database.

    Touch a point mentioned Tim, the user accounts and roles CAN be stored in the database (table UserSecurityAttributes) even if they are external. How we do it is, basically, that you have your LDAP users defined as internal dusertype and duserauthtype as well as external.

  • SAY do not check in the PDF back to the Complutense University of MADRID

    Hello

    I put TELLING you 'open' a document instead of default 'view'. Now, when I "opened" a Microsoft Word document, it is extracted. I can modify it, and when recording, it is extracted in Complutense University of MADRID a new revision by SAY.

    When I do the same thing with the PDF, I try to open a PDF file, it opens and not re-recorded in UCM after save and close. I have to checkin explicitly the document to the Complutense University of MADRID.

    If I use Adobe Writer, it works well.

    However, even with the Adobe reader software, should not order the full doc. After the closure of the doc, it should ideally placed to the AAU. This work is designed?

    Thank you
    R

    I expect that hit you the questions with the support of adobde for WebDAV, which is best described as limited.

    There will be a number of customers who will not support WebDAV to record new content in the Complutense University of MADRID

    Tim

  • How to re-create the database from the Complutense University of MADRID

    «I was able to change the connection DB from one to the other by changing the settings through the ' system properties '.» However, there are a few objects (tables) database created during installation of the Complutense University of MADRID. is there anyway that I can go to the new database and database get UCM objects re-created without re-installation of the UCM? It seems some sql scripts in the database directory, but I don't know how to operate, the order and setting are not clear for me.

    Thank you

    Hello

    One thing you can do to recreate the default tables and columns is to run the script all.sql on the DB that is specific for your db. If you want to just recreate a replica of the image then extract the ddl from your current database instructions and put it in a sql script that run directly on the another instance of db. In this case make sure you change instance specifc details in the extracted ddl script and replace with the instance details latest as the table space name, the user name will execute it and like wise.

    Another way would be to use archiver to create the batch file export for tables and then imported to the target instance. The way out for this is to go to Archiver Applet - create new Archive - Export - Tables and here and include any tables that are there in the content server.

    Hope this helps

    Thank you
    Srinath

  • Release Date of the Document at the Complutense University of MADRID is 1 day earlier

    Hi Experts,

    I use WebCenter content 11.1.1.8.0 and here if I'm checkin document of Console and the Complutense University of MADRID Capture workspace console it takes 1 day release date earlier.

    For example: If Today(28/0ct/2015) I'm checkin document release date will be (October 27, 2015) and UCM Console too, I can see the same date, please let know us how I can change the date of release of the day...

    Thank you

    Sanjeev

    Follow these steps:

    1. connect to your content as a user admin server.

    2. go to the admin user.

    3. you should see a list of users display, select the user having cause and then click on edit in the user Admin screen.

    4. on the Info tab for this user, check the time zone of the user. What is he on?

    5. If the zone shows something different for the user, then change the correct time zone.

    =================

    Another point:

    The value "EnableSetIdcTimeZone = true" in config.cfg and also check after restart

Maybe you are looking for