PDA

View Full Version : 1.1.5 EAR fails on JBoss 4.0.3 SP1



ocho79
05-09-2006, 07:53 AM
I expirienced a problem when deploying Pentaho 1.1.5B262 on a plain JBoss 4.0.3. SP1 installation.

I followed excactly all the steps described for the ear-deployment in the Pentaho Advanced Install Guide. My Hypersonic DB is up and running and I can access it from any other GUI via jdbc.

But when starting the server I get the failure message listened below. It seems that I has to do something with the data sources. But as I said, the DB is up and running and I didn't change anything
on the *ds files.

Of course I get an error when I try to access localhost:8080/pentaho/Navigate...

Any help - I'm writing my final tesis evaluating the Pentaho Framework for the productive use in a company. Here the error I get:


17:26:47,009 INFO [STDOUT] [de_47] Pentaho BI Platform server is ready. ([de_10
5] 1.0.0.0-[de_101] 0001)
17:26:47,134 INFO [EARDeployer] Started J2EE application: file:/C:/Programme/jb
oss-pentaho115/jboss/server/default/deploy/pentaho.ear
17:26:47,134 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.jca:service=LocalTxCM,name=Hibernate
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionPool,name=Hibernate
jboss.jca:service=CachedConnectionManager
jboss:service=TransactionManager
Depends On Me:
jboss.jca:service=DataSourceBinding,name=Hibernate

ObjectName: jboss.jca:service=ManagedConnectionPool,name=Hibernate
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=Hibernate
Depends On Me:
jboss.jca:service=LocalTxCM,name=Hibernate

ObjectName: jboss.jca:service=ManagedConnectionFactory,name=Hibernate
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
javax.management.Attribute@d5f9b9 on mbean jboss.jca:service=ManagedConnectionFa
ctory,name=Hibernate; - nested throwable: (javax.management.InvalidAttributeValu
eException: Set attribute has class class org.apache.xerces.dom.DeferredElement
Impl loaded from null that is not assignable to attribute class interface org.w3
c.dom.Element loaded from org.jboss.mx.loading.UnifiedClassLoader3@cf7fd0{ url=f
ile:/C:/Programme/jboss-pentaho115/jboss/server/default/tmp/deploy/tmp1369pentah
o.ear ,addedOrder=56})
I Depend On:
jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
Depends On Me:
jboss.jca:service=ManagedConnectionPool,name=Hibernate

ObjectName: jboss.jca:service=DataSourceBinding,name=Hibernate
State: CONFIGURED
I Depend On:
jboss.jca:service=LocalTxCM,name=Hibernate

ObjectName: jboss.jca:service=LocalTxCM,name=Quartz
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionPool,name=Quartz
jboss.jca:service=CachedConnectionManager
jboss:service=TransactionManager
Depends On Me:
jboss.jca:service=DataSourceBinding,name=Quartz

ObjectName: jboss.jca:service=ManagedConnectionPool,name=Quartz
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=Quartz
Depends On Me:
jboss.jca:service=LocalTxCM,name=Quartz

ObjectName: jboss.jca:service=ManagedConnectionFactory,name=Quartz
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
javax.management.Attribute@117140b on mbean jboss.jca:service=ManagedConnectionF
actory,name=Quartz; - nested throwable: (javax.management.InvalidAttributeValueE
xception: Set attribute has class class org.apache.xerces.dom.DeferredElementIm
pl loaded from null that is not assignable to attribute class interface org.w3c.
dom.Element loaded from org.jboss.mx.loading.UnifiedClassLoader3@cf7fd0{ url=fil
e:/C:/Programme/jboss-pentaho115/jboss/server/default/tmp/deploy/tmp1369pentaho.
ear ,addedOrder=56})
I Depend On:
jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
Depends On Me:
jboss.jca:service=ManagedConnectionPool,name=Quartz

ObjectName: jboss.jca:service=DataSourceBinding,name=Quartz
State: CONFIGURED
I Depend On:
jboss.jca:service=LocalTxCM,name=Quartz

ObjectName: jboss.jca:service=LocalTxCM,name=SampleData
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionPool,name=SampleData
jboss.jca:service=CachedConnectionManager
jboss:service=TransactionManager
Depends On Me:
jboss.jca:service=DataSourceBinding,name=SampleData

