• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

remiregistry problem!

 
Prakash Krishnamurthy
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I type in rmiregistry I get the following
Although, the booking goes on fine..and the connection is still there

Please let me know if you guys have seen this before
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you find this file.
c:\jdk1.3.1_03\lib\content-types.properties
Is that the correct path for your file? It is not finding this file that is causing the error.
Actually in my JDK installation it is found in the following directory.
c:\jdk1.4.1_02\jre\lib\content-types.properties
Mark
 
Prakash Krishnamurthy
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark:
Turns out that I found this file in the same place you found it. Which could probably mean that it is looking at the wrong place. I am not sure why its doing that.
But, why should it even looking for a content-types.properties file. I hadn't heard of this file before. All I thought was needed was a java.policy and java.security file.
My Java_home was pointing to C:\jdk1.3.1_03 and I took out the java_home variable I had set, and it fixed the problem. I dunno why that fixed the problem. I had put the security and policy file in the JAVA_HOME and the problem did not go away, and unsetting the JAVA_HOME solved the problem......hmmmm....
I am thinking of also uploading my java.security file and java.policy file now.
Suggestions please
pk
[ May 08, 2003: Message edited by: Prakash Krishnamurthy ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"All I thought was needed was a java.policy and java.security file."
You do not need to use them. In this assignment there is no dynamic downloading of classes, so they aren't necessary.
I'd remove any code that creates an RMISecurityManager.
Mark
 
Prakash Krishnamurthy
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I did so, but still the moment I start the rmiregistry I get this problem. The only way to fix it is to unset the %JAVA_HOME% variable
Anybody knows anything about this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic