[jira] Commented: (AXIS2-1746) POJO client call failed with Unexpected subelement

2006-11-18 Thread Kinichiro Inoguchi (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1746?page=comments#action_12450999 ] 

Kinichiro Inoguchi commented on AXIS2-1746:
---

Response message of this service is like below.
You can see this by 
http://localhost:8080/axis2/rest/TestPojoService/getBean?inParam=1

(1) belongs to parent's namespace (http://service.myService/xsd;)
(2) should belongs to http://data1.myService/xsd; ?
(3) should belongs to http://data2.myService/xsd; ?

Namespace convention between (1) and (2),(3) seems different.

ns:getBeanResponse xmlns:ns=http://service.myService/xsd;
  ns:return  *=== (1)this element (DataBean1) belongs to parent's namespace
ret01 xmlns=http://data1.myService/xsd;hello/ret01 
ret01array1 xmlns=http://data1.myService/xsd;hello/ret01array1 
ret01array2 xmlns=http://data1.myService/xsd;hello/ret01array2 
...
ret09 xmlns=http://data1.myService/xsd;2006-11-18T09:35:18.687Z/ret09 
ret09array1 
xmlns=http://data1.myService/xsd;2006-11-18T09:35:18.687Z/ret09array1 
ret09array2 
xmlns=http://data1.myService/xsd;2006-11-18T09:35:18.687Z/ret09array2 
ax24:ret20 xmlns:ax24=http://data2.myService/xsd;  *=== (2)this element 
(DataBean2) 
  ret01 xmlns=http://data2.myService/xsd;hello/ret01 
  ret01array1 xmlns=http://data2.myService/xsd;hello/ret01array1 
  ret01array2 xmlns=http://data2.myService/xsd;hello/ret01array2 
  ...
  ret09 
xmlns=http://data2.myService/xsd;2006-11-18T09:35:18.687Z/ret09 
  ret09array1 
xmlns=http://data2.myService/xsd;2006-11-18T09:35:18.687Z/ret09array1 
  ret09array2 
xmlns=http://data2.myService/xsd;2006-11-18T09:35:18.687Z/ret09array2 
  ax25:ret20 xmlns:ax25=http://data3.myService/xsd;  *=== (3)this 
element (DataBean3) 
ret01 xmlns=http://data3.myService/xsd;hello/ret01 
ret01array1 xmlns=http://data3.myService/xsd;hello/ret01array1 
ret01array2 xmlns=http://data3.myService/xsd;hello/ret01array2 
...
ret09 
xmlns=http://data3.myService/xsd;2006-11-18T09:35:18.687Z/ret09 
ret09array1 
xmlns=http://data3.myService/xsd;2006-11-18T09:35:18.687Z/ret09array1 
ret09array2 
xmlns=http://data3.myService/xsd;2006-11-18T09:35:18.687Z/ret09array2 
  /ax25:ret20
...

 POJO client call failed with Unexpected subelement
 

 Key: AXIS2-1746
 URL: http://issues.apache.org/jira/browse/AXIS2-1746
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: rpc
 Environment: Axis2 1.1 release
Reporter: Kinichiro Inoguchi
 Attachments: client_src.zip, service_src.zip, TestPojoService.aar


 I created stub by WSDL2JAVA tool, and call that service.
 Client program failed with Unexpected subelement.
 I think mismatch of javabeans' namespace is an issue.
 Top level element of javabeans should belongs to parent's namespace, should 
 not ?
 I generated stub like this
 C:\work%AXIS2_HOME%\bin\wsdl2java -uri 
 http://localhost:8080/axis2/services/TestPojoService?wsdl -o test
 Using AXIS2_HOME:   C:\work\axis2-1.1
 Using JAVA_HOME:C:\j2sdk1.4.2_04
 C:\work
 stack trace
 java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement 
 ret20
   at 
 myservice.service.TestPojoServiceStub.fromOM(TestPojoServiceStub.java:14552)
   at 
 myservice.service.TestPojoServiceStub.getBean(TestPojoServiceStub.java:152)
   at TestClient.main(TestClient.java:15)
 Caused by: java.lang.RuntimeException: Unexpected subelement ret20
   at 
 myservice.service.TestPojoServiceStub$DataBean1$Factory.parse(TestPojoServiceStub.java:9455)
   at 
 myservice.service.TestPojoServiceStub$GetBeanResponse$Factory.parse(TestPojoServiceStub.java:4570)
   at 
 myservice.service.TestPojoServiceStub.fromOM(TestPojoServiceStub.java:14546)
   ... 2 more
 Exception in thread main 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] Commented: (AXIS2-1745) POJO service with NULL array causes NPE

