[JBoss Seam] - Scoping - finding the sweetspot
by Sammy8306
After fiddling around with long running conversations, experiencing the joy (no detached objects etc.) and aggrevation (when and how to end conversations etc.), I'm now trying to create a sample app in which the pages are as self-sufficient (restful if you will) as possible. When displaying stuff, no problems arise. Put everything in page scope, inject a RequestParameter to indicate what needs to be shown, and prepare everything in an @Create method of a page scoped component.
However, this breaks when I want to do a JSF postback (for example using an enhanced EL action binding). Now, the RequestParameter will be null and all goes wrong... Is my only option to pass the value of the ReqParam in the enhanced EL binding as well (which seems a bit hackish), or am I missing something? I can post a concrete example if necessary, but I think the point is clear.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040444#4040444
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040444
19 years
[JNDI/Naming/Network] - Mail Service bound to java:/Mail
by vas_srinuin
Hai i am new to jboss,I am using Jboss-4.0.2,whenever starting jboss i am getting the following
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: D:\jboss-4.0.2\bin\\..
.
JAVA: C:\jdk1.5.0_09\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\jdk1.5.0_09\lib\tools.jar;D:\jboss-4.0.2\bin\\run.jar
.
===============================================================================
.
12:01:22,458 INFO [Server] Starting JBoss (MX MicroKernel)...
12:01:22,458 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_
4_0_2 date=200505022023)
12:01:22,458 INFO [Server] Home Dir: D:\jboss-4.0.2
12:01:22,458 INFO [Server] Home URL: file:/D:/jboss-4.0.2/
12:01:22,458 INFO [Server] Library URL: file:/D:/jboss-4.0.2/lib/
12:01:22,458 INFO [Server] Patch URL: null
12:01:22,458 INFO [Server] Server Name: default
12:01:22,458 INFO [Server] Server Home Dir: D:\jboss-4.0.2\server\default
12:01:22,473 INFO [Server] Server Home URL: file:/D:/jboss-4.0.2/server/default
/
12:01:22,473 INFO [Server] Server Data Dir: D:\jboss-4.0.2\server\default\data
12:01:22,473 INFO [Server] Server Temp Dir: D:\jboss-4.0.2\server\default\tmp
12:01:22,473 INFO [Server] Server Config URL: file:/D:/jboss-4.0.2/server/defau
lt/conf/
12:01:22,473 INFO [Server] Server Library URL: file:/D:/jboss-4.0.2/server/defa
ult/lib/
12:01:22,473 INFO [Server] Root Deployment Filename: jboss-service.xml
12:01:22,473 INFO [Server] Starting General Purpose Architecture (GPA)...
12:01:22,849 INFO [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc.
12:01:22,849 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_09-b03
,Sun Microsystems Inc.
12:01:22,849 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
12:01:23,523 INFO [Server] Core system initialized
12:01:25,278 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
12:01:25,371 INFO [WebService] Using RMI server codebase: http://gopalp:8083/
12:01:25,779 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=
1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket
Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
12:01:30,071 INFO [Embedded] Catalina naming disabled
12:01:30,557 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
-8081
12:01:30,573 INFO [Catalina] Initialization processed in 439 ms
12:01:30,573 INFO [StandardService] Starting service jboss.web
12:01:30,573 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
12:01:30,745 INFO [StandardHost] XML validation disabled
12:01:30,776 INFO [Catalina] Server startup in 203 ms
12:01:30,886 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/D:/jb
oss-4.0.2/server/default/deploy/http-invoker.sar/invoker.war/
12:01:31,575 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/D:/jbos
s-4.0.2/server/default/tmp/deploy/tmp28692jboss-ws4ee-exp.war/
12:01:31,700 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/D:/jboss-4.0
.2/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
12:01:31,904 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file
:/D:/jboss-4.0.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war
/
12:01:33,690 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/D
:/jboss-4.0.2/server/default/deploy/management/console-mgr.sar/web-console.war/
12:01:34,270 INFO [MailService] Mail Service bound to java:/Mail
12:01:34,881 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-ha-local-jdbc.rar
12:01:35,037 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-ha-xa-jdbc.rar
12:01:35,147 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-local-jdbc.rar
12:01:35,319 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-xa-jdbc.rar
12:01:35,413 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jms/jms-ra.rar
12:01:35,492 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/mail-ra.rar
Please Help me any body.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040438#4040438
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040438
19 years
[JNDI/Naming/Network] - Mail Service bound to java:/Mail
by vas_srinuin
Hai i am new to jboss,I am using Jboss-4.0.2,whenever starting jboss i am getting the following
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: D:\jboss-4.0.2\bin\\..
.
JAVA: C:\jdk1.5.0_09\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\jdk1.5.0_09\lib\tools.jar;D:\jboss-4.0.2\bin\\run.jar
.
===============================================================================
.
12:01:22,458 INFO [Server] Starting JBoss (MX MicroKernel)...
12:01:22,458 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_
4_0_2 date=200505022023)
12:01:22,458 INFO [Server] Home Dir: D:\jboss-4.0.2
12:01:22,458 INFO [Server] Home URL: file:/D:/jboss-4.0.2/
12:01:22,458 INFO [Server] Library URL: file:/D:/jboss-4.0.2/lib/
12:01:22,458 INFO [Server] Patch URL: null
12:01:22,458 INFO [Server] Server Name: default
12:01:22,458 INFO [Server] Server Home Dir: D:\jboss-4.0.2\server\default
12:01:22,473 INFO [Server] Server Home URL: file:/D:/jboss-4.0.2/server/default
/
12:01:22,473 INFO [Server] Server Data Dir: D:\jboss-4.0.2\server\default\data
12:01:22,473 INFO [Server] Server Temp Dir: D:\jboss-4.0.2\server\default\tmp
12:01:22,473 INFO [Server] Server Config URL: file:/D:/jboss-4.0.2/server/defau
lt/conf/
12:01:22,473 INFO [Server] Server Library URL: file:/D:/jboss-4.0.2/server/defa
ult/lib/
12:01:22,473 INFO [Server] Root Deployment Filename: jboss-service.xml
12:01:22,473 INFO [Server] Starting General Purpose Architecture (GPA)...
12:01:22,849 INFO [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc.
12:01:22,849 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_09-b03
,Sun Microsystems Inc.
12:01:22,849 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
12:01:23,523 INFO [Server] Core system initialized
12:01:25,278 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
12:01:25,371 INFO [WebService] Using RMI server codebase: http://gopalp:8083/
12:01:25,779 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=
1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket
Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
12:01:30,071 INFO [Embedded] Catalina naming disabled
12:01:30,557 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
-8081
12:01:30,573 INFO [Catalina] Initialization processed in 439 ms
12:01:30,573 INFO [StandardService] Starting service jboss.web
12:01:30,573 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
12:01:30,745 INFO [StandardHost] XML validation disabled
12:01:30,776 INFO [Catalina] Server startup in 203 ms
12:01:30,886 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/D:/jb
oss-4.0.2/server/default/deploy/http-invoker.sar/invoker.war/
12:01:31,575 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/D:/jbos
s-4.0.2/server/default/tmp/deploy/tmp28692jboss-ws4ee-exp.war/
12:01:31,700 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/D:/jboss-4.0
.2/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
12:01:31,904 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file
:/D:/jboss-4.0.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war
/
12:01:33,690 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/D
:/jboss-4.0.2/server/default/deploy/management/console-mgr.sar/web-console.war/
12:01:34,270 INFO [MailService] Mail Service bound to java:/Mail
12:01:34,881 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-ha-local-jdbc.rar
12:01:35,037 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-ha-xa-jdbc.rar
12:01:35,147 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-local-jdbc.rar
12:01:35,319 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-xa-jdbc.rar
12:01:35,413 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jms/jms-ra.rar
12:01:35,492 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/mail-ra.rar
Please Help me any body.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040437#4040437
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040437
19 years