You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Ted Scott <te...@concept-solutions.com> on 2009/06/11 20:12:14 UTC

Re: 1.2.3 war deployment fails on glassfish container. [solved]

Thank you Christian!

After I realized that I had an SMTP server available in my XP 
environment, I was able to successfully deploy 1.2.3 under glassfish on 
XP. Once I figure out how to set up the fake messaging in the solaris 
cluster (SMTP is not an option there due to security concerns) I'm sure 
that I can get it going there for the group to use.

All I had to do was define the mail session resource and deploy. 
Continuum appears to be happy now, and possibly the command line 
arguments you specified are only required for deployment behind a mod_jk 
front.

Should I file a documentation bug (or a bug, since there are 
environments that do not have access to an SMTP server) so someone knows 
to update at least the deployment page?

It would be nice if the messaging configuration could happen from inside 
the management interface.

Thanks again for the reply, I think I'm on the road to success now.

Now about the what is the Deployment Repository question, if you can 
shed any light on that I would be indebted to your generosity.

-Ted

Christian Schulte wrote:
> Ted Scott schrieb:
>> Mail session? First I've heard about needing it. The install 
>> destructions I'm using are at: 
>> http://continuum.apache.org/docs/1.2.3/installation/glassfish.html
>>
>> Is that new since 1.1? I htere a way to turn it off, our dev cluster is 
>> not able to hit an SMTP server, although I could set up one that sends 
>> all mail to /dev/null. How do I go about configuring a mail session?
>>
> 
> There were quite a few things needed to get continuum working with
> glassfish here. All can be done using the admin ui of glassfish. For the
> mail session, I created a new session at Ressources->JavaMail-Session
> using the JNDI name 'mail/Session' (capital 'S'). Also I needed to add
> the following system properties to the JVM settings of the glassfish
> instance:
> 
> -Dcatalina.home=${com.sun.aas.instanceRoot}
> -Dcatalina.base=${com.sun.aas.instanceRoot}
> -Dcom.sun.enterprise.web.connector.enableJK=8009
> -Dappserver.home=${com.sun.aas.instanceRoot}
> -Dappserver.base=${com.sun.aas.instanceRoot}
> 
> I think some of them are only needed for mod_jk support in glassfish. At
> the end, things started to work that way. I have never used continuum
> 1.1. Continuum 1.2.x and 1.3.x are working with glassfish.
> 

Re: 1.2.3 war deployment fails on glassfish container. [solved]

Posted by gudachari007 <gu...@gmail.com>.
Ted, are you saying you had to configer SMTP server to enalble notifications?

I am getting following error when continuum tiies to send email
notification; do I need to setup somekind of email server on glassfish to
send out notifications?


2009-08-10 14:00:00,883 [pool-1-thread-1] ERROR
org.apache.maven.continuum.notif
ication.DefaultContinuumNotificationDispatcher  - Error while trying to use
the
mail notifier.
org.apache.maven.continuum.notification.NotificationException: Exception
while s
ending message.
        at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.se
ndMessage(MailContinuumNotifier.java:652)
        at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.bu
ildComplete(MailContinuumNotifier.java:402)
        at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.bu
ildComplete(MailContinuumNotifier.java:282)
        at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.se
ndMessage(MailContinuumNotifier.java:260)
        at
org.apache.maven.continuum.notification.DefaultContinuumNotificationD
ispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:201)
        at
org.apache.maven.continuum.notification.DefaultContinuumNotificationD
ispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:184)
        at
org.apache.maven.continuum.notification.DefaultContinuumNotificationD
ispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:96)
        at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.end
Build(DefaultBuildController.java:241)
        at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.bui
ld(DefaultBuildController.java:195)
        at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.e
xecuteTask(BuildProjectTaskExecutor.java:50)
        at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Exe
cutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
        at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdap



Ted Scott-2 wrote:
> 
> Thank you Christian!
> 
> After I realized that I had an SMTP server available in my XP 
> environment, I was able to successfully deploy 1.2.3 under glassfish on 
> XP. Once I figure out how to set up the fake messaging in the solaris 
> cluster (SMTP is not an option there due to security concerns) I'm sure 
> that I can get it going there for the group to use.
> 
> All I had to do was define the mail session resource and deploy. 
> Continuum appears to be happy now, and possibly the command line 
> arguments you specified are only required for deployment behind a mod_jk 
> front.
> 
> Should I file a documentation bug (or a bug, since there are 
> environments that do not have access to an SMTP server) so someone knows 
> to update at least the deployment page?
> 
> It would be nice if the messaging configuration could happen from inside 
> the management interface.
> 
> Thanks again for the reply, I think I'm on the road to success now.
> 
> Now about the what is the Deployment Repository question, if you can 
> shed any light on that I would be indebted to your generosity.
> 
> -Ted
> 
> Christian Schulte wrote:
>> Ted Scott schrieb:
>>> Mail session? First I've heard about needing it. The install 
>>> destructions I'm using are at: 
>>> http://continuum.apache.org/docs/1.2.3/installation/glassfish.html
>>>
>>> Is that new since 1.1? I htere a way to turn it off, our dev cluster is 
>>> not able to hit an SMTP server, although I could set up one that sends 
>>> all mail to /dev/null. How do I go about configuring a mail session?
>>>
>> 
>> There were quite a few things needed to get continuum working with
>> glassfish here. All can be done using the admin ui of glassfish. For the
>> mail session, I created a new session at Ressources->JavaMail-Session
>> using the JNDI name 'mail/Session' (capital 'S'). Also I needed to add
>> the following system properties to the JVM settings of the glassfish
>> instance:
>> 
>> -Dcatalina.home=${com.sun.aas.instanceRoot}
>> -Dcatalina.base=${com.sun.aas.instanceRoot}
>> -Dcom.sun.enterprise.web.connector.enableJK=8009
>> -Dappserver.home=${com.sun.aas.instanceRoot}
>> -Dappserver.base=${com.sun.aas.instanceRoot}
>> 
>> I think some of them are only needed for mod_jk support in glassfish. At
>> the end, things started to work that way. I have never used continuum
>> 1.1. Continuum 1.2.x and 1.3.x are working with glassfish.
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/1.2.3-war-deployment-fails-on-glassfish-container.-tp23948082p24907536.html
Sent from the Continuum - Users mailing list archive at Nabble.com.