Mandar Gandhe

Greenhorn
+ Follow
since Aug 01, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Mandar Gandhe

Hi...
I have a situation where I need to create an Object of a java class and run a method of the java class where both the class name and the method name are supplied as a request.
I have a generic class which reads the input data, extracts name of the java class and the method to run. At this stage I need to create an object of this class and run the specified method. Can anyone tell me how to do this ?
Thanks in advance
Mandar
21 years ago
Thank you very much for the information !!!
Mandar Gandhe
21 years ago
Hi..
In my application, I receive a string which sometimes can contain all the digits ("123137414") or sometimes contains some alphabets too ("jsajh2627517). I need to do separate processing depending upon whether this string is a number or not.
I can do this using Integer class and then checking for exceptions, but I am looking for a method without generating any exceptions. So is there any method something like
boolean isNum(String)
Thanks and Regards
Mandar
21 years ago
Hi All
Can anyone tell me what might be the cause of the following exception ?
I have a clustered WLS 7.0 sp2 server with one admin and one managed server.
Both Admin and Managed Servers are starting.But immediately after Booting up
the Managed Server we are getting the following exception. It seems to be
some permission issue
Exception :
weblogic.management.NoAccessRuntimeException: Access not allowed for
subject: principals=[wlisystem], on ResourceType: AppViewDeployment Action:
write, Target: DeployState
at
weblogic.management.internal.Helper$IsAccessAllowedPrivilegeAction.run(Helpe
r.java:2034)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:780)
at weblogic.management.internal.Helper.isAccessAllowed(Helper.java:1865)
at
weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanS
erverImpl.java:888)
at
weblogic.management.commo.internal.CommoAttributeChangeListener.handleNotifi
cation(CommoAttributeChangeListener.java:31)
at
weblogic.management.commo.internal.CommoAttributeChangeListener_WLSkel.invok
e(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:821)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
0)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:215)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:191)
Thanks in advance
Mandar
21 years ago
Hi..
While trying to tune the WLI ejbs, I came across the following documentation
on edocs.bea.com. It mentions to change the trans-timeout-seconds attribute
for the wlpi-ejb.jar file.
---------
Configuring EJB Transactions
If your system returns an exception indicating that a transaction timed out
while a message was being processed, we recommend that you tune the
transaction timeout parameters in the following BPM resources:

a.. WLI-BPM Server (wlpi-ejb.jar)
b.. WLI-BPM Event Processor EJB (wlpi-mdb-ejb.jar)
Note: Transaction timeouts are more likely to occur when large messages,
rather than small messages, are being processed.
To tune the transaction timeout parameters, we recommend that you change the
trans-timeout-seconds attribute in the wlpi-ejb.jar and wlpi-mdb-ejb.jar
files from 90 seconds to 1090 seconds. To access the JAR files:

1.. In the Administration Console navigation tree, select
Deployments->EJB.
2.. Select WLI-BPM Server EJB or WLI-BPM Event Processor EJB.
3.. Click Edit EJB Descriptor to display a new window in which you can
edit the EJB descriptor.
---------
But when I accessed the ejb descriptor using weblogic console, I could not
find the trans-timeout-seconds attribute in the ejb-jar.xml. Can anyone
please inform me where to find it ?
Thanks..
Mandar
21 years ago
Hi..
When I try to remove my ejb from the ejb cache using the remove method, the
server throws LockTimedOutException and the ejb is not removed. This is
typically happening for a worklist ejb using which I am invoking workflows.
Can someone pls tell me how to avoide this error ?
Regards
Mandar
21 years ago
Hi All
I am getting the following exception while starting the server. I have checked all the environment and it is ok. I am not getting any other logs at all..
<Jun 26, 2003 11:09:03 AM BST> <Critical> <WebLogicServer> <000364> <Server failed during initialization. Exception:weblogic.management.configuration.ConfigurationException: - with nested exception:
[java.io.StreamCorruptedException: Caught EOFException while reading the stream header]
java.io.StreamCorruptedException: Caught EOFException while reading the stream header at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:840)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:163)
at weblogic.management.commo.CommoModelMBean.readMBeanDataFromFile(CommoModelMBean.java:550)
at weblogic.management.commo.CommoModelMBean.load(CommoModelMBean.java:574)
at weblogic.management.commo.Commo.initInstances(Commo.java:241)
at weblogic.management.commo.Commo.init(Commo.java:125)
at weblogic.management.AdminServerAdmin.initializeCommo(AdminServerAdmin.java:477)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:108)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:659)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:589)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:277)

