mahadevan raja

Ranch Hand
+ Follow
since Apr 11, 2001
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 mahadevan raja

Hi ,
Is there any other tool apart from the updateSilent.sh which would list me all the fixpacks and fixes installed in a cell.

Is there any possibility to run this tool from one box in a domain, and get info of all the cells in that particular domain.

Please update me on the same.

WAS5.0.2.6 and WDM5026 are the WAS and WDM versions we are using.

Thanks and Regards
Mahadevan.R
16 years ago
Hi,
I have WAS5.0.2.6 and WPS5.0.2. Both WDM and WAS are on the same AIX box
I have the JMS Server link in my DM Admin console and also have a jmsserver.
But when i try to start this jmsserver it gives me the following excepiton.

[7/13/05 21:41:38:907 EDT] 5ec3611f QueueManagerM E MSGS0153E: The Queue Manager process strmqm could not be started - error: com.ibm.ws.proce
ss.exception.InvalidExecutableException: Error creating new process. 013: Permission denied
[7/13/05 21:41:39:180 EDT] 5ec3611f JMSService E MSGS0001E: Starting the JMS Server failed with exception: com.ibm.ws.process.exception.Inv
alidExecutableException: Error creating new process. 013: Permission denied
at com.ibm.ws.process.UnixProcessGlue.create(Native Method)
at com.ibm.ws.process.UnixProcessImpl.create(UnixProcessImpl.java:81)
at com.ibm.ws.process.ProcessFactory.create(Unknown Source)
at com.ibm.ws.messaging.QueueManagerManager.startQueueManager(QueueManagerManager.java:363)
at com.ibm.ws.messaging.JMSEmbeddedProviderImpl.start(JMSEmbeddedProviderImpl.java:182)
at com.ibm.ws.messaging.JMSService.start(JMSService.java:288)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)

[7/13/05 21:41:39:777 EDT] 5ec3611f JMSEmbeddedPr A MSGS0056I: Stopping the Queue Manager
[7/13/05 21:41:39:792 EDT] 5ec3611f JMSEmbeddedPr A MSGS0057I: Queue Manager is stopped
[7/13/05 21:41:40:391 EDT] 5ec3611f WsServer E WSVR0003E: Server jmsserver failed to start
com.ibm.ws.exception.RuntimeError: MSGS0001E: Starting the JMS Server failed with exception: com.ibm.ws.process.exception.InvalidExecutableExc
eption: Error creating new process. 013: Permission denied
at com.ibm.ws.messaging.JMSService.start(JMSService.java:299)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.Method.invoke(Native Method)



I have googled the above stuff, and have done what all the IBM Infocenter has mentioned. I mean the mqm and mqbrkrs access, for the non root user.
Can anybody help me out.
On a different development linux box, i have a the JMSServer link on the left frame, but dont have a "jmsserver" in the right window, when i click on JMSServer link at all.
Does it mean that i have not installed Embedded Messaging in my WDM and i need to install that.
Please help me out on the same.
Regards
Mahadevan.R
16 years ago
Hi Experts,
We have a procedure with 3 in parameter. The parameter p3 has got multipule value, we select the values from application,

