[JBoss-user] [EJB 3.0] - JBoss 5(200602142314) & Postgres
Hi, all I am using jboss 5 (200602142314) & Postgres for database. When I query back an entity, this error comes, "target lists can have at most 1664 entries" when I look at the postgres log, I found a huge query Any idea? -- Regards; Stephen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925198#3925198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925198 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - exception while deploying web service
hi, I got following exception while deploying my web service; java.lang.NullPointerException | at org.jboss.ws.tools.schema.SchemaTypeCreator.handleArrayInUnwrapMode(SchemaTypeCreator.java:605) | at org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaProperties(SchemaTypeCreator.java:483) | at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:385) | at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:348) | at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:158) | at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:122) | at org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaProperties(SchemaTypeCreator.java:487) | at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:385) | at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:348) | at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:158) | at org.jboss.ws.tools.JavaToXSD.generateForSingleType(JavaToXSD.java:118) | at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateType(JavaToWSDLHelper.java:391) | at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateTypesForXSD(JavaToWSDLHelper.java:122) | at org.jboss.ws.tools.JavaToWSDL11.handleJavaToWSDLGeneration(JavaToWSDL11.java:229) | at org.jboss.ws.tools.JavaToWSDL11.generate(JavaToWSDL11.java:164) | at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:279) What my WS does is, @WebMethod | public XArray getXArray() { | if (logger.isLoggable(Level.INFO)) { | logger.info("begin"); | } | com.xx.application.presentation.enterprise.XArray xxArray= xxSession | .getXArray(); | if (logger.isLoggable(Level.INFO)) { | logger.info("end"); | } | return xxArray; | } | And my XArray looks like; public class XArray { | protected com.x.application.presentation.common.Status status; | ... | | public Status getStatus() { | return this.status; | } | | public void setStatus(Status status) { | this.status = status; | } | } | And my status looks like; public class Status | { | protected int status; | protected int severity; | protected String message; | protected StackTraceItem [] stackTraceItems; | | public Status() | { | this.status = | this.severity = | } | | public Status(int status, int severity) | { | this.status = status; | this.severity = severity; | } | | public Status(Exception e) | { | this.message = e.getLocalizedMessage(); | | this.status = .. | | StackTraceElement[] stackTraceElements = e.getStackTrace(); | ... | } | | public String getMessage() | { | return message; | } | | public void setMessage(String message) | { | this.message = message; | } | | public StackTraceItem[] getStackTraceElements() | { | return stackTraceItems; | } | | public void setStackTraceElements(StackTraceItem[] stackTraceElements) | { | this.stackTraceItems = stackTraceElements; | } | | public int getStatus() | { | return status; | } | | public void setStatus(int status) | { | this.status = status; | } | } And my StackTraceItem has 3 string properties, one int and one boolean. I got above error while deploying the service. When I commented out getter/setter of stack trace items, it goes smoothly. Any idea? -- Regards; Stephen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917788#3917788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917788 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Annotations Changed in new JBoss 5.0 Alpha (200601151348)?
Were annotations from ejb3-persistence.jar changed from the build 200601151348? E.g | @Entity(access=AccessType.FIELD) | @Inheritance(strategy=javax.persistence.InheritanceType.SINGLE_TABLE, | discriminatorType=javax.persistence.DiscriminatorType.STRING, | discriminatorValue="ACCOUNT") | I can't no longer find access in Entity and discriminator in Inheritance. -- Regards; Stephen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917766#3917766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917766 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WS & EJB3
this is from jboss service log; 2006-01-12 11:19:15,031 DEBUG [org.jboss.ws.tools.JavaToWSDL] generate [endpoint=... xxxserviceImpl,tnsURI=null,service=null,portType=null] 2006-01-12 11:19:15,031 DEBUG [org.jboss.ws.tools.JavaToWSDL11] Creating JavaToWSDL11 instance 2006-01-12 11:19:15,062 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: [EMAIL PROTECTED] [xmlType={.xxx..xxx.xxx.}Collection,javaType=java.util.Collection,sf=null,df=null] 2006-01-12 11:19:23,078 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] Setting SocketClientInvoker::enableTcpNoDelay to: true 2006-01-12 11:19:23,078 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] Setting SocketClientInvoker::timeout to: 60 2006-01-12 11:19:23,078 DEBUG [org.jboss.remoting.transport.socket.SocketClientInvoker] connect called for: [EMAIL PROTECTED] 2006-01-12 11:19:23,609 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/C:/jboss/server/default/tmp/deploy/tmp47419XXX-Service.jar-contents/XService.ejb3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917273#3917273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917273 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WS & EJB3
When I looked at the jboss server log, the exceptions come after or at the generation of wsdl of the service. Another is, stack over flow and it comes like this; at org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaProperties(SchemaTypeCreator.java:460) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:385) at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:348) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:158) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:122) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:369) at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:348) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:158) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:122) at org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaProperties(SchemaTypeCreator.java:487) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:385) at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:348) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:158) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:122) at org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaProperties(SchemaTypeCreator.java:487) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:385) and go on. -- Regards; Stephen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917272#3917272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917272 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - WS & EJB3
I'm not sure I should post my problem here. I'm using JBoss Alpha 5, EJB Web Service and EJB3. I got a stack overflow exception when deploy certain services. That services deals with some Session Beans. That session beans returns certain presentation object which contains some Entity Beans. My entity bean is like; say, Account. Contact (extends Account) In Contact, we have reference to both account and contact. My guess is, we are having recursive structure on contact. That's why I think we are having stack overflow. Can someone help me giving some idea or advice on that? -- Regards; Stephen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917069#3917069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917069 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Cannot obtain java type mapping
I made a simple ws and test it. and I got that exception Cannot obtain java type mapping. Can any one tell me what is going wrong? I use Java EE 5 and JBoss Alpha 5 -- Regards; Stephen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916369#3916369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916369 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JBoss 5 Alpha and J2EE 5
"[EMAIL PROTECTED]" wrote : If you are trying out our new stack, we do dynamic generation on deployment. So all you have to do is put your annotated pojo in your war (or ejb) and deploy it. | | Take a look at the testcases in webservice/test/java/org/jboss/ws/jsr181/* for more info. | | -Jason Thanks for it. I did know that dynamic generation. But somehow I'm needing it to be generated by myself for other developers. (like we do wscompile in previous ws). Is there any tool? I found java2wsdl in axis package. But not sure, it supports annotations -- Regards; Stephen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916276#3916276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916276 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - JBoss 5 Alpha , IDE and Java EE 5 Application
Is it possible to use jboss 5 alpha in JBoss Eclipse IDE? And Is it possible for me to use Java EE 5 application with JBoss Eclipse IDE(like we can do J2EE 1.4 Project)? If so, let me know the version, the version I have is unable to do both of them. -- Regards; Stephen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916135#3916135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916135 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JBoss 5 Alpha and J2EE 5
Hi, all. Previously, I have done ws (J2EE 1.4 compatible). Now, I need to change those service to Java EE 5, according to JSR 181, using annotations. But I'm still needing wsdl to be generated manully for some reason(though it is automatically generated). Previously, I used JWSDP to generate wsdl using wscompile. But I'm not sure JWSDP supports annotations. Is there anything like wscompile for JBoss(like wsgen in glassfish)? -- Regards; Stephen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916132#3916132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916132 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user