- This topic has 18 replies, 6 voices, and was last updated 18 years, 12 months ago by Riyad Kalla.
-
AuthorPosts
-
Enrique MotaMember@support-scott wrote:
Jim,
I then check the appserver directory and see the following:
1) the app I installed using websphere’s admin console:
appserver\installedApps\WS_Server\HelloWord.ear\HelloWorld.war\
2) the app deployed using MyEclipse:
appserver\installedApps\WS_Server\HellowWorld.warThis is because you’re deploying a WAR and when you go through the websphere admin console it automatically wraps the war in an ear. In order to get the two to match, you need to create an EAR to wrap your web project and then deploy that throught the admin console as a packaged archive. Once that’s done, you can then deploy the EAR in exploded format to overwrite the original while you develop it.
In addition I’m not able to start websphere using ME. After about 10 minutes the following is the last line in the output console:
[Loaded com.ibm.ws.webcontainer.httpsession.SessionContext$2]You need to remember that what is shown in the console is not the complete WebSphere log, so the server may have started just fine. Did you test it? The best approach is to set logging to go to the console and you can see how to do that in this brief tutorial:
http://www.myeclipseide.com/Articles/WebSphere5.1LogConfiguration/WAS5.1LogConfiguration.htmlHi,
I am using Eclipse SDK 3.1.1, myEclipse 4.0.3 and WebSphere 5.0
I have been experienced the same problem as Jim:
When I deploy my app with the admin console, WS creates a *.ear directory, in my case:C:\Program Files\WebSphere\AppServer\installedApps\spmapre7014\airedev.war.ear\airedev.war
but when trying to configure the WS connector in myeclipse I get following deployment location path:
C:\Program Files\WebSphere\AppServer\installedApps\spmapre7014\airedev.war
I have read in the Milestone 2 the deployment location path will be configurable. Until it is available, I would like to deploy my application as a packaged archive, so I guess both paths will be the same:
C:\Program Files\WebSphere\AppServer\installedApps\spmapre7014\airedev.war
Does anyone know how to proceed to deploy as a packaged archive with the admin console of WS?
Thank you very much in advance.
Regards,
jaime
Riyad KallaMemberI have read in the Milestone 2 the deployment location path will be configurable. Until it is available, I would like to deploy my application as a packaged archive, so I guess both paths will be the same:
It is already customizable, just select a “Custom Location” deployment type when you are creating it.
Does anyone know how to proceed to deploy as a packaged archive with the admin console of WS?
Check our our WS 6.0 guide here for help, I imagine it’s somewhat similar: http://www.myeclipseide.com/images/tutorials/quickstarts/websphere6/
Enrique MotaMemberHi,
thank you very much. I hadn´t thought about the “Custom Location…” option. Now it works fine!
Again thank you very much, also for your quick answer.
Regards,
jaime
Riyad KallaMemberGlad it’s working.
-
AuthorPosts