Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!

raghuveer rao

+ Follow
since Oct 09, 2002
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by raghuveer rao

I have this part configured rght. My problem is where do I set the user name and password on the datasouce from the user context.
Do I need to set this in a servelet filter. I would personaly like to do this in my service tier. Can AOP help me out there.


Let me rephrase my question
How would you do this?

I was looking to use IBatis in a web app. I would like to run my queries using the credentials of the user logged in. A google on this came up with UserCredentialsDataSourceAdapter in spring. Can you refer me to some sample code on how to configure IBatis with spring. What would you recommed to call the setCredentialsForCurrentThread method.

Do you have any other suggestions to solve this issue.


Raghuveer Rao
My directory structure is like this
Web Content
- Jsp
- properties
- img
My app deploys fine but when I do a
I do not find my properties files.
It finds my images, html but not property files
Whats happening? Any ideas.
It works fine in websphere but not in tomcat.
17 years ago
How many beans are in the pool on startup ?
17 years ago
It works fine with me. Once the class is loaded you should be able to access the variable fast. So does this happen first time or every time you access this variable
17 years ago
Support of jdk 1.4 only on the client container.
The server side is still jdk 1.3
Server side 1.4 support is not expected untill late this year.
17 years ago
The note said client container ........server side 1.4 jdk is yet to come......
Move closer to J2EE 1.4 with JDK 1.4
WebSphere Application Server, V5.0.2 includes support for the JDK 1.4 client container, the first step
toward J2EE 1.4 compliance. With JDK 1.4, enterprises can use Java technology to develop more
demanding business applications with less effort and in less time. Improved functionality in 1.4 means
developers can now spend less time writing custom code to accomplish the same goal as functions that
are now part of the core JDK platform. This improvement allows developers to use a single technology
to develop, test, and deploy end-to-end enterprise applications and solutions.
17 years ago
I think you will get 1.4.1 support for WAS only in 4th quarter of this year.
17 years ago
If you go to wsad menu
windows -> preferences -> installed JRE
you can give the location of the other java / jre installations. If you wanted to use say the latest sun jdk to test out something you can do that using this.
Also if you are using tomcat you can specify the jdk to use with that instance of tomcat. For example You can have one jdk to use with websphere, one with tomcat 3.X and one with tomcat 4.X.
17 years ago
1.3.1. You can add your own VM / jdk too if you need it.
17 years ago
If I choose run on server instead of debug, I see my project getting compiled but when I try to access a page I get an error
HTTP Status 500 - No Context configured to process this request
type Status report
message No Context configured to process this request
description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request.

Apache Tomcat/4.1.24
Looks like I need to set the context some place. Any one has any idea where to set that.
17 years ago
I have wsad 5.0 and I am able work on websphere test enviornment. But I am unable to run the same project in tomcat.
In the server perspective, I go say run on server and I choose the websphere test env. everything works fine. I i choose tomcat test ennv. I get an error.
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
ServerLifecycleListener: processContainerAddChild: Throwable Catalina:type=Context,path=/,host=localhost,service=Tomcat-Standalone
at mx4j.server.MBeanServerImpl.register(
at mx4j.server.MBeanServerImpl.registerImpl(
at mx4j.server.MBeanServerImpl.registerMBeanImpl(
at mx4j.server.MBeanServerImpl.registerMBean(
at org.apache.catalina.mbeans.MBeanUtils.createMBean(
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(
at org.apache.catalina.mbeans.ServerLifecycleListener.processContainerAddChild(
at org.apache.catalina.mbeans.ServerLifecycleListener.containerEvent(
at org.apache.catalina.core.ContainerBase.fireContainerEvent(
at org.apache.catalina.core.ContainerBase.addChildInternal(
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardHost.addChild(
at org.apache.catalina.core.StandardHostDeployer.install(
at org.apache.catalina.core.StandardHost.install(
at org.apache.catalina.startup.HostConfig.deployDirectories(
at org.apache.catalina.startup.HostConfig.deployApps(
at org.apache.catalina.startup.HostConfig.start(
at org.apache.catalina.startup.HostConfig.lifecycleEvent(
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardHost.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardEngine.start(
at org.apache.catalina.core.StandardService.start(
at org.apache.catalina.core.StandardServer.start(
at org.apache.catalina.startup.Catalina.start(
at org.apache.catalina.startup.Catalina.execute(
at org.apache.catalina.startup.Catalina.process(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.catalina.startup.Bootstrap.main(
Jul 18, 2003 4:23:10 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Can anyone tell me what the problem could be.
17 years ago
Automattically restart server when required is not checked.
I want WAS to reload just the changed class in debug mode. I dont want it to stop the server and relaod all the classes and servlets.
17 years ago