| Author |
Exception while deploying web services
|
Saathvik Reddy
Ranch Hand
Joined: Jun 03, 2005
Posts: 228
|
|
Hi, I have deployed a POJO style webservice in JBoss 5.0.0GA. I am trying to call this webservice from a servlet. When the .ear file is deployed i get this exception:
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8146
|
|
|
Are you packaging any jar files which contain the org.apache.xerces.* package or other xml parsing package? If yes, then try removing those jars from your application and deploy it again.
|
[My Blog] [JavaRanch Journal]
|
 |
Saathvik Reddy
Ranch Hand
Joined: Jun 03, 2005
Posts: 228
|
|
Originally posted by Jaikiran Pai: Are you packaging any jar files which contain the org.apache.xerces.* package or other xml parsing package? If yes, then try removing those jars from your application and deploy it again.
I'll give it a try!
|
 |
Saathvik Reddy
Ranch Hand
Joined: Jun 03, 2005
Posts: 228
|
|
Originally posted by Jaikiran Pai: Are you packaging any jar files which contain the org.apache.xerces.* package or other xml parsing package? If yes, then try removing those jars from your application and deploy it again.
I removed the packages and got rid of the error i was getting. I am using JBoss 5.0.0GA and trying to inject @PersitenceContext in my POJO style web service. Is POJO style web service a managed object? If no how to inject @PersistenceContext? Thanks, Srikanth. [ December 09, 2008: Message edited by: Srikanth Reddy ]
|
 |
Saathvik Reddy
Ranch Hand
Joined: Jun 03, 2005
Posts: 228
|
|
|
could anyone please help me out!
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8146
|
|
|
Having never worked with POJO webservices, i am not quite sure whether they will be scanned for injection.
|
 |
 |
|
|
subject: Exception while deploying web services
|
|
|