Rupinder Ghai

Greenhorn
+ Follow
since Sep 25, 2002
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 Rupinder Ghai

Hi All,
I have used the java serialization mechanism to store one of my object into the Oracle datbase.
Now is it possible for me to change "VersionUID" parameter of the records that are present in database..??
Thanks in advance.
Rupinder
21 years ago
Hi Everybody,
I have installed WebSphere 4.0.3 on Solaris 5.8 platform.
I am trying to lookup one of the beans from the windows 200 m/c, but am receiving the following exception while trying to create the InitialContext --- ( i am using IBM jdk, version 1.3.0, that comes along windows installation)
java.lang.NoClassDefFoundError: com/ibm/rmi/iiop/GIOPVersionException
at com.ibm.CORBA.iiop.ConnectionTable.createConnection(ConnectionTable.j
ava:146)
at com.ibm.CORBA.iiop.ConnectionTable.get(ConnectionTable.java:550)
at com.ibm.CORBA.iiop.ConnectionTable.get(ConnectionTable.java:434)
at com.ibm.CORBA.iiop.GIOPImpl.createRequest(GIOPImpl.java:152)
at com.ibm.CORBA.iiop.GIOPImpl.createRequest(GIOPImpl.java:133)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1
080)
at com.ibm.CORBA.iiop.InitialNamingClient.resolve(InitialNamingClient.ja
va:372)
at com.ibm.CORBA.iiop.InitialNamingClient.resolve_initial_references(Ini
tialNamingClient.java:551)
at com.ibm.CORBA.iiop.ORB.resolve_initial_references_remote(ORB.java:194
0)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInit
CtxFactory.java:592)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCt
xFactory.java:352)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(Ws
nInitCtxFactory.java:227)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:98)
at com.ibm.ws.naming.util.WsnInitCtx.<init>(WsnInitCtx.java:79)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtx
Factory.java:135)
at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(W
snInitialContextFactory.java:80)
at com.ibm.ejs.ns.jndi.CNInitialContextFactory.getInitialContext(CNIniti
alContextFactory.java:68)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
69)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:199)
at EJBLookUpHome.getEJBHome(EJBLookUpHome.java:41)
at BelgaThread.run(BelgaThread.java:132)
at java.lang.Thread.run(Thread.java:498)
any pointers will be appreciated.
Thanks in advance.
Regards,
Rupinder
21 years ago
Thanks a lot Kyle...
This thing was really giving me a tough time....!!!
Regards,
Rupinder
21 years ago
Hi,
U can surely change the user name, on oracle, that governs the repository.
In your admin.config file
"com.ibm.ejs.sm.adminServer.dbuser" property determines the user name
"om.ibm.ejs.sm.adminServer.dbpassword" property determines the password
and
"com.ibm.ejs.sm.adminServer.dbSchema" property determines the schema for the user.
Also u have to assign, "connect" and "resource" privileges to oracle user.
Regards,
Rupinder
21 years ago
Hi Everybody,
I am facing this typical problem on WebSphere 4.0.1 on Solaris2.8.
I have an Ear, with 2 ejb modules and 1 web module in it. I want that both the ejb modules should get loaded first and then the web module, in which i have a servlet which loads at startup and does some processing defined in its init() method.
But when i start the application server, it first loads one ejb module than a web module and then the second ejb module...!!!
Is there any way i can govern the loading of different modules in the app server..???
Interesting thing is, that its working fine on one application server, but on another its giving this problem...!!!
I am attaching the application.xml file along.
Any pointers will be appreciated.
Thanks and Regards,
Rupinder
Hi Everybody,
I am facing this typical problem on WebSphere 4.0.1 on Solaris2.8.
I have an Ear, with 2 ejb modules and 1 web module in it. I want that both the ejb modules should get loaded first and then the web module, in which i have a servlet which loads at startup and does some processing defined in its init() method.
But when i start the application server, it first loads one ejb module than a web module and then the second ejb module...!!!
Is there any way i can govern the loading of different modules in the app server..???
Interesting thing is, that its working fine on one application server, but on another its giving this problem...!!!
I am attaching the application.xml file along.
Any pointers will be appreciated.
Thanks and Regards,
Rupinder

