Hi,

I have been using mod_rewrite to be able to make some urls a lot shorter. I am just testing them and I find that in IE if I use the shortened url, it throws the exception below. Only IE causes this.


No, IE is not throwing an exception, its your WO application. And the exception you see is simple: you are starting a new WOApp instance with a WOPort which is already in use. Carefully reading the stacktrace is always important...

cheers, David

My apache rules are:

    RewriteEngine On
     RewriteCond %{QUERY_STRING} ^appNum=([-0-9]+)(.*)$
     # Pro Photo Shoots
RewriteRule ^/Pro/shoot/(.*)$ /cgi-bin/WebObjects/ShoeBox.woa/% 1/wa/Pro/shoot?shootID=$1%2 [L,PT] RewriteRule ^/Pro/shoot/(.*)$ /cgi-bin/WebObjects/ShoeBox.woa/ wa/Pro/shoot?shootID=$1 [L,PT,QSA]

Does anyone know why IE would cause this?

Regards,
Greg

[2005-10-21 10:40:23 EST] <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 (WODefaultAdaptor.java:208) at com.webobjects.appserver._private.WODefaultAdaptor.<init> (WODefaultAdaptor.java:142) at com.webobjects.appserver._private.WODefaultAdaptor.<init> (WODefaultAdaptor.java:154) at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance (Constructor.java:274) at com.webobjects.foundation._NSUtilities.instantiateObject (_NSUtilities.java:575) at com.webobjects.appserver.WOApplication.adaptorWithName (WOApplication.java: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: 113) at au.com.shoebox.woapplication.Application.<init> (Application.java:58) at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.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 au.com.shoebox.woapplication.Application.main (Application.java:40)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
at com.webobjects._bootstrap.WOBootstrap.main (WOBootstrap.java:71)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/david.teran% 40cluster9.com

This email sent to [EMAIL PROTECTED]



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to