Setup an application context on your application server to host a web appli

Hi,
does anybody know where I can find  the following article:
http://support.businessobjects.com/library/kbase/articles/c2016911.asp
the link is wrong!
It is a referencre within schedule_webi_now.zip
A Java Server Pages (JSP) sample which demonstrates how to schedule a Web Intelligence Document to run now.
Thanks  in advance
Astrid

Here ya go:
Symptom
How do you configure a Web Application Archive (WAR) file for a Java 2 Enterprise Edition (J2EE) application that uses the BusinessObjects Enterprise XI Java SDK?
Resolution
To configure a WAR file for a J2EE application that uses the BusinessObjects Enterprise XI Java SDK follow these steps:
====================
NOTES:
The following instructions also apply to Crystal Reports Server XI that is shipped with Crystal Reports XI Developer Edition.
The following instructions are for both the Windows and UNIX operating systems.
====================
1. In the WAR file's WEB-INF folder, create a lib folder.
2. Copy the Enterprise XI Java SDK JAR files from the appropriate location below to the WAR file's WEB-INF\lib folder:
Windows:
...\Program Files\Common Files\Business Objects\3.0\java\lib
UNIX:
<businessobjects_root>/java/lib
3. Copy the log4j.jar file from the appropriate location below to the WAR file's WEB-INF\lib folder:
Windows:
...\Program Files\Common Files\Business Objects\3.0\java\lib\external
UNIX:
<businessobjects_root>/java/lib/external
4. Copy the entire crystalreportviewers11 folder from the appropriate location below to the WAR file's root folder.
Windows:
...\Program Files\Common Files\Business Objects\3.0
UNIX:
<businessobjects_root>/java
5. Open the web.xml file located in the WAR file's WEB-INF folder.
6. Specify the location of the utility files used by the report viewers contained in the crystalreportviewers11 folder by inserting the following code below the <display-name> and <description> tags but within the <webapp> tag definition:
<!-- Context Param -->
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>crystalreportviewers11</param-value>
</context-param>
<!-- Context Param End -->
7. Deploy the WAR file to your J2EE application server.
You are now able to run an application that uses the BusinessObjects Enterprise XI Java SDK on a J2EE web application server.
Jason

