cancel
Showing results for 
Search instead for 
Did you mean: 

send file from jboss 7 in alfresco

nicolewells
Champ in-the-making
Champ in-the-making

Hello All, Hope all doing good.

I want to send file from my application to Alfresco

I work in jboss 7

but when I test my Jboss Application and when I test the attachement I have this error :

10:25:33,684 INFO  [org.directwebremoting.log.accessLog] (http-localhost-127.0.0.1-8080-5) Method execution failed: : java.lang.NoSuchMethodError: org.apache.xml.security.transforms.Transform.init()V
    at org.apache.ws.security.WSSConfig.staticInit(WSSConfig.java:244) [wss4j-1.5.4-patched.jar:]
    at org.apache.ws.security.WSSConfig.<init>(WSSConfig.java:256) [wss4j-1.5.4-patched.jar:]
    at org.apache.ws.security.WSSConfig.getNewInstance(WSSConfig.java:265) [wss4j-1.5.4-patched.jar:]
    at org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:89) [wss4j-1.5.4-patched.jar:]
    at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:170) [wss4j-1.5.4-patched.jar:]
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) [axis-1.4.jar:]
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) [axis-1.4.jar:]
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) [axis-1.4.jar:]
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:127) [axis-1.4.jar:]
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784) [axis-1.4.jar:]
    at org.apache.axis.client.Call.invoke(Call.java:2767) [axis-1.4.jar:]
    at org.apache.axis.client.Call.invoke(Call.java:2443) [axis-1.4.jar:]
    at org.apache.axis.client.Call.invoke(Call.java:2366) [axis-1.4.jar:]
    at org.apache.axis.client.Call.invoke(Call.java:1812) [axis-1.4.jar:]

I use in my application this jars :

alfresco-web-service-client-4.0.d.jar , axis-1.4.jar,axis-saaj-1.2.jar,wsdl4j-1.6.2.jar,wss4j-1.5.4-patched.jar

Please Help Me On this!

Thanks

nicolewells

1 REPLY 1

skushnerenko
Confirmed Champ
Confirmed Champ

I am afraid, that you did not provide enough information about the exact way how you are sending attachments to Alfresco.

I any case it would be much easier to propose any solution in case you provide your exact code.

May be it helps you, that we are successfully sending attachments to Alfresco from jBoss EAP 6.4 which is in fact jBoss 7 using CMIS.