Prabhat Kumar

Greenhorn
+ Follow
since Jan 25, 2007
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
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Prabhat Kumar

I changed the user as you suggested. It worked. Thanks very much.
9 years ago
Hi,

Thanks for your reply.

How should i user UNC path (sorry, i am bit novice) and how should i get assured that my tomcat is running using which user account?

Prabhat
9 years ago
Hi,

I am running Tomcat 6 in Windows Server 2003 operating system. I have a problem accessing network shared drives from within my servlets and JSP-pages.

For instance, if "S" is a mapped drive pointing to something like a
shared network drive "\\shared_server\shared_drive", then this scriplet
returns
"false":

<%
java.io.File file = new java.io.File("S:/test.txt");
boolean exists = file.exists();
out.print("exists: " + exists);
%>

The file "test.txt" does exist, but Tomcat does not see the shared
drive.

Please help.

Thanks,

Prabhat
9 years ago
Thanks Mikalai,

Thanks for giving this information. Can you please tell me one more additional info that should i proceed my prepartion of J2EE 1.5 Web services with RMH book (J2EE 1.4) ? i have read from several post in ranch that most of the chapters in RMH are still suitable for j2ee 1.5 version?

Thanks in advance,

With best regards,
Prabhat Kumar
Dear All,

I am also planning to start preparation for Web Services certification (310-230). Does RMH book available in the market for j2ee 1.5 version or j2ee 1.4 ? Since i have to take the latest one i.e. Web services 5, can anyone please help me how to start?

With regards,
Prabhat Kumar.
Dear All,

My Problem related to PDF generation using Birt with HTML data. I am not sure whether this forum is correct place to ask this question, please suggest if i am at wrong place.

I have been generating PDF with HTML data, but whenever HTMl data size increases, the PDF generated but some data losses at page change time. It happens usually whenever my PDF page size is around 3-4 pages, but for small amount of HTML data which can be rendered in one or two pages of PDF it works well. Data loss happens when page changes.

I shall be highly obliged for your great support.

Thanks in advance,

With regards,
Prabhat Kumar.

Hi,

I have been using Jasper for generating PDF. It contains Jasper Assistant tool which is very easy to design PDF. It creates the .jrxml file which converts into .jsper after compilation.

Thanks and regards,
Prabhat Kumar.
12 years ago
Dear All,

I have been facing an issue in SVN. First time while checking out my Application from SVN repository, i checked on save password option, so from next time it does not ask for user name and password while synchronizing or check-in or check out of application. But i really do not want this way. I use RSA (Rational Software Architect) as IDE. I want it should ask for user name and password every time when i try to connect with SVN.

How can i reset this setting.

Please help.

Thanks and regards,
Prabhat Kumar.

PS: I did not find any proper forum for SVN on java ranch so i am posting this topic here.
Hello All,

I could not took any other action other than refactoring my JSP. I could not find any other configuration on Tomcat. It working well on Websphere 6.0 and 7.0.0 . Please let me know if you find any other solution.

Thanks and regards,
Prabhat Kumar.
12 years ago
Dear All,
I have been working on tomcat 6.0.18 and my jsp file is long enough. When i run my application and try to open the page , it gives error that jsp compilation error and jsp_service method cannot be greater the 65535 bytes.

Can i change any configuration in tomcat so that i can change the limit so that i can run my project.

The same jsp page is running well when i deployed my application on websphere 7.0.

Thanks and regards,
Prabhat Kumar
12 years ago
Hi Omi,

Thanking you for your valuable information.

best regards,
Prabhat Kumar
12 years ago
Hi Everyone,

Thanking you for guiding me your valuable instructions.

Moving to ruby from java wont be a switching of platform? Will it be helpful for me?

I am preety much interested in Open Source Ptojects, but i am very confused that how should i start with? Where from i can find that and how much time i need to spent in week time?

What is the expertise level need?



Please guide.

Thanking you,

with best regards,
Prabhat Kumar
12 years ago
Hi Everybody,

I need your kind assistance and direction to make my career path on progressive track.

I am a Java Devloper working(on JAVA EE) in a small company(employee base 30)in New Delhi, India. I have completed SCJP5.0 (72%in 2006), SCWCD1.4(76% in 2006) and SCBCD 5.0(83% in 2007). We, at this company, using hibernate, struts, spring and other technologies like jasper reports, extjs etc. We do not use EJB here. I have been here from last 1.9 months(total work experience is also 1.9months).
I am very confused that what should i do further so that it should be fruitful to my career according to future growing market. Could you please guide me so that i can select a firm path in my growing career. i can spare 3 to 4 hours per day.
My boss suggested for Security Certifications, but its not my interest. Does not security certificaion for network administrators?

Please spare your valuable few minutes to guide me. I will be highly greatful.

Thanking you,

With best regards,
Prabhat Kumar
12 years ago
Dear All,

I am facing a problem in loading of images in PDF using JasperReport(itext2.1.3). I have created a jasperreport page which print in specified no of pages as per user choice with same content. In the page, images are used which is set as InputStream as jasper report field.
If report is getting prepared for one page, then image gets loaded properly and there does not have any problem with PDF preparation but in case of multiple pages, below exception gets raised:

net.sf.jasperreports.engine.JRException: Image read failed.
at net.sf.jasperreports.engine.util.JRJdk14ImageReader.readImage(JRJdk14ImageReader.java:77)
at net.sf.jasperreports.engine.util.JRImageLoader.loadImage(JRImageLoader.java:248)
at net.sf.jasperreports.engine.JRImageRenderer.getImage(JRImageRenderer.java:354)
at net.sf.jasperreports.engine.JRImageRenderer.getOnErrorRendererForImage(JRImageRenderer.java:307)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportImage(JRPdfExporter.java:1160)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportElements(JRPdfExporter.java:675)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:641)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:536)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:323)

Plese help to solve this problem.

Thanking you in advance,
Prabhat Kumar
I am using 1.5.2. Thanking you anyway, because problem has been solved now.

Earlier i was using stateless job , which was causing the problem. Now i am using stateful by implementing Stateful job interface instead Job interface.

Thanking you ,
Prabhat