JServ problems
Hello, I'm working with Jserv 1.1.2 on Apache 1.3.12 on Red Hat 6.2. Occasionally, when I POST a large number of parameters ( ~100 fields) from an HTML form to a servlet, the last few parameters seem to be corrupted somehow - I get binary characters and other junk when I do a request.getParameter(x). ( I know getParameter() is deprecated, but surely it should *work* ?). If anyone is willing to help, I can provide sample servlets that illustrate this problem. Works fine with a Perl CGI script, though... Thank you, Hari. -- Hari Selvarajan[EMAIL PROTECTED] Technical Leader www.dcis.net DCIS Dot Com Solutions India Ootacamund 643 001 India. -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to Make JVM work faster
> We are in a process of making a routing selector , am just curious what > advantage the JAVA can have over C++ ( apart from multiplatform) in > processing the request faster...??? > > Is there any article that i can read to understand how to make the process > fast or how we can tweak around with JVM or BYTE code for the same Short of tweaking bytecode, your best bets would be (AFAIK) to find the best JVM and JIT combination for your platform, and optimize your code aggressively in conjunction with that. If that still doesn't meet your performance needs, then perhaps it's worth optimizing the bytecode. I remember reading somewhere that since a lot of the optimization of the JVM is done by the JIT at runtime, optimizing bytecode ahead-of-time might be sometimes counterproductive (though I can't quote where I read that, take it with an appropriately-sized grain of salt.) Good luck - Hari --- Hari Selvarajan Tech Lead DCIS, Inc. [EMAIL PROTECTED] www.dcis.net --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Sound cards ?
I'm writing something (as an applet within the appletviewer or Linux Netscape 4.5) that downloads and plays an audio clip. For this, I need to determine if there's a sound card installed in the system: if there isn't, I beep using the speaker. Can anyone suggest a way of finding if there's a sound card installed ? It would be nicest if I didn't have to break any applet security rules, though I can do that if absolutely necessary. (I thought of reading /dev/sndstat, but I'd prefer that the approach also be cross-platform). Apologies if the question is off-topic... Many thanks, Hari. --- Hari Selvarajanemail:[EMAIL PROTECTED] Nilgiri Networks [EMAIL PROTECTED] Ootacamund - 643 001 India. Phone: +91-0423-44680 --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: How can I connect to MySQL using JDBC
Hope the code below helps. Also if you're using a new version of java (1.2 or above, I believe) make sure you're using the noopt version of the class files. try { Class.forName("twz1.jdbc.mysql.jdbcMysqlDriver").newInstance(); } catch(Exception e) { this.errors.add(new String("Unable to load driver. " + e.getMessage())); } String url = new String("jdbc:z1MySQL://" + this.host + ":3306/" + this.dbRun); try { this.c = DriverManager.getConnection(url, this.user, this.password); } catch(Exception e2) { this.errors.add(new String("Unable to get connection to database: " + e2.toString())); } } > -Original Message- > From: Rakesh Raveendran [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 13, 2000 11:59 AM > To: Mo DeJong; [EMAIL PROTECTED] > Subject: How can I connect to MySQL using JDBC > > > Hi, > > I am using a type 4 driver for connecting to MySQL database.The Class > file(driver file) is being detected, but I am not able to connect to the > database.There are no exceptions being thrown stating that > connection is not > being created.Can any body send me some sample code as to how to > connect. Iam > using twz1jdbcForMysql driver. > > regards, > Rakesh > > > Get free email and a permanent address at http://www.netaddress.com/?N=1 > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
IBM 1.1.8 SIGABRT ?
Hello, I've been running IBM's 1.1.8 on Red Hat 6.2 machines in a three-server load-balanced configuration, as the VM for JServ 1.1.2 and GNUJSP 1.0. Every couple of days, I get the error I've appended below, which causes the VM to shut down - JServ gets it back up all right, but we lose session information and some angry customers in the process... This happens on all the three load-balanced nodes. All three are identically configured. I wonder, has anyone had the same sort of trouble before ? I hunted around on the IBM web site and couldn't find anything, so I thought perhaps someone out there would have an idea. As an aside, are there any recommendations for the ideal VM to use on a system such as the one we're running? We use only server-side 1.1.x code so a recommendation would be very helpful indeed. Would Blackdown's 1.1.8 do the job better ? Many thanks, Hari. The trace is appended below. I apologise for its length, but here it is in all its unedited glory: Fatal System Error: Raise at top of Exception Stack SIGABRT received at befff71c in /lib/libc.so.6. Processing terminated Thu Mar 29 13:39:25 2001 java full version "JDK 1.1.8 IBM build l118-2713 (JIT enabled: jitc)" args: /usr/local/jdk118/bin/linux/native_threads/java -DDEBUG=true org/apache/jserv/JServ /usr/local/apache/conf/jserv/jserv.properties Operating Environment - Host: xxx.xx.com. OS Level: 2.2.16-3.#1 Tue Aug 8 17:36:46 PDT 2000 glibc Version : 2.1.3 No. of Procs: 1 Memory Info: total:used:free: shared: buffers: cached: Mem: 129421312 125730816 3690496 110571520 13733888 32288768 Swap: 526405632 8900608 517505024 MemTotal:126388 kB MemFree: 3604 kB MemShared: 107980 kB Buffers: 13412 kB Cached: 31532 kB BigTotal: 0 kB BigFree: 0 kB SwapTotal: 514068 kB SwapFree:505376 kB User Limits (in bytes except for NOFILE and NPROC) - RLIMIT_FSIZE: infinity RLIMIT_DATA : infinity RLIMIT_STACK: 2088960 RLIMIT_CORE : 0 RLIMIT_NOFILE : 1024 RLIMIT_NPROC: 2048 Application Environment --- Signal Handlers - SIGQUIT : ignored SIGILL : RestoreFrame (libfdftk.so) SIGABRT : sysThreadIDump (libjava.so) SIGFPE : sysThreadIDump (libjava.so) SIGBUS : RestoreFrame (libfdftk.so) SIGSEGV : RestoreFrame (libfdftk.so) SIGPIPE : ignored SIGUSR1 : doSuspendLoop (libjava.so) Environment Variables - LD_LIBRARY_PATH=/usr/local/jdk118/lib/linux/native_threads: CLASSPATH=/usr/local/jdk118/lib/classes.zip:/usr/local/apache/libexec/ApacheJServ.jar:/usr/local/JSDK2.0/jsdk.jar:/usr/local/ie/lib/fdfutils.jar:/usr/local/ie/lib/classes111.zip:/usr/local/gnujsp/lib/servlet-2.0-plus.jar:/usr/local/gnujsp/lib/gnujsp10.jar :/usr/local/ie/lib/dvbeans.jar:/usr/local/ie/lib/dbutils.jar:/usr/local/ie/lib/navigator.jar:/usr/local/ie/lib/nat400.jar:/usr/local/ie/lib/nat600.jar:/usr/local/ie/lib/nat643.jar:/usr/local/ie/lib/nat565.jar:/usr/local/ie/lib/userinfo.jar:/usr/local/ie/l ib/vwutils.jar:/usr/local/ie/lib/pj.jar:/usr/local/ie/lib/Mail.jar:/usr/local/ie/lib/activation.jar:/usr/local/ie/lib/Signio.jar:/usr/local/ie/lib/admin.jar:/usr/local/jdk118/classes:/usr/local/jdk118/lib/classes.jar:/usr/local/jdk118/lib/rt.jar:/usr/loca l/jdk118/lib/i18n.jar:/usr/local/jdk118/lib/classes.zip TERM=dumb HOSTTYPE=i386 PATH=/bin:/usr/bin:/usr/local/bin SHELL=/bin/sh JAVA_HOME=/usr/local/jdk118 OSTYPE=Linux SHLVL=0 Libraries Loaded by the JVM --- libjitc.so libzip.so libnet.so libmath.so libPFProJNI.so libimmflowFDF.so Current Thread Details -- "Thread-4" (TID:0x402ee0f8, sys_thread_t:0x8192358) Native Thread State: Pid: 31201 ThreadID: 1406 Reuse: 1 DAEMON RUNNING Native Stack Data : base: befffd84 pointer befff074 used(3344) free(113392) - Monitors held - org.apache.jserv.JServSession@403a8d10 - Native stack - abort RestoreFrame ASExcCallTopHandler ASRaise RestoreFrame pthread_kill sigaction ?? ?? ?? ?? ?? java_lang_Compiler_start __irem_trap6 -- Java stack --() prio=5 *current thread* -- Total Thread Count: 11 Active Thread Count:6 JNI Thread Count: 0 Full thread dump: "Thread-4" (TID:0x402ee0f8, sys_thread_t:0x8192358) Native Thread State: Pid: 31201 ThreadID: 1406 Reuse: 1 DAEMON RUNN
unable to run hello world on ARM920T processor
hi, i have ARM920T/linux 2.4.18 running. does anybody successfully running java over ARM9/Linux? i downloaded java runtime environment (j2re-1.3.1-RC1-linux-arm.tar.bz2) from balckdown ftp site. i installed it on ARM. java is not running. i have binutils-2.9.5.0.22 gcc-2.95.2 glibc-2.1.2 when i run java i get following messages: ./java java -> .java_wrapper: applet not found : applet not found unset: not found head: invalid option -- 1 BusyBox v0.60.2 (2002.06.19-08:58+) multi-call binary Usage: head [OPTION] [FILE]... Could not create the Java virtual machine. what could be the problem? i need help regarding this cheers HarryDo You Yahoo!? Yahoo! Autos - Get free new car price quotes
Re: unable to run hello world on ARM920T processor
BB_FEATURE_IFCONFIG_BROADCAST_PLUS Enable busybox --install [-s]// t! o create links (or symlinks) for all the commands that are // compiled into the binary. (needs /proc filesystem)//#define BB_FEATURE_INSTALLER Enable a nifty progress meter in wget (adds just under 2k)#define BB_FEATURE_WGET_STATUSBAR Enable HTTP authentication in wget#define BB_FEATURE_WGET_AUTHENTICATION Clean up all memory before exiting -- usually not needed// as the OS can clean up... Don't enable this unless you// have a really good reason for cleaning things up manually.//#define BB_FEATURE_CLEAN_UP Support for human readable output by ls, du, etc.(example 13k, 23M, 235G)#define BB_FEATURE_HUMAN_READABLE Support for the find -type option.#define BB_FEATURE_FIND_TYPE Support for the find -perm option.#define BB_FEATURE_FIND_PERM Support for the find -mtine option.#define BB_FEATURE_FIND_MTIME Support for the -A -B and -! C context flags in grep#define BB_FEATURE_GREP_CONTEXT Support for the EGREP applet (alias to the grep applet)//#define BB_FEATURE_GREP_EGREP_ALIAS Tell tftp what commands that should be supported.#define BB_FEATURE_TFTP_PUT#define BB_FEATURE_TFTP_GET features for vi#define BB_FEATURE_VI_COLON // ":" colon commands, no "ex" mode#define BB_FEATURE_VI_YANKMARK // Yank/Put commands and Mark cmds#define BB_FEATURE_VI_SEARCH // search and replace cmds#define BB_FEATURE_VI_USE_SIGNALS // catch signals#define BB_FEATURE_VI_DOT_CMD // remember previous cmd and "." cmd#define BB_FEATURE_VI_READONLY // vi -R and "view" mode#define BB_FEATURE_VI_SETOPTS // set-able options, ai ic showmatch#define BB_FEATURE_VI_SET // :set#define BB_FEATURE_VI_WIN_RESIZE // handle window resize Enable a if you sys! tem have setuped locale//#define BB_LOCALE_SUPPORT Support for TELNET to pass TERM type to remote host. Adds 384 bytes.#define BB_FEATURE_TELNET_TTYPE Support for devfs.//#define BB_FEATURE_DEVFS End of Features List//---// Nothing beyond this point should ever be touched by // mere mortals so leave this stuff alone.//#include #if defined __UCLIBC__ && ! defined __UCLIBC_HAS_MMU__ #undef BB_RPM2CPIO /* Uses gz_open(), which uses fork() */ #undef BB_DPKG_DEB /* Uses gz_open(), which uses fork() */ #undef BB_FEATURE_TAR_GZIP /* Uses fork() */ #undef BB_UPDATE /* Uses daemon() */#endif#if defined BB_ASH || defined BB_HUSH || defined BB_LASH || defined BB_MSH #if defined BB_FEATURE_COMMAND_EDITING&nbs! p; #define BB_CMDEDIT #else #undef BB_FEATURE_COMMAND_EDITING #undef BB_FEATURE_COMMAND_TAB_COMPLETION #undef BB_FEATURE_COMMAND_USERNAME_COMPLETION #undef BB_FEATURE_SH_FANCY_PROMPT #endif#else #undef BB_FEATURE_SH_APPLETS_ALWAYS_WIN #undef BB_FEATURE_SH_STANDALONE_SHELL #undef BB_FEATURE_SH_FANCY_PROMPT#endif//#if (defined BB_ASH || defined BB_HUSH || defined BB_MSH) && ! defined BB_TEST #define BB_TEST#endif//#ifdef BB_KILLALL #ifndef BB_KILL #define BB_KILL #endif#endif//#ifndef BB_INIT #undef BB_FEATURE_LINUXRC#endif//#if defined BB_MOUNT && defined BB_FEATURE_NFSMOUNT #define BB_NFSMOUNT#endif//#if defined BB_FEATURE_AUTOWIDTH #ifndef BB_FEATURE_USE_TERMIOS #define BB_FEATURE_USE_TERMIOS #en! dif#endif//#if defined BB_INSMOD || defined BB_LSMOD #if ! defined BB_FEATURE_NEW_MODULE_INTERFACE && ! defined BB_FEATURE_OLD_MODULE_INTERFACE #define BB_FEATURE_NEW_MODULE_INTERFACE #endif#endif//#ifdef BB_UNIX2DOS #define BB_DOS2UNIX#endif //#ifdef BB_SYSLOGD #if defined BB_FEATURE_IPC_SYSLOG #define BB_LOGREAD #endif#endif//#if defined BB_ASH && defined BB_FEATURE_SH_IS_ASH# define shell_main ash_main#elif defined BB_HUSH && defined BB_FEATURE_SH_IS_HUSH# define shell_main hush_main#elif defined BB_LASH && defined BB_FEATURE_SH_IS_LASH# define shell_main lash_main#elif defined BB_MSH && defined BB_FEATURE_SH_IS_MSH# define shell_main msh_main#endif --- [EMAIL PROTECTED] wrote: Nathan Meyers wrote:> > On Tue, Jul 16, 2002 at 05:45:50AM -0700, Hari v wrote:> > unset: not found> >> > head: invalid option -- 1> > BusyBox v0.60.2 (2002.06.19-08:58+) multi-call binary> >> > Usage: head [OPTION] [FILE]> > Options:> > -n NUM Print first NUM lines instead of first 10> ...> It looks like you're running in a constrained environment (embedded,> perhaps?), with the "BusyBox" utility that provides compact replacements> for many standard utilities. Your shell apparently doesn't know how to> manage environment variables (it doesn't understand the "unset" command),> and the BusyBox version of the "head" utility doesn't understand the> option to specify the number of lines.I just checked, and busybox will indeed understand uns! etif you uncomment the following lines in Config.h:#define BB_ASHand#define BB_FEATURE_SH_IS_ASHTheir head doesn't understand -10, it only understands -n 10.Sounds like a patch is in order. Go for it, it shouldn't be hard...- DanDo You Yahoo!? Yahoo! Autos - Get free new car price quotes
Re: [PATCH] Fix busybox head, tail to take old -n argument (was: Re: unable to run hello world on ARM920T processor) : hello world working
hi really thanks for your help. Its working!!!. i changed the "head -1" to head -n 1 in .java_wrapper file. Now i am able run hello world!!! I hope the problem is solved!!!. or is it required to apply patch to busybox. once again thanks .... cheers Hari [EMAIL PROTECTED] wrote: Hari v <[EMAIL PROTECTED]>wrote:> thanks. yes i enabled the features in Config.h. > Now the earlier messages like unset is missing. > But how to remove head:invalid option -- 1 Apply the following patch, perhaps? That shouldlet the Java startup script do its head -1 successfully.- Dan--- busybox-0.60.2/tail.c.orig Tue Jul 16 22:32:00 2002+++ busybox-0.60.2/tail.c Tue Jul 16 22:46:19 2002@@ -22,6 +22,7 @@*/+#include #include #include #include @@ -67,6 +68,13 @@int *fds, nfiles = 0, status = EXIT_SUCCESS, nread, nwrite, seen = 0;char *s, *start, *end, buf[BUFSIZ];int i, opt;++ /* Support traditional -%d option if first; needed by many scripts */+ if ((argc > 1) && (argv[1][0] == '-') && isdigit(argv[1][1])) {+ count = atoi(argv[1]! +1);+ argc--;+ argv++;+ }while ((opt = getopt(argc, argv, "c:fhn:q:s:v")) > 0) {switch (opt) {--- busybox-0.60.2/head.c.orig Tue Jul 16 22:49:23 2002+++ busybox-0.60.2/head.c Tue Jul 16 22:50:07 2002@@ -21,6 +21,7 @@**/+#include #include #include #include @@ -46,6 +47,13 @@{FILE *fp;int need_headers, opt, len = 10, status = EXIT_SUCCESS;++ /* Support traditional -%d option if first; needed by many scripts */+ if ((argc > 1) && (argv[1][0] == '-') && isdigit(argv[1][1])) {+ len = atoi(argv[1]+1);+ argc--;+ argv++;+ }/* parse argv[] */while ((opt = getopt(argc, argv, "n:")) > 0) {Do You Yahoo!? Yahoo! Autos - Get free new car price quotes
awt support on ARM920
hi, i have ARM920T/linux 2.4.18 running. does anybody successfully running java over ARM9/Linux? i downloaded java runtime environment (j2re-1.3.1-RC1-linux-arm.tar.bz2) from balckdown ftp site. i installed it on ARM. now i am able to run simple java applications. i have busybox support on ARM-Linux. when i run export command i get list: bash-2.04# export declare -x HOME="/" declare -x HOSTNAME="161.85.18.113" declare -x HOSTTYPE="arm" declare -x LD_LIBRARY_PATH=":/usr/local/j2re1.3.1/lib/armv4l" declare -x MACHTYPE="arm-linux" declare -x OLDPWD="/usr" declare -x OSTYPE="linux-gnu" declare -x PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/j2re1.3.1/bin" declare -x PWD="/usr/shared_library" declare -x SHELL="/bin/sh" declare -x SHLVL="1" declare -x TERM="vt102" declare -x USER="root" bash-2.04# The LD_LIBRARY_PATH is pointing to proper libraries and libawt.so is present in the path. But when i run application with awt support in a rxvt terminal i am getting the following messages: bash-2.04# java VideoViewerFrame Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/j2re1.3.1/lib/armv4l/libawt.so: cannot open shared object file: cannot load shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298) at java.lang.Runtime.loadLibrary0(Runtime.java:749) at java.lang.System.loadLibrary(System.java:820) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:41) at sun.awt.DebugHelper.(DebugHelper.java:29) at java.awt.Component.(Component.java:356) bash-2.04# please i need help regarding this? what could be wrong as far as my knowledge goes PATH is set cheers Harish Do You Yahoo!? Yahoo! Autos - Get free new car price quotes
Re: awt support on ARM920
hi, yes the library exists in specified path. when i run export command i get list: bash-2.04# export declare -x HOME="/" declare -x HOSTNAME="161.85.18.113" declare -x HOSTTYPE="arm" declare -x LD_LIBRARY_PATH=":/usr/local/j2re1.3.1/lib/armv4l" declare -x MACHTYPE="arm-linux" declare -x OLDPWD="/usr" declare -x OSTYPE="linux-gnu" declare -x PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/j2re1.3.1/bin" declare -x PWD="/usr/shared_library" declare -x SHELL="/bin/sh" declare -x SHLVL="1" declare -x TERM="vt102" declare -x USER="root" bash-2.04# The LD_LIBRARY_PATH is pointing to proper libraries and libawt.so is present in the path. Even i have run ldconfig after this!! But when i run application with awt support in a rxvt terminal i am getting the following messages: bash-2.04# java VideoViewerFrame Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/j2re1.3.1/lib/armv4l/libawt.so: cannot open shared object file: cannot load shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298) at java.lang.Runtime.loadLibrary0(Runtime.java:749) at java.lang.System.loadLibrary(System.java:820) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:41) at sun.awt.DebugHelper.(DebugHelper.java:29) at java.awt.Component.(Component.java:356) bash-2.04# please i need help regarding this? what could be wrong as far as my knowledge goes PATH is set Nathan Meyers <[EMAIL PROTECTED]> wrote: On Wed, Jul 17, 2002 at 05:40:06AM -0700, Hari v wrote:> > hi,> > i have ARM920T/linux 2.4.18 running.> > does anybody successfully running java over ARM9/Linux?> > i downloaded java runtime environment (j2re-1.3.1-RC1-linux-arm.tar.bz2) from> > balckdown ftp site. i installed it on ARM. ...> declare -x LD_LIBRARY_PATH=":/usr/local/j2re1.3.1/lib/armv4l" ...> Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/j2re1.3.1/lib/armv4l/libawt.so: cannot open shared object file: cannot load shared object file: No such file or directoryIt should find the native AWT support library if it exists and is inthe expected place. But since I'm not an ARM user, I'll have to ask...is there a libawt.so in /usr/local/j2re1.3.1/lib/ or, for that matter,anywhere in your JDK installa! tion?Nathan Meyers[EMAIL PROTECTED]--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]Do You Yahoo!? Yahoo! Autos - Get free new car price quotes
Re: awt support on ARM920
hi, the libawt.so : requires following libraries. i have all except one libXm.so.2 if any body has for ARM or any site please let me know 0x0001 (NEEDED) Shared library: [libmlib_image.so] 0x0001 (NEEDED) Shared library: [libjvm.so] 0x0001 (NEEDED) Shared library: [libXm.so.2] 0x0001 (NEEDED) Shared library: [libXp.so.6] 0x0001 (NEEDED) Shared library: [libXt.so.6] 0x0001 (NEEDED) Shared library: [libSM.so.6] 0x0001 (NEEDED) Shared library: [libICE.so.6] 0x0001 (NEEDED) Shared library: [libXext.so.6] 0x0001 (NEEDED) Shared library: [libXtst.so.6] 0x0001 (NEEDED) Shared library: [libX11.so.6] 0x0001 (NEEDED) Shared library: [libm.so.6] 0x0001 (NEEDED) Shared library: [libdl.so.2] 0x0001 (NEEDED) Shared library: [libjava.so] 0x0001 (NEEDED) Shared library: [libc.so.6] Nathan Meyers <[EMAIL PROTECTED]> wrote: On Wed, Jul 17, 2002 at 05:40:06AM -0700, Hari v wrote:> > hi,> > i have ARM920T/linux 2.4.18 running.> > does anybody successfully running java over ARM9/Linux?> > i downloaded java runtime environment (j2re-1.3.1-RC1-linux-arm.tar.bz2) from> > balckdown ftp site. i installed it on ARM. ...> declare -x LD_LIBRARY_PATH=":/usr/local/j2re1.3.1/lib/armv4l" ...> Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/j2re1.3.1/lib/armv4l/libawt.so: cannot open shared object file: cannot load shared object file: No such file or directoryIt should find the native AWT support library if it exists and is inthe expected place. But since I'm not an ARM user, I'll have to ask...is there a libawt.so in /usr/local/j2re1.3.1/lib/ or, for that matter,anywhere in your JDK installa! tion?Nathan Meyers[EMAIL PROTECTED]Do You Yahoo!? Yahoo! Autos - Get free new car price quotes
libstdc++-libc6.2-2.s for running awt on ARM-Linux
hi, i need a arm binary for libstdc++-libc6.2-2.so.3 for running java awt on ARM-Linux. where to find? it comes under what package? Basically libfontmanager.so uses this library. best regards HarishDo You Yahoo!? Yahoo! Autos - Get free new car price quotes
current locale is not supported in X11 ... running awt for arm-linux
hi, i was able find it in handhelds.org. i kept it in correct path. when run simple awt application in rxvt terminal i am getting a messages as : - "current locale is not supported in X11, locale is set to CX locale modifiersare not supported , using default" ... Registered Monitor dump: utf8 hash table : JNI pinning lock: ... heap lock: i need help in this Harish Do You Yahoo!? Yahoo! Autos - Get free new car price quotes
Re: current locale is not supported in X11 ... Registered Monitor Dump...
hi, i am getting errors as: warning: String to Translation table conversion encountered errors .. SIGSEGV 11* segmentation violation . Full thread dump Classic VM ... Monitor Cache Dump:.. ... Registered Monitor Dump: utf8 hash table: JNI pinning lock: JNI global reference lock: BinClass lock: Class linking lock: system class loader lock: Code rewrite lock: Heap lock: Monitor cache lock: owner "main" (0x1bdf8) 1 entry Thread queue lock: owner "main" (0x1bdf8) 1 entry Monitor registry : owner "main" (0x1bdf8) 1 entry so what should be the problem? really i need help. Hari Hari v <[EMAIL PROTECTED]> wrote: hi, i was able find it in handhelds.org. i kept it in correct path. when run simple awt application in rxvt terminal i am getting a messages as : - "current locale is not supported in X11, locale is set to CX locale modifiersare not supported , using default" ... Registered Monitor dump: utf8 hash table : JNI pinning lock: ... heap lock: i need help in this Harish Do You Yahoo!?Yahoo! Autos - Get free new car price quotesDo You Yahoo!? Yahoo! Autos - Get free new car price quotes
Re: current locale is not supported in X11 ... Registered Monitor Dump...
>>Have you got a utility called "locale" on your system. What does it>>output when you run it? No. There is no locale utility on my system. I have enabled the locale support in Busybox config.h. >>Also, you might try changing the locale with an environment variable. For>>example:>>export LC_ALL=C i tried this. still problem persists. how to setup locale support on ARM-Linux?? Also i am getting errors as: -SIGSEGV 11* segmentation violation Full thread dump Classic VM Monitor Cache Dump: Registered Monitor Dump: utf8 hash table: JNI pinning lock: JNI global reference lock: BinClass lock: Class linking lock: system class loader lock: Code rewrite lock: Heap lock: Monitor cache lock: owner "main" (0x1bdf8) 1 entry Thread queue lock: owner "main" (0x1bdf8) 1 entry Monitor registry : owner "main" (0x1bdf8) 1 entry how to know what is happening--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]Do You Yahoo!? Yahoo! Health - Feel better, live better
Re: current locale ... Registered Monitor Dump... addnal info
hi i have linux 2.4.18 running on arm920T integrator. i am using busybox. there is no locale utility in my system. i have downloaded jre1.3.1 from blackdown site. i have installed at /usr/local directory. i am able to run hello world program. But when i run awt application i get error message saying "current locale is not supported in X11, locale is set to CX locale modifiersare not supported , using defaultwarning: translationtable syntaxc error: unknown keysym name: osfActivate warning: string to Translation table conversion encountered errors .. SIGSEGV 11* segmentaion violation si_signo [11]: SIGSEGV 11* segmentation violation si_errno [0]:success si_code[1]:SEGV_MAPERR[] stackpointer=. Full thread Dump classic VM (BLACKDOWN-1.3.1 RC1 - native threads): "AWT-Motif" (. state:MW) prio=6 at sun.awt.motif.MTollkit.run (Native Method) at java.lang.Thread.run "SunToolkit.PostEventQueue-0" (. state:CW..)prio =6 at java.lang.object.wait (Native method) at java.lang.object.wait (Object.java) at java.awt.EventQueue.getNextEvent (EventQueue.java) ... "Finalizer" ( state:CW.)prio=8 at java.lang.object.wait (Native method) .. "ReferenceHandler (...state:CW.)prio=10 .. "SignalDispatcher" (state:CW.) prio=5 . "main" (state:R.) prio=5 at sun.awt.motif... ... Monitor Cache Dump: ... java.lang.ref.Reference$Lock. Waiting to be notified: "Reference Handler" (...) . java.awt.EventQueue . Waiting to be notified: "AWT-EventQueue-0" .. java.lang.ref.ReferenceQueue$Lock Waiting to be notified: "Finalizer" ... sun.awt.PostEventQueue .. Waiting to be notified: "SunToolkit.Posteventqueue-0" java.lang.class :owner "main" waiting to enter: "AWT-Motif" ... Registered Monitor Dump: utf8 hash table: JNI pinning lock: JNI global reference lock: BinClass lock: Class linking lock: system class loader lock: Code rewrite lock: Heap lock: Monitor cache lock: owner "main" (0x1bdf8) 1 entry Thread queue lock: owner "main" (0x1bdf8) 1 entry Monitor registry : owner "main" (0x1bdf8) 1 entry so what should be the problem? i am not able to find what's happening ?really i need help. Hari v <[EMAIL PROTECTED]> wrote: >>Have you got a utility called "locale" on your system. What does it>>output when you run it? No. There is no locale utility on my system. I have enabled the locale support in Busybox config.h. >>Also, you might try changing the locale with an environment variable. For>>example:>>export LC_ALL=C i tried this. still problem persists. how to setup locale support on ARM-Linux?? Also i am getting errors as: -SIGSEGV 11* segmentation violation Full thread dump Classic VM Monitor Cache Dump: Registered Monitor Dump: utf8 hash table: JNI pinning lock: JNI global reference lock: BinClass lock: Class linking lock: system class loader lock: Code rewrite lock: Heap lock: Monitor cache lock: owner "main" (0x1bdf8) 1 entry Thread queue lock: owner "main" (0x1bdf8) 1 entry Monitor registry : owner "main" (0x1bdf8) 1 entry how to know what is happening--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] Do You Yahoo!?Yahoo! Health - Feel better, live betterDo You Yahoo!? Yahoo! Health - Feel better, live better
R_ARM_PC24 relocation out of range
Dear All, I am trying to integrate C code(Mpeg4 decoder) to some Java code on ARM Linux using JNI. I have a jvm running on the ARM Linux. While running the application I get an error: Test Case Four - Play a captured video sequence Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/j2re1.3.1/lib/armv4l/libvidec.so: /usr/local/j2re1.3.1/lib/armv4l/libvidec.so: R_ARM_PC24 relocation out of range at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298) at java.lang.Runtime.loadLibrary0(Runtime.java:749) at java.lang.System.loadLibrary(System.java:820) at VidecApi.(VidecApi.java:120) at SteffensGUI.main(SteffensGUI.java:87) I feel this is mostly due to the position independent code.(PIC). I even tried compiling the libraries that are used by libvidec.so using fPIC. Still I get this error. Any insight into this would be of great help. Thanks Harish.Do You Yahoo!? Yahoo! Health - Feel better, live better
JDK Problems - LIBJAVA.SO Error
I downloaded and installed "j2sdk-1.3.1-02b-FCS-linux-ppc.bin" from the penguinppc.org web site and followed the instructions. I was able to INSTALL under /usr/local and also changed my PATH variable.but later when I test my java version it gives following error - wonder why #./java -version Error: can't find libjava.so. I am using IBM PowerPC (pseries) with Red Hat Linux 7.1 Any related information on this is appreciated. THANKS! _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]