Help coderanch get a
new server
by contributing to the fundraiser

vydehi vajanapally

Greenhorn
+ Follow
since Mar 02, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by vydehi vajanapally

We have 2 applications p,q (with seperate weblogic domains)installed on two servers a, b.
And we have loadbalancing server with (clusters a b) for p (normal appli).
And we have loadbalancing server with (clusters a b) for q (is a webservice, which is being used by p).

And i have seperate jks files for both servers a,b.
But when 2 applications are running under cluster environments a,b
we got exception as,

WrappedException or Some Internal Exception for the WebService: electric.util.WrappedException: java.rmi.ConnectException: url.

(All the services individually are up and running fine.)

13 years ago
Thanks Ivan. It was problem with mappings. Now it resolved.
14 years ago
I am getting the below exception while calling the service method,

java.lang.NullPointerException
at electric.util.reflect.Reflect.matchesLoosely(Reflect.java:120)
at electric.util.reflect.Reflect.matches(Reflect.java:99)
at electric.util.reflect.OperationLookup.getOperation(Unknown Source)
at electric.util.reflect.OperationLookup.getOperation(Unknown Source)
at electric.wsdl.Operations.getOperation(Unknown Source)
at electric.wsdl.Operations.getOperation(Unknown Source)
at electric.soap.SOAPReference.invoke(Unknown Source)
at electric.proxy.handler.Proxy.invoke(Proxy.java:64)
at electric.util.proxy.proxy3.InvocationAdaptor.invoke(Unknown Source)
at $Proxy66.getCreditDecision(Unknown Source)
at com.qwest.creditpolicy.adapter.CPAdapterService.execCreditQualMethod(CPAdapterService.java:358)
at com.qwest.creditpolicy.adapter.CPAdapterService.getCreditDecision(CPAdapterService.java:249)
at com.qwest.creditpolicy.adapter.CPAdapterService.process(CPAdapterService.java:47)
at com.qwest.creditpolicy.actions.CreditQualificationAction.execute(CreditQualificationAction.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)

14 years ago
I am calling a glue webservice from my client application.

I got that webservice class object using Registry.bind(...).

But when i call a method of that by passing request object, i am getting 'null' as response.

I kept the below statement in my client code,

electric.util.log.Log.startLogging("SOAP");

but i did not see any SOAP messages or exceptions in my logs.

I am not able to find out, why it is returing the response as null.

(Observed it is not hitting the method of webservice class at server side)

Could you please let me know when do we get response as null.
And why i am not able see soap requests in log file.
Is there any problem with conversion of my request object with the soap request xml?

I have one wsdl file, electric/common/WEB-INF/config.xml, and standard.map file to run the client.
14 years ago
Thanks for the update.
May i know the advantage of using validate() instead of validation.xml

one more question-- we can do server side validations in 3 ways right,
1) using annotations
2) using validate()
3) using validation.xml

Which one will take high precendence if i am doing the validations in all the above ways for the same field/ form element.
14 years ago
i have a XYZ form with two radio buttons. when we click first radio button some of the fileds will be displayed and those are mandatory fields which we have to enter.
when i select second radio button some other field will be displayed on the same page, and in this we have some fields as mandatory.

I am using Action-validation.xml method to do validations.
When i submit the XYZ form, it will go to the same action class and it will validate with the same action-validation for both radio button clicks.

Now when i click on first radio button(there are no second radio button related fileds displayed),
it is giving problem with validation, because i mentioned the second radio button fileds also mandatory in the validation.xml

Could you sujjest me any solution to come out from this?

14 years ago
hi, i want to compare the date field with the current date. for that i need current date into the validation.xml file so that i can compare it how can i implement it i m using struts2. how can we compare in validation.xml??
14 years ago
I created a validation xml and i mentioned those error messages in package.resources.

Now I want to display those error messages(when i click on submit button) as java script alerts on the page.

Please help me how to merge javascript function with the struts validation messages.

and how/when to call this alert message with code.
14 years ago
I created a validation xml and i mentioned those error messages in package.resources.

Now I want to display those error messages(when i click on submit button) as java script alerts on the page.

Please help me how to merge javascript function with the struts validation messages.

and how/when to call this alert message with code.
14 years ago