|
Home > Archive > WebSphere Commerce suite > July 2004 > Scheduler errors in WCS 5.1
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Scheduler errors in WCS 5.1
|
|
| Doug Hill 2004-01-19, 2:46 pm |
| Hi All,
I've been getting the following Duplicate Key Exception error messages
poluting my ECMSG log files... I don't really use the scheduler, at least
not directly... any idea what they are? Isn't the scheduler used to
periodically refresh the user registry? Is the scheduler something I can
deactivate? Are they clogging my database connections?
I know I can blow away old scheduled jobs using the following SQL:
--- begin SQL ---
delete from schconfig
where SCCINTERVAL = 0 and
SCCPATHINFO = 'RefreshLocalRegistry' and
SCCJOBREFNUM not in (select SCSJOBNBR from schstatus where SCSSTATE
= 'I');
delete from schconfig
where SCCINTERVAL = 0 and
SCCPATHINFO = 'AddProductsToSearchSpace' and
SCCJOBREFNUM not in (select SCSJOBNBR from schstatus where SCSSTATE
= 'I');
delete from schconfig
where SCCINTERVAL = 0 and
SCCPATHINFO = 'UpdateSearchSpaces' and
SCCJOBREFNUM not in (select SCSJOBNBR from schstatus where SCSSTATE
= 'I');
delete from schbrdcst
where schbrdcst.JOBSTATE = 'C';
delete from schstatus
where SCSSTATE = 'C';
commit;
--- end SQL ---
Thanks.
-Doug
==============
TimeStamp: 2003-03-06 20:07:32.328
Thread ID: <Scheduler Main>
Class: com.ibm.commerce.scheduler.Scheduler
Method: getReadyToRunLateJob
Severity: 1
Message Text: CMN0409E The following error occurred during processing:
javax.ejb.DuplicateKeyException.
Exception: javax.ejb.DuplicateKeyException
at
com.ibm.ejs.persistence.EJSJDBCPersister.create(EJSJDBCPersister.java(Compil
ed Code))
at
com.ibm.ejs.container.ContainerManagedBeanO.postCreate(ContainerManagedBeanO
..java(Compiled Code))
at com.ibm.ejs.container.EJSHome.postCreate(EJSHome.java(Compiled Code))
at
com.ibm.commerce.base.objects.EJSSchedulerBroadcastHomeBean.create(EJSSchedu
lerBroadcastHomeBean.java(Compiled Code))
at
com.ibm.commerce.base.objects.EJSRemoteSchedulerBroadcastHome.create(EJSRemo
teSchedulerBroadcastHome.java(Compiled Code))
at
com.ibm.commerce.base.objects._SchedulerBroadcastHome_BaseStub.create(_Sched
ulerBroadcastHome_BaseStub.java(Compiled Code))
at
com.ibm.commerce.base.objects._SchedulerBroadcastHome_Stub.create(_Scheduler
BroadcastHome_Stub.java(Compiled Code))
at
com.ibm.commerce.base.objects.SchedulerBroadcastAccessBean.<init>(SchedulerB
roadcastAccessBean.java(Compiled Code))
at
com.ibm.commerce.scheduler.Scheduler.getReadyToRunLateJob(Scheduler.java(Com
piled Code))
at
com.ibm.commerce.scheduler.Scheduler.prepareLateJobs(Scheduler.java(Compiled
Code))
at com.ibm.commerce.scheduler.Scheduler.serverLoop(Scheduler.java)
at com.ibm.commerce.scheduler.Scheduler.run(Scheduler.java)
| |
|
| Dear Doug,
Scheduler kicks off the transacted messaging and cache cleanup jobs. If you
dont need either of those than just turn the scheduler off in the
instance_name.xml file and restart the server.
Cheers,
geo
Doug Hill wrote:
quote:
> Hi All,
>
> I've been getting the following Duplicate Key Exception error messages
> poluting my ECMSG log files... I don't really use the scheduler, at least
> not directly... any idea what they are? Isn't the scheduler used to
> periodically refresh the user registry? Is the scheduler something I can
> deactivate? Are they clogging my database connections?
>
> I know I can blow away old scheduled jobs using the following SQL:
>
> --- begin SQL ---
> delete from schconfig
> where SCCINTERVAL = 0 and
> SCCPATHINFO = 'RefreshLocalRegistry' and
> SCCJOBREFNUM not in (select SCSJOBNBR from schstatus where SCSSTATE
> = 'I');
>
> delete from schconfig
> where SCCINTERVAL = 0 and
> SCCPATHINFO = 'AddProductsToSearchSpace' and
> SCCJOBREFNUM not in (select SCSJOBNBR from schstatus where SCSSTATE
> = 'I');
>
> delete from schconfig
> where SCCINTERVAL = 0 and
> SCCPATHINFO = 'UpdateSearchSpaces' and
> SCCJOBREFNUM not in (select SCSJOBNBR from schstatus where SCSSTATE
> = 'I');
>
> delete from schbrdcst
> where schbrdcst.JOBSTATE = 'C';
>
> delete from schstatus
> where SCSSTATE = 'C';
>
> commit;
> --- end SQL ---
>
> Thanks.
>
> -Doug
>
> ==============
> TimeStamp: 2003-03-06 20:07:32.328
> Thread ID: <Scheduler Main>
> Class: com.ibm.commerce.scheduler.Scheduler
> Method: getReadyToRunLateJob
> Severity: 1
> Message Text: CMN0409E The following error occurred during processing:
> javax.ejb.DuplicateKeyException.
> Exception: javax.ejb.DuplicateKeyException
> at
> com.ibm.ejs.persistence.EJSJDBCPersister.create(EJSJDBCPersister.java(Compil
> ed Code))
> at
> com.ibm.ejs.container.ContainerManagedBeanO.postCreate(ContainerManagedBeanO
> .java(Compiled Code))
> at com.ibm.ejs.container.EJSHome.postCreate(EJSHome.java(Compiled Code))
> at
> com.ibm.commerce.base.objects.EJSSchedulerBroadcastHomeBean.create(EJSSchedu
> lerBroadcastHomeBean.java(Compiled Code))
> at
> com.ibm.commerce.base.objects.EJSRemoteSchedulerBroadcastHome.create(EJSRemo
> teSchedulerBroadcastHome.java(Compiled Code))
> at
> com.ibm.commerce.base.objects._SchedulerBroadcastHome_BaseStub.create(_Sched
> ulerBroadcastHome_BaseStub.java(Compiled Code))
> at
> com.ibm.commerce.base.objects._SchedulerBroadcastHome_Stub.create(_Scheduler
> BroadcastHome_Stub.java(Compiled Code))
> at
> com.ibm.commerce.base.objects.SchedulerBroadcastAccessBean.<init>(SchedulerB
> roadcastAccessBean.java(Compiled Code))
> at
> com.ibm.commerce.scheduler.Scheduler.getReadyToRunLateJob(Scheduler.java(Com
> piled Code))
> at
> com.ibm.commerce.scheduler.Scheduler.prepareLateJobs(Scheduler.java(Compiled
> Code))
> at com.ibm.commerce.scheduler.Scheduler.serverLoop(Scheduler.java)
> at com.ibm.commerce.scheduler.Scheduler.run(Scheduler.java)
| |
| pamnanipayal 2004-07-03, 7:06 pm |
| Hi, Could u pease tell me about the following error...
I keep on continuously getting an error in the logs...
TimeStamp: 2004-07-01 13:56:09.321
Thread ID: <Scheduler Main>
Class: com.ibm.commerce.scheduler.Scheduler
Method: getReadyToRunLateJob
Severity: 1
Message Text: CMN0409E The following error occurred during processing: RemoteException occurred in server thread; nested exception is:
com.ibm.websphere.csi.CSITransactionRolledbackException: Transaction rolled back while processing instance null.
Exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
com.ibm.websphere.csi.CSITransactionRolledbackException: Transaction rolled back
com.ibm.websphere.csi.CSITransactionRolledbackException: Transaction rolled back
at com.ibm.ejs.csi.TransactionControlImpl. getCurrentTransaction(TransactionControl
Impl.java(Compiled Code))
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java(Compiled Code))
at com.ibm.commerce.base.objects.EJSRemoteSchedulerStatusHome. findIdleStatusByStartAndHost(EJSRemoteSc
hedulerStatusHome.java)
at com.ibm.commerce.base.objects._SchedulerStatusHome_BaseStub. findIdleStatusByStartAndHost(_SchedulerS
tatusHome_BaseStub.java)
at com.ibm.commerce.base.objects._SchedulerStatusHome_Stub. findIdleStatusByStartAndHost(_SchedulerS
tatusHome_Stub.java)
at com.ibm.commerce.base.objects.SchedulerStatusAccessBean. findIdleStatusByStartAndHost(SchedulerSt
atusAccessBean.java)
at com.ibm.commerce.scheduler.Scheduler.getReadyToRunLateJob(Scheduler.java(Compiled Code))
at com.ibm.commerce.scheduler.Scheduler.prepareLateJobs(Scheduler.java)
at com.ibm.commerce.scheduler.Scheduler.serverLoop(Scheduler.java)
at com.ibm.commerce.scheduler.Scheduler.run(Scheduler.java)
This error is thorwn everytime, schedular kicks off....
I had added a job say around 10 days ago & it got executed once, since then, it is in the
I add the job successfully. But is not getting started..
The error along with the above error thrown is
==============
TimeStamp: 2004-07-01 13:56:09.389
Thread ID: <Scheduler Main>
Class: com.ibm.commerce.scheduler.Scheduler
Method: determineNextJobStartTime
Severity: 1
Message Text: CMN0409E The following error occurred during processing: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
com.ibm.websphere.csi.CSITransactionRolledbackException: Transaction rolled back.
Please help me...
Payal.
|
|
|
|
|