I am using the 7.0 final release and having problems getting to use my
translator. I believe I have followed the directions in the developer's
guide and it appears to have been deployed into JBoss but not quite the
same way as the packaged translators. It does get activated by JBoss
(not Teiid) and my ExecutionFactory sub-class is loaded and an object
created but it is not started by the Dynamic VDB which gets an error
about not being able to find the parent translator.
There is probably something rather small that I am doing wrong but I
can't figure it out. Let me know if you need the jboss-beans.xml file or
the vdb file.
I get the following in the JBoss log: (P.S., The RUNTIME log lines with
"UQ exec" are coming from my ExecutionFactory sub-class.)
===========================================================
2010-07-06 15:46:03,212 INFO
[org.jboss.ejb3.session.SessionSpecContainer] (main) Starting
jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
2010-07-06 15:46:03,212 INFO [org.jboss.ejb3.EJBContainer] (main)
STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean
ejbName: SecureProfileService
2010-07-06 15:46:03,243 INFO
[org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase]
(main) Binding the following Entries in Global JNDI:
SecureProfileService/remote - EJB3.x Default Remote Business Interface
SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
- EJB3.x Remote Business Interface
2010-07-06 15:46:03,962 INFO [org.teiid.RUNTIME] (main) Teiid
translator "file" has been added.
2010-07-06 15:46:05,384 INFO [org.teiid.RUNTIME] (main) Teiid
translator "jdbc-simple" has been added.
2010-07-06 15:46:05,399 INFO [org.teiid.RUNTIME] (main) Teiid
translator "informix" has been added.
2010-07-06 15:46:05,399 INFO [org.teiid.RUNTIME] (main) Teiid
translator "db2" has been added.
2010-07-06 15:46:05,399 INFO [org.teiid.RUNTIME] (main) Teiid
translator "access" has been added.
2010-07-06 15:46:05,415 INFO [org.teiid.RUNTIME] (main) Teiid
translator "postgresql" has been added.
2010-07-06 15:46:05,415 INFO [org.teiid.RUNTIME] (main) Teiid
translator "mysql5" has been added.
2010-07-06 15:46:05,446 INFO [org.teiid.RUNTIME] (main) Teiid
translator "jdbc-ansi" has been added.
2010-07-06 15:46:05,462 INFO [org.teiid.RUNTIME] (main) Teiid
translator "mysql" has been added.
2010-07-06 15:46:05,462 INFO [org.teiid.RUNTIME] (main) Teiid
translator "derby" has been added.
2010-07-06 15:46:05,462 INFO [org.teiid.RUNTIME] (main) Teiid
translator "modeshape" has been added.
2010-07-06 15:46:05,477 INFO [org.teiid.RUNTIME] (main) Teiid
translator "sybase" has been added.
2010-07-06 15:46:05,477 INFO [org.teiid.RUNTIME] (main) Teiid
translator "h2" has been added.
2010-07-06 15:46:05,477 INFO [org.teiid.RUNTIME] (main) Teiid
translator "sqlserver" has been added.
2010-07-06 15:46:05,493 INFO [org.teiid.RUNTIME] (main) Teiid
translator "teiid" has been added.
2010-07-06 15:46:05,493 INFO [org.teiid.RUNTIME] (main) Teiid
translator "teradata" has been added.
2010-07-06 15:46:05,493 INFO [org.teiid.RUNTIME] (main) Teiid
translator "hsql" has been added.
2010-07-06 15:46:05,493 INFO [org.teiid.RUNTIME] (main) Teiid
translator "metamatrix" has been added.
2010-07-06 15:46:05,509 INFO [org.teiid.RUNTIME] (main) Teiid
translator "oracle" has been added.
2010-07-06 15:46:05,556 INFO [org.teiid.RUNTIME] (main) Teiid
translator "ldap" has been added.
2010-07-06 15:46:07,180 INFO [org.teiid.RUNTIME] (main) Teiid
translator "loopback" has been added.
2010-07-06 15:46:07,243 INFO [org.teiid.RUNTIME] (main) Teiid
translator "salesforce" has been added.
2010-07-06 15:46:07,321 INFO [org.jboss.ejb3.deployers.JBossASKernel]
(main) installing bean:
jboss.j2ee:jar=translator-uquest.jar,name=translator-uquest,service=EJB3
2010-07-06 15:46:07,321 INFO [org.jboss.ejb3.deployers.JBossASKernel]
(main) with dependencies:
2010-07-06 15:46:07,321 INFO [org.jboss.ejb3.deployers.JBossASKernel]
(main) and demands:
2010-07-06 15:46:07,321 INFO [org.jboss.ejb3.deployers.JBossASKernel]
(main) and supplies:
2010-07-06 15:46:07,321 INFO [org.jboss.ejb3.deployers.JBossASKernel]
(main) Added
bean(jboss.j2ee:jar=translator-uquest.jar,name=translator-uquest,service=EJB3)
to KernelDeployment of: translator-uquest.jar
2010-07-06 15:46:07,368 INFO [RUNTIME] (main) UQ exec factory loaded.
2010-07-06 15:46:07,368 INFO [RUNTIME] (main) UQ exec factory obj created.
2010-07-06 15:46:07,415 INFO
[org.jboss.ejb3.clientmodule.ClientENCInjectionContainer] (main) STARTED
CLIENT ENC CONTAINER: translator-uquest
2010-07-06 15:46:07,477 INFO [org.teiid.RUNTIME] (main) Teiid
translator "ws" has been added.
2010-07-06 15:46:07,634 INFO
[org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy,
ctxPath=/admin-console
2010-07-06 15:46:07,805 INFO
[javax.enterprise.resource.webcontainer.jsf.config] (main) Initializing
Mojarra (1.2_12-b01-FCS) for context '/admin-console'
2010-07-06 15:46:14,868 INFO
[org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy,
ctxPath=/
2010-07-06 15:46:15,040 INFO
[org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy,
ctxPath=/jmx-console
2010-07-06 15:46:15,165 ERROR
[org.jboss.kernel.plugins.dependency.AbstractKernelController] (main)
Error installing to Real:
name=vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/uq-films-vdb.xml
state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: The parent translator
defined not found in configuration
"vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/uq-films-vdb.xml"
at org.teiid.deployers.VDBDeployer.deploy(VDBDeployer.java:100)
at org.teiid.deployers.VDBDeployer.deploy(VDBDeployer.java:59)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
...
===========================================================
--
Charles Simon
Principal Software Engineer
Select Business Solutions, Inc.
35 Nutmeg Drive
Trumbull, CT 06611
http://www.selectbs.com
mailto:charles.simon@selectbs.com