Re: WOMailDelivery Error In Code
Re: WOMailDelivery Error In Code
- Subject: Re: WOMailDelivery Error In Code
- From: "Jonathan Fleming" <email@hidden>
- Date: Tue, 11 Mar 2003 12:45:04 +0000
Getting no joy with this, this is the application error: Error:
java.net.SocketException
Reason: Connection reset by peer: JVM_recv in socket input stream read
and here are the relevant parts of my launch output:
C:\Apple\Library\Frameworks\JavaWebObjects.framework\Resources\Java\javawebobjects.jar;C:\JDK13~1.1_0\lib\tools.jar
" Application "-\"WOSMTPHost" "smtp.mac.com\"" -EOAdaptorDebugEnabled
YES -DWORootDirectory=C:/Apple
[2003-03-11 12:25:42 GMT] <main> WOLifebeatDestinationPort=1085
I don't know if this makes a difference but even though I have put this in
the augument: -"WOSMTPHost smtp.mac.com", this is what is output:
"-\"WOSMTPHost" "smtp.mac.com\""
Skipping through to the exception I get this:
[2003-03-11 12:25:48 GMT] <main> Waiting for requests...
[2003-03-11 12:26:51 GMT] <WorkerThread0> <DirectAction>: Exception in
performActionNamed() on the action "EmailFeedback" with the message:
com.webobjects.foundation.NSForwardException [java.net.SocketException]
Connection reset by peer: JVM_recv in socket input stream read
[2003-03-11 12:26:51 GMT] <WorkerThread0>
com.webobjects.foundation.NSForwardException for java.net.SocketException:
Connection reset by peer: JVM_recv in socket input stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.TransferProtocolClient.readServerResponse(Unknown Source)
at sun.net.smtp.SmtpClient.issueCommand(Unknown Source)
at sun.net.smtp.SmtpClient.closeServer(Unknown Source)
at sun.net.NetworkClient.openServer(Unknown Source)
at sun.net.smtp.SmtpClient.openServer(Unknown Source)
at sun.net.smtp.SmtpClient.<init>(Unknown Source)
at
com.webobjects.appserver.WOMailDelivery.sendEmail(WOMailDelivery.java:191)
at
com.webobjects.appserver.WOMailDelivery.composePlainTextEmail(WOMailDelivery.java:113)
at DirectAction.EmailFeedbackAction(DirectAction.java:36)
at java.lang.reflect.Method.invoke(Native Method)
at
com.webobjects.appserver.WODirectAction.performActionNamed(WODirectAction.java:151)
at
com.webobjects.appserver._private.WODirectActionRequestHandler._handleRequest(WODirectActionRequestHandler.java:174)
at
com.webobjects.appserver._private.WODirectActionRequestHandler.handleRequest(WODirectActionRequestHandler.java:307)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1133)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:158)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:231)
at java.lang.Thread.run(Unknown Source)
There are a lot of unknowns going on in here but I don't understand what is
what or not set or such like.
Jonathan
From: Chuck Hill <email@hidden>
To: Art Isbell <email@hidden>
CC: email@hidden
Subject: Re: WOMailDelivery Error In Code
Date: Mon, 10 Mar 2003 18:21:04 -0800
Art Isbell wrote:
-WOSMTPHost"smtp.mac.com" ?
When I put a space in it won't allow me to include the "" quotes... I
put them in and they remove themselves on save, enter or moving to
another aurgument.
I've also tried runing the app without the quotes in the aurgument - no
go.
That's odd. How are you launching your WO app? JavaMonitor and
Project Builder should have no problem expressing the flag with quotes.
This might be Launcher in PBWO. It seems to strip off the quotes if it
thinks they are not needed. I *think* this is determined by how
NSDictionary is encoded into text. If the parameter does not contain
spaces or anything else that would interfere with parsing they are removed.
So -"WOSMTPHost smtp.mac.com" would leave the quotes in place. I just
had such a battle while trying to setup JVM profiling paramters.
Chuck
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_________________________________________________________________
Surf together with new Shared Browsing
http://join.msn.com/?page=features/browse&pgmarket=en-gb&XAPID=74&DI=1059
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.