Profile Service Tests
by Adrian Brock
The run last night failed because the server was
shutdown before the test finished, see around 03:17:26
http://hudson.jboss.org/hudson/job/JBoss-AS-5.0.x-TestSuite-sun15/849/art...
It's currently failing for me, because of an NPE,
which looks related to Alex's change:
Caused by: java.lang.NullPointerException
at
org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentMetaData.setTrackConnectionByTransaction(ManagedConnectionFactoryDeploymentMetaData.java:5
29)
at
org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at
org.jboss.beans.info.plugins.DefaultPropertyInfo.set(DefaultPropertyInfo.java:143)
at
org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.setValue(AbstractInstanceClassFactory.java:303)
at
org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.setValue(AbstractInstanceClassFactory.java:256)
at
org.jboss.managed.plugins.WritethroughManagedPropertyImpl.setValue(WritethroughManagedPropertyImpl.java:109)
at
org.jboss.resource.deployers.management.DsDataSourceTemplate.writeTemplate(DsDataSourceTemplate.java:154)
at
org.jboss.resource.deployers.management.DsDataSourceTemplate.applyTemplate(DsDataSourceTemplate.java:70)
at
org.jboss.profileservice.management.ManagementViewImpl.applyTemplate(ManagementViewImpl.java:673)
-------- Forwarded Message --------
From: Ales Justin <ales.justin(a)gmail.com>
To: Dimitris Andreadis <dandread(a)redhat.com>
Cc: Adrian Brock <abrock(a)redhat.com>, Scott M Stark <sstark(a)redhat.com>,
Bruno Georges <bgeorges(a)redhat.com>
Subject: Re: vacation
Date: Tue, 26 Aug 2008 15:26:23 +0200
They work for me locally, so I don't see how I can look for what's wrong
test:
[delete] Deleting: C:\DOCUME~1\Ales\LOCALS~1\Temp\test.log
[junit] Running org.jboss.test.profileservice.test.DeployUnitTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 23,953 sec
[junit] Running
org.jboss.test.profileservice.test.JmsDestinationUnitTestCase
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 8,422 sec
[junit] Running
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase
[junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 11,875 sec
BUILD SUCCESSFUL
The cause of this failures below is also weird.
Since it states there is testEjb3xDeployment failure
vfszip:/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x-TestSuite-sun15/trunk/build/output/jboss-5.0.0.CR2/server/profileservice/deploy/testEjb3xDeployment.jar
-> java.util.zip.ZipException: error in opening zip file
But I don't see this test failing among failures.
So, I'll have to leave this one to Scott.
Who probably has more equivalent env to Hudson than me.
Or if Mladen takes his tax-hidden Ferrari for a ride,
bringing me new Linux based laptop, to mock the tests. :-)
Dimitris Andreadis wrote:
> Ales, can you take a look at the profileservice tests before you go?
>
> They keep failing and make up 50% of the current failures:
> https://jira.jboss.org/jira/browse/JBAS-5625
> http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-Test...
>
>
> Ales Justin wrote:
>> I'll be finally taking some summer vacation. :-)
>>
>> From this Wednesday 27 Aug till Friday 5 Sept I'll be chilling out
>> at Croatia's Adriatic coast.
>> Laptop stays at home - 1st time after 2 years - but I'll try to write
>> an article about MC/AS5 - targeting demos I started a few weeks ago.
>>
>> When is JBoss5_CR2 planned?
>> If during my absence, then someone else, presumably Adrian,
>> needs to do MCs CR1 releases.
>>
>> I see there are still some JBMICROCONT issues,
>> which I'll fix tomorrow.
>> And I'll also do a bit of JIRA house-cleaning,
>> after the express releases I did to help/fix various TCK issues.
>>
>> I can still be reached on my Gmail (ales.justin(a)gmail.com)
>> as I expect iPhone to work. :-)
>>
>> Cheers,
>> Ales
>
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
16 years, 3 months
JBAS-4456 "Replace JRMPProxyService with a remoting based bean."
by Ron Sigal
I want to mention that there's an AOP / Aspects / Remoting based
alternative to org.jboss.invocation.jrmp.server.JRMPProxyFactory. It
lives in the jboss-aspects project. Javadoc attached.
The current uses of JRMPProxyFactory in AS 5 seem to be:
./server/{all,default,minimal}/conf/xmdesc/NamingService-xmbean.xml
./server/{all,default}/deploy/jmx-invoker-service.xml: RMIAdapter
./server/all/deploy/transaction-service.xml
./server/default/deploy/transaction-service.xml
./server/default/unified-http-invoker.sar/META-INF/jboss-service.xml
Since I don't know who "owns" these files, I'm just broadcasting.
-Ron
16 years, 3 months
Component update cut-off date for AS5 CR2
by Dimitris Andreadis
Friday Aug/29th is the cutoff date for component updates in AS5 CR2:
https://jira.jboss.org/jira/browse/JBAS-5122
I expect the following to be completed by then:
- javassist
- jboss-javaee
- jbossts
- pojo/jboss cache
- ha-client/server
The rest of the modules (ejb3, aspects, mc*) will be tagged at CR level when we are done
with the tck.
If we are missing something important, speak up now.
Thanks
/Dimitris
16 years, 3 months
Error passing Complex Types as parameters in Web Service
by nandan_tiwari
Hi,
I have created a simple Hello World Web Service.
And a POJO, HelloParam.
The method exposed in the web service "sayHello" takes HelloParam object as
parameter.
The WSDL is generated and is deployed successfully over JBoss.
But when I run the client, I get the following error:
Exception in thread "main" org.jboss.ws.WSException: Cannot obtain java type
mapping for: {http://ejb3webservice.wipro.com/}helloParam
Following are the classes that I have created:
HelloParam.java
package com.wipro.ejb3webservice;
import java.io.Serializable;
public class HelloParam implements Serializable{
/**
*
*/
private static final long serialVersionUID = 5446103626304202057L;
String firstName;
String lastName;
/**
* @return the firstName
*/
public String getFirstName() {
return firstName;
}
/**
* @param firstName the firstName to set
*/
public void setFirstName(String firstName) {
this.firstName = firstName;
}
/**
* @return the lastName
*/
public String getLastName() {
return lastName;
}
/**
* @param lastName the lastName to set
*/
public void setLastName(String lastName) {
this.lastName = lastName;
}
/**
* @param firstName
* @param lastName
*/
public HelloParam(String firstName, String lastName) {
super();
this.firstName = firstName;
this.lastName = lastName;
}
/**
*
*/
public HelloParam() {
}
}
The Interface which is exposed as webservice is:
HelloWorld.java
package com.wipro.ejb3webservice;
import java.rmi.Remote;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
@WebService
@SOAPBinding(style = Style.RPC)
public interface HelloWorld extends Remote {
public void sayHello(HelloParam helloParam);
}
And the implementation of the interface is :
HelloWorldImpl.java
package com.wipro.ejb3webservice;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
@Stateless
@Remote(HelloWorld.class)
@WebService(name="HelloWorldName"
,serviceName="HelloWorldImplService",endpointInterface =
"com.wipro.ejb3webservice.HelloWorld")
public class HelloWorldImpl implements HelloWorld {
@WebMethod
public void sayHello(
@WebParam(name="helloParam" )
HelloParam helloParam)
{
System.out.println("first name" + helloParam.getFirstName()+"last name--"+
helloParam.getLastName());
}
}
The WSDL is generated:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="HelloWorldImplService"
targetNamespace="http://ejb3webservice.wipro.com/"
xmlns:tns="http://ejb3webservice.wipro.com/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<xs:schema targetNamespace="http://ejb3webservice.wipro.com/"
version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="helloParam">
<xs:sequence>
<xs:element minOccurs="0" name="firstName" type="xs:string"/>
<xs:element minOccurs="0" name="lastName" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</types>
<message name="HelloWorld_sayHelloResponse">
</message>
<message name="HelloWorld_sayHello">
<part name="arg0" type="tns:helloParam">
</part>
</message>
<portType name="HelloWorld">
<operation name="sayHello" parameterOrder="arg0">
<input message="tns:HelloWorld_sayHello">
</input>
<output message="tns:HelloWorld_sayHelloResponse">
</output>
</operation>
</portType>
<binding name="HelloWorldBinding" type="tns:HelloWorld">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="sayHello">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"
namespace="http://ejb3webservice.wipro.com/"/>
</input>
<output>
<soap:body use="literal"
namespace="http://ejb3webservice.wipro.com/"/>
</output>
</operation>
</binding>
<service name="HelloWorldImplService">
<port name="HelloWorldNamePort" binding="tns:HelloWorldBinding">
<soap:address
location="http://localhost:8080/Ejb3Webservice/HelloWorldImpl"/>
</port>
</service>
</definitions>
Can anyone help me on this issue.
Itz very urgent.
Regards
-Nandan
--
View this message in context: http://www.nabble.com/Error-passing-Complex-Types-as-parameters-in-Web-Se...
Sent from the JBoss - Dev mailing list archive at Nabble.com.
16 years, 3 months
broken build
by Dimitris Andreadis
http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x/2118...
[jar] Building jar:
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/trunk/testsuite/output/lib/aop-classesinwebinf-ejb.jar
[jar] Building jar:
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/trunk/testsuite/output/lib/aop-classesinwebinf.ear
[jar] Building jar:
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/trunk/testsuite/output/lib/aop-proxycache.aop
[jar] Building jar:
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/trunk/testsuite/output/lib/aop-proxycache-global.sar
BUILD FAILED
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/trunk/testsuite/imports/sections/aop.xml:675:
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/trunk/testsuite/output/resources/aop/scopeddependency/global
not found.
Total time: 53 seconds
Recording fingerprints
Build was marked for publishing on https://hudson.jboss.org/hudson/
16 years, 3 months