Opened 9 years ago
Closed 9 years ago
#1050 closed defect (fixed)
Petascope.properties lost many configuration after new install
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | petascope | Version: | 9.1 |
Keywords: | Cc: | Dimitar Misev | |
Complexity: | Medium |
Description
Hi,
That problem appears recently (before I've tested a lot with Jetty so download and compile no problem), but maybe in 1 week and to now when I install Rasdaman normally (not yet Rasnet)
./configure --prefix=$RMANHOME --with-java-server=embedded make make install
File petascope.properties in /home/rasdaman/install/etc is like this
# parameter: java_server # purpose: Allowing user to start Petascope with embedded (Jetty) or external (Tomcat) (use ./configure --with-java-server=embedded/external). # description: User could set to external Petascope or embedded Petascope. When setting to "embedded", user could start embedded Petascope after starting Rasdaman in script start_rasdaman.sh. # need to adapt: yes (depend on user environment), normally is external. java_server=embedded # parameter: start_emdedded_petascope # purpose: Allowing user to start embedded Petascope after excute start_rasdaman.sh. # description: User could enable or disable Petascope with: permanent by configuration:"true/false" or temporary enable/disable when running script start_rasdaman.sh (example: "start_rasdaman.sh --stop-embedded-petascope" or "start_rasdaman --start-embedded-petascope"). # need to adapt: yes (depend on user environment), normally is false. start_embedded_petascope=true
As you can see this is my new configurations to support embedded Jetty but where is the rest of this file? I suppose in makefile.am of Petascope has problem.
Change History (5)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
this idea would overwrite existing customer settings. Also, patch has no tests.
comment:3 by , 9 years ago
No Peter the patch is correct. If there is no existing petascope.properties then it should be installed.
comment:4 by , 9 years ago
It is hard to test installation stuff like this, we do not have a systemtest for Makefiles.
comment:5 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This could be closed now (thanks for all).
The problem looks like in here, not sure why
I will add the copy petascope.properties from resources to /install/etc/ and this could be solved.