Tuesday, 9 December 2008
|
| Image Sizes Guest 23:05:07 |
| | Hi Sorry if you have already received this email. I understand the default measurement unit is points. When creating an image of any size in Photoshop and then adding the image to a PDF, the image always comes out larger in the PDF than it should be. Is there any conversion going on with iText, which would make this happen? Using the iText sizing methods doesn't appear to correct this problem. Thank you James
|
| | 4 answer | Add comment |
Friday, 5 December 2008
|
| SocketChannel with socksProxy JVM args Rodrick Brown 22:14:23 |
| | I've tested using my application through a socks proxy using the JVM's built in socks support
ie. -DsocksProxyHost=host -DsocksProxyPort=1080
How ever my application uses SocketChannel which does not seem to be supported or not sure what's wrong here
ie. the following code does not work sc.connect(new InetSocketAddress("10.187.11.202", 26161)); Where the following works fine and connects to the proxyhost passed with the correct flags Socket socket = new Socket("10.187.11.202",26161); Anyone know what could be happening here?
-- [ Rodrick R. Brown ] http://www.rodrickbrown.com http://www.linkedin.com/in/rodrickbrown
=================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives
|
| | Add comment |
Sunday, 30 November 2008
|
| Mailing-list Maria Schon 11:18:45 |
| | Hi!
Thanks for all good information and help I'v got throw all contacts in the mailinglist.
Now I have no longer use for JBoss-information so I would like to finnish my participation in the JBoss-mailinglist.
Regards,
Maria SchГ¶n
mariaschon@hotmail.com
---------------------------------------------------------------------
Planera semestern på MSN Klicka här [http://g.msn.com/8HMASV/2746??PS=] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
|
| | 20 answers | Add comment |
Saturday, 22 November 2008
|
| Memory Model (yeah, this again...) Ken Gentle 23:22:26 |
| | I have a debate going on StackOverflow over an answer to this question:
http://stackoverflow.com/questions/300316/java-concurrency-scenario-do-i-need-synchronization-or-not#300394
I'm 'Ken G' in that forum.
My understanding of the problem/question:
1) A Single instance of a class with an instance variable (heap, IIRC) that is a reference to a HashMap - private visibility, not volatile. 2) Multiple threads containing "readers" that get the value of the HashMap reference via an unsynchronized accessor method . Threads exit, new threads get a HashMap reference as part of their startup via the method 3) The application refreshes with a new HashMap reference on some periodic basis. 4) It is OK if existing reader threads have references to an "old" HashMap as long as new threads get the reference to the "newest" HashMap.
Given those conditions, my understanding is that no synchronization is required for *new* reader threads to pick up the most recent value of the HashMap reference. With #4, there is no added value by synchronization or declaring the private, defining reference "volatile".
The dissenting opinion is that "volatile" is required (or some other barrier) to force the *application's* copy of the reference to be visible to other threads.
We've both been through section 17, and either we're not understanding it or we're not agreeing on the requirement.
Would ya'll please take a look and point out if/where we're incorrect?
=================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives
|
| | 1 answer | Add comment |
Friday, 21 November 2008
|
| Cookies/Remeber password Ayman Mackouly 10:14:11 |
| | Hi folks,
I'm trying to do a simple username/password login for new members in my website (both are saved in mysql table) and I'm considering adding "Remember me" option, which means the user doesn't have to enter his username/password to login member's section instead username/password are loaded from a cookie.
I have three questions regarding that:
1.Is it a good idea to save username/password in a cookie? 2.Is there any built-in string encryption methond in PHP? 3.How do I set a cookie that doesn't expire?
Thanks in advance! Ayman
|
| | 14 answers | Add comment |
Wednesday, 19 November 2008
|
| [JCA/JBoss] - getOutputStream() has already been called for this response Alexcheong 14:37:12 |
| | Hi Guru,
My project was developed by using JDeveloper10g. I have deployed the EAR file to jboss-3.2.7RC1 and the login screen works well. But after login to my mainpage and whenever I call a action class will hit following exception.
17:06:32,703 ERROR [Engine] ApplicationDispatcher[/Fisicien-ViewController-context-root] S | ervlet.service() for servlet uix threw exception | java.lang.IllegalStateException: getOutputStream() has already been called for this respon | se | at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599) | at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.j | ava:163) | at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:111) | | at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122) | at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115) | at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:182) | at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryI | mpl.java:115) | at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java | :75) | at org.apache.jsp.protecteddoc.CM.CmCommon_jsp._jspService(CmCommon_jsp.java:204) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) | | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil | terChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain | .java:157) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav | a:704) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher. | java:590) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.ja | va:510) | at oracle.cabo.ui.laf.base.RequestDispatcherIncluder.includeByPath(Unknown Source) | | at oracle.cabo.ui.laf.base.ServletIncludeRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.BaseRenderer.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.BaseRenderer.render(Unknown Source) | at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.laf.base.DataScopeRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.BaseRenderer.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(Unknown Source) | at oracle.cabo.servlet.AbstractPageBroker.renderPage(Unknown Source) | at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source) | at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil | terChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain | .java:157) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav | a:704) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispat | cher.java:474) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher. | java:409) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.ja | va:312) | at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) | | at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(Request | Processor.java:1012) | at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java: | 582) | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260) | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) | at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil | terChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain | .java:157) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav | a:704) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispat | cher.java:474) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher. | java:409) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.ja | va:312) | at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) | | at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor | .java:455) | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) | at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil | terChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain | .java:157) | at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:228) | |