cancel
Showing results for 
Search instead for 
Did you mean: 

Developed new Scheduler task class, how do I run it?

Former Member
0 Kudos

Hello,

I've written new Scheduler task on NWDS using the wizard and successfully deployed it to the server.

I would like to schedule this new task to run but when I go to create Scheduler Sequences on KM configuration I cannot locate my task.

Any idea where would I find it after deployment?

Rgds,

Roy

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi.

I have the same problem when I have deployed a PAR application with Scheduler API.

If you have resolved your problem, really I'd appreciate you can share the solution to it.

Thank u

Former Member
0 Kudos

Hi,

According to SAP this is because it involves hot deployment which is not supported.

My scheduler task works even with this error, if not try restarting your server.

Roy

Former Member
0 Kudos

Ok I've resolved that, now I see it in the scheduler tasks.

I have scheduled it to run every 5 minutes but I don't see that it is running.

I've checked defaultTrace and I get these errors on deployment:

#1.5 #00187178B238001D0000000A000052610004689B823B1BCE#1240917020973#com.sapportals.config.service.impexp.ConfigImport#sap.com/irj#com.sapportals.config.service.impexp.ConfigImport#coher0#234##n/a##20d3c39033e511de96f700187178b238#SAPEngine_Application_Thread[impl:3]_31##0#0#Error##Plain###[import_BPScedulerTasks.prjconfig_[config_fwk_service_7792550,7792550]_(ready)] :

Updating the local configuration with import data "import_BPScedulerTasks.prjconfig_[config_fwk_service_7792550,7792550]_(ready)". Error creating the upgrade status "BPScedulerTasks.prjconfig-2009-04-28-12-10-06-830". System error is "InternalConfigException: Cannot replace a configuration object "configurable_[config_fwk_service_7792550,7792550]_config://local/system/deployment/configuration" in folder "plugin_[config_fwk_service_7792550,7792550]_config://local/system/deployment"; "java.lang.NullPointerException".

Inner exception is:

java.lang.NullPointerException

".

Inner Stack is:

Cannot replace a configuration object "configurable_[config_fwk_service_7792550,7792550]_config://local/system/deployment/configuration" in folder "plugin_[config_fwk_service_7792550,7792550]_config://local/system/deployment"; "java.lang.NullPointerException".

Roy

Former Member
0 Kudos

Please ignore, had a problem in portalapp.xml