IBM Placement Paper 2
It consist of mainly three sections.
a) Section 1 : Matrix Test
- No of question : 15 ( 13 minutes )
Note : No negative marks for this section
b) Section 2 : Number Series Test
- No of question : 20 (15 minutes)
Note : Negative marking(1/4) is there for this section
c) Section 3 : Analytical type (Aptitude)
- No of question :12 (15 minutes)
Note : Negative marking(1/4) is there for this section.
About Matrix Test :
This is the new pattern of IBM. This new pattern has been implemented. It contains 3 sections.
i) Section A
Some information is given in the form of matrices, with headings for rows as row1, row2 . Etc. For columns with headings as column1, column 2 . Etc. Those matrices are as follows.
Row1 @ * 2 Z Row2 S K ? $ Row3 I P Z + Row4 # 8 F Q
Questions are as follows ( not same questions but same type):
1. After giving similar type of conditions , what is the element left to H? In this section they gave around 4 matrices of this type and gave some questions for each matrix.
2. 5s then which column elements sum equals to 9?
3. If column1 , Column 4 are interchanged and row3 , row4 are interchanged and diagonal elements from top left to bottom right are written in reverse order then what is the element in row1 and column 1?
4. If a company produces 15 different model of tv sets of 2 inchs screen and 4 different model of 4 inches screen size. Then how many model should vendor has for all the model so that all models willdisplayed in the showroom?
5. If a team consists 20 members in which 20% are mathematician then how many member should they hire so that the ratio would become 10/11.
6. If Zs in odd numbered rows are replced with 7s and Ss in odd numbered columns are replaced with.
Section B
All questions in this section are from number series. Total number of questions are 20.Time limit is 4 minutes. These are also multiple choice questions( 5 options). Negative marking(1/4) is there for this section.
1. 40,42,4241,41,,42,44,44,?
Answer : 44
2. 17,18,19,34,35,19,20,?
Answer : 21
3 . 22,21,34,33,45,?
Answer : 44
Section C
1. The rate of colour toner increases $33 to $35 and rate of black & white toner increases $28 to $29. If company spends $1540 in which 3/5 is colour toner then how much is total Expenditure increases after the cost hike.
2. A computer shop consists of 3 brands laptop .Laptop of brand A is sold 3/16, B is sold 1/16 and c is sold ¾ then what fraction is sold by the shop in all.
3. Printer A prints 8192 character per min and printer B prints 13862 character per minutes four character are equal to one word. Printer A starts at 7:15 am while Printer B starts at 7:29 am then at what time both will have same no of words printed.
4. In a library there are 5 cluster and each is having 44 books(module). In first weak 75 books are used, in second 95, in third 95 and in fourth 160 books are used.then tell how much fraction of booksare used.
5. We have 171 kg rice custing 7 rs/kg.we have rice at 11 rs/kg and 2 rs/kg .then after mixing 11 rs/kg and 2 rs/kg rice. What is quantity of 11 rs/kg rice.
6. Rectangular room has width half of its length. When 6 is decreased from both length and width then its area is differed by 108 so find the width.
7. Company A taken a truck on rent of $1280 per month another company B bought the truck in $40000 and send $120 per month. After 4 years what will be the difference in the Amount spent by the bothcompanieson the TRUCK.
8. In a company printing work is done by two machine 5% of the work done by machine A are wasted ,and 40% of work done by machine B are wasted. if the 80% of the total work is done by machine A. Then what is the total percentage of wastage.
Aptitude Questions
1. Direction : In A,B,C are having some marbles with each of them. A has given B and C the same number of marbles each of them already have. Then, B gave C and A the same number of marbles they already have.Then C gave A and B the same number of marbles they already have.At the end A,B,and C have equal number of marbles.
(i) If x,y,z are the marbles initially with A,B,C respectively. Then the number of marbles B have at the end.
(a) 2(x-y-z)
(b) 4(x-y-z)
(c) 2(3y-x-z)
(d) x + y-z
Answer : (c)
(ii) If the total number of marbles are 72, then the number of marbles with A at the starting
(a) 20
(b) 30
(c) 32
(d) 39
Answer : (d)
2. If a car starts from A towards B with some velocity. Due to some problem in the engine after travelling 30km, the car goes with 4/5 th of its actual velocity The car reaches B 45 min later to the actual time.If the car engine fails ofter travelling 45km, the car reaches the destination B 36min late to the actual time. What is the initial velocity of car and what is the distance between A and B in km
Answer: 20 and 130
3. In 1978, a kg of paper was sold at Rs25/- If the paper rate increases at 1.5% more than the inflation rate which is 6.5% a year, then what will be the cost of a kg of paper after 2 years?
(a) 29.12
(b) 29.72
(c) 30.12
(d) 32.65
4. Ten questions on analogies.
Example:
chief : tribe :: governor : state
epaulette : shoulder :: tiara : head
guttural : throat :: gastric : stomach
inept : clever :: languid : active
knife : butcher ::
hammer : carpenter ::
5. A person has Rs 100/- in his pocket, he can as 25 pencils or 15 books. He kept 15% of the money for travelling expenses and purchased 5 pencils. So how many books he can purchase with the remaining money.
6. A square plate of some size is cut at four corners. Equal squares of the same size are cut and is formed as open box.If this open box carries 128 ml of oil. What is the size of the side of the plate?
(a) 17
(b) 14
(c) 13
(d) None of these
7. In a square, all the mid points are joined. The inner square is shaded. If the area of the square is A, what is the area of the shaded area?
8. Two questions on basic angles i.e given a circle, a few chords or diameter is drawn etc.
9. If you type in the comman nohup sort employees > list 2 > error out & and log off ,the next time you log in, the output will be
a) in a file called list and the error will de typed in a file error out
b) there will be no file called list or error out
c) error will be logged in a file called list and o/p will be in error out
d) you will not be allowed to log in
10. enum number { a= -1, b= 4,c,d,e} What is the value of e ?
(a) 7
(b) 4
(c) 5
(d) 15
(e) 3
11. The very first process created by the kernal that runs till the kernal process is halts is
a) init
b) getty
c) both (a) and (b)
d) none of these
Answer : (a)
12. The values of shares (in Rs).of A, B and C from January to June are as follows.
Month A B C
January 30 60 80
February 35 65 85
March 45 75 65
April 40 75 82
May 55 75 85
June 50 75 80
i) During this period which share has undergone maximium fluctuation?
ii) In which month it is possible to buy B and C selling A?
iii) In which month the share values are very low?
iv) By purchasing one share of A and 4 each of B and C in the beginning of the period,when shoudl these be sold to get maximum profit?
13. In UNIX a files i-node ......?
Answer : Is a data structure that defines all specifications of a file like the file size, number of lines to a file, permissions etc.
14. The UNIX shell ....
a) does not come with the rest of the system
b) forms the interface between the user and the kernal
c) does not give any scope for programming
d) deos not allow calling one program from with in another
Answer : (b)
15. In a class, except 18 all are above 50 years.15 are below 50 years of age. How many people are there
(a) 30
(b) 33
(c) 36
(d) none of these.
Answer : (d)
16. Which of the following API is used to hide a window
a) ShowWindow
b) EnableWindow
c) MoveWindow
d) SetWindowPlacement
Answer : (a)
17. Output of the following program is main()
{ int i=0;
for(i=0;i<20;i++)
{switch(i)
case 0:i+=5;
case 1:i+=2;
case 5:i+=5;
default i+=4;
break;}
printf("%d,",i);
}
}
a) 0,5,9,13,17
b) 5,9,13,17
c) 12,17,22
d) 16,21
e) Syntax error
Answer : (d)
18. What is the ouptut in the following program
main()
{char c=-64;
int i=-32
unsigned int u =-16;
if(c>i)
{printf("pass1,");
if(c<u)
printf("pass2");
else
printf("Fail2");
}
else
printf("Fail1);
if(i<u)
printf("pass2");
else
printf("Fail2")
}
a) Pass1,Pass2
b) Pass1,Fail2
c) Fail1,Pass2
d) Fail1,Fail2
e) None of these
Answer : (c)
19. The command grep first second third /usr/you/myfile
a) prints lines containing the words first, second or third from the file /usr/you/myfile
b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them
c) searches the files /usr/you/myfiel and third for lines containing the words first or second andprints them
d) replaces the word first with the word second in the files third and /usr/you/myfile
e) None of the above
Answer : (b)
20. In the process table entry for the kernel process, the process id value is
(a) 0
(b) 1
(c) 2
(d) 255
(e) it does not have a process table entry
Answer : (a)
21. What will the following program do?
void main()
{
int i;
char a[]="String";
char *p="New Sring";
char *Temp;
Temp=a;
a=malloc(strlen(p) + 1);
strcpy(a,p); //Line number:9//
p = malloc(strlen(Temp) + 1);
strcpy(p,Temp);
printf("(%s, %s)",a,p);
free(p);
free(a);
} //Line number 15//
a) Swap contents of p & a and print:(New string, string)
b) Generate compilation error in line number 8
c) Generate compilation error in line number 5
d) Generate compilation error in line number 7
e) Generate compilation error in line number 1
Answer : (b)
22. What will be result of the following program?
void myalloc(char *x, int n)
{x= (char *)malloc(n*sizeof(char));
memset(x,\0,n*sizeof(char));
}
main()
{char *g="String";
myalloc(g,20);
strcpy(g,"Oldstring");
printf("The string is %s",g);
}
a) The string is : String
b) Run time error/Core dump
c) The string is : Oldstring
d) Syntax error during compilation
e) None of these
23. Which of the following function is used to repaint a window immediately
a) Sendmessage(hWnd,WM_PAINt,......)
b) InvalidateRect(.......)
c) MoveWindow
d) WM_COPY
e) None
24. Which function is the entry point for a DLL in MS Windows 3.1
a) Main
b) Winmain
c) Dllmain
d) Libmain
e) None
Answer : (b)
25. The standard source for standard input, standard output and standard error is
a) the terminal
b) /dev/null
c) /usr/you/input, /usr/you/output/, /usr/you/error respectively
d) None
Answer : (a)
26. What will be the result of the following program?
main()
{char p[]="String";
int x=0;
if(p=="String")
{printf("Pass 1"); if(p[sizeof(p)-2]=='g')
printf("Pass 2");
else
printf("Fail 2");
}
else
{
printf("Fail 1");
if(p[sizeof(p)-2]=='g')
printf("Pass 2");
else
printf("Fail 2");
}
}
a) Pass 1, Pass 2
b) Fail 1, Fail 2
c) Pass 1, Fail 2
d) Fail 1, Pass 2
e) syntax error during compilation
27. Which of the choices is true for the mentioned declaration ?
const char *p; and
char * const p;
a) You can't change the character in both
b) First : You can't change the characterr & Second : You can;t change the pointer
c) You can't change the pointer in both
d) First : You can't change the pointer & Second : You can't chanage the character
28. The redirection operators > and >>
a) do the same function
b) differ : > overwrites, while >> appends
c) differ : > is used for input while >> is used for output
d) differ : > write to any file while >> write only to standard output
e) None of these
Answer : (b)
29. In the following code segment what will be the result of the function,value of x , value of y
{unsigned int x=-1;
int y;
y = ~0;
if(x == y)
printf("same"); else
printf("not same");
}
a) same, MAXINT, -1
b) not same, MAXINT, -MAXINT
c) same , MAXUNIT, -1
d) same, MAXUNIT, MAXUNIT
e) not same, MAXINT, MAXUNIT
Answer : (a)
30. PATH = /bin : /usr : /yourhome The file /bin/calender has the following line in it cal 10 1997The file /yourhome/calender has the following line in it cal 5 1997 If the current directory is /yourhome and calender is executed.
a) The calendar for May 1997 will be printed on screen
b) The calendar for Oct 1997 will be printed on screen
c) The calendar for the current month( whatever it is) will be printed
d) Nothing will get printed on screen
e) An error massage will be printed
31. What will be the result of the following program ?
char *gxxx()
{static char xxx[1024];
return xxx;
}
main()
{char *g="string";
strcpy(gxxx(),g);
g = gxxx();
strcpy(g,"oldstring");
printf("The string is : %s",gxxx());
}
a) The string is : string
b) The string is :Oldstring
c) Run time error/Core dump
d) Syntax error during compilation
e) None of these
Answer : ( b)


