Re: [JBoss-user] JBossQL
HmmmI suppouse it doesn't matter that i hav find method Dnia 2002-07-23 14:09, Użytkownik Emerson Cargnin - SICREDI Serviços napisał: > I made a dynamic selection that returns a set : > > public abstract java.util.Set ejbSelectGeneric(String jbossql, Object[] > arguments) > throws javax.ejb.FinderException; > > jbosscmp-jdbc.xml: > > > >ejbSelectGeneric > > java.lang.String > java.lang.Object[] > > > > > > > xdoclet tags: > > > @ejb:select > *signature="java.util.Set ejbSelectGeneric(java.lang.String > jbossql, java.lang.Object[] arguments)" > *query="" > * result-type-mapping="Local" > * > * @jboss:query signature="java.util.Set > ejbSelectGeneric(java.lang.String jbossql, java.lang.Object[] > arguments)" dynamic="true" > > > ejb-jar.xml : > > > >ejbSelectGeneric > > java.lang.String > java.lang.Object[] > > > Local > > > > conrad wrote: > >> Hi >> >> I've solved the problem >> >> The find method can't return java.util.Set because underlaying >> java.util.ArrayList doesn't implement Set interface - at least I think >> so :-). Solution was to change it to Collection :-) >> >> Cheers >> >> Dnia 2002-07-23 12:26, Użytkownik conrad napisał: >> >>> Hi all >>> >>> I'm trying to use JBossQL >>> >>> I've "declared" dynamic find method in jbosscmp-jdbc.xml >>> - >>> >>> >>> findDynamic >>> >>> java.lang.String >>> java.lang.Object[] >>> >>> >>> >>> >>> >>> >>> in runtime built query: >>> >>> SELECT OBJECT (o) FROM User o WHERE o.id=?1 OR o.id=?2 OR o.id=?3 OR >>> o.id=?4 >>> >>> and got such exception: >>> >>> 11:44:40,033 ERROR [STDERR] [CONRAD] UserManager get0 >>> 11:44:40,035 ERROR [STDERR] java.lang.ClassCastException: >>> java.util.ArrayList >>> 11:44:40,051 ERROR [STDERR] at $Proxy1230.findDynamic(Unknown >>> Source) >>> . >>> >>> jboss.3.0.1RC1 >>> "id" is a String object >>> >>> >>> Does anybody could tell what am I doing wrong? >>> >>> Cheers >>> >>> Conrad >>> >>> PS. whole StackTrace in attachment >>> >>> >> >> >> >> >> >> --- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> ___ >> JBoss-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/jboss-user >> >> > > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBossQL
Hi I've solved the problem The find method can't return java.util.Set because underlaying java.util.ArrayList doesn't implement Set interface - at least I think so :-). Solution was to change it to Collection :-) Cheers Dnia 2002-07-23 12:26, Użytkownik conrad napisał: > Hi all > > I'm trying to use JBossQL > > I've "declared" dynamic find method in jbosscmp-jdbc.xml > - > > > findDynamic > > java.lang.String > java.lang.Object[] > > > > > > > in runtime built query: > > SELECT OBJECT (o) FROM User o WHERE o.id=?1 OR o.id=?2 OR o.id=?3 OR > o.id=?4 > > and got such exception: > > 11:44:40,033 ERROR [STDERR] [CONRAD] UserManager get0 > 11:44:40,035 ERROR [STDERR] java.lang.ClassCastException: > java.util.ArrayList > 11:44:40,051 ERROR [STDERR] at $Proxy1230.findDynamic(Unknown Source) > . > > jboss.3.0.1RC1 > "id" is a String object > > > Does anybody could tell what am I doing wrong? > > Cheers > > Conrad > > PS. whole StackTrace in attachment > > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBossQL
Hi all I'm trying to use JBossQL I've "declared" dynamic find method in jbosscmp-jdbc.xml - findDynamic java.lang.String java.lang.Object[] in runtime built query: SELECT OBJECT (o) FROM User o WHERE o.id=?1 OR o.id=?2 OR o.id=?3 OR o.id=?4 and got such exception: 11:44:40,033 ERROR [STDERR] [CONRAD] UserManager get0 11:44:40,035 ERROR [STDERR] java.lang.ClassCastException: java.util.ArrayList 11:44:40,051 ERROR [STDERR] at $Proxy1230.findDynamic(Unknown Source) . jboss.3.0.1RC1 "id" is a String object Does anybody could tell what am I doing wrong? Cheers Conrad PS. whole StackTrace in attachment err Description: application/java-vm
Re: AW: [JBoss-user] Jboss.net web-service.dtd?
How shoulf look like "beanJndiName" property for a bean like this: * @ejb:bean * type="Stateless" * name="QueryEngine" * jndi-name="ejb/QueryEngineRemoteHome" * local-jndi-name="ejb/QueryEngineLocalHome" * view-type="both" * * @jboss-net:web-service * urn="query" * expose-all="true" * it produces: is it correct? Conrad Dnia 2002-07-19 11:48, Użytkownik Jung , Dr. Christoph napisał: > You mean the dtd for the web-service.xml? > > Unfortunately there is no such thing, but please look at > > http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/reference.ht > ml#Deployment > > for a more verbose description. > > CGJ > > -Ursprüngliche Nachricht- > Von: conrad [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 19. Juli 2002 15:08 > An: [EMAIL PROTECTED] > Betreff: [JBoss-user] Jboss.net web-service.dtd? > > > Hi everyone > > Is there web-service.dtd available anywere? > > Cheers > Conrad? > > > > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ### > > This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. > For more information, connect to http://www.F-Secure.com/ > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: AW: [JBoss-user] Jboss.net web-service.dtd?
Thanks. I'll take a look. Conrad Dnia 2002-07-19 11:48, Użytkownik Jung , Dr. Christoph napisał: > You mean the dtd for the web-service.xml? > > Unfortunately there is no such thing, but please look at > > http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/reference.ht > ml#Deployment > > for a more verbose description. > > CGJ > > -Ursprüngliche Nachricht- > Von: conrad [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 19. Juli 2002 15:08 > An: [EMAIL PROTECTED] > Betreff: [JBoss-user] Jboss.net web-service.dtd? > > > Hi everyone > > Is there web-service.dtd available anywere? > > Cheers > Conrad? > > > > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ### > > This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. > For more information, connect to http://www.F-Secure.com/ > > > --- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Jboss.net web-service.dtd?
Hi everyone Is there web-service.dtd available anywere? Cheers Conrad? --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Jboss.net
> Conrad, > > what where you trying to do? The JBoss-3.0.1.RC1 already has the > jboss.net.sar in it, ie it works with Jetty, and should run out of the > box as it were. Or were you trying to get this RC version to work with > Tomcat? If you were trying to get it to work with Tomcat, then it > probably won't and you'll need to download the jboss-tomcat binary from > the page above, or build your own following the instructions from that > page. > > In any case, give me some more details and I'll see what I can do to help. > > > Cheers, > > Bruce > > Dr. Bruce A. Scharlau > Dept. of Computing Science > Aberdeen University > Aberdeen AB24 3UE > [EMAIL PROTECTED] > http://www.csd.abdn.ac.uk/~bscharla/ > 01224 272193 > > > > --- > This sf.net email is sponsored by: Jabber - The world's fastest growing > real-time communications platform! Don't just IM. Build it in! > http://www.jabber.com/osdn/xim > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > Thanks Bruce I've found jboss-net.sar file in "all" configuration directory - yesterday wasn't my best day :-) I've tried to deploy it and and got some exceptions - in attached file - setup: jdk1.4, linux 2.4.18, JBoss-3.0.1RC1 (out of the box) Do you have any idea what am I doing wrong? Regards Conrad err Description: application/java-vm
[JBoss-user] Jboss.net
Hi everyone Is it possible to run jboss.net plugin with JBoss 3.0.1RC1? I walked through intructions on http://www.csd.abdn.ac.uk/~bscharla/soap.html and I get such error: 17:09:46,227 ERROR [MainDeployer] could not start deployment: file:/opt/jboss-3.0.1RC1/server/default/deploy/jboss-net.sar java.lang.NoSuchMethodError: org.jboss.deployment.DeploymentInfo.(Ljava/net/URL;Lorg/jboss/deployment/DeploymentInfo;)V at org.jboss.net.axis.server.AxisService.startService(AxisService.java:265) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164) 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:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) at $Proxy6.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:384) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy3.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243) Regards Conrad --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss 3.0 Quick Guide/New JBoss distribution structure
Hi Is it somehow possible to debug EJB in JBoss? Regard Conrad --- This sf.net email is sponsored by:ThinkGeek Two, two, TWO treats in one. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Find method
Hi I'm using JBoss-3.0.0_tomcat-4.0.3 and xdoclet 1.1.2 and sometimes during deploying I got following error: org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered ">=" at line 1, column 81. Was expecting one of: "=" ... "<>" ... ) How can I solve it? More logs attached regards conrad err Description: application/java-vm
[JBoss-user] Jboss 3.0 remote deploy
Hi I'm new here ... Good afternoon :-) I'd like to ask about remote deploying enterprise application on JBoss, without telnet/ssh access. Is it possible, and if it is how can I do it or where can I find some documentation about it? Thanks in advance. -- Best Regards Conrad [EMAIL PROTECTED] ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user