Problem using an AXIS2 client on Oracle Application Server

2008-08-20 Thread Patrick Houbaux




Hi all,

I have generated a client stubs with AXIS2 1.4 (using xmlbeans) which
work great when I use it from a java standalone application.

I'm also calling the same piece of code from a jsp which is part of a
web application packaged in .war file and deployed on an Oracle
Application Server 10.3.1.x using the admin console. When I hit this
jsp page I'm getting the following exception for which I'm currently
having a hard time to understand why:

java.lang.NullPointerException
org.apache.xmlbeans.impl.store.Locale.isXmlns(Locale.java:2944)
org.apache.xmlbeans.impl.store.Xobj.isXmlns(Xobj.java:132)
org.apache.xmlbeans.impl.store.Cur.isXmlns(Cur.java:172)
org.apache.xmlbeans.impl.store.Locale.getAllNamespaces(Locale.java:2304)
org.apache.xmlbeans.impl.store.Xobj.copy_contents_from(Xobj.java:2295)
org.apache.xmlbeans.impl.values.XmlObjectBase.setterHelper(XmlObjectBase.java:1907)
org.apache.xmlbeans.impl.values.XmlObjectBase.set(XmlObjectBase.java:1954)
org.plcs.www.headers.impl.BusinessObjectFilterImpl.setPartCharacterization(Unknown
Source)
[...]

The war file contains all the axis-bin jars in the WEB-INF/lib folder.

Does anybody knows if there is a conflict between one (or more) of the
axis jars and the one in OC4J ? If yes, how can I solve that? If no,
what could be the root cause of that kind of problem?

Thanks for any help on this.

Cheers,
Patrick.


This message contains information that may be privileged or confidential and is the property of Eurostep Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

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



Re: Problem using an AXIS2 client on Oracle Application Server

2008-08-20 Thread Patrick Houbaux

Erratum: the correct version of OAS I'm using is 10.1.3.1.0

Patrick.

Patrick Houbaux wrote:

Hi all,

I have generated a client stubs with AXIS2 1.4 (using xmlbeans) which 
work great when I use it from a java standalone application.


I'm also calling the same piece of code from a jsp which is part of a 
web application packaged in .war file and deployed on an Oracle 
Application Server 10.3.1.x using the admin console. When I hit this 
jsp page I'm getting the following exception for which I'm currently 
having a hard time to understand why:


java.lang.NullPointerException
org.apache.xmlbeans.impl.store.Locale.isXmlns(Locale.java:2944)
org.apache.xmlbeans.impl.store.Xobj.isXmlns(Xobj.java:132)
org.apache.xmlbeans.impl.store.Cur.isXmlns(Cur.java:172)
org.apache.xmlbeans.impl.store.Locale.getAllNamespaces(Locale.java:2304)
org.apache.xmlbeans.impl.store.Xobj.copy_contents_from(Xobj.java:2295)
org.apache.xmlbeans.impl.values.XmlObjectBase.setterHelper(XmlObjectBase.java:1907)
org.apache.xmlbeans.impl.values.XmlObjectBase.set(XmlObjectBase.java:1954)
org.plcs.www.headers.impl.BusinessObjectFilterImpl.setPartCharacterization(Unknown 
Source)

[...]

The war file contains all the axis-bin jars in the WEB-INF/lib folder.

Does anybody knows if there is a conflict between one (or more) of the 
axis jars and the one in OC4J ? If yes, how can I solve that? If no, 
what could be the root cause of that kind of problem?


Thanks for any help on this.

Cheers,
Patrick.



This message contains information that may be privileged or confidential and is 
the property of Eurostep Group. It is intended only for the person to whom it 
is addressed. If you are not the intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message in error, please notify the sender 
immediately and delete all copies of this message.


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



Re: Problem using an AXIS2 client on Oracle Application Server

2008-08-20 Thread Elton Kong
Hi, sorry I can't offer any help on this but I too had the same issue 
when trying to do this and would love to learn the fix, thanks!


Elton

Patrick Houbaux wrote:

Erratum: the correct version of OAS I'm using is 10.1.3.1.0

Patrick.

Patrick Houbaux wrote:

Hi all,

I have generated a client stubs with AXIS2 1.4 (using xmlbeans) which 
work great when I use it from a java standalone application.


