Filenet connection with java api not working

I have written the following code to connect content engine and process engine..
MY content engine is connected fine and good...But process engine is not connecting
code:
public String PE_CONNECTION_POINT      = "PEConnection";
public Connection ceConnection;
public Domain ceDomain;
public void testFileNetConnection()
* Connect to Content Engine and retrieve a list of
* properties for the base 'Document' document class
ceConnection =
Factory.Connection.getConnection(FILENET_URI);
Subject ceSubject =
UserContext.createSubject(ceConnection, FILENET_USERNAME, FILENET_PASSWORD, null);
UserContext.get().pushSubject(ceSubject);
ceDomain = Factory.Domain.fetchInstance(ceConnection, CE_DOMAIN, null);
ObjectStore ceObjectStore = Factory.ObjectStore.fetchInstance(ceDomain, CE_OBJECTSTORE, null);
ClassDefinition classDef =
Factory.ClassDefinition.fetchInstance(ceObjectStore, "pawan", null);
PropertyDefinitionList properties = classDef.get_PropertyDefinitions();
for (Iterator propertyIter = properties.iterator(); propertyIter.hasNext();) {
PropertyDefinition property = (PropertyDefinition) propertyIter.next();
System.out.println("Property: " + property.get_DisplayName());
     //this.instantiateFolder(ceObjectStore);
     //this.createFile(ceObjectStore, ceDomain);
UserContext.get().popSubject();
* Connect to Process Engine and retrieve a list of
* Queues for this Connection Point
VWSession peSession = new VWSession();
peSession.setBootstrapCEURI(FILENET_URI);
String[] queueNames = null;
try
     peSession.logon(FILENET_USERNAME ,FILENET_PASSWORD,PE_CONNECTION_POINT);
     queueNames =
     peSession.fetchQueueNames(VWSession.QUEUE_PROCESS);
catch(Exception es){es.printStackTrace();}
for (String queue : queueNames)
System.out.println("Queue: " + queue);
The output of above code I have attached part of successful connection of the content engine and the error of process engine
Property: Ignore Redirect
Property: Entry Template Object Store Name
Property: Entry Template Launched Workflow Number
Property: Entry Template Id
java.lang.NoClassDefFoundError: com/ibm/CORBA/iiop/ObjectURL
     at filenet.pe.peorb.client.ORBSession.establishORBSession(ORBSession.java:667)
     at filenet.pe.peorb.client.ORBSession.<init>(ORBSession.java:985)
     at filenet.vw.server.PECommandsFactory.getPECommands(PECommandsFactory.java:119)
     at filenet.vw.api.VWSession.logonByDomain(VWSession.java:864)
     at filenet.vw.api.VWSession.logon(VWSession.java:723)
     at FileNetConnectionTest.testFileNetConnection(FileNetConnectionTest.java:97)
     at FileNetConnectionTest.main(FileNetConnectionTest.java:35)
Caused by: java.lang.NoClassDefFoundError: com/ibm/CORBA/iiop/ObjectURL
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Unknown Source)
     at com.ibm.websphere.naming.WsnInitialContextFactory.init_implClassCtor(WsnInitialContextFactory.java:172)
     at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:112)
     at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
     at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
     at javax.naming.InitialContext.init(Unknown Source)
     at javax.naming.InitialContext.<init>(Unknown Source)
     at filenet.pe.peorb.client.ORBServiceHelper.getORB(ORBServiceHelper.java:442)
     at filenet.pe.peorb.client.ORBServiceHelper.initFromORBRouterInfo(ORBServiceHelper.java:286)
     at filenet.pe.peorb.client.ORBServiceHelper.<init>(ORBServiceHelper.java:873)
     at filenet.pe.peorb.client.ORBSession.establishORBSession(ORBSession.java:653)
     ... 6 more
Exception in thread "main" java.lang.NullPointerException
     at FileNetConnectionTest.testFileNetConnection(FileNetConnectionTest.java:104)
     at FileNetConnectionTest.main(FileNetConnectionTest.java:35)
