• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB in JBOSS connecting to WebSphere\JAAS

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to JBOSS, but I have been stuck with trying to find a solution. A partner company has an application that runs on JBOSS using EJBs. It uses a vendor specific Java API (in the EJB) to connect to another piece of software that is running on another application server. Originally the application was on Oracle AS, now it has moved to WebSphere. In order to connect to the system on WebSphere, security settings have to be configured. So if I run a stand alone client to connec to the system on WebSphere, I run it like this:

"%JAVA_HOME%/jre/bin/java" -classpath %CP% -Dcom.ibm.CORBA.ConfigURL=file:sas.client.props -Djava.security.auth.login.config=file:wsjaas_client.conf Login %1 %2 %3

where I specify the Dcom.ibm.CORBA.ConfigURL and login config. But I am not sure how to specify these values so the EJB picks them up in JBOSS. Is this as easy as modifying the Java Options when JBOSS starts up?

Thanks in advance for the help.

Jason
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not sure i understood the question right. Are you trying to figure out how to pass the JVM arguments when JBoss starts or do you want to know which values to pass?
 
Oh sure, it's a tiny ad, but under the right circumstances, it gets bigger.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic