Tide + GlassFishV3 = EJB not scanned

56 views
Skip to first unread message

Marcelo

unread,
Sep 4, 2010, 2:07:23 AM9/4/10
to gran...@googlegroups.com
Hello,

I was wondering if somebody out there can give me a hint what I'm doing wrong here. I'm trying to use a PagedQuery component from Adobe AIR to call an EJB on my Glassfish deployed webapp.

Server Configuration:

services-config.xml -----------------------------------------

<services-config>

    <channels>
        <channel-definition id="graniteamf" class="mx.messaging.channels.AMFChannel">
            <endpoint
                uri="http://{server.name}:{server.port}/{context.root}/c/amf"
                class="flex.messaging.endpoints.AMFEndpoint"/>
        </channel-definition>
    </channels>

    <factories>
        <factory id="tideEjbFactory" class="org.granite.tide.ejb.EjbServiceFactory">
            <properties>
                <lookup>java:global/MyEar/MyEar-ejb/{component.name}ServiceBean</lookup>
            </properties>
        </factory>
    </factories>

    <services>
        <service id="granite-service"
            class="flex.messaging.services.RemotingService"
            messageTypes="flex.messaging.messages.RemotingMessage">
            <destination id="ejb">
                <channels>
                    <channel ref="graniteamf"/>
                </channels>
                <properties>
                    <factory>tideEjbFactory</factory>
                    <entity-manager-factory-jndi-name>java:/DefaultEMF</entity-manager-factory-jndi-name>
                </properties>
            </destination>
        </service>
    </services>

</services-config>

services-config.xml -----------------------------------------

granite-config.xml -------------------------------------------

<granite-config scan="true">
    <tide-components>
        <tide-component annotated-with="org.granite.messaging.service.annotations.RemoteDestination"/>
    </tide-components>
<!--    <security type="org.granite.messaging.service.security.GlassFishV3SecurityService"/> -->
</granite-config>

granite-config.xml -------------------------------------------

Now, this is the log when I deploy the application ------

