Community
 
 
 

CloudPortal Business Manager 1.x

342 seguidores
 
Avatar
Administrator

CPBM 1.4.7: problems sending email

Avatar

CPBM 1.4.7: problems sending email

Hi All.

 

I have recently installed CPBM 1.4.7.  I can login as root fine and create some accounts/users, but the users show up as "disabled" and do not appear to receive a verification email.  When I go to the user detail screen and select "Re-Send Verification", it says "Re-send email verification succeeded" but no email is received and log indicates an error:

 

WARN  27 Nov 2013 06:45:39,913:[QueueListener-1:DefaultMessageListenerContainer][] Execution of JMS message listener failed, and no ErrorHandler has been set.
org.springframework.jms.support.converter.MessageConversionException: Could not unmarshal message: ActiveMQTextMessage {commandId = 5, responseRequired = true, messageId = ID:phillip2.its.unimelb.edu.au-53859-1385534738513-0:1:1:1:1, originalDestination = null, originalTransactionId = null, producerId = ID:phillip2.its.unimelb.edu.au-53859-1385534738513-0:1:1:1, destination = queue://vmops.notification.queue, transactionId = null, expiration = 0, timestamp = 1385534739669, arrival = 0, brokerInTime = 1385534739672, brokerOutTime = 1385534739742, correlationId = null, replyTo = null, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = null, marshalledProperties = null, dataStructure = null, redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true, droppable = false, text = <com.vmops.event.VerifyEmailRequest><username...mailRequest>}; nested exception is org.springframework.oxm.UnmarshallingFailureException: XStream unmarshalling exception; nested exception is com.thoughtworks.xstream.converters.ConversionException: Cannot construct com.vmops.event.VerifyEmailRequest as it does not have a no-args constructor : Cannot construct com.vmops.event.VerifyEmailRequest as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct com.vmops.event.VerifyEmailRequest as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct com.vmops.event.VerifyEmailRequest as it does not have a no-args constructor
class               : com.vmops.event.VerifyEmailRequest
required-type       : com.vmops.event.VerifyEmailRequest
path                : /com.vmops.event.VerifyEmailRequest
line number         : 1
-------------------------------
        at org.springframework.jms.support.converter.MarshallingMessageConverter.fromMessage(MarshallingMessageConverter.java:188)
        at org.springframework.jms.listener.adapter.MessageListenerAdapter.extractMessage(MessageListenerAdapter.java:407)
        at org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:345)
        at org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:330)
        at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:535)
        at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:495)
        at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
        at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
        at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
        at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
        at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
        at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
        at java.lang.Thread.run(Thread.java:744)
Caused by: org.springframework.oxm.UnmarshallingFailureException: XStream unmarshalling exception; nested exception is com.thoughtworks.xstream.converters.ConversionException: Cannot construct com.vmops.event.VerifyEmailRequest as it does not have a no-args constructor : Cannot construct com.vmops.event.VerifyEmailRequest as it does not have a no-args constructor

 

 

My configuration in /etc/cloud/portal/cloud.properties is:

 

# Mail sender (SMTP/SMTPS) configuration                                       #
vmops.mail.protocol=smtp
vmops.mail.host=smtp.our.domain
vmops.mail.port=25
vmops.mail.username=
vmops.mail.password=

 

I can telnet to port 25 on smp.our.domain from the CPBM host successfully.

 

Any ideas what the issue might be here?

 

Regards,

 

Robert.


Robert Sturrock MEMBERS
1 comentário
0

Por favor, entrar para comentar.

 
 

Previous 1 comentário

Avatar
Administrator
Avatar

CPBM 1.4.7: problems sending email

Hi Robert,

 

We have seen similar issue when running CPBM on a server having JDK 7.

Can you please make sure that you are using JDK 6?

 

I think the issue should get resolved if you downgrade to JDK 6, if not then please let me know.

 

Thanks,

Manish


Manish Agarwal CITRIX EMPLOYEES
Ações de comentário Permalink

Top Contributors