Ramneek Handa

Ranch Hand
+ Follow
since Nov 10, 2000
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 Ramneek Handa


Hi, I looking for some CMS options that can work well with Weblogic portal's Virtual Content Repository's.

I know interwoven's TeamSite works very well with WL VCR but We really need to some open source or economical CMS system.

I evaluated Alfresco doesn't have SPI library implemented.

I would appreciate if you guys can suggest some economical option for CMS that we can use for authoring contents and push/deploy in WLP VCR.

thanks!
14 years ago
I reached to this thread through google search.
Well I am also facing same problem. my bean is getting accessed as guest.
Even though I am calling bean with this piece of code.

but still i m getting user as guest.
20 years ago
Can somebody help me on this :roll:
FYI I have check and found setSessionContext method is getting called of the RequestDispacher Session Bean. Then why it is not setting the User name.

sessionContext.getCallerPrincipal().getName() is not reflecting the right user name.


Hi,
I am calling a session bean, before I make a call to the session bean I am setting...

and make a call to the bean

but from the processRequest() method of RequestDispachterBean when I display

it displays
userID is guest
Infact I have not specified guest user in any of my xml.

If will be great if somebody can tell me why I am not getting the userID which I am setting i.e. "Manager".
What is the eligiblty criteria for SCEA?
Hi all,
I'm getting a 500 Internal Server Error when I'm trying to
invoke the following SOAP_URL @
http://localhost:8888/soap/servlet/soaprouter.
My soap.war contains the service implementation (including
the web.xml etc.) I'm deploying on OC4J (Oracle 9iAS).
I've even tried extracting the soap.jar archive under
WEB-INF/classes (it creates oracle/soap/..... packages).
However, I just cannot seem to reach the SOAP_URL endpoint
(mapped to oracle.soap.server.http.SOAPServlet).
Please help as I've been struggling with it for the last
several days and have run up against a wall.
Thanks
Ramneek
20 years ago
Actually I have already created and deployed a Oracle Soap webservice. Which is being deployed in %SOAPHOME%\WEB-INF\classes directory.
My problem is to merge this webservice with my existing application to make one ear file.
I have an explicit reference to WEB-INF/soap.xml in web.xml.
There is also an explicit reference to WEB-INF/services.xml in soap.xml.
Soap.xml, services.xml are in the WEB-INF/ directory as well.
If my understanding is correct: the way to integrate a soap based web service into
an existing application is to create a soap.war which has all the service information
(web.xml, soap.xml and services.xml + classes) and bundle it along with the other application
jars. Am I correct? ?!
In that case, how will the SOAP message be routed? In other words, how does the soap
message @ http://localhost:8888/soap/servlet/soaprouter gets routed to my web service implementation.
Thanks
20 years ago
Thanks for reply,
but can u tell me a) how to register the web service using apache soap Admin client. b) how to bundle them in my .ear(application)
20 years ago
Hi,
I was having some problem with deploying using Oracle 9iAS Web Services
so am using Apache Soap instead on Oracle 9iAS.
Being a newbie to Apache Soap I apologize in advance if I've overlooked
something plainly obvious.
I am performing the following steps.
1.) Jar all my application classes and place it under /soap/WEB-INF/lib
(exposedservices.jar)
2.) Create a services.xml that has all the complex type mappings and place
it under /soap/WEB-INF
(incidentally, this is the same directory that has soap.xml and web.xml)
3.) Create a soap.war file with this updation
The file structure looks like
webapps
soap
META-INF
application.xml
soap
WEB-INF
services.xml
soap.xml
web.xml
classes
lib
exposedservices.jar
4.) Bundle the war along with other lib files to create an EAR.
5.) Deploy my ear.
Are these steps correct? Why am I still not able to see my deployed
services? What is the URL where these
are available (btw. my SOAP_URL is
http://localhost:8888/soap/servlet/soaprouter)?
Thanks a lot.
20 years ago
Can somebody please tell me what is JNLP and Web Start in Java?
Thanks
20 years ago
Can somebody put a light on the output of
System.out.println("objeref is "+objref);
which is coming as
objeref is RequestDispatcherBean EJBHome
Why it is showing RequestDispatcherBean as class name instead of RequestDispatcherHome which is the name of Home class.
Pl someone tell me. FYI I am using OC4J
-thanks
I am getting class cast exception while typecasting the reference to the home class after looking up the Request Dispatcher
I am able to look up but it gives classcastexception while typecasting.
This is the peace of code :
Context ctx=getContext();
System.out.println("Context is "+ctx);
Object objref = ctx.lookup ("RequestDispatcherBean");
System.out.println("objeref is "+objref);
home = (RequestDispatcherHome) objref;
the output of above code comes as
Context is javax.naming.InitialContext@98b
objeref is RequestDispatcherBean EJBHome
java.lang.ClassCastException: RequestDispatcherHome_StatelessSessionHomeWrapper7
com.indus.banner.integration.controller.RequestDispatcherHome com.indus.banner.components.account.Account
ManagerBean.getRequestDispatcherHome()
I don't understand when it is printing objeref is RequestDispatcherBean EJBHome
then why I am not able to cast it in the next line. I have tried with narrowing it down but it does not work even.
Any suggestions???
[ June 03, 2003: Message edited by: Ramneek Handa ]
Thanks Sean!
Is this the concept called Hiding local variables.
21 years ago
Hi there,
Have you heard about the "Hide Local Variables" in java.
This is somebody asked my in an interview.
Can you tell my anything about this.
Thanks for any help
21 years ago