synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upul Godage (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (SYNAPSE-193) Cannot create more than one task
Date Tue, 18 Dec 2007 05:05:43 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Upul Godage reassigned SYNAPSE-193:
-----------------------------------

    Assignee: Upul Godage

> Cannot create more than one task
> --------------------------------
>
>                 Key: SYNAPSE-193
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-193
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Ubuntu 7.04, JDK1.5.0_12
>            Reporter: Evanthika Amarasiri
>            Assignee: Upul Godage
>             Fix For: 1.1.1-QA-B1
>
>
> You are not allowed to create more than one task in a particular configuration. If you
try to create a second configuration, you get the following error message
> 2007-12-14 16:05:45,543 [10.100.1.97-testc-ubuntu] [http-9443-Processor3] DEBUG SimpleQuartzFactory
Creating SimpleQuartz Task
> 2007-12-14 16:05:45,545 [10.100.1.97-testc-ubuntu] [http-9443-Processor3] DEBUG SimpleQuartz
Synapse server name : testc-ubuntu
> 2007-12-14 16:05:45,552 [10.100.1.97-testc-ubuntu] [http-9443-Processor3] FATAL SimpleQuartz
Error starting up Scheduler
> org.quartz.SchedulerException: Scheduler with name 'SimpleQuartzScheduler' already exists.
>         at org.quartz.impl.SchedulerRepository.bind(SchedulerRepository.java:83)
>         at org.quartz.impl.DirectSchedulerFactory.createScheduler(DirectSchedulerFactory.java:431)
>         at org.quartz.impl.DirectSchedulerFactory.createScheduler(DirectSchedulerFactory.java:335)
>         at org.quartz.impl.DirectSchedulerFactory.createScheduler(DirectSchedulerFactory.java:303)
>         at org.quartz.impl.DirectSchedulerFactory.createScheduler(DirectSchedulerFactory.java:277)
>         at org.quartz.impl.DirectSchedulerFactory.createVolatileScheduler(DirectSchedulerFactory.java:169)
>         at org.apache.synapse.startup.quartz.SimpleQuartz.init(SimpleQuartz.java:116)
>         at org.wso2.esb.services.TaskAdmin.addTask(TaskAdmin.java:155)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
>         at org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:62)
>         at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at org.wso2.adminui.AdminUIServletFilter.doFilter(AdminUIServletFilter.java:133)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
> 2007-12-14 16:05:45,564 [10.100.1.97-testc-ubuntu] [http-9443-Processor3] ERROR RPCInOnlyMessageReceiver
Error starting up Scheduler
> org.apache.synapse.SynapseException: Error starting up Scheduler
>         at org.apache.synapse.startup.quartz.SimpleQuartz.init(SimpleQuartz.java:155)
>         at org.wso2.esb.services.TaskAdmin.addTask(TaskAdmin.java:155)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
>         at org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:62)
>         at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at org.wso2.adminui.AdminUIServletFilter.doFilter(AdminUIServletFilter.java:133)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: org.quartz.SchedulerException: Scheduler with name 'SimpleQuartzScheduler'
already exists.
>         at org.quartz.impl.SchedulerRepository.bind(SchedulerRepository.java:83)
>         at org.quartz.impl.DirectSchedulerFactory.createScheduler(DirectSchedulerFactory.java:431)
>         at org.quartz.impl.DirectSchedulerFactory.createScheduler(DirectSchedulerFactory.java:335)
>         at org.quartz.impl.DirectSchedulerFactory.createScheduler(DirectSchedulerFactory.java:303)
>         at org.quartz.impl.DirectSchedulerFactory.createScheduler(DirectSchedulerFactory.java:277)
>         at org.quartz.impl.DirectSchedulerFactory.createVolatileScheduler(DirectSchedulerFactory.java:169)
>         at org.apache.synapse.startup.quartz.SimpleQuartz.init(SimpleQuartz.java:116)
>         ... 30 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message