create procedure proc_A(p1 IN integer,p2 IN integer,p3 IN varchar)
declare
a integer;
b varchar2(4000);
begin
b := replace('a|b|c|d',|',''', '''); -- where p3 is 'a|b|c|d'
b := chr(39) || b || chr(39); -- where b will be having value of p3 in formated mulitple entry ('a', 'b', 'c', 'd')
insert into taba(c1,c2,c3) select a,c,x from tabb where tabb.x in ( b) -- since b will be ('a', 'b', 'c', 'd') like list of values, this is the place where we find difficulty.
end;
/

The table tabb has values:

select x from tabb;
a
b
c
d
e
f

Our problem is that when i execute the procedure it doesn't insert any records into the table taba when you pass p3 parameter as 'a|b|c|d'.
Instead of passing the parameter p3 as formated b, if i do hard code value in the place of insert query in the procedure, it executes perfectly, but requirement is such that, the user select the list of values where we cannot define the values what he/she going to select.

insert into taba(c1,c2,c3) select a,c from tabb where tabb.x in ( 'a', 'b', 'c', 'd' )

we pass parameter from application to this procedure and the parameter p3 is multipe selection in application

execute proc_A(5,1,'a|b|c|d')

it executes successfully without any insert. We found out the difficulties but unable to solve the same.
the difficulty is that in insert statement it takes the full p3 parameter value as single value, instead of considering as list of values.

Do require your suggestion to solve this issue
17 years ago
hi santy stud,
thanx a lot for ur idea...i have done that..lets c if i get a reply or not
18 years ago
Can anybody tell me how i shud read the xml file generated using the xmlaccess utility in portal server.
I need to fetch the "handle" attribute's value and for that particular handle value...have to update another attribute.....and import this new xml file configuration to the same portal server...
Please throw some lite on this.
18 years ago
Hi all,
Can any one tell me how i can get the concrete portlet instance of a portlet.
i.e.i wud install a single portlet,but wud use n number of instances of this portlet.
I need a method by which i can get the concrete portlet instance.
I tried the ProxyPortlet class,which has a protected method getCPiid();
the problem is whenver my portlet extends this ProxyPortlet,it does not go into doView at all..it just goes to the init...but when my class extends the PortletAdapter class,it goes to the doView(),can nebody help me out in this.
TIA
18 years ago
hi all,
We r working on WAS 4.0 Advanced Edition,FP2..on WIN 2000 ..Advanced Server..The WAS repository is on a remote database...DB2 V7.2 Fixpak 7.
We are facing an error during start up..
The system log says "Service specific error 10" and the application log says
"The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: IBM WS AdminServer 4.0 status: 997 Unable to start WebSphere Administration Server in 3 tries, service exiting."
Please help us solving the problem..I am stuck..
I am getting this exception
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: com/ibm/ejs/models/base/resources/gen/URLProviderGen
at com.ibm.ws.runtime.Server.<init>(Server.java:156)
at com.ibm.ejs.sm.server.ManagedServer.<init>(ManagedServer.java:280)
at com.ibm.ejs.sm.server.AdminServer.<init>(AdminServer.java:492)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:386)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: com/ibm/ejs/models/base/resources/gen/URLProviderGen
at com.ibm.ws.runtime.Server.<init>(Server.java:156)
at com.ibm.ejs.sm.server.ManagedServer.<init>(ManagedServer.java:280)
at com.ibm.ejs.sm.server.AdminServer.<init>(AdminServer.java:492)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:386)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: com/ibm/ejs/models/base/resources/gen/URLProviderGen
at com.ibm.ws.runtime.Server.<init>(Server.java:156)
at com.ibm.ejs.sm.server.ManagedServer.<init>(ManagedServer.java:280)
at com.ibm.ejs.sm.server.AdminServer.<init>(AdminServer.java:492)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:386)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
TIA
[ February 20, 2003: Message edited by: mahadevan raja ]
18 years ago
hi all,
already i had posted a query regdg mqseries and integration with erp/legacy systems.but no reply.forget it.
i came to know that u need to install mqseries adapter builder and mqseries adapter kernel for that.
i dont know where to get this software from,is it downloadable.
does it come with integrator or broker.
plz give me some hint so that i can proceed further.
thanx in advance.
bye.
19 years ago
hi all,
i have a scenario in which my web application has to finally connect to a legacy system.what r the steps to be followed for doing this.
i have a plan of using mqseries and not j2c,where can i find the docs.reply asap.
plz give me the steps to be followed.
i read in a doc that u need to install the mqseries adapter for that.
doesnt that come along with mqseries5.2.rpely.
19 years ago
hi all,
i have a major problem,I have implemented JMS in Websphere 4.0.2,The JMS Provider is the IBM MQSeries v5.2.
Everything is working fine.On running the jsp in which i have used the MQSeries classes for JMS,the message is put to the corresponding queue,based on the JNDI references and lookups.Forget it.
Now i have a doubt.Why shud i use this JMS,when i can do the same thing using MQBase Java,even using this i can put or get message into a remote or local queue.
Why shud i go for such a complex procedure of creating a resource reference in AAT,mapping it,and all those stuffs.
I dont understand,
Cud anyone plz explain y JMS is given so much importance.
I know that WAS4.0 follows the J2ee standards,and thus according to the standard,v use JMS,but what is the exact technical reason.
Plz help me.
Thanx in advance.
bye
19 years ago
hi all,
initially i had successfully configured jms using was4.0.2 and mqseries 5.2 and mqseries classes for jms v1.1.
now i am facing a new problem,i am not able to open the jmsadmin tool itself,
it gives me the following in the trace file.
main problem is that it is giving
Unsupported Jndi provider
com.ibm.websphere.naming.WsnInitialContextFactory


05:51:54 [1028031714262] [main] com.ibm.mq.jms.admin.JMSAdmin::main() == entry
05:51:54 [1028031714262] [main] com.ibm.mq.jms.admin.JMSAdmin Trace started from main by -t flag
05:51:54 [1028031714262] [main] com.ibm.mq.jms.admin.JMSAdmin@581481b7 == constructor() entry
05:51:54 [1028031714262] [main] com.ibm.mq.jms.admin.JMSAdmin@581481b7 == loadConfig() entry
05:51:54 [1028031714272] [main] com.ibm.mq.jms.admin.JMSAdmin@581481b7 == loadConfig() exit
05:51:54 [1028031714282] [main] com.ibm.mq.jms.admin.AdminService@2ecd01b8 ==constructor() entry
05:51:54 [1028031714282] [main] com.ibm.mq.jms.admin.AdminService@2ecd01b8 == constructor() exit
05:51:54 [1028031714282] [main] com.ibm.mq.jms.services.psk.MessageCatalogue@51a781b7 == getMessage(0)() entry
05:51:54 [1028031714282] [main] com.ibm.mq.jms.services.psk.MessageCatalogue@51a781b7 == getMessage(0)() exit
05:51:54 [1028031714312] [main] com.ibm.mq.jms.services.psk.MessageCatalogue@51a781b7 == getMessage(0)() entry
05:51:54 [1028031714312] [main] com.ibm.mq.jms.services.psk.MessageCatalogue@51a781b7 == getMessage(0)() exit
05:51:54 [1028031714312] [main] com.ibm.mq.jms.admin.AdminService@2ecd01b8 == initJNDI() entry
05:51:54 [1028031714312] [main] com.ibm.mq.jms.services.psk.MessageCatalogue@51a781b7 == getMessage(0)() entry
05:51:54 [1028031714312] [main] com.ibm.mq.jms.services.psk.MessageCatalogue@51a781b7 == getMessage(0)() exit
05:51:54 [1028031714312] [main] com.ibm.mq.jms.admin.AdminService@2ecd01b8 initJNDI() javax.jms.JMSException exception caught: Unsupported JNDI service provider: com.ibm.websphere.naming.WsnInitialContextFactory
javax.jms.JMSException: Unsupported JNDI service provider: com.ibm.websphere.naming.WsnInitialContextFactory
at com.ibm.mq.jms.admin.AdminService.initJNDI(AdminService.java:167)
at com.ibm.mq.jms.admin.JMSAdmin.init(JMSAdmin.java:134)
at com.ibm.mq.jms.admin.JMSAdmin.main(JMSAdmin.java:1142)
05:51:54 [1028031714312] [main] com.ibm.mq.jms.admin.AdminService@2ecd01b8 == initJNDI() exit
05:51:54 [1028031714312] [main] com.ibm.mq.jms.admin.JMSAdmin@581481b7 constructor() javax.jms.JMSException exception caught: Unsupported JNDI service provider: com.ibm.websphere.naming.WsnInitialContextFactory
javax.jms.JMSException: Unsupported JNDI service provider: com.ibm.websphere.naming.WsnInitialContextFactory
at com.ibm.mq.jms.admin.AdminService.initJNDI(AdminService.java:167)
at com.ibm.mq.jms.admin.JMSAdmin.init(JMSAdmin.java:134)
at com.ibm.mq.jms.admin.JMSAdmin.main(JMSAdmin.java:1142)
05:51:54 [1028031714312] [main] com.ibm.mq.jms.admin.JMSAdmin@581481b7 Unable to initialise JNDI. Calling System.exit()


i dont know what to do,i have all the jar files in my class path,i have been struggling on this for the past 2 weeks,plz help me,me stuck up in a project.
[ July 30, 2002: Message edited by: mahadevan raja ]
19 years ago
hi vasanth,
i wud suggest u to follow only the handbook for was4.0 nothing other than that.
The HandBook is enough for u to clear the exam with a good score.
But do have some practical implementation,on topics like wlm,security,ldap etc.
19 years ago
hi all,
i have a problem in configuring MQSeries,i have followed the steps given in the handbook properly,the code which i have written is also the same as given by the HandBook,now the problem is it is not able to get the JNDI reference "java:com/env",frankly speaking i myself dont understand where this has been created.
I tried to create a resource reference thro the aat for the web module while creating an application.Still not able to solve the probs.
Plz help me asap.
Sample Code:

Very Urgent plz reply.If possible give a new solution.


//get JNDI context
javax.naming.InitialContext ctx =new javax.naming.InitialContext();
//get local JNDI environment
javax.naming.Context env =
(javax.naming.Context)ctx.lookup("java:comp/env");ഊ//get queue connection factory
javax.jms.QueueConnectionFactory qcf =
(javax.jms.QueueConnectionFactory)env.lookup("myQCF");
//create a connection
javax.jms.QueueConnection qc =qcf.createQueueConnection();
//create a session
javax.jms.QueueSession qSession =
qc.createQueueSession(false,javax.jms.Session.AUTO_ACKNOWLEDGE);
//get queue
javax.jms.Queue q =(javax.jms.Queue)env.lookup("myQ");
//create a queue sender for the queue and send a text message
javax.jms.QueueSender sender =qSession.createSender(q);
sender.send(qSession.createTextMessage("Hello world!"));
sender.close();

19 years ago
hi again,
i would also like to know how would i set the path to my class files that r in the imports.Should i set an environment variable in the os so that it picks up the class path from there.
please reply
19 years ago
Hello
I would like to know how i would execute a class file in the Windows environment (95 98 NT etc) without installing the JDK. Let us assume that i have JRE on the machine.How would i package my HelloWorld class file so that it executes in windows without my having to install JDK on the machine.
Thanks in advance
19 years ago