[sip-comm] Problem with Java 1.5 and IPv6 under Linux


#1

Hi Emil,

thanks for your reply.

For clarification here follows a detailled description:
Used Linux system: kernel version 2.6.8-24.10-default
Java version: build 1.5.0_01-b08
First of all here is the used sip-communicator.xml file with its content bevor I started the sip-communicator:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<log4j>
    <rootLogger value="net.java.sip.communicator.common.Console.TraceLevel, RFLogger"/>
    <appender>
        <RFLogger value="org.apache.log4j.RollingFileAppender">
            <layout value="org.apache.log4j.PatternLayout">
                <ConversionPattern value="%r [%t] %p %c{2} %x - %m%n"/>
            </layout>
            <MaxBackupIndex value="1"/>
            <File value="log/sip-communicator.app.log"/>
            <MaxFileSize value="256KB"/>
        </RFLogger>
    </appender>
</log4j>
<net>
  <java>
    <sip>
      <communicator>
          <FIRST_LAUNCH value="false"/>
          <ENABLE_SIMPLE value="false"/>
          <media>
<!--- <PREFERRED_AUDIO_ENCODING system="false" value=""/> -->
              <PREFERRED_AUDIO_ENCODING value="0"/>
              <PREFERRED_VIDEO_ENCODING value="26"/>
            <MEDIA_SOURCE value=""/>
            <MEDIA_BUFFER_LENGTH value="100"/>
            <IP_ADDRESS value=""/>
            <AUDIO_PORT value=""/>
            <VIDEO_PORT value=""/>
        </media>
        <sip>
            <PUBLIC_ADDRESS value="sip:MST-SWT31@ipv6.swt.fh-mannheim.de"/>
            <TRANSPORT value="UDP"/>
            <REGISTRAR_ADDRESS value="sipgate.ipv6.swt.fh-mannheim.de"/>
            <USER_NAME value="MST-SWT31"/>
            <STACK_PATH value="gov.nist"/>
            <PREFERRED_LOCAL_PORT value="5060"/>
            <DISPLAY_NAME value="Mst-Swt31"/>
            <REGISTRAR_TRANSPORT value="UDP"/>
            <REGISTRATIONS_EXPIRATION value="600"/>
            <REGISTRAR_PORT value="5060"/>
            <FAIL_CALLS_ON_DEST_USER_MISMATCH value="false"/>

            <DEFAULT_DOMAIN_NAME value="sipgate.ipv6.swt.fh-mannheim.de"/>
            <DEFAULT_AUTHENTICATION_REALM value=""/>
            <WAIT_UNREGISTGRATION_FOR value="1100"/>
            <SAME_USER_EVERYWHERE value="true"/>
            <simple>
                <CONTACT_LIST_FILE value="contact-list.xml"/>
                <SUBSCRIPTION_EXP_TIME value="600"/>
                <MIN_EXP_TIME value="120"/>
                <LAST_SELECTED_OPEN_STATUS value="online"/>
            </simple>
        </sip>

<!--
    net.java.sip.communicator.sipphone.IS_RUNNING_SIPPHONE=false
    net.java.sip.communicator.sipphone.MY_SIPPHONE_URL=http://my.sipphone.com
-->
        <sipphone>
            <IS_RUNNING_SIPPHONE value=“false”/>
            <MY_SIPPHONE_URL value=“http://my.sipphone.com”/>
        </sipphone>
<!--
net.java.sip.communicator.gui.AUTH_WIN_TITLE=SIP Authentication!
net.java.sip.communicator.gui.AUTHENTICATION_PROMPT=Please enter login name and password for the specified realm:
net.java.sip.communicator.gui.USER_NAME_LABEL=SIPphone Number:
net.java.sip.communicator.sipphone.USER_NAME_EXAMPLE=Example: 1-747-555-1212
net.java.sip.communicator.gui.PASSWORD_LABEL=Password:
-->
        <gui>
            <AUTH_WIN_TITLE value=“SIP Authentication!”/>
            <AUTHENTICATION_PROMPT value=“Please enter login name and password for the specified realm:”/>
            <USER_NAME_LABEL value=“User Name:”/>
            <USER_NAME_EXAMPLE value=“Example: 1-747-555-1212”/>
            <PASSWORD_LABEL value=“Password:”/>
            <GUI_MODE value=“PhoneUiMode”/>
            <!--GUI_MODE value=“ImUiMode”/-->
            <imp>
                <CONTACT_LIST_X value=""/>
                <CONTACT_LIST_Y value=""/>
                <CONTACT_LIST_WIDTH value=""/>
                <CONTACT_LIST_HEIGHT value=""/>
            </imp>
        </gui>
        <common>
            <PREFERRED_NETWORK_INTERFACE value=“eth0”/>
            <PREFERRED_NETWORK_ADDRESS value="[2001:7a0:202:2:200:e2ff:fe54:9f0c]"/>
        </common>

<!--
    net.java.sip.communicator.STUN_SERVER_ADDRESS=stun01.sipphone.com
    net.java.sip.communicator.STUN_SERVER_PORT=3478
    net.java.sip.communicator.VOICE_MAIL_ADDRESS=17475551212
-->
        <STUN_SERVER_ADDRESS value=""/>
        <STUN_SERVER_PORT value=""/>
        <VOICE_MAIL_ADDRESS value=""/>
</communicator>
    </sip>
  </java>
</net>
    <gov>
    <nist>
        <javax>
            <sip>
                <SERVER_LOG value="log/sip-communicator.stack.log"/>
                <TRACE_LEVEL value="16"/>
            </sip>
        </javax>
    </nist>
