[JBoss Seam] - Re: Captcha image doesn't appear =(
by paulovittor23
ok, I'll check it better in a few minutes and post the results...
only one more thing...when I access my app for the first time I receive these messages from the console...
anonymous wrote : 10:09:19,916 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 55s:906ms
| 10:09:26,650 INFO [ServletCacheAdministrator] Created new instance of ServletCacheAdministrator
| 10:09:26,650 INFO [ServletCacheAdministrator] Created new application-scoped cache at key: __oscache_cache
| 10:09:26,853 INFO [Lifecycle] starting up: org.jboss.seam.security.identity
| 10:09:29,010 ERROR [STDERR] 10/10/2007 10:09:28 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/java/server/jboss-4.0.5.GA_EJB/server/default/./tmp/deploy/tmp8942jprounidademedida-exp.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
| 10:09:29,119 ERROR [STDERR] 10/10/2007 10:09:29 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/java/server/jboss-4.0.5.GA_EJB/server/default/./tmp/deploy/tmp8942jprounidademedida-exp.war/WEB-INF/lib/richfaces-3.0.1-SNAPSHOT.jar!/META-INF/rich.taglib.xml
| 10:09:29,166 ERROR [STDERR] 10/10/2007 10:09:29 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/java/server/jboss-4.0.5.GA_EJB/server/default/./tmp/deploy/tmp8942jprounidademedida-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
| 10:09:29,213 ERROR [STDERR] 10/10/2007 10:09:29 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/java/server/jboss-4.0.5.GA_EJB/server/default/./tmp/deploy/tmp8942jprounidademedida-exp.war/WEB-INF/lib/ajax4jsf-1.1.1-SNAPSHOT.jar!/META-INF/a4j.taglib.xml
| 10:09:29,228 ERROR [STDERR] 10/10/2007 10:09:29 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/java/server/jboss-4.0.5.GA_EJB/server/default/./tmp/deploy/tmp8942jprounidademedida-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
| 10:09:29,244 ERROR [STDERR] 10/10/2007 10:09:29 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/java/server/jboss-4.0.5.GA_EJB/server/default/./tmp/deploy/tmp8942jprounidademedida-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/seam-ui.taglib.xml
| 10:09:29,947 ERROR [STDERR] 10/10/2007 10:09:29 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/java/server/jboss-4.0.5.GA_EJB/server/default/./tmp/deploy/tmp8942jprounidademedida-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
| 10:09:29,978 ERROR [STDERR] 10/10/2007 10:09:29 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/java/server/jboss-4.0.5.GA_EJB/server/default/./tmp/deploy/tmp8942jprounidademedida-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
| 10:09:29,978 ERROR [STDERR] 10/10/2007 10:09:29 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/java/server/jboss-4.0.5.GA_EJB/server/default/./tmp/deploy/tmp8942jprounidademedida-exp.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
| 10:09:29,994 ERROR [STDERR] 10/10/2007 10:09:29 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/java/server/jboss-4.0.5.GA_EJB/server/default/./tmp/deploy/tmp8942jprounidademedida-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
| 10:09:34,072 WARN [HtmlLabelRenderer] Attribute 'for' of label component with id login:_id18 is not defined
| 10:09:34,088 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 10:09:34,088 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 10:09:34,088 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.
| 10:09:34,088 WARN [HtmlLabelRenderer] Attribute 'for' of label component with id login:_id20 is not defined
but everything is working normally...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093479#4093479
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093479
18Â years, 8Â months
[EJB/JBoss] - Worker thread initialization failure
by drgp
I've a swing client trying to connect to JBoss AS 4.2.1 instance and get the following error:
14:21:20,593 ERROR [ServerThread] Worker thread initialization failure
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jboss.remoting.transport.socket.ServerThread.createServerSocketWr
apper(ServerThread.java:706)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
ava:364)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
a:165)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java
:2213)
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream
.java:2226)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputS
tream.java:2694)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761
)
at java.io.ObjectInputStream.(ObjectInputStream.java:277)
at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.(Ob
jectInputStreamWithClassLoader.java:95)
at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.c
reateInput(JavaSerializationManager.java:54)
at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getM
arshallingStream(SerializableUnMarshaller.java:72)
at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.getM
arshallingStream(SerializableUnMarshaller.java:55)
at org.jboss.remoting.transport.socket.ClientSocketWrapper.createInputSt
ream(ClientSocketWrapper.java:185)
at org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams
(ClientSocketWrapper.java:164)
at org.jboss.remoting.transport.socket.ClientSocketWrapper.(Client
SocketWrapper.java:66)
at org.jboss.remoting.transport.socket.ServerSocketWrapper.(Server
SocketWrapper.java:46)
... 7 more
Some ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093478#4093478
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093478
18Â years, 8Â months
[JBoss AOP] - Intercepting web deployment
by stevev
I'm trying to use JBoss AOP to intercept the execution of TomcatDeployer performDeploy method so that I can manipulate the WebApplication object but it doesn't seem to work for me.
I followed the instructions on READ THIS FIRST sticky post of this forum to set up AOP on JBoss 4.2.1 which worked fine. I then edited the jboss-aop.xml file of the injboss example adding an interceptor.
<bind pointcut="execution(* org.jboss.web.tomcat.service.TomcatDeployer->performDeploy(..))">
| <interceptor class="org.jboss.injbossaop.lib.SimpleInterceptor"/>
| </bind>
I deployed this and restarted the server. I then added a simple WAR to the deploy directory but the looging messages normally generated by SimpleInterceptor didn't show, just a message to say that TomcatDeployer was deploying the WAR. I tried it again using "call" instead of "execution" but this didn't work either.
Is there something I'm missing here? Is it even possible to intercept this method?
Any help would be very much appreciated.
Thanks,
Steve
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093470#4093470
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093470
18Â years, 8Â months