Oracle Java Call

Dear All,
Need your help.
I am posting my sample class below
public static java.sql.ResultSet getData(String dbConnectStr,String dbuserID,String dbpwd,String query) throws Exception
// Obtain default connection
// Query all columns from the EMP table
ResultSet rset = null;
Connection conn = null;
try
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
conn = (OracleConnection)DriverManager.getConnection("jdbc:oracle:thin:@"+dbConnectStr,dbuserID,dbpwd);
((OracleConnection)conn).setCreateStatementAsRefCursor(true);
stat.execute("alter session set NLS_DATE_FORMAT='DD-Mon-RRRR HH:MI:SS'");*/
System.out.println(query);
Statement stmt = conn.createStatement();
rset = stmt.executeQuery(query);
System.out.println("returning");
catch (SQLException e)
e.printStackTrace();
// Return the ResultSet (as a REF CURSOR)
return rset;
################################## My Function in Oracle DB
FUNCTION DB_CALL(dbConnectStr VARCHAR2,dbuserID VARCHAR2,dbpwd VARCHAR2,query VARCHAR2) return axsbcstatement.CUR is language java name 'com.axs.logc.OracleDeployProcedure.getData(java.lang.String,java.lang.String,java.lang.String,java.lang.String) return java.sql.Resultset' ;
########################### My Procedure Where i am calling this function
PROCEDURE INSERT_call (inward_dbConnectStr VARCHAR2,inward_dbuserID VARCHAR2,inward_dbpwd VARCHAR2,query VARCHAR2,updateCnt out number) as
up_cnt number(6) :=0;
db_cur axsbcstatement.inward_cur;
ENTRY_NMBR_field dummy_table.Entry_Nmbr%type;
SNDR_NAME_field dummy_table.Sndr_Name%type;
SNDR_ADDRSS_field dummy_table.Sndr_Addrss%type;
RCVR_NAME_field dummy_table.Rcvr_Name%type;
REMARKS_field dummy_table.Remarks%type;
TRAN_AMNT_field dummy_table.Tran_Amnt%type;
TRAN_DATE_field dummy_table.Tran_Date%type;
BATCH_TRANID_field dummy_table.Batch_Tranid%type;
BATCH_TIME_field dummy_table.Batch_Time%type;
BEGIN
db_cur := INWARD_DB_CALL(inward_dbConnectStr,inward_dbuserID ,inward_dbpwd ,query);
loop
fetch db_cur into ENTRY_NMBR_field,TRAN_ID_field,SNDR_NAME_field,SNDR_ADDRSS_field,RCVR_NAME_field,REMARKS_field,TRAN_DATE_field,BNFCRY_field,BATCH_TRANID_field,BATCH_TIME_field;
EXIT WHEN db_cur%NOTFOUND;
begin
select ENTRY_NMBR INTO ENTRY_NMBR_field from dummy_table where ENTRY_NMBR = entry_nmbr_field and TRAN_ID = TRAN_ID_field;
if SQL%found then
dbms_output.put_line('Data Found in table ');
end if;
Exception
when no_data_found then
insert into dummy_table values(ENTRY_NMBR_field,TRAN_ID_field,SNDR_NAME_field,SNDR_ADDRSS_field,RCVR_NAME_field,REMARKS_field,TRAN_DATE_field,BNFCRY_field,BATCH_TRANID_field,BATCH_TIME_field);
up_cnt := up_cnt+1;
end;
end loop;
close db_cur;
updateCnt := up_cnt;
Exception
when others then
dbms_output.put_line(' - ' || SQLCODE|| ' ' ||SQLERRM);
END INSERT_call;
I am getting "ORA-00932: inconsistent datatypes: expected a return value that is a java.sql.ResultSet got a java.sql.ResultSet that can not be used as a REF CURSOR" this error while executing the procedure...
i have tried so many things but not able to solve this problem..
<b><h3>
Apart from this If someone suggest me ...........
I am having two different database.with same table structure .
i have to take data from db1 and insert into the db2 on incremental basis (some checks required while inserting into the db2)
..</h3>
</b>
Regards .
Salil

Oracle JMS client libraries work only with Oracle AQ/JMS. These will not work with MQ series.
You might have to load MQ series JMS client libraries.
null

