Thanks,
Mitesh
Nishant wrote:
> Hi,
>
> I have weblogic Portal SP2 environment. I am trying to create datasource and it
> gives me error that i can't create it.
>
> I am on windows 200 platform. Trying to Connect to DB2 database. I have created
> one Admin and 2 Managed servers for application environment.
>
> Any insights is really appreciated.
>
> Thanks,
> Nishant
>
> <Aug 12, 2003 2:23:35 PM EDT> <Error> <JDBC> <001059> <Error during Data Source
> creation: weblogic.common.Reso
> urceException: DataSource(weblogic.jdbc.pool.commercePool) can't be created with
> non-existent Pool (connection
> or multi) (commercePool)
> at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
> at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:260)
> at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
> at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
> at java.lang.reflect.Method.invoke(Native Method)
> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417)
> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
> at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:952)
> at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:
> 578)
> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:419)
> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
> at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:952)
> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
> at $Proxy21.addDeployment(Unknown Source)
> at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:17
> 84)
> at weblogic.management.internal.DynamicMBeanImpl.access$0(DynamicMBeanImpl.java:1737)
> at weblogic.management.internal.DynamicMBeanImpl$1.run(DynamicMBeanImpl.java:1715)
> at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
> at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1711)
> at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1035)
> at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:353)
> at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
> at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
> at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:898)
> at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:324)
> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:193)
> at $Proxy16.setTargets(Unknown Source)
> at java.lang.reflect.Method.invoke(Native Method)
> at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
> at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
> at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
> at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.jav
> a:5445)
> at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
> >
Hi Nishant,
Usually it happens when the pool used to create a datasource is not
defined, or it's defined but the target server for the pool is not set. Go
to "Targets" tab of the pool and make sure the server is mentioned
as a target for the pool.
Regards,
Slava Imeshev
"Nishant" <nishant...@yahoo.com> wrote in message
news:3f3935c7$1...@newsgroups.bea.com...
Regards,
Slava Imeshev
"Nishant" <nishant...@yahoo.com> wrote in message
news:3f394090$1...@newsgroups.bea.com...
>
> Hi Slava,
>
> Yes. I solved that problem. Thank you and Mitesh for help and time.
>
> Can you please help me on this ?
> I have created Tx Data Source of name commercePool and datasync.
> although it is giving this type of error. It can not find it. Why ?
> I am using Bedrock and Ant. I have modified all required scripts for
connection.
>
>
> <Aug 12, 2003 3:26:22 PM EDT> <Info> <WebLogicServer> <000287> <Invoking
startup
> class: com.beasys.commerce.eb
> usiness.security.KeyBootstrap.startup(null)>
> <Aug 12, 2003 3:26:22 PM EDT> <Info> <COMMERCE_SERVER_FRAMEWORK> <000000>
<Loaded
> password for private key fro
> m weblogiccommerce.properties>
> <Aug 12, 2003 3:26:22 PM EDT> <Error> <COMMERCE_SERVER_FRAMEWORK> <000000>
<NOT
> Found weblogic.jdbc.jts.commer
> cePool context
> javax.naming.NameNotFoundException: Unable to resolve
'weblogic.jdbc.jts.commercePool'
> Resolved: 'weblogic.jdb
> c' Unresolved:'jts' ; remaining name 'jts.commercePool'
> at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
> at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:263)
> at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:230)
> at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown
Source)
> at
weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
> at
weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
> at javax.naming.InitialContext.lookup(InitialContext.java:345)
> at
com.beasys.commerce.axiom.util.helper.JNDIHelper.lookup(JNDIHelper.java:206)
> at
com.beasys.commerce.axiom.util.weblogic.helper.WebLogicHelper.getJtsConnecti
on(WebLogicHelper.java:
> 508)
> at
com.beasys.commerce.axiom.util.weblogic.helper.WebLogicHelper.getConnection(
WebLogicHelper.java:426
> )
> at
com.beasys.commerce.ebusiness.security.PublicKeyJDBCHelper.initialize(Public
KeyJDBCHelper.java:241)
>
> at
com.beasys.commerce.ebusiness.security.PublicKeyJDBCHelper.retrieveKey(Publi
cKeyJDBCHelper.java:60)
>
> at
com.beasys.commerce.ebusiness.security.KeyBootstrap.getPublicKey(KeyBootstra
p.java:469)
> at
com.beasys.commerce.ebusiness.security.KeyBootstrap.bindKeys(KeyBootstrap.ja
va:146)
> at
com.beasys.commerce.ebusiness.security.KeyBootstrap.startup(KeyBootstrap.jav
a:109)
> at
weblogic.t3.srvr.StartupClassService.invokeStartup(StartupClassService.java:
158)
> at
weblogic.t3.srvr.StartupClassService.invokeClass(StartupClassService.java:13
9)
> at
weblogic.t3.srvr.StartupClassService.access$0(StartupClassService.java:130)
> at
weblogic.t3.srvr.StartupClassService$1.run(StartupClassService.java:102)
> at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:780)
> at
weblogic.t3.srvr.StartupClassService.invokeStartupClass(StartupClassService.
java:97)
> at
weblogic.t3.srvr.StartupClassService.resume(StartupClassService.java:76)
> at
weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:67)
> at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:832)
> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:300)
> at weblogic.Server.main(Server.java:32)
> >
> Thanks,
> Nishant
> >..java:732)
I solved problem.
Nishant
It says the pool " coomercePool" is already in use.
Here is the error displayed when i started admin server.
<Aug 12, 2003 3:48:58 PM EDT> <Info> <WebLogicServer> <000287> <Invoking startup
class: com.beasys.commerce.eb
usiness.security.KeyBootstrap.startup(null)>
<Aug 12, 2003 3:48:58 PM EDT> <Info> <COMMERCE_SERVER_FRAMEWORK> <000000> <Loaded
password for private key fro
m weblogiccommerce.properties>
<Aug 12, 2003 3:48:58 PM EDT> <Error> <COMMERCE_SERVER_FRAMEWORK> <000000> <NOT
Found weblogic.jdbc.jts.commer
cePool context
javax.naming.NameNotFoundException: Unable to resolve 'weblogic.jdbc.jts.commercePool'
Resolved: 'weblogic.jdb
c' Unresolved:'jts' ; remaining name 'jts.commercePool'
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)
at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
at javax.naming.InitialContext.lookup(InitialContext.java:345)
at com.beasys.commerce.axiom.util.helper.JNDIHelper.lookup(JNDIHelper.java:206)
at com.beasys.commerce.axiom.util.weblogic.helper.WebLogicHelper.getJtsConnection(WebLogicHelper.java:
508)
at com.beasys.commerce.axiom.util.weblogic.helper.WebLogicHelper.getConnection(WebLogicHelper.java:426
)
at com.beasys.commerce.ebusiness.security.PublicKeyJDBCHelper.initialize(PublicKeyJDBCHelper.java:241)
at com.beasys.commerce.ebusiness.security.PublicKeyJDBCHelper.retrieveKey(PublicKeyJDBCHelper.java:60)
at com.beasys.commerce.ebusiness.security.KeyBootstrap.getPublicKey(KeyBootstrap.java:469)
at com.beasys.commerce.ebusiness.security.KeyBootstrap.bindKeys(KeyBootstrap.java:146)
at com.beasys.commerce.ebusiness.security.KeyBootstrap.startup(KeyBootstrap.java:109)
at weblogic.t3.srvr.StartupClassService.invokeStartup(StartupClassService.java:158)
at weblogic.t3.srvr.StartupClassService.invokeClass(StartupClassService.java:139)
at weblogic.t3.srvr.StartupClassService.access$0(StartupClassService.java:130)
at weblogic.t3.srvr.StartupClassService$1.run(StartupClassService.java:102)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
at weblogic.t3.srvr.StartupClassService.invokeStartupClass(StartupClassService.java:97)
Thanks,
Nishant
>..
at com.beasys.commerce.axiom.util.weblogic.helper.WebLogicHelper.getJtsConnection(WebLogicHelper.java:
508)
at com.beasys.commerce.axiom.util.weblogic.helper.WebLogicHelper.getConnection(WebLogicHelper.java:426
)
at com.beasys.commerce.ebusiness.security.PublicKeyJDBCHelper.initialize(PublicKeyJDBCHelper.java:241)
at com.beasys.commerce.ebusiness.security.PublicKeyJDBCHelper.retrieveKey(PublicKeyJDBCHelper.java:60)
at com.beasys.commerce.ebusiness.security.KeyBootstrap.getPublicKey(KeyBootstrap.java:469)
at com.beasys.commerce.ebusiness.security.KeyBootstrap.bindKeys(KeyBootstrap.java:146)
at com.beasys.commerce.ebusiness.security.KeyBootstrap.startup(KeyBootstrap.java:109)
at weblogic.t3.srvr.StartupClassService.invokeStartup(StartupClassService.java:158)
at weblogic.t3.srvr.StartupClassService.invokeClass(StartupClassService.java:139)
at weblogic.t3.srvr.StartupClassService.access$0(StartupClassService.java:130)
at weblogic.t3.srvr.StartupClassService$1.run(StartupClassService.java:102)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
at weblogic.t3.srvr.StartupClassService.invokeStartupClass(StartupClassService.java:97)
at weblogic.t3.srvr.StartupClassService.resume(StartupClassService.java:76)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:67)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:832)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:300)
at weblogic.Server.main(Server.java:32)
>
Thanks,
Nishant
>..java:732)
In clustering environment when i start my manage servers it always gives me this
error.
Can you please tell me why is that so ?
<Aug 12, 2003 3:51:44 PM EDT> <Error> <Management> <141009> <Error in file distribution
servlet while processi
ng request of type "wl_ear_resource_request", java.net.SocketException: Connection
aborted by peer: socket wri
te error
java.net.SocketException: Connection aborted by peer: socket write error
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:91)
at weblogic.servlet.internal.ChunkUtils.writeChunkNoTransfer(ChunkUtils.java:235)
at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:200)
at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:285)
at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:345)
at weblogic.servlet.internal.ChunkOutput.write(ChunkOutput.java:232)
at weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.java:114)
at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:171)
at weblogic.management.servlet.FileDistributionServlet.returnInputStream(FileDistributionServlet.java:
490)
at weblogic.management.servlet.FileDistributionServlet.doGetEarResourceRequest(FileDistributionServlet
java:720)
at weblogic.management.servlet.FileDistributionServlet.doGet(FileDistributionServlet.java:411)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.jav
a:5445)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
<Aug 12, 2003 3:53:58 PM EDT> <Info> <Management> <140009> <Configuration changes
for domain saved to the repo
sitory.>
Thanks,
Nishant
Mitesh Patel <Mitesh...@bea.com> wrote:
Thanks,
Mitesh