1

[ ASK ]how to deploy zkoss, hibernate,spring on glassfish

asked 2012-10-29 04:00:18 +0800

progamerdotcom gravatar image progamerdotcom
117 5

Good afternoon,,

I want to deploy my application (zk, hibernate and spring) on glassfish but occurred problem.
but if I deploy this war in jetty server its run well.

in server.log on glassfish I see the log as below :

[#|2012-10-29T11:23:02.631+0800|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=14;_
ThreadName=pool-1-thread-10;_RequestID=0ebfd82c-17cb-4322-af6e-f532dff61b4d;|WebModulePWC1275:
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 'sessionFactory'
defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval()Z
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean.

Thanks

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2012-10-30 00:53:26 +0800

progamerdotcom gravatar image progamerdotcom
117 5

but, If I deploy this war on glassfish 3.1 its running well. Before using glassfish 3.1, I use glassfish 2.1, Is glassfish 2.1 not compatible for zkoss war ?

thanks

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-10-29 04:00:18 +0800

Seen: 55 times

Last updated: Oct 30 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More