The problem was that I was using an out of date version of xalan package (2.6.0), updating it to lastest release (xalan 2.7.0), it works like a charm :).
Post it here, if someone is trying FDS2 in JOnAS application server.
On 5/10/06, Carlos Rovira <[EMAIL PROTECTED]
> wrote:
Hi,
I'm trying to deploy samples.war in JOnAS/Tomcat app server and I'm getting the following problems.
If I deploy the sample.war as it comes in fds2 installation, the following error comes:
--------------------------------------------------------------------------------------------------------------------
C:\JOnAS-4.6.6\webapps\autoload\samples.war is using DTDs, WsGen needs Schema on
ly : WEB-INF/web.xml use a DTD. Only XML Schema are accepted for J2EE 1.4 webser
vices
Loading configuration file C:\JOnAS-4.6.6\work\webapps\jonas\samples\WEB-INF\fle
x\flex-webtier-config.xml, root element flex-webtier-config
Loading configuration file C:\JOnAS-4.6.6\work\webapps\jonas\samples\WEB-INF\fle
x\flex-config.xml, root element flex-config
2006-05-10 19:00:47,873 : ApplicationContext.log : FlexMxmlServlet: Starting Ado
be Flex Web Tier Compiler (beta period ends 31-jul-2006)
2006-05-10 19:00:47,883 : ApplicationContext.log : FlexMxmlServlet: Adobe Flex W
eb Tier Compiler Build: 138139
2006-05-10 19:00:48,263 : ApplicationContext.log : StandardWrapper.Throwable
java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPath
Factory for the default object model: http://java.sun.com/jaxp/xpath/dom with th
e XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationE
xception: No XPathFctory implementation found for the object model: http://java.
sun.com/jaxp/xpath/dom
at javax.xml.xpath.XPathFactory.newInstance(Unknown Source)
at flex.messaging.config.XPathServerConfigurationParser.initializeExpres
sionQuery(XPathServerConfigurationParser.java:45)
at flex.messaging.config.ServerConfigurationParser.parse(ServerConfigura
tionParser.java:65)
at flex.messaging.config.ServerConfigurationParser.parse (ServerConfigura
-------------------------------------------------------------------------------------------------------------------
Next, I tried the following.
I import the war with Eclipse WTP, and deploy it (recreating the war) to JOnAS. I bypass the last error but get the following:
--------------------------------------------------------------------------------------------------------------------
WebServices generation for 'C:\JOnAS-4.6.6\webapps\autoload\samples.war'
2006-05-10 18:16:59,927 : WebAppModifier.modify : Processing WebApp samples.war
Loading configuration file C:\JOnAS-4.6.6\work\webapps\jonas\samples\WEB-INF\flex\flex-webtier-config.xml , root element flex-webtier-config
Loading configuration file C:\JOnAS-4.6.6\work\webapps\jonas\samples\WEB-INF\flex\flex-config.xml, root element flex-config
C:\JOnAS-4.6.6\work\webapps\jonas\samples\WEB-INF\flex\flex-config.xml (59): Error: unable to open './user_classes'
2006-05-10 18:17:15,275 : StandardContext.loadOnStartup : Servlet /samples threw load() exception
javax.servlet.ServletException: C:\JOnAS-4.6.6\work\webapps\jonas\samples\WEB-INF\flex\flex-config.xml (59): Error: unable to open './user_classes'
at flex.util.ServiceUtil.setupFlexService(ServiceUtil.java:59)
at flex2.server.j2ee.MxmlServlet.init(MxmlServlet.java:58)
--------------------------------------------------------------------------------------------------------------------
Someone at Adobe could tell me something about the way the paths are handled in class "flex.util.ServiceUtil" in order to imagine the way to deploy the FDS2 in my JOnAS server?. Maybe is good to point that so FDS2 could fix this little problems when ship and work in other application server aside JRun.
Thanks in advance :)
--
::| Carlos Rovira
::| http://www.carlosrovira.com
--
::| Carlos Rovira
::| http://www.carlosrovira.com
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

