الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Report Run On Server And Not Run On Anther

Featured Replies

بتاريخ:

Report run on server and not run on
anther
both server have same ver jdevloper
weblogic ireport run
same program
call report
Ok on server not on anther

بتاريخ:
  • كاتب الموضوع

الفرق الوحيد بين

two server

الاول )(اللي مش ok

بيحتاج إدخال

username

password

علشان

run start  weblogic service

الثاني 

start weblogic service without

username

password

بتاريخ:
  • كاتب الموضوع

اما بcall report

بيدني dialog save page  as

لل page

 اللي بتعمل calling

للـ 

report

?????????

بتاريخ:

غير واضح المشكلة بالضبط

بتاريخ:
  • كاتب الموضوع

برنامج فيه صفحة تستدعي تقرير

التقرير بيشتغل على جهاز تمام 

الجهاز ده  علية(jdeveloper 11.1.4- ireport 5.1

========================

اما بأخد البرنامج على جهاز تاني

عليه نفس الأصدار من البرنامجين

اما بستدعي التقرير

بيطلع  dialog save page  as

للصفحة

 اللي بتستدعي التقرير

والتقرير مش بيطلع

==============

كده خلصت

======

انا عارف ان مثلا لو بمرر بارمتير تاريخ للتقرير

ال reginal setting

بتاع الجهاز له دور في تمرير فورمات بتاع البارمتير

للتقرير

وكده انا محتاج اضبط حاجة بره البرنامج

معقول في حاجة في الويندوز بره البرمجة

محتاجة تتظبط

وهي مختلفة عن الجهازين

بتاريخ:

جرب حذف حقل التاريخ للتأكد انه سبب المشكلة

بتاريخ:
  • كاتب الموضوع

يا باشمهندس / ماجد

البرنامج والتقرير بيرن على جهاز تاني علية نفس الsoftware

يبقى المفروض مفيش مشكلة في يالبرنامج أو calling

 ؟؟؟؟؟؟؟

بتاريخ:

جرب أولاً

بتاريخ:
  • كاتب الموضوع

ده الكود وشليت الباميتر

public String reprun4() {
// Add event code here...
String rd1 =it1.getValue().toString();
String rd2 =it2.getValue().toString();
Map m = new HashMap();
// m.put("employeeId", empId);// where employeeId is a jasper report parameter
// m.put("pmonq_date1", rd1);
// m.put("pmonq_date2", rd2);
try
{
runreportaction2("rmota.jasper", null);
}
catch (Exception e)
{
}
return null;
}
public ServletContext getContext()
{
return (ServletContext)getFacesContext().getExternalContext().getContext();
}
public HttpServletResponse getResponse()
{
return (HttpServletResponse)getFacesContext().getExternalContext().getResponse();
}
public static FacesContext getFacesContext()
{
return FacesContext.getCurrentInstance();
}
public void runreportaction2(String repPath, java.util.Map param) throws Exception
{
Connection conn = null;
try
{
HttpServletResponse response = getResponse();
ServletOutputStream out = response.getOutputStream();
response.setHeader("Cache-Control", "max-age=0");
response.setContentType("application/pdf");
ServletContext context = getContext();
String mypath =("/rmota.jrxml");
File f = new File(mypath);
InputStream fs = context.getResourceAsStream("/rmota.jrxml");
String root =context.getRealPath("/");
JasperDesign design = JRXmlLoader.load(fs);
JasperReport report = JasperCompileManager.compileReport(design);

report.setWhenNoDataType(WhenNoDataTypeEnum.ALL_SECTIONS_NO_DETAIL);
Context ctx = new InitialContext();
DataSource ds =
(DataSource)ctx.lookup("java:comp/env/jdbc/motaDS");
Connection conn1 = ds.getConnection();
JasperPrint print = JasperFillManager.fillReport(report, param,conn1);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
JasperExportManager.exportReportToPdfStream(print, baos);
out.write(baos.toByteArray());
out.flush();
out.close();
FacesContext.getCurrentInstance().responseComplete();
}
catch (Exception jex)
{
jex.printStackTrace();

}
finally
{
close(conn);
}
}

public void close(Connection con)
{
if (con != null)
{
try
{
con.close();
}
catch (Exception e)
{
}
}
}
وبرضه بيطلع dilaog save as

 

post-15261-0-99765200-1450941068_thumb.jpg

بتاريخ:

جرب حفظ الملف ثم قم بتغيير الامتداد إلى PDF للتأكد أن الملف فعلاً عبارة عن PDF

بتاريخ:
  • كاتب الموضوع

secuirty of browser stop report to run

use anther browsser or change setting slove problem

شكرا لكل من حاول المساعدة

بتاريخ:

ﻻ عﻻقة للرية بالموضوع

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.