0 Replies Latest reply on Dec 28, 2006 12:40 AM by Amit Kanjilal

    failed to run apps after jboss deployment

    Amit Kanjilal Newbie

      Hi All,
      I have deployed my application inside jboss.let me give my folder structure for deployment,its as follows:
      <jboss-home>/my_own_instance/deploy/fxtxnbean/fc@4/src /classes/nb.war(exploded one),fxtxn.jar
      in the above context: src contains my source code & classes contains all class file.whenever i am deploying,after starting the server,i specify the file path in the deploy(string) of jmx-console-->MainDeployer& i invoke,both the war(exploded) & jar gets deployed.and i load my external properties through jmxconsole-->systemproperties.properties get loaded.now whenever i am running my apps using(http://myhost:8080/nb(exploded)/rl.html and specify my uid and pwd...this is showing following error:

      11:04:58,147 INFO [SystemPropertiesService] Loaded system properties from: file:/D:/jboss-4.0.4/server/MOB_SERVER/deploy/FCATTxnBean/fc@4.2
      11:05:38,653 ERROR [STDERR] java.lang.Exception: [JFProperties], Undefined System Property 'fcat.jvm.id'
      11:05:38,653 ERROR [STDERR] at com.iflex.fcat.infra.JFProperties.loadProperties(JFProperties.java:284)
      11:05:38,653 ERROR [STDERR] at com.iflex.fcat.servlet.EntryBase.doStaticInit(EntryBase.java:325)
      11:05:38,653 ERROR [STDERR] at com.iflex.fcat.servlet.EntryBase.(EntryBase.java:303)
      11:05:38,653 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      11:05:38,653 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      11:05:38,653 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      11:05:38,653 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      11:05:38,653 ERROR [STDERR] at java.lang.Class.newInstance0(Class.java:308)
      11:05:38,653 ERROR [STDERR] at java.lang.Class.newInstance(Class.java:261)
      11:05:38,653 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1055)
      11:05:38,653 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
      11:05:38,653 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
      11:05:38,653 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      11:05:38,653 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      11:05:38,653 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      11:05:38,653 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      11:05:38,653 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      11:05:38,653 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      11:05:38,653 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      11:05:38,653 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      11:05:38,653 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.
      11:05:38,653 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      11:05:38,653 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      11:05:38,653 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)
      11:05:38,653 ERROR [[RetailServlet]] Allocate exception for servlet RetailServlet
      javax.servlet.ServletException: Servlet initialization has failed

      at com.iflex.fcat.servlet.EntryBase.init(EntryBase.java:631)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:534)

      the class file for the Servlet(entery servlet) it is giving error for is there inside src/classes/servlet/entryservlet.class


      Plz,help me out from this....i am running out of time...