Does CreateURL(filename) use virtual path?
About createURL's parameter "filename"
it must be a virtual path or a fullpath?
Now I use as below,but it throws a FileNotFound exception:
source......
OracleXMLSave sav = new OracleXMLSave(conn, "test");
URL url = sav.createURL
("c:\backup\OracleXMLSQL\OracleXSU\sample\test.xml");
sav.insertXML(url);
is that?
thanks.
null
shark1 (guest) wrote:
: About createURL's parameter "filename"
: it must be a virtual path or a fullpath?
: Now I use as below,but it throws a FileNotFound exception:
: source......
: OracleXMLSave sav = new OracleXMLSave(conn, "test");
: URL url = sav.createURL
: ("c:\backup\OracleXMLSQL\OracleXSU\sample\test.xml");
: sav.insertXML(url);
: is that?
: thanks.
The method takes an absolute path. You must make sure you
have "file://.." permissions.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null
Similar Messages
-
Why does my mac use virtual memory when I still have free physical memory?
I have a 2011 i7 quad core mac, I was hoping it would scream. Most of the time it does. However when trying to edit within FCPX I get a very disappointing experience with many pauses and pin wheels if I don't close every single other program.
I have 8GB of physical memory and when i'm experiencing these problems I see that i still have 1-2 gb of physical memory free or inactive. At the same time FCPX is only using 2gb of memory. I just happened to keep an eye on the VM page in/outs and noticed them going up.
Right now i'm doing some browsing and emailing, that's about it.. its sat with over 4gb of memory free or inactive and yet still the page in/outs is still going up occasionally. It's currently at over 2 million page ins, and over 1 million page outs.
So with so much physical memory free why is this happening!? At the moment the mac feels nice and responsive, but if i start trying to use FCPX i'll start to experience these slowdowns, stalls... whenever i see these i see my main hdd is being accessed whilst the pinwheel is displayed.. I mean i get it, its VM, the hdd is too full, a bit fragmented perhaps, its stalling... but i've got gigs of memory sitting free or inactive... why wont the OS use it!!!
Would my experience improve if i took the plunge and got 16gb of memory instead of 8gb!?
Thanks for your help!Because without virtual memory, managing computer RAM is a royal pain in the ...
Virtual memory cost you nothing, and gains you huge benefits, even if you do not notice it
What cost you is when you need more real RAM than is available, and things are thown out of RAM, either back to the original file it came from (Read Only information), or pushed out to the swapfiles (/var/vm/*). Then the system has to wait for slower disk access. But even this is better than not being able to run the apps until you quit something else.
(speaking as someone that starting his professional life working with 1" punch paper tape, 80 columns cards, 7-track and 9-track mag tapes, 1MB disks (you heard me right 1 Megabyte), etc..., and trust me when I tell you that virtual memory is a god send to software development).
There are a lot of problems running a modern operating system with out virtual memory. For example all the shared libraries and frameworks that provide services to an application would all need to be compiled into the application, which means every application gets bigger and instead of having a single copy of the shared library or framework, you would have dozens of copies wasting your RAM.
Without virtual memory, you would be required to find a contiguous chunk of RAM to run your application. Think of this like going out to dinner by yourself, you can find any available table, but if you go to dinner with your extended family, you need a table for 10 to 15, and if you are going to dinner with your high school graduation class, you will need hundreds of seats all next to each other and a very large table. In the later situations you have to wait until the resturante has enough contiguous space, which means you have to wait until other diners finish. There may be lots of empty tables, but they are not together, and your group wants/needs to sit together. Virtual memory allows gathering any 4K chunk of RAM, building a virtual memory map for all those random 4K chunks, and make it look like one big contiguous chunk of RAM, so you can run your application right away, no waiting.
Going back to shared libraries and frameworks. This code will need to have addresses resolved so they branch to the correct locations during execution, and it will need to have addresses resolved on where its program variables are located in RAM. Using virtual memory, you can local a shared object into RAM, then place it in everyone's virtual memory map at the exact same RAM address. This means everyone can use the exact same code, and since everyone is using it at the same RAM address, it makes life so much easier for the operating system (translation, less work, less wasted CPU time, faster execution).
When a program wants to grow, for example a web browser loading a web page (and its images) into RAM, it needs to allocate additional RAM. In the contiguous RAM model, you need to get control of the RAM that imediately following your program, but if that RAM is being used by someone else, you have to wait until that program goes away.
Virtual memory provides protection from another program looking at and modifying your program's RAM. Malware would just love for virtual memory to go away.
You want virtual memory. What you do not want is excessive paging activity.
If you are concerned, then you can launch Applicaitons -> Utilities -> Terminal. Once you have a terminal command prompt, enter the following command:
sar -g 60 100
which will tell you the number of 4k pages written to /var/vm/pagefile ever minute for 100 minutes (modify the numbers to suit your tastes). You can then go about your normal usage, and come back later to see how much you have been using the pagefiles. If you have mostly zeros, and an occasional small burst, this is noise, and not worth worrying about. If you have sustained pageout activity, with higher numbers, then you should either consider running less things all at the same time, or looking for an application that is being greedy with its memory use (or has a memory leak), OR get more RAM for your Mac if you need to do all those things at once.
But do not complain about virtual memory. Life would be much worse without it. Then again if you have a better idea, write a research paper, and get operating system vendors (as well as hardware vendors) to implement your ideas. I am serious, as I've seen many accepted computing ideas be overturned by good new ideas. -
(Urgent) How to read file properties with virtual path?
I have the data.properties file, and write a servlet file to read properties from this properties file. But I get a problem, that is: I CANNOT USE VIRTUAL PATH!
How can I solve?
My Application Directory is,
WEB-INF
classes
loadProperties.class
data.properties
More Question,
I can use Context in Web.xml to assign values to parameters. But its will be shown. How can I hide value with a properties file?This is not working.
I am using Tomcat 4.0.6, for my JSP application I am trying to read ini.properties file from \webapps\myapp\WEB-INF\classes\common\
directory through java bean.
System.getProperty("user.dir")
is giving <tomcat-home>\bin directory.
unless I hard code the path this way, I could couldn't read the ini file.
Properties props = new Properties();
String strIniFilePath = <webappPath> + "\\WEB-INF\\Classes\\Offenders\\Common\\";
props.load( new FileInputStream(strPropsFile)); -
9ias rel.2, modplsql and virtual path question
I am running 9iAS setup running a plsql-app.
http://myserver/DAD/procedure.
Problem is that in the html generated by these procedures there are references to images in the form of "http://myserver/DAD/img/image.jpg".
This caused call to an non existing img-procedure in the database and hence no graphics to show.
I tried using virtual path alias as follows:
Alias DAD/img/ "/MYDIR/img/"
<Directory /MYDIR/img/>
AllowOverride None
Order allow,deny
Allow from all
</Directory>
But it still comes up with the same error:
img: PROCEDURE DOESN'T EXIST
Can anyone point out what I am overlooking ??I am trying to fix it using 9iAS setup. I can't touch the procedures themselves unforunately.
-
I use itunes to store my music but I use Virtual DJ Broadcaster to play it. Somehow itunes has changed from Itunes Music Library to Itunes library. Virtual DJ does not Recognize the change. Virtual DJ at present seeing an older version of my libraries. Is it possible to Save my last library and Playlist and re-name everything else in my itunes account so it will again show "Itunes Music Library" Past libraries are of no consiquence . I'm hoping removing everything except the last Library on my computers will make Virtual DJ recognize it. I tried renameing the Library to "Itunes Music Library" but it did not work. I fear the problem is in the Registry and without the correct path I am reluctand to play around in there. Any help would be appreciated.
Incidentally, my first thought was to map a network share from the NAS to my computer, so that my music files appear on the Z: drive, say on my computer. I could then set up iTunes to store music etc in that folder, and to copy all new items to that folder. However, if I do that, all that'll happen is that on my NAS, the library file will become out of date as I add music to the collection but not to the index.
-
MP3 - getStreamLength - using a virtual path help needed !
Hi to all,
I am trying to get the Stream.length of an MP3 file type but
using also a virtual path that is assigned to the Vhost.XML.
After many tries i only manage to make it work only if the
MP3`s are sitting inside the
FMS_root_directory_applications_myMusicApp into a folder with the
name "streams" wherever else i use the code that i am writing below
it returns "0 seconds" as the Stream.length of every MP3.
In the main.asc i use this code :
application.onConnect = function(newClient, userObject,
name){
if(userObject.userType == "Test_Music"){
newClient.virtualKey = "Music";
newClient.name = name;
newClient.getTheLength = function(streamName) {
trace("The "+streamName+" Total Time is
"+Stream.length(streamName)+" : seconds");
return Stream.length(streamName);
application.acceptConnection(newClient);
In the Fla. file i use this to get the length:
var V_Path:String = "Music/";
var TheSound:String = "MyMp3";
var streamName:String = "mp3:"+V_Path+TheSound;
nc.call("getTheLength", { onResult: Delegate.create(this,
setDuration) }, streamName);
function setDuration(nLength:Number):Void {
trace(nLength + " seconds");
Everything is streaming, everything works well, but i can`t
get the StreamLength thou i can stream the MP3 from a virtual path
Any help would be appreciated, i have tried many times with
diferent ways and nothing returns me what i need !
Thanx in advanceumm...
first understand me.. because I'm not use english language..
my language is korea language I'm Korean.. so my english is very
poor..i'm sorry..
I think .. your code is as2 . right?
I make the sample file for kaziris_.
sample code is as3
first you make the application folder in applications (ex.
applications\c)
if you test this sample code that you need
You_call_it_love.mp3 file in vod\media
I hope your success! ([email protected])
//flash code(*.fla)
var nc:NetConnection = new NetConnection();
nc.connect("rtmp://localhost/vod");
nc.addEventListener(NetStatusEvent.NET_STATUS,
statusHandler);
nc.client = this;
var ns:NetStream;
function statusHandler(e:NetStatusEvent):void
trace("e.info.code = "+e.info.code);
if (e.info.code=="NetConnection.Connect.Success")
ns = new NetStream(nc);
var songName:String = "mp3:You_call_it_love";
ns.play(songName);
var responder = new Responder(resultHandler);
nc.call("getStreamLength", responder, songName);
function resultHandler(songTotalTimeLine):void
trace("songTotalTimeLine : "+songTotalTimeLine);
// asc code(main.asc)
application.onConnect = function(client)
client.getStreamLength = function( streamName ) {
trace("length is " + Stream.length( streamName ));
return Stream.length( streamName );
application.acceptConnection(client); -
While I am grateful the previous issue I had with not being able to drag files into design view at all (in CC and CC2014) was resolved.
Guys (Adobe), seriously, if you're going to change the functioning of something that used to work just fine, at least supply a way for a user to revert to the old way... I absolutely loathe that I need a legacy version of DW to continue with my current workflow. Please put it back to the way it was, or at least allow a user to chose between the two behaviours.
If there is a way to do this, without using the Site Manager (which still doesn't work from Finder even with relative to document selected), I would appreciate any guidance.
As for using the Site Manager (before some smart guy suggests that I just use that) I do not wish to navigate to and create up to 20 "sites" a week and wait for DW to cache them all, when I am already in the folder with the image assets in Finder.
Also before someone pipes up and says: "You shouldn't be diving sites in design view anyway", I don't... I develop many, many newsletters every week and the folder structure is such that navigation to the actual image folder using the Site Manager would be painful at best.
I don't really like having to and replace all instances of "file:///Users/me/Work/company/Mailers/Year/wk14/mailer/dev/img/prod5.jpg". It is horrendously wasteful, time-wise.
Thanks in advance for any helpful repliesSorry Murray, DW used to have an idea, my point is that since CS6 its developed a case of Amnesia.
The "elements" are in the "root" folder as follows:
newslettername.htm
img
imagename.jpg
So the relative path would be <img src"img/imagename.jpg" />
However since the change: <img src"file:///Users/me/work/Company/year/week/campaign/img/imagename.jpg" />
Which is completely useless and needs to be corrected before I upload the html anywhere.
As for using the site directory, I did answer that in my initial post. I use a laptop, I really don't want a site manager taking half my screen just so I can see the folder structure and navigate with that, especially since I am already at the files I need in Finder.
Again, this is something that used to work just fine in previous iterations of DW, so I don't believe Adobe is incapable of fixing it nor am I being unreasonable asking for a choice for those that may find the local absolute paths useful in some way. All I want is to be able to chose not to use absolute paths when dragging from Finder. -
Using UNC Path With Execute Process Task
I have an Execute Process task in which the process can either delete, get or put files to an SFTP site. The executeable takes arguments in the following format:
"host" "user" "password" "put" "full local path/filename" "full remote path/filename"
I have the task configured as follows:
RequireFullFileName: True
Executeable: \\server\groups\Development\ETLFiles\ETL_Utilities\ocsshhelper\ocsshhelper.exe
Arguments: sftp user password \\server\groups\Developmement\ETLFiles\ETL_Data_Files\CT_FS_Export_20081113.csv stateExport\export
WorkingDirectory: \\server\groups\Development\ETLFiles\ETL_Utilities\ocsshhelper
WindowStyle: Hidden
Arguments, Executeable and WorkingDirectory have been configured as Expressions. When I execute the package in BIDS from my Windows XP SP3 machine, The task fails with the following error:
[Execute Process Task] Error: In Executing "\\server\groups\Development\ETLFiles\ETL_Utilities\ocSSHHelper\ocsshhelper.exe" "sftp user password put \\server\groups\Development\ETLFiles\ETL_Data_Files\CT_FS_Export_20081113.csv stateExport\export" at "\\server\groups\Development\ETLFiles\ETL_Utilities\ocSSHHelper", The process exit code was "-532459699" while the expected was "0".
My domain account has 'effective' full control rights to the location of ocsshhelper.exe.
It could be that the executable does not support UNC paths, and I'm checking that. I have another package that uses this same application, but uses the physical path, and there are no problems. Does the Execute Process task have issues with UNC paths?
Thank you for your help
cdun2Actually it doesn't work properly in SQL Server 2008 R2. I have a similar EP task. If I set the working directory to \\server\share\subdir the task fails. However, if I map a drive latter to the \\server\share and set working directory to <drive>:\subdir
it works -
Servlet Virtual Path Translation
OK, here is what I'm trying todo. I have a Servlet that I want invoked when /servlet/Router is in the address. The address is http://<server_name>/<dir>/servlet/Router . THis won't work the only way the Servlet will be executed is if I do http://<server_name>/servlet/Router The reason I need to have the <dir> is becuase I don't want all of my jsp in a the base doc directory. And I figured ,it does do this on iPlanet 6.1, is that since I have the virtual path set to /servlet/Router if /<dir>/servlet/Router is used the <dir> is the directory where the servlet would use as where it gets its files. No such luck here. ANy ideas? I have this working on iPlanet6.1 but I used a web.xml file to set it all up. I need to get it working on 4.1 and it does, IF I move all of my files in the doc root directory.
Hi,
The following URL will help u
http://docs.iplanet.com/docs/manuals/enterprise/41/servlets/c-props.htm#530468
or
http://docs.iplanet.com/docs/manuals/enterprise/41/servlets/b-objcf.htm#19718 -
Asp classic cannot find a virtual path
Hi!!
My Asp classic application cannot find files when they are configured in a virtual path. I enabled this option in IIS, but it does'nt work. does anyone have na ideawhat it could be?Hi,
I think the error message is important for us to give more advise to you, please try to use Failed Requests to log the detail error, see more at:
http://technet.microsoft.com/en-us/library/cc731798(v=ws.10).aspx , this forum is used to discuss azure development issues, if your issue is more related with IIS, I suggest
you post it in IIS forum, IIS forum link is: http://forums.iis.net/
Best Regards
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Problem getting db connection when using virtual hosts / tomcat / apache
Hello,
I have servlets that use a connection pool to query an oracle database. When running Tomcat 5.5 stand-alone, everything works fine. But the same servlets do not work when running them on a server tomcat and apache integrated with jk and using virtual hosts. The problem is the connection pool, because servlets not using the pool also work fine.
Does anybody have any idea why this is happening?
Thank you.
LoganHi Saish,
Thank you for helping.
Try connecting with the machinen's IP, if this is a viable strategy for you (meaning the database IP is not dynamically assigned).I'm not sure how to do this. Here is a copy of my context.xml:
<Context path="" docBase="" debug="0">
<Resource name="jdbc/CraigsList" auth="Container"
type="javax.sql.DataSource" username="craigslist" password="xxxxxx"
driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@localhost:1521:GRI"
maxActive="8" maxIdle="4"/>
</Context>
Does this help?
Thanks. -
How to using Virtual fibre channel feature in IC 3.5?
Hi ,guys ,i have noticed that microsoft released IC 3.5 to support virtual fibre channel in redhat and centos linux.
the links are:
http://technet.microsoft.com/en-us/library/dn531026.aspx
http://blogs.technet.com/b/virtualization/archive/2014/01/02/linux-integration-services-3-5-announcement.aspx
in these links above ,notes 2 says:
While using virtual fibre channel devices, ensure that logical unit number 0 (LUN 0) has been populated. If LUN 0 has not been populated, a Linux virtual machine might not be able to mount fibre channel devices natively.
but I do not understand how to ensure logical unit number 0 has been populated ,anyone who have tested such new features please share your expirence , thank you very much.
yoke88
IM:[email protected]The same issues as yours,no HBA card can be seen
I have tried the command here to list hyper-v virutal fiber channel card in oracle linux 6.5 ,but no luck,and EMC powerpath does not support UEK r3 which was installed default on OL 6.5 X64,I will try Oracle linux 6.3 with IC 3.5
http://mikent.wordpress.com/2012/02/07/how-to-find-wwn-of-hba-on-redhat-6-x/
[root@computer01 ~]# uname -a
Linux computer01.localdomain 3.8.13-26.1.1.el6uek.x86_64 #2 SMP Thu Feb 13 19:42:43 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@computer01 ~]# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) [8086:7192] (rev 03)
00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 01)
00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01)
00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 02)
00:08.0 VGA compatible controller [0300]: Microsoft Corporation Hyper-V virtual VGA [1414:5353]
[root@computer01 ~]# fdisk -l
Disk /dev/sda: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000896c0
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 6528 51915776 8e Linux LVM
Disk /dev/mapper/vg_computer01-lv_root: 49.0 GB, 48964304896 bytes
255 heads, 63 sectors/track, 5952 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_computer01-lv_swap: 4194 MB, 4194304000 bytes
255 heads, 63 sectors/track, 509 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
[root@computer01 ~]# lsmod |grep hv
hv_netvsc 21641 0
hv_utils 7440 0
hv_balloon 9843 0
hv_storvsc 10236 2
hv_vmbus 92011 5 hid_hyperv,hv_netvsc,hv_utils,hv_balloon,hv_storvsc
[root@computer01 ~]# modinfo hv_vmbus
filename: /lib/modules/3.8.13-26.1.1.el6uek.x86_64/kernel/drivers/hv/hv_vmbus.ko
version: 3.1
license: GPL
srcversion: 8BAC864516830DFFF7DC2B1
alias: acpi*:VMBus:*
alias: acpi*:VMBUS:*
depends:
intree: Y
vermagic: 3.8.13-26.1.1.el6uek.x86_64 SMP mod_unload modversions
using microsoft virutal fibre chanel trouble shooting guide ,i see the event logs indicate the VHBA card was successfully added to the vm.
yoke88
IM:[email protected] -
Appending a creation date/time stamp to a filename using MS Command Language
I need to access the creation date and time of an existing file and then append that date/time to the filename using MS command language in a .bat file. The code executes on a Windows server. I'm looking at different options for doing
this. I know it can be done using MS Powershell scripting. Any other suggestions appreciated. ThanksI tested the answer you supplied here:
http://social.technet.microsoft.com/Forums/en-US/38873a13-f3f2-40f2-bb96-c1c63722caab/adding-a-datetime-stamp-to-a-file-using-ms-command-language?forum=winserverpowershell
and it worked.
Richard Mueller - MVP Directory Services -
Using Relative Path instead of Full Path OMBPlus
Can we use relative paths in OMBPlus scripts instead of full paths. For example all my OMBplus (tcl) scripts are in folder;
C:\tfsroot2\Interfaces and Extracts\branches\Interfaces and Extracts1.1\000 - OWB Prototype\deploy\ora.stg
and the MDX file I would like to deploy is in
C:\tfsroot2\Interfaces and Extracts\branches\Interfaces and Extracts1.1\000 - OWB Prototype\deploy\ora.stg\scripts\dwextract\tables
but when I try to use
OMBIMPORT MDL_FILE '../scripts/dwextract/tables/$tblName.mdx'
instead of
OMBIMPORT MDL_FILE 'C:/tfsroot2/Interfaces and Extracts/branches/Interfaces and Extracts1.1/000 - OWB Prototype/deploy/ora.stg/scripts/dwextract/tables/$tblName.mdx'
It does not work.
I use
call "C:\OraHome_1\owb\bin\win32\OMBPlus.bat" "C:\tfsroot2\Interfaces and Extracts\branches\Interfaces and Extracts1.1\000 - OWB Prototype\deploy\ora.stg\OMB_DEPLOY_TBL.tcl" XTRCT_WRK_INPUT_FILE
in order to execute.
I think it is because It set the OMBPlus.bat location is a base folder. Any way to overcome this issue and use relative paths instead of the full path?OK, a couple of things. First, you need to remember that TCL treats back-slashes as an escape character. Always use forward slashes in your paths, or double up the back slashes .
So, this should work:
CD "C:\tfsroot2\Interfaces and Extracts\branches\Interfaces and Extracts1.1\000 - OWB Prototype\deploy\ora.stg"
call OMBPlus.bat "C:\\tfsroot2\\Interfaces and Extracts\\branches\\Interfaces and Extracts1.1\\000 - OWB Prototype\\deploy\\ora.stg\\OMB_DEPLOY_TBL.tcl" XTRCT_WRK_INPUT_FILEor this:
CD "C\tfsroot2\Interfaces and Extracts\branches\Interfaces and Extracts1.1\000 - OWB Prototype\deploy\ora.stg"
call OMBPlus.bat "C:/tfsroot2/Interfaces and Extracts/branches/Interfaces and Extracts1.1/000 - OWB Prototype/deploy/ora.stg/OMB_DEPLOY_TBL.tcl" XTRCT_WRK_INPUT_FILEAs an FYI for OMB, if you are prone to doing a lot of scripts and so building libraries of common functions, you can also easilly use the "file" command in order to determine the current directory at runtime so you can plunk your script anywhere with it's required libraries and it will be able to source them at runtime.
For example, all our scripts have this basic bit of code at the beginning so we can pass them between developers and it doesn't matter where anyone put their script directory - the scripts will find the libraries as long as they are co-located:
# Get Current Directory and time
set dtstmp [ clock format [clock seconds] -format {%Y%m%d_%H%M}]
set scrpt [ file split [file root [info script]]]
set scriptDir [ file dirname [info script]]
set scriptName [ lindex $scrpt [expr [llength $scrpt]-1]]
set cnfg_lib "$scriptDir/ombplus_config.tcl"
set owb_lib "$scriptDir/omb_library.tcl"
set sql_lib "$scriptDir/omb_sql_library.tcl"
# Import Lbraries
# Assumes that owb_config, omb_library, and omb_sql_library are in the same directory as this
# script.
#get config file
if [catch { set retstr [ source $cnfg_lib ] } errmsg] {
puts "**********************************************************************"
puts "* Libraries are missing from the current directory. Exiting.... *"
puts "**********************************************************************"
return -code 2
#get standard library
source $owb_lib
source $sql_lib
# Set Logfile
# This will overwrite anything set in the config file.
set LOG_PATH "$scriptDir/logs"
file mkdir $LOG_PATH
set SPOOLFILE ""
append SPOOLFILE $LOG_PATH "/log_" $scriptName "_" $tabName "_" $dtstmp ".txt"
# Now the main script body goes from here.Cheers,
Mike
Edited by: zeppo on Aug 4, 2009 7:02 AM
Edited by: zeppo on Aug 4, 2009 7:03 AM -
OK; have been trying to setup a test VM based RDS deployment for a few days now with no luck.
this error mentioned above:
"Server <server name> either does not have a virtual switch configured or none of the configured virtual switches have an IP address assigned" error is driving me nuts!
I have removed and re-added the RD Virtualization Host role numerous times, each time having the "create a virtual switch" checkbox selected, but it did NOT create any virtual switch.
I created the external virtual switch manually and tried to create the desktop collection again, no luck with the same error.
a few questions:
1. you don't assign IP to a switch! you assign IP to Network Interfaces. why does the error puts it like this?! it is technically wrong.(yeah yeah I know all about how you'd assign IP to managed switches in real world to telnet into them and manage them.
you know better than me that it is not the case here!)
2.the RDS Virtualization hosts are using their wifi card as the card for the virtual switch. could that be the reason? I even disabled their unplugged wired NIC just to make sure that the wifi is the only available option for the RDS wizard to use for the
virtual switch creation; but it didn't use it and it didn't create any virtual switch automatically.
3.if WIFI nic is indeed the reason, is it your suspension or an official documents is there somewhere stating so (that the WIFI NICS on a Virtualization hosts are not supported as the hub for a virtual switch).
4.what are the properties of the virtual switch the RDS requires? does it have to be external? why can't it work even with my manually created external switch?
5.how would I fix it?
P.S: the environment is made up of 2 laptops, having windows 2012 R2 trial installed on them, using their wifi to connect to the out world. no cable is plugged into their wired NIC card.Hi,
Thank you for posting in Windows Server Forum.
The simplest short term solution was to connect each computer to a small switch that had no other connectivity. This brought up the link light on the external NIC and allowed the creation of the collection to complete. You need to use an external switch. You
can create one external switch which might fix the problem.
Please check below article for information.
VDI Deployment Error About Virtual Switch
In addition please referthis article for information regarding virtual switch.
Hope it helps!
Thanks.
Dharmesh Solanki
TechNet Community Support
Maybe you are looking for
-
Follow-up webdynpro for abap using portal theme nw2004s, sp12
Hello, I wanted to get a follow up to this thread, Re: webdynpro for abap using portal theme nw2004s, sp12 We are having a problem with the way reports developed in Web Dynpro for ABAP displayed in the portal (the pop-ups and dropdowns look out of wa
-
I've had issues with Facebook not loading certain areas of the web-site correctly or fully since Feb. 22. When I first go onto Facebook I am on the home page "news feed". Thing is when I click on the tab at the bottom of the news feed that says "see
-
Code to create a credit note in VOFM
hi all I have a requirement - a credit note should be created for each sales order in case of a return order. Ive also been told to add a routine under Billing Documents but then I dnt know which code to write... Has anyone done this before? If so, c
-
Problem closing a modal dialog in SharePoint 2013
I have an application page which is opened in a modal dialog in SharePoint. In this dialog I open a document with: createNewDocumentWithProgID and afterwards when I want to close the dialog there is a problem using the call: SP.SOD.execute('sp.ui.d
-
I get an IE Script error message when trying to down load Flashplayer 11
Error message: Line 13 Char 498 Error: Expected identifier Code: 0 URL://127.0.0.1:1223/app/_host/host.js