Yes, Oracle now redirects http://java.sun.com/xml/ns/javaee/javaee_web_services_metadata_handler_2_0.xsd to http://download.oracle.com/javase/6/docs/technotes/guides/xml/index.html for some obscure reason. If you don't need WSRP, you can remove it as explained at http://community.jboss.org/wiki/WSRPserviceremovalprocedure. If you need to use WSRP,
one workaround would be:
- Explode deploy/gatein.ear/wsrp-producer.war
- Fix wsrp-producer.war/WEB-INF/classes/wshandlers.xml to point local file.
- Add javaee_web_services_metadata_handler_2_0.xsd to wsrp-producer.war/WEB-INF/classes
I don't have the file wshandlers.xml in my wsrp-producer.war. I am running EPP 5.1-GA.
I am having the same issue here - EPP takes over 8 minutes to startup because it tries to locate these *.xsd and *.dtd files. The schema files not found are:
These all were found before yesterday afternoon, so I'm not sure why Oracle changing the path to their schema files is affecting the w3.org files? Here is the output while EPP is starting up:
[JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
Is there a way to start JBoss and turn off XML validation?
Thanks Adriano - that worked!
In the file jboss-as/PROFILE_NAME/deployers/ear-deployer-jboss-beans.xml, I uncommented the useValidation properties:
<bean name="EARStructureDeployer" class="org.jboss.deployment.EARStructure">
<!-- application.xml parsing deployer -->
<bean name="AppParsingDeployer" class="org.jboss.deployment.AppParsingDeployer">
<property name="useValidation"><inject bean="EARStructureDeployer" property="useValidation"/></property>
Now EPP starts up just fine. Thanks!
i know, it was an error in oracle servers... see below...
De: javasedocs [mailto:firstname.lastname@example.org]
Enviada em: quinta-feira, 27 de janeiro de 2011 14:45
Para: Adriano de Oliveira Porto - BRAXIS
Assunto: Re: redirect to HTML in XSD file.
There was a temporary glitch with the servers. The content should be back up now.
Thanks for bringing this to our attention.