[JBossWS] - Re: Warning with ServiceObjectFactory with jbossws-native-2.
by chris.laprun@jboss.com
"thomas.diesler(a)jboss.com" wrote : Service.getPort(SEI) must be able to retrieve a distinct port definition. Please show us your <service-ref> definitions
|
Yes, I figured as much (I looked at that source code as well) but I wasn't quite sure what was wrong in my service definition:
<service-ref>
| <service-ref-name>service/ServiceDescriptionService</service-ref-name>
| <service-interface>javax.xml.rpc.Service</service-interface>
| <wsdl-file>META-INF/wsdl/wsrp_services.wsdl</wsdl-file>
| <jaxrpc-mapping-file>META-INF/jaxrpc-mappings.xml</jaxrpc-mapping-file>
| <port-component-ref>
| <service-endpoint-interface>org.jboss.portal.wsrp.core.WSRP_v1_ServiceDescription_PortType</service-endpoint-interface>
| </port-component-ref>
| </service-ref>
I have four of them all similar to this one. I didn't include any handler definition here.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101863#4101863
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101863
18 years, 5 months
[Beginners Corner] - Re: Jboss 5 Beta 2 won't even run with Java 5?
by j0llyr0g3r
Hey ho,
i accidentally stumbled across a patch for this described here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=111930
anonymous wrote : I just submitted a patch (only one line was changed in the original file), please see here:
|
| http://jira.jboss.org/jira/browse/JBAS-4491
|
| I've compiled it and tested on my machine, seems working well. For anyone who has the same problem: You just need to download the Signature.java, compile it (it has no other dependency so can be compiled using your jdk 1.6 anyhow) and get the Signature.class. Then swap the Signature.class file in jboss-embedded-all.jar with the patched class file. That's it. The Signature.class lies in package: org.jboss.metadata.spi.signature .
|
| This solved the regression problem and now I do not need to install jdk 1.5 just for this. :-)
|
|
| Regards,
| Ellen
Ok, so i downloaded it and tried to compile it via:
javac Signature.java
But this gives me a whole bunch of errors like:
----------
| 30. ERROR in Signature.java (at line 205)
| public Signature(String... parameters)
| ^^^^^^^^^^^^^^^^^^^^
| Syntax error, varargs are only available if source level is 5.0
| ----------
| 31. ERROR in Signature.java (at line 215)
| public Signature(Class... parameters)
| ^^^^^^^^^^^^^^^^^^^
| Syntax error, varargs are only available if source level is 5.0
| ----------
| 32. ERROR in Signature.java (at line 226)
| public Signature(String name, Class... parameters)
| ^^^^^^^^^^^^^^^^^^^
| Syntax error, varargs are only available if source level is 5.0
| ----------
| 33. ERROR in Signature.java (at line 237)
| public Signature(String name, String... parameters)
| ^^^^^^^^^^^^^^^^^^^^
| Syntax error, varargs are only available if source level is 5.0
| ----------
| 33 problems (33 errors)
But the java-Version is (from the same console):
java -version
| java version "1.5.0_13"
| Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
| Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode, sharing)
What the hack is going wrong here?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101861#4101861
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101861
18 years, 5 months
[JBoss Seam] - Re: Batch Index using Hibernate Search and Seam
by mat
I submitted too soon;
Entities filtered with the following annotations:
| @org.hibernate.annotations.FilterDef(
| name = "accessCompanyFilter",
| parameters = {(a)org.hibernate.annotations.ParamDef(name = "currentAccessCompany", type="integer")}
| )
| @org.hibernate.annotations.Filter(
| name = "accessCompanyFilter",
| condition = "READ_ACCESS_COMPANY = :currentAccessCompany"
| )
| public class Order implements Serializable {
|
| ...
|
| @Column(name = "READ_ACCESS_COMPANY", nullable = false)
| @org.hibernate.search.annotations.Field(
| index = org.hibernate.search.annotations.Index.UN_TOKENIZED,
| store = org.hibernate.search.annotations.Store.YES
| )
| @org.hibernate.search.annotations.FieldBridge(impl = PaddedIntegerBridge.class)
| public int getReadAccessCompany() {
| return readAccessCompany;
| }
|
| public void setReadAccessCompany(int readAccessCompany) {
| this.readAccessCompany = readAccessCompany;
| }
|
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101856#4101856
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101856
18 years, 5 months