</gov>
<javax>
    <sip>
        <IP_ADDRESS value="2001:7a0:202:2:200:e2ff:fe54:9f0c"/>
        <STACK_NAME value="sip-communicator"/>
        <ROUTER_PATH value="net.java.sip.communicator.sip.SipCommRouter"/>
        <OUTBOUND_PROXY value="sipgate.ipv6.swt.fh-mannheim.de:5060/UDP"/>
        <RETRANSMISSON_FILTER value=""/>
        <EXTENSION_METHODS value=""/>
        <RETRANSMISSION_FILTER value="true"/>
    </sip>
</javax>
<java>
    <net>
        <preferIPv4Stack system="false" value="false"/>
        <preferIPv6Addresses system="true" value="true"/>
    </net>
</java>
</configuration>

-------------------------------------- end of sip-communicator.xml

I have entered above the IPv6 address at two places: PREFERRED_NETWORK_ADDRESS and IP_ADDRESS wihtout %2.
While the sip-communicator is starting the SIP Authentication window pops up. After I have clicked to login button the exception occurs.
Here is the complete console log:

michael@SWT31:~/Software/sip-com-linux> sip-communicator.sh
1 [main] TRACE communicator.SipCommunicator - [entry] main
210 [main] DEBUG communicator.SipCommunicator - Sip Communicator Session, 2005-0-24 9:21:52
241 [main] DEBUG communicator.SipCommunicator - java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
242 [main] DEBUG communicator.SipCommunicator - sun.boot.library.path=/opt/jdk1.5.0_01/jre/lib/i386
242 [main] DEBUG communicator.SipCommunicator - java.vm.version=1.5.0_01-b08
243 [main] DEBUG communicator.SipCommunicator - java.vm.vendor=Sun Microsystems Inc.
244 [main] DEBUG communicator.SipCommunicator - java.vendor.url=http://java.sun.com/
244 [main] DEBUG communicator.SipCommunicator - path.separator=:
245 [main] DEBUG communicator.SipCommunicator - java.vm.name=Java HotSpot(TM) Client VM
246 [main] DEBUG communicator.SipCommunicator - file.encoding.pkg=sun.io
246 [main] DEBUG communicator.SipCommunicator - user.country=DE
247 [main] DEBUG communicator.SipCommunicator - sun.os.patch.level=unknown
247 [main] DEBUG communicator.SipCommunicator - java.vm.specification.name=Java Virtual Machine Specification
248 [main] DEBUG communicator.SipCommunicator - user.dir=/home/michael/Software/sip-com-linux
248 [main] DEBUG communicator.SipCommunicator - java.runtime.version=1.5.0_01-b08
249 [main] DEBUG communicator.SipCommunicator - java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
250 [main] DEBUG communicator.SipCommunicator - java.endorsed.dirs=/opt/jdk1.5.0_01/jre/lib/endorsed
250 [main] DEBUG communicator.SipCommunicator - os.arch=i386
251 [main] DEBUG communicator.SipCommunicator - java.io.tmpdir=/tmp
251 [main] DEBUG communicator.SipCommunicator - line.separator=

252 [main] DEBUG communicator.SipCommunicator - java.vm.specification.vendor=Sun Microsystems Inc.
253 [main] DEBUG communicator.SipCommunicator - os.name=Linux
253 [main] DEBUG communicator.SipCommunicator - log4j.configuration=sip-communicator.properties
254 [main] DEBUG communicator.SipCommunicator - sun.jnu.encoding=UTF-8
254 [main] DEBUG communicator.SipCommunicator - java.library.path=/opt/jdk1.5.0_01/jre/lib/i386/client:/opt/jdk1.5.0_01/jre/lib/i386:/opt/jdk1.5.0_01/jre/../lib/i386:/home/michael/Software/JMF-2.1.1e/lib:./lib
256 [main] DEBUG communicator.SipCommunicator - java.specification.name=Java Platform API Specification
256 [main] DEBUG communicator.SipCommunicator - java.class.version=49.0
257 [main] DEBUG communicator.SipCommunicator - sun.management.compiler=HotSpot Client Compiler
258 [main] DEBUG communicator.SipCommunicator - os.version=2.6.8-24.10-default
258 [main] DEBUG communicator.SipCommunicator - user.home=/home/michael
259 [main] DEBUG communicator.SipCommunicator - user.timezone=Europe/Berlin
259 [main] DEBUG communicator.SipCommunicator - java.awt.printerjob=sun.print.PSPrinterJob
279 [main] DEBUG communicator.SipCommunicator - file.encoding=UTF-8
280 [main] DEBUG communicator.SipCommunicator - java.specification.version=1.5
281 [main] DEBUG communicator.SipCommunicator - java.class.path=sip-communicator.jar:/home/michael/Software/JMF-2.1.1e/lib/jmf.jar:/home/michael/Software/JMF-2.1.1e/lib/customizer.jar:.:/home/michael/Software/JMF-2.1.1e
282 [main] DEBUG communicator.SipCommunicator - user.name=michael
282 [main] DEBUG communicator.SipCommunicator - java.vm.specification.version=1.0
283 [main] DEBUG communicator.SipCommunicator - java.home=/opt/jdk1.5.0_01/jre
284 [main] DEBUG communicator.SipCommunicator - sun.arch.data.model=32
284 [main] DEBUG communicator.SipCommunicator - user.language=de
285 [main] DEBUG communicator.SipCommunicator - java.specification.vendor=Sun Microsystems Inc.
285 [main] DEBUG communicator.SipCommunicator - java.vm.info=mixed mode, sharing
286 [main] DEBUG communicator.SipCommunicator - java.version=1.5.0_01
289 [main] DEBUG communicator.SipCommunicator - java.ext.dirs=/opt/jdk1.5.0_01/jre/lib/ext
290 [main] DEBUG communicator.SipCommunicator - sun.boot.class.path=/opt/jdk1.5.0_01/jre/lib/rt.jar:/opt/jdk1.5.0_01/jre/lib/i18n.jar:/opt/jdk1.5.0_01/jre/lib/sunrsasign.jar:/opt/jdk1.5.0_01/jre/lib/jsse.jar:/opt/jdk1.5.0_01/jre/lib/jce.jar:/opt/jdk1.5.0_01/jre/lib/charsets.jar:/opt/jdk1.5.0_01/jre/classes
291 [main] DEBUG communicator.SipCommunicator - java.vendor=Sun Microsystems Inc.
291 [main] DEBUG communicator.SipCommunicator - file.separator=/
292 [main] DEBUG communicator.SipCommunicator - java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
293 [main] DEBUG communicator.SipCommunicator - sun.io.unicode.encoding=UnicodeLittle
294 [main] DEBUG communicator.SipCommunicator - sun.cpu.endian=little
294 [main] DEBUG communicator.SipCommunicator - sun.cpu.isalist=
295 [main] TRACE communicator.SipCommunicator - [entry] <init>
343 [main] TRACE common.PropertiesDepot - [entry] loadProperties
344 [main] TRACE common.PropertiesDepot - [entry] traverseConfigurationFile
1070 [main] TRACE common.PropertiesDepot - [entry] getConfigurationFile
1075 [main] TRACE common.PropertiesDepot - work dir exists
1076 [main] TRACE common.PropertiesDepot - [exit] getConfigurationFile
1423 [main] TRACE common.PropertiesDepot - [exit] traverseConfigurationFile
1424 [main] TRACE common.PropertiesDepot - [exit] loadProperties
2065 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sipphone.IS_RUNNING_SIPPHONE=false]
2087 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.VOICE_MAIL_ADDRESS=null]
2091 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sipphone.MY_SIPPHONE_URL=http://my.sipphone.com]
2092 [main] DEBUG common.PropertiesDepot - getProperty[os.name=Linux]
4049 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.imp.CONTACT_LIST_X=null]
4050 [main] DEBUG imp.ContactListFrame - Failed to parse CONTACT_LIST_X default value (-1) will be used
4051 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.imp.CONTACT_LIST_Y=null]
4052 [main] DEBUG imp.ContactListFrame - Failed to parse CONTACT_LIST_Y default value (-1) will be used
4053 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.imp.CONTACT_LIST_WIDTH=null]
4054 [main] DEBUG imp.ContactListFrame - Failed to parse CONTACT_LIST_WIDTH default value (150) will be used
4055 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.imp.CONTACT_LIST_HEIGHT=null]
4055 [main] DEBUG imp.ContactListFrame - Failed to parse CONTACT_LIST_HEIGHT default value (500) will be used
4196 [main] TRACE config.ConfigurationPanel - [entry] jbInit
4219 [main] TRACE xml.Configuration - [entry] loadConfiguration
4220 [main] TRACE xml.Configuration - [entry] buildTree
4319 [main] TRACE xml.Configuration - [entry] buildConfigNodes
4321 [main] TRACE xml.Configuration - [entry] buildSingleConfigNode
4341 [main] TRACE xml.Configuration - [exit] buildSingleConfigNode
4342 [main] TRACE xml.Configuration - [entry] buildSingleConfigNode
4350 [main] TRACE xml.Configuration - [exit] buildSingleConfigNode
4353 [main] TRACE xml.Configuration - [exit] buildConfigNodes
4354 [main] TRACE xml.ConfiguraionTree - [entry] addConfiguration
4356 [main] TRACE xml.ConfiguraionTree - [exit] addConfiguration
4357 [main] TRACE xml.Configuration - [entry] buildConfigNodes
4358 [main] TRACE xml.Configuration - [entry] buildSingleConfigNode
4363 [main] TRACE xml.Configuration - [exit] buildSingleConfigNode
4364 [main] TRACE xml.Configuration - [entry] buildSingleConfigNode
4366 [main] TRACE xml.Configuration - [exit] buildSingleConfigNode
4367 [main] TRACE xml.Configuration - [exit] buildConfigNodes
4368 [main] TRACE xml.ConfiguraionTree - [entry] addConfiguration
4369 [main] TRACE xml.ConfiguraionTree - [exit] addConfiguration
4370 [main] TRACE xml.Configuration - [entry] buildConfigNodes
4371 [main] TRACE xml.Configuration - [entry] buildSingleConfigNode
4376 [main] TRACE xml.Configuration - [exit] buildSingleConfigNode
4377 [main] TRACE xml.Configuration - [exit] buildConfigNodes
4378 [main] TRACE xml.ConfiguraionTree - [entry] addConfiguration
4379 [main] TRACE xml.ConfiguraionTree - [exit] addConfiguration
4380 [main] TRACE xml.Configuration - [exit] buildTree
4381 [main] TRACE xml.Configuration - [exit] loadConfiguration
4449 [main] TRACE config.ConfigurationTreeUI - [entry] init
4451 [main] TRACE xml.ConfiguraionTree - [entry] getConfigNode
4452 [main] TRACE xml.ConfiguraionTree - [exit] getConfigNode
4454 [main] TRACE xml.ConfiguraionTree - [entry] getConfigNode
4455 [main] TRACE xml.ConfiguraionTree - [exit] getConfigNode
4456 [main] TRACE xml.ConfiguraionTree - [entry] getConfigNode
4456 [main] TRACE xml.ConfiguraionTree - [exit] getConfigNode
4512 [main] TRACE config.ConfigurationTreeUI - [exit] init
4520 [main] TRACE config.ConfigurationPropertyPanel - [entry] init
4521 [main] TRACE config.ConfigurationPropertyPanel - [exit] init
4540 [main] TRACE config.ConfigurationPanel - [exit] jbInit
4542 [main] TRACE common.PropertiesDepot - [entry] loadProperties
4543 [main] TRACE common.PropertiesDepot - [entry] traverseConfigurationFile
4569 [main] TRACE common.PropertiesDepot - [entry] getConfigurationFile
4570 [main] TRACE common.PropertiesDepot - work dir exists
4571 [main] TRACE common.PropertiesDepot - [exit] getConfigurationFile
4603 [main] TRACE common.PropertiesDepot - [exit] traverseConfigurationFile
4604 [main] TRACE common.PropertiesDepot - [exit] loadProperties
4635 [main] DEBUG common.PropertiesDepot - getProperty[user.home=/home/michael]
4949 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.simple.SUBSCRIPTION_EXP_TIME=600]
4985 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.simple.MIN_EXP_TIME=120]
5033 [main] TRACE communicator.SipCommunicator - [exit] <init>
5034 [main] TRACE communicator.SipCommunicator - [entry] launch
5035 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.FIRST_LAUNCH=false]
5035 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.FIRST_LAUNCH=false]
5036 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.GUI_MODE=PhoneUiMode]
5037 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.GUI_MODE=PhoneUiMode]
5246 [main] TRACE common.NetworkAddressManager - [entry] init
5247 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.STUN_SERVER_ADDRESS=null]
5248 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.STUN_SERVER_PORT=null]
5248 [main] TRACE common.NetworkAddressManager - [exit] init
5248 [main] TRACE media.MediaManager - [entry] start
5451 [main] TRACE media.MediaManager - [exit] setupJMF
5453 [main] TRACE media.MediaManager - [entry] runLinuxPreInstall
5453 [main] DEBUG common.PropertiesDepot - getProperty[os.name=Linux]
5454 [main] DEBUG common.PropertiesDepot - getProperty[os.name=Linux]
5483 [main] DEBUG media.MediaManager - Successfully loaded libjmv4l.so
5484 [main] TRACE media.MediaManager - [exit] runLinuxPreInstall
5485 [main] TRACE media.MediaManager - [exit] setupJMF
5485 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.media.MEDIA_SOURCE=null]
5486 [main] DEBUG media.MediaManager - Scanning available capture devices.
6510 [main] TRACE media.MediaManager - [entry] createDataSource
6511 [main] DEBUG media.MediaManager - javasound://44100
7115 [main] TRACE media.MediaManager - [exit] createDataSource
7116 [main] DEBUG media.MediaManager - An Audio Device was found.
7116 [main] DEBUG media.MediaManager - No Video Device was found.
7117 [main] TRACE media.MediaManager - [entry] initProcessor
7601 [main] DEBUG media.MediaManager - We will be able to transmit in:
7818 [main] DEBUG media.MediaManager - Audio=[1]=dvi/rtp; sdp=5
7819 [main] DEBUG media.MediaManager - Audio=[4]=g723/rtp; sdp=4
7819 [main] DEBUG media.MediaManager - Audio=[5]=gsm/rtp; sdp=3
7820 [main] DEBUG media.MediaManager - Audio=[6]=ULAW/rtp; sdp=0
7820 [main] TRACE media.MediaManager - [exit] initProcessor
7821 [main] TRACE media.MediaManager - [exit] start
7822 [main] TRACE media.MediaManager - [entry] addMediaListener
7822 [main] TRACE media.MediaManager - [exit] addMediaListener
7823 [main] TRACE communicator.SipCommunicator - [entry] initDebugTool
7824 [main] DEBUG common.PropertiesDepot - getProperty[gov.nist.javax.sip.TRACE_LEVEL=16]
7824 [main] TRACE communicator.SipCommunicator - [exit] initDebugTool
7825 [main] TRACE sip.SipManager - [entry] addCommunicationsListener
7826 [main] TRACE sip.SipManager - [exit] addCommunicationsListener
7827 [main] TRACE sip.SipManager - [entry] start
7827 [main] TRACE sip.SipManager - [entry] initProperties
7828 [main] TRACE sip.SipManager - [entry] getLocalHostAddress
7829 [main] TRACE common.NetworkAddressManager - [entry] getLocalHost
7829 [main] DEBUG common.PropertiesDepot - getProperty[java.net.preferIPv4Stack=false]
7830 [main] DEBUG common.PropertiesDepot - getProperty[java.net.preferIPv4Stack=false]
7838 [main] DEBUG common.NetworkAddressManager - Found public address /2001:7a0:202:2:200:e2ff:fe54:9f0c%2
7839 [main] DEBUG common.NetworkAddressManager - Found public address /141.19.96.31
7840 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.common.PREFERRED_NETWORK_ADDRESS=[2001:7a0:202:2:200:e2ff:fe54:9f0c]]
7840 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.common.PREFERRED_NETWORK_ADDRESS=[2001:7a0:202:2:200:e2ff:fe54:9f0c]]
7841 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.common.PREFERRED_NETWORK_INTERFACE=eth0]
7842 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.common.PREFERRED_NETWORK_INTERFACE=eth0]
7843 [main] DEBUG common.NetworkAddressManager - Returning public address
7843 [main] TRACE common.NetworkAddressManager - [exit] getLocalHost
7844 [main] DEBUG sip.SipManager - returning addres=2001:7a0:202:2:200:e2ff:fe54:9f0c%2
7845 [main] TRACE sip.SipManager - [exit] getLocalHostAddress
7846 [main] TRACE common.PropertiesDepot - [entry] setProperty
7847 [main] TRACE common.PropertiesDepot - [exit] setProperty
7847 [main] DEBUG sip.SipManager - stack address=[2001:7a0:202:2:200:e2ff:fe54:9f0c%2]
7848 [main] DEBUG common.PropertiesDepot - getProperty[javax.sip.STACK_NAME=sip-communicator]
7849 [main] DEBUG sip.SipManager - stack name is:sip-communicator
7849 [main] DEBUG common.PropertiesDepot - getProperty[javax.sip.RETRANSMISSION_FILTER=true]
7850 [main] DEBUG sip.SipManager - retransmission filter is:sip-communicator
7850 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.PUBLIC_ADDRESS=sip:MST-SWT31@ipv6.swt.fh-mannheim.de]
7857 [main] DEBUG sip.SipManager - public address=sip:MST-SWT31@ipv6.swt.fh-mannheim.de
7858 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.REGISTRAR_ADDRESS=sipgate.ipv6.swt.fh-mannheim.de]
7868 [main] DEBUG sip.SipManager - registrar address=sipgate.ipv6.swt.fh-mannheim.de
7869 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.REGISTRAR_PORT=5060]
7870 [main] DEBUG sip.SipManager - registrar port=5060
7871 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.REGISTRAR_TRANSPORT=UDP]
7871 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.REGISTRATIONS_EXPIRATION=600]
7872 [main] DEBUG sip.SipManager - registrar transport=UDP
7872 [main] DEBUG common.PropertiesDepot - getProperty[gov.nist.javax.sip.SERVER_LOG=log/sip-communicator.stack.log]
7873 [main] TRACE common.PropertiesDepot - [entry] setProperty
7874 [main] TRACE common.PropertiesDepot - [exit] setProperty
7874 [main] DEBUG sip.SipManager - server log=log/sip-communicator.stack.log
7875 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.STACK_PATH=gov.nist]
7876 [main] DEBUG sip.SipManager - stack path=gov.nist
7876 [main] DEBUG common.PropertiesDepot - getProperty[javax.sip.ROUTER_PATH=net.java.sip.communicator.sip.SipCommRouter]
7877 [main] DEBUG sip.SipManager - router path=net.java.sip.communicator.sip.SipCommRouter
7877 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.TRANSPORT=UDP]
7878 [main] DEBUG sip.SipManager - transport=UDP
7878 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.PREFERRED_LOCAL_PORT=5060]
7879 [main] DEBUG sip.SipManager - preferred local port=5060
7879 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.DISPLAY_NAME=Mst-Swt31]
7880 [main] DEBUG sip.SipManager - display name=Mst-Swt31
7880 [main] TRACE sip.SipManager - [exit] initProperties
hop = sipgate.ipv6.swt.fh-mannheim.de:5060/UDP
8161 [main] TRACE common.NetworkAddressManager - [entry] getPublicAddressFor
8162 [main] DEBUG common.NetworkAddressManager - Stun is disabled, skipping mapped address recovery.
8163 [main] TRACE common.NetworkAddressManager - [entry] getLocalHost
8164 [main] DEBUG common.PropertiesDepot - getProperty[java.net.preferIPv4Stack=false]
8164 [main] DEBUG common.PropertiesDepot - getProperty[java.net.preferIPv4Stack=false]
8165 [main] DEBUG common.NetworkAddressManager - Found public address /2001:7a0:202:2:200:e2ff:fe54:9f0c%2
8166 [main] DEBUG common.NetworkAddressManager - Found public address /141.19.96.31
8166 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.common.PREFERRED_NETWORK_ADDRESS=[2001:7a0:202:2:200:e2ff:fe54:9f0c]]
8167 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.common.PREFERRED_NETWORK_ADDRESS=[2001:7a0:202:2:200:e2ff:fe54:9f0c]]
8168 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.common.PREFERRED_NETWORK_INTERFACE=eth0]
8168 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.common.PREFERRED_NETWORK_INTERFACE=eth0]
8169 [main] DEBUG common.NetworkAddressManager - Returning public address
8170 [main] TRACE common.NetworkAddressManager - [exit] getLocalHost
8170 [main] TRACE common.NetworkAddressManager - [exit] getPublicAddressFor
8207 [main] TRACE security.SipSecurityManager - [entry] setHeaderFactory
8208 [main] TRACE security.SipSecurityManager - [exit] setHeaderFactory
8209 [main] TRACE sip.SipManager - [exit] start
8209 [main] TRACE communicator.SipCommunicator - sipManager appears to be successfully started
8238 [main] TRACE sip.SipManager - [entry] startRegisterProcess
8242 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.USER_NAME=MST-SWT31]
8243 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.DEFAULT_AUTHENTICATION_REALM=null]
8244 [main] TRACE communicator.SipCommunicator - [entry] obtainCredentials
8265 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.AUTH_WIN_TITLE=SIP Authentication!]
8290 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.AUTHENTICATION_PROMPT=Please enter login name and password for the specified realm:]
8297 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.USER_NAME_LABEL=User Name:]
8330 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.PASSWORD_LABEL=Password:]
11253 [main] TRACE communicator.SipCommunicator - [exit] obtainCredentials
11253 [main] TRACE common.PropertiesDepot - [entry] setProperty
11254 [main] TRACE common.PropertiesDepot - [exit] setProperty
11254 [main] TRACE common.PropertiesDepot - [entry] storeProperties
11254 [main] TRACE common.PropertiesDepot - [entry] traverseConfigurationFile
11378 [main] TRACE common.PropertiesDepot - [entry] getConfigurationFile
11379 [main] TRACE common.PropertiesDepot - work dir exists
11380 [main] TRACE common.PropertiesDepot - [exit] getConfigurationFile
11420 [main] DEBUG common.PropertiesDepot - getProperty[log4j.rootLogger=net.java.sip.communicator.common.Console.TraceLevel, RFLogger]
11422 [main] DEBUG common.PropertiesDepot - getProperty[log4j.appender.RFLogger=org.apache.log4j.RollingFileAppender]
11424 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.FIRST_LAUNCH=false]
11425 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.ENABLE_SIMPLE=false]
11426 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.media.PREFERRED_AUDIO_ENCODING=0]
11427 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.media.PREFERRED_VIDEO_ENCODING=26]
11428 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.media.MEDIA_SOURCE=null]
11429 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.media.MEDIA_BUFFER_LENGTH=100]
11430 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.media.IP_ADDRESS=null]
11431 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.media.AUDIO_PORT=null]
11436 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.media.VIDEO_PORT=null]
11438 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.PUBLIC_ADDRESS=sip:MST-SWT31@ipv6.swt.fh-mannheim.de]
11439 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.TRANSPORT=UDP]
11440 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.REGISTRAR_ADDRESS=sipgate.ipv6.swt.fh-mannheim.de]
11441 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.USER_NAME=MST-SWT31]
11442 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.STACK_PATH=gov.nist]
11443 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.PREFERRED_LOCAL_PORT=5060]
11444 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.DISPLAY_NAME=Mst-Swt31]
11445 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.REGISTRAR_TRANSPORT=UDP]
11446 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.REGISTRATIONS_EXPIRATION=600]
11447 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.REGISTRAR_PORT=5060]
11447 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.FAIL_CALLS_ON_DEST_USER_MISMATCH=false]
11448 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.DEFAULT_DOMAIN_NAME=sipgate.ipv6.swt.fh-mannheim.de]
11449 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.DEFAULT_AUTHENTICATION_REALM=null]
11450 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.WAIT_UNREGISTGRATION_FOR=1100]
11451 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.SAME_USER_EVERYWHERE=true]
11452 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.simple.CONTACT_LIST_FILE=contact-list.xml]
11454 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.simple.SUBSCRIPTION_EXP_TIME=600]
11455 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.simple.MIN_EXP_TIME=120]
11456 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.simple.LAST_SELECTED_OPEN_STATUS=online]
11457 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sipphone.IS_RUNNING_SIPPHONE=false]
11458 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sipphone.MY_SIPPHONE_URL=http://my.sipphone.com]
11478 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.AUTH_WIN_TITLE=SIP Authentication!]
11479 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.AUTHENTICATION_PROMPT=Please enter login name and password for the specified realm:]
11482 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.USER_NAME_LABEL=User Name:]
11483 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.USER_NAME_EXAMPLE=Example: 1-747-555-1212]
11484 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.PASSWORD_LABEL=Password:]
11484 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.GUI_MODE=PhoneUiMode]
11485 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.imp.CONTACT_LIST_X=null]
11486 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.imp.CONTACT_LIST_Y=null]
11487 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.imp.CONTACT_LIST_WIDTH=null]
11488 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.gui.imp.CONTACT_LIST_HEIGHT=null]
11489 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.common.PREFERRED_NETWORK_INTERFACE=eth0]
11489 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.common.PREFERRED_NETWORK_ADDRESS=[2001:7a0:202:2:200:e2ff:fe54:9f0c]]
11490 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.STUN_SERVER_ADDRESS=null]
11491 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.STUN_SERVER_PORT=null]
11492 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.VOICE_MAIL_ADDRESS=null]
11493 [main] DEBUG common.PropertiesDepot - getProperty[gov.nist.javax.sip.SERVER_LOG=log/sip-communicator.stack.log]
11493 [main] DEBUG common.PropertiesDepot - getProperty[gov.nist.javax.sip.TRACE_LEVEL=16]
11494 [main] DEBUG common.PropertiesDepot - getProperty[javax.sip.IP_ADDRESS=2001:7a0:202:2:200:e2ff:fe54:9f0c%2]
11495 [main] DEBUG common.PropertiesDepot - getProperty[javax.sip.STACK_NAME=sip-communicator]
11496 [main] DEBUG common.PropertiesDepot - getProperty[javax.sip.ROUTER_PATH=net.java.sip.communicator.sip.SipCommRouter]
11497 [main] DEBUG common.PropertiesDepot - getProperty[javax.sip.OUTBOUND_PROXY=sipgate.ipv6.swt.fh-mannheim.de:5060/UDP]
11497 [main] DEBUG common.PropertiesDepot - getProperty[javax.sip.RETRANSMISSON_FILTER=null]
11498 [main] DEBUG common.PropertiesDepot - getProperty[javax.sip.EXTENSION_METHODS=null]
11499 [main] DEBUG common.PropertiesDepot - getProperty[javax.sip.RETRANSMISSION_FILTER=true]
11503 [main] DEBUG common.PropertiesDepot - getProperty[java.net.preferIPv4Stack=false]
11504 [main] DEBUG common.PropertiesDepot - getProperty[java.net.preferIPv6Addresses=true]
11505 [main] TRACE common.PropertiesDepot - [exit] traverseConfigurationFile
11506 [main] TRACE common.PropertiesDepot - [entry] getConfigurationFile
11510 [main] TRACE common.PropertiesDepot - work dir exists
11510 [main] TRACE common.PropertiesDepot - [exit] getConfigurationFile
11805 [main] TRACE common.PropertiesDepot - [exit] storeProperties
11806 [main] TRACE sip.SipManager - [entry] register
11807 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.sip.DEFAULT_DOMAIN_NAME=sipgate.ipv6.swt.fh-mannheim.de]
11808 [main] TRACE sip.RegisterProcessing - [entry] register
11809 [main] TRACE sip.SipManager - [entry] getFromHeader
11973 [main] DEBUG sip.SipManager - Generated from header: From: "Mst-Swt31" <sip:MST-SWT31@sipgate.ipv6.swt.fh-mannheim.de:5060;transport=udp>;tag=6588476

11974 [main] TRACE sip.SipManager - [exit] getFromHeader
11975 [main] TRACE sip.SipManager - [entry] fireRegistering
11976 [main] DEBUG sip.SipManager - registering with address="Mst-Swt31" <sip:MST-SWT31@sipgate.ipv6.swt.fh-mannheim.de:5060;transport=udp>
11996 [main] TRACE communicator.SipCommunicator - [entry] registering
12038 [main] TRACE communicator.SipCommunicator - [exit] registering
12041 [main] TRACE sip.SipManager - [exit] fireRegistering
12104 [main] TRACE sip.SipManager - [entry] getLocalViaHeaders
12123 [main] DEBUG sip.SipManager - generated via headers:Via: SIP/2.0/UDP [2001:7a0:202:2:200:e2ff:fe54:9f0c%2]:5060

12124 [main] TRACE sip.SipManager - [exit] getLocalViaHeaders
12125 [main] TRACE sip.SipManager - [entry] getMaxForwardsHeader
12129 [main] DEBUG sip.SipManager - generate max forwards: Max-Forwards: 70

12130 [main] TRACE sip.SipManager - [exit] getMaxForwardsHeader
12289 [main] TRACE sip.SipManager - [entry] getContactHeader
12295 [main] ERROR sip.SipManager - A ParseException occurred while creating From Header!
java.text.ParseException: sip:[2001:7a0:202:2:200:e2ff:fe54:9f0c%2]: Illegal Host name
        at gov.nist.javax.sip.address.AddressFactoryImpl.createSipURI(AddressFactoryImpl.java:100)
        at net.java.sip.communicator.sip.SipManager.getContactHeader(SipManager.java:894)
        at net.java.sip.communicator.sip.SipManager.getRegistrationContactHeader(SipManager.java:864)
        at net.java.sip.communicator.sip.RegisterProcessing.register(RegisterProcessing.java:330)
        at net.java.sip.communicator.sip.SipManager.register(SipManager.java:556)
        at net.java.sip.communicator.sip.SipManager.startRegisterProcess(SipManager.java:599)
        at net.java.sip.communicator.SipCommunicator.launch(SipCommunicator.java:194)
        at net.java.sip.communicator.SipCommunicator.main(SipCommunicator.java:276)
12302 [main] TRACE sip.SipManager - [exit] getContactHeader
12303 [main] TRACE sip.RegisterProcessing - [exit] register
12304 [main] TRACE sip.SipManager - [exit] register
12304 [main] TRACE sip.SipManager - [exit] startRegisterProcess
12305 [main] ERROR communicator.SipCommunicator - An exception occurred while trying to register, exc
net.java.sip.communicator.sip.CommunicationsException: A ParseException occurred while creating From Header!
        at net.java.sip.communicator.sip.SipManager.getContactHeader(SipManager.java:917)
        at net.java.sip.communicator.sip.SipManager.getRegistrationContactHeader(SipManager.java:864)
        at net.java.sip.communicator.sip.RegisterProcessing.register(RegisterProcessing.java:330)
        at net.java.sip.communicator.sip.SipManager.register(SipManager.java:556)
        at net.java.sip.communicator.sip.SipManager.startRegisterProcess(SipManager.java:599)
        at net.java.sip.communicator.SipCommunicator.launch(SipCommunicator.java:194)
        at net.java.sip.communicator.SipCommunicator.main(SipCommunicator.java:276)
Caused by: java.text.ParseException: sip:[2001:7a0:202:2:200:e2ff:fe54:9f0c%2]: Illegal Host name
        at gov.nist.javax.sip.address.AddressFactoryImpl.createSipURI(AddressFactoryImpl.java:100)
        at net.java.sip.communicator.sip.SipManager.getContactHeader(SipManager.java:894)
        ... 6 more
