[jira] Created: (TUSCANY-700) NPE in TuscanySessionListener.sessionDestroyed when Tomcat session expires

2006-09-06 Thread Chris Wall (JIRA)
NPE in TuscanySessionListener.sessionDestroyed when Tomcat session expires
--

 Key: TUSCANY-700
 URL: http://issues.apache.org/jira/browse/TUSCANY-700
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Core
Reporter: Chris Wall


ERROR [12:10:42] (org.apache.catalina.session.StandardSession:expire:699) - 
Session event listener threw exception
java.lang.NullPointerException
at 
org.apache.tuscany.runtime.webapp.TuscanySessionListener.sessionDestroyed(TuscanySessionListener.java:49)
at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:687)
at 
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:579)
at 
org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678)
at 
org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663)
at 
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
at java.lang.Thread.run(Thread.java:595)

web.xml:
context-param
param-namesystemScdlPath/param-name
param-value/META-INF/sca/webapp.system.scdl/param-value
/context-param

context-param
param-nameapplicationScdlPath/param-name
param-value/META-INF/sca/default.scdl/param-value
/context-param

context-param
param-namecurrentCompositePath/param-name
param-valueSpringSample/param-value
/context-param

filter
filter-nameTuscanyFilter/filter-name

filter-classorg.apache.tuscany.runtime.webapp.TuscanyFilter/filter-class
/filter

filter-mapping
filter-nameTuscanyFilter/filter-name
url-pattern/*/url-pattern
/filter-mapping

listener

listener-classorg.apache.tuscany.runtime.webapp.TuscanyContextListener/listener-class
/listener

listener

listener-classorg.apache.tuscany.runtime.webapp.TuscanySessionListener/listener-class
/listener

servlet
servlet-nameTuscanyServlet/servlet-name
display-nameTuscany Servlet/display-name

servlet-classorg.apache.tuscany.runtime.webapp.TuscanyServlet/servlet-class
/servlet

servlet-mapping
servlet-nameTuscanyServlet/servlet-name
url-pattern/services/*/url-pattern
/servlet-mapping


-- 
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: (TUSCANY-676) ImportSDOLoader: DataTypeImpl not found in XSDEcoreBuilder.typeToTypeObjectMap causes NPE (surfaced as IllegalArgumentException)

2006-08-30 Thread Chris Wall (JIRA)
[ 
http://issues.apache.org/jira/browse/TUSCANY-676?page=comments#action_12431717 
] 

Chris Wall commented on TUSCANY-676:


Thank Fuhwei.  You were right.  I updated the WSDL and applied the patch 
locally.  The WSDL was successfully loaded.  Thanks!!

 ImportSDOLoader: DataTypeImpl not found in 
 XSDEcoreBuilder.typeToTypeObjectMap causes NPE (surfaced as 
 IllegalArgumentException)
 

 Key: TUSCANY-676
 URL: http://issues.apache.org/jira/browse/TUSCANY-676
 Project: Tuscany
  Issue Type: Bug
  Components: Java SDO Implementation
Reporter: Chris Wall
 Attachments: medrec.zip, MedRecWebServices.wsdl, tuscany-676.patch, 
 xsdecorebuilder_npe.zip


 During SDO import of WSDL, elements of the following complex type are not 
 found when validated against available SDO datatypes within the XSD layer 
 (XSDEcoreBuilder).  Downstream this causes an NPE.  It could be that the 
 comparison between the type and the key is not properly implemented.  See the 
 attached zip containing debug screenshots.
 xs:schema attributeFormDefault=unqualified elementFormDefault=qualified 
 targetNamespace=java:com.bea.proto.webservice xmlns:xs= 
 http://www.w3.org/2001/XMLSchema;
   xs:complexType name=Patient
 xs:sequence
   xs:element minOccurs=1 name=Id nillable=true type=xs:int/
   xs:element minOccurs=1 name=Dob nillable=true 
 type=xs:dateTime/
   xs:element minOccurs=1 name=FirstName nillable=true 
 type=xs:string/
   xs:element minOccurs=1 name=Gender nillable=true 
 type=xs:string/
   xs:element minOccurs=1 name=LastName nillable=true 
 type=xs:string/
   xs:element minOccurs=1 name=MiddleName nillable=true 
 type=xs:string/
   xs:element minOccurs=1 name=Phone nillable=true 
 type=xs:string/
   xs:element minOccurs=1 name=Ssn nillable=true type=xs:string/
 /xs:sequence
   /xs:complexType
 /xs:schema

