Opening URL generated in script.
I'm a novice and could use a bit of help.I'm trying to generate a script that will capture the default gateway of the network I'm connected to and then open it in a browser. I've managed to get the IP of the default gateway but every time I try to open it it errors out. Here is the script:
+Set DefGate to do shell script "netstat -nr | grep '^default' | awk '{print $2}'"+
+Tell application "Firefox"+
activate
+get url DefGate+
+end tell+
can anyone shed some light on why this isn't working?
Try using:
open location "http://" & (do shell script "netstat -nr | grep '^default' | awk '{print $2}'")
(51592)
Similar Messages
-
I am trying to open a page in IE-tab using javascript like this, <script type="text/javascript"> window.location.href = "chrome://coralietab/content/container.html?url=0,myurl" ;</script>.Error occured : [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.href]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::myurl :: load :: line 234" data: no] I have IE-Tab plug-in installed..when I open the same link manually in mozilla,it works fine and page gets opened in Ie-tab.
The only way this might be possible is by using the HostContainer object
to access the HTML page and do it from there. -
Open URL from a Captivate generated MP4
Hello all,
I am putting together an instructional video (.mp4) using Captivate 5.5, the video will be targeting iOS users.
I will need to provide a way to open some webpages while the end user is playing the mp4 file. My thought was to include a button with an assigned action to "Open URL or file" and specify the URL.
This does not seem to work after publishing to mp4 format. Is that feature not supported in Captivate mp4 files? Or did I forget a step maybe? Is there a workaround to achieve the same result?
I'd appreciate any input on this.Hi there
Unless something has changed recently, it is my understanding that MP4 is strictly a video format and does not support hyperlinking or other types of interactivity.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
==============>deploy log information:
2015-04-27_14-50-42:INFO:Install Args AGENT_PORT=3872
2015-04-27_14-50-42:INFO:Action description 在主机 expquery03 上执行命令 /bin/sh -c '/u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=expquery03 AGENT_BASE_DIR=/u01/app/agent_12c OMS_HOST=oragc12c.yto.net.cn EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872'
2015-04-27_14-50-42:INFO:Attempt :1 pty required false with no inputs
2015-04-27_15-11-47:INFO:/bin/sh -c '/u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=expquery03 AGENT_BASE_DIR=/u01/app/agent_12c OMS_HOST=oragc12c.yto.net.cn EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872' execution failed on host expquery03
2015-04-27_15-11-47:INFO:Pattern ERROR: found in file /opt/app/oem12c/gc_inst/em/EMGC_OMS1/sysman/agentpush/2015-04-27_14-18-30-PM/logs/expquery03/install.log Line ERROR: Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
2015-04-27_15-11-47:INFO:Error Message found Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
2015-04-27_15-11-47:INFO: ACTION 在主机 expquery03 上执行命令 /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=expquery03 AGENT_BASE_DIR=/u01/app/agent_12c OMS_HOST=oragc12c.yto.net.cn EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872
2015-04-27_15-11-47:INFO: OUT null
2015-04-27_15-11-47:INFO: ERR Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
2015-04-27_15-11-47:INFO: EXIT CODE1
2015-04-27_15-11-47:INFO:InvocationTargetException Exception
2015-04-27_15-11-47:INFO:Printing Exception :java.lang.reflect.InvocationTargetException
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:597)
at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.executeActions(BaseDeployerOps.java:1924)
at oracle.sysman.core.agentpush.ui.deployer.NewAgentDeployer.deploy(NewAgentDeployer.java:59)
at oracle.sysman.core.agentpush.ui.deployfwk.DeploymentWorker.run(DeploymentWorker.java:26)
at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:311)
Caused by: CommandException: err: Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install. out: null exitcode: 1
stacktrace:
null
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractive(DeployerOps.java:1204)
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractive(DeployerOps.java:1050)
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:644)
at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:593)
at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doInstall(BaseDeployerOps.java:484)
oem@oragc12c bin]$ more /u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-04-27_15-10-25-PM.log
/u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-04-27_15-10-25-PM.log: No such file or directory
[oem@oragc12c bin]$ more /opt/app/oem12c/gc_inst/em/EMGC_OMS1/sysman/agentpush/2015-04-27_14-18-30-PM/logs/expquery03/install.log
-e Validating the OMS_HOST & EM_UPLOAD_PORT
Executing command : /u01/app/agent_12c/core/12.1.0.4.0/jdk/bin/java -classpath /u01/app/agent_12c/core/12.1.0.4.0/jlib/agentInstaller.jar:/u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/OraInstaller.jar oracle.s
ysman.agent.installer.AgentInstaller /u01/app/agent_12c/core/12.1.0.4.0 /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM /u01/app/agent_12c -prereq
Validating oms host & port with url: http://oragc12c.yto.net.cn:4903/empbs/genwallet
Validating oms host & port with url: https://oragc12c.yto.net.cn:4903/empbs/genwalletReturn status:3-oms https port is passedUnzipping the agentcoreimage.zip to /u01/app/agent_12c ....12.1.0.4.0_PluginsOneof
fs_197.zip
Executing command : /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/unzip -o /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM/12.1.0.4.0_PluginsOneoffs_197.zip -d /u01/app/agent_12cExecuting command : /u01/
app/agent_12c/core/12.1.0.4.0/jdk/bin/java -d64 -classpath /u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/OraInstaller.jar:/u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/xmlparserv2.jar:/u01/app/agent_12c/core/12
.1.0.4.0/oui/jlib/srvm.jar:/u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/emCfg.jar:/u01/app/agent_12c/core/12.1.0.4.0/jlib/agentInstaller.jar:/u01/app/agent_12c/core/12.1.0.4.0/oui/jlib/share.jar oracle.sysman
.agent.installer.AgentInstaller /u01/app/agent_12c/core/12.1.0.4.0 /u01/app/agent_12c/ADATMP_2015-04-27_14-18-30-PM /u01/app/agent_12c /u01/app/agent_12c/agent_inst AGENT_BASE_DIR=/u01/app/agent_12c
Failed to read the inventory
Failed to read the inventory=====================>but the inventory no problem
Cloning the agent home...
Executing command: /u01/app/agent_12c/core/12.1.0.4.0/oui/bin/runInstaller -debug -ignoreSysPrereqs -clone -forceClone -silent -waitForCompletion -nowait ORACLE_HOME=/u01/app/agent_12c/core/12.1.0.4.0 AG
ENT_BASE_DIR=/u01/app/agent_12c ORACLE_HOSTNAME=expquery03 AGENT_BASE_DIR=/u01/app/agent_12c OMS_HOST=oragc12c.yto.net.cn EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst b_doDiscovery=f
alse b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872 -noconfig ORACLE_HOME_NAME=agent12c1 -force b_noUpgrade=true
ERROR: Agent Clone Failed SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
Agent Deploy Log Location:/u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-04-27_15-10-25-PM.log
============>agent client privage and "/tmp" information at hp-unix
$ bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 5242880 384784 4820160 7% /
/dev/vg00/lvol1 1835008 376272 1447400 21% /stand
/dev/vg00/lvol7 20971520 8977200 11902024 43% /var
/dev/vg00/lvol9 7864320 3213136 4614904 41% /usr
/dev/vg00/lvol6 85983232 63055260 21527575 75% /u01
/dev/vg00/lvol5 10485760 2268216 8153768 22% /tmp===============>
/dev/vg00/lvol8 10354688 6536024 3788952 63% /opt
/dev/vg00/lvol4 52428800 13319488 38803816 26% /home
$ ls -lt
total 6
drwxr-xr-x 2 oem oinstall 1024 Apr 27 15:14 agent_12c
drwxrwx--- 5 grid oinstall 1024 Apr 27 15:11 oraInventory
drwxr-xr-x 3 oem oinstall 96 Apr 22 16:16 agent
drwxrwxr-x 8 grid oinstall 1024 Apr 21 14:58 grid
drwxrwxr-x 6 grid oinstall 96 Aug 7 2013 oracle
drwxr-xr-x 3 root oinstall 96 Aug 2 2013 11.2.0
$ cd oraInventory
$ ls -lt
total 44
drwxrwx--- 2 grid oinstall 16384 Apr 27 15:10 logs
drwxrwx--- 3 grid oinstall 2048 Apr 22 10:36 backup
drwxrwx--- 2 grid oinstall 1024 Apr 3 2014 ContentsXML
-rwxrwx--- 1 grid oinstall 1686 Aug 6 2013 orainstRoot.sh
-rw-rw---- 1 grid oinstall 56 Aug 6 2013 oraInst.loc
$ cd ContentsXML
$ ls
comps.xml inventory.xml libs.xml
$ ls -lt
total 6
-rw-rw---- 1 grid oinstall 842 Apr 21 10:31 inventory.xml
-rw-rw---- 1 grid oinstall 329 Apr 20 17:32 comps.xml
-rw-rw---- 1 grid oinstall 292 Apr 20 17:32 libs.xml
I view some oms document ,don't know the caseagent client's apeloy log:
$ more /u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_2015-04-27_16-22-23-PM.log
INFO: /u01/app/agent_12c/core/12.1.0.4.0
INFO: /u01/app/agent_12c/ADATMP_2015-04-27_15-33-29-PM
INFO: /u01/app/agent_12c
INFO: /u01/app/agent_12c/agent_inst
INFO: AGENT_BASE_DIR=/u01/app/agent_12c
INFO: -ignorePrereqs
INFO: ORACLE_HOSTNAME=expquery03
INFO: AGENT_BASE_DIR=/u01/app/agent_12c
INFO: OMS_HOST=oragc12c.yto.net.cn
INFO: EM_UPLOAD_PORT=4903
INFO: AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst
INFO: b_doDiscovery=false
INFO: b_startAgent=false
INFO: b_forceInstCheck=true
INFO: AGENT_PORT=3872
INFO: AGENT_BASE_DIR=/u01/app/agent_12c
INFO: ORACLE_HOSTNAME=expquery03
INFO: AGENT_BASE_DIR=/u01/app/agent_12c
INFO: OMS_HOST=oragc12c.yto.net.cn
INFO: EM_UPLOAD_PORT=4903
INFO: AGENT_INSTANCE_HOME=/u01/app/agent_12c/agent_inst
INFO: b_doDiscovery=false
INFO: b_startAgent=false
INFO: b_forceInstCheck=true
INFO: AGENT_PORT=3872
INFO: Setting the system property ORACLE_HOSTNAME to:expquery03
INFO: Setting the system property oracle.installer.oui_loc to:/u01/app/agent_12c/core/12.1.0.4.0/oui
INFO: Agent Base Directory is : /u01/app/agent_12c
INFO: Agent Home is : /u01/app/agent_12c/core/12.1.0.4.0
INFO: Sbin Home is : /u01/app/agent_12c/sbin
INFO: Logs Location is : /u01/app/agent_12c/core/12.1.0.4.0/cfgtoollogs/agentDeploy
SEVERE: User has specified -ignorePrereqs when invoking the installer. All pre-requisite checks will be ignored for this installation session. Configuration failures may result if proper pre-requisites are
not satisfied.
INFO:
Setting system property CUSTOM_INVENTORY to /u01/app/oraInventory
INFO: Clone start time:2015-04-27_16-22-24-PM
INFO: Executing command: /u01/app/agent_12c/core/12.1.0.4.0/oui/bin/runInstaller -debug -ignoreSysPrereqs -clone -forceClone -silent -waitForCompletion -nowait ORACLE_HOME=/u01/app/agent_12c/core/12.1.0.4.
0 -noconfig ORACLE_HOME_NAME=agent12c1 -force
INFO: Starting Oracle Universal Installer...
INFO:
INFO: Checking swap space: must be greater than 500 MB. Actual 61440 MB Passed
INFO: Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-04-27_04-22-24PM. Please wait ...Oracle Universal Installer, Version 11.1.0.12.0 Production
INFO: Copyright (C) 1999, 2014, Oracle. All rights reserved.
INFO:
INFO: org.xml.sax.SAXParseException: <Line 1, Column 38>: XML-20100: (Fatal Error) Expected '?>'.
INFO: at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
INFO: at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
INFO: at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:345)
INFO: at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:307)
INFO: at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:212)
INFO: at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readHomes(OiiiInstallXMLReader.java:150)
INFO: at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readHomes(OiiiInstallXMLReader.java:88)
INFO: at oracle.sysman.oii.oiii.OiiiInstallInventory.readHomes(OiiiInstallInventory.java:708)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadPartialInstallInv(OiiiInstallAreaControl.java:766)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initInstallInv(OiiiInstallAreaControl.java:811)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadInstallInventory(OiiiInstallAreaControl.java:582)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1965)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1929)
INFO: at oracle.sysman.oii.oiic.OiicCloneSession.setAreaControls(OiicCloneSession.java:1309)
INFO: at oracle.sysman.oii.oiic.OiicCloneSession.<init>(OiicCloneSession.java:932)
INFO: at oracle.sysman.oii.oiic.OiicSessionWrapper.createNewSession(OiicSessionWrapper.java:878)
INFO: at oracle.sysman.oii.oiic.OiicSessionWrapper.<init>(OiicSessionWrapper.java:189)
INFO: at oracle.sysman.oii.oiic.OiicInstaller.init(OiicInstaller.java:511)
INFO: at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:967)
INFO: at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:905)
INFO: org.xml.sax.SAXParseException: <Line 1, Column 38>: XML-20100: (Fatal Error) Expected '?>'.
INFO: at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
INFO: at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
INFO: at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:345)
INFO: at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:307)
INFO: at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:212)
INFO: at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readHomes(OiiiInstallXMLReader.java:150)
INFO: at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readHomes(OiiiInstallXMLReader.java:88)
INFO: at oracle.sysman.oii.oiii.OiiiInstallInventory.readHomes(OiiiInstallInventory.java:708)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadPartialInstallInv(OiiiInstallAreaControl.java:766)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initInstallInv(OiiiInstallAreaControl.java:811)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadInstallInventory(OiiiInstallAreaControl.java:582)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1965)
INFO: at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1929)
INFO: at oracle.sysman.oii.oiic.OiicCloneSession.setAreaControls(OiicCloneSession.java:1309)
INFO: at oracle.sysman.oii.oiic.OiicCloneSession.<init>(OiicCloneSession.java:932)
INFO: at oracle.sysman.oii.oiic.OiicSessionWrapper.createNewSession(OiicSessionWrapper.java:878)
INFO: at oracle.sysman.oii.oiic.OiicSessionWrapper.<init>(OiicSessionWrapper.java:189)
INFO: at oracle.sysman.oii.oiic.OiicInstaller.init(OiicInstaller.java:511)
INFO: at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:967)
INFO: at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:905)
INFO: OUI-10053:Unable to generate temporary script: /tmp/orainstRoot.sh. Unable to continue install.
INFO: SEVERE:OUI-10053:Unable to generate temporary script: {0}. Unable to continue install.
INFO: Plugin homes:
INFO:
INFO: LD_LIBRARY_PATH environment variable :
INFO: -------------------------------------------------------
INFO: Total args: 42
INFO: Command line argument array elements ...
INFO: Arg:0:/tmp/OraInstall2015-04-27_04-22-24PM/jre/bin/java:
INFO: Arg:1:-Doracle.installer.library_loc=/tmp/OraInstall2015-04-27_04-22-24PM/oui/lib/hpia64:
INFO: Arg:2:-Doracle.installer.oui_loc=/tmp/OraInstall2015-04-27_04-22-24PM/oui:
INFO: Arg:3:-Doracle.installer.bootstrap=TRUE:
INFO: Arg:4:-Doracle.installer.startup_location=/u01/app/agent_12c/core/12.1.0.4.0/oui/bin:
INFO: Arg:5:-Doracle.installer.jre_loc=../../jre:
INFO: Arg:6:-Doracle.installer.nlsEnabled="TRUE":
INFO: Arg:7:-Doracle.installer.prereqConfigLoc= :
INFO: Arg:8:-Doracle.installer.unixVersion=B.11.31:
INFO: Arg:9:-d64:
INFO: Arg:10:-mx96m: -
Hi,
i'm using netbeans mobility 5.0
as i was new to this mobile programming i'm getting the output as "Connection Refused"
plz plz plz plz....... help me out from this problem
here is my code..
code:_
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.io.*;
import java.io.*;
public class FileViewer extends MIDlet implements CommandListener
private Display display; // Reference to Display object
private TextBox tbViewer; // View file contents in a textbox
private Command cmView; // Command to view file
private Command cmExit; // Command to exit
private String url = "http://www.corej2me.com/midpbook_v1e1/scratch/fileViewer.hlp";
public FileViewer()
display = Display.getDisplay(this);
// Define commands
cmView = new Command("View", Command.SCREEN, 2);
cmExit = new Command("Exit", Command.EXIT, 1);
tbViewer = new TextBox("Viewer", "", 250, TextField.ANY);
tbViewer.addCommand(cmView);
tbViewer.addCommand(cmExit);
tbViewer.setCommandListener(this);
public void startApp()
display.setCurrent(tbViewer);
private void viewFile() throws IOException
HttpConnection http = null;
InputStream iStrm = null;
try
http = (HttpConnection) Connector.open(url);
// Client Request
// 1) Send request method
http.setRequestMethod(HttpConnection.GET);
// 2) Send header information (this header is optional)
http.setRequestProperty("User-Agent", "Profile/MIDP-1.0 Configuration/CLDC-1.0");
// 3) Send body/data - No data for this request
// Server Response
// 1) Get status Line
System.out.println("Msg: " + http.getResponseMessage());
System.out.println("Code: " + http.getResponseCode());
// 2) Get header information
if (http.getResponseCode() == HttpConnection.HTTP_OK)
// 3) Get data (show the file contents)
iStrm = http.openInputStream();
int length = (int) http.getLength();
if (length > 0)
byte serverData[] = new byte[length];
iStrm.read(serverData);
tbViewer.setString(new String(serverData));
finally
if (iStrm != null)
iStrm.close();
if (http != null)
http.close();
public void pauseApp()
public void destroyApp(boolean unconditional)
public void commandAction(Command c, Displayable s)
if (c == cmView)
try
viewFile();
catch (Exception e)
System.out.println(e.toString());
else if (c == cmExit)
destroyApp(false);
notifyDestroyed();
output*
build.xml(debug)*
some....
Application descriptor does not declare any MIDlet. Direct execution is not allowed.
Generated "C:\Documents and Settings\Lakshmi Narayan J\jlnexample\dist\jlnexample.jar" is 2655 bytes.
post-jar:
debug:
C:\Documents and Settings\Lakshmi Narayan J\jlnexample\src\.timestamp
Starting emulator in debug server mode on port 1469
com.sun.kvem.midletsuite.InvalidJadException: Reason = 22
The manifest or the application descriptor MUST contain the attribute: MIDlet-1
nbdebug:
KdpDebugTask connecting to debugger 1 ..
KdpDebugTask connecting to debugger 2 ..
KdpDebugTask connecting to debugger 3 ..
KdpDebugTask connecting to debugger 4 ..
KdpDebugTask connecting to debugger 5 ..
Connecting JPDA Debugger to emulator timed out after 5 attempts and 31 seconds.
C:\Documents and Settings\Lakshmi Narayan J\jlnexample\nbproject\build-impl.xml:306: The following error occurred while executing this line:
C:\Documents and Settings\Lakshmi Narayan J\jlnexample\nbproject\build-impl.xml:311: Connecting JPDA Debugger to emulator timed out after 5 attempts and 31 seconds.
BUILD FAILED (total time: 43 seconds)
Debugger console:
Attaching to localhost:1469
Connection refused.
Edited by: LAKSHMI_NARAYAN_J on Jun 23, 2008 9:54 AMIt's called potential deadlock. The emulator blocks your app 'cause any connection and commandAction needs its own thread. So I suggest use a new thread with this http connection then your program will be run successful.
-
I want to open URL in new tab in SSRS report.
I want to open URL in new tab. Actually I am passing URL expression in Action options of Textbox properties in SSRS report.The user is getting directed to desired URL but using same tab in which report is generated. I want to open URL in new tab.
How it is possible?See if this thread going to help you
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/6ca4b1d4-3a04-413b-bd31-856aac3d8a8c/how-to-open-url-in-new-tab-rather-than-new-window-in-ssrs-2008-r2?forum=sqlreportingservices
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Problems with URLs generated for My/BEx Portfolio in a FPN
Has andone successfully configured a FPN that uses My/BEx Porfolio?
We are facing a problem with the URLs generated when launching a BEx web query stored in either My Portfolio or BEx Portfolio after it has been saved from the BEx Web Analyzer. After saving the KM document in My/BEx Portfolio in BEx Analyzer attempts to execute the link from the Portfolio IView result in "Page not found or not avaialble". The KM document appears to be correct as it can be opened correctly from the BEx Analyzer template.
Current Setup:
Consumer Portal: EP 7 (SP17)
Producer Portal: EP 7 (SP17 patch 11)
BW System: BI 7 (SPS16, BW SP18)
SSO and Trusts are configured and working.
WebDav is configured to store BEx Portfolio entries on the Consumer
Currently RSPOR_T_PORTAL is configured with hostname of Producer, however it was initially configured with Consumer host, resulting in the same problem, though this should not matter, as the RDL IView is used regardless of the setup.
Scenario:
Existing Roles have been imported from BW System into Producer Portal, the roles are not used, only the imported IViews
IViews of the Queries have been included in Consumer Roles using RDL
IView has been added to this role to display local BEx Portfolio links
RDL IView has been added to this role to display Producer My Portfolio links
1. Launch IView of Query included in Role
2. Use Save As functionality to store KM document in My Portfolio or Bex Portfolio
3. Open the cooresponding Portfolio IView and click on the link
Here's an example URL resulting from launching the link
http://pportal.lhoist.com:50000/irj/servlet/prt/portal/prteventname/navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage?BOOKMARK=D4UE3NQC7T5MUXILOGH6GV7LC&BI_TARGET_IVIEW=fpn%3AEP%2Fpcd%3Aportal_content%2FLhoist_BI%2FRoles%2FLhoist.MyReporting%2FStandardReports_2%2FSales%2FProfitability%2FSales_Quantity%2FMPXXSAP103_00000071%3AhRPQZv3B9%252BE66ckUgr9%252Fcg%253D%253D%3A1%3A&NavigationContext=fpn:EP/pcd:portal_content/Lhoist_BI/Roles/Lhoist.MyReporting/StandardReports_2/Sales/Profitability/Sales_Quantity/MPXXSAP103_00000071:hRPQZv3B9%2BE66ckUgr9%2Fcg%3D%3D:1:&windowId=WID1231315538117
Thank you.In fact I have exported a master file and I have brought it into Compressor.
Master file exported from Final Cut:
Transcoded file:
Compressor is not able to open the file it has just transcoded: -
Hi,
Is it possible to generate a URL on sap script.
Like something ind of 'click here' shall take to to that URL....
Please let me know and details on it.
Thanks,
Santosh.HI Santosh,
go to that particular window in which u want to place the hyperlink or URL and place the cursor at particular point and go thru
Insert-> Text ->Hypertext.
thanks
satheesh. -
[Urgent] - Change "tmp_" prefix used while generating alter script
Hi All,
While generating Alter script, if "Backup Tables" option is selected, then PD renames existing table with "tmp_".
How can we change it to sth. else and also make it uppercase?
Using DBMS is DB2 for z/OS v10.
Using PD v16.5 SP04 PL04.
Thanks in advance.
Regards
MehmetHi Memhet,
The script syntax is in the DBMS file which can be found by going to Tools---Resources---DMBS and selecting IBM DB2 Version 10 for z/OS. From there you would open up to:
DB2MVS10::Script\Objects\Table
You can modify the values, however, make sure to save it as a new DBMS file in case you need to return to the default.
Unfortunately I am not sure what needs to be changed or if it's possible, but this is where you would start.
Adam -
After upgrade to Snow Leopard 10.6 I cannot get AppleScript to do a "getURL" command.
My script looks like this:
tell application "QuickTime Player"
activate
getURL "http://www.sr.se/webbradio/include/CreatePlaylist.asp?SkipDetect=1&id=p1&type= live&AvailableAudioFormats=3&AudioFormat=3&IsBlock="
end tell
Why doesn't it work?
Tia,
/andreasWith Snow Leopard, both scripts below will work:
tell application "QuickTime Player 7" -- the previous version of QuickTime Player
activate
getURL "http://www.sr.se/webbradio/include/CreatePlaylist.asp?SkipDetect=1&id=p1&type= live&AvailableAudioFormats=3&AudioFormat=3&IsBlock="
end tell
or
tell application "QuickTime Player" -- the new version of QuickTime Player
activate
*open URL* "http://www.sr.se/webbradio/include/CreatePlaylist.asp?SkipDetect=1&id=p1&type= live&AvailableAudioFormats=3&AudioFormat=3&IsBlock="
end tell -
Problem with Yahoo Maps..."Error Opening URL..."
I am trying to use a yahoo Action Script 2.0 map to display real estate listings from an xml file. I often receive the following output error, which prevents the entire yahoo map from opening:
Error opening URL ‘http://maps.yahooapis.com/xml/apiconfig.xml?r=988’ (the last 3 digits are random and change each time the problem occurs)
I have searched the internet for a solution and cannot find one.
I have emailed yahoo, who has not responded, as well as other people who have had the problem, but they cannot remember what they did to solve it.
Please help!No, I'm not doing anything to handle security issues.
What I have done is downloaded all the .as files that yahoo uses for their maps (from http://modestmaps.mapstraction.com/trac/browser/trunk/reference/YahooMaps/com/yahoo/maps?r ev=6), including the xml file (http://maps.yahooapis.com/xml/apiconfig.xml).
What I am thinking, correct me if I'm wrong, if I go through all the class files and change their names from "com.yahoo.maps.insertscriptname1.as" to something defining my own server (ie. mikeraydesign.maps.insertscriptname1.as), and point to the xml file from the one .as file that points to the one with the security issue, this might work.
I don't know if it will, but I don't think it can hurt. What do you think?
Regardless, lets say I put all the files into my own folder on my server, (ie. www.mikeraydesign.ca/maps/), how would I go about importing those scripts from my fla? The fla needs to import 4 initial classes, which then point to all the others (in the link I have above). How do you point to online class files? Would this even work?
Thoughts? -
Installation Problem on 11g, RHEL 5 - Unable to generate temporary script
Hello all,
This is for the first time i am encountering this kind of error on 11g. Half way through installation i get this error.
All parameters set correct, used the official installation technique (works fine previously), except for this time i am getting a weird error, which does not allow me to continue with the installation.
Please help.
Environment
Oracle 11g
RHEL 5
Error on GUI -
OUI-10053: Unable to generate temporary script: {0}. Unable to continue install
Error on command prompt -
OUI-10053:Unable to generate temporary script: /u01/app/oraInventory/orainstRoot.sh. Unable to continue install.
Help appreciated.
ThanksHi Monu Koshy
Can you please control the user rights and also the df ?
ls -al /u01/app/oraInventory/
df -h /u01/app/oraInventory/
Regards,
Hub -
Opening url rebuffering stream when previewing songs
How can I fix music previews that play for 3 seconds and then give me an error: opening url rebuffering stream? I never had this issue, and haven't changed anything. What's wrong?
I've been having the same probelm for about 6 months. On itunes 10 and 11. This appears to be a problem that goes back to years which tell sme Apple simply does not care. There are many threads like this one with no answers. I'm going to have to find another app to listen to online radio. I love Apple but sometime ther really can fracking suck.
-
Open url in a new browser via a button
I have created a button within a region and set request='go'. I then have a branch that when request='go', it branches to a url. Is there a way to open a new window when it branches to that url? Basically, I'm trying to open a new browser to go to a specified url when a button is clicked.
Yes no problem,
call an javscript function, which open the new window. that function can get as parameter the item value (eg. the URl text)
function callMyPopupTest(url)
w = open(url,"winLov","Scrollbars=1,resizable=1,width=1100,height=350");
if (w.opener == null) w.opener = self;
w.focus();
this should work
In this excample the URL is static for the button.
If not you have to solve the problem inside the javscript function with getting the value of the item (the url text)
document.getElementById('P21_URL').value;
for that the javascript function parameter has to be the id(eg. name: P21_URL).
hope that helps
thorsten -
Open URL in a new window by closing the parent window
Hi Friends,
Is there any option to open URL in a new window by closing the parent window on a button click?
Already implemented the logics suggested in /people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications , the thread ' URL in same window ' and the standard component WDR_TEST_EXIT_PLUG .But button is not triggerring any actions .plz help me ..............
Regards,
Radhikahi,
Do the following steps :
-> Make an Outbound Plug to the Window.
->Make the type of Outbound plug to Exit Type.
->Add URL of type String as a parameter to the outbound plug of Window.
->Do remember to add Component Name in the Properties Tab of View ( othervs Calling Outbound plug of window from view wont b possible ).
To open a new URL with closing the previous one write this Code in OnAction of Button : ( this Code can be get from Code Wizard too ).
DATA lo_zexit TYPE REF TO ig_zexit . <zexit is name of my Component>
lo_zexit = wd_this->get_zexit_ctr( ).
lo_zexit->fire_out_window_plg(
url = 'http://www.google.com' " string
I hope it helps.
Thanx.
Maybe you are looking for
-
This computer is no longer Authorized to play purchased items that are on the iPhone
I just moved all my files from my old PowerBook Pro to my new PowerBook Pro which came with Lion pre-installed. Everything has worked fine except that when I try to sync my iPhone to my Power Book, I get a popup box saying that "This computer is no
-
Hi Experts, Can anyone tell me about the ReqDate field in the Invoice table OINV. What date appears in this field? Under which circumstance does ReqDate field contain value? (ReqDate acepts NULL) Please help Thanks in Advance Jaics
-
Hi , My requirement is to pick a file from a location which can be either be a pdf or jpeg file and then transfer it to a different location. Is this possible using BPEL or ESB?
-
Hello, I would like to ask if anyone could refer me to some reading material that explains the difference in recommended LabVIEW programming for single core and multi core machines? Assuming I had a multi VI program that runs fine on a quad core, but
-
Trouble with Trusteer Rapport Removal and sudo
Hi I have Trusteer on my system and I'm having problems removing it completely using terminal. (1) Trusteer - with me -gums up the performance of Safari esp in private mode. The IBM people say I should remove and reinstall. Tried uninstall app /reins