File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Error while deploying Maven generated war. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Error while deploying Maven generated war. " Watch "Error while deploying Maven generated war. " New topic
Author

Error while deploying Maven generated war.

Raghu Sha
Ranch Hand

Joined: Feb 02, 2013
Posts: 122
In weblogic 12c, while deploying maven generated war give below exception.
Newly created domain also giving same exception.

Unable to access the selected application
Exception in AppMerge flow's progression
HTTP:101380 More than one web fragments with the same name:"spring_web"

But exported as war from eclipse no deployment issue.
anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

Below is description from Oracle website:

BEA-101380: More than one web fragments with the same name: "{0}".
Cause: More than one web fragments with the same name.
Action: Change one or more web fragment names to avoid the conflict.

Level: 1

Type: ERROR

Impact: HTTP

There could be a conflict in the web fragment name.

Regards,
Anandraj

Regards,
Anandraj
http://weblogic-wonders.com
Follow us on facebook:
https://www.facebook.com/weblogicwonders
Raghu Sha
Ranch Hand

Joined: Feb 02, 2013
Posts: 122
Thanks.

How to change & set web fragment name?
Dmytro Lastname
Greenhorn

Joined: Sep 02, 2013
Posts: 3
anandraj tadkal wrote:Below is description from Oracle website:

BEA-101380: More than one web fragments with the same name: "{0}"
....
There could be a conflict in the web fragment name.

Regards,
Anandraj


Quite useless reply, heh.
I have found it happens to me if I build war with 1.7 JDK. Return to 1.6 helps. You may have to rebuild/re/install maven if you have 1.7 binary distribution.

Hope it helps,
Dmytro
Raghu Sha
Ranch Hand

Joined: Feb 02, 2013
Posts: 122
@Dmytro,

No luck. I did all the way you specified and deleted all the domains and created new one. Using 1.6 only for comiplation and same 1.6 also configured in eclipse & weblogic domain



Any other possbile solutions?
Dmytro Lastname
Greenhorn

Joined: Sep 02, 2013
Posts: 3
Raghu Sha wrote:@Dmytro,

No luck. I did all the way you specified and deleted all the domains and created new one. Using 1.6 only for comiplation and same 1.6 also configured in eclipse & weblogic domain



Any other possbile solutions?


Does it mean you did rebuild with the same JDK? BTW, compilation phase is not important in this case.
What does your `mvn -version` return?
Raghu Sha
Ranch Hand

Joined: Feb 02, 2013
Posts: 122
Rebuild using same JDK only.

Dmytro Lastname
Greenhorn

Joined: Sep 02, 2013
Posts: 3
I'm using:

and

for deployment.
Raghu Sha
Ranch Hand

Joined: Feb 02, 2013
Posts: 122
I am using
Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28 07:45:3
2+0530)

changed
To

As usual deleted tmp & cache in server and clean & rebuild.

Still same issue persists.
Raghu Sha
Ranch Hand

Joined: Feb 02, 2013
Posts: 122
Is there is any other way to deploy the war to eliminate the above issue.? I used admin console for deployment.
need to change anything in settings.xml of maven?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while deploying Maven generated war.