[jboss-user] [Clustering] - EJB Load balancing

2009-11-05 Thread tpawankumar
Hi, Can we use external load balancer for EJB as we have the facility for using external load balancer in HTTP Services.We have hardware for Load balancer we want to use for EJB's also.Is there a way of doing it. Please let me know. Thanks, Pavan View the original post :

[jboss-user] [JBoss jBPM] - Migration from Weblogic to Jboss

2008-09-29 Thread tpawankumar
Hi All, I want to migrate my application from weblogic 8.1.4 to Jboss 4.0.5 but i have some resources which are specific to Weblogic 8.1.4 like .jpd files and .jcx files. .jpd file is java process definition which is used to define work flow or business process. .jcx file is java control file

[jboss-user] [JBoss Messaging] - Re: Problem while publishing message to the Queue

2008-09-08 Thread tpawankumar
Hi, Thanks for the help. I found the problem.I am creating connection and session objects in a static block and closing the connection in instance method. when i comment the call to close the connection it is working fine. View the original post :

[jboss-user] [JBoss Messaging] - Problem while publishing message to the Queue

2008-09-05 Thread tpawankumar
Hi All, I am publishing the message to the Queue but second time when i publish the same message it is giving me the following exception | 15:23:22,184 ERROR [ClosedInterceptor] ClosedInterceptor.ClientSessionDelegate[7 | ]: method createObjectMessage() did not go through, the interceptor

[jboss-user] [JBoss Messaging] - Problem with Asynchronous Communicatin

2008-09-04 Thread tpawankumar
Hi All, I have Jboss-4.2.1 GA and installed jboss-messaging-1.3.0.GA. I have QueueProducer which sends message to Queue and QueueConsumer which recieves message from the same Queue. When i run QueueProducer class it is sending the message successfully but when i run QueueConsumer class it is

[jboss-user] [JBoss Messaging] - Re: Problem with Asynchronous Communicatin

2008-09-04 Thread tpawankumar
Hi, If i want the connection to be open and listen continuously for messages without closing the connection.what needs to be done? Because the same program without closing the connection works for JbossMQ and listens continuously for messages. Please help me. View the original post :

[jboss-user] [Clustering/JBoss] - Re: Only one scheduler across all nodes in the cluster

2008-04-09 Thread tpawankumar
Hi, Following is the message on my console: | 10:50:27,533 INFO [TreeCache] viewAccepted(): MergeView::[10.88.192.129:2355|1] | [10.88.192.129:2355, 10.88.192.141:1528], subgroups=[[10.88.192.129:2355|0] [10 | .88.192.129:2355], [10.88.192.141:1528|0] [10.88.192.141:1528]] | This

[jboss-user] [Clustering/JBoss] - Re: Running a task in ony one node in cluster

2008-04-09 Thread tpawankumar
Hi All, Please help me. Why HASingleton is not working? Thanks, Pavan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4142730#4142730 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4142730

[jboss-user] [Clustering/JBoss] - Re: Only one scheduler across all nodes in the cluster

2008-04-07 Thread tpawankumar
Hi All, Please let me know how did you deploy in jboss. Is this ***-service.xml is inside .sar or deployed seperately in /deploy folder. This is not working for me.Please help me. Thanks, Pavan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4142052#4142052

[jboss-user] [Clustering/JBoss] - Running a task in ony one node in cluster

2008-04-04 Thread tpawankumar
Hi All, I have deployed an application in cluster environment.I want only one node to execute this task.If this node goes down i want another node to execute the task.I have read in jboss docs there were HASingletons for this. I have implemented it but could not succeed.I have used Jboss AS

[jboss-user] [Clustering/JBoss] - Re: Only one scheduler across all nodes in the cluster

2008-04-03 Thread tpawankumar
Hi All, I am using scheduler in clustered environment. Following is jboss-service.xml | ?xml version=1.0 encoding=UTF-8? | server | mbean code=org.jboss.varia.scheduler.Scheduler |name=com.covad:service=Scheduler |

[jboss-user] [EJB 3.0] - Use of timer service in JMS context

2008-04-01 Thread tpawankumar
Hi All, I am using Timer Service in jboss 4.2.1 GA for sending notification messages every 60 secs.I want to notify this message to JMS server. I have used the jboss-service.xml with following code | server | | | mbean code=org.jboss.monitor.services.TimerService |

[jboss-user] [EJB 3.0] - Re: How to start a session bean as soon as it is deployed

