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

Reply via email to