19769 [main] DEBUG common.PropertiesDepot - getProperty[net.java.sip.communicator.ENABLE_SIMPLE=false]
19772 [main] TRACE communicator.SipCommunicator - [exit] launch
19772 [main] TRACE communicator.SipCommunicator - [exit] main
28562 [AWT-EventQueue-0] TRACE communicator.SipCommunicator - [entry] shutDown
28563 [AWT-EventQueue-0] TRACE media.MediaManager - [entry] closeStreams
28564 [AWT-EventQueue-0] TRACE media.MediaManager - [entry] stopTransmitters
28566 [AWT-EventQueue-0] TRACE media.MediaManager - [exit] stopTransmitters
28567 [AWT-EventQueue-0] TRACE media.MediaManager - [entry] stopReceiver
28568 [AWT-EventQueue-0] TRACE media.MediaManager - [exit] stopReceiver
28569 [AWT-EventQueue-0] TRACE media.MediaManager - [entry] firePlayerStopped
28571 [AWT-EventQueue-0] TRACE communicator.SipCommunicator - [entry] playerStopped
28573 [AWT-EventQueue-0] TRACE communicator.SipCommunicator - [exit] playerStopped
28574 [AWT-EventQueue-0] TRACE media.MediaManager - [exit] firePlayerStopped
28575 [AWT-EventQueue-0] TRACE media.MediaManager - [exit] closeStreams
28576 [AWT-EventQueue-0] TRACE media.MediaManager - [entry] stop
28578 [AWT-EventQueue-0] TRACE media.MediaManager - [entry] closeStreams
28579 [AWT-EventQueue-0] TRACE media.MediaManager - [entry] stopTransmitters
28580 [AWT-EventQueue-0] TRACE media.MediaManager - [exit] stopTransmitters
28581 [AWT-EventQueue-0] TRACE media.MediaManager - [entry] stopReceiver
28582 [AWT-EventQueue-0] TRACE media.MediaManager - [exit] stopReceiver
28583 [AWT-EventQueue-0] TRACE media.MediaManager - [entry] firePlayerStopped
28584 [AWT-EventQueue-0] TRACE communicator.SipCommunicator - [entry] playerStopped
28586 [AWT-EventQueue-0] TRACE communicator.SipCommunicator - [exit] playerStopped
28588 [AWT-EventQueue-0] TRACE media.MediaManager - [exit] firePlayerStopped
28589 [AWT-EventQueue-0] TRACE media.MediaManager - [exit] closeStreams
28592 [AWT-EventQueue-0] TRACE media.MediaManager - [entry] closeProcessor
28597 [AWT-EventQueue-0] TRACE media.MediaManager - [exit] closeProcessor
28599 [AWT-EventQueue-0] TRACE media.MediaManager - [exit] stop
28600 [AWT-EventQueue-0] TRACE sip.SipManager - [entry] endAllCalls
28601 [AWT-EventQueue-0] TRACE sip.SipManager - [exit] endAllCalls
28605 [AWT-EventQueue-0] TRACE sip.SipManager - [entry] unregister
28606 [AWT-EventQueue-0] TRACE sip.SipManager - [exit] unregister
28609 [AWT-EventQueue-0] TRACE communicator.SipCommunicator - [exit] shutDown
michael@SWT31:~/Software/sip-com-linux>

