Got an eror while running unit tests on jsf.

Hi
i checked the latest verison from cvs and also downloaded the latest build of glassfish for linux.
While trying to run the unt tests, i got the followig error when i ran "test.appserver" under jsf-ri.
i made sure that the server was runing at the time when i ran the test and have the correct versions of cactus,junit and html-unit.But the test resulted in the folowing error:
run.cactus.test.appserver:
deploy:
[copy] Copying 1 file to /home/kc161609/glassfish/domains/domain1/autodeploy
run.cactus.test:
[junit] Running com.sun.faces.application.TestActionListenerImpl
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 9.755 sec
[junit] Testsuite: com.sun.faces.application.TestActionListenerImpl
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 9.755 sec
[junit] Testcase: testProcessAction took 5.845 sec
[junit] Caused an ERROR
[junit] (java.lang.reflect.ReflectPermission suppressAccessChecks)
[junit] at com.sun.faces.cactus.TestingUtil.invokePrivateMethod(TestingUtil.java:48)
[junit] at com.sun.faces.cactus.StoreServletContext.setServletContext(StoreServletContext.java:58)
[junit] at com.sun.faces.cactus.FacesTestCaseService.setUp(FacesTestCaseService.java:147)
[junit] at com.sun.faces.cactus.ServletFacesTestCase.setUp(ServletFacesTestCase.java:160)
[junit] at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
[junit] at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
[junit] at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93)
[junit] at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:224)
[junit] at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java)
[junit] at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101)
[junit] at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:224)
[junit] at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java)
[junit] at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72)
[junit] at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:224)
[junit] at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java)
[junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
[junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:256)
[junit] at java.security.AccessController.doPrivileged(Native Method)
[junit] at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
[junit] at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:289)
[junit] at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:172)
[junit] at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:384)
[junit] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:273)
[junit] at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:560)
[junit] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:530)
[junit] at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:234)
[junit] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
[junit] at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:560)
[junit] at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
[junit] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
[junit] at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:560)
[junit] at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:118)
[junit] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
[junit] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:131)
[junit] at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:560)
[junit] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:530)
[junit] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
[junit] at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:214)
[junit] at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:569)
[junit] at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:350)
[junit] at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:243)
[junit] at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:248)
[junit] at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:73)
[junit] Caused by: java.security.AccessControlException: access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)
[junit] at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
[junit] at java.security.AccessController.checkPermission(AccessController.java:427)
[junit] at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
[junit] at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107)
[junit] at com.sun.faces.cactus.TestingUtil.invokePrivateMethod(TestingUtil.java:45)
[junit] ... 48 more
BUILD FAILED
/home/kc161609/javaserverfaces-sources/jsf-ri/build.xml:820: The following error occurred while executing this line:
/home/kc161609/javaserverfaces-sources/jsf-ri/build-tests.xml:452: The following error occurred while executing this line:
/home/kc161609/javaserverfaces-sources/jsf-ri/build-tests.xml:338: Test com.sun.faces.application.TestActionListenerImpl failed
Total time: 2 minutes 27 seconds
There is some "access denied exception"
(java.security.AccessControlException: access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)
[junit] java.lang.RuntimeException: java.security.AccessControlException: access denied")
I think there is no problem with the build or the machine .I'm not sure what that problem is well,so please help me out with this error.
Thanks
Srinivas

Hi,
You got these errors because runInstaller can not start the GUI. There are 2 solutions, you can choose one:
1. logout Gnome/Kde, login as oracle user, and run runInstaller again.
2.open a new root terminal,
a) run "xhost +" as root.
b) run "su - oracle" switch to oracle
c) run "export DISPLAY=:0.0"
d) then run "./runInstaller" again.
cheers.
Ice

