[JBossWS] - POP Attachment
by safetytrick
I'm supporting a JBoss application that implements mail-ra.rar to pull down pop emails, this works great except in one case, I have a client that is sending emails to his pop account using c#.
for (i = 0; i < list.Items.Count; i++)
|
| {
|
| cst = list.Items.ToString();
|
| Attachment att = new Attachment(cst);
|
| MailMsg.Attachments.Add(att);
|
| }
When he checks this email with any old pop client, say, Outlook the attachment is there however JBoss doesn't seem to see this attachment. I've suggested that C# is probably not attaching necessary headers but I don't know if that is correct? What would you do next to troubleshoot this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147229#4147229
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147229
17 years, 11 months
[Installation, Configuration & DEPLOYMENT] - Re: running EJB pplication in jboss giving NoClassDefFoundEr
by Shiveeta
2008-04-28 18:46:59,565 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass <Mon, 28 Apr 2008 18:46:59>
2008-04-28 18:46:59,565 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass
2008-04-28 18:46:59,565 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - first pass
2008-04-28 18:46:59,565 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
2008-04-28 18:47:09,565 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - second pass <Mon, 28 Apr 2008 18:47:09>
2008-04-28 18:47:09,565 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] AtomicActionRecoveryModule: Second pass
2008-04-28 18:47:09,565 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
2008-04-28 18:47:09,565 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
2008-04-28 18:49:09,566 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass <Mon, 28 Apr 2008 18:49:09>
2008-04-28 18:49:09,566 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass
2008-04-28 18:49:09,566 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - first pass
2008-04-28 18:49:09,566 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
2008-04-28 18:49:19,582 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - second pass <Mon, 28 Apr 2008 18:49:19>
2008-04-28 18:49:19,582 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] AtomicActionRecoveryModule: Second pass
2008-04-28 18:49:19,582 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
2008-04-28 18:49:19,582 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
am getting only these mesages on server.log...they seem irrelevant with deployment.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147221#4147221
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147221
17 years, 11 months
[Installation, Configuration & DEPLOYMENT] - Re: Deploy ZIP vs. EAR
by jaikiran
Hmmm.... Indeed the zip is deployed. I tried this on my local setup which some changes to my original zip file which was failing. Deploys on my setup too (as long as the zip file has valid deployables in it).
So coming back to your questions
anonymous wrote : is there anything to think about when I deploy a ZIP file instead of an EAR file ?
| Deploying the components one by one works, so I pack them all in a ZIP file which will be deployed.
| So, is there any problem / risk doing this ?
|
This is the first time i have deployed a zip file, so not sure what possible things you should keep in mind. However, a couple of things do come in mind with deploying a zip.
1) When you are deploying an EAR, you specify the order of deployment of through the application.xml file. Now when you are using a zip file, which cannot contain the application.xml (atleast for me it threw an deployment error when i had an application.xml in META-INF folder of the zip), i dont know what order is considered for deployment
2) The application.xml is also used for specifying the context of a war file within the EAR. Now when deploying through a zip file, i dont know where this can be specified.
There are a few more things that i can think about but probably not relevant right now. I have to maybe play around with the zip deployment to get answers to these. In the meantime maybe someone who already has experience on this, will be able to guide you further.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147217#4147217
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147217
17 years, 11 months