When to remove the above error I add IBMORB.jar in enviroment variable then I get following error
log4j:WARN The log4j system is not properly configured!
log4j:WARN All ERROR messages will be sent to the system console until proper configuration has been detected.
Exception in thread "main" com.filenet.api.exception.EngineRuntimeException: SECURITY_INVALID_CREDENTIALS: Invalid credentials.
     at com.filenet.apiimpl.wsi.ClientOperation.getCredential(ClientOperation.java:303)
     at com.filenet.apiimpl.wsi.ClientOperation.setCallContext(ClientOperation.java:194)
     at com.filenet.apiimpl.wsi.ClientOperation.start(ClientOperation.java:102)
     at com.filenet.apiimpl.wsi.ClientOperation.run(ClientOperation.java:69)
     at com.filenet.apiimpl.wsi.ServiceSession.getObjects(ServiceSession.java:242)
     at com.filenet.apiimpl.util.SessionHandle.getObjects(SessionHandle.java:334)
     at com.filenet.apiimpl.core.Session.callGetObjects(Session.java:121)
     at com.filenet.apiimpl.core.Session.executeGetObject(Session.java:325)
     at com.filenet.apiimpl.core.Session.getObject(Session.java:339)
     at com.filenet.apiimpl.core.IndependentObjectImpl.getObject(IndependentObjectImpl.java:154)
     at com.filenet.apiimpl.core.IndependentObjectImpl.refresh(IndependentObjectImpl.java:161)
     at com.filenet.api.core.Factory$Domain.fetchInstance(Factory.java:1543)
     at FileNetConnectionTest.testFileNetConnection(FileNetConnectionTest.java:69)
     at FileNetConnectionTest.main(FileNetConnectionTest.java:35)
Plz help me out..Thank you