I'm also calling the same piece of code from a jsp which is part of a 
web application packaged in .war file and deployed on an Oracle 
Application Server 10.3.1.x using the admin console. When I hit this 
jsp page I'm getting the following exception for which I'm currently 
having a hard time to understand why:


java.lang.NullPointerException
org.apache.xmlbeans.impl.store.Locale.isXmlns(Locale.java:2944)
org.apache.xmlbeans.impl.store.Xobj.isXmlns(Xobj.java:132)
org.apache.xmlbeans.impl.store.Cur.isXmlns(Cur.java:172)
org.apache.xmlbeans.impl.store.Locale.getAllNamespaces(Locale.java:2304)
org.apache.xmlbeans.impl.store.Xobj.copy_contents_from(Xobj.java:2295)
org.apache.xmlbeans.impl.values.XmlObjectBase.setterHelper(XmlObjectBase.java:1907) 

org.apache.xmlbeans.impl.values.XmlObjectBase.set(XmlObjectBase.java:1954) 

org.plcs.www.headers.impl.BusinessObjectFilterImpl.setPartCharacterization(Unknown 
Source)

[...]

The war file contains all the axis-bin jars in the WEB-INF/lib folder.

Does anybody knows if there is a conflict between one (or more) of 
the axis jars and the one in OC4J ? If yes, how can I solve that? If 
no, what could be the root cause of that kind of problem?


Thanks for any help on this.

Cheers,
Patrick.



This message contains information that may be privileged or 
confidential and is the property of Eurostep Group. It is intended 
only for the person to whom it is addressed. If you are not the 
intended recipient, you are not authorized to read, print, retain, 
copy, disseminate, distribute, or use this message or any part 
thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.



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



Re: Problem using an AXIS2 client on Oracle Application Server

2008-08-20 Thread Patrick Houbaux

More info on this:
The very same .war deployed on Tomcat 6.0.13 works fine! Thanks for any 
help for making this working on OAS 10.1.3.1.0.


Cheers,
Patrick.

Patrick Houbaux wrote:

Hi all,

I have generated a client stubs with AXIS2 1.4 (using xmlbeans) which 
work great when I use it from a java standalone application.


I'm also calling the same piece of code from a jsp which is part of a 
web application packaged in .war file and deployed on an Oracle 
Application Server 10.3.1.x using the admin console. When I hit this 
jsp page I'm getting the following exception for which I'm currently 
having a hard time to understand why:


java.lang.NullPointerException
org.apache.xmlbeans.impl.store.Locale.isXmlns(Locale.java:2944)
org.apache.xmlbeans.impl.store.Xobj.isXmlns(Xobj.java:132)
org.apache.xmlbeans.impl.store.Cur.isXmlns(Cur.java:172)
org.apache.xmlbeans.impl.store.Locale.getAllNamespaces(Locale.java:2304)
org.apache.xmlbeans.impl.store.Xobj.copy_contents_from(Xobj.java:2295)
org.apache.xmlbeans.impl.values.XmlObjectBase.setterHelper(XmlObjectBase.java:1907)
org.apache.xmlbeans.impl.values.XmlObjectBase.set(XmlObjectBase.java:1954)
org.plcs.www.headers.impl.BusinessObjectFilterImpl.setPartCharacterization(Unknown 
Source)

[...]

The war file contains all the axis-bin jars in the WEB-INF/lib folder.

Does anybody knows if there is a conflict between one (or more) of the 
axis jars and the one in OC4J ? If yes, how can I solve that? If no, 
what could be the root cause of that kind of problem?


Thanks for any help on this.

Cheers,
Patrick.



This message contains information that may be privileged or confidential and is 
the property of Eurostep Group. It is intended only for the person to whom it 
is addressed. If you are not the intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message in error, please notify the sender 
immediately and delete all copies of this message.


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



Re: Problem using an AXIS2 client on Oracle Application Server

2008-08-20 Thread David Ojeda
Hello,

You should configure your deployment to prefer web-inf classes rather than 
classes of OAS. I am not sure how this is configured but I think that it could 
be the solution you are looking for