2006-11-18 Thread Kinichiro Inoguchi (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1745?page=comments#action_12451004 ] 

Kinichiro Inoguchi commented on AXIS2-1745:
---

AXIS2-1719 array-type bean property: null value causes to NLP
might be the same issue.

 POJO service with NULL array causes NPE
 ---

 Key: AXIS2-1745
 URL: http://issues.apache.org/jira/browse/AXIS2-1745
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: rpc
 Environment: Axis2 1.1 release
Reporter: Kinichiro Inoguchi
 Attachments: service_src.zip, TestPojoService.aar


 I created POJO test service.
 Response javabeans contains simple type and its arrays.
 Also nested javabeans and its arrays are included
 If all elements are filled, this works fine.
 You can see this by REST call.
 http://localhost:8080/axis2/rest/TestPojoService/getBean?inParam=1
 But, elements not set and NULL, this causes NPE.
 You can see this by REST call.
 http://localhost:8080/axis2/rest/TestPojoService/getBean?inParam=0
 stack trace
 2006/11/18 14:59:38 org.apache.axis2.rpc.receivers.RPCMessageReceiver 
 invokeBusinessLogic
 : Exception occurred while trying to invoke service method getBean
 java.lang.NullPointerException
   at java.lang.reflect.Array.getLength(Native Method)
   at 
 org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:120)
   at 
 org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
   at 
 org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
   at 
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:136)
   at 
 org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
   at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
   at 
 org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:153)
   at 
 org.apache.axis2.transport.http.util.RESTUtil.processGetRequest(RESTUtil.java:143)
   at 
 org.apache.axis2.transport.http.AxisRESTServlet.doGet(AxisRESTServlet.java:45)
 ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] Commented: (AXIS2-1734) Build fails

2006-11-18 Thread Vijay Phadke (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1734?page=comments#action_12451005 ] 

Vijay Phadke commented on AXIS2-1734:
-

Yes it was due to old jar and with the attached snapshot jar the build 
completed successfully.
Hope the jar is available from the apache repo soon.

Thank you all for the help.
- Vijay

 Build fails
 ---

 Key: AXIS2-1734
 URL: http://issues.apache.org/jira/browse/AXIS2-1734
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: samples, build,site
Affects Versions: 1.1
 Environment: Windows XP, cygwin, JDK1.5
Reporter: Vijay Phadke
 Attachments: wss4j-SNAPSHOT.jar


 The build fails with following error -
 multiproject:install-callback:
 [echo] Running jar:install for Apache Axis 2.0 - Rahas
 java:prepare-filesystem:
 [mkdir] Created dir: 
 C:\dev\open-source\axis2\java\v1.1\modules\rahas\target
 \classes
 Running post goal: java:prepare-filesystem
 java:compile:
 [echo] Compiling to 
 c:\dev\open-source\axis2\java\v1.1\modules\rahas/target/
 classes
 [javac] Compiling 23 source files to 
 C:\dev\open-source\axis2\java\v1.1\modu
 les\rahas\target\classes
 [javac] 
 C:\dev\open-source\axis2\java\v1.1\modules\rahas\src\org\apache\raha
 s\impl\SAMLTokenIssuer.java:113: cannot find symbol
 [javac] symbol  : method 
 getInstance(java.util.Properties,java.lang.ClassLoa
 der)
 [javac] location: class 
 org.apache.ws.security.components.crypto.CryptoFacto
 ry
 [javac] crypto = 
 CryptoFactory.getInstance(TrustUtil.toPropertie
 s(config.cryptoPropertiesElement),
 [javac]   ^
 [javac] 
 C:\dev\open-source\axis2\java\v1.1\modules\rahas\src\org\apache\raha
 s\impl\SCTIssuer.java:235: cannot find symbol
 [javac] symbol  : variable KEY_CONTEXT_MAP
 [javac] location: class 
 org.apache.ws.security.conversation.ConversationCons
 tants
 [javac] ConversationConstants.KEY_CONTEXT_MAP);
 [javac]  ^
 [javac] 
 C:\dev\open-source\axis2\java\v1.1\modules\rahas\src\org\apache\raha
 s\impl\SCTIssuer.java:242: cannot find symbol
 [javac] symbol  : variable KEY_CONTEXT_MAP
 [javac] location: class 
 org.apache.ws.security.conversation.ConversationCons
 tants
 [javac] ConversationConstants.KEY_CONTEXT_MAP, map);
 [javac]  ^
 [javac] 
 C:\dev\open-source\axis2\java\v1.1\modules\rahas\src\org\apache\raha
 s\impl\TokenIssuerUtil.java:111: cannot find symbol
 [javac] symbol  : method 
 getInstance(java.util.Properties,java.lang.ClassLoa
 der)
 [javac] location: class 
 org.apache.ws.security.components.crypto.CryptoFacto
 ry
 [javac] crypto = 
 CryptoFactory.getInstance(TrustUtil.toP
 roperties(config.cryptoPropertiesElement),
 [javac]   ^
 [javac] 4 errors
 BUILD FAILED
 File.. 
 c:\dev\maven-1.1-beta-2\cache\maven-multiproject-plugin-1.4.1\plugin.
 jelly
 Element... maven:reactor
 Line.. 218
 Column 9
 Unable to obtain goal [multiproject:install-callback] -- 
 c:\dev\maven-1.1-beta-2
 \cache\maven-java-plugin-1.5\plugin.jelly:63:48: ant:javac Compile failed; 
 see
  the compiler error output for details.
 Total time   : 1 minutes 14 seconds

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



Bad Import? (Re: svn commit: r475935 - in /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws: ExceptionFactory.java core/controller/AxisInvocationController.java)

2006-11-18 Thread Davanum Srinivas

Rich,

Can u please be careful?

import com.ibm.jvm.util.ByteArrayOutputStream;

thanks,
dims

On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Author: scheu
Date: Thu Nov 16 13:44:39 2006
New Revision: 475935

URL: http://svn.apache.org/viewvc?view=revrev=475935
Log:
AXIS2-1712
Contributor: Mike Rheinheimer
Added support for handling local Throwable (vs. Exception).  Added smart 
processing to exception factory to generate a better message.

Modified:

webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/ExceptionFactory.java

webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/core/controller/AxisInvocationController.java

Modified: 
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/ExceptionFactory.java
URL: 
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/ExceptionFactory.java?view=diffrev=475935r1=475934r2=475935
==
--- 
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/ExceptionFactory.java
 (original)
+++ 
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/ExceptionFactory.java
 Thu Nov 16 13:44:39 2006
@@ -17,12 +17,11 @@

 package org.apache.axis2.jaxws;

+import java.io.PrintStream;
 import java.lang.reflect.InvocationTargetException;

 import javax.xml.ws.ProtocolException;
 import javax.xml.ws.WebServiceException;
-import javax.xml.ws.http.HTTPException;
-import javax.xml.ws.soap.SOAPFaultException;

 import org.apache.axis2.AxisFault;
 import org.apache.axis2.jaxws.i18n.Messages;
@@ -31,6 +30,8 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;

+import com.ibm.jvm.util.ByteArrayOutputStream;
+
 /**
   * ExceptionFactory is used to create exceptions within the JAX-WS 
implementation.
   * There are several reasons for using a factory to create exceptions.
@@ -216,6 +217,15 @@
}
rootCause = rootCause==null ? t :rootCause;
WebServiceException e = null;
+
+String enhancedMessage = enhanceMessage(rootCause);
+if (enhancedMessage != null) {
+if (message != null)
+message.concat(:  + enhancedMessage);
+else
+message = enhancedMessage;
+}
+
 if (message != null) {
e =new WebServiceException(message, rootCause);
 } else {
@@ -368,6 +378,30 @@
}
}
return t;
+}
+
+/**
+ * Other developers may add additional criteria to give better
+ * error messages back to the user.
+ *
+ * @param t Throwable
+ * @return String a message that helps the user understand what caused the 
exception
+ */
+private static String enhanceMessage(Throwable t) {
+if (t == null)
+return null;
+
+ByteArrayOutputStream baos = new ByteArrayOutputStream();
+PrintStream ps = new PrintStream(baos, true);
+t.printStackTrace(ps);
+String stackTrace = baos.toString();
+
+// TODO better criteria
+if ((t instanceof StackOverflowError)  (stackTrace.contains(JAXB)))
+// TODO better message
+return The system threw a StackOverflowError at the JAXB level.  This 
usually means there is a circular type reference in the WSDL.;
+
+return null;
 }

 }

