aspose file tools*
The moose likes Websphere and the fly likes WAR module cannot start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAR module cannot start" Watch "WAR module cannot start" New topic
Author

WAR module cannot start

Hernán Quevedo
Ranch Hand

Joined: Mar 18, 2009
Posts: 31
Hi.

I'm having this problem out of the blew: WebGroup has not been defined.

The thing is the WAR module doesn't start and the app stops.

I have no clue whatsoever.

Any help?
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

Is this a production/sandbox WebSphere environment, or is this a Test Environment embedded in Rational Application Developer?

The log files should show some information about trying to load the project, and then, after some type of problem, unloading of the application.

Sometimes another application might have some type of conflict, especially if you've renamed the war but have not changed any context-root paths or anything like that.

How are you performing the deployment? Are you using a JACL or Python script, or are you doing a manual deploy to the WebSphere Application Server?

-Cameron McKenzie
Hernán Quevedo
Ranch Hand

Joined: Mar 18, 2009
Posts: 31
Hey.

I'm working on RAD 7.0 and WAS Express Test Environment 5.1 and deploying an EAR file by right-clicking on the project and "Run On Server".
I don't remember where those log files were.

Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

The log should just show up in the console.

If you right-click on the Server you can bring up the admin console. Bring up the admin console and look for the Applications link and look at the various projects that have been deployed. Undeploy any projects that you have previously deployed. Don't get rid of the admin console! But if you see any of your old project, or current one, on the server, delete them.

Save the changes after the delete, and restart the server. Then, try to redeploy and see what happens.

Just an idea, but it's worked for me in the past. I would keep an eye out for those log files. There's got to be some type of information being logged when either it doesn't deploy, or undeploys.

-Cameron McKenzie
Hernán Quevedo
Ranch Hand

Joined: Mar 18, 2009
Posts: 31
Hey.

I'm doomed.
This is the only project deployed on the server, for sure, plus, the 9090/admin is not an available option when righ-clicking the server.
The logs in the console are so poor and mediocre. It just tells me that some reference ResourceRef on the deployment descriptor is not found. I guess is talking about the ibm-web-bnd.xmi file but nothing seems off about that file.

Goddamn websphere.
Duc Vo
Ranch Hand

Joined: Nov 20, 2008
Posts: 254
Um, if you can't see the admin console, how do you know that it is the only project?
try this link
http://localhost:9060/admin

Also, the option on right click is "Run administrative console" not 9090/admin and the port for admin console is not 9090 but 9060.

By the way the ResourceRef is referring to some resource on the server that you have not set up. Check the details of resource-ref in your web.xml file, and add the appropriate resource to the server using the "administrative console" as mention above.


“Everything should be as simple as it is, but not simpler.” Albert Einstein
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

There's a chance that the admin console is running on a different port.

Do a netstat -a on the command line, and look for any open ports in the 9060 or 9080 range. Just an idea.

-Cameron McKenzie
Hernán Quevedo
Ranch Hand

Joined: Mar 18, 2009
Posts: 31
I swear, is the only one.

Anyway, I got it. It's quite silly, actuallly. I'm kind of embarrased. It turns out I was trying to access to the app through a server which didn't have any libraries in it. By clicking on the server I finally figured out that it was pointing to another path, express5.1 on runtimes folder, and I was trying to access to the test 5.1.

Wow...

Thanks a lot.
 
 
subject: WAR module cannot start
 
Similar Threads
Deploying My project in Jboss server
Loading sequence of the different modules in an EAR....?
If I have a module that has a custom Requestprocessor.
Call EJB3.1 using Local interface
New threads in J2EE application