grails -version FATAL ERROR in native method - grails

I'm trying to get grails version, but getting error all the time. OS: windows server 2012 and windows 8. I suspect that the port is busy, and I can't release it - need another exit from situation
So, I'm doing something like this in command line:
{PATH_TO_/bin/grails.bat} -version
The result is:
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:750]
So.. what can I do with it?
Thanks.

To resolve problem I've just set JAVA_OPTS
with
-Xrunjdwp:transport=dt_shmem,server=y,suspend=n
Documentation link

Related

how to generate sdk for arm am5728 evm module?

i am building sdk for my am5728 board for that i am following this linkenter link description here
when i tried to run MACHINE=am57xx-evm bitbake arago-base-tisdk-image
i got following error
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/home/jenexpc/tisdk/build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 44756 at 2022-03-28 14:11:56.538965 ---
ERROR: ParseError at /home/jenexpc/tisdk/sources/meta-ros/meta-ros2-eloquent/conf/ros-distro/include/eloquent/ros-distro.inc:112: unparsed line: 'ROS_BUILD_TYPE:pn-ros-workspace = "ament_cmake"'
any idea how to solve this error.
thank you

Classpath error while configuring grails on Windows

I want to install grails on my windows 10 (x64). The grails version I have is 3.3.4, groovy version 2.4.14, JVM version 1.8.0_141. I can create an app but when I run it an error comes out:
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'hello'.
Could not resolve all dependencies for configuration ':classpath'.
Could not resolve org.grails:grails-gradle-plugin:3.3.4.
Required :
project :
Could not resolve org.grails:grails-gradle-plugin:3.3.4.
Could not get resource 'https://repo.grails.org/grails/core/org/grails/grails-gradle-plugin/3.3.4/grails-gradle-plugin-3.3.4.pom'.
Could not GET 'https://repo.grails.org/grails/core/org/grails/grails-gradle-plugin/3.3.4/grails-gradle-plugin-3.3.4.pom'.
Connect to repo.grails.org:443 [repo.grails.org/198.18.1.217] failed: Connection timed out: connect
Could not resolve org.grails.plugins:hibernate5:6.1.9.
Required by:
project :
Could not resolve org.grails.plugins:hibernate5:6.1.9.
Could not get resource
'https://repo.grails.org/grails/core/org/grails/plugins/hibernate5/6.1.9/hibernate5-6.1.9.pom'.
Could not GET 'https://repo.grails.org/grails/core/org/grails/plugins/hibernate5/6.1.9/hibernate5-6.1.9.pom'.
Connect to repo.grails.org:443 [repo.grails.org/198.18.1.217] failed: Connection timed out: connect
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
CONFIGURE FAILED
Total time: 1 mins 4.547 secs
Error Error initializing classpath: Connection timed out: connect (Use --stacktrace to see the full trace)
I have searched everywhere but haven't found a solution. Please help me to resolve this.
PS: Every time I try to run the app, strangely the net becomes unbelievably slow.

OpsCenter 6.1.2 keeps crashing after update from 6.0.X "No agents available to query for getDsePerformanceStatusFromOneAgent"

After updating OpsCenter 6.0.X to 6.1.2 using yum, OpsCenter frequently crashes with the following error in opsenterd.log:
2017-08-25 10:03:34,066 [opscenterd] ERROR: Unhandled error in Deferred: No agents available to query for getDsePerformanceStatusFromOneAgent.
File "/usr/share/opscenter/lib/py/twisted/internet/defer.py", line 1124, in _inlineCallbacks
result = g.send(result)
File "/usr/share/opscenter/jython/Lib/site-packages/opscenterd/Cluster.py", line 1301, in callOnAgent
(MainThread)
Any idea how to fix this?
I was able to resolve this by updating the run directory file /etc/opscenter/clusters/< clustername >.conf
with
[agent_config]
tmp_dir = /path/to/agent/tmp
But this is a temporary solution.

Error in installing the blackberry enterprise service 10 trial version

I am trying to install the BES 10(Blackberry enterprise service 10) in windows 7 os . I am stuck in SRP configuration. It Caught stuck in finalize initialization with the following error. Any idea to resolve them.
**<#01>[10000] (07/02 13:54:19.638):{0xDF8} CWebRequestWrapper::SubmitData: WinHttpQueryHeaders failing. Error code: 0. Status code: 405.
<#01>[10000] (07/02 13:54:19.638):{0xDF8} CRestApiWrapper::SetCertificateAttributes error sending data, result is [486003]
<#01>[10000] (07/02 13:54:19.638):{0xDF8} CDataContainer::DoApplyImpl: UbitexxCoreDataCon failed to apply. Result: 486023.
<#01>[10000] (07/02 13:54:19.638):{0xDF8} [CUbitexxCoreDataCon::Apply]: Failed to apply 'configuration.core.url.primary1' parameter.
<#02>[20000] (07/02 13:54:19.638):{0xDF8} CInstallStepSeq::PreApplyProcess: Errors encountered while applying Core Module. Core module may not be operational.**

Error preverifying class, coming while running my app

I am trying to run a sample project, but I am getting this error on the console and the app does not run.
I don't understand what this error means.
Packaging project ScheduleAir
C:\Eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.28\components\bin\rapc.exe -quiet codename=deliverables\Standard\4.5.0\scheduleair deliverables\Standard\4.5.0\scheduleair.rapc -sourceroot=C:\Documents and Settings\20041\workspace\ScheduleAir\src\com\intellisoft\schedule_air;C:\Documents and Settings\20041\workspace\ScheduleAir\src;C:\Documents and Settings\20041\workspace\ScheduleAir\res -import=C:\Eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.28\components\lib\net_rim_api.jar C:\Documents and Settings\20041\workspace\ScheduleAir\bin
Error preverifying class com.intellisoft.schedule_air.AppSettingScreen
VERIFIER ERROR com/intellisoft/schedule_air/AppSettingScreen.()V:
Illegal type in constant pool
Error!: Error: preverifier failed: C:\Eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.28\components\bin\preverify.exe -d C:\DOCUME ...
Packaging project ScheduleAir failed (took 0.437 seconds)
Could it be related to compiler target level in your Eclipse? For BB it should be set to 1.3, while by default Eclipse sets it to 1.5/1.6. Check "More detail on preverification errors ?" for details.
You must set JAVA_HOME in your system environment variables

Resources