Modified: 
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/core/controller/AxisInvocationController.java
URL: 
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/core/controller/AxisInvocationController.java?view=diffrev=475935r1=475934r2=475935
==
--- 
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/core/controller/AxisInvocationController.java
 (original)
+++ 
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/core/controller/AxisInvocationController.java
 Thu Nov 16 13:44:39 2006
@@ -601,10 +601,11 @@

 // Invoke the OperationClient
 opClient.execute(block);
-} catch (Exception e) {
-// Catch all exceptions (including runtime exceptions) and
+} catch (Throwable e) {
+// Catch all Throwable (including runtime exceptions and Errors) 
and
 // throw as AxisFault.
-throw AxisFault.makeFault(e);
+// Since e could be a Throwable (or Error) instead of an 
Exception, we'll have to wrap it:
+throw 
AxisFault.makeFault(ExceptionFactory.makeWebServiceException(e));
 } finally {
 // Post-Execute logging and setup
 postExecute(opClient, block, msgContext);



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

[jira] Resolved: (AXIS2-1735) Policy Caching in the PolicyInclude in AxisDescription is incorrect

2006-11-18 Thread Sanka Samaranayake (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1735?page=all ]

Sanka Samaranayake resolved AXIS2-1735.
---

Resolution: Fixed

Applied the uploaded patch.


 Policy Caching in the PolicyInclude in AxisDescription is incorrect
 ---

 Key: AXIS2-1735
 URL: http://issues.apache.org/jira/browse/AXIS2-1735
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: kernel
 Environment: Linux version 2.6.17-gentoo ([EMAIL PROTECTED]) (gcc 
 version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, 
 pie-8.7.7.1)) #1 SMP PREEMPT Thu Jul 6 05:04:46 UTC 2006
 java version 1.5.0_08
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
 Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)
