Re: Console JACC Security Error in 1.1.1

2006-08-17 Thread Alan D. Cabrera

FYI.  Fixed.


Regards,
Alan

Alan D. Cabrera wrote:

I found the problem and will fix it tonight.


Regards,
Alan

Aaron Mulder wrote:
I'm not sure if this is related to the recent web app security fix or 
not.


I hacked the build enough that I got the 1.1.1 server running.

I went to the console, went to the database pool screen, selected that
I wanted to create a new pool, filled out the name and DB type on that
screen and hit submit, and got the error below.  I have no idea why it
only came up on that submission and not any of the previous ones
(though it was the first POST request I think).

Thanks,
Aaron

18:19:51,940 WARN  [/console]
/console/portal/services/services_jdbc/_rp_services_jdbc_row1_col1_p1_adapterDisplayName/1_TranQL0x8Generic0x8JDBC0x8Resource0x8Adapter/_rp_services_jdbc_row1_col1_p1_rarPath/1_tranql0x3tranql-connector0x310x220x3rar/_rp_services_jdbc_row1_col1_p1_mode/1_params/_rp_services_jdbc_row1_col1_p1_driverClass/1_com0x2mysql0x2jdbc0x2Driver/_pm_services_jdbc_row1_col1_p1/view/_rp_services_jdbc_row1_col1_p1_dbtype/1_MySQL/_rp_services_jdbc_row1_col1_p1_urlPrototype/1_jdbc%3Amysql%3A0x30x3%7BHost%7D%3A%7BPort%7D0x3%7BDatabase%7D/_st_services_jdbc_row1_col1_p1/normal/_ps_services_jdbc_row1_col1_p1/normal/_pid/services_jdbc_row1_col1_p1/_md_services_jdbc_row1_col1_p1/view/_rp_services_jdbc_row1_col1_p1_name/1_JPAPool: 


java.lang.IllegalArgumentException: Qualifier patterns must be present
when first URLPattern is an exact pattern
   at 
javax.security.jacc.URLPatternSpec.init(URLPatternSpec.java:98)
   at 
javax.security.jacc.WebUserDataPermission.init(WebUserDataPermission.java:83) 

   at 
org.apache.geronimo.jetty.interceptor.SecurityContextBeforeAfter.checkSecurityConstraints(SecurityContextBeforeAfter.java:194) 

   at 
org.apache.geronimo.jetty.JettyWebAppContext.checkSecurityConstraints(JettyWebAppContext.java:607) 

   at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:432) 

   at 
org.apache.geronimo.jetty.JettyWebApplicationHandler.dispatch(JettyWebApplicationHandler.java:58) 

   at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)

   at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
   at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) 


   at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
   at org.mortbay.http.HttpServer.service(HttpServer.java:909)
   at 
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
   at 
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
   at 
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
   at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) 

   at 
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
   at 
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)






Re: Console JACC Security Error in 1.1.1

2006-08-15 Thread Alan D. Cabrera

I found the problem and will fix it tonight.


Regards,
Alan

Aaron Mulder wrote:
I'm not sure if this is related to the recent web app security fix or 
not.


I hacked the build enough that I got the 1.1.1 server running.

I went to the console, went to the database pool screen, selected that
I wanted to create a new pool, filled out the name and DB type on that
screen and hit submit, and got the error below.  I have no idea why it
only came up on that submission and not any of the previous ones
(though it was the first POST request I think).

Thanks,
Aaron

18:19:51,940 WARN  [/console]
/console/portal/services/services_jdbc/_rp_services_jdbc_row1_col1_p1_adapterDisplayName/1_TranQL0x8Generic0x8JDBC0x8Resource0x8Adapter/_rp_services_jdbc_row1_col1_p1_rarPath/1_tranql0x3tranql-connector0x310x220x3rar/_rp_services_jdbc_row1_col1_p1_mode/1_params/_rp_services_jdbc_row1_col1_p1_driverClass/1_com0x2mysql0x2jdbc0x2Driver/_pm_services_jdbc_row1_col1_p1/view/_rp_services_jdbc_row1_col1_p1_dbtype/1_MySQL/_rp_services_jdbc_row1_col1_p1_urlPrototype/1_jdbc%3Amysql%3A0x30x3%7BHost%7D%3A%7BPort%7D0x3%7BDatabase%7D/_st_services_jdbc_row1_col1_p1/normal/_ps_services_jdbc_row1_col1_p1/normal/_pid/services_jdbc_row1_col1_p1/_md_services_jdbc_row1_col1_p1/view/_rp_services_jdbc_row1_col1_p1_name/1_JPAPool: 


java.lang.IllegalArgumentException: Qualifier patterns must be present
when first URLPattern is an exact pattern
   at 
javax.security.jacc.URLPatternSpec.init(URLPatternSpec.java:98)
   at 
javax.security.jacc.WebUserDataPermission.init(WebUserDataPermission.java:83) 

   at 
org.apache.geronimo.jetty.interceptor.SecurityContextBeforeAfter.checkSecurityConstraints(SecurityContextBeforeAfter.java:194) 

   at 
org.apache.geronimo.jetty.JettyWebAppContext.checkSecurityConstraints(JettyWebAppContext.java:607) 

   at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:432) 

   at 
org.apache.geronimo.jetty.JettyWebApplicationHandler.dispatch(JettyWebApplicationHandler.java:58) 

   at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)

   at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
   at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) 


   at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
   at org.mortbay.http.HttpServer.service(HttpServer.java:909)
   at 
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
   at 
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)

   at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
   at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)

   at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
   at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)




