1 Reply Latest reply on Nov 8, 2005 10:49 AM by Adrian Brock

    com.fortressit.ejb.PortableContextException

    Davis Varkey Newbie

      Dear All,

      I am getting the following exception while deploying my application ear. Here are the details of the instance :

      JBoss version = 4.0.2
      set the property isolated=true in ear-deployer
      the level of scoping is isolation with override.
      property UseJbossWebloader=true in jboss-service.xml

      18:52:44,294 INFO [STDOUT] com.fortressit.ejb.PortableContextException: [Root exception is java.lang.ClassCastException]javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory
      Cannot instantiate class: org.jnp.interfaces.NamingContextFactory
      18:52:44,294 INFO [STDOUT] at com.fortressit.ejb.EJB11.EJB11Context.lookup(EJB11Context.java:90)
      18:52:44,294 INFO [STDOUT] at com.sns.member.util.DBConnector.invokeMethod(DBConnector.java:122)
      18:52:44,294 INFO [STDOUT] at com.sns.member.util.DBConnector.endElement(DBConnector.java:85)
      18:52:44,294 INFO [STDOUT] at org.xml.sax.helpers.XMLReaderAdapter.endElement(Unknown Source)
      18:52:44,294 INFO [STDOUT] at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
      18:52:44,294 INFO [STDOUT] at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
      18:52:44,294 INFO [STDOUT] at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1809)
      18:52:44,310 INFO [STDOUT] at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1182)
      18:52:44,310 INFO [STDOUT] at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
      18:52:44,310 INFO [STDOUT] at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
      18:52:44,310 INFO [STDOUT] at org.xml.sax.helpers.XMLReaderAdapter.parse(Unknown Source)

      Would appreciate any of your help on this.

      Thanks