Reporter: Sanka Samaranayake
 Assigned To: Sanka Samaranayake
 Attachments: PolicyInclude.java.patch


 PolicyInlcude.getPolicy() and PolicyInclude.getEffectivePolicy() use the 
 returns the computed Policy unless 
 1) If a Policy is removed or updated in the current AxisDescription.
 2) If the Policy or the effective Policy of the parent is changed.
 However the implementation doesn't seem to work properly and the caching is 
 removed in the submiited patch. We need to think carefully about how to 
 implement this and removal of erronous code seems to be the right thing for 
 the time being since Axis2 is still not heavily dependent of WS Policy

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] Assigned: (AXIS2-1746) POJO client call failed with Unexpected subelement

2006-11-18 Thread Deepal Jayasinghe (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1746?page=all ]

Deepal Jayasinghe reassigned AXIS2-1746:


Assignee: Deepal Jayasinghe

 POJO client call failed with Unexpected subelement
 

 Key: AXIS2-1746
 URL: http://issues.apache.org/jira/browse/AXIS2-1746
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: rpc
 Environment: Axis2 1.1 release
Reporter: Kinichiro Inoguchi
 Assigned To: Deepal Jayasinghe
 Attachments: client_src.zip, service_src.zip, TestPojoService.aar


 I created stub by WSDL2JAVA tool, and call that service.
 Client program failed with Unexpected subelement.
 I think mismatch of javabeans' namespace is an issue.
 Top level element of javabeans should belongs to parent's namespace, should 
 not ?
 I generated stub like this
 C:\work%AXIS2_HOME%\bin\wsdl2java -uri 
 http://localhost:8080/axis2/services/TestPojoService?wsdl -o test
 Using AXIS2_HOME:   C:\work\axis2-1.1
 Using JAVA_HOME:C:\j2sdk1.4.2_04
 C:\work
 stack trace
 java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement 
 ret20
   at 
 myservice.service.TestPojoServiceStub.fromOM(TestPojoServiceStub.java:14552)
   at 
 myservice.service.TestPojoServiceStub.getBean(TestPojoServiceStub.java:152)
   at TestClient.main(TestClient.java:15)
 Caused by: java.lang.RuntimeException: Unexpected subelement ret20
   at 
 myservice.service.TestPojoServiceStub$DataBean1$Factory.parse(TestPojoServiceStub.java:9455)
   at 
 myservice.service.TestPojoServiceStub$GetBeanResponse$Factory.parse(TestPojoServiceStub.java:4570)
   at 
 myservice.service.TestPojoServiceStub.fromOM(TestPojoServiceStub.java:14546)
   ... 2 more
 Exception in thread main 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] Assigned: (AXIS2-1745) POJO service with NULL array causes NPE

2006-11-18 Thread Deepal Jayasinghe (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1745?page=all ]

Deepal Jayasinghe reassigned AXIS2-1745:


Assignee: Deepal Jayasinghe

 POJO service with NULL array causes NPE
 ---

 Key: AXIS2-1745
 URL: http://issues.apache.org/jira/browse/AXIS2-1745
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: rpc
 Environment: Axis2 1.1 release
Reporter: Kinichiro Inoguchi
 Assigned To: Deepal Jayasinghe
 Attachments: service_src.zip, TestPojoService.aar


 I created POJO test service.
 Response javabeans contains simple type and its arrays.
 Also nested javabeans and its arrays are included
 If all elements are filled, this works fine.
 You can see this by REST call.
 http://localhost:8080/axis2/rest/TestPojoService/getBean?inParam=1
 But, elements not set and NULL, this causes NPE.
 You can see this by REST call.
 http://localhost:8080/axis2/rest/TestPojoService/getBean?inParam=0
 stack trace
 2006/11/18 14:59:38 org.apache.axis2.rpc.receivers.RPCMessageReceiver 
 invokeBusinessLogic
 : Exception occurred while trying to invoke service method getBean
 java.lang.NullPointerException
   at java.lang.reflect.Array.getLength(Native Method)
   at 
 org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:120)
   at 
 org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
   at 
 org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
   at 
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:136)
   at 
 org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
   at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
   at 
 org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:153)
   at 
 org.apache.axis2.transport.http.util.RESTUtil.processGetRequest(RESTUtil.java:143)
   at 
 org.apache.axis2.transport.http.AxisRESTServlet.doGet(AxisRESTServlet.java:45)
 ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] Assigned: (AXIS2-1742) Null Pointer Exception when calling any method of the code generated with WSD2Java on terraservice.xml file

2006-11-18 Thread Deepal Jayasinghe (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1742?page=all ]

Deepal Jayasinghe reassigned AXIS2-1742:


Assignee: Deepal Jayasinghe

 Null Pointer Exception when calling any method of the code generated with 
 WSD2Java on terraservice.xml file
 ---

 Key: AXIS2-1742
 URL: http://issues.apache.org/jira/browse/AXIS2-1742
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
Affects Versions: 1.2
 Environment: Windows XP, JRE 1.5
