Re: Oracle 8i & JDK 117v3
A good source of information for Oracle on Linux is the Oracle technet discussion forum: http://technet.oracle.com/tech/linux/htdocs/discussion_index.htm You have to be member of the Oracle technet to access this page, but this shouldn't be a probleme, membership is free. I had many problems installing 8i on Linux (SuSE 6.2), too, but succeeded eventually, the main points are: - There's a patch (8.1.5.0.1) which fixes a lot of things, including the missing library for netasst (Of course you can run the listener without configuring your network, but it won't dispatch any services, so you can't access the DB from another machine). You should download this patch from the Oracle technet ! - If you install the server only, the client software is not installed properly, so, if you want to use any client software on the same machine, install the client, too. - Oracle recommends blackdown's 1.1.6v5 because they did their tests with this distribution (I guess). I installed everything using 1.1.7v3 and everything went fine as well. Good luck, Ulf > Aaron Mulder wrote: > > > Then, dbassist failed to launch from the install routine with > the > > error "not enough arguments". When we tried to run it, it simply died, > > which we traced to the fact that all the tools use java -native which > does > > nothing if native threads aren't installed (why not default to green?). > > With suitable editing to .java_wrapper and jre, we got it to run using > > green threads. > > This is curious. At first I tried using the IBM JDK and the runInstaller > script died complaining that the jre did non support the "-green" option > (IBM does not support it indeed). Then I downloaded and installed > blackdown's 1.1.6v5 and run it successfully and I am positively certain > that I did NOT install the native thread package. Infact, as the > installer ran I was watching it using "top" and there was only one java > process. > > > HOWEVER, we are unable to configure Net8. The tools like > > "netasst" and others (I've forgetten the others we tried) die with an > > "Unable to load library" error. The library in question (libnjni8.so) > is > > distributed by Oracle (see $ORACLE_HOME/lib), but with size 0 (both the > > installed version and the version in the JAR on the CD). The directory > is > > in our LD_LIBRARY_PATH, so I suspect it's just the "size 0" issue. > > This means that we can't connect to the instance other than > > through "connect internal", which is pretty useless. We took a swing at > > configuring a listener.ora by hand, but can't get past an error about > "no > > valid addresses specified"... > > Don't know what is going on here, but I did not run netasst, I just ran > "lsnrctl start" and now have a listener running and listening on port > 1521/tcp. I also created a tablespace and a user and used "sqlplus > user/password" to create a few tables. But frankly I don't know if this > is a symptom that I have Net8 correctly installed and configured. I will > try to run netasst later to see how it goes. > > -- > Ugo Cei - [EMAIL PROTECTED] > Fuori Orario Srl - Galleria Manzoni 15, 27100 Pavia - Italy > Tel: +39.382.22651, Fax: +39.382.539467 > > > -- > 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]
Re: Oracle 8i & JDK 117v3
On Mon, Nov 15, Pietruschka, Ulf wrote: > A good source of information for Oracle on Linux is the Oracle technet > discussion forum: > > http://technet.oracle.com/tech/linux/htdocs/discussion_index.htm > > You have to be member of the Oracle technet to access this page, but > this shouldn't be a probleme, membership is free. > > I had many problems installing 8i on Linux (SuSE 6.2), too, but succeeded > eventually, the main points are: JFYI: http://www.suse.de/de/produkte/software/dbms/oracle/oracle_patches/oracle8051STD_suse62.html Detailed Installation-Instructions for Oracle on SuSE 6.x -- mit freundlichen Gruessen, Carsten Hoeger - SuSE Professional Services - SuSE GmbH, Schanzaeckerstr. 10, 90443 Nuernberg, Germany Tel: +49-911-7405356 Mo-Fr 09-17.00, Fax: +49-911-3206727 http://www.suse.de/bsupport/index.html Email: [EMAIL PROTECTED] Braune Blaetter schmeissen sich vom Baum und sind tot. Es ist Herbst. (O. Kalkofe) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: blackdown jdk version
Nathan Meyers wrote: > OK... it's never dumped core there before, has it? > > I'm getting a bit short of ideas and time, but let's see if I can make > any headway. It's dying as soon as you start up "java -green" with my > two recommended environment variable values (JAVA_DEBUG and LD_PRELOAD)? > > Try running /usr/bin/ldd on gdb and on your JNI .so (the one you're > pre-loading). That will tell what library dependencies each has: maybe > one is dependent on glibc and the other on libc5... I've seen that cause > a core dump. > Here is the out put of ldd, % ldd libFSDBconnect.so libRTI.so => /usr/safdevel/RTI13v6/rti/lang/C++/lib/Linux-2.0/libRTI.so (0x4050a000) libfedtime.so => /usr/safdevel/RTI13v6/rti/lang/C++/lib/Linux-2.0/libfedtime.so (0x40b9b000) libpthread.so.0 => /lib/libpthread.so.0 (0x40baa000) libXm.so.2 => /usr/X11R6/lib/libXm.so.2 (0x40bbb000) libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x40d45000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40d4c000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40d96000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40da3000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40daf000) libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x40e4c000 libm.so.6 => /lib/libm.so.6 (0x40e8e000) libc.so.6 => /lib/libc.so.6 (0x40eaa000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40f98000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40fa1000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2000) Do you see anything looped wrong? I can run debugger if i don't pre load shared library!! still i am not able to stop debugger at proper place. I tried Stop at class:lineno at gdb prompt to stop debugger in main of java but it did not stop there! -Raj > > Nathan > > On Fri, Nov 12, 1999 at 04:45:20PM -0500, Raj Patel wrote: > > Nathan Meyers wrote: > > > > > Don't specify the "FSA..." stuff on the initial "java" command line, > > > specify it in the "run" command inside the debugger after you've > > > set your breakpoint in main(). And don't put it in quotes. > > > > > > I know this breaks the usual conventions for running Java, but what's > > > happening, inside the launch script, is that it's running: > > > > > > gdb java "FSA..." > > > > > > and it thinks you're asking it to read a corefile with that funny name. > > > And there is no such file. > > > > > > Just run "java -green". When the debugger starts, set a breakpoint at main(), > > > > > > > It's not working for me > > > > black:rpatel% java -green > > Segmentation fault (core dumped) > > black:rpatel% > > > > -Raj -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
JDK 1.2 Printing part 2
Hi Gang: First, thanks to all who responded to my first query. The article pointed to was a big help. My next question concerns paper orientation. Under Windoz I can set the orientation from portrait to landscape and the printer understands. On Solaris, the pop-up dialog box does not allow the orientation to be changed but does allow for extra printer commands. I have set the PageFormat orientation to be PageFormat.LANDSCAPE by default which ,again, works fine with NT. On Solaris, the dimension of the page is set as though it was going to print in landscape, but the paper is not turned on its side to accept the output. Any Clues?? Thanks, Greg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: place to get limix 1.2 port for linux
http://www.blackdown.org/java-linux/mirrors.html Abeezar wrote: > > hi > > can anyone tell me the palce where i can get jdk 1.2 port for linux > > regards > Abeezar Burhanpurwala > > -- > 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]
Re: Oracle 8i & JDK 117v3
Yes I did can I hepyou. I use Oralce 8i + Java on Linux RH6 Bernardo At 04:09 p.m. 11/11/99 -0500, you wrote: > Sorry for the somewhat off-topic post, but... I need the help! > > Anyone had success installing Oracle 8i on Linux? I'm fighting >some problems with the configuration tools, which are all Java-based. > >Thanks, > Aaron > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > __ Dr. Bernardo Paz Betancourt TROPANDES Project casilla 415 tel/Fax: (591) 2 41.18.34 http://www.megalink.com/tropandes La Paz - Bolivia -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Newbie Question - Please Help
I can't seem to get my envireonment variables to work. When I run javac file.java I get his error: "Warning: JIT compiler "sunwjit" not found. Will use interpreter." It creates a class file and runs fine, but I still get the error. If anyone has any suggestions, please help. I'm running Debian 2.1 with jdk1.2pre-v2. Here is a copy of .profile: PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/mysql/bin:/usr/local/java/jdk1.2/bin DISPLAY=:0 JAVA_HOME=/usr/local/java/jdk1.2 CLASSPATH=.:/usr/local/java/jdk1.2/jre/lib/rt.jar: export PATH DISPLAY JAVA_HOME CLASSPATH Thanks in advance, Don Hatch ___ Site Design, Hosting, and E-Commerce at www.webpipe.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
What is JDK 1.3 like?
This is a question for the developers/porters on the Blackdown team. Q: After looking at the JDK 1.3 code, how portable does it look? Is it much different from 1.2? Or do you think you'll have a much easier time porting it? Best wishes, -- [ Riyad Kalla ] [ [EMAIL PROTECTED] ] [ CS - Major ] [ University of Arizona ] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Newbie Question - Please Help
On Mon, 15 Nov 1999 11:51:52 -0700, Don Hatch wrote: >I can't seem to get my envireonment variables to work. When I run javac file.java I >get his error: >"Warning: JIT compiler "sunwjit" not found. Will use interpreter." > >It creates a class file and runs fine, but I still get the error. If anyone has any >suggestions, please help. I'm running Debian 2.1 with jdk1.2pre-v2. Here is a copy >of .profile: Well, the problem is "known" and is due to the fact that some file access rights were set incorrectly in the tar file. You need to make sure that all of the files are readable/etc by the account you are running the Java applications in. -- Michael Sinz Technology and Engineering Director/Consultant "Starting Startups" mailto:[EMAIL PROTECTED] My place on the web ---> http://www.users.fast.net/~michael_sinz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What is JDK 1.3 like?
At 12:05 11 Nov 1999 -0700, Riyad Kalla wrote: > This is a question for the developers/porters on the > Blackdown team. > > Q: After looking at the JDK 1.3 code, how portable does it > look? Is it much different from 1.2? Or do you think you'll > have a much easier time porting it? I understand that sun will be porting the JDK to linux themselves, starting early next year. Perhaps this will ease your mind a little. :) Paul -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: What is JDK 1.3 like?
I read that announcement as well... but it said "With the help of the Blackdown team Sun hopes to... yadda yadda" so from what I understand, Blackdown will still be doing the ports. Can anyone clarify this along with anwering my original question of how difficult 1.3 will be compared to 1.2? -Riyad Paul Mclachlan wrote: > At 12:05 11 Nov 1999 -0700, Riyad Kalla wrote: > > > This is a question for the developers/porters on the > > Blackdown team. > > > > Q: After looking at the JDK 1.3 code, how portable does it > > look? Is it much different from 1.2? Or do you think you'll > > have a much easier time porting it? > > I understand that sun will be porting the JDK to linux themselves, starting > early next year. Perhaps this will ease your mind a little. :) > > Paul -- [ Riyad Kalla ] [ [EMAIL PROTECTED] ] [ CS - Major ] [ University of Arizona ] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
code question
hi all, is it possible to open, read and write files froma an applet? I know it's off topic, but I really need to know that. TIA --Yohans ~ Yohans Mendoza Unix Administrator [EMAIL PROTECTED]Sirius Images Inc. http://www2.utep.edu/~yohanshttp://www.sirius-images.net ~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
sybase jre problem?
I'm having problems running a java application included in the Sybase
linux release.
I'm running this on a vanilla RedHat 6.1 server installation.
Initially when I ran the app. jre returned 139??
if I set NS_JAVA to anything.
I get the following via strace:
open("/usr/local/jre117_v3/lib/i686/green_threads/libawt.so", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0755, st_size=2078144, ...}) = 0
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0Lu\1\000"..., 4096) = 4096
mmap(0, 285968, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) = 0x41b7c000
mprotect(0x41bb4000, 56592, PROT_NONE) = 0
mmap(0x41bb4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 9, 0x37000) =
0x41bb4000
mmap(0x41bb6000, 48400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1,
0) = 0x41bb6000
close(9)= 0
mprotect(0x41b7c000, 229376, PROT_READ|PROT_WRITE) = 0
munmap(0x41b7c000, 285968) = 0
write(2, "/usr/local/jre117_v3/lib/i686/gr"...,
100/usr/local/jre117_v3/lib/i686/green_threads/libawt.so: undefined symbol:
XtShellStrings (libawt.so)
) = 100
lseek(3, 55196, SEEK_SET) = 55196
read(3, "PK\3\4\24\0\0\0\10\0yD\252&\254K\223>\340\0\0\0008\1\0"..., 30) = 30
lseek(3, 55278, SEEK_SET) = 55278
read(3, "m\217\301J\0031\20\206\377t\333\335\272hm\v\n^<\327\212"..., 224) = 224
write(2, "[Loaded java/lang/UnsatisfiedLin"..., 83[Loaded
java/lang/UnsatisfiedLinkError.class from /usr/local/jre117_v3/lib/rt.jar]
) = 83
fstat(1, {st_mode=S_IFREG|0644, st_size=104468, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41af5000
fcntl(2, F_GETFL) = 0x1 (flags O_WRONLY)
fcntl(2, F_SETFL, O_WRONLY|O_NONBLOCK|O_ASYNC) = 0
getpid()= 7725
fcntl(2, F_SETOWN, 7725)= 0
rt_sigprocmask(SIG_BLOCK, [IO], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(2, "java.lang.UnsatisfiedLinkError: "..., 61java.lang.UnsatisfiedLinkError: no
awt in shared library path) = 61
write(2, "\n", 1
) = 1
write(2, "\tat java.lang.Runtime.loadLibrar"..., 47 at
java.lang.Runtime.loadLibrary(Runtime.java)) = 47
write(2, "\n", 1
) = 1
write(2, "\tat java.lang.System.loadLibrary"..., 45 at
java.lang.System.loadLibrary(System.java)) = 45
write(2, "\n", 1
) = 1
write(2, "\tat ", 4 at )= 4
write(2, "\n", 1
) = 1
write(2, "\tat java.awt.Toolkit.getDefaultT"..., 56 at
java.awt.Toolkit.getDefaultToolkit(Toolkit.java:394)) = 56
write(2, "\n", 1
) = 1
write(2, "\tat sybase.scf.controller.MainCo"..., 65 at
sybase.scf.controller.MainController.run(MainController.java)) = 65
write(2, "\n", 1
) = 1
write(2, "\tat sybase.scf.controller.MainCo"..., 66 at
sybase.scf.controller.MainController.main(MainController.java)) = 66
write(2, "\n", 1
) = 1
fcntl(2, F_GETFL) = 0x2801 (flags O_WRONLY|O_NONBLOCK|O_ASYNC)
fcntl(2, F_SETFL, O_WRONLY|O_ASYNC) = 0
write(1, "Exception in thread \"main\" ", 27Exception in thread "main" ) = 27
munmap(0x41af5000, 4096)= 0
_exit(0)= ?
How do I interpret this? I figured that since this was a server
installation that Xfree wasn't installed... So I downloaded and
installed that.
and added /usr/X11R6/lib to my LD_LIBRARY_PATH
to no avail...
then I ran accross something about setting the following:
LD_PRELOAD=libXt.so libXm.so libXext.so
LD_BIND_NOW=1
but I couldn't find libXm.so... and I don't know if I'm on the right
track...
any suggestions?
Thanks in advance, MDJ
--
Morgan D. Jones "Rocks have eyes and they are mean... They
NextStrat, Inc. aim for skin, hoping to tear pieces off
to keep with them on the ground." - anon
703/204-2624 "Life is not for the faint hearted" - RN
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
