?
Solved

How I can give the -D option in wsad?

Posted on 2003-02-24
9
Medium Priority
?
203 Views
Last Modified: 2010-03-31
Hi,

  I have a program which needs -D option if I am running it from the command prompt it is working but when using wsad it is not working. This program also does some corba lookup. WSAD supports corba lookup? if yes then how I can set the -D options in wsad.
Thanks in advance

Vikas
0
Comment
Question by:vikas31
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 8008883
You'd have to set the options internally with System.setProperty
0
 

Author Comment

by:vikas31
ID: 8008937
Yes I could have but my class is calling to some other classes & that need's this option to be set.
0
 

Author Comment

by:vikas31
ID: 8008945
Yes I could have but my class is calling to some other classes & that need's this option to be set.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:vikas31
ID: 8009001
Yes I could have but my class is calling to some other classes & that need's this option to be set.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 8009025
It's set per VM, i.e. for all classes loaded.
0
 

Author Comment

by:vikas31
ID: 8009151
Can I make a corba call from wsad?I have changed the properties file stuff & now loading it with System.get..
but still getting same exception. While if the same stuff I am running with command Prompt it's working.
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 50 total points
ID: 8009350
>>Can I make a corba call from wsad?

Not sure.

The first class that gets loaded should have the following in its definition:

class SomeClass {
  static {
     System.setProperty("somekey", "someval");
  }
  // rest of class definition
}
0
 

Author Comment

by:vikas31
ID: 8017216
????? Is there any one who can give the correct reply..
0
 

Expert Comment

by:CleanupPing
ID: 9059108
vikas31:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses
Course of the Month11 days, 22 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question