Sponsored Content
Full Discussion: Jvm.dll failed to load error
Operating Systems AIX Jvm.dll failed to load error Post 302924768 by vbe on Wednesday 12th of November 2014 10:01:14 AM
Old 11-12-2014
Very strange for .dll are specific to Windows... (shared libraries under UNIX...)
VM is it virtual address space??? (running out of memory?)

Have you set any JAVA evironment variables?
Could try
Code:
 DLL = /usr/java6/jre/bin/j9vm/libjvm.so
 DLL = /usr/java6/jre/bin/classic/libjvm.so

or wherever libjvm.so is...


ADDENDUM
Code:
n12:/usr/java6_64/jre $ which java
no java in /usr/bin /bin /bin/sbin /etc /usr/local/bin
n12:/usr/java6_64/jre $ echo $JAVA_HOME

n12:/usr/java6_64/jre $ bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460sr9fp2-20110627_03(SR9 FP2))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr9-20110624_85526 (JIT enabled, AOT enabled)
J9VM - 20110624_085526
JIT  - r9_20101028_17488ifx17
GC   - 20101027_AA)
JCL  - 20110530_01


Last edited by vbe; 11-12-2014 at 11:19 AM.. Reason: ADDENDUM
 

9 More Discussions You Might Find Interesting

1. HP-UX

Module jk2 failed to load into apache server!!

Hi There, Does anyone knows what could be the problem if my apache server is running but unable to load JK2 module into the server. My HTTPS is running on Apache Server 2.0.49 with ssl enabled and compiled with Mod_ssl on HPUX-11.11i. In fact we have try out the following parameter, ... (4 Replies)
Discussion started by: e_jeffhang
4 Replies

2. Shell Programming and Scripting

Need help in wrting Load Script for a Load-Resume type of load.

hi all need your help. I am wrting a script that will load data into the table. then on another load will append the data into the existing table. Regards Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies

3. Solaris

boot load failed

I modified the partitions on my Solaris 10 disk using format command in "boot cdrom -s" mode and then tried rebooting with "reboot". It said "Boot load failed". Why does this happen? I have faced this error before:( and I went in for a fresh installation of the OS.Can anyone tell me the reason as... (1 Reply)
Discussion started by: lydiaEd
1 Replies

4. Solaris

pam_unix_cred.so.1 failed to load

My solaris 8 server messages log recored error "Sep 30 21:35:00 bkp1 cron: open_module: /usr/lib/security/pam_unix_cred.so.1 failed: ld.so.1: cron: fatal: libproject.so.1: open failed: No such file or directory" Any idea what is this related to and how to stop? thanks in advance. (2 Replies)
Discussion started by: admin@solaris
2 Replies

5. SuSE

Failed to load HCA driver and Access Layer

Hi All, I got the following errors when i was trying to restart Infiniband service. Loading cxgb3 driver : Loading HCA driver and Access Layer : The command managed to bring up the services, but without RDMA modules loaded from /etc/init.d/openibd status output. Is the missing of RDMA... (0 Replies)
Discussion started by: dchm
0 Replies

6. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session failed session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies

7. Solaris

Rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)

I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet. ... (2 Replies)
Discussion started by: christr
2 Replies

8. UNIX for Dummies Questions & Answers

VPS has load 200, httpd load no activity, netstat nothing

Hello, on my hostserver i see one VPS of mine got load of 200.00 and netstat nothing (not a single blank line on netstat command) after some time, netstat started showing connections, but i see no excessive IP connections. tail -f /var/log/httpd/access_log shows no activity /var/log/messages ;... (1 Reply)
Discussion started by: postcd
1 Replies

9. Solaris

Fresh Install - Boot Load Failed

I have M10-1. Installation OS 10 from cdrom external. Here message from OK Prompt {0} ok probe-scsi-all /pci@8000/pci@4/pci@0/pci@2/pci@0/usb@4,1/cdrom@1 Unit 0 Removable Read Only device HL-DT-STDVDRAM GP65NB60 PF00 But.. {0} ok boot... (3 Replies)
Discussion started by: mbahjiman
3 Replies
Wx::Loader(3pm) 					User Contributed Perl Documentation					   Wx::Loader(3pm)

NAME
Wx::Loader - using custom dll loaders with Wx SYNOPSIS
#--------------------------------------- # For Packagers #--------------------------------------- # the order of these use()s is important use MyCustomWxLoader; use Wx; or ..... use threads; use threads::shared; use MyCustomLoader; use Wx; or - Wx::Perl::Splashfast special case use MyCustomWxLoader; use Wx::Perl::SplashFast ("./logo.jpg",5000); use Wx; ............. meanwhile in MyCustomWxLoader.pm package MyCustomWxLoader; require Wx::Mini; our @ISA = qw( Wx::Loader::Standard ); $Wx::wx_binary_loader = __PACKAGE__; ...... or $Wx::wx_binary_loader = __PACKAGE__->new; #----------------------------------------- # For binary distributions #----------------------------------------- # Provide a custom Wx::Loader::Custom # to be loaded by Wx::Mini package Wx::Loader::Custom our @ISA = qw( Wx::Loader::Standard ); # be polite if another loader is already in place $Wx::wx_binary_loader = __PACKAGE__ if !$Wx::wx_binary_loader; ...... or $Wx::wx_binary_loader = __PACKAGE__->new() if !$Wx::wx_binary_loader; DESCRIPTION
If you are providing binary distributions of Wx or packaging Wx applications to run on machines without Perl (PAR, PerlApp),you may need to override dll loading methods. Providing a custom wx_binary_loader package allows you to do this. Binary Distributions A binary distribution my provide alternative sources and loading methods for the wxWidgets dlls. It achieves this by providing a Wx::Loader::Custom module in the distribution package Wx::Loader::Custom our @ISA = qw( Wx::Loader::Standard ); # be polite if another loader is already in place $Wx::wx_binary_loader = __PACKAGE__ if !$Wx::wx_binary_loader; ...... or $Wx::wx_binary_loader = __PACKAGE__->new() if !$Wx::wx_binary_loader; # remember that Wx.pm has not necessarily been loaded so only # Wx::Mini is available Perl Application Packagers Applications that package perl scripts to run on machines without Perl (PAR, PerlApp etc) can override dll loading methods if necessary by loading a custom package before wx package MyCustomWxLoader; require Wx::Mini; our @ISA = qw( Wx::Loader::Standard ); $Wx::wx_binary_loader = __PACKAGE__; ...... or $Wx::wx_binary_loader = __PACKAGE__->new; # remember that Wx.pm has not necessarily been loaded so only # Wx::Mini is available METHODS
The following methods may be provided by custom loaders to override the default behaviour loader_info should return an information string about the loader and MUST be provided. The default loader has sub loader_info { 'Standard Distribution'; } so any custom loader should return something different e.g. sub loader_info { "Mark's Broken Distribution - it's all my fault"; } set_binary_path allows setting a custom path for the wxWidgets libraries. sub set_binary_path { my $class_or_object = shift; ... work out binary path return $newbinarypath; # method MUST return a path } load_dll Is called to load wxWidgets plugin dlls using a key for the $Wx::dlls hash ( see Wx::Mini ) sub load_dll { my ($class_or_object, $dllkey) = @_; ..... load dll - or maybe not } the default loader does nothing - dependencies are loaded automatically and determined by the standard methods of the os: an example of pre loading a known dependency sub load_dll { return if $^O !~ /^(mswin|linux)/i; local $ENV{PATH} = $Wx::wx_path . ';' . $ENV{PATH} if $Wx::wx_path; return unless exists $Wx::dlls->{$_[1]} && $Wx::dlls->{$_[1]}; my $dll = $Wx::dlls->{$_[1]}; $dll = $Wx::wx_path . '/' . $dll if $Wx::wx_path; Wx::_load_plugin( $dll ); } unload_dll Is called ONCE from within an END block A custom loader may choose, for example to unload any dlls it has loaded sub unload_dll { my $class_or_object = shift; ... carry out END actions } The default unload_dll is a noop ( sub unload_dll {} ) external_set_load A deprecated method of replacing the load function for plugins A custom loader may override this to prevent a legacy loader replacing the loading methods. external_set_unload A deprecated method of replacing the unload function for plugins A custom loader may override this to prevent a legacy loader replacing the unloading methods. boot_overload For binary distributions and packaged applications, normal shared library loading semantics may not work. A custom loader may provide this method to use in place of, or to supplement the standard XS load of Wx.dll (Wx.so). The method MUST return true or false, depending on whether it has loaded Wx.dll (Wx.so). For example, to load the core wxWidgets dlls before Wx is loaded sub boot_overload { shift; require DynaLoader; for my $dll ( qw( base core adv ) ) { next unless exists $Wx::dlls->{$dll} && $Wx::dlls->{$dll}; my $file = ( $Wx::wx_path ) ? $Wx::wx_path . '/' . $Wx::dlls->{$dll} : $Wx::dlls->{$dll}; my $libref = DynaLoader::dl_load_file($file, 0); push(@DynaLoader::dl_librefs,$libref) if $libref; # Dynaloader should take care of unloading } #------------ IMPORTANT ---------- return 0; # we have not loaded Wx #--------------------------------- } Some packagers extract dlls at runtime, and then may attempt to remove them at application close. This may fail for Wx. For example, on MSWin the directory cleanup fails whilst on Linux the application will seg-fault on exit. Packagers may avoid this by loading Wx.dll( Wx.so) from a non standard location ( perhaps a separate binary distribution of wx dlls ) that is not removed at application exit. For example sub boot_overload { my $class = shift require DynaLoader; for my $dll ( qw( base core adv ) ) { next unless exists $Wx::dlls->{$dll} && $Wx::dlls->{$dll}; my $file = ( $Wx::wx_path ) ? $Wx::wx_path . '/' . $Wx::dlls->{$dll} : $Wx::dlls->{$dll}; my $libref = DynaLoader::dl_load_file($file, 0); push(@DynaLoader::dl_librefs,$libref) if $libref; # Dynaloader should take care of unloading } package DynaLoader; my $file = $class->get_the_location_to_wx_xs_module; #------------------------------------------ # From XSLoader #------------------------------------------ my $module = 'Wx'; my $boots = "$module::bootstrap"; my $bootname = "boot_$module"; $bootname =~ s/W/_/g; @DynaLoader::dl_require_symbols = ($bootname); my $boot_symbol_ref; my $libref = dl_load_file($file, 0) or do { require Carp; Carp::croak("Can't load '$file' for module $module: " . dl_error()); }; push(@DynaLoader::dl_librefs,$libref); # record loaded object my @unresolved = dl_undef_symbols(); if (@unresolved) { require Carp; Carp::carp("Undefined symbols present after loading $file: @unresolved "); } $boot_symbol_ref = dl_find_symbol($libref, $bootname) or do { require Carp; Carp::croak("Can't find '$bootname' symbol in $file "); }; push(@DynaLoader::dl_modules, $module); # record loaded module my $xs = dl_install_xsub($boots, $boot_symbol_ref, $file); push(@DynaLoader::dl_shared_objects, $file); # record files loaded #------------ IMPORTANT ---------- return 1; # we have loaded Wx #--------------------------------- } Full Custom Loader Example ################################################ # Custom loader for Wx distribution from # http://www.wxperl.co.uk/repository # ################################################ package Wx::Loader::Custom; use strict; use warnings; our @ISA = qw( Wx::Loader::Standard ); $Wx::wx_binary_loader = __PACKAGE__ if !$Wx::wx_binary_loader; sub loader_info { 'Linux PPM Distribution from http://www.wxperl.co.uk/repository'; } sub boot_overload { shift; require DynaLoader; for my $dll ( qw( base core adv ) ) { next unless exists $Wx::dlls->{$dll} && $Wx::dlls->{$dll}; my $file = ( $Wx::wx_path ) ? $Wx::wx_path . '/' . $Wx::dlls->{$dll} : $Wx::dlls->{$dll}; my $libref = DynaLoader::dl_load_file($file, 0); push(@DynaLoader::dl_librefs,$libref) if $libref; # Dynaloader should take care of unloading } return 0; } # Allow legacy packaging call to override our load method my( $load_fun ) = ( &_load_dll ); sub _load_dll { return unless exists $Wx::dlls->{$_[0]} && $Wx::dlls->{$_[0]}; my $dll = $Wx::dlls->{$_[0]}; $dll = $Wx::wx_path . '/' . $dll if $Wx::wx_path; return Wx::_load_plugin( $dll ); } sub external_set_load { $load_fun = $_[1] } sub load_dll { shift; goto &$load_fun; } perl v5.14.2 2010-02-06 Wx::Loader(3pm)
All times are GMT -4. The time now is 03:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy