You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Clandes Tino <cl...@yahoo.co.uk> on 2005/07/22 14:47:21 UTC

problem with latest build

Hello Lenya People.

I have checked Lenya 1.4 source code from SVN an hour
ago, and the latest snapshot cocoon tar.gziped release
 cocoon-2.1_20050718094121.tar.gz, according to your
suggestion. 

I receive errors and warnings during Tomcat startup,
so could you please give me any hint how to eliminate
them.
-------------------------------------------------
Jul 22, 2005 1:36:22 PM
org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.30
Jul 22, 2005 1:36:23 PM
org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing,
config='org.apache.struts.util.LocalStrings',
returnNull=tru
e
Jul 22, 2005 1:36:23 PM
org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing,
config='org.apache.struts.action.ActionResources',
returnNul
l=true
Jul 22, 2005 1:36:23 PM
org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources',
retur
nNull=true
- The database 'db' root directory has been set to
C:\jakarta-tomcat-4.1.30\weba
pps\lenya\WEB-INF\db. Keep in mind that if a war
upgrade will take place the dat
abase will be lost.
- Database points to
C:\jakarta-tomcat-4.1.30\webapps\lenya\WEB-INF\db
- Database 'db' successfully opened
- Xindice server successfully started
trying to register database
trying to register database
Cannot find CatalogManager.properties
- setting defaults to DC
- setting defaultCompositeCacheAttributes to [
useLateral = true, useRemote = tr
ue, useDisk = true, maxObjs = 100, maxSpoolPerRun = -1
]
- Could not find value for key
jcs.default.elementattributes
- Could not instantiate eAttr named
'jcs.default.elementattributes', using defau
lts.
- setting defaultElementAttributes to [ IS_LATERAL =
false, IS_SPOOL = false, IS
_REMOTE = false, IS_ETERNAL = true, MaxLifeSeconds =
-1, IdleTime = -1, CreateTi
me = 1122032193546, LastAccessTime = 1122032193546,
getTimeToLiveSeconds() = -10
00, createTime = 1122032193546 ]
- Could not find value for key
jcs.system.groupIdCache.elementattributes
- Could not instantiate eAttr named
'jcs.system.groupIdCache.elementattributes',
 using defaults.
- initialized LRUMemoryCache for groupIdCache
- Constructed cache with name: groupIdCache
- Cache file root directory:
C:\jakarta-tomcat-4.1.30\work\Standalone\localhost\
lenya\cocoon-files\cache-dir
- Could not find value for key
jcs.region.main.elementattributes
- Could not instantiate eAttr named
'jcs.region.main.elementattributes', using d
efaults.
- initialized LRUMemoryCache for main
- Constructed cache with name: main
- Cache file root directory:
C:\jakarta-tomcat-4.1.30\work\Standalone\localhost\
lenya\cocoon-files\cache-dir
[BOOT] WARN: Could not load properties file
'OJB.properties'. Using default sett
ings!
C:\jakarta-tomcat-4.1.30\bin\OJB.properties (The
system cannot find the file spe
cified)
java.io.FileNotFoundException:
C:\jakarta-tomcat-4.1.30\bin\OJB.properties (The
system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at
java.io.FileInputStream.<init>(FileInputStream.java:106)
        at
java.io.FileInputStream.<init>(FileInputStream.java:66)
        at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
.java:69)
        at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
nection.java:156)
        at java.net.URL.openStream(URL.java:913)
        at
org.apache.ojb.broker.util.configuration.impl.ConfigurationAbstractIm
pl.load(Unknown Source)
        at
org.apache.ojb.broker.util.configuration.impl.OjbConfiguration.load(U
nknown Source)
        at
org.apache.ojb.broker.util.configuration.impl.ConfigurationAbstractIm
pl.<init>(Unknown Source)
        at
org.apache.ojb.broker.util.configuration.impl.OjbConfiguration.<init>
(Unknown Source)
        at
org.apache.ojb.broker.util.configuration.impl.OjbConfigurator.<init>(
Unknown Source)
        at
org.apache.ojb.broker.util.configuration.impl.OjbConfigurator.<clinit
>(Unknown Source)
        at
org.apache.ojb.broker.util.factory.ConfigurableFactory.<init>(Unknown
 Source)
        at org.apache.ojb.odmg.OJB.<init>(Unknown
Source)
        at org.apache.ojb.odmg.OJB.<clinit>(Unknown
Source)
        at
org.apache.cocoon.ojb.odmg.components.OdmgImplementationImpl.initiali
ze(OdmgImplementationImpl.java:79)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(Contai
nerUtil.java:283)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInst
ance(DefaultComponentFactory.java:277)
        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.init
ialize(ThreadSafeComponentHandler.java:108)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initi
alize(ExcaliburComponentManager.java:522)
        at
org.apache.cocoon.components.container.CocoonComponentManager.initial
ize(CocoonComponentManager.java:132)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(Contai
nerUtil.java:283)
        at
org.apache.cocoon.Cocoon.initialize(Cocoon.java:305)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(Contai
nerUtil.java:283)
        at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.ja
va:1386)
        at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:485)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:935)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:82
3)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3427)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3
628)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:821)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)

        at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:307)
        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:492
)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400
)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:358)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)

        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363
)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:219
0)
        at
org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at
java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
- ConfigurableFactory configuration key class for
key'ImplementationClass' does
not exist.
server.properties not found, using command line or
default properties
Opening database:
C:\jakarta-tomcat-4.1.30\webapps\lenya\WEB-INF\db\cocoondb
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to
abort abruptly
WARN! *** JMS block is installed but jms client
library not found. ***
- For the jms block to work you must install and start
a JMS server and place th
e client jar in WEB-INF/lib.
- The default server, OpenJMS is configured in
cocoon.xconf but is not bundled w
ith Cocoon.
Server.run/init: java.sql.SQLException: Wrong database
file version
java.sql.SQLException: Wrong database file version
        at org.hsqldb.Trace.getError(Unknown Source)
        at org.hsqldb.Trace.check(Unknown Source)
        at org.hsqldb.Trace.check(Unknown Source)
        at org.hsqldb.Log.open(Unknown Source)
        at org.hsqldb.Database$Logger.openLog(Unknown
Source)
        at org.hsqldb.Database.open(Unknown Source)
        at org.hsqldb.Database.<init>(Unknown Source)
        at org.hsqldb.Server.openDB(Unknown Source)
        at org.hsqldb.Server.run(Unknown Source)
        at org.hsqldb.Server.main(Unknown Source)
        at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:16
4)
        at java.lang.Thread.run(Thread.java:534)
- RAMJobStore initialized.
- Quartz scheduler 'Cocoon
- Quartz scheduler version: 1.4.0
- Scheduler Cocoon_$_Fri_Jul_22_13:36:35_CEST_2005
started.
Jul 22, 2005 1:36:39 PM
org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jul 22, 2005 1:36:39 PM
org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 22, 2005 1:36:39 PM org.apache.jk.server.JkMain
start
INFO: Jk running ID=0 time=0/94 
config=C:\jakarta-tomcat-4.1.30\bin\..\conf\jk2
.properties
----------------------------------------------------
The similar situation is with Jetty:

