[JBoss Web Services] - Re: jboss6 final and jbossws 3.4.0
by Antoine Brun
Antoine Brun [http://community.jboss.org/people/abr] created the discussion
"Re: jboss6 final and jbossws 3.4.0"
To view the discussion, visit: http://community.jboss.org/message/578778#578778
--------------------------------------------------------------
ok, I'll try with jbossws native 3.4.1 as soon as it is available.
in the mean time, I tried to declare the handler like that:
@HandlerChain(file = "handler-chain.xml")
and I get:
DEPLOYMENTS IN ERROR:
Deployment "vfs:///home/abr/workspace/api/dist/ubi-api.ear" is in error due to the following reason(s): javax.xml.ws.WebServiceException: Could not find the handler configuration file handler-chain.xml specified by @HandlerChain annotation
so next I tried:
@HandlerChain(file = "/handler-chain.xml")
and I get:
DEPLOYMENTS IN ERROR:
Deployment "vfs:///home/abr/workspace/api/dist/ubi-api.ear" is in error due to the following reason(s): javax.xml.ws.WebServiceException: false false Element <?xml version="1.0" encoding="utf-8"?><handler-config>
<handler-chain>
<handler-chain-name>SoapHandler</handler-chain-name>
<handler>
<handler-name>SoapMessageValidationHandler</handler-name>
<handler-class>com.ubiqube.api.ws.soapHandler.MessageValidationSoapHandler</handler-class>
</handler>
</handler-chain>
</handler-config> is not a valid root element in file vfs:/home/abr/workspace/api/dist/ubi-api.ear/ubi-api-ejb.jar/handler-chain.xml
So with CXF 3.4.1the "/" must be there, wheras with native 3.4.0 it was not necessary (note that I did not try with the / and native 3.4.0).
Do you know when the jbossws native 3.4.1 will be available for download?
Another question, maybe you can point me to some doc: why choosing jbossws CXF against native? Is it a certification issue?
Thank you for your time and answer
Antoine
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578778#578778]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months
[JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?
by Petr H
Petr H [http://community.jboss.org/people/hostalp] created the discussion
"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"
To view the discussion, visit: http://community.jboss.org/message/578813#578813
--------------------------------------------------------------
> You just need to <javabean> the right filter instance. ;-)
>
> e.g. <-- pseudo code -- I need to check this into more details (it's been a while since I wrote this javabean' stuff :) )...
Yeah, something of that sort would do it - CombiningClassFilter::
public static CombiningClassFilter create(ClassFilter... filters) ...
public static CombiningClassFilter create(boolean and, ClassFilter... filters) ...
public CombiningClassFilter(boolean and, ClassFilter[] filters) ...
so passing filters via array would probably work if it's implemented that way. Anyway use of JavaOnlyClassFilter or EverythingClassFilter will still be an issue due to their private constructors.
> Well, the "plain default" knows about deployment type:
> * ear --> isolation --> look locally first == parent-first=false
> * war, which has parent-first=false by default
>
> Whereas jb-cl-domain.xml is deployment type agnostic, hence uses the more natural default.
Right, understood, it's just unfortunate that it's not so simple to change the classloading back to plain ear default then..
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578813#578813]
Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months
[JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?
by Ales Justin
Ales Justin [http://community.jboss.org/people/alesj] created the discussion
"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"
To view the discussion, visit: http://community.jboss.org/message/578801#578801
--------------------------------------------------------------
> The optimal target would be either to allow for multiple filters directly
You just need to javabean> the right filter instance. ;-)
e.g. <-- pseudo code -- I need to check this into more details (it's been a while since I wrote this javabean' stuff :) )
<before-filter>
<javabean xmlns="urn:jboss:javabean:2.0" class="org.jboss.classloader.plugins.filter.CombiningClassFilter">
<constructor>
<parameter>
<!-- some other filter missing here + some xml syntax -->
<javabean xmlns="urn:jboss:javabean:2.0" class="org.jboss.classloader.plugins.filter.NegatingClassFilter">
<constructor>
<parameter>
<javabean xmlns="urn:jboss:javabean:2.0" class="org.jboss.classloader.spi.filter.RecursivePackageClassFilter">
<constructor>
<parameter>org.hibernate</parameter>
</constructor>
</javabean>
</parameter>
</constructor>
</javabean>
</parameter>
</constructor>
</javabean>
</before-filter>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578801#578801]
Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months
[jBPM] - Deployment problem of the jBPM database schema
by k1ng hg0
k1ng hg0 [http://community.jboss.org/people/k1nghg0] created the discussion
"Deployment problem of the jBPM database schema"
To view the discussion, visit: http://community.jboss.org/message/578277#578277
--------------------------------------------------------------
Hi,
I am trying to get jBPM 4.4 running with a MySQL database version 5.5.8.
I changed {jbpm-home}\install\jdbc\mysql.properties and called
"ant -Ddatabase=mysql create.jbpm.schema", but the follwing error occurs during creating the schema:
[java] 06:54:33,538 INF | [DbHelper] --- Executing DB Commands -------------------------
[java] 06:54:33,538 INF | [DbHelper] create table JBPM4_DEPLOYMENT (
[java] DBID_ bigint not null,
[java] NAME_ longtext,
[java] TIMESTAMP_ bigint,
[java] STATE_ varchar(255),
[java] primary key (DBID_)
[java] ) type=InnoDB
*[java] 06:54:33,560 WRN | [JDBCExceptionReporter] SQL Error: 1064, SQLState: 42000*
[java] 06:54:33,560 SEV | [JDBCExceptionReporter] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=InnoDB' at line 7
[java] org.hibernate.exception.SQLGrammarException: could not execute native bulk manipulation query
[java] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
It would be nice, if somebody could tell what I did wrong.
Where can I find the plain sql-scripts without using ant and create.jbpm.schema?
Thanks and regards
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578277#578277]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months