SystemErr R 373846 [WebContainer : 2] INFO org.apache.bval.jsr303.ConfigurationImpl - ignoreXmlConfiguration == true - websphere-8

I am migrating from WAS 7.0 to WAS 8.5 ,JSF 1.2 to JSF 2.0 and richfaces 3.x to 4.x
I have various richfaces 4.3.x components used in my application.
whenever I try to use a component, on-change I get the following error logged in my server console :-
[3/8/15 7:44:26:986 EDT] 00000089 SystemErr R 373846 [WebContainer : 2] INFO org.apache.bval.jsr303.ConfigurationImpl - ignoreXmlConfiguration == true
The response after the Ajax call on-change is also very slow. I tried searching over different sites, but could not find a solution.
Thanks!

Related

'Building' has encountered a problem. An internal error occurred during. "Building"

I tried to create a Robot project , but I am getting this error : An internal error occurred during: "Building".
Unable to communicate with XML-RPC server
I tried some solution , but didn't work , and now when I press OK , I can't access to the libraries and the files inside the projects...enter image description here
My installation is:
Eclipse 2021-06 (4.20.0)
RED - Robot Editor 0.9.5.202007241017
Robot Framework 5.0 (Python 3.10.4 )
You need to check comparability of RED Editor and the Robot Framework. I think, RED doesn't support latest RF version. Check more: http://nokia.github.io/RED/help/whats_new/0_9_5.html
Also, check the URL that eclipse trying to communicate inside Help>>Available Software to update/install new software.
you need to downgrade the Robotframework to version 3 and lower, you can do that using that command
pip install robotframework==3.1.1 <version>

Airflow v2 warning No module named 'airflow.providers.mysql' despite not using this module

We recently upgraded from Airflow v1 to v2 and are currently debugging the new issues that come with such an upgrade. Currently we're getting the following warning message:
webserver_1 | [2021-08-21 18:13:45,565] {providers_manager.py:299} WARNING - Exception
when importing 'airflow.providers.google.cloud.hooks.cloud_sql.CloudSQLHook' from
'apache-airflow-providers-google' package: No module named 'airflow.providers.mysql'
I text-searched our entire project, and there are zero references of CloudSQLHook, zero references of apache-airflow-providers-google, and zero references of mysql... Because of this, we're not sure where to start with eliminating this warning message. How can we resolve this?
The Google provider has optional dependency on mysql (due to Cloud SQL using mysql as a backend). The easiest way to get rid of the warning is to install apache-airflow-providers-mysql package or use [mysql] extra when installing airflow. I also believe newer versions of airflow (quite sure 2.1+) will not log this as a warning.

how to resolve Appium bad parameters error

I am stuck at the error when the appium server shows error
[MJSONWP] Bad parameters: BadParametersError: Parameters were incorrect. We wanted {"required":["desiredCapabilities"],"optional":["requiredCapabilities","capabilities","sessionId","id"]} and you sent ["desiredCapabilities","requiredCapabilities","capabilities","alwaysMatch","firstMatch"]
In the eclipse it shows error
org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{app=C:\Users\Admin\workspace\Sling_App\src\app-dev-debug.apk}], required capabilities = Capabilities [{}]
I have been using 5.0.0 and also 4.1.2 client jar
Tried with Selenium 3 , 3.3
Appium Server I tried on are 1.6.2 , 1.6.3 and latest 1.6.4
Nothing Solves the problem ,
I read most of the articles related to this , but of no use
Please tell if any 1 has found solution to thisenter image description here
In ideal case we need to pass 6 capabilities(for APK testing) as below,
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("deviceName","ANDROID");
capabilities.setCapability("platformVersion", "5.1");
capabilities.setCapability("platformName",Constant.appPlatform);
capabilities.setCapability("app", app.getAbsolutePath());
capabilities.setCapability("appPackage", Constant.appPackage);
capabilities.setCapability("appActivity",Constant.appActivity);
Also initiate appium webdriver instead of Android as below,
AppiumDriver driver = new AndroidDriver(new URL("http://127.0.0.1:4727/wd/hub"), capabilities);
I am using appium 1.6.4 and java client 4.12 with selenium stand alone 2.53.1.
AppPackage/AppActivity are required for simulator also.
Hope this helps you.
Thanks.

