[JBoss Seam] - Re: FailedConfiguration while running test
by hubaghdadi
I followed the instructions as your blog shows, this time I got this exception:
| [testng] FAILED CONFIGURATION: @BeforeClass init
| [testng] java.lang.RuntimeException: Unable to bootstrap:
| [testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:167)
| [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
| [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
| [testng] at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
| [testng] at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
| [testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
| [testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
| [testng] Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/media/sda4/Projects/ArmadaSeamProject/bootstrap/conf/bootstrap-beans.xml@50,41
| [testng] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
| [testng] at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)
| [testng] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:86)
| [testng] at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
| [testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
| [testng] ... 28 more
| [testng] Caused by: org.jboss.xb.binding.JBossXBRuntimeException: {urn:jboss:bean-deployer:2.0}incallback not found as a child of {urn:jboss:bean-deployer:2.0}bean
| [testng] at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:283)
| [testng] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:381)
| [testng] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
| [testng] at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
| [testng] at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
| [testng] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
| [testng] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
| [testng] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
| [testng] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| [testng] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| [testng] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
| [testng] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
| [testng] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
| [testng] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:169)
| [testng] ... 32 more
| [testng] ... Removed 22 stack frames
| [testng] SKIPPED CONFIGURATION: @BeforeMethod begin
| [testng] SKIPPED CONFIGURATION: @AfterMethod end
| [testng] SKIPPED CONFIGURATION: @AfterClass cleanup
| [testng] SKIPPED: siimulateBijection
| [testng]
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122476#4122476
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122476
18 years, 6 months
[JCA/JBoss] - JBOSS +JCA + Connection Pooling .....Out of ManagedConnectio
by mohad_ajay
I am running a 15 hours+ test using JBOSS and oracle as backend...getting below exceptions....Please help me how do i get rid of this connections issue...
12:41:29.821:000000000:F:sam.common.BaseDAO.initializeConnection:BaseDAO.java(99):SQL
Error 0 connecting to database (java:/jdbc/oraSAM): No ManagedConnections
available within configured blocking timeout ( 5000 [ms] ); - nested throwable:
(javax.resource.ResourceException: No ManagedConnections available within
configured blocking timeout ( 5000 [ms] ))
12:41:29.821:000000000:F:sam.common.BaseDAO.initializeConnection:BaseDAO.java(99):SQL
Error 0 connecting to database (java:/jdbc/oraSAM): No ManagedConnections
available within configured blocking timeout ( 5000 [ms] ); - nested throwable:
(javax.resource.ResourceException: No ManagedConnections available within
configured blocking timeout ( 5000 [ms] ))
12:41:29.823:000000000:F:sam.common.CPShortCodeGrpGroupHandler.readGroup:CPShortCodeGrpGroupHandler.java(56):Error
while Closing SQL Connection.
12:41:29.823:000000000:F:sam.common.CPIPGrpGroupHandler.readGroup:CPIPGrpGroupHandler.java(64):Error
while Closing SQL Connection.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122471#4122471
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122471
18 years, 6 months
[JBossWS] - Re: Cannot obtain wsdl service - Help
by vaswin
In addition to the above problem, i ve tried with wsrunclient to run the client program. but it also failed.
C:\Projects\eclipseLambozworkspace\EchoService\build\classes>wsrunclient uk.co.r
egdeveloper.client.EchoClient
Starting Test Client
Creating a service Using:
http://127.0.0.1:8080/EchoService/EchoBean?wsdl
and {http://webservice.regdeveloper.co.uk/jaws}EchoService
Exception in thread "main" javax.xml.rpc.ServiceException: Failed to create fact
ory: org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl
at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:110)
at uk.co.regdeveloper.client.EchoClient.main(EchoClient.java:15)
Caused by: java.lang.NoClassDefFoundError: org/jboss/util/NotImplementedExceptio
n
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:85)
... 1 more
Pls help and explain.
Srinivas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122468#4122468
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122468
18 years, 6 months