On Wednesday 20 August 2008 02:04:53 pm Elton Kong wrote:
 Hi, sorry I can't offer any help on this but I too had the same issue
 when trying to do this and would love to learn the fix, thanks!

 Elton

 Patrick Houbaux wrote:
  Erratum: the correct version of OAS I'm using is 10.1.3.1.0
 
  Patrick.
 
  Patrick Houbaux wrote:
  Hi all,
 
  I have generated a client stubs with AXIS2 1.4 (using xmlbeans) which
  work great when I use it from a java standalone application.
 
  I'm also calling the same piece of code from a jsp which is part of a
  web application packaged in .war file and deployed on an Oracle
  Application Server 10.3.1.x using the admin console. When I hit this
  jsp page I'm getting the following exception for which I'm currently
  having a hard time to understand why:
 
  java.lang.NullPointerException
  org.apache.xmlbeans.impl.store.Locale.isXmlns(Locale.java:2944)
  org.apache.xmlbeans.impl.store.Xobj.isXmlns(Xobj.java:132)
  org.apache.xmlbeans.impl.store.Cur.isXmlns(Cur.java:172)
  org.apache.xmlbeans.impl.store.Locale.getAllNamespaces(Locale.java:2304)
  org.apache.xmlbeans.impl.store.Xobj.copy_contents_from(Xobj.java:2295)
  org.apache.xmlbeans.impl.values.XmlObjectBase.setterHelper(XmlObjectBase
 .java:1907)
 
  org.apache.xmlbeans.impl.values.XmlObjectBase.set(XmlObjectBase.java:195
 4)
 
  org.plcs.www.headers.impl.BusinessObjectFilterImpl.setPartCharacterizati
 on(Unknown Source)
  [...]
 
  The war file contains all the axis-bin jars in the WEB-INF/lib folder.
 
  Does anybody knows if there is a conflict between one (or more) of
  the axis jars and the one in OC4J ? If yes, how can I solve that? If
  no, what could be the root cause of that kind of problem?
 
  Thanks for any help on this.
 
  Cheers,
  Patrick.
 
  This message contains information that may be privileged or
  confidential and is the property of Eurostep Group. It is intended
  only for the person to whom it is addressed. If you are not the
  intended recipient, you are not authorized to read, print, retain,
  copy, disseminate, distribute, or use this message or any part
  thereof. If you receive this message in error, please notify the
  sender immediately and delete all copies of this message.
 
 
  -
  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]



-- 
Ing. David Ojeda
Integra Consultores
Caracas, Venezuela

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



Re: Problem using an AXIS2 client on Oracle Application Server

2008-08-20 Thread Patrick Houbaux




Many thanks David ... this is the
solution!
In the deployment scenario (the 3rd stage when deploying a war in OAS),
we need to specify to search the local classes first.

Here is the extract from the OAS docs:
"Specifying search-local-classes-first at Deployment Time

The following example illustrates how to set the
search-local-classes-first attribute in the orion-web.xml file
generated for the Web module at deployment time, using the Application
Server Control Console.

 1.Select ApplicationsDeploy to launch the Application Server
Control Console deployment wizard.
 2.Supply the path to the application in the first page of the wizard.
 3.Specify the application name and supply any context URI mappings
in the second page.
 4.Click Configure Class Loading in the third page of the wizard
(Deploy: Deployment Settings).
 5.Under Configure Web Module Class Loaders, check the Search Local
Classes First checkbox next to the name of the Web module containing
the local JAR file to use.
 6.Optionally click the Save Deployment Plan button, and save the
plan for reuse."

Thanks again for having put me on track on this.

Cheers,
Patrick.

David Ojeda wrote:

  Hello,

You should configure your deployment to prefer web-inf classes rather than 
classes of OAS. I am not sure how this is configured but I think that it could 
be the solution you are looking for

On Wednesday 20 August 2008 02:04:53 pm Elton Kong wrote:
  
  
Hi, sorry I can't offer any help on this but I too had the same issue
when trying to do this and would love to learn the fix, thanks!

Elton

Patrick Houbaux wrote:


  Erratum: the correct version of OAS I'm using is 10.1.3.1.0

Patrick.

Patrick Houbaux wrote:
  
  
Hi all,

I have generated a client stubs with AXIS2 1.4 (using xmlbeans) which
work great when I use it from a java standalone application.

I'm also calling the same piece of code from a jsp which is part of a
web application packaged in .war file and deployed on an Oracle
Application Server 10.3.1.x using the admin console. When I hit this
jsp page I'm getting the following exception for which I'm currently
having a hard time to understand why:

java.lang.NullPointerException
org.apache.xmlbeans.impl.store.Locale.isXmlns(Locale.java:2944)
org.apache.xmlbeans.impl.store.Xobj.isXmlns(Xobj.java:132)
org.apache.xmlbeans.impl.store.Cur.isXmlns(Cur.java:172)
org.apache.xmlbeans.impl.store.Locale.getAllNamespaces(Locale.java:2304)
org.apache.xmlbeans.impl.store.Xobj.copy_contents_from(Xobj.java:2295)
org.apache.xmlbeans.impl.values.XmlObjectBase.setterHelper(XmlObjectBase
.java:1907)

org.apache.xmlbeans.impl.values.XmlObjectBase.set(XmlObjectBase.java:195
4)

org.plcs.www.headers.impl.BusinessObjectFilterImpl.setPartCharacterizati
on(Unknown Source)
[...]

The war file contains all the axis-bin jars in the WEB-INF/lib folder.

Does anybody knows if there is a conflict between one (or more) of
the axis jars and the one in OC4J ? If yes, how can I solve that? If
no, what could be the root cause of that kind of problem?

Thanks for any help on this.

Cheers,
Patrick.

  
  

  


-- 


--
| Patrick Houbaux
| Senior Consultant
| Eurostep SARLEmail: [EMAIL PROTECTED]
| PromopoleMobile: +33 611 192 943
| 5 rue Maurice ThorezFax: +33 130 510 373
| FR-78190 TrappesURL: http://www.eurostep.com
| FRANCESkype name: phoubaux
---



This message contains information that may be privileged or confidential and is the property of Eurostep Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

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



Re: Problem using an AXIS2 client on Oracle Application Server

2008-08-20 Thread David Ojeda
I'm very glad to help! 

On Wednesday 20 August 2008 05:21:12 pm Patrick Houbaux wrote:
 Many thanks David ... this is the solution!
  In the deployment scenario (the 3rd stage when deploying a war in OAS), we
 need to specify to search the local classes first.

  Here is the extract from the OAS docs:
  Specifying search-local-classes-first at Deployment Time

  The following example illustrates how to set the
 search-local-classes-first attribute in the orion-web.xml file generated
 for the Web module at deployment time, using the Application Server Control
 Console.

     1.Select ApplicationsDeploy to launch the Application Server Control
 Console deployment wizard. 2.Supply the path to the application in the
 first page of the wizard. 3.Specify the application name and supply any
 context URI mappings in the second page. 4.Click Configure Class Loading in
 the third page of the wizard (Deploy: Deployment Settings). 5.Under
 Configure Web Module Class Loaders, check the Search Local Classes First
 checkbox next to the name of the Web module containing the local JAR file
 to use. 6.Optionally click the Save Deployment Plan button, and save the
 plan for reuse.

  Thanks again for having put me on track on this.

  Cheers,
  Patrick.

  David Ojeda wrote:
 Hello,

 You should configure your deployment to prefer web-inf classes rather than
 classes of OAS. I am not sure how this is configured but I think that it
 could be the solution you are looking for

 On Wednesday 20 August 2008 02:04:53 pm Elton Kong wrote:

 Hi, sorry I can't offer any help on this but I too had the same issue
 when trying to do this and would love to learn the fix, thanks!

 Elton

 Patrick Houbaux wrote:

 Erratum: the correct version of OAS I'm using is 10.1.3.1.0

 Patrick.

 Patrick Houbaux wrote:

 Hi all,

 I have generated a client stubs with AXIS2 1.4 (using xmlbeans) which
 work great when I use it from a java standalone application.

 I'm also calling the same piece of code from a jsp which is part of a
 web application packaged in .war file and deployed on an Oracle
 Application Server 10.3.1.x using the admin console. When I hit this
 jsp page I'm getting the following exception for which I'm currently
 having a hard time to understand why:

 java.lang.NullPointerException
 org.apache.xmlbeans.impl.store.Locale.isXmlns(Locale.java:2944)
 org.apache.xmlbeans.impl.store.Xobj.isXmlns(Xobj.java:132)
 org.apache.xmlbeans.impl.store.Cur.isXmlns(Cur.java:172)
 org.apache.xmlbeans.impl.store.Locale.getAllNamespaces(Locale.java:2304)
 org.apache.xmlbeans.impl.store.Xobj.copy_contents_from(Xobj.java:2295)
 org.apache.xmlbeans.impl.values.XmlObjectBase.setterHelper(XmlObjectBase
 .java:1907)

 org.apache.xmlbeans.impl.values.XmlObjectBase.set(XmlObjectBase.java:195
 4)

 org.plcs.www.headers.impl.BusinessObjectFilterImpl.setPartCharacterizati
 on(Unknown Source)
 [...]

 The war file contains all the axis-bin jars in the WEB-INF/lib folder.

 Does anybody knows if there is a conflict between one (or more) of
 the axis jars and the one in OC4J ? If yes, how can I solve that? If
 no, what could be the root cause of that kind of problem?

 Thanks for any help on this.

 Cheers,
 Patrick.



