• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Web logic server Resource adapter problem using ra.xml and weblogic-ra.xml

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am new to weblogic server. In my application we are trying to create Data source using ra.xml and weblogic-ra.xml in META-INF/ . I am getting .. this exception while deploying my rar/war

can any one help..in this

<Dec 12, 2013 2:27:35 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1386838655365' for tas
k '1'. Error is: 'weblogic.application.ModuleException: No ComponentMBean was found in Application TestWeb with the URI PPMWeb.rar'
weblogic.application.ModuleException: No ComponentMBean was found in Application TestWeb with the URI TestWeb.rar
at weblogic.application.internal.BaseJ2EEModule.findComponentMBean(BaseJ2EEModule.java:62)
at weblogic.connector.deploy.ConnectorModule.initAndSetClassLoader(ConnectorModule.java:549)
at weblogic.connector.deploy.ConnectorModule.init(ConnectorModule.java:527)
at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:312)
Truncated. see log file for complete stacktrace
below are files
ra.xml
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector 1.0//EN' 'http://java.sun.com/j2ee/dtds/connector_1_0.dtd'>

<connector>
<display-name>My Connector</display-name>
<vendor-name>BEA System</vendor-name>
<spec-version>1.0</spec-version>
<eis-type>Oracle</eis-type>
<version>2.0</version>
<resourceadapter>
<managedconnectionfactory-class>com.bea.adapter.dbms.spi.ManagedConnectionFactoryImpl</managedconnectionfactory-class>
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
<connectionfactory-impl-class>com.bea.adapter.cci.ConnectionFactoryImpl</connectionfactory-impl-class>
<connection-interface>javax.resource.cci.Connection</connection-interface>
<connection-impl-class>com.bea.adapter.dbms.cci.ConnectionImpl</connection-impl-class>
<transaction-support>XATransaction</transaction-support>
<config-property>
<config-property-name>pfJndiName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>testDataSource11</config-property-value>
</config-property>
<config-property>
<config-property-name>UserName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>test</config-property-value>
</config-property>
<config-property>
<config-property-name>Password</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>test</config-property-value>
</config-property>
<config-property>
<config-property-name>ConnectionURL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>jdbcracle:thin:@172.17.19.5:1521:sample</config-property-value>
</config-property>
<authentication-mechanism>
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
<credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
</authentication-mechanism>
<reauthentication-support>false</reauthentication-support>
</resourceadapter>

</connector>
______&weblogic-ra.xml is _________
<?xml version="1.0"?>
<!DOCTYPE weblogic-connection-factory-dd PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 9.0.0 Connector//EN' 'http://www.bea.com/servers/wls810/dtd/weblogic810-ra.dtd'>
<weblogic-connection-factory-dd>
<connection-factory-name>sampleConnection</connection-factory-name>
<jndi-name>testDataSource11</jndi-name>
<pool-params>
<initial-capacity>0</initial-capacity>
<max-capacity>20</max-capacity>
</pool-params>
<use-connection-proxies>false</use-connection-proxies>
</weblogic-connection-factory-dd>
 
It's fun to be me, and still legal in 9 states! Wanna see my tiny ad?
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!