[SOLVED]Axis Problems with Alfresco SDK
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2009 12:33 PM
Hi guys,
i'm having a weird problem while running the SDK WebServices samples using Eclipse (well the problem started with my app but i use the samples provided with the SDK just to be sure…), dont know if this is the proper forum space though.
I run the ContentReadAndWrite.java that should put some content in my Company Home folder, and so it used to do.
Enviroment:
Leopard OsX latest
JVM 1.5
Eclispe Ganymede
Alfresco 3 labs stable with Tomcat embedded on port 8088 (Apache Tomcat Runinng on port 8080 with Axis2 webapp deployed and working)
ALfresco SDK 3 latest
What i can remember to have done BEFORE the problem was to update axis to version 2 release 1.4 using a war.
I've removed axis plugin in the eclipse/plugins folder just to be sure…
With the same setup and tools the samples run with no errors into a different machine…so something is wrong in my classpath, i do not use the CLASSPATH env variable, i just use eclipse.
With the JVM 1.5 this is the error i get:
Referenced Libs = axis-1.4.jar ; axis-ant.jar
System Libs = standard JVM 1.5 + JCR + alfresco-web-client*.jar
Any tips guys?? I guess that's a runtime problem but i cannot really solve it atm and i need to use the alfresco WS API.
Regards.
i'm having a weird problem while running the SDK WebServices samples using Eclipse (well the problem started with my app but i use the samples provided with the SDK just to be sure…), dont know if this is the proper forum space though.
I run the ContentReadAndWrite.java that should put some content in my Company Home folder, and so it used to do.
Enviroment:
Leopard OsX latest
JVM 1.5
Eclispe Ganymede
Alfresco 3 labs stable with Tomcat embedded on port 8088 (Apache Tomcat Runinng on port 8080 with Axis2 webapp deployed and working)
ALfresco SDK 3 latest
What i can remember to have done BEFORE the problem was to update axis to version 2 release 1.4 using a war.
I've removed axis plugin in the eclipse/plugins folder just to be sure…
With the same setup and tools the samples run with no errors into a different machine…so something is wrong in my classpath, i do not use the CLASSPATH env variable, i just use eclipse.
With the JVM 1.5 this is the error i get:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/description/FieldDesc at org.alfresco.sample.webservice.SamplesBase.<clinit>(SamplesBase.java:50)
Referenced Libs = axis-1.4.jar ; axis-ant.jar
System Libs = standard JVM 1.5 + JCR + alfresco-web-client*.jar
Any tips guys?? I guess that's a runtime problem but i cannot really solve it atm and i need to use the alfresco WS API.
Regards.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2009 05:28 PM
the problem simply occures when the java ext directory is not in sync with eclipse libraries sharing mechanism.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 01:07 AM
the problem simply occures when the java ext directory is not in sync with eclipse libraries sharing mechanism.
Hello,
I am writing a webservice which will intern call alfresco webservice to read the content. Do a mapping in between and connect to the Enterprise System. Currently we are facing the same problem. Where we are not able to trigger the Alfresco Clientstub from our webservice which is again deployed on Tomcat server. ( we want these two webservices to talk to each other )
Regards,
Ravi Sharma
