This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hello, I am new to Weblogic. I installed 8.1 on my machine. My platform is windows XP. Could someone point me to a step by step instruction on how to change the classpath for weblogic? I went through the bea documentation and was kinda lost. Can somebody tell me from expereince that what should go in the classpath. Is it possible to change it with Control panel - environment variables? Or do we need to change it through console by javac -classpath? Also is there any tutorial available with step by step instructions on writing a bean, deploying it and running it on weblogic. Thanks in advance,
Hi, [query] Could someone point me to a step by step instruction on how to change the classpath for weblogic? [/query] I think you mean the server classpath. I have not used 8.1 but the earlier versions of 6.1 and 7.0. The server classpath can be set while invoking the java command on weblogic.Server. This is mostly found in the config/domain folder and is named something like startDomainServer.cmd. There also is normally a batch command called setDomainEnv.cmd. This also is responsible for setting the classpath. The earlier cmd calles the setDomainEnv to set the environment variables.
Is it possible to change it with Control panel - environment variables?
I am sorry I have no idea. But it could be possible as one of the new features.
Also is there any tutorial available with step by step instructions on writing a bean, deploying it and running it on weblogic.
When ever you install the weblogic server you also install the examples and the petstore domain. These contain extensive samples of each EJB type. Try going through them and through its documentation. Source is provided and a way to build them is also provided. Try tweeking or copying them elsewhere, change the file names and then build the ejb again. This will help you get started. Best of luck
Thanks in advance, [ October 24, 2003: Message edited by: Rahul Mahindrakar ]