• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOMailDelivery Error In Code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOMailDelivery Error In Code


  • Subject: Re: WOMailDelivery Error In Code
  • From: Ricardo Strausz <email@hidden>
  • Date: Wed, 12 Mar 2003 16:00:40 -0600

Just guessing....
If you are trying to use smtp.mac.com with an acount (from:) different from a .mac acount, the mail server of .mac will refuse it (this happen to me onece becouse a typo error)


hope it helps!
dino

On martes, marz 11, 2003, at 06:45 America/Mexico_City, Jonathan Fleming wrote:

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\jav awebobjects.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:1 91)
at com.webobjects.appserver.WOMailDelivery.composePlainTextEmail(WOMailDel ivery.java:113)
at DirectAction.EmailFeedbackAction(DirectAction.java:36)
at java.lang.reflect.Method.invoke(Native Method)
at com.webobjects.appserver.WODirectAction.performActionNamed(WODirectActi on.java:151)
at com.webobjects.appserver._private.WODirectActionRequestHandler._handleR equest(WODirectActionRequestHandler.java:174)
at com.webobjects.appserver._private.WODirectActionRequestHandler.handleRe quest(WODirectActionRequestHandler.java:307)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.ja va:1133)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread .java:158)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.jav a: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.
_______________________________________________
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.

References: 
 >Re: WOMailDelivery Error In Code (From: "Jonathan Fleming" <email@hidden>)

  • Prev by Date: Re: Problem moving project folder
  • Next by Date: Re: WebObjects and Java 1.4.1
  • Previous by thread: Re: WOMailDelivery Error In Code
  • Next by thread: [WO45] Problem with a new EOQualifier subclass in Java
  • Index(es):
    • Date
    • Thread