Jasperserver Job - jasperserver

does anybody know in whitch Java class Job schedule and execution takes place?
Thanks,
Marc

Jasperserver uses the Quartz scheduler libraries. Off the top of my head the settings XML files can be found in tomcat/webapps/Jasperserver/WEB-INF

Related

mobicents jain slee hello world serivce for beginner

I am trying to build a simple jain slee project by following the steps given here
https://developer.jboss.org/wiki/HelloSLEEWorldServiceJAINSLEETutorial
but when i try to create a service i get an error message error message scr shot
can anyone help me
This question is quite old, but I will answer nevertheless for future visitors' sake.
The issue is with the Eclipslee service creation plugin. Can you install one from here and try to create the service again.
If not find the plugin jar file named;
org.mobicents.eclipslee.servicecreation_2.0.0.v20130704-2333.jar
This is the one I use. But I think the 2.0.0.FINAL should do the job. I can't upload the exact file because I don't remember where I got it from. Probably a forum somewhere or an issue tracker thread. But can't quote the source properly. :(
P.S.(in case you didn't know) Installation == Copying the jar file to the plugins directory in Eclipse.
edit:
This is another workaround. v2.0.0 apparently does not work too.

Getting error Named query not found: UnescalatedDeadlines

I'm trying to create a jbpm human task web application and deployed it in jboss as 7.
Adhering to the deployment structure i have placed the orm.xml in resources META-INF folder along with persistent.xml and it's having the required unescalateddealines named query. But still im getting the exception
Caused by: java.lang.IllegalArgumentException: Named query not found: UnescalatedDeadlines
at org.hibernate.ejb.AbstractEntityManagerImpl.createNamedQuery(AbstractEntityManagerImpl.java:108) [hibernate-entitymanager-3.4.0.GA.jar:]
at org.jbpm.task.service.TaskService.<init>(TaskService.java:109) [jbpm-human-task-5.1.0.Final.jar:]
at org.jbpm.task.service.TaskService.<init>(TaskService.java:92) [jbpm-human-task-5.1.0.Final.jar:]
at com.sample.taskserver.HumanTaskStartupServlet.init(HumanTaskStartupServlet.java:52) [classes:]
In nutshell, the orm.xml file is not being identified by hibernate.
what's the configuration that im missing or what could be the problem.
kindly help me in this regard.
It's probably best to add direct references to the orm files you're using, to make sure they are being picked up. For example, in your persistence.xml you could add the following:
<mapping-file>META-INF/Taskorm.xml</mapping-file>
Do you have multiple orm.xml files inside your application? Probably JBoss AS is just picking one. Usually if you merge those files it will work.
Cheers
I had the same problem, but I solved it.
My jbpm version is 5.3.
I deployed and set it up according to the guide.
I used two persistent-unit, one for jbpm/process and one for task.
I have this taskorm.xml, but in some situation jbpm will only search jbpm persistent-unit.
but taskorm.xml is defined in task unit.
You need to combine it into one.
For me I am using jbpm 5.4.0.FINAL but referred to the example with bundled presistence.xml having only orm.xml
Added Taskorm.xml resovled the problem

FxCop Nant Task Error: Error creating FileSet

I am getting following error whenever I run fxcop nant task.
Error creating FileSet.
Does anybody know what could be the reason?
Thanks,
Sachin
I got the reason behind the issue. Recently I had downloaded Binary Zip of latest NantContrib project. After downloading the zip, I extracted it without unblocking. As I am using Windows Server 2008, all assemblies extracted from the zip were blocked. The FxCop nant task is defined in NAnt.Contrib.Tasks.dll(which was locked). FxCop task needs IO permission to save report on the machine. Since the file were blocked, fxcop task was throwing exception due to lack of IO permissions.
To resolve this, I just unblocked the zip and re-extracted the NantContrib files. Thereafter everything worked fine.
Thanks Soner!!! Sorry about not being so specific :)
Thanks,
Sachin P

Ant MailLogger problem

I'm trying to establish MailLogger as the principle logger for my ant build. When I launch the ant build, I add the parameters -DMailLogger.properties.file=mail.properties -logger org.apache.tools.ant.listener.MailLogger. When the build finishes, it first tells me it couldn't send the e-mail and then it spits out the call stack:
BUILD SUCCESSFUL
Total time: 1 second
MailLogger failed to send e-mail!
java.lang.NullPointerException
at org.apache.tools.ant.taskdefs.email.MimeMailer.send(MimeMailer.java:206)
at org.apache.tools.ant.listener.MailLogger.sendMimeMail(MailLogger.java:332)
at org.apache.tools.ant.listener.MailLogger.buildFinished(MailLogger.java:143)
at org.apache.tools.ant.Project.fireBuildFinished(Project.java:2037)
at org.apache.tools.ant.Main.runBuild(Main.java:778)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
If I attempt the same thing without MailLogger.user and MailLogger.password set in mail.properties, it informs me that I wasn't authenticated (and correctly so).
I've included ant-javamail.jar which contains MimeMailer.class and as far as I can tell it's in the classpath along with all the other jars for ant. Perhaps I'm doing something wrong, but NullPointerException is certainly not helping me understand what it is.
I'm using Ant version 1.7.1. Any help would be greatly appreciated! I'm tearing my hair out!
It's an Ant bug - 44999. Looks like it's fixed in Ant 1.8.

Automate deployment of XMLA / documentation on Microsoft.AnalysisServices.Xmla

I'm looking to automate the deployment of XMLA scripts. I've come across an article that gives a small demo, but I'm hoping to find more info.
Specifically, where is the documentation for Microsoft.AnalysisServices.Xmla.XmlaClient and what is the best approach for overridding the database and connection values that are embedded in the XMLA script?
I assume you are just trying to deploy the analysis service cube. This utility has commandline switches and can suport configuration for different targets
Analysis Services Deployment Wizard
If you need to add further customizations, you can always process the resulting xml files with either xslt, powershell, or .net
ascmd.exe can also run xmla scripts:
ascmd.exe commandlline utility
Apparently Microsoft.AnalysisServices.Xmla.XmlaClient is an undocumented library that is actually part of Management Studio and is not re-distributable. I think that using one of Jason's suggestions or the AMO library are your only approaches.