Internal error server

Nilton Lessa <[email protected]> Fri, 15 Oct 2004 18:32:04 -0200
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
Hi list,

I am in trouble with some apps (most of them are D2W and use Wonder)  
that are suffering from the "Internal server error 500" error.

The behavior is the following: all runs well, and suddenly the app  
hangs and Apache returns a 500 error. After this, the app becomes  
unresponsive and the trustable way to restore the apps is restarting  
the server...Not a good panorama.

I turned on several logs, from the instances and adaptor. I noticed  
that I get this error just after the apps are started:(but they start  
and works apparently well till...500)


[2004-10-15 17:13:00 BRST] <main>  
com.webobjects.foundation.NSForwardException for  
com.webobjects.foundation.NSForwardException for  
java.net.BindException: Address already in use
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
	at java.net.ServerSocket.bind(ServerSocket.java:318)
	at java.net.ServerSocket.<init>(ServerSocket.java:185)
	at java.net.ServerSocket.<init>(ServerSocket.java:141)
	at  
com.webobjects.appserver._private.WODefaultAdaptor._initServerSocket(WOD 
efaultAdaptor.java:208)
	at  
com.webobjects.appserver._private.WODefaultAdaptor.<init>(WODefaultAdapt 
or.java:142)
	at  
com.webobjects.appserver._private.WODefaultAdaptor.<init>(WODefaultAdapt 
or.java:154)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native  
Method)
	at  
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA 
ccessorImpl.java:39)
	at  
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons 
tructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at  
com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.ja 
va:575)
	at  
com.webobjects.appserver.WOApplication.adaptorWithName(WOApplication.jav 
a:968)
	at  
com.webobjects.appserver.WOApplication._initAdaptors(WOApplication.java: 
1014)
	at  
com.webobjects.appserver.WOApplication.<init>(WOApplication.java:575)
	at er.extensions.ERXApplication.<init>(ERXApplication.java:114)
	at Application.<init>(Application.java:23)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native  
Method)
	at  
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA 
ccessorImpl.java:39)
	at  
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons 
tructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at java.lang.Class.newInstance0(Class.java:308)
	at java.lang.Class.newInstance(Class.java:261)
	at com.webobjects.appserver.WOApplication.main(WOApplication.java:323)
	at er.extensions.ERXApplication.main(ERXApplication.java:46)
	at Application.main(Application.java:19)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav 
a:39)
	at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor 
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)


I didn't understand what it means but its certainly related to the  
WeBObjects adaptor and I suppose the 500 error is caused (or seriously  
affect...) by the Adaptor. Could anybody put a light on this  
matter?Could this error cause the problem I am mentioning?

I searched the list I noticed some developers suffered in the past  
problems related to the 500 internal error. But couldn't' 'fínd any  
ideas for solution...

Thanks in advance for any help and suggestions.

Nilton Lessa