cancel
Showing results for 
Search instead for 
Did you mean: 

Job Scheduler in NWDS

Former Member
0 Kudos

A JNDI context look up of scheduler (as shown below) gives a below Naming Exception.

javax.naming.NameNotFoundException: Name scheduler is not bound in this Context.

Below is the code snippet...

     try {                   

         InitialContext ctx = new InitialContext();

         scheduler = (Scheduler) ctx.lookup("scheduler");

     }

     catch (NamingException ne) {

           return;  

     }

I followed the same steps as detailed out [here|http://help.sap.com/saphelp_nwce10/helpdata/en/44/3e1ed10610376ee10000000a114a6b/content.htm].

Also, I am not getting, how to set tc/je/scheudler/api in build path. Where should I get this?

Accepted Solutions (0)

Answers (1)

Answers (1)

christian_santej
Active Participant
0 Kudos

hi dipak,

you can define the dependency in the "Development Infrastructure perspective". It can be activated via "Window - Open Perspective - Other ... - Development Infrastructure".

try it again with the dependency set.

regards

Former Member
0 Kudos

Hi

christian_santej
Active Participant
0 Kudos

hi dipak,

it's not that hard. simply right click on the MyComponents SC and add a development component of type ejb module (under java ee). follow the wizard.

also - keep in mind that you have to create an additional development component of type enterprise application for deployment.