[Red5] java.lang.VerifyError was Admin Derby database?
Daniel Rossi
spam at electroteque.org
Tue Aug 5 20:37:50 PDT 2008
Ive added a ticket about it, cant work it out
http://jira.red5.org/browse/APPSERVER-280
On 05/08/2008, at 7:03 PM, Daniel Rossi wrote:
> I'm sorry this is beyond me but adding -noverify is a quick
> workaround for now.
>
> On 05/08/2008, at 6:40 PM, Daniel Rossi wrote:
>
>> I think its something worse than this. It could be a problem on OSX
>> only im not sure here is the exact errors
>>
>> http://pastebin.com/mc8b4f51
>>
>> References on this wierd error
>>
>> http://osdir.com/ml/java.loom.devel/2005-02/msg00046.html
>> http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=eb3fcd8f72ab4713f96e378a7575?bug_id=6614974
>>
>> I successfully loaded everything when i ran java like so
>>
>> java -noverify
>>
>> it seems there is something wrong with the spring jars !!!
>>
>> On 05/08/2008, at 5:33 PM, Jeroen De Ridder wrote:
>>
>>> Update: I've confirmed that the same thing happens on my home
>>> Ubuntu Server box. The exact same situation occurs. Also, I've
>>> just now tried using the 0.6.3 final build on the Etch machine,
>>> and that version works fine. So I'm thinking something must be
>>> wrong in 0.7.0's admin ...
>>>
>>> On Mon, Aug 4, 2008 at 4:10 PM, Jeroen De Ridder <voetsjoeba at gmail.com
>>> > wrote:
>>> I just installed Red5 from the latest SVN trunk (0.7 I believe) on
>>> Debian Etch running Java 5 using this tutorial: http://osflash.org/red5/debian
>>> . My current dist directory is located at /opt/red5-trunk/dist.
>>> The server is started by the root user.
>>>
>>> The server itself runs fine: the testpage at localhost:5080 shows
>>> up and all the demos work. However, I am unable to access the
>>> admin panel. The console spews a ton of error messages at me
>>> (though the server still boots), the first of which is:
>>>
>>> [DEBUG] [main] org.red5.webapps.admin.UserDatabase - Shutdown
>>> Admin db
>>> [DEBUG] [main] org.red5.webapps.admin.UserDatabase - Error in db
>>> shutdown
>>> org.apache.derby.impl.jdbc.EmbedSQLException: Database 'Admin'
>>> shutdown.
>>> at
>>> org
>>> .apache
>>> .derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
>>> (...)
>>> Caused by: org.apache.derby.iapi.error.StandardException: Database
>>> 'Admin' shutdown.
>>> at
>>> org.apache.derby.iapi.error.StandardException.newException(Unknown
>>> Source)
>>> at
>>> org
>>> .apache
>>> .derby
>>> .impl
>>> .jdbc.TransactionResourceImpl.shutdownDatabaseException(Unknown
>>> Source)
>>> ... 65 common frames omitted
>>>
>>> Followed by an additional 20-somewhat errors with huge stack
>>> traces about missing contexts and Tomcat servlets and various
>>> other mumbojumbo I don't understand. I've been browsing through
>>> all these properties and XML files trying to find some more info,
>>> and judging from the SQL queries in one of the config files
>>> apparently the user accounts for the admin panel are saved in a
>>> Derby-database (?) which should be in /root/Admin (which exists -
>>> I've tried deleting it and restarting the server, which recreated
>>> the Admin folder). It's obviously not working though. When I visit
>>> localhost:5080/admin, I get this error message:
>>>
>>> HTTP Status 500 -
>>>
>>> type Exception report
>>>
>>> message
>>>
>>> description The server encountered an internal error () that
>>> prevented it from fulfilling this request.
>>>
>>> exception
>>>
>>> org.apache.jasper.JasperException: javax.servlet.ServletException:
>>> Servlet.init() for servlet dispatcher threw exception
>>>
>>> org
>>> .apache
>>> .jasper
>>> .servlet
>>> .JspServletWrapper.handleJspException(JspServletWrapper.java:522)
>>>
>>>
>>>
>>> org
>>> .apache
>>> .jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
>>> 398)
>>>
>>> org
>>> .apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>> 337)
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
>>>
>>>
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>
>>> sun
>>> .reflect
>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>> sun
>>> .reflect
>>> .DelegatingMethodAccessorImpl
>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>>
>>> java.lang.reflect.Method.invoke(Method.java:585)
>>> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:
>>> 244)
>>> java.security.AccessController.doPrivileged(Native Method)
>>> javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>>>
>>>
>>>
>>> org
>>> .apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:
>>> 276)
>>>
>>> org
>>> .apache
>>> .catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
>>> root cause
>>>
>>> javax.servlet.ServletException: Servlet.init() for servlet
>>> dispatcher threw exception
>>>
>>>
>>> java.security.AccessController.doPrivileged(Native Method)
>>>
>>> org
>>> .apache
>>> .jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
>>> org.apache.jasper.runtime.PageContextImpl.access
>>> $1000(PageContextImpl.java:71)
>>>
>>>
>>> org.apache.jasper.runtime.PageContextImpl
>>> $11.run(PageContextImpl.java:652)
>>> java.security.AccessController.doPrivileged(Native Method)
>>>
>>> org
>>> .apache
>>> .jasper.runtime.PageContextImpl.forward(PageContextImpl.java:650)
>>>
>>>
>>> org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>>
>>> org
>>> .apache
>>> .jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
>>> 374)
>>>
>>>
>>>
>>> org
>>> .apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>> 337)
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>
>>>
>>>
>>> sun
>>> .reflect
>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>> sun
>>> .reflect
>>> .DelegatingMethodAccessorImpl
>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>> java.lang.reflect.Method.invoke(Method.java:585)
>>>
>>>
>>> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:
>>> 244)
>>> java.security.AccessController.doPrivileged(Native Method)
>>> javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>>>
>>> org
>>> .apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:
>>> 276)
>>>
>>>
>>>
>>> org
>>> .apache
>>> .catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
>>> root cause
>>>
>>> java.lang.IllegalStateException: Context attribute is not of type
>>> WebApplicationContext: org.springframework.web.context.support.XmlWebApplicationContext
>>> @318c69a9: display name [Root WebApplicationContext]; startup date
>>> [Mon Aug 04 15:53:37 CEST 2008]; parent:
>>> org
>>> .springframework
>>> .context.support.FileSystemXmlApplicationContext at 418bbf55
>>>
>>>
>>> org.springframework.web.context.support.WebApplicationContextUtils.getWebApplicationContext
>>> (WebApplicationContextUtils.java:113)
>>> org.springframework.web.context.support.WebApplicationContextUtils.getWebApplicationContext
>>> (WebApplicationContextUtils.java:86)
>>>
>>>
>>> org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext
>>> (FrameworkServlet.java:314)
>>>
>>> org
>>> .springframework
>>> .web
>>> .servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:282)
>>>
>>> org
>>> .springframework
>>> .web.servlet.HttpServletBean.init(HttpServletBean.java:126)
>>>
>>>
>>> javax.servlet.GenericServlet.init(GenericServlet.java:241)
>>> sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
>>>
>>> sun
>>> .reflect
>>> .DelegatingMethodAccessorImpl
>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>> java.lang.reflect.Method.invoke(Method.java:585)
>>>
>>>
>>> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:
>>> 244)
>>> java.security.AccessController.doPrivileged(Native Method)
>>> javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>>>
>>> org
>>> .apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:
>>> 276)
>>>
>>>
>>>
>>> org
>>> .apache
>>> .catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
>>>
>>> org
>>> .apache
>>> .catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:115)
>>> java.security.AccessController.doPrivileged(Native Method)
>>>
>>>
>>>
>>> org
>>> .apache
>>> .jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
>>> org.apache.jasper.runtime.PageContextImpl.access
>>> $1000(PageContextImpl.java:71)
>>> org.apache.jasper.runtime.PageContextImpl
>>> $11.run(PageContextImpl.java:652)
>>>
>>>
>>> java.security.AccessController.doPrivileged(Native Method)
>>>
>>> org
>>> .apache
>>> .jasper.runtime.PageContextImpl.forward(PageContextImpl.java:650)
>>> org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>
>>>
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>>
>>> org
>>> .apache
>>> .jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
>>> 374)
>>>
>>> org
>>> .apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>> 337)
>>>
>>>
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>
>>> sun
>>> .reflect
>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>>
>>>
>>> sun
>>> .reflect
>>> .DelegatingMethodAccessorImpl
>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>> java.lang.reflect.Method.invoke(Method.java:585)
>>> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:
>>> 244)
>>> java.security.AccessController.doPrivileged(Native Method)
>>>
>>>
>>> javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>>>
>>> org
>>> .apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:
>>> 276)
>>>
>>> org
>>> .apache
>>> .catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
>>>
>>>
>>>
>>> What's going wrong here?
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5 at osflash.org
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080806/32783458/attachment-0001.html
More information about the Red5
mailing list