Error in Messaging System up to R734301?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

Error in Messaging System up to R734301?

madppiper-2
Hey everybody,

I am facing a rather unusual problem that pretty much doesn't allow me to update to any recent Revision.

(unneccesary sidenote: I am receiving an error on my groovy file where I try to use the String Method replace on a variable, stating that the StringWrapper class does not contain such method - everything worked fine in previouses releases... but anyhow...)

So now I am wondering whether there was a known issue with the smtp mailing system up until that point (mid january), as I cannot send any emails. I am not receiving any error message either, even though I did setup general.properties file as explained in the wiki.

Any thoughts on this? I know its rather difficult to answer a question on a revision almost 3 months back, but perhaps anyone remembers an issue which has been fixed as of late or an idea for where I could start digging?
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

madppiper-2
Ah,

I may have overlooked that if my username uses an @ I may need to replace that @ symbol with the + sign. I don't know if this has been fixed in recent revision, nor if it fixes my problem, but if it hasn't and does, perhaps I could update this on the wiki?
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

BJ Freeman
In reply to this post by madppiper-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

probably easier to put some log entries in the flow to see if it is
performing as expected.


madppiper sent the following on 3/13/2009 4:53 AM:

> Hey everybody,
>
> I am facing a rather unusual problem that pretty much doesn't allow me to
> update to any recent Revision.
>
> (unneccesary sidenote: I am receiving an error on my groovy file where I try
> to use the String Method replace on a variable, stating that the
> StringWrapper class does not contain such method - everything worked fine in
> previouses releases... but anyhow...)
>
> So now I am wondering whether there was a known issue with the smtp mailing
> system up until that point (mid january), as I cannot send any emails. I am
> not receiving any error message either, even though I did setup
> general.properties file as explained in the wiki.
>
> Any thoughts on this? I know its rather difficult to answer a question on a
> revision almost 3 months back, but perhaps anyone remembers an issue which
> has been fixed as of late or an idea for where I could start digging?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJulJ2rP3NbaWWqE4RAgSJAKDLpo0RF/E7ALhL0NJKuY7FgpKqfACfcEnU
reX3KyRYF3nKY1Txck5s5qo=
=gtWD
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oh not sure this has anything to do with you problem but the email
services were moved to framework in feb.

BJ Freeman sent the following on 3/13/2009 5:32 AM:

> probably easier to put some log entries in the flow to see if it is
> performing as expected.
>
>
> madppiper sent the following on 3/13/2009 4:53 AM:
>> Hey everybody,
>
>> I am facing a rather unusual problem that pretty much doesn't allow me to
>> update to any recent Revision.
>
>> (unneccesary sidenote: I am receiving an error on my groovy file where I try
>> to use the String Method replace on a variable, stating that the
>> StringWrapper class does not contain such method - everything worked fine in
>> previouses releases... but anyhow...)
>
>> So now I am wondering whether there was a known issue with the smtp mailing
>> system up until that point (mid january), as I cannot send any emails. I am
>> not receiving any error message either, even though I did setup
>> general.properties file as explained in the wiki.
>
>> Any thoughts on this? I know its rather difficult to answer a question on a
>> revision almost 3 months back, but perhaps anyone remembers an issue which
>> has been fixed as of late or an idea for where I could start digging?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJulPHrP3NbaWWqE4RAhjCAJ46ZQt4kak95StJtOeKB4AtxriVJQCaArFu
tWvkcF3O7GqDnG1SLMxtnfk=
=bEBG
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

madppiper-2
Hmm, yeah...

well, to be honest: the email system seems to work on the more recent revision, so perhaps there have really been some changed made in february that fixed the issue. Is there a way to merge my revision (r734301) with the on in february without touching the other components?

I don't really want to go through the hussle and update all and fall back on the problem which i had with my groovy files... (left alone the problem I got from changing the original css files :P)
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

Adrian Crum
I don't know what the SVN command is, but in Tortoise, you can update
specific files or folders to a specified revision.

-Adrian

madppiper wrote:

> Hmm, yeah...
>
> well, to be honest: the email system seems to work on the more recent
> revision, so perhaps there have really been some changed made in february
> that fixed the issue. Is there a way to merge my revision (r734301) with the
> on in february without touching the other components?
>
> I don't really want to go through the hussle and update all and fall back on
> the problem which i had with my groovy files... (left alone the problem I
> got from changing the original css files :P)
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

Jacques Le Roux
Administrator
Simply : svn up -r revisionNumber (ex svn up -r 749959)

