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.
Seems that C:/jboss-as-7.1.1.Final/bin/content/tstewar.war/WEB-INF/lib/adf-richclient-impl-11.jar/META-INF/afu.tld is not okay at line 1582, column 10.
May be it helps to see what's at this location.
Or use an appropriate oracle forum to ask this question.
Did you get it working Fernando?
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
1 of 1 people found this helpful
I assume tstewar.war is build by you and you include adf-richclient-impl-11.jar into your WEB-INF/lib folder.
Then "jar -xvf adf-richclient-impl-11.jar META-INF/afu.tld".
This will create dir META-INF with file afu.tld to view.
(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.
1 of 1 people found this helpful
That looks like a bug in the afu.tld. Try changing it to:
<![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.]]>
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!?
And ojsp.jar is part of your deployment, means inside WEB-INF/lib folder?
Your first mail the name of the deployment was ola_ViewController_webapp.war. Then I saw tstewar.war and now webapp1.war.
Is this always the same under different names?
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.