I'm having the same problem.. I think there's something wrong with it. [fast weight loss tips|http://www.weightlossgidiet.com]

Similar Messages

  • USB connection with PC is not working after updating firefox OS 1.3 to 2.0 on my device. How to fix this?

    After updating OS 1.3 to 2.0 usb connection to PC is not working. I am using firefox os device Flame. I cannot share files with my PC. Please help me to fix this problem.

    ''Ralph Daub [[#answer-694088|said]]''
    <blockquote>
    Hi Raiyad Raad,
    I'm sorry to hear that you're having issues when connecting your Firefox OS device to the PC, after updating it from v1.3 to v2.0.
    Please ensure that USB Storage and Media Storage are activated.
    If you are still having issues after activating USB storage and restarting your device, please write back to us with the following information:
    * What is the model of your phone?
    * What is the OS version and Build ID found in the Device Information page? Please visit [https://support.mozilla.org/en-US/kb/how-do-i-find-what-version-firefox-os-i-have this link] if you need help finding the Build ID of your phone.
    * Please describe the steps you took to update your device.
    * Please provide the exact steps to reproduce the issue you are encountering.
    * How often do you encounter this issue?
    Please be sure to include as much detail as possible, including any websites that may exhibit this issue, and any error messages that you may be receiving, exactly as they appear. This will ensure that we have all the necessary information to investigate this behavior.
    - Ralph
    </blockquote>
    I've activated the USB storage and media on the phone. But still it's not working. I'm using T2mobile Flame and my OS version is 2.0. Build ID: 20141016183911
    I've written a blog about how I updated it here: http://raiyadraad.blogspot.com/2015/02/how-to-update-firefox-os-13-to-20-with.html
    I'm having this problem after updating to firefox OS 2.0

  • XSLT Mapping with Java class not working in Integration Repository

    Hi,
    I have an XSLT mapping program with Java enhancement and I was able to successfully tested it in Stylus Studio. However, when I imported the Java class and the xslt program in Enterprise Service Builder and tested it, my program does not compile.
    Here is the error message: "Transformer Configuration Exception occurred when loading XSLT mapping_temp.xsl; details: Could not compile stylesheet".
    My java program is in a zip file containing SOAPHeaderHandler.java and SOAPHeaderhandler.class. My Java has a package com.nga.xslt.
    Here is the declaration of my Java class in the XSLT: xmlns:javamap="java:com.nga.xslt.SOAPHeaderHandler"
    It seems that it could not read the java class. Can you please advice what is wrong?

    Hi ,
    select XMLTOOLKIT option in Operation mapping and execute it.
    I am not sure we can call java program in XSLT Program,but alternative is copy the code and use it in XSLT mapping it self,that means your XSLT program will become with JAVA extensions.
    then in Operation mapping level select SAPXMLTOOL kit option and execute it. i hope it will work. if it is not working then you have deploy some JAXP files on server,because the way execution of XSLT Mpaping program got changed,like when eve you executing XSLT with extnasions( if you are not using XMLTOOL kit option) then you have to use latest version of JAXP.JDK files.
    Regards,
    Raj

  • XSLT with java extensions not working with jdk 1.6

    Hi,
    in as XSL transformation I'm using java functions in some cases. With jdk1.5 this works fine. But when switching to jdk1.6 it seems the java classes are not properly initialized.
    See following simple XSL:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:java="http://xml.apache.org/xalan/java" exclude-result-prefixes="java">
         <xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
         <xsl:template match="/">
         <xsl:variable name="counter" select="java:java.util.Vector.new()"/>
         <xsl:variable name="temp1" select="java:add($counter,'1')"/>
         <xsl:variable name="temp2" select="java:add($counter,'2')"/>
         <xsl:variable name="temp3" select="java:add($counter,'3')"/>
         <xsl:value-of select="java:size($counter)"/>
         <xsl:value-of select="java:toString($counter)"/>
         </xsl:template>
    </xsl:stylesheet>
    With jdk 1.5 it creates following output:
    3
    [1, 2, 3]
    With jdk 1.6 I get:
    0
    So I can access the object in jdk 1.6 but adding doesn't work.
    Anybody has an idea what could be wrong or how to fix this?

    thanx this is the solution. With this construct
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:java="http://xml.apache.org/xalan/java" exclude-result-prefixes="java">
         <xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
         <xsl:template match="/">
         <xsl:variable name="counter" select="java:java.util.Vector.new()"/>
         <xsl:variable name="temp1" select="java:add($counter,'1')"/>
         <xsl:variable name="temp2" select="java:add($counter,'2')"/>
         <xsl:variable name="temp3" select="java:add($counter,'3')"/>
         <xsl:variable name="temp4" select="$temp3"/>
         <xsl:value-of select="java:size($counter)"/>
         <xsl:value-of select="java:toString($counter)"/>
         </xsl:template>
    </xsl:stylesheet>
    at least the '3' is added to the vector.

  • My connection with itunes is not working

    Please HELP I have done everything from flushing, firewall exceptions and reintstalling the download of itunes....My connection is not working. Have spoken with two men from India and with no help from them.....

    Dear Fourms,
    Look at how many postings there are for the same error. thousands on google and more on here. We all have tried everything even seeking each others advice in forums. i have also never seen an answer from APPLE that will resolve the issue. i think they need to check their server settings, their product (itunes), and work directly with us to resolve the issue. if you post in the fourm then make sure you also summit feedback maybe this will let them know this is a HUGE and FUSTRATING problem. Again another wast of money.
    *First we bought an expensive iPod because of its latest and greatest technology by apple*
    THEN THE ISSUES CAME
    We turned off our firewalls
    opened every port
    tried reinstalling
    cleared our temp and dns cache a million times
    setup new accounts to try again
    spent probably a total of a month at one consecutive time trying to fix this issue.
    Update a thousand times.
    Ran that darn network diagnostic in itunes and windows
    Bought new routers
    Disabled, updated, uninstalled and reinstalled our drivers
    Pinged, ran trace routs and everything to verify we connect to the server
    But is it really still OUR problem to come up to a solution?
    this is all in my own opinion.
    But if anyone finally gets a resolution, maybe apple?, then let ALL these people on the web and in these forums have a real and truthful resolution and reason it is happening.

  • HTTPS connection with client certificate not working in spartan

    Spartan does not show certificate for the user to select
    when I click the https link.
    The certificates (taken from a smartcard) are indeed present in the user CertStore.
    It works with IE 11 and Chrome.
    Has somebody any suggestions ?
    Thanks.

    in fact you are more using a reverse-proxy than a proxy since it is on the server part..
    You have to put all the SSL server part on the reserve-proxy itself and not on the final RSS feed. Then, the reverse-proxy will authenticate your client and gets its certificate. After that, either this proxy will open a plain connection (no ssl) towards the RSS, or you can also open a ssl connection but this means you must create a client certificate for the proxy. It just depends on the security level you need, and I used this solution many times in professional hosting.
    hope it helps !

  • Bluetooth connection with Samsung u740 not working quite right?

    I have a new Samsung u740 cell phone and I set it up to sync my contacts b/w the computer and the phone. I also set it up so when someone calls me it pops up on my computer who's calling, but when someone calls it just says "unknown caller". I have synced the contacts on both devices. Does anyone have any advice on what to do?
    Thanks Taylor

    With your bluetooth connection does your computer allow you to answer the calls? I am currently working on the same issue but with same problems.

  • MS Olap connection with java api

    Hi,
    I am new to sql 2005 analytical server. How to connect to the sql 2005 analytical server using java programming language. If any one of you know please let me know details with some sample code

    If you are going to post code please use the code formatting tags. Select the code you are posting in the message box and click the CODE button.
    Your error is here
    Problem getting JAAS Context: java.lang.SecurityException: Unable to locate a login configurationYou should look into that.

  • Java apps not working right

    I lately have found problems with Java apps not working correctly. For example, in Yahoo Widgets I cannot get any widget preferences to display; in Apple's Java Preferences for J2SE 5.0 the preference window opens but is blank; and in JBidwatcher the buttons are missing in main and preference windows.
    When I log in as another user I find all those apps work properly, so it seems to be something wrong within my User folder. I tried reinstalling the Java J2SE50ReIease4 but it didn't help. Is there something I can delete and/or reinstall to fix this problem?

    Ditto here,
    I made the mistake of thinking I could throw away the preferences in the Java folder and new pref's would automatically replace the missing pref's, much to my surprise no such thing happened. My settup is the same as yours, except my OS is 10.4.8.
    Someone please help.
    Thanks,
    BJZTX
    G5 D2GHz   Mac OS X (10.4.7)   G4 Notebook 10.3

  • HT4235 iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    Hmm.. Thank you for the response.
    Have you tried using the iPod with another user account or computer, to help narrow down whether the problem lies with the computer, account, or the iPod itself?
    Maybe try reformatting it, using the tools provided by Windows. Instructions on how to reformat your iPod can be found in this article.
    http://www.methodshop.com/gadgets/ipodsupport/erase/index.shtml
    B-rock

  • Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. Thanks.

    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. I am getting lots of spelling errors as the MacBook laptop screen is too small. Thank you so much! .

    Contentmom6 wrote:
    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work.
    Normally, you just connect the monitor to the MacBook using a VGA adaptor that you can buy from an Apple Store.  Now try System Preferences > Displays > Detect Displays.  You should now be able to select a display mode for the monitor.  If it still doesn't work, then I'd check that everything is properly connected.  I've had problems with colours disappearing due to a faulty connection in the VGA adaptor.
    Bob

  • Why does Java Application not working with Macromedia Flash 5 or MX?

    Why does Java Application not working with Macromedia Flash 5 or MX?

    Who says they don't?
    Although I don't know much about those I'd think they should be able to talk to Java Aps using Sockets or request Servlets ...
    Spieler

  • I just need a little help to connect with eCommerce API. Could anyone please give a JAVA sample code

    Hi All,
    I am looking for a sample code to just to connect with Business Catalyst eCommerce API. My aim is to simply retirieve the list of the products and update them.
    It would be really helpful, if anyone please provide me a sample code in JAVA, just to connect with the API.
    Thanks
    Ani

    public static void main(String[] args) throws RemoteException, MalformedURLException {
                        String endpoint = "https://CC.sys.com/CatalystWebS1ervice/CatalystEcommerceWebservice.asmx?WSDL"; // endpoint url can be found under Site Settings -> API -> click on eCommerce and copy the URL on the browser here.
                        CatalystEcommerceWebserviceSoapProxy sq = new CatalystEcommerceWebserviceSoapProxy(endpoint);
                        Products[] prod = new Products[2];
                        prod = sq.product_ListRetrieve(Username , Password, SiteID, CatalogueID);
                        System.out.println(prod[1].getDescription());

  • Since upgrading, both our wireless printers are still visible, but OSX will not connect with them.  Both work via connecting from other sources via the same wireless router (airport).  What do I need to do to get my printing/scanning working again?

    Since upgrading, both our wireless printers are still visible, but OSX will not connect with them.  Both work via connecting from other sources via the same wireless router (airport).  What do I need to do to get my printing/scanning working again?

    First thing to try is reset Printing System:
    OS X Mavericks: Reset the printing system
    Next would be reset the router (power off 15 secs then back on). And, 2 minutes later, reset the printers 1 by 1.

  • Java Plugin not working with firefox 3.o.13  and linux.

    this is my ln -s to the plugin at /usr/lib/mozilla/plugins
    libjavaplugin_oji.so -> /usr/local/jdk1.6.0_16/jre/plugin/i386/ns7/libjavaplugin_oji.so
    Any ideas why java is not working?
    Here's the ln -s again:
    #pwd
    #/usr/lib/mozilla/plugins
    # ls -l
    lrwxrwxrwx 1 root root 63 Sep 28 20:41 libjavaplugin_oji.so -> /usr/local/jdk1.6.0_16/jre/plugin/i386/ns7/libjavaplugin_oji.so
    Here are my java stats:
    # java -version
    java version "1.6.0_16"
    Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
    Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
    Firefox 3.0.13:
    Mozilla/5.0 (X11; U; Linux i686;
    Gentoo Linux:
    # uname -a
    Linux tma 2.6.30-gentoo-r5 #10 SMP Sun Sep 20 21:52:19 PDT 2009 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
    I installed java from a jdk*.sh file and set the class path in /etc/bash/bashrc (not that it matters.
    The appletviewer does work.

    solved: I knew you all knew I could figure this out.
    #cp -R /usr/lib/mozilla/plugin/ /usr/lib/firefox-mozilla/
    asuming this is true:
    tma plugins # pwd
    /usr/lib/mozilla/plugins
    tma plugins # ls -l
    total 4
    lrwxrwxrwx 1 root root 63 Sep 28 20:41 libjavaplugin_oji.so -> /usr/local/jdk1.6.0_16/jre/plugin/i386/ns7/libjavaplugin_oji.so
    tma plugins #

Maybe you are looking for

  • InDesign 5 'quit unexpectedly' after deleting preferences & even reinstalling

    InDesign 5, after restarting my computer this morning, keeps crashing immediately when I try to open the software. I have no idea why because it worked fine before the restart. I tried deleting (all of them indicating from the forums) preferences: ~/

  • Green frames when using AppleScript to export from QT

    Not sure if this is a QuickTime issue, h.264 issue, or an AppleScript issue, but i thought I'd start here since I know the least about AppleScript and have some clues to the problem. I'm creating an Automator workflow that requires a run AppleScript

  • Creating View or  Pivot Table

    I have a query: SELECT circ.facilityid FROM ADMGID.CIRCUITSOURCE_DB CIRC, ADMGID.MINIRETICULATED_DB MN WHERE CIRC.DISTGRP_FID = MN.DISTGRP_FID AND Mn.Facilityid = 'NBRG 0002 0009' return me data , ever 4 rows BRG 0207 BRG 0210 BRG 0208 BRG 0209 of co

  • Bursting engine and email delivery

    Tim, Please could you tell me would the custom email solution that you are writing in the blog work with the bursting engine, so that you could generate multiple documents and send them to there specific email addresses. Thanks, Mark

  • Movie file in my song list?

    I have a problem with a movie file i have that shows up in my song list. Also when i shuffle my songs and it comes out i have to restart my ipod. How do I get it off my song list but still leave it on my ipod?