Similar Messages

  • Oracle BI 11.1.1.7.1: Calling BI webservices from Plsql Procedure: ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError

    Hi,
         I have a requirement of calling BI webservices from Plsql stored procedure. I generated all my wsdl java classes and loaded them into the database. However, when I tried to call one of my java class using stored procedure, it is giving me"ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError".
    *Cause:    A Java exception or error was signaled and could not be
               resolved by the Java code.
    *Action:   Modify Java code, if this behavior is not intended.
    But all my dependency classes are present in database as java class objects and are valid. Can some one help me out of this?

    Stiphane,
    You can look in USER_ERRORS to see if there's anything more specific reported by the compiler. But, it could also be the case that everything's OK (oddly enough). I loaded the JavaMail API in an 8.1.6 database and also got bytecode verifier errors, but it ran fine. Here are the errors I got when loading Sun's activation.jar, which ended up not being a problem:
    ORA-29552: verification warning: at offset 12 of <init> void (java.lang.String, java.lang.String) cannot access class$java$io$InputStream
    verifier is replacing bytecode at <init> void (java.lang.String, java.lang.String):12 by a throw at offset 18 of <init> void (java.lang.String, java.lang.String) cannot access class$java$io$InputStream
    verifier is replacing bytecode at <init> void (java.lang.String, java.lang.String):18 by a throw at offset 30 of <init> void (java.lang.String, java.lang.String) cannot access class$java$io$InputStream
    verifier is replacing bytecode at <init> void (java.lang.String, java.lang.String):30 by a throw
    Hope this helps,
    -Dan
    http://www.compuware.com/products/devpartner/db/oracle_debug.htm
    Debug PL/SQL and Java in the Oracle Database

  • Any one use java call oracle ERP stored procdure

    Hi,
    Any one use java call oracle ERP stored procdure?
    Example I want ues java call below stored, it can work , but in Oracle ERP have error : "APP-MRP-22130: Cannot connect to database
    Cause: The current routine cannot connect to the database.
    Action: Contact your system administrator or customer support representative.
    CREATE OR REPLACE procedure XXBOM_ITEM_IMPORT
    is
    x number;
    begin
    fnd_global.apps_initialize
    (1070, /*i_user_id*/
    20634, /*i_responsibility_id*/
    401 /*i_application_id*/
    /* import item */
    x := fnd_request.submit_request(
    application => 'INV',
    program => 'INCOIN',
    argument1 => 141,
    argument2 => 1,
    argument3 => 1,
    argument4 => 1,
    argument5 => 1
    end;

    Note 164701.1 in metalink may be relevant.

  • Oracle Java stores procedure call for MQ Series

    Hi,
    I am trying to use MQ Series Queues from Oracle Java stored procedure through JMS. Can anyone guide me how to do that?. I mean what jar files I supposed to load into data base apart from my JMS client Code?.
    Thanks !!

    Oracle JMS client libraries work only with Oracle AQ/JMS. These will not work with MQ series.
    You might have to load MQ series JMS client libraries.
    null

  • Cannot open Photoshop: get error: To open "Adobe Photoshop CS5.app," you need a Java SE 6 runtime. Would you like to install one now?  However installing Java SE 6 runtime does not fix nor does installing Oracle Java SE 7. Adobe says Apple is problem.

    Searching the internet for solutions to this and some discussion with Adobe.
    Adobe say Photoshop does not use java so it should not be asking for a java runtime.
    The question is how can I stop Photoshop asking to install java since Photoshop does not need or use Java to run?
    Found various links that might be helpful:
    http://apple.stackexchange.com/questions/58203/mountain-lion-with-java -7-only/58841#58841,
    Work around for app that asks fo SE 6 when SE 7 is installed
    Running Java Apps on OS X with Only JRE 7
    How OS X determines an app needs Java,
    Installing & Deinstalling Java SE 6 & SE 7, http://helpx.adobe.com/x-productkb/global/install-java-jre-mac-os.html
    Adobe's Installing Java SE 6
    Java Mac Security and Background to SE 6 to SE 7 Changes
    Java 7 & OS X
    Known Issues with Adobe Software on OS X Lion
    Adobe's Installing Java SE 6

    However as I have Oracle Java SE 7 installed and SE 6  is deprecated and no longer supported for security reasons.
    Apple is actually responsible for Java 6's security. They take Oracle's code and do whatever is needed to make it compatible with Apple's OS. Java 6 is still getting security updates from Apple. Versions 6 and 7 can also exist on the same drive. They won't interfere with each other.
    Also I am assured in no uncertain terms by Chris Cox over at Adobe that Photoshop CS 5 does not use java at all and that the java error message  and so called dependency is just an error on the part of Apple.
    I did find a topic where Chris stated that for CS6, which I know is true. I've installed CS6 (and CC) on a newly formatted drive in Mountain Lion, and neither made any mention of requiring Java. Could have sworn CS5.5 and earlier did you Java for a few functions. Though I likely only assumed that since that version and earlier always causes a prompt to install Java if it isn't already on the drive.
    So is there any way to run Photoshop with SE 7 only installed or even better with no java installed?
    It doesn't really matter much if Java is installed. Java 6 should put an app in the Utilities folder by the name of Java Preferences. Open that, and you can completely disable it by undoing the check boxes.
    Perhaps there is a way to make OS X stop thinking it needs java SE 6 to run Photoshop CS 5.
    Apple would have to make a change to the OS itself. It's a not a user accessible setting.

  • Are my kernel panics due to the Java Updater (com.oracle.java.Java-Updater) ?

    In the past few months I've been getting more kernel panics than usual. This is on my late 2012 2.3 GHz Intel Core i7 Mac Mini, running OS X Yosemite (OS X 10.2.2) with 16 GB of RAM.
    Looking at the console logs following the last panic, I can see that immediately before the crash, com.oracle.java.Java-Updater had been spamming my log. Here's a sample:
    3/20/15 11:58:45.317 PM com.apple.xpc.launchd[1]: (com.oracle.java.Java-Updater[77795]) Could not find and/or execute program specified by service: 2: No such file or directory: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater
    3/20/15 11:58:45.317 PM com.apple.xpc.launchd[1]: (com.oracle.java.Java-Updater[77795]) Service setup event to handle failure and will not launch until it fires.
    3/20/15 11:58:45.321 PM com.apple.xpc.launchd[1]: (com.oracle.java.Java-Updater[77796]) Could not find and/or execute program specified by service: 2: No such file or directory: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater
    3/20/15 11:58:45.321 PM com.apple.xpc.launchd[1]: (com.oracle.java.Java-Updater[77796]) Service setup event to handle failure and will not launch until it fires.
    # PANIC HAPPENS HERE!
    3/20/15 11:58:46.037 PM sample[77799]: assertion failed: 14C109: libxpc.dylib + 75491 [876216DC-D5D3-381E-8AF9-49AE464E5107]: 0x8d
    3/20/15 11:58:46.037 PM sample[77799]: assertion failed: 14C109: libxpc.dylib + 34510 [876216DC-D5D3-381E-8AF9-49AE464E5107]: 0x8d
    3/20/15 11:58:46.065 PM sample[77799]: assertion failed: 14C109: libxpc.dylib + 34510 [876216DC-D5D3-381E-8AF9-49AE464E5107]: 0x8d
    3/20/15 11:58:47.076 PM sample[77799]: assertion failed: 14C109: libxpc.dylib + 34510 [876216DC-D5D3-381E-8AF9-49AE464E5107]: 0x8d
    3/20/15 11:59:17.000 PM bootlog[0]: BOOT_TIME 1426910357 0
    3/21/15 12:00:33.000 AM syslogd[17]: Configuration Notice: ASL Module "com.apple.AccountPolicyHelper" claims selected messages. Those messages may not appear in standard system log files or in the ASL database.
    From what it looks like, com.oracle.java.Java-Updater had sent around 77,000 message like this before crapping out.
    I'm out of ideas — both regarding whether Java is actually responsible, and if so what to do. I need Java for a few programs I run, so deleting it isn't an option, unfortunately.
    EtreCheck version: 2.1.8 (121)
    Report generated March 23, 2015 at 2:55:40 PM GMT-4
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        Mac mini (Late 2012) (Technical Specifications)
        Mac mini - model: Macmini6,2
        1 2.3 GHz Intel Core i7 CPU: 4-core
        16 GB RAM Upgradeable
            BANK 0/DIMM0
                8 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                8 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        Intel HD Graphics 4000
            SME2320 spdisplays_1080p
            DELL ST2320L spdisplays_1080p
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 2 days 14:53:27
    Disk Information: ℹ️
        APPLE HDD HTS541010A9E662 disk0 : (1 TB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 999.35 GB (223.27 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
        Western Digital My Passport 07A8 1 TB
            EFI (disk1s1) <not mounted> : 210 MB
            Jackie Treehorn (disk1s2) /Volumes/Jackie Treehorn : 999.83 GB (128.88 GB free)
        Apple, Inc. Keyboard Hub
            Apple, Inc Apple Keyboard
        Logitech USB Receiver
        Logitech Logitech Wireless Headset
        Brother HL-5450DN series
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple, Inc. IR Receiver
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Configuration files: ℹ️
        /etc/hosts - Count: 1
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/Private Eye.app
        [loaded]    com.radiosilenceapp.nke.PrivateEye (1 - SDK 10.7) [Click for support]
            /Applications/Tunnelblick.app
        [not loaded]    net.tunnelblick.tap (1.0) [Click for support]
        [not loaded]    net.tunnelblick.tun (1.0) [Click for support]
    Startup Items: ℹ️
        ChmodBPF: Path: /Library/StartupItems/ChmodBPF
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [loaded]    com.cisco.anyconnect.gui.plist [Click for support]
        [loaded]    com.citrix.AuthManager_Mac.plist [Click for support]
        [running]    com.citrix.ReceiverHelper.plist [Click for support]
        [running]    com.citrix.ServiceRecords.plist [Click for support]
        [loaded]    com.examsoft.softest.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [unknown]    com.oracle.java.Java-Updater.plist [Click for support]
        [loaded]    org.macosforge.xquartz.startx.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.barebones.authd.plist [Click for support]
        [running]    com.cisco.anyconnect.vpnagentd.plist [Click for support]
        [running]    com.crashplan.engine.plist [Click for support]
        [loaded]    com.DesignScience.DSMTTool.plist [Click for support]
        [running]    com.edb.launchd.postgresql-9.4.plist [Click for support]
        [running]    com.examsoft.softest.service.plist [Click for support]
        [loaded]    com.github.GitHub.GHInstallCLI.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [unknown]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.radiosilenceapp.nke.PrivateEye.plist [Click for support]
        [failed]    noip2.plist [Click for support]
        [loaded]    org.macosforge.xquartz.privileged_startx.plist [Click for support]
    User Launch Agents: ℹ️
        [failed]    com.adobe.ARM.[...].plist [Click for support] [Click for details]
        [running]    com.ecamm.printopia.plist [Click for support]
        [failed]    com.google.Chrome.framework.plist [Click for support] [Click for details]
        [running]    com.microsoft.LaunchAgent.SyncServicesAgent.plist [Click for support]
        [loaded]    com.valvesoftware.steamclean.plist [Click for support]
        [running]    com.victorpimentel.TVShowsHelper.plist [Click for support]
        [loaded]    net.tunnelblick.tunnelblick.LaunchAtLogin.plist [Click for support]
    User Login Items: ℹ️
        AirPort Base Station Agent    Application  (/System/Library/CoreServices/AirPort Base Station Agent.app)
        Dropbox    Application  (/Applications/Dropbox.app)
        Fantastical    Application  (/Applications/Fantastical.app)
        Google Chrome    Application Hidden (/Applications/Google Chrome.app)
        BetterSnapTool    Application  (/Applications/BetterSnapTool.app)
        CrashPlan menu bar    Application  (/Applications/CrashPlan.app/Contents/Helpers/CrashPlan menu bar.app)
        Music Manager    Application Hidden (/Users/[redacted]/Library/PreferencePanes/MusicManager.prefPane/Contents/Helpe rs/MusicManagerHelper.app)
    Internet Plug-ins: ℹ️
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        JavaAppletPlugin (1.7.13.20): Version: Java 7 Update 15 [Click for support]
        nplastpass: Version: 2.5.5 [Click for support]
        Unity Web Player: Version: UnityPlayer version 4.3.5f1 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Silverlight: Version: 5.1.20913.0 - SDK 10.6 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        QuickTime Plugin: Version: 7.7.3
        CitrixICAClientPlugIn: Version: 11.8.2 - SDK 10.7 [Click for support]
        SharePointBrowserPlugin: Version: 14.4.6 - SDK 10.6 [Click for support]
        GarminGpsControl: Version: 4.0.4.0 Release - SDK 10.6 [Click for support]
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        JavaAppletPlugin: Version: Unknown Check version
    Safari Extensions: ℹ️
        LastPass
        Evernote Web Clipper
        Zotero Connector
        Reddit Enhancement Suite
        Page One - Banish Multipage Articles
        Optimize Legibility
        AdBlock
        Footnotify
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        MusicManager  [Click for support]
        Perian  [Click for support]
        Printopia  [Click for support]
        TeXDistPrefPane  [Click for support]
        TVShows  [Click for support]
    Time Machine: ℹ️
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 999.35 GB Disk used: 776.07 GB
        Destinations:
            Jackie Treehorn [Local]
            Total size: 999.83 GB
            Total number of backups: 58
            Oldest backup: 2015-01-13 07:51:57 +0000
            Last backup: 2015-03-21 03:26:26 +0000
            Size of backup disk: Too small
                Backup size 999.83 GB < (Disk used 776.07 GB X 3)
    Top Processes by CPU: ℹ️
            19%    Google Chrome
             6%    WindowServer
             2%    backupd
             1%    Safari
             0%    AppleSpell
    Top Processes by Memory: ℹ️
        1.25 GB    CrashPlanService
        481 MB    softwareupdated
        412 MB    mds_stores
        395 MB    Safari
        223 MB    Google Chrome
    Virtual Memory Information: ℹ️
        6.06 GB    Free RAM
        6.63 GB    Active RAM
        2.92 GB    Inactive RAM
        1.56 GB    Wired RAM
        21.47 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Mar 20, 2015, 11:59:31 PM    Self test - passed
        Mar 21, 2015, 12:00:32 AM    /Library/Logs/DiagnosticReports/Kernel_2015-03-21-000032_[redacted].panic [Click for details]
        Mar 21, 2015, 03:36:02 AM    /Library/Logs/DiagnosticReports/CrashPlanService_2015-03-21-033602_[redacted].c pu_resource.diag [Click for details]
        Feb 27, 2015, 11:56:48 PM    /Library/Logs/DiagnosticReports/Kernel_2015-02-27-235648_[redacted].panic [Click for details]

    Here's the kernel panic report:
    Sat Mar 21 00:00:32 2015
    *** Panic Report ***
    panic(cpu 0 caller 0xffffff80255c1694): "launchd died\nState at Last Exception:\n\n"@/SourceCache/xnu/xnu-2782.10.72/bsd/kern/kern_exit.c:361
    Backtrace (CPU 0), Frame : Return Address
    0xffffff820e36be50 : 0xffffff802512fe41
    0xffffff820e36bed0 : 0xffffff80255c1694
    0xffffff820e36bf40 : 0xffffff80255c135c
    0xffffff820e36bf50 : 0xffffff802564b386
    0xffffff820e36bfb0 : 0xffffff8025236e86
    BSD process name corresponding to current thread: launchd
    Mac OS version:
    14C109
    Kernel version:
    Darwin Kernel Version 14.1.0: Mon Dec 22 23:10:38 PST 2014; root:xnu-2782.10.72~2/RELEASE_X86_64
    Kernel UUID: DCF5C2D5-16AE-37F5-B2BE-ED127048DFF5
    Kernel slide:    0x0000000024e00000
    Kernel text base: 0xffffff8025000000
    __HIB  text base: 0xffffff8024f00000
    System model name: Macmini6,2 (Mac-F65AE981FFA204ED)
    System uptime in nanoseconds: 1811035465800191
    last loaded kext at 1717666037079230: com.apple.driver.AppleUSBCDC 4.2.2b5 (addr 0xffffff7fa7956000, size 20480)
    last unloaded kext at 1717726076238694: com.apple.driver.AppleUSBCDC 4.2.2b5 (addr 0xffffff7fa7956000, size 16384)
    loaded kexts:
    com.radiosilenceapp.nke.PrivateEye 1
    com.apple.driver.AppleBluetoothMultitouch 85.3
    com.apple.filesystems.afpfs 11.0
    com.apple.nke.asp-tcp 8.0.0
    com.apple.driver.AGPM 100.15.5
    com.apple.driver.ApplePlatformEnabler 2.1.7d1
    com.apple.driver.X86PlatformShim 1.0.0
    com.apple.filesystems.autofs 3.0
    com.apple.iokit.IOBluetoothSerialManager 4.3.2f6
    com.apple.driver.AppleOSXWatchdog 1
    com.apple.driver.AppleMikeyHIDDriver 124
    com.apple.driver.AppleHDA 269.25
    com.apple.driver.AppleUpstreamUserClient 3.6.1
    com.apple.driver.AppleMCCSControl 1.2.11
    com.apple.driver.AppleMikeyDriver 269.25
    com.apple.iokit.IOUserEthernet 1.0.1
    com.apple.driver.AppleIntelHD4000Graphics 10.0.2
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AppleHWAccess 1
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.3.2f6
    com.apple.driver.AppleSMCPDRC 1.0.0
    com.apple.driver.AudioAUUC 1.70
    com.apple.driver.AppleHV 1
    com.apple.driver.AppleLPC 1.7.3
    com.apple.driver.AppleIntelFramebufferCapri 10.0.2
    com.apple.driver.AppleThunderboltIP 2.0.2
    com.apple.iokit.SCSITaskUserClient 3.7.3
    com.apple.driver.AppleIRController 327.5
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.BootCache 35
    com.apple.driver.XsanFilter 404
    com.apple.iokit.IOAHCIBlockStorage 2.7.0
    com.apple.driver.AppleSDXC 1.6.5
    com.apple.iokit.AppleBCM5701Ethernet 10.1.3
    com.apple.driver.AppleUSBHub 705.4.2
    com.apple.driver.AirPort.Brcm4360 910.26.12
    com.apple.driver.AppleFWOHCI 5.5.2
    com.apple.driver.AppleAHCIPort 3.1.0
    com.apple.driver.AppleUSBEHCI 705.4.14
    com.apple.driver.AppleUSBXHCI 710.4.11
    com.apple.driver.AppleACPIButtons 3.1
    com.apple.driver.AppleRTC 2.0
    com.apple.driver.AppleHPET 1.8
    com.apple.driver.AppleSMBIOS 2.1
    com.apple.driver.AppleACPIEC 3.1
    com.apple.driver.AppleAPIC 1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0
    com.apple.nke.applicationfirewall 161
    com.apple.security.quarantine 3
    com.apple.security.TMSafetyNet 8
    com.apple.driver.AppleIntelCPUPowerManagement 218.0.0
    com.apple.driver.IOBluetoothHIDDriver 4.3.2f6
    com.apple.driver.AppleMultitouchDriver 262.33.1
    com.apple.security.SecureRemotePassword 1.0
    com.apple.kext.triggers 1.0
    com.apple.iokit.IOSerialFamily 11
    com.apple.driver.DspFuncLib 269.25
    com.apple.kext.OSvKernDSPLib 1.15
    com.apple.iokit.IOSurface 97
    com.apple.driver.AppleSMBusController 1.0.13d1
    com.apple.iokit.IOFireWireIP 2.2.6
    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.3.2f6
    com.apple.iokit.IOBluetoothFamily 4.3.2f6
    com.apple.driver.AppleHDAController 269.25
    com.apple.iokit.IOHDAFamily 269.25
    com.apple.iokit.IOUSBUserClient 705.4.0
    com.apple.driver.AppleSMBusPCI 1.0.12d1
    com.apple.driver.X86PlatformPlugin 1.0.0
    com.apple.driver.AppleSMC 3.1.9
    com.apple.driver.IOPlatformPluginFamily 5.8.1d38
    com.apple.iokit.IONDRVSupport 2.4.1
    com.apple.iokit.IOAcceleratorFamily2 156.6
    com.apple.AppleGraphicsDeviceControl 3.8.6
    com.apple.iokit.IOGraphicsFamily 2.4.1
    com.apple.driver.AppleUSBHIDKeyboard 176.2
    com.apple.driver.AppleHIDKeyboard 176.2
    com.apple.driver.AppleUSBAudio 295.23
    com.apple.iokit.IOAudioFamily 203.3
    com.apple.vecLib.kext 1.2.0
    com.apple.iokit.IOSCSIBlockCommandsDevice 3.7.3
    com.apple.iokit.IOUSBMassStorageClass 3.7.1
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.3
    com.apple.driver.AppleUSBMergeNub 705.4.0
    com.apple.iokit.IOUSBHIDDriver 705.4.0
    com.apple.driver.AppleUSBComposite 705.4.9
    com.apple.driver.AppleThunderboltDPInAdapter 4.0.6
    com.apple.driver.AppleThunderboltDPAdapterFamily 4.0.6
    com.apple.driver.AppleThunderboltPCIDownAdapter 2.0.2
    com.apple.driver.AppleThunderboltNHI 3.1.7
    com.apple.iokit.IOThunderboltFamily 4.2.1
    com.apple.iokit.IOEthernetAVBController 1.0.3b3
    com.apple.iokit.IO80211Family 710.55
    com.apple.driver.mDNSOffloadUserClient 1.0.1b8
    com.apple.iokit.IONetworkingFamily 3.2
    com.apple.iokit.IOFireWireFamily 4.5.6
    com.apple.iokit.IOAHCIFamily 2.7.5
    com.apple.iokit.IOUSBFamily 710.4.14
    com.apple.driver.AppleEFINVRAM 2.0
    com.apple.driver.AppleEFIRuntime 2.0
    com.apple.iokit.IOHIDFamily 2.0.0
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.sandbox 300.0
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.driver.AppleKeyStore 2
    com.apple.driver.AppleMobileFileIntegrity 1.0.5
    com.apple.driver.AppleCredentialManager 1.0
    com.apple.driver.DiskImages 396
    com.apple.iokit.IOStorageFamily 2.0
    com.apple.iokit.IOReportFamily 31
    com.apple.driver.AppleFDEKeyStore 28.30
    com.apple.driver.AppleACPIPlatform 3.1
    com.apple.iokit.IOPCIFamily 2.9
    com.apple.iokit.IOACPIFamily 1.4
    com.apple.kec.corecrypto 1.0
    com.apple.kec.Libm 1
    com.apple.kec.pthread 1
    System Profile:
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10E), Broadcom BCM43xx 1.0 (7.15.159.13.12)
    Bluetooth: Version 4.3.2f6 15235, 3 services, 27 devices, 1 incoming serial ports
    Thunderbolt Bus: Mac mini, Apple Inc., 23.4
    Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x859B, 0x435438473353313630424D2E4D3136464544
    Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x859B, 0x435438473353313630424D2E4D3136464544
    USB Device: My Passport 07A8
    USB Device: Hub
    USB Device: USB 2.0 Hub [MTT]
    USB Device: Keyboard Hub
    USB Device: Apple Keyboard
    USB Device: Miscellaneous Device
    USB Device: USB Receiver
    USB Device: Logitech Wireless Headset
    USB Device: Hub
    USB Device: HL-5450DN series
    USB Device: Hub
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: IR Receiver
    Serial ATA Device: APPLE HDD HTS541010A9E662, 1 TB
    Model: Macmini6,2, BootROM MM61.0106.B03, 4 processors, Intel Core i7, 2.3 GHz, 16 GB, SMC 2.8f0
    Network Service: Wi-Fi, AirPort, en1
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In

  • "ORA-29532: Java call terminated by uncaught Java exception

    Dear Oracle:
    I am trying to establish an HTTPS connection from a Java stored
    procedure that is wrapped in a PL/SQL procedure and loaded into a
    Package. We are running on Oracle 8.1.7.
    My Java code compiles and runs fine when run stand-alone outside
    Oracle; I can establish the connection to a secure server and talk to
    the server. However when I load this Java class (using the loadjava
    utility) this class can no longer run and I get a the following
    exception:
    "ORA-29532: Java call terminated by uncaught Java exception:
    javax.net.ssl.SSLException: SSL handshake failed:
    X509CertChainIncompleteErr"
    I have tried loading the JSSE from Sun and I still get the same error.
    Searching in the Discussing Forums I found the following link (which
    describes a procedure that logs into the UPS secure server site and
    grabs some XML) http://osi.oracle.com/~mbpierma/SSL_Java_DB.html .
    This code works ok if we try to connect to UPS server. However this
    code doesn't work if we try to log in to a different server (such as
    ???). If I modify this code slightly and try to log to any other
    sever server I get the same error as the one above. Investigation
    lead us to understand that the certificate at the UPS web site is a
    self-signed certificate -- not one generated by a major 'recognized'
    authority such as Verisign or Thawte.
    Further research pointed me to the following URL
    http://www.znow.com/sales/oracle/network.816/a76932/appf_ora.htm#619367
    This URL has the documentation for JAVA SSL for 8.1.6 which I figure
    I could read and try to make it work in 8.1.7.
    I looked at your Secure Hello World example, however the code is
    missing the most critical parts of the whole example, it does not
    specify where the certificate or any of the security settings come
    from (see the attached JavaCertExample.txt file).
    So, my questions are the following:
    1) What should I do to avoid the error mentioned above?
    2) Do you have a sample piece of code that describes how to make a
    HTTPS connection using a Java stored procedure?
    3) Can I make the HTTPS connection using a URL class and not using
    sockets directly?
    4) Do I need to load the JSEE provided by Sun?
    5) Will the solution be different for Oracle 9i?
    // SecureHelloClient.java
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import javax.net.ssl.*;
    import javax.security.cert.X509Certificate;
    import oracle.security.ssl.OracleSSLCredential;
    import oracle.security.ssl.OracleSSLSocketFactory;
    import oracle.security.ssl.OracleSSLProtocolVersion;
    import oracle.security.ssl.OracleSSLSession;
    public class SecureHelloClient
    public static void main(String argv[])
    String hostName = "localhost";
    if(argv.length != 0)
    String hostName = argv[0];
    // Set the SSLSocketFactoryImpl class as follows:
    java.util.Properties prop = System.getProperties();
    prop.put("SSLSocketFactoryImplClass",
    "oracle.security.ssl.OracleSSLSocketFactoryImpl");
    try
    // Get the default socket factory
    OracleSSLSocketFactory sSocFactory
    = (OracleSSLSocketFactory)SSLSocketFactory.getDefault();
    sSocFactory.setSSLProtocolVersion(OracleSSLProtocolVersion.SSL_Version_3_0);
    OracleSSLCredential sslCredObj = new OracleSSLCredential();
    // Where did these values come from? caCert, userCert, trustedCert,
    // Set the certificate chain and private key if the
    // server requires client authentication
    sslCredObj.addCertChain(caCert)
    sslCredObj.addCertchain(userCert)
    sslCredObj.setPrivateKey(userPvtKey, userPassword)
    // Populate credential object
    sslCredObj.addTrustedCert(trustedCert);
    sSocFactory.setSSLCredentials(sslCredObj);
    // Create the socket using factory
    SSLSocket jsslSoc =
    (SSLSocket)sSocFactory.createSocket(hostName, 8443);
    String [] ciphers = jsslSoc.getSupportedCipherSuites() ;
    // Select the ciphers you want and put them.
    // Here we will put all availabel ciphers
    jsslSoc.setEnabledCipherSuites(ciphers);
    // We are creating socket in client mode
    jsslSoc.setUseClientMode(true);
    // Do SSL handshake
    jsslSoc.startHandshake();
    // Print negotiated cipher
    System.out.println("Negotiated Cipher Suite: "
    +jsslSoc.getSession().getCipherSuite());
    System.out.println("");
    X509Certificate[] peerCerts
    = ((javax.net.ssl.SSLSocket)jsslSoc).getSession().getPeerCertificateChain();
    if (peerCerts != null)
    System.out.println("Printing server information:");
    for(int i =0; i ? peerCerts.length; i++)
    System.out.println("Peer Certificate ["+i+"] Information:");
    System.out.println("- Subject: " + peerCerts.getSubjectDN().getName());
    System.out.println("- Issuer: " + peerCerts[i].getIssuerDN().getName());
    System.out.println("- Version: " + peerCerts[i].getVersion());
    System.out.println("- Start Time: " + peerCerts[i].getNotBefore().toString());
    System.out.println("- End Time: " + peerCerts[i].getNotAfter().toString());
    System.out.println("- Signature Algorithm: " + peerCerts[i].getSigAlgName());
    System.out.println("- Serial Number: " + peerCerts[i].getSerialNumber());
    else
    System.out.println("Failed to get peer certificates");
    // Now do data exchange with client
    OutputStream out = jsslSoc.getOutputStream();
    InputStream in = jsslSoc.getInputStream();
    String inputLine, outputLine;
    byte [] msg = new byte[1024];
    outputLine = "HELLO";
    out.write(outputLine.getBytes());
    int readLen = in.read(msg, 0, msg.length);
    if(readLen > 0)
    inputLine = new String(msg, 0, readLen);
    System.out.println("");
    System.out.println("Server Message:");
    System.out.println(inputLine );
    else
    System.out.println("Can't read data from client");
    // Close all sockets and streams
    out.close();
    in.close();
    jsslSoc.close();
    catch(SSLException e)
    System.out.println("SSL exception caught:");
    e.printStackTrace();
    catch(IOException e)
    System.out.println("IO exception caught:");
    e.printStackTrace();
    catch(Exception e)
    System.out.println("Exception caught:");
    e.printStackTrace();

    Hi,
    I have the same problem.
    Is some ORACLE guru that can help us ?
    We need to communicate with some servlet
    via POST method of https (SSL3)
    and with using private certificate on the client site.
    We need furthermore allow using of some proxy.
    Client site is realized as set of stored procedures within ORACLE 8.1.7
    In this time I am able to communicate with server without SSL and certificate
    using package utl_tcp
    (but with this solution without certificate is our customer not satisfied -:))
    ORACLE help us please !
    Pavel Pospisil
    [email protected]

  • Oracle java XML API - extract

    I am using XML oracle Java API, I need to extract tge DOC value, its not working for me
    XMLTYPE xml ="
    <PurchaseOrder>
    <Reference>ADAMS-20011127121040988PST</Reference>
    <DOC>SCOTT</DOC>
    <Date>2002-03-31</Date>
    </PurchaseOrder>";
    System.out.println("Testing extract() ...");
    try {
    System.out.println(" length of text in DOC tag " + (xml.extract("/PurchaseOrder/Reference/DOC/text()",null).getStringVal()));
    catch (SQLException e) {
    System.out.println("Thin driver Expected exception: " + e);
    Throwing java.sql.SQLException
    any help please? is there anyother way to extract the value?

    I guess this might help you..
    Use XPATH if you are reading for a single value in xml .
    It will be more cleaner...
    String doc= "//PurchaseOrder/Reference/DOC/text()";
    Call this in your class using some value
    Suppose
    setting_to_some_variable.setWhateverDoc(getNodeValueFromDocUsingXPath(doc));
              address
    private String getNodeValueFromDocUsingXPath(String xpathString) {
              try {
                   XPath xpath = xPathFactory.newXPath();
                   XPathExpression expr = xpath.compile(xpathString);
                   Node aNode = (Node) expr.evaluate(doc, XPathConstants.NODE);
                   if (aNode != null) {
                        return aNode.getNodeValue();
              } catch (XPathExpressionException xpe) {
                   xpe.printStackTrace(System.out);
              return null;
         }

  • [Solved] How to use Oracle Java 6 for specific applications

    I use an IDE called PyCharm. On its download page, it recommends using Java 6 instead of OpenJDK. I currently have jdk7-openjdk installed, and from what I had read in the Arch Wiki on Java, it should be possible to install Oracle Java 6 along side OpenJDK 7.
    However, after installing jdk6-compat and jre6-compat, I still see that I am running OpenJDK 7 when I run the following:
    % java -version
    java version "1.7.0_09"
    OpenJDK Runtime Environment (IcedTea7 2.3.3) (ArchLinux build 7.u9_2.3.3-1-x86_64)
    OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
    ...even after I have set JAVA_HOME and added /opt/java6/bin to my path.
    How can I get PyCharm (or other applications) to use Oracle Java 6 instead of OpenJDK?
    Thanks, and apologies if I've posted in the wrong place.
    Other information that might be helpful:
    Running zsh as default shell
    Using Gnome 3 as DE
    Last edited by Nikorasu (2012-11-17 20:54:33)

    I found the solution.
    For Pycharm, I just needed to add an environment variable PYCHARM_JDK. For running specific applications, I asked this question on the Unix / Linux StackExchange and got an answer there.
    Also, after running PyCharm in Java 6... I would not recommend it. OpenJDK works fine
    Last edited by Nikorasu (2012-11-17 20:55:01)

  • Java call out in OSB 10g

    in java call out in OSB, is it possilble to pass java object or java collection (like list,arraylist) as argument to the java method and during configuration at OSB proxy service is it possible to fetch the value from java object from java call out .I have tried it and i am able pass string and xml object as argument and get string type only.please guide me.

    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/pojo.html
    "The input and return types for Java callouts are not restricted. However, any return types other than primitives, Strings, or XmlObjects can only be passed (unmodified) to other Java callouts. See Java Content in the body Variable for more information about storing and passing Java objects in the pipeline."

  • Oracle Java proc ORA-04045: errors during recompilation/revalidation

    hi,
    I have Oracle Java stored proc called MERGE_ENTITY_AND_EVENT invoked by a trigger. It was working fine for a couple of weeks. Today it throws this generic exception. I'm not sure what changed.
    Caused by: java.sql.SQLSyntaxErrorException: ORA-04045: errors during recompilation/revalidation of TLMDEV./3ba8073b_Log4JLogger
    ORA-06512: at "MERGE_ENTITY_AND_EVENT", line 1
    ORA-06512: at "QUOTE_TRIGGER", line 49
    1. What is the root cause of this exception ?
    2. Whats the solution ?
    If you dont know 1 or 2, how would you go about debugging this problem ?
    Thanks in advance.

    The most likely cause is that something has caused the class TLMDEV./3ba8073b_Log4JLogger to become invalid and implicit invalidation does not succeed in making it valid. In general a class must be valid in order to be run and an attempt to run an invalid class (such as because your trigger calls it) will cause an attempt to validate it and if that attempt fails an ORA-04045 can be the result. Validation of a class amounts to iterating over the set of names referenced by the class and looking for a valid class by that name, perhaps recursively attempting to validate if an invalid class by that name is found. So validation of a class may amount to an attempt to validate several classes at once. If any of them fail to be validatable, which occurs if there is no class for a given referenced name then most if not all of the classes in the set being validated and certainly the top level one will fail to validate. So if things are working correctly, the ultimate reason for the ORA-04045 will prove to be that some name referenced by TLMDEV./3ba8073b_Log4JLogger or recursived by something it references will be a name for which there is no class in the database (or more precisely in the search path used which is typically the current schema followed by PUBLIC, but could be different if some of the classes involved have had explicit resolver specifications given for them). The thing to do to try to start determining what class is missing is to do the query
    select owner||'.'||name||' : '||text from all_errors where type like 'JAVA%';
    The first thing to look at are lines for TLMDEV./3ba8073b_Log4JLogger. These will probably show text which contains either ORA-29534 identifying a referenced class that exists but could not be recursively valid, or ORA-29521 identifying names for which there is no class. The latter are the ultimately interesting ones since the former will end up being recursively caused by them. So look at the ORA-29521s and then try to determine either why the class is missing and how to restore it or which it is now referenced when it wasn't before (which would happen if some class was changed to reference it or something that references it, recursively).

  • Blob writing error      ORA-29532 Java call terminated Unsupported feature

    Hi there,
    I've got the following Java code which tries to write to a BLOB file. It's a version of some code to extract files from a zip archive, but with everything but the erroring call stripped out:
    create or replace and compile java source named zipunpack as
    package org.bristol.cyps;
    import oracle.sql.BLOB;
    import java.util.zip.*;
    public class ZipUnpack
    public static int unpack(BLOB ziparray[], String filename, BLOB filearray[])
    throws java.sql.SQLException, java.io.IOException
    BLOB file = filearray[0];
    java.io.OutputStream fileout = file.setBinaryStream(0L);
    return 1;
    This is published as follows:
    create or replace function zip_unpack (
    pio_zip in out nocopy blob
    , pi_filename in varchar2
    , pio_file in out nocopy blob
    ) return number as language java
    name 'org.bristol.cyps.ZipUnpack.unpack(oracle.sql.BLOB[], java.lang.String, oracle.sql.BLOB[]) return java.lang.Integer';
    And called like so:
    procedure send_zip_file (
    pi_zip in out nocopy blob
    , pi_filename in varchar2
    ) is
    file blob;
    completed integer;
    begin
    dbms_lob.createtemporary (
    lob_loc => file
    , cache => false
    , dur => dbms_lob.call
    completed := zip_unpack(pi_zip, pi_filename, file);
    if completed > 0 then
    bare_html.print_blob(file);
    else
    htp.print('File "' || pi_filename || '" not found');
    end if;
    end;
    This, as far as I can tell from the documentation, should work. Unfortunately, though, it generates an error:
    ORA-29532: Java call terminated by uncaught Java exception: java.sql.SQLException: Unsupported feature
    The particular line which is causing the error is the "java.io.OutputStream fileout = file.setBinaryStream(0L);" If I remove this, it runs fine. I'm flumoxed as to why this might be causing an "Unsupported feature" exception when it's documented as being supported. Can anyone shed any light?
    Cheers,
    Robert
    Message was edited for more clarity

    Hi,
    It looks like you are not using 10g JDBC. java.sql.Blob.setBinaryStream is a JDBC 3.0 method. In 9iR2 we added support for jdk14 and added stub methods for JDBC 3.0 behavior without fully implementing them. 10gR1 was the first version where the JDBC3.0 methods were fully supported.
    The workaround is to use the Oracle proprietary method oracle.sql.BLOB.getBinaryOutputStream
    Kuassi, http://db360.blogspot.com

  • Java call rfc check in original:error while checking in and storing.

    hi,experts.
    java call rfc check in original:error while checking in and storing. BAPI in the RFC is "BAPI_DOCUMENT_CJANGE2",
    the RFC was fine in SE37 and calling by Visual Basic. and in java,when mConnection.setAbapDebug(true), and  runing by step and step, was fine too.
    if mConnection.setAbapDebug(false) in JAVA, up error in title was displayed.
    what cause this error?
    Best Regards.

    Hi Priya
    Please use Su53 after getting the error and find any authorization is missing for the user..
    S_GUI Full Authorization is required..
    Since by giving BASIS Authorization its rectificed, then it shud be mostly due to Auth issues only
    Regards
    Aby

  • Oracle reports calling problem from FORMS

    Hies
    Guys I've a problem in oracle report calling from Oracle FORMS. I am using reports and forms 6i. When the report name length is more than 30 characters the report engine runs first time correctly but on the second call of report the system gives an error :
    " RWRBE60.exe has generated errors and will be closed by windows.You will need to restart the program ".
    After this error the report engine closes and i have to call the report again.
    Is there a length fixed for reports name in Oracle 6i.
    Is any possible solution available.
    Remember i dont want to shorten my report names.
    Kindly help me with this.
    Thanx.

    Thanx Frank
    Well one solution is that i can decrease the length of my report name and the problem does not occur than.
    any ways thanx ..but where to get the patch from.
    Kindly provide me with the link if possible.
    Thanx,
    Qaiser Qayyum Malik.
    [email protected]

  • Was asked to install Oracle Java 8 and now after LibreOffice asked for Apple Java 6

    Hello,
    a few weeks ago I was told by a webpage I need java, it was a movie site, so I was doubting it and so I went to the oracle page via google search and found Java 8 (jre 8u40-macosx-x64).
    Today I installed LibreOffice and after first opening ittold me, that I need Java 6 and asked, if I want to search for it. I let it search. There was not the usual browser window -like thing (which I guess is the App-store, where I am offered to upgrade to 10.10 for free and told that there are 4 incompatible updates for iLife products available). Instead it was just a small progress-bar window that had the title "apple software update" (or similar).
    I then quit it, because it was not making progress.
    Now I close LibreOffice and then thought "well lets install Java 6", but this time I was not asked to install it. Also "apple software update" doesn't offer it, when I launch the blue "A"-icon (i.e. Appstore?).
    What do I need? Should I delete Java 8? How do I get Java 6?
    I found this, but it doesn't help me: http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-preferences.html and Apple Java Vs Oracle Java? Do I need both?
    THANKS!!!
    Machine: Mac Mini 2012, 10.9.5

    Thank you! In the meantime I found that item labeled as "2014-001" on the apple.support page.
    It mentions that it will remove all Java web applet and that there was a certain button one has to push to install it. I don't find the button "missing plugin" (well maybe that will come once it is needed?)
    Can Apple J6 and Oracle J8 coexist?
    From the fact that apple's J misses the web applet, I guess they will complement each other right?
    Also, am I right, that, if I go to Safari/Firefox -> Security I can disable Java for web stuff (but it will be still intact for Java applications like LibreOffice) and once I will encounter a webpage that wants Java, I will be told and can activate it in Safari/Firefox -> Security ? (Since I guess it is better to disable Java on the web???)
    Will the web sites always tell me, if they need Java or will pages not work and I will wonder why?

Maybe you are looking for