Similar Messages

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

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

  • Error when running unit tests

    Hi,
    I'm getting the error 'Marker id <num> not found' about 9 times out of 10 when I try to run unit tests in Flash Builder 4.5 Premium. This is happening on a new (2 weeks old) spark + mx project, with the unit test classes created in Flash Builder using the built-in tools. Using Run As or Debug does not seem to make a difference to whether the error occurs or not. I have to just keep retrying until it runs correctly.
    I am using the AS Code Coverage plugin and the FlexUnit 4.1.
    Please help as this is driving me mad!
    Thanks,
    Adam

    Here you go.  Looks like it shrunk down the libraries image though.

  • Using FB 4.7 Premium cannot run unit tests

    I have a licensed version of 4.7 Premium but cannot run unit tests. The message I get says "This feature requires a Flash Builder Premium License".
    I have uninstalled Fb 4.7 and then downloaded and reinstalled. Still the same issue.
    I have verified I am running FB 4.7 Premium with this code snippet.
    if (Class(this.systemManager.getDefinitionByName("licence.LicenseHandler ")))
         Alert.show("This SWF was compiled WITHOUT a Flash Builder Pro license")
    else
         Alert.show("This SWF was compiled WITH a Flash Builder Pro license")

    Hello, anybody still answering posts here or is everybody just working on MAX?!

  • [svn:bz-trunk] 10026: Fixed a bug around handling ping commands while running load-testing-tool against Servlet-based endpoints .

    Revision: 10026
    Author:   [email protected]
    Date:     2009-09-04 10:28:18 -0700 (Fri, 04 Sep 2009)
    Log Message:
    Fixed a bug around handling ping commands while running load-testing-tool against Servlet-based endpoints.
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/MessageBroker.java

  • Running Unit Test from test manager that run bat file from command line

    Hi ,
    I am trying to run Jsystem (java framewotk) from command line using runScenario.bat thru unit test that i associated to test in test manager.
    the idea is that when i ran the automated test  from MTM - it will run the the unit test that will run the appropriate test case in java.
    i wrote the code like this : 
    using System;
    using Microsoft.VisualStudio.TestTools.UnitTesting;
    namespace UnitTestProject3
    [TestClass]
    public class UnitTest1
    [TestMethod]
    public void TestMethod1()
    try
    String command = "c:\\JSYSTEM\\runner\\runScenario.bat
    c:\\Users\\ryeshua\\Source\\Workspaces\\Auto1\\my-tests-project\\target\\classes scenarios\\feature1 RoeySetup.xml ";
    System.Diagnostics.ProcessStartInfo procStartInfo =
    new System.Diagnostics.ProcessStartInfo("cmd", "/c " + command);
    procStartInfo.RedirectStandardOutput = true;
    procStartInfo.UseShellExecute = false;
    //procStartInfo.CreateNoWindow = true;
    System.Diagnostics.Process proc = new System.Diagnostics.Process();
    proc.StartInfo = procStartInfo;
    proc.Start();
    string result = proc.StandardOutput.ReadToEnd();
    Console.WriteLine(result);
    catch (Exception objException)
    // Log the exception
    and when i ran it from visual studio it worked perfect. and update  the Jsystem logs of the junit test in the jsystem/runner/log folder.
    but when i added it to associated test and ran it from MTM - it pass but it does not update  the logs in jsystem folder.
    the problem that i dont know what is not working. i cant see the output of it when i ran from mtm but can see when i ran from VS.
    i am using VS 2013 Pro with MTM 2013.
    please advice
    Roey

    Hi Roey,
    Thank you for posting in MSDN forum.
    Based on your issue, could you please tell me how you generate the log file under the jsystem folder?
    Generally, I know that when we run unit test from VS IDE, the file will be saved into the local machine. But when we run unit test from MTM, the unit test method will be run on the test agent machine, so the file will be saved into the test agent machine.
    Therefore, I suggest you could check if you did not see the updated logs file in jsystem folder on the test agent machine.
    In addition, I suggest you could try to copy this unit test project on this test agent machine and then run the unit test method using mstest.exe in command line and then check if you can update the logs file.
    https://msdn.microsoft.com/en-us/library/ms182489.aspx?f=255&MSPPError=-2147217396
    If you have any updated message about this issue, please tell me.
    Best Regards,
    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.

  • URGENT!! Error While Running Tutorial Test Page.

    Hi,
    We have been facing an issue while setting up the JDeveloper and running the test page.
    ERROR IS:
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = fnd; (Could not lookup message because there is no database connection)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1142)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1794)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
    at OA.jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
    at OA.jspService(OA.jsp:45)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = fnd; (Could not lookup message because there is no database connection)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:3931)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:786)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
    at OA.jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
    at OA.jspService(OA.jsp:45)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = fnd; (Could not lookup message because there is no database connection)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:3931)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:786)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
    at OA.jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
    at OA.jspService(OA.jsp:45)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    =============================================================
    =============================================================
    The msgs that are coming up in the embedded oc4j log is:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\JDEV\jdevbin\jdk1.4.2\bin\javaw.exe -client -classpath C:\JDEV\jdevbin\j2ee\home\oc4j.jar;C:\JDEV\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:C:\JDEV\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\JDEV\jdevbin\jdev\appslibrt\nls_charset12.zip -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -Dhttp.proxyHost=proxy.mtn.co.za -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=196.13.231.*|webmail.mtn.co.za|autodiscover.mtn.co.za|10.204.5.2|10.204.5.1|*.thecomputerpeople.co.za|virtual.thecomputerpeople.co.za|oms.thecomputerpeople.co.za|*.rentamobile.co.za|*.rentatomtom.co.za|*.mobilesolutions.co.za|*.yelloworld.co.za|*.yellostg.co.za|*.yellodev.co.za|10.217.200.91|eprowebserver.mtn.co.za|10.217.205.64|*.mtn.com|196.11.240.*|196.13.230.*|*.mtnactive.co.za|*.yellomtn.com|*.yellomtn.co.za|*.mtn.co.za -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config C:\JDEV\jdevhome\jdev\system9.0.3.5.1312\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 1484 ms.
    Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
    Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
    Tutalii: C:\JDEV\jdevbin\jdev\appslibrt\iasjoc.zip archive
    ICX DIAGNOSTIC: FND_TOP = C:\JDEV\jdevhome\jdev\dbc_files\
    ICX DIAGNOSTIC: application_id = 601
    ICX DIAGNOSTIC: responsibility_id = 24742
    ICX DIAGNOSTIC: security_group_id = 0
    ICX DIAGNOSTIC: mEncryptedSessionID = VOJ1vU0LWyvpCvPMgp0CPqNg:S
    ICX DIAGNOSTIC: mSessionID = 1874125765
    ICX DIAGNOSTIC: mTransactionID = 1962477773
    ==========================================================
    ==========================================================
    We have setup the same JDEV patch on 2 machines having the same DBC files and the same application logins as well as the same responsibility keys.
    But it is working fine on one machine and we are able to run the test page as well as any custom page that we are developing.
    but on one machine we are unable to run even the test page.
    Both are also on the same network.
    We are struck as we are unable to do any work.
    Could anyone please suggest any solution to this.
    I have gone through the numerous posts regarding this kind of error, but have not been yet able to resolve.
    Thanks

    As per error message, the problem is with the Database connection.
    Check again if your using wright dbc file, you can check it through connection string given in the dbc file
    and also try connecting the database through sql developer.
    --prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Error while running OAF Test Page Http 500 Internal Server Error

    I have installed R12 on my laptop having windows 2003 Server, which running successfully.
    In Same machine i have installed Jdeveloper for OAF customization by following 416708.1.
    While running test OAF page from Jdev, following error accruing. I have Run autoconfig as well.
    There is a problem with the page you are trying to reach and it cannot be displayed.
    Please try the following:
    Open the r12.oracle.com:8988 home page, and then look for links to the information you want.
    Click the Refresh button, or try again later.
    Click Search to look for information on the Internet.
    You can also see a list of related sites.
    HTTP 500 - Internal server error
    Internet Explorer

    HTTP 500 - Internal server error
    Internet ExplorerThis is a generic error, please check Apache log files for details about the error (error_log* and access_log*).
    Thanks,
    Hussein

  • Run unit test in comand line

    Hello everybody,
    I try to run existing unit test in comand line:
    ututil -run -test -name ROW_COUNT -repo unit_test_repos -db finch
    where
    ROW_COUNT - simple unit test
    unit_test_repos - unit test repository, which i create using tutorial (http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/sqldev_unit_test/sqldev_unit_test_otn.htm)
    finch - owner of procedure, which i try to test
    after execution this command i receive this message:
    C:\sqldeveloper\sqldeveloper\bin>ututil -run -test -name ROW_COUNT -repo unit_test_repos -db finch
    SEVERE Error: No Repository was found on the selected connection, you need to create a repository. - oracle.dbtools.unit_test.UtRepositoryManager.openConnectionWithChecks(UtRepositoryManager.java:214)
    Unable to open repositoryafter that i try to execute command with another parametres (instead of finch i use sys-user), but receive equal result.
    what`s wrong?
    in Help document i find next:
    The following example runs a unit test named AWARD_BONUS in a Windows environment where SQL Developer is installed under Program Files. (Note that test and suite names are case sensitive for the command-line interface.) This example uses the repository connection for user unit_test_repos and runs the test as user fred.
    cd c:\Program Files\sqldeveloper\sqldeveloper\bin
    ututil -run -test -name AWARD_BONUS -repo unit_test_repos -db fred"
    fred is connection which exist in oracle sql developer interface? what kind of privilegies should fred has?
    In oracle sql deevloper exist several connection to another servers. i`t can be reason of error?
    I trying in oracle sql developer interface select finch as manager of unit tests (tools - unit_test - manage_users to the next i select in dropdown list "finch" and granted needed privilegies for him) , but result was`t changed.
    thanks.

    It looks like you need to spark up SQL Developer, create a repository connection and assign that in the Unit Test Menu. It will walk you through creating the repository and then you can refer to that from the command line.

  • Running unit tests on inline hardware custom device

    How to do unit tests for Inline Hardware Custom Devices?
    I get this error after creating a unit test.
    Possible reason(s):
    Cannot connect to the target. Please ensure that the VI Server setting is enabled and deployed to the target. Also, make sure that the port number is correct and that this machine is allowed to connect through VI Server.

    wegunterjrASI, 
    I have a few follow up questions for you to gain a better understanding of your application: 
    1). What are you using to do the unit test (NI’s unit test framework or VI tester from JKI)?
    2). What are you conducting the unit test on (RT Driver or something on the host machine)? 
    3). Are the unit test VIs under the target in the LabVIEW project? 
    4). Are you able to run a simple unit test? 
    Screenshots are always appreciated. 
    Regards, 
     

  • SQLDEV 2.1.0.63 gives ORA-904 on UT_TEST_RESULTS when running unit test

    Hi, I am trying to create and run my first unit test using sqldeveloper 2.1.0.63 but it fails with followkng error:
    ----- Error Stack Dump -----
    ORA-00904: "TEST_USER_NAME": invalid identifier
    ----- Current SQL Statement for this session (sql_id=b9c4zd8fqmykv) -----
    select utr_id, name, status, message, run_date,coverage,test_user_name from ut_test_results where ut_id = :ID order by run_date desc
    table ut_test_results indeed does not have this column test_user_name:
    SYS@madlnlcs11/map SQL> DESC UT_SP5.UT_TEST_RESULTS
    Name Null? Type
    UTR_ID NOT NULL VARCHAR2(40)
    UT_ID NOT NULL VARCHAR2(40)
    NAME NOT NULL VARCHAR2(120)
    STATUS NOT NULL VARCHAR2(20)
    MESSAGE VARCHAR2(2000)
    COVERAGE NOT NULL NUMBER(1)
    RUN_DATE NOT NULL TIMESTAMP(6)
    CREATED_ON NOT NULL TIMESTAMP(6)
    CREATED_BY NOT NULL VARCHAR2(120)
    UPDATED_ON NOT NULL TIMESTAMP(6)
    UPDATED_BY NOT NULL VARCHAR2(120)
    how come there's this mismatch? The Unitest repository was created by the same sqldeveloper !
    regards,
    Andre

    This seems to be coming from the repository being marked as Shared repository. Appearantly sqldeveloper is issueing a different query, referencing TEST_USER_NAME, in that case. After I did a DESELECT AS SHARED REPOSITORY and drop/recreate of the repository the error ORA-904 no longer occurs.

  • Trouble Running Unit Tests on Device

    I am having trouble running multiple unit test on my device. I am using JMUnit as part of NetBeans IDE 5.5.1. I can get the tests running in the emulator but when I try them on the phone they don't work. Under my project's properties->Application Descriptor->MIDlets->MIDlets in the Suite, the 'jmunit.framework.cldc11.TestSuite' comes up in red with the error 'Some MIDlet classes are invalid'. I am using CDLC 1.1 and MIDP 2.0. Any ideas?

    wegunterjrASI, 
    I have a few follow up questions for you to gain a better understanding of your application: 
    1). What are you using to do the unit test (NI’s unit test framework or VI tester from JKI)?
    2). What are you conducting the unit test on (RT Driver or something on the host machine)? 
    3). Are the unit test VIs under the target in the LabVIEW project? 
    4). Are you able to run a simple unit test? 
    Screenshots are always appreciated. 
    Regards, 
     

  • Visual Studio locks when bringing up "Run Unit Test" vs2013

    2013 Visual studio 2013.
    I had been running a few simple unit tests on a large project.   Then 2013 stopped responding and said  -- please contact Microsoft.
    most time the test explore never comes up.  I tried the test with a tiny project .  still same issue
    this is my tiny project
     Using System.Configuration;
    using Microsoft.VisualStudio.TestTools.UnitTesting;
    namespace UnitTestProject1
        [TestClass]
        public class UnitTest1
            [TestMethod]
            public void TestMethod1()
                Assert.AreEqual(1,1);
            [TestMethod]
            public void TestMethod2()
                Assert.AreEqual(2, 1);
    Howard Davis

    Hi Howard Davis,
    Could you tell us the real VS2013 version you were using? We have to make sure that it supports the unit test project.
    >>most time the test explore never comes up.  I tried the test with a tiny project .  still same issue
    We could open the test explorer window under Test menu->Windows.
    Before you run your test, please clean and rebuild your test project, and make sure no any warning or error, and then run it from the test explorer window, check the result.
    In addition, you would check your task manager, and make sure that it is free before you run your tests. I mean that we have to make sure that it is not the performance issue.
    But if a simple Assert method still doesn't work in your side, I doubt that it is your VS IDE issue.
    Run your VS as the admin, check the result.
    If possible, please repair your VS, please also install the VS2013 update 4, and then create a new test project, check the result.
    Best Regards,
    Jack
    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.

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

Maybe you are looking for