murali kankanala

Ranch Hand
+ Follow
since Nov 15, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by murali kankanala

Shall i know where to put jaxws-catalog.xml ? and what it should contain.
11 years ago
I ran the the command "wsimport -keep -s ./src -p com.training.jaxws.sun.topdown.client -d ./build/classes http://localhost:8082/JaxWsSunTopDown/LoginServicePort?wsdl"

If i remove ?wsdl it is not working and giving error invalid wsdl. So i must give "http://localhost: 8082/JaxWsSunTopDown /LoginServicePort?wsdl".
11 years ago
jboss-service.xml



run.bat



Interceptor code



jboss-aop.xml

11 years ago
Hi Experts,

I have been strugling with JBoss AOP execution, I did everything correct for JBoss AOP , but still i am always getting the following error.
Please help me.

1)I have installed jboss-aop-jdk50.deployer
2) modified jboss-service.xml <attribute name="EnableLoadtimeWeaving">true</attribute>
3)modified run.bat with set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -javaagent:%JBOSS_ENDORSED_DIRS%\pluggable-instrumentor.jar
4)pluggable-instrumentor.jar is there in bin and as well in endorsed folder
5)I have deployed jboss-aop.xml the aspect/interceptor classes jar in /deploy folder

No luck, i have been strugling for 2 days. Please help.



I am using jboss-4.2.3 GA

attaching
Interceptor class
jboss-aop.xml

If the target class is in other webserivce which is running ( execution(* com.training.jaxws.sun.topdown.LoginValidationPortType->*(..)) ) , will it be invoked by interceptor ???
Attac

11 years ago
I have developed a WebService by using Sun-JaxWs-ri and service is working fine, i am able to access wsdl. Then i have generated the client code by using wsdl with "wsimport" tool from jdk6.

Problem:
Unable to execute the client code. Getting following exception.



Please find the attached wsdl file, client class, service class and port class and its data types.

wsdl file:


Client code:


Port class:


Service class:
11 years ago
No reply from any one!!!
11 years ago
I have generated the client code by using CXF runtime ( also did with Axis2). After code generated while i am trying to run the client i am getting the following exception.
Where as webservice is deployed and it is executing properly , i am able to access wsdl in the browser and as well as with eclipse Test Client. But unable to execute through code.

http://localhost:8080/SoapWsTopDownWsdl/services/LoginValidationPort?wsdl

11 years ago
You are right , i was assuming , in the below code i have set "user" as form name what being used in jsp to read from request scope. Usually in struts we assume this is the name that we have to use in validation.xml. Hmm but in spring it is different.



Now what i understand is below



11 years ago
But i am using spring 2.0 in my project, so i need a solution with common-validator only.
11 years ago
Also pasting the code.

Controller



Command



application context xml



validation.xml

11 years ago
Hi I am trying to use commons-validator framework for validation in Spring MVC. i am getting following exception.

java.lang.IllegalArgumentException: Validator [org.springmodules.commons.validator.DefaultBeanValidator@1d5b945] does not support command class [com.training.springmvc.Details]


I have attached code in zip file. Could you please help me to resolve the issue.
11 years ago
Hello experts could you please help me to resolve my EJB CMP Entity Bean 2.1 issue? I am waiting for your great suggestion.
12 years ago
Hello friends,

I am getting following exception, could you please help to resolve this issue, i am using weblogic 10.3.1. I am not at all getting the solution in online. Is the weblogic dtd/schema got changed. Could you please help me to resolve my problem?


[EJB:011019]While reading META-INF/weblogic-cmp-rdbms-jar.xml, the persistence l
ayer of the Entity EJB failed to deploy. The error was:
Error in descriptor line 8: Error parsing file at line: 8 column: 30. org.xml.
sax.SAXParseException: Element type "unknown-primary-key-field" must be declared
..


at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:454)

at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep
loymentCallbackFlow.java:58)
Truncated. see log file for complete stacktrace


ejb-jar.xml



weblogic-ejb-jar.xml


weblogic-cmp-rdbms-jar.xml
12 years ago
Hello Experts,

Could you please give brief idea how the Web Server is applying threads on Servlet object ( because server is doing to create only one Servlet object if we dont implement SingleThreadModel interface)?

Thank you.
13 years ago
Thank you very much Ram. So a service provider should give some jar file which has these EJB Home and Remote interface .class files. I got you know.