[JBoss AS 7 Development] - SEVERE error when deploying web-app with sources/build as of today (2012-09-17)
by Frank Langelage
Frank Langelage [https://community.jboss.org/people/lafr] created the discussion
"SEVERE error when deploying web-app with sources/build as of today (2012-09-17)"
To view the discussion, visit: https://community.jboss.org/message/759970#759970
--------------------------------------------------------------
I updated my JBoss version with the current sources from github as of this morning. Previous checkout was somewhen middle of last week.
After this I see exceptions during deployment of my war-file:
17:25:11,014 INFO [org.jboss.as.server.deployment#start] JBAS015876: Starting deployment of "web-hgm2e-langfr-sb2000-ipc.war"
17:25:24,249 INFO [org.jboss.weld.deployer#deploy] JBAS016002: Processing weld deployment web-hgm2e-langfr-sb2000-ipc.war
17:25:26,487 INFO [org.jboss.weld.deployer#deploy] JBAS016005: Starting Services for CDI deployment: web-hgm2e-langfr-sb2000-ipc.war
17:25:26,754 INFO [org.jboss.weld.deployer#start] JBAS016008: Starting weld service for deployment web-hgm2e-langfr-sb2000-ipc.war
17:25:34,377 INFO [org.jboss.web#start] JBAS018210: Register web context: /web-hgm2e-langfr-sb2000-ipc
17:25:34,533 INFO [javax.enterprise.resource.webcontainer.jsf.config#contextInitialized] Initializing Mojarra 2.1.12-jbossorg-1 20120816-1535 for context '/web-hgm2e-langfr-sb2000-ipc'
17:25:38,980 SEVERE [javax.enterprise.resource.webcontainer.jsf.config#processClasspath] Unable to process annotations for url, vfs:/content/web-hgm2e-langfr-sb2000-ipc.war/WEB-INF/lib/richfaces-core-impl.jar/META-INF/faces-config.xml. Reason: java.util.zip.ZipException: error in opening zip file
17:25:38,982 SEVERE [javax.enterprise.resource.webcontainer.jsf.config#processClasspath] : java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.6.0_35]
at java.util.zip.ZipFile.<init>(ZipFile.java:127) [rt.jar:1.6.0_35]
at java.util.jar.JarFile.<init>(JarFile.java:135) [rt.jar:1.6.0_35]
at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:67) [rt.jar:1.6.0_35]
at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:214) [rt.jar:1.6.0_35]
at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.6.0_35]
at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:198) [rt.jar:1.6.0_35]
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:50) [rt.jar:1.6.0_35]
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:70) [rt.jar:1.6.0_35]
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104) [rt.jar:1.6.0_35]
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71) [rt.jar:1.6.0_35]
at com.sun.faces.config.JavaClassScanningAnnotationScanner.processClasspath(JavaClassScanningAnnotationScanner.java:166) [jsf-impl-2.1.12-jbossorg-1.jar:]
at com.sun.faces.config.JavaClassScanningAnnotationScanner.getAnnotatedClasses(JavaClassScanningAnnotationScanner.java:125) [jsf-impl-2.1.12-jbossorg-1.jar:]
at com.sun.faces.config.DelegatingAnnotationProvider.getAnnotatedClasses(DelegatingAnnotationProvider.java:85) [jsf-impl-2.1.12-jbossorg-1.jar:]
at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:845) [jsf-impl-2.1.12-jbossorg-1.jar:]
at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:797) [jsf-impl-2.1.12-jbossorg-1.jar:]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_35]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_35]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:352) [jsf-impl-2.1.12-jbossorg-1.jar:]
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:223) [jsf-impl-2.1.12-jbossorg-1.jar:]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:102) [jboss-as-web-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_35]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_35]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_35]
My war-file contains these libs:
253950 Fri Sep 14 07:15:20 CEST 2012 WEB-INF/lib/cssparser.jar
309293 Fri Sep 14 07:15:20 CEST 2012 WEB-INF/lib/jcommon.jar
1425744 Fri Sep 14 07:15:20 CEST 2012 WEB-INF/lib/jfreechart.jar
2903872 Fri Sep 14 07:15:18 CEST 2012 WEB-INF/lib/openfaces.jar
14526 Fri Sep 14 07:15:20 CEST 2012 WEB-INF/lib/sac.jar
70358 Mon May 14 00:01:30 CEST 2012 WEB-INF/lib/richfaces-components-api.jar
6417675 Mon May 14 00:01:30 CEST 2012 WEB-INF/lib/richfaces-components-ui.jar
145915 Mon May 14 00:01:30 CEST 2012 WEB-INF/lib/richfaces-core-api.jar
464753 Mon May 14 00:01:30 CEST 2012 WEB-INF/lib/richfaces-core-impl.jar
89635 Mon Sep 17 12:28:30 CEST 2012 WEB-INF/lib/common.jar
725735 Sat Oct 24 16:11:04 CEST 2009 WEB-INF/lib/jxl.jar
65507 Sat Oct 15 19:42:20 CEST 2011 WEB-INF/lib/javatuples.jar
I see the exception for richfaces-core-impl.jar (as shown above) and richfaces-components-ui.jar and openfaces.jar.
Allthough the files are there:
| -rwxr--r-- 1 mbi | informix 464753 May 14 00:01 richfaces/richfaces-core-impl.jar |
jar -tvf richfaces/richfaces-core-impl.jar META-INF/faces-config.xml
3939 Sun May 13 22:42:46 CEST 2012 META-INF/faces-config.xml
| -rwxr--r-- 1 mbi | informix 6417675 May 14 00:01 richfaces/richfaces-components-ui.jar |
jar -tvf richfaces/richfaces-components-ui.jar META-INF/faces-config.xml
1864875 Sun May 13 23:03:32 CEST 2012 META-INF/faces-config.xml
| -rwxr--r-- 1 mbi | informix 2903872 Sep 14 07:15 openfaces/openfaces.jar |
jar -tvf openfaces/openfaces.jar META-INF/faces-config.xml
68008 Fri Sep 14 05:43:26 CEST 2012 META-INF/faces-config.xml
And web-application is working without problems as it seems. Openfaces nd richfaces components are available and usable.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759970#759970]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months
[JBoss AS 7 Development] - Logging Id's
by Alessio Soldano
Alessio Soldano [https://community.jboss.org/people/asoldano] modified the document:
"Logging Id's"
To view the document, visit: https://community.jboss.org/docs/DOC-16810
--------------------------------------------------------------
Logging id ranges for JBoss AS7 i18n message interfaces.
|| %1,3% *Status* ||
| C | = | Complete |
| I | = | In Progress |
| P | = | Merged, but not complete |
| W | = | Waiting Merge |
|| *Range* || *Subsystem
* || *Status
* ||
| *10100 - 10199* | *Transaction* | C |
| *10200 - 10399
* | *Clustering**
* | C |
| *10400 - 10499* | *Connector**
* | C |
| *10500 - 10599* | *CLI (not applicable)
* | N/A |
| *10600 - 10699* | *Controller Client* | C |
| *10700 - 10799*, *18500 - 18699, 18800-18999* | *CMP* | C |
| *10800 - 10899* | *Host Controller (domain packages)* | C |
| *10900 - 10999, 16500 - 16599* | *Host Controller (host packages)* | C |
| *11000 - 11099, 16700 - 16799* | *EE* | C |
| *11100 - 11199* | *Embedded* | C |
| *11200 - 11299* | *JAXRS* | C |
| *11300 - 11399* | *JMX* | C |
| *11400 - 11499* | *JPA* | C |
| *11500 - 11599* | *Logging* | C |
| *11600 - 11699* | *Messaging* | C |
| *11700 - 11799* | *mod_cluster* | C |
| *11800 - 11899* | *Naming* | C |
| *11900 - 11999* | *OSGi* | C |
| *12000 - 12099, 16600 - 16699* | *Process Controller* | C |
| *12100 - 12199* | *Protocol* | C |
| *12200 - 12299* | *Management Client Content* | C |
| *12300 - 12399* | *Platform MBeans* | C |
| *12400 - 12499* | *Threads* | C |
| *12500 - 12599* | *PicketLink* | I |
| *12600 - 12699* | *JSF (proposed)* |
|
| *12700 - 13100* | *IIOP Common (proposed)* |
|
| *13100 - 13199* | *JDR* | C |
| *13200 - 13299* | *AppClient* | C |
| *13300 - 13399* | **Security*
* | C |
| available block(s) |
|
|
| *14000 - 14099* | *JAXR* | W |
| *14100 - 14599* | *Ejb3* | P |
| *14600 - 14899* | *Controller* | C |
| *14900 - 14999* | *Deployment Repository* | C |
| *15000 - 15099* | *Deployment Scanner* | C |
| *15100 - 15199* | *Domain Management HTTP Interface* | C |
| *15200 - 15299* | *Deployment Management* | C |
| *15300 - 15399* | *Network* | C |
| *15400 - 15499* | *Mail* | C |
| *15500 - 15699* | *Web Services (AS subsystem)* | C |
| *15700 - 15999*, *18700 - 18799* | *Server* | C |
| *1**6000 - 16099* | *Weld* | C |
| *16100 - 16199* | *EE Deployment* | C |
| *16200 - 16299* | *Configadmin* | C |
| *16300 - 16499* | *Jacorb* | C |
| *10900 - 10999, 16500 - 16599* | *Host Controller (host packages)* | C |
| *12000 - 12099, 16600 - 16699* | *Process Controller* | C |
| *11000 - 11099, 16700 - 16799* | *EE* | C |
| available block(s) |
|
|
| *17000 - 17099* | *POJO* | C |
| *17100 - 17199* | *Remoting* | W |
| *17200 - 17299* | *SAR* | W |
| *17300 - 17699* | *Web (reserved)* | I |
| *18000 - 18399* | *Web* | C |
| *18400 - 18499* | *Xts* | C |
| *15700 - 15999, 18700 - 18799* | *Server* | C |
| *19000-19999* | *JSR-77* | I |
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-16810]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 4 months
[JBoss AS 7 Development] - HornetQMessage ClassCastException during MDB onMessage method (AS 7.1.1 / Remote HornetQ 2.2.14)
by deltafoxtrot
deltafoxtrot [https://community.jboss.org/people/deltafoxtrot] created the discussion
"HornetQMessage ClassCastException during MDB onMessage method (AS 7.1.1 / Remote HornetQ 2.2.14)"
To view the discussion, visit: https://community.jboss.org/message/760147#760147
--------------------------------------------------------------
*Synopsis*
Casting Message object passed to MDB onMessage method to HornetQMessage throws a ClassCastException (java.lang.ClassCastException: org.hornetq.jms.client.HornetQMessage cannot be cast to org.hornetq.jms.client.HornetQMessage - full stack below). Web application pom references hornetq-core-client and hornetq-jms-client dependencies with version 2.2.13.Final (have tried all variations up to 2.2.21.Final). Successfully send and receive message but apparently different versions of the underlying HornetQMessage implementation. Any thoughts or suggestions would be much appreciated.*
*
*Environment*
* JBoss AS 7.1.1 (Brontes)
* Remote HornetQ 2.2.14
*JBoss Configuration (+modified standalone.xml+)*
* Added org.jboss.as.messaging extension
* Added mdb configuration in EJB subsystem to point to a resource adapter named "remote-hornetq-ra" (configured in messaging subsystem)
* Added messaging subsystem based on standalone-full.xml (see below for snippet)
*Messaging Subsystem Configuration*
<subsystem xmlns="urn:jboss:domain:messaging:1.1">
<hornetq-server>
<persistence-enabled>true</persistence-enabled>
<journal-file-size>102400</journal-file-size>
<journal-min-files>2</journal-min-files>
<connectors>
<connector name="remote-jmsxa">
<factory-class>org.hornetq.core.remoting.impl.netty.NettyConnectorFactory</factory-class>
<param key="host" value="localhost"/>
<param key="port" value="5445"/>
</connector>
<netty-connector name="netty" socket-binding="messaging"/>
<netty-connector name="netty-throughput" socket-binding="messaging-throughput">
<param key="batch-delay" value="50"/>
</netty-connector>
<in-vm-connector name="in-vm" server-id="0"/>
</connectors>
<acceptors>
<netty-acceptor name="netty" socket-binding="messaging"/>
<netty-acceptor name="netty-throughput" socket-binding="messaging-throughput">
<param key="batch-delay" value="50"/>
<param key="direct-deliver" value="false"/>
</netty-acceptor>
<in-vm-acceptor name="in-vm" server-id="0"/>
</acceptors>
<security-settings>
<security-setting match="#">
<permission type="send" roles="guest"/>
<permission type="consume" roles="guest"/>
<permission type="createNonDurableQueue" roles="guest"/>
<permission type="deleteNonDurableQueue" roles="guest"/>
</security-setting>
</security-settings>
<address-settings>
<address-setting match="#">
<dead-letter-address>jms.queue.DLQ</dead-letter-address>
<expiry-address>jms.queue.ExpiryQueue</expiry-address>
<redelivery-delay>0</redelivery-delay>
<max-size-bytes>10485760</max-size-bytes>
<address-full-policy>BLOCK</address-full-policy>
<message-counter-history-day-limit>10</message-counter-history-day-limit>
</address-setting>
</address-settings>
<jms-connection-factories>
<connection-factory name="InVmConnectionFactory">
<connectors>
<connector-ref connector-name="in-vm"/>
</connectors>
<entries>
<entry name="java:/ConnectionFactory"/>
</entries>
</connection-factory>
<connection-factory name="RemoteConnectionFactory">
<connectors>
<connector-ref connector-name="netty"/>
</connectors>
<entries>
<entry name="RemoteConnectionFactory"/>
<entry name="java:jboss/exported/jms/RemoteConnectionFactory"/>
</entries>
</connection-factory>
<pooled-connection-factory name="hornetq-ra">
<transaction mode="xa"/>
<connectors>
<connector-ref connector-name="in-vm"/>
</connectors>
<entries>
<entry name="java:/JmsXA"/>
</entries>
</pooled-connection-factory>
<pooled-connection-factory name="remote-hornetq-ra">
<transaction mode="xa"/>
<connectors>
<connector-ref connector-name="remote-jmsxa"/>
</connectors>
<entries>
<entry name="java:/RemoteJmsXA"/>
</entries>
</pooled-connection-factory>
</jms-connection-factories>
<jms-destinations>
<jms-queue name="testQueue">
<entry name="queue/test"/>
<entry name="java:jboss/exported/jms/queue/test"/>
</jms-queue>
<jms-topic name="testTopic">
<entry name="topic/test"/>
<entry name="java:jboss/exported/jms/topic/test"/>
</jms-topic>
</jms-destinations>
</hornetq-server>
</subsystem>
*MDB*
@MessageDriven(name = "LiveMessageMDB", activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/appserver.data"),
@ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") })
@TransactionManagement(value = TransactionManagementType.CONTAINER)
@TransactionAttribute(value = TransactionAttributeType.REQUIRED)
public class LiveMessageMDB implements MessageListener {
@Override
public void onMessage(Message message) {
try {
HornetQMessage hornetQMessage = (HornetQMessage) message;
System.out.println("successfully cast");
} catch (Throwable t) {
t.printStackTrace();
return;
}
}
}
*Stacktrace*
*
*
13:16:26,699 ERROR [stderr] (Thread-32 (HornetQ-client-global-threads-1369568615))
java.lang.ClassCastException: org.hornetq.jms.client.HornetQMessage cannot be cast to org.hornetq.jms.client.HornetQMessage
at com.xyz.messaging.LiveMessageMDB.onMessage(LiveMessageMDB.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:127)
at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:135)
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:101)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:202)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:306)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:43)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentDescription$5$1.processInvocation(MessageDrivenComponentDescription.java:184)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
at javax.jms.MessageListener$$$view9.onMessage(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(MessageEndpointInvocationHandler.java:140)
at org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:73)
at $Proxy51.onMessage(Unknown Source)
at org.hornetq.ra.inflow.HornetQMessageHandler.onMessage(HornetQMessageHandler.java:278)
at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:983)
at org.hornetq.core.client.impl.ClientConsumerImpl.access$400(ClientConsumerImpl.java:48)
at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1113)
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/760147#760147]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months
[JBoss AS 7 Development] - Logging Id's
by Alessio Soldano
Alessio Soldano [https://community.jboss.org/people/asoldano] modified the document:
"Logging Id's"
To view the document, visit: https://community.jboss.org/docs/DOC-16810
--------------------------------------------------------------
Logging id ranges for JBoss AS7 i18n message interfaces.
|| %1,3% *Status* ||
| C | = | Complete |
| I | = | In Progress |
| P | = | Merged, but not complete |
| W | = | Waiting Merge |
|| *Range* || *Subsystem
* || *Status
* ||
| *10100 - 10199* | *Transaction* | C |
| *10200 - 10399
* | *Clustering**
* | C |
| *10400 - 10499* | *Connector**
* | C |
| *10500 - 10599* | *CLI (not applicable)
* | N/A |
| *10600 - 10699* | *Controller Client* | C |
| *10700 - 10799*, *18500 - 18699, 18800-18999* | *CMP* | C |
| *10800 - 10899* | *Host Controller (domain packages)* | C |
| *10900 - 10999, 16500 - 16599* | *Host Controller (host packages)* | C |
| *11000 - 11099, 16700 - 16799* | *EE* | C |
| *11100 - 11199* | *Embedded* | C |
| *11200 - 11299* | *JAXRS* | C |
| *11300 - 11399* | *JMX* | C |
| *11400 - 11499* | *JPA* | C |
| *11500 - 11599* | *Logging* | C |
| *11600 - 11699* | *Messaging* | C |
| *11700 - 11799* | *mod_cluster* | C |
| *11800 - 11899* | *Naming* | C |
| *11900 - 11999* | *OSGi* | C |
| *12000 - 12099, 16600 - 16699* | *Process Controller* | C |
| *12100 - 12199* | *Protocol* | C |
| *12200 - 12299* | *Management Client Content* | C |
| *12300 - 12399* | *Platform MBeans* | C |
| *12400 - 12499* | *Threads* | C |
| *12500 - 12599* | *PicketLink* | I |
| *12600 - 12699* | *JSF (proposed)* |
|
| *12700 - 13100* | *IIOP Common (proposed)* |
|
| *13100 - 13199* | *JDR* | C |
| *13200 - 13299* | *AppClient* | C |
| *13300 - 13399* | **Security*
* | C |
| available block(s) |
|
|
| *14000 - 14099* | *JAXR* | W |
| *14100 - 14599* | *Ejb3* | P |
| *14600 - 14899* | *Controller* | C |
| *14900 - 14999* | *Deployment Repository* | C |
| *15000 - 15099* | *Deployment Scanner* | C |
| *15100 - 15199* | *Domain Management HTTP Interface* | C |
| *15200 - 15299* | *Deployment Management* | C |
| *15300 - 15399* | *Network* | C |
| *15400 - 15499* | *Mail* | C |
| *15500 - 15699* | *Web Services (AS subsystem)* | C |
| *15700 - 15999*, *18700 - 18799* | *Server* | C |
| *1**6000 - 16099* | *Weld* | C |
| *16100 - 16199* | *EE Deployment* | C |
| *16200 - 16299* | *Configadmin* | C |
| *16300 - 16499* | *Jacorb* | C |
| *10900 - 10999, 16500 - 16599* | *Host Controller (host packages)* | C |
| *12000 - 12099, 16600 - 16699* | *Process Controller* | C |
| *11000 - 11099, 16700 - 16799* | *EE* | C |
| available block(s) |
|
|
| *17000 - 17099* | *POJO* | C |
| *17100 - 17199* | *Remoting* | W |
| *17200 - 17299* | *SAR* | W |
| *17300 - 17699* | *Web (reserved)* | I |
| *18000 - 18399* | *Web* | C |
| *18400 - 18499* | *Xts* | C |
| *15700 - 15999, 18700 - 18799* | *Server* | C |
| *19000-19999* | *JSR-77* | I |
| *20000-20999* | *JBossWS (reserved)* | I |
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-16810]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 4 months
[Javassist Development] - java.io.EOFException
by Sérgio Carvalho
Sérgio Carvalho [https://community.jboss.org/people/sergioffpc] created the discussion
"java.io.EOFException"
To view the discussion, visit: https://community.jboss.org/message/759981#759981
--------------------------------------------------------------
Hi,
I'm using javassist (3.16.1-GA) to change some existing classes and create new ones.
On the first stage I modify all my classes to inject new getters and setters for all declared fields, this works fine.
On the second stage I generate the new classes that invokes the getters and setters.
The problem is that most classes generate well and compile, but others raises the following exception. Has anyone have this problem?
Source code is in here http://pastebin.com/fnXKnwBr http://pastebin.com/fnXKnwBr
Thanks!
*EXCEPTION RAISED*
Exception in thread "main" java.lang.RuntimeException: java.io.EOFException
at javassist.CtClassType.getClassFile2(CtClassType.java:204)
at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:98)
at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:84)
at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:711)
at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:688)
at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:157)
at javassist.compiler.ast.CallExpr.accept(CallExpr.java:46)
at javassist.compiler.JvstTypeChecker.atMethodArgs(JvstTypeChecker.java:221)
at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:709)
at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:688)
at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:157)
at javassist.compiler.ast.CallExpr.accept(CallExpr.java:46)
at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:242)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:330)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:292)
at javassist.compiler.CodeGen.atMethodDecl(CodeGen.java:274)
at javassist.compiler.ast.MethodDecl.accept(MethodDecl.java:44)
at javassist.compiler.Javac.compileMethod(Javac.java:169)
at javassist.compiler.Javac.compile(Javac.java:95)
at javassist.CtNewMethod.make(CtNewMethod.java:74)
at javassist.CtNewMethod.make(CtNewMethod.java:45)
at pt.ptinovacao.pof.serializer.PofSerializeBuilder.createMethod(PofSerializeBuilder.java:126)
at pt.ptinovacao.pof.serializer.PofSerializeBuilder.makeSerializerClass(PofSerializeBuilder.java:374)
at pt.ptinovacao.pof.serializer.PofSerializeBuilder.buildSerializer(PofSerializeBuilder.java:112)
at pt.ptinovacao.pof.serializer.PofSerializeBuilder.main(PofSerializeBuilder.java:58)
Caused by: java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:197)
at java.io.DataInputStream.readFully(DataInputStream.java:169)
at javassist.bytecode.CodeAttribute.<init>(CodeAttribute.java:108)
at javassist.bytecode.AttributeInfo.read(AttributeInfo.java:81)
at javassist.bytecode.MethodInfo.read(MethodInfo.java:528)
at javassist.bytecode.MethodInfo.<init>(MethodInfo.java:87)
at javassist.bytecode.ClassFile.read(ClassFile.java:793)
at javassist.bytecode.ClassFile.<init>(ClassFile.java:114)
at javassist.CtClassType.getClassFile2(CtClassType.java:191)
... 27 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759981#759981]
Start a new discussion in Javassist Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months
[JBoss AS 7 Development] - Authentication JAAS in jboss7
by yunshi tan
yunshi tan [https://community.jboss.org/people/yunshi] created the discussion
"Authentication JAAS in jboss7"
To view the discussion, visit: https://community.jboss.org/message/759962#759962
--------------------------------------------------------------
Hi everyone,
I am immigrating jboss4.2.6 -> jboss7 and I have a few questions about the JAAS authentification part.
In jboss4, I implements my own WebAuthentication who extends the WebAuthentication class to provide the authentication functions, like this
+public class WebAuthenticationExtended extends WebAuthentication {+
+ @Override+
+ public boolean login(String username, Object credential) {+
+ }+
+ // other login methods+
+}+
I understand that in jboss7 the class +WebAuthentication+ has been removed as Servlet 3 provides some login module and WebAuthentication was redundant. However, I am lost.
I am using Iceface 1.8.2 / seam2.2 with my application. Iceface 1.8.2 has dependence on servlet-api 2.4/2.5.
* Could I use iceface 1.8.2 with servlet-api-3 ?
* Are there any examples of the programmatic login implementation of servlet 3 ?
Does anybody have any advices ? or are there any examples ?
Many thanks in advance.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759962#759962]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months