Re: WebServiceContext violates loader constraints

2008-02-29 Thread Daniel Kulp
On Thursday 28 February 2008, Daniel Lipofsky wrote:
 Well, I still can't figure out what changed.
 But JBoss does include that class in jboss-jaxws.jar.
 Removing the CXF version (jaxws-api-2.0.jar) from
 my install solved the problem.

 Is there a list of JARs to avoid for a JBoss install?
 I would suspect most of the API-type JARs would be
 duplicated in JBoss.

We have a page for App server integration issues at:
http://cwiki.apache.org/CXF20DOC/appserverguide.html
For JBoss, I think it says to muck with classloader config wrather than 
deleting jars.   Either way probably works though.

Dan




 Thanks,
 Dan

  -Original Message-
  From: Daniel Kulp [mailto:[EMAIL PROTECTED]
  Sent: Thursday, February 28, 2008 2:03 PM
  To: cxf-user@incubator.apache.org
  Cc: Daniel Lipofsky
  Subject: Re: WebServiceContext violates loader constraints
 
 
  Looks like there are two different jaxws-api jars being picked up
  somehow.That's definitely what I'd check for.
 
  Not sure why it would start happening today unles you are on a 2.1
  snapshot using maven or something.   I did a deploy with some
  updated WebServiceContext injection code this morning.   That
  definitely wouldn't affect 2.0.4 though.
 
  Dan
 
  On Thursday 28 February 2008, Daniel Lipofsky wrote:
   Suddenly I am getting this error:
  
   2008-02-28 13:47:02,631 ERROR [STDERR] - Feb 28, 2008 1:47:02 PM
   org.apache.cxf.phase.PhaseInterceptorChain doIntercept
   INFO: Application has thrown exception, unwinding now: Class
   javax/xml/ws/WebServiceContext violates loader constraints
  
   It was working fine yesterday, I don't know why it would
 
  have changed
 
   (I am changing lots of things but nothing that seems relevant)
  
   I know this often has to do with the same class in
   multiple JARs.  But I removed the JARs that came with
   CXF from the EAR level, they are now only in the WAR,
   and that didn't solve it.
  
   Any ideas?  I am on JBoss 4.2.2, JDK 1.5.0, CXF 2.0.4.
  
   Thanks,
   Dan
 
  --
  J. Daniel Kulp
  Principal Engineer, IONA
  [EMAIL PROTECTED]
  http://www.dankulp.com/blog



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog


RE: WebServiceContext violates loader constraints

2008-02-29 Thread Daniel Lipofsky
 

On Friday February 29, 2008 Daniel Kulp wrote: 
 
 On Thursday 28 February 2008, Daniel Lipofsky wrote:
  Well, I still can't figure out what changed.
  But JBoss does include that class in jboss-jaxws.jar.
  Removing the CXF version (jaxws-api-2.0.jar) from
  my install solved the problem.
 
  Is there a list of JARs to avoid for a JBoss install?
  I would suspect most of the API-type JARs would be
  duplicated in JBoss.
 
 We have a page for App server integration issues at:
 http://cwiki.apache.org/CXF20DOC/appserverguide.html
 For JBoss, I think it says to muck with classloader config 
 wrather than 
 deleting jars.   Either way probably works though.

Ah, I read that a few weeks ago.
I haven't tried that yet with CXF.
I tried it last month when I was trying to get Glue to
work with JBoss (it doesn't) and I had really bad
results, it did stop rejecting the Glue supplied classes
but all the other components broke.  Maybe I just don't
know how to do it properly, but I will stick with trying
to delete conflicting JARs for now.

Thanks,
Dan


WebServiceContext violates loader constraints

2008-02-28 Thread Daniel Lipofsky
Suddenly I am getting this error:

2008-02-28 13:47:02,631 ERROR [STDERR] - Feb 28, 2008 1:47:02 PM
org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Application has thrown exception, unwinding now: Class
javax/xml/ws/WebServiceContext violates loader constraints

It was working fine yesterday, I don't know why it would have changed
(I am changing lots of things but nothing that seems relevant)

I know this often has to do with the same class in
multiple JARs.  But I removed the JARs that came with
CXF from the EAR level, they are now only in the WAR,
and that didn't solve it.

Any ideas?  I am on JBoss 4.2.2, JDK 1.5.0, CXF 2.0.4.

Thanks,
Dan


Re: WebServiceContext violates loader constraints

2008-02-28 Thread Daniel Kulp

Looks like there are two different jaxws-api jars being picked up 
somehow.That's definitely what I'd check for.

Not sure why it would start happening today unles you are on a 2.1 
snapshot using maven or something.   I did a deploy with some updated 
WebServiceContext injection code this morning.   That definitely 
wouldn't affect 2.0.4 though.

Dan



On Thursday 28 February 2008, Daniel Lipofsky wrote:
 Suddenly I am getting this error:

 2008-02-28 13:47:02,631 ERROR [STDERR] - Feb 28, 2008 1:47:02 PM
 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
 INFO: Application has thrown exception, unwinding now: Class
 javax/xml/ws/WebServiceContext violates loader constraints

 It was working fine yesterday, I don't know why it would have changed
 (I am changing lots of things but nothing that seems relevant)

 I know this often has to do with the same class in
 multiple JARs.  But I removed the JARs that came with
 CXF from the EAR level, they are now only in the WAR,
 and that didn't solve it.

 Any ideas?  I am on JBoss 4.2.2, JDK 1.5.0, CXF 2.0.4.

 Thanks,
 Dan



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog


RE: WebServiceContext violates loader constraints

2008-02-28 Thread Daniel Lipofsky
Well, I still can't figure out what changed.
But JBoss does include that class in jboss-jaxws.jar.
Removing the CXF version (jaxws-api-2.0.jar) from
my install solved the problem.

Is there a list of JARs to avoid for a JBoss install?
I would suspect most of the API-type JARs would be
duplicated in JBoss.

Thanks,
Dan

 -Original Message-
 From: Daniel Kulp [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 28, 2008 2:03 PM
 To: cxf-user@incubator.apache.org
 Cc: Daniel Lipofsky
 Subject: Re: WebServiceContext violates loader constraints
 
 
 Looks like there are two different jaxws-api jars being picked up 
 somehow.That's definitely what I'd check for.
 
 Not sure why it would start happening today unles you are on a 2.1 
 snapshot using maven or something.   I did a deploy with some updated 
 WebServiceContext injection code this morning.   That definitely 
 wouldn't affect 2.0.4 though.
 
 Dan
 
 
 
 On Thursday 28 February 2008, Daniel Lipofsky wrote:
  Suddenly I am getting this error:
 
  2008-02-28 13:47:02,631 ERROR [STDERR] - Feb 28, 2008 1:47:02 PM
  org.apache.cxf.phase.PhaseInterceptorChain doIntercept
  INFO: Application has thrown exception, unwinding now: Class
  javax/xml/ws/WebServiceContext violates loader constraints
 
  It was working fine yesterday, I don't know why it would 
 have changed
  (I am changing lots of things but nothing that seems relevant)
 
  I know this often has to do with the same class in
  multiple JARs.  But I removed the JARs that came with
  CXF from the EAR level, they are now only in the WAR,
  and that didn't solve it.
 
  Any ideas?  I am on JBoss 4.2.2, JDK 1.5.0, CXF 2.0.4.
 
  Thanks,
  Dan
 
 
 
 -- 
 J. Daniel Kulp
 Principal Engineer, IONA
 [EMAIL PROTECTED]
 http://www.dankulp.com/blog