Hello again.

Having now gotten my web service to deploy, I am trying to get it to
respond to my queries by sending it messages. I get the format of the
WSDL from the server, and observe that the WSDL has changed. However,
when I make a request to the server, I get nothing back, and no errors
appear either on the server output, or in the SOAPUI response output.

I will send further information on request.

Thanks,

  Owen.

-----Original Message-----
From: Owen Thomas [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 21, 2007 12:02 PM
To: [email protected]
Subject: RE: Deploying JSR-181 SU with predefined schemas.

This looks interesting...

Using Java 1.6 in my IDE and build env, and 1.5 on the server on which
SA is deployed. According to an SDN bug 6553734, this is very naughty.

Looks like I'll have to build under 1.5.

I wish the network fellas round here would install 1.6 on the server.

  Owen.

-----Original Message-----
From: Owen Thomas [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 21, 2007 11:33 AM
To: [email protected]
Subject: Deploying JSR-181 SU with predefined schemas.

Good morning ServiceMix users.

 

I changed a JSR-181 SU to use two predefined (request/response) schemas.
I have designed the SU class-first - i.e., there is no WSDL.

 

Wanting to use the schemas as POJO classes, I used xjc to give me these
so I could refer to them in the web method I declared within the JSR-181
SU. These classes belonged to a package named
"au.net.wcg.webservice.jsr181.generated".

 

When I deploy the SA within which the SU resides, I get the following
error.

 

Help greatly appreciated,

 

  Owen.

 

<component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message";>

        <component-name>servicemix-jsr181</component-name>

        <component-task-result-details>

                <task-result-details>

                        <task-id>deploy</task-id>

                        <task-result>FAILED</task-result>

                        <message-type>ERROR</message-type>

                        <task-status-msg>

<msg-loc-info>

<loc-token/>

<loc-message>Could not deploy xbean service unit</loc-message>

</msg-loc-info>

</task-status-msg>

                        <exception-info>

                                <nesting-level>1</nesting-level>

                                <msg-loc-info>

                                        <loc-token/>

                                        <loc-message>Illegal class
modifiers in class au/net/wcg/webservice/jsr181/generated/package-info:
0x1600</loc-message>

 
<stack-trace><![CDATA[java.lang.ClassFormatError: Illegal class
modifiers in class au/net/wcg/webservice/jsr181/generated/package-info:
0x1600

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(Unknown Source)

        at java.security.SecureClassLoader.defineClass(Unknown Source)

        at
org.apache.xbean.classloader.JarFileClassLoader.access$200(JarFileClassL
oader.java:48)

        at
org.apache.xbean.classloader.JarFileClassLoader$6.run(JarFileClassLoader
.java:272)

        at java.security.AccessController.doPrivileged(Native Method)

        at
org.apache.xbean.classloader.JarFileClassLoader.findClass(JarFileClassLo
ader.java:224)

        at
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParen
tClassLoader.java:200)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at java.lang.Package.getPackageInfo(Unknown Source)

        at java.lang.Package.getAnnotation(Unknown Source)

        at
org.codehaus.xfire.jaxb2.JaxbType.getPackageNs(JaxbType.java:418)

        at org.codehaus.xfire.jaxb2.JaxbType.initType(JaxbType.java:390)

        at org.codehaus.xfire.jaxb2.JaxbType.initType(JaxbType.java:339)

        at org.codehaus.xfire.jaxb2.JaxbType.<init>(JaxbType.java:84)

        at org.codehaus.xfire.jaxb2.JaxbType.<init>(JaxbType.java:77)

        at
org.codehaus.xfire.jaxws.type.JAXWSTypeCreator.createTypeForClass(JAXWST
ypeCreator.java:33)

        at
org.codehaus.xfire.aegis.type.AbstractTypeCreator.createType(AbstractTyp
eCreator.java:356)

        at
org.codehaus.xfire.aegis.AegisBindingProvider.getSuggestedName(AegisBind
ingProvider.java:248)

        at
org.codehaus.xfire.service.binding.DefaultServiceConfiguration.getInPara
meterName(DefaultServiceConfiguration.java:160)

        at
org.codehaus.xfire.annotations.AnnotationServiceConfiguration.getInParam
eterName(AnnotationServiceConfiguration.java:138)

        at
org.codehaus.xfire.service.binding.ObjectServiceFactory.getInParameterNa
me(ObjectServiceFactory.java:1054)

        at
org.codehaus.xfire.service.binding.ObjectServiceFactory.addOperation(Obj
ectServiceFactory.java:808)

        at
org.codehaus.xfire.jaxws.JAXWSServiceFactory.addOperation(JAXWSServiceFa
ctory.java:84)

        at
org.codehaus.xfire.service.binding.ObjectServiceFactory.initializeOperat
ions(ObjectServiceFactory.java:752)

        at
org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectSer
viceFactory.java:435)

        at
org.codehaus.xfire.annotations.AnnotationServiceFactory.create(Annotatio
nServiceFactory.java:256)

        at
org.apache.servicemix.jsr181.Jsr181Endpoint.registerService(Jsr181Endpoi
nt.java:301)

        at
org.apache.servicemix.jsr181.Jsr181Endpoint.validate(Jsr181Endpoint.java
:216)

        at
org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.
java:58)

        at
org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanD
eployer.java:55)

        at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(Abstract
XBeanDeployer.java:92)

        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseService
