[JBoss Portal] - Re: Trouble with
by Antoine_h
I would like to know about this too.
Note : with IE 7, many things have changed in the way css are applied (thanks MS... great job !).
Because of all this, I changed all the layout and style, to make my own.
After having tried some Div structure for the layout, as it is recommended, I finally used simple table.
To have a minimum width, you can put a "special cell", not much visible, that has something in it that have the requiered width. Like a blank gif. It should prevent from reducing the TD further than this thing.
not nice, but should work.
note also : version 2.6 comes with a new layout and theme (called "renaissance"). May be interesting to look at it...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028687#4028687
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028687
19Â years, 1Â month
[JBoss Seam] - socket write error with Seam Remoting
by scotto
I have recently migrated from JBossAS 4.0.4.GA/Seam 1.0.1.GA to JBossAS 4.2.0.CR1/Seam 1.2.0.PATCH1 and am getting a new exception.
My web interface uses Seam.Remoting.subscribe() to asynchronously subscribe to JMS messages. This functionality is working correctly, however if I navigate away from the page, I get the following server exception after a short period of time:
| 2007-03-16 15:19:58,437 484812 ERROR [org.jboss.seam.remoting.Remoting] (http-192.168.100.27-80-2:) Error
| ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error
| at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
| at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
| at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:309)
| at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288)
| at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:98)
| at org.jboss.seam.remoting.PollHandler.marshalResponse(PollHandler.java:159)
| at org.jboss.seam.remoting.PollHandler.handle(PollHandler.java:94)
| at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:110)
| at org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:76)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:87)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:676)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.net.SocketException: Software caused connection abort: socket write error
| at java.net.SocketOutputStream.socketWrite0(Native Method)
| at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
| at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
| at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:764)
| at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:124)
| at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:570)
| at org.apache.coyote.Response.doWrite(Response.java:560)
| at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)
| ... 44 more
|
I think it might have something to do with the server trying to respond to an old browser long-poll request that has since been terminated on the client side (i.e when the user navigates to another page)?
This same code used to work fine with Seam 1.0.1.GA however. Any ideas what is causing this?
Thanks,
Scott
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028684#4028684
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028684
19Â years, 1Â month
[JBossWS] - JAX-WS servlet initializing error during deployment of jaxws
by trivedikumar_mcaï¼ yahoo.com
Hi,
I am trying to deploy the jaxws webservices on jboss 4.0.4GA. During deployment, I was getting the following errors for this webservices:
===========================================
12:01:07,247 INFO [TomcatDeployer] deploy, ctxPath=/jboss404jaxws, warUrl=.../tmp/deploy/tmp5099jboss404jaxws-exp.war/
12:01:07,466 ERROR [STDERR] Mar 16, 2007 12:01:07 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate init
INFO: WSSERVLET14: JAX-WS servlet initializing
12:01:07,466 ERROR [STDERR] Mar 16, 2007 12:01:07 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate warnMissingContextInformation
WARNING: WSSERVLET16: missing context information
============================================
My project name is jboss404jaxws, I am using SUN jaxws jars. Is that something causing issue? pls help me.
Thanks in advance
Trivedi
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028682#4028682
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028682
19Â years, 1Â month
[JBossCache] - AsyncCacheLoader
by karnivas
I want to use jdbc writes in async mode. I've tailored MyAsyncCacheLoader extending AsyncCacheLoader with overridden put methods. I'm calling super(new JDBCCacheLoader) in the constructor and loading the config file. Unexpectedly my properties file alone gets loaded, but doesn't call my put method which i've overrided, instead it writes to the DB directly. Please suggest me how to proceed. Alternate solutions are welcomed.
My Code goes as
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import org.jboss.cache.DataNode;
import org.jboss.cache.Fqn;
import org.jboss.cache.PropertyConfigurator;
import org.jboss.cache.TreeCache;
import org.jboss.cache.loader.AsyncCacheLoader;
import org.jboss.cache.loader.AsyncExtendedCacheLoader;
import org.jboss.cache.loader.ExtendedCacheLoader;
import org.jboss.cache.loader.FileCacheLoader;
import org.jboss.cache.loader.JDBCCacheLoader;
import org.jboss.cache.loader.JDBCExtendedCacheLoader;
public class MyAsyncCacheLoader extends AsyncCacheLoader {
private static long timeStamp;
private static long oneHrtimeStamp;
public MyAsyncCacheLoader(){
super(new JDBCCacheLoader());
Properties cfg = new Properties();
try {
cfg.load(new FileInputStream(new File("async.properties")));
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
System.out.println("Read the value : " + cfg);
String key = "cache.async.batchSize";
String val = cfg.getProperty (key) ;
System.out.println("Read the value : " + val);
this.setConfig(cfg);
timeStamp=0;
oneHrtimeStamp=0;
}
public Object put(Fqn name, Object key, Object value) throws Exception{
System.out.println("Inside MyAsyncCacheLoader put....");
if(!name.getLast().equals("operation"))
{
System.out.println(name.toString()+ " written to DB");
super.put(name, key, value);
}
else
System.out.println(name.toString()+ " will not be written to DB");
return value;
}
public void put(Fqn name, Map attributes) throws Exception
{
System.out.println("Inside MyAsyncCacheLoader Put (map) method :: Fqn = "+ name );
if(!name.getLast().equals("operation"))
{
System.out.println(name.toString()+ " written to DB");
super.put(name, attributes);
}
else
System.out.println(name.toString()+ " will not be written to DB");
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028677#4028677
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028677
19Â years, 1Â month