Wrox Home  
Search P2P Archive for: Go

  Return to Index  

enterprise_java_beans thread: Re: where i target the new data source to myservr had error!


Message #1 by "mitchell chan" <mjchan@e...> on Thu, 22 Aug 2002 20:43:37
Hello, What is the name of the database you are using?

There's a good explanation of how to setup weblogic 6.1 for cloudscape db 
in Professional Web Services (Wrox). pp.285-287

You 
1. Edit startWebLogic.cmd
   1.a. add cloudscape jars into weblogic's classpath
   1.b. setup cloudscape's data home directory
2. Create a database connection pool
3. Create a data source

Hope this helps.  -Mitch
> --------------- nested within: ------------------
w> eblogic.management.DistributedOperationUpdateException: Error creating 
d> ata sou
r> ce - with nested exception:
[> weblogic.management.DeploymentException: Error creating data source - 
w> ith nest
e> d exception:
[> java.lang.Exception: weblogic.common.ResourceException: DataSource
(> EmployeeDS)
c> an't be created with non-existent Pool (connection or multi) 
(Employee)]]
 >        at 
w> eblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
s> (ConfigurationMBeanImpl.java:492)
 >        at weblogic.management.internal.ConfigurationMBeanImpl.invoke
(> Configurat
i> onMBeanImpl.java:352)
 >        at com.sun.management.jmx.MBeanServerImpl.invoke
(> MBeanServerImpl.java:15
5> 5)
 >        at com.sun.management.jmx.MBeanServerImpl.invoke
(> MBeanServerImpl.java:15
2> 3)
 >        at weblogic.management.internal.MBeanProxy.invoke
(> MBeanProxy.java:444)
 >        at weblogic.management.internal.MBeanProxy.invoke
(> MBeanProxy.java:185)
 >        at $Proxy8.addDeployment(Unknown Source)
 >        at web>

> 
w> hat should i do?

  Return to Index