Re: subetha

Actions

From Jun 8, 2009 12:04 PM

Sorry, that was my mistake.  The proper format for Beans.xml is this:

<Beans xmlns="urn:java:ee"
	xmlns:smtp="urn:java:org.subethamail.core.smtp">

	<smtp:SMTPService>
		<smtp:port>2500</smtp:port>
		<smtp:bindAddress>localhost</smtp:bindAddress>
		<smtp:fallbackHost>localhost:2525</smtp:fallbackHost>
	</smtp:SMTPService>
</Beans>

Note the extra namespace on the port, bindAddress, fallbackHost.  Also
keep in mind that each of these parameters are optional; if you don't
want to set a bindAddress or a fallbackHost, don't include the xml
elements.

Jeff

On Sat, Jun 6, 2009 at 8:54 PM, Jan Kriesten<kriesten@mail.footprint.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi Jeff,
>
>> Copy this into ${RESIN_HOME}/webapps/se/WEB-INF/classes/META-INF/beans.xml
>
> I tried that, but I hadn't any luck with that:
>
> [05:41:54.481] {resin-564-WeakAlarm}
> file:/usr/local/www/services/ssl.footprint.de/webapps-resin/subetha/WEB-INF/classes/META-INF/be
> ans.xml:3: <port> is an unexpected tag (parent <smtp:SMTPService> starts at 2).
> [05:41:54.481] {resin-564-WeakAlarm}
> [05:41:54.481] {resin-564-WeakAlarm} 1: <Beans xmlns="urn:java:ee"
> xmlns:smtp="urn:java:org.subethamail.core.smtp">
> [05:41:54.481] {resin-564-WeakAlarm} 2:   <smtp:SMTPService>
> [05:41:54.481] {resin-564-WeakAlarm} 3:     <port>12877</port>
> [05:41:54.481] {resin-564-WeakAlarm} 4:     <bindAddress>localhost</bindAddress>
> [05:41:54.481] {resin-564-WeakAlarm} 5:
> <fallbackHost>localhost:25</fallbackHost>
> [05:41:54.481] {resin-564-WeakAlarm}
> [05:41:54.481] {resin-564-WeakAlarm} <smtp:SMTPService> syntax: ( (<* -
> {urn:java:ee}:*>*
> [05:41:54.481] {resin-564-WeakAlarm}                              & (@value |
> <value>)*
> [05:41:54.481] {resin-564-WeakAlarm}                              & (@name |
> <Named>)?
> [05:41:54.481] {resin-564-WeakAlarm}                              &
> <ApplicationScoped>?
> [05:41:54.481] {resin-564-WeakAlarm}                              &
> <ConversationScoped>?
> [05:41:54.481] {resin-564-WeakAlarm}                              & <RequestScoped>?
> [05:41:54.481] {resin-564-WeakAlarm}                              & <SessionScoped>?
> [05:41:54.481] {resin-564-WeakAlarm}                              & <Dependent>?
> [05:41:54.481] {resin-564-WeakAlarm}                              & <Production>?
> [05:41:54.481] {resin-564-WeakAlarm}                              & <Current>?
> [05:41:54.481] {resin-564-WeakAlarm}                              & <Decorates>?)
> [05:41:54.481] {resin-564-WeakAlarm}                            | string)
> [05:43:54.485] {resin-564-WeakAlarm} WebApp[http://ssl.footprint.de/subetha]
> stopping
>
> I think I'll just wait for resin 4.0.1 - thanks again!
>
> Best regards, --- Jan.
>
>
> - ----------------------------------------------------------
> footprint e.K. - kelterstr. 23 - d-22391 hamburg - germany
> tel +49-40-24180959 - fax +49-40-27805131
> handelsregister hamburg - hra 92306
> ust-id nr. DE194293429
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Darwin)
>
> iEYEARECAAYFAkorOg0ACgkQME/SSH3iSFlUTACeMfEJuvTpmXqT93SdBDGpe/7e
> dOQAniBKcdxlcanaspS1GcTWAHD3pX9o
> =PcPG
> -----END PGP SIGNATURE-----
>

Thread History