TO know more : svn help up

Jacques

From: "Adrian Crum" <[hidden email]>

>I don't know what the SVN command is, but in Tortoise, you can update
> specific files or folders to a specified revision.
>
> -Adrian
>
> madppiper wrote:
>> Hmm, yeah...
>>
>> well, to be honest: the email system seems to work on the more recent
>> revision, so perhaps there have really been some changed made in february
>> that fixed the issue. Is there a way to merge my revision (r734301) with the
>> on in february without touching the other components?
>>
>> I don't really want to go through the hussle and update all and fall back on
>> the problem which i had with my groovy files... (left alone the problem I
>> got from changing the original css files :P)
>

Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

BJ Freeman
In reply to this post by madppiper-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

you can go through the commits mailing list on Feb 20 and find the
commit an run it as a patch. I am just looking at the file date.
you can read through it to see what is touched.

madppiper sent the following on 3/13/2009 5:52 AM:

> Hmm, yeah...
>
> well, to be honest: the email system seems to work on the more recent
> revision, so perhaps there have really been some changed made in february
> that fixed the issue. Is there a way to merge my revision (r734301) with the
> on in february without touching the other components?
>
> I don't really want to go through the hussle and update all and fall back on
> the problem which i had with my groovy files... (left alone the problem I
> got from changing the original css files :P)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJuo3YrP3NbaWWqE4RAp2/AKCHyOzbtR1g4BnyxEJruSUXSIt9JwCeJ5M1
mBXRX53ANgkE25PiLBcH4bA=
=8kZf
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ok got my cup of coffee and looked it up in eclipse.
rev 744727 is the move on 2/15/09


BJ Freeman sent the following on 3/13/2009 9:46 AM:

> you can go through the commits mailing list on Feb 20 and find the
> commit an run it as a patch. I am just looking at the file date.
> you can read through it to see what is touched.
>
> madppiper sent the following on 3/13/2009 5:52 AM:
>> Hmm, yeah...
>
>> well, to be honest: the email system seems to work on the more recent
>> revision, so perhaps there have really been some changed made in february
>> that fixed the issue. Is there a way to merge my revision (r734301) with the
>> on in february without touching the other components?
>
>> I don't really want to go through the hussle and update all and fall back on
>> the problem which i had with my groovy files... (left alone the problem I
>> got from changing the original css files :P)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJupUdrP3NbaWWqE4RAs1TAJ0VHB9J4y8uxgHDWY2wiYac1Xe1GgCgiYC4
nscleu+PokhPhYsr/+HV8Mc=
=iEVA
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

madppiper-2
You know, sometimes you guys are just the best! Thanks a bunch, folks, you are great!

Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

madppiper-2
hmm,

well I applied the Revision as a patch, meaning that I downloaded each file and replaced my own and followed the instructions on which other files i had to remove... Problems arose, however, on compiling and I ended up having to add the ESAPI packages as well and change the StringUtil Class which contains the StringWrapper.

From there I now receive the same bugging error that initially forced me to apply a patch instead of doing a clean update to the most current revision.

Within my groovy script I try to use the checkLoginUrl, but without the "/checklogin/" location, which is why I am doing a simple String replace:

context.get("checkLoginUrl").replace("/checkLogin/","")


This concept used to work with the previous versions of the StringUtil class, but now, I receive the following error:

" org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://brandsparadise/widget/BrandsparadiseScreens.xml#main]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh] (Error running BSH script at [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh], line [17]: Sourced file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in method invocation: Method replace( java.lang.String, java.lang.String ) not found in class'org.ofbiz.base.util.StringUtil$StringWrapper' : at Line: 17 : in file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : .replace ( "/checkLogin/" , "" )
 (Sourced file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in method invocation: Method replace( java.lang.String, java.lang.String ) not found in class'org.ofbiz.base.util.StringUtil$StringWrapper')) (Error running BSH script at location [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh] (Error running BSH script at [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh], line [17]: Sourced file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in method invocation: Method replace( java.lang.String, java.lang.String ) not found in class'org.ofbiz.base.util.StringUtil$StringWrapper' : at Line: 17 : in file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : .replace ( "/checkLogin/" , "" )
 (Sourced file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in method invocation: Method replace( java.lang.String, java.lang.String ) not found in class'org.ofbiz.base.util.StringUtil$StringWrapper')))
"

Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

my suggestion is you keep a pure svn checkout that you can go look when
it says something like
not found in class'org.ofbiz.base.util.StringUtil$StringWrapper
and see the history or just go into the class and figure it out.

