[JBoss-user] [JBossWS] - Cannot obtain client config erro from java client
hi All, I am calling a webservice from a standalone client.Here is my client code: URL wsdlURL = new URL("http://localhost:8080/ConfWeb/DocumentFactory?wsdl";); URL jaxrpcURL = new File("jaxrpc-mapping.xml").toURL(); QName qname = new QName("http://com.interfaces/","IDocumentFactoryService";); ServiceFactoryImplserviceFactory = (ServiceFactoryImpl)ServiceFactory .newInstance(); Service service = serviceFactory.createService(wsdlURL,jaxrpcURL,null,qname,null); IDocumentFactory documentFactory = (IDocumentFactory )service.getPort(IDocumentFactory.class); MemDocumentImpl doc = documentFactory.getDocumentById(1); System.out.println(doc.getTrackingId() ); } catch (Exception e) { e.printStackTrace(); fail(); } but I get the follwoing error . java.lang.IllegalStateException: Cannot obtain client config at org.jboss.webservice.client.ServiceImpl.getEngineConfiguration(ServiceImpl.java:340) at org.jboss.webservice.client.ServiceImpl.getAxisClient(ServiceImpl.java:325) at org.jboss.axis.client.Service.(Service.java:180) at org.jboss.webservice.client.ServiceImpl.(ServiceImpl.java:110) at org.jboss.webservice.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:146) at com.smart.confirm.testcases.ConfTest.testTracId(ConfTest.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:436) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:311) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) Please help me in finding the solution for this problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883929#3883929 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883929 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JBOSS doen't deploy webservice
Hi All, I deployed a ear file which is having a webservice, into jboss server version 4.0.2,but it didn't deploy the webservice at all(I mean it doesn't show the url of the WSDL file on console) and it didn't throw any error message also.what is the problem for this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883743#3883743 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883743 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Hi All, Thanks to you all for your support.Finally this problem is resolved.But I have a situtaion.I was porting this webservice on another jboss server,but that server didn't start the webservice at all.It din't show the wsdl file at all.It doesn't throw any exception also.What could be the problem.I am using same jboss versions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883719#3883719 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883719 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Hi Thomas, [Code: ServiceFactoryImpl factory = (ServiceFactoryImpl )ServiceFactory.newInstance(); Service service = factory.createService(wsdlURL, qname, mappingURL, portName); ] Thanks for your reply.I will try this.what is the mappingUrl ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883683#3883683 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883683 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: JMS PersistanceManager service is failed to start with O
I guess JMS tables needs to be created at the time of the server startup.Do I need to explicitly create the JMS tables? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876770#3876770 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876770 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: JMS PersistanceManager service is failed to start with O
I guess JMS tables needs to be created at the time of the server startup.Do I need to explicitly create the JMS tables? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876769#3876769 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876769 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - using 2 datasouces in an application
Hi All, How to use 2 datasouces in one application and how can I specify EJB's to use which datasource. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876605#3876605 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876605 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - JMS PersistanceManager service is failed to start with Oracl
Hi All, I am getting the following error when I start the JMS service with oracle10g datasource.Please advice me the solution. 0:53:52,758 ERROR [PersistenceManager] Starting failed jboss.mq:service=PersistenceManager org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; - nested throwable: (java.sql.SQLException: ORA-00942: table or view does not exist ) at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:391) at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1422) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:416) at org.jboss.system.ServiceController.start(ServiceController.java:438) at org.jboss.system.ServiceController.start(ServiceController.java:438) at org.jboss.system.ServiceController.start(ServiceController.java:438) at org.jboss.system.ServiceController.start(ServiceController.java:438) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:272) at $Proxy34.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:228) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy8.deploy(Unknown Sour
[JBoss-user] [EJB/JBoss] - INDEX hint in ejbql
Does jboss support index hints in ejbql ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875985#3875985 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875985 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user