Help coderanch get a
new server
by contributing to the fundraiser

nand keswani

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

Recent posts by nand keswani

Hi,
I am trying to create a cluster of weblogic instance running on different machines.I am not able to Properly configure..
I created machines , server , cluster ... but on startup it gives the error like NotOwnerException,ClusterException Not Found
I am also confused with Multicast Address.
I think BEA documentation is not Proper ...
i would really appreciate if u could send me the stepwise configuration ....
Thanks in Advance ..
Regards
Nand Keswani
22 years ago
Hi,
I am using Weblogic 6.0 & wanna create topic dynamically...
and using following program ...

On execution it give the noAccessRunTimeException and in the weblogic log it is giving
***weblogic.management.NoAccessRuntimeException: User guest does not have access permission on weblogic.admin.mbean.MBeanHome***
i don't know how to give permission's.....
Waiting for Valuable Suggestions ...
Regards
Nand

package tms.com.ejb;
import weblogic.management.*;
import weblogic.jms.extensions.*;
import weblogic.jms.*;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.rmi.PortableRemoteObject;
import java.util.Properties;
/**
Author :- Nand Keswani
GlobalSoft Ptv Ltd.
Email nandkeswani@indiatimes.com

**/

public class DynamicTopic
{

public Context m_context;
String jmsServerName = "MyJMSServer";
public String m_url="t3://localhost:7001";
public String topicName = "DynamicTopic";
public String JNDIName = "nandTopic";
public void initParam()
{
try
{
//jmsServerName = ;
m_context = getInitialContext();
}
catch(Exception e)
{
System.out.println("Exception is " + e);
e.printStackTrace();
}
}
public void crtTopic()
{
System.out.println("This class will create Dynamically Topic");
try
{

JMSHelper.createPermanentTopicAsync(m_context,jmsServerName,topicName,JNDIName);

}
catch(Exception e)
{
e.printStackTrace();
System.out.println("Exception e is " + e);
}
}
private Context getInitialContext() throws NamingException {
try {
// Get an InitialContext
Properties h = new Properties();
h.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
h.put(Context.PROVIDER_URL, m_url);
return new InitialContext(h);
}
catch (NamingException ex) {
System.out.println("We were unable to get a connection to the WebLogic server at "+m_url);
System.out.println("Please make sure that the server is running.");
throw ex;
}
}

public static void main(String arg[])
{
DynamicTopic dTpc = new DynamicTopic();
dTpc.initParam();
System.out.println("After Initializing the Parameters");
dTpc.crtTopic();
System.out.println("Success ....");
System.out.println("Success ........");
System.out.println("Success ............");
System.out.println("After Creating Topic ");
}
}
22 years ago
Hi,
I have to develop a [jsp/servlet/class] program which can monitor the workload , messages , byte consumes , message received , message consumed..
It means it should be able to monitor all the activities going in WebLogic... the same like Weblogic console shows .....
would really appreciate the suggestions ....
Regards
Nand KEswani
22 years ago
Hi,
I have to develop a [jsp/servlet/class] program which can monitor the workload , messages , byte consumes , message received , message consumed..
It means it should be able to monitor all the activities going on WebLogic ...
would really appreciate the suggestions ....
Regards
Nand KEswani
Hi Folks,
Out Database server oracle 8i installed on Windows. and i want to access this database from linux machine.When i use utils.dbping option given in weblogic from linux machine it gives the error NT_CONNECTION_FAILED ....
any suggestion/solutions will be appreciated ....
Thanks in Advance
Nand Keswani
22 years ago
Hi,
Out database is kept on windows machine (Oracle 8i) and i want to connect it from linux machine ..
When i apply utils.dbping from linux machine it gives the error like NT_CONNECTION_FAILED ....
i would really appreciate if u could let me know the real solution
Regards
Nand Keswani
22 years ago
Hi All,
I am modifying config.xml at run time.. But Weblogic server does'nt reflect all the changed made in config.xml
I don't know how and when the WebLogic Server 6.0 internally reads the config.xml.....
Waiting for Early Reply ....
Thanks in Advance
Nand KEswani
22 years ago
Hi Rahul,
Oks I am agree with u but there should be some way ... The same like weblogic console change the configuration at run time
Waiting for Answers ..
Regards
Nand Keswani

Originally posted by Rahul Mahindrakar:
The config.xml file cannot be modified at runtime. It can only be modified when the server is not up. If you modify it the server may overwrite the file when shut down.
By the way we have a forum specific for weblogic queries in the Products section. Please post your queries specific to Weblogic in that forum.
Thanks


22 years ago
Hi,
I am interested how the weblogic reflects the changes made on config.xml at runtime ......
Thanks in Advance
Nand Keswani

Originally posted by Vijay Shrivastava:
There is no major diff
erence as such if you are using WLS6.0 you will need to put ServicePack. WLS6.1 with SP1 is the latest which has everything you get in WLs6.0. Where is there were various bugs related to JMS and plugins which are fixed from 6.0 to 6.1. They have different license files and some small configuration differences.
Hope it helps,


22 years ago
Hi,
I am interested how the weblogic reflects the changes made on config.xml at runtime ......
Thanks in Advance
Nand Keswani

Originally posted by Vijay Shrivastava:
There is no major diff
erence as such if you are using WLS6.0 you will need to put ServicePack. WLS6.1 with SP1 is the latest which has everything you get in WLs6.0. Where is there were various bugs related to JMS and plugins which are fixed from 6.0 to 6.1. They have different license files and some small configuration differences.
Hope it helps,


Hi All,
This does'nt contain Method Signatures. IT contain logic about packaging the arguments list , depackaging , location transparency,Marshalling ....
bye

Originally posted by Leena Diwan:
Hi !!
Stubs and skeletons contain the method signatures of the remote objects.
Anyone would like to comment ?
Regards..
Leena


Hi All,
I am modifying config.xml at run time.. But Weblogic server does'nt reflect all the changed made in config.xml
I don't know how and when the WebLogic Server 6.0 internally reads the config.xml.....
Waiting for Early Reply ....
Thanks in Advance
Nand KEswani

22 years ago