Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem while setting System properties from EJB  RSS feed

 
Rohini thacker
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to run a program ( SDKWrapper.java ) which requires some environment variables & classpath settings.
I had set following properties :

set RPROPS= -DDTD_PATH="C:/Test/xml" -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB
I am setting system variables in SDKWrapper class.Now if i call this class from another java program it works fine .However if i invoke SDKWrapper from EJB it doesn't work.It gives error indicating that RPROPS properties have not been set.Give some solution.
thanks & regards,
Rohini.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!