• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Weblogic Urgent Help

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic