[JBoss JIRA] Created: (JBESB-1947) huge-split-enrich-transform-route quickstart NoClassDefFoundException org/quartz/SchedulerException
by Daniel Bevenius (JIRA)
huge-split-enrich-transform-route quickstart NoClassDefFoundException org/quartz/SchedulerException
----------------------------------------------------------------------------------------------------
Key: JBESB-1947
URL: https://jira.jboss.org/jira/browse/JBESB-1947
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Examples
Reporter: Daniel Bevenius
Assignee: Daniel Bevenius
Fix For: 4.4 CP1
When running 'ant 01_split_enrich_transform_route' I get the following execption:
11:54:50,027 INFO [AbstractFileGateway] No value specified for: max-millis-for-response - This will be an 'inbound-only' gateway
[java] Exception in thread "main" java.lang.NoClassDefFoundError: org/quartz/SchedulerException
[java] at org.jboss.soa.esb.listeners.config.ScheduleProviderFactory.createInstance(ScheduleProviderFactory.java:56)
[java] at org.jboss.soa.esb.listeners.config.ConfigurationController.startController(ConfigurationController.java:362)
[java] at org.jboss.soa.esb.listeners.config.ConfigurationController.startController(ConfigurationController.java:354)
[java] at org.jboss.soa.esb.listeners.config.ConfigurationController.processConfiguration(ConfigurationController.java:328)
Adding the quartz.jar to ../base_build.xml:
<path id="deployment-classpath">
....
<pathelement location="${org.jboss.esb.server.server}/lib/jbossts-common.jar"/>
<pathelement location="${org.jboss.esb.server.server}/lib/quartz.jar"/>
</path>
Resolves the issue and the quickstart works according to the README.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 4 months
[JBoss JIRA] Commented: (JBESB-1940) huge-split-enrich-transform-route quickstart does not work
by Daniel Bevenius (JIRA)
[ https://jira.jboss.org/jira/browse/JBESB-1940?page=com.atlassian.jira.plu... ]
Daniel Bevenius commented on JBESB-1940:
----------------------------------------
I was able to run the quickstart by following the instructions in README.html (and also making the modification in ../base-build.xml as commented above).
I don't think this quickstart was intended to be run by 'ant run'. I get the first error reported above if I do.
> huge-split-enrich-transform-route quickstart does not work
> ----------------------------------------------------------
>
> Key: JBESB-1940
> URL: https://jira.jboss.org/jira/browse/JBESB-1940
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Examples, Transformation Service
> Affects Versions: 4.4
> Reporter: Jiri Pechanec
> Assignee: Tom Fennelly
> Fix For: 4.4 CP1
>
>
> I have identified at least two problems
> [echo] Launching Quickstart in standalone mode...
> [qsjava] +----------------------------------------------------------+
> [qsjava] | |
> [qsjava] | Starting JBossESB... |
> [qsjava] | |
> [qsjava] +----------------------------------------------------------+
> [qsjava] Exception in thread "main" org.jboss.soa.esb.ConfigurationException: Cannot instantiate StandAloneBootStrapper
> [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.<init>(StandAloneBootStrapper.java:170)
> [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.<init>(StandAloneBootStrapper.java:131)
> [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.main(StandAloneBootStrapper.java:98)
> [qsjava] Caused by: java.lang.IllegalArgumentException: Missing esb configuration file: /home/jpechane/pokus/43IR1STAND/jboss-esb/samples/quickstarts/huge-split-enrich-transform-route/jboss-esb.xml
> [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.initiateController(StandAloneBootStrapper.java:210)
> [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.<init>(StandAloneBootStrapper.java:155)
> [qsjava] ... 2 more
> and problem with datatype
> 14:00:21,533 INFO [JobRunShell] Job JBossESB.org.jboss.soa.esb.listeners.gateway.FileGatewayListener@3a7a742-2 threw a JobExecutionException:
> org.quartz.JobExecutionException: Unexpected exception on org.jboss.soa.esb.listeners.gateway.FileGatewayListener@3a7a742-2
> at org.jboss.soa.esb.schedule.ScheduleProvider$ESBScheduledJob.execute(ScheduleProvider.java:233)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
> at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
> Caused by: org.milyn.SmooksException: Failed to filter source.
> at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:68)
> at org.milyn.Smooks.filter(Smooks.java:288)
> at org.milyn.Smooks.filter(Smooks.java:253)
> at org.jboss.soa.esb.smooks.splitting.AbstractStreamSplitter.split(AbstractStreamSplitter.java:69)
> at org.jboss.soa.esb.smooks.splitting.FileStreamSplitter.compose(FileStreamSplitter.java:52)
> at org.jboss.soa.esb.smooks.splitting.FileStreamSplitter.compose(FileStreamSplitter.java:41)
> at org.jboss.soa.esb.listeners.gateway.AbstractFileGateway.onSchedule(AbstractFileGateway.java:156)
> at org.jboss.soa.esb.schedule.ScheduleProvider$ESBScheduledJob.execute(ScheduleProvider.java:227)
> ... 2 more
> Caused by: org.milyn.SmooksException: Error in 'org.milyn.javabean.BeanInstancePopulator' while processing the visitAfter event.
> at org.milyn.delivery.sax.SAXHandler.processVisitorException(SAXHandler.java:373)
> at org.milyn.delivery.sax.SAXHandler.visitAfter(SAXHandler.java:260)
> at org.milyn.delivery.sax.SAXHandler.endElement(SAXHandler.java:144)
> at org.milyn.edisax.EDIParser.endElement(EDIParser.java:515)
> at org.milyn.edisax.EDIParser.mapSegment(EDIParser.java:325)
> at org.milyn.edisax.EDIParser.mapSegments(EDIParser.java:297)
> at org.milyn.edisax.EDIParser.parse(EDIParser.java:231)
> at org.milyn.smooks.edi.SmooksEDIParser.parse(SmooksEDIParser.java:115)
> at org.milyn.delivery.sax.SAXParser.parse(SAXParser.java:49)
> at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:65)
> ... 9 more
> Caused by: org.milyn.cdr.SmooksConfigurationException: Bean [03_product] configuration invalid. Bean setter method [setPrice(java.lang.Double)] not found on type [org.jboss.soa.esb.samples.quickstart.hugesplit.highprice.Product]. You may need to set a 'decoder' on the binding config.
> at org.milyn.javabean.BeanInstancePopulator.populateAndSetPropertyValue(BeanInstancePopulator.java:347)
> at org.milyn.javabean.BeanInstancePopulator.bindExpressionValue(BeanInstancePopulator.java:308)
> at org.milyn.javabean.BeanInstancePopulator.bindSaxDataValue(BeanInstancePopulator.java:258)
> at org.milyn.javabean.BeanInstancePopulator.visitAfter(BeanInstancePopulator.java:204)
> at org.milyn.delivery.sax.SAXHandler.visitAfter(SAXHandler.java:253)
> ... 17 more
> 14:00:22,359 INFO [STDOUT] Reptile SOAP Notification Received. Unmarshaled SOAP Notification object:
> public class Notification {
> java.lang.String firstName = ACID
> java.lang.String lastName = Pets
> java.lang.String email = acid(a)yourdomain.com
> java.util.Date date = Wed Nov 15 19:45:28 CET 2006
> java.lang.String product = Rattlesnake (Rattleless)
> int quantity = 4
> double totalPrice = 18.5
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 4 months
[JBoss JIRA] Commented: (JBESB-1940) huge-split-enrich-transform-route quickstart does not work
by Daniel Bevenius (JIRA)
[ https://jira.jboss.org/jira/browse/JBESB-1940?page=com.atlassian.jira.plu... ]
Daniel Bevenius commented on JBESB-1940:
----------------------------------------
When running 'ant 01_split_enrich_transform_route' I get the following execption:
11:54:50,027 INFO [AbstractFileGateway] No value specified for: max-millis-for-response - This will be an 'inbound-only' gateway
[java] Exception in thread "main" java.lang.NoClassDefFoundError: org/quartz/SchedulerException
[java] at org.jboss.soa.esb.listeners.config.ScheduleProviderFactory.createInstance(ScheduleProviderFactory.java:56)
[java] at org.jboss.soa.esb.listeners.config.ConfigurationController.startController(ConfigurationController.java:362)
[java] at org.jboss.soa.esb.listeners.config.ConfigurationController.startController(ConfigurationController.java:354)
[java] at org.jboss.soa.esb.listeners.config.ConfigurationController.processConfiguration(ConfigurationController.java:328)
Adding the quartz.jar to ../base_build.xml:
<path id="deployment-classpath">
....
<pathelement location="${org.jboss.esb.server.server}/lib/jbossts-common.jar"/>
<pathelement location="${org.jboss.esb.server.server}/lib/quartz.jar"/>
</path>
Resolved this for me.
> huge-split-enrich-transform-route quickstart does not work
> ----------------------------------------------------------
>
> Key: JBESB-1940
> URL: https://jira.jboss.org/jira/browse/JBESB-1940
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Examples, Transformation Service
> Affects Versions: 4.4
> Reporter: Jiri Pechanec
> Assignee: Tom Fennelly
> Fix For: 4.4 CP1
>
>
> I have identified at least two problems
> [echo] Launching Quickstart in standalone mode...
> [qsjava] +----------------------------------------------------------+
> [qsjava] | |
> [qsjava] | Starting JBossESB... |
> [qsjava] | |
> [qsjava] +----------------------------------------------------------+
> [qsjava] Exception in thread "main" org.jboss.soa.esb.ConfigurationException: Cannot instantiate StandAloneBootStrapper
> [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.<init>(StandAloneBootStrapper.java:170)
> [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.<init>(StandAloneBootStrapper.java:131)
> [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.main(StandAloneBootStrapper.java:98)
> [qsjava] Caused by: java.lang.IllegalArgumentException: Missing esb configuration file: /home/jpechane/pokus/43IR1STAND/jboss-esb/samples/quickstarts/huge-split-enrich-transform-route/jboss-esb.xml
> [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.initiateController(StandAloneBootStrapper.java:210)
> [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.<init>(StandAloneBootStrapper.java:155)
> [qsjava] ... 2 more
> and problem with datatype
> 14:00:21,533 INFO [JobRunShell] Job JBossESB.org.jboss.soa.esb.listeners.gateway.FileGatewayListener@3a7a742-2 threw a JobExecutionException:
> org.quartz.JobExecutionException: Unexpected exception on org.jboss.soa.esb.listeners.gateway.FileGatewayListener@3a7a742-2
> at org.jboss.soa.esb.schedule.ScheduleProvider$ESBScheduledJob.execute(ScheduleProvider.java:233)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
> at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
> Caused by: org.milyn.SmooksException: Failed to filter source.
> at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:68)
> at org.milyn.Smooks.filter(Smooks.java:288)
> at org.milyn.Smooks.filter(Smooks.java:253)
> at org.jboss.soa.esb.smooks.splitting.AbstractStreamSplitter.split(AbstractStreamSplitter.java:69)
> at org.jboss.soa.esb.smooks.splitting.FileStreamSplitter.compose(FileStreamSplitter.java:52)
> at org.jboss.soa.esb.smooks.splitting.FileStreamSplitter.compose(FileStreamSplitter.java:41)
> at org.jboss.soa.esb.listeners.gateway.AbstractFileGateway.onSchedule(AbstractFileGateway.java:156)
> at org.jboss.soa.esb.schedule.ScheduleProvider$ESBScheduledJob.execute(ScheduleProvider.java:227)
> ... 2 more
> Caused by: org.milyn.SmooksException: Error in 'org.milyn.javabean.BeanInstancePopulator' while processing the visitAfter event.
> at org.milyn.delivery.sax.SAXHandler.processVisitorException(SAXHandler.java:373)
> at org.milyn.delivery.sax.SAXHandler.visitAfter(SAXHandler.java:260)
> at org.milyn.delivery.sax.SAXHandler.endElement(SAXHandler.java:144)
> at org.milyn.edisax.EDIParser.endElement(EDIParser.java:515)
> at org.milyn.edisax.EDIParser.mapSegment(EDIParser.java:325)
> at org.milyn.edisax.EDIParser.mapSegments(EDIParser.java:297)
> at org.milyn.edisax.EDIParser.parse(EDIParser.java:231)
> at org.milyn.smooks.edi.SmooksEDIParser.parse(SmooksEDIParser.java:115)
> at org.milyn.delivery.sax.SAXParser.parse(SAXParser.java:49)
> at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:65)
> ... 9 more
> Caused by: org.milyn.cdr.SmooksConfigurationException: Bean [03_product] configuration invalid. Bean setter method [setPrice(java.lang.Double)] not found on type [org.jboss.soa.esb.samples.quickstart.hugesplit.highprice.Product]. You may need to set a 'decoder' on the binding config.
> at org.milyn.javabean.BeanInstancePopulator.populateAndSetPropertyValue(BeanInstancePopulator.java:347)
> at org.milyn.javabean.BeanInstancePopulator.bindExpressionValue(BeanInstancePopulator.java:308)
> at org.milyn.javabean.BeanInstancePopulator.bindSaxDataValue(BeanInstancePopulator.java:258)
> at org.milyn.javabean.BeanInstancePopulator.visitAfter(BeanInstancePopulator.java:204)
> at org.milyn.delivery.sax.SAXHandler.visitAfter(SAXHandler.java:253)
> ... 17 more
> 14:00:22,359 INFO [STDOUT] Reptile SOAP Notification Received. Unmarshaled SOAP Notification object:
> public class Notification {
> java.lang.String firstName = ACID
> java.lang.String lastName = Pets
> java.lang.String email = acid(a)yourdomain.com
> java.util.Date date = Wed Nov 15 19:45:28 CET 2006
> java.lang.String product = Rattlesnake (Rattleless)
> int quantity = 4
> double totalPrice = 18.5
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 4 months