on 11-13-2007 12:32 PM
Hello
using configtool.bat I changed the java properties of the server node adding the following variables
-Dhttp.proxyHost=myproxy
-Dhttp.proxyPort=12345
-DproxySet=true
and I restarted the NW-j2ee instances.
while debugging my WS-application the java method System.getProperty("http.proxyHost") (and of course getPropertiy(http.proxyPort) a.s.o.) returns null.
can anybody tell me why?
Hi, Fabio,
In case you do not see the new configured properties in instance.properties file, it seems that the changed properties are not written in the data base. You have to restart the whole cluster, otherwise the change is not consistent and the properties wont be put into the DB.
Best regards,
Galya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fabio,
Maybe the properties are not set?
There is a small monitoring application under alias /sap/monitoring/SystemInfo withch displays information about the J2EE engine and there you can also check with what properties the dispatcher and server nodes were started.
greetings Georgi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Georgi
thank you for the hint. I did what you suggested and in fact I don't find the new variables. This is exactly what I was expecting. But I still don't have a clue! Again what I did:
1. defined variables (-Dvaliable1=value1 uso.) using configtool.bat in clusted-data/instance_ID.../Servers General
2. restart
3. check in sap/monitoring/SystemInfo -> NOK
4. in my application System.getProperty(valiable1) -> NOK
further Infos:
1. NW 7.0 SP 10
2. java1.4.2_16
3. in confitool.bat are the variables always there.
thank you again
Hi Fabio,
this is the correct sequence - add the variable , save in config tool and restart or the engine.
During the start saved data is taken from DB and it can be seen file
\usr\sap\J2E\JC01\j2ee\cluster\instance.properties. There is a raw in it ID16574850.JavaParameters with the java parameters.
Can you check if your variable is there to see if the problem comes in getting data from DB or after the start of the server node.
I will also ask a collegue from SAP they can help.
greetings Georgi
Hi
Is there anybody, who can suggest me a solution or an hint?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.