im dealing with a managed server cluster so i MUST include everything
packaged in a compressed ear file.  no choice on that, i wish i did
but i don't.  so i wrap axis up in a war  file with my service in
place, then wrap that up in the ear file.  when axis starts with stax
in the axis2_home/lib folder, i get stax class not found errors.  i
put the files in the ear's app-inf/lib folder and i get the same stax
class not found errors.  i take the stax library (on my dev machine)
and drop the stax jar in the domain/lib folder and it works perfectly.
 but as i said, in my production i won't have access to that
domain/lib folder, everything must be self contained in the ear file.
i can get the actual dumps monday if it helps.

this isn't the only system ive had this problem with too, it took me
about a week to get JIBX to work because i was having similar
classloader problems with STAX.  my solution at the time was to drop
the jar in the domain/lib, but im getting close to having to deploy
this in the production environment so i have to get around to fixing
this.

On Sat, Aug 16, 2008 at 6:31 PM, Martin Gainty <[EMAIL PROTECTED]> wrote:
> stax-api-1.0.1.jar is not in %AXIS2_HOME%/lib ?
> and stax-api-1.0.1.jar is not in %AXIS2_HOME%/modules/lib ?
>
> here is where I have my stax-api-1.0.1.jar for WL axis deployment..
> %WL_HOME%/samples/domains/axis/axisServer/.wlnotdelete/extract/AxisServer_uddi_uddi/jarfiles/WEB-INF/lib
>
> after stax is on CLASSPATH you'll want to recycle weblogic
>
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
>> Date: Sat, 16 Aug 2008 17:52:40 -0400
>> From: [EMAIL PROTECTED]
>> To: [email protected]
>> Subject: Fwd: working with weblogic
>>
>> ---------- Forwarded message ----------
>> From: Steel City Phantom <[EMAIL PROTECTED]>
>> Date: Sat, Aug 16, 2008 at 5:51 PM
>> Subject: Re: working with weblogic
>> To: Martin Gainty <[EMAIL PROTECTED]>
>>
>>
>> ok,
>>
>> my problem isn't with xerces, its with stax. and how does a license
>> doc tell me the file that these config settings are supposed to go in?
>> im just trying to follow the directions on Axis's web site on how to
>> make this work, it just doesn't specify which config files to put
>> these dependency declarations in.
>>
>> On Fri, Aug 15, 2008 at 11:54 AM, Martin Gainty <[EMAIL PROTECTED]>
>> wrote:
>> > Hi pittsburgh
>> >
>> > take a look at this readme from weblogic:
>> > Xerces is included with WebLogic Server. Xerces is (c) 1999, The Apache
>> > Software Foundation. All rights reserved.
>> > The right to use and redistribute Xerces is granted to you by The Apache
>> > Software Foundation subject to the following restrictions: (1)
>> > Redistributions of source code must retain the above copyright notice,
>> > this
>> > list of conditions and the following disclaimer; (2) Redistributions in
>> > binary form must reproduce the above copyright notice, this list of
>> > conditions and the following disclaimer in the documentation and/or
>> > other
>> > materials provided with the distribution; (3) The end-user documentation
>> > included with the redistribution, if any, must include the following
>> > acknowledgment: "This product includes software developed by the Apache
>> > Software Foundation (http://www.apache.org/)." Alternately, this
>> > acknowledgment may appear in the software itself, if and wherever such
>> > third-party acknowledgments normally appear.
>> >
>> > xalan
>> > %% The following software may be included in this product: Xalan J2;
>> > which you can d/l at
>> > http://xml.apache.org/xalan-j/index.html
>> >
>> > assuming you start WL with %WL_HOME%/Jrockit I would make sure xalan is
>> > on
>> > system classpath before starting Jrockit JVM
>> >
>> > HTH/
>> > Martin
>> > ______________________________________________
>> > Disclaimer and confidentiality note
>> > Everything in this e-mail and any attachments relates to the official
>> > business of Sender. This transmission is of a confidential nature and
>> > Sender
>> > does not endorse distribution to any party other than intended
>> > recipient.
>> > Sender does not necessarily endorse content contained within this
>> > transmission.
>> >
>> >
>> >> Date: Fri, 15 Aug 2008 10:52:22 -0400
>> >> From: [EMAIL PROTECTED]
>> >> To: [email protected]
>> >> Subject: working with weblogic
>> >>
>> >> im trying to get axis to work with weblogic, im getting the famous
>> >> class loader issues when i package it into an ear file. i found in
>> >> the documentation that i have to add this to the configuration
>> >>
>> >> <dependency>
>> >> <groupId>xerces</groupId>
>> >> <artifactId>xerces</artifactId>
>> >> <version>2.8.1</version>
>> >> </dependency>
>> >> <dependency>
>> >> <groupId>xalan</groupId>
>> >> <artifactId>xalan</artifactId>
>> >> <version>2.7.0</version>
>> >> </dependency>
>> >> <dependency>
>> >> <groupId>xml-apis</groupId>
>> >> <artifactId>xml-apis</artifactId>
>> >> <version>1.3.03</version>
>> >> </dependency>
>> >> <dependency>
>> >> <groupId>stax-api</groupId>
>> >> <artifactId>stax-api</artifactId>
>> >> <version>1.0.1</version>
>> >> </dependency>
>> >>
>> >> would someone please tell me what file thats supposed to go in?
>> >>
>> >> thanks
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >
>> > ________________________________
>> > Talk to your Yahoo! Friends via Windows Live Messenger. Find Out How
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
> ________________________________
> See what people are saying about Windows Live. Check out featured posts.
> Check It Out!

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

Reply via email to