How do you specify interface_name in INTERFACES section of ubbconfig
Some of the query services take very long time to complete, depending on the query requested by the user. We want the server to timeout after 15 seconds, if the query is not completed.
Tried to use SVCTIMEOUT for the corba service, which is specified as
*SERVICES
"..O00025.00035" SVCTIMEOUT=15
The server didn't timeout, even though the query took more than 2 minutes.
Now, I tried to use TIMEOUT in INTERFACES section as follows.
*INTERFACES
DEFAULT: TIMEOUT=15
This didn't work either. (When ran tmunloadcf, it didn't show TIMEOUT, may be because I did not specified the interfaces name.
What am I supposed to provide as the interface_name for the INTERFACES section?
Hi James,
First, do you realize that if you timeout a request this way, Tuxedo kills the server? If that is what you want, then you can specify the interface name using the fully qualified IDL interface name. For example, if you look at the University sample CORBA application in the production version, you will see fully qualified interface names in the interface section of the UBBCONFIG file of that sample. Basically the form is:
"IDL:prefix/module/interface:1.0"
Where prefix is any #pragma prefix contained in your IDL file, module is the module scope of the interface, and interface is the interface name as defined in the IDL file.
Regards,
Todd Little
BEA Tuxedo Chief Architect
Similar Messages
-
How do you specify what format you want the song to download in?
How do you specify what format you want the song to download in?
In preferences set up your import settings, then right click on the tracks you need in a different format and use Create < Format> Version. New copies will be created in the target format.
tt2 -
How do you specify a line number with getline() (c++)
How do you specify which line for getline() to read with c++ similiar to how awk uses $1, $2, $3 , etc etc...
Example:(Ignore the underscores)
Line1 Line2
10____10
20____20
30____30
40____40
if I were making a program to remove 10 on the first line and 20 on the second line how would I tell getline which line to read
Example source code:
#include <cstdio>
#include <fstream>
#include <string>
#include <iostream>
using namespace std;
int main()
string line;
string line2;
ifstream in("/Users/lundquisted/Desktop/infile.txt");
ofstream out("/Users/lundquisted/Desktop/outfile.txt");
while( getline(in,line) )
if(line != "10")
out << line << endl;
while (getline(in,line2) )
if(line2 != "20")
out << line2 << endl;
in.close();
out.close();
remove("/Users/lundquisted/Desktop/infile.txt");
rename("/Users/lundquisted/Desktop/outfile.txt","/Users/lundquisted/Desktop/inf ile.txt");
return 0;
}Eric Lundquist wrote:
store the output of a system() command within a c++ program to a string and/or variable
A number of apps call Unix utilities and capture both stdout and stderr, typically for viewing in a log window, but for other uses as well. Xcode, for example, starts up gcc and does various things with the text that gcc might otherwise print in a Terminal window. Most apps that rely on Unix commands that way don't use "system()", which is a rather crude way of launching utilities that leaves the parent program with very little control. Usually, the best way to manage helper utils from a Cocoa app is by using NSTask and NSPipe. If you spend some time with the two following pages, you'll learn how to do almost anything you want with command line utils from inside a Cocoa app:
[http://www.cocoadevcentral.com/articles/000025.php]
[http://macosx.com/forums/archive/t-3927.html]
The first link goes to a great tutorial on using NSTask. Capturing stdout and stderr are only covered briefly towards the end, however. Note the last comment explaining why "system()" is a bad idea.
The second link goes to a forum thread. Scroll down to the code posted by "blb" for some very clear examples of launching with NSTask and reading the output with NSPipe.
If you really want to use a shell command, you could give NSTask a command like ' +bash -c "ls -lt | grep drwx"+ ' (see how setArguments: is used in the tutorial).
If you just want to do something cheap and dirty with "system()" so you can see some awk output while you're learning how to do things the right way, I guess you could do something like this:
system(" cat ~/random.txt | awk '{print $2}' > MyFile.txt");
NSString *myString = [NSString stringWithContentsOfFile:@"MyFile.txt"
encoding:NSUTF8StringEncoding error:nil];
Of course you can just read MyFile.txt into cin if you're not using Cocoa.
- Ray -
Re: How do you specify an external jar and library when executing from a ja
When you specify java -jar the -classpath argument is ignored and the jar's manifest file is used - see http://java.sun.com/docs/books/tutorial/deployment/jar/ .
OK you know I read that somewhere and then totally forgot about it.
I know this isn't the place to ask but I've had limited success with asking eclipse questions on their forums.
Does anyone know how to export a jar file with the correct manifest from eclipse? My application works fine in eclipse but doesn't export a usable jar. To fix this I have to unjar the file, add the manifest text and rejar it.
Thanks,
Jim. -
How do you specify a "custom data retrieval program" for a query ?
I may have to rebuild an old SQ01 query in ECC 5.0 to get rid of some hyphens in structure field names.
The query gets its data from a custom retrieval program.
How do I specify the custom retrieval program when (and if) I redo the query?
Thanks
DaveWhen you go to SQ02, ente the infoset name and click the change button, then on the next screen, click Go To, Global Properties, notice here is the same dialog when you create the infoset, notice the radibuttons, notice the one for data retreival by program, I think this is what you are looking for, but as you can see here you will not be able to change it. I think you may have to re-create the infoset as well if you want to change this.
Regards,
Rich Heilman -
How can you specify a custom style class for an ADF component (column)?
We are using ADF 10_1_3_3_0 on Tomcat.
We would like to specify an additional style class for a column header. We have specified the following style:
{color:#808080}af|column.formHeader::header-text
text-align: right;
background-color:brown;
border-color:#999999;
font-family:Verdana,Arial,Helvetica,sans-serif;
color: blue;
}{color}
{color:#808080}<af:column sortable="true" formatType="text" styleClass="formHeader">{color}
This does not seem to work. In our tests, the CSS gets generated but the new style class for the column header does not seem to be generated/mapped. I reveiwed this post: Re: Jdev 11g: how to set width of some components on panel form layout. Is this specification (component.className::selector) applicable for the 10g version of ADF?
Additionnaly, are their specifcations/details for these selectors (e.g. ora-rule-ref, -rt-rule-ref, -tr-rule-ref). I am not clear on what they are mapped to and how they are used.
Thanks
Edited by: user10477345 on Oct 27, 2008 6:48 AMHi,
The column's style classes will be added on the <td> elements, not the header sadly. So for your use case you'll have to place the class on the table itself then use the selector
af|table.MyStyleClass af|column.formHeader::header-text{}Sadly this will affect all columns, not just one so I don't know if it's going to fir your need.
Regards,
~ Simon -
How can you specify the height of an index page window?
I want to control the height of an index page window when it
loads.
If you look at this page;
http://www.farrowdesign.com/
It has a fixed size onload.
I'm trying to do a basic web page for a friend using
dreamweaver.
see here
http://www.landscapesbyjonstollar.com/
It's a series of horizontal landscape images which are all of
the same height - I want the user to scroll to the right to view
them usiing their browsers scroll bar.
Can anyone clearly explain (I'm very new to this) how I might
do this and if it's javascript - where I should paste the code.
Thanks in advance
Jim"<td width="853" <img src="images/Stollar_01.jpg"
width="853" height="642"
/></td><br>"
You can't be serious....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"mbarizia" <[email protected]> wrote in
message
news:[email protected]...
>
>
> ok.. it's easy : in dream weaver replace those lines :
>
> <td width="853" <img src="images/Stollar_01.jpg"
width="853" height="642"
> /></td>
> <td width="864"><img
src="images/Stollar_03.jpg" width="864"
> height="642"
> /></td>
> <td width="732"><img
src="images/Stollar_05.jpg" width="732"
> height="642"
> /></td>
> <td width="862"><img
src="images/Stollar_07.jpg" width="862"
> height="642"
> /></td>
> <td width="857"><img
src="images/Stollar_09.jpg" width="857"
> height="642"
> /></td>
> <td width="968"><img
src="images/Stollar_11.jpg" width="968"
> height="642"
> /></td>
> <td width="487"><img
src="images/Stollar_13.jpg" width="487"
> height="642"
> /></td>
> <td width="545"><img
src="images/Stollar_15.jpg" width="545"
> height="642"
> /></td>
> <td width="901"><img
src="images/Stollar_17.jpg" width="901"
> height="642"
> /></td>
>
> By :
>
> <td width="853" <img src="images/Stollar_01.jpg"
width="853" height="642"
> /></td><br>
> <td width="864"><img
src="images/Stollar_03.jpg" width="864"
> height="642"
> /></td><br>
> <td width="732"><img
src="images/Stollar_05.jpg" width="732"
> height="642"
> /></td><br>
> <td width="862"><img
src="images/Stollar_07.jpg" width="862"
> height="642"
> /></td><br>
> <td width="857"><img
src="images/Stollar_09.jpg" width="857"
> height="642"
> /></td><br>
> <td width="968"><img
src="images/Stollar_11.jpg" width="968"
> height="642"
> /></td><br>
> <td width="487"><img
src="images/Stollar_13.jpg" width="487"
> height="642"
> /></td><br>
> <td width="545"><img
src="images/Stollar_15.jpg" width="545"
> height="642"
> /></td><br>
> <td width="901"><img
src="images/Stollar_17.jpg" width="901"
> height="642"
> /></td><br>
>
> any help : [email protected] ;)
> -
How do you specify which email address to use in a group list?
Hi All,
I've got several group lists created in Address Book. When I want to send an email to a group using Mail I cannot specify which email address gets used for a person that has multiple addresses in Address Book.
My process is as follows: create a new blank message, address the note to myself, move to the bcc field, click the "Address" button at the top of the message pane. When I click on a name that has multiple email addresses I can click on the one that I want, but when I click to another name and click back the previously selected address is highlighted again. It seems that the selection of the address won't 'stick'. Is there any way to force the selection? Also, I originally thought that the group list defaulted to the home address, but I noticed that some entries have their work address selected by default.
Thanks for any help.
-ChrisThank you, thank you, thank you!!! I knew there was an option to do that somewhere. For some reason I had it in my mind that you made those selections in Mail.
Kappy wrote:
Open Address Book and select a group. CTRL- or RIGHT-click on the group and select Edit Distribution List. You may then scan through the group members selecting the desired email address for each one with multiple addresses. -
HT1284 how do you specify what files you want to backup
how to back up only certain files?
You add or remove items from the exclusion list in the Time Machine pane of System Preferences. By default, the startup disk will be backed up, while external drives won't be.
(74860) -
how do drill down into the folders when downloading? I only get the option of recent places and favourites?
Using Safari ??
From your Safari menu bar click Safari > Preferences then select the General tab.
Click the: Save downloaded files to pop up menu then click Downloads or click Other then navigate to the folder you want to use to save downloaded files to. -
How do you specify a string with advanced-balance url?
I am trying to configure a CSS 11501 to send requests with a specific string in the URL to a specific server. How and where I would specify the string? The documentation, as far as I can tell, mentions that it can be done but does not show how. Any input is greatly appreciated.
Thanks again, Syed. Now it makes sense, but I was digging more into the documentation and found a simpler way to accomplish this.
service webServer1
ip address 10.1.1.1
keepalive type http
active
service webServer2
ip address 10.1.1.2
keepalive type http
active
content webServers
add service webServer1
add service webServer2
balance aca
vip address 10.2.2.1
protocol tcp
active
content fileServer
add service webServer1
vip address 10.2.2.1
protocol tcp
url â/files/*â
active
The idea being that most requests will get load-balanced between both web servers, but if the URL starts with "/files/", then only webServer1 will receive the requests. -
How do you keep a VLAN interface up?
Is there a method that enables you to keep a vlan "UP", even when none of the physical interfaces assigned to that vlan are connected?
If you are using vtp, you can "force" the VLAN active using those commands; depending on the switch you are using, this is done a number of different ways.
newer IOS switch running native mode -
conf t
vlan 1
state active
exit
wr mem
older IOS switch
From an enable prompt -
vlan database
[enters vlan database mode)
[Note: Newer IOS warns that this is deprecated and will not show help -- the help is as follows -
switchname#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
switchname(vlan)#?
VLAN database editing buffer manipulation commands:
abort Exit mode without applying the changes
apply Apply current changes and bump revision number
exit Apply changes, bump revision number, and exit mode
no Negate a command or set its defaults
reset Abandon current changes and reread current database
show Show database information
vlan Add, delete, or modify values associated with a single VLAN
vtp Perform VTP administrative functions.
switchname(vlan)#vlan ?
<1-1005> ISL VLAN index
switchname(vlan)#vlan 1 ?
are Maximum number of All Route Explorer hops for this VLAN
backupcrf Backup CRF mode of the VLAN
bridge Bridging characteristics of the VLAN
media Media type of the VLAN
mtu VLAN Maximum Transmission Unit
name Ascii name of the VLAN
parent ID number of the Parent VLAN of FDDI or Token Ring type VLANs
ring Ring number of FDDI or Token Ring type VLANs
said IEEE 802.10 SAID
state Operational state of the VLAN
ste Maximum number of Spanning Tree Explorer hops for this VLAN
stp Spanning tree characteristics of the VLAN
tb-vlan1 ID number of the first translational VLAN for this VLAN (or zero
if none)
tb-vlan2 ID number of the second translational VLAN for this VLAN (or zero
if none)
switchname(vlan)#vlan 1 state ?
active VLAN Active State
suspend VLAN Suspended State
switchname(vlan)#vlan 1 state active (enter)
This will make the VLAN active.
Note that it "works" even when there is no help.
There's a way to do it for CAT OS, but I only have VTP clients on my few remaining Cat OS switches.
Good luck -
Nick
(PS - if this helps, please 'rate' the answer ! :-) ) -
How do you specify a minimum font size for incoming mail?
Is there a way to specify a minimum font size for incoming mail messages? Mail I get from others is almost unreadable and I always have to manually (apple +) increase the size.
As a test, a friend on a PC (most mail I get comes from Windows) kept increasing the size he sent me, but when I received it there was no change in size on my end.
I can't find anything in Mail's menus and preferences to change this behavior.
Mail 2.07; OS 10.4.6.
Thanks,
Cathyif i had the problem then i'd make a backup copy of
my ~/library/preferences/com.appple.mail.plist file,
open the original in property list editor, look for
any likely elements that have small or negative font
sizes and set them to, say, 12, save the changes and
see if that helped
Found the file; couldn't open it (tried Text Edit?) to make any changes.
You can use the following trick to force Mail to
always use a larger minimum font size on received
messages - some HTML messages might not look exactly
as intended but at least you can now read them:
1. Quit Mail
2. Open the Terminal
(/Applications/Utilities/Terminal) and type in the
following:
defaults write com.apple.mail
MinimumHTMLFontSize 13
3. Restart Mail.app and your HTML messages are
readable.
Of course you can set the point size to whatever you
like.
Found file; was not comfortable inputing text as this simple task did not behave properly.
PC friend said other Mac user reported this same anomally with receiving small text from him. I have over a dozen different PC users that I correspond with where I have this problem. It seems to be on the Mac end.
-Cathy -
How do you access the new training section for the Creative Cloud Update?
I have done all of the Adobe updates, but I don't see the new Training catergory at the top of the screen when I log into the Creative Cloud Connection next to the Apps and Files category.
The training will be available very soon. Both Training and Folder Sharing/Collaboration had "coming soon" shown briefly during the video.
And yes I am just as frustrated as you with something that is pre-announced that you cannot then immediately go and try. -
How do you specify class file for appletviewer?
List,
I have searched over dozens of posts for "NoClassDefFoundError" and "wrong name" as well as "appletviewer" and others. I have read many posts about people who have the same problem I do, but I still can't seem to find a remedy:
My machine is running Windows ME
My application runs fine stand-alone
(it's main() method sets up and runs the init() method it is intended to be an applet)
My classpath includes "." as well as the JDK directory and the full path to my applications jar file
All classes are part of the package iCalendar and jar'd in a file called iCalendar.jar
When I compile and run my app stand-alone I use the following:
javac ./iCalendar/ViewController.java
java iCalendar.ViewController
However I cannot get the application to run in either appletviewer or the browser. My applet tag is as follows:
<APPLET CODEBASE="." CODE="ViewController.class" ARCHIVE="iCalendar.jar" width=700 height=700>
I consistently get the message NoClassDefFoundError wrong name: iCalendar/ViewController
So if anyone could tell me what set up is need to get this app running in appletviewer/browser I would be greatly appreciative, I've been on this all day!
PatrickDrop one iCalendar out. The classpath should not
contain the path C:\JavaObjects\iCalendar.I did this, I also removed all duplicate copies of the .class files to make sure appletviewer only has the jar file to work with. My new CLASSPATH is:
.;C:\JavaObjects;C:\JavaObjects\iCalendar\iCalendar.jar
You should also decide whether to use the jar file or
not - that can cause problems with netscape -
weird problems.I definetely want to figure this out using the jar file, I want the entire jar downloaded to minimize trips to the server.
Try putting iCalendar.jar and iCalendar.html to
another directory and it should work - somehow
(probably because of the classpath or because
iCalendar.html is not where it should be) the
appletviewer is picking the class from outside the
jar.I created a directory off of the root C drive and called it temp, I copied the jar file and the html file to the temp directory and then tried appletviewer from the command line:
NoClassDefFoundError: ViewController (wrong name: iCalendar/ViewController)
Can this be because the jar file contains all of the class files whom all belong to the package iCalendar? Because to run it stand alone I must address iCalendar.ViewController, do I need to jar these files differently, and if so can I jar the directory structure?
Thanks again for the help, I have no clue at this point.
Maybe you are looking for
-
Not able to save photos on iPhone 5, which has been taken by iPhone 5 camera.
Not able to save photos on iPhone 5, which has been taken by iPhone 5 camera.
-
Power button not working with 7.1 update
Power button not working with 7.1 update
-
Material Ageing in subcontracting
Dear Friends, Do u have any idea on material ageing..? There is a requirement that material ageing of subcontracting components send for vendor show be displayed in a report (is there any std report) I have seen reports (MBLM,MC46) but I am not abl
-
HI! I just accepted updates to my Blackberry Desktop andnow the whole Blackberry Desktop manager is treating me as if a new. And freaked out as all ALL Photo and video saved on the previous media manager as well as that media manager have gone- Its o
-
Hi all, i have a problem with the firewall-service on a Windows 2008 Std SP2. The firewall service does not start. Access denied problem. I can see that on some registry-keys the permissions for the "NT Service\MpsSvc" account are missing. I found so