jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jenni Pothu" <Jen...@virtusa.com>
Subject Deployed the Jackrabbit application successfully and Getting exceptions when I start the Jboss5
Date Wed, 12 May 2010 08:35:04 GMT
Hi All,

Blog webapplication download from
http://onjava.com/pub/a/onjava/2006/11/08/advanced-java-content-reposito
ry.html and I have successfully deployed  under JBoss 4.2.3.GA per the
Wiki. ( http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss  ) 

Moving to a fresh install of JBoss 5, however results in the following


exceptions: My jcr-ds.xml file defines as below:

<connection-factories>

 <tx-connection-factory> 

  <rar-name>jackrabbit-jca-2.0.0.rar</rar-name> 

  <connection-definition>javax.jcr.Repository</connection-definition> 

<config-property name="homeDir"
type="java.lang.String">C:\\jackrabbit</config-property>

<config-property name="configFile"
type="java.lang.String">C:\\jackrabbit\\repository.xml</config-property>


  </tx-connection-factory>

  </connection-factories>

 

[AbstractKernelController] Error installing to Real:
name=vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/jcr-ds.xml
state=PreReal mode=Manual requiredState=Real

org.jboss.deployers.spi.DeploymentException: Error during deploy:
vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/jcr-ds.xml

      at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException
(DeploymentException.java:49)

      at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWra
pper.java:177)

      at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersIm
pl.java:1439)

      at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst
(DeployersImpl.java:1157)

      at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImp
l.java:1098)

      at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractC
ontrollerContext.java:348)

      at
org.jboss.dependency.plugins.AbstractController.install(AbstractControll
er.java:1631)

      at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractC
ontroller.java:934)

      at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstract
Controller.java:1082)

      at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstract
Controller.java:984)

      at
org.jboss.dependency.plugins.AbstractController.change(AbstractControlle
r.java:822)

      at
org.jboss.dependency.plugins.AbstractController.change(AbstractControlle
r.java:553)

      at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImp
l.java:781)

      at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerIm
pl.java:702)

      at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.pr
ocess(MainDeployerAdapter.java:117)

      at
org.jboss.system.server.profileservice.repository.ProfileDeployAction.in
stall(ProfileDeployAction.java:70)

      at
org.jboss.system.server.profileservice.repository.AbstractProfileAction.
install(AbstractProfileAction.java:53)

      at
org.jboss.system.server.profileservice.repository.AbstractProfileService
.install(AbstractProfileService.java:361)

      at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractC
ontrollerContext.java:348)

      at
org.jboss.dependency.plugins.AbstractController.install(AbstractControll
er.java:1631)

      at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractC
ontroller.java:934)

      at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstract
Controller.java:1082)

      at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstract
Controller.java:984)

      at
org.jboss.dependency.plugins.AbstractController.change(AbstractControlle
r.java:822)

      at
org.jboss.dependency.plugins.AbstractController.change(AbstractControlle
r.java:553)

      at
org.jboss.system.server.profileservice.repository.AbstractProfileService
.activateProfile(AbstractProfileService.java:306)

      at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(Pro
fileServiceBootstrap.java:271)

      at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461
)

      at org.jboss.Main.boot(Main.java:221)

      at org.jboss.Main$1.run(Main.java:556)

      at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.IllegalArgumentException: Null text

      at
org.jboss.system.metadata.ServiceTextValueMetaData.setText(ServiceTextVa
lueMetaData.java:94)

      at
org.jboss.system.metadata.ServiceTextValueMetaData.<init>(ServiceTextVal
ueMetaData.java:73)

      at
org.jboss.resource.deployers.builder.AbstractBuilder.buildSimpleAttribut
e(AbstractBuilder.java:91)

      at
org.jboss.resource.deployers.builder.ManagedConnectionPoolBuilder.buildA
ttributes(ManagedConnectionPoolBuilder.java:74)

      at
org.jboss.resource.deployers.builder.AbstractBuilder.build(AbstractBuild
er.java:66)

      at
org.jboss.resource.deployers.ManagedConnectionFactoryDeployer.deploy(Man
agedConnectionFactoryDeployer.java:177)

      at
org.jboss.resource.deployers.ManagedConnectionFactoryDeployer.deploy(Man
agedConnectionFactoryDeployer.java:52)

      at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.inte
rnalDeploy(AbstractSimpleRealDeployer.java:62)

      at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(Abs
tractRealDeployer.java:50)

      at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWra
pper.java:171)

 

 

ERROR [[/Blog]] Exception sending context initialized event to listener
instance of class
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener

java.lang.ClassCastException:
org.apache.xerces.jaxp.SAXParserFactoryImpl cannot be cast to
javax.xml.parsers.SAXParserFactory

      at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)

      at
com.sun.faces.config.ConfigureListener$WebXmlProcessor.getConfiguredFact
ory(ConfigureListener.java:698)

      at
com.sun.faces.config.ConfigureListener$WebXmlProcessor.scanForFacesServl
et(ConfigureListener.java:670)

      at
com.sun.faces.config.ConfigureListener$WebXmlProcessor.<init>(ConfigureL
istener.java:644)

      at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListe
ner.java:156)

      at
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextIn
itialized(JBossJSFConfigureListener.java:60)

      at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j
ava:3910)

      at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4393
)

      at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInt
ernal(TomcatDeployment.java:310)

      at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(To
mcatDeployment.java:142)

      at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploymen
t.java:461)

      at
org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

      at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
java:157)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

      at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
a:264)

      at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

      at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:20
6)

      at $Proxy38.start(Unknown Source)

      at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(S
tartStopLifecycleAction.java:42)

      at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(S
tartStopLifecycleAction.java:37)

      at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simple
InstallAction(SimpleControllerContextAction.java:62)

      at
org.jboss.dependency.plugins.action.AccessControllerContextAction.instal
l(AccessControllerContextAction.java:71)

      at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(Ab
stractControllerContextActions.java:51)

      at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractC
ontrollerContext.java:348)

      at
org.jboss.system.microcontainer.ServiceControllerContext.install(Service
ControllerContext.java:286)

      at
org.jboss.dependency.plugins.AbstractController.install(AbstractControll
er.java:1631)

      at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractC
ontroller.java:934)

      at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstract
Controller.java:1082)

      at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstract
Controller.java:984)

      at
org.jboss.dependency.plugins.AbstractController.change(AbstractControlle
r.java:822)

      at
org.jboss.dependency.plugins.AbstractController.change(AbstractControlle
r.java:553)

      at
org.jboss.system.ServiceController.doChange(ServiceController.java:688)

      at
org.jboss.system.ServiceController.start(ServiceController.java:460)

      at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:16
3)

      at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:9
9)

      at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:4
6)

 

 

Please help me how to solve this. Thanks in advance. 

 

Thanks,

Jenni

 


--------------------------------------------------------------------------------------------

This message, including any attachments, contains confidential information 
intended for a specific individual and purpose, and is intended for the addressee only. Any
unauthorized disclosure, use, dissemination, copying, or distribution of 
this message or any of its attachments or the information contained in this e-mail, or the
taking of any action based on it, is strictly prohibited. If you are not the intended recipient,
please notify the sender immediately by return e-mail and delete this message.

--------------------------------------------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message