--------------------- end of console log

I find out, that the sip-communicator.xml file is changed after termination at place IP_ADDRESS into:

<IP_ADDRESS value="2001:7a0:202:2:200:e2ff:fe54:9f0c%2"/>

I have never typed in the %2. Sip-communicator has overwritten this value.

The linux command IFCONFIG provides folling:
eth0 Protokoll:Ethernet Hardware Adresse 00:00:E2:54:9F:0C
          inet Adresse:141.19.96.31 Bcast:141.19.96.255 Maske:255.255.255.0
          inet6 Adresse: 2001:7a0:202:2:200:e2ff:fe54:9f0c/64 G�ltigkeitsbereich:Global
          inet6 Adresse: fe80::200:e2ff:fe54:9f0c/64 G�ltigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:52377 errors:0 dropped:0 overruns:0 frame:0
          TX packets:199 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 Sendewarteschlangenl�nge:1000
          RX bytes:8205666 (7.8 Mb) TX bytes:74542 (72.7 Kb)

This contains also no %2.
Then I tried the following small java program. The result depends on the used java version:

Under java 1.5: global IPv6 address with %2

name:eth0 (eth0) index: 2 addresses:
/fe80:0:0:0:200:e2ff:fe54:9f0c%2;
/2001:7a0:202:2:200:e2ff:fe54:9f0c%2;
/141.19.96.31;

