Deploye EJB3 Vaadin Application in JBoss App Server

I used following servers, technologies, frameworks to develop my application.

  • jboss-5.1.0 AS
  • Vaadin 6.2.3
  • EJB 3
  • Hibernate
  • MySQL 5

But when I deployed *.ear in deploy folder and run JBoss server, following exception has occurred.

[b]
javax.servlet.ServletException: Failed to load application class: com.example.vaadin.MyApplication
com.vaadin.terminal.gwt.server.ApplicationServlet.init(ApplicationServlet.java:71)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:636)

[/b]

Web.xml file

<?xml version="1.0" encoding="UTF-8"?> VaadinApplication com.vaadin.terminal.gwt.server.ApplicationServlet application com.example.vaadin.MyApplication VaadinApplication /vaadin/* VaadinApplication /VAADIN/* 30 PersonelFacade Session Session.PersonelFacadeRemote

This application works fine in GlassFish V2 Server. But Jboss it woudn’t. It is a great help if someone can answer my question .

Thank you.

While I don’t know JBoss, it would be helpful for anyone trying to answer the question to see the exception trace - there is no trace text, and the image link in your post is broken.

hi,
I’m sorry if i can’t be helpful, but i developp a application in java, and exploring RIA, i found vaadin framrwork, and i very i liked it.
and my problem is, i’d like to run vaadin + EJB in glassfish v3.0, if it’s possible, could you show me how to run run vaadin in glassfishv3.0 because in apache is o.K but not EJB 3.0

Thank you

Refer this, It’ll help you

http://vaadin.com/forum/-/message_boards/message/104402