[SOLVED] Re: Chesar

2012-10-25 Thread Andrea Venturoli

On 10/08/12 12:43, Andrea Venturoli wrote:

On 09/22/12 17:43, Andrea Venturoli wrote:


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


I'll try openjdk either with tomcat6 or 7.


Hi Michale.
I finally got around trying openjdk, but that didn't work either.

I also tried within a jail (which I created from scratch), just to be
sure there was no conflict, but nothing changes.


Finally, I was able to run this using linux-sun-jdk.

Still, I'd like to get some insight on this, out of curiosity, if not 
anything else.


Is there some feature which is not supported with the native JDK?

 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chesar

2012-10-08 Thread Andrea Venturoli

On 09/22/12 17:43, Andrea Venturoli wrote:


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


I'll try openjdk either with tomcat6 or 7.


Hi Michale.
I finally got around trying openjdk, but that didn't work either.

I also tried within a jail (which I created from scratch), just to be 
sure there was no conflict, but nothing changes.


 bye  Thanks
av.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chesar

2012-09-22 Thread Michael Sierchio
On Sat, Sep 22, 2012 at 4:39 AM, Andrea Venturoli m...@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-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chesar

2012-09-22 Thread Andrea Venturoli

On 09/22/12 17:04, Michael Sierchio wrote:

On Sat, Sep 22, 2012 at 4:39 AM, Andrea Venturoli m...@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.


I did this on other occasions; in fact I have at least other 3 Tomcat 
setups working.





Which version and architecture  of FreeBSD?


8.3/amd64.




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


I'll try openjdk either with tomcat6 or 7.

Still I'd like to get some insight on the error I get and what could 
cause it.




 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org