cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmand...@hotmail.com
Subject Problems building cocoon-2.2-dev in Eclipse 3.1M4 : "try -source 1.4 or lower..." , but how?
Date Wed, 26 Jan 2005 14:01:17 GMT
Hi,

Tried to build 2.1.5 then proceeded to 2.1.6... but no build luck yet, then
CVS grabbed 2.2-dev into my Eclipse IDE, tried "build" -> JVM 1.3 target
error. Fixed "init-build.xml" changing target="xxx" to target="1.5". 
Now getting the following error:

    [javac]
C:\IDE\eclipse\workspace\cocoon-2.2\src\java\org\apache\cocoon\components\mo
dules\input\DateMetaInputModule.java:136: as of release 1.5, 'enum' is a
keyword, and may not be used as an identifier
    [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
    [javac] Iterator enum = getNames(objectModel,
    [javac] ^


Source not 1.5 compliant... But where to set the "source" setting?
Not to be found in my "local.build.properties" file it seems, so where is
the setting hiding?

Kristian


-----Original Message-----
Wrom: ZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPN
Sent: 22. januar 2005 13:52
To: users@cocoon.apache.org
Subject: cocoon copy error

I have cocoon installed and running in one server. I recently copied
all the files ie the cocoon directory to a new system.

however When i try to start cocoon from the new system, i find the
following error :

Main Class: org.mortbay.jetty.Server
18:09:59.744 EVENT  Starting Jetty/4.2.9
18:10:02.250 EVENT  Started WebApplicationContext[/,./build/webapp]
server.properties not found, using command line or default properties
Opening database:
/data/usr/local/src/cocoon-2.1.3/build/webapp/WEB-INF/db/cocoondb
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
Sat Jan 22 18:10:13 IST 2005 Listening for connections ...
 INFO [main] (DirectSchedulerFactory.java:295) - Quartz scheduler 'Cocoon
 INFO [main] (DirectSchedulerFactory.java:298) - Quartz scheduler version:
1.2.3
 INFO [main] (QuartzScheduler.java:327) - Scheduler
Cocoon_$_Sat_Jan_22_18:10:32_IST_2005 started.
18:10:33.401 WARN!! Failed to start: SocketListener@0.0.0.0:80
18:10:33.409 WARN!!
org.mortbay.util.MultiException[java.net.BindException: Permission denied]
        at org.mortbay.http.HttpServer.start(HttpServer.java:624)
        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(DelegatingMethodAccessorImpl
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)
[0]=java.net.BindException: Permission denied
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
        at java.net.ServerSocket.bind(ServerSocket.java:318)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at
org.mortbay.util.ThreadedServer.newServerSocket(ThreadedServer.java:317)
        at org.mortbay.util.ThreadedServer.start(ThreadedServer.java:389)
        at org.mortbay.http.SocketListener.start(SocketListener.java:153)
        at org.mortbay.http.HttpServer.start(HttpServer.java:655)
        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(DelegatingMethodAccessorImpl
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)


why does this error occur ??
regds

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.779 / Virus Database: 526 - Release Date: 19-10-2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.779 / Virus Database: 526 - Release Date: 19-10-2004
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message