Can someone please help me on this mattar ?
Thanks in advance
Mandar
21 years ago
Hi All
Can someone please explain the importance of CommoConfig.xml.booted file ? This file is getting created on one of my weblogic server 7.0 domain.
Can anyone please tell me who creates this file and what does it contain etc ? Can this be disabled
Thanks in advance
Mandar
21 years ago
Hi..
I have a clustered environment with one admin and one managed server. My applications are deployed on managed servers and are accessible from the studio and worklist.
For a specific workflow, I require to have a role named 'logging' with specific permissions, on the managed server. When I create the role and give necessary permissions, the applications work fine. But when the managed server is restarted (even if admin server is not restarted), the permissions are lost.
Following exception is thrown when I try to run any workflows from the worklist.
----
####<May 13, 2003 10:01:22 AM BST> <Error> <BPM> <hwdusa08> <managed1_eai2d2A> <ExecuteThread: '44' for queue: 'default'> <ker
nel identity> <111:21ad542a0d3cc527> <000000> <<wlpirequest>
<started>2003-05-13 10:01:22.230</started>
<requestor>wlisystem</requestor>
<templateid>1</templateid>
<template-name> WLI Logging Framework V2.0 Installation test</template-name>
<templatedefinitionid>1</templatedefinitionid>
<instanceid>2001</instanceid>
<actions>
<error time="2003-05-13 10:01:22.427">WorkflowException: The server was unable to complete your request.
The WebLogic Integration role "logging" is not mapped to a WebLogic Server security group.</error>
</actions>
<completed>2003-05-13 10:01:22.428</completed>
</wlpirequest>
>
----
To resolve this problem, I need to delete the role and recreate it everytime I restart the managed server. Can anyone please help me on this matter. I am not understanding why the permissions are getting reset ?
Thanks in advance
Mandar
21 years ago
Hi..
I am setting up a new environment using WLS 7.0 cluster and would like to use WTC for the tuxedo connectivity. But I have read in a report that WTC is not clustrable and within a cluster, individual server needs to manage its own WTC connection to eLink. It would then be upto the eLink domain to manage these individual server connections.
I am facing some more problems while setting all this up, but just wanted to confirm on the above issues before making any decision. Can anyone please shed some more light on this matter ?
Thanks in advance
Mandar
21 years ago
Hi..
I have got a clustered WLI 7.0 environment including one admin server and one managed server. And I have created my own user to access the studio (with full permissions). This user is visible on the console once I create it using BPM studio.
But when I restart the admin and managed server, this userid is automatically deleted and I have to recreate it.
Does anyone has any idea what is the problem here ?
Thanks in advance
Mandar
21 years ago
Hi..
I am stuck into a problem and I was wondering if you can help me on this one please. I am deploying an EJB on a managed server in a clustered environment. I tried the following options and got the corresponding results.
1. Configuring the EJB on config.xml on admin server. In this case the managed server does not boot up at all. I receive an exception for the ejb jar file mentioning 'No such file or directory' error. I have checked the paths and they are correct.
2. I started the admin and managed server without application components loaded and then tried to deploy one of the EJBs using the console. Here I get the following exception (and the file does not get deployed).
=======
<Mar 13, 2003 11:58:07 AM GMT> <Error> <Management> <141008> <Error preparing application component of application hwewl98:Location=managed1_hwewl98,Name=wli2elink-ejb,Type=ApplicationConfig: java.io.FileNotFoundException: Response: '500: Internal Server Error' for url: 'http://hwewl98a.nat.bt.com:60020/wl_management_internal2/wl_management' ((localPath: java.io.FileNotFoundException: Response: '500: Internal Server Error' for url: 'http://hwewl98a.nat.bt.com:60020/wl_management_internal2/wl_management')>
<Mar 13, 2003 11:58:07 AM GMT> <Error> <Deployer> <149206> <The Slave Deployer failed to stage the component null of the application wli2elink-ejb.>
<Mar 13, 2003 11:58:07 AM GMT> <Error> <Deployer> <149201> <The Slave Deployer failed to complete the deployment task with id 1 for the application wli2elink-ejb.
weblogic.management.DeploymentException: The Slave Deployer failed to stage the component null of the application wli2elink-ejb.
at weblogic.management.deploy.slave.SlaveDeployer.getApplicationInputStream(SlaveDeployer.java:2026)
at weblogic.management.deploy.slave.SlaveDeployer.stageApplicationFromData(SlaveDeployer.java:1764)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1023)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:732)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
=======
The ejbs are properly working in a non clustered environment and get deployed properly on admin server of this environment. All the problems start when I try to deploy them on the managed server.
Can anyone please help me on this issue ?
Thanks in advance..
Mandar
21 years ago
Hi..
On my wls 6.1 sp3 domain, I have suddenly started getting the following error.
java.lang.NoClassDefFoundError for com/bea/wlpi/server/common/DataConversions.
My classpath is correct and the wli2.1sp2 was working properly on this domain.
With this problem, there is one more problem occuring when I try to start any BPM workflow. The error statement is
---------
####<Mar 3, 2003 5:35:38 PM GMT> <Info> <EJB> <dywhapp1> <admin_ecwli001> <ExecuteThread: '10' for queue: 'default'> <wlpisystem> <> <010
049> <EJB Exception in method: remove: java.rmi.NoSuchObjectException: Bean has been deleted.>
java.rmi.NoSuchObjectException: Bean has been deleted.
at weblogic.ejb20.swap.DiskSwap.read(DiskSwap.java:155)
at weblogic.ejb20.manager.StatefulSessionManager.getBean(StatefulSessionManager.java:245)
at weblogic.ejb20.manager.StatefulSessionManager.preInvoke(StatefulSessionManager.java:316)
at weblogic.ejb20.manager.StatefulSessionManager.remove(StatefulSessionManager.java:811)
at weblogic.ejb20.internal.StatefulEJBObject.remove(StatefulEJBObject.java:93)
at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean_h7kt4j_EOImpl.remove(WorkflowProcessorBean_h7kt4j_EOImpl.java:856)
---------
Does anyone know anything about this ?
Thanks in Advance
Mandar
21 years ago
Hi
Just a small question, I was using setStyleSheetParam(String key, String expression) method from weblogic.apache.xalan.xslt.XSLTProcessor class which I need to replace with something from javax.xml.transform.Transformer class from the latest xalan.jar. Can you please tell me which of the following methods is suitable ? (Actually documentation for these methods is a bit confusing for me)
1. setOutputProperty(String name, String value);
2. setParameter(String name, Object value);
Thanks in advance
Mandar
21 years ago
Hi Roseanne
Thanks for your reply. I have started using Xalan 2.4.1 (for Java) and it is working fine for me. Just a small question, I was using setStyleSheetParam(String key, String expression) method from weblogic.apache.xalan.xslt.XSLTProcessor class which I need to replace with something from javax.xml.transform.Transformer class from the latest xalan.jar. Can you please tell me which of the following methods is suitable ? (Actually documentation for these methods is a bit confusing for me)
1. setOutputProperty(String name, String value);
2. setParameter(String name, Object value);
Thanks in advance
Mandar