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

Greenhorn
+ Follow
since Oct 09, 2002
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 raghuveer rao

Brandon,
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.

Thanks

Raghu
Let me rephrase my question
How would you do this?


Raghu
Hi,
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.

Thanks

Raghuveer Rao
My directory structure is like this
Web Content
- Jsp
- properties
- img
My app deploys fine but when I do a
getResourceBundle("properties/system.properties")
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.
Raghu
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......
Open
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.
Raghu
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
javax.management.InstanceAlreadyExistsException: Catalina:type=Context,path=/,host=localhost,service=Tomcat-Standalone
at mx4j.server.MBeanServerImpl.register(MBeanServerImpl.java:1123)
at mx4j.server.MBeanServerImpl.registerImpl(MBeanServerImpl.java:1054)
at mx4j.server.MBeanServerImpl.registerMBeanImpl(MBeanServerImpl.java:1002)
at mx4j.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:978)
at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:263)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:419)
at org.apache.catalina.mbeans.ServerLifecycleListener.processContainerAddChild(ServerLifecycleListener.java:1358)
at org.apache.catalina.mbeans.ServerLifecycleListener.containerEvent(ServerLifecycleListener.java:189)
at org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1404)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:829)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:559)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
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.
Thanks
Raghu
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.
Raghu
17 years ago