Try enabling jaws SQL tracing by adding '<debug>true</debug>' to the top 
level of your jaws.xml file. Also, make sure that debugging information 
is output to the logs, either in jboss.conf (for old-style logging) or 
in log4j.properties (for log4j logging).

Dave, Pragnesh wrote:

> Dan, the following is the stack trace on the client when the finder fails
> 
> javax.ejb.FinderException: Find failed
> javax.ejb.FinderException: Find failed
>         at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
> Source)
>         at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
>         at sun.rmi.server.UnicastRef.invoke(Unknown Source)
>         at
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unkno
> wn Source)
>         at
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:221)
>         at $Proxy0.findTicketsFacility(Unknown Source)
>         at FacilityClient.main(FacilityClient.java:42)
> 
> Nothing is displayed on the Jboss console/log file for this exception.
> 
> Date: Thu, 24 May 2001 10:24:13 -0500
> From: "danch (Dan Christopherson)" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] RE: CMP OrderBy DESC problem
> Reply-To: [EMAIL PROTECTED]
> 
> Dave, Pragnesh wrote:
> 
> 
>>Gang, still NO response on my question.
>>
>>Some additional info-
>>Here is my jaws.xml file
>><jaws>
>>  <datasource>rfsrvdev</datasource>
>>  <type-mapping>MS SQLSERVER</type-mapping>
>>  <enterprise-beans>
>>    <entity>
>>      <ejb-name>Facility</ejb-name>
>>      <table-name>facility</table-name>
>>      <create-table>false</create-table>
>>      <finder>
>>      <name>findTicketsFacility</name>
>>      <query>fac_num &lt; {0}</query>
>>      <order>fac_num</order>
>>      </finder>
>>    </entity>
>>  </enterprise-beans>
>></jaws>
>>
>>Everything works fine with the above config.
>>As soon as I change the
>>      <order>fac_num</order>
>>to
>>      <order>fac_num DESC</order>
>>things break.
>>
> 
> Do you have a server-side stack trace? How do things break?
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to