On 2003.02.13 23:21 Gejara Kumar wrote: > Hi > > I have followed the following steps and getting the following > error while configuring/deploying the connector. > > 1. I have copied the following service.xml to default/deploy > directory. > 2. I have copied the Connector file "interdev.rar" to > default/deploy directory. > 3. The following is the Error we are getting. > > What could be the reason? > > Thanks > Kumar > > ========== THE ERROR ===================== > 09:32:50,171 ERROR [URLDeploymentScanner] MBeanException: > Exception in MBean operation > 'checkIncompleteDeployments()' Cause: Incomplete Deployment > listing: > Packages waiting for a deployer: > <none> > Incompletely deployed packages: > <none> > MBeans waiting for classes: > <none> > MBeans waiting for other MBeans: > [ObjectName: jboss.jca:service=NoTxCM,name=interdev state: > FAILED > I Depend On: jboss.jca:service=RARDeployer > jboss.jca:service=NoTxDS,name=interdev > Depends On Me: org.jboss.deployment.DeploymentException: Exception > setting attr > ibute javax.management.Attribute@d5eb7 on mbean > jboss.jca:service=NoTxCM,name=interdev; > - nested throwable: > (javax.management.AttributeNotFoundException: > Writable attribute > 'com.interdev.ejb.connector.AE3ManagedConnectionFactory' not > found) > , ObjectName: jboss.jca:service=NoTxDS,name=interdev > state: CONFIGURED > I Depend On: jboss.jca:service=RARDeployment,name=interdev > Depends On Me: jboss.jca:service=NoTxCM,name=interdev] > ========================================== > > ======= interdev-service.xml ============== > <?xml version="1.0" encoding="UTF-8"?> > <service> > <mbean > code="org.jboss.resource.connectionmanager.NoTxConnectionManager" > name="jboss.jca:service=NoTxCM,name=interdev"> > <depends>jboss.jca:service=RARDeployer</depends> > <depends > optional-attribute-name="com.interdev.ejb.connector.AE3ManagedConnectionFactory">
should be <depends optional-attribute-name="ManagedConnectionFactoryName" <mbean.... I see that this could be confusing... the configuration in jboss 4 is much simpler. david jencks > <mbean > code="org.jboss.resource.connectionmanager.RARDeployment" > name="jboss.jca:service=NoTxDS,name=interdev"> > <depends > >optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=interdev</depends> > <attribute name="ManagedConnectionFactoryProperties"> > <properties> > <config-property name="serviceUrl" > type="java.lang.String">someValue1</config-property> > <config-property name="configUrl" > type="java.lang.String">someValue2</config-property> > </properties> > </attribute> > <attribute > name="JndiName">interdev/aeconnector</attribute> > </mbean> > </depends> > <depends optional-attribute-name="ManagedConnectionPool"> > <mbean > code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" > name="jboss.jca:service=NoTxPool,name=interdev"> > <attribute name="MinSize">0</attribute> > <attribute name="MaxSize">50</attribute> > <attribute name="BlockingTimeoutMillis">5000</attribute> > <attribute name="IdleTimeoutMinutes">15</attribute> > <attribute name="Criteria">ByContainer</attribute> > </mbean> > </depends> > <depends > >optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends> > <depends > >optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends> > </mbean> > </service> > ========= end of xml ====================== > > On Thu, 13 Feb 2003 Gejara Kumar wrote : > >Hi David, > > > >Please correct if I am wrong here, > > > >- In the service.xml file name should be any thing? > >- In the service.xml file the following are the values I am > >replacing > >1. > >ManagedConnectionFactoryName=com.interdev.ejb.connector.AE3ManagedConnectionFactory > > > >2. LiDOVersantDS =? (I have to mention interdev.rar) OR I can > >replace with any name. > > > >3. LiDO ? > > > >Thanks > >Kumar > > > > > > > > > > > > > > > >On Thu, 13 Feb 2003 David Jencks wrote : > >>Oops, forgot the file:-). It's inline here: > >> > >><?xml version="1.0" encoding="UTF-8"?> > >> > >> > >><service> > >> > >> > >> <mbean > >>code="org.jboss.resource.connectionmanager.NoTxConnectionManager" > >>name="jboss.jca:service=NoTxCM,name=LiDOVersantDS"> > >> > >> <!--make the rar deploy - A BIG HACK till xslt based > >>deployment is > >>written--> > >> <depends>jboss.jca:service=RARDeployer</depends> > >> > >> <depends > >>optional-attribute-name="ManagedConnectionFactoryName"> > >> <mbean > >>code="org.jboss.resource.connectionmanager.RARDeployment" > >>name="jboss.jca:service=NoTxDS,name=LiDOVersantDS"> > >> <!--more hack--> > >> <depends > >>>optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=LiDO</depends> > >> <attribute name="ManagedConnectionFactoryProperties"> > >> <properties> > >> <config-property name="serviceUrl" > >>type="java.lang.String">trackerdb</config-property> > >> <config-property name="configUrl" > >>type="java.lang.String">trackerdb</config-property> > >> </properties> > >> </attribute> > >> <attribute name="JndiName">adap_1</attribute> > >> </mbean> > >> > >> </depends> > >> <depends optional-attribute-name="ManagedConnectionPool"> > >> <mbean > >>code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" > >>name="jboss.jca:service=NoTxPool,name=LiDOVersantDS"> > >> > >> <attribute name="MinSize">0</attribute> > >> <attribute name="MaxSize">50</attribute> > >> <attribute > >>name="BlockingTimeoutMillis">5000</attribute> > >> <attribute name="IdleTimeoutMinutes">15</attribute> > >> <!--criteria indicates if Subject (from security > >>domain) or app > >>supplied > >> parameters (such as from getConnection(user, pw)) > >>are used to > >>distinguish > >> connections in the pool. Choices are > >> ByContainerAndApplication (use both), > >> ByContainer (use Subject), > >> ByApplication (use app supplied params only), > >> ByNothing (all connections are equivalent, usually > >>if adapter > >>supports > >> reauthentication)--> > >> <attribute name="Criteria">ByContainer</attribute> > >> </mbean> > >> </depends> > >> <depends > >>>optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends> > >> > >> <depends > >>>optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends> > >> > >> </mbean> > >> > >></service> > >> > >> > >>On 2003.02.13 10:11 David Jencks wrote: > >> > There's a lot missing from your *-service.xml file. I've > >>attached one > >> > that > >> > includes more or less the minimum you need. It is partly > >>adapted to your > >> > .rar file. You definitely need to fill in the 2 config > >>property values, > >> > and probably want to change the mbean and jndi names. > >> > > >> > When you get it working please contribute it back to the jca > >>samples by > >> > submitting a patch on sourceforge. > >> > > >> > thanks > >> > david jencks > >> > > >> > On 2003.02.13 06:07 Gejara Kumar wrote: > >> > > Hi > >> > > > >> > > I tried deploying my sample connector, and it got > >> > > deployed successfully. But it was not bonded to the > >> > > JNDI name. > >> > > > >> > > To provide this I have tried preparing a service.xml > >> > > and copy to /deploy directory. I was unsuccessful. > >> > > > >> > > I tried to find out the relevant sample for service.xml > >> > > to prepare the xml for my connector configuration in > >> > > JBOSS server directory(jca samples), But most of them, > >> > > looks like for describing JDBC/Databse system related. > >> > > I am working with IBM Mqseries system based. > >> > > > >> > > The following is the environment > >> > > ================================ > >> > > version = JBOSS 3.0.4 > >> > > platform = WIN NT 4.0 > >> > > my connector RAR file = Interdev.rar > >> > > ================================ > >> > > > >> > > I have prepared one interdev-service.xml file, > >> > > getting errors of SAX parser related. > >> > > > >> > > Since I am new to JBOSS, do not have much > >> > > knowledge about preparation of service.xml, > >> > > can anybody help me in this regard. > >> > > > >> > > I have copied following in this mail. > >> > > > >> > > -- ra.xml of connector > >> > > -- interdev-service.xml > >> > > -- Error trace at Server side to in-correct service.xml > >> > > > >> > > Thanks > >> > > Kumar > >> > > -------------------------------------------- > >> > > > >> > > The RA.XML file > >> > > ================================== > >> > > <?xml version="1.0"?> > >> > > <!DOCTYPE connector PUBLIC '-//Sun Microsystems, > >>Inc.//DTD > >> > > Connector 1.0//EN' > >>'http://java.sun.com/dtd/connector_1_0.dtd'> > >> > > <connector> > >> > > <display-name>Inter Dev Connector Copr. 2000, 2001 Inter > >>Dev > >> > > Software Inc.</display-name> > >> > > <description /> > >> > > <vendor-name>Inter Dev Software Inc.</vendor-name> > >> > > <spec-version>1.0</spec-version> > >> > > <eis-type>Inter Dev Active Enterprise data > >>sources</eis-type> > >> > > <version>3.1.0</version> > >> > > <resourceadapter> > >> > > > >> > > > >>><managedconnectionfactory-class>com.interdev.ejb.connector.AE3ManagedConnectionFactory</managedconnectionfactory-class> > >> > > > >> > > > >>><connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface> > >> > > > >> > > > >>><connectionfactory-impl-class>com.interdev.ejb.connector.AE3ConnectionFactory</connectionfactory-impl-class> > >> > > > >> > > > >><connection-interface>javax.resource.cci.Connection</connection-interface> > >> > > > >> > > > >>><connection-impl-class>com.interdev.ejb.connector.ConnectionImpl</connection-impl-class> > >> > > > >><transaction-support>NoTransaction</transaction-support> > >> > > <config-property> > >> > > <description>Service URL value for > >> > > Connector</description> > >> > > > >><config-property-name>serviceUrl</config-property-name> > >> > > > >> > > > >><config-property-type>java.lang.String</config-property-type> > >> > > <config-property-value>TBD</config-property-value> > >> > > </config-property> > >> > > <config-property> > >> > > <description>Config value for > >>connector</description> > >> > > > >><config-property-name>configUrl</config-property-name> > >> > > > >> > > > >><config-property-type>java.lang.String</config-property-type> > >> > > <config-property-value>TBD</config-property-value> > >> > > </config-property> > >> > > > >><reauthentication-support>false</reauthentication-support> > >> > > </resourceadapter> > >> > > </connector> > >> > > ======= END OF RA.XML============= > >> > > > >> > > ========== Interdev-service.xml================= > >> > > <service> > >> > > <mbean > >> > > code="org.jboss.resource.connectionmanager.RARDeployment" > >> > > > >>>name="jboss.jca:service=interdev,name=com.interdev.ejb.connector.AE3ConnectionFactory"> > >> > > <depends > >> > > > >>>optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=com.interdev.ejb.connector.AE3ConnectionFactory</depends> > >> > > <attribute > >>name="JndiName">interdev/connector</attribute> > >> > > </mbean> > >> > > </service> > >> > > ============ END of interdev-service.xml======== > >> > > > >> > > ========= ERROR BELOW =================== > >> > > 15:38:23,906 INFO [MainDeployer] Starting deployment of > >>package: > >> > > file:/E:/appse > >> > > rv/jboss-3.0.4/server/default/deploy/interdev-service.xml > >> > > 15:38:23,968 ERROR [URLDeploymentScanner] Failed to > >>deploy: > >> > > org.jboss.deployment > >> > > .scanner.URLDeploymentScanner$DeployedURL@35786e7a{ > >> > > url=file:/E:/appserv/jboss-3 > >> > > .0.4/server/default/deploy/interdev-service.xml, > >> > > deployedLastModified=0 } > >> > > org.jboss.deployment.DeploymentException: Exception > >>getting > >> > > document; - nested t > >> > > hrowable: (org.xml.sax.SAXParseException: The markup in > >>the > >> > > document preceding t > >> > > he root element must be well-formed.) > >> > > at > >> > > > >>org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:635) > >> > > at > >> > > > >>org.jboss.deployment.SARDeployer.init(SARDeployer.java:150) > >> > > ========================================================= > >> > > > >> > > On Wed, 12 Feb 2003 David Jencks wrote : > >> > > >You don't say what you have tried and what happened, so I > >>can't > >> > > >help much. > >> > > > > >> > > >You need to: > >> > > >1. deploy the .rar by putting it in the appropriate > >>deploy > >> > > >folder > >> > > >2. deploy a configuration file myrar-service.xml by > >>putting it in > >> > > >the > >> > > >deploy folder. > >> > > > > >> > > >Examples of configuration files are in docs/examples/jca > >>I > >> > > >believe. > >> > > > > >> > > >david jencks > >> > > > > >> > > > >> > > > >> > > > >> > > > >> > > ------------------------------------------------------- > >> > > This sf.net email is sponsored by:ThinkGeek > >> > > Welcome to geek heaven. > >> > > http://thinkgeek.com/sf > >> > > _______________________________________________ > >> > > JBoss-user mailing list > >> > > [EMAIL PROTECTED] > >> > > https://lists.sourceforge.net/lists/listinfo/jboss-user > >> > > > >> > > > >> > > >> > > >> > ------------------------------------------------------- > >> > This SF.NET email is sponsored by: FREE SSL Guide from > >>Thawte > >> > are you planning your Web Server Security? Click here to get > >>a FREE > >> > Thawte SSL guide and find the answers to all your SSL > >>security issues. > >> > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > >> > _______________________________________________ > >> > JBoss-user mailing list > >> > [EMAIL PROTECTED] > >> > https://lists.sourceforge.net/lists/listinfo/jboss-user > >> > > >> > > >> > >> > >>------------------------------------------------------- > >>This SF.NET email is sponsored by: FREE SSL Guide from Thawte > >>are you planning your Web Server Security? Click here to get a > >>FREE > >>Thawte SSL guide and find the answers to all your SSL security > >>issues. > >>http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > >>_______________________________________________ > >>JBoss-user mailing list > >>[EMAIL PROTECTED] > >>https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > >------------------------------------------------------- > >This SF.NET email is sponsored by: FREE SSL Guide from Thawte > >are you planning your Web Server Security? Click here to get a > >FREE > >Thawte SSL guide and find the answers to all your SSL security > >issues. > >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > >_______________________________________________ > >JBoss-user mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: FREE SSL Guide from Thawte > are you planning your Web Server Security? Click here to get a FREE > Thawte SSL guide and find the answers to all your SSL security issues. > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
