Extension Installer Exception
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.
Jay
This 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
Similar Messages
-
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 ) -
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. -
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> -
Firefox 10.0.3 global extension installation problem
After much searching and trying I still can not install extensions globally any more so I have come to you all for help.
I have just upgraded from FF 3.6.28ESR to FF 10.0.3ESR and now can no longer install extensions globally. From reading the forums I understand that this feature is disabled in FF by default now, and can be turned back on, but for some reason I can not get it to work for me.
From what I have read, configuring "extensions.autoDisableScopes" should work, but did not for me. Here is a simplistic breakdown of steps I have taken:
1) I logged in as an administrator.
2) I downloaded and installed "Firefox Setup 10.0.3esr.exe" (it upodated over my old v3.6.28 FF).
3) Using Notepad, I created a file called ""C:\Program Files\Mozilla Firefox\defaults\pref\prefs.js" and placed into the following 2 lines:
pref("extensions.autoDisableScopes", 0);
pref("extensions.enableScopes", 15);
4) I placed the file "noscript-2.3.7.xpi" into "C:\Program Files\Mozilla Firefox\extensions".
5) But when opening FF, the "noscript" extension did not even try to install, and the file "C:\Program Files\Mozilla Firefox\extensions\noscript-2.3.7.xpi" file still remained in the directory (in FF 3.6.x it would have been converted to a cryptic directory name when it gets installed, so clearly it never tried to install).
Can someone tell me what I am doing wrong?
Extra Background:
I am using WinXP. For global installation of extensions using FF 3.6.x I simply dropped the "*.xpi" file for the extension into the "C:\Program Files\Mozilla Firefox\extensions" directory, and then the extension installed just fine next time FF started. After upgrading to FF 10.0.3ESR this method of global extension installation stopped working.
ThanksExtensions are no longer unpacked by default to speed up loading (one file loads quicker than multiple files).<br />
Only extensions that have an unpack flag (<em:unpack>true</em:unpack>) in the install.rdf file are unpacked.<br />
Dictionaries are a category that needs unpacking.
Quote from https://developer.mozilla.org/en/Installing_extensions
<blockquote>In Firefox 4 you may also just copy the extension's XPI to the directory and name it <ID>.xpi as long as the extension does not require extraction to work correctly.</blockquote> -
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.
/sunilI haven't yet found anything !!
-
How to re-activate 'Mail' after complete successful Time machine re-installation except 'Mail' backup keeps getting stuck?
Trying to re-instal my email history the 'Mail Message Import' dialogue screen says: 'Mail needs to import your messages. This might take a few minutes. You won't be able to use Mail until the import is finished'.
The problem is: after importing 5,000 messages it stops and the 'Time remaining' only keeps adding up to many hours (17 hours). There are almost 80,000 email messages in my Time machine backup.
How to get this working? I am even prepared to give up my email history if i can only get my 'Mail' application working again. -
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
-
hey
i am still a rooky in sbo and SAp in general.
i am creating the addon:blanket agreement that i find in the SDK help center
well the module blanket is running correctly.
but when i create the addon installer and try to run t get the exception(from french):"the object instance is not assigned to an object".
i now the meaning of message but i dont how to solve it.
if you have any idea pls let me know thank youThis the script of my installer hope sombody can help.
ps:when i check the install directory after the failer of the installation i foun the blanketagreement temp file.
'the addon intallation script
Public Class Form1
Inherits System.Windows.Forms.Form
#Region " Code généré par le Concepteur Windows Form "
Public Sub New()
MyBase.New()
'Cet appel est requis par le Concepteur Windows Form.
InitializeComponent()
'Ajoutez une initialisation quelconque après l'appel InitializeComponent()
End Sub
'La méthode substituée Dispose du formulaire pour nettoyer la liste des composants.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Requis par le Concepteur Windows Form
Private components As System.ComponentModel.IContainer
'REMARQUE : la procédure suivante est requise par le Concepteur Windows Form
'Elle peut être modifiée en utilisant le Concepteur Windows Form.
'Ne la modifiez pas en utilisant l'éditeur de code.
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents chkDefaultFolder As System.Windows.Forms.CheckBox
Friend WithEvents txtDest As System.Windows.Forms.TextBox
Friend WithEvents chkRestart As System.Windows.Forms.CheckBox
Friend WithEvents cmdInstall As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.Label1 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.txtDest = New System.Windows.Forms.TextBox
Me.chkDefaultFolder = New System.Windows.Forms.CheckBox
Me.chkRestart = New System.Windows.Forms.CheckBox
Me.cmdInstall = New System.Windows.Forms.Button
Me.SuspendLayout()
'Label1
Me.Label1.Location = New System.Drawing.Point(88, 24)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(200, 23)
Me.Label1.TabIndex = 0
Me.Label1.Text = "Blanket Addon Installer"
'Label2
Me.Label2.Location = New System.Drawing.Point(8, 80)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(200, 23)
Me.Label2.TabIndex = 1
Me.Label2.Text = "Installation Folder"
'txtDest
Me.txtDest.Location = New System.Drawing.Point(8, 120)
Me.txtDest.Name = "txtDest"
Me.txtDest.Size = New System.Drawing.Size(288, 20)
Me.txtDest.TabIndex = 2
Me.txtDest.Text = "TextBox1"
'chkDefaultFolder
Me.chkDefaultFolder.Location = New System.Drawing.Point(8, 160)
Me.chkDefaultFolder.Name = "chkDefaultFolder"
Me.chkDefaultFolder.TabIndex = 3
Me.chkDefaultFolder.Text = "CheckBox1"
'chkRestart
Me.chkRestart.Location = New System.Drawing.Point(8, 184)
Me.chkRestart.Name = "chkRestart"
Me.chkRestart.TabIndex = 4
Me.chkRestart.Text = "CheckBox2"
'cmdInstall
Me.cmdInstall.Location = New System.Drawing.Point(112, 224)
Me.cmdInstall.Name = "cmdInstall"
Me.cmdInstall.TabIndex = 5
Me.cmdInstall.Text = "Button1"
'Form1
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(320, 270)
Me.Controls.Add(Me.cmdInstall)
Me.Controls.Add(Me.chkRestart)
Me.Controls.Add(Me.chkDefaultFolder)
Me.Controls.Add(Me.txtDest)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.Label1)
Me.Name = "Form1"
Me.Text = "SAP Business One"
Me.ResumeLayout(False)
End Sub
#End Region
Friend WithEvents FileWatcher As New System.IO.FileSystemWatcher
'EndInstall - Signals SBO that the installation is complete.
Declare Function EndInstall Lib "AddOnInstallAPI.dll" () As Int32
'SetAddOnFolder - Use it if you want to change the installation folder.
Declare Function SetAddOnFolder Lib "AddOnInstallAPI.dll" (ByVal srrPath As String) As Int32
'RestartNeeded - Use it if your installation requires a restart, it will cause B1 application to close itself after the installation is complete.
Declare Function RestartNeeded Lib "AddOnInstallAPI.dll" () As Int32
Private strDll As String ' The path of "AddOnInstallAPI.dll"
Private strDest As String ' Installation target path
Private bFileCreated As Boolean ' True if the file was created
Private Sub ExtractFile(ByVal path As String)
Dim AddonExeFile As IO.FileStream
Dim thisExe As System.Reflection.Assembly
thisExe = System.Reflection.Assembly.GetExecutingAssembly()
Dim file As System.IO.Stream
file = thisExe.GetManifestResourceStream("AddOn.BalnketAgreement.exe")
' Create a tmp file first. After the file is extracted change the
' extension to exe.
AddonExeFile = IO.File.Create(path & "BlanketAgreement.tmp")
Dim buffer() As Byte
ReDim buffer(file.Length)
file.Read(buffer, 0, file.Length)
AddonExeFile.Write(buffer, 0, file.Length)
AddonExeFile.Close()
' Change file extension to exe
Try
IO.File.Move(path & "BlanketAgreement.tmp", path & "BlanketAgreement.exe")
Catch
IO.File.Delete(path & "BlanketAgreement.tmp")
IO.File.Move(path & "BlanketAgreement.tmp", path & "BlanketAgreement.exe")
End Try
End Sub
Private Sub Install()
Environment.CurrentDirectory = strDll ' For Dll function calls will work
If chkDefaultFolder.Checked = False Then ' Change the installation folder
SetAddOnFolder(txtDest.Text)
strDest = txtDest.Text
End If
If Not (IO.Directory.Exists(strDest)) Then
IO.Directory.CreateDirectory(strDest) ' Create installation folder
End If
FileWatcher.Path = strDest
FileWatcher.EnableRaisingEvents = True
ExtractFile(strDest) ' Extract add-on to installation folder
While bFileCreated = False
Application.DoEvents()
'Do not continue running until the file is copied...
End While
If chkRestart.Checked Then
RestartNeeded() ' Inform B1 that restart is needed
End If
EndInstall() ' Inform B1 that the installation has ended
MessageBox.Show("Finished Installing", "Installation ended", MessageBoxButtons.OK, MessageBoxIcon.Information)
Windows.Forms.Application.Exit() ' Exit the installer
End Sub
Private Sub frmInstall_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' The command line parameters, separated by '|' will be broken to this array
Dim strCmdLineElements(2) As String
Dim strCmdLine As String ' The whole command line
Dim NumOfParams As Integer 'The number of parameters in the command line (should be 2)
NumOfParams = Environment.GetCommandLineArgs.Length
If NumOfParams = 2 Then
strCmdLine = Environment.GetCommandLineArgs.GetValue(1)
strCmdLineElements = strCmdLine.Split("|")
' Get the installation destination folder
strDest = strCmdLineElements.GetValue(0)
txtDest.Text = strDest
' Get the "AddOnInstallAPI.dll" path
strDll = strCmdLineElements.GetValue(1)
strDll = strDll.Remove((strDll.Length - 19), 19) ' Only the path is needed
Else
MessageBox.Show("This installer must be run from Sap Business One", "Incorrect installation", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
Windows.Forms.Application.Exit()
End If
End Sub
Private Sub chkDefaultFolder_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkDefaultFolder.CheckedChanged
txtDest.Enabled = Not (chkDefaultFolder.Checked)
End Sub
Private Sub FileWatcher_Renamed(ByVal sender As Object, ByVal e As System.IO.RenamedEventArgs) Handles FileWatcher.Renamed
bFileCreated = True
FileWatcher.EnableRaisingEvents = False
End Sub
Private Sub cmdInstall_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdInstall.Click
Install()
End Sub
End Class
thanks for your help. -
Am trying to install and import oracle database from a dmp file. This is being done under NT4 SP4(128 bit).
First off the Installer is causing an exception to occur ( the program is terminated). While sample databases are installed and the menus under the start/programs are being created the installer will not run to either add or remove Oralce. Is this hardware or have I a flakly Os installation?
When I try to import the dmp file I get the message: Generic Import can not import files with spaces.
Are the two problems related?
Is there a solution.
ThanksThis 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 -
Hi all,
i am trying to install oid(11.1.1.6.0) ,on linux 64 bit .i got the below error....
1) progress in calculate progress10
Called setOVDCAIntoEMAgentWallet
EMAgent Wallet Exists
java.io.IOException: java.lang.ClassCastException: oracle.security.crypto.cert.ext.NetscapeCertTypeExtension cannot be cast to oracle.security.crypto.cert.X509Extension
at oracle.security.crypto.cert.X509Extension.inputInstance(X509Extension.java:257)
at oracle.security.crypto.cert.X509ExtensionSet.input(X509ExtensionSet.java:261)
at oracle.security.crypto.cert.X509ExtensionSet.<init>(X509ExtensionSet.java:103)
at oracle.security.crypto.cert.X509.input(X509.java:615)
at oracle.security.crypto.cert.X509.<init>(X509.java:142)
at oracle.security.crypto.cert.PKCS12CertBag.input(PKCS12CertBag.java:126)
at oracle.security.crypto.cert.PKCS12CertBag.<init>(PKCS12CertBag.java:80)
at oracle.security.crypto.cert.PKCS12Bag.inputBag(PKCS12Bag.java:78)
at oracle.security.crypto.cert.PKCS12Safe.input(PKCS12Safe.java:203)
at oracle.security.crypto.cert.PKCS12Safe.<init>(PKCS12Safe.java:119)
at oracle.security.crypto.cert.PKCS12.input(PKCS12.java:179)
at oracle.security.crypto.cert.PKCS12.<init>(PKCS12.java:122)
at oracle.security.pki.OracleKeyStoreSpi.engineLoad(Unknown Source)
at java.security.KeyStore.load(KeyStore.java:1185)
at oracle.security.pki.OracleWallet.getKeyStore(Unknown Source)
at oracle.security.pki.OracleWallet.getCertReqDNs(Unknown Source)
at oracle.as.idm.install.config.util.CertificateUtil.importCertificate(CertificateUtil.java:112)
at oracle.as.idm.install.config.util.CertificateUtil.setOVDCAIntoEMAgentWallet(CertificateUtil.java:165)
at oracle.as.idm.install.config.IdMDirectoryServicesManager.doExecute(IdMDirectoryServicesManager.java:1137)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
at java.lang.Thread.run(Thread.java:662)
2) oracle.as.provisioning.util.ConfigException:
Error while deploying the Application oracle.ldap.odip.install.DIPInstaller .
Cause:
An internal operation has failed: Error in configuring DIP caused by: DIP-00004: Error in connecting to Oracle Internet Directory Server.
Action:
See logs for more details.
at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
at oracle.as.provisioning.weblogic.ASDomain._executeJ2EEConfigAssistant(ASDomain.java:834)
at oracle.as.provisioning.weblogic.ASDomain.executeJ2EEConfigAssistant(ASDomain.java:678)
at oracle.as.provisioning.engine.WorkFlowExecutor._runJ2EEAssistant(WorkFlowExecutor.java:1140)
at oracle.as.provisioning.engine.WorkFlowExecutor._deployApps(WorkFlowExecutor.java:911)
at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:470)
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
at oracle.as.idm.install.config.IdMDirectoryServicesManager.doExecute(IdMDirectoryServicesManager.java:1304)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.as.provisioning.exception.J2EEConfigAssistantException: Error in configuring DIP caused by: DIP-00004: Error in connecting to Oracle Internet Directory Server.
at oracle.ldap.odip.install.DIPInstaller.executePostDistribute(DIPInstaller.java:225)
at oracle.as.provisioning.weblogic.ASDomain._executeJ2EEConfigAssistant(ASDomain.java:822)
... 15 more
my question is
1) can i use existing schema ? ( which was created by oid(11.1.1.3.0) 32 bit linux )
2) i try these installations in two different boxes both are showing the same msg's but one ldap is read only mode and another read & write mode . why ?
thanks in advanceFor your first question:
This should not be a problem. But check here first: http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/161244.xls
Second question:
I don't think the problem here(according to the logs) is read only or not. It looks like Directory Integration Plataform(who will provision information thru these) is just not finding OID. So, try telnet from one to another and see if they are 'speaking'. Check all(OID,DIP and Database ports).
I hope this helps,
Thiago Leoncio. -
Help:Extension Filters exception
Hi All,
A)I have included the detailed description of the steps followed.As a part of my new assignment i have been asked to upgrade to Tomahawk1.1.3.I am Websphere RAD to build my application.
The application uses custom components <t:inputCalendar> and <tanelTabbedPane>.The application worked properly with Tomahawk1.1.1 but once i have upgraded to Tomahawk1.1.3 i am getting the error message "This portlet is unavailable".
Please note i have used jsf-api.jar(version 1.1) and jsf-impl.jar and not myfaces-all.jar(myfaces-api.jar and myfaces-impl.jar)
B)I have also configured the extension filter in my web.xml file.
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
<description>Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB</description>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
<description>Set the threshold size - files below this limit are stored in memory, files above this limit are stored on disk.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB</description>
</init-param>
</filter>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
C)But when i run the application i get the exception in the console as:
Nested Exception is java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html.
Please help me trouble shooting.What additional configurations do i need to make this application run.Hi,
Thanks for your reply.
But if i use the servlet declaration the i get the same error:
Caused by: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html
Are there any other alteratives.Is there a problem because i am using jsf-api.jar and jsf-impl.jar instead of myfaces-api and myfaces-impl.jar.
You suggestions are always welcome.
Regards,
Pals -
Creative Suite 5.5 Master Collection installs except for Acrobat X Pro
I was able to install Creative Suite 5.5 Master Collection, except for Acrobat X Pro. Its installation fails. I tried rebooting with no change.
These errors were repeated a couple times in the log:
[ 2716] Mon Apr 01 15:50:54 2013 ERROR
DW020: Found payload conflicts and errors:
DW020: - Adobe Flash CS5.5 depends on Adobe Flash Player 10 ActiveX to be installed.
[ 2716] Mon Apr 01 15:50:54 2013 FATAL
DW020: Conflicts were found in the selected payloads. Halting installation.
[ 2716] Mon Apr 01 15:50:54 2013 INFO
WARNING: DW066: OS requirements not met for {AC76BA86-1033-F400-7760-000000000005}
WARNING: DW066: OS requirements not met for {606A0AC5-5F90-4379-81AE-11B44707E094}
WARNING: DW066: OS requirements not met for {3EE734CB-F7AD-4691-9712-066E9FEC3E62}
ERROR: DW020: Found payload conflicts and errors:
ERROR: DW020: - Adobe Flash CS5.5 depends on Adobe Flash Player 10 ActiveX to be installed.
FATAL: DW020: Conflicts were found in the selected payloads. Halting installation. -
Extension installation failure
I wanted to install the extension WWP but I
have been told several times that I need administrative privileges. I already have admin privileges -- in fact, I am the only one to have administrative privileges. Installing the extension seemed like a good idea at the time to evaluate it, but it has turned into a time-waster. Oh, I use use Adobe CC Photoshop and Photoshop Lightroom and all are up to date. I am a freelancer who just recently switched to CC. Wondering whether I made a mistake. Because I am a freelancer, the software must work with minimal hassle (in real time, not tech-time). Please help with a quick fix if you can. Thanks. MichelHi Birbrajer,
Found this:
Installation failed. Error U44M1P7 | Updates
http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html
Looks like the updates can be downloaded from here:
http://www.adobe.com/exchange/em_download/
-Dave -
Problem during OIM Installation - exception in setup_weblogic.log
Hi,
I am trying to install OIM 9.1.01 on weblogic 10.3. The installation goes fine till 100%, showing "Final Vital Productor Data Registry" but the finish screen is not shown. Instead the below exception is written on the setup_weblogic.log file.
Kindly help me to resolve the issue.
cleanUpAndExplode:
[echo] Undeploying the applications
[wldeploy] weblogic.Deployer -debug -verbose -noexit -name Nexaweb -targets myserver -adminurl t3://localhost:7001 -user weblogic -password ******** -remove
[wldeploy] Deprecated operation, remove, specified. Consider using undeploy operation instead.
[wldeploy] weblogic.Deployer invoked with options: -debug -verbose -noexit -name Nexaweb -targets myserver -adminurl t3://localhost:7001 -user weblogic -remove
[wldeploy] [WebLogicDeploymentManagerImpl.<init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
[wldeploy] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at localhost:7001, as user weblogic
[wldeploy] [ServerConnectionImpl.getEnvironment():288] : setting environment
[wldeploy] [ServerConnectionImpl.getEnvironment():291] : getting context using t3://localhost:7001
[wldeploy] [ServerConnectionImpl.close():334] : Closing DM connection
[wldeploy] [ServerConnectionImpl.close():354] : Unregistered all listeners
[wldeploy] javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
[wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
[wldeploy] at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
[wldeploy] at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:446)
[wldeploy] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:304)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[wldeploy] at weblogic.Deployer.run(Deployer.java:70)
[wldeploy] at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:597)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:364)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:341)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[wldeploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[wldeploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[wldeploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:364)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:341)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[wldeploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[wldeploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[wldeploy] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[wldeploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[wldeploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[wldeploy] Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
[wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:143)
[wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
[wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
[wldeploy] ... 35 more
[wldeploy] Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
[wldeploy] java.net.SocketTimeoutException: Read timed out; No available router to destination]
[wldeploy] at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
[wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:315)
[wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:285)
[wldeploy] at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
[wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:192)
[wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:170)
[wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:330)
[wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:302)
[wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
[wldeploy] ... 37 more
[wldeploy] Caused by: java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
[wldeploy] java.net.SocketTimeoutException: Read timed out; No available router to destination
[wldeploy] at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
[wldeploy] at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
[wldeploy] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
[wldeploy] at weblogic.security.service.SecurityManager.runAs(Unknown Source)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
[wldeploy] ... 45 more
[wldeploy] Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
[wldeploy] java.net.SocketTimeoutException: Read timed out; No available router to destination
[wldeploy] at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
[wldeploy] at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
[wldeploy] at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
[wldeploy] at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
[wldeploy] at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
[wldeploy] at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:188)
[wldeploy] ... 50 more
[wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://localhost:7001': Destination unreachable; nested exception is:
[wldeploy] java.net.SocketTimeoutException: Read timed out; No available router to destination. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
[wldeploy] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:316)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[wldeploy] at weblogic.Deployer.run(Deployer.java:70)
[wldeploy] at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:597)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:364)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:341)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[wldeploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[wldeploy] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[wldeploy] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:364)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:341)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[wldeploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[wldeploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[wldeploy] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[wldeploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[wldeploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[wldeploy] Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
[wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
[wldeploy] at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManagerHi,
This is regarding "[wldeploy] java.net.SocketTimeoutException: Read timed out; No available router to destination. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server."
Login to your weblogic server console. Navigate to Environments -> Server -> AdminServer -> Protocols
You will see a check box with the name Tunneling, just enable it and save the configuration.
Try now, the above exception will not occur.
Br,
Arun BC
Maybe you are looking for
-
I have setup the thumbnail pictures for users in Sharepoint 2013. I can browse the library throughy this link http://myserver/sites/mysite/_layouts/15/start.aspx#/User%20Photos/Forms/Thumbnails.aspx?RootFolder=%2Fsites%2Fmysite%2FUser%20Photos%2FPro
-
Copy files listed in a text file
I'm a programmer at a large university, and not normally involved in systems administration. However, I've been asked to solve a problem. One of our departments relied on an Xserve for storage of many thousands of files (many hundreds of GB). It was
-
Notes not syncing w/ iCloud. Contacts, calendar, etc. sync, but not notes.
-
My CS6 installation key isn't recognised when I want to re-install, what should I do?
I occasionally use CS6 Design & Web Premium. I've had problems logging on so I uninstalled on my two computers, and tried to re-install. Each time I try, I'm told the key is not recognized. What can I do?
-
Unable to Boot - Stoping at Blue Screen
Help Please. I am unable to boot. I get to the blue screen but will not go to login page. I can boot in safe mode and from install disk. I have run disk utility and repaired disk & permissions. I have also reset PRAM. Also removed login items from my