Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2012 08:04:55 -0700
From:      Michael Sierchio <kudzu@tenebras.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Chesar
Message-ID:  <CAHu1Y71s451Mp9UyWathcnDduGQAmV6e6mVS4iwgspSxSsfcGw@mail.gmail.com>
In-Reply-To: <505DA36E.406@netfence.it>
References:  <505DA36E.406@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 22, 2012 at 4:39 AM, Andrea Venturoli <ml@netfence.it> wrote:
> Hello.
> I'm trying to deploy this:
> http://chesar.echa.europa.eu/
>
> I'm using tomcat7 (but tried tomcat6) and JDK 1.6 (that's the only allowed
> version).

It actually took some effort for me to get a working java/tomcat
framework.  Which version and architecture  of FreeBSD?

I'm using tomcat-6.0.35 and openjdk6-b24_4, if that helps.

- M
>
> When I start Tomcat, I get:
>>
>> Sep 22, 2012 11:36:05 AM org.apache.catalina.core.StandardContext
>> listenerStart
>> SEVERE: Exception sending context initialized event to listener instance
>> of class org.springframework.web.context.ContextLoaderListener
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name
>> 'org.springframework.security.config.http.UserDetailsServiceInjectionBeanPostProcessor#0':
>> BeanPostProcessor before instantiation of bean failed; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error creating bean
>> with name
>> 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot
>> resolve reference to bean
>> 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0'
>> while setting bean property 'transactionAttributeSource'; nested exception
>> is org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name
>> 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0':
>> Initialization of bean failed; nested exception is
>> java.lang.IllegalArgumentException: warning no match for this type name:
>> substance [Xlint:invalidAbsoluteTypeName]
>>         at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:452)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
>>         at
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
>>         at
>> org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:722)
>>         at
>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:410)
>>         at
>> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
>>         at
>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
>>         at
>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
>>         at
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4790)
>>         at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5284)
>>         at
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>         at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
>>         at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
>>         at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
>>         at
>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
>>         at
>> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
>>         at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>>         at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>>         at java.lang.Thread.run(Thread.java:619)
>
>
> Any hint on this?
> Of course they support Red Hat Linux, not FreeBSD, but I though Java and
> Tomcat were Java and Tomcat...
>
> Thanks in advance.
>
>  bye
>         av.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y71s451Mp9UyWathcnDduGQAmV6e6mVS4iwgspSxSsfcGw>