ObjectName: jboss.jca:service=ManagedConnectionPool,name=SampleData
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=SampleData
Depends On Me:
jboss.jca:service=LocalTxCM,name=SampleData

ObjectName: jboss.jca:service=ManagedConnectionFactory,name=SampleData
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
javax.management.Attribute@93886b on mbean jboss.jca:service=ManagedConnectionFa
ctory,name=SampleData; - nested throwable: (javax.management.InvalidAttributeVal
ueException: Set attribute has class class org.apache.xerces.dom.DeferredElemen
tImpl loaded from null that is not assignable to attribute class interface org.w
3c.dom.Element loaded from org.jboss.mx.loading.UnifiedClassLoader3@cf7fd0{ url=
file:/C:/Programme/jboss-pentaho115/jboss/server/default/tmp/deploy/tmp1369penta
ho.ear ,addedOrder=56})
I Depend On:
jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
Depends On Me:
jboss.jca:service=ManagedConnectionPool,name=SampleData

ObjectName: jboss.jca:service=DataSourceBinding,name=SampleData
State: CONFIGURED
I Depend On:
jboss.jca:service=LocalTxCM,name=SampleData

ObjectName: jboss.jca:service=LocalTxCM,name=Shark
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionPool,name=Shark
jboss.jca:service=CachedConnectionManager
jboss:service=TransactionManager
Depends On Me:
jboss.jca:service=DataSourceBinding,name=Shark

ObjectName: jboss.jca:service=ManagedConnectionPool,name=Shark
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=Shark
Depends On Me:
jboss.jca:service=LocalTxCM,name=Shark

ObjectName: jboss.jca:service=ManagedConnectionFactory,name=Shark
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
javax.management.Attribute@9aca82 on mbean jboss.jca:service=ManagedConnectionFa
ctory,name=Shark; - nested throwable: (javax.management.InvalidAttributeValueExc
eption: Set attribute has class class org.apache.xerces.dom.DeferredElementImpl
loaded from null that is not assignable to attribute class interface org.w3c.do
m.Element loaded from org.jboss.mx.loading.UnifiedClassLoader3@cf7fd0{ url=file:
/C:/Programme/jboss-pentaho115/jboss/server/default/tmp/deploy/tmp1369pentaho.ea
r ,addedOrder=56})
I Depend On:
jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
Depends On Me:
jboss.jca:service=ManagedConnectionPool,name=Shark

ObjectName: jboss.jca:service=DataSourceBinding,name=Shark
State: CONFIGURED
I Depend On:
jboss.jca:service=LocalTxCM,name=Shark

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:service=ManagedConnectionFactory,name=SampleData
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
javax.management.Attribute@93886b on mbean jboss.jca:service=ManagedConnectionFa
ctory,name=SampleData; - nested throwable: (javax.management.InvalidAttributeVal
ueException: Set attribute has class class org.apache.xerces.dom.DeferredElemen
tImpl loaded from null that is not assignable to attribute class interface org.w
3c.dom.Element loaded from org.jboss.mx.loading.UnifiedClassLoader3@cf7fd0{ url=
file:/C:/Programme/jboss-pentaho115/jboss/server/default/tmp/deploy/tmp1369penta
ho.ear ,addedOrder=56})
I Depend On:
jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
Depends On Me:
jboss.jca:service=ManagedConnectionPool,name=SampleData

ObjectName: jboss.jca:service=ManagedConnectionFactory,name=Quartz
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
javax.management.Attribute@117140b on mbean jboss.jca:service=ManagedConnectionF
actory,name=Quartz; - nested throwable: (javax.management.InvalidAttributeValueE
xception: Set attribute has class class org.apache.xerces.dom.DeferredElementIm
pl loaded from null that is not assignable to attribute class interface org.w3c.
dom.Element loaded from org.jboss.mx.loading.UnifiedClassLoader3@cf7fd0{ url=fil
e:/C:/Programme/jboss-pentaho115/jboss/server/default/tmp/deploy/tmp1369pentaho.
ear ,addedOrder=56})
I Depend On:
jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
Depends On Me:
jboss.jca:service=ManagedConnectionPool,name=Quartz

