Error in running juit test case for struts2 action class

Hi,
I am getting error when i am running my junit test case for struts2 action class. Here is the code.
public class RoleMasterNewActionTest extends StrutsTestCase {
     public void setUp() throws Exception {
        super.setUp();
        ObjectFactory.setObjectFactory( new ObjectFactory() );
     public void testDoSomeThing()throws Exception {
          RoleMasterNewAction action = new RoleMasterNewAction();
          assertTrue(action.doSomeThing());
}I am getting error at testDoSomeThing(). the error is
2010-04-30 15:07:12,263 INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] - Parsing configuration file [struts-default.xml]
2010-04-30 15:07:12,325 INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] - Parsing configuration file [struts-plugin.xml]
2010-04-30 15:07:12,388 INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] - Parsing configuration file [struts.xml]
2010-04-30 15:07:12,388 WARN [org.apache.struts2.config.Settings] - Settings: Could not parse struts.locale setting, substituting default VM locale
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.comman-Lookup
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.comman-label
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.comman-headings
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.comman-messages
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.comman-setup
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.common-errors
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.admin.resources.admin-label
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.admin.resources.admin-lookup
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.admin.resources.admin-headings
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.admin.resources.admin-jndinames
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.birthCertificate.resources.birth-jndinames
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.birthCertificate.resources.birth-labels
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.birthCertificate.resources.birth-headings
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.admin.resources.admin-alert
2010-04-30 15:07:12,388 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.form
2010-04-30 15:07:12,419 INFO [org.apache.struts2.spring.StrutsSpringObjectFactory] - Initializing Struts-Spring integration...
2010-04-30 15:07:12,419 FATAL [org.apache.struts2.spring.StrutsSpringObjectFactory] - ********** FATAL ERROR STARTING UP STRUTS-SPRING INTEGRATION **********
Looks like the Spring listener was not configured for your web app!
Nothing will work until WebApplicationContextUtils returns a valid ApplicationContext.
You might need to add the following to web.xml:
    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>but already i have the listener configuration in my web.xml.
Thanks in advance..

