Home Bug Reports

icegrid linux bug

xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
db-4.3.29

I recompile Ice-3.0.0 with latesw Patches including this

01-11-2006 11:47 PM
by michi

01-06-2006 10:54 PM
by bernard Go to last post

12-12-2005 03:09 PM
by benoit Go to last post

11-22-2005 11:21 AM
by benoit


this descriptor is part of a icegrid app descriptor and works with Ice-3.0.0 compiled with out patchs


with the Ice-3.0.0 compiled with the patches it raise and exception when start thats i append to the end of this message

	<icebox
			   id="LuceneServer"
			   exe="/opt/blackdown-jdk-1.4.2.02/bin/java"
               activation="on-demand">
				<option>IceBox.Server</option>
			<service name="Lucene" entry="Oz.Searchs.SearchServiceI">
				<adapter name="${service}" endpoints="default">
						<object 
								identity="LuceneServer/LuceneServer" 
								type="::Oz::Searchs::LuceneServer"/>
					</adapter>

					<property name="Identity" value="LuceneServer/LuceneServer"/>
					<!--Id del topicManager que gestiona los eventos-->
					<property name="TopicManagerId" value="IceStorm/TopicManager"/>
			</service>
		</icebox>

Exception raised when try to activate this service from icegridadmin
 icegridnode: Activator: activating server `LuceneServer'
  path = /opt/blackdown-jdk-1.4.2.02/bin/java
  pwd =
  args = /opt/blackdown-jdk-1.4.2.02/bin/java IceBox.Server --Ice.Config=/opt/oz-cms/DB/icegrid/titanio/servers/LuceneServer/config/config --Ice.Default.Locator=IceGrid/Locator:tcp -h 192.168.0.197 -p 12000 --Ice.ServerId=LuceneServer ]
[ icegridnode: Activator: activated server `LuceneServer' (pid = 18309) ]
[ icegridnode: Server: changed server `LuceneServer' state to `WaitForActivation' ]
LuceneServer: error: ServiceManager: exception while starting service Lucene: Ice.FileException
    error = 0
    path = ""/opt/oz-cms/DB/icegrid/titanio/servers/LuceneServer/config/config_Lucene""
IceBox.FailureException
    reason = "ServiceManager: exception while starting service Lucene: Ice.FileException
    error = 0
    path = ""/opt/oz-cms/DB/icegrid/titanio/servers/LuceneServer/config/config_Lucene"""
        at IceBox.ServiceManagerI.start(ServiceManagerI.java:385)
        at IceBox.ServiceManagerI.load(ServiceManagerI.java:213)
        at IceBox.ServiceManagerI.run(ServiceManagerI.java:95)
        at IceBox.Server.run(Server.java:50)
        at Ice.Application.main(Application.java:71)
        at Ice.Application.main(Application.java:36)
        at Ice.Application.main(Application.java:30)
        at IceBox.Server.main(Server.java:28)
Caused by: Ice.FileException
    error = 0
    path = ""/opt/oz-cms/DB/icegrid/titanio/servers/LuceneServer/config/config_Lucene""
        at Ice.PropertiesI.load(PropertiesI.java:219)
        at Ice.PropertiesI.loadConfig(PropertiesI.java:353)
        at Ice.PropertiesI.<init>(PropertiesI.java:264)
        at Ice.Util.createProperties(Util.java:23)
        at Ice.Util.createProperties(Util.java:30)
        at IceBox.ServiceManagerI.start(ServiceManagerI.java:318)
        ... 7 more
Caused by: java.io.FileNotFoundException: "/opt/oz-cms/DB/icegrid/titanio/servers/LuceneServer/config/config_Lucene" (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at java.io.FileReader.<init>(FileReader.java:41)
        at Ice.PropertiesI.load(PropertiesI.java:213)
        ... 12 more

Comments

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Coment that i complete delete the application registry and rebuild it when path ice distributtion
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hello José,

    You also need to apply a patch for the Java version of IceBox to get it work. I've just posted the patch [thread=1933]here[/thread]. Let us know if you still have problems running your service after applying this patch and recompiling IceJ-3.0.0.

    Cheers,
    Benoit.
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    This patch solves the problem with IceBox and java

    thanks
Sign In or Register to comment.