[jboss-user] [Beginners Corner] - File Permissions created by Jboss 4.2.x

2008-07-28 Thread chavali
How do have control on file permissions created by Jboss 4.2.x on linux. Is 
there any configuration for this?

We have a file which is created by application deployed in Jboss.
We have to restrict read access for others in linux.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166910#4166910

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166910
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - SessionManagement using soapsession

2008-03-25 Thread chavali
Hi,

   Somebody can give code example or link on using soapsession/transport 
session for maintaining session across multiple services in a servicegroup. 

Chavali

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4138679#4138679

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138679
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - AddChild() giving java.util.NoSuchElementException

2008-03-19 Thread chavali
Hi,

Following code is giving java.util.NoSuchElementException. The exception is 
thrown at addChild() method.

String xmlString = ns1:echo xmlns:ns1=\http://ws.apache.org/axis2/xsd\; 
ns1:echoHello/ns1:echo  /ns1:echo;
XMLStreamReader parser2 = 
XMLInputFactory.newInstance().createXMLStreamReader(new 
StringReader(xmlString));
OMXMLParserWrapper builder2 = new StAXOMBuilder(parser2);
OMElement documentElement = builder2.getDocumentElement();

SOAPFactory fac = OMAbstractFactory.getSOAP11Factory();
 SOAPEnvelope envelope1 = fac.getDefaultEnvelope(); 
envelope1.getBody().addChild( (OMNode)documentElement );
newMsgContext.setEnvelope( envelope1 );

Can anybody help in this regard.





View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4137695#4137695

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137695
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Destroying Unmatched Connections !

2008-02-28 Thread chavali
Hi ,

I need some help with my understanding of matchManagedConnections.
Some background- I have 5 connections in my pool and a client makes a request 
for a connection object. However his ConnectionInfo does not match with the 
existing 5 connections. I was under the presumption that a new connection will 
be created and added to the pool. That is what happens but suprisingly all the 
other 5 connections are closed as they did not match. The error message is as 
follows,

2008-02-28 14:34:52,875 WARN  
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Destroying 
connection that could not be successfully matched: [EMAIL PROTECTED] [EMAIL 
PROTECTED] handles=0 lastUse=1204189471703 permit=false trackByTx=false [EMAIL 
PROTECTED] [EMAIL PROTECTED]

Each client request should result in one call to matchManagedConnection instead 
of multiple calls. The InternalManagedConnectionPool code shows that the call 
is made on each of the ConnectionListeners. What is the reasoning behind this ?

Basically I need the old connections to be open as well. How can I acheive this 
? Any help would be appreciated !!!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4132851#4132851

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132851
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: How to create socket connection to legacy sytem instead

2008-02-28 Thread chavali
My question is is it possible to create connection and per client maintain it 
in war file using a servlet instead of using JCA because we donot need any 
connection pool. We need  seperate connection per each client.

It it possible to do that.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4133048#4133048

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133048
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - JCA close/destroy

2008-02-26 Thread chavali
We have a requirement to maintain the session with the legacy system and the 
client. We want to persist the same connection for multiple requests from 
client. Upon clients logoff the legacy system to be notified may be by calling 
destroy instead of close. Upon the notification to (EIS)legacy system,  the 
legacy system will processing and do some cleanup.

I donot know with the connection pooling will the destroy close the physical 
connection with the EIS legacy system.

Calling the destroy() instead of close() in JCA will the physical connection 
gets closed with the legacy system? 

Will the EIS (legacy system) socket desc gets closed by calling the destroy().

Can some body help in this regard.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4132121#4132121

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132121
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - How to create socket connection to legacy sytem instead of J

2008-02-21 Thread chavali
We have a requirement to connect to legacy system socket port for each client 
from web service skeleton and maintain the connection thoughout the client 
session.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131172#4131172

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131172
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - CSTA ECMA wsdl

2008-02-21 Thread chavali
Has anybody worked on CSTA ECMA wsdl? 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131182#4131182

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131182
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - How to maintain session management with web services

2008-02-21 Thread chavali
we have both webservices (synchronous request/responses and asynchronous events 
from legacy system). Synchronous requests are towards the legacy system and 
asynchronous events reported from the legacy system are reported to client 
invoked using asynchronous webservice request implemented in the clientside 
webserver.

There is a need to maintain user session per client throughout the session. 
Can somebody suggest the solution.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131180#4131180

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131180
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - axisFault occured during service invocation:java.lang.Illega

2008-02-19 Thread chavali
Hi

We are working on webservices with axis2 on jboss.
We are getting the following exception with  the stub. The request is processed 
bsent to the legacy system through skeleton and then through  JCA.The response 
is received in JCA. But the stub is receiving exception.

Here is the exception.

axisFault occured during service invocation:java.lang.IllegalStateException: 
attribute type accessed in illegal event!

The Axis Fault Reason is:null

The Axis Fault Node URI:null

org.apache.axis2.AxisFault: java.lang.IllegalStateException: attribute type 
accessed in illegal event!

  at 
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)

  at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)

  at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)

  at 
xlink.MonitoringServicesServerStub.CSTAMonitorStart(MonitoringServicesServerStub.java:385)

  at xlink.MonitoringStartClient.main(MonitoringStartClient.java:84)

 Can somebody help in this regard.

Chavali

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4130396#4130396

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4130396
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Dedicated connection without connection pooling

2008-02-17 Thread chavali
Hi

   I am unable to diable the connection pool setting and not able to 
communicate to legacy system on closure of connection. How do I dedicate a 
connection per user through the session and have control on closure of the 
connection. 
I am connecting to legacy c++ server port. When I close the connection the 
legacy system should know that the socket Id is closed and depending on this 
the legacy system will lot other jobs.

Pleae suggest if this possible through JCA or there is any alternative for this.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4130004#4130004

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4130004
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Dedicated connection without connection pooling

2008-02-17 Thread chavali
Hi,

The exception we are getting is during the managed connection close to the 
backend EIS(legacy c++) system. Can you please help us in making the managed 
connection close to the backend system. Please help us in avoiding the problem.
We are using JBoss4.2.0-GA. Please help us. 


We are getting the following exception after getting the response from the 
backend C++ server. We are not calling the connection.close() explicitly , but 
JBoss is trying to call the close connection and throwing the below exception.
BELOW IS THE COMPLETE STACKTRACE DURING OUR JCA use.

11:40:24,890 INFO  [CachedConnectionManager] Closing a connection for you.  
Please close them yourself: [EMAIL PROTECTED]
java.lang.Throwable: STACKTRACE
at 
org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:417)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
at 
com.ericsson.jca.connector.impl.CSTAConnectionFactoryImpl.getConnection(CSTAConnectionFactoryImpl.java:55)
at xlink.ConnectionCreation.getConnection(ConnectionCreation.java:39)
at 
xlink.MonitoringServicesServerMessageReceiverInOut.invokeBusinessLogic(MonitoringServicesServerMessageReceiverInOut.java:90)
at 
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:144)
at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:279)
at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:116)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
11:40:24,890 INFO  [STDOUT] in CSTAConnectionImpl.close-This is Synchronized 
method
11:40:24,890 INFO  [STDOUT] in CSTAManagedConnection.close-This is synchronized 
method
11:40:24,890 INFO  [NoTxConnectionManager] Unregistered handle that was not 
registered! null for managedConnection: [EMAIL PROTECTED]
11:40:24,890 INFO  [STDOUT] The application server has placed the connection 
back to the connection pool



Regards,
Chavali



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4130010#4130010

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4130010
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user