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

  • Home
  • SEARCH
  • 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 7067471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:12:21+00:00 2026-05-28T05:12:21+00:00

I am using JNDI lookups to inject a remote EJB3 session bean inside my

  • 0

I am using JNDI lookups to inject a remote EJB3 session bean inside my spring 3 controller. Since my web module will run in tomcat and the business layer app in a remote Jboss 6, this configuration was decided. For the development I still use only jboss and my web and ear both are deployed in the same jobss instance (jboss 6). Everything works well for me, but when I tried to debug, all the beans injected returns null, so when in debug view, a null pointer exception is thrown when the remote ejb session bean is invoked. Everything works fine in the run mode (non-debug).

I am using eclipse(Helios) and trying remote debugging
I have the jndi.properties file in my jboss/deploy with these settings

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

any help on this issue…

thanks…

  • 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-28T05:12:22+00:00Added an answer on May 28, 2026 at 5:12 am

    Since remote debugging did not work for me, I used the jboss plugin for eclipse to make the debug process work.

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

Sidebar

Related Questions

I would like to specify JNDI name for an EJB3 bean using annotation, but
I am using Spring JdbcTemplate/SimpleJdbcTemplate in combination with an Oracle datasource (oracle.jdbc.pool.OracleDataSource) via JNDI
I'm using glassfish 3.1 and JEE6 with EJB3.1. I'm simply trying to inject one
I am in the process of converting various Spring beans to JNDI lookups. Currently
I'm trying to create simply connect with ActiveMQ using JNDI. I have: Queue named
I am trying to add an entry to an LDAP server using JNDI. I
The Weblogic servers we are using have been configured to allow JNDI datasource names
What's up with JNDI names? I'm trying to get a javax.sql.DataSource using the new
I am doing a Jndi look up using <jee:jndi-lookup> . Everything works fine but
In EJB, for security authentication and authorization I find a common method using jndi

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.