When i'm deploying ADF App in JBOSS 7.1.1.Final AppServer it gives me the following in JDeveloper 11g release 2 (18.104.22.168.0):
[02:53:17 PM] Target platform is (JBoss 5.x).
[02:53:17 PM] Running dependency analysis...
[02:53:17 PM] Building...
[02:53:17 PM] Deploying profile...
[02:53:17 PM] ADF shared library is not available, implicitly deploying library ADF Controller Runtime
[02:53:17 PM] ADF shared library is not available, implicitly deploying library ADF Controller Schema
[02:53:17 PM] ADF shared library is not available, implicitly deploying library ADF Page Flow Runtime
[02:53:18 PM] Wrote Web Application Module to C:\JDeveloper\mywork\ola\ViewController\deploy\ola_ViewController_webapp.war
[02:54:48 PM] Copied C:\JDeveloper\mywork\ola\ViewController\deploy\ola_ViewController_webapp.war to //10.10.1.11/jboss-as-7.1.1.Final/standalone/deployments/ola_ViewController_webapp.war
[02:54:48 PM] Elapsed time for deployment: 1 minute, 30 seconds
[02:54:48 PM] ---- Deployment finished. ----
On the JBoss side it gives me the stack error: http://justpaste.it/zom
I can´t understand what's missing.
Thanks in advance.
The copying of the war file to the deployments folder seems to take much time, from 02:53:18 to 02:54:48?
Is this correct?
So the JBoss auto deployer starts to deploy the file although it's not yet complete.
Create //10.10.1.11/jboss-as-7.1.1.Final/standalone/deployments/ola_ViewController_webapp.war.skipdeploy before copying the war file and remove it after copying is finished.
This will prevent the autodeploy until the copying has finished.
Sorry for my newbie question (i started a few days ago in JBoss!), but i can´t seem to find the path C:/jboss-as-7.1.1.Final/bin/content/tstewar.war/WEB-INF/lib/adf-richclient-impl-11.jar/META-INF/afu.tld in my server files neither in JDeveloper. Am i missing something?
I tried to get some help in Oracle forum but no one seems to know.
@John archer: I'm still stuck in the last error. I'm trying to resolved it now by the morning with some new energies
(1581) If this attribute is set to an instance of
(1582) <code>oracle.adf.view.rich.model.PageTemplateModel</code>, the view ID will be
(1583) taken from the model and the model will receive notifications of the starting and stopping
(1584) of the template context. Otherwise, if the value is non-null the value is assigned to the
(1585) "bindings" EL variable while this template is rendering or decoding.
That's what is on line 1582.
The project i'm trying to deploy is just a "New Fusion Web Application" followed by a "JSF/Facelets Page" with standard design, nothing more.
That looks like a bug in the afu.tld. Try changing it to:
<description> <![CDATA[If this attribute is set to an instance of <code>oracle.adf.view.rich.model.PageTemplateModel</code>, the view ID will be taken from the model and the model will receive notifications of the starting and stopping of the template context. Otherwise, if the value is non-null the value is assigned to the "bindings" EL variable while this template is rendering or decoding.\]\]\> </description>
and repackaging it. Since it seems like a largish file, check for other instances of this problem too.
... and change \]\]\> to ]]>. It seems the XML renderer can't cope with CDATA elements.
Hi Stephen, thanks for your answer,
I tried your aproach and it worked but now i find a lot more in the afu.tld file witch give the same errors.
I found that he can´t parse the HTML tags like <code></code> and <p></p> (the ones i found so far in the file).
Do i have to replace the
<![CDATA[...]]> one by one where the afu.tld has HTML tags?
I've removed all HTML Tags from afu.tld and then i get parse errors from dvt-trinidad.jar in the <large-icon> tag, this time i have to remove all <large-icon> tags.
Then i repack the solution and deployed it. It deployed for the the first time with sucess! But during the deploy i get an error:
17:45:01,078 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/webapp1]] (MSC service thread 1-2) Servlet /webapp1 threw load() exception: java.lang.ClassNotFoundException: oracle.jsp.runtimev2.JspServlet from [Module "deployment.webapp1.war:main" from Service Module Loader]
I open it in my browser and it worked but instead of showing me my page, it just showed a xml structure.
<?xml version='1.0' encoding='windows-1252'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
I looked into ojsp.jar\oracle\jsp\runtimev2 and the class JspServlet is there.
Any clue on that!?
Yes it's the same under different names...I'm in a testing killing spree here
For some reason ojsp.jar wasn´t in the WEB-INF/lib folder...i remember putting it there mannually. (<- noob)
After another one or two missing classes i stuck again...but this time i can´t seem to find the class missing in the JDeveloper libraries:
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ultimo]] (MSC service thread 1-7) Servlet /ultimo threw load() exception: java.lang.ClassNotFoundException: com.evermind.xml.BaseEntityResolverUtil from [Module "deployment.ultimo.war:main" from Service Module Loader]
Where i can find com.evermind.xml.BaseEntityResolverUtil class/.jar?
Sorry for taking your time and thanks.
Was there a few minutes before posting and matched BC4J Service Runtime in http://docs.oracle.com/cd/E16162_01/admin.1112/e16179/ap_jdevlibs.htm.
The result was oracle.adf.model_11.1.1/adfbcsvc-share.jar and oracle.adf.model_11.1.1/adfbcsvc.jar.
Already pack them in WEB-INF/lib folder and still got the same error above, that's strange.
This time i confirmed twice, the jar's are there for sure in the WEB-INF/lib folder!
I'm going to unpack the jars to see if the class is there.