Minor Planet Ephemerides
No object found with the name
test fail, please reenter it (or use the designation). DEBUG = 01 [ ][TEST FAIL ]


1.7 (a) and (b) – ‘Find a Hero, Who to Praise? Find a Scapegoat, Who to Blame?’
Source: Times (London), 24 October 1845, 10 April 1849, 1 March 1849; Punch, vol. 9, 1845; Punch, vol. 16, 1849.


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 1
Bring a saucepan of salted water to the boil.
For the Asian sesame beef fillet, heat a frying pan over a medium heat. Rub the sesame oil into the steak and fry the meat for 2-3 minutes on each side, or until cooked to your taste. Sprinkle the sesame seeds over the steak, then remove the meat from the pan. Set aside to rest.
For the orange and vegetable salad, cook the potatoes, carrots and asparagus in the salted, boiling water for 5-6 minutes, or until tender but not cooked through, then drain.
Add the partially-cooked vegetables, soy sauce, stock cube, honey, and orange juice to the beef pan. Simmer over a medium heat for 4-5 minutes, stirring occasionally, until the sauce has thickened slightly.
To serve, arrange the orange slices on a serving plate and spoon the orange and vegetable salad into the centre. Place the sesame beef fillet on top of the salad, and garnish with the chervil sprig.


{{myclinics['clinicinfo'][0].clinicname}}
Dr. {{myprofile['userinfo'].name}}
{{myprofile['usereducation'].doctoreducation}}
Regd No.:{{myprofile['userinfo'].regno}}
{{myclinics['clinicinfo'][0].line1}}, {{myclinics['clinicinfo'][0].nearmark}}, {{myclinics['clinicinfo'][0].location}}, {{myclinics['clinicinfo'][0].city}}-{{myclinics['clinicinfo'][0].pin}}, {{myclinics['clinicinfo'][0].state}} Ph.{{myclinics['clinicinfo'][0].isd}}-{{myclinics['clinicinfo'][0].phone}}
No:
Bill cum Receipt
Date :
{{billdate}}
Particulars
Rate (Rs.)
Quantity
Amount (Rs.)
Total Charges (Rs.)
(
)
Received with thanks from Mr/Ms.
the sum of rupees
(
) towards above rendered services /
Signature
Description :
*Receipt Date :
*Amount :
Mode of Payment :
Cash
Cheque
Card
*Cheque No. :
*Date :
*Trx Ref No. :
Print Without Header
Print Without Signature


This code is in beta. There are significant changes under the hood. Please report any errors you find!
Connect with Steam
To an existing Steam account
To an existing Steam account
This code is in beta. There are significant changes under the hood. Please report any errors you find!


Welcome
Fix the Errors in JS
Show My Name
Greet me
Calculate(10,20)
Change all title texts
Print Page
Title Text: This title text should change
Title Text: This title text should change
This link is defferent. href attribute


[gecode-users] Problems with some REG and some suggestions
TeXitoi
texitoi+news at texitoi.eu
Tue Sep 27 11:43:58 CEST 2011
"Christian Schulte" <cschulte at kth.se> writes:
> Maybe there are better algorithms that combine DFA construction with
> minimization to deal with the DFAs but for most cases it works fine for
> Gecode...
OK
> Is your regexp related to a real example or did you want to torture Gecode
> ;-)
I work on about 400 integer variables (about 15 months), and I have
regex that are applied on different intervals (year, semester, month,
week...). To improve the performances, I would like to combine some
of the constraints on a unique DFA. So, the idea I had was generating
a regex that affect only a period but that have the length of my
problem:
- first month : myReg + any(nbDaysIn14Month,nbDaysIn14Month)
- second month : any(nbDaysIn1Month,nbDaysIn1Month) + myReg +
any(nbDaysIn13Month,nbDaysIn13Month)
- ...
- first semester : ...
- ...
and then I compute the intersection of the DFA.
> I never thought about operations on DFAs as I thought one would use regexps
> anyway. The only hard part is in fact intersection, the rest is very simple.
> What do you need them for?
Naive intersection is quite simple because we can easily generate a
DFA, and then, Gecode minimizes it. But an effective implementation
may be difficult.
I use inverse (giving the alphabet) a lot because sometime it is
easier to write the regex of the forbidden pattern than the allowed
one. As a simple example, I have this kind of forbidden pattern:
0110 (on a subsequence of 4 variables) which is very simple to write
using the inverse:
inverse(DFA(REG(0)+REG(1)+REG(1)+REG(0)), alphabet)
but much more difficult to write directly.
I have pattern rules of the type "this pattern or that pattern". Here,
the union is useful, especially when one pattern is easier to write
with an inverse (else I can do REG r = firstPattern | secondPattern).
I can do what I have explain earlier using concatenation and
intersection of DFA (here, "+" is the concatenation of DFA):
- first month: intersection(DFA(myReg), DFA(any(nbDaysIn1Month,
nbDaysIn1Month))) + DFA(*any)
- second month: DFA(any(nbDaysIn1Month,nbDaysIn1Month)) +
intersection(DFA(myReg,DFA(any(nbDaysIn1Month,nbDaysIn1Month)))) +
DFA(*any)
- ...
But maybe you have a better solution for the special problem I have
now: I have at least n_i "1" on each month_i, exactly m_j "1" on each
semester_j, and minimum one "1" on a slidding horizon of 7, and a
minimum of two "1" on a slidding horizon of 11. The problem I have is
when there is a lot of possibilities for the first semester, but none
for the second (because of the 4 constraints, not because directly of
one of them), but the propagation do not detect the infeasibility of
the second semester. Of course, I cannot solve each semester
separatedly because there is pattern constraint that overlap. For the
moment, I have a variable that "count" the "1" on each month, I use
rel to constraint these variables according to my data for the month
and the semester constraints, and I use sequence (in reality a count
for each interval of length 11, and an extensional for 1 on 7, which
is much faster than sequence) for the slidding constraints. I also
have extensional version of these constraints. The idea was to
combine the DFA to detect directly the infeasability.
I hope I am understandable. Thanks for your attention.
--
Guillaume Pinot http://www.texitoi.eu
« Il semble que la perfection soit atteinte non quand il n'y a plus
rien à ajouter, mais quand il n'y a plus rien à retrancher. »
-- Antoine de Saint-Exupéry, Terre des hommes
() ASCII ribbon campaign -- Against HTML e-mail
/\ http://www.asciiribbon.org -- Against proprietary attachments
More information about the users
mailing list


Shawn Hice
Engineering student at PSU, works for Autodesk. Born in Oregon.
Cats
I think cats are pretty neat so here is a list of pictures with them.


SkinGAN
Generate Minecraft skins using Machine learning
These minecraft skins were generated using a Generative adversarial Network (GAN) trained on a dataset of over 900.000 real minecraft skins.
Feel free to download any skin generated by this project


| type.convert {utils} | R Documentation |
Convert a character vector to logical, integer, numeric, complex or factor as appropriate.
type.convert(x, na.strings = "NA", as.is = FALSE, dec = ".", numerals = c("allow.loss", "warn.loss", "no.loss"))
x |
a character vector. |
na.strings |
a vector of strings which are to be interpreted as
|
as.is |
logical. See ‘Details’. |
dec |
the character to be assumed for decimal points. |
numerals |
string indicating how to convert numbers whose
conversion to double precision would lose accuracy, typically when
|
This is principally a helper function for read.table
.
Given a character vector, it attempts to convert it to logical,
integer, numeric or complex, and failing that converts it to factor
unless as.is = TRUE
. The first type that can accept all the
non-missing values is chosen.
Vectors which are entirely missing values are converted to logical,
since NA
is primarily logical.
Vectors containing just F
, T
, FALSE
, TRUE
and values from na.strings
are converted to logical. Vectors
containing optional whitespace followed by decimal constants
representable as R integers or values from na.strings
are
converted to integer. Other vectors containing optional whitespace
followed by other decimal or hexadecimal constants (see
NumericConstants), or NaN
, Inf
or infinity
(ignoring case) or values from na.strings
are converted to
numeric. Where converting inputs to numeric or complex would result
in loss of accuracy they can optionally be returned as strings (for
as.is = TRUE
) or factors.
Since this is a helper function, the caller should always pass an
appropriate value of as.is
.
An atomic vector or (for as.is = FALSE
) a factor.


Campus Involvement Fair returns Saturday on College Green. (Photo by Ryan Grzybowski)
Want to learn more about us? Check us out at thepostathens.com, email us at<EMAIL_ADDRESS>or follow our social media below!
© Copyright 2021, The Post, Athens, OH
Want to learn more about us? Check us out at thepostathens.com, email us at<EMAIL_ADDRESS>or follow our social media below!


