AMAR PATIL

Greenhorn
+ Follow
since Feb 14, 2006
AMAR likes ...
Oracle Suse Java
Pune, India
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by AMAR PATIL

Yup Chris is absolutely right, the only way to remove a domain is delete the folder and re-create the domain.
11 years ago
Hi ..
I too got the same error while trying to create a report from a jrxml file created using iReport tool...This file is placed in the root directory ..
Could someone help me out ...

Heres the code...

public static void main(String[] args)
{
JasperReport jasperReport;
JasperPrint jasperPrint;
try
{
jasperReport = JasperCompileManager.compileReport("jasperreports_demo.jrxml");
jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(), new JREmptyDataSource());
JasperExportManager.exportReportToPdfFile(jasperPrint, "simple_report.pdf");
}
catch (JRException e)
{
System.out.println("Error :"+e);
e.printStackTrace();
}
}

and this is the Error that I got...

Error :net.sf.jasperreports.engine.JRException: Error compiling report java source files : C:\NewProj\FirstReport\Simple_Report_1165308653100_379903.java net.sf.jasperreports.engine.JRException: Error compiling report java source files : C:\NewProj\FirstReport\Simple_Report_1165308653100_379903.java
at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:93)
at net.sf.jasperreports.engine.design.JRAbstractClassCompiler.compileUnits(JRAbstractClassCompiler.java:67)
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:190)
at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:144)
at sample.JasperReportsIntro.main(JasperReportsIntro.java:21)
Caused by: java.io.IOException: CreateProcess: javac -classpath "C:\NewProj\FirstReport\bin;C:\Eclipse\jar files\jasperreports-1.2.8.jar;C:\Eclipse\jar files\commons-beanutils-1.7.0.jar;C:\Eclipse\jar files\commons-collections-2.1.1.jar;C:\Eclipse\jar files\commons-digester-1.7.jar;C:\Eclipse\jar files\commons-logging-1.0.2.jar;C:\Eclipse\jar files\itext-1.3.jar;C:\Eclipse\jar files\jdbc2_0-stdext.jar" C:\NewProj\FirstReport\Simple_Report_1165308653100_379903.java error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:62)
... 6 more






Thanks in advance...
hi ankit congrats
i have just completed SCWCD. I'll start studying for SCBCD. i don't have prior knowledge of EJB. Will HFE be enough to prepare for the exam.
16 years ago
congrats ken............gr8 score buddy.
keep rocking.
congrats imran. that's a gr8 score.
congrats vishvas ............
gautam
vishy
abhinav
santosh
amar
sanka
chani
srilatha
veena
vinuharan
neela

hi guys this is the list of all those who r here on study grp.
please update the list if somebody is not listed.
with an assumption that everybody has got HFSJ. lets start with chapter 1.
deadline sunday morning. what say guys. i don't think that chapter 1 would b that tough and one day is enough for it. nnnnnnnnnnnnnnnjoy.
have a nice day.
hi sanka the manning book is available in market i just bought it a month back. it is also a good book but then HFSJ is the best.
cheers.

hi all so when to start.
next step if v all can start sending grp mails. how is the idea?
i think 6 in all people is fine to start the study grp.
lets do it.
hi fielipe,
i think that u have to put negative number and not 0.
and let me know if u going to tryout with 0 session time out.
i'll try at my side.
I think that the page will be displayed but then none of the links will work because of timeout.
nnnnnnnnnnjoy.........
I'm using struts. tell me why shall i shift to JSF.
16 years ago
JSF
hi gautam,
amar here. I would like to be in sync with u to complete SCWCD.
I think its more because of javaranch and HFSJ which has made learning for SCWCD easy and fun.