I have this issue on linux when library (rJava) with rCaller through Rscript in java side:
[8/20/14 23:00:52:169 EDT] 000000cc SystemOut O Error:Loading required package: methods
[8/20/14 23:00:52:169 EDT] 000000cc SystemOut O Error:Error : .onLoad failed in loadNamespace() for 'rJava', details:
[8/20/14 23:00:52:169 EDT] 000000cc SystemOut O Error: call: dyn.load(file, DLLpath = DLLpath, ...)
[8/20/14 23:00:52:169 EDT] 000000cc SystemOut O Error: error: unable to load shared object '/opt/rbuilt/lib64/R/library/rJava/libs/rJava.so':
[8/20/14 23:00:52:169 EDT] 000000cc SystemOut O Error: libjvm.so: cannot open shared object file: No such file or directory
[8/20/14 23:00:52:169 EDT] 000000cc SystemOut O Error:Error: package or namespace load failed for ârJavaâ
[8/20/14 23:00:52:169 EDT] 000000cc SystemOut O Error:Execution halted
[8/20/14 23:00:53:811 EDT] 000000cd SystemOut O Output:[1] "here 0"
[8/20/14 23:00:54:276 EDT] 000000ce SystemOut O Error:Loading required package: methods
[8/20/14 23:00:54:276 EDT] 000000ce SystemOut O Error:Error : .onLoad failed in loadNamespace() for 'rJava', details:
[8/20/14 23:00:54:276 EDT] 000000ce SystemOut O Error: call: dyn.load(file, DLLpath = DLLpath, ...)
[8/20/14 23:00:54:276 EDT] 000000ce SystemOut O Error: error: unable to load shared object '/opt/rbuilt/lib64/R/library/rJava/libs/rJava.so':
[8/20/14 23:00:54:276 EDT] 000000ce SystemOut O Error: libjvm.so: cannot open shared object file: No such file or directory
[8/20/14 23:00:54:276 EDT] 000000ce SystemOut O Error:Error: package or namespace load failed for ârJavaâ
[8/20/14 23:00:54:276 EDT] 000000ce SystemOut O Error:Execution halted
Can anyone help me please? Thanks!
Related
I upgraded consul to 1.8.7 when I moved to Ubuntu 22. I am facing the following error,
● consul.service - Consul Agent
Loaded: loaded (/lib/systemd/system/consul.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2023-01-12 06:00:59 UTC; 22min ago Main PID: 206769 (consul)
Tasks: 20 (limit: 119416)
Memory: 19.8M
CPU: 3.686s
CGroup: /system.slice/consul.service
└─206769 /usr/bin/consul agent -config-dir /etc/consul
node231 consul[206769]: 2023-01-12T06:22:56.783Z [WARN] agent:
error getting server health from server: server=node231 error="rpc
error getting client: failed to get conn: dial tcp
10.142.0.39:0->10.142.0.39:8300: i/o timeout" node231 consul[206769]: 2023-01-12T06:22:56.783Z [WARN] agent: error getting server health
from server: server=node231 error="rpc error getting client: failed to
get conn: rpc error: lead thread didn't get connection" node231
consul[206769]: 2023-01-12T06:22:56.783Z [WARN] agent: error
getting server health from server: server=node231 error="rpc error
getting client: failed to get conn: rpc error: lead thread didn't get
connection" node231 consul[206769]: 2023-01-12T06:22:56.783Z
[WARN] agent: error getting server health from server: server=node231
error="rpc error getting client: failed to get conn: rpc error: lead
thread didn't get connection" node231 consul[206769]:
2023-01-12T06:22:56.783Z [WARN] agent: error getting server health
from server: server=node231 error="rpc error getting client: failed to
get conn: rpc error: lead thread didn't get connection" node231
consul[206769]: 2023-01-12T06:22:56.783Z [WARN] agent: error
getting server health from server: server=node231 error="rpc error
getting client: failed to get conn: rpc error: lead thread didn't get
connection" node231 consul[206769]: 2023-01-12T06:22:57.782Z
[WARN] agent: error getting server health from server: server=node231
error="context deadline exceeded" node231 consul[206769]:
2023-01-12T06:22:59.783Z [WARN] agent: error getting server health
from server: server=node231 error="context deadline exceeded" node231
consul[206769]: 2023-01-12T06:23:01.782Z [WARN] agent: error
getting server health from server: server=node231 error="context
deadline exceeded" node231 consul[206769]:
2023-01-12T06:23:03.160Z [ERROR] agent.http: Request error: method=GET
url=/v1/agent/check/fail/service:puppet from=127.0.0.1:55702
error="method GET not allowed"
My server info
agent:
check_monitors = 0
check_ttls = 2
checks = 2
services = 2
build:
prerelease =
revision =
version = 1.8.7
consul:
acl = disabled
bootstrap = true
known_datacenters = 1
leader = true
leader_addr = 10.142.0.39:8300
server = true
raft:
applied_index = 51
commit_index = 51
fsm_pending = 0
last_contact = 0
last_log_index = 51
last_log_term = 2
last_snapshot_index = 0
last_snapshot_term = 0
latest_configuration = [{Suffrage:Voter ID:c3b23645-fbf1-4a29-3497-d6cccb7d0941 Address:10.142.0.39:8300}]
latest_configuration_index = 0
num_peers = 0
protocol_version = 3
protocol_version_max = 3
protocol_version_min = 0
snapshot_version_max = 1
snapshot_version_min = 0
state = Leader
term = 2
runtime:
arch = amd64
cpu_count = 32
goroutines = 77
max_procs = 32
os = linux
version = go1.17
serf_lan:
coordinate_resets = 0
encrypted = true
event_queue = 1
event_time = 2
failed = 0
health_score = 0
intent_queue = 0
left = 0
member_time = 1
members = 1
query_queue = 0
query_time = 1
serf_wan:
coordinate_resets = 0
encrypted = true
event_queue = 0
event_time = 1
failed = 0
health_score = 0
intent_queue = 0
left = 0
member_time = 1
members = 1
query_queue = 0
query_time = 1
Is there anything else I need to take care for new version of consul?
i have a problems with my code
the code:``
$test = json_decode($assesment_keperawatan_iri[0]->formjson_bayi);
I am running an Oracle 12c application on 64-bit Windows 2016 VM. The application connects via TNS using a 32-bit Oracle ODBC connection. Intermittently but frequently I get ORA-03135 errors.
Having read many posts about this I have tried a lot of things i.e. Turning on/off connection pooling, setting SQLNET.EXPIRE_TIME, SQLNET.INBOUND_CONNECT_TIMEOUT, SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT etc. but nothing solves the issue.
I have managed to create a trace file that shows details of the error which appears to be a network issue. Can anyone out there tell me what it means and how I can resolve it?
2018-07-26 13:20:36.561 : nsdofls:sending NSPTDA packet
2018-07-26 13:20:36.561 : nspsend:entry
2018-07-26 13:20:36.561 : nspsend:plen=33, type=6
2018-07-26 13:20:36.561 : nttwr:entry
2018-07-26 13:20:36.561 : ntt2err:entry
2018-07-26 13:20:36.561 : ntt2err:soc 836 error - operation=6, ntresnt[0]=517, ntresnt[1]=54, ntresnt[2]=0
2018-07-26 13:20:36.561 : ntt2err:exit
2018-07-26 13:20:36.571 : nttwr:exit
2018-07-26 13:20:36.571 : nspsend:0 bytes to transport
2018-07-26 13:20:36.571 : nspsend:transport write error
2018-07-26 13:20:36.571 : nspsend:error exit
2018-07-26 13:20:36.579 : nserror:entry
2018-07-26 13:20:36.579 : nserror:nsres: id=0, op=67, ns=12547, ns2=12560; nt[0]=517, nt[1]=54, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
2018-07-26 13:20:36.579 : nsdofls:exit (-1)
2018-07-26 13:20:36.579 : nsdo:nsctxrnk=0
2018-07-26 13:20:36.579 : nsdo:error exit
2018-07-26 13:20:36.579 : nioqrc:send failed: bl = 1, nicbl = 0
2018-07-26 13:20:36.579 : nioqper: error from nioqrc
2018-07-26 13:20:36.579 : nioqper: ns main err code: 12547
2018-07-26 13:20:36.579 : nioqper: ns (2) err code: 12560
2018-07-26 13:20:36.579 : nioqper: nt main err code: 517
2018-07-26 13:20:36.579 : nioqper: nt (2) err code: 54
2018-07-26 13:20:36.579 : nioqper: nt OS err code: 0
2018-07-26 13:20:36.579 : nioqer:entry
2018-07-26 13:20:36.579 : nioqer: incoming err = 12150
2018-07-26 13:20:36.592 : nioqce:entry
2018-07-26 13:20:36.592 : nioqce:exit
2018-07-26 13:20:36.593 : nioqer: returning err = 3135
2018-07-26 13:20:36.593 : nioqer:exit
2018-07-26 13:20:36.593 : nioqrc: returning error: 3135
When I try to deploy an EAR file using deployment API, I get the below exception:
In SystemOut.log:
[6/23/16 16:26:16:894 IST] 00000091 HttpConnectio E HttpConnection.run: java.lang.IllegalStateException: 0 response bytes written, but Content-Length header equals 1974
[6/23/16 16:26:16:895 IST] 000000c0 InstallSchedu I ADMA5014E: The installation of application testDeploy failed.
In SystemErr.log:
[6/23/16 16:26:16:890 IST] 000000c0 SystemErr R javax.management.MalformedObjectNameException: Unterminated key property part
[6/23/16 16:26:16:891 IST] 000000c0 SystemErr R at javax.management.ObjectName.construct(ObjectName.java:568)
[6/23/16 16:26:16:891 IST] 000000c0 SystemErr R at javax.management.ObjectName.<init>(ObjectName.java:1394)
[6/23/16 16:26:16:891 IST] 000000c0 SystemErr R at com.ibm.ws.management.application.InstallSchedulerImpl.updateAppAndCellName(InstallSchedulerImpl.java:447)
[6/23/16 16:26:16:891 IST] 000000c0 SystemErr R at com.ibm.ws.management.application.InstallSchedulerImpl.setupTasks(InstallSchedulerImpl.java:243)
[6/23/16 16:26:16:891 IST] 000000c0 SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:303)
[6/23/16 16:26:16:891 IST] 000000c0 SystemErr R at java.lang.Thread.run(Thread.java:798)
How can I resolve this problem?
Thanks, kusuma
Trying to deploy multiple war files which depends on status whether deployed application is started or not.
solved the issue ignoring startup of application
try{
if (getDeployementStatus(updateStatus(listener), true).isDeployed()) {
startApplication(artifact.getAppName(), preferences);
}
}catch(Exception e){
LOGGER.error("error in creating listener for deploy", e);
return updateStatus(DeployStatus.start_application_failed.name());
}
Thanks,
Kusuma
It was working fine until my PC got restarted due to power outage and now the publishing gives the following error.. Please help me solve this
The publish encountered some problems and the application may not have been installed or it may have been successfully installed but was unable to start. View the Details to display the exceptions and server logs that occurred during the publish.
======== SPMEAR ========
Application Failed to Install. SPMEAR
Application Failed to Install. SPMEAR
Please see server logs for more details.
[8/2/13 23:17:58:057 IST] 0000002d SystemErr R java.lang.NullPointerException
[8/2/13 23:17:58:057 IST] 0000002d SystemErr R at com.ibm.ws.management.bla.model.CompositionUnitConfig.readJ2EEAppDeployment(CompositionUnitConfig.java:291)
[8/2/13 23:17:58:057 IST] 0000002d SystemErr R at com.ibm.ws.management.bla.model.CompositionUnitConfig.read(CompositionUnitConfig.java:225)
[8/2/13 23:17:58:057 IST] 0000002d SystemErr R at com.ibm.ws.management.bla.model.CompositionUnitFactoryImpl.readCompositionUnitFromCompositionUnitSpec(CompositionUnitFactoryImpl.java:76)
[8/2/13 23:17:58:057 IST] 0000002d SystemErr R at com.ibm.ws.management.application.task.ValidateBLATask._validateBLAUninstall(ValidateBLATask.java:548)
[8/2/13 23:17:58:057 IST] 0000002d SystemErr R at com.ibm.ws.management.application.task.ValidateBLATask._performTaskAsSystem(ValidateBLATask.java:122)
[8/2/13 23:17:58:057 IST] 0000002d SystemErr R at com.ibm.ws.management.application.task.ValidateBLATask$1.run(ValidateBLATask.java:91)
[8/2/13 23:17:58:057 IST] 0000002d SystemErr R at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4189)
[8/2/13 23:17:58:057 IST] 0000002d SystemErr R at com.ibm.ws.security.auth.ContextManagerImpl.runAsSpecified(ContextManagerImpl.java:4347)
[8/2/13 23:17:58:057 IST] 0000002d SystemErr R at com.ibm.ws.management.application.task.ValidateBLATask.performTask(ValidateBLATask.java:88)
[8/2/13 23:17:58:057 IST] 0000002d SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:284)
[8/2/13 23:17:58:057 IST] 0000002d SystemErr R at java.lang.Thread.run(Thread.java:735)
This is the stack trace
java.lang.NullPointerException
at com.ibm.etools.wrd.websphere.v7.internal.operations.ApplicationUpdateOperation.execute(Unknown Source)
at com.ibm.etools.wrd.websphere.v7.internal.operations.WASPublisherImpl.publishDelta(Unknown Source)
at com.ibm.ws.ast.st.v7.core.internal.WASServerBehaviour.publishWrdDelta(Unknown Source)
at com.ibm.ws.ast.st.v7.core.internal.WASServerBehaviour.publishModules(Unknown Source)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(Unknown Source)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(Unknown Source)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Unknown Source)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
maybe a corrupted files inside your tmp ... try to clean you /tmp and restart if not solved .. try to change your context root as a temp solution
In order to fix this :
Go to Window -> Preference->Server->websphere Application Server.
enable Allow applications containing errors to be published on a server option.
BR,
Priya