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.

Similar Messages

  • 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

  • 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

  • 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 #

  • My upgraded version of mail with Windstream will not work with Mozilla Firefox. Why? Works find with the old Classic but not the new version

    It switches to the Classic view but not the new view which I really like.... My laptop has Google Chrome and it has not problems with this new view of Windstream only with Mozilla Firefox 5, the other version never had any problems either...I had 3 and had no problems till I up graded....

    The longer this thread continues, the more ancillary comments you throw in that aren't directly pertinent to your problem with your DVR software not working with Firefox 4.0. Sorry, I don't intend to continue with this discussion.
    I do agree that ''something'' needs to be done better with regards to plugins for Firefox, but I do disagree with you as to whose responsibility that ''something'' is.

  • Java plugin not working with firefox1.0.4 post 11i installation.

    Do anyone has idea which java plugin is requried for firefox1.0.4 to open Java applets after installation of 11i EBS?
    I have checked jre1.6 update 5, it is perfectly installed and associated but not working for 11i applets.
    Kindly do also tell me where to download the jdk version from?
    thanx
    Regards,
    M. Farooq

    Duplicate post
    Jiniatior with browser firefox1.0.4 post 11i EBS installation
    Re: Jiniatior with browser firefox1.0.4 post 11i EBS installation

  • Java Applets not working with Firefox 5 properly

    Java Applets work sometime. But after sometime the Java icon at the bottom (near date & time) disappears. After this no matter what I do it does not work. Java Applets are used in this case to draw charts. The same charts come out properly in Internet Explorer. But I prefer using Firefox for its speed. What is the reason for this problem ?

    -> Tap ALT key or press F10 to show the Menu Bar
    -> go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
    -> go to View Menu -> Toolbars -> unselect All Unwanted toolbars
    -> go to Tools Menu -> Options -> Content -> place Checkmarks on:
    1) Block Pop-up windows 2) Load images automatically 3) Enable JavaScript
    -> go to Tools Menu -> Options -> Privacy -> History section -> ''Firefox will: '''select "Remember History"'''''
    -> go to Tools Menu -> Options -> Security -> place Checkmarks on:
    1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries 4) Remember Passwords for sites
    -> Click OK on Options window
    -> click the Favicon (small drop down menu icon) on Firefox SearchBar (its position is on the Right side of the Address Bar) -> click "Manage Search Engines" -> select all Unwanted Search Engines and click Remove -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons later. Check and tell if its working.

  • Java is not working with Firefox (but is working with Safari)

    My computer is showing that Java is not enabled via Firefox. When I try to go into Tools/Add-ons, I see that there is no Java plug-in on that list (though I previously had no problem with Java). When I run software update on my Mac, it tells me my software is all up to date. Not sure what else to do. Java is working in Safari, so the problem is clearly with Firefox. I've tried disabling all my plug-ins, and clearing my cache. Nothing has helped.

    Apple has removed support for the Java Plugin2 with the latest Java Update 10 for OS X 10.5 Java version, so the Java plugin is no longer available for Firefox versions and other browsers like Google Chrome that require the Java Plugin2.
    There will be fix for this in Firefox 6 or in Firefox 5.0.1 if that version will be released, so that Firefox will find the plugin again.
    I don't know if all Java applets will still be working on OS X 10.5 with this fix (Apple recommends updating to OS X 10.6).
    * [/questions/844734]
    * [/forums/contributors/707078]

  • Java is not working with Firefox 4.0. It was working fine with Firefox 3.6

    When uploading photos on Zenfolio, Java was working fine with Firefox 3.6. But when I upgraded it to Firefox 4.0, Java stopped working properly. When I try to upload photos, the Java text opens up with all the programming codes. With Firefox 4.0, I am not able to upload photos into Zenfolio.

    Please read this thread:
    http://support.mozilla.com/bs/questions/797708

  • Import/Export extension not working with DW4

    I am trying to export my site definitions from Dreamweaver 4.0 so that I can import them into CS4.
    I installed the Extension Manager 1.5 and used it to install MX157851_siteImpExp1_0_3.mxp
    But I don't get a new menu item File/Export in my DW4 menu, so I cannot use the extension.
    Am I missing a step?

    I have found this information on the web that refers to the extension you are using (page takes a while to load), do not know if it help, but reading it there is a problem with the extension.
    http://help.wugnet.com/bravenet/webmaster/Import-Site-Failure-ftopict98245.html
    PZ

  • Java 8 not working with Mavericks help

    Updated to Mavericks and went to my dashboard, error screen opens says I need the Java Runtime Environment I installed it (JAVA 8) and it still does not work. Ideas help?

    You need Apple Java 2014-001 or Java SE Runtime Environment 7 1.7.0_67.

  • NB520, Replaced display, only work with AC power, not work with battery

    Hi
    I just replaced a broken display on my 7 months old Toshiba NB520 and now it only works with AC power.
    The battery icon shows 52% but not charging.
    When I plug out the AC power, it turns off.
    Help

    Please help guys. I dont know what more to do...

  • Weblogic server 5.1.0 with sp8 does not work with LDAP (Netscape Directory Server 4.12)

    I have weblogic server 5.1.0 with the sp8 running on Windows NT server 4.0.
    The weblogic server is configured to use LDAP realm (Netscape directory
    server 4.12).
    When I try to run weblogic server and I am getting the following errors:
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException: java.lang.ExceptionInInitialize
    or: weblogic.security.ldaprealm.LDAPRealmException: cannot connect to ldapse
    without a principal to authenticate as
    at weblogic.security.ldaprealm.LDAPDelegate.setupProperties(LDAPDele
    .java, Compiled Code)
    at weblogic.security.ldaprealm.LDAPDelegate.<clinit>(LDAPDelegate.ja
    83)
    at weblogic.security.ldaprealm.LDAPRealm.<init>(LDAPRealm.java:34)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at weblogic.security.acl.Realm.getRealm(Realm.java:78)
    at weblogic.security.acl.Realm.getRealm(Realm.java:56)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1756)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    java.lang.ExceptionInInitializerError: weblogic.security.ldaprealm.LDAPRealm
    ption: cannot connect to ldapserver without a principal to authenticate as
    at weblogic.security.ldaprealm.LDAPDelegate.setupProperties(LDAPDele
    .java, Compiled Code)
    at weblogic.security.ldaprealm.LDAPDelegate.<clinit>(LDAPDelegate.ja
    83)
    at weblogic.security.ldaprealm.LDAPRealm.<init>(LDAPRealm.java:34)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at weblogic.security.acl.Realm.getRealm(Realm.java:78)
    at weblogic.security.acl.Realm.getRealm(Realm.java:56)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1756)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    And here is the my ldaprealm.properties file
    netscape.server.host=localhost
    netscape.server.port=389
    netscape.server.ssl=false
    netscape.server.principal=uid=admin, ou=Administrators,
    ou=TopologyManagement, o=NetscapeRoot
    netscape.server.credential=password
    netscape.user.dn=ou=People, o=towers.com
    netscape.user.filter=(&(uid=%u)(objectclass=person))
    netscape.group.dn=ou=Groups, o=towers.com
    netscape.group.filter=(&(cn=%g)(objectclass=groupofuniquenames))
    netscape.membership.filter=(&(uniquemember=%M)(objectclass=groupofuniquename
    s))
    By looking at the error message, it seems like the "server.principal" and
    "server.credential" info is not correct.
    But I was able to use the same Netscape Directory server with Welogic 5.1.0
    with sp4, although the ldaprealm.properties file has somewhat different
    format.
    Did anyone have similar problems with sp8?
    Thanks in advance for any suggestions.

    BEA support just gave me the solution.
    They told me to uncomment out the line
    server.alias=netscape
    in the ldaprealm.properties file
    And I am able to start weblogic with my NIS
    Thanks
    "Enrique" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hi,
    Have you try to remove the "system" user on the LDAP server?
    Regards.
    "Honghai Zhang" <[email protected]> wrote:
    I have weblogic server 5.1.0 with the sp8 running on Windows NT server
    4.0.
    The weblogic server is configured to use LDAP realm (Netscape directory
    server 4.12).
    When I try to run weblogic server and I am getting the following errors:***************************************************************************
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException:
    java.lang.ExceptionInInitialize
    or: weblogic.security.ldaprealm.LDAPRealmException: cannot connect toldapse
    without a principal to authenticate as
    atweblogic.security.ldaprealm.LDAPDelegate.setupProperties(LDAPDele
    ..java, Compiled Code)
    atweblogic.security.ldaprealm.LDAPDelegate.<clinit>(LDAPDelegate.ja
    83)
    atweblogic.security.ldaprealm.LDAPRealm.<init>(LDAPRealm.java:34)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at weblogic.security.acl.Realm.getRealm(Realm.java:78)
    at weblogic.security.acl.Realm.getRealm(Realm.java:56)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1756)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    java.lang.ExceptionInInitializerError:weblogic.security.ldaprealm.LDAPRealm
    ption: cannot connect to ldapserver without a principal to authenticate
    as
    atweblogic.security.ldaprealm.LDAPDelegate.setupProperties(LDAPDele
    ..java, Compiled Code)
    atweblogic.security.ldaprealm.LDAPDelegate.<clinit>(LDAPDelegate.ja
    83)
    atweblogic.security.ldaprealm.LDAPRealm.<init>(LDAPRealm.java:34)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at weblogic.security.acl.Realm.getRealm(Realm.java:78)
    at weblogic.security.acl.Realm.getRealm(Realm.java:56)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1756)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)***************************************************************************
    And here is the my ldaprealm.properties file////////////////////////////////////////////////////////////////////////////
    netscape.server.host=localhost
    netscape.server.port=389
    netscape.server.ssl=false
    netscape.server.principal=uid=admin, ou=Administrators,
    ou=TopologyManagement, o=NetscapeRoot
    netscape.server.credential=password
    netscape.user.dn=ou=People, o=towers.com
    netscape.user.filter=(&(uid=%u)(objectclass=person))
    netscape.group.dn=ou=Groups, o=towers.com
    netscape.group.filter=(&(cn=%g)(objectclass=groupofuniquenames))
    netscape.membership.filter=(&(uniquemember=%M)(objectclass=groupofuniquename
    s))////////////////////////////////////////////////////////////////////////////
    By looking at the error message, it seems like the "server.principal" and
    "server.credential" info is not correct.
    But I was able to use the same Netscape Directory server with Welogic5.1.0
    with sp4, although the ldaprealm.properties file has somewhat different
    format.
    Did anyone have similar problems with sp8?
    Thanks in advance for any suggestions.

  • OpenGL ES Textures with alpha layer not working with Colorpointers

    Hey,
    I'm trying to get a texture - that's loaded from a .png file - to fade out gradually. I can load it using the Apple's "Texture2d" class and present it with its own transparency. The problem is when I try to combine that transparency with a color pointer. I'll try to give an example code...
    const GLubyte squareColors[] = {
    128, 128, 128, 128,
    128, 128, 128, 128,
    0, 0, 0, 0,
    0, 0,0, 0,
    glColorPointer(4, GLUNSIGNEDBYTE, 0, squareColors);
    glEnableClientState(GLCOLORARRAY);
    glEnable(GLTEXTURE2D);
    glEnableClientState(GLTEXTURE_COORDARRAY);
    glEnableClientState(GLVERTEXARRAY);
    glTexEnvi(GLTEXTUREENV, GLTEXTURE_ENVMODE, GL_REPLACE);
    glEnable(GL_BLEND);
    glBlendFunc(GLSRCALPHA, GLONE_MINUS_SRCALPHA);
    for (Sprite *element in dynamicBodies) {
    glLoadIdentity();
    [element renderSprite];
    Now, if the original .png happens to be completely opaque, it gets darker and transparent because it gets multi-sampled with the color matrix. But if it has any see-through parts in itself, it does not get affected by the the color.
    I'm sure it has to be possible to change the alpha percentage of an alpha layered texture, but I can't seem to find another way.
    Does anyone happen to know why this does not work, or how it could be accomplished some other way? I would be highly appreciative.

    You set your texture environment mode to GL_REPLACE. The implementation of this feature is to replace the primary color (set via ColorPointer or Color3f) with the sampled texture value, so your color will have no effect.
    Replace the texture env mode with GL_MODULATE, which will multiply the Texture Unit Input Color (==PrimaryColor for Texture Unit 1) with the sampled texture value.

  • 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]

Maybe you are looking for