[#|2010-09-04T02:29:28.777-0300|INFO|glassfishv3.0|org.granite.config.GraniteConfigListener|_ThreadID=904;_ThreadName=Thread-1;|Initializing GraniteDS...|#]

[#|2010-09-04T02:29:29.522-0300|INFO|glassfishv3.0|org.granite.config.flex.ServicesConfig|_ThreadID=904;_ThreadName=Thread-1;|Service granite-service selected for destination in class: c.b.c.a.CDRManagerServiceBean|#]

[#|2010-09-04T02:29:29.524-0300|INFO|glassfishv3.0|org.granite.config.flex.ServicesConfig|_ThreadID=904;_ThreadName=Thread-1;|Channel graniteamf selected for destination in class: c.b.c.a.CDRManagerServiceBean|#]

[#|2010-09-04T02:29:29.524-0300|INFO|glassfishv3.0|org.granite.config.flex.ServicesConfig|_ThreadID=904;_ThreadName=Thread-1;|Factory tideEjbFactory selected for destination in class: c.b.c.a.CDRManagerServiceBean|#]

[#|2010-09-04T02:29:29.534-0300|INFO|glassfishv3.0|org.granite.config.flex.ServicesConfig|_ThreadID=904;_ThreadName=Thread-1;|Service granite-service selected for destination in class: c.b.c.a.TelephonyManagerServiceBean|#]

[#|2010-09-04T02:29:29.536-0300|INFO|glassfishv3.0|org.granite.config.flex.ServicesConfig|_ThreadID=904;_ThreadName=Thread-1;|Channel graniteamf selected for destination in class: c.b.c.a.TelephonyManagerServiceBean|#]

[#|2010-09-04T02:29:29.536-0300|INFO|glassfishv3.0|org.granite.config.flex.ServicesConfig|_ThreadID=904;_ThreadName=Thread-1;|Factory tideEjbFactory selected for destination in class: c.b.c.a.TelephonyManagerServiceBean|#]

[#|2010-09-04T02:29:29.541-0300|INFO|glassfishv3.0|org.granite.config.GraniteConfigListener|_ThreadID=904;_ThreadName=Thread-1;|GraniteDS initialized|#]

So, I have the EJB CDRManagerServiceBean annotated with RemoteDestination(id="CDRManager"), and I try to initialize the AIR application like this ...

        Ejb.getInstance().addComponentWithFactory("serviceInitializer", DefaultServiceInitializer, {serverName : "my.server.com", serverPort : 8080, contextRoot : "/myContextRoot", graniteUrlMapping : "/c/amf"});
       
        Ejb.getInstance().initApplication();

        Ejb.getInstance().addComponentWithFactory("CDRManager", PagedQuery, { maxResults : 30});

But as soon as I try to refresh the PagedQuery component I get these errors ....

Server.log

[#|2010-09-04T02:30:24.980-0300|SEVERE|glassfishv3.0|org.granite.tide.TideServiceInvoker|_ThreadID=332;_ThreadName=Thread-1;|Validator class org.granite.tide.validation.BeanValidation not found: validation not enabled|#]

[#|2010-09-04T02:30:24.984-0300|WARNING|glassfishv3.0|org.granite.tide.ejb.EjbServiceContext|_ThreadID=332;_ThreadName=Thread-1;|Ejb CDRManager was not scanned: remove method will not be called if it is a Stateful bean. Add META-INF/services-config.properties if needed.|#]

[#|2010-09-04T02:30:24.985-0300|SEVERE|glassfishv3.0|org.granite.tide.TideServiceInvoker|_ThreadID=332;_ThreadName=Thread-1;|SECURITY CHECK: Remote call refused to a non Tide-enabled component: CDRManager.null, class: [], instance: c.b.c.a.__EJB31_Generated__CDRManagerServiceBean__Intf____Bean__@1448981|#]

[#|2010-09-04T02:30:25.637-0300|SEVERE|glassfishv3.0|org.granite.tide.TideServiceInvoker|_ThreadID=301;_ThreadName=Thread-1;|SECURITY CHECK: Remote call refused to a non Tide-enabled component: CDRManager.null, class: [], instance: c.b.c.a.__EJB31_Generated__CDRManagerServiceBean__Intf____Bean__@1448981|#]

This web application is deployed inside an .ear and I have an empty META-INF/services-config.properties inside the -ejb.jar module

From the remoting I get this error ...

body (null): null
clientId (String): 0F125397-DD20-4F9B-9AAD-5CAE56690474
correlationId (String): BD26ED1C-CB1C-75AC-85A2-DB38CCE80358
destination (null): null
extendedData (Object):

faultCode (String): Server.Security.AccessDenied
faultDetail (null): null
faultString (String): Component [CDRManager] not found
headers (Object):
  org.granite.sessionId (String): b396129150634584f12ca513fd52

messageId (String): B024FA09-5F7C-4D2F-A035-2E26950F65E2
rootCause (null): null
timeToLive (Number): 0
timestamp (Number): 1.283578224988E12

----------------------------------------

Any help is appreciated,

Thanks in advance,


wdrai

unread,
Sep 6, 2010, 7:23:58 AM9/6/10
to Granite Data Services Forum
Strange, your config looks correct.
Can you precise which version of GDS you are using and post the EJB
class and interface code ?
> [#|2010-09-04T02:29:28.777-0300|INFO|glassfishv3.0|org.granite.config.Grani teConfigListener|_ThreadID=904;_ThreadName=Thread-1;|Initializing GraniteDS...|#]
>
> [#|2010-09-04T02:29:29.522-0300|INFO|glassfishv3.0|org.granite.config.flex. ServicesConfig|_ThreadID=904;_ThreadName=Thread-1;|Service granite-service selected for destination in class: c.b.c.a.CDRManagerServiceBean|#]
>
> [#|2010-09-04T02:29:29.524-0300|INFO|glassfishv3.0|org.granite.config.flex. ServicesConfig|_ThreadID=904;_ThreadName=Thread-1;|Channel graniteamf selected for destination in class: c.b.c.a.CDRManagerServiceBean|#]
>
> [#|2010-09-04T02:29:29.524-0300|INFO|glassfishv3.0|org.granite.config.flex. ServicesConfig|_ThreadID=904;_ThreadName=Thread-1;|Factory tideEjbFactory selected for destination in class: c.b.c.a.CDRManagerServiceBean|#]
>
> [#|2010-09-04T02:29:29.534-0300|INFO|glassfishv3.0|org.granite.config.flex. ServicesConfig|_ThreadID=904;_ThreadName=Thread-1;|Service granite-service selected for destination in class: c.b.c.a.TelephonyManagerServiceBean|#]
>
> [#|2010-09-04T02:29:29.536-0300|INFO|glassfishv3.0|org.granite.config.flex. ServicesConfig|_ThreadID=904;_ThreadName=Thread-1;|Channel graniteamf selected for destination in class: c.b.c.a.TelephonyManagerServiceBean|#]
>
> [#|2010-09-04T02:29:29.536-0300|INFO|glassfishv3.0|org.granite.config.flex. ServicesConfig|_ThreadID=904;_ThreadName=Thread-1;|Factory tideEjbFactory selected for destination in class: c.b.c.a.TelephonyManagerServiceBean|#]
>
> [#|2010-09-04T02:29:29.541-0300|INFO|glassfishv3.0|org.granite.config.Grani teConfigListener|_ThreadID=904;_ThreadName=Thread-1;|GraniteDS initialized|#]
>
> So, I have the EJB CDRManagerServiceBean annotated with RemoteDestination(id="CDRManager"), and I try to initialize the AIR application like this ...
>
>         Ejb.getInstance().addComponentWithFactory("serviceInitializer", DefaultServiceInitializer, {serverName : "my.server.com", serverPort : 8080, contextRoot : "/myContextRoot", graniteUrlMapping : "/c/amf"});
>
>         Ejb.getInstance().initApplication();
>
>         Ejb.getInstance().addComponentWithFactory("CDRManager", PagedQuery, { maxResults : 30});
>
> But as soon as I try to refresh the PagedQuery component I get these errors ....
>
> Server.log
>
> [#|2010-09-04T02:30:24.980-0300|SEVERE|glassfishv3.0|org.granite.tide.TideS erviceInvoker|_ThreadID=332;_ThreadName=Thread-1;|Validator class org.granite.tide.validation.BeanValidation not found: validation not enabled|#]
>
> [#|2010-09-04T02:30:24.984-0300|WARNING|glassfishv3.0|org.granite.tide.ejb. EjbServiceContext|_ThreadID=332;_ThreadName=Thread-1;|Ejb CDRManager was not scanned: remove method will not be called if it is a Stateful bean. Add META-INF/services-config.properties if needed.|#]
>
> [#|2010-09-04T02:30:24.985-0300|SEVERE|glassfishv3.0|org.granite.tide.TideS erviceInvoker|_ThreadID=332;_ThreadName=Thread-1;|SECURITY CHECK: Remote call refused to a non Tide-enabled component: CDRManager.null, class: [], instance: c.b.c.a.__EJB31_Generated__CDRManagerServiceBean__Intf____Bean__@1448981|#]
>
> [#|2010-09-04T02:30:25.637-0300|SEVERE|glassfishv3.0|org.granite.tide.TideS erviceInvoker|_ThreadID=301;_ThreadName=Thread-1;|SECURITY CHECK: Remote call refused to a non Tide-enabled component: CDRManager.null, class: [], instance: c.b.c.a.__EJB31_Generated__CDRManagerServiceBean__Intf____Bean__@1448981|#]

Marcelo

unread,
Sep 7, 2010, 9:18:34 AM9/7/10
to gran...@googlegroups.com
I'm using the new 2.2.0.RC1

and that's the code ... (and thanks in advance for the help)

---------------------------------------------------

@LocalBean
@Stateless
@RemoteDestination(id="CDRManager")
public class CDRManagerServiceBean {

    @PersistenceContext
    private EntityManager em;


    public CDRManagerServiceBean () {
    }

    // CHAMADO DO GRANITEDS' TIDE CLIENT
    public Map find(Map filter, int first, int max, String order, boolean desc) {

       
    }

   
}

---------------------------------------------------

wdrai

unread,
Sep 8, 2010, 5:24:47 AM9/8/10
to Granite Data Services Forum
GraniteDS does not support no-interface EJB3.1 on GlassFish yet.
I've added an improvement in JIRA, http://www.graniteds.org/jira/browse/GDS-768.
That should be available in 2.2 RC2 or in 2.2 final.

In the mean time, you have to define a local EJB interface.

Marcelo

unread,
Sep 8, 2010, 11:25:29 PM9/8/10
to gran...@googlegroups.com
Thanks Willian,

You saved me. I had to stop for a few days but I'll be back in the weekend, but you certainly is going to save me a couple days of sleepless night in front of the computer ... And thanks for the fast answer and for helping to make the product even better ...




-----Original Message-----
From: "wdrai" <willia...@gmail.com>

Cyb

unread,
Nov 3, 2010, 5:23:14 PM11/3/10
to Granite Data Services Forum
I have similar problem, but I've defined local EJB interface.
GDS 2.2RC1, Glassfish v3

[#|2010-11-03T22:44:02.472+0200|SEVERE|glassfish3.0.1|
org.granite.config.flex.ServicesConfig|
_ThreadID=11;_ThreadName=Thread-1;|Could not load class: /opt/dev/
glassfishv3/glassfish/domains/domain1/applications/jtypography/
jtypography_jar/org/jtypography/service/CrudService.class [marker=/opt/
dev/glassfishv3/glassfish/domains/domain1/applications/jtypography/
jtypography_jar/META-INF/services-config.properties]
java.lang.NullPointerException
at java.util.ArrayList.<init>(ArrayList.java:131)
at org.granite.config.flex.Destination.<init>(Destination.java:54)
at
org.granite.config.flex.ServicesConfig.handleClass(ServicesConfig.java:
153)
at
org.granite.config.flex.ServicesConfig.handleScannedItem(ServicesConfig.java:
83)
at org.granite.scan.URLScanner.handleDirectory(URLScanner.java:181)
at org.granite.scan.URLScanner.handleDirectory(URLScanner.java:178)
at org.granite.scan.URLScanner.handleDirectory(URLScanner.java:178)
at org.granite.scan.URLScanner.handleDirectory(URLScanner.java:178)
at org.granite.scan.URLScanner.handleDirectory(URLScanner.java:172)
at org.granite.scan.URLScanner.scan(URLScanner.java:137)
at
org.granite.config.flex.ServicesConfig.scanConfig(ServicesConfig.java:
71)
at org.granite.config.flex.ServicesConfig.scan(ServicesConfig.java:
193)
at org.granite.config.flex.ServicesConfig.<init>(ServicesConfig.java:
167)
at
org.granite.config.flex.ServletServicesConfig.loadConfig(ServletServicesConfig.java:
82)
at
org.granite.config.GraniteConfigListener.contextInitialized(GraniteConfigListener.java:
76)
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:
4664)
at
com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:
535)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
5266)
at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:
928)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
912)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
694)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:
1947)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:
1619)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:
90)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
at
org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:
236)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:
339)
at
com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:
362)
at
com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:
185)
at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:
174)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:
87)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:
84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:
77)
at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:
58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:
60)
at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:
236)
at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:
128)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:
640)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:
640)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:
1077)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:
264)
at java.lang.Thread.run(Thread.java:619)

Cyb

unread,
Nov 3, 2010, 5:54:31 PM11/3/10
to Granite Data Services Forum
after invoking method on EJB context I get this:

[#|2010-11-03T22:44:08.847+0200|INFO|glassfish3.0.1|
javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|
_ThreadID=24;_ThreadName=Thread-1;|{felix.fileinstall.poll (ms) =
5000, felix.fileinstall.dir = /opt/dev/glassfishv3/glassfish/domains/
domain1/autodeploy/bundles, felix.fileinstall.debug = 1,
felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir
= /tmp/fileinstall-780031507657023818, felix.fileinstall.filter =
null}|#]

[#|2010-11-03T23:36:10.528+0200|INFO|glassfish3.0.1|
org.granite.messaging.webapp.AMFMessageFilter|
_ThreadID=25;_ThreadName=Thread-1;|Using configuration:
{closeStreams=true, inputBufferSize=null, outputBufferSize=null}|#]

[#|2010-11-03T23:36:10.572+0200|FINER|glassfish3.0.1|
org.granite.messaging.webapp.AMFMessageServlet|
_ThreadID=25;_ThreadName=Thread-1;ClassName=org.granite.logging.JdkLogger;MethodName=debug;|
>> Processing AMF0 request:
org.granite.messaging.amf.AMF0Message {
version = 3
headers = []
bodies = [
org.granite.messaging.amf.AMF0Body {
target = null
serviceName = null
serviceMethodName = null
response = /3
type = ARRAY
value = [
flex.messaging.messages.RemotingMessage {
source = null
operation = invokeComponent
correlationId = null
destination = ejb
headers = {DSId=3AF11558-5ED0-403D-A9E3-700B0CC65689,
DSEndpoint=graniteamf}
messageId = 1E4139D7-1250-BC1B-A02D-13AB1ED5B4E0
timestamp = 0
clientId = 80A08807-9DD9-49D4-AEFA-E2EA1695A074
timeToLive = 0
body = [crudService, null, sayHello,
[Ljava.lang.Object;@a943af,
org.granite.tide.invocation.InvocationCall@9ac7bd]
}
]
}
]
}|#]

[#|2010-11-03T23:36:10.612+0200|INFO|glassfish3.0.1|
org.granite.tide.TideServiceInvoker|_ThreadID=25;_ThreadName=Thread-1;|
Validator class org.granite.tide.hibernate.HibernateValidator not
found: validation not enabled|#]

[#|2010-11-03T23:36:10.614+0200|WARNING|glassfish3.0.1|
org.granite.tide.ejb.EjbServiceContext|
_ThreadID=25;_ThreadName=Thread-1;|Ejb crudService was not scanned:
remove method will not be called if it is a Stateful bean. Add META-
INF/services-config.properties if needed.|#]

[#|2010-11-03T23:36:10.615+0200|SEVERE|glassfish3.0.1|
org.granite.tide.TideServiceInvoker|_ThreadID=25;_ThreadName=Thread-1;|
SECURITY CHECK: Remote call refused to a non Tide-enabled component:
crudService.null, class: [], instance:
org.jtypography.service.CrudService_19550803|#]

[#|2010-11-03T23:36:10.618+0200|FINER|glassfish3.0.1|
org.granite.messaging.webapp.AMFMessageServlet|
_ThreadID=25;_ThreadName=Thread-1;ClassName=org.granite.logging.JdkLogger;MethodName=debug;|
<< Returning AMF0 response:
org.granite.messaging.amf.AMF0Message {
version = 3
headers = []
bodies = [
org.granite.messaging.amf.AMF0Body {
target = /3/onStatus
serviceName = null
serviceMethodName = null
response =
type = AMF3_OBJECT
value = flex.messaging.messages.ErrorMessage {
faultCode = Server.Security.AccessDenied
faultDetail = null
faultString = Component not found
rootCause = null
extendedData = {}
correlationId = 1E4139D7-1250-BC1B-A02D-13AB1ED5B4E0
destination = null
headers = {org.granite.sessionId=3ab1f641d2f0cbffb2084ad54207}
messageId = 3113F24C-3E0B-45FC-B5D2-2A3C65D7F897
timestamp = 1288820170618
clientId = 22666D26-F52F-4BBA-9BD0-71132737048C
timeToLive = 0
body = null
}
}
]
}|#]

---------------------------------------------------------------------------------------------------------------------
SERVICES-CONFIG.XML
---------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>

<services-config>

<services>
<service id="granite-service"
class="flex.messaging.services.RemotingService"
messageTypes="flex.messaging.messages.RemotingMessage">
<!--
! Use "tideEjbFactory" and "graniteamf" for "ejb"
destination (see below).
!-->
<destination id="ejb">
<channels>
<channel ref="graniteamf"/>
</channels>
<properties>
<factory>tideEjbFactory</factory>
<entity-manager-factory-jndi-name>java:/
DefaultEMF</entity-manager-factory-jndi-name>
</properties>
</destination>
</service>
</services>

<factories>
<factory id="tideEjbFactory"
class="org.granite.tide.ejb.EjbServiceFactory">
<properties>
<lookup>java:global/jtypography/jtypographyejb/
{capitalized.component.name}Bean</lookup>
</properties>
</factory>
</factories>

<channels>
<channel-definition id="graniteamf"
class="mx.messaging.channels.AMFChannel">
<endpoint
uri="http://{server.name}:{server.port}/{context.root}/
graniteamf/amf"
class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
</channels>
</services-config>

---------------------------------------------------------------------------------------------------------------------
GRANITE-CONFIG.XML
---------------------------------------------------------------------------------------------------------------------
<granite-config scan="true">
<security
type="org.granite.messaging.service.security.GlassFishV3SecurityService"/
>
<tide-components>
<tide-component instance-of="org.granite.tide.ejb.EjbIdentity"/
>
<tide-component annotated-
with="org.granite.messaging.service.annotations.RemoteDestination"/>
</tide-components>
</granite-config>

---------------------------------------------------------------------------------------------------------------------

@Stateless
@Local(CrudService.class)
public class CrudServiceBean implements CrudService {

public String sayHello() {
return "Hello, Granite!";
}
}

@RemoteDestination
public interface CrudService {
public String sayHello();
}

wdrai

unread,
Nov 4, 2010, 11:58:50 AM11/4/10
to Granite Data Services Forum
This does not look like you have deployed GDS 2.2 RC1 but an earlier
release, the line numbers in your stack trace do not correspond to
anything in 2.2 RC1.
As a quick workaround you can probably simply try to add
@RemoteDestination(channel="graniteamf"), but it should not be
necessary with GDS 2.2.



> after invoking method on EJB context I get this:
>
> [#|2010-11-03T22:44:08.847+0200|INFO|glassfish3.0.1|
> javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|
> _ThreadID=24;_ThreadName=Thread-1;|{felix.fileinstall.poll (ms) =
> 5000, felix.fileinstall.dir = /opt/dev/glassfishv3/glassfish/domains/
> domain1/autodeploy/bundles, felix.fileinstall.debug = 1,
> felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir
> = /tmp/fileinstall-780031507657023818, felix.fileinstall.filter =
> null}|#]
>
> [#|2010-11-03T23:36:10.528+0200|INFO|glassfish3.0.1|
> org.granite.messaging.webapp.AMFMessageFilter|
> _ThreadID=25;_ThreadName=Thread-1;|Using configuration:
> {closeStreams=true, inputBufferSize=null, outputBufferSize=null}|#]
>
> [#|2010-11-03T23:36:10.572+0200|FINER|glassfish3.0.1|
> org.granite.messaging.webapp.AMFMessageServlet|
> _ThreadID=25;_ThreadName=Thread-1;ClassName=org.granite.logging.JdkLogger;M ethodName=debug;|>> Processing AMF0 request:
Reply all
Reply to author
Forward
0 new messages