For fun, I enabled the Tomcat manager app by adding a manager role to
tomcat-users.xml
and restarted Tomcat.  Openmeetings does not show up in the applications..
FYI -

Allen

On Thu, Jan 19, 2012 at 4:43 PM, Allen Underdown <wbrc...@gmail.com> wrote:

> Sebastian -
>
> That make sense, and is what I suspected, which is why when I changed the
> ports for OpenMeetings,
> I shut down Apache.
>
> Secondly, now I'm really confused about why I can't hit openmeetings on
> port 80 when Apache is down.
> It looks like something is not binding Openmeetings to port 80.
>
> This is the error log after removing Apache from init.d (update-init.d -f
> apache2 remove) and doing
> a full reboot. Note the first couple of lines (see below the ***'s)
>
> So, reading this, I went and looked at
> /opt/red5/webapps/openmeetings/WEB-INF/conf/axis2.xml
> It looks like it is set for port 8080.  I can get to http://X.X.X.X:8080and I 
> get the Tomcat "It Works!" screen.
> However if I drop down to http://X.X.X.X:8080/openmeetings I get a not
> found.
>
> What also bothers me is the second line.  I have NO clue where to even
> start there!
>
> Thanks!
> Allen
>
>
> ********************************************************************************************************************
> 2012-01-19 15:42:39,891 [main] WARN  o.a.a.transport.http.AxisServlet -
> No transportReceiver for
> org.apache.axis2.transport.http.AxisServletListener found. An instance for
> HTTP will be configured automatically. Please update your axis2.xmlfile!
> 2012-01-19 15:42:40,166 [main] ERROR o.a.coyote.http11.Http11Protocol -
> Error initializing endpoint
> java.net.BindException: Permission denied /0.0.0.0:80
>         at
> org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)
> ~[tomcat-coyote-6.0.32.jar:6.0.32]
>         at
> org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
> ~[tomcat-coyote-6.0.32.jar:6.0.32]
>         at
> org.apache.catalina.connector.Connector.initialize(Connector.java:1022)
> [catalina-6.0.32.jar:6.0.32]
>         at org.apache.catalina.startup.Embedded.start(Embedded.java:830)
> [catalina-6.0.32.jar:6.0.32]
>         at org.red5.server.tomcat.TomcatLoader.init(TomcatLoader.java:501)
> [tomcatplugin-1.1.jar:na]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_20]
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> ~[na:1.6.0_20]
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[na:1.6.0_20]
>         at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_20]
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
> [org.springframework.context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
> [org.springframework.context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at org.red5.server.Launcher.launch(Launcher.java:64) [red5.jar:na]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_20]
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> ~[na:1.6.0_20]
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[na:1.6.0_20]
>         at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_20]
>         at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:118)
> [boot.jar:na]
>         at org.red5.server.Bootstrap.main(Bootstrap.java:49) [boot.jar:na]
> Caused by: java.net.BindException: Permission denied
>         at java.net.PlainSocketImpl.socketBind(Native Method)
> ~[na:1.6.0_20]
>         at
> java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
> ~[na:1.6.0_20]
>         at java.net.ServerSocket.bind(ServerSocket.java:336) ~[na:1.6.0_20]
>         at java.net.ServerSocket.<init>(ServerSocket.java:202)
> ~[na:1.6.0_20]
>         at
> org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:56)
> ~[tomcat-coyote-6.0.32.jar:6.0.32]
>         at
> org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:540)
> ~[tomcat-coyote-6.0.32.jar:6.0.32]
>         ... 27 common frames omitted
> 2012-01-19 15:42:40,168 [main] ERROR org.red5.server.tomcat.TomcatLoader
> - Error loading tomcat, unable to bind connector. You may not have
> permission to use the selected port
> org.apache.catalina.LifecycleException: Protocol handler initialization
> failed:java.net.BindException: Permission denied /0.0.0.0:80
>         at
> org.apache.catalina.connector.Connector.initialize(Connector.java:1024)
> ~[catalina-6.0.32.jar:6.0.32]
>         at org.apache.catalina.startup.Embedded.start(Embedded.java:830)
> ~[catalina-6.0.32.jar:6.0.32]
>         at org.red5.server.tomcat.TomcatLoader.init(TomcatLoader.java:501)
> ~[tomcatplugin-1.1.jar:na]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_20]
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> ~[na:1.6.0_20]
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[na:1.6.0_20]
>         at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_20]
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
> [org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
> [org.springframework.context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
> [org.springframework.context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>         at org.red5.server.Launcher.launch(Launcher.java:64) [red5.jar:na]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_20]
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> ~[na:1.6.0_20]
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[na:1.6.0_20]
>         at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_20]
>         at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:118)
> [boot.jar:na]
>         at org.red5.server.Bootstrap.main(Bootstrap.java:49) [boot.jar:na]
>
>
> On Thu, Jan 19, 2012 at 1:20 AM, seba.wag...@gmail.com <
> seba.wag...@gmail.com> wrote:
>
>> *So, how does Apache and OpenMeetings interact?*
>>
>> By "Apache" I guess you mean Apache HTTPD Server.
>>
>> => there is no interaction at all (or the same that existists between
>> any application and an HTTPD). The rule is simple: You are not allowed
>> to run two services on the same port on the same machine. That simply
>> does not work.
>>
>> You can work around that by using for example multiple subdomains +
>> mod_proxy or Apache HTTPD to make it look like everything is
>> accessible via port 80.
>>
>> However OpenMeetings itself has ZERO todo with Apache HTTPD, those are
>> simple two application that do not interact at all, changing any kind
>> of config in HTTPD will have zero effect to OpenMeetings.
>>
>> Sebastian
>>
>> 2012/1/18 Allen Underdown <wbrc...@gmail.com>:
>> > I followed the config notes in regards to changing the default ports
>> listed
>> > on the Wiki.
>> >
>> > Specifically, I changed /opt/red5/conf/red5.properties http.port to 80
>> (from
>> > 5080) and rtmpt.port to 443 (from 8088).
>> >
>> > I've also changed the /opt/red5/webapps/openmeetings/config.xml
>> red5httpport
>> > to 80 and rtmptTunnelport to 443
>> >
>> > Now, when I hit the server directly, even with the direct IP address
>> > (http://X.X.X.X/openmeetings/) I get an Apache
>> > page /openmeetings/ not found.  Nor can I still hit the service using
>> port
>> > 5080.
>> >
>> > I am flushing the browser cache on each attempt...
>> >
>> > So, how does Apache and OpenMeetings interact? Or is there something
>> wrong
>> > with the simple config changes
>> > for ports in 1.9? I do think there is a typo - the Wiki references
>> > rtmpt.host in red5.properties. I think (and changed)
>> > it should be rtmpt.port instead.
>> >
>> > If I shut down Apache (sudo service apache2 stop) I obviously don't get
>> any
>> > response to http requests.
>> >
>> > I looked at my /etc/apache2/apache2.conf and httpd.conf  The
>> apache2.conf
>> > file looks normal.  The httpd.conf file is empty.
>> >
>> > I copy the old red5.properties and config.xml back into place, restart
>> and
>> > everything works again.
>> >
>> > OpenMeetings 1.9.1_r4707 and Ubuntu 10 LTS
>> >
>> > <confused>
>> >
>> > Thanks!
>> > Allen
>>
>>
>>
>> --
>> Sebastian Wagner
>> http://www.openmeetings.de
>> http://incubator.apache.org/openmeetings/
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wag...@gmail.com
>>
>
>

Reply via email to