Connection Reset error

2007-08-02 Thread Sunny44

I have created the client and Stub for the Web service. 

It runs on one of our developers system but when try to run the same code it
throws following exception 

com.deloitte.platform.intg.pim.SessionMgmtException:
org.apache.axis2.AxisFault: Connection reset
at
com.deloitte.platform.intg.pim.ProfileMgmtUpdateWSProxyEndpoint.getPersonProfile(ProfileMgmtUpdateWSProxyEndpoint.java:90)
at
com.deloitte.platform.intg.pim.ProfileUpdateWSProxyEndpointTest.testUpdateUser(ProfileUpdateWSProxyEndpointTest.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: org.apache.axis2.AxisFault: Connection reset
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:221)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:330)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
at
com.deloitte.platform.intg.pim.ws.profile.PIMPeopleManagementServicesSoapStud.UpdatePerson(PIMPeopleManagementServicesSoapStud.java:1182)
at
com.deloitte.platform.intg.pim.ProfileMgmtUpdateWSProxyEndpoint.callWebService(ProfileMgmtUpdateWSProxyEndpoint.java:148)
at
com.deloitte.platform.intg.pim.ProfileMgmtUpdateWSProxyEndpoint.getPersonProfile(ProfileMgmtUpdateWSProxyEndpoint.java:87)
... 19 more
Caused by: org.apache.axis2.AxisFault: Connection reset
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:314)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:201)
... 25 more
Caused by: org.apache.axis2.AxisFault: Connection reset
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:179)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:73)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:305)
... 26 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at 
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
at 
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:558)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:176)
... 28 more



Please advice ---


Sunny
-- 
View this message in context: 
http://www.nabble.com/Connection-Reset-error-tf4207615.html#a11969284
Sent 

Connection Reset erroe

2007-08-02 Thread Sunny44

We have created the client for the web service that other team has created
for it's utilization.

But the client works on one of our developer's system but when i run the
same code from different system it throws following exception

com.platform.intg.pim.SessionMgmtException: org.apache.axis2.AxisFault:
Connection reset
at
com.deloitte.platform.intg.pim.ProfileMgmtUpdateWSProxyEndpoint.getPersonProfile(ProfileMgmtUpdateWSProxyEndpoint.java:90)
at
com.deloitte.platform.intg.pim.ProfileUpdateWSProxyEndpointTest.testUpdateUser(ProfileUpdateWSProxyEndpointTest.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: org.apache.axis2.AxisFault: Connection reset
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:221)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:330)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
at
com.deloitte.platform.intg.pim.ws.profile.PIMPeopleManagementServicesSoapStud.UpdatePerson(PIMPeopleManagementServicesSoapStud.java:1182)
at
com.deloitte.platform.intg.pim.ProfileMgmtUpdateWSProxyEndpoint.callWebService(ProfileMgmtUpdateWSProxyEndpoint.java:148)
at
com.deloitte.platform.intg.pim.ProfileMgmtUpdateWSProxyEndpoint.getPersonProfile(ProfileMgmtUpdateWSProxyEndpoint.java:87)
... 19 more
Caused by: org.apache.axis2.AxisFault: Connection reset
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:314)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:201)
... 25 more
Caused by: org.apache.axis2.AxisFault: Connection reset
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:179)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:73)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:305)
... 26 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at 
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
at 
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:558)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:176)
... 28 more


Thanks

Sunnny
-- 
View this message in context: 

Connection Reset error

2007-08-02 Thread Sunny44

We have created the client for the web service that other team has created
for it's utilization.

But the client works on one of our developer's system but when i run the
same code from different system it throws following exception

com.platform.intg.pim.SessionMgmtException: org.apache.axis2.AxisFault:
Connection reset
at
com.deloitte.platform.intg.pim.ProfileMgmtUpdateWSProxyEndpoint.getPersonProfile(ProfileMgmtUpdateWSProxyEndpoint.java:90)
at
com.deloitte.platform.intg.pim.ProfileUpdateWSProxyEndpointTest.testUpdateUser(ProfileUpdateWSProxyEndpointTest.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: org.apache.axis2.AxisFault: Connection reset
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:221)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:330)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
at
com.deloitte.platform.intg.pim.ws.profile.PIMPeopleManagementServicesSoapStud.UpdatePerson(PIMPeopleManagementServicesSoapStud.java:1182)
at
com.deloitte.platform.intg.pim.ProfileMgmtUpdateWSProxyEndpoint.callWebService(ProfileMgmtUpdateWSProxyEndpoint.java:148)
at
com.deloitte.platform.intg.pim.ProfileMgmtUpdateWSProxyEndpoint.getPersonProfile(ProfileMgmtUpdateWSProxyEndpoint.java:87)
... 19 more
Caused by: org.apache.axis2.AxisFault: Connection reset
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:314)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:201)
... 25 more
Caused by: org.apache.axis2.AxisFault: Connection reset
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:179)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:73)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:305)
... 26 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at 
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
at 
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:558)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:176)
... 28 more


Thanks

Sunnny
-- 
View this message in context: 

NullPointer Exception on HTTPClient issue

2007-07-23 Thread Sunny44

I have Async Web service that does not have any response.

1 I created the ADB Data binding classes
2 I have created the Client using Async procedure (Eclipse Plugin did that
for me).
3 Regenerated AD classes to have defaultForm***=qualified on wSDL and XSD

When i call Service it throws NullPointerException on Execute method of
HTTPClient.

PLEASE Help me on this; I thought this should be simple but i couldn't find
solution for this.

Is anyone has done Aync Web client creation and used it
-- 
View this message in context: 
http://www.nabble.com/NullPointer-Exception-on-HTTPClient-issue-tf4133013.html#a11754567
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Marshalling and UN-Marshalling Question

2007-07-05 Thread Sunny44

I am trying to Marshall the Object to Simple String XML. Currently i am using
ADB as a databinder but i  am not sure HOW TO GET XML as string from
XMLStreamReader 

i.e. 

XMLStreamReader reader =
ObjectNAME.getPullParser(property_Value.MY_QNAME);

OMElement omElt =  new 
StAXOMBuilder(reader).getDocumentElement();

/// This throws Null pointer exception --- 
String xml2 = omElt.toString();

SO HOW do i get the XML of as String from XMLStreamReader?


Please add code snippet.

thanks

-- 
View this message in context: 
http://www.nabble.com/Marshalling-and-UN-Marshalling-Question-tf4031326.html#a11451561
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



NullpointerException on Marshalling OMElement to String

2007-07-05 Thread Sunny44

I am getting Nullpointer exception when we try to call toString method on
OMElement which is genrated after getPullParser

XMLStreamReader reader = ContentItemsHelper.getPullParser(ci, 
null);
OMElement omElt =  new 
StAXOMBuilder(reader).getDocumentElement();
System.out.println(omElt);  // Throws null pointer
String xml2 = omElt.toString(); //Throws null pointer

Stack trace

java.lang.NullPointerException
at
com.sun.xml.stream.writers.XMLStreamWriterImpl.writeXMLContent(XMLStreamWriterImpl.java:1439)
at
com.sun.xml.stream.writers.XMLStreamWriterImpl.writeAttribute(XMLStreamWriterImpl.java:552)
at
org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLStreamWriter.java:134)
at
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMSerializerUtil.java:385)
at
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMSerializerUtil.java:168)
at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:762)
at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:750)
at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:766)
at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:750)
at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:766)
at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:750)
at 
org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:342)


Please advice how to resolve this problem

thanks

Suny

-- 
View this message in context: 
http://www.nabble.com/NullpointerException-on-Marshalling-OMElement-to-String-tf4032052.html#a11453864
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Unable to get the top element of an XML

2007-06-29 Thread Sunny44

Amila,

I am using Plain Java Object that doe not include any Factory. even Helper
class does not include and Factory definition that is the reason i am unable
to utilize the Factory.parse(). 

Please advice me how to get Factory on Plan Java objects

Thanks

Sunny




Amila Suriarachchi wrote:
 
 if you give me your schema I can help you more.
 
 instead of using the Helper use TopElement.Factory.parse() method to
 create the object and
 use TopElement.getOMElement() method to get the OM Element.
 
 please see some ADB test classes.
 
 Amila.
 
 
 On 6/28/07, Sunny44 [EMAIL PROTECTED] wrote:


 I have created the ADB object using ADB code generator. (PLAIN JAVA).

 My unit test works in following manner

 It UnMarshall the Input XML to OBJECTS and from OBJECT to XML

 But the Problem is in the result XML is

 1 It does not include the top element.
 2 It contains xsi:nil in reoccurring element headers.

 Sample code

 UN-Marshall
 reader = XMLInputFactory.newInstance().createXMLStreamReader(
 new ByteArrayInputStream(this.inputXML.getBytes()));
 Object returnObj = Helper.parse(reader); - WORKS

 MARSHALLER

 XMLStreamReader reader = Helper.getPullParser(ci,
 ContentItemsHelper.MY_QNAME);
 OMElement omElt =  new
 StAXOMBuilder(reader).getDocumentElement();
 String xml = omElt.toString();

 

 xml string does not contain the header element

 Sample XML
 items xmlns:p=bla bla xmlns:xsi=bla bla   - MISSING
 item
  id1234/id
 item
 /items   ---   MISSING

 Please advice how do i get the Top ELEMENT

 Thanks

 Sunny



 --
 View this message in context:
 http://www.nabble.com/Unable-to-get-the-top-element-of-an-XML-tf3995959.html#a11348317
 Sent from the Axis - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 
 -- 
 Amila Suriarachchi,
 WSO2 Inc.
 
 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-get-the-top-element-of-an-XML-tf3995959.html#a11365412
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Unable to get the top element of an XML

2007-06-28 Thread Sunny44

I have created the ADB object using ADB code generator. (PLAIN JAVA).

My unit test works in following manner 

It UnMarshall the Input XML to OBJECTS and from OBJECT to XML

But the Problem is in the result XML is 

1 It does not include the top element.
2 It contains xsi:nil in reoccurring element headers. 

Sample code 

UN-Marshall
reader = XMLInputFactory.newInstance().createXMLStreamReader(
new ByteArrayInputStream(this.inputXML.getBytes()));
Object returnObj = Helper.parse(reader); - WORKS 

MARSHALLER

XMLStreamReader reader = Helper.getPullParser(ci,
ContentItemsHelper.MY_QNAME);
OMElement omElt =  new 
StAXOMBuilder(reader).getDocumentElement();
String xml = omElt.toString();



xml string does not contain the header element

Sample XML
items xmlns:p=bla bla xmlns:xsi=bla bla   - MISSING
 item
 id1234/id
 item
/items   ---   MISSING 

Please advice how do i get the Top ELEMENT

Thanks

Sunny



-- 
View this message in context: 
http://www.nabble.com/Unable-to-get-the-top-element-of-an-XML-tf3995959.html#a11348317
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Weblogic-application.xml creation

2007-06-27 Thread Sunny44

Al,

here is the solution 


1 DO NOT define anything under classpath.
2 in web.xml modify the AxisServlet Mapping with 2 additional lines 
param-nameaxis2.repository.path/param-name
!-- For Local Environment --
param-valueSERVER_LOCATION WHERE AXIS2 WAR DEployed
\WEB-INF/param-value
3 Under WEB-INF You should have Service and module folder
4 Modify the Service.list to include your AAR file (Should be on differen
lines)
5 Include all JAR files under lib directory.
6 Deploy exploded AXIS2.war file.

It is working for me now.

Good luck...









Alejandro Calbazana-2 wrote:
 
 Hmmm, I understood the documentation to suggest a way to address the 
 lack of namespacing on serialized items issue presented in WL9.0.  
 It's not clear how/if this relates to the LinkageError exceptions we are 
 getting back.
 
 
 Sunny44 wrote:
 Al,

 I do agree with you.. 
 But now i am getting confuse with Step 2 idetified in this article and i
 believe that is what we want to is Filtering Classloader
 http://ws.apache.org/axis2/1_2/app_server.html

 How someone achieved it that is what i want to learn as well.

 Sunny




 Alejandro Calbazana-2 wrote:
   
 Hey, I've been experiencing LinkageError exceptions under WL9.1 and 
 WL9.2.  Can anyone shed light on this? 

 This is apparently a class loader issue, but I have all the 
 prefer-web-inf-classes related settings in place.  Wouldn't 
 weblogic-application.xml apply only to EAR deployments?!

 I get the following:

 Caused by: java.lang.LinkageError: Class org/xml/sax/EntityResolver 
 violates loader constraints
at org.dom4j.io.SAXReader.read(SAXReader.java:447)
at 
 org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1366)
at 
 org.hibernate.cfg.Configuration.configure(Configuration.java:1310)
 ...

 Any help is appreciated!

 Al



 Sunny44 wrote:
 
 If anyone of you have added the weblogic-application.xml to the
 axis2.war
 file then please throws the instruction for the creation along with the
 sample.

 I am deploying an Axis2.war on 8.1 sp4 server i am able to see my
 service
 on
 the UI able to browse the WSDL also but when i make the call to web
 service
 i get an error

 java.lang.LinkageError: loader constraints violated when linking
 javax/xml/stream/XMLStreamReader class

 Which i believe is STAX conflict which can be resolved by
 weblogi-application.xml.

 If my undertanding is not correct and the solution is different then
 advice
 me otherwise please let me know where and HOW should i get the
 weblogic-application.xml in WAR file.

 thanks 

 Sunny
   
   
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 

   
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Weblogic-application.xml-creation-tf3984256.html#a11333141
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Weblogic-application.xml creation

2007-06-26 Thread Sunny44

If anyone of you have added the weblogic-application.xml to the axis2.war
file then please throws the instruction for the creation along with the
sample.

I am deploying an Axis2.war on 8.1 sp4 server i am able to see my service on
the UI able to browse the WSDL also but when i make the call to web service
i get an error

java.lang.LinkageError: loader constraints violated when linking
javax/xml/stream/XMLStreamReader class

Which i believe is STAX conflict which can be resolved by
weblogi-application.xml.

If my undertanding is not correct and the solution is different then advice
me otherwise please let me know where and HOW should i get the
weblogic-application.xml in WAR file.

thanks 

Sunny
-- 
View this message in context: 
http://www.nabble.com/Weblogic-application.xml-creation-tf3984256.html#a11311953
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Weblogic-application.xml creation

2007-06-26 Thread Sunny44

Al,

I do agree with you.. 
But now i am getting confuse with Step 2 idetified in this article and i
believe that is what we want to is Filtering Classloader
http://ws.apache.org/axis2/1_2/app_server.html

How someone achieved it that is what i want to learn as well.

Sunny




Alejandro Calbazana-2 wrote:
 
 Hey, I've been experiencing LinkageError exceptions under WL9.1 and 
 WL9.2.  Can anyone shed light on this? 
 
 This is apparently a class loader issue, but I have all the 
 prefer-web-inf-classes related settings in place.  Wouldn't 
 weblogic-application.xml apply only to EAR deployments?!
 
 I get the following:
 
 Caused by: java.lang.LinkageError: Class org/xml/sax/EntityResolver 
 violates loader constraints
at org.dom4j.io.SAXReader.read(SAXReader.java:447)
at 
 org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1366)
at 
 org.hibernate.cfg.Configuration.configure(Configuration.java:1310)
 ...
 
 Any help is appreciated!
 
 Al
 
 
 
 Sunny44 wrote:
 If anyone of you have added the weblogic-application.xml to the axis2.war
 file then please throws the instruction for the creation along with the
 sample.

 I am deploying an Axis2.war on 8.1 sp4 server i am able to see my service
 on
 the UI able to browse the WSDL also but when i make the call to web
 service
 i get an error

 java.lang.LinkageError: loader constraints violated when linking
 javax/xml/stream/XMLStreamReader class

 Which i believe is STAX conflict which can be resolved by
 weblogi-application.xml.

 If my undertanding is not correct and the solution is different then
 advice
 me otherwise please let me know where and HOW should i get the
 weblogic-application.xml in WAR file.

 thanks 

 Sunny
   
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Weblogic-application.xml-creation-tf3984256.html#a11313705
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]