How To Configure TREX Name Server&Port for UDDI  Service Registry Settings

Hello Experts,
we are using CE 7.1 SP 4 and I would like to use the trex service in the Service Registry.
I use \NWA\Service Registry Configuration\Service Registry Settings\Keyword Search and want to test the TREX Communication using the Test Connection Button.
If I do so, I receive "Connection to TREX not successful".
When I press the Update TREX button I receive this exception:
com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)
I tried to configure the trex.service with the two parameters: nameserver.address and nameserver.backupserverlist -> tcpip://myhostname.mydomain:30001 (Instance 00).
I am not sure if the port number is correct -> is there a way to lookup the correct port number?
Is there something else I should configure?
Thanks for help, best regards
Thomas

Hi Ganesh,
In order to access the Visual Administrator, go to Start > Programs > SAP J2EE Engine > Visual Administrator. After you login, you will see 2 nodes i.e. Dispatcher and Server. Expand the Server node. Then go to "Services" and expand it. Then go all the way down to "TREX Service". Then on the right hand side, go to the property "nameserver.address" where you will key in "tcpip://<nameserver>:<port>". Then hit "Update" and click on the "Save" button. Then when you go to TRex Monitor, you should be able to see the Name Server running. Hope this helps.
Thanks,
Sri
P.S Please rewards points if you find this helpful. Thanks.

