[JCA/JBoss] - Re: RA deployment in JBoss
by jeff.yuchang
Firstly, thanks for your reply, to make you easy understood my situation, I will post all relevant xml configure file. ;-)
1. application.xml
<?xml version="1.0" encoding="UTF-8"?>
<display-name>cxf-jca</display-name>
cxf.rar
2. jboss-app.xml
<?xml version="1.0" encoding="UTF-8"?>
<jboss-app>
<loader-repository>
apache.cxf:loader=cxf.ear
<loader-repository-config>
java2ParentDelegation=false
</loader-repository-config>
</loader-repository>
cxf-ds.xml
</jboss-app>
3. cxf-ds.xml
<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<no-tx-connection-factory>
<jndi-name>EIS/CXFConnector</jndi-name>
<rar-name>cxf.ear#cxf.rar</rar-name>
<connection-definition>org.apache.cxf.connector.CXFConnectionFactory</connection-definition>
</no-tx-connection-factory>
</connection-factories>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096124#4096124
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096124
18Â years, 9Â months
[JBoss Seam] - loosing conversation id
by nemya
Hi,
I have a page with a commandlink :
<h:commandLink value="" id="cl1" action="#{bean.method}">
| <h:graphicImage value="img/arrow_left.png" />
| </h:commandLink>
When I click on it for the first time I have a cid on the link(which is different from the cid I have when I click on any other s:link on the same page) but it works fine. When I click again I have no cid on the link and I have a # instead.
In fact is more general. I want to use a filter that parses the xhtml page. When the filter starts to analyse the response, I always analyzes the initial page(it doesn't take care of the updates due to clicks on my commandlink)
I didn't specify a scope on the Bean. And I'm using Jboss Seam 2.0.0.CR1 + JBoss AS 4.2.1.GA
thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096123#4096123
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096123
18Â years, 9Â months
[JCA/JBoss] - Re: RA deployment in JBoss
by jeff.yuchang
And then I found it was caused by the xmlapi jar.
In my RA.rar, I have the xmlapi.jar, whose version is lower than the xmlapi in the $JBoss_HOME/lib/endorsed folder, so I remove the xmlapi.jar in my RA.
Then I start the jboss again, and see another error is:
22:28:26,091 ERROR [STDERR] java.lang.ClassCastException: $Proxy63
22:28:26,091 ERROR [STDERR] at sun.reflect.annotation.AnnotationParser.annotationForMap(Annotati
onParser.java:239)
22:28:26,091 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
22:28:26,123 ERROR [STDERR] at sun.reflect.annotation.AnnotationParser.parseAnnotation(Annotatio
nParser.java:229)
22:28:26,123 ERROR [STDERR] at sun.reflect.annotation.AnnotationParser.parseAnnotations2(Annotat
ionParser.java:69)
22:28:26,123 ERROR [STDERR] at sun.reflect.annotation.AnnotationParser.parseAnnotations(Annotati
onParser.java:52)
22:28:26,123 ERROR [STDERR] at java.lang.Class.initAnnotationsIfNecessary(Class.java:3031)
22:28:26,123 ERROR [STDERR] at java.lang.Class.getAnnotation(Class.java:2989)
22:28:26,123 ERROR [STDERR] at org.apache.cxf.jaxws.support.JaxWsImplementorInfo.initialise(JaxW
sImplementorInfo.java:259)
It seems it uses the JBoss server lib again, instead of using the library in my RAR file.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096121#4096121
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096121
18Â years, 9Â months