-- 
Ing. David Ojeda
Integra Consultores
Caracas, Venezuela

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



Re: Problem using an AXIS2 client on Oracle Application Server

2008-08-20 Thread Elton Kong

Hmm, I seemed to have run into an error:

Recursive error in error-page calling for /axis2-web/Error/error500.jsp, 
see the application log for details.


Any ideas? Thanks!

David Ojeda wrote:
I'm very glad to help! 


On Wednesday 20 August 2008 05:21:12 pm Patrick Houbaux wrote:
  

Many thanks David ... this is the solution!
 In the deployment scenario (the 3rd stage when deploying a war in OAS), we
need to specify to search the local classes first.

 Here is the extract from the OAS docs:
 Specifying search-local-classes-first at Deployment Time

 The following example illustrates how to set the
search-local-classes-first attribute in the orion-web.xml file generated
for the Web module at deployment time, using the Application Server Control
Console.

1.Select ApplicationsDeploy to launch the Application Server Control
Console deployment wizard. 2.Supply the path to the application in the
first page of the wizard. 3.Specify the application name and supply any
context URI mappings in the second page. 4.Click Configure Class Loading in
the third page of the wizard (Deploy: Deployment Settings). 5.Under
Configure Web Module Class Loaders, check the Search Local Classes First
checkbox next to the name of the Web module containing the local JAR file
to use. 6.Optionally click the Save Deployment Plan button, and save the
plan for reuse.

 Thanks again for having put me on track on this.

 Cheers,
 Patrick.

 David Ojeda wrote:
Hello,

You should configure your deployment to prefer web-inf classes rather than
classes of OAS. I am not sure how this is configured but I think that it
could be the solution you are looking for

On Wednesday 20 August 2008 02:04:53 pm Elton Kong wrote:

Hi, sorry I can't offer any help on this but I too had the same issue
when trying to do this and would love to learn the fix, thanks!

Elton

Patrick Houbaux wrote:

Erratum: the correct version of OAS I'm using is 10.1.3.1.0

Patrick.

Patrick Houbaux wrote:

Hi all,

I have generated a client stubs with AXIS2 1.4 (using xmlbeans) which
work great when I use it from a java standalone application.

I'm also calling the same piece of code from a jsp which is part of a
web application packaged in .war file and deployed on an Oracle
Application Server 10.3.1.x using the admin console. When I hit this
jsp page I'm getting the following exception for which I'm currently
having a hard time to understand why:

java.lang.NullPointerException
org.apache.xmlbeans.impl.store.Locale.isXmlns(Locale.java:2944)
org.apache.xmlbeans.impl.store.Xobj.isXmlns(Xobj.java:132)
org.apache.xmlbeans.impl.store.Cur.isXmlns(Cur.java:172)
org.apache.xmlbeans.impl.store.Locale.getAllNamespaces(Locale.java:2304)
org.apache.xmlbeans.impl.store.Xobj.copy_contents_from(Xobj.java:2295)
org.apache.xmlbeans.impl.values.XmlObjectBase.setterHelper(XmlObjectBase
.java:1907)

org.apache.xmlbeans.impl.values.XmlObjectBase.set(XmlObjectBase.java:195
4)

org.plcs.www.headers.impl.BusinessObjectFilterImpl.setPartCharacterizati
on(Unknown Source)
[...]

The war file contains all the axis-bin jars in the WEB-INF/lib folder.

Does anybody knows if there is a conflict between one (or more) of
the axis jars and the one in OC4J ? If yes, how can I solve that? If
no, what could be the root cause of that kind of problem?

Thanks for any help on this.

Cheers,
Patrick.





  


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