Java Extensions Installation
Hi there
I want to know more about Java Extensions Installation
i visited sun's website to know more about it.. but i didn't get what did they mean by MANIFEST?
wht is this MAINFEST? How do we define? how do we use?
or please send me simple sample of Java extension.
I want to use Swing library in my applet and hence i required all these.
/sunil
I haven't yet found anything !!
Similar Messages
-
Deploying Application Without codebase and an extension (installer.jnlp)
Hi,
It seems that the deployment file can be relative to launch.html but the extension file requires the codebase attribute.
This launch fails
http://www.dksy.net/auctionzoom/downloads/download/jpawebstart-no-codebase/launch.html
this launch succeeds
http://www.dksy.net/auctionzoom/downloads/download/jpawebstart/launch.html
In the second case, the codebase attribute is specified
<jnlp codebase="http://www.dksy.net/auctionzoom/downloads/download/jpawebstart/" href="installer.jnlp" spec="1.0+">This reference documents the deployment file (launch.jnlp), but not the extension (installer.jnlp).
http://java.sun.com/docs/books/tutorial/deployment/deploymentInDepth/deployingWithoutCodebase.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Test page for launching the application via JNLP No Codebase</title>
</head>
<body>
<h3>Test page for launching the application via JNLP No Codebase</h3>
<p><a href="javascript:deployJava.launchWebStartApplication('launch.jnlp');">Launch Paystation application</a></p>
<script src="http://java.com/js/deployJava.js"></script>
</body>
</html>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jnlp href="launch.jnlp" spec="1.0+">
<information>
<title>JPAWebStart</title>
<vendor>AZ</vendor>
<homepage href=""/>
<description>JPAWebStart</description>
<description kind="short">JPAWebStart</description>
<shortcut online="true">
<!-- create desktop shortcut -->
<desktop/>
<!-- create menu item for this app under the major heading -->
<menu submenu="JPAWebStart"/>
</shortcut>
<related-content href="README.TXT">
<title>Readme File</title>
<description/>
</related-content>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<update check="background" policy="prompt-update"/>
<resources>
<j2se version="1.6+"/>
<jar eager="true" href="JPAWebStart.jar" main="true"/>
<jar href="lib/antlr-2.7.6.jar"/>
<jar href="lib/asm.jar"/>
<jar href="lib/asm-attrs.jar"/>
<jar href="lib/cglib-2.1.3.jar"/>
<jar href="lib/commons-collections-2.1.1.jar"/>
<jar href="lib/commons-logging-1.1.jar"/>
<jar href="lib/dom4j-1.6.1.jar"/>
<jar href="lib/ehcache-1.2.3.jar"/>
<jar href="lib/jdbc2_0-stdext.jar"/>
<jar href="lib/jta.jar"/>
<jar href="lib/hibernate3.jar"/>
<jar href="lib/hibernate-tools.jar"/>
<jar href="lib/hibernate-annotations.jar"/>
<jar href="lib/hibernate-commons-annotations.jar"/>
<jar href="lib/hibernate-entitymanager.jar"/>
<jar href="lib/javassist.jar"/>
<jar href="lib/ejb3-persistence.jar"/>
<jar href="lib/derby.jar"/>
<jar href="lib/log4j-1.2.15.jar"/>
<jar href="lib/jardiff.jar"/>
<jar href="lib/jnlp-servlet.jar"/>
<jar href="lib/jnlp.jar"/>
<extension href="installer.jnlp" name="Installer" version=""/>
</resources>
<resources>
<jar href="JPAWebStartMain.jar" main="false"/>
</resources>
<application-desc main-class="demo.main.JPADemo">
</application-desc>
</jnlp>
<?xml version="1.0" encoding="UTF-8"?>
<jnlp href="installer.jnlp" spec="1.0+">
<information>
<title>Installer</title>
<vendor>AZ</vendor>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.6+" />
<jar href="installer.jar" main="true" />
</resources>
<installer-desc main-class="com.az.installer.Installer">
<!-- Application Arguments -->
</installer-desc>
</jnlp>Can't see any question mark and can't actually guess one, you wrote out quite a dissertation on it. Are you giving away 10 dukes for the first one telling you 'CORRECT!' (I really hope so)?
Bye. -
Deploying Java extensions by Java installers
Hi!
I've developed an Applet that needs a couple of Java extensions (Java Advanced Imaging + Image I/O Tools for JAI) in order to correctly run. I've put an appropriate MANIFEST file into my applet's JAR and signed my applet with a valid certificate.
Java Advanced Imaging is shipped with an appropriate native installer by Sun: so I put appropriate entries in my Applet MANIFEST file, which cause the native installer to be executed the first time my Applet gets loaded by a client:
jai-Extension-Name: javax.media.jai
jai-Specification-Version: 1.1-mr
jai-Implementation-Version: 1.1.2
jai-Implementation-Vendor-Id: com.sun
jai-Implementation-URL: http://myserver/myAppletDir/jai_windows-i586.jar
One first question is: the "Implementation-URL" manifest parameter has to be an ABSOLUTE http URL? I've tried to specify relative URLs, but I got errors. It would be extremely useful to be able to specify the extension implementation URL as a relative URL, with respect to the applet Code Base...
In any case, if you specify an absolute URL, this extension is regularly installed on the client the first time my Applet is loaded into the client's browser.
I have some problems with the installation of the other extension (Image I/O Tools for JAI): this extension is shipped by Sun as a set of JAR and DLL native files (for Windows), with no automatic installer. The JAR files have to be copied into %JRE_HOME%/lib/ext, while the DLL files have to be copied into %JRE_HOME%/bin.
I am trying to develop a Java application that would act as a Java installer to be listed among the Java extensions required by my applet. This application would take care of copying the required files into the required directories. I added the following lines to my Applet's MANIFEST:
jiio-Extension-Name: jiio
jiio-Specification-Version: 1.0
jiio-Implementation-Version: 1.0
jiio-Implementation-Vendor-Id: com.sun
jiio-Implementation-URL: http://myServer/myAppletDir/MyJavaInst.jar
Also, I packed my Java application into a JAR file, with appropriate manifest, and signed it.
This Java application is actually executed when my Applet loads, and correctly executes its code.
The problem is that this Java application/installer gets executed EVERY time I load my Applet, not just the first time. How can I avoid this behavior? How could I say to the Java Plug-in that this extension has already been installed?
Thanks a lot for any help / suggestion.
Best regards,
Marco.I solved the problem of multiple installations of the Image I/O extension, by modifying the manifest of my JAR archive as follows:
jiio-Extension-Name: com.sun.media.imageio
jiio-Specification-Version: 1.0-rc
jiio-Implementation-Version: 1.0-rc
jiio-Implementation-Vendor-Id: com.sun
jiio-Implementation-URL: http://myServer/myAppletDir/MyJavaInst.jar
Since one of the extensions installed by my Java installer is a signed extension having "com.sun.media.imageio" as Extension-Name and the versions as specified, my Java Installer is run only the first time the Applet is loaded on the client.
But I still have the problem of the "Implementation-URL" parameter: is it possible to specify this URL as a RELATIVE URL (with respect to my Applet's codebase) instead of as an ABSOLUTE URL?
Any help / hint would be greatly appreciated.
Thank you,
Marco. -
I'm trying to use Web Start extension installer to install some files for my application. Apparently my installer was not called by the installer service. I'm not using servlet. Here is the exception I got ( from the log file):
Java Web Start Console, started Thu Jan 02 15:26:40 GMT 2003
Java 2 Runtime Environment: Version 1.4.0_01 by Sun Microsystems Inc.
Logging to file: /root/.javaws/webstart.log
java.lang.NullPointerException
at com.sun.javaws.LaunchSelection.selectJRE(LaunchSelection.java:58)
at com.sun.javaws.Launcher.executeInstallers(Launcher.java:386)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:278)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:166)
at com.sun.javaws.Launcher.run(Launcher.java:134)
at java.lang.Thread.run(Thread.java:536)
Has anyone got the same exception? Thanks.
JayThis is a very strange place to get an exception.
can you show the relivant portion(s) of your jnlp file(s).
Could be a bug related to having differand jre specifications in your main jnlp file, as in you extension jnlp files.
/Dietz -
Hello All,
I'm currently hosting a Java Web Start Extension Installer which installs a specified JRE.
An application initially launches without problems for a given JRE. However, upon subsequent launches, the JRE is requested to be installed by Java Web Start.
Further investigating, it seems that the newly downloaded JRE isn't added to javaws.cfg (in 1.2) nor in deployment.properties (in 1.4.2). These files seem to have appropriate permission on Linux, and the problem persists even when running as Administrator on a Windows 2000 machine.
Has anyone seen similar behavior? Even if you don't have a fix and are struggling with the same issue, drop me a line; maybe we can figure it out...
Thanks,
Michael
Note: Also posted at lopica-talk on SourceForge.Note: Also posted at lopica-talk on SourceForge.If you want to follow the discussion, here's the link: http://sourceforge.net/mailarchive/forum.php?forum=lopica-talk
-
SAP NW7.0 SR3 Java AddIn Installation failed at "Import Java dump"
Dear all,
I get an error at Java AddIn Installation SAP Netweaver 7.0 SR3
(Software Life-Cycle Option -> Java Add-In for ABAP -> Oracle ->
Central System ->)
The first installation step "Central Services Instance (SCS) Java Add-
In" I have installed it without errors.
The Installation failed at 2nd step "Database Instance Java Add-In" at phase 11
of 14 "Import java dump":
26.05.09 15:16:46 com.sap.inst.jload.Jload main
INFO: Jload -sec
Q2B,jdbc/pool/Q2B,/usr/sap/Q2B/SYS/global/security/data/SecStore.properties,/usr/sap/Q2B/SYS/global/security/
data/SecStore.key -
dataDir /usr/sap/swdc/51033513/DATA_UNITS/JAVA_EXPORT_JDMP -
job /tmp/sapinst_instdir/NW04S/LM/AS-JAVA/ADDIN
/ORA/CENTRAL/DB/IMPORT.XML -log jload.log
26.05.09 15:16:47 com.sap.inst.jload.Jload main
SEVERE: couldn't connect to DB
26.05.09 15:16:47 com.sap.inst.jload.Jload logStackTrace
SEVERE: java.sql.SQLException: Io exception: The Network Adapter could
not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon
(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.<init>
(PhysicalConnection.java:420)
at oracle.jdbc.driver.T4CConnection.<init>
(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection
(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect
(OracleDriver.java:801)
at
com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection
(NativeConnectionFactory.java:215)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection
(OpenSQLDataSourceImpl.java:522)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection
(OpenSQLDataSourceImpl.java:276)
at com.sap.inst.jload.db.DBConnection.connectViaSecureStore
(DBConnection.java:105)
at com.sap.inst.jload.db.DBConnection.connect
(DBConnection.java:149)
at com.sap.inst.jload.Jload.main(Jload.java:580)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main
(OfflineToolStart.java:81)
the database is up and running, the Oracle Listener is also working well.
Any idea??
Thanks so much in advance!
Best Regards,
GerdHi Sunny, hi Markus!
many thanks for your hints!
I've just solved the problem. The problem was, our Listener was not configured correctly.
I've adjusted the listener.ora, tnsnames.ora to the correct hostname - cause, we had a hostname-switch last month and I had forgotten to adapt the Listener...
now the Listener is running as well:
mcho35au:oraq2b 120% lsnrctl status LISTENER_Q2B
LSNRCTL for Solaris: Version 10.2.0.4.0 - Production on 30-MAY-2009
09:52:48
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=Q2B.WORLD))
STATUS of the LISTENER
Alias LISTENER_Q2B
Version TNSLSNR for Solaris: Version 10.2.0.4.0 -
Production
Start Date 30-MAY-2009 09:52:15
Uptime 0 days 0 hr. 0 min. 32 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/Q2B/102_64/network/admin/listener.ora
Listener Log
File /oracle/Q2B/102_64/network/log/listener_q2b.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=Q2B.WORLD)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=Q2B)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mcho35au)(PORT=1527)))
Services Summary...
Service "Q2B" has 1 instance(s).
Instance "Q2B", status UNKNOWN, has 1 handler(s) for this service...
Service "Q2B.WORLD" has 1 instance(s).
Instance "Q2B", status READY, has 1 handler(s) for this service...
Service "Q2B_XPT.WORLD" has 1 instance(s).
Instance "Q2B", status READY, has 1 handler(s) for this service...
The command completed successfully
meanwhile the step "Import java dump" has finished successfully!
Thanks to all!
Best Regards,
Gerd
Edited by: Gerd Schuster on May 30, 2009 10:29 AM -
JAVA Stack installation's method for BI 7.0 (Netweaver 04s)
Hello!
We plan to upgrade our BW 3.5 (without java stack) to BI 7.0 which need a java stack installation.
In this case we have, first, to upgrade the abap stack and then we have to install the java stack .
There are 3 possibilities to install the java stack : as java-addin in the same database that the abap stack , or as the recommanded
SAP 'method i.e. a java installation with its own database , that means another instance , and I think a new license to buy.
The third method is a second server to support the java stack with its own database (separate instance).
I don't understand why the second and third methods are recommanded , rather than the first.
Is it related to the SAP Enterprise Portal ??; (we don't use it at the moment) , or for other reasons?? Thanks..In the event of double-stack or shared installations, ABAP and JAVA compete for main memory and CPU resources. Since BI 7.0 is resource intensive, it is advisable to install AS-Java on a different machine.
Please refer to the following SAP Notes
1. 927530 - BI Java sizing
2. 917950 - SAP NetWeaver 2004s: Setting Up BEx Web
Regards,
Anirban Kundu -
SRM Standalone Java Stack Installation
Hi gurus Please help me as subject itsself describe i am facing the problem in SRM JAVA stack installation
I have alredy completed SRm ABAP stck installation now when i am doing the java stack installation its giving me the error
WARNING[E] 2010-12-29 03:44:57.814
CJS-30226 Host: 'sapsrm' or port: 'undefined' or dbSid: 'SRM' is in an inconsistent state or undefined.
ERROR 2010-12-29 03:44:58.694
FCO-00011 The step createSecureStore with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0|createSecureStore was executed with status ERROR
Please help
meDear,
Have you solved your problem? I'm in the same situation!
thank you
Sébastien -
Firefox 22 Silent Add-ons/Plugins/Extensions Installation
We're a Windows 7 x86 shop and we're finally upgrading from Firefox 3.6. I just need a little help finalizing the customizations for our Firefox 22 install.
Our requests don't differ greatly from others (no automatic updates, no plugin checks, set default home page, no Firefox sync etc.) and all that seems to be working so far. I ran the install on a machine that did not have a previous version of Firefox and found it largely behaving the way I expected it to.
However two things stand out:
On initial launch I'm seeing a 'checking compatibility of addons' screen. It doesn't ask me to do anything and disappears after a few seconds, but this worries me that it *might* complain about a plugin a user installed when we go through the upgrade process.
- Can this 'check' be avoided?
- Is it really doing anything? (eg: checking for blacklisted addons/extensions? etc)
- What's the worst that could happen here?
In the registry (HKLM\Software\Mozilla\Firefox\Extensions) I have two entries created by 2 other applications on the workstation each of which pointing to their respective extension/addon/plugin directory (e.g.: C:\Program Files\Application\some_directory). When properly installed, one is listed as an Extension, the other a Plugin. On the first launch after installation, I see two 'Install Add-on' tabs prompting me to approve each the installation. Seeing as these extensions are allowed/trusted and required, I want Firefox to accept them without prompting the user. Now, I'm aware of two key elements that largely govern this (and their subtle differences) but I can't seem to get this to work right:
extensions.autoDisableScopes
extensions.enabledScopes
With the former set to 0 and the latter 15 I relaunch FF and while I don't get the tabs, when I go to test them, it doesn't work. Furthermore, the Plugin is listed under Extensions which probably shoud not be.
- What am I doing wrong?
- How can I allow/trust/whitelist or otherwise automatically approve the installation of either specific add-ons, or add-ons within a specific location?
Please, correct me if I'm doing something wrong, or if there's a better way (e.g.: GPO's) to apply global settings for all users. I'm hoping to avoid a solution that requires installing a third-party plug-in
Any advice is greatly appreciated.
Install/upgrade process consists these key files:
Firefox Setup 22.0.exe - The installer
install.cmd - Script that runs the installer and does other things:
runs installer with the following switches: /INI=custom.ini
creates "%ProgramFiles%\Mozilla Firefox\browser\defaults\profile\chrome" (if missing)
copies userChrome.css into the above directory
creates "%ProgramFiles%\Mozilla Firefox\browser\defaults\preferences" (if missing)
copies local-settings.js into the above directory
copies Mozilla.cfg into "%ProgramFiles%\Mozilla Firefox\"
copies override.ini into "%ProgramFiles%\Mozilla Firefox\browser\"
custom.ini :
MaintenanceService=false
userChrome.css :
// Disable Firefox Sync
#sync-setup, #sync-status-button, #BrowserPreferences radio[label="Sync"] {display:none!important;}
#sync-setup-appmenu,#sync-syncnowitem-appmenu, #sync-setup, #sync-status-button, #BrowserPreferences radio[label="Sync"] {display:none!important;}
menu[label="Tools"] menuitem[label="Sync Now"], #sync-button, #sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup, #sync-status-button, #BrowserPreferences radio[label="Sync"] {display:none!important;}
local-settings.js :
pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");
Override.ini :
[XRE]
EnableProfileMigrator=False
EnableExtensionManager=True
[Crash Reporter]
Enabled=False
Mozilla.cfg :
// This preference allows to suppress all UI update prompting.
defaultPref("app.update.silent", true);
// This preference disables the background service that installs updates
defaultPref("app.update.service.enabled", false);
// This preference indicates that the rights notification has already been shown.
defaultPref("browser.rights.3.shown", true);
defaultPref("browser.rights.override", true);
// Disable automatic check for updates to search plugins
defaultPref("browser.search.update", false);
// Do not perform system default browser check on startup
defaultPref("browser.shell.checkDefaultBrowser", false);
// Sets URL of homepage or pope (|) separated list of URL's to open in tabs
defaultPref("browser.startup.homepage", "http://our-intranet/");
// Was suggested to use this instead of the above - don't understand why
//defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=http://our-intranet/");
// The last browser version (milestone) this profile was loaded with. If it differs from the current version, pref is changed to current version.
defaultPref("browser.startup.homepage_override.mstone", "ignore");
// Disable check extension for browser compatibility on upgrade/install.
defaultPref("extensions.checkCompatibility", false);
// Disable checks that extensions provide secure updates.
defaultPref("extensions.checkUpdateSecurity", false);
// The last version of the browser to successfully load extensions. Used to determine whether or not to disable extensions due to possible incompatibilities.
defaultPref("extensions.lastAppVersion", "100.0.0");
// Not sure if this still applies today
defaultPref("extensions.lastPlatformVersion", "100.0.0");
// An Attempt at Disabling Firefox sync
defaultPref("services.sync.autoconnect", false);
defaultPref("services.sync.clients.lastSync", "0");
defaultPref("services.sync.clients.lastSyncLocal", "0");
defaultPref("services.sync.engine.addons", false);
defaultPref("services.sync.engine.apps", false);
defaultPref("services.sync.engine.bookmarks", false);
defaultPref("services.sync.engine.history", false);
defaultPref("services.sync.engine.passwords", false);
defaultPref("services.sync.engine.prefs", false);
defaultPref("services.sync.engine.prefs.modified", false);
defaultPref("services.sync.engine.tabs", false);
defaultPref("services.sync.globalScore", 0);
defaultPref("services.sync.migrated", true);
defaultPref("services.sync.nextSync", 0);
defaultPref("services.sync.tabs.lastSync", "0");
defaultPref("services.sync.tabs.lastSyncLocal", "0");
// Disabled Add-on manager pop-up window post addon/extension installation
defaultPref("extensions.newAddons", false);
// Disable automatic download and installation of available updates
defaultPref("extensions.update.autoUpdate", false);
// Diable automatic checking of updates at the specified interval
defaultPref("extensions.update.autoUpdateEnabled", false);
// Disable checking for extension updates
defaultPref("extensions.update.enabled", false);
// Determines how often to check the update URL for updates.
defaultPref("extensions.update.interval", 1273520281);
// Disable addon control wizard
defaultPref("extensions.shownSelectionUI", true);
// A comma-and-space-delimited list of URIs with which to automatically authenticate via NTLM (Windows domain logon).
defaultPref("network.automatic-ntlm-auth.trusted-uris", "a,bunch,of,servers,urls,and,unc,paths");
// Indicates whether some cookie preferences — previously stored in deprecated preferences — have been migrated to current preferences.
defaultPref("network.cookie.prefsMigrated", true);
// A comma-and-space-delimited list of sites that are permitted to engage in SPNEGO authentication with the browser.
defaultPref("network.negotiate-auth.trusted-uris", "a,bunch,of,servers,urls,and,unc,paths");
// Not sure if this still applies today
defaultPref("privacy.sanitize.migrateFx3Prefs", true);
// Disable telemetry (usage statistics) to Mozilla HQ
defaultPref("toolkit.telemetry.prompted", 2);
defaultPref("toolkit.telemetry.rejected", true);
defaultPref("toolkit.telemetry.enabled", false);
// A comma-separated list of sites to automatically add to the extensions whitelist.
defaultPref("xpinstall.whitelist.add", "");
// Not sure what these are but are baked into installation
defaultPref("xpinstall.whitelist.add.180", "");
defaultPref("xpinstall.whitelist.add.36", "");
// Allow access to specific network locations
defaultPref("capability.policy.policynames", "policy1, policy2, ..., policyX");
defaultPref("capability.policy.policy1.checkloaduri.enabled", "allAccess");
defaultPref("capability.policy.policy1.sites","http://site1 http://site1/site http://site2");
defaultPref("capability.policy.policy2.checkloaduri.enabled", "allAccess");
defaultPref("capability.policy.policy2.sites","\\unc\path");
defaultPref("capability.policy.policyX.checkloaduri.enabled", "allAccess");
defaultPref("capability.policy.policyX.sites","whatever");
// Disables built in PDF viewer
defaultPref("pdfjs.disabled",true);
// Disables Health Report Uploads
defaultPref("datareporting.healthreport.uploadEnabled",false);
// Disables Health Reporting Completely
defaultPref("datareporting.healthreport.service.enabled",false);
// Disabled Plugin Check
defaultPref("plugin.scan.plid.all",false);
defaultPref("plugins.update.url","");try the 15 - 15 option, see in the above link you gave us :
http://mike.kaply.com/2012/02/21/understanding-add-on-scopes/
the : Add-ons are only disabled by default '''if they were not explicitly installed by the user'''. '''So if an external application places an add-on into the user’s profile directory, it is disabled by default'''.
(it is in extensions.autoDisableScopes area ) -
Requirement to be fulfilled using PI 7.3 Java only installation
Hi Experts,
We have a requirement depicted as below and need to confirm if the same is possible in PI 7.3 JAVA only
installation where there is no possibility of using ccBPM.
Step 1. System A sends web service request to PI,
Step 2. PI sends the request to System B which is a web service call
Step 3. System B sends response back to PI
Step 4. PI gets the response from System B, this response needs to transformed and mapped and sent to System C web service request.
Step 5. The response from System C needs to be sent back to System A which initiated the call.
Please give a thought based on your experience and expertise if this is possible; given the limitation of java only installation which is without ccBPM.
- ShripadHi Shripad,
For modeling with BPMN, refer the below guide:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c052052e-fbab-2b10-0d9a-9feed5463589
SOap look up in mapping from System B response to System A should solve your issue.
--Divyesh -
Problem in deploying Java Extension to ORacle SQL Developer
Hi all,
I have developed a simple Java extension using Oracle Jdeveloper. This extension creates a preference in Tools->Preferences.
I have deployed it on Jdeveloper and it works fine. But when I deploy it on Oracle SQL Developer its functionality does not work
I am using JDeveloper 11.1.1.4
and Oracle SQL Developer 3.2.20.09 (Latest Version).Hello,
You are giving few informations. Is the extension listed in the extensions tab in the 'About' tab? Are you able to deploy any extension to SQLD?
Joop -
Extension Installer in infinite loop
Hi,
I'm trying to use an Extension Installer to install some extra files for my application. I've searched the forum for problems with the Extension Installer and I've seen a few posts, even the same problem I'm having. But none of the suggestions have helped.
When I run the Extension Installer locally on my own machine it works just fine. However when I move the code to access over the internet the extension installer gets stuck in an infinite loop and my application will never start. And yes, my installer ends with eis.installSucceeded(false).
Based on other messages in the forum, these are some of the things that I've tried, to no avail:
1. Add System.exit(0) as the very last statement in my installer.
2. I don't specify a port in my codebase in either the application jnlp or the extension jnlp.
3. The webserver is running on the default port (80).
4. Tried adding "javaws.cfg.forceUpdate=false" to my javaws.cfg file.
I'm using JWS 1.0.1_02. My web server is IBM HTTP Server. The machine that I'm trying to install to is running W2K.
Anyone have any suggestions?
Thanks,
BethThe funny thing is that with you it seems to happen
during
one JWS launch session.
So I wonder why JWS will run k instances of your
Extension
installer.
You don't have an <extension> tag in the jnlp file of
your extension
installer, creating an infinite recursion?
Yes, I wonder why I get multiple instances of the Extension Installer. And also that it works fine if everything is running on my local computer. If I just change the codebase and run everything over the internet is when I get it an infinite loop. Any ideas would be greatly appreciated.
If it will help, here are my .jnlp files:
Extension:
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SpellChecker Installer -->
<jnlp spec="1.0 1.0+"
codebase="http://apsrv176.ctt.com/bethTest" >
<information>
<title>NGS SpellChecker Installer</title>
<vendor>Vendor</vendor>
<homepage href="docs/help.html"/>
<description>SpellChecker Installer</description>
<description kind="short">Install the SpellChecker files</description>
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se version="1.2"/>
<property name="ngs.root" value="NGS"/>
<property name="spellchecker.home" value="SpellChecker"/>
<jar href="SpellChecker/SpellCheckerInstaller.jar"/>
</resources>
<installer-desc main-class="com.ngs.spellcheckerinstaller.SpellCheckerInstaller" />
</jnlp>
Main:
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for test application -->
<jnlp spec="1.0 1.0+"
codebase="http://apsrv176.ctt.com/bethTest" >
<information>
<title>NGS Application</title>
<vendor>Vendor</vendor>
<homepage href="docs/help.html"/>
<description>NGS</description>
<description kind="short">NGS</description>
<icon href="images/ngs.jpg"/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.2" initial-heap-size="64m" max-heap-size="64m"/>
<property name="ngs.root" value="NGS"/>
<property name="spellchecker.home" value="SpellChecker"/>
<jar href="jars/NGSMainForm.jar"/>
<snip... lots of other jars>
<nativelib href="jars/bridge2java.jar" />
<extension href="Third_Party_Jars.jnlp" />
</resources>
<resources>
<extension
name="SpellCheckerInstaller"
href="SpellCheckerInstaller.jnlp">
</extension>
</resources>
<application-desc main-class="NGSMainForm"/>
</jnlp> -
Hi ,
I have installed ODI 11.1.1.7 in unix environment and selected Java EE installation type(unchecked Developer and standalone installation types).
The installation is working fine with the EE agent.
While searching for the startcmd.sh file to manually export some topology components, I found out that the oracledi/agent folder is not present in odi home.
My question is , is the oracledi/agent folder not created if I select Java EE installation only or if I have missed something during installation?
Is there any other way to manually export components using the EE agent (not using the startcmd.sh)?The documentation states: "The command line scripts, which are required for performing the tasks described in this section, are only available if you have installed the Oracle Data Integrator Standalone Agent. See the Oracle Fusion Middleware Installation Guide for Oracle Data Integrator for information about how to install the Standalone Agent."
http://docs.oracle.com/cd/E21764_01/integrate.1111/e12643/appendix_a.htm
See A.1.3 -
Java extension for SQL Developer 2.1 (SqlEditor)
Hello,
we are developing a java extension for SQL Developer. It was working fine in version 1.5.5 but it seems that some of the java classes were changed in version 2.1 so it does not any more. In the SQL editor, we want to have a context menu action that gets the selected SQL statement and calls a database function with it as an argument. Our code looks like
@RegisteredByExtension("our.developer.extension")
public final class OurCommand extends Command {
public int doit() {
SqlEditor sqlEditor = (SqlEditor)getContext().getView();
String query = sqlEditor.getView().getSqlStatement();
sqlEditor.executeSql(query, "");
//or
//sqlEditor.getView().scriptRunner(query);
Unforunately, in SQL Developer 2.1 the class oracle.dbtools.sqlworksheet.sqlview.SqlEditor does not exist. Does anybody know how to write this example for version 2.1? Is there an API documentation (alas, [http://wiki.oracle.com/page/SDK+2.0] is an empty article)?
BTW, does anybody know how to open the dialog for connecting to a database when sqlEditor.getConnection() is null?I got it to work using a BASIC call instead of my normal TNS call.
We use MS SMS to package the Oracle client and SQL Developer and push it out to users so we don't have people visiting desktops. Also, we use OID to store the entries instead of a tnsnames file so that we don't have to maintain a TNSNAMES file.
I am testing 2.1 as we would eventually upgrade when it goes GA.
2.1 seems to be built on Oracle 11g. Issue will be that since 99% of our databases are 10gr2 as well as 100% of our client population will be be forced to upgrade the Oracle client to use 2.1 as we do today without lots of changes for the end user?
We don't broadcast the information the average user requires for a BASIC connection so that is out for non technical users..
We have SQL Developer 1.5.5 right now and this is not and issue.
Hopefully, this will be resolved during EAI for 2.1. -
Pls need help with Java Extension
hi guys
i have created a class let say it "RectangleArea" and i created a jar file " myjar.jar" containing class "RectangleArea" so i put the jar in the ext folder to use the java extension .then i create class "AreaApp" inside "AreaApp" i instantiate "RectangleArea" .and when compiling "AreaApp" it compile good.but the problem is when runing it through an exception:-
Exception in thread "main" java.lang.NoClassDefFoundError: RectangleArea at AreaApp.main(AreaApp.java:9)
so i wonder how to slove this problem?It may be due to the following reasons
1)myjar.jar may not be included in the classpath
2)RectangleArea.class may be inside wrong package
Just correct it and try again.
Cheers,
Pushparaj.
Maybe you are looking for
-
Handling two record strucutre in incoming file adapter
I have a flat file (fixedlength type), which needs to be converted into the XMLPayload I tried multiple option but didn't work. Here is the file strucutre P CONTRLT00010 01SCNCTCFSCR 001548340 12 130* P CONTRLT00020
-
Hello, I am very new to powershell and I have been looking for a solution where I can list all the inactive members more than 30 days from particular groups in AD, export the updated list to a csv file and send the file by email . . Can someone help
-
Hello, I have a query and I think someone maybe able to help. I have a Lenovo H330 series machine and from the tech specs it has two banks for memory. The memory being DDR3 1333mhz memory. Now the question I have is the unit according to tech sp
-
Can I create a PDF with form controls using JAVA?
I have a web site running on linux (Ubuntu). I'm programming in Java. Presently I use open office to create PDFs with form controls (checkboxes, lists and text fields). I'd like to be able to create in my program (Java) with form controls. JasperRepo
-
Z10 loses signal during a call
I have a issue with loss of signal during a call on my z10. When the automatic mail checking enabled and during a call mail is checked, I hear snatches of words and communication break, look at the screen see the message "network is busy" and zero si