[jboss-user] [Beginner's Corner] - Re: Logging in JBoss

2009-10-23 Thread rohit.macherla
Hi Peter, Thanks for the suggestion. I will go ahead with the commons-logging. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4261849#4261849 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261849

[jboss-user] [Beginner's Corner] - Logging in JBoss

2009-10-22 Thread rohit.macherla
Hi, I am developing WebServices on JBoss 4.2.3.GA application server. I am planning to use Logger facility for logging the information, instead of the System.out.println's. I have found that the Logger class comes in various packages(jar's). For the list given below, I am unable to select a

[jboss-user] [Beginners Corner] - Unable to parse WSDL with wsconsume

2009-08-04 Thread rohit.macherla
Hi, I am working on JBoss-4.2.2 server. I have a WSDL given by external system and I want to create java artifacts using wsconsume. When I try the command wsconsume -k Prov_OMITStatusUpdates.wsdl, I get the following error :anonymous wrote : | [ERROR] Failed to read the WSDL document:

[jboss-user] [Beginners Corner] - Threads and waiting HTTP requests

2009-07-08 Thread rohit.macherla
Hi, I have a doubt regarding the thread processing in JBoss. The configuration of BasicThreadPool in jboss-service.xml is as follows: |!-- A Thread pool service -- |mbean code=org.jboss.util.threadpool.BasicThreadPool | name=jboss.system:service=ThreadPool | attribute

[jboss-user] [Performance Tuning] - Re: Huge number of connection creation count irrespective of

2009-06-25 Thread rohit.macherla
Hi PeterJ, Thanks for the reply. The load testing happened on a single day for three hours from 6PM to 9PM. There was no period of inactivity and it was carried out for 20 users. There were 100 odd connections that were created by the time the testing started. These observations were made the

[jboss-user] [Performance Tuning] - Huge number of connection creation count irrespective of con

2009-06-25 Thread rohit.macherla
Hi all, I am using JBoss-4.2.2.GA server on a HP-UX machine. My application uses JAX-WS type webservices. I am using connection pooling and the connection pool parameters are : anonymous wrote : BlockingTimeoutMillis = 3 | BackGroundValidationMinutes = 10 | PreFill = False |

[jboss-user] [JCA/JBoss] - Re: Error while closing connection from a pool

2009-06-16 Thread rohit.macherla
Hello vickyk and jboss-user-1234, Thanks for the suggestion. I have rechecked the code and found out that I overlooked commenting one piece of code. Finally, closing the wrapped connection is working. Closing the underlying connection is closing the actual connection. Thanks. View the

[jboss-user] [JCA/JBoss] - Re: Error while closing connection from a pool

2009-01-26 Thread rohit.macherla
Hi Vickyk, Thanks for the reply. My WebService does just this : Fetches the connection (Using the connection pool) Invokes a PL/SQL procedure and fetches the result Closes the connection and the JDBC statements. The WebService ends after closing the connection. What I meant by the 'next

[jboss-user] [JCA/JBoss] - Error while closing connection from a pool

2009-01-21 Thread rohit.macherla
Hi, I am using JBoss 4.2.2.GA on a HP Unix platform. For the sake of delegating connection management to the application server, I have started using connection pooling. The code I used was : | InitialContext jndiCntx = new InitialContext(); | DataSource ds = (DataSource)

[jboss-user] [JBossWS] - Re: Handling timeouts in WebService client

2009-01-21 Thread rohit.macherla
Hi, I am not aware of the system property. I would just like to add that the following would also work : anonymous wrote : ((BindingProvider) port).getRequestContext().put( | org.jboss.ws.timeout, | 200 * 1000); Thanks Alessio Soldano. View the

[jboss-user] [Beginners Corner] - How to close a pooled connection in JBoss

2009-01-14 Thread rohit.macherla
Hi, I am using JBoss 4.2.2.GA on a HP Unix platform. For the sake of delegating connection management to the application server, I have started using connection pooling. The code I used was : | InitialContext jndiCntx = new InitialContext(); | DataSource ds = (DataSource)

[jboss-user] [Beginners Corner] - Transactions in JBoss

2008-09-09 Thread rohit.macherla
I am using a JBoss 4.2.2.GA server using WebServices. In my WebService, I am required to connect to a relational Database (Oracle 9i), get some data, change some of the existing data in the Database and then invoke another WebService. A failure to do any of these things implies that the entire

[jboss-user] [Beginners Corner] - Re: Transactions in JBoss

2008-09-09 Thread rohit.macherla
@francis17101970 Thanks for the information. We have put a jboss-ds.xml file in the Deploy structure of the JBoss. But the datasource is mentioned as local-tx-datasource | Hope this doesn't destroy the purpose there are some XA datasources available as well (not in my jboss-ds.xml, but I

[jboss-user] [JBossWS] - Handling timeouts in WebService client

2008-08-20 Thread rohit.macherla
Hi all, I have JBoss 4.2.2.GA version installed on a HP Unix machine. We have a WebService, say A, that calls another WebService, say B. When A calls B it usually takes a lot of time, say 3-4 minutes to respond. I would like to know where to configure the timeout value for the WebService

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Host name issue while deploying WebService

2008-08-06 Thread rohit.macherla
Thanks PeterJ. When have used the bind address as the hostname, in our case STD42S15, the WSDL's are generated with this hostname now. Thanks again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4169007#4169007 Reply to the post :

[jboss-user] [JBossWS] - setRollbackOnly() error during WebService invocation

2008-08-05 Thread rohit.macherla
Hi all, I am using the JBoss 4.2.2.GA server installed on HP-UX platform. I have some WebServices deployed in this server. These WebServices connect to the Oracle Database 9 and after that, they invoke other WebServices. We are not using Connection Pooling when we connect to the Database and

[jboss-user] [Beginners Corner] - Re: Starting JBoss server independently

2008-07-31 Thread rohit.macherla
Thanks PeterJ. It worked. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167910#4167910 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4167910 ___ jboss-user mailing list

[jboss-user] [JBossWS] - Re: XSD import in JBoss generated WSDL

2008-07-29 Thread rohit.macherla
Thanks bbucy. I'll test it and let you know the results in case I stumble upon something. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167496#4167496 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4167496

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Host name issue while deploying WebService

2008-07-28 Thread rohit.macherla
Hi all, I have found the place where I can change the hostname. After the server is started, from the JMX console, go to the MBean view : MBean Name: Domain Name: jboss.ws service: ServerConfig In this MBean, we have the MBean attribute : WebServiceHost whose value can be changed.

[jboss-user] [Beginners Corner] - Starting JBoss server independently

2008-07-28 Thread rohit.macherla
Hi all, I have a JBoss 4.2.2 version installed on HP Unix platform at a remote server. Each time I need to start it, I connect through telnet to that machine and then run the command : ./run.sh - b 0.0.0.0 But then I can't close that window because the server is still on it. I had Sun One

[jboss-user] [Installation, Configuration DEPLOYMENT] - Host name issue while deploying WebService

2008-07-25 Thread rohit.macherla
Hi, I have a WebService created as a .war file with the implementation class developed in Java and properly annotated. When I deploy the War file, i.e., when I put the WAR file in the /server/default/deploy folder, the WSDL is generated automatically and is in the location /data/wsdl/app-name.

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Host name issue while deploying WebService

2008-07-25 Thread rohit.macherla
The hostname field in the quote did not appear properly. I paste it again. attribute name=Host${java.rmi.server.hostname}/attribute was changed to attribute name=HostSTD42S15/attribute View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4166580#4166580 Reply to

[jboss-user] [JBossWS] - XSD import in JBoss generated WSDL

2008-07-25 Thread rohit.macherla
Hi, I am using JBoss 4.2.2.GA installed on HP-UX machine. When I deploy a WAR file (annotated one, so that a WebService is deployed), the WSDL file has the XSD embedded into it. Is there any way I can get the XSD in a different location and have the WSDL import it ? For example, when I