[Installation, Configuration & Deployment] - Re: JBoss 5beta1, JSF1.2 and Netbeans Visual Web Pack
by h0ppy
Hi Stan,
I deployed my app to JBoss 4.2CR1 and the good news is the malformed error has disapeared! The bad news is I am getting the same error from the woodstock components:
| 12:42:28,578 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
| org.apache.jasper.JasperException: Unable to compile class for JSP:
|
| An error occurred at line: 5 in the jsp file: /Index.jsp
| The method setId(String) in the type UIComponentClassicTagBase is not applicable for the arguments (JspValueExpression)
| 2: <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmln
| s:webuijsf="http://www.sun.com/webui/webuijsf">
| 3: <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
| 4: <f:view>
| 5: <webuijsf:page binding="#{Index.index}" id="index">
| 6: <webuijsf:html binding="#{Index.html}" id="html">
| 7: <webuijsf:head binding="#{Index.head}" id="head">
| 8: <webuijsf:link binding="#{Index.link1}" id="link1" url="/resources/stylesheet.css"/>
|
It's a little bit strange becuase I'm not using a jspValueExpression on the id attribute (I assume that means a #{...} expression). I checked the TLD file for the components and could find nothing untoward there. I can only assume that the version of UIComponentClassicTagBase in JBoss is not what the components are expecting. Do you know what version if the jsf-api/impl are used by 4.2?
Any other suggestions would be most welcome.
Regards,
Jason
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027903#4027903
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027903
19Â years, 1Â month
[JBoss Portal] - adding themes to portal core?
by FredF
Hello.
Is there any hook in the portal core api which I can call to create a new
theme in the portal core? I am referring to the portal-themes.xml file. I have a function that allows users in the portal to create their own theme (mainly background image and portlet-frame images) and i want to automatize this as far as possible. My idea is to have a new folder in
\jboss-portal.sar\portal-core.war\themes
created and then have a new element in the portal-themes.xml created. Does creating new themes require any additional steps to add a theme by hand?
So, my question is: Is there some sort of api-call to acomplish all this or do I have to manually create all files and folders and entries in the portlet-themes.xml?
thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027902#4027902
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027902
19Â years, 1Â month
[JBoss/Spring Integration] - SpringDeployer EnhancedSuffixOrder
by diippi
I am using spring deployer to deploy my spring beans , archived as abc.spring and specified in application.xml as follows :
< module>
< ejb>spring/abc.spring
</ module>
The spring beans do a jndi lookup for hibernate session factory deployed as a har file which is specified in jboss-app.xml as follows :
< module>
< har>har/xyz.har
</ module>
Problem is that spring deployment happens before the har deployment (application.xml before jboss-app.xml) and so it fails .
Is there any way I can force the har deployment before the spring ?
I played around with xmbean definition yesterday but 'EnhancedSuffixOrder' seems to not have been defined for SpringDeployer. As far as I can fathom , .spring and .har both have order of 350 . Is there anyway this can be changed ? Can I get the source code for SpringDeployer anywhere ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027897#4027897
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027897
19Â years, 1Â month