-------------------- Loading --------------------
Processing repository: .\tools\jetty\lib
Adding jar: .\tools\jetty\lib\jetty-4.2.23.jar
Adding jar: .\tools\jetty\lib\servlet-2.3.jar
Processing repository:
.\build\lenya\webapp\WEB-INF\lib\endorsed
-------------------- Executing -----------------
Main Class: org.mortbay.jetty.Server
14:44:52.312 EVENT  Checking Resource aliases
14:44:52.500 EVENT  Starting Jetty/4.2.23
14:44:52.859 EVENT  Started
WebApplicationContext[/,.\build\lenya\webapp]
14:44:52.921 WARN!! Delete existing temp dir
C:\DOCUME~1\Agaton\LOCALS~1\Temp\Je
tty__8888__ for
WebApplicationContext[/,.\build\lenya\webapp]
trying to register database
trying to register database
Cannot find CatalogManager.properties
- setting defaults to DC
- setting defaultCompositeCacheAttributes to [
useLateral = true, useRemote = tr
ue, useDisk = true, maxObjs = 100, maxSpoolPerRun = -1
]
- Could not find value for key
jcs.default.elementattributes
- Could not instantiate eAttr named
'jcs.default.elementattributes', using defau
lts.
- setting defaultElementAttributes to [ IS_LATERAL =
false, IS_SPOOL = false, IS
_REMOTE = false, IS_ETERNAL = true, MaxLifeSeconds =
-1, IdleTime = -1, CreateTi
me = 1122036294437, LastAccessTime = 1122036294437,
getTimeToLiveSeconds() = -10
00, createTime = 1122036294437 ]
- Could not find value for key
jcs.system.groupIdCache.elementattributes
- Could not instantiate eAttr named
'jcs.system.groupIdCache.elementattributes',
 using defaults.
- initialized LRUMemoryCache for groupIdCache
- Constructed cache with name: groupIdCache
- Cache file root directory:
C:\DOCUME~1\Agaton\LOCALS~1\Temp\Jetty__8888__\coco
on-files\cache-dir
- Could not find value for key
jcs.region.main.elementattributes
- Could not instantiate eAttr named
'jcs.region.main.elementattributes', using d
efaults.
- initialized LRUMemoryCache for main
- Constructed cache with name: main
- Cache file root directory:
C:\DOCUME~1\Agaton\LOCALS~1\Temp\Jetty__8888__\coco
on-files\cache-dir
[BOOT] WARN: Could not load properties file
'OJB.properties'. Using default sett
ings!
D:\work\java\lenya\lenya-1.4\OJB.properties (The
system cannot find the file spe
cified)
java.io.FileNotFoundException:
D:\work\java\lenya\lenya-1.4\OJB.properties (The
system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at
java.io.FileInputStream.<init>(FileInputStream.java:106)
        at
java.io.FileInputStream.<init>(FileInputStream.java:66)
        at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
.java:69)
        at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
nection.java:156)
        at java.net.URL.openStream(URL.java:913)
        at
org.apache.ojb.broker.util.configuration.impl.ConfigurationAbstractIm
pl.load(Unknown Source)
        at
org.apache.ojb.broker.util.configuration.impl.OjbConfiguration.load(U
nknown Source)
        at
org.apache.ojb.broker.util.configuration.impl.ConfigurationAbstractIm
pl.<init>(Unknown Source)
        at
org.apache.ojb.broker.util.configuration.impl.OjbConfiguration.<init>
(Unknown Source)
        at
org.apache.ojb.broker.util.configuration.impl.OjbConfigurator.<init>(
Unknown Source)
        at
org.apache.ojb.broker.util.configuration.impl.OjbConfigurator.<clinit
>(Unknown Source)
        at
org.apache.ojb.broker.util.factory.ConfigurableFactory.<init>(Unknown
 Source)
        at org.apache.ojb.odmg.OJB.<init>(Unknown
Source)
        at org.apache.ojb.odmg.OJB.<clinit>(Unknown
Source)
        at
org.apache.cocoon.ojb.odmg.components.OdmgImplementationImpl.initiali
ze(OdmgImplementationImpl.java:79)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(Contai
nerUtil.java:283)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInst
ance(DefaultComponentFactory.java:277)
        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.init
ialize(ThreadSafeComponentHandler.java:108)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initi
alize(ExcaliburComponentManager.java:522)
        at
