dev@glassfish.java.net

Re: Connector QL tests failing

From: Sony Manuel <Sony.Manuel_at_Sun.COM>
Date: Wed, 25 Oct 2006 19:59:02 +0530

Ryan,

SampleExternalMethods is a stored procedure class. This is available in
glassfish/appserv-tests/sqetests/connector/lib/cci-derby-proc.jar. Derby
server classpath should include the jar.

If you start derby using 'ant startDerby ' target then this jar already
included in the classpath and you wouldn't see the problem. If you are
starting the database in a different way you will have to include this
jar in the classpath.

hope this helps,
Sony


> Ryan Lubke wrote:
>> Hello,
>>
>> I hope someone might be able to shed some light on my problem.
>>
>> I'm running the QL tests against a build of the HEAD branch on win32,
>> but I have two
>> failures in the connectors area.
>> Connector:cci Connector standalone rar Test status:ID
>> <cid:part1.07070903.08050307_at_Sun.COM> 1 0 1
>> Connector:cci Connector Embedded rar Test status:ID
>> <cid:part2.01030104.01000901_at_Sun.COM> 1 0 1
>>
>>
>> I see the following in the logs:
>>
>> [#|2006-10-24T22:47:24.265-0700|WARNING|sun-appserver-ee9.1|javax.enterprise.system.stream.err|_ThreadID=16;_ThreadName=p:
>> thread-pool-1; w:
>> 4;_RequestID=0a08f394-3993-4ec3-be70-b004dbc96f48;|javax.resource.ResourceException:
>> The class 'SampleExternalMethods' does not exist or is inaccessible.
>> This can happen if the class is not public. SQLSTATE: XJ001: Java
>> exception: 'SampleExternalMethods: java.lang.ClassNotFoundException'.
>> at
>> com.sun.connector.cciblackbox.CciInteraction.exec(CciInteraction.java:216)
>>
>> at
>> com.sun.connector.cciblackbox.CciInteraction.execute(CciInteraction.java:238)
>>
>> at com.sun.s1peqe.connector.cci.CoffeeBean.getCoffeeCount(Unknown
>> Source)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>>
>> It seems related, but I'm not 100% (could be a negative test). Does
>> anyone have these two tests running on windows?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>