ObjectName: jboss.jca:service=ManagedConnectionFactory,name=Shark
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
javax.management.Attribute@9aca82 on mbean jboss.jca:service=ManagedConnectionFa
ctory,name=Shark; - nested throwable: (javax.management.InvalidAttributeValueExc
eption: Set attribute has class class org.apache.xerces.dom.DeferredElementImpl
loaded from null that is not assignable to attribute class interface org.w3c.do
m.Element loaded from org.jboss.mx.loading.UnifiedClassLoader3@cf7fd0{ url=file:
/C:/Programme/jboss-pentaho115/jboss/server/default/tmp/deploy/tmp1369pentaho.ea
r ,addedOrder=56})
I Depend On:
jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
Depends On Me:
jboss.jca:service=ManagedConnectionPool,name=Shark

ObjectName: jboss.jca:service=ManagedConnectionFactory,name=Hibernate
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
javax.management.Attribute@d5f9b9 on mbean jboss.jca:service=ManagedConnectionFa
ctory,name=Hibernate; - nested throwable: (javax.management.InvalidAttributeValu
eException: Set attribute has class class org.apache.xerces.dom.DeferredElement
Impl loaded from null that is not assignable to attribute class interface org.w3
c.dom.Element loaded from org.jboss.mx.loading.UnifiedClassLoader3@cf7fd0{ url=f
ile:/C:/Programme/jboss-pentaho115/jboss/server/default/tmp/deploy/tmp1369pentah
o.ear ,addedOrder=56})
I Depend On:
jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
Depends On Me:
jboss.jca:service=ManagedConnectionPool,name=Hibernate

kgreenburg
10-18-2006, 03:26 PM
I have exactly the same problem. Was there ever a response to this? Does the EAR work on 4.0.3 SP1?

mbatchelor
10-19-2006, 06:30 AM
This was fixed in 1.2 RC3. I'd suggest working with that.

Take care,

Marc

mdamour
10-19-2006, 06:45 AM
If the problem you are having has to do with "variable accessed before it is bound" then indeed, we have fixed this for RC3. If you are having some other issue please provide additional details, version, stack traces, environment..

Check out this recent thread:
http://forums.pentaho.org/showthread.php?t=27056

Thanks,
Mike

abudharr
11-15-2006, 02:30 PM
Hi I am new to the pentaho BI. I have however managed to get the j2ee_deployment version 1.0.0.0 along with the assiciated solutions. I have since tried to upgrade to the version 1.2.0.470-RC3 of the J2ee_deployment. I updated the pentaho-solution and pentaho-data accordingly. I get the same error as mentioned in the previous posts but this is in the log first. I will attach the full stack trace. if you can assist in this error ain any way at all would be appreciated.

Ps. couldn't attach file due to upload restrictions please advise.

2006-11-15 21:45:54,887 INFO [STDOUT] java.lang.NullPointerException
2006-11-15 21:45:54,887 INFO [STDOUT] at org.pentaho.plugin.eclipsebirt.BirtSystemListener.createBIRTEngine(BirtSystemListener.java:183)
2006-11-15 21:45:54,887 INFO [STDOUT] at org.pentaho.plugin.eclipsebirt.BirtSystemListener.startup(BirtSystemListener.java:73)
2006-11-15 21:45:54,887 INFO [STDOUT] at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:237)
2006-11-15 21:45:54,887 INFO [STDOUT] at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:141)
2006-11-15 21:45:54,887 INFO [STDOUT] at org.pentaho.core.system.SolutionContextListener.contextInitialized(SolutionContextListener.java:114)
2006-11-15 21:45:54,887 INFO [STDOUT] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
2006-11-15 21:45:54,887 INFO [STDOUT] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
2006-11-15 21:45:54,887 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
2006-11-15 21:45:54,887 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
2006-11-15 21:45:54,887 INFO [STDOUT] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
2006-11-15 21:45:54,887 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2006-11-15

Post edited by: abudharr, at: 2006/11/15 18:33

Post edited by: abudharr, at: 2006/11/15 18:35

mbatchelor
11-15-2006, 05:47 PM
Hey there,

I seriously suggest you look at 1.2 RC3 - the 1.0 was pretty shaky, and the EAR wasn't working (to my recollection).

I hope that helps,

Marc