My development is also taken a different direction from the trunk
so I am continually having to run compares against the SVN (my local
copy) to see what is what.
With a lot of changes they make it is not as simple as to  just put in
commit, since it may depend on previous commits.

There was a discussion about making things with VerbNoun
looks like this one is changed to wrapString and there is a
makeStringWrapper that is calls

Enjoy the world of chasing your tail (meant to be humorous).




madppiper sent the following on 3/15/2009 2:51 AM:

> hmm,
>
> well I applied the Revision as a patch, meaning that I downloaded each file
> and replaced my own and followed the instructions on which other files i had
> to remove... Problems arose, however, on compiling and I ended up having to
> add the ESAPI packages as well and change the StringUtil Class which
> contains the StringWrapper.
>
>>From there I now receive the same bugging error that initially forced me to
> apply a patch instead of doing a clean update to the most current revision.
>
> Within my groovy script I try to use the checkLoginUrl, but without the
> "/checklogin/" location, which is why I am doing a simple String replace:
>
> context.get("checkLoginUrl").replace("/checkLogin/","")
>
>
> This concept used to work with the previous versions of the StringUtil
> class, but now, I receive the following error:
>
> " org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://brandsparadise/widget/BrandsparadiseScreens.xml#main]:
> org.ofbiz.base.util.GeneralException: Error running BSH script at location
> [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh] (Error
> running BSH script at
> [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh], line
> [17]: Sourced file:
> component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
> method invocation: Method replace( java.lang.String, java.lang.String ) not
> found in class'org.ofbiz.base.util.StringUtil$StringWrapper' : at Line: 17 :
> in file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh :
> .replace ( "/checkLogin/" , "" )
>  (Sourced file:
> component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
> method invocation: Method replace( java.lang.String, java.lang.String ) not
> found in class'org.ofbiz.base.util.StringUtil$StringWrapper')) (Error
> running BSH script at location
> [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh] (Error
> running BSH script at
> [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh], line
> [17]: Sourced file:
> component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
> method invocation: Method replace( java.lang.String, java.lang.String ) not
> found in class'org.ofbiz.base.util.StringUtil$StringWrapper' : at Line: 17 :
> in file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh :
> .replace ( "/checkLogin/" , "" )
>  (Sourced file:
> component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
> method invocation: Method replace( java.lang.String, java.lang.String ) not
> found in class'org.ofbiz.base.util.StringUtil$StringWrapper')))
> "
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFJvNvrrP3NbaWWqE4RApy/AJ9WEMMufXayRxayt72fTbWZjZ0NXgCY/GVZ
M5g+2QU8HLILTC/kVqdjSg==
=vETt
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

only two methods in StringWrapper
toString
Plus

BJ Freeman sent the following on 3/15/2009 3:43 AM:

> my suggestion is you keep a pure svn checkout that you can go look when
> it says something like
> not found in class'org.ofbiz.base.util.StringUtil$StringWrapper
> and see the history or just go into the class and figure it out.
>
> My development is also taken a different direction from the trunk
> so I am continually having to run compares against the SVN (my local
> copy) to see what is what.
> With a lot of changes they make it is not as simple as to  just put in
> commit, since it may depend on previous commits.
>
> There was a discussion about making things with VerbNoun
> looks like this one is changed to wrapString and there is a
> makeStringWrapper that is calls
>
> Enjoy the world of chasing your tail (meant to be humorous).
>
>
>
>
> madppiper sent the following on 3/15/2009 2:51 AM:
>> hmm,
>
>> well I applied the Revision as a patch, meaning that I downloaded each file
>> and replaced my own and followed the instructions on which other files i had
>> to remove... Problems arose, however, on compiling and I ended up having to
>> add the ESAPI packages as well and change the StringUtil Class which
>> contains the StringWrapper.
>
>> >From there I now receive the same bugging error that initially forced me to
>> apply a patch instead of doing a clean update to the most current revision.
>
>> Within my groovy script I try to use the checkLoginUrl, but without the
>> "/checklogin/" location, which is why I am doing a simple String replace:
>
>> context.get("checkLoginUrl").replace("/checkLogin/","")
>
>
>> This concept used to work with the previous versions of the StringUtil
>> class, but now, I receive the following error:
>
>> " org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
>> [component://brandsparadise/widget/BrandsparadiseScreens.xml#main]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at location
>> [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh] (Error
>> running BSH script at
>> [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh], line
>> [17]: Sourced file:
>> component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
>> method invocation: Method replace( java.lang.String, java.lang.String ) not
>> found in class'org.ofbiz.base.util.StringUtil$StringWrapper' : at Line: 17 :
>> in file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh :
>> .replace ( "/checkLogin/" , "" )
>>  (Sourced file:
>> component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
>> method invocation: Method replace( java.lang.String, java.lang.String ) not
>> found in class'org.ofbiz.base.util.StringUtil$StringWrapper')) (Error
>> running BSH script at location
>> [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh] (Error
>> running BSH script at
>> [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh], line
>> [17]: Sourced file:
>> component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
>> method invocation: Method replace( java.lang.String, java.lang.String ) not
>> found in class'org.ofbiz.base.util.StringUtil$StringWrapper' : at Line: 17 :
>> in file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh :
>> .replace ( "/checkLogin/" , "" )
>>  (Sourced file:
>> component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
>> method invocation: Method replace( java.lang.String, java.lang.String ) not
>> found in class'org.ofbiz.base.util.StringUtil$StringWrapper')))
>> "
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJvN/erP3NbaWWqE4RArCwAJoCmuxzvAHlglJqktiVYbTpo5qWiQCfVsRM
1C4pa5Y6thlZDSbiXRdvO2M=
=b7Gp
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

madppiper-2
Hehe, you got me there ;)

