Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Publish to WebSphere6 fails due to backslash in directory name within WAR
Publish to WebSphere6 fails due to backslash in directory name within WAR [message #177880] Fri, 25 August 2006 14:09 Go to next message
Marko Topolnik is currently offline Marko TopolnikFriend
Messages: 42
Registered: July 2009
Member
I use WTP 1.5.0 with WebSphere 6. I have trouble deploying my application
due to the following: in the WAR within the EAR, the names of the
directories are, literally, \META-INF and \WEB-INF -- they start with a
backslash! If I correct this, the resulting EAR deploys and runs with no
problems. Am I doing something fundamentally wrong, since this looks like a
very basic and generic problem? What can be done?


Marko Topolnik
CROZ, Zagreb (Croatia)
Re: Publish to WebSphere6 fails due to backslash in directory name within WAR [message #177898 is a reply to message #177880] Fri, 25 August 2006 14:28 Go to previous message
Marko Topolnik is currently offline Marko TopolnikFriend
Messages: 42
Registered: July 2009
Member
(Quoting myself...)
>I use WTP 1.5.0 with WebSphere 6. I have trouble deploying my application
>due to the following: in the WAR within the EAR, the names of the
>directories are, literally, \META-INF and \WEB-INF -- they start with a
>backslash! If I correct this, the resulting EAR deploys and runs with no
>problems. Am I doing something fundamentally wrong, since this looks like a
>very basic and generic problem? What can be done?

Let me be more specific: I've got a Dynamic Web Project and a corresponding
Enterprise Application Project. When I select "Run As | Run on Server" in
the context menu of the Dynamic Web Project, an EAR is generated in
..metadata/.plugins/org.eclipse.wst.server.core/tmp1. This EAR is corrupted
as explained above. The error message I get from WebSphere in Console View
is

com.ibm.etools.j2ee.commonarchivecore.exception.DeploymentDe scriptorLoadException:
IWAE0022E Exception occurred loading deployment descriptor for module
"MyWebApp.war" in EAR file "D:\Temp\app34442.ear"

(WebSphere obviously copied the EAR into my TEMP directory prior to opening
it)

The above mentioned directory (...tmp1) also contains the uncompressed
contents of the WAR and EAR. So, I recreate the EAR using a plain ZIP
archiver and manually deploy it using the command-line tool wsadmin, copying
from the console log the exact command that WTP used on it:

$AdminApp install
..../.metadata/.plugins/org.eclipse.wst.server.core/tmp1/MyW ebAppEAR.ear
{-appname MyWebAppEAR -deployejb -usedefaultbindings}

After that, the application runs fine.

Marko Topolnik
CROZ, Zagreb (Croatia)
Previous Topic:Can a bottom up web service be created from an interface definition ?
Next Topic:Axis fails randomly, intermittently
Goto Forum:
  


Current Time: Thu Apr 25 04:43:02 GMT 2024

Powered by FUDForum. Page generated in 0.02442 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top