I am sending the error and the stack trace:
 
Caught: org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'jbi' defined in file [C:\bea\user_projects\domains\servicemix\se
rvicemix.xml]: Initialization of bean failed; nested exception is javax.jbi.JBIE
xception: org.apache.wsif.WSIFException: Unable to find an available port (no po
rts declared?)
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'jbi' defined in file [C:\bea\user_projects\domains\servicemix\servicemix
.xml]: Initialization of bean failed; nested exception is javax.jbi.JBIException
: org.apache.wsif.WSIFException: Unable to find an available port (no ports decl
ared?)
javax.jbi.JBIException: org.apache.wsif.WSIFException: Unable to find an availab
le port (no ports declared?)
        at org.servicemix.components.wsif.WSIFBinding.init(WSIFBinding.java:88)
        at org.servicemix.components.util.PojoSupport.init(PojoSupport.java:88)
        at org.servicemix.jbi.container.JBIContainer.activateComponent(JBIContai
ner.java:887)
        at org.servicemix.jbi.container.JBIContainer.activateComponent(JBIContai
ner.java:855)
        at org.servicemix.jbi.container.JBIContainer.activateComponent(JBIContai
ner.java:817)
        at org.servicemix.jbi.container.JBIContainer.activateComponent(JBIContai
ner.java:765)
        at org.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(Sp
ringJBIContainer.java:52)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1058)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:363)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:226)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:147)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:275)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:318)
        at org.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileS
ystemXmlApplicationContext.java:149)
        at org.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileS
ystemXmlApplicationContext.java:48)
        at com.infosys.servicemix.Main.startServicemix(Main.java:59)
        at com.infosys.servicemix.servlets.startUp.<clinit>(startUp.java:35)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at java.lang.Class.newInstance0(Class.java:308)
        at java.lang.Class.newInstance(Class.java:261)
        at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl
etStubImpl.java:1016)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
        at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:894)
        at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
Impl.java:873)
        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:812)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
ervletContext.java:3281)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
ServletContext.java:3226)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
pServletContext.java:3207)
        at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java
:694)
        at weblogic.servlet.internal.WebService.preloadResources(WebService.java
:483)
        at weblogic.servlet.internal.ServletInitService.resume(ServletInitServic
e.java:30)
        at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
        at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
        at weblogic.Server.main(Server.java:32)
Caused by: org.apache.wsif.WSIFException: Unable to find an available port (no p
orts declared?)
        at org.apache.wsif.base.WSIFServiceImpl.getPort(WSIFServiceImpl.java:557
)
        at org.apache.wsif.base.WSIFServiceImpl.getPort(WSIFServiceImpl.java:538
)
        at org.servicemix.components.wsif.WSIFOperationMap.addBindingOperation(W
SIFOperationMap.java:105)
        at org.servicemix.components.wsif.WSIFOperationMap.addBinding(WSIFOperat
ionMap.java:98)
        at org.servicemix.components.wsif.WSIFBinding.init(WSIFBinding.java:84)
        ... 38 more

Ujval <[EMAIL PROTECTED]> wrote:
Hi,
 
I am trying to deploy servicemix in Weblogic. In this process, I am facing a problem with WSIF binding.
I am using WSIF binding to invoke a web service. This works fine in a stand-alone servicemix. But, when trying this out in weblogic, a WSIF exception is thrown which says that, there are no available ports for the service.
 
I would also like to mention one more thing. I have tried out WSIF binding to a jms queue. This works fine in both stand-alone servicemix and also weblogic.
 
Any help to resolve this error is most welcome.
 
Thanks in advance
Regards,
Ujval
 

To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.


Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail

Reply via email to