No admin application in Red5 1.0 RC1 ??

2,654 views
Skip to first unread message

Rajdeep Rath

unread,
May 3, 2011, 12:27:55 PM5/3/11
to red5in...@googlegroups.com
Hi

Can some one confirm and tell me why there is no admin application in Red5 1.0 RC1. Am using the zip.


Rajdeep Rath

DZS|All-In-One

unread,
May 3, 2011, 2:44:23 PM5/3/11
to red5
The Red5 Team configured the application into plugin and no longer
shown in Red5's installer. To install the Admin plugin, use this link.
http://wiki.red5.org/wiki/AppServer/Plugins

Rajdeep Rath

unread,
May 3, 2011, 2:50:03 PM5/3/11
to red5in...@googlegroups.com
Looks like this is going to be a long thread :). So basically what you are saying is that flex application is gone ??

Rajdeep Rath

unread,
May 3, 2011, 2:59:18 PM5/3/11
to red5in...@googlegroups.com
I copied the admin.jsp to root and i get:

[ERROR] [http-0.0.0.0-5080-1] org.apache.catalina.core.ContainerBase.[red
].[0.0.0.0].[/].[jsp] - Servlet.service() for servlet jsp threw exception
java.lang.ClassNotFoundException: org.apache.el.ExpressionFactoryImpl

DZS|All-In-One

unread,
May 3, 2011, 6:55:49 PM5/3/11
to red5
No, it is not gone. I think they integrated admin from flash
directory which contains flex version of admin panel and the admin
directory together.

It means you do not have jasper-el-*.*.*.jar file included. You may
either get it from Red5 0.9.1's jasper-el-*.*.*.jar file or the latest
trunk repository jar files. Be sure to put it in the plugin folder as
this is where it belongs along with other jasper jar files.

On May 3, 1:59 pm, Rajdeep Rath <rajdeepr...@gmail.com> wrote:
> I copied the admin.jsp to root and i get:
>
> *[ERROR] [http-0.0.0.0-5080-1] org.apache.catalina.core.ContainerBase.[red*
> *].[0.0.0.0].[/].[jsp] - Servlet.service() for servlet jsp threw exception*
> *java.lang.ClassNotFoundException: org.apache.el.ExpressionFactoryImpl*
>
>
>
>
>
>
>
> On Wed, May 4, 2011 at 12:20 AM, Rajdeep Rath <rajdeepr...@gmail.com> wrote:
> > Looks like this is going to be a long thread :). So basically what you are
> > saying is that flex application is gone ??
>

Laura L.

unread,
May 20, 2011, 5:39:10 AM5/20/11
to red5
Hi all, I've followed the guide step by step and finally got my
credentials on database. Panel admin seems to read those credentials
because when I put incorrect user/pwd it rejects me, instead of the
following endless exception thrown when my credentials are correct:

[ERROR] [NioProcessor-1] org.red5.server.service.ServiceInvoker -
Error executing call: Service: null Method: getApplications Num
Params: 0
[ERROR] [NioProcessor-1] org.red5.server.service.ServiceInvoker -
Service invocation error
java.lang.reflect.InvocationTargetException: null
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown
Source) ~[na:na]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25) ~[na:1.6.0_22]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:
1.6.0_22]
at
org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:200)
[red5.jar:na]
at
org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:118)
[red5.jar:na]
at
org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:163)
[red5.jar:na]
at
org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:405)
[red5.jar:na]
at
org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:
134) [red5.jar:na]
at
org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:
207) [red5.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain
$TailFilter.messageReceived(DefaultIoFilterChain.java:716) [mina-
core-2.0.3.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:
434) [mina-core-2.0.3.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access
$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.3.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain
$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-
core-2.0.3.jar:na]
at org.apache.mina.filter.codec.ProtocolCodecFilter
$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427) [mina-
core-2.0.3.jar:na]
at
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:
245) [mina-core-2.0.3.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:
434) [mina-core-2.0.3.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access
$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.3.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain
$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-
core-2.0.3.jar:na]
at
org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:
125) [red5.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:
434) [mina-core-2.0.3.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access
$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.3.jar:na]
at org.apache.mina.core.filterchain.DefaultIoFilterChain
$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-
core-2.0.3.jar:na]
at
org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:
119) [mina-core-2.0.3.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:
434) [mina-core-2.0.3.jar:na]
at
org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:
426) [mina-core-2.0.3.jar:na]
at
org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:
715) [mina-core-2.0.3.jar:na]
at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:
668) [mina-core-2.0.3.jar:na]
at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:
657) [mina-core-2.0.3.jar:na]
at
org.apache.mina.core.polling.AbstractPollingIoProcessor.access
$600(AbstractPollingIoProcessor.java:68) [mina-core-2.0.3.jar:na]
at org.apache.mina.core.polling.AbstractPollingIoProcessor
$Processor.run(AbstractPollingIoProcessor.java:1141) [mina-
core-2.0.3.jar:na]
at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:
64) [mina-core-2.0.3.jar:na]
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_22]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_22]
Caused by: java.lang.StringIndexOutOfBoundsException: String index out
of range: -1
at java.lang.String.substring(String.java:1937) ~[na:1.6.0_22]
at
org.red5.server.plugin.admin.AdminHandler.getApplications(AdminHandler.java:
135) ~[adminplugin.jar:na]
... 34 common frames omitted