-- 
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] Created: (TUSCANY-676) ImportSDOLoader: DataTypeImpl not found in XSDEcoreBuilder.typeToTypeObjectMap causes NPE (surfaced as IllegalArgumentException)

2006-08-29 Thread Chris Wall (JIRA)
ImportSDOLoader: DataTypeImpl not found in XSDEcoreBuilder.typeToTypeObjectMap 
causes NPE (surfaced as IllegalArgumentException)


 Key: TUSCANY-676
 URL: http://issues.apache.org/jira/browse/TUSCANY-676
 Project: Tuscany
  Issue Type: Bug
  Components: Java SDO Implementation
Reporter: Chris Wall
 Attachments: medrec.zip, xsdecorebuilder_npe.zip

During SDO import of WSDL, elements of the following complex type are not found 
when validated against available SDO datatypes within the XSD layer 
(XSDEcoreBuilder).  Downstream this causes an NPE.  It could be that the 
comparison between the type and the key is not properly implemented.  See the 
attached zip containing debug screenshots.

xs:schema attributeFormDefault=unqualified elementFormDefault=qualified 
targetNamespace=java:com.bea.proto.webservice xmlns:xs= 
http://www.w3.org/2001/XMLSchema;
  xs:complexType name=Patient
xs:sequence
  xs:element minOccurs=1 name=Id nillable=true type=xs:int/
  xs:element minOccurs=1 name=Dob nillable=true type=xs:dateTime/
  xs:element minOccurs=1 name=FirstName nillable=true 
type=xs:string/
  xs:element minOccurs=1 name=Gender nillable=true type=xs:string/
  xs:element minOccurs=1 name=LastName nillable=true 
type=xs:string/
  xs:element minOccurs=1 name=MiddleName nillable=true 
type=xs:string/
  xs:element minOccurs=1 name=Phone nillable=true type=xs:string/
  xs:element minOccurs=1 name=Ssn nillable=true type=xs:string/
/xs:sequence
  /xs:complexType
/xs:schema

-- 
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: (TUSCANY-646) binding.ws (xmlbeans) sending empty soap message

2006-08-18 Thread Chris Wall (JIRA)
 [ http://issues.apache.org/jira/browse/TUSCANY-646?page=all ]

Chris Wall updated TUSCANY-646:
---

Attachment: client-src.zip

 binding.ws (xmlbeans) sending empty soap message
 

 Key: TUSCANY-646
 URL: http://issues.apache.org/jira/browse/TUSCANY-646
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Axis Binding
 Environment: Client deployed as webapp on Tomcat  5.5.17 calling 
 WebLogic Web Service hosted on WLS 9.1.
Reporter: Chris Wall
 Attachments: client-src.zip, default.scdl, MedRecWebServices.wsdl, 
 web.xml


 My web service is receiving empty soap requests from my Tuscany web service 
 client.  See messages below.
   Soap request sent via Axis2 generated (Wsdl2Java) classes:
   ** S T A R T   R E Q U E S T **
   POST /ws_medrec/MedRecWebServices
   SOAPAction: urn:getString
   User-Agent: Axis2
   Host: localhost:7001
   Transfer-Encoding: chunked
   Content-Type: text/xml; charset=UTF-8
   ?xml version='1.0' encoding='UTF-8'?soapenv:Envelope 
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;soapen
   v:Header /soapenv:BodygetString 
 xmlns=http://www.bea.com/medrec;strhello/str/getString/soapenv:Body/soapen
   v:Envelope
   ** E N D   R E Q U E S T **
   Soap request sent via binding.ws:
   ** S T A R T   R E Q U E S T **
   POST /ws_medrec/MedRecWebServices
   SOAPAction: 
   User-Agent: Axis2
   Host: localhost:7001
   Content-Length: 167
   Content-Type: text/xml; charset=UTF-8
   ?xml version='1.0' encoding='UTF-8'?soapenv:Envelope 
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;soapen
   v:Header /soapenv:Body //soapenv:Envelope
   ** E N D   R E Q U E S T **

-- 
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]