2008-04-01 Thread tpawankumar
Hi oskar/wolfc I have tried both options suggested by you but it is not working. Following is the code of my stateless bean | @Service | @Stateless | @Remote(ConfigService.class) | @Local(ConfigService.class) | public class ConfigServiceBean implements ConfigService { | | |

[jboss-user] [Messaging, JMS JBossMQ] - Re: JMS communication between Tomcat app and JBOSS AS 4.2.2`

2008-02-14 Thread tpawankumar
Hi, I have recieved messages on my tomcat application.Following is the code Properties props = new Properties(); | props.setProperty(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory); |

[jboss-user] [JBossWS] - Re: how to set headers in JAX-WS

2007-12-04 Thread tpawankumar
Hi Alessio, Thanks for the reply. But this wsdl is third party vendor where i cannot change. Actually i am migrating the webservice which talks to third party vendor webservice from Weblogic to jboss. In weblogic it is creating the method with two parameters but in jboss it is not. Is there

[jboss-user] [JBossWS] - Re: how to set headers in JAX-WS

2007-12-02 Thread tpawankumar
Hi Alessio, This is the wsdl ?xml version=1.0 encoding=utf-8 ? | wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:tm=http://microsoft.com/wsdl/mime/textMatching/; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;

[jboss-user] [JBossWS] - how to set headers in JAX-WS

2007-11-30 Thread tpawankumar
Hi All, My web service has a method which accepts two parameters one xmlstring and the other is header class which has two instance variables username and password. when i used wsconsume on my wsdl to generate client side artifacts,it has generated one the method with one parameter. Is there

[jboss-user] [JBossWS] - Re: how to publish my own wsdl

2007-11-15 Thread tpawankumar
Hi Alessio, I have given that name in web.xml file. Below is my web.xml | ?xml version=1.0 encoding=UTF-8? | web-app xmlns=http://java.sun.com/xml/ns/j2ee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee |

[jboss-user] [JBossWS] - Re: how to publish my own wsdl

2007-11-15 Thread tpawankumar
Hi Alessio, I couldnt figure out what's wrong i have done. But i tried with different application as per the suggestion given by you. It is working. Thanks for your reply. Thanks, Pavan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105299#4105299 Reply

[jboss-user] [JBossWS] - Re: how to publish my own wsdl

2007-11-14 Thread tpawankumar
Hi Alessio, Thanks for the reply. I have tried but i didnt succeed. This is my SEI package com.covad.inter; | | import java.rmi.Remote; | import java.rmi.RemoteException; | | import javax.jws.WebService; | | | | @WebService(name=Hello,targetNamespace =

[jboss-user] [JBossWS] - how to publish my own wsdl

2007-11-12 Thread tpawankumar
Hi All, I am migrating my web service from Weblogic to Jboss.I am using Jboss 4.2.1 GA and Jbossws 1.2.1 GA.I am using Jax-ws. I have wsdl file and i used top-down approach.When i deployed my application in jboss it is creating a different wsdl file. Is there any way to publish my own wsdl

[jboss-user] [JBossWS] - bind datatype javax.xml.datatype.XMLGregorianCalendar to jav

2007-11-07 Thread tpawankumar
Hi All, When i generated schema classes from jaxb 2.1.5.It generated XMLGregorianCalendar data type for xml type xsd:date.Then i changed my schema adding inline annotations and binded the XMLGregorianCalendar to Calendar.Following is the code that i have added in my schema.

[jboss-user] [JBossWS] - Re: Problem with wsconsume ant task

2007-11-07 Thread tpawankumar
Hi Richard, When i set fork=true i am getting the below exception BUILD FAILED: java.lang.NoSuchMethodError: org.apache.tools.ant.taskdefs.ExecuteJava.fork(Lorg/apache/tools/ant/ProjectComponent;)I Following is the target target name=generateStub1 description=Generates classes

[jboss-user] [JBossWS] - Problem with wsconsume ant task

2007-11-06 Thread tpawankumar
Hi All, I am using wsconsume ant task for generating client side artifacts. The following is ant task | target name=generateStub2 description=Generates classes | taskdef name=wsconsume

[jboss-user] [JBossWS] - Deploying on Jboss 4.2.1, jbossws 1.2.1 success, same applicat

2007-10-29 Thread tpawankumar
Hi All, I have created small sample HelloWorld WebService and tried to deploy on Jboss 4.2.1 GA and Jbossws 1.2.1 GA.It got deployed. I am using Jax-WS for creating the web service. Then i upgraded to jbossws to 2.0.1 GA and tried to deploy the same application. It it throwing the following

[jboss-user] [JBossWS] - Re: Exception while deploying the webservice using jax-ws

2007-10-26 Thread tpawankumar
alessio.soldano wrote: anonymous wrote : Could you please post the code where you're using the XmlAccessorType annotation? | I mean, are you using this | Code: | | @XmlAccessorType(XmlAccessType.FIELD) | | | or something different? (like an array of AccessType.FIELD) |

[jboss-user] [JBossWS] - Cannot find endpoint meta data for

2007-10-25 Thread tpawankumar
Hi, I am trying to deploy sample webservice by using Jax-ws. I am using JBOSS 4.2.1GA application server and Jbossws 2.0.1GA. The code for Remote interface is package com.covad.Inter; import java.rmi.Remote; import java.rmi.RemoteException; import javax.jws.WebService; import

[jboss-user] [JBossWS] - Re: Exception while deploying the webservice using jax-ws

2007-10-24 Thread tpawankumar
Hi, This issue has been resolved by moving to Jbossws 2.0.1 GA. Now i am getting different exception java.lang.IllegalStateException: Cannot find endpoint meta data for: MacafeeAdapter at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.getEndpointM

[jboss-user] [JBossWS] - Exception while deploying the webservice using jax-ws

2007-10-23 Thread tpawankumar
Hi All, I am migrating the web service from weblogic to JBoss 4.2.1 I have WDSL file so i am using TOP-DOWN approach which was mentined in JAX-WS userguide.I have generated schema related classes using jaxb 2.o and modified the code accordingly and used WSCONSUME for generating client side

[jboss-user] [JBossWS] - Re: Exception while deploying the webservice using jax-ws

2007-10-23 Thread tpawankumar
Sorry i forgot to mention this the interface created by WSCONSUME package com.covad.xsd.smo.vendororder; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.ws.RequestWrapper; import javax.xml.ws.ResponseWrapper; /**

[jboss-user] [JBossWS] - Re: Exception while deploying the webservice using jax-ws

2007-10-23 Thread tpawankumar
Hi All, I have resolved ClassCastException issue. Now i am getting this exception org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nested throwable: (java.lang.annotation.AnnotationTypeMismatchException: Incorrectly typed data found for annotation element public

[jboss-user] [JBossWS] - Re: org.jboss.ws.WSException: Cannot obtain java type mappin

2007-10-15 Thread tpawankumar
Hi, Thank you for your suggestion alessio.soldano. I have resolved this issue.yes,it is related to mapping of xml artifacts,java classes by using jbossws 1.0.4. I am also using the interfaces/classes generated by Weblogic.I must use these interfaces/classes which were generated by weblogic.I

[jboss-user] [JBossWS] - Re: org.jboss.ws.WSException: Cannot obtain java type mappin

2007-10-04 Thread tpawankumar
Hi, I have tried with jbossws 2.0.1 GA it is generating java interfaces when we give existing wsdl contract. But i have those interfaces generated by Weblogic so i have to use the classes generated by weblogic. This is my requirement. Any suggestions on the following error Cannot obtain

[jboss-user] [JBossWS] - org.jboss.ws.WSException: Cannot obtain java type mapping fo

2007-10-03 Thread tpawankumar
Hi, I am migrating web services application from Weblogic 8.1.4 to JBoss 4.0.5. I have generated webservices.xml,jaxrpc-mapping.xml and WSDL by using wstools which is there in JbossWS 1.0.4.When i tried to deploy the web service it got deployed successfully. But i have requirement saying that i

[jboss-user] [JCA/JBoss] - related to *-service.xml

2007-07-24 Thread tpawankumar
Hi, I am migrating an JCA application which is working on Weblogic 8.1.4 to JBOSS 4.0.0.I have created two files infranet-ds.xml and ra.xml.But it is throwing an exception when i tried to deploy.when i browsed some sample applications i found *-service.xml file is also needed for deploying.

[jboss-user] [JCA/JBoss] - JCA 1.5 problem when deploying in JBOSS 4.0

2007-07-23 Thread tpawankumar
Hi All, I am migrating my application from weblogic 8.1.4 to JBOSS 4.0 when i migrate the jca module and tried to deploy it is showing the following error 15:40:16,834 ERROR [RARDeployment] Starting failed jboss.jca:service=RARDeployme nt,name='infranetconnector.rar'

[jboss-user] [JCA/JBoss] - JCA 1.5 deployment in JBOSS 4.0.0

2007-07-23 Thread tpawankumar
Hi All, I am trying to deploy JCA for infranet on JBOSS4.0.0. I am getting following error. Can anybody help? anonymous wrote : | infranet-ds.xml ?xml version=1.0 encoding=UTF-8? connection-factories tx-connection-factory jndi-nameOmbi.Infranet/jndi-name