You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mygrp <md...@gmail.com> on 2005/01/22 13:51:44 UTC

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


Re: cocoon copy error

Posted by Mark Lundquist <ml...@wrinkledog.com>.
On Jan 22, 2005, at 6:06 AM, Mygrp wrote:

>>>>  Failed to start: SocketListener@0.0.0.0:80
>
> Does this like mean something has to be running on port 80 ??

No... it's telling you that Jetty _is_ trying to bind to port 80, not 
8080.


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


Re: cocoon copy error

Posted by Antonio Gallardo <ag...@agssa.net>.
On Sab, 22 de Enero de 2005, 8:06, Mygrp dijo:
>>>>  Failed to start: SocketListener@0.0.0.0:80
>
> Does this like mean something has to be running on port 80 ??

Yes.


Please check again if you copied all the files.

Best Regards,

Antonio Gallardo

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


Re: cocoon copy error

Posted by Mygrp <md...@gmail.com>.
>>>  Failed to start: SocketListener@0.0.0.0:80

Does this like mean something has to be running on port 80 ??

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


Re: cocoon copy error

Posted by Antonio Gallardo <ag...@agssa.net>.
On Sab, 22 de Enero de 2005, 8:18, Mygrp dijo:
>> No, but it seems there is a misconfiguration somewhere because something
>> want to bind a privileged port. Check your configuration.
>
> Which is the configuration file ?

tools/jetty/conf/main.xml

Best Regards,

Antonio Gallardo


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


Re: cocoon copy error

Posted by Mygrp <md...@gmail.com>.
> No, but it seems there is a misconfiguration somewhere because something
> want to bind a privileged port. Check your configuration.

Which is the configuration file ?

regds

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


Re: cocoon copy error

Posted by Aurélien DEHAY <ad...@zorel.org>.
Mygrp wrote:
> i was not root when i started it.  But cocoon runs on port 8888 which
> is >1024, do i need to be rrot to start ??
>


No, but it seems there is a misconfiguration somewhere because something
want to bind a privileged port. Check your configuration.

Rgds.

Re: cocoon copy error

Posted by Mygrp <md...@gmail.com>.
i was not root when i started it.  But cocoon runs on port 8888 which
is >1024, do i need to be rrot to start ??


On Sat, 22 Jan 2005 14:04:33 +0100, Aurélien DEHAY <ad...@zorel.org> wrote:
> Hello.
> 
> Mygrp wrote:
> > I have cocoon installed and running in one server. I recently copied
> > all the files ie the cocoon directory to a new system.
> [snip]
> > [0]=java.net.BindException: Permission denied
> [snip]
> 
> >
> > why does this error occur ??
> 
> Aren't you trying to start your webapp server with a non-priviligied
> user? Only root can bind a port <1024.
> 
> Rgds.
> 
> > regds
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
> 
> 
>

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


Re: cocoon copy error

Posted by Aurélien DEHAY <ad...@zorel.org>.
Hello.

Mygrp wrote:
> I have cocoon installed and running in one server. I recently copied
> all the files ie the cocoon directory to a new system.
[snip]
> [0]=java.net.BindException: Permission denied
[snip]

>
> why does this error occur ??

Aren't you trying to start your webapp server with a non-priviligied
user? Only root can bind a port <1024.

Rgds.

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


Cocoon-2.2-dev compile problems JDK 1.5

Posted by Kristian Mandrup <km...@hotmail.com>.
Tried tweaking compile-build.xml, setting target="1.5" instead of
target="${target.vm}". Seems to me it is saying the release is 1.5 code, but
since it contains enums, I guess it isn't? My Ant is 1.6.2...???


    [javac] Compiling 472 source files to
C:\IDE\eclipse\workspace\cocoon-2.2\build\cocoon-2.2-dev\classes
    [javac] javac: target release 1.4 conflicts with default source release
1.5
BUILD FAILED:
C:\IDE\eclipse\workspace\cocoon-2.2\tools\targets\compile-build.xml:77:
Compile failed; see the compiler error output for details. 

---
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


Problems building cocoon-2.2-dev in Eclipse 3.1M4 : "try -source 1.4 or lower..." , but how?

Posted by km...@hotmail.com.
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