Well, what is really odd is that no matter which Revision of CommunicationEventServices (xml / java, party/services.xml I use, I always end up with no email being sent, even though the event itself is stored in the database as intended...

Perhaps to clarify: I am creating the emails using the PartyMgr New Email Feature (partymgr/control/createCommunicationEvent), after submit, I receive the following message onScreen:

"
The following occurred:

Prefix:Prefix message:The action was performed successfully.Suffix message:Suffix:
"

And the latter in the logs:

2009-03-16 14:02:11,633 (http-0.0.0.0-8443-2) [     ControlServlet.java:131:INFO ] [[[createCommunicationEvent] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
2009-03-16 14:02:11,633 (http-0.0.0.0-8443-2) [     ControlServlet.java:196:INFO ] [[[createCommunicationEvent] Setup done, doing Event(s) and View(s)- total:0.0,since last([createCommunicat...):0.0]]
2009-03-16 14:02:11,649 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.016s: jndi:/0.0.0.0/partymgr/WEB-INF/controller.xml
2009-03-16 14:02:11,665 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.016s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
2009-03-16 14:02:11,665 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.0s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
2009-03-16 14:02:11,665 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.0s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
2009-03-16 14:02:11,680 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.015s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
2009-03-16 14:02:11,680 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.0s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
2009-03-16 14:02:11,727 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.047s: file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartyPermissionServices.xml
2009-03-16 14:02:11,743 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.016s: file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml
2009-03-16 14:02:11,821 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.016s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml
2009-03-16 14:02:11,836 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.015s: file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartyServices.xml
2009-03-16 14:02:11,977 (http-0.0.0.0-8443-2) [  ServiceDispatcher.java:578:INFO ] Sync service [partymgr/createCommunicationEvent] finished in [297] milliseconds
2009-03-16 14:02:12,258 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 188. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'.
2009-03-16 14:02:12,258 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 210. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'.
2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 593. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'.
2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 594. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'.
2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 595. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'.
2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 596. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'.
2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 623. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'.
2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml process error. Line: 723. Error message: cvc-complex-type.3.2.2: Attribute 'from-field' is not allowed to appear in element 'field-map'.
2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.015s: file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml
2009-03-16 14:02:12,305 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.0s: file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommonScreens.xml
2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml process error. Line: 124. Error message: cvc-complex-type.3.2.2: Attribute 'result-map-name' is not allowed to appear in element 'service'.
2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml process error. Line: 140. Error message: cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear in element 'entity-one'.
2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml process error. Line: 140. Error message: cvc-complex-type.4: Attribute 'value-field' must appear on element 'entity-one'.
2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml process error. Line: 155. Error message: cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear in element 'if-empty'.
2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml process error. Line: 155. Error message: cvc-complex-type.4: Attribute 'field' must appear on element 'if-empty'.
2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml process error. Line: 160. Error message: cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear in element 'if-empty'.
2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml process error. Line: 160. Error message: cvc-complex-type.4: Attribute 'field' must appear on element 'if-empty'.
2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml process error. Line: 195. Error message: cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear in element 'if-empty'.
2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml process error. Line: 195. Error message: cvc-complex-type.4: Attribute 'field' must appear on element 'if-empty'.
2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml process error. Line: 403. Error message: cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear in element 'if-empty'.
2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml process error. Line: 403. Error message: cvc-complex-type.4: Attribute 'field' must appear on element 'if-empty'.
2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.0s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
2009-03-16 14:02:12,352 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.016s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml
2009-03-16 14:02:12,398 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.0s: file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/Menus.xml
2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.016s: file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonMenus.xml
2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml process error. Line: 23. Error message: cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear in element 'if-compare'.
2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml process error. Line: 23. Error message: cvc-complex-type.4: Attribute 'field' must appear on element 'if-compare'.
2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml process error. Line: 88. Error message: cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear in element 'if-compare'.
2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml process error. Line: 88. Error message: cvc-complex-type.4: Attribute 'field' must appear on element 'if-compare'.
2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml process error. Line: 98. Error message: cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear in element 'if-compare'.
2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [            UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml process error. Line: 98. Error message: cvc-complex-type.4: Attribute 'field' must appear on element 'if-compare'.
2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.0s: file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml
2009-03-16 14:02:12,445 (http-0.0.0.0-8443-2) [            UtilXml.java:246:INFO ] XML Read 0.015s: file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommForms.xml
2009-03-16 14:02:12,555 (http-0.0.0.0-8443-2) [     ControlServlet.java:302:INFO ] [[[createCommunicationEvent] Done rendering page, Servlet Finished- total:0.922,since last([createCommunicat...):0.922]]




What bothers me, is that I was once capable of actually sending email messages, using the most recent Revision a week ago, but I have not since been capable of recreating the setup of last week...

I tried to add a simple log message to the CommunicationEventServices xml file, but that hasn't been printed, which applies that the event itself isn't called correctly...
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hans has been doing a lot of work with communicationevents.
you might follow the commits mailing list.
Looks like you may have an xsd out of sink


madppiper sent the following on 3/16/2009 6:10 AM:

> Hehe, you got me there ;)
>
> Well, what is really odd is that no matter which Revision of
> CommunicationEventServices (xml / java, party/services.xml I use, I always
> end up with no email being sent, even though the event itself is stored in
> the database as intended...
>
> Perhaps to clarify: I am creating the emails using the PartyMgr New Email
> Feature (partymgr/control/createCommunicationEvent), after submit, I receive
> the following message onScreen:
>
> "
> The following occurred:
>
> Prefix:Prefix message:The action was performed successfully.Suffix
> message:Suffix:
> "
>
> And the latter in the logs:
>
> 2009-03-16 14:02:11,633 (http-0.0.0.0-8443-2) [    
> ControlServlet.java:131:INFO ] [[[createCommunicationEvent] Servlet
> Starting, doing setup- total:0.0,since last(Begin):0.0]]
> 2009-03-16 14:02:11,633 (http-0.0.0.0-8443-2) [    
> ControlServlet.java:196:INFO ] [[[createCommunicationEvent] Setup done,
> doing Event(s) and View(s)- total:0.0,since last([createCommunicat...):0.0]]
> 2009-03-16 14:02:11,649 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.016s:
> jndi:/0.0.0.0/partymgr/WEB-INF/controller.xml
> 2009-03-16 14:02:11,665 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.016s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
> 2009-03-16 14:02:11,665 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.0s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
> 2009-03-16 14:02:11,665 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.0s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
> 2009-03-16 14:02:11,680 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.015s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
> 2009-03-16 14:02:11,680 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.0s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
> 2009-03-16 14:02:11,727 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.047s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartyPermissionServices.xml
> 2009-03-16 14:02:11,743 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.016s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml
> 2009-03-16 14:02:11,821 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.016s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml
> 2009-03-16 14:02:11,836 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.015s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartyServices.xml
> 2009-03-16 14:02:11,977 (http-0.0.0.0-8443-2) [
> ServiceDispatcher.java:578:INFO ] Sync service
> [partymgr/createCommunicationEvent] finished in [297] milliseconds
> 2009-03-16 14:02:12,258 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml
> process error. Line: 188. Error message: cvc-complex-type.3.2.2: Attribute
> 'from-field' is not allowed to appear in element 'field-map'.
> 2009-03-16 14:02:12,258 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml
> process error. Line: 210. Error message: cvc-complex-type.3.2.2: Attribute
> 'from-field' is not allowed to appear in element 'field-map'.
> 2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml
> process error. Line: 593. Error message: cvc-complex-type.3.2.2: Attribute
> 'from-field' is not allowed to appear in element 'field-map'.
> 2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml
> process error. Line: 594. Error message: cvc-complex-type.3.2.2: Attribute
> 'from-field' is not allowed to appear in element 'field-map'.
> 2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml
> process error. Line: 595. Error message: cvc-complex-type.3.2.2: Attribute
> 'from-field' is not allowed to appear in element 'field-map'.
> 2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml
> process error. Line: 596. Error message: cvc-complex-type.3.2.2: Attribute
> 'from-field' is not allowed to appear in element 'field-map'.
> 2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml
> process error. Line: 623. Error message: cvc-complex-type.3.2.2: Attribute
> 'from-field' is not allowed to appear in element 'field-map'.
> 2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml
> process error. Line: 723. Error message: cvc-complex-type.3.2.2: Attribute
> 'from-field' is not allowed to appear in element 'field-map'.
> 2009-03-16 14:02:12,273 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.015s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommunicationScreens.xml
> 2009-03-16 14:02:12,305 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.0s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/partymgr/CommonScreens.xml
> 2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
> process error. Line: 124. Error message: cvc-complex-type.3.2.2: Attribute
> 'result-map-name' is not allowed to appear in element 'service'.
> 2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
> process error. Line: 140. Error message: cvc-complex-type.3.2.2: Attribute
> 'value-name' is not allowed to appear in element 'entity-one'.
> 2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
> process error. Line: 140. Error message: cvc-complex-type.4: Attribute
> 'value-field' must appear on element 'entity-one'.
> 2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
> process error. Line: 155. Error message: cvc-complex-type.3.2.2: Attribute
> 'field-name' is not allowed to appear in element 'if-empty'.
> 2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
> process error. Line: 155. Error message: cvc-complex-type.4: Attribute
> 'field' must appear on element 'if-empty'.
> 2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
> process error. Line: 160. Error message: cvc-complex-type.3.2.2: Attribute
> 'field-name' is not allowed to appear in element 'if-empty'.
> 2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
> process error. Line: 160. Error message: cvc-complex-type.4: Attribute
> 'field' must appear on element 'if-empty'.
> 2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
> process error. Line: 195. Error message: cvc-complex-type.3.2.2: Attribute
> 'field-name' is not allowed to appear in element 'if-empty'.
> 2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
> process error. Line: 195. Error message: cvc-complex-type.4: Attribute
> 'field' must appear on element 'if-empty'.
> 2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
> process error. Line: 403. Error message: cvc-complex-type.3.2.2: Attribute
> 'field-name' is not allowed to appear in element 'if-empty'.
> 2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
> process error. Line: 403. Error message: cvc-complex-type.4: Attribute
> 'field' must appear on element 'if-empty'.
> 2009-03-16 14:02:12,320 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.0s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonScreens.xml
> 2009-03-16 14:02:12,352 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.016s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml
> 2009-03-16 14:02:12,398 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.0s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/widget/Menus.xml
> 2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.016s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/framework/common/widget/CommonMenus.xml
> 2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml
> process error. Line: 23. Error message: cvc-complex-type.3.2.2: Attribute
> 'field-name' is not allowed to appear in element 'if-compare'.
> 2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml
> process error. Line: 23. Error message: cvc-complex-type.4: Attribute
> 'field' must appear on element 'if-compare'.
> 2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml
> process error. Line: 88. Error message: cvc-complex-type.3.2.2: Attribute
> 'field-name' is not allowed to appear in element 'if-compare'.
> 2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml
> process error. Line: 88. Error message: cvc-complex-type.4: Attribute
> 'field' must appear on element 'if-compare'.
> 2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml
> process error. Line: 98. Error message: cvc-complex-type.3.2.2: Attribute
> 'field-name' is not allowed to appear in element 'if-compare'.
> 2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [          
> UtilXml.java:665:ERROR] XmlFileLoader: File
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml
> process error. Line: 98. Error message: cvc-complex-type.4: Attribute
> 'field' must appear on element 'if-compare'.
> 2009-03-16 14:02:12,414 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.0s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommMenus.xml
> 2009-03-16 14:02:12,445 (http-0.0.0.0-8443-2) [          
> UtilXml.java:246:INFO ] XML Read 0.015s:
> file:/C:/Projekte/Developer/Workspace/ofbiz/applications/party/webapp/partymgr/communication/CommForms.xml
> 2009-03-16 14:02:12,555 (http-0.0.0.0-8443-2) [    
> ControlServlet.java:302:INFO ] [[[createCommunicationEvent] Done rendering
> page, Servlet Finished- total:0.922,since last([createCommunicat...):0.922]]
>
>
>
>
> What bothers me, is that I was once capable of actually sending email
> messages, using the most recent Revision a week ago, but I have not since
> been capable of recreating the setup of last week...
>
> I tried to add a simple log message to the CommunicationEventServices xml
> file, but that hasn't been printed, which applies that the event itself
> isn't called correctly...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJvpmOrP3NbaWWqE4RAgMRAJ4qQkT8VAyZTvEGRTqdDGMUSBLq4QCeMt/M
rjtDSDOtu+gPdWsQhZIPQmk=
=MS7m
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

madppiper-2
Well, yeah...

as writing, I'm currently digging through the commit list in hopes of slowly updating the xsds, java worker classes and whatnot arround the real issue...

A quick question though, has there been alot of known issues with the  SMTP Mailer prior January 18th? It is kinda hard to believe that I am not getting it to run at all, so i bet I just screwed up my properties file (on a sidenote: Thanks alot BJ, your help is as usual well appreciated):



----

# -- unique instance id (20 char max)
unique.instanceId=ofbiz1

# -- the default currency to use for prices, etc
currency.uom.id.default=EUR

# -- the default organizationPartyId for used in dropdowns and reports
defaultOrganizationPartyId=Company

# -- the default decimal format for currency
currency.decimal.format=##0,00

# -- Properties fallback locale. Change this setting with caution. If you
#    start getting "resource not found" errors, then there are
#    properties missing in the locale you selected.
locale.properties.fallback=en

# -- locales made available separated by commas
locales.available=de,en

# -- time zone IDs made available separated by commas
#timeZones.available=US/Eastern,US/Central,US/Mountain,US/Pacific,US/Alaska,US/Hawaii

# -- the default country for drop downs
country.geo.id.default=DEU

# -- the default trackingCodeId to use for Partner Managed Tracking Codes
partner.trackingCodeId.default=

# -- USPS address matching string - should be all lower case, no spaces, pipe delimited
usps.address.match=(^.*?p[\\. ]*o[\\. ]*box.*$)|(^.*?post.*?office.*?box.*$)|((^|(^.*? ))r[\\. ]*r[\\. ]*(( +)|([0-9#]+)).*$)|(^.*?rural.*?route.*$)

# -- mail notifications enabled (Y|N)
mail.notifications.enabled=Y

# -- redirect all mail notifications to this address for testing
mail.notifications.redirectTo=****@***.ch

# -- the default mail server to use
mail.smtp.relay.host=smtp.****.ch

# -- SMTP Auth settings
mail.smtp.auth.user=system@***.com
mail.smtp.auth.password=*****

# -- Additional Required Fields needed for Gmail and other non traditional smtp servers
# -- These added fields also work for Yahoo business mail for instance
# -- Gmail smtp port can be either 465 or 587
#mail.smtp.port=465
# -- Gmail requires StartTLS
#mail.smtp.starttls.enable=true

# -- Gmail requires a JSSE socket factory, the following socketFactory settings will override JavaMail's default socketFactory settings
# -- Port needs to be the same as mail.smtp.port
#mail.smtp.socketFactory.port=465
#mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
#--Fallback [true|false] determines whether you will allow a non secure connection if you are unable to get a secure one
#mail.smtp.socketFactory.fallback=false

# -- how the address are matched with the CRM addresses
mail.address.caseInsensitive=N

# -- debug SMTP mail option enabled (Y|N)
mail.debug.on=Y

# -- HTTP upload settings
# -- directory used to temporarily store files that are larger than the configured size threshold (10K)
http.upload.max.sizethreshold=10240
# -- directory used to temporarily store files that are larger than the configured size threshold
http.upload.tmprepository=runtime/tmp
# -- max size in bytes (-1 for unlimited)
http.upload.max.size=-1

# -- spam header name and value to block incoming spam detected by external spam checker, configured for spam assin
mail.spam.name=X-Spam-Flag
mail.spam.value=YES
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

yes, there a few, i am running a Sept one as my deployment and it works
accept for mimes.
I have a test emails account you can use to send emails to to get them
into you ofbiz and send out to test sending.
there is a lot of test traffic at times that you will also get, but that
lets test you filters. _:D
let me know off-line f you want to use it.



madppiper sent the following on 3/16/2009 3:12 PM:

> Well, yeah...
>
> as writing, I'm currently digging through the commit list in hopes of slowly
> updating the xsds, java worker classes and whatnot arround the real issue...
>
> A quick question though, has there been alot of known issues with the  SMTP
> Mailer prior January 18th? It is kinda hard to believe that I am not getting
> it to run at all, so i bet I just screwed up my properties file (on a
> sidenote: Thanks alot BJ, your help is as usual well appreciated):
>
>
>
> ----
>
> # -- unique instance id (20 char max)
> unique.instanceId=ofbiz1
>
> # -- the default currency to use for prices, etc
> currency.uom.id.default=EUR
>
> # -- the default organizationPartyId for used in dropdowns and reports
> defaultOrganizationPartyId=Company
>
> # -- the default decimal format for currency
> currency.decimal.format=##0,00
>
> # -- Properties fallback locale. Change this setting with caution. If you
> #    start getting "resource not found" errors, then there are
> #    properties missing in the locale you selected.
> locale.properties.fallback=en
>
> # -- locales made available separated by commas
> locales.available=de,en
>
> # -- time zone IDs made available separated by commas
> #timeZones.available=US/Eastern,US/Central,US/Mountain,US/Pacific,US/Alaska,US/Hawaii
>
> # -- the default country for drop downs
> country.geo.id.default=DEU
>
> # -- the default trackingCodeId to use for Partner Managed Tracking Codes
> partner.trackingCodeId.default=
>
> # -- USPS address matching string - should be all lower case, no spaces,
> pipe delimited
> usps.address.match=(^.*?p[\\. ]*o[\\.
> ]*box.*$)|(^.*?post.*?office.*?box.*$)|((^|(^.*? ))r[\\. ]*r[\\. ]*((
> +)|([0-9#]+)).*$)|(^.*?rural.*?route.*$)
>
> # -- mail notifications enabled (Y|N)
> mail.notifications.enabled=Y
>
> # -- redirect all mail notifications to this address for testing
> mail.notifications.redirectTo=****@***.ch
>
> # -- the default mail server to use
> mail.smtp.relay.host=smtp.****.ch
>
> # -- SMTP Auth settings
> mail.smtp.auth.user=system@***.com
> mail.smtp.auth.password=*****
>
> # -- Additional Required Fields needed for Gmail and other non traditional
> smtp servers
> # -- These added fields also work for Yahoo business mail for instance
> # -- Gmail smtp port can be either 465 or 587
> #mail.smtp.port=465
> # -- Gmail requires StartTLS
> #mail.smtp.starttls.enable=true
>
> # -- Gmail requires a JSSE socket factory, the following socketFactory
> settings will override JavaMail's default socketFactory settings
> # -- Port needs to be the same as mail.smtp.port
> #mail.smtp.socketFactory.port=465
> #mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
> #--Fallback [true|false] determines whether you will allow a non secure
> connection if you are unable to get a secure one
> #mail.smtp.socketFactory.fallback=false
>
> # -- how the address are matched with the CRM addresses
> mail.address.caseInsensitive=N
>
> # -- debug SMTP mail option enabled (Y|N)
> mail.debug.on=Y
>
> # -- HTTP upload settings
> # -- directory used to temporarily store files that are larger than the
> configured size threshold (10K)
> http.upload.max.sizethreshold=10240
> # -- directory used to temporarily store files that are larger than the
> configured size threshold
> http.upload.tmprepository=runtime/tmp
> # -- max size in bytes (-1 for unlimited)
> http.upload.max.size=-1
>
> # -- spam header name and value to block incoming spam detected by external
> spam checker, configured for spam assin
> mail.spam.name=X-Spam-Flag
> mail.spam.value=YES
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJvtTmrP3NbaWWqE4RAkjWAJ4xrNR7/JOuoNcQnqGbQKyaWpBHYgCfbjiG
RDHaiCwICVObqjfnIE3bbd8=
=bxlU
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Error in Messaging System up to R734301?

madppiper-2
In reply to this post by madppiper-2
Update


Turns out: this version has been working all along and I am an idiot for NOT testing this on the actual process. The Emails were sent just fine after all!



But, the bright side is, that it is probably a good idea to take a second look at the partymgr new email screen. Right now those messages are not send whatsoever, they remain created in the background and are simply not set to the correct status. This is really misleading in my opinion and perhaps it is best to label that function appropriately so that others are not misguided by that feature as I was... alternatively, I would argue for a simple seca that simple changes the status of those mails, once created...