Similar Messages

  • Application Server 8.2 + Axis Web Service Client +Win Server 2003 Issue

    Hi everyone,
    I'm facing a weird problem the last couples of days and I'm getting bored of banging my head against the logs/screen, so please if you could help I'd really appreciate it.
    I'm working on a Sun Application Server 8.2 project that includes an axis web service client. I am using Netbeans 5 to do the writing plus I am on a Win XP platform.
    The developers of the web service I intend to absorb were kind enough to package the client into a jar so all I have to do is to import the client and the axis related jar files (axis, axis-ant etc.) in my project and my classpath.
    Everything is working perfect on my pc but when I deploy the project on my actual server the web service client is running forever, leaving my end users with a blank browser window that is also loading forever.
    The server OS is Win Server 2003 and is directly connected to a gateway - no proxies. Also my development pc and my server are running the same jre and have the exact server police settings; but Sun's Application Server is running on port 8080 on my pc whereas on my server it's running on port 80.
    Here's my server's log:
    [#|2008-04-14T21:50:01.795+0300|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=14;|StandardWrapperValve[obos]: Servlet.service() for servlet obos threw exception
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (0)null
    faultActor:
    faultNode:
    faultDetail:
         {}:return code: 0
         {http://xml.apache.org/axis/}HttpErrorCode:0
    (0)null
         at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at uk.ac.ebi.ook.web.services.OntologyQuerySoapBindingStub.getOntologyNames(OntologyQuerySoapBindingStub.java:509)
         at org.dude.ols.client.obos.processRequest(obos.java:30)
         at org.dude.ols.client.obos.doGet(obos.java:64)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    |#]
    Any ideas?

    Hi Paz,
    Thanks for taking the time :)
    To answer your questions:
    1. Has this WebServices ever worked or is this the first time?
    The web service is working perfectly fine on my working station, the problem appears only when I deploy it on my actual server, which means that the web service is working.
    2. What Apache Axis Version are you using?
    1.4
    3. What JRE version are you using?
    Both my development pc and my server run jre 1.5.0_14
    4. In the actual server environment, can you confirm all information are exactly same as DEV environment...
    Oh yes! Absolutely.
    My recent assumption is that some windows service might be needed to run the web service client and obviously I have no clue which one it might be.
    Just to make sure; is the security policy of my Application Server set correctly?
         permission java.lang.RuntimePermission     "getClassLoader";
         permission java.lang.RuntimePermission "createClassLoader";
         permission java.lang.RuntimePermission "loadLibrary.*";
         permission java.lang.RuntimePermission "queuePrintJob";
         permission java.net.SocketPermission "*", "connect,accept,resolve";
         permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
    // work-around for pointbase bug 4864405
    permission java.io.FilePermission "${com.sun.aas.instanceRoot}${/}lib${/}databases${/}-", "delete";
    permission java.io.FilePermission "${java.io.tmpdir}${/}-", "delete";
         permission java.util.PropertyPermission "*", "read,write";
         permission java.lang.RuntimePermission     "modifyThreadGroup";
    Again thanks for taking the time :)

  • JAAS + Sun Application Server 9 + Enterprise app Web Module

    Hi!
    I've got a little problem with JAAS in enterprise application (with web module): i've configured SAS 9.0 with my custom security realm. I've 2 classes - one extends AppservPasswordLoginModule and the other one extends AppservRealm. In app-server-domain-dir/config/login.conf i've configured my login module. In SAS -> configuration -> Security -> Realm i've added new entry for my realm (and provide it with my realm class name).
    In configuration of my enterprise application (sun-application.xml) i've a security realm and roles configured.
    Now: everything works fine, if the authentication to my application is done by a jsp file with:
    <form action="j_security_check">
    <input type="text" name="j_username">
    <input type="password" name="j_password">
    </form>
    But i need to implement authentication in a servlet, so i've done this (in servlet):
    LoginContext lc = new LoginContext( NAME, new WebCallbackHandler(username, password);
    lc.login();
    Problem is: if i specify NAME as a name form domain-dir/config/login.config it throws an exception: LoginException: No credentials.
    If i specify NAME as a name from SAS configuration -> security -> realm name, it throws an exception: LoginException: No LoginModules
    Now i'm really confused... anyone has an idea?
    Thanks!

    Hi!
    I've got a little problem with JAAS in enterprise application (with web module): i've configured SAS 9.0 with my custom security realm. I've 2 classes - one extends AppservPasswordLoginModule and the other one extends AppservRealm. In app-server-domain-dir/config/login.conf i've configured my login module. In SAS -> configuration -> Security -> Realm i've added new entry for my realm (and provide it with my realm class name).
    In configuration of my enterprise application (sun-application.xml) i've a security realm and roles configured.
    Now: everything works fine, if the authentication to my application is done by a jsp file with:
    <form action="j_security_check">
    <input type="text" name="j_username">
    <input type="password" name="j_password">
    </form>
    But i need to implement authentication in a servlet, so i've done this (in servlet):
    LoginContext lc = new LoginContext( NAME, new WebCallbackHandler(username, password);
    lc.login();
    Problem is: if i specify NAME as a name form domain-dir/config/login.config it throws an exception: LoginException: No credentials.
    If i specify NAME as a name from SAS configuration -> security -> realm name, it throws an exception: LoginException: No LoginModules
    Now i'm really confused... anyone has an idea?
    Thanks!

  • APEX Listener versus classic Application Server

    Currently we use the APEX Listener with the stand-alone configuration to access the URL af an APEX application.
    This might not be a suitable situation for a production environment.
    In a short, here are the (possible) requirements:
    - Sessions must be able to access at the same time the same APEX application and page.
    Let's say 500 users should be able to access it with no trouble.
    - If there are some pages accessed very frequently, they should be cached (how?) without having to request them all the time from the database.
    - If more than 500 users are accessing the application, to avoid latency, there should be a "mechanism" to make them "waiting" until the allowed amount of concurrent sessions is below 500, and without impacting (or with low impact) of other working sessions.
    I have little knowledge of middle ware environment, but this seems to me specifications for an application server and or a web server.
    Hera are my questions:
    1) Is it possible to implement such above mechanism with the APEX Listener?
    2) If not possible, what should I consider?
    Thanks by advance for sharing your experience.
    Kind Regards.

    user8058501 wrote:
    Currently we use the APEX Listener with the stand-alone configuration to access the URL af an APEX application.
    This might not be a suitable situation for a production environment.
    Standalone mode is not supported for production environments, see here for why:
    https://cdivilly.wordpress.com/2013/03/11/oracle-application-express-listener-standalone-mode/
    In a short, here are the (possible) requirements:
    - Sessions must be able to access at the same time the same APEX application and page.
    Let's say 500 users should be able to access it with no trouble.
    - If there are some pages accessed very frequently, they should be cached (how?) without having to request them all the time from the database.
    - If more than 500 users are accessing the application, to avoid latency, there should be a "mechanism" to make them "waiting" until the allowed amount of concurrent sessions is below 500, and without impacting (or with low impact) of other working sessions.
    I have little knowledge of middle ware environment, but this seems to me specifications for an application server and or a web server.
    Hera are my questions:
    1) Is it possible to implement such above mechanism with the APEX Listener?
    2) If not possible, what should I consider?
    Essentially you are asking how do I tune the number of database connections and also how do I tune the number of HTTP request handling threads.
    The former is controlled via the Listener configuration files, specifying the size of the connection pool etc, if you look at the configuration file or use the SQL Developer Listener admin tool the settings are pretty self explanatory, the latter is controlled by the application server, see below for WebLogic documentation on this:
    http://docs.oracle.com/cd/E24329_01/web.1211/e24390/wls_tuning.htm#i1142745
    Thanks by advance for sharing your experience.
    Kind Regards.

  • Sun java system application server 8 custom realm lock the admin console up

    Hi:
    I implemented a custome realm. After I installed the custom realm to Sun App server 8 PE, I can get into the admin console any more. According to the log, the user is authenticated. However, this user isn't in write group to access the admin console. What would be the user group in a custom realm to access admin console?
    In version 7, even you set up custom realm the admin console still not affected by the custom realm. Why is the admin console in version 8 picking up custom realm?
    Thanks.

    Previous reply was quite misleading - there is no such thing as default admin password for standalone installation of Application Server. Default values only apply to Application Server installation installed through Creator or NetBeans installer.
    Otherwise, you have to specify admin user name and password at installation time. Admin username value is defaulted to "admin" so unless you changed it in your installation that should still apply. You had to enter explicit password values.
    If you forgot those, you can either uninstall and reinstall or you can take a look at Troubleshooting Guide for instructions on reseting admin authentication:
    http://docs.sun.com/source/817-6085/troubleshooting.html#1026910

  • Oracle Application Server

    1) I understand that Oracle Application Server (OAS) is no longer supported by Oracle. Oracle 9i Application Server (9iAS) has replaced OAS. Is this correct info?
    2) We have Oracle Application (ERP) running on database 8.1.7 in 1 unix box. We are creating a web application. If possible we would like to use the same unix box. The web server should be Oracle. Should it be Oracle 9i Application Server? If the web server and database server are on different unix box, can we use the same login table(s) and access control set up in the ERP application for our web application?
    3) Forms, report and graphic will be developed using Developer 2000 and deploy to the web server. Is this the right way?
    Appreciate your help to answer my questions. Read up the forum but somehow it confuses me. I'm new to Oracle web development.

    1) I think you are correct, I never used OAS but Oracle replaced it with 9iAS.
    2) Not sure.
    3) It would be better to develop with Oracle Internet Developer Suite (iDS) It carry Forms and Reports (9i) Developer versions with it. This family of products are designed to develop apps for 9iAS.
    Thanks for your reply.
    My understanding is Oracle 9iAS Release 1 carry Forms, Report & Graphs (6i) developer version with it. And 9iAS Release 2 carry Forms, Report & Graphs (9i) developer version with it. Is this the correct understanding?
    Was wondering if there is any way to have Devloper 9i on 9iAS Release 1.

  • Application Server 10g r2 (Replication)

    Hello All,
    We are planning to migrate from single instance DB to RAC in a few days, As far as my DB server is concerned once oracle clusterware is installed and configured my DB should failover to next node in case of any failures, but how do i make sure Middle Tier including my Application files is also available in such cases, how do i replicate Application server including Application files ? Please see details as below :
    Current setup :
    Oracle Application Server 10g - 10.1.2.0.2
    OS - Windows 2003 R2 Enterprise Edition (32 - bit)
    Target Setup :
    Oracle Application Server 10g - ?? What version should be needed for my target setup, please provide link if possible and does it support target OS.
    OS - Windows 2008 R2 (64 - bit)
    Please let me know if further information is needed with respect to above request .
    Thanks
    Ali

    Hi,
    So this means to have a spare machine for middletier always. Or for my case i could just install OAS on both nodes (standalones at the moment) and then start with RAC setup, Iam not getting the order at all. We have two new servers with Win 2008 r2 64-bit for the target setup here is our current setup :
    DB server on server 1 with win 2003 r2 32-bit
    APPLICATION SERVER 10G on server 2 with 2003 r2 32-bit
    Target setup has 2 new servers with OS installed and is expected as follows :
    DB server with OAS on node1 with win 2008 r2 64-bit
    DB server with OAS on node2 with win 2008 r2 64-bit
    These nodes will be interconnected to achieve Oracle RAC setup. But how do i do all this. Is following sequence right :
    a) Setup OAS on standalone server 1
    b) Setup OAS on standalone server 2
    c) Or clone a) to b)
    d) Setup oracle cluster
    e) install DB server and restore.
    Thanks

  • Adding Application Server

    I couldn't find any resources on Google.... so please advise if possible :)
    Given a farm with only one application server, I know that if that server goes down, Central Administration is not accessible. If I wanted to make that tier safer, would it be advised to join a second application server to the farm? If so, how would I make
    it so that if the first application server went down, the second one can still have a CA instance?
    Thank you so much :) 

    Yes you can add a second application server to host the CA for high availiability. You have to start the Central Administration service on the second application server (and other services running on your first app server since you plan
    for high availiability) and you might want to configure the alternate access mapping accordingly.
    You can read more info here: http://www.harbar.net/articles/spca.aspx

  • Servler without application server

    Hello,
    Can I use a Servlet without application server and only with web server?
    I`m working in UNIX and Netscape web server.

    Yes - you only need a servlet engine to work with your webserver - you don't need a full-blown app server. Try Tomcat:
    http://jakarta.apache.org/
    Which already has its own "built in" servlet support (and it's free!!)

  • Acessing Forms Services using 10g Application Server

    im using the 10.1.2.0.2 version of oracle application server to host a 10g forms application. The old way of accessing forms (through the development sever of forms developer) was "http://<hostname>:<port>/forms90/f90servlet"... does that work the same way in forms application server? If not, which files do I need to configure and how do I get to the forms servlet? I usually adjust the formsweb.cfg file and use the regular link, but since this is my first time setting up an application server, im a little confused. Anyone know? Thanks!
    Mo

    By the looks of it you used 9i which also used an Application Server so your knowledge should be up to date. The Default URL has changed a little as has the port. Look in the installation guide for the default URL and port.
    If you mena the development side you can use the one-button-run functionality which makes it possible to run am form without the full App Server just by hitting the run button in the builder. You do need to start the local OC4J but that is easy. On Windows there is a start menu item to do that. On Linux you run a shell script I think.

  • Does JMS Requires a Application Server ?

    Hello,
    I came to know that JMS requires JMS Provider and JNDI Provider. I hope we need a Application server to host these providers. Or can i run JMS wihtout using Application Server ?
    Thanks n regds
    Raghu

    You can use JMS independently from an application
    server. For example you can have a look at ActiveMQ,
    ArjunaMS, Sonic, Fiorano or Switch.MQI am sure Arnaud meant Swift MQ instead of Switch MQ. While your looking you could also consider our own offering, Nirvana. We have just released a new version.See http://www.my-channels.com/ for details.
    Paul

  • Where is the binary data of this icon stored and retrieved from Application server?

    Hello guys,
    Today I observed one phenomenon and could not explain it per my knowledge.
    I have one url which points to an icon in application server:
    https://<host name>:44301/sap/public/bc/ur/nw5/themes/sap_corbu/common/libs/Icon/SuccessMessage.gif
    I could successfully open it via chrome:
    and after that I could see an entry in ICM server cache. Everything works perfectly.
    Then I tried to check this icon in mime browser in SE80. To my surprise, the folder /sap/public/bc/ur/nw5/themes is empty.
    However, the ICM cache shows that there is a subfolder called "sap_corbu" under "themes" folder. But why I cannot find it in mime browser?
    Then I write a report to retrieve the binary data of icon via CL_HTTP_CLIENT, and clear the ICM buffer via tcode SMICM.
    I expect this time some database table will be queried to load the content of the icon, since now the buffer is not available.
    To my surprise again, in SAT no database table is involved.
    So now I am confused: since I have already cleared the ICM server cache, where does the icon binary data come from when I run the report to access the icon?
    Best regards,
    Jerry

    Hello guys,
    one colleague today told me that there is a zip file "ur_mimes_nw7.zip" in MIME repository /PUBLIC/BC/UR/ur_mines_nw7.zip. I download it locally and unzip it and indeed find many theme folders including sap_corbu folder and its resource files. So I guess there must be some logic done in web application server which will unzip this archive file and put each theme folder to the corresponding folders in application server. I would assume those logic are done outside ABAP stack side, this is the reason I cannot find any hint of them in ABAP backend via tcode SAT even I clear both client and server side cache.
    Best regards,
    Jerry

  • Not able to change password in SAP WEB application server for BI 7 EHP 1.

    Hi all,
    I'm currently upgrading from BW 3.5 to BI 7 EHP 1.
    When logging to SAP WEB application server to execute a WEB report, it's not possible to change password. Even when a initial password has been set, the user are not forced or able to change it.
    Also to logon dialogue is more like a Windows pop-up than the Web based in 3.5.
    Anyone having a clue?
    Best regards
    Kent

    Hi Eriki,
    My problem is related to the WEB application server (WAS), not the Netweaver Portal.
    BR
    Kent

  • The application server is getting down

    Hi all,
    Installed demo of FSCM9.1 on windows-2008R2.The machine has also a system DB of the same FSCM9.1.All the three components are on the same machine.Configured application server(with large template),web server.Iam able to login to PIA successfully.But, after few minutes iam automatically signed off when iam accessing the application and iam getting the error"The application server is down".I want to tell you that my PT was on 8.51.08 before installing the demo database i.e.My PT was patched soon after the installation of system DB.So, my doubt is that whether i have to run some scripts from the patch document on the Demo DB installation?Pls help.Thanks in advance.

    Hi all,
    I got this fixed.The action plan was to use a different web profile other than the default(PROD) during the installation of PIA.

  • Benefits of Application Server over Web Server

    Hi
    I know it is very basic, but I would like to pose a question, and would really appreciate answers with some statistics and experience.
    I want to know what are the benefits of using application server over the traditional web servers.
    If I am using Tomcat with Apache, what should be my driving force to move from the current architecture, to an architecture involving web server as well as application servers.
    I would really appreciate some intelligent answers in this regards.
    TaR
    Aruneesh

    I liked that explaination for the app server.
    Since I got seem feedback to my question, I would try to broaden the scope of the question, to understand better.
    Currently I use tomcat in sync with Apache to handle the JSP calls.
    I havent had the chance to work on EJBs, messaging stuff like you described.
    I want to know what extra does one get out of those components.
    Even if there provide extra benefits, what is the reason that you need an full blown application server like JRun, JBoss, WebSphere instead of Tomcat.
    Please bear with my ignorance on this issue.
    TaR
    Aruneesh

Maybe you are looking for