my dog learned polymorphism*
The moose likes Websphere and the fly likes Need to cleat the doubt about websphre Profile,Cell,Node and Servers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Need to cleat the doubt about websphre Profile,Cell,Node and Servers" Watch "Need to cleat the doubt about websphre Profile,Cell,Node and Servers" New topic
Author

Need to cleat the doubt about websphre Profile,Cell,Node and Servers

nand rai
Greenhorn

Joined: Feb 17, 2009
Posts: 27
Hi every one.

I am really confused the way i see the dir strcture for websphere.

What does under each profile where does my ear file really sits

I see dir structure lile this

Bin
config
etc
firstSteps
InstallbleApps
InstalledApps
InstalledConnectors
installedFilters
logs
Properties
samples
Temp
tranlog
wstemp


I see the my ear file is under Config/cells/cell/localhost/applications.


what is the default way of deploying,why it is setup like that. I thought in config directory, we should only have the configuration files.

Thanks
Nand
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Well, each cell has its own configuration, and each server/JVM can have its own configuration. And an EAR can be deployed to only certain cells or even certain servers. So, I guess it makes sense that the listing of the ear would go under the cell or server for which it is configured.

You're getting pretty deep into the plumbing of WebSphere as you dig in here. Most admins will never need to, nor should they, tinker directly with these files. Be careful in there. If there's a specific problem you're running into, let us know and perhaps we can figure out how to troubleshoot WebSphere without having to edit files directly.

-Cameron McKenzie
nand rai
Greenhorn

Joined: Feb 17, 2009
Posts: 27
Cameron Wallace McKenzie wrote:Well, each cell has its own configuration, and each server/JVM can have its own configuration. And an EAR can be deployed to only certain cells or even certain servers. So, I guess it makes sense that the listing of the ear would go under the cell or server for which it is configured.

You're getting pretty deep into the plumbing of WebSphere as you dig in here. Most admins will never need to, nor should they, tinker directly with these files. Be careful in there. If there's a specific problem you're running into, let us know and perhaps we can figure out how to troubleshoot WebSphere without having to edit files directly.

-Cameron McKenzie


The problem with project is we have so many applications and so many profiles. when ever switch between the projects my server never starts successfuuly.

One profile should not interfere with the other right.
(Datasource and security is always cause the problem)


can 2 differernt profiles can have server with name Server1?

and when i switch between the profiles i normally stop the server and only then move to new project.


Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

A server is just a JVM. In two different profiles, it can have the same name. But, they can't use any of the same ports, and they use LOTS of ports. Port conflicts are a very real problem in such a scenario.

-Cameron McKenzie
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need to cleat the doubt about websphre Profile,Cell,Node and Servers
 
Similar Threads
Hot deployment problem
Best way to place property file values in Webspehere
Server configuration
Packaging my J2EE APP
struts 2.1 config file location