I sent it to you. Let me know the result of your tests.
Emmanuel
Frank Zhao a écrit :
Sure, I will be glad to do the test.
Regards,
Frank
-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Fri 10/28/2005 4:33 PM
To: [email protected]
Subject: Re: Question about Jabber Configuration
I filed an issue (CONTINUUM-386) and add support of ssl in jabber notifier.
If you want to test it, I can send you the jar
Emmanuel
Frank Zhao a écrit :
Hi Emmanuel,
It seems quite easy to enable the SSL connection in Jabber client. The DefaultJabberClent class has
a function "public void setSslConnection( boolean isSslConnection )" which will enable
the SSL when pass a "true" into it.
Therefore the solution could be adding a property in the application.xml file
and call jabberClient.setSslConnection(true); before you make the Jabber
connection if the user enable SSL in the xml file.
I hope you can help me add the SSL Jabber support in Continuum, I can help for
the testing.
I wish I could do it meself. However, it has been two days but I still couldn't figure
out how to make the Continuum build on my machine. It seems it build OK although get a
few errors in testing. But when I tried to start Continuum from the
"continuum-plexus-application/target/plexus-test-runtime/bin/plexus.sh" I got
errors as the following. I am going to keep trying it since we are going to move to the
Continuum very soon. But I do hope you can add this in the next release.
Thanks,
Frank
The error I got when ran plexus.sh:
...
constituent[15]:
file:/nfs/fzhao/work/continuum/develop/continuum-trunk/continuum-plexus-application/target/plexus-test-runtime/services/plexus-service-jetty-1.0-alpha-3/classes/
---------------------------------------------------
Exception in thread "main" java.lang.NoSuchMethodError:
java.lang.IllegalArgumentException: method
<init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found
at
org.codehaus.plexus.logging.log4j.Log4JLoggerManager.initialize(Log4JLoggerManager.java:202)
at
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:16)
at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95)
at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327)
at
org.codehaus.plexus.DefaultPlexusContainer.initializeLoggerManager(DefaultPlexusContainer.java:1194)
at
org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:633)
at
org.codehaus.plexus.application.deploy.DefaultApplicationDeployer.deployApplicationDirectory(DefaultApplicationDeployer.java:364)
at
org.codehaus.plexus.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:212)
at
org.codehaus.plexus.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:136)
at
org.codehaus.plexus.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:116)
at
org.codehaus.plexus.application.DefaultApplicationServer$2.onJarDiscovered(DefaultApplicationServer.java:117)
at
org.codehaus.plexus.application.supervisor.DefaultSupervisor.scanDirectory(DefaultSupervisor.java:89)
at
org.codehaus.plexus.application.supervisor.DefaultSupervisor.scan(DefaultSupervisor.java:68)
at
org.codehaus.plexus.application.DefaultApplicationServer.start(DefaultApplicationServer.java:146)
at
org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:16)
at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95)
at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327)
at
org.codehaus.plexus.application.PlexusApplicationHost.start(PlexusApplicationHost.java:109)
at
org.codehaus.plexus.application.PlexusApplicationHost.main(PlexusApplicationHost.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Thu 10/27/2005 12:08 PM
To: [email protected]
Subject: Re: Question about Jabber Configuration
you can define the port in $CONTINUUM_HOME/apps/continuum/conf/application.xml in the
component define under "The jabber notifier"
For TLS or SSL, I don't know how to do it, but if you can help us, you're
welcome.
code is there for notifier:
http://svn.apache.org/viewcvs.cgi/maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/
and the jabber client is :
http://svn.plexus.codehaus.org/trunk/plexus-components/plexus-jabber/
Emmanuel
Frank Zhao a écrit :
I would like to change the default Jabber server port number, and the change
security settings such as use TLS or legacy SSL. Is there a way to do this?
Thanks,
Frank