[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ganymede Help] installation

Date Thu, 20 Jun 2002 19:49:45 -0500
From Jonathan Abbey <jonabbey@arlut.utexas.edu>

On Thu, Jun 20, 2002 at 05:24:53PM +1000, ??????? ????????? wrote:
| Hi All!
| I have a problem with Ganymede installation on FreeBSD 4.2
| Could you be so kind and describe me how-to install.
| A make all that was writen in installation instructions:
| 
| 1. I have downloaded jdk1.1.8 for FreeBSD and install in /usr/local/jdk1.1.8
| 2. Then I have downloaded and installed Swing 1.1.1 in
| /usr/local/swing-1.1.1fcs
| 3. After I got the Ganymede server compilation errors on some of FreeBSD
| libraries I tried
| to install FreeBSD 3.x binary copability mode, after that there no errors
| appeared through compilation. (why such things was not described in
| instructions?)

I don't know.  I have not attempted to run the Ganymede server on
FreeBSD in quite a long time.

You might be able to do something with the JDK 1.3 patch set at 

http://www.eyesbeyond.com/freebsddom/java/jdk13.html

Alternatively, perhaps running the Linux 1.4 JDK with the FreeBSD
Linux emulation libraries could work?

| 4. Then there was not any errors after server, client and web compilations
| and installation.
| 5. Then I run the Ganymede server
| 
| -----------------------------------
| #cat server.log
| java.rmi.server.ExportException: Port already in use: 1099; nested exception
| is:
|         java.net.BindException: Address already in use
|         at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:289)
|         at
| sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:181)
|         at
| sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:225)
|         at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:107)
|         at
| sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:86)
|         at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:83)
| Re-using existing RMI registry  at
| sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:69)

This is just saying that you had run the runServer command before
without killing off the old rmiregistry process.

This could be a problem, though, if you changed the version of the
server or something.  It never hurts to kill off the rmiregistry
process before starting the server, so long as it wasn't started for
something else.

| Creating DBStore structures
|         at sun.rmi.registry.RegistryImpl.main(RegistryImpl.java:224)
| Loading DBStore contents
| DBStore load(): file version 2.4
| DBStore load(): loading 6 namespaces
| DBStore load(): loading  category definitions
| DBObjectBase.receive(): enter
| DBObjectBase.receive(): object base name: Owner Group
| DBObjectBase.receive(): class name: arlut.csd.ganymede.ownerCustom
| DBObjectBase.receive(): 5 fields in dictionary
| DBObjectBase.receive(): 100 is object label
| DBObjectBase.receive(): reading 1 objects
| DBObjectBase.receive(): maxid for Owner Group is 1
| loaded base 0, obj count loaded = 1
| DBObjectBase.receive(): enter
| DBObjectBase.receive(): object base name: Admin Persona
| DBObjectBase.receive(): class name: arlut.csd.ganymede.adminPersonaCustom
| DBObjectBase.receive(): 9 fields in dictionary
| DBObjectBase.receive(): 108 is object label
| DBObjectBase.receive(): reading 2 objects
| DBObjectBase.receive(): maxid for Admin Persona is 2
| loaded base 1, obj count loaded = 2
| DBObjectBase.receive(): enter
| DBObjectBase.receive(): object base name: Role
| DBObjectBase.receive(): class name: arlut.csd.ganymede.permCustom
| DBObjectBase.receive(): 5 fields in dictionary
| DBObjectBase.receive(): 100 is object label
| DBObjectBase.receive(): reading 1 objects
| DBObjectBase.receive(): maxid for Role is 1
| loaded base 2, obj count loaded = 1
| DBObjectBase.receive(): enter
| DBObjectBase.receive(): object base name: System Event
| DBObjectBase.receive(): class name: arlut.csd.ganymede.eventCustom
| DBObjectBase.receive(): 7 fields in dictionary
| DBObjectBase.receive(): 100 is object label
| DBObjectBase.receive(): reading 21 objects
| DBObjectBase.receive(): maxid for System Event is 21
| loaded base 4, obj count loaded = 21
| DBObjectBase.receive(): enter
| DBObjectBase.receive(): object base name: Object Event
| DBObjectBase.receive(): class name: arlut.csd.ganymede.objectEventCustom
| DBObjectBase.receive(): 8 fields in dictionary
| DBObjectBase.receive(): -1 is object label
| DBObjectBase.receive(): reading 0 objects
| DBObjectBase.receive(): maxid for Object Event is 0
| loaded base 6, obj count loaded = 0
| DBObjectBase.receive(): enter
| DBObjectBase.receive(): object base name: Task
| DBObjectBase.receive(): class name: arlut.csd.ganymede.taskCustom
| DBObjectBase.receive(): 8 fields in dictionary
| DBObjectBase.receive(): 100 is object label
| DBObjectBase.receive(): reading 0 objects
| DBObjectBase.receive(): maxid for Task is 0
| loaded base 5, obj count loaded = 0
| DBObjectBase.receive(): enter
| DBObjectBase.receive(): object base name: User
| DBObjectBase.receive(): class name:
| DBObjectBase.receive(): 3 fields in dictionary
| DBObjectBase.receive(): 100 is object label
| DBObjectBase.receive(): reading 0 objects
| DBObjectBase.receive(): maxid for User is 0
| loaded base 3, obj count loaded = 0
| Not Initializing RMI Security Manager.. not supporting classfile transfer
| Creating GanymedeServer object
| Creating internal Ganymede Session
| Creating master BaseListTransport object
| internal: committed transaction null
| ** Empty list of builder tasks found in database!
| Ganymede Scheduler: Scheduled task Idle Timer for periodic execution at Thu
| Jun 20 06:07:39 GMT 2002
|                     Task will repeat every 1 minutes
| Ganymede Scheduler: Scheduled task Memory Status Updater for periodic
| execution at Thu Jun 20 06:07:39 GMT 2002
|                     Task will repeat every 1 minutes
| Binding GanymedeServer in RMI Registry
| Ganymede Scheduler: scheduling task started
| Setup and bound server object OK
| Ganymede Server Ready.
| -------------------------------------------------------