Reporter: Frank Aljbour
 Assigned To: Deepal Jayasinghe
 Attachments: TerraService.xml


 Has anyone got the generated code for the terraservice to work with any of 
 the Axis implementations (1.4 or 2.0), Axis2 throws exceptions inside the 
 generated code and Axis 1.4 hangs on the call.invoke method.   The Exception 
 that I am getting with Axis 2.0 is the following,
 java.lang.NullPointerException
 at 
 org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils
 .java:85)
 at 
 org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAx
 isOperation.java:253)
 at 
 com.terraservice_usa.TerraServiceStub.GetPlaceFacts(TerraServiceStub.
 java:825)
 at DrawPanel.drawMap(DrawPanel.java:143)
 at DrawPanel.actionPerformed(DrawPanel.java:122)
 at 
 javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
 49)
 at 
 javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
 a:2169)
 at 
 javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
 .java:420)
 at 
 javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
 )
 at 
 javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
 istener.java:234)
 at java.awt.Component.processMouseEvent(Component.java:5488)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
 at java.awt.Component.processEvent(Component.java:5253)
 at java.awt.Container.processEvent(Container.java:1966)
 at java.awt.Component.dispatchEventImpl(Component.java:3955)
 at java.awt.Container.dispatchEventImpl(Container.java:2024)
 at java.awt.Component.dispatchEvent(Component.java:3803)
 at 
 java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
 )
 at 
 java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
 at java.awt.Container.dispatchEventImpl(Container.java:2010)
 at java.awt.Window.dispatchEventImpl(Window.java:1774)
 at java.awt.Component.dispatchEvent(Component.java:3803)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
 at 
 java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
 read.java:242)
 at 
 java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
 ad.java:163)
 at 
 java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
 at 
 java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] Assigned: (AXIS2-1720) Java2WSDL malfunction (unexpected mep)

2006-11-18 Thread Deepal Jayasinghe (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1720?page=all ]

Deepal Jayasinghe reassigned AXIS2-1720:


Assignee: Deepal Jayasinghe

 Java2WSDL malfunction (unexpected mep)
 --

 Key: AXIS2-1720
 URL: http://issues.apache.org/jira/browse/AXIS2-1720
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
Affects Versions: 1.1
Reporter: Jabber W
 Assigned To: Deepal Jayasinghe

 Java2WSDL  generates a notification-type operation for void methods even if 
 it throws application exception, as for:
public void addUser(User) throws UserDuplicationException {...}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] Updated: (AXIS2-1730) Need RPC/LIT Tests

2006-11-18 Thread Rich Scheuerle (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1730?page=all ]

Rich Scheuerle updated AXIS2-1730:
--

Attachment: patch_rpc2.txt

The patch contains the following changes:
  * Additional RPC tests
  * Changes to the getClassesFromPackage code to obtain the array classes.
   * A fix to the JAXWSMessageReceiver to throw an AxisFault when problems 
occur.

Committed revision 476565

 Need RPC/LIT Tests
 --

 Key: AXIS2-1730
 URL: http://issues.apache.org/jira/browse/AXIS2-1730
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Test
  Components: jaxws
Reporter: Rich Scheuerle
 Assigned To: Rich Scheuerle
 Attachments: patch.txt, patch_rpc2.txt


 We need JAX/WS RPC/LIT tests
 1) Add some trivial tests.
 2) Add tests that verify that vendors don't need to send xsi:type 
 3) Add complicated tests 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] Commented: (AXIS2-1730) Need RPC/LIT Tests

2006-11-18 Thread Rich Scheuerle (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1730?page=comments#action_12451044 ] 

Rich Scheuerle commented on AXIS2-1730:
---

Thanks to Lizet Ernand, who authored the RPCLit.wsdl that is the basis for 
these tests.

 Need RPC/LIT Tests
 --

 Key: AXIS2-1730
 URL: http://issues.apache.org/jira/browse/AXIS2-1730
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Test
  Components: jaxws
Reporter: Rich Scheuerle
 Assigned To: Rich Scheuerle
 Attachments: patch.txt, patch_rpc2.txt


 We need JAX/WS RPC/LIT tests
 1) Add some trivial tests.
 2) Add tests that verify that vendors don't need to send xsi:type 
 3) Add complicated tests 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



Re: Bad Import? (Re: svn commit: r475935 - in /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws: ExceptionFactory.java core/controller/AxisInvocationController.java)

2006-11-18 Thread R J Scheuerle Jr





Dims,

I am fixing this now.  Thanks for catch this.

Rich Scheuerle
IBM Web Services
Apache Axis2 ([EMAIL PROTECTED])
512-838-5115  (IBM TL 678-5115)


   
 Davanum  
 Srinivas 
 [EMAIL PROTECTED]  To
 m[EMAIL PROTECTED]  
   [EMAIL PROTECTED]  
 11/18/2006 07:34   cc
 AMAxis developer list   
   axis-dev@ws.apache.org
   Subject
 Please respond to Bad Import? (Re: svn commit:
 [EMAIL PROTECTED] r475935 - in
   e.org   /webservices/axis2/trunk/java/modul
   es/jaxws/src/org/apache/axis2/jaxws
   : ExceptionFactory.java 
   core/controller/AxisInvocationContr
   oller.java) 
   
   
   
   
   
   




Rich,

Can u please be careful?

import com.ibm.jvm.util.ByteArrayOutputStream;

thanks,
dims

On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Author: scheu
 Date: Thu Nov 16 13:44:39 2006
 New Revision: 475935

 URL: http://svn.apache.org/viewvc?view=revrev=475935
 Log:
 AXIS2-1712
 Contributor: Mike Rheinheimer
 Added support for handling local Throwable (vs. Exception).  Added smart
processing to exception factory to generate a better message.

 Modified:

webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/ExceptionFactory.java


webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/core/controller/AxisInvocationController.java


 Modified:
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/ExceptionFactory.java

 URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/ExceptionFactory.java?view=diffrev=475935r1=475934r2=475935


==

 ---
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/ExceptionFactory.java
 (original)
 +++
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/ExceptionFactory.java
 Thu Nov 16 13:44:39 2006
 @@ -17,12 +17,11 @@

  package org.apache.axis2.jaxws;

 +import java.io.PrintStream;
  import java.lang.reflect.InvocationTargetException;

  import javax.xml.ws.ProtocolException;
  import javax.xml.ws.WebServiceException;
 -import javax.xml.ws.http.HTTPException;
 -import javax.xml.ws.soap.SOAPFaultException;

  import org.apache.axis2.AxisFault;
  import org.apache.axis2.jaxws.i18n.Messages;
 @@ -31,6 +30,8 @@
  import org.apache.commons.logging.Log;
  import org.apache.commons.logging.LogFactory;

 +import com.ibm.jvm.util.ByteArrayOutputStream;
 +
  /**
* ExceptionFactory is used to create exceptions within the JAX-WS
implementation.
* There are several reasons for using a factory to create exceptions.
 @@ -216,6 +217,15 @@
 }
 rootCause = rootCause==null ? t :rootCause;
 WebServiceException e = null;
 +
 +String enhancedMessage = enhanceMessage(rootCause);
 +if (enhancedMessage != null) {
 +if (message != null)
 +message.concat(:  + enhancedMessage);
 +else
 +message = enhancedMessage;
 +}
 +
  if (message != null) {
 e =new WebServiceException(message, rootCause);
  } else {
 @@ -368,6 +378,30 @@
 }
 }
 return t;
 +}
 +
 +/**
 + * Other developers may add additional criteria to give better
 + * error messages back to the user.
 + *
 + * @param t Throwable
 + * @return String a message that helps the user understand what
caused the exception
 + */
 +private static String enhanceMessage(Throwable t) {
 +if (t == null)
 +return null;
 +
 +ByteArrayOutputStream baos = new ByteArrayOutputStream();
 +PrintStream ps = new PrintStream(baos, true);
 +t.printStackTrace(ps);
 +String 

[jira] Updated: (AXIS2-1730) Need RPC/LIT Tests

2006-11-18 Thread Rich Scheuerle (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1730?page=all ]

Rich Scheuerle updated AXIS2-1730:
--

Attachment: patch3.txt

Changes in this patch:
  * enabled another rpc test.
  * added code to allow JAXB to unmarshall using the declared type approach.

Committed to SVN.  

---

Still needed:
   * The rpc operations with parameters defined as xsd:list are marshalled 
incorrectly. 

 Need RPC/LIT Tests
 --

 Key: AXIS2-1730
 URL: http://issues.apache.org/jira/browse/AXIS2-1730
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Test
  Components: jaxws
Reporter: Rich Scheuerle
 Assigned To: Rich Scheuerle
 Attachments: patch.txt, patch3.txt, patch_rpc2.txt


 We need JAX/WS RPC/LIT tests
 1) Add some trivial tests.
 2) Add tests that verify that vendors don't need to send xsi:type 
 3) Add complicated tests 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] Commented: (AXIS2-1730) Need RPC/LIT Tests

2006-11-18 Thread Rich Scheuerle (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1730?page=comments#action_12451082 ] 

Rich Scheuerle commented on AXIS2-1730:
---

Patch3 committed to SVN.  Revision=476635

 Need RPC/LIT Tests
 --

 Key: AXIS2-1730
 URL: http://issues.apache.org/jira/browse/AXIS2-1730
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Test
  Components: jaxws
Reporter: Rich Scheuerle
 Assigned To: Rich Scheuerle
 Attachments: patch.txt, patch3.txt, patch_rpc2.txt


 We need JAX/WS RPC/LIT tests
 1) Add some trivial tests.
 2) Add tests that verify that vendors don't need to send xsi:type 
 3) Add complicated tests 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[Axis2] Rampart release : related maven modules in axis2 trunk frozen