GNS India from Sept 2018
Software Developement Engineer
Working on Animator4(leading CAE post-processor).
Hi there! Welcome to my portfolio page.
This is Suresh, a software developer from India. I am a software developer having more than 2 years of work experience.
I like building new stuff and work with other people.
Some of the significant aptitudes which will assist me with achieving your objectives.
Software Developement Engineer
Working on Animator4(leading CAE post-processor).
On the off chance that you might want to connect with me, be it for investigating innovation, business, or to simply say hello, don't hesitate to send me an email at sureshjangale137@gmail.com


jPlayer is a jQuery plugin, so you must include jQuery in your page before you add any plugins to the JavaScript library.
We recommend that you use the Google Ajax API CDN since its common use throughtout the internet will actually speed up your site, while reducing your bandwidth per month.
The API allows you to specify an explicit jQuery version or the latest release in that version path. For example, you can use /1.4/
in the URL to get the latest 1.4.x release, which is 1.4.4 at the time of writing this guide.
To use the jQuery CDN, add the following line to the HTML of your page's <head>:
<head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> </head>
You will now have access to the entire jQuery Library on your webpage. If you are new to jQuery, you may want to look at the jQuery Documentation and marvel at the comprehensive API you now have at your fingertips.
Take care to only include the jQuery library once in your page. If you are editting an existing complicated web page template, you might already have it!
Some developers may decide to have their own copy of jQuery on their website. This avoids problems if the CDN was to fail, which leaves your site apprently working, but broken due to the CDN failure.
To use your own copy, download jQuery and upload it to your site. You'd upload it in a similar way to uploading jPlayer to your website. ie., Put it in an easy to use absolute address.
Anyone interested in a CDN failover, read our blog post on the subject:
A Simple and Robust jQuery 1.4 CDN Failover in One Line
If you have many scripts on your page, you might want to consider using head.js to speed up your site.
Note that this jPlayer guide does not cover its use. You have to change the jQuery ready function to use the head.js()
callback function or use the head.ready(fn)
function instead.


our flagship online intra-institute design contest
our monthly “show and tell” critique session that’s open to everyone
a thawing session between members, new inductees and restaurant waiters
our institutes bi-annual magazine
our institutes official design team
the team managing our club


|
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
| def | __init__ |
| def | initialize |
| def | get_keys_to_reserve |
| def | generate_records |
| def | create_entity |
| def | rewrite_reference_proto |
| Public Member Functions inherited from google.appengine.tools.bulkloader.Loader | |
| def | __init__ |
| def | get_keys_to_reserve |
| def | alias_old_names |
| def | create_entity |
| def | generate_key |
| def | handle_entity |
| def | initialize |
| def | finalize |
| def | generate_records |
Public Attributes | |
| kind | |
| app_id | |
| namespace | |
| queue | |
| keys_to_reserve | |
Additional Inherited Members | |
| Static Public Member Functions inherited from google.appengine.tools.bulkloader.Loader | |
| def | RegisterLoader |
| def | RegisteredLoaders |
| def | RegisteredLoader |
| Static Public Attributes inherited from google.appengine.tools.bulkloader.Loader | |
| kind = None | |
A Loader which imports protobuffers from a file.
| def google.appengine.tools.bulkloader.RestoreLoader.get_keys_to_reserve | ( | self | ) |
Returns keys with ids in their paths to be reserved. Returns: A list of keys used to advance the id sequences associated with each id to prevent collisions with future ids.
| def google.appengine.tools.bulkloader.RestoreLoader.rewrite_reference_proto | ( | self, | |
| entity_namespace, | |||
| reference_proto | |||
| ) |
Transform the Reference protobuffer which underlies keys and references. Args: entity_namespace: The 'before' namespace of the entity that has this reference property. If this value does not match the reference properties current namespace, then the reference property namespace will not be modified. reference_proto: A Onestore Reference proto


Are you curious about your estimated account value? Or, curious about estimated account value of your friends?
Get estimated account value in wallet page
You can check your estimated account value in your wallet after your logged in steemit.com, and you can check your friend’s wallet by visit https://steemit.com/@yourfriendid/transfers without login. But, Have you noticed that there are some differences between them?
Take my account for example:
✅Check my wallet after logged-in
❌Check my wallet without logged-in
Pay attention to where I marked it, the estimated account value after logged-in in is more than without logged-in. Why? ⚠Because the assets in internal market are not counted in estimated account value if this account is not logged in.
So, if your friends have a lot of assets in internal market, you will get a completely wrong value.
How to solve this problem?
There is a API get_open_orders
, will return all open orders in internal market of the specified account, and then we can calculate the assets in internal market of this account.
Is it enough? No!
After we got account’s assets in internal market by script, we need to manually add them to the values we got from web page(wallet), This is very annoying thing. A better way is to read the user’s wallet information by script too, and then add the corresponding information together.
What we need to get?
To read the user’s wallet information, we need to get the following information:
- STEEM
- STEEM POWER
- STEEM DOLLARS
- STEEM in SAVINGS
- STEEM DOLLARS in SAVINGS
Is it enough now? No!
There a function in wallet called Convert to Steem, if you use it to convert SBD to STEEM, your SBD will disappear from the wallet, until it be converted successfully.
So, It should be better if we can obtain the assets(SBD) to be converted.
Fortunately, there is a API called get_conversion_requests
. We can use it to calculate the amount of assets(SBD).
And after HF18, users need to claim their rewards manually, so to accurately calculate the estimated account value, we need to add this part: Rewards to be claim
Conclusions
Estimated account value contains four parts:
1) The assets in wallet( And in SAVINGS)
2) The assets in internal market
3) The assets(SBD) in conversion processes
4) The assets(rewards) to be claimed
To calculate estimated account value, we need to get following items:
- STEEM
- STEEM POWER
- STEEM DOLLARS
- STEEM in SAVINGS
- STEEM DOLLARS in SAVINGS
- STEEM in internal market
- STEEM DOLLARS in internal market
- STEEM DOLLARS in conversion requests
- STEEM Reward to be claimed
- STEEM POWER to be claimed
- STEEM DOLLARS to be claimed
I’ll explain how to get these items in my next article.
Thank you for reading.
中文
登陆查看用户账户估值，和不登录查看，结果会有一些区别。
如果没有登陆，或者ID A登录查看ID B的钱包, 在内部市场的资产不被显示。
除此之外，转换中的资产， 以及待收取的收益，也没有计算在内。
所以要精确计算账户估值，我们需要读取
- 钱包资产（保护存款账户）
- 内部市场资产
- 转换中的资产
- 待收取的资产
我将在下篇文章中介绍如何获得这些内容，感谢阅读。
This page is synchronized from the post: How to calculate estimated account value: Part One / 如何计算账户估值：第一部分


title = "Activation Successful" url = "/activation-successful/:code" layout = "Registration" description = "Your account has been activated" is_hidden = 0 [viewBag] localeTitle[el] = "Επιτυχής Ενεργοποίηση" localeUrl[el] = "/activation-successful" [account] redirect = "login" paramCode = ":code" forceSecure = 0 [session] security = "guest" redirect = "investment-platform" ==


