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.
Similar Messages
-
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
ThomasHi 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
GnanaHi,
/thread/77197 [original link is broken]
Regards
Prakash -
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 -
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);
} -
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,
VishalValues 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) -
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
RajHi 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
MohanHi,
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 -
TREX Name Server (Errorcode 7217)
Hi,
I have the EP 7.0.
When I try to use the search tool (TREX), to find some file, I recieve de folow message:
class com.sapportals.trex.TrexException
TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)
Details:
com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)
at com.sapportals.trex.tns.TNSClient.sendRequest(TNSClient.java:537)
at com.sapportals.trex.tns.TNSClient.getActiveHttpServers(TNSClient.java:349)
at com.sapportals.trex.tns.TNSClient.getHttpServer(TNSClient.java:208)
at com.sapportals.trex.core.util.HttpRequest.getServerUrl(HttpRequest.java:604)
at com.sapportals.trex.core.util.HttpRequest.run_it(HttpRequest.java:233)
at com.sapportals.trex.core.util.HttpRequest.run(HttpRequest.java:111)
at com.sapportals.trex.core.util.HttpRequest.run(HttpRequest.java:95)
at com.sapportals.trex.core.admin.HttpAdmin.showIndex(HttpAdmin.java:536)
at com.sapportals.trex.core.admin.AdminManager.showIndex(AdminManager.java:650)
at
What I have to do to resolve this problem?<b>I looked the files and I found some messages like this:</b>
[4112] 2006-12-01 10:02:43.625 e TNS_Timing WatchDog.cpp(00162) : info LocalWatchDog: detected unknown->inactive httpserver@http://portalapprod:30205/TREXHttpServer/TrexIsapiExt.dll
[2264] 2006-12-01 13:00:06.140 e TNS_Timing WatchDog.cpp(00157) : info LocalWatchDog: detected active httpserver@http://portalapprod:30205/TREXHttpServer/TrexIsapiExt.dll
[2452] 2006-12-01 13:11:16.375 e TNS_Timing WatchDog.cpp(00157) : info LocalWatchDog: detected active httpserver@http://portalapprod:30205/TREXHttpServer/TrexIsapiExt.dll
[2452] 2006-12-01 13:11:16.390 e TNS_Timing WatchDog.cpp(00157) : info LocalWatchDog: detected active preprocessor@portalapprod:30202
[2452] 2006-12-01 13:11:16.390 e TNS_Timing WatchDog.cpp(00157) : info LocalWatchDog: detected active indexserver@portalapprod:30203
[2452] 2006-12-01 13:11:16.390 e TNS_Timing WatchDog.cpp(00157) : info LocalWatchDog: detected active queueserver@portalapprod:30204
[2452] 2006-12-01 16:30:38.831 e TrexNet EndPoint.cpp(00210) : ERROR: failed to open channel 192.168.151.11:30202! reason: connection refused
[2452] 2006-12-01 16:30:38.831 e NameServer TREXNameServer.cpp(00712) : pingTREXService(preprocessor@portalapprod:30202) net exception while connectingOpenChannelException at EndPoint.cpp(00211):
message: an error occured while opening the channel
info: connection refused
param: 192.168.151.11:30202
[2452] 2006-12-01 16:30:39.917 e TrexNet EndPoint.cpp(00210) : ERROR: failed to open channel 192.168.151.11:30203! reason: connection refused
[2452] 2006-12-01 16:30:39.917 e NameServer TREXNameServer.cpp(00712) : pingTREXService(indexserver@portalapprod:30203) net exception while connectingOpenChannelException at EndPoint.cpp(00211):
message: an error occured while opening the channel
I<b> tried to start the TREXadmin.bat but it didn't work and show the message "Shared Memory Not Initialized. Retry in 5 second..."</b>
Do you have any another idea? -
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
MouliThere�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 -
How to configure trex 6.1 in srm 5.0
how to configure trex 6.1 in srm 5.0
Hi vishal,
Please have a look here :
http://help.sap.com/saphelp_nw2004s/helpdata/en/b3/a86642a3423654e10000000a155106/frameset.htm
Kind regards
Yann -
Dear All,
We have configured TREX 6.1 on our Portal.
The Installation is complete & now we are carrying out the post installation activities.
We are getting the error like -
"The name server is not running or no name server is configured in TREX Service Properties."
Through Visual Administrator the TREX Service entry for name server are completed.
When I stop/start the TREX service the process for TREXNameserver is running. I then go to the Portal & click System Configuration - --TREX Monitoring the above message comes & in the Task Manager when I check the process for TREXNameserver it is not running.
Please suggest asap.
Thanks & Regards,
SameerPlease check if you have done the below
Procedure
1. On the portal host, edit the configuration file config_local.properties. The information below gives the respective locations of the file:
<SAP_J2EE_Directory>>clusterserverservicesservlet_jspworkjspTempirjrootWEB-INFportalportalappscom.sap.km.applicationlib
2. Insert the following line:
trexserver=<hostname>.<domain>
Example: trexserver=mytrexhost.mydomain.com
3. Restart the servlet engine.
Only EP 6.0: Check the settings in the portal under System Administration → System Configuration → Service Configuration → Applications (Content Catalog) → com.sap.portal.ivs.httpservice → Services → proxy.
If a proxy server is entered there, you have to enter the TREX host in the field http Bypass Proxy Servers.
Also check if you have comfigured the below
http://help.sap.com/bp_epv260/EP_JA/documentation/How-to_Guides/14_TREX60SP1_InstallationGuidePortal.pdf
Message was edited by:
Jayesh Ghodge
Message was edited by:
Jayesh Ghodge -
How to configure the Access Server?
Hi All
I am in the process of migrating from 11.0.1 to 12.0.
I have some real-time jobs.
For this I need to configure the Access Server.
I can understand I should do this from Server Manager>Edit Access Server Config>Add
Here what info we need to give? Does it mean we need to give the server name on which current version is installed? How to choose the port?
My old version DI 11.0.1 is using port 4000. Also in the DS Mgmt Console, I am defaultly getting the Old Job Server in the Adapter Config node. How to remove this?
Someone plz help me on this.
Thank You
Ganesh SampathYou have to explicitly share directories on external/secondary volumes.
Use the Server admin app to configure file sharing, and select which directory/directories on the second drive you want to share, then they'll be available to clients.
Maybe you are looking for
-
How do I create several pdf files from one large original pdf?
Good afternoon- Newby here- New to Acrobat.com. How can I convert/save 1 large pdf into several smaller pdf files using acrobat.com?
-
Error In Java Studio Enterprise 8 on creating EJB
While creating an EJB in Java Studio Enterprise 8 inan EJB Project, I get a 'Stream Closed' Error on clicking 'Finish' (see the image link). Why is this so? I can't proceed further. http://img301.imageshack.us/img301/7348/17xf.png
-
My nokia c2-01 restarts itself again nd again at any time while using internet,playing games,or viewing videos,i think there is problem with the operating system,plz let me know what cn i do to cure that fault
-
TS4006 If my ipod is out of battery will it still play the sound?
If my ipod is out of battery will it still play the sound?
-
Games app in iOS 4.2.1?
After updating to 4.2.1 I see a new icon among my apps "Games" I have 5 games but only 1 was mentioned inside the Games app, yet there are lots of mini icons shown that I don't own. Hoping they'd be replaced by the others I do own, I dragged them on