[Installation, Configuration & Deployment] - MalformedURLException: no protocol: META-INF/webserver-xmbea
by vfpeter
We are trying to run JBoss on OpenVMS.
We did not have any issues installing JBoss. When we tried to start the server, the following issues were displayed:
| 14:21:25,054 ERROR [MainDeployer] Could not create deployment: file:/jboss_home/server/default/deploy/jbossweb-tomcat55_sar/META-INF/jboss-service.xml
| org.jboss.deployment.DeploymentException: no protocol: META-INF/webserver-xmbean.xml; - nested throwable: (java.net.MalformedURLException: no protocol: META-INF/webserver-xmbean.xml)
| ...... more log lines
| ...... more log lines
| ...... more log lines
| ...... more log lines
|
| Caused by: java.net.MalformedURLException: no protocol: META-INF/webserver-xmbean.xml
| at java.net.URL.<init>(URL.java:567)
| at java.net.URL.<init>(URL.java:464)
| at java.net.URL.<init>(URL.java:413)
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:206)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
System Info is as follows:
OS-System = OpenVMS V8.3,ia64
Java version = Java HotSpot(TM) Server VM 1.5.0-2 12/02/2006-21:30 IA64,Hewlett-Packard Company
JBoss Version = JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date
Any help/comment is appreciated.
Thanks,
Peter
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035720#4035720
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035720
19 years
[JBoss Seam] - Seam enhanced EL expression fails in an Ajax4JSF tag
by alexg79
The tag
| <a4j:commandLink value="Previous" action="#{categorybean.setPage(0)}" />
fails to render, saying:
javax.el.ELException: Error Parsing: #{categorybean.setPage(0)}
| at org.apache.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:125)
| at org.apache.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:146)
| at org.apache.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:190)
| at org.apache.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:68)
| at org.jboss.seam.ui.facelet.SeamExpressionFactory.createValueExpression(SeamExpressionFactory.java:105)
| ...
|
However, the same renders just fine if I use <h:commandLink> instead.
The declaration of the method is as follows:
| void setPage(int page);
|
What am I doing wrong?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035716#4035716
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035716
19 years
[JBoss Seam] - EL enhancements inside Facelet templates - got an exception
by ASavitsky
What I was trying to achieve was a generic sortable header for dataTable. Here's the template:
header.xhtml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <ui:composition xmlns:h="http://java.sun.com/jsf/html"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:ui="http://java.sun.com/jsf/facelets">
| <h:column>
| <f:facet name="header">
| <h:commandLink action="#{bean.sort(columnName)}">
| <h:outputText value="#{columnLabel}" />
| <h:outputText value="#{sortAscending ? ' ASC' : ' DESC'}"
| rendered="#{sortColumn == columnName}" />
| </h:commandLink>
| </f:facet>
| <ui:insert />
| </h:column>
| </ui:composition>
|
This template is declared in Facelet taglib as:
<?xml version="1.0"?>
| <!DOCTYPE facelet-taglib PUBLIC
| "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
| "https://facelets.dev.java.net/source/browse/*checkout*/facelets/src/etc/f...">
| <facelet-taglib>
| <namespace>http://www.tdsecurities.com/jsf</namespace>
| <tag>
| <tag-name>header</tag-name>
| <source>tags/header.xhtml</source>
| </tag>
| </facelet-taglib>
|
and is used as follows:
<h:dataTable id="table" var="auditRecord" value="#{auditRecords}" rows="10">
| <c:header bean="#{auditLog}" columnName="id" columnLabel="ID">
| <h:commandLink value="#{auditRecord.id}" action="#{auditLog.select}" />
| </c:header>
| </h:dataTable>
|
The link renders, but clicking on it yields:
ERROR [org.jboss.seam.web.ExceptionFilter] - uncaught exception
| javax.servlet.ServletException: Error calling action method of component with id _id4:table:_id19
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:154)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
| at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
| at java.lang.Thread.run(Thread.java:595)
| ERROR [org.jboss.seam.web.ExceptionFilter] - exception root cause
| javax.faces.FacesException: Error calling action method of component with id _id4:table:_id19
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:77)
| at javax.faces.component.UICommand.broadcast(UICommand.java:109)
| at javax.faces.component.UIData.broadcast(UIData.java:517)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
| at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
| at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
| at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.NullPointerException
| at org.jboss.seam.ui.facelet.MethodExpressionHelper.findParamTypes(MethodExpressionHelper.java:146)
| at org.jboss.seam.ui.facelet.MethodExpressionHelper.invokeTheExpression(MethodExpressionHelper.java:98)
| at org.jboss.seam.ui.facelet.ParamMethodExpression.invoke(ParamMethodExpression.java:62)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
| ... 34 more
- it was supposed to execute auditLog.sort('id'), but apparently failed to evaluate the #{bean} expression, even though it was passed to the template via bean="#{auditLog}"
Am I misunderstanding the limits for EL enhancements, maybe? Is it usable in this context at all?
Thanks,
Alex
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035715#4035715
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035715
19 years
[JBoss Seam] examples of EntityQuery instead of entity-query
by Eelco Visser
The Seam manual (1.2.1.GA) shows how to use Java code instead of XML
for using the EntityHome framework class. For example, instead of
<component name="personHome" class="org.jboss.seam.framework.EntityHome">
<property name="entityClass">eg.Person</property>
</component>
one can write:
@Name("personHome")
public class PersonHome extends EntityHome<Person> {}
Now I'm wondering if there is a similar analogue to using EntityQuery:
<component name="people" class="org.jboss.seam.framework.EntityQuery">
<property name="ejbql">select p from Person p</property>
</component>
That is, how do I write this in Java. The JavaDoc documentation for
the (Entity)Query class provides no documentation at all (other than
the signatures for the classes).
Any hints would be appreciated.
-- Eelco
19 years