prem lall

Greenhorn
+ Follow
since Jun 21, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by prem lall

You might want to start with the Embedded Messaging in WSAD 5.1.x. That way you can write some simple JMS point to point or pub/sub applications.

I would also be good to experiment with the JMSAdmin tool that comes with MQ. It is one way you can bind objects (QueueConnectionFactories, Topics, etc) in the JNDI namespace.

Look at these:

http://www-106.ibm.com/developerworks/ibm/library/i-jms2/
http://www-106.ibm.com/developerworks/websphere/library/techarticles/0307_wilkinson/wilkinson1.html


Cheers!
17 years ago
Hi,

You can enable basic security via security->global security.
The easiest way to get started with this is to use your local OS as your user registry. Enable security here and set your local OS as your Active User Registry. Note: WAS automatically enables J2EE Security as well. If this is checked, you may have to modify your java.policy file to avoid ecxeptions on server startup. You can also define your id as the security admin via Security->User Registry->Local OS.
Another thing you can do is define roles for various users via System Administration->User Roles. Make yourself an Administrator, and resrict access for other ids.
Using the Local OS is the most primitive security approach, but it will get you started. If you have J2EE security turned on, you can enable security roles and constraints in your enterprise applications.
see these links for more info:
http://www-106.ibm.com/developerworks/websphere/library/techarticles/0405_olivieri/0405_olivieri.html
http://www.findarticles.com/p/articles/mi_m0MLX/is_7_2/ai_107140365/pg_2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/tsec_useregistry.html

Cheers!
17 years ago
Hi,

I am trying to figure out how I can plug the common-httpclient 2.0 into axis 1.2 beta so that I can use it's cookie management abilities under the covers to manage my session id - using cookies is a limitation imposed upon us by our customer. I want to be able to view the session id that is sent to my client from the server within the commons-httpclient Cookie class

Could anyone point me to some sample code that illustrates this.
Thanks a lot
17 years ago
Hi,

Can't you just call Runtime.getRuntime().exec("ant -f build.xml")...

For the moreload of wsadmin examples, go to http://www-106.ibm.com/developerworks/websphere/library/samples/SampleScripts.html


For info about the WAS JMX based management interface, check out the series of articles written by Leigh Williamson and Co (He's the WAS JMX guru). I believe there are 6 parts in all each with sample code. Here is part 4: http://www-106.ibm.com/developerworks/websphere/techjournal/0304_williamson/williamson.html

Enjoy
17 years ago
or WSAD 5.x.....
18 years ago
Hi,
This exception seems to be root of your problem:
http://java.sun.com/j2se/1.3/docs/api/javax/naming/CommunicationException.html
This indicates that your naming service may be down or cant be reached..
Perhaps the url you are using to locate the JNDI name is incorrect. Make sure your admin server has been installed using the default port of 900.
18 years ago
try WebSphere Studio\runtimes\base_v5\lib\wsanttasks.jar
18 years ago
Thanks a lot for your response
My first response to this problem was indeed to either read the server group name from a file or from a system property. However as we are defining a system-oriented architecture, we want the capabilty to deploy/redeploy the services that make up our application without doing a build of our entire infrastructure or reploying all of our enterprise applications. We would like to use the server group name for dynamic discovery of configuration data for individual services at runtime.
There is no chance of our server edition changing in this release of our product as well.
Thanks.
18 years ago
Thanks a lot for your response!! I did come across this javadoc before, but unfortunately it does not have the WAS packages I need - the classes I need are in packages like com.ibm.websphere.runtime, com.ibm.ws.runtime, com.ibm.ejs.sm.beans (these packages are in runtime.jar, repository.jar, ws-base-config.jar, etc). The ones listed on this site deal mostly with web services support and http-related function.
If you know of any other sites, please let me know.
Thanks again for your help!!
18 years ago
Hi,
I really need help to resolve the problem I wrote about below. If anyone out there has any advise, please let me know.
Thanks a lot!!!
-----------------------------------------------------------------------
Hi Guys,
I was wondering if anyone knew of an Websphere API in WAS 4.0.x that I could
call from a web application that would give me the name of the Server Group
were the application is deployed - the web application is deployed on a
server group with a clone. I am able to use classes like
com.ibm.websphere.runtime.ServerName to get information about the clone
(it's name, id, etc). But I don't know how to get this same info for the
ServerGroup.
I would greatly appreciate any help anyone could offer me - A javadoc of the
WAS 4.0.x APIs would be especially helpful (I am an IBMer, so I can get to
internal websites too).
Thanks a lot!
18 years ago
Hi Guys,
I was wondering if anyone new of an Websphere API in WAS 4.0.x that I could
call from a web application that would give me the name of the Server Group
were the application is deployed - the web application is deployed on a
server group with a clone. I am able to use classes like
com.ibm.websphere.runtime.ServerName to get information about the clone
(it's name, id, etc). But I don't know how to get this info for the
ServerGroup.
I would greatly appreciate any help anyone could offer me - A javadoc of the
WAS APIs would be especially helpful (I am an IBMer, so I can get to
internal websites too).
Thanks a lot!
18 years ago
Hi,
I am trying to implement a workflow manager as a stateless session bean on WAS 4.0.x. When accessed from a client, a method of this EJB reads an XML document, and traverses a workflow. The activities in this flow consist of web services that perform various tasks. Once the flow has been executed, control is returned to the EJB method - esentially, the EJB method acts as a long running task. However at this point a CORBA NO RESONSE exception occurs on the client side. I know there is a timeout value for the Java ORB in WAS, but it is not recommended that this be changed.
I would be most grateful for any input anyone could provide
Hi,
I am trying to implement a workflow manager as a stateless session bean on WAS 4.0.x. When accessed from a client, a method of this EJB reads an XML document, and traverses a workflow. The activities in this flow consist of web services that perform various tasks. Once the flow has been executed, control is returned to the EJB method - esentially, the EJB method acts as a long running task. However at this point a CORBA NO RESONSE exception occurs on the client side. I know there is a timeout value for the Java ORB in WAS, but it is not recommended that this be changed.
I would be most grateful for any input anyone could provide
Thanks a lot
As Eclipse was original developed by IBM, what are the advatages of using WSAD over Eclipse.
Hi,
I am currently using XMLConfig to do the following in WAS 4.0.6:
1) create empty server groups
2) create clones on various nodes from these server groups
I can perform both of these steps using XMLConfig with appropriate xml files. However, I do not seem to be able to start up individual clones via XMLConfig w/o starting up the entire group (when I do try to start individual ones, I get an error saying that only create and update are supported for clones). I know that you can start individual clones from the admin console without starting up the entire group..
I would appreciate any help anyone could offer me.
Thanks a lot
18 years ago