You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Phil Burgin <Ph...@FSLimited.com> on 2006/02/17 14:12:04 UTC

RE: Two WSDD's one Orion instance?? Classload error?? - FIXED

Fixed, realized that the EAR files that I was releasing contained the
axis.jar. Moved this out of the ear to the Orion/Lib directory and then
the ClassLoader started working.

________________________________

From: Phil Burgin [mailto:PhilBurgin@FSLimited.com] 
Sent: 16 February 2006 12:40
To: axis-user@ws.apache.org
Subject: RE: Two WSDD's one Orion instance?? Classload error?? 


All,
 
After spending more time on this I've since discovered that the problem
doesn't seem to be in the Class Loader, it is infact that you just don't
seem to be able to run two applications using Axis on the same instance
of Orion Application Server. Is this correct? I can't see why this would
be a problem.
 
To prove this I've created two completly different example applications
and then deployed them to there own instance of Orion - Both work fine.
I then changed the setup so that they both got deployed to the same
instance of Orion. As before the first one works fine, the second one
fails. The actual web application and the EJB parts work fine its just
the Axis bit that doesn't work (same error as before).
 
Any ideas?
 
Thanks.
________________________________

From: Phil Burgin [mailto:PhilBurgin@FSLimited.com] 
Sent: 16 February 2006 11:02
To: axis-user@ws.apache.org
Subject: Two WSDD's one Orion instance?? Classload error?? 


Using: Axis 1.3, Orion 2.0.5, Java 1.4.1_02
 
Hi all,
 
I've been using Axis for the last couple of years very successfully,
using a simple setup of 3 Orion instances (LIVE || TEST || UAT). Due to
reasons out of my control the UAT and TEST enviroments are to be
combined so that there is only one instance of Orion. 
 
The problem is that when I run the orion instance everything seems well
and the UAT and TEST web sites work, when I go to sites wsdl's it all
looks fine and the webservices can be called. However when I then look
at the second sites wsdl's I get the error below. I beleive that what is
going on is that the classes defined in my WSDD are been loaded into the
same namespace by classloader, so the second site thinks it doesn't need
to load them. All the classes implement serializable (they don't have a
GID). I am really stuck with this, there must be something that I am
missing.
 
I've attached the WSDD to this email - The @SERVER-ADD@ and
@SERVER-BEAN@ are just values that are replaced by ANT at build time,
depending on whether its LIVE || TEST || UAT.
 
Here is the error I get:
org.apache.axis.InternalException:
org.apache.axis.ConfigurationException:
org.apache.axis.deployment.wsdd.WSDDException:
javax.xml.rpc.JAXRPCException: Null serializer factory specified.
javax.xml.rpc.JAXRPCException: Null serializer factory specified.
 
Thanks in advance,
 

Phil Burgin
T + 44 (0) 1423 532992 
F + 44 (0) 1423 709439 
E PhilBurgin@FSLimited.com <ma...@FSLimited.com>  
W www.FSLimited.com <http://www.fslimited.com/>  

 

The information in this email and any files transmitted with it are
confidential to the intended recipient at the e-mail address to which it
has been addressed. The e-mail may not be disclosed or used by any other
than the addressee, nor may it be copied in any way. If you have
received this message in error please notify the sender by e-mail
immediately and delete the message from your computer. Although this
email and any attachments are believed to be free of any virus, or any
other defect which might affect any computer or IT system into which
they are received and opened, it is the responsibility of the recipient
to ensure that they are virus free and no responsibility is accepted by
Field Solutions Ltd for any loss or damage arising in any way from
receipt or use thereof. FieldSolutions Ltd reserves the right to monitor
all email communications through its internal and external networks. 

Field Solutions Ltd Keepers Lodge Barrow Road Denham Bury St Edmunds
Suffolk IP29 5EQ