Similar Messages

  • How to configure trex name server

    hi all
      while creating index i am getting the error
    Index could not be created; creating index failed: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)
    for the above error i need to configure the trex name server using  TREX Configuration in the J2EE Engine  in j2ee visual administrator .
    can any one tell me the clear path that where to configure the above and where j2ee visual administrator installed how to configure the name server
    awaiting for replies
    regards
    ganesh

    Hi Ganesh,
    In order to access the Visual Administrator, go to Start > Programs > SAP J2EE Engine > Visual Administrator. After you login, you will see 2 nodes i.e. Dispatcher and Server. Expand the Server node. Then go to "Services" and expand it. Then go all the way down to "TREX Service". Then on the right hand side, go to the property "nameserver.address" where you will key in "tcpip://<nameserver>:<port>". Then hit "Update" and click on the "Save" button. Then when you go to TRex Monitor, you should be able to see the Name Server running. Hope this helps.
    Thanks,
    Sri
    P.S Please rewards points if you find this helpful. Thanks.

  • Configuring TREX name server  using j2ee visual administrator

    hi all
    i found the go.bat file in the following path in my system
    /usr/sap/EEP/JC00/j2ee/admin/go.bat
    now i want to run that "go.bat" but i don't know how to run this in linux machine but my portal server is installed in linux machine.so, can any one help me how to run that file in order to configure name server .
    and also can any one tell me how to find out the server name and port number in order to fill the following format in name sererver
    tcpip://<%nameserver%>:portnumber
    plzz help me out
    Thks&Rgds
    Gnana

    Hi,
    /thread/77197 [original link is broken]
    Regards
    Prakash

  • How to configure the smtp server..

    i had an error when running the java mail program..
    this is my program
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import java.io.*;
    import java.util.Properties;
    public class MailClient
    public void sendMail(String mailServer, String from, String to,
    String subject, String messageBody,
    String[] attachments) throws
    MessagingException, AddressException
    // Setup mail server
    Properties props = System.getProperties();
    props.put("mail.smtp.host", mailServer);
    // Get a mail session
    Session session = Session.getDefaultInstance(props, null);
    // Define a new mail message
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from));
    message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
    message.setSubject(subject);
    // Create a message part to represent the body text
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText(messageBody);
    //use a MimeMultipart as we need to handle the file attachments
    Multipart multipart = new MimeMultipart();
    //add the message body to the mime message
    multipart.addBodyPart(messageBodyPart);
    // add any file attachments to the message
    // addAtachments(attachments, multipart);
    // Put all message parts in the message
    message.setContent(multipart);
    // Send the message
    Transport.send(message);
    protected void addAtachments(String[] attachments, Multipart multipart)
    throws MessagingException, AddressException
    for(int i = 0; i<= attachments.length -1; i++)
    String filename = attachments;
    MimeBodyPart attachmentBodyPart = new MimeBodyPart();
    //use a JAF FileDataSource as it does MIME type detection
    DataSource source = new FileDataSource(filename);
    attachmentBodyPart.setDataHandler(new DataHandler(source));
    //assume that the filename you want to send is the same as the
    //actual file name - could alter this to remove the file path
    attachmentBodyPart.setFileName(filename);
    //add the attachment
    multipart.addBodyPart(attachmentBodyPart);
    public static void main(String[] args)
    try
    MailClient client = new MailClient();
    String server="smtp.canvasindia.com";
    String from="[email protected]";
    String to = "[email protected]";
    String subject="Test";
    String message="Testing";
    String[] filenames ={"c:/A.java"};
    client.sendMail(server,from,to,subject,message,filenames);
    catch(Exception e)
    e.printStackTrace(System.out);
    the error is .................
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 553 Attack detected from p
    ool 59.144.8.116. <http://unblock.secureserver.net/?ip=59.144.8.*>
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
    at javax.mail.Transport.send0(Transport.java:169)
    at javax.mail.Transport.send(Transport.java:98)
    at MailClient.sendMail(MailClient.java:47)
    at MailClient.main(MailClient.java:84)
    Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 553 Attack detected fro
    m pool 59.144.8.116. <http://unblock.secureserver.net/?ip=59.144.8.*>
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
    ... 5 more
    how to configure the smtp server in my machine..
    please guide me...

    This uses gmail account, and gmail smtp
    * MailSender.java
    * Created on 14 November 2006, 17:07
    * This class is used to send mails to other users
    package jmailer;
    * @author Abubakar Gurnah
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    public class MailSender{
        private String d_email,d_password;
         * This example is for gmail, you can use any smtp server
         * @param d_email --> your gmail account e.g. [email protected]
         * @param d_password  --> your gmail password
         * @param d_host --> smtp.gmail.com
         * @param d_port --> 465
         * @param m_to --> [email protected]
         * @param m_subject --> Subject of the message
         * @param m_text --> The main message body
        public String send(String d_email,String d_password,String d_host,String d_port,
                String m_from,String m_to,String m_subject,String m_text ) {
            this.d_email=d_email;
            this.d_password=d_password;
            Properties props = new Properties();
            props.put("mail.smtp.user", d_email);
            props.put("mail.smtp.host", d_host);
            props.put("mail.smtp.port", d_port);
            props.put("mail.smtp.starttls.enable","true");
            props.put("mail.smtp.auth", "true");
            //props.put("mail.smtp.debug", "true");
            props.put("mail.smtp.socketFactory.port", d_port);
            props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
            props.put("mail.smtp.socketFactory.fallback", "false");
            SecurityManager security = System.getSecurityManager();
            try {
                Authenticator auth = new SMTPAuthenticator();
                Session session = Session.getInstance(props, auth);
                //session.setDebug(true);
                MimeMessage msg = new MimeMessage(session);
                msg.setText(m_text);
                msg.setSubject(m_subject);
                msg.setFrom(new InternetAddress(m_from));
                msg.addRecipient(Message.RecipientType.TO, new InternetAddress(m_to));
                Transport.send(msg);
                return "Successful";
            } catch (Exception mex) {
                mex.printStackTrace();
            return "Fail";
        //public static void main(String[] args) {
        //    MailSender blah = new MailSender();
        private class SMTPAuthenticator extends javax.mail.Authenticator {
            public PasswordAuthentication getPasswordAuthentication() {
                return new PasswordAuthentication(d_email, d_password);
    }

  • How to Configure a mail server with OIM

    Experts ,
    Any idea/links/Docs on how to configure a mail server with OIM and to send mail notification to someone .
    Pardon me, if my questions seems to be incomplete .
    Thanks
    Suren

    .Create an IT Resource of Type Mail Server. Give Name as "Email Server.Now populate the values for all the parameter for example Server,username,password and authentication type.
    .Go to System Configuration and in Email Server property value give the name of IT resource you created in step1 so the name will be "Email Server".
    http://forums.oracle.com/forums/messageview.jspa?messageID=3867506&stqc=true

  • Com.sapportals.wcm.WcmException: TREX Name Server

    Hello SAPMAN;
    When try search in Portal show this error,
    Search Failure
    Error during search occurred - com.sapportals.wcm.WcmException: TREX Name Server (including back-up servers) is down or not accessable.  (Errorcode 7217)
    An unexpected severe error occurred during the search call.  If the situation persists, inform your system administrator.
    In Visual Administrator the trex service is ok.
    Regards.

    Trace error,
    [290512] 2010-04-23 12:52:19.643 e TNS          TNSClient.cpp(00599) : sendRequest to spcp1appitr01:30301 failed with NetException. data=[getvalue](S)client_id=spcp1appitr01:0/291980/1920...
    [290512] 2010-04-23 12:52:19.643 e TNS          TNSClient.cpp(00497) : nameserver spcp1appitr01:30301 not responding after 1 retries. giving up.
    [290512] 2010-04-23 12:52:19.643 e TrexNet      EndPoint.cpp(00087) : ERROR: failed to create Endpoint 10.130.14.15:0 reason: invalid port
    [290512] 2010-04-23 12:52:19.643 e AlertServer  TRexAlertMonitor.cpp(00598) : An exception occured while getting configuration from the active master (name) alert server!
    [291500] 2010-04-23 12:53:10.174 e NameServer   TREXNameServer.cpp(00542) : shared memory not initialized after 10 retries (state=Reinit). disabling shared memory
    [291500] 2010-04-23 12:53:11.143 e TrexNet      EndPoint.cpp(00243) : ERROR: failed to open channel 10.130.14.15:30301! reason: connection refused
    [291500] 2010-04-23 12:53:11.143 e TNS          TNSClient.cpp(00599) : sendRequest to spcp1appitr01:30301 failed with NetException. data=[getvalue](S)client_id=spcp1appitr01:0/292784/1920...
    [291500] 2010-04-23 12:53:11.143 e TNS          TNSClient.cpp(00497) : nameserver spcp1appitr01:30301 not responding after 1 retries. giving up.
    [291500] 2010-04-23 12:53:11.143 e TrexNet      EndPoint.cpp(00087) : ERROR: failed to create Endpoint 10.130.14.15:0 reason: invalid port
    [291500] 2010-04-23 12:53:11.143 e AlertServer  TRexAlertMonitor.cpp(00598) : An exception occured while getting configuration from the active master (name) alert server!
    Regards.

  • Can anybody know how to configure Multi threaded server?

    Hi
    All,
    Can anybody know how to configure Multi threaded server?
    Thanks,
    Vishal

    Values are just samples only. use what ever appropriate for your environment. Understand each of them before using in production.
    alter system set DISPATCHERS="(PROTOCOL=tcp)(DISPATCHERS=3)(CONNECTIONS=1000)"
    alter system set shared_servers=100
    replace "DEDICATED" with "SHARED" in tns names
    Ready to go.
    select username,server from gv$session (server should show none or shared)

  • TREX Name Server Disabled

    Hello,
    I am running EP6 SP2 Patch29.  When I click on System Admin - System Configuration - Knowledge Management - Index Administration and the TREX Monitor.  I get a message that <b>Name Server Disabled</b>.  The other serivces listed are connected.
    I went to the TREX Server and I can open a telnet connect on that server on port 8355, which is what is configured as the Name Server port.
    Any ideas why I get Name Server Disabled when I looked at the TREX Monitor?
    Thanks,
    Keith

    Hi Keith,
      Check the parameters(Name Server parameters .. if anything is disabled, change it) of TREX Service in Visual Administrator and check the parameters in topology.ini file.
    Hope this will solve your problem.
    Regards,
    Srinivas GV.

  • How to configure multiple listeners to listen for the same instance.

    Hello everyone,
    I am running oracle database 11g and I want information regarding how to configure multiple listeners to listen for the same database instance. Actually I know how to configure more than one listener but the main thing that I am confused about is when we create listener.ora file, do we have to statically register the database instance with both the listeners or the instance will register itself with both the listeners.
    According to my knowledge the instance will register with the listener specified by LOCAL_LISTENER parameter and we cannot have more than one value for this parameter.
    Please only give detailed answers with example as I am tired of simple answers with details that I already know.

    Hello,
    Yes, it can make sense to have several listener for one Oracle instance. For instance you may have one listener for the applications another listener for DBA administration tasks as well as one listener dedicated to dataguard broker. It is not possible to have several listeners listening on the same IP and Port.
    By default the database try to automatically register to a listener on port 1521. To instruct the instance to register to a specifc list of listeners you can add in the init.ora the local_listener parameter with an alias definition:
    i.e
    local_listener=MY_SET_OFF_LISTENERS
    in your tnsname.ora add an entry called:
    MY_SET_OFF_LISTENERS_LOCAL= (ADDRESS_LIST=
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1530))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1531))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1532))
    In this sample your instance will register to three listeners listening on respectively port 1530, 1531 and 1532
    If you want your clients can be balanced over the 3 listeners

  • How to configure single web server instance to multiple application servers..

    Hi all,
    we are running single instance of IWS6.0 SP2 on solaris, we want to comfigure this single instance to multiple application servers(JRun). Can any one advise me whether it is possible to do.
    Thanks
    Raj

    Hi Raj,
    "how to configure single web server instance to multiple application servers.."
    It's not possible for setting up multiple applicataion servers for Single iWS instance.
    Thanks,
    Dakshin.

  • Com.sapportals.wcm.WcmException:TREX Name Server Error

    Hi,
    I have developed a Customised Search Iview using the STD KM Search Iview
    But I getting the following error while I input a search criteria and click on the Search Button :
    "Error during search occurred - com.sapportals.wcm.WcmException: TREX Name Server (including back-up servers) is down or not accessable.  (Errorcode 7217)"
    Please can anyone let me know why is this error been thrown.
    Regards,
    Vaishali.

    Hi.
    I am having the same error, i already check the monitor and it shows the same error:
    Error during search occurred - com.sapportals.wcm.WcmException: TREX Name Server (including back-up servers) is down or not accessable.  (Errorcode 7217).
    There are two machines accessing TRX and one is working fine the other one does not. I made a ping from epweb to trx and does not respond. If i make de ping from epprd to trx it responds fine. What can i do?.
    TRX is up and working fine.
    Thanks for the help.
    Edited by: Juan Pablo Toledo Corredor on Apr 16, 2009 8:13 PM

  • How to configure the Integration Server Settins?

    Hi,
    I am doing a scenario like Idoc 2 File, I am passing parameter of Adapter Engine is a Integration Server, and when we generate a Idoc and send to XI system using TC: WE19. XI System is not picked the Idoc, and when i am checking RWB the Adapter Framework. Please Guide me how to configure the Integration Server setting.
    Regards
    Mohan

    Hi,
    did you checked the ur IDOC outbound status?
    also check IDX5, whether it has reached XI system.
    plz do check all ur settings:
    1. Create RFC destination to XI in SM59 transaction
    2. Create a port in we21
    3. Create partner profile we20
    4. we05- Idocs monitoring
    XI Settings:
    1. Create RFC destination to XI in SM59 transaction
    2. Idx1 – Port maintenance
    3. Idx2 - Metadata maintenance
    4. Idx5 – All Idoc inbound and outbound messages
    regards
    Message was edited by:
            Vijaya Lakshmi MV

  • How to configura multiple ldap server to the sun access manager

    Hi,
    please help how to configure multiple ldap server to the sun access manager, for example access manager does't find the user in ldap1 then it should search in ldap2.
    Thanks
    Mouli

    There�s no need for deleting the default amSDK based datastore because it�s needed for some default accounts.
    You may try to create the datastore using the commandline (amadmin)
    Have a look /etc/opt/SUNWam/config/xml/idRepoService.xml
    You may also try to create amadmin account in the external ldap directory.
    (Un)fortunately i�ve never tried to remove the default datastore.
    -Bernhard

  • TS3899 what is the outgoing server port for smtp

    what is the outgoing server port for smtp

    Google is your friend for searching for SMTP configuration for your Email provider
    25 is blocked by most providers (because of spam)
    465 and 587 are the ports used by authenticated SMTP setups.

  • How to create one more server node for SAP J2EE server?

    Hi,
    Can any one please suggest how to create one more server node for SAP J2EE server? I am using WAS700.
    Thanks and Regards,
    Smriti.

    Hai,
          Login into the Configtool(C:\usr\sap\SID\DVEBMGS<inst no>\j2ee\configtool) if ABAP+JAVA stack or C:\usr\sap\SID\JC<inst no>\j2ee\configtool) if JAVA stack
    click on the instance and and select the addserver button on the top to create a servernode for J2EE server.
    Thanks and Regards,

Maybe you are looking for

  • .xls ,.xlsx, .xlsm in sender file adapter

    hi guys, I have written an adapter module to read an excel file in sender file adapter... if the input file comes as .xlsx or .xlsm wll it be able t read the same? or do i have to change anything in the module code? filename in sender cc is filename.

  • How do I add photos to my contacts on galaxy s5

    You have two ways of adding pictures. From the camera/gallery or from your contacts. From contacts, find the one you want, open, tap the pen to edit. Tap the + sign and the pop up will ask where you want to add the photo from. From the gallery, selec

  • VBRK-STCEG

    Hi! I'd appreciate some helps as follows: When you deliver from one EU country to another EU country and the Payer has no VAT registration in the country of destination but is registered in some other EU country i.e. If we maintain a VAT registration

  • 2 Oracle Clients in the server

    Guys, we have a server which has an Oracle 8.1.7 installed. Since we developed a new .net application that requires Oracle 9iR2 Client, we have to install an Oracle 9iR2 also on the same machine. However, we are having problems executing stored procs

  • How do i replace recently modified photos

    I have been working on a slide show in IMovie.  Originally, I cropped all the photos in IPhoto to be landscape because that is what I thought was the acceptable format, but some of the photos are so close they are of peoples' noses.  I discovered las