Thank you for your help! I used the war file and it deployed fine, but when
i try to click on "Shared Libraries" I get this exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'sharedLibraries' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested
exception is org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public java.util.List
org.apache.servicemix.web.model.Registry.getSharedLibraries()] threw
exception; nested exception is
org.springframework.jmx.access.InvalidInvocationException: Attribute
'sharedLibraryNames' is not exposed on the management interface
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:443)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:264)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:640)
org.apache.servicemix.web.filter.ApplicationContextFilter$2.get(ApplicationContextFilter.java:157)
org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:218)
org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:932)
org.apache.jsp.shared_002dlibraries_jsp._jspx_meth_c_forEach_0(shared_002dlibraries_jsp.java:116)
org.apache.jsp.shared_002dlibraries_jsp._jspService(shared_002dlibraries_jsp.java:87)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
java.security.AccessController.doPrivileged(Native Method)
org.apache.servicemix.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
java.security.AccessController.doPrivileged(Native Method)
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
I changed the root directory in WEB-INF\servicemix.xml to my location of
servicemix, and I still got the same error. Do I need to change any other
files or add any libs?
Thanks again!
-- Shanna --
gnodet wrote:
>
> If you want to deploy JBI artifacts, i would advise to use
> the apache-servicemix-web distribution available
> at
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/apache-servicemix-web/3.1-incubating/
>
> On 2/6/07, Shanna7463 <[EMAIL PROTECTED]> wrote:
>>
>> I am trying to deploy the wsdl-first example while servicemix is running
>> under Jonas. I can successfully get servicemix running with Jonas.
>> With just servicemix running by itself (no Jonas), I can get wsdl-first
>> running by copying 3 components
>> (servicemix-http-3.0-incubating-installer.zip,
>> servicemix-jsr181-3.0-incubating-installer.zip, and
>> servicemix-shared-3.0-incubating-installer.zip) into the
>> $servicemix_home\install directory and copying
>> wsdl-first-sa-3.0-incubating.zip into the $servicemix_home\deploy
>> directory.
>>
>> Now if i start Jonas and copy the servicemix-web war file into
>> $JONAS_HOME\webapps\, servicemix will run fine, but I can't seem to
>> deploy
>> wsdl-first.
>>
>> When wsdl-first is running with just servicemix I can hit
>> http://localhost:8192/PersonService/main.wsdl. Perhaps i need to change
>> the
>> port that wsdl-first is using from 8192 to 9000 (Jonas uses this port)?
>> Any
>> suggestions would be greatly appreciated!!
>>
>> Thanks in advance!
>>
>> -- Shanna --
>> --
>> View this message in context:
>> http://www.nabble.com/Jonas-and-Servicemix-tf3182428s12049.html#a8832183
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context:
http://www.nabble.com/Jonas-and-Servicemix-tf3182428s12049.html#a8870135
Sent from the ServiceMix - User mailing list archive at Nabble.com.