Unsubscribe
-Original Message- From: Vivek Ramesh. Kubaji [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 18, 2007 6:30 AM To: servicemix-dev@geronimo.apache.org Subject: RE: How to embed servicemix Thanks Eric, this will help for the time being. But I think I still need to explore more. -Original Message- From: Eric Dofonsou [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 18, 2007 3:52 PM To: servicemix-dev@geronimo.apache.org Subject: Re: How to embed servicemix COuld this be what you are looking for : http://incubator.apache.org/servicemix/tomcat-integration.html It details how to run servicexmix inside tomecat !. The example builds a war file that can put in tomecat depoyement directory. Eric, - Original Message From: Vivek Ramesh. Kubaji <[EMAIL PROTECTED]> To: servicemix-dev@geronimo.apache.org Sent: Tuesday, September 18, 2007 6:09:43 AM Subject: How to embed servicemix Hi All, I am very new to using Servicemix. If anyone could point me to some useful docs for using Servicemix in web applications (we're using Tomcat server for our applications), it would be of great help. I have gone through the site 'http://incubator.apache.org/servicemix' but I could not follow most of the examples given there. Is some pre-reading required for this? I have gone through the concepts Web Services, SOA and ESB. Thanks in advance. Regards, Vivek K R OnMobile Global Pvt Ltd. Bangalore Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
unsubscribe
best wishes
Re: unsubscribe
You need to send a mail to [EMAIL PROTECTED] On 6/27/07, Dustin Little <[EMAIL PROTECTED]> wrote: -- Cheers, Guillaume Nodet Principal Engineer, IONA Blog: http://gnodet.blogspot.com/
unsubscribe
Re: unsubscribe
To unsubscribe from this list, you will need to do so by using the unsubscribe links provided here: http://incubator.apache.org/servicemix/mailing-lists.html Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61Ehttp://geronimo.apache.org/ Apache ActiveMQ - http://activemq.org/ Apache ServiceMix - http://servicemix.org/ Castor - http://castor.org/
unsubscribe
On 5/8/07, Jorge Rodríguez Pedrianes (JIRA) <[EMAIL PROTECTED]> wrote: Problem in WSSecurityHandler with keystore property --- Key: SM-947 URL: https://issues.apache.org/activemq/browse/SM-947 Project: ServiceMix Issue Type: Bug Components: servicemix-soap Affects Versions: 3.1 Environment: apache-servicemix-3.1 Reporter: Jorge Rodríguez Pedrianes Priority: Minor Hello, When I use WS-Security and I have configured KEYSTORE_MANAGER but i don´t put the keystore property, this throw a NullPointerException. {noformat} java.lang.NullPointerException at org.apache.servicemix.jbi.security.keystore.impl.BaseKeystoreManager.getKeystore(BaseKeystoreManager.java:253) at org.apache.servicemix.soap.handlers.security.KeystoreInstanceCrypto.(KeystoreInstanceCrypto.java:41) at org.apache.servicemix.soap.handlers.security.WSSecurityHandler.init(WSSecurityHandler.java:568) at org.apache.servicemix.soap.handlers.security.WSSecurityHandler.onReceive(WSSecurityHandler.java:292) at org.apache.servicemix.soap.SoapHelper.onReceive(SoapHelper.java:111) at org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:177) at org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:356) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141) at org.mortbay.jetty.Server.handle(Server.java:269) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:701) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:208) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) {noformat} I see the documentation example, and in this example dont't use this property, but if i don't use throw a exception. I Think that to avoid this is better add a condition in init method of WSSecurityHandler like: {noformat} protected void init(Context context) { currentSubject.set(null); if (context.getProperty(Context.AUTHENTICATION_SERVICE) != null) { setAuthenticationService((AuthenticationService) context.getProperty(Context.AUTHENTICATION_SERVICE)); } if (crypto == null && context.getProperty(Context.KEYSTORE_MANAGER) != null && keystore != null // <--- New Condition ) { KeystoreManager km = (KeystoreManager) context.getProperty(Context.KEYSTORE_MANAGER); setCrypto(new KeystoreInstanceCrypto(km, keystore)); } } {noformat} Thanks Jorge Rodríguez Pedrianes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
unsubscribe
This message is intended only for the designated recipient(s). It may contain confidential or proprietary information. If you are not a designated recipient, you may not review, copy or distribute this message. If you receive this in error, please notify the sender by reply e-mail and delete this message. Thank you.