Yesterday — Friday, 3 July 2009
|
| [EJB 3.0] - Re: Could not resolve beanClass method from proxy call Wesleyhall 10:59:43 |
| | Incase anyone stumbles across this topic during a search. I had this problem and discovered it was become my remote methods were throwing exceptions that are no instances of (or subclasses of) RemoteException.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939858#3939858
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939858
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|
| | 2 answer | Add comment |
Wednesday, 1 July 2009
|
| Re: itext unicode support Jemmee Yung 09:39:34 |
| | Hi Bruno and all, I finally got the problem fixed by the useful resources in the archive. now i set the pdffont to arialuni.ttf and pdfencoding to identity-h and it works for virtually any language now. only drawback, as somebody mentioned in the list that text decoration doesn't quite work with this ttf.
however, what i spotted from my JVM memory running on redhat 8 was it went above 140M during generation of the PDF, that i didn't have to alter Xmx of jvm start script when using the original GB font STSongStd-Light, is it b'coz of the large ttf file or unicode?
my arialuni was downloaded by running searches in google, would like to know under what license this ttf is? can we distribute in our software product?
many thanks
rgds
----- Original Message ----- From: "Bruno" <bruno@lowagie.com> To: "Jemmee Yung" <jemmee.yung@my-domain.com.hk> Cc: <itext-questions@lists.sourceforge.net> Sent: Thursday, August 21, 2003 2:54 PM Subject: Re: itext unicode support
Quoting Jemmee Yung <jemmee.yung@my-domain.com.hk>:> have some queries about the use of pdf fonts in unicode environment, as> > JasperReport says it uses iText for pdf generation I guess you should be> > the right person. browsed itext's project web in sourceforge, not seeing forum area, no choice but bother you now.> We're working on a project with i18n requirement, i.e. our biz data are unicode and in our customers' environemtn, it's common to have data in> > japanese, simplified chinese, traditional chinese and english. as it> > requires to specify a specific pdf font, say for example, we chose> > STSong-Light, then even though it is supposed to be japanese, it'd be shown> > as meaningless characters in chinese. may i know is this a shortcomings
pdf by design or any workaround we can opt for?> I'm not familiar with JasperReports, but I know that people are> using iText to generate documents in almost every Asian language.> My first guess would be that there is some encoding problem.> You say you chose STSong-Light, but is there any way to specify> the encoding?> I forward this mail to the mailinglist; I hope there are some> subscribers using JasperReports who can help you further.> br,> Bruno
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
|
| | 3 answer | Add comment |
Saturday, 27 June 2009
|
| [Tomcat, HTTPD, Servlets & JSP] - JSPs with JDK5.0 features do not compile AstroNox 13:14:44 |
| | Hello everyone,
I'm currently having a problem; in essence, as in the title, is about JSPs with JDK5.0 features that do not compile.
I'm running JBoss 4.0.3 SP1 with the default integrated Tomcat 5.5, with JDK5.0.
I wrote a very simple JSP in Eclipse 3.1.2 with the JBoss IDE 1.5.1 GA, packaged and deployed into JBoss. There is no problem with starting JBoss or deploying the WAR. This is the JSP:
<?xml version="1.0" encoding="UTF-8" ?> | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | <% | java.util.Vector<String> v = new java.util.Vector<String>(); | %>
It's just the declaration and definition of a Vector using JDK5.0's generics feature.
However, when I tried to access this JSP through the browser, I get this error:
02:14:15,000 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception | org.apache.jasper.JasperException: Unable to compile class for JSP | | An error occurred at line: 3 in the jsp file: /index.jsp | Generated servlet error: | Syntax error on token "<", invalid AssignmentOperator | | An error occurred at line: 3 in the jsp file: /index.jsp | Generated servlet error: | Syntax error on token "=", != expected | | An error occurred at line: 3 in the jsp file: /index.jsp | Generated servlet error: | Syntax error on token "<", ( expected | | An error occurred at line: 3 in the jsp file: /index.jsp | Generated servlet error: | Syntax error on token "(", invalid Expression | | | at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84) | at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328) | at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397) | ... etc
Ok, this basically means that the compiler did not recognize the JDK5.0 features. I had already set the following options in Tomcat's conf/web.xml file:
<servlet> | <servlet-name>jsp</servlet-name> | <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> | <init-param> | <param-name>fork</param-name> | <param-value>false</param-value> | </init-param> | <init-param> | <param-name>xpoweredBy</param-name> | <param-value>false</param-value> | </init-param> | <init-param> | <param-name>compilerSourceVM</param-name> | <param-value>1.5</param-value> | </init-param> | <init-param> | <param-name>compilerTargetVM</param-name> | <param-value>1.5</param-value> | </init-param> | ... | </servlet>
It still does not work, it does not compile.
I did search Google for any possible solutions but to no avail. For some reason it seems as if no one encountered it before; either I'm not searching properly or there are no articles on this issue. I did find a thing about Tomcat versions prior to 5.5.16 (this issue was fixed in 5.5.16):
http://issues.apache.org/bugzilla/show_bug.cgi?id=38389
The problem was regarding the compilerSourceVM and compilerTargetVM as mentioned above.
However, I'm very sure that the version of Tomcat that came with JBoss 4.0.3 SP1 is not 5.5.16, although I was unable to find which version was it.
I believe if I were to integrate Tomcat 5.5.16 into JBoss, the issue might be resolved. However I'm unable to find any such tutorial or resource to accomplish this on Google.
Another note is that I'm unwilling to use JBoss 4.0.4 RC1 because there is a bug with EJB3's TransactionManager (yes, I'm using EJB3; RC5 integrated into default server configuration):
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78114
Basically I'm stumped. Tried all I can. Can anyone please tell me how to resolve this issue in JBoss 4.0.3 SP1? Please direct me to any existing resolutions, if any. I would also appreciate links to articles that describe how to integrate Tomcat 5.5.x into JBoss. Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934154#3934154
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934154
------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
|
| | 1 answer | Add comment |
Monday, 8 June 2009
|
| PHP2Perl converter? Nathan 00:10:10 |
| | Hi, I just had a random thought as I was working on some php and perl code today and I ask, has anyone out there created a PHP to Perl converter? Similar to the ASP to PHP converter. I think only God could make a Perl2PHP converter.
|
| | 3 answer | Add comment |
Wednesday, 3 June 2009
|
| java.util.zip.ZipException error opening zip file... help Aman 18:33:37 |
| | $ant generateDD gives me the following error and it goes into infinite loop. Can anyone please help??????????? [webdoclet] java.util.zip.ZipException: error in opening zip file [webdoclet] at java.util.zip.ZipFile.open(Native Method) [webdoclet] at java.util.zip.ZipFile.<init>(ZipFile.java:112) [webdoclet] at java.util.zip.ZipFile.<init>(ZipFile.java:128) [webdoclet] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo ader.java:867) [webdoclet] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoade r.java:796) [webdoclet] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91) [webdoclet] at org.apache.log4j.LogManager.<clinit>(LogManager.java:94) [webdoclet] at org.apache.log4j.Category.getInstance(Category.java:514) [webdoclet] at org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4
<target name="generateDD"> <taskdef name="webdoclet" classname="xdoclet.modules.web.WebDocletTask" classpathref="xdocpath" />
<webdoclet destdir="${dest}">
<fileset dir="${src}"> <include name="**/*Servlet.java" /> <include name="**/*Tag.java" /> </fileset>
<deploymentdescriptor servletspec="2.3" destdir="${WEBINF}" > <taglib uri="mytaglib" location="WEB-INF/tlds/mytaglib.tld" /> </deploymentdescriptor>
<jsptaglib jspversion="1.2" destdir="${WEBINF}/tlds" shortname="basic" filename="mytaglib.tld"/>
</webdoclet>
|
| | 3 answer | Add comment |
Friday, 22 May 2009
|
| [Beginners Corner] - getResourceAsStream returns null
when invoked from an EJB ja Offline 15:47:29 |
| | My application makes use of a configuration file stored inside a jar that ships in the EAR file. This config file is accessed by way of a classloader.getResourceAsStream(), where the classloader is returned from the Thread.getContextClassloader() method.
This operation succeeds on WebLogic and WebSphere as expected, but on JBoss 4.0.3SP1, I cannot get anything except a null input stream from this call.
My application is laid out as: app.ear/ | ejb.jar/ | META-INF/MANIFEST.MF: Class-Path: ./config.jar | com.my.classes.ConfigLoader | config.jar/ | config.properties
The loader code is (in brief -- there's a lot of error checking et al that I have removed): ClassLoader loader = Thread.currentThread().getContextClassLoader(); | InputStream ins = loader.getResourceAsStream ("/config.properties"); | if (ins == null) { | System.out("The input stream was null after getResourceAsStream"); | } | else { | loadConfig(ins); | }
So, what I'm wondering is, of course, why does this not work? I've traced the classloader initialization, and it appears that the config jar is being added to the UCL (here is the trace output from a deployment, up to the point where the beans themselves are configured): anonymous wrote : 09:49:05,970 DEBUG [RepositoryClassLoader] Unregistering cl=org.jboss.mx.loading.UnifiedClassLoader3@1d77d9e{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12702app.ear ,addedOrder=30} | 09:49:05,970 DEBUG [UnifiedLoaderRepository3] UnifiedLoaderRepository removed(true) org.jboss.mx.loading.UnifiedClassLoader3@1d77d9e{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12702app.ear ,addedOrder=30} | 09:49:06,004 INFO [EARDeployer] Init J2EE application: file:/opt/md/jboss/server/default/deploy/app.ear | 09:49:06,125 DEBUG [UnifiedClassLoader] New jmx UCL with url file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear | 09:49:06,125 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@10bc49d, cl=org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=0} | 09:49:06,125 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@10bc49d, cl=org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=0} | 09:49:06,125 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=0} | 09:49:06,126 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: | 09:49:06,509 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: com.aciworldwide.ecourier.utility | 09:49:06,517 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: com.aciworldwide.ecourier.auth.jboss | 09:49:06,521 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: com.aciworldwide.ecourier.auth | 09:49:06,528 DEBUG [RepositoryClassLoader] Added url: file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear-contents/ejb.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=32} | 09:49:06,552 DEBUG [RepositoryClassLoader] Added url: file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear-contents/jrmsadm.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=32} | 09:49:06,554 DEBUG [RepositoryClassLoader] Added url: file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear-contents/ecjavautil.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=32} | 09:49:06,558 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: javax.mail | 09:49:06,569 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: javax.mail.event | 09:49:06,570 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: javax.mail.search | 09:49:06,573 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: javax.mail.internet | 09:49:06,579 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: com.sun.mail.util | 09:49:06,582 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: com.sun.mail.smtp | 09:49:06,585 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: com.sun.mail.iap | 09:49:06,587 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: com.sun.mail.imap | 09:49:06,594 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: com.sun.mail.imap.protocol | 09:49:06,599 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: com.sun.mail.pop3 | 09:49:06,601 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: com.sun.mail.handlers | 09:49:06,602 DEBUG [RepositoryClassLoader] Added url: file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear-contents/mail.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=32} | 09:49:06,605 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: javax.activation | 09:49:06,609 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: com.sun.activation.registries | 09:49:06,610 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: com.sun.activation.viewers | 09:49:06,611 DEBUG [RepositoryClassLoader] Added url: file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear-contents/activation.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=32} | 09:49:06,615 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: conf | 09:49:06,615 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: org.opensaml | 09:49:06,642 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: org.opensaml.artifact | 09:49:06,644 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: org.opensaml.provider | 09:49:06,645 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: schemas | 09:49:06,648 DEBUG [RepositoryClassLoader] Added url: file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear-contents/opensaml-1.1.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=32} | 09:49:06,814 DEBUG [RepositoryClassLoader] Added url: file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear-contents/xercesImpl.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=32} | 09:49:06,833 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: org.w3c.dom | 09:49:06,845 DEBUG [RepositoryClassLoader] Added url: file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear-contents/xml-apis.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=32} | 09:49:06,880 DEBUG [RepositoryClassLoader] Added url: file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear-contents/xstream-1.1.2.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=32} | 09:49:06,881 DEBUG [RepositoryClassLoader] Added url: file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear-contents/config.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@13849df{ url=file:/opt/md/jboss/server/default/tmp/deploy/tmp12704app.ear ,addedOrder=32}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955568#3955568
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955568
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|
| | 1 answer | Add comment |
|
| LZW compression in Java Avinash Lakshman 04:09:03 |
| | Hi All
Anyone aware of any Open Source libraries for doing LZW compression in Java ? And if anyone has had any experience with LZW compression is it suitable for compressing large files of size 50-100GB.
Thanks in advance A
_________________________________________________________________ More photos, more messages, more storage get 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507
=================================== This list is hosted by DevelopMentor http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 6 answers | Add comment |
Thursday, 21 May 2009
|
| [JBoss Portal] - PortletSession vs HttpSession Bcollins 14:43:21 |
| | I'm running portal 2.0 in jboss 4.0.2. The issue I'm having is trying to get HttpSession attributes in PortletSession.
PortletSessionImpl uses a prefix of "javax.portlet.p." which prevents HttpSession attributes from being returned. The private HttpSession in PortletSessionImpl has the attributes I need but the getters will not return them due to the prefix.
PortletSessionIpml implements PortletSession which states: "Therefore all HttpSession listeners do apply to the portlet session and attributes set in the portlet session are visible in the HttpSession and vice versa."....so (per spec) shouldn't these be available?
Is there a work around to get to the HttpSession attributes?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906085#3906085
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906085
------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
|
| | 1 answer | Add comment |
Friday, 15 May 2009
|
| [EJB 3.0] - Re: Hibernate Exception When Deleting
OneToMany EJB3 Entity Chrismalan 17:05:48 |
| | Hi Mike,
Sometimes you just have to think in database terms. Your kids table has a foreign key field for the primary key of the table called parent. There is nothing in the parent table to give any indication of how many kids the specific parent has.
What this boils down to is this: just do a em.remove(kid) That will take care of the relationship to the parent. Don't do parent.getKids().remove(kid);
Give it a go.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953919#3953919
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953919
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|
| | 3 answer | Add comment |
Wednesday, 13 May 2009
|
| How to develop subreports in jasper Amol 04:19:07 |
| | hello friends, If anyone work in jasper report tool , Plz tell me how to create subreport in jasper report without using xml (i.e with pure programming);
--------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=2260&messageID=6640#6640
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@webwork.dev.java.net For additional commands, e-mail: dev-help@webwork.dev.java.net
|
| | 2 answer | Add comment |
Friday, 8 May 2009
|
| [JBoss Seam] - Seam Logging Configuration Adam.Stortz 11:07:42 |
| | All,
I am using Seam for the first time, and I really like how easy it is to write logging code with Seam. The piece I am missing is how to configure logging. I really like Log4j and I am missing that level of flexibility here. I looked through the docs and the forums extensively, and have not seen anything that would suggest that this even exists. Am I missing something here? Or am I required to edit the jboss/server//conf/log4j.xml to produced the desired behaviour?
Any help would be greatly appreciated.
Regards, Stortz
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959164#3959164
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959164
|
| | 1 answer | Add comment |
Wednesday, 6 May 2009
|
| Hibernate and Multiple Session Factories Matt Johnston 11:45:38 |
| | My application is needing to connect to two seperate databases. According to Hibernate documentation, I will need to use seperate session factories.
Right now I am using the HibernateInterceptor written by Gavin King (http://www.hibernate.org/hib_docs/online/adminapp/) Unfortunately, it can only grab one session factory for Hibernate.
Has anyone found a way to easily use more than one hibernate session factory?
--------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=5011&messageID=11971#11971
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@webwork.dev.java.net For additional commands, e-mail: users-help@webwork.dev.java.net
|
| | 5 answers | Add comment |
Tuesday, 21 April 2009
|
[Hibernate]org.hibernate.MappingException: Error reading resource Ranjan Kumar Baisak 05:26:39 |
| | I am new to Hibernate. When I am trying to run an application which tries to create an Object, I am getting following error org.hibernate.MappingException: Error reading resource: hello/Category.hbm.xml at org.hibernate.cfg.Configuration.addResource(Configuration.java:433) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1213) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1169) |
| | 4 answer | Add comment |
Thursday, 5 March 2009
|
| Page Breaks Bowden Wise 22:47:04 |
| | HI I have recently started using iText to generate RTF. Do Chapters always insert a page break? What if i dont want my chapters to start new pages? Can I disable that feature? Thanks, Bowden
|
| | 14 answers | Add comment |
Friday, 20 February 2009
|
| display tag,how to add 2 properties together Shu 19:09:54 |
| | hi, the staff as follow, i want first_name AND last_name display together at one column, it seem cant use "+" or nest "<c:if .."tag to do this. THX guys.
|
| | 2 answer | Add comment |
Sunday, 25 January 2009
|
| Expiration of your subscription to the ADVANCED-JAVA list PEACH.EASE.LSOFT.COM LISTSERV Server 14:00:19 |
| | Sun, 25 Jan 2009 06:00:19
Your subscription to the ADVANCED-JAVA list has expired and you have failed to confirm it in the 20 day delay that you had been granted. Therefore, you have been automatically removed from the list. If you want to re-subscribe to the list, then send the following command to LISTSERV@PEACH.EASE.LSOFT.COM:
SUBscribe ADVANCED-JAVA
|
| | Add comment |
Monday, 5 January 2009
|
| Renewal of your subscription to the ADVANCED-JAVA list PEACH.EASE.LSOFT.COM LISTSERV Server 14:13:23 |
| | Mon, 5 Jan 2009 06:13:23
Your subscription to the ADVANCED-JAVA list is due for renewal. If you wish to remain subscribed to ADVANCED-JAVA, please issue the following command to LISTSERV@PEACH.EASE.LSOFT.COM at your earliest convenience:
CONFIRM ADVANCED-JAVA
You will be automatically removed from the list if you do not send a CONFIRM command within the next 20 days. The simplest way to do this is to click on the following link:
http://peach.ease.lsoft.com/scripts/wa.exe?LCMD=CONFIRM+ADVANCED-JAVA&L=ADVANCED-JAVA
|
| | Add comment |
Wednesday, 17 December 2008
|
| [JBoss Seam] - Clustering booking example Mphansen 15:31:29 |
| | Hi,
I'm trying to set up the booking example in a cluster. I have two jboss-4.0.5-ga instances installed (with ejb3-clustered support) and an Apache in front of them.
I have made the following changes to the booking application.
1) It now uses a MySQL database which is shared by the two JBoss servers. 2) added distributable tag to web.xml to enable HTTP session replication 3) added @Clustered annotation to SFSB enable replication
I then test the application in the following way:
1) I hit http://localhost/seam-booking/ 2) I find a hotel and starts booking it 3) before confirming the booking I close down the jboss instance serving my request. 4) I confirm my booking
At this point the following stack trace is thrown at me:
| 15:39:45,578 WARN [SessionFactoryObjectFactory] Not found: 8a808083104f5a8f01104f5a91200000 | 15:39:45,593 INFO [Exceptions] no exceptions.xml file found | 15:39:45,593 ERROR [Exceptions] redirecting to debug page | java.lang.RuntimeException: java.io.IOException | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:367) | at org.jboss.ejb3.stateful.StatefulBeanContext.getInstance(StatefulBeanContext.java:309) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:77) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.remoting.ReplicantsManagerInterceptor.invoke(ReplicantsManagerInterceptor.java:51) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:203) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy153.confirm(Unknown Source) | at org.jboss.seam.example.booking.HotelBooking$$FastClassByCGLIB$$c83b792d.invoke(<generated>) | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) | at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45) | at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55) | at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64) | at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64) | at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144) | at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102) | at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:82) | at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51) | at org.jboss.seam.example.booking.HotelBooking$$EnhancerByCGLIB$$c93c490c.confirm(<generated>) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.sun.el.parser.AstValue.invoke(AstValue.java:151) | at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) | at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:274) | at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:250) | at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:405) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain | |