[jboss-user] [JBossWS] - JBossWS1.0.4 doesn't work with JBossAS4.0.4GA
zhi_hui
do-not-reply at jboss.com
Fri Nov 17 14:15:45 EST 2006
I tried to follow JBossWS1.0.4 installation intructions to install JBossWS1.0.4 on top of JBossAS4.0.4GA.
1. Copy lib/jbossws-client.jar to $JBOSS_HOME/client/
2. extracted jbossws.sar to jbossws.sar directory under $JBOSS_HOME/server/default/deploy/
3. download jboss-xml-binding.jar from http://repository.jboss.com/jboss/jbossxb/1.0.0.CR7/lib
4. replace the jboss-xml-binding.jar file in $JBOSS_HOME/client and $JBOSS_HOME/lib with the downloaded one.
After that, I tried to start JBoss, but I saw a lot of exceptions, and http://localhost:8080/jbossws could not be reached. Am I missing anything in the steps? any comments are appreciated.
Part of the exception messages are
-------------------------------------------------------------------------
2006-11-18 02:37:46,187 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Try loading config as XML, url=file:/D:/work/test/jboss-4.0.4.GA/server/default/conf/login-config.xml
2006-11-18 02:37:46,203 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Failed to load config as XML
org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
at org.jboss.security.auth.login.XMLLoginConfigImpl.loadXMLConfig(XMLLoginConfigImpl.java:319)
at org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:287)
...
...
Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:96)
at org.jboss.xb.binding.UnmarshallerImpl.(UnmarshallerImpl.java:55)
at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
... 52 more
Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized.
at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:92)
... 54 more
2006-11-18 02:37:46,203 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Try loading config as Sun format, url=file:/D:/work/test/jboss-4.0.4.GA/server/default/conf/login-config.xml
2006-11-18 02:37:46,218 WARN [org.jboss.security.auth.login.XMLLoginConfigImpl] End loadConfig, failed to load config: file:/D:/work/test/jboss-4.0.4.GA/server/default/conf/login-config.xml
org.jboss.security.auth.login.ParseException: Encountered "<?xml" at line 1, column 1.
Was expecting one of:
...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986966#3986966
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986966
More information about the jboss-user
mailing list