- This topic has 7 replies, 3 voices, and was last updated 13 years, 4 months ago by support-tony.
-
AuthorPosts
-
jamestthomasMemberWe have a Web and EAR project we have been porting from IBM tools. I wrote earlier because after first install the application ran fine, rpc web services ran but JAX_WS web services did not work. I finally decided to uninstall and re-install WebSphere. I then follwed the tutorial noted above. At this point we are running WebSphere 6.1.0.13 as per the tutorial. We need to get to 29 but I followed the tutorial closely to install everything to the best of my ability. Now, I can deploy our application and it says OK and is Exploded. However, when I start the server, it does not bring up our application. In looking at the Admin console I do NOT see our application in the Enterprise Applications window as installed. The database is connected. I have attached a portion of the deployment log which doesn’t seem correct and the console view of the application deployed. We are determined to switch to this tool for the future but I need to demonstrate the project as working. I had that, now with the server reload I get Virtual host to handle / has not been defined!! Thanks again
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorjamestthomas ,
Sorry that you are seeing this issue.
1) The application is not deployed due to issues with deployment descriptor. So an attempt to undeploy it throws error as it is not deployed successfully.
2) Can you recheck your web.xml for the <display-name> tag’s order ? The <display-name> tag should come before the <servlet-name> tag.
Ex : <servlet>
<display-name>test_displayname</display-name>
<servlet-name>test_name</servlet-name>
</servlet>3) In case you have a filter, or filter-mapping in your WAR’s deployment descriptor (web.xml), that would cause this problem. Also check for duplicate <welcome-file-list> element.
4) Take a look at this thread :
http://dev-answers.blogspot.com/2006/07/cant-deploy-war-on-websphere-6.htmlLet me know how this helps you.
jamestthomasMemberHello, I moved the display tags above the servlet name as you suggested. I also made a new profile to start with that. After I did that I get Error 404: No target Servlet configured – for some reason I think reloading websphere has somehow confused the environment and it is not reading the deployment descriptor. Short of drinking hemlock, I am going to try an entire new workspace. The tag order thing did not make sense to me since this application has been running 10 years with the web.xml as it was. I appreciate your help. We would like to call someone there for support. Is that possible? I believe your tool is terrific but there are configuration issues and the tutorials are very good – maybe you should have one on troubleshooting. This case might be a good one.
jamestthomasMemberMade progress – apparently what use to work for us is not valid. I corrected it and started to see some better messages. Deployment just got stuck, I finally had to shout down Eclipse. Will try again but I am getting closer. Thanks for the tip. Will report soon.
jamestthomasMemberNow that I have changed the web.xml and it is valid I have been trying to deploy the application. Deployment gets to a certain point
Deploying SupplierNetReleaseEar to WebSphere 6.1 [AppSrv02]: Application and module versions are validated with versions of deployment targets.I do not know how long it will stay stuck on that. I am doing an exploded deploy. I have tried several profiles. If I give up and close MEB, when I reopen I cannot deploy the application as an option yet it does not appear in servers. The deployment descriptor does not say much. As I wait, here is the deployment log attached.
Attachments:
You must be logged in to view attached files.
jamestthomasMemberThis can’t be too hard, I know I’m close. The app FINALLY said it was deployed. But when I started the server – the error was the same I got at the top of this thread. Can we get any technical assistance on the phone. I’m about ready to tell them to scrap this tool and go back to RAD. What a shame. Is there accelerated support? I’ll keep trying. Currently I do not see the application loaded under Enterprise Applications. I am deploying it packaged so I can try to install the ear I get, but I shouldn’t be going through this. Advice Please?
jamestthomasMemberHere is where everything stops from the console and the admin console perspective. Here I was trying to load the Ear file I created when deploying in package mode. Since it didn’t really install, I went into the console and attempted to load our EAR that way – just to see what might be wrong.
Attachments:
You must be logged in to view attached files.
support-tonyKeymasterJames,
I’m not clear on what you tried in that last post. If you didn’t try this, could you do so, as it may help discover what the problem is:
From the Websphere administrative console, ensure that the application is uninstalled, then delete the EAR from the installedapps directory.
Select the enterprise application project, right click and select Export, then select EAR file as the type of export and follow the wizard to export the EAR to somewhere in the file system.
Install the exported EAR from the Websphere administrative console.It looks like, from what you called the administrative console, that the application was successfully updated, so you may have tried this without first uninstalling it.
-
AuthorPosts