Just installed swamp 1.6.1 via the openSUSE 11.1 rpms from the build
service.

I was wondering why I was not getting the example workflows on the home
page as I started to get into doing the demos.

Checking the Tomcat catalina.out log file I see I am getting a xerces
XML parser ClassNotFound error as the Tomcat is started.

>8

12.11 22:02:32 [INFO ] Have found a SWAMP Workflow
Resource:/srv/tomcat6/webapps/webswamp/WEB-INF/conf/workflows/ExampleSub
12.11 22:02:32 [INFO ] Reading workflow: ExampleSub version: 0.1
12.11 22:02:32 [ERROR] ************************************************
12.11 22:02:32 [ERROR] WorkflowReader.java: couldn't create parser:
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
12.11 22:02:32 [ERROR] ************************************************
12.11 22:02:32 [ERROR] ************************************************
12.11 22:02:32 [ERROR] Error during workflow verification:
WorkflowReader.java: couldn't create parser:
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
12.11 22:02:32 [ERROR] ************************************************
12.11 22:02:32 [DEBUG] ** Warning: No workflow.conf found.
**** Error: Error during workflow verification: WorkflowReader.java:
couldn't create parser:
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser

12.11 22:02:32 [INFO ] Have found a SWAMP Workflow
Resource:/srv/tomcat6/webapps/webswamp/WEB-INF/conf/workflows/Meeting
12.11 22:02:32 [INFO ] Reading workflow: Meeting version: 1.0
12.11 22:02:32 [ERROR] ************************************************
12.11 22:02:32 [ERROR] WorkflowReader.java: couldn't create parser:
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
12.11 22:02:32 [ERROR] ************************************************
12.11 22:02:32 [ERROR] ************************************************
12.11 22:02:32 [ERROR] Error during workflow verification:
WorkflowReader.java: couldn't create parser:
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
12.11 22:02:32 [ERROR] ************************************************
12.11 22:02:32 [DEBUG] ** Warning: No workflow.conf found.
**** Error: Error during workflow verification: WorkflowReader.java:
couldn't create parser:
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser

12.11 22:02:32 [INFO ] Have found a SWAMP Workflow
Resource:/srv/tomcat6/webapps/webswamp/WEB-INF/conf/workflows/minimal_test
12.11 22:02:32 [INFO ] Reading workflow: minimal_test version: 0.1
12.11 22:02:32 [ERROR] ************************************************

.
.
.

8<

I see from a previous posting (that mentions a different error) the
solution mentioned getting the xercesImpl-2.9.0.jar  file, and another,
from the svn. Looking in my webapps/webswamp/WEB-INF/lib directory I see
a bunch of .jar files but none mention xerces in their name. So I guess
I need this file too. However trying the link in the previous post,
[swamp-devel] build.xml:121: java.lang.NoClassDefFoundError:
org/w3c/dom/DOMError, I get a 404 error.

Ideas?  Or is this a bug that needs reporting on the Bugzilla?

I did check and the xerces-j2 package is installed going by the Yast
Software Management, but I guessing that this is not what
Tomcat/webswamp is looking for. 

openSUSE 11.1
Tomcat6
Sun Java 1.6
Swamp 1.6.1

Cheers
Jim


-- 

Pye, James Pye. chmod 007
The Ultimate Open Source


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
swamp-devel mailing list
swamp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net 

Reply via email to