[Installation, Configuration & DEPLOYMENT] - Re: Sub Folder is not supporting .xhtml(seam)
by vivekmk2006
Hi Peter Johnson ,
Thanks for your replay first.I didnt understand what you are saying.Bellow is my we.xml. Can you please help me again?
<?xml version="1.0" ?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<!-- Ajax4jsf -->
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<!-- Seam -->
<listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
<filter-name>Seam Filter</filter-name>
<filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
<filter-mapping>
<filter-name>Seam Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet-name>Seam Resource Servlet</servlet-name>
<servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
<servlet-mapping>
<servlet-name>Seam Resource Servlet</servlet-name>
<url-pattern>/seam/resource/*</url-pattern>
</servlet-mapping>
<!-- Facelets development mode (disable in production) -->
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>
</context-param>
<!-- JSF -->
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.seam</url-pattern>
</servlet-mapping>
<security-constraint>
<display-name>Restrict raw XHTML Documents</display-name>
<web-resource-collection>
<web-resource-name>XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint/>
</security-constraint>
</web-app>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161038#4161038
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161038
17 years, 9 months
[Clustering/JBoss] - Re: using db instead of sticky sessions
by bstansberry@jboss.com
Not sure if you are talking about web sessions or SFSBs or both. The referenced doc is about web sessions.
Anyway, for SFSBs at least, JBoss has no option to use a DB to persist your bean after every request. Passivation to the file system is supported, but that doesn't write the session to disk after every update; only when the bean should be swapped to disk to conserve memory.
So, if you want to cluster SFSBs you need to replicate them, and that requires sticky sessions.
Same basically applies to web sessions, although there is a web session manager in Tomcat (and perhaps in JBoss Web) that can write to a db. Not sure if that's only for passivation as well. Last I looked at it a couple of years ago it wasn't really production ready. Could have changed though.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161037#4161037
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161037
17 years, 9 months
[Installation, Configuration & DEPLOYMENT] - Problem when configure JBoss with SQL Anywhere 10.0
by tomywu
I have encountered the following problem while I try to deploy the datasource file asads.xml under the <jboss-server>\deploy. Could anyone please help?
asads.xml
<?xml version="1.0" encoding="UTF-8"?>
| <datasources>
| <local-tx-datasource>
| <jndi-name>ASADS</jndi-name>
| <connection-url>jdbc:sybase:Tds:localhost:2638</connection-url>
| <driver-class>com.sybase.jdbc2.jdbc.SybDriver</driver-class>
| <user-name>dba</user-name>
| <password>sql</password>
| </local-tx-datasource>
| </datasources>
Error in server.log (once I copy the asads.xml to the deploy folder)
2008-06-27 10:34:59,528 DEBUG [org.jboss.deployment.MainDeployer] Deployment of package: file:/C:/jboss-4.0.4.GA/server/default/deploy/asads.xml is waiting for an appropriate deployer.
2008-06-27 10:34:59,528 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@8904a670 { url=file:/C:/jboss-4.0.4.GA/server/default/deploy/asads.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.4.GA/server/default/deploy/asads.xml
altDD: null
lastDeployed: 1214530337283
lastModified: 1214530337283
mbeans:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@8904a670 { url=file:/C:/jboss-4.0.4.GA/server/default/deploy/asads.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.4.GA/server/default/deploy/asads.xml
altDD: null
lastDeployed: 1214530337283
lastModified: 1214530337283
mbeans:
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161029#4161029
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161029
17 years, 9 months