<< Previous Topic | Next Topic >>Return to Index  

Calling CR from an applet embedded in a JSP

November 19 2002 at 5:29 AM
 

 
Hi Pooja,

It's nice to read all the articles posted on ur site.

I have the following set up
1. Weblogic (application server as well as Webserver)
2. IIS (Report Server)
2. Oracle 8.1 (database server)
3. Crystal report 8.5
4. JSP for front end
5. Crystal Report Developer Version

Actualy we are using Weblogic on one machine and IIS on another machine and we are trying to call CR thru applet embedded in JSP.

We are getting the following error message on the java console..Please advice..

Microsoft (R) VM for Java, 5.0 Release 5.0.0.3309
==============================================
? help
c clear
f run finalizers
g garbage collect
m memory usage
q quit
t thread list
==============================================
...........init ------called..........
Crystal Report Viewer 1.3.7
java.vendor = Microsoft Corp.
java.version = 1.1.4
os.arch = x86
os.version = 4.0
----------before accepting parameters----------
....&prompt0=0&prompt1=0&prompt2=0&prompt3=Date(2002,1,8)&prompt4=&prompt5=&prompt6=&prompt7=
reportname salesledgermainreport.rpt
----------after accepting parameters----------
URL = http://localhost/crreports/salesledgermainreport.rpt?viewer=java&vfmt=encp&vgen=29&language=en
Parameters = cmd=get_pg&ttl_info=&page=1&incomplete_page=1&incomplete_page_count=1&pversion=3&promptOnRefresh=0&prompt0=0&prompt1=0&prompt2=0&prompt3=Date%282002%2c1%2c8%29&prompt4=&prompt5=&prompt6=&prompt7=
com.ms.security.SecurityExceptionEx[com/seagatesoftware/img/ReportViewer/http/f.if]: cannot connect to "localhost"
at com/ms/security/permissions/NetIOPermission.check (NetIOPermission.java)
at com/ms/security/PolicyEngine.deepCheck (PolicyEngine.java)
at com/ms/security/PolicyEngine.checkPermission (PolicyEngine.java)
at com/ms/net/wininet/WininetURLConnection.checkSecurity (WininetURLConnection.java)
at com/ms/net/wininet/WininetURLConnection.connect (WininetURLConnection.java)
at com/ms/net/wininet/http/HttpURLConnection.getOutputStream (HttpURLConnection.java)
at com/seagatesoftware/img/ReportViewer/http/f.if
at com/seagatesoftware/img/ReportViewer/b1.a
at com/seagatesoftware/img/ReportViewer/b1.run
at java/lang/Thread.run (Thread.java)
Failed to connect to server.

Thanks
Tripta

 
 Respond to this message   
AuthorReply
Pooja M.

re:Calling CR from an applet embedded in JSP

November 19 2002, 9:11 AM 

Basically what I can feel is happening is that the browser is not able to detect the "LOCALHOST" .Replace this term by the machine name or the IP address assigned to the machine where IIS is installed & the Reports folder is mapped. It would also be good if you define the Port Number as you are using two webservers .So,for the browser to detect the webserver which actually should be used to invoke report, PORT NUMBER is required .

You can verify this by pasting the following directly on the browser : http://localhost/crreports/salesledgermainreport.rpt

The report will not be visible in the above case.

Incase,you have mapped the Virtual directory on IIS as "crreports" to the reports folder,then , invoke the report on the browser as :

http://machine_name:80/crreports/salesledgermainreport.rpt

where,machine_name = Name of the machine or IP address where IIS is installed .

This should help!

Pooja M.,
http://home.attbi.com/~pooja.mohan



    
This message has been edited by pmk16 on Nov 19, 2002 9:27 AM


 
 Respond to this message   
Current Topic - Calling CR from an applet embedded in a JSP
  << Previous Topic | Next Topic >>Return to Index  
Find more forums on Computers and InternetCreate your own forum at Network54
 Copyright © 1999-2009 Network54. All rights reserved.   Terms of Use   Privacy Statement  
Crystal Report Related Queries And Issues