shawn47 / oryx-editor

Automatically exported from code.google.com/p/oryx-editor
Other
0 stars 0 forks source link

error on: http://localhost:8080/backend/poem/repository #449

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.ant rebuild-all
2.ant deploy-all
3.go to http://localhost:8080/backend/poem/repository

What is the expected output?
to open the oryx repository

What do you see instead?
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

javax.servlet.ServletException: Could not initialize class 
org.b3mn.poem.Persistance
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:324)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    java.security.AccessController.doPrivileged(Native Method)
    org.b3mn.poem.security.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:155)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:616)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:269)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:301)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:243)

root cause

java.lang.NoClassDefFoundError: Could not initialize class 
org.b3mn.poem.Persistance
    org.b3mn.poem.Dispatcher.dispatch(Dispatcher.java:397)
    org.b3mn.poem.Dispatcher.doGet(Dispatcher.java:403)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:616)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:269)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:301)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    java.security.AccessController.doPrivileged(Native Method)
    org.b3mn.poem.security.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:155)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:616)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:269)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:301)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:243)

note The full stack trace of the root cause is available in the Apache 
Tomcat/6.0.20 logs.
Apache Tomcat/6.0.20

Please provide any additional information below.

Original issue reported on code.google.com by juanigna...@gmail.com on 16 Jul 2010 at 8:31

GoogleCodeExporter commented 9 years ago
the problem seems to be with the postgre conn but i can connect fine manualy 
with user "poem"

WARNING: Could not obtain connection metadata
org.postgresql.util.PSQLException: Your security policy has prevented the 
connection from being attempted.  You probably need to grant the connect 
java.net.SocketPermission to the database server host and port that you wish to 
connect to.

Original comment by juanigna...@gmail.com on 17 Jul 2010 at 12:02

GoogleCodeExporter commented 9 years ago
I'm realized that i have instaled postgre 8.4

Original comment by juanigna...@gmail.com on 18 Jul 2010 at 9:40

GoogleCodeExporter commented 9 years ago
user configuration error
@see http://code.google.com/p/oryx-editor/wiki/SetupDevelopmentEnvironment

Original comment by philipp....@student.hpi.uni-potsdam.de on 12 Aug 2010 at 6:57