Search Mailing List Archives
[protege-discussion] Can't get Protege server running
Tania Tudorache
tudorache at stanford.edu
Wed Oct 10 12:32:24 PDT 2007
Hi Mike,
The Server_Stub (and other stubs) are generated by the build.xml script
if you run the compile target.
Is "stanford.hewettresearch.com.16.0.10.in-addr.arpa" the real name of
the server machine? If not, you can correct this in the
run_protege_server.bat (or .sh)
by adding the jvm argument:
-Djava.rmi.server.hostname=my.real.server.name
Below is a snippet from run_protege_server with the options I am using
to run the protege-sever on smi-protege server.
MAX_MEMORY=-Xmx500M
CODEBASE_URL=file:$PWD/protege.jar
CODEBASE=-Djava.rmi.server.codebase=$CODEBASE_URL
HOSTNAME_PARAM=-Djava.rmi.server.hostname=smi-protege.stanford.edu
TX="-Dtransaction.level=READ_COMMITTED"
HEADLESS=-Djava.awt.headless=true
OPTIONS="$MAX_MEMORY $CODEBASE $HOSTNAME_PARAM ${TX} ${HEADLESS}"
I hope this helps.
Tania
Micheal Hewett wrote:
> I think my problem was related to a small typo
> in a DNS entry, but when I fixed it, the problem
> didn't go away. In trying to trace the Protege code,
> I can't locate a class:
>
> java.net.UnknownHostException:
> stanford.hewettresearch.com.16.0.10.in-addr.arpa
> at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:572)
> at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
> at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
> at edu.stanford.smi.protege.server.Server_Stub.openSession(Unknown
> Source)
> at
> edu.stanford.smi.protege.server.ServerPanel.createSession(Unknown Source)
> at
> edu.stanford.smi.protege.server.ServerPanel.isValidConfiguration(Unknown
> Source)
> at
> edu.stanford.smi.protege.server.ServerPanel.validateContents(Unknown
> Source)
> at edu.stanford.smi.protege.util.ProjectChooser.canClose(Unknown
> Source)
> at
> edu.stanford.smi.protege.util.ProjectChooser.attemptClose(Unknown Source)
> at edu.stanford.smi.protege.util.ProjectChooser.access$200(Unknown
> Source)
> at
> edu.stanford.smi.protege.util.ProjectChooser$2.actionPerformed(Unknown
> Source)
>
> Where is the edu.stanford.smi.protege.server.Server_Stub class?
> I can't find it in the source code.
>
>
> Mike Hewett
>
>
> -------- Original Message --------
> From: Micheal Hewett <mhewett at evincii.com>
> Date: Mon, October 08, 2007 10:28 pm
> To: protege-discussion at lists.stanford.edu
>
> I've set Protege server up before but I can't get it
> running in a new installation.
>
> - Protege 3.4 beta for both server and client
> (I also tried with Protege 3.3.1)
> - I'm testing on two machines on my home network,
> sitting next to each other.
> - Server machine is running Mac OS X Server with all
> the latest updates.
> - I turned off the firewall software on the server.
> - Protege ports set to 5100 (rmi) and 5200 (server);
> Server startup confirms setting of port 5200.
> - Works fine when the client is on the same machine.
> - Won't login when client is another machine.
> - Network trace shows that some communication occurs
> between the two machines over the 5100 port, but none
> over the 5200 port.
> - Using telnet I have verified that ports 5100 and 5200 are open
> on the server machine and accessible from the client machine.
> - No console messages during the interaction.
> - I've read all the discussions from other people who can't
> get it to run and have tried all the solutions.
>
> The error message says the usual "password problem or
> firewall problem". It obviously is a networking or software
> problem but I can't figure it out.
>
> Any suggestions?
>
> Thanks,
> Mike Hewett
>
> ------------------------------------------------------------------------
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> <http://email.secureserver.net/pcompose.php#Compose>
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>
More information about the protege-discussion
mailing list