Calling EJBs across ears - HomeObject not found

I have this situation:
- BeanA is a stateless session bean and packaged in mod1.ear. mod1.ear also has
a jar file which contains BeanB's home and remote interface. In mod1.ear's application.xml,
I have mentioned the BeanA's jar and BeanB's client jar containing only the home
and remote interfaces of BeanB. BeanB's client jar is marked as a java module
in mod1.ear's application.xml file.
- BeanB is also a stateless session bean and packaged in mod2.ear.
- BeanA does a lookup for BeanB and then calls a business method of BeanB.
The issue:
- When BeanA does a lookup, I get an exception saying BeanBHome is not found.
Basically I think it is an issue with the classloader. BeanA is not getting BeanB's
home. I did a hack by adding BeanB's client jar in the classpath of startServer.cmd.
It works, but I think it is not a clean way.
Can someone let me know what the right solution is?
Thanks,
Abbas

Hello Abbas,
Please provide your manifest classpath entries and any other files/information
that may be necessary to detect the problem. Also, for more information about
WebLogic classoading mechanisms, if you haven't done so please read http://dev2dev.bea.com/articles/musser.jsp.
Best regards,
Ryan LeCompte
[email protected]
http://www.louisiana.edu/~rml7669
"Abbas" <[email protected]> wrote:
>
Rob:
I included the BeanB's ejb-client.jar entry in the manifest file of BeanA's
ejb-jar.
However, it doesn't work. I think Weblogic should load BeanA's jar and
BeanB's
ejb-client jar with the same classloader. I couldn't figure out why BeanA
couldn't
locate the home interface. If I copy the BeanB's class files into BeanA's
jar,
obviously it works. But that wouldn't be a clean way to work.
I have replicated the scenario with 2 sample beans. I can upload them
if you or
someone can let me know if I am missing something.
Thanks,
Abbas
Rob Woollen <[email protected]> wrote:
Abbas wrote:
I have this situation:
- BeanA is a stateless session bean and packaged in mod1.ear. mod1.earalso has
a jar file which contains BeanB's home and remote interface. In mod1.ear'sapplication.xml,
I have mentioned the BeanA's jar and BeanB's client jar containingonly the home
and remote interfaces of BeanB.Ok
BeanB's client jar is marked as a java module
in mod1.ear's application.xml file.No, remove that.
In beanA's ejb-jar file add a manifest class-path entry that references
beanB's ejb-client-jar.
-- Rob
- BeanB is also a stateless session bean and packaged in mod2.ear.
- BeanA does a lookup for BeanB and then calls a business method ofBeanB.
The issue:
- When BeanA does a lookup, I get an exception saying BeanBHome isnot found.
Basically I think it is an issue with the classloader. BeanA is notgetting BeanB's
home. I did a hack by adding BeanB's client jar in the classpath ofstartServer.cmd.
It works, but I think it is not a clean way.
Can someone let me know what the right solution is?
Thanks,
Abbas

