Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3402906
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:11:43+00:00 2026-05-18T05:11:43+00:00

I have an EJB JAR + JSF WAR that runs fine on local GlassFish

  • 0

I have an EJB JAR + JSF WAR that runs fine on local GlassFish deployed from NetBeans, but if i try to deploy the WAR on an online GlassFish, I get the following error:

Exception while loading the app : 
java.lang.Exception: java.lang.IllegalStateException: 
ContainerBase.addChild: start: org.apache.catalina.LifecycleException: 
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! 
com.ejb.entity.myEntity

EDIT GlassFish Log Message:

Message ID

Unsanitized stacktrace from failed start... com.sun.faces.config.ConfigurationException

Complete Message

http://pastebin.com/deSsYgDV

Also:

  • EJB deploys fine on online GF
  • EJB @ local GF: sometimes yes, mostly not: http://pastebin.com/9R1acDVq
  • The EJB is pretty messy, both interfaces implement the same methods: When a session bean has remote as well as local business interface, there should not be any method common to both the interfaces. Should I fix this first?

Both servers are configured the same way. The EJB is imported in the WAR. What could be the problem? Any thoughts or ideas would be appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T05:11:43+00:00Added an answer on May 18, 2026 at 5:11 am

    When a session bean has remote as well as local business interface, there should not be any method common to both the interfaces.

    This is a NetBeans warning which I thought would cause no problems since the web application was using Local interfaces only. After removing the Remote interfaces from the EJB, I was able to deploy the WAR on both local and online GlassFish.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a ConfigParameter SLSB that reads configuration values from the ejb-jar.xml file. This
I have an EAR without a WAR but with an EJB-JAR. One EJB inside
I've got an ejb-jar.xml that doesn't have an 'id' attribute in the tag. What
I have an EAR file (JEE6) containing one ejb-jar (sample-ejb) file and one war
I have an EAR file containing multiple ejb-jar and war. In an ejb-jar, I
We have a huge EAR application with about 20 ejb-jar and war modules. For
I have an EJB that uses additional resource files (textual template files placed in
I have an old EJB (2.1) project that uses xdoclet (1.2.3) to generate the
We have some JavaEE5 stateless EJB bean that passes the injected EntityManager to its
I have implemented a simple entity ejb with a @version annotation. I expect that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.