name:lo (lo) index: 1 addresses:
/0:0:0:0:0:0:0:1%1;
/127.0.0.1;

And under java 1.4 the same programm results the addresses without %2:
name:eth0 (eth0) index: 2 addresses:
/fe80:0:0:0:200:e2ff:fe54:9f0c;
/2001:7a0:202:2:200:e2ff:fe54:9f0c;
/141.19.96.31;

name:lo (lo) index: 1 addresses:
/0:0:0:0:0:0:0:1;
/127.0.0.1;

Why the output contains under linux and java 1.5 the succeeding %2?
I have applied the programm also under windows XP with java 1.5 and paradoxically there is no %2 at the end of the global addresses:

name:lo (MS TCP Loopback interface) index: 1 addresses:
/127.0.0.1;
/0:0:0:0:0:0:0:1;
/fe80:0:0:0:0:0:0:1%1;

name:eth0 (Realtek RTL8139-Familie-PCI-Fast Ethernet-NIC - Paketplaner-Miniport)
index: 4 addresses:
/141.19.96.53;
/2001:7a0:202:2:393e:bbb9:7535:57c0;
/2001:7a0:202:2:211:6bff:fe30:d821;

Java programm to get available ip addresses:

import java.util.*;
import java.net.*;
public class ip {
     public ip() {
    }
    public static void main(String[] args) {
        // TODO code application logic here
        try {
            Enumeration localIfaces = NetworkInterface.getNetworkInterfaces();
            while (localIfaces.hasMoreElements()) {
                System.out.println(localIfaces.nextElement());
            }
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}

I think the problem is not pure caused by java 1.5 but rather by the combination with linux. What do you mean?

Greetings,
Michael

>Hi Michael,
>
>Could you please try and locate the exact place and reason why the problem appears. How does the %2 get there? Is this an address returned by ur DNS or is it something you typed. The logs might also contain some more details.
>
>Emil
>
>Michael Stier wrote:
>
>> Dear SIP Communicator users,
>>
>> it seems there is a problem with sip-communicator and the new java version 1.5.0 in combination with ipv6 on linux. The registration fails because of a parsing error.
>>
>> The following exception occurred while trying to register the UA:
>>
>> 9381 [main] ERROR communicator.SipCommunicator - An exception occurred while trying to register, exc
>> net.java.sip.communicator.sip.CommunicationsException: A ParseException occurred while creating From Header!
>> at net.java.sip.communicator.sip.SipManager.getContactHeader
>> (SipManager.java:917)
>> at net.java.sip.communicator.sip.SipManager.getRegistrationContactHeader
>> (SipManager.java:864)
>> at net.java.sip.communicator.sip.RegisterProcessing.register
>> (RegisterProcessing.java:330)
>> at net.java.sip.communicator.sip.SipManager.register
>> (SipManager.java:556)
>> at net.java.sip.communicator.sip.SipManager.startRegisterProcess
>> (SipManager.java:599)
>> at net.java.sip.communicator.SipCommunicator.launch
>> (SipCommunicator.java:194)
>> at net.java.sip.communicator.SipCommunicator.main
>> (SipCommunicator.java:276)
>> Caused by: java.text.ParseException: sip:[2001:7a0:202:2:200:e2ff:fe54:9f0c%
>> 2]: Illegal Host name
>> at gov.nist.javax.sip.address.AddressFactoryImpl.createSipURI
>> (AddressFactoryImpl.java:100)
>> at net.java.sip.communicator.sip.SipManager.getContactHeader
>> (SipManager.java:894)
>> ... 6 more
>> --------------------
>>
>> There is an additional %2 at the end of the automatically discovered ipv6 address. This scope identifier causes probably the exception. Until java version 1.4.2 everything runs perfectly.
>>
>> Did anybody reproduce similar problems over IPv6 and Java 1.5?
>> Do anybody know an acceptable solution?
>>
>> Thanks in advance for any help.
>>
>> Greetings,
>> Michael
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
>> For additional commands, e-mail: users-help@sip-communicator.dev.java.net

···

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net