Problem running the Remote API examples in Eclpise 3.1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2005 03:17 AM
When I "Run as Junit Test" the WebServiceSuiteSystemTest example in the Remote API project, I get the following error:
java.io.FileNotFoundException: ./WebServiceTestBootstrap.properties
Where can I find the said file - or can you send it to me please
The AuthenticationServiceSystemTest runs OK
Thanks :?
java.io.FileNotFoundException: ./WebServiceTestBootstrap.properties
Where can I find the said file - or can you send it to me please
The AuthenticationServiceSystemTest runs OK
Thanks :?
Labels:
- Labels:
-
Archive
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2005 06:18 AM
Hi,
Before you run any of the webservice unit tests you'll need to run com.alfresco.example.webservice.WebServiceBootstrapTest.java (with Tomcat off). This creates the missing file you mention. Then start Tomcat and run the other unit tests and it should work.
Thanks,
Roy
Before you run any of the webservice unit tests you'll need to run com.alfresco.example.webservice.WebServiceBootstrapTest.java (with Tomcat off). This creates the missing file you mention. Then start Tomcat and run the other unit tests and it should work.
Thanks,
Roy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2005 01:26 PM
When i try to run com.alfresco.example.webservice.WebServiceBootstrapTest.java I get the following error:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'descriptorComponent' defined in class path resource [alfresco/application-context.xml]: Can't resolve reference to bean 'systemBootstrap' while setting property 'systemBootstrap'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeIndexer' defined in class path resource [alfresco/node-services-context.xml]: Can't resolve reference to bean 'policyComponent' while setting property 'policyComponent'; nested exception is o
plus lots more………………
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'descriptorComponent' defined in class path resource [alfresco/application-context.xml]: Can't resolve reference to bean 'systemBootstrap' while setting property 'systemBootstrap'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeIndexer' defined in class path resource [alfresco/node-services-context.xml]: Can't resolve reference to bean 'policyComponent' while setting property 'policyComponent'; nested exception is o
plus lots more………………

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2005 07:07 AM
Hi,
I've had a look and i've found a small bug, but I'm not sure its the same problem you are seeing.
Could you send me the complete stack trace.
Thanks,
Roy
I've had a look and i've found a small bug, but I'm not sure its the same problem you are seeing.
Could you send me the complete stack trace.
Thanks,
Roy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2005 10:49 AM
Just found this in the Forum:
The reason for asking is that the class not being found is in one of the jibx*.jar files that can be found in <alfresco>/projects/3rd-party/lib/jibx.
Which may resolve my problem. I'll try it and get back to you.
The reason for asking is that the class not being found is in one of the jibx*.jar files that can be found in <alfresco>/projects/3rd-party/lib/jibx.
Which may resolve my problem. I'll try it and get back to you.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2005 01:07 PM
Adding the two jibx jar files to my Alfreso Eclipse project did the trick
