-
1. All sun XSD schema is being redirecting to a HTML page
claprun Jan 27, 2011 10:34 AM (in response to fantazmabhz)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.
from:
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/javaee_web_services_metadata_handler_2_0.xsd">
to:
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee javaee_web_services_metadata_handler_2_0.xsd">
- Add javaee_web_services_metadata_handler_2_0.xsd to wsrp-producer.war/WEB-INF/classes
-
2. All sun XSD schema is being redirecting to a HTML page
rraposa Jan 27, 2011 11:15 AM (in response to claprun)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:
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent
http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent
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!
Rich
-
3. All sun XSD schema is being redirecting to a HTML page
fantazmabhz Jan 27, 2011 11:31 AM (in response to rraposa) -
4. All sun XSD schema is being redirecting to a HTML page
rraposa Jan 27, 2011 12:06 PM (in response to fantazmabhz)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">
<property name="comparatorClassName">org.jboss.system.deployers.LegacyDeploymentContextComparator</property>
<property name="useValidation">false</property>
</bean>
<!-- application.xml parsing deployer -->
<bean name="AppParsingDeployer" class="org.jboss.deployment.AppParsingDeployer">
<property name="useValidation"><inject bean="EARStructureDeployer" property="useValidation"/></property>
<property name="useSchemaValidation">false</property>
</bean>
Now EPP starts up just fine. Thanks!
-
5. All sun XSD schema is being redirecting to a HTML page
trong.tran Jan 27, 2011 11:35 PM (in response to fantazmabhz) -
6. All sun XSD schema is being redirecting to a HTML page
fantazmabhz Jan 28, 2011 6:18 AM (in response to trong.tran)i know, it was an error in oracle servers... see below...
De: javasedocs [mailto:javasedocs_us@oracle.com]
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.Hello Adriano
There was a temporary glitch with the servers. The content should be back up now.
Thanks for bringing this to our attention.