This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

EJB in JBOSS connecting to WebSphere\JAAS

Jason Brown

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% Login %1 %2 %3

where I specify the 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.

Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

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:
subject: EJB in JBOSS connecting to WebSphere\JAAS
It's not a secret anymore!