I guess it wasn't reading the right web.xml file.
You may prove it by deleting your web.xml file (don't forget to make a backup), and then run the test again to see whether the error is the same.

Similar Messages

  • Error in juit test case for struts2 action class using StrutsSpringTestCase

    Hi
    I am getting some error when i am running my Struts2 Action class junit test case using StrutsSpringTestCase class (which is in struts2 junit plugin 2.1.8 version)
    Here is the code....
    package ipl.admin.action.test;
    import java.sql.Timestamp;
    import java.util.Date;
    import org.apache.struts2.StrutsSpringTestCase;
    import ipl.admin.action.RoleMasterNewAction;
    import ipl.admin.beans.RoleMasterNewBeanRemote;
    import com.opensymphony.xwork2.ObjectFactory;
    public class RoleMasterNewActionTest extends StrutsSpringTestCase {
         //XmlBeanFactory bf = new XmlBeanFactory(new ClassPathResource("applicationContext.xml", getClass()));
         RoleMasterNewAction action = new RoleMasterNewAction();
         RoleMasterNewBeanRemote roleMasterBeanNewRemote;
         public RoleMasterNewBeanRemote getRoleMasterBeanNewRemote() {
              return roleMasterBeanNewRemote;
         public void setRoleMasterBeanNewRemote(
                   RoleMasterNewBeanRemote roleMasterBeanNewRemote) {
              this.roleMasterBeanNewRemote = roleMasterBeanNewRemote;
         public void setUp() throws Exception {
              super.setUp();
              ObjectFactory.setObjectFactory(new ObjectFactory());
         public void testDoSomeThing() throws Exception {
              //System.out.println(bf.getBean("loginIntercepter"));
              assertTrue(action.doSomeThing());
    }I am getting error for this code. Below is the error details.
    2010-05-03 17:28:14,671 INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] - Parsing configuration file [struts-default.xml]
    2010-05-03 17:28:14,859 INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] - Parsing configuration file [struts-plugin.xml]
    2010-05-03 17:28:14,999 INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] - Parsing configuration file [struts.xml]
    2010-05-03 17:28:15,015 WARN [org.apache.struts2.config.Settings] - Settings: Could not parse struts.locale setting, substituting default VM locale
    2010-05-03 17:28:15,015 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.comman-Lookup
    2010-05-03 17:28:15,015 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.comman-label
    2010-05-03 17:28:15,015 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.comman-headings
    2010-05-03 17:28:15,015 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.comman-messages
    2010-05-03 17:28:15,046 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.comman-setup
    2010-05-03 17:28:15,046 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.common-errors
    2010-05-03 17:28:15,046 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.admin.resources.admin-label
    2010-05-03 17:28:15,046 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.admin.resources.admin-lookup
    2010-05-03 17:28:15,046 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.admin.resources.admin-headings
    2010-05-03 17:28:15,046 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.admin.resources.admin-jndinames
    2010-05-03 17:28:15,046 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.birthCertificate.resources.birth-jndinames
    2010-05-03 17:28:15,046 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.birthCertificate.resources.birth-labels
    2010-05-03 17:28:15,046 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.birthCertificate.resources.birth-headings
    2010-05-03 17:28:15,046 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.admin.resources.admin-alert
    2010-05-03 17:28:15,046 INFO [org.apache.struts2.config.BeanSelectionProvider] - Loading global messages from ipl.comm.resources.form
    2010-05-03 17:28:15,140 INFO [org.apache.struts2.spring.StrutsSpringObjectFactory] - Initializing Struts-Spring integration...
    2010-05-03 17:28:15,171 FATAL [org.apache.struts2.spring.StrutsSpringObjectFactory] - ********** FATAL ERROR STARTING UP STRUTS-SPRING INTEGRATION **********
    Looks like the Spring listener was not configured for your web app!
    Nothing will work until WebApplicationContextUtils returns a valid ApplicationContext.
    You might need to add the following to web.xml:
        <listener>
            <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
        </listener> But already i have the listener configurations in my web.xml .
    Thanks in advance...

    I guess it wasn't reading the right web.xml file.
    You may prove it by deleting your web.xml file (don't forget to make a backup), and then run the test again to see whether the error is the same.

  • Getting error while writing JUnit test case for RestFul Services

    Hi All,
    I have written Restful services in Netbean 6.8.
    It's running well...no issues.
    {color:#0000ff}While writing JUnit test cases for them, I am getting following error:
    {color}{color:#993300}Testcase: testGetAuthenticated(com.ct.services.LoginServicesTest): Caused an ERROR
    Implementing class{color}
    java.lang.IncompatibleClassChangeError: Implementing class
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:160)
    at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:65)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
    at com.ct.services.LoginServices.getAuthenticated(LoginServices.java:205)
    at com.ct.services.LoginServicesTest.testGetAuthenticated(LoginServicesTest.java:84)
    Test com.ct.services.LoginServicesTest FAILED
    F:\NetbeanProjectsWorkspace\DemoProject\nbproject\build-impl.xml:972: Some tests failed; see details above.
    BUILD FAILED (total time: 11 seconds)
    {color:#0000ff}Strange thing is that when I am commenting below lines and its related calls:
    {color}
    {color:#ff0000}EntityManagerFactory mEmf = Persistence.createEntityManagerFactory("AnyName");
    EntityManager mEm = mEmf.createEntityManager();
    {color}
    {color:#0000ff}from my code, JUnit test cases are working fine.
    {color}Anybody having any idea about this ?
    Thanks
    Avi
    Edited by: Avi007 on Aug 28, 2010 5:17 AM

    Hi All,
    [http://stackoverflow.com/questions/2778295/test-driven-development-problem]
    Please refer the above link for the solution
    Thanks
    Avi
    Edited by: Avi007 on Aug 30, 2010 12:33 AM

  • Error while running a test case in Jcaps 6 JDBC project

    I encountered an error while running the testcase for a JDBC BC project in Jcaps 6.
    BPCOR-6135:A fault was not handled in the process scope; Fault Name is {http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure; Fault Data is null. Sending errors for the pending requests in the process scope before terminating the process instance
    Caused by: I18N: BPCOR-3023: Selection Failure occurred in BPEL({http://enterprise.netbeans.org/bpel/DBSample/Db}Db
    Kindly suggest a solution

    It seems to be a very common error. Try checking your map assignments when the source (from) is empty (null). These mappings with null values may produce the error you are facing...
    Good luck!

  • Error encountered while running a test case using MTM

    Hello,
    Has anyone encountered this error while running a test case using MTM 2013? 
    When I click on OK, the message is again shown until that time wherein the popup error is no longer shown.
    When I try to continue to the next pages wherein a modal is being open and I need to enter some data on a text field, the IE would stop working and seems to crash.
    Thanks!

    Hi Kiyaruh,
    Base on the error message, the error is threw by internet explorer.
    Does it have the same issue when access that web site/page in IE directly or it just occurs when run tests through MTM?
    What’s the version of your browser? You may try it with other browser and check whether it has same issue.
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Report to run CATT test case

    Hi Experts,
    I have a requirement where i need to create a report program to run the   CATT test case 'XYZ'.
    CATT Test case 'XYZ' mass updates pricing for materials via VK11 for condition type PR00, sales area GB20/IC/01.
    As the business should not have permanent authorization to run CATT they requires a report to execute test case 'XYZ' to be developed.
    I have no idea how to run CATT test case through report program. Any pointers will be highly appreciated.
    Thanks & Regards,
    Swati

    Hi Balu,
    Thanks for your feedback. But i am still not clear.Could you please let me know the procedure in steps.
    I also have FS in which functional mention to upload file data and run the test case for some condition type and sales area.
    File have following fields:
    Material, Rate, Pricing Unit, Valid on, Valid to
    Regards,
    Swati
    Edited by: Swati Garg on Mar 7, 2011 6:32 PM

  • Error while running OIF Test utility

    Hi,
    I have installed OIF 11g, configured SP and IdP (SAML 2.0), with Sun LDAP as the user and federation data store. Default Auth engine is configured as 'LDAP Directory' and Auth Mechanism is password-protected.
    While running the test utility for the SP initiated scenerio, I get an error.
    Following are the steps -
    1. Run test utility ( http://localhost:<port>/fed/user/testspsso ) - +"Intiate Federation SSO" page is displayed+
    2. Select default values (Auth Req Binding = HTTP Redirect, SSO Response Binding = Artifact) and submit - IDP Login screen is displayed
    3. Enter correct login credentials (user id & password) and Sign In - Error page is displayed - *"Error 500--Internal Server Error"*
    In step 3, when I enter incorrect login credentials, an appropriate error is indicated. So I guess there is an error after successful authentication, possibly during assertion by the IdP.
    The log (OIF diagnostic log) shows the following error message - +"oracle.security.fed.event.EventException: Could not find the AuthnRequest associated to the Assertion"+
    I have tried out some changes in config, but still get the error. Can someone please provide any pointers on what could have gone wrong.
    Thanks,
    Krishna

    Hey Kris,
    I have the same issue. Have you been able to solved it? I had solved once by changing the host name to FQDN but we had changed some thing else and it started showning again.
    Thanks,
    Farid,

  • High Availability Test Cases for ECC6.0, PI 7.0, BI 7.0???

    Dear All
    I am in a pretty difficult situation here. I have to write test cases for the components in the High Availability environment. We are running AIX 5L with HACMP/XD clusters ACTIVE/PASSIVE setting. The following components are in the landscape, ECC6.0, PI 7.0 BI 7.0 cFolders 4.0 Portal 7.0 SLD 2004s and Solman 4.0. I have to write test cases for the above components especially ECC, PI BI and cFolders in the HA environment as to
       1.<b>WHAT WILL BE THE EFFECT ON OTHER COMPONENTS IF ECC</b> <b>FAILOVER  and so on for PI and BI</b>,
       2. How do I check the consistency of the system after a failover, since the time for a failover will be anywhere between 3 - 4 mins.
    Can anyone pls give me a 5 or 6  checks like
    Checking RFC connections
    ABAP dumps
    Consistency check (txn: SICK)   and so on
    In the test cases I have to make sure that after a failover the system is up and ready to perform the activities that it was able to before the Failover......
    Will appreciate any suggestions and will definitely reward points for any helpful answers....Thanks in advance.

    Hi Shailesh,
    If you want you can activate SCM_SNC_GEN_1 depending upon business needs or configuration.
    As per my understanding there is no need to activate any business function but if you need additional feature of SNC to be used then refer below help link for more details:
    http://help.sap.com/saphelp_SNC700_ehp01/helpdata/en/a2/6d67d9b60149cb887acf72ae0b90ac/frameset.htm
    In ECC you are going for EPh5 which means no need to activate any additional business function(Normally SNC needs EPh4 only for some the latest feature to be use like in workorder collaboration ManufacturingWorkOrderInformation and ManufacturingWorkOrderProductionProgressNotification XML are used if ECC is with EPh4)
    Regards,
    Nikhil

  • How to write test case for ViewController project using JUnit ?

    Hi All,
    JDev ver : 11.1.1.5
    JUnit : 1.9 jar added.
    I am writing test cases for my ViewController project. View project contains beans and other business logic files.
    So, for that I want to write test cases.
    In lot of codes I have FacesContext instance, there I am getting null pointer error.
    ex:
    public static String getFromHeader(String key) {
    FacesContext ctx = getFacesContext();
    ExternalContext ectx = ctx.getExternalContext();
    return ectx.getRequestHeaderMap().get(key);
    How to write cases for this scenario ?
    I came to know to use mockito, But I dont know how to mock the FacesContext.
    Anyone please help.
    Thanks,
    Gopinath

    Gopinath,
    Although I've not used it and cannot therefore say anything about whether it's useful or not - have you looked at JSFUnit?
    John

  • Writing test case for One-way messaging returns fault

    Hi All,
         We are using latest 11.1.1.7 version of SOA Suite. There is a SOA composite which gets data feed from external party using the one-way message exchange pattern to store the feed into the database.
    i.e. from (Web Service component ----> Mediator ----> DBAdapter). The composite uses one way returns fault pattern. This basically returns only the faults when they occur and seems to work as expected. I can see any runtime errors (like database not available returned to the Mediator and the caller of the web service). However, I am unable to write a test case for the fault returned in case of database adapter unable to connect to database as the 'Emulates' tab is disabled.
    Happy to provide more details if required.
    Thanks

    Hi,
    By looking at the error what you have got it indicates that you are not catching the specific fault which is thrown by bpel1 in bpel2.
    Regards,
    Santosh Hemashekar

  • Getting the below error when running the Baseline.grf for the first time

    I am getting the below error when running the Baseline.grf for the first time.
    Appreciate your support in resolving it.
    Error below:
    INFO [main] - *** CloverETL framework/transformation graph, (c) 2002-2012 Javlin a.s, released under GNU Lesser General Public License ***
    INFO [main] - Running with CloverETL library version 3.2.1 build#63 compiled 04/01/2012 12:53:21
    INFO [main] - Running on 4 CPU(s), OS Windows 7, architecture amd64, Java version 1.6.0_20, max available memory for JVM 901120 KB
    INFO [main] - Loading default properties from: defaultProperties
    INFO [main] - Graph definition file: graph/Baseline.grf
    INFO [main] - Graph revision: 1.114 Modified by: mkressirer Modified: Thu Apr 12 13:27:18 EDT 2012
    INFO [main] - Checking graph configuration...
    INFO [main] - Graph configuration is valid.
    INFO [main] - Graph initialization (Baseline)
    INFO [main] - [Clover] Initializing phase: 0
    INFO [main] - [Clover] phase: 0 initialized successfully.
    INFO [main] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1306871483270_0
    INFO [WatchDog] - Starting up all nodes in phase [0]
    INFO [WatchDog] - Successfully started all nodes in phase!
    INFO [RUN_GRAPH1_0] - Running graph ./graph/InitDataStore.grf in the same instance.
    INFO [RUN_GRAPH1_0] - Checking graph configuration...
    INFO [RUN_GRAPH1_0] - Graph configuration is valid.
    INFO [RUN_GRAPH1_0] - Graph initialization (InitDataStore)
    INFO [RUN_GRAPH1_0] - [Clover] Initializing phase: 0
    WARN [RUN_GRAPH1_0] - WS messenger cleanup failed.
    java.lang.NullPointerException
         at org.apache.axis2.client.Stub.cleanup(Stub.java:134)
         at com.opensys.cloveretl.component.WebServiceClient.free(Unknown Source)
         at org.jetel.graph.Phase.free(Phase.java:487)
         at org.jetel.graph.TransformationGraph.freeResources(TransformationGraph.java:681)
         at org.jetel.graph.TransformationGraph.free(TransformationGraph.java:955)
         at org.jetel.graph.runtime.PrimitiveAuthorityProxy.executeGraph(PrimitiveAuthorityProxy.java:149)
         at org.jetel.component.RunGraph.runGraphThisInstance(RunGraph.java:511)
         at org.jetel.component.RunGraph.runSingleGraph(RunGraph.java:409)
         at org.jetel.component.RunGraph.execute(RunGraph.java:302)
         at org.jetel.graph.Node.run(Node.java:414)
         at java.lang.Thread.run(Thread.java:619)
    WARN [RUN_GRAPH1_0] - Some graphs wasn't executed (because graph "./graph/InitDataStore.grf" finished with error).
    WARN [RUN_GRAPH1_0] - Some graph(s) finished with error.
    ERROR [WatchDog] - Graph execution finished with error
    ERROR [WatchDog] - Node RUN_GRAPH1 finished with status: ERROR caused by: Graph './graph/InitDataStore.grf' failed!
    ERROR [WatchDog] - Node RUN_GRAPH1 error details:
    org.jetel.exception.JetelException: Graph './graph/InitDataStore.grf' failed!
         at org.jetel.component.RunGraph.execute(RunGraph.java:324)
         at org.jetel.graph.Node.run(Node.java:414)
         at java.lang.Thread.run(Thread.java:619)
    INFO [WatchDog] - [Clover] Post-execute phase finalization: 0
    INFO [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
    INFO [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 2
    ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
    INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
    INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
    INFO [WatchDog] - 0 ERROR 2 20132
    INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
    WARN [exNode_0_1306871483270_RUN_GRAPH1] - Attempt to unregister non-registered thread in the ContextProvider.
    ./graph/InitDataStore.grf: Execution of graph failed! Error during graph initialization: Phase 0 can't be initilized.
    INFO [WatchDog] - WatchDog thread finished - total execution time: 2 (sec)
    INFO [main] - Freeing graph resources.
    ERROR [main] - Execution of graph failed !

    It can't find an Endeca specific class when running via the clover command line utility. Thus, the classpath being set in that shell script is not incorporating the .jar files where the endeca-specific classes are packaged. I would start by adding an line to see what your classpath is set to. There are actually already some lines of shell script in clover that you can uncomment to see what .jars are getting loaded:
    #echo $CLOVER_LIB/*
    for i in $CLOVER_LIB/*.jar $CLOVER_LIB/*.zip; do
         LOCAL_CLASSPATH="$LOCAL_CLASSPATH:$i"
    done;
    #for i in `ls $CLOVER_LIB/*.jar`; do
    #echo $i
    #done;
    You could also echo LOCAL_CLASSPATH to see what is getting set there. At the end of the day, you will need the endeca-specific jars to load which can be found here: /Endeca/Discovery/2.3.0/Integrator/plugins/com.endeca.latitude_1.0.0/*
    HTH,
    Dan
    http://branchbird.com

  • [svn] 889: Add test case for BLZ-82 where HttpService should return multiple headers with the same name .

    Revision: 889
    Author: [email protected]
    Date: 2008-03-21 13:08:05 -0700 (Fri, 21 Mar 2008)
    Log Message:
    Add test case for BLZ-82 where HttpService should return multiple headers with the same name.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-82
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/remote/MultipleHeadersTest.jsp
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/proxyService/httpservice/MultiHe aderTest.mxml

    Hi again,
    this may be old news to some people, but I just realized we can have the desired benefits I originally listed (encapsulation, reuse, maintainability, security) TODAY by using pipelined functions and using the table() function in Apex report region queries.
    So the report query basically becomes, for example (if get_employees is a pipelined function)
    select * from table(my_package.get_employees(:p1_deptno))
    The only downside compared to a (weakly typed) sys_refcursor is that you have to define the type you are returning in your package spec (or as an SQL type). So it's a bit more coding, but it's still worth it for the other benefits it provides.
    I like Apex even better now! :-)
    - Morten

  • Debuging mapping - error : Could not find test data for target operators ?

    Hello, Please help me.
    I use Oracle Warehouse Builder 10gR2.
    I created a cube with two dimensions.
    I debugged the mappings of these two dimensions then viewed their data after deployment.
    I tried to debug the mapping of the cube, and got the error: Could not find test data for all source and target operators.
    For source objects exist test data but for the target operator (cube_out) logically we do not need test data !!!! .
    But the error is here: Could not find test data for target operators. Why ??
    How to configure or explain to owb that the target operator do not have test data ????
    I need your help.
    thank you in advance.

    Sorry, I can not understand your approach ?
    I explain you in detail : I work in ROLAP.
    I have two dimensions : DIM_1 and DIM_2 linked with the cube (Fact_table).
    I have three mappings : MAP_DIM1, MAP_DIM2, MAP_CUBE.
    For the MAP_CUBE, I have source operator : VIEW_IN and Target operator : CUBE_OUT.
    I could see the data dimensions : DIM_1 and DIM_2 after debugging and Deployment in the OLAP schema.
    I tried debugged the mapping: MAP_CUBE so I got the error: Could not find test data for all source and target operators.*
    thank you for help.

  • [svn:bz-trunk] 10595: Add ReadOnly test case for bug blz-427

    Revision: 10595
    Author:   [email protected]
    Date:     2009-09-25 11:44:20 -0700 (Fri, 25 Sep 2009)
    Log Message:
    Add ReadOnly test case for bug blz-427
    Ticket Links:
        http://bugs.adobe.com/jira/browse/blz-427
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/services-config.mods.xml
        blazeds/trunk/qa/apps/qa-regress/WEB-INF/src/blazeds/qa/remotingService/Book.java
        blazeds/trunk/qa/apps/qa-regress/WEB-INF/src/blazeds/qa/remotingService/Echo.java
    Added Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTypes/ReadOn lyTest.mxml

  • [svn] 2219: Add a negative constructor test case for RemoteObject destination.

    Revision: 2219
    Author: [email protected]
    Date: 2008-06-24 14:20:55 -0700 (Tue, 24 Jun 2008)
    Log Message:
    Add a negative constructor test case for RemoteObject destination.
    Modified Paths:
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/remoting-config.mods.xml
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/src/remoting/ConstructorNegativeTest.java
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/ConstructorNegat iveTest.mxml

    Revision: 2219
    Author: [email protected]
    Date: 2008-06-24 14:20:55 -0700 (Tue, 24 Jun 2008)
    Log Message:
    Add a negative constructor test case for RemoteObject destination.
    Modified Paths:
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/remoting-config.mods.xml
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/src/remoting/ConstructorNegativeTest.java
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/ConstructorNegat iveTest.mxml

Maybe you are looking for

  • Sending email using system default mail client

    I'm working on a project right now, and I have no desire to develop a new mailing system. What would be very convienient for me is to have a call, opening the systems default mail client. Preferrably with some of the fields, like "to" and "Subject" b

  • Projector file - exe does not play

    newbie here. Flash CS4 Professional XP SPII Published a projector file (exe) with a video that runs fine as a swf. Exe is a 4 mb file; sounds about the right size. Ran the exe on my computer; worked perfectly. Thought I was all set. Tried it on 2 oth

  • How do you clear Error Message 3100? After installing the New inks, On NEW 'Canon MX432' Printer

    Have NEW ‘Canon MX432’, (1)-followed the instructions to set language without problem, next step, checked for the Set ink cartridge Message, (2)-and then opened the Paper Output Tray and the Paper Output Cover. On the second try; (3)-the Head Cover o

  • CS2 InDesign and Windows 7 x64

    Today I installed a copy of CS2 on a CAD Capable workstation (High powered), Windows 7 Professional 64 bit. (I know it's an old CS version) Can anyone tell me if the OS and CS versions are compatible? I am getting an appropriate permissions error aft

  • Outages are they as bad as they seem? Experiences please

    Hi All, Have been looking at moving our site to BC for a while now, but have been put off by the complaints on the forum of email outages, websites down etc. We have been hosting our site with one host for 10+ years and haven't had too many problems