veejay

Greenhorn
+ Follow
since Feb 01, 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 veejay

Hello,
I have a problem with cached classes.
I have a Class in my Application on WebSphere which I want to replace now with a new version. The problem is, WebSphere doesnt notice it!
It still uses the old class which has been deleted!
I deleted the compiled JSP classes, I restarted the AppServer, I even restarted the entire machine, but it stills doesnt recognize the new class and uses the old one instead.
But the old one has been deleted and when i recompile the one on the machine I see all the new methods, which WebSphere doesnt find!
What can it be? Is there a Class-Cache or something like this?
Who can help?
*A*
21 years ago
Hello,
I'm using WebSphere 3.5.4 and LDAP for Security check/login.
In the security options you can give a login.html (or jsp) which is comming always when you access a secured resource.
Now I have a problem with the parameters of a requested URL (like http://hostname/servlet?param1=yes¶m2=no ).
After successful login on the login page, websphere redirects me to the reuqested URL but without the parameters (like http://hostname/servlet ).
How can I get the parameters? They are not in the request because request has been overwritten by the values of the login page!
Can anyone help?
*A*
21 years ago
Hi,
everyone is talking about J2ee standards i would like to know what that standards are or where can i see in the site so that i can also make my projects according to the standards.
advance Thanks for your replies ..
Hi,
I have developed a application using servlets which is running good in Jswdk1.0.1 now i want to deploy this servlets in WebSphere 3.5 , what i should do , i have arround 10 different servlet and 2 java Programm for database connection.where should i depoly this files in Websphere.
Advance Thanks
21 years ago
Hi,
i want to swap (transfer) the selected value from one list box to another in same page .how to do it easily .is it possible to do with javascript and sample examples .
regards
vijaya
Hello!
When I press the "back" of the IE button in my application i get this error message:
Warning: Page has Expired
The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
What is the reason for that and how can i avoid that?
Thanks!
VJ
21 years ago
JSP
Hello again,
last days i got a Patch from IBM (PQ50400) which should solve the problem with the session and installed it.
Since that time i get a following error, when i try to save the session:
java.io.InvalidClassException: com.ibm.servlet.personalization.sessiontracking.DatabaseSessionData; Local c
lass not compatible: stream classdesc serialVersionUID=7883348593589443682 local class serialVersionUID=-8905712921709884585
at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java(Compiled Code))
at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java(Compiled Code))
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.getValue(BackedHashtable.java:1615)
at com.ibm.servlet.personalization.sessiontracking.DatabaseSessionData.getValue(DatabaseSessionData.java:647)
at de.brockhaus.framework.scd.ServletCMDDispatcher.registerSelfInSession(ServletCMDDispatcher.java:545)
at de.brockhaus.framework.scd.ServletCMDDispatcher.doGet(ServletCMDDispatcher.java:112)
at de.brockhaus.framework.scd.ServletCMDDispatcher.doPost(ServletCMDDispatcher.java:209)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)

anyone has an idea what it means ???
Greetings
Vjaya
[ February 08, 2002: Message edited by: vijayr ]
22 years ago
i use websphere 3.5.4 on 2 AIX machines.
the loadballancing is made by a network dispatcher which is spreading the requests from A to B, etc.
Greetings
Vijaya
22 years ago
yes, in general you are right.
i cant exactly explain when the service methods ends and when the server is switching from server A to B but a test-application showed that in my case the automatic saving is not working and server B accesses the old data from the saved session because server A still didnt save the session.
thats why i need a manual saving and this is (sometimes) causing the problem which is shown above.
Greetings
Vijaya
22 years ago

Originally posted by Graeme Brown:
The normal way to do this would be by using Websphere's in-built facilities. Why are you having to hard code your own way of doing this?
It looks likely that you are getting synchronization problems with Websphere trying to do it's own thing.


yes i know but the automatic session saving doesnt work for my case.
it saves the session AFTER the service method but in may happen that the servers switch BEFORE that and the session values are useless.
thats why i need a manual hard coded saving procedure.
the automatic saving has been switched off.
Vijaya
22 years ago
Hello,
I have a sporadic appearing error when i try to save the session manually into the database.
The saving is necessery because I use it to make loadbalancing.
I get following error:
[02.02.04 16:50:19:054 CET] 4c3ed5d SessionContex X BackedHashtableMR: a problem storing application data changes to the
database
java.lang.NullPointerException
at com.ibm.servlet.personalization.sessiontracking.DatabaseSessionData.getCreationTime(DatabaseSessionData.java:
84)
at com.ibm.servlet.personalization.sessiontracking.SessionData.writeExternal(SessionData.java:654)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
at java.util.Hashtable.writeObject(Hashtable.java(Compiled Code))
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
at com.ibm.servlet.personalization.sessiontracking.SessionData.writeExternal(SessionData.java:652)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java(Compiled Code))
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
at com.ibm.servlet.personalization.sessiontracking.BackedHashtableMR.handlePropertyHits(BackedHashtableMR.java(C
ompiled Code))
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.ejbStore(BackedHashtable.java:2455)
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.storeSession(BackedHashtable.java:2272)
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.put(BackedHashtable.java:2958)
at com.ibm.servlet.personalization.sessiontracking.DatabaseSessionContext.sync(DatabaseSessionContext.java:112)
at com.ibm.servlet.personalization.sessiontracking.SessionData.sync(SessionData.java:270)
at com.ibm.servlet.personalization.sessiontracking.DatabaseSessionData.sync(DatabaseSessionData.java:1068)
at de.hella.ojb.controller.AdminCMDController.checkLoginAndShowPage(AdminCMDController.java:173)
at java.lang.reflect.Method.invoke(Native Method)
at de.brockhaus.framework.scd.ServletCMD.execute(ServletCMD.java:110)
at de.brockhaus.framework.scd.ServletCMDDispatcher.doGet(ServletCMDDispatcher.java:164)
at de.brockhaus.framework.scd.ServletCMDDispatcher.doPost(ServletCMDDispatcher.java:209)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEve
ntSource.java:353)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.j
ava:220)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
I use AIX WebSphere 3.5.4 and AIX DB2 7.2
I would be very greatful if anyone can help me
Greetings
Vijaya
22 years ago