5 Replies Latest reply on Jun 29, 2011 4:14 PM by wolfgangknauf

    Jboss 4.2.3GA showing parsing XML: XML InputStream(9) schema_reference.4:

    aboocs01

      Hi ,

      I am getting this error when i started my jboss 4.2.3GA

       

      21:41:31,531 WARN  [PersistenceXmlLoader] Warning parsing XML: XML InputStream(9) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

       

       

      what would be problem? kindly help me out.

        • 1. Re: Jboss 4.2.3GA showing parsing XML: XML InputStream(9) schema_reference.4:
          wdfink

          Looks that one of your descriptor is wrong and refere to the persistence_2_0.xsd.

          Could you attach the errors in the logfile and the related descriptor?

          • 2. Re: Jboss 4.2.3GA showing parsing XML: XML InputStream(9) schema_reference.4:
            aboocs01

            This my log and after starting server it hanged completely.

             

            D:\server\jboss-4.2.3.GA\bin>rem Setup JBoss specific properties

             

            D:\server\jboss-4.2.3.GA\bin>set JAVA_OPTS= -Dprogram.name=run.bat

             

            D:\server\jboss-4.2.3.GA\bin>rem Add -server to the JVM options, if supported

             

            D:\server\jboss-4.2.3.GA\bin>"C:\Program Files\Java\jdk1.6.0_11\bin\java" -server -version   2>&1  | findstr /I hotspot  1>nul

             

            D:\server\jboss-4.2.3.GA\bin>if not errorlevel 1 (set JAVA_OPTS= -Dprogram.name=run.bat -server )

             

            D:\server\jboss-4.2.3.GA\bin>rem JVM memory allocation pool parameters. Modify as appropriate.

             

            D:\server\jboss-4.2.3.GA\bin>set JAVA_OPTS= -Dprogram.name=run.bat -server -Xms128m -Xmx1400m

             

            D:\server\jboss-4.2.3.GA\bin>rem With Sun JVMs reduce the RMI GCs to once per hour

             

            D:\server\jboss-4.2.3.GA\bin>rem set JAVA_OPTS= -Dprogram.name=run.bat -server -Xms128m -Xmx1400m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

             

            D:\server\jboss-4.2.3.GA\bin>set JAVA_OPTS= -Dprogram.name=run.bat -server -Xms128m -Xmx1400m -XX:PermSize=256m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

             

            D:\server\jboss-4.2.3.GA\bin>rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.

             

            D:\server\jboss-4.2.3.GA\bin>rem set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y  -Dprogram.name=run.bat -server -Xms128m -Xmx1400m -XX:PermSize=256m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

             

            D:\server\jboss-4.2.3.GA\bin>rem Setup the java endorsed dirs

             

            D:\server\jboss-4.2.3.GA\bin>set JBOSS_ENDORSED_DIRS=D:\server\jboss-4.2.3.GA\lib\endorsed

             

            D:\server\jboss-4.2.3.GA\bin>echo ===============================================================================

            ===============================================================================

             

            D:\server\jboss-4.2.3.GA\bin>echo.

             

             

            D:\server\jboss-4.2.3.GA\bin>echo   JBoss Bootstrap Environment

              JBoss Bootstrap Environment

             

            D:\server\jboss-4.2.3.GA\bin>echo.

             

             

            D:\server\jboss-4.2.3.GA\bin>echo   JBOSS_HOME: D:\server\jboss-4.2.3.GA

              JBOSS_HOME: D:\server\jboss-4.2.3.GA

             

            D:\server\jboss-4.2.3.GA\bin>echo.

             

             

            D:\server\jboss-4.2.3.GA\bin>echo   JAVA: C:\Program Files\Java\jdk1.6.0_11\bin\java

              JAVA: C:\Program Files\Java\jdk1.6.0_11\bin\java

             

            D:\server\jboss-4.2.3.GA\bin>echo.

             

             

            D:\server\jboss-4.2.3.GA\bin>echo   JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx1400m -XX:PermSize=256m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

              JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx1400m -XX:PermSize=256m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

             

            D:\server\jboss-4.2.3.GA\bin>echo.

             

             

            D:\server\jboss-4.2.3.GA\bin>echo   CLASSPATH: C:\Program Files\Java\jdk1.6.0_11\lib\tools.jar;D:\server\jboss-4.2.3.GA\bin\run.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext\jnet.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext\jsse.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext\jcert.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext\cryptix32.jar;

              CLASSPATH: C:\Program Files\Java\jdk1.6.0_11\lib\tools.jar;D:\server\jboss-4.2.3.GA\bin\run.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext\jnet.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext\jsse.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext\jcert.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext\cryptix32.jar;

             

            D:\server\jboss-4.2.3.GA\bin>echo.

             

             

            D:\server\jboss-4.2.3.GA\bin>echo ===============================================================================

            ===============================================================================

             

            D:\server\jboss-4.2.3.GA\bin>echo.

             

             

            D:\server\jboss-4.2.3.GA\bin>"C:\Program Files\Java\jdk1.6.0_11\bin\java"  -Dprogram.name=run.bat -server -Xms128m -Xmx1400m -XX:PermSize=256m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000    -Djava.endorsed.dirs="D:\server\jboss-4.2.3.GA\lib\endorsed"    -classpath "C:\Program Files\Java\jdk1.6.0_11\lib\tools.jar;D:\server\jboss-4.2.3.GA\bin\run.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext\jnet.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext\jsse.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext\jcert.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext\cryptix32.jar;"    org.jboss.Main -b 192.168.2.30

            22:47:00,250 INFO  [Server] Starting JBoss (MX MicroKernel)...

            22:47:00,250 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)

            22:47:00,250 INFO  [Server] Home Dir: D:\server\jboss-4.2.3.GA

            22:47:00,250 INFO  [Server] Home URL: file:/D:/server/jboss-4.2.3.GA/

            22:47:00,250 INFO  [Server] Patch URL: null

            22:47:00,250 INFO  [Server] Server Name: default

            22:47:00,250 INFO  [Server] Server Home Dir: D:\server\jboss-4.2.3.GA\server\default

            22:47:00,250 INFO  [Server] Server Home URL: file:/D:/server/jboss-4.2.3.GA/server/default/

            22:47:00,250 INFO  [Server] Server Log Dir: D:\server\jboss-4.2.3.GA\server\default\log

            22:47:00,250 INFO  [Server] Server Temp Dir: D:\server\jboss-4.2.3.GA\server\default\tmp

            22:47:00,250 INFO  [Server] Root Deployment Filename: jboss-service.xml

            22:47:00,703 INFO  [ServerInfo] Java version: 1.6.0_11,Sun Microsystems Inc.

            22:47:00,703 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.0-b16,Sun Microsystems Inc.

            22:47:00,703 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86

            22:47:01,312 INFO  [Server] Core system initialized

            22:47:03,906 INFO  [WebService] Using RMI server codebase: http://192.168.2.30:8083/

            22:47:03,906 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml

            22:47:04,562 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.

            22:47:04,562 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer

            22:47:04,968 INFO  [TransactionManagerService] Starting recovery manager

            22:47:05,234 INFO  [TransactionManagerService] Recovery manager started

            22:47:05,234 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference

            22:47:09,140 INFO  [EJB3Deployer] Starting java:comp multiplexer

            22:47:11,937 INFO  [NativeServerConfig] JBoss Web Services - Native

            22:47:11,937 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)

            22:47:13,109 INFO  [Embedded] Catalina naming disabled

            22:47:13,328 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_11\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\software\apache-ant-1.7.1\bin;C:\Program Files\Java\jdk1.6.0_11\bin

            22:47:13,468 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-192.168.2.30-8080

            22:47:13,515 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-192.168.2.30-8009

            22:47:13,515 INFO  [Catalina] Initialization processed in 403 ms

            22:47:13,515 INFO  [StandardService] Starting service jboss.web

            22:47:13,515 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA

            22:47:13,578 INFO  [Catalina] Server startup in 57 ms

            22:47:13,703 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/

            22:47:14,515 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/

            22:47:14,718 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/

            22:47:14,890 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/

            22:47:16,390 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/

            22:47:17,171 INFO  [MailService] Mail Service bound to java:/Mail

            22:47:17,437 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar

            22:47:17,500 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar

            22:47:17,562 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar

            22:47:17,640 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar

            22:47:17,781 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar

            22:47:17,843 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar

            22:47:17,953 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar

            22:47:17,984 INFO  [QuartzResourceAdapter] start quartz!!!

            22:47:18,093 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main

            22:47:18,156 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.

            22:47:18,156 INFO  [RAMJobStore] RAMJobStore initialized.

            22:47:18,156 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'

            22:47:18,156 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2

            22:47:18,156 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.

            22:47:18,531 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ezeeMailClientDatasource' to JNDI name 'java:ezeeMailClientDatasource'

            22:47:18,656 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ezeeMasterDatasource' to JNDI name 'java:ezeeMasterDatasource'

            22:47:19,296 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'

            22:47:19,640 INFO  [A] Bound to JNDI name: queue/A

            22:47:19,640 INFO  [B] Bound to JNDI name: queue/B

            22:47:19,656 INFO  [C] Bound to JNDI name: queue/C

            22:47:19,656 INFO  [D] Bound to JNDI name: queue/D

            22:47:19,656 INFO  [ex] Bound to JNDI name: queue/ex

            22:47:19,671 INFO  [testTopic] Bound to JNDI name: topic/testTopic

            22:47:19,687 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic

            22:47:19,687 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

            22:47:19,687 INFO  [testQueue] Bound to JNDI name: queue/testQueue

            22:47:19,765 INFO  [UILServerILService] JBossMQ UIL service available at : /192.168.2.30:8093

            22:47:19,812 INFO  [DLQ] Bound to JNDI name: queue/DLQ

            22:47:19,953 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

            22:48:02,203 WARN  [PersistenceXmlLoader] Warning parsing XML: XML InputStream(6) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

            22:48:44,234 WARN  [PersistenceXmlLoader] Warning parsing XML: XML InputStream(8) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

            22:49:26,218 WARN  [PersistenceXmlLoader] Warning parsing XML: XML InputStream(9) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

            22:50:08,187 WARN  [PersistenceXmlLoader] Warning parsing XML: XML InputStream(10) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

            22:50:50,234 WARN  [PersistenceXmlLoader] Warning parsing XML: XML InputStream(11) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

            22:51:32,203 WARN  [PersistenceXmlLoader] Warning parsing XML: XML InputStream(12) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

            22:52:14,250 WARN  [PersistenceXmlLoader] Warning parsing XML: XML InputStream(13) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

            22:52:56,203 WARN  [PersistenceXmlLoader] Warning parsing XML: XML InputStream(14) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

            • 3. Re: Jboss 4.2.3GA showing parsing XML: XML InputStream(9) schema_reference.4:
              wolfgangknauf

              Seems that http://java.sun.com/ is not reachable (at least for me in the moment), maybe this is the reason...

               

              Wolfgang

              • 4. Re: Jboss 4.2.3GA showing parsing XML: XML InputStream(9) schema_reference.4:
                peterj

                Oracle planned to shut down the sun.com domain on June 1st:

                http://lxnews.org/2011/03/21/oracle-kills-sun-com/

                • 5. Re: Jboss 4.2.3GA showing parsing XML: XML InputStream(9) schema_reference.4:
                  wolfgangknauf

                  Whow, this sound like a really great idea :-(.

                   

                  In the moment, there is a least a forward to some "Oracle.com Outage" page. Hopefully they will establish a redirect...