batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATCHEE-20) extend the PersistenceManagerService to support multiple Batch job repository locations
Date Sun, 30 Mar 2014 08:48:14 GMT

    [ https://issues.apache.org/jira/browse/BATCHEE-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13954622#comment-13954622
] 

Mark Struberg commented on BATCHEE-20:
--------------------------------------

actually we could pick up all batch-jobs from the classpath and make it 'auto'. All the ones
we find on the classpath can be controlled directly for now. For the other ones we only allow
showing the status.

> extend the PersistenceManagerService to support multiple Batch job repository locations
> ---------------------------------------------------------------------------------------
>
>                 Key: BATCHEE-20
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-20
>             Project: BatchEE
>          Issue Type: Bug
>            Reporter: Mark Struberg
>
> Currently our JPA and JDBC PersistenceManagerServices return the state of ALL Jobs which
are held in the Database. 
> But if I have my batches split up in multiple WARs or standalone baches, then I can only
_read_ the batch information, but _not_ start them, set parameters, etc.
> This means we need some 'partitioning'. The Job in the DB needs to know in which 'binary'
it is installed in. The GUI can then start/tweak/parameterize the _own_ batches, but can only
_read_ the 'other' batches.
> The reason is that the JobOperator from e.g. one WAR simply cannot see the Batch classes
(ItemReader, etc) from the other WAR files due to the ClassLoader isolation.
> To work around this we might (later) extend our DB to contain a binary-control information.
E.g. the URL or the binary executable path of the (web) app of each job.
> But again, this means that EACH batch-war needs the batchee-servlet as JAR dependency.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message