7 Replies Latest reply on Aug 12, 2011 10:44 AM by Peter Johnson

    ClassNotFoundException while Jboss server starting

    surender m Newbie

      Hi,

       

      When I paste my application (excted as folders) DirectAXs-Admin.war folder in \jboss-6.0.0.Final\server\default\deploy folder,

      Jboss6 server is running fine.

       

      But When I paste my application as war DirectAXs-Admin.war war file in \jboss-6.0.0.Final\server\default\deploy folder,

       

      While starting Jboss6 server, It is giving ClassNotFoundException in console as below.

       

      But MYSQL.xmd file is available in the E:\SUCHOS_PROJECT\jboss-6.0.0.Final\server\default\deploy\DirectAXs-Admin.war\WEB-INF\classes path. (i,e. MYSQL.xmd file available in war file)

       

       

      11:23:50,734 INFO  [STDOUT] SUCHOS_HOME=E:\SUCHOS_PROJECT\SUCHOS_HOME

      11:23:50,812 ERROR [STDERR] java.io.FileNotFoundException: E:\SUCHOS_PROJECT\jbo

      ss-6.0.0.Final\server\default\deploy\DirectAXs-Admin.war\WEB-INF\classes\MYSQL.x

      md (The system cannot find the path specified)

      11:23:50,843 ERROR [STDERR]     at java.io.FileInputStream.open(Native Method)

      11:23:50,843 ERROR [STDERR]     at java.io.FileInputStream.<init>(FileInputStrea

      m.java:106)

      11:23:50,843 ERROR [STDERR]     at org.jboss.vfs.spi.RootFileSystem.openInputStr

      eam(RootFileSystem.java:55)

      11:23:50,843 ERROR [STDERR]     at org.jboss.vfs.protocol.FileURLConnection.getI

      nputStream(FileURLConnection.java:73)

      11:23:50,843 ERROR [STDERR]     at org.apache.xerces.impl.XMLEntityManager.setup

      CurrentEntity(Unknown Source)

      11:23:50,843 ERROR [STDERR]     at org.apache.xerces.impl.XMLVersionDetector.det

      ermineDocVersion(Unknown Source)

      11:23:50,843 ERROR [STDERR]     at org.apache.xerces.parsers.XML11Configuration.

      parse(Unknown Source)

      11:23:50,843 ERROR [STDERR]     at org.apache.xerces.parsers.XML11Configuration.

      parse(Unknown Source)

      11:23:50,843 ERROR [STDERR]     at org.apache.xerces.parsers.XMLParser.parse(Unk

      nown Source)

      11:23:50,843 ERROR [STDERR]     at org.apache.xerces.parsers.DOMParser.parse(Unk

      nown Source)

      11:23:50,843 ERROR [STDERR]     at org.apache.xerces.jaxp.DocumentBuilderImpl.pa

      rse(Unknown Source)

      11:23:50,843 ERROR [STDERR]     at javax.xml.parsers.DocumentBuilder.parse(Docum

      entBuilder.java:208)

      11:23:50,843 ERROR [STDERR]     at com.directaxs.adminconsole.util.xml.DOMUtils.

      parse(DOMUtils.java:82)

      11:23:50,843 ERROR [STDERR]     at com.directaxs.adminconsole.util.config.DBConf

      ig.loadDBConfig(DBConfig.java:334)

      11:23:50,843 ERROR [STDERR]     at com.directaxs.adminconsole.util.config.DBConf

      ig.getInstance(DBConfig.java:192)

      11:23:50,843 ERROR [STDERR]     at com.directaxs.adminconsole.webui.util.InitCon

      nectionPool.initialize(InitConnectionPool.java:71)

      11:23:50,843 ERROR [STDERR]     at com.directaxs.adminconsole.webui.util.InitCon

      nectionPool.<init>(InitConnectionPool.java:46)

      11:23:50,859 ERROR [STDERR]     at sun.reflect.NativeConstructorAccessorImpl.new

      Instance0(Native Method)

      11:23:50,859 ERROR [STDERR]     at sun.reflect.NativeConstructorAccessorImpl.new

      Instance(NativeConstructorAccessorImpl.java:39)

       

       

      Is there any configurations to extract my application as folders?

      (or)

      Is there any configurations to extract my application war into tmp folder/any other folder?

       

       

      Please guide me.

       

      Help is highly appreciated.