OC4J and FOP installation

Hi,
We would like to use the PDF printing of 3.0.1
I am trying to install FOP but I do not have any knowledge in OC4J and Java ... so I am kind a lost right now.
I am following the installation guide of OC4J standalone (http://download.oracle.com/docs/cd/B32110_01/web.1013/b28950/install.htm#BABIBGCA)
I was wondering :
1- do I need to install oc4j standalone in a separate Oracle Home ?
2- There is already an OC4J installed in my db Oracle Home , I guess for emdbconsole. So , I created a new directory called oc4j_sa and unzipped the file. When I start OC4J with oc4j -start , it does not give me the prompt back. Then , I can access the web page with port 8888 (192.168.0.21:8888) , but 192.168.0.21:8888/em fails . So I cannot deploy the FOP war file.
Any pointers or guidance would be great.
Thanks
Francis.
P.S. :
Oracle 10.1.0.5
Oracle Linux (RH 4)

OK, I finally got to the deployment of FOP but now it generates a corrupted PDF.
Are there any log files that I can check ?
I created a new Oracle_home for OC4J and ran "EM" to deploy FOP and everything worked like in the viewlet.
Now I did the setup in APEX and set the following :
Standard Support
Print Server Protocol HTTP
Print Server Host Address 192.168.0.21
Print Server Port 8888
Print Server Script /fop/apex_fop.jsp
I created a sample application to test. In a report , I added the print link.
When I clic Print, the pdf generated is corrupted and does not work.
Thanks
Francis.

Similar Messages

  • OC4J and FOP (Formatting Objects Processor)

    Hi,
    I have standalone OC4J and I deployed fop.war into it. But when i try access http://[hostname]:8888/fop/apex_fop.jsp i am getting error in logs:
    2007-10-04 10:42:53.799 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.jsp.provider.JspCompileException: <H3>Errors compiling:/opt/oracle/OC4J/j2ee/home/application-deployments/default/defaultWebApp/persistence/_pages/_fop/_fop/_apex__fop.java</H3><TABLE BORDER=1 WIDTH=100%><TR><TH ALIGN=CENTER>Line #</TH><TH ALIGN=CENTER>Error</TH></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>11</TD><TD> package org.apache.fop.apps does not exist
    import org.apache.fop.apps.Driver;
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>12</TD><TD> package org.apache.fop.apps does not exist
    import org.apache.fop.apps.Options;
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>89</TD><TD>[jsp src:line #:38]<br> cannot resolve symbol
    symbol : class Driver
    location: class fop.fop._apex__fop
    Driver driver = new Driver();
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>89</TD><TD>[jsp src:line #:38]<br> cannot resolve symbol
    symbol : class Driver
    location: class fop.fop._apex__fop
    Driver driver = new Driver();
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>92</TD><TD>[jsp src:line #:41]<br> cannot resolve symbol
    symbol : variable Driver
    location: class fop.fop._apex__fop
    driver.setRenderer(Driver.RENDER_PDF);
    </TD></TR></TABLE>
    Any ideas why this is happening?
    M

    Looks like the libraries or at least the Driver class used by FOP is not accessible.
    What's in fop.war -- it is fully self contained where the dependent libraries are in web-inf/lib or is it expecting them to be provided outside of the application?
    Where'd you get fop.war from, I can take a look and see.
    -steve-

  • OC4J and FOP

    Has anyone got FOP working on OC4J? I have compiled the FopServlet that comes with the download. It does not render a PDF just a blank webpage. Maybe someone else has seen this error?
    Thanks,
    Tom Henricksen

    Here's an excerpt from my j2ee/home/config/application.xml file which should give you some idea as to which jars to use
         <!-- XSQL Server Pages and Formatting Objects - PDF -->
         <library path="../../../lib/xsu12.jar" />
         <library path="../../../lib/oraclexsql.jar" />
         <library path="../../../lib/xsqlserializers.jar" />
         <library path="../../../lib/xmlparserv2.jar" />
         <library path="../../../../../../JLib/Apache/fop-0_16_0/fop.jar" />
         <library path="../../../../../../JLib/Apache/fop-0_16_0/lib/w3c.jar" />

  • OC4J and BC4J Runtime installation for Solaris (Unix)!

    We have successfully installed, configured and deployed JSP/BC4J apps using OC4J and BC4J on Windows NT/2000. However, our production environment is Solaris.
    We have installed OC4J on Solaris, with some difficulties. How/where is the installation process for the BC4J Runtime Installation? The download (bc4j-ojsp.zip) for this utility is Windows only.
    Is there a method or process to install BC4J Runtime on Unix? If not, we are stuck.
    We cannot use JServ (servlet limitations) and refuse to use OSE (to many issues).
    Any guidance or assistance would be greatly appreciated...
    JDeveloper 3.2.3
    iAS 1.0.2.2
    Solaris 8
    JDK 1.2.2_08 (Unix)
    Dean

    Stephan,
    I have located multiple "connections" files and will remove all but the default located in the OC4J classes directory. We have been developing with JDeveloper and it often created multiple connections files that appear when you "jar" project components.
    We also installed JDK1.2.2_008 and are using this. However, when I use the classpath method of starting OC4J, I receive numerous errors. Using the jar method, everything works, with the exception of BC4J apps. I'll have to look into the errors more.
    Thanks for the response. At least I know one other person (organization) is using this successfully. I hope to join the "success" crowd tomorrow!
    Thanks again...
    Dean

  • Seperate OBIEE installation and Weblogic Installation

    Hi,
    Our requirement is to setup the HA system in the Production for the OBIEE. We have Admin server as active-passive on the 2 OBIEE instances.
    We trying to setup the high availability of the Admin server as per the Oracle Enterprise Deployment guide. If I setup that and manually failover the Admin server the user cannot login if the Admin server is migrated to second application server.
    So our next option is to install the weblogic on the NAS shared storage and scale out the OBIEE components on the 2nd Application server so that Active-Passive Admin server can access the same settings on the shared storage. So the question is it possible to separate the weblogic and OBIEE installation directories separately in order to achieve high availability.
    Thanks:
    Apurv.

    The URL will be exactly the same as a Windows installation but will have your Unix server name. You will need to learn how to start and stop the OBIEE services and OC4J in Unix. This is pretty well documented on the Infrastructure Installation and Configuration Guide.

  • OBIEE and Solaris installation

    Hi,
    This is my first time doing install of OBIEE 10.1.3.4.1 on Solaris10 and all working fine using default OC4J basic install. However when I want to use JBOSS AS 4.3 instead of OC4J, I am having some issues and hoping someone can shed some light here.
    1. OBIEE was installed using 'oracle' user.
    2. JBOSS was installed using 'jboss' user.
    3. Deployed analytics.war to JBOSS - no problem.
    4. Deployed xmlpserver.war to JBOSS by extracting war files into xmlpserver.war directory, modified xmlpserver-server-config.xml to point to XMLP repository.
    5. Login to BIP ok.
    6. Trying to modify OBI Presentation service settings (eg. server name and port) but getting "Could not write to configuration file" error.
    Is this because OBIEE and JBOSS installation was done by two different users (therefore file access permission issue)? What is the best practice for installing OBIEE and J2EE app server in Solaris? Should it be installed by the same user or two different users but under the same group maybe? Any guidance will be greatly appreciated!
    Edited by: gommie on 08-Sep-2009 18:19

    Definitely sounds like a permissions issue.
    I couldn't vouch for best practice, but our installations were originally done two separate users (one for OBIEE, one for our app server, OAS) - but I changed it all to run under the same user as OBIEE.
    It makes controlling services easier, and it eliminates file permission problems like you're seeing.
    You could probably do it with putting both users in the same group and some umask magic to make sure files always have the same permissions for group as owner - but why bother if you can use the same user.
    We saw problems running under two users which probably could have been solved in the long run by understanding exactly how OBIEE and app server interact and working carefully with umasks etc -- but again, unless there's a really good reason to have separate users, why make extra work for yourself.
    I suppose if you were on a shared server and not the only application running on jboss I could see why separate users might be a better idea - but that's the only reason that springs to mind.
    ** caveat ** I'm not a unix sysadmin, I'm an app guy dabbling in unix - this advice may be wrong, it may in fact go against best practice. but it's worked for us so far :)
    BTW is there a reason you're not installing the latest version, 10.1.3.4.1?
    <edit>
    please don't [cross-post|http://forums.oracle.com/forums/message.jspa?messageID=3744343#3744343], IMHO - this could be a useful thread and having replies in two places dilutes its usefulness in the future
    </edit>
    Edited by: rnm1978 on 08-Sep-2009 07:33
    Edited by: rnm1978 on 08-Sep-2009 07:35

  • Standalone oc4j and oracle 9i database on the same windows xp machine

    I m trying to deploy my j2ee application in my local system using standalone oc4j container(Oracle Containers for J2EE 10g (10.1.3.1)).To configure OC4j,I had to mention ORACLE_HOME=d:\oc4j as a user defined env variable.after that the oc4j started running normally.then i installed oracle 9i database in the same system to use it as the database for the application.During installation it prompts that ORACLE_HOME is alredady set.However the installation completes successfully.But when i try opening sql plus,it throws and error asking to check oracle_home.Its only after changing oracle home to d:\oracle,that sql plus opened and i could log in to it.But after that oc4j would not run saying it cannot find relevant files.Is it not possible to have standalone oc4j and a database for a J2ee application on the same system.if its possible,how can we go ahead?Thanks in advance

    user549113,
    Problem with ORACLE_HOME has been discussed several times already in this forum. I suggest you search the forum archives for "ORACLE_HOME".
    Good Luck,
    Avi.

  • OC4J and ASG startup  on Linux RHEL

    OC4J and ASG on Linux RHEL
    As we are trying to get R12 up and running under linux we are facing some problems. The installation failed at the startup page
    As far as I know you should set up linux to start up the Oracle services manually which I managed for the Database and HTTP server.
    However, I can not find how I should get up the OC4J and ASG
    Can anybody tell me how I should do this ?
    Regards,
    Richard

    Hi,
    Thank you for your reply, mean while I found this but got the error I mentioned in :]
    How to start servers after reboot ?
    Any idea ?

  • I have installed the agent 10 or 15 times and one installation hasfailed, no error appeared during the installation but I am havinginconsistent issues with my ethernet card not working here and there. Werebooted and can log into Novell client but th

    I have installed the agent 10 or 15 times and one installation has failed, no error appeared during the installation but I am having inconsistent issues with my ethernet card not working here and there. We rebooted and can log into Novell client but the login prompt did not appear for ESM client or the icon was not in the systray. Everything seems to work, besides at times (a couple times today) it terminates his ethernet card/connection. I would re-image his computer but he has several applications and it would take several hours, so I am hoping someone has an idea to fix this issue. So I was trying to figure out why he did not get the prompt to login and why it's not in the systray and it appears to not have completed the install? I checked the add/remove programs, its not listed within their, I also checked the registry and found nothing for endpoint within their, but the files are within c:\program files\novell\zenworks endpoint security.
    I have also tried uninstalling it but that fails due to it "not being installed", and it will not reinstall over itself either.
    I did notice that stuninstdrv.exe is running in task manager. Any help would be great...
    Windows xp sp3
    ESM 3.5.154
    Thanks,
    Andy

    If you are searching the registry, check for the "Senforce" string. It should be at HKLM\Software\Senforce
    Try running the install program for the ZSC with the following command line:
    setup.exe /V"STUNINSTALL=1"
    If you've specified an uninstall password, try this one instead:
    setup.exe /V"STUNINSTALL=1 STUIP=password"" (please note the double quote at the end)
    Let me know if that helped you.
    Daniel
    >>>
    From: Andy_DeWees<[email protected] du>
    To:novell.support.zenworks.endpoint-security-management
    Date: 2/5/2009 12:52 PM
    Subject: I have installed the agent 10 or 15 times and one installation hasfailed, no error appeared during the installation but I am havinginconsistent issues with my ethernet card not working here and there. Werebooted and can log into Novell client but the login prompt did not appearfor ESM client or the icon was not in the systray. Everything seems towork, besides at times (a couple times today) it terminates his ethernetcard/connection. I would re-image his computer but he has severalapplications and
    I have installed the agent 10 or 15 times and one installation has failed, no error appeared during the installation but I am having inconsistent issues with my ethernet card not working here and there. We rebooted and can log into Novell client but the login prompt did not appear for ESM client or the icon was not in the systray. Everything seems to work, besides at times (a couple times today) it terminates his ethernet card/connection. I would re-image his computer but he has several applications and it would take several hours, so I am hoping someone has an idea to fix this issue. So I was trying to figure out why he did not get the prompt to login and why it's not in the systray and it appears to not have completed the install? I checked the add/remove programs, its not listed within their, I also checked the registry and found nothing for endpoint within their, but the files are within c:\program files\novell\zenworks endpoint security.
    I have also tried uninstalling it but that fails due to it "not being installed", and it will not reinstall over itself either.
    I did notice that stuninstdrv.exe is running in task manager. Any help would be great...
    Windows xp sp3
    ESM 3.5.154
    Thanks,
    Andy

  • Home Environmen​t - How to set up Update Retriever (UR) and Thin Installer (TI) in a home environmen​t

    Serenityvalley wrote:
    You need to go to This Page and download just about everything on it -espeically the  System Update Deployment Guide and start reading.  It'll take you a few hours to learn what you need to do and implement it if you are familar with editing system registeries and you have some luck and everything goes well.
    You do NOT need to edit registry, just use Thin Installer instead of System Update on the clients. And there is no need to wade thru the deployment guide if you are setting this up in a home environment for just one or two clients.
    Edit: Note that Thin Installer does not run on Vista SP2 (neither does System Update.)
    Here are the few simple things you have to do:
    1. Download Update Retriever (UR) and Thin Installer (TI) from here.
    2. Install UR on one pc and TI on all clients you want to keep updated. UR installs into the Start -- All Programs -- Thinkvantage folder, TI installs into c:\program files\thininstaller.
    3. To initialize Update Retriever:
    a) specify the download folder, pick a place all clients can access. Create a new folder, TI will be confused if there is other stuff in it.
    b) change the settings to Severity -- Optional (assuming you want to see critical, recommended and optional downloads in the list), License -- Do not display and Status -- Active. After clicking next you enter the machine type, the op system and its language for each client you need to keep updated. Note that unless you change status to active everything will download as "test" and thus not be installed by the Thin Installer.
    4. Run the download, about 1 - 1.5GB for the first type, opsys and language combination  and an additional 0.5 - 1GB for each additional type depending on amount of overlap. You can be selective what you download but if you are an average home user -- just download all the items for your type/opsys/language combination(s) -- Thin Installer is a stripped down version of System Update and will decide what to install on the individual client. This is a one-time download, next time you run Update Retriever it will just download new drivers.
    5. To initialize TI on each client, copy the program from the Program Files directory and paste a shortcut to the desktop. Then rightclick on the shortcut and choose Properties, and in the target field of the shortcut tab after "C:\Program Files\ThinInstaller\ThinInstaller.exe" add the following: -repository your_UR_download_directory.
    6. Run the Thin installer on each client, it will perform exactly as System Update did, down to making the same mistakes that System Update did.
    7. As the date is getting close when Windows Update will start distributing Vista SP2 you may want to consider using Microsoft's SPBlockerTools preventing SP2 installation for up to 12 months.
    8. Debugging Tips
    TI ending with message An error occurred while gathering user information is reported when running under Vista SP2 -- TI will not run in SP2. 
    Getting TI to "see" the database downloaded by UR is the main problem. If TI ends with a message saying corrupt or not found database you probably made a spelling mistake in the directory specified in the -repository parameter. If TI ends with a message saying no applicable packages to install it can mean a number of things:
    a) If you are unused to modifying the parameters in a shortcut you may have added -repository to the second field in the shortcut tab instead of the top field labeled Target, the two fields look very similar or you just made a typo in "-repository".
    b) Open UR again and first choose Modify settings on the left and double check that the directory there is the same directory you specified in -repository. Then choose Manage repository -- Update view and double check that all packages have status Active. If they don't it's not necessary to download again, just select all and hit the modify button to change status from Test to Active.
    c) In C:\Program Files\ThinInstaller\logs there are update logs from TI. Open one using Notepad and in edit menu search for the string
    Message: 'Share name' to use:
    This will tell you in which directory TI is searching for the updates. If it can't find a -repository parameter it uses an empty default databse
    d) If you used System Update regularly up to when it stopped working on April 1 and if you have an older model with not so many new driver updates it may actually happen that there are no new updates for your machine (even though you downloaded a lot.) Go to here and enter all fields except model to see what Lenovo shipped after April 1. (Don't click on driver matrices, staying on the downloads and drivers pages will give you a list in chronological order with the ones after April 1 at the top.)  Also  be aware that the database UR downloads from is at least 2 weeks behind when the drivers first become available on the web. Right now, the only new download in the database  applicable to most notebooks after April 1 is the Access Connections 5.22 driver. To check what release you have installed open Access Connections and go to help.
    I just did a clean install of a Vista64 system on my T500 and after installing the first few drivers manually (including drivers for harddisk and ethernet) let Thin Installer install the remaining 36 items for me. The only item left to fix was the known bug in the Ricoh 4 in 1 card driver SU installation. (For a clean install you need to run TI or SU more than once, it doesn't find all drivers the first time.)
    Message Edited by JaneL on 05-08-2009 10:30 PM
    Message Edited by zilla on 2009-05-28 12:48 PM
    T500: Vista 32, 2.8GHz, 4GB RAM, 15.4" 1680x1050, 500GB 7200rpm, ATI Radeon HD3650 + Intel 4500MHD. T42: XP, 1.7GHz, 2GB RAM, 14.1" 1024x768, 250GB PATA, ATI Radeon 7500.

    koolzero wrote:
    When I start TI after I pointed it to my repository I get a message that no packages applicable were found.  I did not download all the updates just a few to test it, will it not work unless all updates are downloaded?
    Did you change status from test to active in UR before downloading? If not you can change the downloaded items in the manage repository menu.
    Assuming the items you did download were not already installed on your client with TI it should work.
    Message Edited by zilla on 2009-05-06 10:23 PM
    T500: Vista 32, 2.8GHz, 4GB RAM, 15.4" 1680x1050, 500GB 7200rpm, ATI Radeon HD3650 + Intel 4500MHD. T42: XP, 1.7GHz, 2GB RAM, 14.1" 1024x768, 250GB PATA, ATI Radeon 7500.

  • HT201628 can someone please help .. my ipod is not recognized by itunes in windows XP .. i've uninstalled and re-installe i tunes about 10 times now to no avail ?? thank you .. dave

    can someone please help .. my ipod is not recognized by itunes in windows XP .. i've uninstalled and re-installe i tunes about 10 times now to no avail ?? thank you .. dave

    Start here:
    iOS: Device not recognized in iTunes for Windows

  • HT5037 I still get the message to download the app, but I did, and the installation was allegedly successful.  This even happens after a reboot

    I still get the message to download the app, but I did, and the installation was allegedly successful.  This even happens after a reboot

    I guess that was a bit cryptic.  I'm trying to update iPhoto from system 10.5.6, a PowerPC system, to 10.8.  The app I downloaded is iPhotoLibraryUpgrader.dmg. I open that and I see Iphoto Library Upgrader.pkg.  Igo through the install, which says it completes successfully.  However, when I double-click on the iPhoto icon on the dock, I get the oroginal message that the upgrade must be installed.  I hope this gives enough information to diagnose the problem.  I apologize for the first message's laack of detail.

  • Unable to install Adobe Digital Reader 3.0. Keep receiving error message "migration has stopped working" and then installation fails.

    Every time I try to install Adobe Digital Reader 3.0 I get an error message "migration has stopped working" and the installation fails. Is there a solution to this?

    Trying to install. Installation fails and I am unable to open it to migrate
    epub books to transfer to ereader
    In a message dated 8/31/2014 9:50:51 A.M. Eastern Daylight Time, 
    [email protected] writes:
    Unable  to install Adobe Digital Reader 3.0. Keep receiving error message 
    "migration has stopped working" and then installation fails.
    created by kglad (https://forums.adobe.com/people/kglad)  in 
    Downloading, Installing, Setting Up - View the full  discussion
    (https://forums.adobe.com/message/6688648#6688648)

  • Something happened and your installation of Windows 8.1 couldn't be completed

    I have a brand new Acer with Win 8 installed. I've removed McAfee. Other than that the machine is as delivered.
    Trying to download 8.1 and install it from the store. It sits there for a couple of minutes then says:
    Your Windows 8.1 installation couldn't be completed
    Something happened and the installation of Windows 8.1 can't be completed.
    Now apart from this being really annoying could anyone have come up with a less useful message?
    I have tried it several times. I've run the compatibility util and it passes. I've tried the store without logging in, then tried the store with logging in.
    I've tried it in Firefox, tried it in IE.
    Same result every time.

    OK, so I posted 2 days ago about this issue, and I resolved it yesterday.  I essentially performed a "refresh" under Windows 8, which removed a lot of the updates and applications that could be potential issues.
    I then had to go to the Sony website to re-install the latest drivers, SW and driver patches related to my Vaio Duo (I had already updated the firmware and Bios -- necessary to install Windows 8.1--).  I then had to re-install all Windows 8 updates,
    and magically, the Windows 8.1 update started to download when I clicked on it in the Windows Marketplace.  I do not know what was the source of the problem, but the refresh definitely got rid of it.  It is a long process however as a lot has to
    be reinstalled to bring the refreshed system to its full functionality with the latest manufacturer and Microsoft updates for Windows 8.
    I can't see how a non-technical user could perform all these steps to upgrade a recent tablet to Windows 8.1!
    Good luck!
    Olivier

  • I want to do a clean install of Windows 7 Pro on my computer and my installation of Adobe Design Premium CS3 is not functioning. I cannot start it to get in and deactivate the Creative Suite installation.

    I need help with deactivation.
    I want to do a clean install of Windows 7 Pro on my computer and my installation of Adobe Design Premium CS3 is not functioning. I cannot start it to get in and deactivate the Creative Suite installation.

    if you're using the same computer hardware to reinstall your cs3, you don't need to deactivate first.
    but if there's a significant hardware change you can ask adobe support for an activation count reset. contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html

Maybe you are looking for