[Installation, Configuration & Deployment] - netboot with apache server
by danyel.ceccaldi
I installed JBoss 4 and 5 using JDK 1.5 and 1.6, and having an unzipped jboss distribution in an apache served DAV-enabled directory.
But the startup fails to deploy any service that is not an xml file.
I presume my webdav configuration could be broken, or netboot support is broken, or another thing I struggle to find.
Can anyone help, what the problem might be?
sh run.sh --netboot=http://localhost/dav/jboss-4.0.5.GA/
...
17:10:18,981 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
17:10:18,981 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-b105,Sun Microsystems Inc.
17:10:18,981 INFO [ServerInfo] OS-System: Linux 2.6.18.2-34-xen,i386
...
17:10:36,144 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
17:10:36,167 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@d54c0ea2 { url=http://geek1/dav/jboss-4.0.5.GA/server/default2/deploy/jboss-aop.deployer/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: http://geek1/dav/jboss-4.0.5.GA/server/default2/deploy/jboss-aop.deployer/
altDD: null
lastDeployed: 1167325830899
lastModified: 1167325829000
mbeans:
org.jboss.deployment.DeploymentInfo@ccbc7c76 { url=http://geek1/dav/jboss-4.0.5.GA/server/default2/deploy/jboss-bean.deployer/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: http://geek1/dav/jboss-4.0.5.GA/server/default2/deploy/jboss-bean.deployer/
altDD: null
lastDeployed: 1167325830900
lastModified: 1167325829000
mbeans:
....... many more not deployed services .....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996666#3996666
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996666
18 years, 10 months
[JBoss Seam] - Re: selectItems+ajax4jsf
by gllambi
"atzbert" wrote : Are there any news here? I experienced this issue now twice, with ajax4jsf and icefaces... :(
After some work, I found a solution to the problem. It isn't from the selectItem tag. It is a problem of using ajax4jsf with jsf and seam together.
To make it work you must use the region and page ajax4jsf's tags.
The tag page must go after the jsf view tag. This is due a problem of ajax4jsf and myfaces. More explanation of this is found in the ajax4jsf page.
Then put the combo between the region tag. If you want to refresh something outside of the region, you have to set the option renderRegionOnly to false
Here is the code that worked for me.
| <f:view>
| <a4j:page>
| <h:outputText id="titulo" value="#{msg.titulo_registro}" />
| <h:form id="formRegistro">
| <a4j:outputPanel id="mensajesErrorPanel" styleClass="error">
| <div><h:messages id="mensajesError" /></div>
| </a4j:outputPanel>
| <s:validateAll>
| <h:panelGrid id="panelGrid" columns="2">
| <h:outputText id="etiquetaUsuario" value="#{msg.socio}" />
| <a4j:region id="regionUsuario">
| <s:decorate>
| <h:inputText id="inputUsuario" value="#{cliente.usuario}"
| size="30" required="true">
| <a4j:support id="soporteAjaxUsuario" event="onblur"
| reRender="errorUsuario" />
| </h:inputText>
| <a4j:outputPanel id="errorUsuario" styleClass="error">
| <s:message id="mensajeErrorUsuario" />
| </a4j:outputPanel>
| </s:decorate>
| </a4j:region>
| <h:outputText id="etiquetaContraseña" value="#{msg.contraseña}" />
| <a4j:region id="regionContraseña">
| <s:decorate>
| <h:inputText id="inputContraseña" value="#{cliente.pwd}"
| size="30" required="true">
| <a4j:support id="soporteAjaxContraseña" event="onblur"
| reRender="errorPassword" />
| </h:inputText>
| <a4j:outputPanel id="errorPassword" styleClass="error">
| <s:message id="mensajeErrorContraseña" />
| </a4j:outputPanel>
| </s:decorate>
| </a4j:region>
| <h:outputText id="etiquetaPais" value="#{msg.pais}" />
| <a4j:region id="regionPaises" renderRegionOnly="false">
| <s:decorate>
| <h:selectOneMenu id="seleccionarPais"
| converter="#{registro.countryConverter}" required="true"
| value="#{cliente.country}">
| <si:selectItems value="#{paises}" var="pais"
| label="#{pais.countryCode}"
| noSelectionLabel="#{msg.selecionePais}" hideNoSelection="true"></si:selectItems>
| <a4j:outputPanel id="errorPais" styleClass="error">
| <s:message id="mensajeErrorPais" />
| </a4j:outputPanel>
| <a4j:support id="soporteAjaxPais" event="onchange"
| reRender="seleccionarEstado, mensajeErrorPais"
| action="#{registro.cambiarEstados}" />
| </h:selectOneMenu>
| </s:decorate>
| </a4j:region>
| <h:outputText id="etiquetaEstado" value="#{msg.estado}" />
| <a4j:region id="regionEstados">
| <h:selectOneMenu id="seleccionarEstado"
| converter="#{registro.stateConverter}" value="#{cliente.state}">
| <si:selectItems value="#{estados}" var="estado"
| label="#{estado.stateCode}"
| noSelectionLabel="#{msg.seleccioneEstado}"
| hideNoSelection="true"></si:selectItems>
| </h:selectOneMenu>
| </a4j:region>
| </h:panelGrid>
| <a4j:commandButton id="botonAjax" value="Ajax #{msg.registrarse}"
| action="#{registro.registrarse}"
| reRender="formRegistro:mensajesErrorPanel"></a4j:commandButton>
| </s:validateAll>
| </h:form>
| </a4j:page>
| </f:view>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996665#3996665
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996665
18 years, 10 months
[JBoss AOP] - HotSwap in JBoss AS
by fabiocsilva
This code is enough for hotswap to function in the JBoss Application Server ?
| # Setup JBoss sepecific properties
|
| #JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS -javaagent:/opt/jboss/bin/aspectjweaver.jar"
|
| JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS -javaagent:/opt/jboss/bin/pluggable-instrumentor.jar=-hotSwap"
|
|
The code below run normally but the pointcut introduced does not have effect
| try {
|
| AdviceBinding binding = new AdviceBinding("call(public $instanceof{aspects.dataManagement.util.SystemRecord}->new(..))"+
|
| "AND !within($instanceof{aspects.dataManagement.AbstractDataCollectionCustomization})", null);
|
| binding.addInterceptor(SimpleInterceptor.class);
|
| AspectManager.instance().addBinding(binding);
|
| System.out.println("sucess");
|
| } catch (ParseException e) {
|
| // TODO Auto-generated catch block
|
| e.printStackTrace();
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996664#3996664
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996664
18 years, 10 months
[JBoss Seam] - Re: how to force Logging for page access ??
by waheed.murad
i cannot understood hitting page directly . if you mean that i am accessing by typing URL in the browser then it works fine it goes to login page(as i am not logged in) but when a login and goes to admin page given below and try to access the sceretquestion.jsp it still goes to login page.
i have cleared all the navigations from faces-config.xml and i only have one action as told before in my pages.xml
here is my jsf page:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://jboss.com/products/seam/taglib" prefix="s" %>
Administrator Console
<f:view>
<h:form>
<h:commandButton id="secquestion" value="Secret Question" action="/secretquestions.jsp"/> <h:commandButton id="pricingops" value="Pricing Options" action="/pricingoptions.jsp"/>
<h:commandButton id="organization" value="Organizations" action="/customerorganizations.jsp"/>
<h:commandButton id="categories" value="Categories" action=""/>
<h:commandButton id="role" value="Roles" action="/roles.jsp"/>
<h:commandButton id="privileges" value="Privileges" action="/privileges.jsp"/>
<h:commandButton id="paymodes" value="Payment Modes" action=""/>
<h:commandButton id="currencies" value="Currencies" action=""/>
</h:form>
</f:view>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996663#3996663
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996663
18 years, 10 months