[Microcontainer] - More trouble in the bean-deployer schema
by david.lloyd@jboss.com
The following construct doesn't validate, even though it's allowed by the bean deployer (which fortunately doesn't validate, but that's another thread):
| ...
| <parameter class="...">
| <bean name="..." class="...">
| ...
| </bean>
| </parameter>
| ...
|
The error is something like this (formatted for readability):
| Error:Error:line (15)cvc-complex-type.2.4.a: Invalid content was found starting with element 'bean'.
| One of
| '{"urn:jboss:bean-deployer:2.0":value,
| "urn:jboss:bean-deployer:2.0":inject,
| "urn:jboss:bean-deployer:2.0":value-factory,
| "urn:jboss:bean-deployer:2.0":collection,
| "urn:jboss:bean-deployer:2.0":list,
| "urn:jboss:bean-deployer:2.0":set,
| "urn:jboss:bean-deployer:2.0":array,
| "urn:jboss:bean-deployer:2.0":map,
| "urn:jboss:bean-deployer:2.0":null,
| "urn:jboss:bean-deployer:2.0":this,
| WC[##other:"urn:jboss:bean-deployer:2.0"],
| "urn:jboss:bean-deployer:2.0":annotation}'
| is expected.
|
The xsd for bean-deployer is a bit too crazy for me to parse mentally, so I don't know what the problem is.
Also, the following validation errors have been popping up lately:
| /home/david/src/java/microcontainer/trunk/kernel/src/main/resources/schema/bean-deployer_2_0.xsd
| Error:Error:line (139)rcase-RecurseLax.2: There is not a complete functional mapping between the particles.
| Error:Error:line (139)src-redefine.6.2.2: Group 'valueGroup' does not properly restrict the group it redefines; constraint violated: 'rcase-RecurseLax.2'.
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223150#4223150
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223150
15 years, 10 months
[Installation, Configuration & DEPLOYMENT] - Re: Large web service request, connection prematurely closed
by tinny4u
| <Connector port="8080" address="${jboss.bind.address}"
| maxThreads="250" maxHttpHeaderSize="16384"
| emptySessionPath="true" protocol="HTTP/1.1"
| enableLookups="false" redirectPort="8443" acceptCount="100"
| maxPostSize="10240"
| bufferSize="10240"
| socketBuffer="10240"
| connectionTimeout="240000" disableUploadTimeout="true" />
|
| <!-- Define a SSL HTTP/1.1 Connector on port 8443
| This connector uses the JSSE configuration, when using APR, the
| connector should be using the OpenSSL style configuration
| described in the APR documentation -->
|
| <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
| maxThreads="150" scheme="https" secure="true"
| clientAuth="false" sslProtocol="TLS"
| connectionTimeout="240000"
| maxPostSize="10240"
| bufferSize="10240"
| socketBuffer="10240"
| maxSavePostSize="10240"
| maxHttpHeaderSize="16384"
| disableUploadTimeout="true"
| keystoreFile="${jboss.server.home.dir}/conf/.keystore"
| keystorePass="fact0ring" />
|
|
| <!-- Define an AJP 1.3 Connector on port 8009 -->
| <Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3"
| emptySessionPath="true" enableLookups="false" redirectPort="8443" />
|
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223133#4223133
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223133
15 years, 10 months