BlazeDS, RemoteService on Linux

Hi Folks.
I have installed the Flex Compiler as standalone (meaning not the eclipse plugin) on Linux. Compiling a simple Flex application works fine. My Problem:
I can not access my BlazeDS remoteservice. With tracing, I found out, that the Flex application is not connecting to the webservice at all. I entered the endpoint for the remotingservice manually, and i get requests to the webserver.
My Questions:
- I found out, that usually, the felx compiler binds the services.xml into to swf. How can I trigger that manually?
- Can I enter the endpoint relative to the swf file, so that i dont have to recompile the file, when the webserver changes its port?
thx for your help.
oliver

Hi there probably this blog will help you.
Christophe Coenraets » Blog Archive » Externalizing Service Configuration using BlazeDS and LCDS

Similar Messages

  • SOLVED - Servlet MessageBrokerServlet is not available on Ubuntu AMD64

    Hello,
    I have downloaded blazeds-bin-3.3.0.11688.zip and deployed blazeds.war on winXP tomcat 6.20.
    There http://localhost:8080/blazeds/messagebroker/amf url in browser gives me blank screen as expected.
    My production deployment will be Kubuntu 9.10 AMD 64 so I wanted to test same on it.
    The installation for same is Kubuntu 9.10, tomcat 6.20 installed through repositories.
    I deployed same .war in catalina/localhost but I get following error
    Servlet MessageBrokerServlet is not available
    instead of blankscreen as expected.
    What might be wrong ?
    Edited ------- 16 Nov 2009 22:08 (IST  +5:30 GMT)
    The Tomcat Log is As Follows. Hope Somebody will be able to decode this
    16 Nov, 2009 10:05:39 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    16 Nov, 2009 10:05:39 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    16 Nov, 2009 10:05:47 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    16 Nov, 2009 10:05:47 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    16 Nov, 2009 10:05:47 PM org.apache.catalina.core.ApplicationContext log
    INFO: Marking servlet MessageBrokerServlet as unavailable
    16 Nov, 2009 10:05:47 PM org.apache.catalina.core.StandardContext loadOnStartup
    SEVERE: Servlet /blazeds threw load() exception
    javax.servlet.UnavailableException
        at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:170)
        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:597)
        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:269)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:301)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:115)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1167)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4149)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4458)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:123)
        at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:145)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:769)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        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:597)
        at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
    Edited -------
    Thanks and best regards.
    Raja
    Edited on 18 Nov 2009 13:50 IST (+5:30 GMT)
    There is No Problem with either BlazeDS, Tomcat or Kubuntu OS as such.
    The repository Install of Tomcat has the problem. What I did is as follows.
    1. First I removed the repository Install of all Tomcat packages.
    2. Downloaded the stable tar.gz distribution from Apache website.
    3. Followed Instructions at this Link (states that repository Install of tomcat do not work properly.)
    4. deployed the blazeds war on linux
    5. Started Tomcat and tested http://localhost:8080/blazeds/messagebroker/amf
    It gave me blank screen as expected.
    Hope this helps to someone who stumbles on Ubuntu Linux Blazeds Installation.
    Moderators may put this in FAQ section so that it helps Ubuntu Users.
    Thanks and best Regards
    Raja

    It's not that hard to fix/work around, you just need to add a line in /etc/default/tomcat6, I just made a post about it.
    http://eveliten.se/node/1
    //Snigelkott

  • Install and run blazeds-turnkey-3.2.0-3978 in Tomcat in Linux

    I Installed and ran the blazeds-turnkey-3.2.0-3978 distrubution in Tomcat 5.0.27 with JVM 1.5.0_22 in Window Vista successfully.
    Blazeds, ds-consolo, and samples applications are working fine. I'm not using the Tomcat with Flex Builder. The ds-consolo and samples are
    accessed through http://localhost:8080/ds-consolo and http://localhost:8080/samples. I did not change any of the configuration files
    (service-config.xml, ...) in the distribution package.
    Now I try to Install and run the same blazeds-turnkey-3.2.0-3978 distrubution in the same  Tomcat 5.0.27 with JVM 1.5.0_22 in a remote Linux server.
    I changed the configuration files as following:
    For blazeds application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port} to xyz.com   (xyz.com is the domain name, and we use default port 80)
    {context-root} to blazeds
    For ds-consolo application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port} to xyz.com   (xyz.com is the domain name,  and we use default port 80)
    {context-root} to ds-consolo
    For samples application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port} to xyz.com   (xyz.com is the domain name,  and we use default port 80)
    {context-root} to samples
    It seems they were all deployed to the Tomcat OK, but when I tried to run the ds-consolo and samples apps, I got
    errors. Did I set the parameters, especially {context-root}, correctly? Am I missing anything?

    I Installed and ran the blazeds-turnkey-3.2.0-3978 distrubution in Tomcat 5.0.27 with JVM 1.5.0_22 in Window Vista successfully.
    Blazeds, ds-consolo, and samples applications are working fine. I'm not using the Tomcat with Flex Builder. The ds-consolo and samples are
    accessed through http://localhost:8080/ds-consolo and http://localhost:8080/samples. I did not change any of the configuration files
    (service-config.xml, ...) in the distribution package.
    Now I try to Install and run the same blazeds-turnkey-3.2.0-3978 distrubution in the same  Tomcat 5.0.27 with JVM 1.5.0_22 in a remote Linux server.
    I changed the configuration files as following:
    For blazeds application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port} to xyz.com   (xyz.com is the domain name, and we use default port 80)
    {context-root} to blazeds
    For ds-consolo application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port} to xyz.com   (xyz.com is the domain name,  and we use default port 80)
    {context-root} to ds-consolo
    For samples application, I changed the parameters in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port} to xyz.com   (xyz.com is the domain name,  and we use default port 80)
    {context-root} to samples
    It seems they were all deployed to the Tomcat OK, but when I tried to run the ds-consolo and samples apps, I got
    errors. Did I set the parameters, especially {context-root}, correctly? Am I missing anything?

  • Install and run blazeds-turnkey-3.2.0-3978 in Tomcat on Linux

    I Installed and ran the  blazeds-turnkey-3.2.0-3978 distrubution in Tomcat 5.0.27 with JVM  1.5.0_22 in my laptop (Window Vista Pro) successfully.
    Blazeds, ds-consolo, and  samples applications are working fine. I'm not using  Flex Builder for this. The ds-consolo and samples are
    accessed  through http://localhost:8080/ds-consolo and http://localhost:8080/samples.  I did not change any of the configuration files
    (service-config.xml,  ...) in the distribution package.
    Now I try to Install and run the same  blazeds-turnkey-3.2.0-3978 distrubution with the same Tomcat 5.0.27 with  JVM 1.5.0_22 in a remote Linux server.
    I changed the configuration  files as following:
    For blazeds application, I changed the parameters in all  the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port}  to xyz.com   (xyz.com is the domain name, and we use default port 80).
    {context-root}  to blazeds
    For ds-consolo application, I changed the  parameters in all the configuration files under WEB-INF/flex in  following way:
    {server.name}:{server:port} to xyz.com   (xyz.com  is the domain name,  and we use default port 80).
    {context-root} to  ds-consolo
    For samples application, I changed the parameters  in all the configuration files under WEB-INF/flex in following way:
    {server.name}:{server:port}  to xyz.com   (xyz.com is the domain name,  and we use default port 80).
    {context-root}  to samples
    It seems they were all deployed to the Tomcat OK,  but when I tried to run the ds-consolo and samples apps, I got
    errors.  Did I set the parameters in the configuration files, especially {context-root}, correctly? Am I  missing anything?

    If it is caused by a wrong port, I should get an error message or timeout.
    This is the services-config.xml file I'm using for Blazeds app
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service-include file-path="remoting-config.xml" />
            <service-include file-path="proxy-config.xml" />
            <service-include file-path="messaging-config.xml" />       
        </services>
        <security>
            <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>
        </security>
        <channels>
            <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint url="http://infody.com/blazeds/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
            </channel-definition>
            <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
                <endpoint url="https://xyz.com/blazeds/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
                <properties>
                    <add-no-cache-headers>false</add-no-cache-headers>
                </properties>
            </channel-definition>
            <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint url="http://xyz.com/blazeds/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
                <properties>
                    <polling-enabled>true</polling-enabled>
                    <polling-interval-seconds>4</polling-interval-seconds>
                </properties>
            </channel-definition>
        </channels>
        <logging>
            <target class="flex.messaging.log.ConsoleTarget" level="Error">
                <properties>
                    <prefix>[BlazeDS] </prefix>
                    <includeDate>false</includeDate>
                    <includeTime>false</includeTime>
                    <includeLevel>false</includeLevel>
                    <includeCategory>false</includeCategory>
                </properties>
                <filters>
                    <pattern>Endpoint.*</pattern>
                    <pattern>Service.*</pattern>
                    <pattern>Configuration</pattern>
                </filters>
            </target>
        </logging>
        <system>
            <redeploy>
                <enabled>false</enabled>
            </redeploy>
        </system>
    </services-config>
    There is no url or port settings in the other three Blazeds configuration xml file: remoting-config.xml, proxy-config.xml, messaging-config.xml
    Here is the services-config.xml file for ds-console app:
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <!--
                    REMOTING SERVICE
            -->
            <service id="remoting-service" class="flex.messaging.services.RemotingService">
                <adapters>
                    <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
                </adapters>
                <!-- Runtime management console destination -->
                <destination id="RuntimeManagement" channels="amf">
                    <properties>
                        <source>flex.management.jmx.MBeanServerGateway</source>
                    </properties>
                </destination>
            </service>
        </services>
            <security>
                <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>              
            </security>
        <channels>
            <channel-definition id="amf" class="mx.messaging.channels.AMFChannel">
                <endpoint url="http://xyz.com/ds-console/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
                <properties>
                    <polling-enabled>false</polling-enabled>
                </properties>
            </channel-definition>
        </channels>
        <logging>
            <!-- You may also use flex.messaging.log.ServletLogTarget -->
            <target class="flex.messaging.log.ConsoleTarget" level="Error">
                <properties>
                    <prefix>[BlazeDS] </prefix>
                    <includeDate>false</includeDate>
                    <includeTime>false</includeTime>
                    <includeLevel>true</includeLevel>
                    <includeCategory>true</includeCategory>
                </properties>
                <filters>
                    <pattern>Endpoint.*</pattern>
                </filters>
            </target>
        </logging>
        <system>
            <redeploy>
                <enabled>true</enabled>
                <watch-interval>20</watch-interval>
                <watch-file>ds-console/WEB-INF/flex/services-config.xml</watch-file>
                <touch-file>ds-console/WEB-INF/web.xml</touch-file>
            </redeploy>
        </system>
    </services-config>

  • Problems on installing BlazeDS on GoDaddy's shared Linux web hosting server

    GoDaddy's shared Linux hosting supports Tomcat (V 5.0.27 on JVM 1.5.0_22).
    I installed BlazeDS v3.2.0.3978 on the same Tomcat (5.0.27) with the same JVM (1.5.0_22) in my Laptop and it works fine. I created a
    simple Java testing class and put it in BlazeDS war file. I deployed the BlazeDS war file in the local Tomcat. I created a testing MXML file with the RemoteObject to access the Java class using localhost as the URL. Everything works fine.
    Now I deployed the same BlazeDS war file with a different WEB-INF/Flex/services-conf.xml (differnet host name) in the Tomcat in GoDaddy
    and using the same MXML file with the services-config.xml pointing to the URL hosted by GoDaddy. I got a long error message.
    It was too long and out of the screen and I can only see the middle part of it as following:
    initialDestinationId = (null)
              messageAgents = (Array)#9
                [0] (mx.rpc::AsyncRequest)#10
                  authenticated = false
                  autoConnect = true
                  channelSet = (mx.messaging::ChannelSet)#6
                  clientId = (null)
                  connected = false
                  defaultHeaders = (null)
                  destination = "blazeds-tester"
                  id = "FA03C06F-D7F6-2CED-58F9-975C1FCE94A4"
                  reconnectAttempts = 0
                  reconnectInterval = 0
                  requestTimeout = -1
                  subtopic = ""
          connected = false
          connectTimeout = -1
          enableSmallMessages = true
          endpoint = "http://xyz.com/blazeds/messagebroker/amf"
          failoverURIs = (Array)#11
          id = "my-amf"
          mpiEnabled = false
          netConnection = (flash.net::NetConnection)#12
            client = (mx.messaging.channels::AMFChannel)#4
            connected = false
            objectEncoding = 3
            proxyType = "none"
            uri = "http://xyz.com/blazeds/messagebroker/amf"
          piggybackingEnabled = false
          polling = false
          pollingEnabled = true
          pollingInterval = 3000
          protocol = "http"
          reconnecting = false
          recordMessageSizes = false
          recordMessageTimes = false
          requestTimeout = -1
          uri = "http://xyz.com/blazeds/messagebro
    It seems that the BlazeDS was not running in Tomcat at GoDaddy because I got a similar error when I shutted down the local Tomcat running
    in my laptop and have the MXML file to call the localhost Tomcat's BlazeDS:
    (mx.messaging.channels::AMFChannel)#4
              initialDestinationId = (null)
              messageAgents = (Array)#9
                [0] (mx.rpc::AsyncRequest)#10
                  authenticated = false
                  autoConnect = true
                  channelSet = (mx.messaging::ChannelSet)#6
                  clientId = (null)
                  connected = false
                  defaultHeaders = (null)
                  destination = "blazeds-tester"
                  id = "CE8C6CE6-5448-C6A2-2E04-9768F9E6C04C"
                  reconnectAttempts = 0
                  reconnectInterval = 0
                  requestTimeout = -1
                  subtopic = ""
          connected = false
          connectTimeout = -1
          enableSmallMessages = true
          endpoint = "http://localhost:8080/blazeds/messagebroker/amf"
          failoverURIs = (Array)#11
          id = "my-amf"
          mpiEnabled = false
          netConnection = (flash.net::NetConnection)#12
            client = (mx.messaging.channels::AMFChannel)#4
            connected = false
            objectEncoding = 3
            proxyType = "none"
            uri = "http://localhost:8080/blazeds/messagebroker/amf"
          piggybackingEnabled = false
          polling = false
          pollingEnabled = true
          pollingInterval = 3000
          protocol = "http"
          reconnecting = false
    Any suggestions? Has anyone successfully deployed and run BlazeDS in the Tomcat in GoDaddy's shared Linux web server?

    Do you get any error messages on the Tomcat logs when the app is started?
    Johnking08 wrote:
     I created a simple Java testing class and put it in BlazeDS war file.
    What do you mean by this? Have you deployed the blazeds.war and your own war file to the server or did you somehow put your code inside the blazeds.war?

  • I can't get Flashbuilder 4.6 to connect to remote Linux server on port 80

    I'm using Flashbuilder 4.6 on a Mac (Snow Leopard). I have a new CentOS 6.2 Linux server with Apache webserver 2.2.21 on it, then installed GlassFish 3.1.1 application server on it, then installed mod_jk to connect Apache and Glassfish. Everything is installed on the same server. I verified that I can deploy an example war file (web application) in Glassfish and access it fine using either,
        mydomain.com:8080/mywebapp  (uses port 8080, which is direct connection to GlassFish)
        mydomain.com/mywebapp   (uses port 80, which enters Apache and passes through mod_jk to get to Glassfish)
    This works well (no errors in any logs files).
    Then I download BlazeDS from Adobe website, create a hello world application with it and deploy it in GlassFish. I next try to setup a new Flex Project in Flashbuilder 4.5. Using the wizard, I come to the section (under Server location) where I need to input a Root Folder and Root URL. Everything works fine when using a Root URL of http://mydomain.com:8080/mywebapp, meaning, I can click on the Validate Configuration button and Flashbuilder connects to the server.
    But if I enter in the Root URL input field http://mydomain.com/mywebapp, then Flashbuilder cannot connect to the server. I need to eventually close port 8080, so I need this solution, which uses port 80, to work.
    I made sure that the httpd.conf file VirtualHost section does include a `JkMount /mywebapp worker1` statement, and I can even look at the mod_jk.log file and see that Apache correctly opens a socket for mod_jk to communicate via AJP between Apache and GlassFish (with no errors or warnings) when the address `mydomain.com/mywebapp` appears on port 80. The GlassFish server.log file also shows no problems.
    I'm stumped what to do next. Does anyone have experience connecting GlassFish, mod_jk, Apache, and Blazeds (or LCDS, should be similar)? If so, do you see any differences in my setup compared to yours? I'm only trying to use RemoteObject (not messaging, or streaming, etc.) with Java POJOs.

    Hi!
    Thanks for the reply. No, my ISP isn't providing me with three IP addresses, just one static address. And the VDSL modem...not a router, but beyond that, don't know much about it. Do have a switching hub, however, a gigabit thing that so far is working great.
    Managed, somehow, to get everything working, however. Really don't know what I did. But I can now take the MBP off the wire and connect to the other Macs without turning on Airpot on those machines. Next step now is to take the MBP to another location and try to establish a connection to the home network via Desktop Transporter or Vine. That's the Holy Grail that will allow me to sever the cords that keep me from straying too far from home during working hours. Love to sit at that coffee shop across the park and do my work from there!

  • Intermittent problem in Coldfusion 9, BlazeDS with Java Service class and CFCProxy

    If that title doesn't scare you, you might be able to help.
    I believe there is a bug in Coldfusion 9's version of CFCProxy.
    Tech Stack:
    Flex Application
    BlazeDS (stock with CF9)
    Java Service class (java-amf BlazeDS endpoint)
    Coldfusion business tier, invoked by the Java Service class using CFCProxy
    Tomcat 6 on Java 1.6
    Linux or Windows servers, both exhibit same behavior
    SQL Server database
    Problem:
    When Flex calls a Java service method through BlazeDS that invokes a Coldfusion CFC through CFCProxy, and the method called in the Coldfusion CFC includes a large query (10 fields, 1000+ records returned), we intermittently (1 out of ~5 times) receive the following exception:
    java.lang.NullPointerException
        at coldfusion.runtime.NeoPageContext.popBody(NeoPageContext.java:1925)
        at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:57)
        at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
        at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
        at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
        at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
        at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
        at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
        at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:437)
        at coldfusion.cfc.CFCProxyFilter.invoke(CFCProxyFilter.java:56)
        at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381)
        at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
        at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
        at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
        at coldfusion.cfc.CFCProxy.doInvoke(CFCProxy.java:281)
        at coldfusion.cfc.CFCProxy.invoke(CFCProxy.java:193)
        at com.lampo.mapping.service.MapToolWebService.makeCfcProxyCall(MapToolWebService.java:1326)
        at com.lampo.mapping.service.MapToolWebService.getTerritoryList(MapToolWebService.java:609)
        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:597)
        at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)
        at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
        at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)
        at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
        at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
        at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
        at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
        at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
        at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)
        at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
        at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
        at coldfusion.flex.ColdfusionMessageBrokerServlet.service(ColdfusionMessageBrokerServlet.jav a:114)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at coldfusion.filter.FlashRequestControlFilter.doFilter(FlashRequestControlFilter.java:71)
        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:662)
    Attempts to diagnose:
    These things remove the problem:
    CF8 works perfectly with the identical code, never fails.
    Calling the same Coldfusion CFC method with the large query (10 fields, 1000+ records returned) from another CFC 100+ times never fails.
    Using a Coldfusion service class (a "my-cfamf" BlazeDS endpoint) never fails. However, we need to use a Java service class because we are using ~40 Java value objects (VOs) that correspond to ~40 auto-generated Actionscript VOs. BlazeDS won't correctly deserialize the Actionscript VOs into the Java VOs with a Coldfusion service class.
    If I replace the large query with a Sleep(5000) instead, it never fails.
    These things don't remove the problem:
    Using the latest Microsoft JDBC driver doesn't help.
    Even if the Coldfusion method returns an empty resultset (i.e., just calls the query and doesn't do any other work or return anything), the call still fails intermittently.
    If the Coldfusion CFC with the method in question is instantiated and stored in SERVER scope as a singleton across multiple requests with CFCProxy, doesn't help.
    Different large (1000+ record queries) all fail in the same way.
    Caching the query doesn't help
    Changes in the datasource configuration doesn't help
    Using the older version of BlazeDS doesn't help
    With all of these tests, I believe it comes down to a problem in the combination between CFCProxy and large queries. There may be more to it, but that is what we've narrowed it down to.
    Any insight would be very welcome.

    Hi Frank
    The page is ADF bound, I've added the page source and the adfc-config source below :
    Page
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:commandButton text="commandButton 1" id="cb1"
                              actionListener="#{test.testws}"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>adfc-config
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <view id="view1">
        <page>/view1.jspx</page>
      </view>
      <managed-bean id="__4">
        <managed-bean-name id="__3">test</managed-bean-name>
        <managed-bean-class id="__2">ch.mit.test.test</managed-bean-class>
        <managed-bean-scope id="__1">request</managed-bean-scope>
      </managed-bean>
    </adfc-config>It seems to be the same sort of problem as in Re: Error in ADF Web Service Connection
    Regards
    Paul

  • Channel fault after ~ 30 seconds on linux -works fine on windows

    Hi,
      I am having a Adobe AIR application with BlazeDS on Linux. Remote Objects are used to perform the business logic. The remote object also creates a RMI client object and communicates with the RMI server which performs some DB operations.
    After approximately 30 seconds the AMF channel disconnects with a Fault while the backend is still working. The AMF is simple AMF with id my-amf.
    I have tried setting the requestTimeout=0 and also -1 on the remote objects, but the result is same.
    Please find errors and the channel definitions pasted below.
    Any help is much appreciated.
    Thanks in advance.
    Regards,
    Latha
    Channel definition
    <channels>
    remoting-config.xml
    Here is the log extract
    ToolAccessMngr.invokeToolMethod: Inside invokeToolMethod
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer sending message ‘6F042089-0286-EE50-0244-4C5D8E70178F’
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer connected.
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer acknowledge of ‘6F042089-0286-EE50-0244-4C5D8E70178F’.
    warning: unable to bind to property ‘toolGroup’ on class ‘Object’ (class is not an IEventDispatcher)
    warning: unable to bind to property ‘toolGroup’ on class ‘Object’ (class is not an IEventDispatcher)
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer set destination to ‘ToolAccessMngr’.
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer sending message ‘AEA0904A-8C56-D9BE-0A82-4C5E0F41C94E’
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer connected.
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer sending message ‘F03B8162-A1B3-2376-4763-4C5E0F4EB11A’
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer acknowledge of ‘AEA0904A-8C56-D9BE-0A82-4C5E0F41C94E’.
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer acknowledge of ‘F03B8162-A1B3-2376-4763-4C5E0F4EB11A’.
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer sending message ‘E48F33FF-38C7-8A6F-C67B-4C5E97FEFE56′
    ‘CF0DE17F-AB7F-E863-4537-4C5C61C36744′ producer channel faulted with Channel.Call.Failed NetConnection.Call.Failed: HTTP: Failed
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer channel faulted with Channel.Call.Failed NetConnection.Call.Failed: HTTP: Failed
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer channel faulted with Channel.Call.Failed NetConnection.Call.Failed: HTTP: Failed
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer fault for ‘E48F33FF-38C7-8A6F-C67B-4C5E97FEFE56′.
    [ChannelFaultEvent faultCode="Channel.Call.Failed" faultString="error" faultDetail="NetConnection.Call.Failed: HTTP: Failed" channelId="my-amf" type="channelFault" bubbles=false cancelable=false eventPhase=2]
    [ChannelFaultEvent faultCode="Channel.Call.Failed" faultString="error" faultDetail="NetConnection.Call.Failed: HTTP: Failed" channelId="my-amf" type="channelFault" bubbles=false cancelable=false eventPhase=2]
    NetConnection.Call.Failed: HTTP: Failed
    NetConnection.Call.Failed: HTTP: Failed
    ToolAccessMngr.invokeToolMethod: Inside invokeToolMethod
    ToolAccessMngr.invokeToolMethod: Inside invokeToolMethod
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer sending message ‘8C4F889F-A2C9-0DC8-C43B-4C5F15892BD8′
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer sending message ‘8C4F889F-A2C9-0DC8-C43B-4C5F15892BD8′
    ‘my-amf’ channel sending message:
    (mx.messaging.messages::RemotingMessage)#0
    body = (Array)#1
    clientId = “9E706DC1-2D0E-B462-81B5-51DE23E8F796″
    destination = “ToolAccessMngr”
    headers = (Object)#2
    messageId = “8C4F889F-A2C9-0DC8-C43B-4C5F15892BD8″
    operation = “returnToolDetails”
    source = (null)
    timestamp = 0
    timeToLive = 0
    ‘my-amf’ channel polling stopped.
    ‘my-amf’ channel polling stopped.
    ‘my-amf’ channel disconnected.
    ‘my-amf’ channel disconnected.
    ‘my-amf’ channel has exhausted failover options and has reset to its primary endpoint.
    ‘my-amf’ channel has exhausted failover options and has reset to its primary endpoint.
    ‘my-amf’ channel endpoint set to http://localhost:8080/proj/messagebroker/amf
    ‘my-amf’ channel endpoint set to http://localhost:8080/proj/messagebroker/amf
    ‘CF0DE17F-AB7F-E863-4537-4C5C61C36744′ producer channel disconnected.
    ‘CF0DE17F-AB7F-E863-4537-4C5C61C36744′ producer channel disconnected.
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer channel disconnected.
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer channel disconnected.
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer channel disconnected.
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer channel disconnected.
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer fault for ‘8C4F889F-A2C9-0DC8-C43B-4C5F15892BD8′.
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer fault for ‘8C4F889F-A2C9-0DC8-C43B-4C5F15892BD8′.
    <destination id="updateToolDetails">
    <properties>
    <source>com.amat.raadmin.ui.service.ToolAccessManagement</source>
    <scope>application</scope>
    </properties>
    </destination>
    <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
    <endpoint url="http://localhost:8080/proj/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
    <properties>
    <add-no-cache-headers>false</add-no-cache-headers>
    <polling-enabled>false</polling-enabled>
    </properties>
    </channel-definition>
    <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
    <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
    <properties>
    <add-no-cache-headers>false</add-no-cache-headers>
    </properties>
    </channel-definition>
    <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel">
    <endpoint url="http://localhost:8080/proj /messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
    <properties>
    <polling-enabled>true</polling-enabled>
    <polling-interval-seconds>4</polling-interval-seconds>
    </properties>
    </channel-definition>

    Hi,
      I am having a Adobe AIR application with BlazeDS on Linux. Remote Objects are used to perform the business logic. The remote object also creates a RMI client object and communicates with the RMI server which performs some DB operations.
    After approximately 30 seconds the AMF channel disconnects with a Fault while the backend is still working. The AMF is simple AMF with id my-amf.
    I have tried setting the requestTimeout=0 and also -1 on the remote objects, but the result is same.
    Please find errors and the channel definitions pasted below.
    Any help is much appreciated.
    Thanks in advance.
    Regards,
    Latha
    Channel definition
    <channels>
    remoting-config.xml
    Here is the log extract
    ToolAccessMngr.invokeToolMethod: Inside invokeToolMethod
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer sending message ‘6F042089-0286-EE50-0244-4C5D8E70178F’
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer connected.
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer acknowledge of ‘6F042089-0286-EE50-0244-4C5D8E70178F’.
    warning: unable to bind to property ‘toolGroup’ on class ‘Object’ (class is not an IEventDispatcher)
    warning: unable to bind to property ‘toolGroup’ on class ‘Object’ (class is not an IEventDispatcher)
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer set destination to ‘ToolAccessMngr’.
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer sending message ‘AEA0904A-8C56-D9BE-0A82-4C5E0F41C94E’
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer connected.
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer sending message ‘F03B8162-A1B3-2376-4763-4C5E0F4EB11A’
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer acknowledge of ‘AEA0904A-8C56-D9BE-0A82-4C5E0F41C94E’.
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer acknowledge of ‘F03B8162-A1B3-2376-4763-4C5E0F4EB11A’.
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer sending message ‘E48F33FF-38C7-8A6F-C67B-4C5E97FEFE56′
    ‘CF0DE17F-AB7F-E863-4537-4C5C61C36744′ producer channel faulted with Channel.Call.Failed NetConnection.Call.Failed: HTTP: Failed
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer channel faulted with Channel.Call.Failed NetConnection.Call.Failed: HTTP: Failed
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer channel faulted with Channel.Call.Failed NetConnection.Call.Failed: HTTP: Failed
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer fault for ‘E48F33FF-38C7-8A6F-C67B-4C5E97FEFE56′.
    [ChannelFaultEvent faultCode="Channel.Call.Failed" faultString="error" faultDetail="NetConnection.Call.Failed: HTTP: Failed" channelId="my-amf" type="channelFault" bubbles=false cancelable=false eventPhase=2]
    [ChannelFaultEvent faultCode="Channel.Call.Failed" faultString="error" faultDetail="NetConnection.Call.Failed: HTTP: Failed" channelId="my-amf" type="channelFault" bubbles=false cancelable=false eventPhase=2]
    NetConnection.Call.Failed: HTTP: Failed
    NetConnection.Call.Failed: HTTP: Failed
    ToolAccessMngr.invokeToolMethod: Inside invokeToolMethod
    ToolAccessMngr.invokeToolMethod: Inside invokeToolMethod
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer sending message ‘8C4F889F-A2C9-0DC8-C43B-4C5F15892BD8′
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer sending message ‘8C4F889F-A2C9-0DC8-C43B-4C5F15892BD8′
    ‘my-amf’ channel sending message:
    (mx.messaging.messages::RemotingMessage)#0
    body = (Array)#1
    clientId = “9E706DC1-2D0E-B462-81B5-51DE23E8F796″
    destination = “ToolAccessMngr”
    headers = (Object)#2
    messageId = “8C4F889F-A2C9-0DC8-C43B-4C5F15892BD8″
    operation = “returnToolDetails”
    source = (null)
    timestamp = 0
    timeToLive = 0
    ‘my-amf’ channel polling stopped.
    ‘my-amf’ channel polling stopped.
    ‘my-amf’ channel disconnected.
    ‘my-amf’ channel disconnected.
    ‘my-amf’ channel has exhausted failover options and has reset to its primary endpoint.
    ‘my-amf’ channel has exhausted failover options and has reset to its primary endpoint.
    ‘my-amf’ channel endpoint set to http://localhost:8080/proj/messagebroker/amf
    ‘my-amf’ channel endpoint set to http://localhost:8080/proj/messagebroker/amf
    ‘CF0DE17F-AB7F-E863-4537-4C5C61C36744′ producer channel disconnected.
    ‘CF0DE17F-AB7F-E863-4537-4C5C61C36744′ producer channel disconnected.
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer channel disconnected.
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer channel disconnected.
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer channel disconnected.
    ‘DA76AE26-93A4-F6EA-57C7-4C5E0D1EB1FF’ producer channel disconnected.
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer fault for ‘8C4F889F-A2C9-0DC8-C43B-4C5F15892BD8′.
    ‘8AFA707B-08A2-CA64-E772-4C5D7AE7D89A’ producer fault for ‘8C4F889F-A2C9-0DC8-C43B-4C5F15892BD8′.
    <destination id="updateToolDetails">
    <properties>
    <source>com.amat.raadmin.ui.service.ToolAccessManagement</source>
    <scope>application</scope>
    </properties>
    </destination>
    <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
    <endpoint url="http://localhost:8080/proj/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
    <properties>
    <add-no-cache-headers>false</add-no-cache-headers>
    <polling-enabled>false</polling-enabled>
    </properties>
    </channel-definition>
    <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
    <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
    <properties>
    <add-no-cache-headers>false</add-no-cache-headers>
    </properties>
    </channel-definition>
    <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel">
    <endpoint url="http://localhost:8080/proj /messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
    <properties>
    <polling-enabled>true</polling-enabled>
    <polling-interval-seconds>4</polling-interval-seconds>
    </properties>
    </channel-definition>

  • Can't compile  blazeds_src_3-0-0-544.zip on Linux

    Hello,
    I'm unable to compile BlazeDS from source on my Ubuntu Linux computer.
    $ant -lib ../ant-contrib-1.0b2/ant-contrib-1.0b2.jar main
    The build process ends with the following error
    prepare:
    [mkdir] Created dir: /home/sgr/Software/java/blazeds/apps/ds-console/WEB-INF/lib
    [mkdir] Created dir: /home/sgr/Software/java/blazeds/apps/ds-console/WEB-INF/classes
    run-depend:
    [echo] Removing class files that changed and dependent class files.
    copy-resources:
    [copy] Copying 10 files to /home/sgr/Software/java/blazeds/apps/ds-console/WEB-INF/lib
    [copy] Copying 1 file to /home/sgr/Software/java/blazeds/apps/ds-console/WEB-INF/classes
    compile:
    compile-swf:
    BUILD FAILED
    /home/sgr/Software/java/blazeds/build.xml:103: The following error occurred while executing this line:
    /home/sgr/Software/java/blazeds/apps/ds-console/build.xml:97: Unable to run mxmlc: Cannot run program "/home/sgr/Software/java/blazeds/bin/mxmlc": java.io.IOException: error=13, Permission denied

    Adding execute permissions to the mxmlc executable should work.
    Also, there is an existing BlazeDS bug tracking non-windows build issues: http://bugs.adobe.com/jira/browse/BLZ-68
    You can add your issue to the comments section of this bug. You can also vote for it, which will increase its probability of getting fixed earlier.
    HTH
    Kumaran

  • Autodeploy of blazeds failure on weblogic11g

    Hi,
    I copied the blazeds.war, ds-console.war, and samples.war to the autodeploy directory and all three got this kind of error.  Weblogic 11g is really 10.3.4.  Does anyone have any clues.  This is a brand new weblogic installation with no other installs.
    Weblogic is installed on a Redhat Linux E3 edition.
    -Denis
    ####<Feb 27, 2011 8:17:57 PM EST> <Error> <Deployer> <freedom.dynalias.org> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <62d4e071356f6b67:-79c6ad94:12e69d7ada6:-8000-0000000000000002> <1298855877782> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_blazeds_war'.
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "MessageBrokerServlet" failed to preload on startup in Web application: "blazeds.war".
    flex.management.ManagementException: MBeanServerLocator 'flex.management.WebSphereMBeanServerLocator' failed to retrieve MBeanServer.
        at flex.management.WebSphereMBeanServerLocator.getMBeanServer(WebSphereMBeanServerLocator.ja va:78)
        at flex.management.BaseControl.register(BaseControl.java:186)
        at flex.management.runtime.AdminConsoleDisplayRegistrar.<init>(AdminConsoleDisplayRegistrar. java:40)
        at flex.management.runtime.messaging.MessageBrokerControl.<init>(MessageBrokerControl.java:8 3)
        at flex.messaging.MessageBroker.<init>(MessageBroker.java:194)
        at flex.messaging.MessageBroker.<init>(MessageBroker.java:164)
        at flex.messaging.MessageBroker.<init>(MessageBroker.java:158)

    Be sure to consider how the session cookies are assigned. If they're to
    the domain as a whole, or even the web application context, then just
    because you create two channels with different path info, the two
    channels to the same domain may both send the same session cookie.
    From: Nicola Muneratto [mailto:[email protected]]
    Sent: Sunday, July 20, 2008 8:09 AM
    To: [email protected]
    Subject: Re: BlazeDS authentication with RemoteObject endpoints
    A new message was posted by Nicola Muneratto in
    Configuration and Getting Started Discussion --
    BlazeDS authentication with RemoteObject endpoints
    Hi Mete, thank you for your quick reply!
    I verified that my RemoteObject doesn't share the same authenticated
    channel and it seamlessy calls the remote methods ..
    I'm going to do some tests next couple of days and i'll let you know .
    Thank you again for your kindness.
    Bye
    View/reply at BlazeDS authentication with RemoteObject endpoints
    Replies by email are OK.
    Use the unsubscribe
    form
    to cancel your email subscription.

  • BlazeDS "Configure return type" not working with Hibernate lazy fetching

    I am using the new BlazeDS 4 with Flash Builder 4.
    Backend configuration: Spring 3.0 + Spring-BlazeDS 1.0.3 + Hibernate 3.5
    I have successfully configured my Spring-BlazeDS project based on this excellent video tutorial by James Ward.
    The problem:
    While trying to use the "Configure return type" option for one of my service calls, or the "Test operation" option, I get the following exception thrown:
    InvocationTargetException:There was an error while  invoking the operation. Check your server settings and try invoking the  operation again.
    Reason: Server error failed to lazily initialize a  collection of role:  com.xyz.product.domain.MyEntityClass.myLazyCollection, no  session or session was closed null
    I am well aware of lazy loading issues and configured Gilead to handle this, hopefully with success although I cannot indicate this for sure yet.
    However - in this case, i'm not certain it's even related to Gilead, because this is happening on server side and not on client as far as I understand so Gilead isn't playing its role in removing the proxy associations. BlazeDS however is trying to fully inspect whatever object graph it gets, and appearantly does that outside of a persistence session scope, hence the LazyInitializationException.
    Is this a BlazeDS bug? Can BlazeDS do the objects inspection within a provided open persistence context session to avoid this?
    See also stacktrace from server:
    1327066 [tomcat-http--32] ERROR org.hibernate.LazyInitializationException - failed to lazily initialize a collection of role: com.xyz.product.domain.MyEntityClass.myLazyCollection, no session or session was closed
    org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.xyz.product.domain.MyEntityClass.myLazyCollection, no session or session was closed
        at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(Ab stractPersistentCollection.java:380)
        at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfN otConnected(AbstractPersistentCollection.java:372)
        at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollec tion.java:365)
        at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.j ava:108)
        at org.hibernate.collection.PersistentBag.toArray(PersistentBag.java:280)
        at java.util.ArrayList.<init>(ArrayList.java:131)
        at flex.messaging.io.ArrayCollection.<init>(ArrayCollection.java:44)
        at flex.messaging.io.amf.Amf3Output.writeArrayCollection(Amf3Output.java:455)
        at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:175)
        at flex.messaging.io.amf.Java15Amf3Output.writeObject(Java15Amf3Output.java:26)
        at flex.messaging.io.amf.Amf3Output.writeObjectProperty(Amf3Output.java:243)
        at flex.messaging.io.amf.Amf3Output.writePropertyProxy(Amf3Output.java:566)
        at flex.messaging.io.amf.Amf3Output.writeCustomObject(Amf3Output.java:518)
        at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:193)
        at flex.messaging.io.amf.Java15Amf3Output.writeObject(Java15Amf3Output.java:26)
        at flex.messaging.io.amf.Amf3Output.writeObjectArray(Amf3Output.java:817)
        at flex.messaging.io.amf.Amf3Output.writeAMFArray(Amf3Output.java:431)
        at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:179)
        at flex.messaging.io.amf.Java15Amf3Output.writeObject(Java15Amf3Output.java:26)
        at flex.messaging.io.ArrayCollection.writeExternal(ArrayCollection.java:97)
        at flex.messaging.io.amf.Amf3Output.writePropertyProxy(Amf3Output.java:556)
        at flex.messaging.io.amf.Amf3Output.writeArrayCollection(Amf3Output.java:462)
        at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:175)
        at flex.messaging.io.amf.Java15Amf3Output.writeObject(Java15Amf3Output.java:26)
        at flex.messaging.io.amf.Amf3Output.writeObjectProperty(Amf3Output.java:243)
        at flex.messaging.io.amf.Amf3Output.writePropertyProxy(Amf3Output.java:566)
        at flex.messaging.io.amf.Amf3Output.writeCustomObject(Amf3Output.java:518)
        at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:193)
        at flex.messaging.io.amf.Java15Amf3Output.writeObject(Java15Amf3Output.java:26)
        at flex.messaging.io.amf.Amf3Output.writeObjectProperty(Amf3Output.java:243)
        at flex.messaging.io.amf.Amf3Output.writePropertyProxy(Amf3Output.java:566)
        at flex.messaging.io.amf.Amf3Output.writeCustomObject(Amf3Output.java:518)
        at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:193)
        at flex.messaging.io.amf.Java15Amf3Output.writeObject(Java15Amf3Output.java:26)
        at flex.messaging.io.amf.Amf0Output.writeObject(Amf0Output.java:193)
        at flex.messaging.io.amf.Java15Amf0Output.writeObject(Java15Amf0Output.java:41)
        at flex.messaging.io.amf.AmfMessageSerializer.writeObject(AmfMessageSerializer.java:196)
        at flex.messaging.io.amf.AmfMessageSerializer.writeBody(AmfMessageSerializer.java:186)
        at flex.messaging.io.amf.AmfMessageSerializer.writeMessage(AmfMessageSerializer.java:142)
        at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:179)
        at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:274)
        at flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$$c487cc23.service(<generated>)
        at org.springframework.flex.servlet.MessageBrokerHandlerAdapter.handle(MessageBrokerHandlerA dapter.java:101)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644 )
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:343)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(Filter SecurityInterceptor.java:109)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(Filt erSecurityInterceptor.java:83)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTran slationFilter.java:97)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManageme ntFilter.java:100)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(An onymousAuthenticationFilter.java:78)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFil ter(SecurityContextHolderAwareRequestFilter.java:54)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCac heAwareFilter.java:35)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.do Filter(AbstractAuthenticationProcessingFilter.java:188)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter .java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(Securi tyContextPersistenceFilter.java:79)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy .java:237)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java: 167)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at com.springsource.metrics.collection.web.HttpRequestMetricCollectionValve.invoke(HttpReque stMetricCollectionValve.java:44)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:583)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:379)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
    [BlazeDS] Exception occurred during serialization: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.xyz.product.domain.MyEntityClass.myLazyCollection, no session or session was closed
        at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(Ab stractPersistentCollection.java:380)
        at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfN otConnected(AbstractPersistentCollection.java:372)
        at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollec tion.java:365)
        at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.j ava:108)
        at org.hibernate.collection.PersistentBag.toArray(PersistentBag.java:280)
        at java.util.ArrayList.<init>(ArrayList.java:131)
        at flex.messaging.io.ArrayCollection.<init>(ArrayCollection.java:44)
        at flex.messaging.io.amf.Amf3Output.writeArrayCollection(Amf3Output.java:455)
        at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:175)
        at flex.messaging.io.amf.Java15Amf3Output.writeObject(Java15Amf3Output.java:26)
        at flex.messaging.io.amf.Amf3Output.writeObjectProperty(Amf3Output.java:243)
        at flex.messaging.io.amf.Amf3Output.writePropertyProxy(Amf3Output.java:566)
        at flex.messaging.io.amf.Amf3Output.writeCustomObject(Amf3Output.java:518)
        at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:193)
        at flex.messaging.io.amf.Java15Amf3Output.writeObject(Java15Amf3Output.java:26)
        at flex.messaging.io.amf.Amf3Output.writeObjectArray(Amf3Output.java:817)
        at flex.messaging.io.amf.Amf3Output.writeAMFArray(Amf3Output.java:431)
        at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:179)
        at flex.messaging.io.amf.Java15Amf3Output.writeObject(Java15Amf3Output.java:26)
        at flex.messaging.io.ArrayCollection.writeExternal(ArrayCollection.java:97)
        at flex.messaging.io.amf.Amf3Output.writePropertyProxy(Amf3Output.java:556)
        at flex.messaging.io.amf.Amf3Output.writeArrayCollection(Amf3Output.java:462)
        at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:175)
        at flex.messaging.io.amf.Java15Amf3Output.writeObject(Java15Amf3Output.java:26)
        at flex.messaging.io.amf.Amf3Output.writeObjectProperty(Amf3Output.java:243)
        at flex.messaging.io.amf.Amf3Output.writePropertyProxy(Amf3Output.java:566)
        at flex.messaging.io.amf.Amf3Output.writeCustomObject(Amf3Output.java:518)
        at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:193)
        at flex.messaging.io.amf.Java15Amf3Output.writeObject(Java15Amf3Output.java:26)
        at flex.messaging.io.amf.Amf3Output.writeObjectProperty(Amf3Output.java:243)
        at flex.messaging.io.amf.Amf3Output.writePropertyProxy(Amf3Output.java:566)
        at flex.messaging.io.amf.Amf3Output.writeCustomObject(Amf3Output.java:518)
        at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:193)
        at flex.messaging.io.amf.Java15Amf3Output.writeObject(Java15Amf3Output.java:26)
        at flex.messaging.io.amf.Amf0Output.writeObject(Amf0Output.java:193)
        at flex.messaging.io.amf.Java15Amf0Output.writeObject(Java15Amf0Output.java:41)
        at flex.messaging.io.amf.AmfMessageSerializer.writeObject(AmfMessageSerializer.java:196)
        at flex.messaging.io.amf.AmfMessageSerializer.writeBody(AmfMessageSerializer.java:186)
        at flex.messaging.io.amf.AmfMessageSerializer.writeMessage(AmfMessageSerializer.java:142)
        at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:179)
        at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:274)
        at flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$$c487cc23.service(<generated>)
        at org.springframework.flex.servlet.MessageBrokerHandlerAdapter.handle(MessageBrokerHandlerA dapter.java:101)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644 )
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:343)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(Filter SecurityInterceptor.java:109)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(Filt erSecurityInterceptor.java:83)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTran slationFilter.java:97)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManageme ntFilter.java:100)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(An onymousAuthenticationFilter.java:78)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFil ter(SecurityContextHolderAwareRequestFilter.java:54)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCac heAwareFilter.java:35)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.do Filter(AbstractAuthenticationProcessingFilter.java:188)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter .java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(Securi tyContextPersistenceFilter.java:79)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChain Proxy.java:355)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy .java:237)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java: 167)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at com.springsource.metrics.collection.web.HttpRequestMetricCollectionValve.invoke(HttpReque stMetricCollectionValve.java:44)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:583)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:379)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

    slacknatcher wrote:
    the parts i had searched on google are specificaly the
    "/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x12): undefined reference to `__libc_csu_fini'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x19): undefined reference to `__libc_csu_init'"
    does anyone have an idea of what could it be?
    notice that this doesn't bother me because if i use the glibc from the repositories everything works fine, this is just for curiosity of why it doesn't work
    thanks in advance
    You have stripped glibc too much.  See the Arch PKGBUILD and make sure your makepkg.conf has STRIP_BINARY etc defined.

  • Ubunto with Tomcat, Jetty or Resin for BlazeDS?

    Tomcat, Jetty or Resin?
    I'm just getting started with BlazeDS and would kindly appreciate anyone's user experiences on the following:
    1. Choice of Linux: Ubuntu?
    2. Choice of Java App Server: Tomcat, Jetty or Resin? (I'm looking most of all for stability with BlazeDS, then Ease of Use for IDE such as NetBeans, and lastly but not least, free open source).
    Also, is MySQL the preferred standard in this case, or is PostgresSQL ?
    Thanks much,
    Robert

    I'm running BlazeDS happily on Ubuntu 9 (Intrepid) with stock Tomcat6. The only 'gotcha' currently is inability to use native Tomcat libs together with SSL - there is a bug in the lib which effectively causes Tomcat to hang on startup. It is already fixed in the next release AFAIK.
    Your choice of SQL server does not really matter as far as BlazeDS is concerned. We use Postgres and I would recommend it for any serious application.

  • Installation problem on Linux?

    Hi ,
    i am installing Oracle Application Sever 10g on RHEL 3.0 or RHEL AS4.0
    for that i have to apply patch3006854 as per installation manuals.
    but after applying this patch linux wont allow me to do anything and gives error
    cannot read from /etc/libcwait.so.
    Thanks
    Sohil

    Hi,
    Try the followings
    - Use the latest JDK
    - Just set your LD_LIBRARY_path     $ORACLE_HOME/lib:/usr/lib
    LD_LIBRARY_path     $ORACLE_HOME/lib:/usr/lib
    allocate your libcwait.so & set the following LD_PRELOAD (the place in which libcwait.so
    is allocated.
    If U do'not find it then
    Execute the following as oracle user
    gcc -O2 -shared -o ~/libcwait.so -fpic -xc - <<\EOF
    #include <errno.h>
    #include <sys/syscall.h>
    #include <sys/types.h>
    #include <sys/wait.h>
    pid_t
    __libc_wait (int *status)
    int res;
    asm volatile ("pushl %%ebx\n\t"
    "movl %2, %%ebx\n\t"
    "movl %1, %%eax\n\t"
    "int $0x80\n\t"
    "popl %%ebx"
    : "=a" (res)
    : "i" (__NR_wait4), "0" (WAIT_ANY), "c" (status), "d" (0),
    "S" (0));
    return res;
    EOF
    export LD_PRELOAD=~/libcwait.so
    Let me know,
    Cheers,
    Hamdy

  • Installation problem on fedora linux

    Hi
    I am trying to install oracle 10g to Fedora Linux.
    When I type ./runInstaller :
    Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-08-21_12-40-12AM/jre/1.4.2/lib/i386/libawt.so:...........................
    Exception in thread main java.lang.NoClassDefFoundError
    Please help me to solve this problem

    Ricardinho,
    try post full error message (or stack trace) because in this case we can only guess...
    Also when you post name of Linux distribution then don't forget post the version.
    Anyway according to partial error message I think there is missing libXp.so.6 library on your OS.
    So execute "yum install libXp" to install required package. Od locate the package on installtion media and install it via "rpm -ivh" command.
    Note: In FC5 and later libXp.so.6 is included in libXp package. In FC4 and older releases you need to install xorg-deprecated-libs package.

  • Installation problem on Linux Slackware 7.1 (Oracle 8i)

    I try install Oracle 8i Enterprise in Linux Slackware 7.1 (kernel 2.2.16), but the runInstaller don't work.
    I read the installation manuals and make all steps, but the runInstaller don't work.
    I get this message:
    ./runInstaller
    The Java RunTime Environment was not found at bin/jre. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.1.8 or higher and try again.
    : No such file or directory
    I try --> ln -s /usr/local/jre118_v3 /usr/local/java
    and --> ln -s /usr/local/jre118_v3 /usr/local/jre
    and put in PATH --> /usr/local/jre/bin
    Nothing work's.
    Somebody can help me ?????
    Thank's ....

    Hello!
    I also tried to install Oracle 8.1.6.1 (after giving up the 8.0.5 installation due to segmentation faults all over..), it also failed.
    After trying to install Oracle 8.1.6.1 on RedHat 7.0 and it still crashed, i sent a mail to some guru that wrote the oracle-how-to document for redhat, here is what he replied.
    My guess is that this also applies to the newest slackware version, because i presume that slackware 7.0 also use the newest glibc libraries;
    Thanks for the feedback.
    Oracle 8.1.6 does not work under Red Hat >Linux 7. Yes, that's the problem
    that I mentioned in the doc--you get to 80% >and the DBCA crashes and the
    Oracle executables die.
    I've heard, but I haven't tried it myself, >that if you install the latest
    glibc errata (2.1.94) then the DBCA >completes but the Oracle executables
    still die. The DBCA problem was apparently >a Java issue that is fixed in
    the errata. But you're still out of luck >since the exes won't work.
    It might appear that this is a problem with >Red Hat Linux 7. But it appears
    that it is a problem with some assumptions >that Oracle made, assumptions
    that worked with glibc 2.1.3 (the C library >included with RHL 6.2) but which
    prove false with later glibc versions. As >other Linux distributions adopt
    the new glibc Oracle will fail to work on >them as well.
    The best advice I can give at this point is >to install and run Oracle on
    Red Hat Linux 6.2. Hopefully Oracle will >address the glibc issues with the
    8.1.7 release.
    ChrisI then installed Orace on RedHat 6.1 and it worked like a dream.
    Maybe you guys should try your luck on an earier version of slackware?
    Hope that helped...
    null

Maybe you are looking for

  • Please let me figure out how to allow windows 7 to see my ipad and for itunes to work.  It is looking for a digital signature!!

    How to get my ipad to sync with windows 7 when itunes does not see it and in device manager it says that it needs a digital signature and when I look at devices it says apple camera not ipad and it's not working. Any ideas?

  • Mapping field to particularly a[2] element in an array of values.

    Hi Experts, The source structure is MT RootNode         Parent(1..unbounded)                  Contact(0..unbounded)                          Phone(0..1)                                Subscriber(0..) I've to map a target node to Parent->Contact(1)->P

  • My iCalendar (MacBook Pro) is frozen

    My iCalendar (MacBook Pro) is frozen along with a portion of something I copied to paste on the calendar. I cannot delete. I performed a Force Quit and Restarted, to no avail. My iphone calendar works fine.

  • User Defined field and User defined values.

    Curently testing this in the demo database before rolling it out to a customer. I added a user defined field to my item master data base called Lengthcm of type Amount. I have created a query: SELECT u_lengthcm = CASE                   WHEN $[oitm.bl

  • Does Photoshop CS4 work on Windows 8?

    Hi, My laptop has crashed and I have purchased one w/ Windows 8 on it. I am getting conflicting info that yes CS4 works on 8 and some Adobe CS say no. I would like to know before I go to the trouble of installing it on my computer. Anyone tried this