cancel
Showing results for 
Search instead for 
Did you mean: 

MAC OS X: Forcing/Activating IPv4 | HELP!

bcors
Champ in-the-making
Champ in-the-making
Greetings, all.

We're new to Alfresco and Java - and are trying to get an instance of Drupal to speak with our Alfresco installation, housed on Mac OS X. We used the Mac OS X installer - and are using our own MySQL and LDAP connections. We're using the Tomcat that is bundled with Alfresco.

According to what we've read, in order for Drupal [or any outside source] to connect - we need to make sure that IPv4 is being used, by issuing one of the following arguments/commands:

  -Djava.net.preferIPv4Stack = true
    OR
  java.net.preferIPv4Stack = true


Problem is, we're having a very hard time finding exactly where we should be placing this, particularly not having a lot of experience with Java, and with it hosted on Mac OS X.

Can someone please advise?

Many thanks in advance,

brian cors
University of Michigan Museum of Art
bcors@umma.umich.edu
1 REPLY 1

bcors
Champ in-the-making
Champ in-the-making
GOT IT. I was able to track down and hack catalina.sh and include it.
Once I did that, I ran "ps -ef | grep [j]ava" - and see that it's in action.