pankaj semwal

Ranch Hand
+ Follow
since Oct 07, 2008
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 pankaj semwal

Hi Team,

I need to consume .NET ssl authorization based restfull web service.But i am getting following exception.

Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching qa.............. found.

Below is the code i used to invoke web service.



Please tell me what is the issue.

Thanks & Regards,

Pankaj Semwal
8 years ago
Hi Team,

In my project we are using Flex 3 SDK and i want to use Advance Data Grid .I google and found that i need to download datavisualization.swc.

My question Is Data Visualization.swc free and if i will integrate it with SDK 3 will it can cause any issue.

Please tell me.

Thanks & Regards,
Pankaj Semwal
8 years ago
Hi List[],

I am new to maven.In my project the properties files is calling like this for environments.

<filters>
<filter>src/main/filters/filter-${env}.properties</filter>
</filters>

My want to call above properites files using method public static void main..But its not working.



Please tell me how can i do this.




9 years ago
Hi ,
In one of the portlet we are using Schedular like this public class SetNotificationSchedular implements MessageListener

Earlier its was running fine in both QA and Production .But now we are getting class not found issue.

We are using jdk1.6, Liferay sp2 6.0 and websphere and operating system is linux.

Can any body tell us where we made the mistake .

Unable find model com.mcmcg.lawfirmportal.documenttype.model.impl.DocumentNotificationJobImpl
java.lang.ClassNotFoundException: com.mcmcg.lawfirmportal.documenttype.model.impl.DocumentNotificationJobImpl
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:111)
11 years ago
Hi List[],
I am newbie in Liferay.And recently i started to work on liferay project.I check out the code from svn.But for some of the classe i get build path error when i try to view the declaration of classes.

In the svn repository there is plugin-sdk inside there are two portlet and two hook plugin and one theme and one layout .I check out the hole plugin sdk in the Liferay developer studio.But whenever i try to
open the declaration of classes i get build path error.Can any body tell me where i am wrong.


Regards,
Pankaj Semwal
11 years ago
Hi Mark,
When i use this <tx:annotation-driven />.I get exception
Exception in thread "main" java.lang.ClassCastException: $Proxy5 cannot be cast to com.Sem.MyDAO
11 years ago
Hi List[],
The read is only for read operation (I mean it is used for select but not insert).

But when it calls the insert method its inserting the data.Which i think it should not be.

Please let me know where i am wrong.

however my code is declare like this:
And xml look like



11 years ago
Ok..Thanks Bill.I will do what you told.
11 years ago

Yes i am using spring MVC and spring security.

My Login.jsp is like this:



11 years ago
Yes Bill i am creating UserDAO using new operator in MyUserDetailService class.

After removing the new Operator from MyUserDetailService class i am getting null pointer exception due to i think there is injection problem in UserDao class.

MyUserDetailsService code:


and bean.xml look like



Now pl tell me why null pointer excpetion is coming in this line

Login dbUser = userDAO1.searchDatabase(username);



11 years ago
Hi List[],

I am getting null pointer exception in the below line.

login=this.jdbcTemplate.queryForObject("SELECT * FROM USER_TB1 where uname=?",new Object[] {username},mapper);



MyDao is :



and bean.xml is



Pl help me where i am wrong.

Thanks
11 years ago
Hi List[],
I am trying to call siebel web service using java code.I tested the siebel web service in SOAP UI tool its working.But when i am trying to create client from eclispse its show error
"The service definition selected is invalid."
Please help me where i am wrong.

Thanks & Regards
12 years ago
Hi List[],
How can i trap a application close event .As inside my application all the modules are loading.I want if Application close button is press its call a Java function.

Please tell me how can i trap a application close event.


Thanks & Regards
12 years ago
Hi List,
How can i get the HttpSession and HttpRequest in spring.In my project i am using Flex as view and spring BlazeDS is used for transferring the object from flex to java.

Please help me.


Thanks & Regards
12 years ago

i tried using HQL like this


But its did not working and throwing exception.

SO is any other way in hibernate to run this sql using HQL or Criteria.

By the way List[] mean the people of java ranch ........