File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Weblogic Urgent Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic Urgent Help" Watch "Weblogic Urgent Help" New topic
Author

Weblogic Urgent Help

Salima Lalani
Ranch Hand

Joined: Aug 15, 2002
Posts: 59
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,
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1850
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weblogic Urgent Help