aspose file tools*
The moose likes JBoss/WildFly and the fly likes EJB in JBOSS connecting to WebSphere\JAAS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "EJB in JBOSS connecting to WebSphere\JAAS" Watch "EJB in JBOSS connecting to WebSphere\JAAS" New topic
Author

EJB in JBOSS connecting to WebSphere\JAAS

Jason Brown
Greenhorn

Joined: Feb 22, 2007
Posts: 1
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

Joined: Jul 20, 2005
Posts: 10290
    
168

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?


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB in JBOSS connecting to WebSphere\JAAS