• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB in JBOSS connecting to WebSphere\JAAS

 
Jason Brown
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic