Tuesday 26 April 05
Having a complete nightmare trying to call the CopperCoreAdmin service properly – as I think this is the cause of the problem where the SLeD palyer doesn’t work with the most recent version of CopperCore (v2.2.2). At first I thought the problem was with the fact that the admin service is returning and array of java objects, but I’ve now got that part resolved (it turned out to actually be just the way I was calling the service).
I could then create a normal java app on my local PC which called the CopperCoreAdmin service and return results. but my next problem is that when i try to create a simple servlet (to achieve the same thing) and run this on the CopperCore server I get errors in the JBoss console when I start it up. I’m not sure if this is to do with the fact that the consumer part is running on the same server as the service provider – so there are conflicting copies of the java objects – the original ‘proper’ object from the CopperCore app and another in the service consumer .war file – or that there is something else that I’m missing!
I did try to remove the possibly conflicting classes from my .war file, which meant that JBoss was starting up ok with no errors, but when I go to the servlet in my web browser, I just get and instantiation exception……










