[Installation, Configuration & DEPLOYMENT] - Jboss hangs at Core system initialized
by asifiqbal
I cannot start jboss. I downloaded the jboss-4.2.1.GA.zip on my Sun Fire X4100, 8G ram and 2 2.4Ghz Dual Core AMD Opteron.
I am running sol 10 x86 release 6/06. Java 1.5.
Here is where it get stuck
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/jboss-4.2.1.GA
JAVA: java
JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: /opt/jboss-4.2.1.GA/bin/run.jar
=========================================================================
17:11:21,316 INFO [Server] Starting JBoss (MX MicroKernel)...
17:11:21,317 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)
17:11:21,327 INFO [Server] Home Dir: /opt/jboss-4.2.1.GA
17:11:21,327 INFO [Server] Home URL: file:/opt/jboss-4.2.1.GA/
17:11:21,328 INFO [Server] Patch URL: null
17:11:21,328 INFO [Server] Server Name: default
17:11:21,328 INFO [Server] Server Home Dir: /opt/jboss-4.2.1.GA/server/default
17:11:21,328 INFO [Server] Server Home URL: file:/opt/jboss-4.2.1.GA/server/default/
17:11:21,329 INFO [Server] Server Log Dir: /opt/jboss-4.2.1.GA/server/default/log
17:11:21,329 INFO [Server] Server Temp Dir: /opt/jboss-4.2.1.GA/server/default/tmp
17:11:21,329 INFO [Server] Root Deployment Filename: jboss-service.xml
17:11:21,625 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
17:11:21,625 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03,Sun Microsystems Inc.
17:11:21,625 INFO [ServerInfo] OS-System: SunOS 5.10,x86
17:11:22,001 INFO [Server] Core system initialized
Any way to start in DEBUG mode to see why/where it gets stuck?
I am running the exact same code on another sol 10 x86 6/06 on Ultra 20 and it starts just fine
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090036#4090036
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090036
17 years, 1 month
[JBoss Seam] - [JSF] <s:decorate> and <h:panelGrid> conflict
by Yacho
I got question regarding <s:decorate>
Normally i design my forms in such manner :
<h:panelGrid columns="2">
| <h:outputText>Login</h:outputText>
| <h:inputText value="#{newUser.login}"/>
| </h:panelGrid>
Wich gets Me the layout i want
But when using <s:decorate> im forced to do like so :
<h:panelGrid columns="2">
| <s:decorate template="../misc/error_facelet.xhtml">
| <ui:define name="label">Nazwisko</ui:define>
| <h:inputText value="#{newUser.lastName}"/>
| </s:decorate>
| </h:panelGrid>
The Problem with above design is that everything in <s:decorate> is inserted in one cell of a table.
My error_facelet.xhtml is the file straight from docu :
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:s="http://jboss.com/products/seam/taglib">
| <div>
| <s:label styleClass="#{invalid?'error':''}">
| <ui:insert name="label"/>
| <s:span styleClass="required" rendered="#{required}">*</s:span>
| </s:label>
| <span class="#{invalid?'error':''}">
| <s:validateAll>
| <ui:insert/>
| </s:validateAll>
| </span>
| <s:message styleClass="error"/>
| </div>
| </ui:composition>
One Thing is the div element wich i should not use (ill erease it and check it out) but my question is :
is <s:decorate> threated as a container (component wise) are all contents of it threated as one element or it just pastes the template without interfering ?
the effect id like to achieve is to have label in one cell - field in the other and do not use separate panelGrid in the template (so i wont generate 2 cell tabel for each field) is it possible ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090029#4090029
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090029
17 years, 1 month
[JBoss Seam] - How to declare navigation from ajax method with args?
by Stateless Bean
Hi,
Can anyone help me to declare navigation in pages.xml if I got ajax method with arguments?
Here is my method
| <a href="#" onclick="javascript:sendEmail('1');">
| public String sendEmail(String trajectory) {
| try {
|
| }
| catch (Exception e) {
| if (currentPerson != null) {
| log.error("User: (" + currentPerson.getUsername() +
| ") ->galaxyAction - email(String trajectory): " + e.getMessage());
| } else {
| log.error("User: (null) ->galaxyAction - email(String trajectory): " + e.getMessage());
| }
| }
| }
|
and if my method has argument "trajectory"
| public String sendEmail(String trajectory)
|
how shoud I declare pages.xml for change page to example /pages/email.xhtml?
| <navigation from-action="#{galaxyAction.sendEmail}">
| <redirect view-id="/pages/email.xhtml"/>
| </navigation>
| ???
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090021#4090021
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090021
17 years, 1 month