problem

i am facing a peculiar problem.

my application uses servlets and is placed on intranet my site.

only one of the machine in the network has some problem accesing the application.

once the user logs on to the application he gets an HTML page which has lot of links to different servlets.

in case of the problem machine..

the user reaches the HTML page but then gets a NULL POINTER exception when he clicks any other link

can anybody suggest possible causes for this

[513 byte] By [rohansd] at [2007-9-26 8:17:10]
# 1
I had a similar problem. Check if the machine you have trouble with has an antivirus program.
adina2000 at 2007-7-1 18:47:54 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 2
And remove the CLASSPATH environment variable if it exists.
ronnybatty at 2007-7-1 18:47:54 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 3
thanx for the solutionsi will try those as soon as i get access to the machine. but can u please tell me .. how can a local classpath variable override the settings in the server that the machine is accesing ?
rohansd at 2007-7-1 18:47:54 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 4
This explains the IE JVM search order for class files : http://support.microsoft.com/support/kb/articles/Q177/1/68.ASP?LN=EN-US&SD=gn&FR=0&qry=classpath%20search%20order&rnk=1&src=DHCS_MSPSS_gn_SRCH&SPR=IERonny.
ronnybatty at 2007-7-1 18:47:54 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 5
@@@
mehraashwin at 2007-7-1 18:47:54 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 6

thank you ronny for ur prompt reply.

i havent gained an access to the system yet to incorporate the changes but now i feel confident about this working out.

another problem that i have is with the same application but in a different machine.

at a particular point in our application the business logic takes long time to get completed ( about 90 secs )

and this machine throws a NULL POINTER ( not again !!)

but again this happens with only this machine ( which is different from the previous machine )

what could be the problem ?

how do local machine configurations affect the perfomance of an application working on application server ?

i am aware that 90 secs of working time is too long..

but apart from that what could be the problems ?

thanx again in advance.

Rohan

rohansd at 2007-7-1 18:47:54 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 7
some permission you are missing perhaps, it could be that the he is trying to connect and fails, then retrying untill he gets there, but at that time he has a connection timed out and at client side, this could result in a nullpointer, because he doesn't know the connection is lost.
pdbc at 2007-7-1 18:47:54 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 8
but the thing is that he gets this problem for an operation and the exception occurs only when the operations takes long time.. and only that particular machinewhat i want to know is how does local machine configuration effects this?
rohansd at 2007-7-1 18:47:54 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 9

You should try and isolate the problem by comparing the configurations between a working machine and the problem machine. Check for any installed JDK's, ensure the browser version doesn't have any known problems and check how the user connects to the web, proxy servers and firewalls are a killer for web apps, although this shouldn't be an issue in your case as your just using Servlets.

ronnybatty at 2007-7-1 18:47:54 > top of Java-index,Archived Forums,New To Java Technology Archive...