2006-11-18 Thread Ruchith Fernando

Hi Devs,

We are getting ready to release Rampart-1.1 for Axis2-1.1. We will be
making changes to the following maven modules dir in the 1.1 branch
and please do not change those in the trunk.

security
rahas
secpolicy
samples/security

When we release Rampart-1.1 I will merge these back into the trunk.

Thanks,
Ruchith

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



[jira] Resolved: (AXIS2-1734) Build fails

2006-11-18 Thread Ruchith Udayanga Fernando (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1734?page=all ]

Ruchith Udayanga Fernando resolved AXIS2-1734.
--

Resolution: Fixed

Thanks to dims the SNAPSHOTS are back up in the maven repo:

http://ws.zones.apache.org/repository/wss4j/jars/

 Build fails
 ---

 Key: AXIS2-1734
 URL: http://issues.apache.org/jira/browse/AXIS2-1734
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: samples, build,site
Affects Versions: 1.1
 Environment: Windows XP, cygwin, JDK1.5
Reporter: Vijay Phadke
 Attachments: wss4j-SNAPSHOT.jar


 The build fails with following error -
 multiproject:install-callback:
 [echo] Running jar:install for Apache Axis 2.0 - Rahas
 java:prepare-filesystem:
 [mkdir] Created dir: 
 C:\dev\open-source\axis2\java\v1.1\modules\rahas\target
 \classes
 Running post goal: java:prepare-filesystem
 java:compile:
 [echo] Compiling to 
 c:\dev\open-source\axis2\java\v1.1\modules\rahas/target/
 classes
 [javac] Compiling 23 source files to 
 C:\dev\open-source\axis2\java\v1.1\modu
 les\rahas\target\classes
 [javac] 
 C:\dev\open-source\axis2\java\v1.1\modules\rahas\src\org\apache\raha
 s\impl\SAMLTokenIssuer.java:113: cannot find symbol
 [javac] symbol  : method 
 getInstance(java.util.Properties,java.lang.ClassLoa
 der)
 [javac] location: class 
 org.apache.ws.security.components.crypto.CryptoFacto
 ry
 [javac] crypto = 
 CryptoFactory.getInstance(TrustUtil.toPropertie
 s(config.cryptoPropertiesElement),
 [javac]   ^
 [javac] 
 C:\dev\open-source\axis2\java\v1.1\modules\rahas\src\org\apache\raha
 s\impl\SCTIssuer.java:235: cannot find symbol
 [javac] symbol  : variable KEY_CONTEXT_MAP
 [javac] location: class 
 org.apache.ws.security.conversation.ConversationCons
 tants
 [javac] ConversationConstants.KEY_CONTEXT_MAP);
 [javac]  ^
 [javac] 
 C:\dev\open-source\axis2\java\v1.1\modules\rahas\src\org\apache\raha
 s\impl\SCTIssuer.java:242: cannot find symbol
 [javac] symbol  : variable KEY_CONTEXT_MAP
 [javac] location: class 
 org.apache.ws.security.conversation.ConversationCons
 tants
 [javac] ConversationConstants.KEY_CONTEXT_MAP, map);
 [javac]  ^
 [javac] 
 C:\dev\open-source\axis2\java\v1.1\modules\rahas\src\org\apache\raha
 s\impl\TokenIssuerUtil.java:111: cannot find symbol
 [javac] symbol  : method 
 getInstance(java.util.Properties,java.lang.ClassLoa
 der)
 [javac] location: class 
 org.apache.ws.security.components.crypto.CryptoFacto
 ry
 [javac] crypto = 
 CryptoFactory.getInstance(TrustUtil.toP
 roperties(config.cryptoPropertiesElement),
 [javac]   ^
 [javac] 4 errors
 BUILD FAILED
 File.. 
 c:\dev\maven-1.1-beta-2\cache\maven-multiproject-plugin-1.4.1\plugin.
 jelly
 Element... maven:reactor
 Line.. 218
 Column 9
 Unable to obtain goal [multiproject:install-callback] -- 
 c:\dev\maven-1.1-beta-2
 \cache\maven-java-plugin-1.5\plugin.jelly:63:48: ant:javac Compile failed; 
 see
  the compiler error output for details.
 Total time   : 1 minutes 14 seconds

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] Resolved: (AXIS2-1570) Rampart/Axiom is not thread safe

2006-11-18 Thread Ruchith Udayanga Fernando (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1570?page=all ]

Ruchith Udayanga Fernando resolved AXIS2-1570.
--

Resolution: Fixed

Fixed in http://svn.apache.org/viewvc?view=revrev=476707

 Rampart/Axiom is not thread safe
 

 Key: AXIS2-1570
 URL: http://issues.apache.org/jira/browse/AXIS2-1570
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: modules
Affects Versions: 1.0
 Environment: WinXP, Tomcat 4/5, Websphere 5/6