Similar Messages

  • Ejb/collaxa/system/DeliveryBean not found   :(

    Hi All
    I have tried all the possible solutions given on this forum to get rid of "ejb/collaxa/system/DeliveryBean not found" Exception when trying to call CreditRatingService from a JSP as given in the tutorial.
    Pls tell me how to resolve this issue.
    09/02/17 18:53:43.203 InvokingProcessesUI: Servlet error
    java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:256)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.ApplicationContext.lookup(ApplicationContext.java:196)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:299)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:194)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:169)
         at _invokeHelloWorld._jspService(_invokeHelloWorld.java:62)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:94)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:303)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:194)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:169)
         at invokeHelloWorld.jspService(_invokeHelloWorld.java:62)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:256)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.ApplicationContext.lookup(ApplicationContext.java:196)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:299)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:194)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:169)
         at _invokeHelloWorld._jspService(_invokeHelloWorld.java:62)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:293)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:299)
         ... 17 more
    naveen
    Edited by: user640347 on Feb 17, 2009 5:30 AM

    Hi All
    I have tried all the possible solutions given on this forum to get rid of "ejb/collaxa/system/DeliveryBean not found" Exception when trying to call CreditRatingService from a JSP as given in the tutorial.
    Pls tell me how to resolve this issue.
    09/02/17 18:53:43.203 InvokingProcessesUI: Servlet error
    java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:256)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.ApplicationContext.lookup(ApplicationContext.java:196)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:299)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:194)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:169)
         at _invokeHelloWorld._jspService(_invokeHelloWorld.java:62)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:94)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:303)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:194)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:169)
         at invokeHelloWorld.jspService(_invokeHelloWorld.java:62)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:256)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.ApplicationContext.lookup(ApplicationContext.java:196)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:299)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:194)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:169)
         at _invokeHelloWorld._jspService(_invokeHelloWorld.java:62)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:293)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:299)
         ... 17 more
    naveen
    Edited by: user640347 on Feb 17, 2009 5:30 AM

  • EJB server\default directory not found

              this is the error that i am getting when i deploy my war and I
              am not able to figure out what is server\default EJB directory.
              can some one help in realizing what mighht be the problem
              <Mar 22, 2001 3:15:39 PM PST> <Notice> <Management> <Loading configuration
              file .\config\mydomain\config.xml ...>
              log file: C:\bea\wlserver6.0\.\config\mydomain\logs\weblogic.log
              <Mar 22, 2001 3:15:43 PM PST> <Info> <Logging> <Only log messages
              of severity "Error" or worse will be displayed in this window.
              This can be ch
              anged at Admin Console> mydomain> Servers> myserver> Logging> General>
              Stdout severity threshold>
              Warning: lib\ejipt.properties not found
              Error: Ejb directory servers\default not found
              

    It appears that your WAR is meant to work with another appserver. In other
              words, the WAR is dependent on the workings of ejipt.
              Gary
              Jay Hombal <[email protected]> wrote in message
              news:3aba89a8$[email protected]..
              >
              > this is the error that i am getting when i deploy my war and I
              > am not able to figure out what is server\default EJB directory.
              >
              > can some one help in realizing what mighht be the problem
              >
              >
              >
              > <Mar 22, 2001 3:15:39 PM PST> <Notice> <Management> <Loading configuration
              > file .\config\mydomain\config.xml ...>
              > log file: C:\bea\wlserver6.0\.\config\mydomain\logs\weblogic.log
              > <Mar 22, 2001 3:15:43 PM PST> <Info> <Logging> <Only log messages
              > of severity "Error" or worse will be displayed in this window.
              > This can be ch
              > anged at Admin Console> mydomain> Servers> myserver> Logging> General>
              > Stdout severity threshold>
              > Warning: lib\ejipt.properties not found
              > Error: Ejb directory servers\default not found
              >
              

  • Call Library Function Node: library not found or failed to load

    Hello,
    I had a VI that could not find some of the dll functions it needed.  It works on one machine and not on another.  So foolishly I copied the dll in question from the working machine and pasted it over the one on the non-working machine. 
    Now all my math functions are broken on the machine I copied the dll too.  The error is "Call Library Function Node: library not found or failed to load"
    And if I try to relink in the VI I get "Error loading C:\National Instruments\LabVIEW 8.2\resource\lvanlys.dll" A dynamic link library (DLL) initialization routine failed."
    I tried a repair labview and that did not help.
    I tried uninstall and reinstall labview and that did not help!
    Please help me fix this!
    Version 8.2
    dll: C:\National Instruments\LabVIEW 8.2\resource\lvanlys.dll
    Jim

    What library did you first copy?
    Also lvanlys.dll depends on the Intel Math Kernel Library that gets installed in a different location "C:\Program Files\National Instruments\Shared\MKL".
    This Intel Math Kernel Library again depends on the Visual C runtime libraries. Most likely you replaced one of those runtime libraries somehow and now the Math Kernel Library (MKL) fails to initialize which causes thelvanlys.dll to fail its load.
    Without a good view on your system and what other NI software you have installed it is very hard to recommend a good way of proceeding. There are various versions of the MKL used by various versions of NI products and just deleting the entire MKL folder might get you into trouble with other NI tools.
    Deinstalling everything from NI, deleting the entire National Instruments folder and then reinstalling what you need would be the most safe proceeding.
    And next time don't just copy some Visual C runtime libraries between machines. Their dependencies are complicated at the least and simply not graspable by us mere mortals. Use the according C runtime installer for the version you need as that installer will take care of installing the right versions of C runtime components and registering everything proberly so you do not usually run into problems with other applications using different versions of the C runtime.
    Message Edited by rolfk on 03-01-2010 10:26 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Call library function node: function not found in library

    I'm using Labview 6.1 and Windows XP.  I am trying to open some code, but it opens up with a broken arrow.  The error is Call Library Function Node:function not found in library.  Tried to configure the node, but no change.  Moved the DLLs to various directories (keeping them together) but again no change. 
    This code has been compiled and is working fine.  I'm just trying to run the source code to make some modifications.  Any suggestions? 
    Thanks
    CarlosV

    Thanks for the suggestions.  Tried it but had the same results.  The library I'm using is hpe1413_32.dll. 
    One thing I forgot to mention....doing a configure on the node, it comes up with the library: hpvscp32.dll and the function: hpe1413_error_message
    The function doesn't exist in the library.  So I set the path to hpe1413_32.dll which does contain the function. 
    After closing the configuration window and opening it up again, the library shown is hpvscp32.dll
    From what I can tell, there are three libraries involved:hpe1413_32.dll, hpe141332v.dll, and hpvscp32.dll
    Thanks again.
    Carlos

  • Call library function node - function not found

    When creating a DLL I get a the Labview error "Call Library Function Node "LabviewReceiverDLL.dll:readDataJ1939Data' Function not found. Everything looks correct to me and this used to work, though I've changed computers since then.
    This is the beginning of my C++ code just to show my function name. I've also attached the Call Library Function Window to show my setup.
    Thank you in advance for your help.
    #include"StdAfx.h"
    #include<iostream>
    /* Call Library source file */
    extern"C"__declspec(dllexport)unsignedint readDataJ1939Data(unsignedint, unsignedint, unsignedchar, unsignedchar* canData, unsignedchar* path);
    unsigned int readDataJ1939Data(unsignedint ulTimeStamp, unsignedint ulIdentifier, unsignedchar uiDataCount, unsigned char* canData, constchar* path)
    Solved!
    Go to Solution.
    Attachments:
    Call Library Function.png ‏192 KB

    You mention that you have changed computers and that it used to work before.
    Could it be that there is another (older) copy of the DLL on this computer, and LabVIEW is loading the wrong one?
    The simplest way to check is to close your VI and delete the one you are expecting it to use.  Then open the VI again; if LabVIEW doesn't ask you where the DLL is, it is loading it from somewhere else.
    Batya

  • First EJB problem:  HTTP 404 NOT FOUND

    I was running the first EJB example(Coverter) in J2EE Tutorial. My HTTP port is 4848.
    I can deploy the application at localhost:4848, and I can connect to http://localhost:4848/asadmin/
    The context root for web client is /converter.
    But when I try to connect http://localhost:4848/converter, It gave me HTTP 404 NOT FOUND error.
    Why?

    Now I know.
    Admin Port is 4848. Http Port is 4421.

  • Sip calls to cmr through vcse not found

    I can make inbound calls as h323 to a cmr but sip fails with far end not found.

    I tried some different searches including the .* but no diff.
    I did turn UDP back on and it worked. Still will not working with SIP, TCP or TLS.
    I am revisiting the ports and certificates to see if there is anything there. I have for the most part left the port ranges as they were originally as the release notes never insisted on a change and that the old range should be ok.

  • Error while deploying EAR : TLDs not found?

    Hi all,
    I encountered this error while trying to deploy an EAR using the NWDS for Netweaver CE 7.1.
    C:\usr\sap\MIT\J00\j2ee\cluster\server0\temp\deploy\work\deploying\ohs.ear1239681726594\convertwarfile\FCKeditor.tld (The system cannot find the file specified)
    I doublechecked the WAR inside the EAR file, and I found that the TLD is indeed in the WEB-INF directory of the WAR. This is the correct place to put it, yes?
    Should I reference to it in some other place? or should I move the TLDs to a different directory?
    Thank you for your assistance,
    Rajendra

    Hi, bojidar.
    No I don't think there are multiple copies of the TLD in my archive.  I suspect the problem lies on the fact that I imported the WAR from my tomcat deployment instead of building the archive directly from the Netweaver Development Studio. Some SAP specific deployment descriptors probably wasn't there.
    I have switched to trying to deploy directly from the NWDS though, and although I still haven't managed to deploy successfully, the problem is now different. I'll post about it in another thread.

  • Javax.ejb.Inject not found

    I'm working with jdeveloper 10.1.3 in S.O. XP
    build a proyect template JSP,EJB3,TOPLINK
    import javax.ejb.Inject;
    Error: Inject not found
    Tanks

    Add EJB 3.0 Library to project libraries.

  • DIO Port Config & DIO Port Write Block Diagram Errors (Call Library Function Node:libra​ry not found or failed to load)

    Hi Guys, need help on this.
    I have this LabVIEW program that used to work on the old computer.
    The old computer crashes most of the time, so I upgraded the computer
    and used its Hard Drive as slave to the new computer.
    I have no idea where are its installers since the guy that made the program 
    is not in my department anymore.
    I downloaded all the drivers needed from NI: NIDAQ9.0, NIVISA,NI488.2, 
    and drivers of some instruments needed in the setup. I'm using LabVIEW8.2.
    Everything's fine until I open the LabVIEW program for our testing.
    Here goes the error:
       DIO Port Config
       DIO Port Write
    Block Diagram Errors
       Call Library Function Node: library not found or failed to load
    Attachments:
    ErrorList.JPG ‏200 KB

    Honestly, I'm a newbie on Labview. I just want this old program to run on the new computer.
    The guys that installed the drivers on the old computer are no longer here in my department.
    And I have no idea where the drivers are. So I just downloaded the drivers needed for my hardware and instruments.
    Here's my hardware: (cards: PCI-DIO-96, PCI-GPIB), (instruments: SCB100,E4407B, HP83623, HP3458, HP8657)
    OS: Windows XP Pro
    By the way, I have unzipped the TraditionalDAQ drivers. First I tried the 7.4.1, but installation error appeared.
    I thought maybe the installer is corrupted, so I downloaded the 7.4.4 and unzipped it.
    But, still same installation error appears. I don't understand, both TraditionalDAQ drivers have same installation error.
    Now I have tried the DAQmx8.7.2 driver, bu still the DIO Port Config and DIO Port Write have errors.

  • Javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not fou

    Hi,
    I'm trying to run an esb process that invokes a bpel process but I'm getting the following error invoking bpel:
    oracle.tip.esb.server.common.exceptions.BusinessEventFatalException: Se ha devuelto una excepción no tratada en el sistema ESB. La excepción mostrada es: "java.lang.Exception: Fallo al crear el bean "ejb/collaxa/system/DeliveryBean"; la excepción mostrada es: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:158)
         at oracle.tip.esb.server.service.impl.bpel.BPELService.processBusinessEvent(BPELService.java:342)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
         at oracle.tip.esb.server.dispatch.DeferredEventDispatcher.processSubscriptions(DeferredEventDispatcher.java:150)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
         at oracle.tip.esb.server.dispatch.DeferredEventDispatcher.dispatch(DeferredEventDispatcher.java:67)
         at oracle.tip.esb.server.dispatch.agent.JavaDeferredMessageHandler.handleMessage(JavaDeferredMessageHandler.java:115)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:162)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:120)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:82)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:158)
         at oracle.tip.esb.server.service.impl.bpel.BPELService.processBusinessEvent(BPELService.java:342)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
         at oracle.tip.esb.server.dispatch.DeferredEventDispatcher.processSubscriptions(DeferredEventDispatcher.java:150)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
         at oracle.tip.esb.server.dispatch.DeferredEventDispatcher.dispatch(DeferredEventDispatcher.java:67)
         at oracle.tip.esb.server.dispatch.agent.JavaDeferredMessageHandler.handleMessage(JavaDeferredMessageHandler.java:115)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.jav
    I know that the processes work fine because I have deployed them in another server and they are working fine. The esb process invokes the bpel without problems.
    I have read some threads in this forum where this error appears, but they are related to jsps, and the solution given doesn't apply.
    I really appreciate any help. Thanks in advance,
    Zaloa

    here is the detailed properties.
    properties.put("java.naming.factory.initial",                         "com.evermind.server.rmi.RMIInitialContextFactory");
                   properties.put("java.naming.provider.url", "ormi://localhost");
                   properties.put("java.naming.security.principal",
                             "admin");
                   properties.put("java.naming.security.credentials",
                             "welcome"

  • ICompanyService.GetGeneralService(System.String) Method Not found error

    Hi,
    When I am running my code in SAP 2007, I am getting following on calling of UDO.
    Method not found: 'SAPbobsCOM.GeneralService SAPbobsCOM.ICompanyService.GetGeneralService(System.String)'
    I could not understand why this error is occuring, although same code in running very well in SAP 8.8 and 8.81.
    Please suggest me a solutions.

    Hi
    sorry it is mistake from me. Check this SAP note regarding GeneralService it is available from SAP Business One 2007 A SP00 PL46 onwards . Please check you PL version
    How to use the GeneralService functionality to access UDOs via DI API.
    Solution
    The GeneralService allows access to User-Defined Objects (UDOs) via the DI API. Using the GeneralService, you can add, update and delete UDOs. This feature was added in SAP Business One 2007 A SP00 PL46.
    The following is an example of how to add data to a UDO. This example relates to a UDO with the following properties:
    Type = Document
    Unique ID = "Ex_1"
    Name = "EX_DOC"
    User-Defined Field = "Field1"
    Child Object Name = "EX_DOC_LINE"
    User-Defined Field (Child Object) = "Property1"
    Use this (VB.NET) code to add data to the UDO:
               Dim oGeneralService As SAPbobsCOM.GeneralService
               Dim oGeneralData As SAPbobsCOM.GeneralData
               Dim oGeneralDataChild As SAPbobsCOM.GeneralData
                 'Get the UDO by referencing the Unique ID (using the CompanyService Object)
               oGeneralService = oCompanyService. GetGeneralService("EX_1")
                         'Create data for new row in UDO - (Document Table)
               oGeneralData = oGeneralService.GetDataInterface(SAPbobsCOM. GeneralServiceDataInterfaces.gsGeneralData)
               oGeneralData.SetProperty("U_Field1", "A")
               'Create data for new row in the UDO Child - (Document Row Table)
          oGeneralDataChild = oGeneralData.Child("EX_DOC_LINE"). Add()
               oGeneralDataChild.SetProperty("U_Property1", "B")
               oGeneralService.Add(oGeneralData)
    See the following Blog for more information and another example:
               "UDO Access via DI API (in PL46)"
               http://www.sdn.sap. com/irj/scn/weblogs?blog=/pub/wlg/13008
    Regards
    Arun

  • SetID not found for name='BUSINESS_UNIT', value='' with record 'BI_DISC_SUR

    Hi
    While entering identifier in Discount/Sub charge page it giving following error:
    SetID not found for name='BUSINESS_UNIT', value='' with record 'BI_DISC_SUR', tree ''. (2,214) FUNCLIB_CA.RENEWAL.FieldFormula Name:SelectDiscountSurcharge PCPC:12887 Statement:186
    Called from:CA_RNW_CYCLE_PNG.GBL.CA_RNW_LN_REDUC.DISC_SUR_ID.FieldChange Statement:9
    The PeopleCode built-in function GetSetID has been called with parameters that were
    not found in the table set definitions.
    Review the table set control tables and the PeopleCode and correct whichever is wrong.
    Please help me to solve this issue.
    Thanks
    Mani

    did you check if your business unit (setcontrolvalue) is setup with record group BI_04, and it has a default setid associated.

  • JCO RFC Provider: "Bean not found" when calling EJB from ABAP via RFC

    Hello,
    I'm having trouble calling an EJB in a CE 7.1 system from ABAP via RFC. I'm trying to use the JCO RFC Provider service, which mean that I want to expose an EJB so that it can be called via Remote Function Call.
    I have documented everything, including the code and the deployment descriptors I wrote, in this thread in the CE forum: Jco RFC Provider: Bean not found
    If there's any chance you can help, please do me a favour and look into the problem.
    Thanks a lot!
    Thorsten

    Hi Vladimir,
    Thank you very much, your help was immensely valuable.
    I just had to add the function declaration to the Home Component interface, everything else was correct, and now it works.
    Cheers,
    Thorsten

Maybe you are looking for