Re: Console JACC Security Error in 1.1.1

2006-08-14 Thread Alan D. Cabrera

I'll look into this.


Regards,
Alan

Aaron Mulder wrote:
I'm not sure if this is related to the recent web app security fix or 
not.


I hacked the build enough that I got the 1.1.1 server running.

I went to the console, went to the database pool screen, selected that
I wanted to create a new pool, filled out the name and DB type on that
screen and hit submit, and got the error below.  I have no idea why it
only came up on that submission and not any of the previous ones
(though it was the first POST request I think).

Thanks,
Aaron

18:19:51,940 WARN  [/console]
/console/portal/services/services_jdbc/_rp_services_jdbc_row1_col1_p1_adapterDisplayName/1_TranQL0x8Generic0x8JDBC0x8Resource0x8Adapter/_rp_services_jdbc_row1_col1_p1_rarPath/1_tranql0x3tranql-connector0x310x220x3rar/_rp_services_jdbc_row1_col1_p1_mode/1_params/_rp_services_jdbc_row1_col1_p1_driverClass/1_com0x2mysql0x2jdbc0x2Driver/_pm_services_jdbc_row1_col1_p1/view/_rp_services_jdbc_row1_col1_p1_dbtype/1_MySQL/_rp_services_jdbc_row1_col1_p1_urlPrototype/1_jdbc%3Amysql%3A0x30x3%7BHost%7D%3A%7BPort%7D0x3%7BDatabase%7D/_st_services_jdbc_row1_col1_p1/normal/_ps_services_jdbc_row1_col1_p1/normal/_pid/services_jdbc_row1_col1_p1/_md_services_jdbc_row1_col1_p1/view/_rp_services_jdbc_row1_col1_p1_name/1_JPAPool: 


java.lang.IllegalArgumentException: Qualifier patterns must be present
when first URLPattern is an exact pattern
   at 
javax.security.jacc.URLPatternSpec.init(URLPatternSpec.java:98)
   at 
javax.security.jacc.WebUserDataPermission.init(WebUserDataPermission.java:83) 

   at 
org.apache.geronimo.jetty.interceptor.SecurityContextBeforeAfter.checkSecurityConstraints(SecurityContextBeforeAfter.java:194) 

   at 
org.apache.geronimo.jetty.JettyWebAppContext.checkSecurityConstraints(JettyWebAppContext.java:607) 

   at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:432) 

   at 
org.apache.geronimo.jetty.JettyWebApplicationHandler.dispatch(JettyWebApplicationHandler.java:58) 

   at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)

   at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
   at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) 


   at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
   at org.mortbay.http.HttpServer.service(HttpServer.java:909)
   at 
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
   at 
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)

   at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
   at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)

   at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
   at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)




Console JACC Security Error in 1.1.1

2006-08-13 Thread Aaron Mulder

I'm not sure if this is related to the recent web app security fix or not.

I hacked the build enough that I got the 1.1.1 server running.

I went to the console, went to the database pool screen, selected that
I wanted to create a new pool, filled out the name and DB type on that
screen and hit submit, and got the error below.  I have no idea why it
only came up on that submission and not any of the previous ones
(though it was the first POST request I think).

Thanks,
Aaron

18:19:51,940 WARN  [/console]
/console/portal/services/services_jdbc/_rp_services_jdbc_row1_col1_p1_adapterDisplayName/1_TranQL0x8Generic0x8JDBC0x8Resource0x8Adapter/_rp_services_jdbc_row1_col1_p1_rarPath/1_tranql0x3tranql-connector0x310x220x3rar/_rp_services_jdbc_row1_col1_p1_mode/1_params/_rp_services_jdbc_row1_col1_p1_driverClass/1_com0x2mysql0x2jdbc0x2Driver/_pm_services_jdbc_row1_col1_p1/view/_rp_services_jdbc_row1_col1_p1_dbtype/1_MySQL/_rp_services_jdbc_row1_col1_p1_urlPrototype/1_jdbc%3Amysql%3A0x30x3%7BHost%7D%3A%7BPort%7D0x3%7BDatabase%7D/_st_services_jdbc_row1_col1_p1/normal/_ps_services_jdbc_row1_col1_p1/normal/_pid/services_jdbc_row1_col1_p1/_md_services_jdbc_row1_col1_p1/view/_rp_services_jdbc_row1_col1_p1_name/1_JPAPool:
java.lang.IllegalArgumentException: Qualifier patterns must be present
when first URLPattern is an exact pattern
   at javax.security.jacc.URLPatternSpec.init(URLPatternSpec.java:98)
   at 
javax.security.jacc.WebUserDataPermission.init(WebUserDataPermission.java:83)
   at 
org.apache.geronimo.jetty.interceptor.SecurityContextBeforeAfter.checkSecurityConstraints(SecurityContextBeforeAfter.java:194)
   at 
org.apache.geronimo.jetty.JettyWebAppContext.checkSecurityConstraints(JettyWebAppContext.java:607)
   at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:432)
   at 
org.apache.geronimo.jetty.JettyWebApplicationHandler.dispatch(JettyWebApplicationHandler.java:58)
   at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
   at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
   at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
   at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
   at org.mortbay.http.HttpServer.service(HttpServer.java:909)
   at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
   at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
   at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
   at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
   at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
   at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)