• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WAR module cannot start

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Cameron Wallace McKenzie
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
She'll be back. I'm just gonna wait here. With this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic