yang lu

Greenhorn
+ Follow
since Oct 24, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by yang lu

I used SCWCD exam study kit and three mock tests within the book only. Good luck, guys!
I have same question here. In WAS3.5, we can re-deploy an individual EJB if there is a change, but in the 4.0 or later, we can only re-deploy the whole enterprise application for a single EJB change? Thanks for any reply.
21 years ago
You may need Version 4.0 FixPak 4. we use Webspher 4.0.4 and upload works fine.
Hope this helps
22 years ago
What am I doing now is deleting the EJB from the .ear file, adding the EJB to the ear file through AAT, then deleting the whole application, finally re-installing the application using the .ear file.
Any better ways to avoid deleting/re-installing the whole application?
many thanks!
22 years ago
Hello Graham,
Thanks for your help. Setting a context parameter in web.xml works very well as you suggested. But I am working on moving a legacy application from websphere3.5/VAJ4.0-->WSAD4.03-->websphere 4.04. I don't want to change any exsiting code although I can. I checked the DTD file from SUN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
Looks like there are no place to config ServletConfig in web.xml.
Many thanks!
22 years ago
Thanks for your reply. I tried what you said, still got null value by using config.getInitParameter("parameterName") in JSP page. And what I want is that this parameter can be accessed by any jsps in my application not only one paticular jsp. I know how to do it in VAJ and websphere 3.5. I don't know how can I set up it in WSAD and websphere 4.0.
Many thanks!
22 years ago
So I can get the vaule in my jsp using

Many thanks!
22 years ago
How can I catch those during the validation time?

Thanks!
Yang
Thanks, kyle. If I can maintain a state, I dont need ask the client to pass me the userid/password for the next several transactions after it provides me at the first time(like online shopping or even this forum system). I may also keep the client's profile somewhere instead of retriveing it again and again from other places.
22 years ago
Thanks for your prompt reply. Keeping a stateless web services definitely makes my application simple and efficient. But I have a series of transactions, if I dont maintain a state, which means I need prompt the client to pass me user_id and password for each of the transaction. Are there any other smarter ways?
22 years ago
I am using WSAD, Thanks!
22 years ago
Thanks, Kyle. I fixed it by adding the user-defined class to the run time path of the server instance.
I also did add the user-defined class the "Java Build Path" of the EJB project.
thanks,
Yang
Hello,
I am doing the migration from VAJ4.0-->WSAD4.0.3. When I try to start the server which has one EJB group, I get errors. Looks like the EJB server cant find the user-defined class at run time. There are no compile errors and I did "Deploy and RMIC code..." for the EJB module without errors. I have tested that if the EJB uses only build-in class(String), it works fine.
can any one help me please,
thanks,
Yang
[10/24/02 14:25:23:413 EDT] 556d5c9c EJBEngine I WSVR0037I: Starting EJB jar: CATALOG
[10/24/02 14:25:24:635 EDT] 556d5c9c EJBEngine X WSVR0040E: addEjbModule failed for com.ibm.ejs.models.base.config.applicationserver.impl.EJBModuleRefImpl (desiredExecutionState: START) (uri: Catalog.jar)
java.lang.NoClassDefFoundError: com/oem/util/VerifyPartInput
at java.lang.Class.getMethods0(Native Method)
at java.lang.Class.getDeclaredMethods(Class.java:1071)
at com.ibm.ws.classloader.EJBJarClassLoader._resolveClass(EJBJarClassLoader.java:161)
at com.ibm.ws.classloader.EJBJarClassLoader.preloadInterfaces(EJBJarClassLoader.java:131)
at com.ibm.ws.classloader.ClassLoaderManager.lookupClassLoader(ClassLoaderManager.java:202)
at com.ibm.ws.runtime.Server.getClassLoader(Server.java:866)
at com.ibm.ws.runtime.EJBEngine.addEjbModule(EJBEngine.java:380)
at com.ibm.ws.runtime.Server.startModule(Server.java:607)
at com.ibm.ws.runtime.StandardServer.initializeModules(StandardServer.java:321)
at com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java:349)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
at com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
at com.ibm.etools.websphere.tools.runner.api.ServerRunner$1.run(ServerRunner.java)