Can anybody tell me why is this happening? Does anybody got the panel
admin working with the last trunk?
Thanks

Rajdeep Rath

unread,
May 28, 2011, 5:22:58 PM5/28/11
to red5in...@googlegroups.com
No there is no way to get admin working in red5 ?? It certainly isnt as easy as before... What has changed ?? can some one guide..

DZS|All-In-One

unread,
May 29, 2011, 8:06:45 PM5/29/11
to red5
Okay, I will make a simple guide as I can. First of all, you will
need to download two files as provided the links below

http://red5.googlecode.com/files/AdminPlugin-1.0.zip
http://red5.googlecode.com/files/admin.jsp

Extract the zip file into the Red5's plugin folder. And put admin.jsp
inside root folder. Restart your Red5 system.
Go to your Red5's http access to view admin.jsp ( which should be
http://localhost:5080/admin.jsp by default)

If you do see any such errors, then you will need to add/delete some
jars.

Issue: Exception java.lang.ClassCastException:
org.slf4j.helpers.BasicMDCAdapter cannot be cast to
ch.qos.logback.classic.util.LogbackMDCAdapter

Solution: Delete the following jar files below.
com.springsource.slf4j.juli-1.6.1.jar
com.springsource.slf4j.log4j-1.6.1.jar


Issue: Unable to view jsp via http access

Solution: Add these following jar files to plugin folder.
jasper-6.0.18.jar (or newer)
jasper-jdt-6.0.18.jar (or newer)
jasper-el-6.0.18.jar (or newer)


Issue: Unable to create usename and/or password or invalid database.

Solution: Delete the admin folder completely from the root folder of
your disk drive.


Successfully create username and password? Next step.

Go to http://localhost:5080/admin/ to view your admin panel (exactly
similar to the previous admin panel look alike).

Still having issue(s)? Please do inform me here (Do not PM me for any
issues relative to Red5's system.)

Rajdeep Rath

unread,
May 30, 2011, 7:22:04 AM5/30/11
to red5in...@googlegroups.com
THAAAAANKSS :) - Peopel bookmark this solution if you have trouble getting admin to work!!

Rajdeep Rath

unread,
May 30, 2011, 7:33:43 AM5/30/11
to red5in...@googlegroups.com
All ok just that http://localhost:5080/admin/  wont work i think cause its in demos folder right ??

DZS|All-In-One

unread,
May 30, 2011, 11:37:04 PM5/30/11
to red5
Oops, yes it is in demos folder for http access view. admin does
exist, however doesn't have any files to view via http access. Be
sure to use localhost address, IP Address, or domain name of where
your Red5's sysem is at. You can use the AdminPanel for that.
e.g.
Server Address: localhost | 127.0.0.1 | red5.example.com (The "|" is
defined as "or")
Username : your_given_username
Password : your_given_password

On May 30, 7:33 am, Rajdeep Rath <rajdeepr...@gmail.com> wrote:
> All ok just thathttp://localhost:5080/admin/ wont work i think cause its

Rajdeep Rath

unread,
May 31, 2011, 7:49:04 AM5/31/11
to red5in...@googlegroups.com
DZS|All-In-One one final thing to bother you with :) In red5 0.8/0.9 i had made some changed to admin application code. But now that its being deployed as a plugin rather than a app, is it possible to modify it ?

DZS|All-In-One

unread,
May 31, 2011, 10:00:37 AM5/31/11
to red5
Oh dear! That's totally..... POSSIBLE!

One way to modify the jar file much easier is to use 7-Zip software to
open it and either add/delete/edit any file inside. I have no issue(s)
with 7-Zip to fix some issues with Red5.jar itself without the need to
use ant build for Windows. Be sure to keep the original as backup,
including your pre-made working modify for 0.8/0.9 version. Or
another way is to download the plugin version of admin application and
find what needs to be modify before you comply it to jar file.