org.apache.cocoon.components.container.CocoonComponentManager.initial
ize(CocoonComponentManager.java:132)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(Contai
nerUtil.java:283)
        at
org.apache.cocoon.Cocoon.initialize(Cocoon.java:305)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(Contai
nerUtil.java:283)
        at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.ja
va:1386)
        at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:485)
        at
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)

        at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHa
ndler.java:445)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(We
bApplicationHandler.java:150)
        at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationC
ontext.java:458)
        at
org.mortbay.http.HttpServer.start(HttpServer.java:663)
        at
org.mortbay.jetty.Server.main(Server.java:429)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at
java.lang.reflect.Method.invoke(Method.java:324)
        at Loader.invokeMain(Unknown Source)
        at Loader.run(Unknown Source)
        at Loader.main(Unknown Source)
- ConfigurableFactory configuration key class for
key'ImplementationClass' does
not exist.
server.properties not found, using command line or
default properties
Opening database:
D:\work\java\lenya\lenya-1.4\build\lenya\webapp\WEB-INF\db\coc
oondbWARN! *** JMS block is installed but jms client
library not found. ***
- For the jms block to work you must install and start
a JMS server and place th
e client jar in WEB-INF/lib.
- The default server, OpenJMS is configured in
cocoon.xconf but is not bundled w
ith Cocoon.

HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to
abort abruptly
Server.run/init: java.sql.SQLException: Wrong database
file version
java.sql.SQLException: Wrong database file version
        at org.hsqldb.Trace.getError(Unknown Source)
        at org.hsqldb.Trace.check(Unknown Source)
        at org.hsqldb.Trace.check(Unknown Source)
        at org.hsqldb.Log.open(Unknown Source)
        at org.hsqldb.Database$Logger.openLog(Unknown
Source)
        at org.hsqldb.Database.open(Unknown Source)
        at org.hsqldb.Database.<init>(Unknown Source)
        at org.hsqldb.Server.openDB(Unknown Source)
        at org.hsqldb.Server.run(Unknown Source)
        at org.hsqldb.Server.main(Unknown Source)
        at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:16
4)
        at java.lang.Thread.run(Thread.java:534)
- RAMJobStore initialized.
- Quartz scheduler 'Cocoon
- Quartz scheduler version: 1.4.0
- Scheduler Cocoon_$_Fri_Jul_22_14:44:56_CEST_2005
started.
Exception in thread "main"
java.lang.reflect.InvocationTargetException
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at
java.lang.reflect.Method.invoke(Method.java:324)
        at Loader.invokeMain(Unknown Source)
        at Loader.run(Unknown Source)
        at Loader.main(Unknown Source)
Caused by: java.lang.Error: Unresolved compilation
problem:
        Syntax error on token ">", = expected

        at
org.apache.lenya.util.CacheMap.<init>(CacheMap.java:45)
        at
org.apache.lenya.ac.impl.AbstractAccessControllerResolver.<init>(Abst
ractAccessControllerResolver.java:41)
        at
org.apache.lenya.cms.ac.PublicationAccessControllerResolver.<init>(Pu
blicationAccessControllerResolver.java:43)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at
java.lang.Class.newInstance0(Class.java:308)
        at java.lang.Class.newInstance(Class.java:261)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInst
ance(DefaultComponentFactory.java:179)
        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.init
ialize(ThreadSafeComponentHandler.java:108)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addC
omponent(ExcaliburComponentSelector.java:703)
        at
org.apache.cocoon.components.ExtendedComponentSelector.configure(Exte
ndedComponentSelector.java:234)
        at
org.apache.avalon.framework.container.ContainerUtil.configure(Contain
erUtil.java:240)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInst
ance(DefaultComponentFactory.java:269)
        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.init
ialize(ThreadSafeComponentHandler.java:108)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initi
alize(ExcaliburComponentManager.java:522)
        at
