Unable to export Tibco Jasper Reports - ant

Currently we are on Jasper Reports 6.3. We have upgraded our Report Center to Jasper 7.9
For migrating the custom reports and everything inside the Jasper RC to the new Jasper 7.9 server , I am using the following command
.\js-export.bat --everything --output-zip W:\JRS_Export__JRS.zip
I am inside the buildomatic folder where ant and js-export.bat are present. But when I try and execute the below command, I get the following error
C:\JRS\Instances<customer_folder>\buildomatic> .\js-export.bat --everything --output-zip W:\JRS_Export_SDLWSDEV_JRS.zip
Writing to log file: logs/js-"export"-"pro"___18701.log
Bundled Ant not found. Using system Ant.
Running "validate-keystore" Ant task
'ant' is not recognized as an internal or external command,
operable program or batch file.
Checking Ant return code: BAD (1)
I tried to search the community page, but was unable to find the appropriate answer.
Could anyone please help?

Related

Starting thingsboard service on windows Error 1067

I am getting the below error when I run net start thingsboard
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
Problem was with windows service java wrapper
I was able to run thingsboard from command line with out using service wrapper using below command :
SET BASE=C:\thingsboard
SET LOADER_PATH=%BASE%\conf,%BASE%\extensions
SET SQL_DATA_FOLDER=%BASE%\data\sql
SET jarfile=%BASE%\lib\thingsboard.jar
SET installDir=%BASE%\data
java -jar thingsboard.jar
I had same Problem that I solved by giving correct path of java in
Control Panel\All Control Panel Items\System\Advanced system settings\Advanced\Environmental Variables\System variables
In system variable select Path and click on Edit and give your java version path
for example mine is:
C:\Program Files\Java\jre1.8.0_172\bin
if this is not working check whether multiple java versions are available or not.
there should not be multiple java path in Environment Variables if its there delete others and let only correct path

creating jhipster-spring boot project war file error

I have an jhipster-spring boot application which is running docker. I want to create war file. I found some commands here:
https://jhipster.github.io/production/
When I type ./mvnw -Pdev package .I am typing this command in intellij terminal. I am getting this error: http://paste.ubuntu.com/23082073/
I have no idea what is it because normally my app is running correcty. What I need for creating war? Should I connect database? There is no more info in above link.
Thanks
from the logs that you pasted, it looks an error from spring and hibernate. check if the connections to database are working, check if your database is setup correctly as in the logs found this
Wrong column type in FRAUD.PUBLIC.MODEL_WEIGHT for column weight. Found: double, expected: real
after that use the command ./mvnw -Pprod package to generate the WAR file.
Hope this helps.

Starting Neo4j failed: unmanaged extensions

I'm trying to create an unmanaged extension using this. I'm currently using a Windows environment
Now, I followed everything and here is what my pom file looks now:
POM
and here is my java class containing the unmanaged extension
HelloWorldResource
Now, I tried to run "**mvn clean package**", and it produced a jar file around 10MB which I then put into the plugins folder of my database.
When I start the server, the following error always appears:
Starting Neo4j failed:
org.neo4j.server.web.NeoServletContainer-49fd135#9bfd861c==org.neo4j.server.web.NeoServletContainer,-1,false
The log file is not useful as it doesn't show any exception that cause the it. Other people also reported the issue in stack overflow and appears to be a jar issue. What else could I have missed?
Neo4j fails to start
Neo4j fails in startup
PS: I'm using 3.0.3 Neo4j Community Edition.

Can't get Grails application to run on Windows 7

I'm having trouble running Grails on my PC (running Windows 7).
It's been a couple of years since I last worked with Grails, and I have a new computer. So I downloaded Grails and NetBeans and followed the instructions. (Grails: version 2.3.7, NetBeans: version 7.4.)
Everything seems to be working. Both the Java JDK and Grails work - I can run "grails" from the command prompt. And it was easy to activate the support for Grails in NetBeans.
I created a very simple "Hello world" application. It compiles fine - and I can run "grails war" to create a War file. But I can't get it to run on my PC. I get the same error using "Run" in NetBeans and when running "grails run-app" at the command prompt:
|Running Grails application
Error opening zip file or JAR manifest missing : C:\Program%20Files\Grails
\lib\org.springframework\springloaded\jars\springloaded-1.1.5.RELEASE.jar
Error occurred during initialization of VM
agent library failed to init: instrument
Error |
Forked Grails VM exited with error
And the program won't start. The jar in question isn't missing, so I can't see what's wrong. Any ideas? I'd be more than grateful for some help! :-)
/Anders from Sweden
Move your copy of grails to C:\ and try again.
There is a known problem with location with space symbol. You can see it in stacktrace:
C:\Program%20Files\...

Error in running RMIC via Ant using wsejbdeploy taskdef

I get the following exception when trying to generate RMIC using Ant task.
[wsejbdeploy] Error generating RMI code: RMIC command failed on project: .... with message:
[wsejbdeploy] error: The IBM RMIC version 0x1500 does not match the IBM runtime version 0x1600.
Please let me know how to fix this.
I am trying this using the WebSphere 6.1 server that comes bundled with RAD7.5.
This works fine when we use IDE to generate the EAR, and fails only when we use our custom Ant build file.
The error means that JAVA_HOME in your shell used to invoke Ant is different from the Java that was included with the embedded WebSphere Application Server. Try using the WAS_HOME/bin/ws_ant script, or set JAVA_HOME to WAS_HOME/java/.
The error
Cannot run RMIC because it is not installed. Expected location of RMIC is the following:
will some times confuse. enable the "Capture RMIC verbose output to the workspace .log file.
and see what the exact error your getting. This option will be available in properties > EJBDeployment.
In My case it throwing error due to huge number of jars in class path.It got resolved after shortening the class path jar location.

Resources