non-JRMP at remote endpoint and bad level value for property

User bb0bf41f20

30-05-2013 09:47:41

Hi,


We are using JChem cartridge 5.9.1 and receiving the following error:


Error: 5795: ORA-29902: error in executing ODCIIndexStart()
routine ORA-29532: Java call terminated by uncaught Java exception:
java.lang.Exception: Problem connecting to JChemServer: rmi://AMRNDHS214.PFIZER.COM:1099:
non-JRMP server at remote endpoint  


 


When pinging the server the following text appears, mentioning a bad level value for property:


amrndhs214-viticprd
$ ./ping-jcserver.sh localhost:1099




Trying
localhost:1099




Bad level
value for property: .level




INFO:
Checking JChem Server at localhost:1099...




Exit code:
0


I have looked at this post https://www.chemaxon.com/forum/ftopic9195.html and asked the user to check what is listening at port 1099, this is the output:


amrndhs214-viticprd $ netstat -an|grep
1099




170.116.168.73.1099 
170.116.168.73.51193 49152      0
49152      0 TIME_WAIT




     
*.1099              
*.*               
0      0 49152      0 LISTEN




170.116.168.73.1547 
10.131.72.191.1099   64807      0
49640      0 ESTABLISHED




amrndhs214-viticprd $ ./ping-jcserver.sh
localhost:1099




Trying localhost:1099




Bad level value for property: .level




INFO: Checking JChem Server at
localhost:1099...




Exit code: 0




amrndhs214-viticprd $




Do you know what could be causing this? Was there a solution to the other post also having this non-JRMP at remote endpoint error?


 


Thanks,


Jade

ChemAxon aa7c50abf8

30-05-2013 11:08:40

Hi Jade,


non-JRMP server at remote endpoint

This looks like JBoss running there.


Bad level value for property: .level

This looks like garbage has made its way into jchem/cartridge/conf/logging.properties (or the default Java logging configuration file somewhere under $JAVA_HOME).


Try this:


netstat -untap 2>/dev/null | awk '
/:[0-9]+ .*LISTEN.*\/java/ {
    print $4;
    pid = substr($7,0,length($7)-5);
    system("ls -l /proc/" pid "/cwd")}
'

Peter

User bb0bf41f20

31-05-2013 08:17:27

Hi Peter,


 


The user is not getting any output from that:




Please be informed that we are not getting any output. Also the
server is a Solaris server. Kindly let us know in case of any concerns.




 




amrndhs214-viticprd $ netstat -untap 2>/dev/null | awk '




/:[0-9]+ .*LISTEN.*\/java/ {




    print $4;




    pid = substr($7,0,length($7)-5);




    system("ls -l /proc/" pid "/cwd")}




> /:[0-9]+ .*LISTEN.*\/java/ {




>     print $4;




>     pid = substr($7,0,length($7)-5);




>     system("ls -l /proc/" pid
"/cwd")}




> '




amrndhs214-viticprd $




 




 




amrndhs214-viticprd $ more abc.sh




netstat -untap 2>/dev/null | awk '




/:[0-9]+ .*LISTEN.*\/java/ {




    print $4;




    pid = substr($7,0,length($7)-5);




    system("ls -l /proc/" pid
"/cwd")}




' amrndhs214-viticprd $ ./abc.sh




amrndhs214-viticprd $




 




amrndhs214-viticprd $ uname -a




SunOS amrndhs214 5.10 Generic_144500-19 sun4u sparc
SUNW,SPARC-Enterprise


 


Would it be sensible to uninstall and reinstall? Or try to change the port?


 


Thanks,


 


Jade

ChemAxon aa7c50abf8

31-05-2013 09:06:54

Hi Jade,


Yes, the scripten I provided works on Linux, I didn't know this was solaris.


Could they start the JChem Cartridge server successfully at all? What was the output of "server.sh start"?


Can't they find out which process is listening at port 1099 and where the image of that process is coming from? I don't Solaris close at hand, but I guess the id of the process is this from the netstat output you provided earlier: 49152 ? The executable image location should then be retrievable somewhere from under /proc/49152/path/ ...   /proc/49152/cwd is also of interest as well as the arguments (/bin/ps -o pid,args -e)


Peter