Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!

Aniruddha Jadhao

Greenhorn
+ Follow
since May 10, 2006
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Aniruddha Jadhao

Hello ,
Recently I am stuck with one issue, the issue is with SimpleCacheManager,ehcacheManager , spring profiles .
Just to give brief about these , few days back I had developed an application using spring 3.1.x in which SimpleCacheManager,ehcacheManager , spring profilesthese features were supported . My application was running fine with it.
But Now I have to migrate the same application to Vmware vsphere webclient 5.1 in which virgo 3.0.3 is used . And in this version of virgo , spring 3.0.5 is used . Now when I try to merge my previous developed application code in this enviornment, I am not able to deploy my application on virgo. It shows spring version mismatch.
I have loads of dependency with these three features. I have tried to upgrade version of spring in virgo but this current version of virgo has tight coupling with spring 3.0.5 .
Are there any other alternatives which would suffice need of using these features using spring 3.0.5 ? (legacy/programmatic) would also help.
9 years ago
The third party url is a https website and its security certificate is expired , would it be the cause for "Access denied" error?
I have tried to use <object in place of iframe but same result >
Even though we got to know the values of X-FRAME-OPTIONS set in 3rd party website , will it be possible to include/embed the url in iframe in of jsp. I read that X-FRAME-OPTIONS have only two options
i.e. DENY /SAMEORIGION . Two websites are on two different domains so SAMEORIGION will also not work , I believe?
I am setting iframe in a HTML div in my jsp.

Here is the snippet of the code . I am using jquery javascript framework.

$("#config-info")[0].innerHTML="<iframe name='ani' id='ani' height='800px' width='800px' src='https://x.x.x.x/a.php/?Login=abcd&Password=efgh' />";

I just wonder when I run this code in Google chrome , its runs perfectly , only in IE this problem occurs.
Would the value of this option matter? Because the options i.e. SAMEORIGION or ALLOW FROM ,I guess , will not work in my case. The reasons are
1) my website and 3rd party website is on different domain
2) The 3rd party website I am accessing is deployed individualy for differnt ips that I will be passing while constructing the url. I construct the url dymanically with three parameters IP,username,Password.
Please share your thoughts on same or any alternative solution for the same.
Hello All,

I am including a page(url) in iframe in a jsp but I am getting access denied error in IE 9. However for the same , its working in chrome.

The url I have is of a 3rd party website which I need to include in iframe in my jsp page , the url has query parameters of username and password provided by me dynamically. Using these username and password , the 3rd party website makes the user login . After logging in the eventual landing page is expected to get displayed in iframe .

I want to achieve this in IE only but its failing in IE only and working for other of the browsers like chrome , firefox.

Can any one please suggest me a way to achieve this or whats wrong in the method above ?

Thanks.
P.S. I have tried including the url in Object tag instead of iframe but the behaviour is same as above i.e. its working in chrome but not in ie.
Later I tried including another jsp as a source of iframe. in this jsp , on load I ran a dynamic form creation and submission to the url , but no luck.
Hello,
I have a requirement where I need to detect proxy of the system on which web app is deployed and use detected proxy and its port .
I have found java.net.useSystemProxies , through which we can achieve this. I have used this property and below code
in standalone java program with main method. On running the standalone java program, the proxy and its port gets detected as expected.
However when I use the same piece of code in junit and in web app , it doesnt work, it doesnt detect the proxy . It displays as DIRECT connection . Btw I am using spring .
To set this property for junit and spring container , I pass it using below code

When I sysout in junit / in web app , it properly reflects the value which is set in context.xml as shown above .But it doesnt detect the proxy and its port. Its detects as DIRECT connection , where in it should get the proxy existing on system.
I am struggling very hard to get it . If any one could help me achieving or way to troubleshoot it , will be very helpful.
thanks in advance
9 years ago
Firstly thanks for both for showing an interest in this initiative.
Got your email ids.I have sent an invitation on gmail chat to both of you. kindly accept the same .
Ok..moving ahead ,as reading some scraps on javaranch forum , I have started reading recommended book of "J2EE� Web Services
By Richard Monson-Haefel" [RMH book] to start off with.
Kindly share any problem while reading out the same or suggest any other reading material reference you got to hear from any one who has gone through this exam.
Keep posting.
thanks
Aniruddha
Hello All,
This is Aniruddba, cleared SCJP 1.4 with 91 %.
I am searching for group of people who want to appear for SCJWSD for sharing the ideas , problems & their solution as well.
Kindly share your IM/CHAT/Email ids to communicated as needed.

Looking forward for positive reply.
thanks
Aniruddha
Sorry I cannot signify of RMH & MK ? Can you please elaborate on these acronyms?

thanks in advance
Aniruddha
Thanks for replying dude.
That good to hear about the markatability shows +ve signs for web services.
And good to know that I have colleges with me who are preparing for the same make more convenient to share the pbms or new suggestions.

In fact I wanted to know one more thing that , for web services , what are the prerequisites . Because I heard you must be proficient in XML for WEb services & I am not that much well in XML .
Can you share your initial experience with your study? And some suggestion of books for XML and webservices.

thanks
Aniruddha
Hello,
I have 3 yrs of exp in java Jsp & servlets .I have passed SCJP 1.4 last year. I have bought a java voucher for another certification this year. But got stuck on one topic , to go for SCWCD/webservices in terms of market conditions(demand).
Can any one please suggest me on the above .
Wanted to know also what are the prerequisites for appearing webservices certification?

thanks
Aniruddha
Want to add more on that , in tomcat 6 common endorsed folder the xalan.jar is of 2.93MB & in my web-inf lib its of 783KB .

Also after copying xerces.jar inside common endorsed folder , the error has vanished & my website runs successfully.
But I wanted to get to the cause of the problem.
Looking forward for ANY reply.
thanks
Aniruddha
14 years ago
Hello,
I am using AIX 6.1.
I have deployed my website on tomcat 6 . Inside tomcat 6 \common\endorsed folder, there are certain jar files like xalan.jar and etc...
When I run my webpage on browser, I am getting following exception.

java.lang.VerifyError: receiver is incompatible with declaring class (class: org/apache/xalan/xpath/xdom/XercesLiaison method: parse(Lorg/xml/sax/InputSource;)V) at pc: 135
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
at com.quintus.wru.DisplayEntry.<init>(DisplayEntry.java:35)
at org.apache.jsp.public_.wru_jsp._jspService(wru_jsp.java:187)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:799)
.

Can any one please tell me any approach to resolve this issue?
thanks
Aniruddha
14 years ago