[JBoss JIRA] (RF-13206) Failure to reset ClassLoader when AWT Initialization errors
by Donald Oakes (JIRA)
Donald Oakes created RF-13206:
---------------------------------
Summary: Failure to reset ClassLoader when AWT Initialization errors
Key: RF-13206
URL: https://issues.jboss.org/browse/RF-13206
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: core
Affects Versions: 4.3.3
Environment: ServiceMix
Reporter: Donald Oakes
Priority: Minor
In org.richfaces.application.InitializationListener.AWTInitializer, the initalize() method can fail to reset the context ClassLoader despite the finally block that should do that (from line 195):
} finally {
if (testStream != null) {
try {
testStream.close();
} catch (IOException e) {
LOGGER.error(e.getMessage(), e);
}
}
thread.setContextClassLoader(initialTCCL);
}
In my OSGi environment, the testStream.close() invocation throws the NoClassDefFoundError pasted below. This circumvents the subsequent intention to restore the context ClassLoader. In effect, if AWT initialization fails the context ClassLoader is left in a bad state that prevents future ServiceTracker processing and hoses up the Faces initialization.
java.lang.NoClassDefFoundError: javax/imageio/stream/ImageInputStream
at org.richfaces.application.InitializationListener$AWTInitializer.initialize(InitializationListener.java:198)
at org.richfaces.application.InitializationListener.initializeAWT(InitializationListener.java:94)
at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:78)
at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:152)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:43)
at org.apache.myfaces.application.ApplicationImpl._traverseListenerList(ApplicationImpl.java:2471)
at org.apache.myfaces.application.ApplicationImpl.access$000(ApplicationImpl.java:120)
at org.apache.myfaces.application.ApplicationImpl$SystemListenerEntry.publish(ApplicationImpl.java:2662)
at org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:601)
at org.apache.myfaces.webapp.AbstractFacesInitializer._dispatchApplicationEvent(AbstractFacesInitializer.java:286)
at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:154)
at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:119)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 9 months
[JBoss JIRA] (RF-13202) richfaces components script error on loading
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13202?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13202:
------------------------------------
Would you please paste the relevant facelet code and error message into the issue description?
> richfaces components script error on loading
> --------------------------------------------
>
> Key: RF-13202
> URL: https://issues.jboss.org/browse/RF-13202
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-drag/drop, component-ScrollableDataTable
> Affects Versions: 3.3.3.Final
> Environment: IE only arised
> Reporter: Prasanna Subramanian
>
> Deploy the war and then open in internet explorer .....if any components script error is arised ....At that time not working...
> (Ex: when loaded fileupload.js script error arises....so rich:fileupload not worked..)
> For these i just close the browser and reopen the page it gets ok.......
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 9 months
[JBoss JIRA] (RF-13202) richfaces components script error on loading
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13202?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13202:
-------------------------------
Labels: incomplete_description waiting_on_user (was: )
> richfaces components script error on loading
> --------------------------------------------
>
> Key: RF-13202
> URL: https://issues.jboss.org/browse/RF-13202
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-drag/drop, component-ScrollableDataTable
> Affects Versions: 3.3.3.Final
> Environment: IE only arised
> Reporter: Prasanna Subramanian
> Labels: incomplete_description, waiting_on_user
>
> Deploy the war and then open in internet explorer .....if any components script error is arised ....At that time not working...
> (Ex: when loaded fileupload.js script error arises....so rich:fileupload not worked..)
> For these i just close the browser and reopen the page it gets ok.......
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 9 months
[JBoss JIRA] (RF-13205) Photoalbum: Hibernate error during deployment
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13205?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13205:
-------------------------------
Labels: needs-qe (was: )
> Photoalbum: Hibernate error during deployment
> ---------------------------------------------
>
> Key: RF-13205
> URL: https://issues.jboss.org/browse/RF-13205
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Affects Versions: 4.3.4
> Environment: Photoalbum 4.3.4.20130912-Final
> Reporter: Pavol Pitonak
> Assignee: Brian Leathem
> Priority: Blocker
> Labels: needs-qe
> Fix For: 4.3.4
>
>
> # build photoalbum and deploy to EAP 6.1.1
> result:
> * there is error during deployment
> * when you open http://localhost:8080/richfaces-photoalbum, you can see application and basic functionality works, however you cannot create a new user
> {quote}
> 17:10:35,171 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 48) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 17:10:35,346 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 48) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 17:10:35,361 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 48) HHH000431: Unable to determine H2 database version, certain features may not work
> 17:10:35,389 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 48) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 17:10:35,392 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 48) HHH000397: Using ASTQueryTranslatorFactory
> 17:10:35,444 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 48) HV000001: Hibernate Validator 4.3.1.Final-redhat-1
> 17:10:35,866 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000227: Running hbm2ddl schema export
> 17:10:35,874 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Album drop constraint FK_maso23c869ch22pa5q0sh6tok
> 17:10:35,874 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "ALBUM" not found; SQL statement:
> alter table Album drop constraint FK_maso23c869ch22pa5q0sh6tok [42102-168]
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Album drop constraint FK_j8gbvffe8l1pvbewibj4ft62m
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "ALBUM" not found; SQL statement:
> alter table Album drop constraint FK_j8gbvffe8l1pvbewibj4ft62m [42102-168]
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Comment drop constraint FK_j94pith5sd971k29j6ysxuk7
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "COMMENT" not found; SQL statement:
> alter table Comment drop constraint FK_j94pith5sd971k29j6ysxuk7 [42102-168]
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Comment drop constraint FK_qh25b5js0rt4fqv9syhyjv781
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "COMMENT" not found; SQL statement:
> alter table Comment drop constraint FK_qh25b5js0rt4fqv9syhyjv781 [42102-168]
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image drop constraint FK_62s883scl1tf1fl7357bbtxy9
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE" not found; SQL statement:
> alter table Image drop constraint FK_62s883scl1tf1fl7357bbtxy9 [42102-168]
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image_MetaTag drop constraint FK_qw6hpgbun1gnhr0nimrao8gxc
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE_METATAG" not found; SQL statement:
> alter table Image_MetaTag drop constraint FK_qw6hpgbun1gnhr0nimrao8gxc [42102-168]
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image_MetaTag drop constraint FK_rb6l6aoyv7bss6hto77wqnvfg
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE_METATAG" not found; SQL statement:
> alter table Image_MetaTag drop constraint FK_rb6l6aoyv7bss6hto77wqnvfg [42102-168]
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Shelf drop constraint FK_3unm5rbreqkjurmy4hpfl89yr
> 17:10:35,878 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "SHELF" not found; SQL statement:
> alter table Shelf drop constraint FK_3unm5rbreqkjurmy4hpfl89yr [42102-168]
> 17:10:36,026 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000230: Schema export complete
> {quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 9 months
[JBoss JIRA] (RF-13205) Photoalbum: Hibernate error during deployment
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13205?page=com.atlassian.jira.plugin.s... ]
Brian Leathem resolved RF-13205.
--------------------------------
Assignee: Brian Leathem
Fix Version/s: 4.3.4
Resolution: Done
Added the commons-codec dpendency to the photoalbum demo
> Photoalbum: Hibernate error during deployment
> ---------------------------------------------
>
> Key: RF-13205
> URL: https://issues.jboss.org/browse/RF-13205
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Affects Versions: 4.3.4
> Environment: Photoalbum 4.3.4.20130912-Final
> Reporter: Pavol Pitonak
> Assignee: Brian Leathem
> Priority: Blocker
> Fix For: 4.3.4
>
>
> # build photoalbum and deploy to EAP 6.1.1
> result:
> * there is error during deployment
> * when you open http://localhost:8080/richfaces-photoalbum, you can see application and basic functionality works, however you cannot create a new user
> {quote}
> 17:10:35,171 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 48) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 17:10:35,346 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 48) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 17:10:35,361 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 48) HHH000431: Unable to determine H2 database version, certain features may not work
> 17:10:35,389 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 48) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 17:10:35,392 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 48) HHH000397: Using ASTQueryTranslatorFactory
> 17:10:35,444 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 48) HV000001: Hibernate Validator 4.3.1.Final-redhat-1
> 17:10:35,866 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000227: Running hbm2ddl schema export
> 17:10:35,874 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Album drop constraint FK_maso23c869ch22pa5q0sh6tok
> 17:10:35,874 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "ALBUM" not found; SQL statement:
> alter table Album drop constraint FK_maso23c869ch22pa5q0sh6tok [42102-168]
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Album drop constraint FK_j8gbvffe8l1pvbewibj4ft62m
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "ALBUM" not found; SQL statement:
> alter table Album drop constraint FK_j8gbvffe8l1pvbewibj4ft62m [42102-168]
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Comment drop constraint FK_j94pith5sd971k29j6ysxuk7
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "COMMENT" not found; SQL statement:
> alter table Comment drop constraint FK_j94pith5sd971k29j6ysxuk7 [42102-168]
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Comment drop constraint FK_qh25b5js0rt4fqv9syhyjv781
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "COMMENT" not found; SQL statement:
> alter table Comment drop constraint FK_qh25b5js0rt4fqv9syhyjv781 [42102-168]
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image drop constraint FK_62s883scl1tf1fl7357bbtxy9
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE" not found; SQL statement:
> alter table Image drop constraint FK_62s883scl1tf1fl7357bbtxy9 [42102-168]
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image_MetaTag drop constraint FK_qw6hpgbun1gnhr0nimrao8gxc
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE_METATAG" not found; SQL statement:
> alter table Image_MetaTag drop constraint FK_qw6hpgbun1gnhr0nimrao8gxc [42102-168]
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image_MetaTag drop constraint FK_rb6l6aoyv7bss6hto77wqnvfg
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE_METATAG" not found; SQL statement:
> alter table Image_MetaTag drop constraint FK_rb6l6aoyv7bss6hto77wqnvfg [42102-168]
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Shelf drop constraint FK_3unm5rbreqkjurmy4hpfl89yr
> 17:10:35,878 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "SHELF" not found; SQL statement:
> alter table Shelf drop constraint FK_3unm5rbreqkjurmy4hpfl89yr [42102-168]
> 17:10:36,026 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000230: Schema export complete
> {quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 9 months
[JBoss JIRA] (RF-13205) Photoalbum: Hibernate error during deployment
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13205?page=com.atlassian.jira.plugin.s... ]
Brian Leathem edited comment on RF-13205 at 9/19/13 6:33 PM:
-------------------------------------------------------------
Added the commons-codec dependency to the photoalbum demo
was (Author: bleathem):
Added the commons-codec dpendency to the photoalbum demo
> Photoalbum: Hibernate error during deployment
> ---------------------------------------------
>
> Key: RF-13205
> URL: https://issues.jboss.org/browse/RF-13205
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Affects Versions: 4.3.4
> Environment: Photoalbum 4.3.4.20130912-Final
> Reporter: Pavol Pitonak
> Assignee: Brian Leathem
> Priority: Blocker
> Fix For: 4.3.4
>
>
> # build photoalbum and deploy to EAP 6.1.1
> result:
> * there is error during deployment
> * when you open http://localhost:8080/richfaces-photoalbum, you can see application and basic functionality works, however you cannot create a new user
> {quote}
> 17:10:35,171 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 48) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 17:10:35,346 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 48) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 17:10:35,361 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 48) HHH000431: Unable to determine H2 database version, certain features may not work
> 17:10:35,389 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 48) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 17:10:35,392 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 48) HHH000397: Using ASTQueryTranslatorFactory
> 17:10:35,444 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 48) HV000001: Hibernate Validator 4.3.1.Final-redhat-1
> 17:10:35,866 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000227: Running hbm2ddl schema export
> 17:10:35,874 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Album drop constraint FK_maso23c869ch22pa5q0sh6tok
> 17:10:35,874 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "ALBUM" not found; SQL statement:
> alter table Album drop constraint FK_maso23c869ch22pa5q0sh6tok [42102-168]
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Album drop constraint FK_j8gbvffe8l1pvbewibj4ft62m
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "ALBUM" not found; SQL statement:
> alter table Album drop constraint FK_j8gbvffe8l1pvbewibj4ft62m [42102-168]
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Comment drop constraint FK_j94pith5sd971k29j6ysxuk7
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "COMMENT" not found; SQL statement:
> alter table Comment drop constraint FK_j94pith5sd971k29j6ysxuk7 [42102-168]
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Comment drop constraint FK_qh25b5js0rt4fqv9syhyjv781
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "COMMENT" not found; SQL statement:
> alter table Comment drop constraint FK_qh25b5js0rt4fqv9syhyjv781 [42102-168]
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image drop constraint FK_62s883scl1tf1fl7357bbtxy9
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE" not found; SQL statement:
> alter table Image drop constraint FK_62s883scl1tf1fl7357bbtxy9 [42102-168]
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image_MetaTag drop constraint FK_qw6hpgbun1gnhr0nimrao8gxc
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE_METATAG" not found; SQL statement:
> alter table Image_MetaTag drop constraint FK_qw6hpgbun1gnhr0nimrao8gxc [42102-168]
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image_MetaTag drop constraint FK_rb6l6aoyv7bss6hto77wqnvfg
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE_METATAG" not found; SQL statement:
> alter table Image_MetaTag drop constraint FK_rb6l6aoyv7bss6hto77wqnvfg [42102-168]
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Shelf drop constraint FK_3unm5rbreqkjurmy4hpfl89yr
> 17:10:35,878 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "SHELF" not found; SQL statement:
> alter table Shelf drop constraint FK_3unm5rbreqkjurmy4hpfl89yr [42102-168]
> 17:10:36,026 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000230: Schema export complete
> {quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 9 months
[JBoss JIRA] (RF-13205) Photoalbum: Hibernate error during deployment
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13205?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13205:
------------------------------------
The errors on deployment can be safely ignored. They occur because Hibernate is trying to drop indexes from non-existent tables. After the drop commands are complete, hibernate successfully creates the tables.
The 2nd error reported is that "you cannot create a new user". I tried registering myself as a new user, and got this error:
{quote}
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Hex
at org.richfaces.photoalbum.util.HashUtils.hash(HashUtils.java:47) [classes:]
at org.richfaces.photoalbum.manager.Authenticator.register(Authenticator.java:159) [classes:]
at org.richfaces.photoalbum.manager.Authenticator$Proxy$_$$_WeldClientProxy.register(Authenticator$Proxy$_$$_WeldClientProxy.java) [classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_17]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_17]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_17]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_17]
at org.apache.el.parser.AstValue.invoke(AstValue.java:258) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]
at org.apache.el.parser.AstIdentifier.invoke(AstIdentifier.java:117) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]
... 32 more
{quote}
I was able to resolve this by adding the dependency:
{code}
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.8</version>
</dependency>
{code}
With this dependency present I am able to register a new user.
However, after successful registration I land on a user profile page that still shows a "register" button. Thinking the registration is not complete I click the button and an exception is generated in the server log reporting that the password is not present. This presents a usability problem.
> Photoalbum: Hibernate error during deployment
> ---------------------------------------------
>
> Key: RF-13205
> URL: https://issues.jboss.org/browse/RF-13205
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Affects Versions: 4.3.4
> Environment: Photoalbum 4.3.4.20130912-Final
> Reporter: Pavol Pitonak
> Priority: Blocker
>
> # build photoalbum and deploy to EAP 6.1.1
> result:
> * there is error during deployment
> * when you open http://localhost:8080/richfaces-photoalbum, you can see application and basic functionality works, however you cannot create a new user
> {quote}
> 17:10:35,171 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 48) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 17:10:35,346 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 48) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 17:10:35,361 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 48) HHH000431: Unable to determine H2 database version, certain features may not work
> 17:10:35,389 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 48) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 17:10:35,392 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 48) HHH000397: Using ASTQueryTranslatorFactory
> 17:10:35,444 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 48) HV000001: Hibernate Validator 4.3.1.Final-redhat-1
> 17:10:35,866 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000227: Running hbm2ddl schema export
> 17:10:35,874 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Album drop constraint FK_maso23c869ch22pa5q0sh6tok
> 17:10:35,874 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "ALBUM" not found; SQL statement:
> alter table Album drop constraint FK_maso23c869ch22pa5q0sh6tok [42102-168]
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Album drop constraint FK_j8gbvffe8l1pvbewibj4ft62m
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "ALBUM" not found; SQL statement:
> alter table Album drop constraint FK_j8gbvffe8l1pvbewibj4ft62m [42102-168]
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Comment drop constraint FK_j94pith5sd971k29j6ysxuk7
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "COMMENT" not found; SQL statement:
> alter table Comment drop constraint FK_j94pith5sd971k29j6ysxuk7 [42102-168]
> 17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Comment drop constraint FK_qh25b5js0rt4fqv9syhyjv781
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "COMMENT" not found; SQL statement:
> alter table Comment drop constraint FK_qh25b5js0rt4fqv9syhyjv781 [42102-168]
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image drop constraint FK_62s883scl1tf1fl7357bbtxy9
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE" not found; SQL statement:
> alter table Image drop constraint FK_62s883scl1tf1fl7357bbtxy9 [42102-168]
> 17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image_MetaTag drop constraint FK_qw6hpgbun1gnhr0nimrao8gxc
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE_METATAG" not found; SQL statement:
> alter table Image_MetaTag drop constraint FK_qw6hpgbun1gnhr0nimrao8gxc [42102-168]
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image_MetaTag drop constraint FK_rb6l6aoyv7bss6hto77wqnvfg
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE_METATAG" not found; SQL statement:
> alter table Image_MetaTag drop constraint FK_rb6l6aoyv7bss6hto77wqnvfg [42102-168]
> 17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Shelf drop constraint FK_3unm5rbreqkjurmy4hpfl89yr
> 17:10:35,878 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "SHELF" not found; SQL statement:
> alter table Shelf drop constraint FK_3unm5rbreqkjurmy4hpfl89yr [42102-168]
> 17:10:36,026 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000230: Schema export complete
> {quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 9 months
[JBoss JIRA] (RF-13205) Photoalbum: Hibernate error during deployment
by Pavol Pitonak (JIRA)
Pavol Pitonak created RF-13205:
----------------------------------
Summary: Photoalbum: Hibernate error during deployment
Key: RF-13205
URL: https://issues.jboss.org/browse/RF-13205
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: examples
Affects Versions: 4.3.4
Environment: Photoalbum 4.3.4.20130912-Final
Reporter: Pavol Pitonak
Priority: Blocker
# build photoalbum and deploy to EAP 6.1.1
result:
* there is error during deployment
* when you open http://localhost:8080/richfaces-photoalbum, you can see application and basic functionality works, however you cannot create a new user
{quote}
17:10:35,171 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 48) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
17:10:35,346 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 48) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
17:10:35,361 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 48) HHH000431: Unable to determine H2 database version, certain features may not work
17:10:35,389 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 48) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
17:10:35,392 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 48) HHH000397: Using ASTQueryTranslatorFactory
17:10:35,444 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 48) HV000001: Hibernate Validator 4.3.1.Final-redhat-1
17:10:35,866 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000227: Running hbm2ddl schema export
17:10:35,874 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Album drop constraint FK_maso23c869ch22pa5q0sh6tok
17:10:35,874 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "ALBUM" not found; SQL statement:
alter table Album drop constraint FK_maso23c869ch22pa5q0sh6tok [42102-168]
17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Album drop constraint FK_j8gbvffe8l1pvbewibj4ft62m
17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "ALBUM" not found; SQL statement:
alter table Album drop constraint FK_j8gbvffe8l1pvbewibj4ft62m [42102-168]
17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Comment drop constraint FK_j94pith5sd971k29j6ysxuk7
17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "COMMENT" not found; SQL statement:
alter table Comment drop constraint FK_j94pith5sd971k29j6ysxuk7 [42102-168]
17:10:35,875 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Comment drop constraint FK_qh25b5js0rt4fqv9syhyjv781
17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "COMMENT" not found; SQL statement:
alter table Comment drop constraint FK_qh25b5js0rt4fqv9syhyjv781 [42102-168]
17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image drop constraint FK_62s883scl1tf1fl7357bbtxy9
17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE" not found; SQL statement:
alter table Image drop constraint FK_62s883scl1tf1fl7357bbtxy9 [42102-168]
17:10:35,876 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image_MetaTag drop constraint FK_qw6hpgbun1gnhr0nimrao8gxc
17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE_METATAG" not found; SQL statement:
alter table Image_MetaTag drop constraint FK_qw6hpgbun1gnhr0nimrao8gxc [42102-168]
17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Image_MetaTag drop constraint FK_rb6l6aoyv7bss6hto77wqnvfg
17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "IMAGE_METATAG" not found; SQL statement:
alter table Image_MetaTag drop constraint FK_rb6l6aoyv7bss6hto77wqnvfg [42102-168]
17:10:35,877 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000389: Unsuccessful: alter table Shelf drop constraint FK_3unm5rbreqkjurmy4hpfl89yr
17:10:35,878 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) Table "SHELF" not found; SQL statement:
alter table Shelf drop constraint FK_3unm5rbreqkjurmy4hpfl89yr [42102-168]
17:10:36,026 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 48) HHH000230: Schema export complete
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 9 months
[JBoss JIRA] (RF-13204) Loading of com.jqueryui library fails, most of the components which depend on it do not work
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13204?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13204:
-------------------------------
Fix Version/s: 5.0.0.Alpha2
> Loading of com.jqueryui library fails, most of the components which depend on it do not work
> --------------------------------------------------------------------------------------------
>
> Key: RF-13204
> URL: https://issues.jboss.org/browse/RF-13204
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: base functionality, resource handling
> Affects Versions: 5.0.0.Alpha2
> Environment: JBoss AS 7.1.1.Final, Tomcat 7
> Chrome, Firefox
> Reporter: Juraj Húska
> Priority: Critical
> Labels: regression
> Fix For: 5.0.0.Alpha2
>
>
> When loading page with components which {{@ResourceDependency}} links to library {{com.jqueryui}}, following error is rendered into the AS console:
> {code}
> 11:15:08,155 WARNING [javax.enterprise.resource.webcontainer.jsf.application] (http--127.0.0.1-8080-1) JSF1064: Unable to find or serve resource, jquery.ui.core.js, from library, com.jqueryui.
> {code}
> There is an error on browser console (This one e.g. for DaD):
> {code}
> GET http://localhost:8080/showcase/richfaces/RES_NOT_FOUND 404 (Not Found) component-sample.jsf:23
> Uncaught TypeError: Object [object Object] has no method 'draggable'
> {code}
> Following components are affected:
> # DaD
> # Calendar
> # Autocomplete
> # Focus
> Those components functionality is broken.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 9 months