On May 31, 7:49 am, Rajdeep Rath <rajdeepr...@gmail.com> wrote:
> DZS|All-In-One one final thing to bother you with :) In red5 0.8/0.9 i had
> made some changed to admin application code. But now that its being deployed
> as a plugin rather than a app, is it possible to modify it ?
>
> On Tue, May 31, 2011 at 9:07 AM, DZS|All-In-One <coolest2...@gmail.com>wrote:
>
>
>
>
>
>
>
> > Oops, yes it is in demos folder for http access view.  admin does
> > exist, however doesn't have any files to view via http access.  Be
> > sure to use localhost address, IP Address, or domain name of where
> > your Red5's sysem is at.  You can use the AdminPanel for that.
> > e.g.
> > Server Address:  localhost | 127.0.0.1 | red5.example.com (The "|" is
> > defined as "or")
> > Username       :  your_given_username
> > Password        :  your_given_password
>
> > On May 30, 7:33 am, Rajdeep Rath <rajdeepr...@gmail.com> wrote:
> > > All ok just thathttp://localhost:5080/admin/wont work i think cause its

Laura L.

unread,
Jun 16, 2011, 6:19:08 AM6/16/11
to red5
I'm sorry it's me again, but now I can bring more info about my
problem.

As I first said I followed every step correctly, but I still get that
InvocationTargetException at the ServiceInvoker class, as it seems to
receive a null service reference.

Why do I get this error? Because I'm using the last trunk version
instead of the 1.0 RC1 that Rajdeep said he was using. Somewhere
between those two version there's a change that makes that endless
exception to be thrown.

So my next step was installing a Red5 1.0 RC1 in a new server and
trying to connect remotely to my main Red5 application with last trunk
version. The exception appeared anyway.

I rather use the last version due to some AAC fixes, but meanwhile I
can give a shot to the RC1.

Any other solution?
> > > > All ok just thathttp://localhost:5080/admin/wontwork i think cause its

DZS|All-In-One

unread,
Jun 16, 2011, 3:34:43 PM6/16/11
to red5
It may means you don't have the AdminPlugin 1.0 zip extracted into
your plugin folder. In order to know if it does exist with current
demo example already included.

Go to: http://localhost:5080/demos/ofla_demo.html (change the
localhost to directly your website or ip address)

The following "rtmp:/localhost/oflademo", change it to "rtmp:/
localhost/admin" and you should see the following message below.

(165) Connections: true | true
(20971) connected?: true
(21255) NetConnection.onStatus:
application = Client rejected
description = Client rejected
code = NetConnection.Connect.Rejected
level = error


(21256) NetConnection.onStatus:
level = status
code = NetConnection.Connect.Closed

Then your AdminPlugin is running. However if you do not see the
message above, and see this message below.

(208274) connected?: true
(208458) NetConnection.onStatus:
application = Client rejected
description = No scope 'admin' on this server.
code = NetConnection.Connect.Rejected
level = error


(208459) NetConnection.onStatus:
level = status
code = NetConnection.Connect.Closed

Then your AdminPlugin isn't running. This may the cause of null
exception. If still doesn't work, then please PM me with the
information so I can assist you on the side.

Laura L.

unread,
Jun 17, 2011, 5:50:12 AM6/17/11
to red5
I did it, and the message was the correct one. My plugins folder is
alright, and I'm pretty sure it's not an installation problem because,
as I said, I have two identical servers, one with the Red5 1.0 RC1 and
the other with Red5 r4236. I've done exactly the same steps twice and
always got the same results: the admin panel works on Red 1.0 RC1 but
not on the last version. I've even swapped servers.

Just answer me this question before I PM you: have you successfully
tested Admin Panel on r4236?
I don't want to leave my problem without answer if it's not really my
fault, it may help others.


On 16 jun, 21:34, "DZS|All-In-One" <coolest2...@gmail.com> wrote:
> It may means you don't have the AdminPlugin 1.0 zip extracted into
> your plugin folder.  In order to know if it does exist with current
> demo example already included.
>
> Go to:http://localhost:5080/demos/ofla_demo.html(change the

DZS|All-In-One

unread,
Jun 19, 2011, 12:24:13 PM6/19/11
to red5
Ahh okay, so you are able to use on Red5 1.0RC1 but not the latest
trunk (r4236). I will have this check out and hopefully you may will
find my answer by the next 36 hours. If my side is very successfully
with both AdminPlugin and Red5 (r4236), then it's best to PM me to
assist you on the side so I can help you better. Once I did find the
source of where the issue comes from (from your side), I will post it
here so others will know what may be the cause and solution to fix
it. ;)

Laura L.

unread,
Jun 20, 2011, 10:26:30 AM6/20/11
to red5
Yes, you got the point! Thank you for testing it. I'll wait for your
answer.

DZS|All-In-One

unread,
Jun 20, 2011, 3:50:55 PM6/20/11
to red5
Correction: r4234 is the current trunk revision.

