Surya
Make sure that you've created the appropriate tables in the database and
that your DataSource / connection pool is setup.
-- Rob
--
----------------------------------------------------------------------
Coming Soon: Building J2EE Applications & BEA WebLogic Server
by Michael Girdley, Rob Woollen, and Sandra Emerson
Name- demoPool
URL- jdbc:weblogic:oracle
Driver Classname- weblogic:jdbc:oci:Driver
user:SCOTT
password:tiger
Do I need to change any of the above properties? Also what are the changes
required in classpath when compared to that of cloudscape one (as I am using
the same code with Oracle instead of cloudscape)?
Surya
"Rob Woollen" <Re...@spam.com> wrote in message
news:3AA5188D...@spam.com...
-- Rob
Unable to look up the beans home: Unable to resolve
containerManaged.AccountHome
Resolved: '' Unresolved:'containerManaged'
What might be the problem now?? As I told you before I didn't changed any
part of the code or the deployment descriptors. Any thing else that I should
do?
Surya
"Rob Woollen" <Re...@spam.com> wrote in message
news:3AA5278B...@spam.com...
<Mar 6, 2001 1:29:50 PM EST> <Error> <J2EE> <Error deploying EJB Component :
ejb
_basic_containerManaged
weblogic.ejb20.EJBDeploymentException: Error Deploying CMP EJB:; nested
exceptio
n is:
weblogic.ejb20.cmp.rdbms.RDBMSException: Could not access table
'ejbAcco
unts'.
weblogic.ejb20.cmp.rdbms.RDBMSException: Could not access table
'ejbAccounts'.
at
weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.verifyTableExists(P
ersistenceManagerImpl.java:129)
at
weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.verifyTablesExist(P
ersistenceManagerImpl.java:138)
at
weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.setup(PersistenceMa
nagerImpl.java:90)
at
weblogic.ejb20.internal.EntityEJBHome.setBeanInfo(EntityEJBHome.java:
144)
at
weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenB
eanInfoImpl.java:474)
at
weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:968)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:792)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.deploy(Application.java:152)
at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:173)
at
weblogic.management.mbeans.custom.Application.setLocalDeployed(Applic
ation.java:192)
at
weblogic.management.mbeans.custom.Application.setDeployed(Application
.java:163)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBe
anImpl.java:1129)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
anImpl.java:766)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
anImpl.java:747)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Conf
igurationMBeanImpl.java:256)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
ava:1356)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
ava:1331)
at
weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
s(ConfigurationMBeanImpl.java:318)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Conf
igurationMBeanImpl.java:259)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
ava:1356)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
ava:1331)
at
weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:
285)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:167)
at $Proxy7.setDeployed(Unknown Source)
at
weblogic.management.console.pages._panels._mbean._ejbcomponent._jspSe
rvice(_ejbcomponent.java:331)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:208)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:1127)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Mar 6, 2001 1:29:50 PM EST> <Error> <J2EE> <Error deploying application
ejb_bas
ic_containerManaged: Could not deploy: 'ejb_basic_containerManaged.jar'
Possible reasons include:
1. The bean or an interface class has been modified but
the deployment descriptor has not been updated
2. The database mappings in the deployment descriptor do not
match the database definition
3. The jar file is not a valid jar file
4. The jar file does not contain a valid bean>
<Mar 6, 2001 1:29:50 PM EST> <Error> <Management> <InvocationTargetException
set
ting attribute Deployed on MBean
mydomain:Name=ejb_basic_containerManaged,Locati
on=myserver,Type=ApplicationConfig to value true. Method: public void
weblogic.m
anagement.mbeans.custom.Application.setDeployed(boolean) throws
weblogic.managem
ent.DeploymentException,weblogic.management.UndeploymentException
weblogic.management.DeploymentException: Could not deploy:
'ejb_basic_containerM
anaged.jar'
Possible reasons include:
1. The bean or an interface class has been modified but
the deployment descriptor has not been updated
2. The database mappings in the deployment descriptor do not
match the database definition
3. The jar file is not a valid jar file
4. The jar file does not contain a valid bean
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:35)
at weblogic.j2ee.Application.deploy(Application.java:152)
at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:173)
at
weblogic.management.mbeans.custom.Application.setLocalDeployed(Applic
ation.java:192)
at
weblogic.management.mbeans.custom.Application.setDeployed(Application
.java:163)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBe
anImpl.java:1129)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
anImpl.java:766)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
anImpl.java:747)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Conf
igurationMBeanImpl.java:256)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
ava:1356)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
ava:1331)
at
weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
s(ConfigurationMBeanImpl.java:318)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Conf
igurationMBeanImpl.java:259)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
ava:1356)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
ava:1331)
at
weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:
285)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:167)
at $Proxy7.setDeployed(Unknown Source)
at
weblogic.management.console.pages._panels._mbean._ejbcomponent._jspSe
rvice(_ejbcomponent.java:331)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:208)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:1127)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
Surya
"Rob Woollen" <Re...@spam.com> wrote in message
news:3AA5278B...@spam.com...
-- Rob