When Ox 2.00 is released, the following is required after upgrading:
Recompile .oxo files
Of course, .oxo files which are part of this release need not
be recompiled.
Note that you can see local variables when using the debugger
to trace into .oxo files only if they have been compiled with
debugging on (which leads to slower code).
New features
The #import statement
allows for much easier linking of .oxo files than the link pragma.
It also includes the corresponding header file. For an example
see here.
Ox can now read most Excel workbooks, as created by Excel
versions 5.0, 95 and 97.
Achieved some speed improvement in .fmt file reading/writing.
Implemented Gauss universal matrix v96 format (.fmt). savemat()("x.fmt", x, 1) uses v96. loadmat() loads it automatically
Ox Development enhancements
The new Ox book gives examples on how to use Visual Basic 5 to write an
interface wrapper around Ox code (the old book already had examples
for Visual C++. A basic file to facilitate this is part of the developer's kit.
Providing for input function replacement (OxGets)
Export more functions from the Ox DLL:
SetNaN, FIsNaN, SetInf, FIsInf.
changed behaviour of exit() function: it still exits, but
in amore controlled fashion. This allows interface wrappers to continue.
created isclass(a, "class") to check if an object is of
type "class", or derived from it.
range() now uses truncf to get more consistent upper bound.
Added compact print format to maximization package.
Function bug fixes
savemat didn't return 1 if successful in
writing .in7/.dat/.xls/.fmt.
arma0: can crash if p > r.
Bug fixes:
An Excel file cannot have more than 65536 rows, but this upperbound was not
checked by Ox. Also reading of Excel files with more than 32K rows
went wrong. Reading of Excel 3 and 4 file reading did not work correctly
on big endian machines (was OK for Windows).
Problem with array indexing (only with dimensions greater than 1), e.g.:
decl ax = {{1,2}};//{{1,2}, {3,4}};
ax[0][0] = 10;
didi not change the first element in a.
Fixed problem when calling a static function from class foo as
static foo::bar() from inside another class.
An empty matrix indexing an array gave a run-time error.


TUCKER A film review by Ed Nilges Copyright 1988 Ed Nilges
I saw TUCKER: THE MAN AND HIS DREAM today in New York.
This movie dealt with a desperately sad subject in a way that avoided moral complexities and so much of the sadness. Coppola's formula seems to have started in THE GODFATHER. This is to present characters with moral ambiguity... mobsters and, in the case of Tucker, entrepreneurs, as completely good people. Note that I don't think that Don Corleone, or Preston Tucker, were evil people. I think, however, that Coppola ignores the evil things they may have (almost unavoidably) done as members of out-groups in his anxiety to portray them as heroes.
Tucker was winging it in asking a postwar government (still under almost Socialistic controls) for a factory to produce his car. Many things could have gone wrong; for example, the labor issue is ignored. Tucker may not have been able to get enough workers in what was expected to be a labor glut as the vets returned from the war, but what turned out to be a shortage. Tucker was taking a calculated risk. This could have been interpreted as dishonesty.
By the end of the Second World War, you needed major bucks to produce cars. The era of producing cars in garages had ended. The government's case could have rested on the charge that Tucker was dishonest, not as an out and out con man, but as someone who fooled himself in thinking that a startup would work in the postwar economy. The possible validity of such a charge is not addressed in the movie, for it would confuse audiences. Tucker is not shown either agonizing, Hamlet-like, over this possibility, or deliberately ignoring reality.
But it is manipulative to make a movie of an American innocent who is destroyed by those big bad car companies. It is manipulative because Coppola is himself part of another big bad system for producing products for mass consumption...Hollywood. Interestingly, Coppola likes to think of himself as a Tucker, with a loyal staff of retainers (each of whom knows his or her role and never steps outside of it) dedicated to *his* goals...a few years ago, Esquire published a rather dictatorial memo, from Coppola, in which he stated that the whole purpose of his studio was to support *him*. However, his operations dovetail quite nicely, I'm sure, with the Hollywood system, for otherwise his films would not be distributed. In short, Coppola's Zoetrope is really a part of the system Coppola criticizes.
There is something unavoidable about this, for it is impossible to make movies (or cars) without a certain highly-organized and, let's admit it, dictatorial system. But that does not reduce the manipulativeness of the process in the slightest. When Francis makes a movie and we pay money to see it, and he presents us with gosh all fish-hooks American innocence, it is, I believe, incumbent on us to maintain a certain ironic distance. Tucker was like any man, a compound of good and evil...and like any entrepreneur perhaps a bit of an operator. I don't know. I do know that he seems, in the movie itself, to have bit off more than he could chew and to have wasted a lot of people's valuable time.
Actually, gosh-all-fish-hooks American innocence is getting to be just a bit of a geopolitical problem.  Boyish grins (a la Reagan and Tucker) eventually wear thin. I'm reading a biography of Margaret Thatcher and (although I am no fan of either), I am saddened by the contrast between Ron and The Thatch. Ron dithered in Beirut, and lost 260 Marines; Thatcher made it crystal clear what the result of Argentine conduct would be in the Falklands nonsense, and backed up her words with deeds. She lost only 100 more British soldiers over a much longer period, and each man who fought knew what the hell was going on. The difference is the difference between childhood and adulthood.
I am especially saddened that many would-be computer entrepreneurs will see TUCKER, for the computer industry is currently in somewhat the same phase of consolidation as was underwent by the auto industry. Software is reaching a state of complexity where it may be impossible to go back to the garage to produce good systems (which is not to say that good systems will be produced by big companies). I hope that I am wrong; I hope that the computer industry will not be dominated by a big three.
Good cars, cars with seat belts, engines in the back, disk brakes, were eventually produced, not by entrepreneurs in garages, but by Japanese and Germans in labor unions in great big factories. Actually, this is finally starting to happen in the USA. In 1981, Ford and the AFL/CIO agreed that Quality is Job 1, and I now own an 85 Escort that runs great, gives good gas mileage, didn't cost an arm and a leg, and (gasp) doesn't have a spot of rust without being Rusty Joned. This happened because management and the unions finally got off their butts, under the lash of Japanese competition. Of course, I now understand that the Taurus has a lot of bugs...my Escort is an el Strippo, and the Taurus is a return to the car with a lot of (high profit) extras, and Rome wasn't built inna day. Point is, Tucker (and deLorean) had nothing to do with this. Management and (gasp) labor unions did it.
 I like watching Coppola's films, but I am disturbed by what they've always said about life; that real men prevaricate and kill to protect their families. Maybe they do, but the function of art is to try to purge us of the Beast through laughter and terror. Coppola, like Dostoeyevsky's Grand Inquisitor, seems to want to saddle and mount the beast (and raise the cup on which the word MYSTERY is written?).
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


This page gives a list of RcppDeepState packages that RcppDeepState found Issues in.The links belows provide more information about each package.
To get started, click on your package to see what functions in your package have issues and inputs that produced those issues:


Projects
NoSqlBA - 2919 -
Presenting a case study about use of LiteDB focused on high concurrency applications.
Condos -
Condominium management and communication system.
Syseduc -
Complete management system for public schools.
Hórus -
Public scan for retail. Through computer vision and follow-up dashboards,
we were able to provide information about customers' profiles and sales.
Ambev - Show de Bar -
Entertainment solution focused on Ambev's bars for marketing actions and
music and video selling.


Home
Features
Browser support
Playground
Examples
Boolean Process
L-monoton Polygon
Duality
Smallest Enclosure Disk


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sint, explicabo dolores ipsam aliquam inventore corrupti eveniet quisquam quod totam laudantium repudiandae obcaecati ea consectetur debitis velit facere nisi expedita vel?
The idea of creating something out of nothing has always generated a passion in my heart. This is what lead me to website development. I can literally create little worlds that hopefully thousands of people can see and even experience.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
The idea of creating something out of nothing has always generated a passion in my heart. This is what lead me to website development. I can literally create little worlds that hopefully thousands of people can see and even experience.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.
People often say that beauty is in the eye of the beholder, and I say that the most liberating thing about beauty is realizing that you are the beholder. This empowers us to find beauty in places where others have not dared to look including inside ourselves.


HOME
PORTFOLIO
CONTACT
Arrays and Hashes
by Morgan McCrory | Sunday, January 11
Your first paragraph goes here.
<< back to Home


SRCCON is a conference centered on the challenges that news technology and data teams encounter every day. It attracts the best newsroom developers for two days of thinking, working, and building together.
Our sponsors help us make SRCCON both special and accessible by keeping our ticket price well below cost, getting people to the event, and bringing in the special touches that make SRCCON… SRCCON.
We offer a number of different levels of sponsorship in order to accomodate a variety of different sized companies and organizations. Please join us in helping make SRCCON 2015 amazing:
As Lead Sponsor of SRCCON you recieve:
Our Accessibility Sponsors help to make SRCCON welcoming to as many as possible. We have three Accessibility Sponsor slots available:
Accessibility Sponsors recieve:
Our Coffee & Tea Hacking Stations are where SRCCON attendees come together at breaks to make each other hot beverages and compare session notes. Our Coffee & Tea Hacking Station sponsor recieves:
Becoming an event sponsor is a great way of supporting SRCCON. Event sponsors recieve:
Local Media Sponsorship is open only to media companies from MPLS/St. Paul. As a local media sponsor you recieve:
Want to support SRCCON on a budget? Our Supporting sponsorship level lets you help make SRCCON happen! Supporting sponsors recieve:
If you would like to sponsor SRCCON with one of the above packages, or would like to talk about a custom sponsorship, please send us a note.


Easy analysis of over-fitting effects based on mlr.
In a tiny study I noticed that the tuning of hyper-parameters of machine learning methods often did not led to much better results then the default settings. This is often the case for fairly small datasets where the training data does not totally represent the true data. To study those effects I wrote this tiny package. Hopefully it can help you as well. Feedback is appreciated!
library(mlrOverfit) par.set = makeParamSet( makeIntegerParam(id = "mtry", upper = 4, lower = 1), makeIntegerParam(id = "min.node.size", upper = 10, lower = 1) ) oa = generateOverfitAnalysis(task = sonar.task, learner = "classif.ranger", par.set = par.set) plot(oa)
library(mlrOverfit) task = pid.task learner = makeLearner("classif.ksvm") par.set = makeParamSet( makeNumericParam(id = "C", upper = 10, lower = -5, trafo = function(x) 2^x), makeNumericParam(id = "sigma", upper = 15, lower = -15, trafo = function(x) 2^x) ) tune.control = makeTuneControlRandom(maxit = 20) learner.tuned = makeTuneWrapper(learner = learner, resampling = hout, par.set = par.set, control = tune.control) ro = resampleOverfit(learner.tuned = learner.tuned, task = task, resampling = cv5) outer.errors = calcOuterPerformances(ro) outer.errors = simulateOuterPerformance(outer.errors) gg = plot(outer.errors, ro) gg + facet_grid(iter~.)
This time we plotted the performance without aggregation so you can see what is going on.


You've just created a simple Play Framework application! Now lets explore the code and make some changes.
Once the application has been compiled and the server started, your application can be accessed at: http://localhost:9000
Check in Run to see the server status.
There will be more content here someday.


plants rice Plant genes concentrations cultivars (Figure transcription expression NAC plant Tres concentration control roots growth root Huimanguillo Temporalero tolerance Al-treated Cotaxtla aluminum response factors acid biomass gene induced stress reported Osg amino comparison Ríos higher plants, proline increased Al, factor responses observed showed significant {border-style plants. shoot using Aluminum Cotaxtla, Ríos, differences px;} soluble sugars #ffffff;} involved shoots similar grown nutrient total .ab abiotic apical beneficial protein treatment ASR OsNAC Physiol. Sci. solution Arabidopsis chlorophyll effect exposed exposure leaves putative Soil acids dry free used (NAM) B). analysis effects low meristem samples tea treated uptake Huimanguillo, Similar aluminium conditions data determined evaluated indicate lowest mechanisms presence production protein, results Gómez-Merino RNA Temporalero, absence according affected days. displayed double element environmental increase maize order proteins tested times toxicity value ./s--- A). Cell Different Figure Interestingly, Zhang biotic carried control. did drought fresh growth, highest letters means px; regulated role significantly toxic {font-family .). Biol. C). Chlorophyll Hajiboland NAM Nevertheless, Oryza PCR Plants, Roselló STAR STOP Values Wang cold column development different font-size height including levels method multiple previously reaction regulates roots, salt (Tukey, AlCl Arenhart Baluska García-Morales International Marín-Garza Matsumoto Nipponbare Nutr. Plant. Poschenrieder Rice Stress Temporalero. acids, application biological citrate crop cultivar days differentially double; eds evaluated, experimental improves incubated individual length macronutrients measured profiling reduction reference regarding rice, rice. sativa signaling study time treatment. values varieties weight (Hajiboland (no Actin Adaptation Barceló Ca, Cham: Communication Environ. Front. Huang Mol. Moreover, OsDREBA Osg, Panda Publishing), RT-PCR Signaling Springer Subsequently, Trejo-Téllez Yang activation analyzed antioxidant at: attributed border-color border-width conditions. containing cultivars, efficient enhanced enhances extraction final functions increasing induction level lower mechanism metal min, observe online positive report resistance salinity sensitive shoots, shoots. sodium soils solid; species standard tested, transcriptional transgenic {font-style {font-weight (.% (A), (Arenhart (C) (Figures (i.e., ./BF ./fpls.. ./j.-...x ./j.-..tb.x ./pp.. ART Available Bot. Concentration DBW Expression Famoso Furthermore, However, Importantly, Indeed, Kobayashi Kochian L.) LSD Ma, Material Mexico OsNAC, OsRAN Planta Relative Rev. Science Similarly, Total Transcription WRKY Watanabe acid, activity article b). bold calculated cell concentrated concentrations, conditions, courier; described determine developed domain em; especially exception expressed family genes, highly hydroponic independent key log macronutrient mean metabolism molecular ninhydrin potential produced productivity pt;} recorded regulation regulator related responsive rest shown soils. stimulates stimulation stress, stress-responsive stress. studies study, tip tolerant turn vs. weight. young Absorbance nm


| getMethod {methods} | R Documentation |
The function selectMethod()
returns the method that
would be selected for a call to function f
if the arguments had
classes as specified by signature
. Failing to find a method
is an error, unless argument optional = TRUE
, in which case
NULL
is returned.
The function findMethod()
returns a list of
environments that contain a method for the specified function and signature; by
default, these are a subset of the packages in the current search
list. See section “Using findMethod()
” for details.
The function getMethod()
returns the method corresponding to the
function and signature supplied similarly to selectMethod
, but
without using inheritance or group generics.
The functions hasMethod()
and
existsMethod()
test whether selectMethod()
or
getMethod()
, respectively, finds a matching method.
selectMethod(f, signature, optional = FALSE, useInherited =, mlist = , fdef = , verbose = , doCache = ) findMethod(f, signature, where) getMethod(f, signature = character(), where, optional = FALSE, mlist, fdef) existsMethod(f, signature = character(), where) hasMethod(f, signature = character(), where)
f |
a generic function or the character-string name of one. |
signature |
the signature of classes to match to the arguments
of |
where |
the environment in which to look for the
method(s). By default, if the call comes from the command line, the table of methods defined in the generic
function itself is used, except for |
optional |
if the selection in |
mlist, fdef, useInherited, verbose, doCache |
optional arguments
to |
The signature
argument specifies classes, corresponding to
formal arguments of the generic function; to be precise, to the
signature
slot of the generic function object. The argument
may be a vector of strings identifying classes, and may be named or
not. Names, if supplied, match the names of those formal arguments
included in the signature of the generic. That signature is normally
all the arguments except .... However, generic functions can be
specified with only a subset of the arguments permitted, or with the
signature taking the arguments in a different order.
It's a good idea to name the arguments in the signature to avoid
confusion, if you're dealing with a generic that does something
special with its signature. In any case, the elements of the
signature are matched to the formal signature by the same rules used
in matching arguments in function calls (see
match.call
).
The strings in the signature may be class names, "missing"
or
"ANY"
. See Methods_Details for the meaning of these in method
selection. Arguments not supplied in the signature implicitly
correspond to class "ANY"
; in particular, giving an empty
signature means to look for the default method.
A call to getMethod
returns the method for a particular
function and signature. The search for the method makes no use of
inheritance.
The function selectMethod
also looks for a method given the
function and signature, but makes full use of the method dispatch
mechanism; i.e., inherited methods and group generics are taken into
account just as they would be in dispatching a method for the
corresponding signature, with the one exception that conditional
inheritance is not used. Like getMethod
, selectMethod
returns NULL
or generates an error if
the method is not found, depending on the argument optional
.
Both selectMethod
and getMethod
will normally use the
current version of the generic function in the R session, which has a
table of the methods obtained from all the packages loaded in the
session. Optional arguments can cause a search for the generic function from a
specified environment, but this is rarely a useful idea. In contrast,
findMethod
has a different default and the optional
where=
argument may be needed. See the section “Using
findMethod()
”.
The functions existsMethod
and hasMethod
return
TRUE
or FALSE
according to whether a method is found,
the first corresponding to getMethod
(no inheritance) and the
second to selectMethod
.
The call to selectMethod
or getMethod
returns the selected method, if
one is found.
(This class extends function
, so you can use the result
directly as a function if that is what you want.)
Otherwise an error is thrown if optional
is FALSE
and NULL
is returned if
optional
is TRUE
.
The returned method object is a
MethodDefinition
object, except that the default method for a primitive function is required to be the primitive itself.
Note therefore that the only reliable test that the search failed is
is.null()
.
The returned value of findMethod
is a list of
environments in which a corresponding method was found; that is, a
table of methods including the one specified.
findMethod()
As its name suggests, this function is intended to behave like
find
, which produces a list of the packages on the
current search list which have, and have exported, the object named.
That's what findMethod
does also, by default. The
“exported” part in this case means that the package's namespace
has an exportMethods
directive for this generic function.
An important distinction is that the absence of such a directive does not prevent methods from the package from being called once the package is loaded. Otherwise, the code in the package could not use un-exported methods.
So, if your question is whether loading package thisPkg
will define a
method for this function and signature, you need to ask that question
about the namespace of the package:
findMethod(f, signature, where = asNamespace("thisPkg"))
If the package did not export the method, attaching it and calling
findMethod
with no where
argument will not find the
method.
Notice also that the length of the signature must be what the
corresponding package used. If thisPkg
had only methods for
one argument, only length-1 signatures will match (no trailing
"ANY"
), even if another currently loaded package had signatures
with more arguments.
as()
The function setAs
allows packages to define methods for
coercing one class of objects to another class. This works internally
by defining methods for the generic function coerce(from,
to)
,
which can not be called directly.
The R evaluator selects
methods for this purpose using a different form of inheritance. While
methods can be inherited for the object being coerced, they cannot
inherit for the target class, since the result would not be a valid
object from that class.
If you want to
examine the selection procedure, you must supply the optional argument
useInherited = c(TRUE, FALSE)
to selectMethod
.
Chambers, John M. (2016) Extending R, Chapman & Hall. (Chapters 9 and 10.)
Chambers, John M. (2008) Software for Data Analysis: Programming with R Springer. (Section 10.6 for some details of method selection.)
Methods_Details
for the details of method
selection; GenericFunctions
for other functions
manipulating methods and generic function objects;
MethodDefinition
for the class that represents
method definitions.
testFun <- function(x)x setGeneric("testFun") setMethod("testFun", "numeric", function(x)x+1) hasMethod("testFun", "numeric") # TRUE hasMethod("testFun", "integer") #TRUE, inherited existsMethod("testFun", "integer") #FALSE hasMethod("testFun") # TRUE, default method hasMethod("testFun", "ANY")


I concerned Wahoo! patron sent in the following screen shot of the current high scores as exposed by the high scores service:
As you can see, the high scores service has turned into the poster child for the need for web service security. However, after hanging out at two Web Services DevCons and talking with Keith "Mr. Security" Brown, I've come to the conclusion that there is no good way to secure this specific web service. Even worse than that, there's an entire class of web services just like it that can't be guaranteed secure.
The goal of the high scores web service is to provide access only to the Wahoo! app itself. Only Wahoo! knows when someone has earned their score while playing instead of merely faked it through some other means. Of course, this application is just for fun, so the lack of a secure high scores repository is hardly a big deal (although I'm often surprised when people tell me that they play wahoo.exe instead of sol.exe). However, imagine that a real application wanted to do the same thing. Maybe Microsoft only wants Office applications and not Linux knock-offs to query the clip art web service on microsoft.com. Or maybe your business wants to provide a web service that only your apps can talk to.
Of course, Microsoft doesn't ship the source code for Word and your business is unlikely to ship the source code for your apps if you plan on making money on them (remember actually making money on software?), so that's different than Wahoo!, isn't it? No. Every time you put code on a machine outside of your sphere of influence, you might as well ship code, especially if it's .NET code, which comes with a built-in disassembler! "But wait," you say. "What about code obfuscators?" Well, that arms race has already been fought in the world of Java and disassemblers won. There was no way that an obfuscator can hide the details of Java byte code without completely destroying the usability of the code (particularly in the area of performance). .NET will be no different.
"Aha! But what about unmanaged code? x86 can't be read like IL." You're right. It is harder to disassemble x86 than IL, but not significantly so. The x86 disassembler tool vendors have been working for a lot longer on this problem and we've bred guys like Andrew Shulman and Matt Peitrek that dream in x86 and only translate to English as a convenience for their wives.
The bottom line that if you ship code, you might as well ship the source, as it's available anyway. If a computer can execute your code, somebody can read it and pull out the details of whatever you're using to obfuscate the communication between your code and your back end (whether it's a web service or not).
"So why do I have to log in all the time if there's no such thing as security?" Well, it's not as if there aren't ways to secure systems in the world, but all working security thus far invented depends on physical security, whether it's the private part of a key pair secured in your safe or a password secured in your brain. The reason that applications can't make use of this kind of security is because they don't have access to safes and their minds can be read much more easily that those of humans (although a rubber hose is just as effective as ildasm.exe, when something is really important).
So what does that mean for applications that want to make use of back-ends? I see four solutions. One, you can tie security to a user instead of an application. For example, if I make everyone sign up for a Wahoo! account to log high scores, I'd at least know who to ban from use when they faked impossibly high scores. However, it also opens up the possibility of the user completely bypassing the application altogether, including any checks that the client may make on validity of the data being sent to the back-end.
The second possibility is to make things hard*er* on the potential hackers. Keith summed it up nicely:
"After looking at your JPG, I'd suggest some server side filtering. Limits on user name length and content would help you at least reduce the amount of space that hackers can use for advertising. OTOH, you've got a nice little bulletin board going there ;-)"
Anything I do in the way of encryption and obfuscation between the app and the back-end will slow down potential hackers and for something like Wahoo!, I don't suspect it would take much to keep folks honest (turning off the asmx test page would be a good first step, for example : ).
One way to make things harder, and a third way to secure apps, is a dongle, which adds new hardware to a machine along with the software. Unfortunately, a dongle could be reverse engineered just as a hunk of software. It's only the fairly uncommon use of dongles that keeps them from being broken more often.
The fourth option, which Keith mentioned, is Microsoft's new Palladium platform, which operates with special hardware and software to limit a user's access to their own computer, kind of like a universal dongle.
The real question is, what's secure enough? Unfortunately, this is an arms race that will eventually be won by any hacker with enough smarts, time and money. For users, we continue to make things harder on hackers as we transition from passwords to biometrics and smart cards. For applications, we've got dongles and precious little else, which makes it darn hard to treat apps like the independent entities into which they're evolving.


home
> Group Visits
Museums
Our Museums
All Events
Refine Results
Location
----Location----
Country Life
Archaeology
Natural History
Decorative Arts and History
Format
----Format----
Activities
Tours
Search Again
Event Details
Results
> Event Details
Our Gallery
Email Us


With this book, you can teach yourself how to design web pages the way the professionals do, by using HTML and CSS in tandem to structure and format the page content. It begins with a crash course that teaches you more about HTML and CSS than you can learn from most full books. That includes a chapter on Responsive Web Design that shows you how to build responsive websites that will look and work right on all devices, from phones to tablets to desktop computers.
After that, this book shows you how to enhance your web pages with features like images, forms with built-in data validation, and audio and video clips. You'll also learn how to use JavaScript and jQuery to add features like image rollovers, image swaps, and slide shows. You'll learn how to use jQuery UI and jQuery plugins to add features like accordions, tabs, carousels, and slide shows. And you'll learn how to use jQuery Mobile to develop separate websites for mobile devices.
Zak Ruvalcaba has been researching, designing, and developing for the Web since 1995. He holds a Bachelor's degree from San Diego State University and a Master of Science degree in instructional technology from National University in San Diego.
Anne Boehm has over 30 years of experience as an enterprise programmer. She got started with Visual Basic in the days of VB5 and has been programming on .NET since its inception. She added C# to her programming repertoire in the mid-2000s, and she's authored or co-authored our books on Visual Basic, C#, ADO.NET, ASP.NET, and HTML5/CSS3
Zak Ruvalcaba has been researching, designing, and developing for the web since 1995. His skill set ranges from HTML5/CSS3 and JavaScript/jQuery to .NET with VB and C#, and he's created web applications for companies like HP, Toshiba, IBM, Gateway, Intuit, Peachtree, Dell, and Microsoft. He has authored or co-authored our books on HTML5/CSS3, jQuery, and Dreamweaver CC.
This book is for anyone who wants to develop web pages at a thoroughly professional level. That includes:


| Oracle® Enterprise Manager HP Operations Manager Connector Installation and Configuration Guide Release 11 (<IP_ADDRESS>.0) Part Number E27306-02 |
|
|
PDF · Mobi · ePub |
The Oracle Enterprise Manager Connector Framework requires a web service interface for exchanging event information with OMU. Since OMU does not come with a web services front end, an Oracle-provided web service front end must be installed before Oracle Enterprise Manager can exchange event information with OMU. Additionally, an Oracle back-end Agent must also be installed on the same system as the OMU server.
This chapter provides information to assist in troubleshooting integration issues with HP OMU. The chapter focuses on troubleshooting issues in the web service front-end and the back-end Agent.
This chapter discusses the following topics:
Preparing for Troubleshooting
Using the Correct URL for OMU Web Service Operations
Diagnosing Problems with Message Generation and Updates
Resolving Alerts from Oracle Enterprise Manager
Resolving Messages from OMU
In order to troubleshoot integration issues, you must adjust the Oracle Enterprise Manager logging options to capture additional information.
To enable debug logging information for <IP_ADDRESS>:
Edit the emomslogging.properties file using a text editor. The file is located in the following directory ...
<ORACLE_HOME>/oms10g/sysman/config
... where <ORACLE_HOME> is the Oracle install directory.
Set the parameters as follows:
log4j.appender.emlogAppender.Threshold = DEBUG log4j.rootCategory=DEBUG, emlogAppender, emtrcAppender
After setting the debug logging parameters, restart OMS by opening a command window, changing the working directory to <ORACLE_HOME>/oms10g/bin, and issuing the following commands:
emctl stop oms emctl start oms
To enable debug logging information for <IP_ADDRESS>, see "Controlling the Contents of the Oracle Management Service Trace File," in Oracle Enterprise Manager Administration 11g Release 1 (<IP_ADDRESS>).
Perform the following steps to identify and configure the connector to use the correct URL for OMU Web Service operations.
Open a command terminal on the system where the OMU web service is installed.
Change the working directory to the adapters/log directory in the OMU web service installation directory.
Open the framework.log file in a text editor.
Go to the bottom of the file and search backwards for the string “Setting the server's publish address to be”. Continue searching backwards until you find the URL that contains AcquisitionService. The URL listed there is the URL that should be specified for the getNewAlerts, getUpdatedAlerts, and acknowledgeAlerts operations.
Go to the bottom of the file and search backwards for the string “Setting the server's publish address to be”. Continue searching backwards until you find the URL that contains EventService. The URL listed here is the URL that should be specified for the createEvent and updateEvent operations.
Log in to the Oracle Enterprise Manager console by entering a user name with a 'Super Administrator' role, entering the appropriate password, then clicking Login.
Click the Setup link at the top right part of the window. The Overview of Setup page appears.
Click the Management Connectors link on the left side of the window. The Management Connectors page appears, which shows the installed connectors.
Click on the Configure icon associated with the HP OMU Connector. This invokes edit mode, enabling you to configure the connector.
Verify that the URL identified in step 4 is specified for the getNewAlerts, getUpdatedAlerts, and acknowledgeAlerts operations.
Verify that the URL identified in step 5 is specified for the createEvent and updateEvent operations.
If any of the operations are incorrect, change to the correct URL and click OK.
You might encounter issues involved in generating or updating messages in OMU from alerts that have originated in Oracle Enterprise Manager or vice versa. The following sections provide diagnostic information to resolve these problems.
OMU can generate or update messages from alerts that have originated in Oracle Enterprise Manager. Perform the following diagnostic steps if OMU messages are not being generated or updated as expected.
Verify that a notification rule is set up for the condition that triggered the alert. Perform the following steps to verify that it is setup correctly:
Open an Oracle Enterprise Manager console window and log in.
Click on the Setup link in the upper right corner of the Oracle Enterprise Manager console.
Click on the Notification Methods link on the left side of the window.
Locate the HP OMU Connector in the table near the bottom of the window and click on it to list and note the notification rules that use this method.
Click on the Preferences link in the upper right corner.
Click on the Notification Rules link on the left side of the window. This displays a list of all defined notification methods.
Examine the details for the rules listed in step d above and verify that at least one rule matches the conditions that triggered the alert.
If you did not find at least one rule, you need to modify an existing notification rule or add a new one to invoke the OMU notification method.
Determine the error that Oracle Enterprise Manager has reported.
Navigate to the page that displays the alert information that should have triggered the new message in OMU.
For example, if the Memory Utilization % metric was set up to invoke the HP OMU Connector method, you would perform the following steps to access the page that displays alert information. This example assumes that the generated alert was critical.
1.) Click on the Alerts tab.
2.) Click on the Critical sub-tab.
3.) Click on the Memory Utilization % alert.
Click on the details and look for any error messages.
After the alert is generated, it initially indicates that the method will be invoked, but no error messages appear. The Enterprise Manager Connector Framework makes several attempts to transfer the alert information to the OMU web service. After all attempts have failed, an error message is usually added to the details for the alert. If there are no errors after several minutes, it is likely that no error messages will be added to the log.
If there is no error information in the alert details, you need to examine the log file for errors. Perform the following steps to locate errors in the log file:
1.) Open the emoms.trc file in a text editor. The location of the file depends on the Enterprise Manager version.
For <IP_ADDRESS>, the file is located at:
<EM_INSTANCE_BASE>/em/<OMS_NAME>/sysman/log/
where <EM_INSTANCE_BASE> is the OMS Instance Base directory. By default, the OMS Instance Base directory is gc_inst, which is present under the parent directory of the Oracle Middleware Home.
For <IP_ADDRESS>, the file is located at:
$OMS_HOME/sysman/log
2.) Go to the bottom of the file and search backwards for this string:
ERROR core.EMEventConnectorServiceImpl createEvent
The error message is contained in the Exception information.
Diagnose the problem based on the error message. See Section 5.4, "Resolving Alerts from Oracle Enterprise Manager" for information on troubleshooting common error messages.
Oracle Enterprise Manager can generate or update alerts resulting from messages that have originated in OMU. Perform the following diagnostic steps if Oracle Enterprise Manager alerts are not being generated or updated as expected.
Open the emoms.trc file in a text editor. The location of the file depends on the Enterprise Manager version.
For <IP_ADDRESS>, the file is located at:
<EM_INSTANCE_BASE>/em/<OMS_NAME>/sysman/log/
... where <EM_INSTANCE_BASE> is the OMS Instance Base directory. By default, the OMS Instance Base directory is gc_inst, which is present under the parent directory of the Oracle Middleware Home.
For <IP_ADDRESS>, the file is located at:
$OMS_HOME/sysman/log
Go to the bottom of the file perform a backwards search for getNewAlerts().
Any instances you find are immediately followed by exception information that identifies the cause of the failure.
See Section 5.5, "Resolving Messages from OMU" for the error message you found in the log file. Each message entry explains the cause of the problem and the steps required to correct the problem.
This section provides cause and solution information on troubleshooting common alert messages. Find the error message in Table 5–1 that matches your alert message, then refer to the corresponding section(s) indicated under Possible Cause for instructions on diagnosing and correcting the problem.
Table 5-1 Enterprise Manager Alert Messages
| Alert Message | Possible Cause | Applicable Versions |
|---|---|---|
|
targetException=oracle.xml.parser.v2.XMLParseException: Start of root element expected |
Invalid Web Service Credentials |
<IP_ADDRESS>, <IP_ADDRESS> |
|
javax.net.ssl.SSLException: SSL handshake failed: X509CertChainInvalidErr |
SSL Not Configured in Enterprise Manager |
<IP_ADDRESS>, <IP_ADDRESS> |
|
The wallet "/gc/OracleHomes/oms10g/sysman/connector//certdb.txt" does not exist |
Missing certdb.txt File |
<IP_ADDRESS>, <IP_ADDRESS> |
|
Error opening socket: java.net.ConnectException: Connection refused |
OMU Web Service Is Down |
<IP_ADDRESS>, <IP_ADDRESS> |
|
java.lang.Exception: Error occurred while calling Web Service: |
Invalid XML Format |
<IP_ADDRESS>, <IP_ADDRESS> |
|
Error occurred while calling Web Service: soap:Serverjava.net.ConnectException: Connection refused (errno:239) |
Unable to Connect to Oracle OMU Agent |
<IP_ADDRESS>, <IP_ADDRESS> |
|
Error occurred while calling Web Service: soap:Servercom.iwave.operations.NonRecoverable OperationsException: Error creating event: keyword 'object' is missing |
Request Missing Required Field |
<IP_ADDRESS>, <IP_ADDRESS> |
|
Error opening socket: java.net.UnknownHostException: <hostname> |
Unknown Host |
<IP_ADDRESS>, <IP_ADDRESS> |
|
Error opening socket: java.net.NoRouteToHostException: No route to host |
Invalid IP Address or Port Number |
<IP_ADDRESS>, <IP_ADDRESS> |
|
SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html; |
Invalid URL Path |
<IP_ADDRESS>, <IP_ADDRESS> |
|
The server sent HTTP status code 403: Forbidden |
Invalid Web Service Credentials |
<IP_ADDRESS> |
|
javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from <hostname> - <IPAddress> was not trusted causing SSL handshake failure |
SSL Not Configured in Enterprise Manager |
<IP_ADDRESS> |
|
HTTP transport error: java.net.SocketException: Socket Closed |
OMU Web Service Is Down, Invalid IP Address or Port Number |
<IP_ADDRESS> |
|
java.net.ConnectException: Connection refused (errno:239) |
Unable to Connect to Oracle OMU Agent |
<IP_ADDRESS> |
|
Error creating event: keyword 'object' is missing |
Request Missing Required Field |
<IP_ADDRESS> |
|
HTTP transport error: java.net.UnknownHostException: <hostname> |
Unknown Host |
<IP_ADDRESS> |
|
The server sent HTTP status code 404: Not Found |
Invalid URL Path |
<IP_ADDRESS> |
|
Error creating event: opcmsg_get_msgids failed to return a result after 10 attempts |
Timeout |
<IP_ADDRESS> |
Invalid Web Service Credentials
Cause
The user name or password for accessing the OMU web service is incorrect.
Solution
Log in to the Oracle Enterprise Manager console by entering a user name with a 'Super Administrator' role, entering the appropriate password, then clicking Login.
Click the Setup link at the top right part of the window. The Overview of Setup page appears.
Click the Management Connectors link on the left side of the window. The Management Connectors page appears, which shows the installed connectors.
Click on the Configure icon associated with the OMU Connector.
Click the General tab.
Correct the OMU Web Service Username and OMU Web Service Password fields and click OK.
If the credentials supplied appear to have been entered correctly but still do not work, a typographical error might have been made during the setup of the web service. The recommended option is to reset the web service credentials and attempt this again. Refer to Section 4.3, "Changing Web Service Credentials" for the steps required to reset the credentials.
SSL Not Configured in Enterprise Manager
Cause
The SSL handshake between the Oracle Enterprise Manager Connector Framework and the OMU web service failed. This failure occurs because Oracle Enterprise Manager is not configured correctly with the SSL certificate for the OMU web service. The SSL certificate the OMU web service uses must be imported into the certificate store. The certificate is either missing from the wallet or does not match the SSL certificate provided by the OMU web service.
Solution
Import the SSL certificate from the OMU web service into the wallet manager. See Section 2.3.3, "Adding Signed Certificates to Enterprise Manager" for details on setting up Oracle Enterprise Manager with the OMU SSL certificate.
Cause
The OMU web service is configured to use SSL, but the certdb.txt file that contains the SSL information is missing.
Solution
Import the SSL certificate from the OMU web service into the wallet manager. See Section 2.3.3, "Adding Signed Certificates to Enterprise Manager" on page 2-12 for details on setting up Oracle Enterprise Manager with the OMU SSL certificate.
Cause
The OMU web service is down.
Solution
Perform the following steps to check the status of the web service and start it if necessary.
If the OMU web service is installed on a Unix system:
Open a command terminal on the system where the OMU web service is installed.
Change the working directory to the adapters/bin directory in the OMU web service installation directory.
Enter the following command:
./service.sh status
If the command indicates that the service is not running, restart the web service as specified in Section <IP_ADDRESS>, "Running the Web Service on Unix".
If the OMU web service is installed on a Windows system:
Open a command terminal on the system where the OMU web service is installed.
Change the working directory to the adapters/log directory in the OMU web service installation directory.
Open the framework.log file in a text editor.
Go to the bottom of the file and search backwards for the string iWave Adapter Framework. If the last occurrence found is iWave Adapter Framework Started, this indicates that the web service is started.
If the web service is not started, restart the web service as specified in Section <IP_ADDRESS>, "Running the Web Service on Windows".
Cause
The request sent to the OMU web service was rejected because the XML was formatted incorrectly. This problem should not occur unless the connector configuration XML files are manually updated.
Solution
Look at the error message in the fault-string node of the SOAP fault response and determine what is incorrect in the request document. Examine any changes made to the XML configuration files for mistakes that could have caused the problem. You can determine the correct XML format by accessing the WSDL using a web browser.
Perform the following steps to access the WSDL:
Log in to the Oracle Enterprise Manager console by entering a user name with a 'Super Administrator' role, entering the appropriate password, then clicking Login.
Click the Setup link at the top right portion of the window. The Overview of Setup page appears.
Click the Management Connectors link on the left side of the window. The Management Connectors page appears, which shows the installed connectors.
Click on the Configure icon associated with the HP OMU Connector.
Click the General tab.
Select and copy the URL specified for the createEvent operation.
Open an internet browser on the system where the Oracle Enterprise Manager server is installed.
In the address window, enter the URL that was copied in step 6 above. Add ?wsdl to the end of the URL. The URL should appear similar to the following example:
http://[Hostname]:8080/services/hpovou/EventService?wsdl
[Hostname] is the actual host name or IP address where the OMU web service is installed.
If you cannot determine why the format is incorrect, contact Oracle support.
Unable to Connect to Oracle OMU Agent
Cause
The OMU web service could not connect to the Oracle OMU Agent. Some of the causes could be:
The Oracle OMU Agent is down.
A configuration error in the Oracle OMU Agent or web service is preventing communication.
Solution
Perform the following steps to verify that the Oracle OMU Agent is operational:
Open a command prompt at the system where the OMU server is installed.
Change the working directory to ...
<OVAG_INST>/ovo-agent/scripts
... where <OVAG_INST> is the Oracle OMU Agent installation directory.
Enter the following command to attempt to start the Agent:
./start.sh
If the Agent is already started, the script displays information indicating that the send/receive Agent is already running.
Perform the following steps to verify that the configuration is correct:
Open a command prompt window at the OMU server system and change the working directory to ...
<OMUA_INSTALL>/ovo-agent/conf
... where <OMUA_INSTALL> is the directory where the Oracle OMU Agent is installed.
Open the ovooper.txt file in a text editor.
Search for the line containing the string ListenHost=.
This parameter defines the hostname/IP address that the Oracle OMU Agent uses when listening for requests from the OMU web service. Make a note of this value.
Search for the line containing the string ListenPort=.
This parameter defines the port that the Oracle OMU Agent uses when listening for requests from the OMU web service. Make a note of this value.
Open a command prompt window at the system where the OMU web service is installed, and change the working directory to:
<OMUWS_INSTALL>/adapters/conf
... where <OMUWS_INSTALL> is the directory where the OMU web service is installed
Open the framework.properties file in a text editor.
Search for the hpovou.xmlagent parameter. The format of the parameter is:
http\://<hostname>\:<port>
Verify that the hostname/IP address and the port number specified in this file match the information in steps 3 and 4.
If the information does not match, correct the information and save the file.
If a change was required in the previous step, stop and then start the web service as instructed in Section <IP_ADDRESS>, "Running the Web Service on Unix" and Section <IP_ADDRESS>, "Running the Web Service on Windows".
Request Missing Required Field
Cause
The Oracle OMU Agent could not process the request because key information was missing. This error should not occur if you are using the default configuration. It only occurs if the default mappings were modified and a required field was omitted.
Solution
You need to modify the XSL file to generate the XML node that maps to the missing OMU field. See Appendix A, "Default Mappings" for information on customizing the default mappings.
Cause
The system does not recognize the host name specified in the URL.
Solution
You have the following options for addressing this issue.
Coordinate with the system administrator to change the system configuration to recognize the host name.
Specify the IP address in the URL instead of the host name. To do this, perform the following steps:
Determine the IP address of the system where the OMU web service is installed.
Log in to the Oracle Enterprise Manager console by entering a user name with a 'Super Administrator' role, entering the appropriate password, then clicking Login.
Click the Setup link at the top right part of the window. The Overview of Setup page appears.
Click the Management Connectors link on the left side of the window. The Management Connectors page appears, which shows the installed connectors.
Click on the Configure icon associated with the HP OMU Connector. This invokes edit mode, enabling you to configure the connector.
Change the host name to the IP address in the URL specified for the applicable operations. You will minimally need to change the createEvent and updateEvent operations.
Click OK.
Invalid IP Address or Port Number
Cause
The IP address or port number specified in the URL is invalid, or the network is down.
Solution
Verify that the hostname/IP address configured for the connector is correct:
Log in to the Oracle Enterprise Manager console by entering a user name with a 'Super Administrator' role, entering the appropriate password, then clicking Login.
Click the Setup link at the top right part of the window. The Overview of Setup page appears.
Click the Management Connectors link on the left side of the window. The Management Connectors page appears, which shows the installed connectors.
Click on the Configure icon associated with the HP OMU Connector. This invokes edit mode, enabling you to configure the connector.
Verify that the hostname/IP address and port number specified in the URL for the createEvent and updateEvent operations are correct.
If the hostname/IP address and port number are incorrect, provide the correct values and click OK.
If the URLs specify a host name, make sure that the host name resolves to the correct IP address. To determine the IP address of the host name, issue the ping <hostname> command, where <hostname> is the actual host name. This lists the IP address that was resolved for the host name. If this is incorrect, the system administrator needs to investigate why it is incorrect.
If the hostname/IP address appears to be correct, try to ping the system where the OMU web service is installed using the hostname/IP address. If the ping fails, the system administrator needs to investigate why there is no connectivity.
Cause
The web service received the request and rejected it because there was a problem. This likely indicates that an invalid path was specified in the URL.
Solution
To determine the reason for the failure, examine the HTML document listed with the Exception information in the emoms.trc log file. In the HTML document, it provides error information that indicates the reason why it was rejected. The error information may be difficult to spot because the HTML tag delimiters are encoded.
If the error information specifies “HTTP Error: 404”, this indicates that the path in the URL is incorrect. Perform the following steps to test the URL the connector is using.
Log in to the Oracle Enterprise Manager console by entering a user name with a 'Super Administrator' role, entering the appropriate password, then clicking Login.
Click the Setup link at the top right part of the window. The Overview of Setup page appears.
Click the Management Connectors link on the left side of the window. The Management Connectors page appears, which shows the installed connectors.
Click on the Configure icon associated with the HP OMU Connector.
Click the General tab.
Select and copy the URL specified for the createEvent operation.
Open an internet browser on the system where the Oracle Enterprise Manager server is installed.
In the address window, enter the URL that was copied in step 6 above. Add ?wsdl to the end of the URL. The URL should appear similar to the following example:
http://[Hostname]:8080/services/hpovou/EventService?wsdl
[Hostname] is the actual host name or IP address where the OMU web service is installed.
If the WSDL is loaded, this confirms that the URL is correct. If it fails to load, there is a problem with the URL. Perform the steps specified in Section 5.2, "Using the Correct URL for OMU Web Service Operations" to configure the connector to use the correct URL.
Cause
The web service received the request and successfully sent the request to the Agent. The Agent successfully submitted the create/update request to the OMU API. The Agent timed out waiting for OMU to provide an ID of the resulting message that was created. This error occurs because OMU is not properly configured to create messages for Enterprise Manager.
Solution
Verify that the steps specified in Appendix B have been performed to properly configure OMU for Enterprise Manager messages.
This section provides cause and solution information on troubleshooting common messages from OMU. Find the error message in Table 5–2 that matches your error message, then refer to the corresponding section(s) indicated under Possible Cause for instructions on diagnosing and correcting the problem.
| Error Message | Possible Cause | Applicable Versions |
|---|---|---|
|
targetException=oracle.xml.parser.v2.XMLParseException: Start of root element expected. |
Invalid Web Service Credentials |
<IP_ADDRESS>, <IP_ADDRESS> |
|
SOAPException: faultCode=SOAP-ENV:IOException; msg=javax.net.ssl.SSLException: SSL handshake failed: X509CertChainInvalidErr |
SSL Not Configured in Enterprise Manager |
<IP_ADDRESS>, <IP_ADDRESS> |
|
SOAPException: faultCode=SOAP-ENV:IOException; msg=The wallet "/gc/OracleHomes/oms10g/sysman/connector//certdb.txt" does not exist |
Missing certdb.txt File |
<IP_ADDRESS>, <IP_ADDRESS> |
|
SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.ConnectException: Connection refused; |
OMU Web Service Is Down, Invalid Port Number |
<IP_ADDRESS>, <IP_ADDRESS> |
|
SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.UnknownHostException: <hostname>; |
Unknown Host |
<IP_ADDRESS>, <IP_ADDRESS> |
|
SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.NoRouteToHostException: No route to host; |
Invalid IP Address |
<IP_ADDRESS>, <IP_ADDRESS> |
|
SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type |
Invalid URL Path |
<IP_ADDRESS>, <IP_ADDRESS> |
|
The server sent HTTP status code 403: Forbidden |
Unknown Host |
<IP_ADDRESS>, <IP_ADDRESS> |
|
Certificate chain received from <hostname> - <IPAddress> was not trusted causing SSL handshake failure. |
SSL Not Configured in Enterprise Manager |
<IP_ADDRESS> |
|
Tried all: 1 addresses, but could not connect over HTTPS to server: <IPAddress> port: <port> |
OMU Web Service Is Down |
<IP_ADDRESS> |
|
HTTP transport error: java.net.SocketException: Socket Closed |
Invalid Port Number, Invalid IP Address |
<IP_ADDRESS> |
|
HTTP transport error: java.net.UnknownHostException: <hostname> |
Unknown Host |
<IP_ADDRESS> |
|
The server sent HTTP status code 404: Not Found |
Invalid URL Path |
<IP_ADDRESS> |
Invalid Web Service Credentials
Cause
The user name or password for accessing the OMU web service is incorrect.
Solution
Log in to the Oracle Enterprise Manager console by entering a user name with a 'Super Administrator' role, entering the appropriate password, then clicking Login.
Click the Setup link at the top right part of the window. The Overview of Setup page appears.
Click the Management Connectors link on the left side of the window. The Management Connectors page appears, which shows the installed connectors.
Click on the Configure icon associated with the OMU Connector.
Click the General tab.
Correct the OMU Web Service Username and OMU Web Service Password fields and click OK.
If the credentials supplied appear to have been entered correctly but still do not work, a typographical error might have been made during the setup of the web service. The recommended option is to reset the web service credentials and attempt this again. Refer to Section 4.3, "Changing Web Service Credentials" for the steps required to reset the credentials.
SSL Not Configured in Enterprise Manager
Cause
The SSL handshake between the Oracle Enterprise Manager Connector Framework and the OMU web service failed. This failure occurs when the SSL certificate in the certificate store does not match the SSL certificate that the OMU web service provides.
Solution
You need to import the SSL certificate from the OMU web service into the certificate store. See Section 2.3.3, "Adding Signed Certificates to Enterprise Manager" for details on setting up Oracle Enterprise Manager with the OMU SSL certificate.
Cause
The OMU web service is configured to use SSL, but the certdb.txt file that contains the SSL information is missing.
Solution
You need to import the SSL certificate from the OMU web service into the wallet manager. See Section 2.3.3, "Adding Signed Certificates to Enterprise Manager" for details on setting up Oracle Enterprise Manager with the OMU SSL certificate
Cause
The OMU web service is down.
Solution
Perform the following steps to check the status of the web service and start it if necessary.
If the OMU web service is installed on a Unix system:
Open a command terminal on the system where the OMU web service is installed.
Change the working directory to the adapters/bin directory in the OMU web service installation directory.
Enter the following command:
./service.sh status
If the command indicates that the service is not running, enter the following command:
./service.sh start
If the OMU web service is installed on a Windows system:
Open a command terminal on the system where the OMU web service is installed.
Change the working directory to the adapters/log directory in the OMU web service installation directory.
Open the framework.log file in a text editor.
Go to the bottom of the file and search backwards for the string iWave Adapter Framework. If the last occurrence found is iWave Adapter Framework Started, this indicates that the web service is started.
If the web service is not started, start the web service as specified in Section <IP_ADDRESS>, "Running the Web Service on Windows".
Cause
The port number in the URL is incorrect.
Solution
Perform the steps specified in Section 5.2, "Using the Correct URL for OMU Web Service Operations" to identify the correct URL, including the port number.
Cause
The system does not recognize the host name specified in the URL.
Solution
You have the following options for addressing this issue.
Coordinate with the system administrator to change the system configuration to recognize the host name.
Specify the IP address in the URL instead of the host name. To do this, perform the following steps:
Determine the IP address of the system where the OMU web service is installed.
Log in to the Oracle Enterprise Manager console by entering a user name with a 'Super Administrator' role, entering the appropriate password, then clicking Login.
Click the Setup link at the top right part of the window. The Overview of Setup page appears.
Click the Management Connectors link on the left side of the window. The Management Connectors page appears, which shows the installed connectors.
Click on the Configure icon associated with the HP OMU Connector. This invokes edit mode, enabling you to configure the connector.
Change the host name to the IP address in the URL specified for the applicable operations. You will minimally need to change the getNewAlerts, getUpdatedAlerts, and acknowledgeAlerts operations.
Click OK.
Cause
The IP address specified in the URL is invalid, or the network is down.
Solution
Verify that the hostname/IP address configured for the connector is correct:
Log in to the Oracle Enterprise Manager console by entering a user name with a 'Super Administrator' role, entering the appropriate password, then clicking Login.
Click the Setup link at the top right part of the window. The Overview of Setup page appears.
Click the Management Connectors link on the left side of the window. The Management Connectors page appears, which shows the installed connectors.
Click on the Configure icon associated with the HP OMU Connector. This invokes edit mode, enabling you to configure the connector.
Verify that the hostname/IP address specified in the URL for the getNewAlerts, getUpdatedAlerts, and acknowledgeAlerts operations are correct.
If the hostname/IP address is incorrect, provide the correct values and click OK.
If the URLs specify a host name, make sure that the host name resolves to the correct IP address. To determine the IP address of the host name, issue the ping <hostname> command, where <hostname> is the actual host name. This lists the IP address that was resolved for the host name. If this is incorrect, the system administrator needs to investigate why it is incorrect.
If the hostname/IP address appears to be correct, try to ping the system where the OMU web service is installed using the hostname/IP address. If the ping fails, the system administrator needs to investigate why there is no connectivity.
Cause
The URL hostname/IP address and port numbers are correct, but there is an invalid path.
Solution
Perform the steps specified in Section 5.2, "Using the Correct URL for OMU Web Service Operations" to identify the correct URL, including the port number.