There were some possible "major" changes to the logging section that
may cause the issues. Apparently AdminPlugin either needs to be
update for Red5 1.0.0 RC2 (r4222) and higher or there's some bugs has
been leaked out needs to be fix in the trunk. For more depth what
changed/cause this, I would have to go each revision to see what may
cause this NullException and will take at least a week or two to find
specific revision.

Summary:

Yes, I am having the same exact issue you are having as well and
cannot find the source of cause at the moment.

kevinmild

unread,
Jul 6, 2011, 5:58:47 AM7/6/11
to red5in...@googlegroups.com

Hi Guys,

I tried the below steps and got the admin page to load up.
I am running on windows 7, red 5 0.9.1

i cant seem to register or login.
I keep getting this error:

Error in db setup The statement was aborted because it would have caused a
duplicate key value in a unique or primary key constraint or unique index
identified by 'SQL110706104540410' defined on 'APPROLE'.

Any suggestions,

thanks!

--
View this message in context: http://old.nabble.com/No-admin-application-in-Red5-1.0-RC1----tp31534137p32003655.html
Sent from the Red5 - Interest/Users mailing list archive at Nabble.com.

kevinmild

unread,
Jul 6, 2011, 6:06:06 AM7/6/11
to red5in...@googlegroups.com

Hi guys,

Dont worry got it. I was trying it with the same username "admin". Which of
course return this exception.
If you try to register twice.

--
View this message in context: http://old.nabble.com/No-admin-application-in-Red5-1.0-RC1----tp31534137p32003683.html

Digger

unread,
May 1, 2012, 12:43:12 PM5/1/12
to red5in...@googlegroups.com
My adminPanel almost works, but not quite.  I downloaded and installed the plugin, and successfully created an account.  I tried the OFLA test and got the correct response. If I try logging into the admin panel with an incorrect login and password, it correctly rejects that attempt with NetConnection.Connect.Close.

That all seems correct, but when I start the admin panel and log in with the correct login and password, it seems to log in correctly but immediately dies with NetConnection.Call.Failed.  Is this a known issue, and is there a fix?

Digger

unread,
May 1, 2012, 1:08:26 PM5/1/12
to red5in...@googlegroups.com
BTW, I'm running Red5 Server 1.0.0 RC2 Rev 4238, Admin 0.4.1, and Flash Player Win 11.2.202.235

DZS|All-In-One

unread,
May 2, 2012, 6:52:52 AM5/2/12
to red5
On May 1, 1:08 pm, Digger <rob...@ourwebhome.com> wrote:
> BTW, I'm running Red5 Server 1.0.0 RC2 Rev 4238, Admin 0.4.1, and Flash
> Player Win 11.2.202.235

I have not tested this on Red5 1.0.0 RC2 as I am working on different
project which is not relative to Red5. So I do not know if 1.0.0 RC2
might does have an issue with admin plugin.

> On Tuesday, May 1, 2012 9:43:12 AM UTC-7, Digger wrote:

> My adminPanel almost works, but not quite.  I downloaded and installed the
> plugin, and successfully created an account.  I tried the OFLA test and got
> the correct response. If I try logging into the admin panel with an
> incorrect login and password, it correctly rejects that attempt with
> NetConnection.Connect.Close.
>
> That all seems correct, but when I start the admin panel and log in with
> the correct login and password, it seems to log in correctly but
> immediately dies with NetConnection.Call.Failed.  Is this a known issue,
> and is there a fix?

NetConnection.Connect.Close which may would be define the username and/
or password is incorrect. NetConnection.Call.Failed may define there
is an exception.

Digger

unread,
May 2, 2012, 11:37:28 AM5/2/12
to red5in...@googlegroups.com
Yes, I agree that NetConnection.Call.Fail is probably being caused when an exception is called, but how do I fix it?  Is this a known issue?  Do I need a different version of the Java side, or the Flash side?

Mondain

unread,
May 2, 2012, 12:40:10 PM5/2/12
to red5in...@googlegroups.com
The admin app will probably be getting an update soon to work with the latest 1.0 changes, so you can dig deeper into the current version or wait a few days.

Paul

Digger

unread,
May 3, 2012, 2:16:58 PM5/3/12
to red5in...@googlegroups.com
Thanks Paul!  If there is a new version coming soon I'd prefer to wait for that.  Will it work with Red5 Server 1.0.0 RC2 Rev 4238, or will it require an update?

Robert


On Wednesday, May 2, 2012 9:40:10 AM UTC-7, Mondain wrote:
The admin app will probably be getting an update soon to work with the latest 1.0 changes, so you can dig deeper into the current version or wait a few days.

Paul
Reply all
Reply to author
Forward
0 new messages