[JBoss Seam] - ERROR: invalid large-object descriptor: 0 with postgreql
by hazlorealidad
I have a problem reading Blob s in postgres
ERROR: invalid large-object descriptor: 0 (in the log you see the spanish translation)
I am not sure if it is to do with hibernate, postgres or seam.
What I wanted to do is download a file thats in a Blob.
I wrote a test using pure jdbc and the Blob in the database can be read correctly as long as autocomit is set to false.
There are other pages that say the problem happens when not in a transaction
http://jira.jboss.com/jira/browse/JBPORTAL-575
http://archives.postgresql.org/pgsql-general/2004-09/msg00848.php
http://archives.postgresql.org/pgsql-interfaces/2000-10/msg00004.php
http://jdbc.postgresql.org/documentation/80/binary-data.html says
You must access Large Objects within an SQL transaction block. You can start a transaction block by calling setAutoCommit(false).
but I am using a stateful session bean with an extended persistent context
also added em.joinTransaction(); just to make sure.
In the log it shows that it is in a JTATransaction, does that mean that there is a JDBC Transaction to the database?
Two related questions:
Is what I am doing the best way to download a file?
Another question I have is when writing the Blob I use
Blob blob=Hibernate.createBlob(stream);
but dont know if this requires that the whole file be in memory.
If so how can I write it using an OutputStream
thanks in advance
Andy Bailey
In the entity bean i have
@Entity
@Name("document")
public class Document
{
private Blob content;
@Lob @Basic(fetch = FetchType.EAGER)
public Blob getContent()
{
return content;
}
public void setContent(Blob content)
{
this.content = content;
}
...
}
@Stateful
@Scope(SESSION)
@Name("documents")
public class DocumentsBean implements Serializable, Documents
{
@DataModel
private List documentList;
@DataModelSelection
@In(required=false)
@Out(required=false)
private Document document;
@PersistenceContext(type=EXTENDED)
private EntityManager em;
public void download()
{
//try to solve problem with blobs in postgres outside of transactions
em.joinTransaction();
FacesContext context = FacesContext.getCurrentInstance();
HttpServletResponse response =
( HttpServletResponse ) context.getExternalContext().getResponse();
String fileName=document.getFileName();
String contentType=document.getContentType();
int read = 0;
byte[] bytes = new byte[1024];
response.setContentType(contentType);
response.setHeader("Content-Disposition", "attachment;filename=\"" +
fileName + "\"");
InputStream is = null;
OutputStream os = null;
try {
Blob blob=document.getContent();
is = blob.getBinaryStream();
os = response.getOutputStream();
while((read = is.read(bytes)) != -1){
os.write(bytes,0,read);
}
os.flush();
os.close();
}
catch (Exception e)
{
logger.error("download "+document,e);
}
FacesContext.getCurrentInstance().responseComplete();
}
Excerpt from the logs
2006-09-15 09:04:17,730 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: documents
2006-09-15 09:04:17,730 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
2006-09-15 09:04:17,730 DEBUG [org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor] ++++ LongLivedSessionPropagationInterceptor
2006-09-15 09:04:17,730 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not
registered
2006-09-15 09:04:17,730 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Looking for a JTA transaction to join
2006-09-15 09:04:17,730 DEBUG [org.hibernate.jdbc.JDBCContext] successfully registered Synchronization
2006-09-15 09:04:17,731 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: document
2006-09-15 09:04:17,731 DEBUG [org.jboss.seam.Component] selected row: c cldc_mvm.pdf 130907 application/pdf
2006-09-15 09:04:17,731 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Looking for a JTA transaction to join
2006-09-15 09:04:17,731 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Transaction already joined
2006-09-15 09:04:17,800 DEBUG [org.jboss.seam.Component] instantiating Seam component: interpolator
2006-09-15 09:04:17,800 ERROR [com.hazlorealidad.sgi.control.DocumentsBean] download c cldc_mvm.pdf 130907 application/pdf
java.io.IOException: java.sql.SQLException: ERROR: el descriptor de objeto grande no es válido: 0
at org.postgresql.largeobject.BlobInputStream.read(BlobInputStream.java:97)
at java.io.InputStream.read(InputStream.java:164)
at java.io.InputStream.read(InputStream.java:89)
at com.hazlorealidad.sgi.control.DocumentsBean.download(DocumentsBean.java:139)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.java:64)
at sun.reflect.GeneratedMethodAccessor444.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21)
at sun.reflect.GeneratedMethodAccessor443.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
...
] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
2006-09-15 09:04:17,910 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] committing transaction after phase: INVOKE_APPLICATION(5)
2006-09-15 09:04:17,910 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
2006-09-15 09:04:17,910 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] processing flush-time cascades
2006-09-15 09:04:17,910 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] dirty checking collections
2006-09-15 09:04:17,910 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
2006-09-15 09:04:17,910 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals
to 0 collections
2006-09-15 09:04:17,910 DEBUG [org.hibernate.pretty.Printer] listing entities:
2006-09-15 09:04:17,911 DEBUG [org.hibernate.pretty.Printer] com.hazlorealidad.sgi.model.Document{digital=false, dateRegistered=2006-09-15 09:03:53, length=130907, content=org.hibernate.lob.SerializableBlob@e21cfc, controlled=true, contentType=application/pdf, external=false, id=23, version=1.0, fileName=cldc_mvm.pdf, dateModified=null, state=null, url=null, name=c}
2006-09-15 09:04:17,911 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection
2006-09-15 09:04:17,911 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not..
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971942#3971942
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971942
19 years, 7 months
[Clustering/JBoss] - Re: Farm deployement problem
by bstansberry@jboss.com
Glad that helped. :)
But, when I read your response a potential cause of your problem occurred to me. So here's something else to try for those who have issues sending files using farming but still want to use UDP:
In cluster-service.xml, bump up the buffer sizes in the UDP protocol:
| <UDP mcast_addr="${jboss.partition.udpGroup:228.1.2.3}"
| mcast_port="45566"
| ip_ttl="8" ip_mcast="true"
| mcast_send_buf_size="25000000" mcast_recv_buf_size="640000"
| ucast_send_buf_size="20000000" ucast_recv_buf_size="640000"
| loopback="false"/>
|
Now that's a pretty big increase in the resources JGroups is going to use (the old defaults for the send buffers were 800000). If you're concerned about that, don't increase the send buffers so much, but leave the receive buffers at 640K.
Farming sends files around the cluster in 512K chunks. With the default config, the receive buffer sizes are not even large enough to hold one chunk. This can lead to problems where the packets that make up part of a chunk get dropped and have to be retransmitted. With very large files, this can slow things down to the point timeouts start getting tripped and the transfer fails.
I'll bump the default size of the buffers for 4.0.5.GA:
http://jira.jboss.com/jira/browse/JBAS-3659
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971941#3971941
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971941
19 years, 7 months
[JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P
by chuaky
12. Edit .\booking\build.xml, as follows:
| <?xml version="1.0"?>
|
| <project name="Booking" default="deploy" basedir=".">
|
| <!-- Naming -->
| <property name="Name" value="Seam on JBoss Booking Example"/>
| <property name="example.name" value="jboss-seam-booking"/>
|
| <!-- WAR -->
| <zipfileset id="example.war.docroot"
| dir="view">
| <include name="**/*"/>
| </zipfileset>
|
| <zipfileset id="example.war.webinf"
| prefix="WEB-INF"
| dir="resources/WEB-INF" >
| <patternset refid="meta.files"/>
| </zipfileset>
|
|
| <zipfileset id="example.war.webinf.lib"
| prefix="WEB-INF/lib"
| dir="resources/WEB-INF/lib">
| <include name="*.jar"/>
| </zipfileset>
|
| <zipfileset id="example.war.webinf.lib.extra"
| prefix="WEB-INF/lib"
| dir=".">
| <include name="_NONE_"/>
| </zipfileset>
|
| <!-- EJB3 -->
| <fileset id="example.ejb3.root"
| dir="resources">
| <include name="import.sql"/>
| <include name="seam.properties"/>
| <include name="META-INF/persistence.xml"/>
| <include name="META-INF/ejb-jar.xml"/>
| </fileset>
|
| <fileset id="example.ejb3.lib" dir="../../lib">
| <include name="_NONE_"/>
| </fileset>
|
| <!-- EAR -->
| <zipfileset id="example.ear.resources"
| prefix="META-INF"
| dir="resources/META-INF">
| <include name="*"/>
| <exclude name="persistence.xml"/>
| <exclude name="ejb-jar.xml"/>
| </zipfileset>
|
| <!-- Deploy -->
| <fileset id="example.deploy"
| dir="resources">
| <include name="booking-ds.xml"/>
| </fileset>
|
| <!-- Undeploy -->
| <patternset id="example.undeploy">
| <include name="booking-ds.xml"/>
| </patternset>
|
| <!-- Test -->
| <fileset id="example.resources" dir="resources">
| <include name="**/*.*"/>
| </fileset>
|
| <!-- Tomcat build -->
| <zipfileset id="example.tomcat.war.webinf"
| prefix="WEB-INF"
| dir="resources/WEB-INF" >
| <include name="web.xml"/>
| <include name="faces-config.xml"/>
| <include name="pages.xml"/>
| <include name="events.xml"/>
| <include name="components.xml"/>
| <include name="classes/messages.properties"/>
| <include name="jboss-app.xml" />
| </zipfileset>
|
| <fileset id="example.tomcat.resources"
| dir="resources">
| <include name="seam.properties"/>
| <include name="import.sql"/>
| <include name="META-INF/persistence.xml"/>
| <include name="META-INF/ejb-jar.xml"/>
| <include name="META-INF/jboss-beans.xml"/> <!-- TODO: move out of META-INF -->
| </fileset>
|
| <!-- Overrides -->
| <property name="src.java.dir" value="src"/>
| <property name="src.test.dir" value="src"/>
| <property name="test.classpath" value="test.eejb.classpath"/>
| <property name="tomcat.conf" value="eejb.conf"/>
|
| <import file="../../build.xml"/>
|
| </project>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971937#3971937
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971937
19 years, 7 months
[JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P
by chuaky
9. Create .\booking\resources\WEB-INF\seam-booking-object.xml, as follows:
| <?xml version="1.0" encoding="UTF-8"?>
| <deployments>
| <deployment>
| <if-exists>overwrite</if-exists>
| <parent-ref>default</parent-ref>
| <page>
| <page-name>SeamBooking</page-name>
| <window>
| <window-name>SeamBookingPortletWindow</window-name>
| <instance-ref>SeamBookingPortletInstance</instance-ref>
| <region>center</region>
| <height>0</height>
| </window>
| </page>
| </deployment>
| <deployment>
| <if-exists>overwrite</if-exists>
| <instance>
| <instance-name>SeamBookingPortletInstance</instance-name>
| <component-ref>seam-booking.SeamBookingPortlet</component-ref>
| </instance>
| </deployment>
| </deployments>
|
10. Create .\booking\resources\WEB-INF\jboss-portlet.xml, as follows:
| <portlet-app>
| <portlet>
| <portlet-name>SeamBookingPortlet</portlet-name>
| </portlet>
| </portlet-app>
|
11. Create .\booking\resources\WEB-INF\portlet.xml, as follows:
| <?xml version="1.0" encoding="UTF-8"?>
| <portlet-app
| xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd /opt/SUNWps/dtd/portlet.xsd"
| version="1.0">
| <portlet>
| <portlet-name>SeamBookingPortlet</portlet-name>
| <init-param>
| <name>default-view</name>
| <value>/home.xhtml</value>
| </init-param>
| <portlet-class>org.apache.myfaces.portlet.MyFacesGenericPortlet</portlet-class>
| <supports>
| <mime-type>text/html</mime-type>
| <portlet-mode>VIEW</portlet-mode>
| </supports>
| <portlet-info>
| <title>SeamBookingPortlet</title>
| </portlet-info>
| </portlet>
| </portlet-app>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971936#3971936
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971936
19 years, 7 months
[JBossCache] - Re: Jboss 4 startup error: jgroup or Tree cache?
by dpabhay
We get the same error. And this started out of the blue. It has been no problem for 3 months.
The only solution is to either change the mcast IP or port. This is very severe - mostly because we don't know what is causing it. And not sure if the current production environment will be affected by it or not.
Also, there are two places for mcast IP and Port specification - tc5-cluster-service.xml and cluster-service.xml.
Does the IP and Port on these two should be ALWAYS same?
If they can be different, what is the impact to keep them separate?
Is it a good idea to provide different mcast IP AND Port for each environment (Production, UAT, DEV, developer specific). So as to avoid interference? How does one make sure that one environment does not affect the other in ANY way?
This is causing some serious concerns. Please resolve.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971935#3971935
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971935
19 years, 7 months
[JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P
by chuaky
8. Add the facelets support in .\booking\resources\WEB-INF\faces-config.xml, see below:
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE faces-config
| PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
| "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
|
| <faces-config>
|
| <!-- Navigation rules for the Booking demo app -->
|
| <navigation-rule>
|
| <navigation-case>
| <from-outcome>login</from-outcome>
| <to-view-id>/home.xhtml</to-view-id>
| <redirect />
| </navigation-case>
|
| <navigation-case>
| <from-outcome>register</from-outcome>
| <to-view-id>/register.xhtml</to-view-id>
| <redirect />
| </navigation-case>
|
| <navigation-case>
| <from-outcome>password</from-outcome>
| <to-view-id>/password.xhtml</to-view-id>
| <redirect />
| </navigation-case>
|
| <navigation-case>
| <from-outcome>main</from-outcome>
| <to-view-id>/main.xhtml</to-view-id>
| <redirect />
| </navigation-case>
|
| <navigation-case>
| <from-outcome>hotel</from-outcome>
| <to-view-id>/hotel.xhtml</to-view-id>
| <redirect />
| </navigation-case>
|
| </navigation-rule>
|
| <navigation-rule>
|
| <from-view-id>/hotel.xhtml</from-view-id>
|
| <navigation-case>
| <from-outcome>book</from-outcome>
| <to-view-id>/book.xhtml</to-view-id>
| <redirect />
| </navigation-case>
|
| </navigation-rule>
|
| <navigation-rule>
|
| <from-view-id>/book.xhtml</from-view-id>
|
| <navigation-case>
| <from-outcome>confirm</from-outcome>
| <to-view-id>/confirm.xhtml</to-view-id>
| <redirect />
| </navigation-case>
|
| </navigation-rule>
|
| <navigation-rule>
|
| <from-view-id>/confirm.xhtml</from-view-id>
|
| <navigation-case>
| <from-outcome>confirmed</from-outcome>
| <to-view-id>/main.xhtml</to-view-id>
| <redirect/>
| </navigation-case>
|
| <navigation-case>
| <from-outcome>back</from-outcome>
| <to-view-id>/book.xhtml</to-view-id>
| <redirect />
| </navigation-case>
|
| </navigation-rule>
|
| <!-- Facelets support -->
|
| <application>
| <view-handler>com.sun.facelets.FaceletPortletViewHandler</view-handler>
| </application>
|
| <lifecycle>
| <phase-listener>org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener</phase-listener>
| </lifecycle>
|
| </faces-config>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971934#3971934
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971934
19 years, 7 months
[JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P
by chuaky
7. Edit .\booking\resources\WEB-INF\web.xml with this content:
| <?xml version="1.0" encoding="UTF-8"?>
| <web-app version="2.4"
| xmlns="http://java.sun.com/xml/ns/j2ee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
| <!-- Seam -->
|
| <listener>
| <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
| </listener>
|
| <!-- Propagate conversations across redirects -->
| <filter>
| <filter-name>Seam Redirect Filter</filter-name>
| <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
| </filter>
|
| <filter-mapping>
| <filter-name>Seam Redirect Filter</filter-name>
| <url-pattern>*.seam</url-pattern>
| </filter-mapping>
|
| <!-- Extensions Filter -->
|
| <filter>
| <filter-name>extensionsFilter</filter-name>
| <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
| <init-param>
| <description>Set the size limit for uploaded files.
| Format: 10 - 10 bytes
| 10k - 10 KB
| 10m - 10 MB
| 1g - 1 GB
| </description>
| <param-name>uploadMaxFileSize</param-name>
| <param-value>100m</param-value>
| </init-param>
| <init-param>
| <description>Set the threshold size - files
| below this limit are stored in memory, files above
| this limit are stored on disk.
|
| Format: 10 - 10 bytes
| 10k - 10 KB
| 10m - 10 MB
| 1g - 1 GB
| </description>
| <param-name>uploadThresholdSize</param-name>
| <param-value>100k</param-value>
| </init-param>
| </filter>
|
| <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->
|
| <filter-mapping>
| <filter-name>extensionsFilter</filter-name>
| <servlet-name>Faces Servlet</servlet-name>
| </filter-mapping>
| <filter-mapping>
| <filter-name>extensionsFilter</filter-name>
| <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
| </filter-mapping>
| <filter-mapping>
| <filter-name>extensionsFilter</filter-name>
| <url-pattern>*.jsf</url-pattern>
| </filter-mapping>
| <filter-mapping>
| <filter-name>extensionsFilter</filter-name>
| <url-pattern>*.jsp</url-pattern>
| </filter-mapping>
| <filter-mapping>
| <filter-name>extensionsFilter</filter-name>
| <url-pattern>/faces/*</url-pattern>
| </filter-mapping>
|
| <!-- JSF -->
| <!--
| <listener>
| <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
| </listener>
| -->
|
| <context-param>
| <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
| <param-value>true</param-value>
| </context-param>
| <context-param>
| <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
| <param-value>false</param-value>
| </context-param>
| <context-param>
| <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
| <param-value>false</param-value>
| </context-param>
| <context-param>
| <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
| <param-value>false</param-value>
| </context-param>
| <context-param>
| <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
| <param-value>true</param-value>
| </context-param>
| <context-param>
| <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
| <param-value>client</param-value>
| </context-param>
|
| <context-param>
| <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
| <param-value>.xhtml</param-value>
| </context-param>
|
| <context-param>
| <param-name>facelets.DEVELOPMENT</param-name>
| <param-value>true</param-value>
| </context-param>
|
| <servlet>
| <servlet-name>Faces Servlet</servlet-name>
| <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
| <load-on-startup>1</load-on-startup>
| </servlet>
|
| <!-- Faces Servlet Mapping -->
|
| <servlet-mapping>
| <servlet-name>Faces Servlet</servlet-name>
| <url-pattern>*.seam</url-pattern>
| </servlet-mapping>
|
| <servlet-mapping>
| <servlet-name>Faces Servlet</servlet-name>
| <url-pattern>*.jsf</url-pattern>
| </servlet-mapping>
|
| <!-- Seam Remoting -->
|
| <servlet>
| <servlet-name>Seam Remoting</servlet-name>
| <servlet-class>org.jboss.seam.remoting.SeamRemotingServlet</servlet-class>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>Seam Remoting</servlet-name>
| <url-pattern>/seam/remoting/*</url-pattern>
| </servlet-mapping>
|
| </web-app>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971933#3971933
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971933
19 years, 7 months