OC4J and WTP JDT-compiler

Hi.
Does anyone know about OC4J and JDT-compiler compatibility ?
If I don't mistake, OC4J works officially with JDK compiled classes.
What's about JDT compiled classes compatibility ?
Thx

Hello,
Correct me if I am wrong but JDT is the JSP compiler of Tomcat, that "transform the JSP in to a Servlet". Based on this statement, I do not think it will bepossible to use these classes in OC4J since Oracle has its own JSP/Servlet engine.
Regards
Tugdual Grall

Similar Messages

  • 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 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-

  • Java.io.IOException: JDT compilation error!

    Dear All,
    I am trying to deploy my ejb 3.0 jar application into Weblogic 10.3 server. I getting the following exception.
    An error occurred during activation of changes, please see the log for details.
    Exception preparing module: EJBModule(JDOL_DOLServerAdmin) Unable to deploy EJB: JDOL_DOLServerAdmin.jar from JDOL_DOLServerAdmin.jar: There are 1 nested errors: java.io.IOException: JDT compilation error! at
    weblogic.ejb.container.ejbc.CompilerForJDT.compile(CompilerForJDT.java:66) at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:357) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:552) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:519) at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:393) at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:715) at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:618) at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1154) at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:425) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    JDT compilation error!
    My working environment :
    Eclipse with Weblogic server 10.3 / XP
    Please help me to solve these issue.
    regards
    Muruganandam.n

    Maybe your EJB have static methods. Remove the 'static' modifier and retry.

  • 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.

  • OC4J and Oracle forms causes ie or firefox to not respond when running form

    When I run a form in Oracle Forms 10g, I have OC4J running, and have the following displayed:
    E:\Windows\system32>E:\DevSuiteHome_5\jdk\bin\java -Doracle.security.jazn.confi
    g=E:\DevSuiteHome_5\j2ee\DevSuite\config\jazn.xml -Doracle.home=E:\DevSuiteHome_
    5 -DORACLE_HOME=E:\DevSuiteHome_5 -jar E:\DevSuiteHome_5\j2ee\home\oc4j.jar -use
    rThreads -config E:\DevSuiteHome_5\j2ee\DevSuite\config\server.xml
    07/11/20 23:11:44 Warning: Error reading transaction-log file (/E:/DevSuiteHome_
    5/j2ee/DevSuite/persistence/transaction.state) for recovery: premature end of fi
    le
    07/11/20 23:11:44 Forced or abrupt (crash etc) server shutdown detected, startin
    g recovery process...
    07/11/20 23:11:44 Recovery completed, 0 connections committed and 0 rolled back.
    07/11/20 23:11:44 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    initialized
    07/11/20 23:18:10 FormsServlet init():
    configFileName: E:\DevSuiteHome_5/forms/server/formsweb.cfg
    testMode: false
    I am running vista, and have the latest version of the dev suite. Does anybody know how I can fix this problem?

    You cannot use Internet Explorer on Windows Vista to run Web Forms.
    <p>But you CAN run web forms through Netscape or Firefox. But you first need to disable Java in the browser.
    <p>And to run OC4J on Vista, you need to set its compatibility mode to Windows XP.
    <p>See my notes on OC4J and "Browser Settings" in this thread:<br>   
    Forms 10g installed and running on Windows Vista

  • Report display is different in report builder, local oc4j and app server

    Hi guys,
    we upgrade reports from sql report writer into report 10g. In the report 10g builder,
    the report format looks fine. but if i use the url as below
    http://applicationserver/reports/rwservlet?report=test.rdf&userid=username/password@service&desformat=pdf&destype=cache
    so the format will be mess up whatever i use this url in my local oc4j or i deployed it into 10g application server. and the format is different in oc4j and application server. Why this issue happend?
    Thanks in advance,
    Appcat

    Hello,
    They are a Fix Pack higher than you which may explain why it's broken on their server.
    Download the Fix Pack for R2 and see if you can duplicate the issue.
    Thank you
    Don

  • How to make OC4J and IIS on diffrent machines ?

    Hi,
    How to make OC4J and IIS running diffrent machines. following document tells use "standalone ONS daemon",Can anybody tell what standalone ONS daemon means and steps to be done to make IIS working on diffrent machine
    http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b25211/oc4jplugin.htm#i638738
    Thanks & Regards
    Vino joy

    sender,
    the quantize menu is in the top info box in the arrange.
    if you double click on it, an extended parameter box appears with a lot of quantizing options. also RTFM about this bit.
    in the sample editor, there is an audio quantize feature.
    but it is old, and probably hasn't been updated in ten years........try it, you
    'll prolly hate it.
    there is also a quantize audio/groove plug, in the special menu.
    it works....sorta.
    if you're talkin' drums, on seperate tracks, like kik on one, and snr on the next, etc., try strip silence to cut the loop/file up, then select same in the arrange trk and quantize this, as above. (info box).
    this does work well provided you know just where you want the feel to be.
    you could also try making a groove template of the original clip/loop and use this as a timing reference.
    this also works well if you can get a clean footprint of the audio.
    best,
    DR9

  • RoboHelp  for Word 7 is not saving the rtf and won't compile .hlp

    I use RoboHelp for Word 7 to produce WinHelp files. It's been working fine for several months on this computer.
    Just in the past week, I had an issue with my Word 2007 when trying to open a .doc file. I got the message that the converter nswrd632.wpc wasn't found. After searching on the Microsoft forums, I edited the registry and registered that converter.
    But now (and this may be unconnected to the Word converter message) RH won't save the .docx or .rtf file. Whenever I click Save All, nothing happens. When I click Exit Project, the message comes up about needing to save the files, and I click Yes to All. Nothing happens except the message closing. No files are saved and RH does not exit. The only way I can exit RH is to click No, which of course means my changes aren't saved. I can't save the .docx file through the Word menu, either.
    I also cannot compile the file. Again, no error message, just doesn't compile.
    I have searched the forums for RH for Word, with the result that I've reinstalled RH, made sure the RH add-ins are enabled, and deleted all the .dot files. Nothing is working. I went to Peter Grainge's Snippet 112 and followed the directions there--no change.
    I have found that after making my edits in the Word document, if I manually save the RTF file by going to the Word Save As directory, the edits will be saved and RH will compile the .hlp file - one time.
    Any ideas?

    Hi, I have a nearly identical problem, except my project uses .doc files instead of .rtf files. I was able to solve the "cannot save" problem by following the information below. I still have not resolved the "cannot compile" problem.
    I'm using Windows XP, RH7 Build 100, Office 2007. My project was created using Office 2003 and I did not experience any of these issues until I recently upgraded to Office 2007.
    This fix was sent to me by my group's "tech" guy.
    A number of Adobe RoboHelp for Word 7 users have reported that they cannot save changes or generate an output. The cause has been isolated to the RHComAdd.DLL being disabled.
    Check for that in Word:
    For versions up to 2003 go to Help | About | Disabled Items. If RHComAdd.DLL appears, re-enable it.
    For Word 2007, go to the Office Button | Word Options | Add-ins. Under "Manage" select Disabled Items and click Go. If RHComAdd.DLL appears, highlight it and re-enable it. (THIS IS WHAT I DID)
    Alternatively, you can re-register the DLL. Go to Start | Run and type in the following line, assuming you have installed RoboHelp to the default location.
    regsvr32 "C:\Program Files\Adobe\Adobe RoboHelp 7\RoboHELP\RHComAdd.dll"
    How does this DLL get disabled? The cause has been identified as a Word document being opened in Internet Explorer rather than in Word.
    This problem was fixed in Build 7.0.2.
    Hope this helps you. I'm still working on the compile error.
    -Shannon Mooney

  • How Standalone OC4J and the Oracle Application Server linked to each other

    Hi ,
    Please let me know what is the relation between a Standalone OC4J and the Oracle Application Server ?
    In my application The Oracle Application Server is installed in C drive and there is a Stand alone oC4j .
    Please tell me how they are linked to each other .
    Thank you .

    It depends on your need and what features and functionality of Oracle Application Server you are interested in. Note that OC4J is a component of Oracle Application Server that can run as a standalone component or within Oracle Application Server. Question #6 in earlier mentioned FAQ document states:
    OC4J standalone is J2EE 1.3 compatible (1.4 and 1.5 too in later releases of OC4J) and is able to be used in both development and small scale production environments. OC4J standalone provides its own inbuilt HTTP/S listener to allow clients to execute Web applications that it has deployed. Application deployment and server configuration of OC4J standalone is performed by the manual editing of a simple set of XML files.
    For large scale enterprise deployments, the Oracle Application Server product is likely to be more suitable with its comprehensive feature set including Oracle HTTP Server, process monitoring and management capabilities, and its configuration and management console.
    So if you are happy with what you see in standalone OC4J and scalability isn't an issue for you, you can stay with standalone OC4J and don't need to move to Oracle Application Server.
    PS: If you do decide to use OC4J that's embedded with Oracle Application Server, you can't move your standalone OC4J inside Oracle Application Server. You will have to reconfigure embedded OC4J again (as you might have done with standalone OC4J) and redeploy your applications.
    Hope this helps.
    Thanks
    Shail

  • Is the Lastest OC4J and AS9i work with oracle 8i ?

    Hi, a quick question:
    Is the lastest OC4J and Oracle AS9i works/compatible with Oracle 8i?

    Yes, you can use OC4J and Oracle9iAS with Oracle8i also.
    -Arun

  • [svn:fx-trunk] 16317: Adding mx/mx. swc to list of paths so arcade and zen will compile.

    Revision: 16317
    Revision: 16317
    Author:   [email protected]
    Date:     2010-05-25 14:40:09 -0700 (Tue, 25 May 2010)
    Log Message:
    Adding mx/mx.swc to list of paths so arcade and zen will compile.
    Modified Paths:
        flex/sdk/trunk/samples/themes/arcade/build.xml
        flex/sdk/trunk/samples/themes/zen/build.xml

    Gordon, it looks like its been a while since you made this post.  Not sure how valid it is now...   I am particularly interested in the LigatureLevel.NONE value.  It seems that it is no longer supported.
    How do I turn of ligatures in the font rendering?
    My flex project involves trying to match the font rendering of Apache's Batik rendering of SVG and ligatures have been turned off in that codebase.  Is there any way (even roundabout) to turn ligatures off in flash?
    Thanks,
    Om

  • Eclipse jdt compiler/tomcat

    Hi all,
    this question is for those familiar with the eclipse jdt compiler.
    Im my web application i'm trying to dynamically compile a java file that i'm saving in a dir under my webapps folder say "mydir"
    for the comipaltion i'm using the eclipse jdt compiler but to get it work i need to specify the classpath argument for the Main.compile() method to work.
    now what is the default classpath of tomcat server ?
    or saying it in other way what should be the classpath i should use as arguments in Main.compile() method of jdt ?
    thanking you.

    well let me explain this more :
    i'm using the following code for dynamic compilation :
    ByteArrayOutputStream baosMessages = new ByteArrayOutputStream();
              ByteArrayOutputStream baosWarnings = new ByteArrayOutputStream();
    StringBuffer warnings = new StringBuffer();
    String classpath ="";
    //           Start compilation using jdtcore
              boolean compilationStatus = org.eclipse.jdt.internal.compiler.batch.Main
                    .compile("-1.5 -source 1.5 -warn:" + warningSetting + " "
                 + classpath + file ,
                 new PrintWriter(baosMessages), new PrintWriter(
              baosWarnings));
    StringBuffer compilerMessages=new StringBuffer();
              long time1 = System.currentTimeMillis();
              public  void compile() throws Exception {
              BufferedReader br = new BufferedReader(new InputStreamReader(
                    new ByteArrayInputStream(baosMessages.toByteArray())));
              while (true) {
                 String str = br.readLine();
                 if (str == null) {
                    break;
                // this._logger.info("/javac/ " + str);
                 compilerMessages.append(str+"\n");
              BufferedReader brWarnings = new BufferedReader(
                    new InputStreamReader(new ByteArrayInputStream(baosWarnings
                 .toByteArray())));
              while (true) {
                 String str = brWarnings.readLine();
                 if (str == null) {
                    break;
                 //this._logger.warning("/javac/ " + str);
                 compilerMessages.append(str+"\n");
                 warnings.append(str+"\n");
              System.out.println(compilerMessages.toString()+"\n\n"+warnings.toString());
              System.out.println((time1 - time0) + " milliseconds, "
                    + (compilationStatus ? "success" : "failure"));
         }Now when i run the servlet containing above code the result of compilation tells me :
    No such directory : null
    i'm suspecting i'm missing the class path . is that true ?
    can u help ?

  • 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 login failure

    'Install' the embedded OC4J in JDev9i (<Jdev9i_HOME>\j2ee\home) and assign an administrative password of admin.
    Deployment from JDev9i works with no issue - URL uses port 8888.
    Problem is when shutdown machine and come back in I have to go back and reinstall the embedded OC4J. It seems to lose
    the fact that it was installed and had a password of admin.
    What gives - Thanks - Ken Cooper

    First of all i had the exact same problem for few weeks ago.
    I was advised to download the Oracle9iAS Containers for J2EE Standalone ( http://technet.oracle.com/software/products/ias/devuse.html )
    then make own oc4j directory and install this version. This will work!
    Note that if you work with bc4j you need to adjust your configuration
    according to this doc:
    http://otn.oracle.com/products/jdev/htdocs/bc4j9ioc4j.html
    and do the configuration manually.
    You will never have to reinstall oc4j and if for any reason the oc4j does not work properly, you can simply delete the oc4j directory and setup a clean one.
    succes!
    greetz jaime

Maybe you are looking for

  • Error in idoc of basic type artmas05 - status 51 with Message no. MG537

    Hi all,      I tried to upload the material master table through idoc creation of basic type artmas05. But when i'm trying to do that i'm getting status 51 with Message no. MG537. then I analysed the application log which displays the following *The

  • FCP (7.0.3) continually losing render files

    MacPro build 5,1; dual 2.66 6-core Xeons, 16 gig RAM, OS 10.6.8. This is more a request for speculation and enlightenment than a cry for help.  I have my opinions as to why its happening, but I'd appreciate any suggestions the greater minds in this f

  • Incopy cs 5.5 v Indesign cs6

    Hi, Recently I have upgraded my Design std cs5.5 to Design std cs6, but I have not upgraded my incopy version which is cs5.5. But now i cant open my indesign files in incopy cs5.5. My question  is whether i need to upgrade my incopy cs5.5 to cs6 to w

  • FCKEditor

    We have an application in which users enter data into five separate text boxes. We have two options - one page uses the FCKEditor, the other page uses the Textarea with HTML Editor. Otherwise they are exactly the same. We have the option because init

  • I can transcode my AVCHD files to DNxHD in Media Encoder, but when I ingest through Prelude, Media Encoder Fails.

    I am instructing students working on longer form projects to transcode their AVCHD material to Quicktime using the DNxHD codec (which is installed, and then preset loaded into Media Encoder). I am doing this since it is the suggested workflow in this