Hi there!
I have created SD with copy of emonGateway downloaded from here (http://emoncms.org/site/docs/raspberrypigateway), i have booted but now i would like change to spanish keyboard layout but is impossible.
I have an USB Spanish keyboard connected to RaspberryPI and have tried:
# ipe-wr
# dpkg-reconfigure keyboard-configuration
# ipe-ro
... but at the end UK-keyboard-layout is not changed.
Any idea?
Regards
Re: Keyboard layout
Firstly I assume that "ipe-wr" is a typo and you meant "ipe-rw" :-)
Secondly I assume you have tried rebooting as the new settings mayneed to be loaded
You could try editing the keyboard settings file directly
ipe-rw
nano /etc/default/keyboard
and change the " XKBLAYOUT="gb" " to "XKBLAYOUT="es" and then run
you can confirm your settings (before and) after using
if settings have changed successfully but keyboard hasn't it may need to reboot for new settings to load.
Paul
Re: Keyboard layout
Thanks Paul,
Yes,it is a typo :)
I will try it again following your notes.
Regards.
Re: Keyboard layout
Hi there!
I have followed these commands in Raspberry Pi using 2 different connected Spanish keyboards without successful results.
# ipe-rw
# nano /etc/default/keyboard (or # dpkg-reconfigure keyboard-configuration)
# invoke-rc.d keyboard-setup start
# debconf-show keyboard-configuration (i can see changes)
# ipe-ro
# reboot
... I can see the updated values in config files but Spanish keyboard layout is not applied. It continues GB keyboard layout.
Also, I have tried changing locales (# dpkg-reconfigure locales) with same results.
At the end, I have configured eth0 interface with static IP and have connected to RaspberryPi with SSH, and in SSH client (terminal) Spanish keymap is automatically loaded !!.
Well, as workaround I am using SSH terminal but if anyone has any idea, it will be welcome!.
Regards.,