yogessh chavaan

Greenhorn
+ Follow
since Apr 08, 2011
yogessh likes ...
Eclipse IDE Spring Java
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 yogessh chavaan

Hello All,

I want to deploy a webservice with following conf:

1)axis2 1.4
2)tomcat 5.5
3)jdk 1.4

i am using maven for building and geneartes java server side classes using a wsdl provided.

I generate a war file...

But i am getting error like :

<error><description>Unable to generate WSDL 1.1 for this service</description><reason>If you wish Axis2 to automatically generate the WSDL 1.1, then please +set useOriginalwsdl as false in your services.xml</reason></error>



.
but ,I want my original wsdl and not genearted by axis

..also even if i make the useOriginalwsdl as false...i dont see wsdl ...

(When i use axis2 1.5.5 i can see the same error .but after setting useOriginalwsdl as false here i can see the axis genearted wsdl..but this is not what i want ...)


Please somebody guide..if i am using right combination of axis, tomcat, jdk ....and if yes what the issue might be because of which m not able to see wsdl....





Thanks a lot in advance
Yogesh Chavan
10 years ago
Thanks Mark ,
I will look into XA transactions and JTA. if you have , can you please provide any links for references..with spring hibernate and JTA.

Yogesh
11 years ago
Hello ,

I have to use spring and hibernate to delete two records from two different datasources , but this should be done in single transaction i.e if deletion of one record fails , the other should not be executed or should be rolledback.
Could any one please guide me how this can be achieved?

Thanks in advance
Yogesh Chavan
11 years ago
Hello ,

I am developing a web application with JSF framework. In this application the users will be authenticated using the certificate . Could any one please guide to implement this authentication mechanism. Also i want to identify who the user is . I will be using weblogic 10.3.3 and jdk 6. i browsed the net and found nothing more than using CLIENT-CERT in web.xml and the SSL configuration for weblogic. What i want to know exactly is , all the configuration and the code to be implemented in the web app.
1) how the user will be authenticated by the webapp.
2)get the identification (like the name) of the user.

What java packages will be needed to implement this ?


Thanks in advance.
Yogesh
11 years ago
JSF
Hello ,

I m trying to work with the following code in order to change the location of jlabel at runtime , but when i minimize the frame, the jlabels get set back to their original positions .
Could any one help please ? i have a frame , a jpanel on it and a jlable on jpanel which i want to position on mouse drag.

Thanks in advance !
11 years ago
Thanks Sudhir , I will check.
11 years ago
Hello William , Sudhir thanks for the reply....actually i just want to know how i can make my application accessible from internet to all users....

@Sudhir , no i dont have any hardware for this. that is what my question is , what are the ways(as you mentioned one "Cloud hosting") and what is the PROCESS for hosting ?


Thanks again .
Yogesh Chavan
11 years ago
Hello ,

I have with me an enterprise application with jsp, servlets, ejbs , jpa and database as oracle.
I want to make this application available on the internet (want to host it). I want to use Web logic as my Application server. Could anyone please help me what are the requirements for this and what is the process ?

Thanks in advance.
11 years ago
String SQL_QUERY ="select a from Appointment a where a.appointmentDate.getDate()" +" =:date" + "and a.appointmentDate.getMonth()=:month and a.appointmentDate.getYear()=:year" ;
Query query = session.createQuery(SQL_QUERY);
query.setParameter("date", date);
query.setParameter("month", month);
query.setParameter("year", year);

Can i invoke functions like a.appointmentDate.getMonth() in a jpl query ?

Thnks in advance
thanks jeff,

let me clear it.
in my parent process's constructor i start a child thread.
At first time when i start the parent ...both the parent and child will start successfully..
but while this is running and i start the parent again i get address already bind exception(as the parent is connecting to a port) and the 2nd parent exits.but the child thread started with the second parent doesn't exit.

what i want is when i start the parent second time the parent should exit with the Address already bind exception but the child thread should also exit.


thanks.

Hello,
I have a child thread that continues to run when its parent exits after some exception.I dont want this child thread to continue running when the parent exits either normally or abnormally.
I cant add code to stop child thread at every exception in parent because the parent throws exceptions in many cases . Could any one please comment on this.

thanks in advance

Campbell Ritchie wrote:Welcome to the Ranch

Don’t know why. Sorry. But why are you using jdk1.4 still?




Thanks for reply .
we have to use jdk 1.4 only, its a requirement.
But can you suggest any other way for log level change at run time.Other than PropertyConfigurator.configureandWatch(), because i want to configure the time as well at runtime.

Thanks,
Yogesh.
12 years ago
Hello all,

I want to make a hot configuration for log level . i.e i want to change the log level at run time.for this i have created one thread which after every 60 sec. looks for any change in the log4j.properties file (like the log level change from INFO to DEBUG mode). In thread i use PropertyConfigurator.configure("prop_file_name") .this thread works fine when i run it on windows ie..the hot log level change works..but when i try this on Solaris platform sparc ..( when i change the log level suppose fron INFO to DEBUG ) the thread dies..I dont understand why this happens...i am using jdk 1.4 at both places. ..........(I am not using PropertyConfigurator.configureandwatch(time , "prop_file_name") because i want the time too to be configurable at run time.........thanks for any help in advance..
12 years ago