org.apache.cocoon.components.container.CocoonComponentManager.initial
ize(CocoonComponentManager.java:132)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(Contai
nerUtil.java:283)
        at
org.apache.cocoon.Cocoon.initialize(Cocoon.java:305)
        at
org.apache.avalon.framework.container.ContainerUtil.initialize(Contai
nerUtil.java:283)
        at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.ja
va:1386)
        at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:485)
        at
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)

        at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHa
ndler.java:445)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(We
bApplicationHandler.java:150)
        at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationC
ontext.java:458)
        at
org.mortbay.http.HttpServer.start(HttpServer.java:663)
        at
org.mortbay.jetty.Server.main(Server.java:429)
        ... 7 more


Any hint or suggestion are more than welcome?
Do you have some working 1.4.x releases with matching
cocoon version? 

Thank you a lot
best regards
MIlan








		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: problem with latest build

Posted by Ron Wheeler <rw...@artifact-software.com>.
Is it possible that you are missing one or more of the libraries?
Getting all of the libraries setup for Java is a PITA.

I am using Eclipse with Java 1.5 under Windows 2000 and it at least 
builds without errors. I did have problems with Ant deleting files and 
had to prevent delete errors from stopping the build.

Still having localization problems at runtime but at least no compile 
errors other than depricated functions.
Built it for both Jetty and Tomcat with the same resulting problems.

Ron



Clandes Tino wrote:

>I am using java 1.4.2_05 under Win XP.
>Have you any idea what about DB and property file not
>found errors. However I would prefer deployment under
>Tomcat, so I would really appreciate Tomcat related
>hints.
>Thank you for support
>Milan 
>
>
>--- Andreas Hartmann <an...@apache.org> wrote:
>
>  
>
>>[...]
>>
>>    
>>
>>>Caused by: java.lang.Error: Unresolved compilation
>>>problem:
>>>        Syntax error on token ">", = expected
>>>
>>>        at
>>>
>>>      
>>>
>org.apache.lenya.util.CacheMap.<init>(CacheMap.java:45)
>  
>
>>The offending line is
>>
>>         assert _capacity > -1;
>>
>>so this seems to be a Java version issue ...
>>
>>-- Andreas
>>
>>
>>
>>    
>>
>---------------------------------------------------------------------
>  
>
>>To unsubscribe, e-mail:
>>user-unsubscribe@lenya.apache.org
>>For additional commands, e-mail:
>>user-help@lenya.apache.org
>>
>>
>>    
>>
>
>
>
>		
>___________________________________________________________ 
>How much free photo storage do you get? Store your holiday 
>snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: problem with latest build

Posted by Clandes Tino <cl...@yahoo.co.uk>.
I am using java 1.4.2_05 under Win XP.
Have you any idea what about DB and property file not
found errors. However I would prefer deployment under
Tomcat, so I would really appreciate Tomcat related
hints.
Thank you for support
Milan 


--- Andreas Hartmann <an...@apache.org> wrote:

> 
> [...]
> 
> > Caused by: java.lang.Error: Unresolved compilation
> > problem:
> >         Syntax error on token ">", = expected
> > 
> >         at
> >
>
org.apache.lenya.util.CacheMap.<init>(CacheMap.java:45)
> 
> The offending line is
> 
>          assert _capacity > -1;
> 
> so this seems to be a Java version issue ...
> 
> -- Andreas
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@lenya.apache.org
> For additional commands, e-mail:
> user-help@lenya.apache.org
> 
> 



		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: problem with latest build

Posted by Andreas Hartmann <an...@apache.org>.
[...]

> Caused by: java.lang.Error: Unresolved compilation
> problem:
>         Syntax error on token ">", = expected
> 
>         at
> org.apache.lenya.util.CacheMap.<init>(CacheMap.java:45)

The offending line is

         assert _capacity > -1;

so this seems to be a Java version issue ...

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org