Right, so far so good.

| #ps -xaww
| 
| 27242  p0- I      0:00.01 /bin/sh
| /usr/local/jdk1.1.8/bin/i386/green_threads/rmiregistry 1099
| 27273  p0- S      0:21.12 /usr/local/jdk1.1.8/bin/i386/green_threads/java
| sun.rmi.registry.RegistryImpl 1099
| 29842  p0  I      0:00.00 /bin/sh bin/runServer
| 29844  p0  S      0:00.71
| /usr/local/jdk1.1.8/bin/i386/green_threads/java -noasyncgc -ms32m -mx128m
| arlut.csd.ganymede.Ganymede -resetadmin
| debug=/usr/local/ganymede/server/debug.log
| properties=/usr/local/ganymede/server/ganymede.properties
| -------------------------------------------------------
| 
| 6. I think that server is normaly running
| 7. When I have created the data.xml, I run
| /usr/local/ganymede/server/bin/xmlclient
| /usr/local/ganymede/server/schema/data.xml
| 
| and after some manipulations program was finished with:
| 
| ------------------------------------------------------
| Caught exception during xml schema editing
| null
| 
| XML submission failed.
| ------------------------------------------------------
| 
| is it normal??

No, it's not.  Can you let me know if there's anything in your
debug.log?  The debug.log should record any errors that occurred in
the server as a direct result of an RMI call.

| 8. Then after I tried to connect through web-server to Ganymede server
| the java Ganymede (by web browser, from windows 2000 platform with 1.4.0_01
| Java plag-in) logon window appear and then immediatly dasapeared and close
| my web browser.

Wow, that sounds bad.  Your whole web browser shut down?  Which web browser
were you using?

| Have you any suggestions?
| 
| Alexander Fedorov.

-- 
-------------------------------------------------------------------------------
Jonathan Abbey 				              jonabbey@arlut.utexas.edu
Applied Research Laboratories                 The University of Texas at Austin
Ganymede, a GPL'ed metadirectory for UNIX     http://www.arlut.utexas.edu/gash2

----------------------------------------------------------------------------
To make changes to your subscription to the Ganymede Help list, send
mail to majordomo@arlut.utexas.edu.

To unsubcribe, include the line

unsubscribe ganymede-help

in the body of your mail message

Visit the Ganymede web page at http://www.arlut.utexas.edu/gash2

----------------------------------------------------------------------------


  • Re: [Ganymede Help] installation
    • From: Jonathan Abbey <jonabbey@arlut.utexas.edu>