UnitManager.java:88)

        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUn
itManager.java:69)

        at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssem
bly(DeploymentService.java:527)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:334)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirecto
ry(AutoDeploymentService.java:645)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(Aut
oDeploymentService.java:62)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDepl
oymentService.java:608)

        at java.util.TimerThread.mainLoop(Unknown Source)

        at java.util.TimerThread.run(Unknown Source)

]]></stack-trace>

                                </msg-loc-info>

                        </exception-info>

                </task-result-details>

        </component-task-result-details>

</component-task-result>

<component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message";>

        <component-name>servicemix-http</component-name>

        <component-task-result-details>

                <task-result-details>

                        <task-id>deploy</task-id>

                        <task-result>SUCCESS</task-result>

                </task-result-details>

        </component-task-result-details>

</component-task-result>

</jbi-task-result>

</jbi-task>

 

        at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(Management
Support.java:121)

        at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(Management
Support.java:107)

        at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssem
bly(DeploymentService.java:563)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:334)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirecto
ry(AutoDeploymentService.java:645)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(Aut
oDeploymentService.java:62)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDepl
oymentService.java:608)

        at java.util.TimerThread.mainLoop(Unknown Source)

        at java.util.TimerThread.run(Unknown Source)

WARN  - AutoDeploymentService          - Directory: deploy: Automatic
install of
/home/othomas/apache-servicemix-fuse-3.1.1.0/deploy/JVMHostServiceAssemb
ly-1.0.zip failed

javax.jbi.management.DeploymentException: Failed to update Service
Assembly: JVMHostServiceAssembly

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:348)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirecto
ry(AutoDeploymentService.java:645)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(Aut
oDeploymentService.java:62)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDepl
oymentService.java:608)

        at java.util.TimerThread.mainLoop(Unknown Source)

        at java.util.TimerThread.run(Unknown Source)

Caused by: java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?>

<jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message";
version="1.0">

<jbi-task-result>

<frmwk-task-result>

<frmwk-task-result-details>

<task-result-details>

<task-id>deploy</task-id>

<task-result>FAILED</task-result>

<message-type>ERROR</message-type>

</task-result-details>

</frmwk-task-result-details>

</frmwk-task-result>

<component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message";>

        <component-name>servicemix-jsr181</component-name>

        <component-task-result-details>

                <task-result-details>

                        <task-id>deploy</task-id>

                        <task-result>FAILED</task-result>

                        <message-type>ERROR</message-type>

                        <task-status-msg>

<msg-loc-info>

<loc-token/>

<loc-message>Could not deploy xbean service unit</loc-message>

</msg-loc-info>

</task-status-msg>

                        <exception-info>

                                <nesting-level>1</nesting-level>

                                <msg-loc-info>

                                        <loc-token/>

                                        <loc-message>Illegal class
modifiers in class au/net/wcg/webservice/jsr181/generated/package-info:
0x1600</loc-message>

 
<stack-trace><![CDATA[java.lang.ClassFormatError: Illegal class
modifiers in class au/net/wcg/webservice/jsr181/generated/package-info:
0x1600

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(Unknown Source)

        at java.security.SecureClassLoader.defineClass(Unknown Source)

        at
org.apache.xbean.classloader.JarFileClassLoader.access$200(JarFileClassL
oader.java:48)

        at
org.apache.xbean.classloader.JarFileClassLoader$6.run(JarFileClassLoader
.java:272)

        at java.security.AccessController.doPrivileged(Native Method)

        at
org.apache.xbean.classloader.JarFileClassLoader.findClass(JarFileClassLo
ader.java:224)

        at
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParen
tClassLoader.java:200)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at java.lang.Package.getPackageInfo(Unknown Source)

        at java.lang.Package.getAnnotation(Unknown Source)

        at
org.codehaus.xfire.jaxb2.JaxbType.getPackageNs(JaxbType.java:418)

        at org.codehaus.xfire.jaxb2.JaxbType.initType(JaxbType.java:390)

        at org.codehaus.xfire.jaxb2.JaxbType.initType(JaxbType.java:339)

        at org.codehaus.xfire.jaxb2.JaxbType.<init>(JaxbType.java:84)

        at org.codehaus.xfire.jaxb2.JaxbType.<init>(JaxbType.java:77)

        at
org.codehaus.xfire.jaxws.type.JAXWSTypeCreator.createTypeForClass(JAXWST
ypeCreator.java:33)

        at
org.codehaus.xfire.aegis.type.AbstractTypeCreator.createType(AbstractTyp
eCreator.java:356)

        at
org.codehaus.xfire.aegis.AegisBindingProvider.getSuggestedName(AegisBind
ingProvider.java:248)

        at
org.codehaus.xfire.service.binding.DefaultServiceConfiguration.getInPara
meterName(DefaultServiceConfiguration.java:160)

        at
org.codehaus.xfire.annotations.AnnotationServiceConfiguration.getInParam
eterName(AnnotationServiceConfiguration.java:138)

        at
org.codehaus.xfire.service.binding.ObjectServiceFactory.getInParameterNa
me(ObjectServiceFactory.java:1054)

        at
org.codehaus.xfire.service.binding.ObjectServiceFactory.addOperation(Obj
ectServiceFactory.java:808)

        at
org.codehaus.xfire.jaxws.JAXWSServiceFactory.addOperation(JAXWSServiceFa
ctory.java:84)

        at
org.codehaus.xfire.service.binding.ObjectServiceFactory.initializeOperat
ions(ObjectServiceFactory.java:752)

        at
org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectSer
viceFactory.java:435)

        at
org.codehaus.xfire.annotations.AnnotationServiceFactory.create(Annotatio
nServiceFactory.java:256)

        at
org.apache.servicemix.jsr181.Jsr181Endpoint.registerService(Jsr181Endpoi
nt.java:301)

        at
org.apache.servicemix.jsr181.Jsr181Endpoint.validate(Jsr181Endpoint.java
:216)

        at
org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.
java:58)

        at
org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanD
eployer.java:55)

        at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(Abstract
XBeanDeployer.java:92)

        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseService
UnitManager.java:88)

        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUn
itManager.java:69)

        at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssem
bly(DeploymentService.java:527)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:334)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirecto
ry(AutoDeploymentService.java:645)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(Aut
oDeploymentService.java:62)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDepl
oymentService.java:608)

        at java.util.TimerThread.mainLoop(Unknown Source)

        at java.util.TimerThread.run(Unknown Source)

]]></stack-trace>

                                </msg-loc-info>

                        </exception-info>

                </task-result-details>

        </component-task-result-details>

</component-task-result>

<component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message";>

        <component-name>servicemix-http</component-name>

        <component-task-result-details>

                <task-result-details>

                        <task-id>deploy</task-id>

                        <task-result>SUCCESS</task-result>

                </task-result-details>

        </component-task-result-details>

</component-task-result>

</jbi-task-result>

</jbi-task>

 

        at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(Management
Support.java:121)

        at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(Management
Support.java:107)

        at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssem
bly(DeploymentService.java:563)

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:334)

        ... 5 more

 

Reply via email to