Reporter: Johan Andersson
 Assigned To: Ruchith Udayanga Fernando
Priority: Critical

 The Axiom DOM (distributed with Axis 1.0) implementation seems to have some 
 threading issues.
 The problem manifests itself as a nullpointer exception in 
 org.apache.axiom.om.impl.dom.jaxp.DocumentBuilderFactoryImpl
 If I apply a moderate amount of load on the server so the number of http 
 processor threads start increase the NPE will 
 happen all of the time whenever a piece of code tries to create a 
 DocumentBuilder (for instance the WSDL parsing during deployment).
 I can reproduce this problem quite reliably.
 Nullpointer is caused by the originalDocumentBuilderFactory being null 
 --- snip ---
 public DocumentBuilder newDocumentBuilder()
 throws ParserConfigurationException {
 /**
  * Determine which DocumentBuilder implementation should be returned
  */
 return isDOOMRequired()
 ? new DocumentBuilderImpl()
 : originalDocumentBuilderFactory.newDocumentBuilder();
 }
 --- snip ---
 I've tracked the problem to this piece of code in the 
 org.apache.axiom.om.impl.dom.jaxp.DocumentBuilderFactoryImpl
 --- snip ---
public static void setDOOMRequired(boolean isDOOMRequired) {
 String systemKey = DocumentBuilderFactory.class.getName();
 if (isDOOMRequired) {
 if (!isDOOMRequired()) {
 originalDocumentBuilderFactory = 
 DocumentBuilderFactory.newInstance();
 originalDocumentBuilderFactoryClassName = 
 originalDocumentBuilderFactory.getClass().getName();
 documentBuilderFactoryTracker.set(Boolean.TRUE);
 System.setProperty(systemKey, 
 DocumentBuilderFactoryImpl.class.getName());
 }
 } else {
 String currentFactoryClassName = 
 DocumentBuilderFactory.newInstance().getClass().getName();
 if (currentFactoryClassName != null  
 currentFactoryClassName.equals(DocumentBuilderFactoryImpl.class.getName())) {
 System.getProperties().remove(systemKey);
 if (originalDocumentBuilderFactoryClassName != null) {
 
 System.setProperty(DocumentBuilderFactory.class.getName(), 
 originalDocumentBuilderFactoryClassName);
 }
 }
 documentBuilderFactoryTracker.set(null);
 originalDocumentBuilderFactory = null;
 }
 }
 --- snip ---
 Trying to find away to resolve this I realise that the DOOM document builder 
 factory implementation is in fact manipulating a JVM-wide
 system property in a multi-threaded environment (!) which besides the problem 
 I am currently experiencing could lead to all sorts 
 of unwanted side-effects.
 As I don't want to allow this to happen I simply commented out the contents 
 of the setDoomRequired() method hoping that Rampart could work
 with my default DOM instead and that I would only suffer some performance 
 loss.
 I was wrong in that assumption as I encountered another problem: 
 StAXOMBuilder CHARACTERS: [org.apache.axis2.AxisFault: WSDoAllReceiver: 
 security processing failed; nested exception is: 
   org.apache.ws.security.WSSecurityException: Cannot encrypt/decrypt 
 data; nested exception is: 
   org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to 
 insert a node where it is not permitted. 
   at 
 org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:183)
   at 
 org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
   at org.apache.axis2.engine.Phase.invoke(Phase.java:381)
   at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
   at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
   at 
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
   at 
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:157)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
 I compared the source of 
 org.apache.axiom.om.impl.dom.jaxp.DocumentBuilderFactoryImpl in Axis 1.0 
 release and the latest in SVN
 

[jira] Commented: (AXIS2-1662) Classloading issues with Rampart

2006-11-18 Thread Ruchith Udayanga Fernando (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1662?page=comments#action_12451117 ] 

Ruchith Udayanga Fernando commented on AXIS2-1662:
--

Hi Rajith,

Can you please verify whether this is issue is still there with Axis2-1.1 and 
rampart-1.1-SNAPSHOT.mar ?

Thanks,
Ruchith

 Classloading issues with Rampart
 

 Key: AXIS2-1662
 URL: http://issues.apache.org/jira/browse/AXIS2-1662
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
Affects Versions: 1.1
 Environment: Tomcat 5.5.15
 FC5
Reporter: Rajith Attapattu
 Assigned To: Ruchith Udayanga Fernando
Priority: Critical
 Fix For: 1.2


 ClassNotFoundExceptions are thrown when accessing classes that are available 
 within the module archive (inside the module/lib directory)
 Once u manually copy these files to ../webapps/axis2/WEB-INF/lib it works 
 fine. 
 Therefore we seem to have an issue with the module class loader.
 However the person who reported a simillar issue was running tomcat 5.5.x , 
 and Ruchith mentioned that this works with tomcat 5.
 Can somebody with Tomcat 5 (not 5.5.x) please verify this claim to isolate 
 whether the issue is with Axis2 or Tomcat 5.5.15.
 Thanks,
 Rajith

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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