inconsistent behavior in RSelenium

On Linux, the RSelenium/Selenium seems to be behaving erratically. I start the server manually and it seems to start up fine. Sometimes I am able to connect to it from my R session and other times I get an error. I cannot yet pinpoint the cause: the same script seems to work sometimes and not other times. Any ideas?
Here is the output from starting the server:
12:41:25.811 INFO - Launching a standalone server
12:41:26.102 INFO - Java: Sun Microsystems Inc. 11.0-b16
12:41:26.102 INFO - OS: Linux 2.6.32-431.17.1.el6.x86_64 amd64
12:41:26.157 INFO - v2.44.0, with Core v2.44.0. Built from revision 76d78cf
12:41:26.492 INFO - Default driver org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: registration capabilities Capabilities [{platform=WINDOWS, ensureCleanSession=true, browserName=internet explorer, version=}] does not match with current platform: LINUX
12:41:26.589 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
12:41:26.589 INFO - Version Jetty/5.1.x
12:41:26.590 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
12:41:26.590 INFO - Started HttpContext[/selenium-server,/selenium-server]
12:41:26.590 INFO - Started HttpContext[/,/]
12:41:36.597 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler#2993a66f
12:41:36.598 INFO - Started HttpContext[/wd,/wd]
12:41:36.601 INFO - Started SocketListener on 0.0.0.0:4444
12:41:36.601 INFO - Started org.openqa.jetty.jetty.Server#6f507fb2
The error I receive in my R session:
Couldnt connect to host on http://localhost:4444/wd/hub.
Please ensure a Selenium server is running.Error in queryRD(paste0(serverURL, "/session"), "POST", qdata = toJSON(serverOpts))
Other times, running the exact same script everything proceeds successfully. It could be a difference of what computer node actually executes the script but I cannot tell what the problem is when it will not connect.
library(RCurl)
library(RJSONIO)
library(XML)
# running selenium
system("java -jar selenium-server-standalone-2.44.0.jar")
I faced same issue and try to run above code. Finally know that there only support 1.7 but not 1.8 as time being. You might try to download jre7 and jdk7.
I faced the same error in Mac, but I noticed that due to security settings the system does not let me to run the file with that piece of code. I downloaded the selenium standalone file and using control key I single-clicked the file and then from the menu I chose the open. Then the problem get solved.

Websphere 8 JNDI lookup of local EJB object

I'm trying to call EJB3 Service Bean Local Interface using the JNDI lookup
and the sample code is like this
localInterfaceObj = (Object) initialContext.lookup("ejblocal:com.infopro.eswx.service.ejb.NdcServiceControllerSBLocal")
but i get error
[10/29/13 16:08:59:609 GMT+08:00] 00000028 SystemErr R javax.naming.ConfigurationException: NamingManager.getURLContext cannot find the factory for this scheme: ejblocal
[10/29/13 16:08:59:609 GMT+08:00] 00000028 SystemErr R at com.infopro.servicelocator.ServiceLocator.getLocalInterface(ServiceLocator.java:257)
[10/29/13 16:08:59:609 GMT+08:00] 00000028 SystemErr R at com.infopro.servicelocator.ServiceLocator.getLocalInterface(ServiceLocator.java:273)
i've also tried other string inside the lookup() method in the form of
ejblocal:#
which is
ejblocal:ESERV/ESWX302EJB_NDC.jar/NdcServiceControllerSB#com.infopro.eswx.service.ejb.NdcServiceControllerSBLocal
and ejblocal:ESERV/ESWX302EJB_NDC/NdcServiceControllerSB#com.infopro.eswx.service.ejb.NdcServiceControllerSBLocal
and ejb/com.infopro.eswx.service.ejb.NdcServiceControllerSBLocal
but still encounter the same error
is there any way to solve this?
thank you.
regards,
Tan

Resources