[EJB3] - EJB 3.1 embeddable JUnit Tests
by Hans-Michael Rupp
Hans-Michael Rupp [http://community.jboss.org/people/MarcusDidiusFalco] created the discussion
"EJB 3.1 embeddable JUnit Tests"
To view the discussion, visit: http://community.jboss.org/message/579824#579824
--------------------------------------------------------------
Hallo, I am trying to move from OpenEJB to JBoss 6 final.
My JUnit Tests do not work in Eclipse.
I have the jars in client on my classpath.
public class FechterDAOTestJEE6 {
public static EJBContainer ejbC;
@BeforeClass
public static void setup() {
ejbC = EJBContainer.createEJBContainer();
}
@AfterClass
public static void tearDown() {
ejbC.close();
}
@Test
public void testNeuerFechter() throws NamingException {
//...
}
}
At @BeforeClass I get this exception:
javax.ejb.EJBException: java.lang.reflect.InvocationTargetException
at org.jboss.ejb3.embedded.impl.standalone.JBossStandaloneEJBContainerProvider.createEJBContainer(JBossStandaloneEJBContainerProvider.java:153)
at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:93)
at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:75)
at fencing.control.test.FechterDAOTestJEE6.setup(FechterDAOTestJEE6.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.ejb3.embedded.impl.standalone.JBossStandaloneEJBContainerProvider.createEJBContainer(JBossStandaloneEJBContainerProvider.java:141)
... 19 more
Caused by: java.lang.NoClassDefFoundError: org/jboss/logmanager/Logger$AttachmentKey
at org.jboss.logging.JBossLogManagerProvider.<clinit>(JBossLogManagerProvider.java:36)
at org.jboss.logging.LoggerProviders.findProvider(LoggerProviders.java:33)
at org.jboss.logging.LoggerProviders.<clinit>(LoggerProviders.java:28)
at org.jboss.logging.Logger.getLogger(Logger.java:2164)
at org.jboss.logging.Logger.getLogger(Logger.java:2189)
at org.jboss.ejb3.embedded.impl.base.scanner.ClassPathEjbJarScanner.<clinit>(ClassPathEjbJarScanner.java:80)
at org.jboss.ejb3.embedded.sub.JBossSubmersibleEJBContainer.createEJBContainer(JBossSubmersibleEJBContainer.java:117)
... 24 more
Caused by: java.lang.ClassNotFoundException: org.jboss.logmanager.Logger$AttachmentKey
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 31 more
Any ideas what to do?
Thanks,
Hans
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/579824#579824]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 3 months
[JBoss Web Services] - Native library already loaded in another classloader ?! (Axis2)
by Igor JStarter
Igor JStarter [http://community.jboss.org/people/izgur] created the discussion
"Native library already loaded in another classloader ?! (Axis2)"
To view the discussion, visit: http://community.jboss.org/message/576933#576933
--------------------------------------------------------------
Hello!
I'm doing a web service which sends a file over SFTP.
I downloaded the *chilkat* jar files and send the file over FTP with no problem (as an application).
All scenarious when deploying with Axis2, but I think, only the 1. could be made to work:
1. My app.java includes system.loadLibrary(chilkat) and when making the axis archiver .aar file, I add the chilkat.jar
* Native Library* D:\KKISSWORK\jboss-5.1.0.GA-jdk6\bin\chilkat.dll *already loaded in another classloader*
2. My app.java doesn't include system.loadLibraty
If I include the jar when making .aar file: ERROR: com.chilkatsoft.chilkatJNI.new_CkSFtp()J
If i don't include the jar when making .aar file: ERROR: new_CksFtp
Any idea how to solve that?
I know that the problem is that the classloader can't load a library twice, but how to solve that.
Somewhere i read that I should load the library (in my app) from the classloader....
Thanks in advance!
BR. Igor!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576933#576933]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 3 months
[JBoss Tools] - jboss tools and maven
by nimo stephan
nimo stephan [http://community.jboss.org/people/nimo22] created the discussion
"jboss tools and maven"
To view the discussion, visit: http://community.jboss.org/message/579957#579957
--------------------------------------------------------------
I am using jboss tools and maven and found out that when I do that task:
*mvn clean package*
my source code is not compiled even the source code is changed by me, that means, old source code is packaged (and the strange thing is, I do not know, where maven (or whatever) takes these old source code as it does not exist anymore in my project-folder.
Does anyone knows what is going on here?
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building TESTAPP 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ TESTAPP---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ TESTAPP---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ TESTAPP---
[INFO] Compiling 35 source files to C:\workspaces\TESTAPP\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ TESTAPP---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ MES ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ MES ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ MES ---
[INFO] Compiling 2 source files to C:\workspaces\TESTAPP\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ MES ---
[INFO] Surefire report directory: C:\workspaces\TESTAPP\target\surefire-reports
when opening the target-folder, I can see that the the class "MyCustomerEJB.class" has a timestamp of septemer 2010, but I changed the "MyCustomerEJB.java" today and this change is not compiled and packaged into target-folder. I do not know, where maven takes this OLD class. It is really strange!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/579957#579957]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 3 months
[JBoss Web Services] - Errors in implementing WS Security
by Himaja Thovi
Himaja Thovi [http://community.jboss.org/people/t.himaja] created the discussion
"Errors in implementing WS Security"
To view the discussion, visit: http://community.jboss.org/message/579931#579931
--------------------------------------------------------------
Hi All,
I created a Web Application as WS need to encrypt and sign SOAP message using WS Security in jboss 5.1.0GA.I followed steps from Jboss In Action.
My Web Service and jars i'm using are jbossws-core.jar, servlet-api.jar.
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import org.jboss.ws.annotation.EndpointConfig;
@WebService()
@SOAPBinding(style=SOAPBinding.Style.RPC)
@EndpointConfig(configName="Standard WSSecurity Endpoint")public class NewWebService {
public String getMessage(){
return "hello";
}
}
My client is standalone class as and jars used are mail.jar, policy.jar, concurrent.jar, javassist.jar, jboss-common.jar, jaxb-impl.jar, jboss-remoting.jar, jboss-xml-binding.jar, jbossws-client.jar, log4j.jar, wsdl4j.jar, jbossws-spi.jar
import org.jboss.ws.annotation.EndpointConfig;
@EndpointConfig(configName="Standard WSSecurity Client")
public class Main {
public static void main(String[] args) { try { // Call Web Service Operation
com.ws.NewWebServiceService service = new com.ws.NewWebServiceService();
com.ws.NewWebService port = service.getNewWebServicePort();
java.lang.String result = port.getMessage();
System.out.println("Result = "+result);
} catch (Exception ex) {
ex.printStackTrace();
}
}
}
My config files are as
At client
standard-jaxws-client-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<jaxws-config xmlns="urn:jboss:jaxws-config:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:javaee="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
<client-config>
<config-name>Standard WSSecurity Client</config-name>
<post-handler-chains>
<javaee:handler-chain>
<javaee:protocol-bindings>##SOAP11_HTTP ##SOAP11_HTTP_MTOM</javaee:protocol-bindings>
<javaee:handler>
<javaee:handler-name>WSSecurityHandlerOutbound</javaee:handler-name>
<javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient</javaee:handler-class>
</javaee:handler>
</javaee:handler-chain>
</post-handler-chains>
</client-config>
</jaxws-config>
Another file jboss-wsse-client.xml
<?xml version="1.0" encoding="UTF-8"?>
<jboss-ws-security
xmlns="http://www.jboss.com/ws-security/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/ws-security/config
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
<key-store-file>META-INF/wsseClient.keystore</key-store-file>
<key-store-type>jks</key-store-type>
<key-store-password>client</key-store-password>
<trust-store-file>META-INF/wsseClient.truststore</trust-store-file>
<trust-store-type>jks</trust-store-type>
<trust-store-password>client</trust-store-password>
<key-passwords>
<key-password alias="client" password="client" />
</key-passwords>
<config>
<encrypt type="x509v3" alias="wsseServer"/>
<requires>
<encryption/>
</requires>
</config>
</jboss-ws-security>
At server we have file
jboss-wsse-server.xml
<jboss-ws-security
xmlns="http://www.jboss.com/ws-security/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/ws-security/config
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
<key-store-file>WEB-INF/wsse.keystore</key-store-file>
<key-store-type>jks</key-store-type>
<key-store-password>wsseServer</key-store-password>
<trust-store-file>WEB-INF/wsse.truststore</trust-store-file>
<trust-store-type>jks</trust-store-type>
<trust-store-password>wsseServer</trust-store-password>
<key-passwords>
<key-password alias="wsseServer" password="wsseServer" />
</key-passwords>
<config>
<encrypt type="x509v3" alias="wsseClient"/>
<requires>
<encryption />
</requires>
</config>
</jboss-ws-security>
At client side the output in log is like
DEBUG [main] (JAXWSClientMetaDataBuilder.java:77) - START buildMetaData: [service={http://ws.com/}NewWebServiceService]DEBUG [main] (WSDLDefinitionsFactory.java:102) - parse: http://127.0.0.1:9898/TrialWSApplication/NewWebService?wsdl
DEBUG [main] (JAXWSClientMetaDataBuilder.java:102) - END buildMetaData:
UnifiedMetaData:
implementation: jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
deploymentName: null
securityDomain: null
ServiceMetaData:
qname={http://ws.com/}NewWebServiceService
refName=null
wsdName=null
wsdlFile=null
wsdlLocation=http://127.0.0.1:9898/TrialWSApplication/NewWebService?wsdl
jaxrpcMapping=null
publishLocation=null
securityConfig=null
properties=null
TypesMetaData:
ClientEndpointMetaData:
type=JAXWS
qname={http://ws.com/}NewWebServicePort
address=http://127.0.0.1:9898/TrialWSApplication/NewWebService
binding=http://schemas.xmlsoap.org/wsdl/soap/http
seiName=null
configFile=META-INF/standard-jaxws-client-config.xml
configName=Standard Client
authMethod=null
properties={}
OperationMetaData:
qname={http://ws.com/}getMessage
javaName={http://ws.com/}getMessage
style=rpc/literal
oneWay=false
soapAction=
DEBUG [main] (JAXWSClientMetaDataBuilder.java:276) - START: rebuildMetaData
DEBUG [main] (EndpointMetaData.java:321) - setParameterStyle: null
DEBUG [main] (JAXWSMetaDataBuilder.java:134) - processSOAPBinding on: com.ws.NewWebService
DEBUG [main] (EndpointMetaData.java:321) - setParameterStyle: WRAPPED
DEBUG [main] (EndpointMetaData.java:812) - Create new config [name=Standard Client,file=META-INF/standard-jaxws-client-config.xml]
DEBUG [main] (JBossWSConfigFactory.java:125) - getConfig: [name=Standard Client,url=META-INF/standard-jaxws-client-config.xml]
DEBUG [main] (JBossWSConfigFactory.java:71) - parse: jar:file:/home/himaja/project/jars/jbossws-client.jar!/META-INF/standard-jaxws-client-config.xml
DEBUG [main] (SaxJBossXBParser.java:241) - Created parser: org.apache.xerces.jaxp.SAXParserImpl@14e8cee, isNamespaceAware: true, isValidating: true, isXIncludeAware: true
DEBUG [main] (SaxJBossXBParser.java:157) - http://xml.org/sax/features/validation set to: true
DEBUG [main] (SaxJBossXBParser.java:157) - http://xml.org/sax/features/namespaces set to: true
DEBUG [main] (SaxJBossXBParser.java:157) - http://apache.org/xml/features/validation/dynamic set to: true
DEBUG [main] (SaxJBossXBParser.java:157) - http://xml.org/sax/features/validation set to: true
DEBUG [main] (SaxJBossXBParser.java:157) - http://apache.org/xml/features/validation/schema set to: true
DEBUG [main] (SaxJBossXBParser.java:241) - Created parser: org.apache.xerces.jaxp.SAXParserImpl@14e8cee, isNamespaceAware: true, isValidating: true, isXIncludeAware: true
DEBUG [main] (EndpointMetaData.java:867) - Configure EndpointMetaData
DEBUG [main] (EndpointMetaData.java:879) - Added 0 PRE handlers
DEBUG [main] (EndpointMetaData.java:880) - Added 0 ENDPOINT handlers
DEBUG [main] (EndpointMetaData.java:881) - Added 0 POST handlers
DEBUG [main] (JAXWSMetaDataBuilder.java:938) - JAXBContext [types=[class java.lang.String],tns=http://ws.com/]
DEBUG [main] (OperationMetaData.java:208) - Found best matching java method: public abstract java.lang.String com.ws.NewWebService.getMessage()
DEBUG [main] (JAXWSClientMetaDataBuilder.java:322) - END: rebuildMetaData
ServiceMetaData:
qname={http://ws.com/}NewWebServiceService
refName=null
wsdName=null
wsdlFile=null
wsdlLocation=http://127.0.0.1:9898/TrialWSApplication/NewWebService?wsdl
jaxrpcMapping=null
publishLocation=null
securityConfig=null
properties=null
TypesMetaData:
[complexType={http://www.w3.org/2001/XMLSchema}string,javaType=java.lang.S...]
ClientEndpointMetaData:
type=JAXWS
qname={http://ws.com/}NewWebServicePort
address=http://127.0.0.1:9898/TrialWSApplication/NewWebService
binding=http://schemas.xmlsoap.org/wsdl/soap/http
seiName=com.ws.NewWebService
configFile=META-INF/standard-jaxws-client-config.xml
configName=Standard Client
authMethod=null
properties={}
OperationMetaData:
qname={http://ws.com/}getMessage
javaName=getMessage
style=rpc/literal
oneWay=false
soapAction=
ReturnMetaData:
xmlName=return
partName=return
xmlType={http://www.w3.org/2001/XMLSchema}string
javaType=java.lang.String
mode=OUT
inHeader=false
index=-1
DEBUG [main] (EndpointMetaData.java:732) - Configure SOAPBinding
DEBUG [main] (HandlerResolverImpl.java:125) - initHandlerChain: PRE
DEBUG [main] (HandlerResolverImpl.java:125) - initHandlerChain: ENDPOINT
DEBUG [main] (HandlerResolverImpl.java:125) - initHandlerChain: POST
DEBUG [main] (HandlerResolverImpl.java:99) - getHandlerChain: [type=PRE,info=[service={http://ws.com/}NewWebServiceService,port={http://...]
DEBUG [main] (HandlerResolverImpl.java:99) - getHandlerChain: [type=POST,info=[service={http://ws.com/}NewWebServiceService,port={http:/...]
DEBUG [main] (HandlerResolverImpl.java:99) - getHandlerChain: [type=ENDPOINT,info=[service={http://ws.com/}NewWebServiceService,port={ht...]
DEBUG [main] (BindingImpl.java:94) - setHandlerChain: []
DEBUG [main] (ServiceDelegateImpl.java:434) - No port configuration for: {http://ws.com/}NewWebServicePort
DEBUG [main] (MessageContextAssociation.java:46) - pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@f892a4 (Thread main)
DEBUG [main] (CommonSOAPBinding.java:144) - bindRequestMessage: {http://ws.com/}getMessage
DEBUG [main] (CommonSOAPBinding.java:189) - Create RPC body element: {http://ws.com/}getMessage
DEBUG [main] (HandlerChainExecutor.java:84) - Create a handler executor: []
DEBUG [main] (HandlerChainExecutor.java:84) - Create a handler executor: []
DEBUG [main] (HandlerChainExecutor.java:84) - Create a handler executor: []
DEBUG [main] (HTTPRemotingConnection.java:176) - Get locator for: [addr=http://127.0.0.1:9898/TrialWSApplication/NewWebService,props={javax.xml.ws.service.endpoint.address=http://127.0.0.1:9898/TrialWSApplication/NewWebService}]
DEBUG [main] (MicroRemoteClientInvoker.java:298) - org.jboss.remoting.transport.http.HTTPClientInvoker@35bb0f connecting
DEBUG [main] (MicroRemoteClientInvoker.java:312) - org.jboss.remoting.transport.http.HTTPClientInvoker@35bb0f connected
DEBUG [main] (HTTPRemotingConnection.java:220) - Remoting metadata: {NoThrowOnError=true, HEADER={SOAPAction="", Content-Type=text/xml; charset=UTF-8}}
DEBUG [main] (HTTPClientInvoker.java:313) - Setting request header with SOAPAction : ""
DEBUG [main] (HTTPClientInvoker.java:313) - Setting request header with Content-Type : text/xml; charset=UTF-8
DEBUG [main] (SOAPMessageUnMarshallerHTTP.java:123) - getMimeHeaders from: {Date=[Tue, 11 Jan 2011 05:24:08 GMT], NoThrowOnError=true, Content-Length=[0], HEADER={SOAPAction="", Content-Type=text/xml; charset=UTF-8}, ResponseCode=200, ResponseCodeMessage=OK, ResponseHeaders={null=[HTTP/1.1 200 OK], Date=[Tue, 11 Jan 2011 05:24:08 GMT], Content-Length=[0], Server=[Apache-Coyote/1.1], X-Powered-By=[Servlet 2.5; JBoss-5.0/JBossWeb-2.1]}, X-Powered-By=[Servlet 2.5; JBoss-5.0/JBossWeb-2.1], Server=[Apache-Coyote/1.1]}
DEBUG [main] (MessageFactoryImpl.java:215) - createMessage: [contentType=text/xml]
[Fatal Error] :-1:-1: Premature end of file.
DEBUG [main] (InvokerRegistry.java:631) - removed org.jboss.remoting.transport.http.HTTPClientInvoker@35bb0f from registry
DEBUG [main] (MessageContextJAXWS.java:105) - Begin response processing
DEBUG [main] (MessageContextAssociation.java:75) - popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@f892a4 (Thread main)
DEBUG [main] (MessageContextAssociation.java:46) - pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@1342a67 (Thread main)
DEBUG [main] (CommonSOAPBinding.java:542) - unbindResponseMessage: {http://ws.com/}getMessage
DEBUG [main] (CommonClient.java:391) - Handler modified body payload, unbind message again
DEBUG [main] (CommonSOAPBinding.java:542) - unbindResponseMessage: {http://ws.com/}getMessage
DEBUG [main] (EndpointInvocation.java:190) - getReturnValue
DEBUG [main] (EndpointInvocation.java:268) - transformPayloadValue: null -> null
DEBUG [main] (HandlerChainExecutor.java:96) - close
DEBUG [main] (HandlerChainExecutor.java:96) - close
DEBUG [main] (HandlerChainExecutor.java:96) - close
DEBUG [main] (MessageContextAssociation.java:75) - popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@1342a67 (Thread main)
Result = null
BUILD SUCCESSFUL (total time: 2 seconds)
At server side the error are
ERROR [SOAPFaultHelperJAXWS] SOAP request exception
java.lang.ClassCastException: org.jboss.ws.core.soap.EnvelopeBuilderDOM
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:289)
ERROR [RequestHandlerImpl] Error processing web service request
org.jboss.ws.WSException: java.lang.ClassCastException: org.jboss.ws.core.soap.MessageFactoryImpl
at org.jboss.ws.WSException.rethrow(WSException.java:68)
ERROR [[NewWebService]] Servlet.service() for servlet NewWebService threw exception
java.lang.ClassCastException: org.jboss.ws.core.soap.MessageFactoryImpl
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.createSOAPMessage(SOAPFaultHelperJAXWS.java:288)
Waiting for the reply.
Thanks in advance.
Regards,
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/579931#579931]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 3 months
[jBPM] - mvn jbpm5 jbpm-docs error
by derek lee
derek lee [http://community.jboss.org/people/yushanyuan] created the discussion
"mvn jbpm5 jbpm-docs error"
To view the discussion, visit: http://community.jboss.org/message/578561#578561
--------------------------------------------------------------
Hi, all
i mvn jbpm-docs in fedora13. it throwed the following exception:
--------------------------------
[ERROR] Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.3:generate (default-generate) on project jbpm-docs-flow: XSLT problem: error rendering [org.xml.sax.SAXParseException: InvalidCharInLiteral] on master.xml -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.3:generate (default-generate) on project jbpm-docs-flow: XSLT problem
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
--------------------------------
anyone can help? thanks in advance!!
derek lee.
[ERROR] Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.3:generate (default-generate) on project jbpm-docs-flow: XSLT problem: error rendering [org.xml.sax.SAXParseException: InvalidCharInLiteral] on master.xml -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.3:generate (default-generate) on project jbpm-docs-flow: XSLT problem
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at org.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578561#578561]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 3 months