RE: initjvm and rmjvm failing
Note 159801.1 (Full JVM Removal on 8.1.7) on Metalink may help. Haven't tried it myself but I fear I'm about to. Jim -Original Message- Sent: Wednesday, April 17, 2002 12:08 AM To: Multiple recipients of list ORACLE-L Hi All I am trying to add Java support to one of the databases and it keeps failing. It seems that after the first run it didn't get it right and rmjvm doesn't seem to run properly after. there still appears to be a large bunch of objects in the database. Any ideas as to how to clean it up I can rebuild it if i need to, this is more of a learning task, I normally create them with Java in the first place. Any ideas 8.1.7 on Solaris 8 Thanks -- = Peter McLarty E-mail: [EMAIL PROTECTED] Technical ConsultantWWW: http://www.mincom.com APAC Technical Services Phone: +61 (0)7 3303 3461 Brisbane, AustraliaMobile: +61 (0)402 094 238 Facsimile: +61 (0)7 3303 3048 = A great pleasure in life is doing what people say you cannot do. - Walter Bagehot (1826-1877 British Economist) = Mincom "The People, The Experience, The Vision" = -- This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. The contents of this e-mail are the opinion of the writer only and are not endorsed by the Mincom Group of companies unless expressly stated otherwise. -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Conboy, Jim INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Re: initjvm and rmjvm failing
You better check metalink for this one. Cleanly removing java from a database is a rather involved job. I've done it once, don't care to do it again. Sorry, no pointers. It was a trial and error process with me. There are several metalink references to it. Jared [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 04/16/02 09:08 PM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject: initjvm and rmjvm failing Hi All I am trying to add Java support to one of the databases and it keeps failing. It seems that after the first run it didn't get it right and rmjvm doesn't seem to run properly after. there still appears to be a large bunch of objects in the database. Any ideas as to how to clean it up I can rebuild it if i need to, this is more of a learning task, I normally create them with Java in the first place. Any ideas 8.1.7 on Solaris 8 Thanks -- = Peter McLarty E-mail: [EMAIL PROTECTED] Technical ConsultantWWW: http://www.mincom.com APAC Technical Services Phone: +61 (0)7 3303 3461 Brisbane, AustraliaMobile: +61 (0)402 094 238 Facsimile: +61 (0)7 3303 3048 = A great pleasure in life is doing what people say you cannot do. - Walter Bagehot (1826-1877 British Economist) = Mincom "The People, The Experience, The Vision" = -- This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. The contents of this e-mail are the opinion of the writer only and are not endorsed by the Mincom Group of companies unless expressly stated otherwise. STG18853 Description: Binary data
RE: initjvm and rmjvm failing
Thanks Bruce The initjvmaux.sql was the key to the cleanup and increasing the Java_shared_pool to 50M got it going properly The metalink notes that I had read suggested 30 so I had 35MB Cheers -- = Peter McLarty E-mail: [EMAIL PROTECTED] Technical ConsultantWWW: http://www.mincom.com APAC Technical Services Phone: +61 (0)7 3303 3461 Brisbane, AustraliaMobile: +61 (0)402 094 238 Facsimile: +61 (0)7 3303 3048 = A great pleasure in life is doing what people say you cannot do. - Walter Bagehot (1826-1877 British Economist) = Mincom "The People, The Experience, The Vision" = "Reardon, Bruce (CALBBAY)" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 17-04-2002 02:48 PM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Fax to: Subject: RE: initjvm and rmjvm failing Peter, On NT 817 I haven't succeeded in getting JVM to deinstall cleanly and have had to end up rebuilding databases. That said, have a look at bugs 1955536 and 1751857 for details of problems with deinstalling JVM and potential workarounds >From bug 1955536: "So, the first thing to try here is probably to . 1) restart the database 2) start a different session that the one the started the database 3) run initjvmaux.sql 4) run rmjvm.sql 5) do the following from bug 1751857 . drop trigger JIS$ROLE_TRIGGER$; delete from ducs$ where owner='SYS' and pack='JIS$INTERCEPTOR$' and proc='USER_DROPPED'; delete from aurora$startup$classes$ where classname='oracle.aurora.mts.http.admin.RegisterService'; delete from aurora$dyn$reg; . 6) restart the database - if you get trigger errors, ignore them make sure java_pool_size is at least 50MB 7) start a new session 8) try initjvm.sql . Keep spool files of everything." and then "Note also that not only does running initjvm after rmjvm require a new session, it requires restarting the database instance. The newer versions of initjvm attempt to enforce this by exiting immediately if it can be detected that rmjvm has run in the same instance." HTH, Bruce Reardon -Original Message- Sent: Wednesday, 17 April 2002 14:08 Hi All I am trying to add Java support to one of the databases and it keeps failing. It seems that after the first run it didn't get it right and rmjvm doesn't seem to run properly after. there still appears to be a large bunch of objects in the database. Any ideas as to how to clean it up I can rebuild it if i need to, this is more of a learning task, I normally create them with Java in the first place. Any ideas 8.1.7 on Solaris 8 Thanks = Peter McLarty E-mail: [EMAIL PROTECTED] Technical ConsultantWWW: http://www.mincom.com APAC Technical Services Phone: +61 (0)7 3303 3461 Brisbane, AustraliaMobile: +61 (0)402 094 238 Facsimile: +61 (0)7 3303 3048 = -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Reardon, Bruce (CALBBAY) INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. The contents of this e-mail are the opinion of the writer only and are not endorsed by the Mincom Group of companies unless expressly stated otherwise. STG63997 Description: Binary data
Re: initjvm and rmjvm failing
It helps to bounce the DB after the rmjvm and before the initjvm commands. HTH & YMMV! [EMAIL PROTECTED] wrote: > > Hi All > > I am trying to add Java support to one of the databases and it keeps > failing. It seems that after the first run it didn't get it right and > rmjvm doesn't seem to run properly after. there still appears to be a > large bunch of objects in the database. Any ideas as to how to clean it up > > I can rebuild it if i need to, this is more of a learning task, I normally > create them with Java in the first place. > > Any ideas > > 8.1.7 on Solaris 8 > > Thanks > > -- > = > Peter McLarty E-mail: [EMAIL PROTECTED] > Technical ConsultantWWW: http://www.mincom.com > APAC Technical Services Phone: +61 (0)7 3303 3461 > Brisbane, AustraliaMobile: +61 (0)402 094 238 > Facsimile: +61 (0)7 3303 3048 > = > A great pleasure in life is doing what people say you cannot do. > > - Walter Bagehot (1826-1877 British Economist) > = > Mincom "The People, The Experience, The Vision" > > = > > -- > This transmission is for the intended addressee only and is confidential >information. If you have received this transmission in error, please delete it and >notify the sender. The contents of this e-mail are the opinion of the writer only >and are not endorsed by the Mincom Group of companies unless expressly stated >otherwise. > > >--- >Name: STG18853 >STG18853Type: unspecified type (application/octet-stream) >Encoding: 7bit -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Charlie Mengler INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: initjvm and rmjvm failing
Hi Peter, If you ran any java related scripts after installing the java functionality (or trying to install it), you may have to do additional steps after trying a rmjvm. There's a doc on Metalink for this. It tells you all the steps etc (DOC ID#: 159801.1). Cheers, Sujatha -Original Message- Sent: Wednesday, 17 April 2002 2:08 PM To: Multiple recipients of list ORACLE-L Hi All I am trying to add Java support to one of the databases and it keeps failing. It seems that after the first run it didn't get it right and rmjvm doesn't seem to run properly after. there still appears to be a large bunch of objects in the database. Any ideas as to how to clean it up I can rebuild it if i need to, this is more of a learning task, I normally create them with Java in the first place. Any ideas 8.1.7 on Solaris 8 Thanks -- = Peter McLarty E-mail: [EMAIL PROTECTED] Technical ConsultantWWW: http://www.mincom.com APAC Technical Services Phone: +61 (0)7 3303 3461 Brisbane, AustraliaMobile: +61 (0)402 094 238 Facsimile: +61 (0)7 3303 3048 = A great pleasure in life is doing what people say you cannot do. - Walter Bagehot (1826-1877 British Economist) = Mincom "The People, The Experience, The Vision" = -- This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. The contents of this e-mail are the opinion of the writer only and are not endorsed by the Mincom Group of companies unless expressly stated otherwise. -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Sujatha Madan INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: initjvm and rmjvm failing
Peter, On NT 817 I haven't succeeded in getting JVM to deinstall cleanly and have had to end up rebuilding databases. That said, have a look at bugs 1955536 and 1751857 for details of problems with deinstalling JVM and potential workarounds >From bug 1955536: "So, the first thing to try here is probably to . 1) restart the database 2) start a different session that the one the started the database 3) run initjvmaux.sql 4) run rmjvm.sql 5) do the following from bug 1751857 . drop trigger JIS$ROLE_TRIGGER$; delete from ducs$ where owner='SYS' and pack='JIS$INTERCEPTOR$' and proc='USER_DROPPED'; delete from aurora$startup$classes$ where classname='oracle.aurora.mts.http.admin.RegisterService'; delete from aurora$dyn$reg; . 6) restart the database - if you get trigger errors, ignore them make sure java_pool_size is at least 50MB 7) start a new session 8) try initjvm.sql . Keep spool files of everything." and then "Note also that not only does running initjvm after rmjvm require a new session, it requires restarting the database instance. The newer versions of initjvm attempt to enforce this by exiting immediately if it can be detected that rmjvm has run in the same instance." HTH, Bruce Reardon -Original Message- Sent: Wednesday, 17 April 2002 14:08 Hi All I am trying to add Java support to one of the databases and it keeps failing. It seems that after the first run it didn't get it right and rmjvm doesn't seem to run properly after. there still appears to be a large bunch of objects in the database. Any ideas as to how to clean it up I can rebuild it if i need to, this is more of a learning task, I normally create them with Java in the first place. Any ideas 8.1.7 on Solaris 8 Thanks = Peter McLarty E-mail: [EMAIL PROTECTED] Technical ConsultantWWW: http://www.mincom.com APAC Technical Services Phone: +61 (0)7 3303 3461 Brisbane, AustraliaMobile: +61 (0)402 094 238 Facsimile: +61 (0)7 3303 3048 = -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Reardon, Bruce (CALBBAY) INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
initjvm and rmjvm failing
Hi All I am trying to add Java support to one of the databases and it keeps failing. It seems that after the first run it didn't get it right and rmjvm doesn't seem to run properly after. there still appears to be a large bunch of objects in the database. Any ideas as to how to clean it up I can rebuild it if i need to, this is more of a learning task, I normally create them with Java in the first place. Any ideas 8.1.7 on Solaris 8 Thanks -- = Peter McLarty E-mail: [EMAIL PROTECTED] Technical ConsultantWWW: http://www.mincom.com APAC Technical Services Phone: +61 (0)7 3303 3461 Brisbane, AustraliaMobile: +61 (0)402 094 238 Facsimile: +61 (0)7 3303 3048 = A great pleasure in life is doing what people say you cannot do. - Walter Bagehot (1826-1877 British Economist) = Mincom "The People, The Experience, The Vision" = -- This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. The contents of this e-mail are the opinion of the writer only and are not endorsed by the Mincom Group of companies unless expressly stated otherwise. STG18853 Description: Binary data