How a J2EE web application access CR reports stored on the CR Server XI?
Hi,
I'll be working on some crystal report templates that will eventually be hosted/publish on the CR Server XI.
My questions are:
1. How my J2EE web application access those reports?
2. Do my web application uses some CR API for the connectivity and integration?
3. What will happen to the database connectivity of the report template? since the report are created locally.
4. Can the report template be edited/updated on the server?
5. How the CR XI login functionality be involve in the integration (web application ---> CR Server XI)?
6. Is the J2EE web application be deployed on similar web/application server where the CR Server XI resides?
7. What is the role of RAS, Universe, Business View Manager to this whole CR integration?
I hope you can provide some guidance on this journey to Crystal Report world
Regards,
Rulix Batistil
Genesis Networks Pte Ltd
www.gen-net.com.sg
1) Your application connects via the Java SDK using the appropriate JAR files.
2) It can. You can set the database information at runtime or use the already populated information from Enterprise.
3) Same as 2. Typically when you save the report to Enterprise you set up the database information there so that it runs against the database you want without prompting. You can change this via code to hit whatever equivalent database you want.
4) Yes. You would have to use RAS and the RCAPI to accomplish this via code. You can also make changes in the designer and overwrite the existing report template.
5) You will log in via code. The information on how to do so is in the SDK documentation, which I will link.
6) It can be deployed to the same machine as CR Server, though we recommend against that. Typically you will want to deploy it to a seperate web server and allow it to connect to the CR Server across the network.
7) RAS can be used to run reports, as well as the page server. The universe and business view manager are not directly used in code. If a report runs against a universe or business view then it will use them for data, but you wouldnt do anything with them directly.
[BOE Developer Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
You will find the Java SDK information under the BusinessObjects Enterprise SDK section.
Best Regards,
Jason
Similar Messages
-
How to access deployed J2EE Web application ?
Hi,
I am new to J2EE Web Application. I have created a Web Module project and in that I have created a servlet. I did a build for WAR file. I have created an Enterprise Application Project and included this WAR file. I built the EAP and deployed it to J2EE engine. I am successful till here.
I am not sure how to access this deployed application and thus this servlet.
I tried to access the following way :
http://<hostname>:<portnumber>/<EAPName>/<ServletName>
However, I receive the error no such location.
In the web.xml file, in the servlet-mapping section, I have mentioned the servletname and urlpattern.
I have mentioned the urlpattern as MyServlet and not /MyServlet. Notice the 'backslash'.
Could this be an issue ?
Regards,
Subramanian V.Hi
See this Thread
Re: servlet ----->url association ?
Re: Servlet not getting loaded when put in a jar file
Re: I just want to run a simple servlet. No EJBs, no Web DynPro...
/message/610344#610344 [original link is broken]
Kind Regards
Mukesh -
Oracle forms to j2ee/web application
Hello all,
I need help with converting "oracle forms" to j2ee/web application. There are only 2-3 forms. But I needed to know how to do it from scratch. I looked at some softwares available to do it. But its costly.
Basically the company I am working with, needed all the forms online, so that they can access it using a browser. As part of the development, I am using jdeveloper 10g.
could some help me out
Thanks a lot
sanWell if you need your Forms accesible from a browser you don't need to convert them to Java - you just use Forms on the Web - http://otn.oracle.com/formsupgrade
If you still want to convert to Java have a look at the Forms page for more info:
http://otn.oracle.com/products/forms
and also here:
http://www.oracle.com/technology/products/jdev/collateral/4gl/formsdesignerj2ee.html -
Deploying a J2EE web application in Oracle 10g
Hi friends,
<br>
I had worked with Oracle9i 9.0.3 . But it's my first experience with Oracle 10g . I have installed Oracle 10g Infrastructure , Metadata Repository and one Middle tier - Forms and i hope i have followed The Oracle 10g installation guide Properly. Anyway installation is successful.
The problem is a J2EE web application which is deployed properly on Oracle9i 9.0.3 doesn't get deployed in Oracle 10g. The following is the exception :
<br>
Deployment failed: Nested exception
Root Cause: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application Spom_Apps: Error loading package at file:/C:/Oracle/Ora9iASForms/j2ee/home/applications/Spom_Apps/JmsSubscriberMdb.jar, Error deploying file:/C:/Oracle/Ora9iASForms/j2ee/home/applications/Spom_Apps/JmsSubscriberMdb.jar homes: No location set for Topic resource MessageDrivenBean JmsReceiverMdb
<br>
<br>
where JmsReceiverMdb is the deployment file containing the message driven beans.
<br>
Thanks in advance,
paskalHi,
Thanks for responding . I am sending the file contents of ejb-jar.xml, orion-ejb-jar.xml, jms.xml.
Could you also check whether dtds versions of 10g and 9i in these xmls are conflicting? If you can specify your email-id i can send these file as attachments.
Hope you could strike the right spot.
ejb-jar.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<session>
<description>Session Bean ( Stateless )</description>
<display-name>spomPmConfigSSB</display-name>
<ejb-name>spomPmConfigSSB</ejb-name>
<home>jnipackage.spomPmConfigSSBHome</home>
<remote>jnipackage.spomPmConfigSSB</remote>
<ejb-class>jnipackage.impl.spomPmConfigSSBBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<message-driven>
<description>Message Driven Bean</description>
<display-name>JmsReceiverMdb</display-name>
<ejb-name>JmsReceiverMdb</ejb-name>
<ejb-class>jnipackage.impl.JmsReceiverMdbBean</ejb-class>
<transaction-type>Container</transaction-type>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
<resource-ref>
<res-ref-name>jms/alarmTopicConnectionFactory</res-ref-name>
<res-type>javax.jms.TopicConnectionFactory</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-env-ref>
<resource-env-ref-name>jms/alarmTopic</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
</resource-env-ref>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>JmsReceiverMdb</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>spomPmConfigSSB</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
Orion-ejb-jar.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
<orion-ejb-jar>
<enterprise-beans>
<message-driven-deployment name="JmsReceiverMdb" max-instances="100" min-instances="0">
<resource-ref-mapping name="jms/alarmTopicConnectionFactory"/>
</message-driven-deployment>
<session-deployment name="spomPmConfigSSB"/>
</enterprise-beans>
<assembly-descriptor>
<default-method-access>
<security-role-mapping impliesAll="true" name="<default-ejb-caller-role>"/>
</default-method-access>
</assembly-descriptor>
</orion-ejb-jar>
jms.xml
<?xml version="1.0" standalone='yes'?>
<!DOCTYPE jms-server PUBLIC "OC4J JMS server" "http://xmlns.oracle.com/ias/dtds/jms-server-9_04.dtd">
<jms-server port="9127">
<!-- Queue bindings, these queues will be bound to their respective
JNDI path for later retrieval -->
<queue name="Demo Queue" location="jms/demoQueue">
<description>A dummy queue</description>
</queue>
<!-- Topic bindings, these topic will be bound to their respective
JNDI path for later retrieval -->
<topic name="Demo Topic" location="jms/demoTopic">
<description>A dummy topic</description>
</topic>
<!-- Topic bindings, these topic will be bound to their respective
JNDI path for later retrieval -->
<topic name="AlarmQueue" location="jms/alarmTopic">
<description>A topic</description>
</topic>
<topic name="FaultTextQueue" location="jms/faultTextTopic">
<description>A topic</description>
</topic>
<topic name="FaultTopologyQueue" location="jms/faultTopologyTopic">
<description>A topic</description>
</topic>
<!-- path to the log-file where JMS-events/errors are stored -->
<log>
<file path="../log/jms.log"/>
<!-- Uncomment this if you want to use ODL logging capabilities
<odl path="../log/jms/" max-file-size="1000" max-directory-size="10000"/>
-->
</log>
<queue name="jms/OracleSyndicateQueue" location="jms/OracleSyndicateQueue">
<description>Oracle Syndication Services Queue</description>
</queue>
<!--
<queue-connection-factory name="jms/OracleSyndicateQueueConnectionFactory"
location="jms/OracleSyndicateQueueConnectionFactory"/>
-->
<queue-connection-factory location="jms/OracleSyndicateQueueConnectionFactory"/>
<queue name="jms/OracleUddiReplicationQueue"
location="jms/OracleUddiReplicationQueue">
<description>Queue for replication scheduler</description>
</queue>
<!--
<queue-connection-factory
name="jms/OracleUddiReplicationQueueConnectionFactory"
location="jms/OracleUddiReplicationQueueConnectionFactory"/>
-->
<queue-connection-factory location="jms/OracleUddiReplicationQueueConnectionFactory"/>
<queue name="jms/OracleWebClippingQueue"
location="jms/OracleWebClippingQueue">
<description>Queue for Web Clipping</description>
</queue>
<!--
<queue-connection-factory
name="jms/OracleWebClippingQueueConnectionFactory"
location="jms/OracleWebClippingQueueConnectionFactory"/>
-->
<queue-connection-factory location="jms/OracleWebClippingQueueConnectionFactory"/>
</jms-server> -
How to get web application to use Tuscany without conflicting with SAP SDO
Hi,
We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO. As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
common-2.2.3.jar
ecore-2.2.3.jar
ecore-change-2.2.3.jar
ecore-xmi-2.2.3.jar
tuscany-sdo-impl-1.1.1.jar
tuscany-sdo-lib-1.1.1.jar
tuscany-sdo-tools-1.1.1.jar
xsd-2.2.3.jar
We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
However, when we try to run the web application, the following error is logged: java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?I took a look at the "printerReady" example. Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
Any ideas on how to find the MAC address associated with the IP addresses that respond?
We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
I'll try the InetPing to see how it works,
Kirk -
How to develop web application using ejb3.0 with eclipse
Hi ,
I am new to ejb3.0 with eclipse. If any one familar that please guide me...
how to develop web application using ejb3.0 with eclipse.please help me... server jboss4.2.2. database mqsql5.0
Thanks,jsf_VWP5.5.1 wrote:
I am new to ejb3.0 with eclipse. If any one familar that please guide me...http://help.eclipse.org/help33/index.jsp -
How does PeopleSoft ( web application) connect to DB ?
Hi,
How does PeopleSoft ( web application) connect to its Oracle database, does it use JDBC or OCI or else ?
Thank you.The webserver is connecting to the application server through the Jolt port, and the application server is connecting to the database within a database client installation (runtime).
Nicolas. -
I have configure remote access feature web application proxy but not configure give the error. The remote name could not be resolved in server 2012 R2.
I have configure Ad and ADFS different server and try to configure web application proxy different server. what setting are required for connect web application proxy to Ad and ADFS.Hi,
In addition, please make sure that the port 443 is not blocked by the firewall.
Web Application Proxy requires internal name resolution to resolve the names of backend servers, and AD FS servers. When publishing web applications via Web Application Proxy, every web application you publish requires an external URL. For clients to reach
these web applications, a public DNS server must be able to resolve each external URL that you configure. Note that the external URL must resolve to the same IP address as the Web Application Proxy server, or the external IP address of a firewall or load-balancer
placed in front of the Web Application Proxy server.
Best regards,
Susie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
How to deploy web application to Weblogic?
Does anyone know how to deploy web application to Weblogic8.1?
Hello,
I found one error in what I have done. I add the '<context-root>' in '<weblogic-web-app>', which are not required in some other containers, and I can find the application of hello2. However, when I clicked 'submit' I got the following message:
Error 500--Internal Server Error
java.lang.NoClassDefFoundError: java/lang/StringBuilder
at servlets.ResponseServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
I do not want to make changes in 'web.xml' file as it worked in other container. I guess I miss something that is special, probably basic, to WebLogic, but I do not know what it is.
Bye the way, who know how to reward points to other people? I cannot find the 'assign points icon'.
Thanks hoos. Your answer give me confidence that a web application could be deployed by copy war file to some directory (I guess from my experience of other containers). -
Consume Portal Service from J2EE web application
hi, i am a newbie to portal content development. My team have developed a J2EE web application to be run on the portal. Is it possible to consume a Portal Service from J2EE web application? If possible, deeply appreciate if you could provide some guidelines. Kindly advise. Thanks.
Hi Theodore Yu,
You need to expose your portal service as a webservice to consume it in a j2ee web application.
For exposing a portal service to webservice check this link
http://help.sap.com/saphelp_nw04/helpdata/en/43/cb213e578c0262e10000000a11466f/frameset.htm
Thanks,
Padmaja
Edited by: Padmaja Pedapudi on May 20, 2008 2:03 PM -
Difference Between Web application design and Report Designer
Hi,
I have searched in the forum as well i Google it but still i am not clear the difference between Web application Designer and report Designer , why especially we go for WAD ? and what is not possible in Report designer which we can do in WAD Please some one explain me that would be great helpful to me. i am having lot of confusion in this issue.
thanks,
GalHi,
The Report designer is completely for formating of your query and results. Here you have the flexibility to design your query(one/more) results in your own way.
The WAD is for displaying various web items at one short for a single/multiple query. And here you have the flexibility to do the XML coding on the web items, but not as much you have the flexibility on Report Designer.
But, Report designer will have more performance issues than WAD. So, generally it helps when you need extreme formating of your reports.
Hope this clears your doubt.
Regards,
Srinivas. -
Calling a java application from j2ee web application
Hi,
I have a j2ee application in which i am making a call to a jar file which is a java application.
Runtime a4 = Runtime.getRuntime();
Runtime a = Runtime.getRuntime();
String cmd[] = new String[14];
cmd[0] = "cmd";
cmd[1] = "/c";
cmd[2] = "start";
cmd[3] = "javaw";
cmd[4] = "-jar";
cmd[5] = CATALINA_HOME+"\\webapps\\AveksaTesting\\AveksaTestingJava\\dist\\AveksaTestingJava.jar";
cmd[6] = SERVER_TESTS;
cmd[7] = COLLECTOR_TESTS;
cmd[8] = SYSTEM_TESTS;
cmd[9] = CREATE_ORACLE;
cmd[10] = DB_NAME;
cmd[11] = DB_DUMP;
cmd[12] = email;
cmd[13] = isMIGRATE;
try{
java.lang.Process p = a.exec(cmd);
Now in the called java application, i am first shutting down the tomcat server by calling shutdown.bat script and then starting it using startup.bat. But the problem i am facing is when i restart the server from java application, it says address already in use(i.e. port 8445 on which tomcat is runninng).
Id i just call the java application and do the same operation it works fine. I guess when i am calling java from j2ee application, j2ee still has some threads holding java and not shutting down tomcat properly.
Can anyone suggest me what can be done in this case. I have to call a java application from j2ee and restart the tomcat server many times.
Thanks in advance
-VikramAnnoyingly crossposted.
http://forum.java.sun.com/thread.jspa?threadID=730657 -
LabVIEW 2011
Looking for ideas on how to debug an application that crashes only from within the executable.
Is there anything useful that this error report can be used for, thanks in advance.
#Date: Tue, Aug 23, 2011 3:10:18 PM
#OSName: Windows 7 Enterprise
#OSVers: 6.1
#OSBuild: 7600
#AppName: LabDAQ
#Version: 11.0 32-bit
#AppKind: AppLib
#AppModDate: 08/23/2011 18:59 GMT
#LabVIEW Base Address: 0x30000000
8/23/2011 3:10:48.331 PM
Crash 0x0: Crash caught by NIER
File Unknown(0) : Crash: Crash caught by NIER
minidump id: a1c0be18-ad05-4b09-b914-afe4a3073daf
ExceptionCode: 0xC0000005± N
0x3072C874 - lvrt <unknown> + 0
0x3072CC28 - lvrt <unknown> + 0
0x7C37FDB4 - MSVCR71 <unknown> + 0
0x77330DF7 - ntdll <unknown> + 0
0x772F9ED5 - ntdll <unknown> + 0
0x00000000 - <unknown> <unknown> + 0
Solved!
Go to Solution.I've been playing that game all morning
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice -
I loos my APPLE ID, Now I have a new one, how can get access to data stored in the old one?
Do you have the email & password of the old Apple ID?
-
Can I access my files stored in the hard disk connected to airport extreme when i am away? How?
You can't technically. iPads cannot directly read HDDs like a computer can.
You will need an app liie FileBrowser to do this. Of course all file operations will be done through the App itself.
https://itunes.apple.com/us/app/filebrowser-access-files-on/id364738545?mt=8
Maybe you are looking for
-
I have just downloaded Creative Cloud on a new computer. The new photoshop icons and text are too small for me to see or work with. I cannot seem to adjust this so its "useable"
-
[#|2008-09-17T07:32:06.973-0500|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.ejb.mdb|_ThreadID=58;|MDB00050: Message-driven bean [OAHMSTcpIpServer1:eaTCPIP_cmTcpIpServer_Service1]: Exception in creating message-driven ejb : [java.lang
-
*Runtime error: 91* (DM package)
Hi friends, i'm trying to run data manager package through a command button, macro i used is MNU_EDATA_RUNPACKAGE. But when i click on that system prompting with message Runtime error: 91 "Object variale or with block variable not set". Or other erro
-
Retry interval and no of retry for messages with status Automatic Retry
Hi, Can anyone explain how is the retry interval determined for messages which went into Automatic Retry mode? Also can we define retry interval and no. of retry for such messages? if yes where? Thanks in advance. Regards, Bharat
-
. is there a phone number i can contact someone for help.973 246-3835
need help in setting up my hp so that the printer can work from my laptop.