<?xml version="1.0" encoding="UTF-8"?>
< !DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">;
<application id="Application_ID">
<display-name>npsC3.ear</display-name>
<module id="EjbModule_2">
<ejb>npsChi3.jar</ejb>
</module>
<module id="EjbModule_3">
<ejb>npsC3.JAR</ejb>
</module>
<module id="WebModule_1">
<web>
<web-uri>npsWebC3.war</web-uri>
<context-root>/BelC3</context-root>
</web>
</module>
</application>
21 years ago
Hi,
We are running availability tests on our application which is deployed on WebSphere V4.0 on Sun Solaris 2.8.
But after running for approx. 4-5 hours, i see this kind of trace in tracefile --
"[02.11.19 01:46:35:331 GMT-05:00] 4bfb68 ActiveEJBServ A ADSM0113W: No ping received - Stopping/restarting server: IT_A
[02.11.19 10:29:57:580 GMT-05:00] 66a551 ActiveEJBServ A ADSM0113W: No ping received - Stopping/restarting server: IT_Rups
[02.11.19 10:29:59:831 GMT-05:00] 73976 ActiveServerP A ADMS0028I: Restarting server: IT_Rups
[02.11.19 10:30:00:288 GMT-05:00] 73976 ActiveServerP A ADMS0032I: Started server: IT_Rups (pid 5935)"....
I am unable to find out the reason for this...
Can someone guide me as to how to debug the cause of this problem.... or why does this problem occurs in first place...??
Thanks in advance..
Rupinder
21 years ago
Hi Everybody,
I want to prepare for "Sun Certified Enterprise Architect for J2EE Technology" certification. Can anyone plz guide as to how to start preparing for this and may be the time required to prepare for atleast part 1 of this exam....
Thanks a lot...
Regards,
Rupinder
Hi,
Well if u are copying the class file in WEB-INF\classes folder and u have checked the option of reloading enabled(u can mention this at the time of deployment) than u dont need to restart the app server again to reload this class.This is true for web modules.
For ejb module, if u are modiying the jar by replacing the new class file than u have to restart the app server for it to get loaded.
Hot deployment is when u have to only restart the ejb module(for making the changes to reflect) in which u have changed the class file and not the whole appserver.
Regards,
-R
21 years ago
Hi,
Well the default port for admin server is 900 and for Location Service Daemon its 9000.
In your admin.config file add the line...
com.ibm.ejs.sm.adminServer.bootstrapPort=<avilable port number>(for changing admin server port)
com.ibm.ejs.sm.adminServer.lsdPort==<avilable port number>(for changing Location Service Daemon port).
Take care...
Rupinder
21 years ago
Hi,
The log mentioned that the problem has something to do with Location Service Daemon. So i tried changing the port
com.ibm.ejs.sm.adminServer.lsdPort=2000
and that worked.....
Although i checked the ports that were already in use on Solaris and 9000(the default port for LSD)port was not being used by anybody.....
But somehow WebSphere was having a problem with that port....
Take care.....
Rupinder
21 years ago
Hi,
I am using WebSphere 4.0.1 on solaris 5.8 with Oracle 8.1.7. Oracle is on different server. I am NOT using any security setting.
Till now my WebSphere was working fine, but now while starting my admin server i am getting error ...
Error occurred during startup
java.lang.RuntimeException: com.ibm.ejs.EJSException: Could not register with Location Service Daemon; nested exception is:
java.lang.ClassCastException
at com.ibm.ws.runtime.Server.initializeOrb(Server.java:1440)
at com.ibm.ws.runtime.Server.initializeRuntime0(Server.java:939)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime0(ManagedServer.java:407)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime0(AdminServer.java:1104)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:882)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:391)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
Recently, ip address of machine hosting WebSphere server and Oracle server has changed.
Can anyone suggest me the possible solution to this cause.
Will highly appreciate it.
Thanks and Regards,
Rupinder
21 years ago