Re: Local debugging while offline
Re: Local debugging while offline
- Subject: Re: Local debugging while offline
- From: Florijan Stamenkovic <email@hidden>
- Date: Sat, 19 Jul 2008 09:34:15 -0400
I've had strange WO behavior if I would disable my ethernet network
interface. Never exactly what you are getting, but I would stop being
able to access my server apps from my client apps. I don't think the
behavior is 100% reproducible. So, perhaps the behavior you are
getting is not per se related to being connected to the internet, but
to having any network interface enabled. I speculate that when there
is an IP assigned to your machine, WO apps are mapped to that IP, and
if your network interface is disabled, 'localhost' can not be
translated to that IP, thereby rendering your WO deployment useless.
Does this make any sense?
Have you ever tried turning off your airport (or any other relevant
network device), then restarting the machine, and then trying to do
WO stuff?
F
On Jul 18, 2008, at 13:54, Randy Wigginton wrote:
I'm encountering something very odd, and before I debug it I'd
like to see if this has happened to anyone else.
I have a Wonder Application that runs just fine as long as I am
connected to the internet. If I disconnect (say, by turning my
airport off), I receive the following message in my browser when I
launch the application:
Application: MainBundle
Error: java.lang.IllegalStateException exception
Reason:
java.lang.IllegalStateException: An Exception occurred while
generating the Exception page 'WOExceptionPage'. This is most
likely due to an error in 'WOExceptionPage' itself or WebObjects
encountered an uncaught exception while creating a Session object.
Below are the logs of the original Exception which occured in
com.realtor.dolphin.app.Application, then the later Exception in
WOExceptionPage.
Original Exception:
java.lang.IllegalArgumentException:
<com.realtor.dolphin.app.Application> Class 'Session' exists
(interface org.apache.axis.session.Session) but is not a subclass
of WOSession.
at com.webobjects.appserver.WOApplication._sessionClass
(WOApplication.java:1925)
at com.webobjects.appserver.WOApplication.createSessionForRequest
(WOApplication.java:1964)
at er.extensions.appserver.ERXApplication.createSessionForRequest
(ERXApplication.java:1844)
at
com.webobjects.appserver.WOApplication._initializeSessionInContext
(WOApplication.java:2101)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW
ithPreparedApplication(WOComponentRequestHandler.java:319)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleReq
uest(WOComponentRequestHandler.java:369)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequ
est(WOComponentRequestHandler.java:442)
at com.webobjects.appserver.WOApplication.dispatchRequest
(WOApplication.java:1678)
at er.extensions.appserver.ERXApplication.dispatchRequestImmediately
(ERXApplication.java:1594)
at er.extensions.appserver.ERXApplication.dispatchRequest
(ERXApplication.java:1558)
at com.webobjects.appserver._private.WOWorkerThread.runOnce
(WOWorkerThread.java:144)
at com.webobjects.appserver._private.WOWorkerThread.run
(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:613)
Why is the behavior dependent on whether I am online or not? It
would be nice to be able to run & debug purely locally, especially
while on an airplane.
I would suspect my classpath, except that does not depend on my
online status.
Any ideas?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden