BlazeDS + Spring + Transactions: LazyInitializationException

My question is how to specify that a RemoteObject method call should participate in a JPA transaction.
I have Spring + BlazeDS + Hibernate running in Tomcat. I have a remoting destination, call it userService, setup to point to a spring bean. The userService has a "getUsers" method, which is annotated with @Transactional.
Each of the users returned in the list has another collection, properties, that is lazily loaded. Since it is lazily loaded it does not get initialized in the getUsers method call. Instead, it gets initialized when BlazeDS tries to serialize the object. At that point, I get a LazyInitializationException.
I don't want to mark all calls to /messagebroker/ as transactional, nor do i want to initialize all potentially lazy properties of each user object.
What do people recommend? I wonder if there is a way to provide plugin filters for BlazeDS method invocations so that I could write a filter that figured out if a call required a transaction.
Thanks
/r

mido,<br /><br />you've got it and it's tedious.  i have not tried any of the<br />frameworks you've used.  i have found that for the great majority of<br />service calls i can get away with 1 to 3 assemblers.   you could also<br />"configure" your assembler instead of using separate ones.  for<br />example, i could have a property in one assembler that says<br />"getChildren == [boolean]". if true, then it gets the children, if<br />not, then no.<br /><br />it's still a tedious approach and, yes, the limitation with the<br />externalizable interface is the inability to serialize the item in two<br />different ways.<br /><br />unfortunately, i don't have much more to add to it.  one thing i've<br />found, tho, is that I at first don't worry about using the<br />dto/assember approach until i really need to.  it's more important to<br />get into a quick turnaround on the code/compile/test cycle.  then when<br />I run into bottlenecks, like the message and its replies problem, i go<br />ahead and apply the assembler approach.   once you have that assembler<br />solid, however, you might not have to change it much.<br /><br />best of luck.<br /><br />/r<br /><br /><br /><br /><br />On Wed, Jun 11, 2008 at 9:10 AM, mido <[email protected]> wrote:<br />> A new message was posted by mido in<br />><br />> General Discussion --<br />>   BlazeDS + Spring + Transactions: LazyInitializationException<br />><br />> Hi Robert,<br />><br />> It does indeed. Sorry to insist, but I still have few doubts in my mind.<br />> Let's take your getThread service function. This service is defined in your<br />> server side. In it, you assemble all the elements you want (from the<br />> hibernate bean and its children, children's children , etc...), and populate<br />> a MessageDTO bean. This is the object that gets returned to the client.<br />> Then, in the client you consume that bean, via probably a MessageVO that<br />> corresponds to the MessageDTO Bean. The MessageVO gets updated, etc...and<br />> then comes the time to update the server. The MessageVO gets serialized back<br />> to the server in a MessageDTO bean, which then gets de-assembled into your<br />> your hibernate bean/beans which then finally get persisted.<br />> It just sounds tedious to me...For every "view" in your client you have to<br />> create the DTO on the server, the corresponding VO on the client, an<br />> assembler/de-assembler set, a service and edit the config files....<br />><br />> Are you using any framework/code generator/ or did you come up with your own<br />> little framework?<br />><br />> I have researched a bit the web and I found couple of those generators.<br />> These looked interesting and I thought I'd share them in case you haven't<br />> seen them:<br />> - http://www.faratasystems.com/download/daoFlex/welcome.html (looks good)<br />> - http://amfibian.sourceforge.net./?page=home<br />> - http://hibernate4gwt.sourceforge.net/index.html<br />><br />> They are all based on annotations/ant....<br />><br />> For now, what I have been doing is using the externalizable interface and<br />> serializing my objects as I go....but the obvious limitation to that, is<br />> that I can serialize the same object in 2 different ways...to meet two<br />> different services on the client, based on the same hibernate object....so<br />> sooner or later, I will have to jump into the DTO approach....<br />><br />> Cheers,<br />> Thank you again,<br />><br />> ________________________________<br />> View/reply at BlazeDS + Spring + Transactions: LazyInitializationException<br />> Replies by email are OK.<br />> Use the unsubscribe form to cancel your email subscription.<br />><br />><br /><br /><br /><br />-- <br />Robert Cadena<br />CTO, SearchCoders<br />http://www.searchcoders.com/<br />http://www.chatopica.com/<br />skype: searchcoders

Similar Messages

  • Problem in RPC call (flex,blazeds,spring,H2,tomcat,eclipse)

    Hi, I've problem displaying value from backend onto the flex UI. I'm using Flex,BlazeDS, Spring, H2 in my applicaiton (testdrive app).  
    I've basically added another flex project to the testdrive app i downloaded. everything is working fine except the intended rpc invoke. 
    pls find the code snippets for the related change below :  
    1. FlexHelloWorld.mxml 
    private function resultHandler(event:ResultEvent):void 
    //used for debugging - shows details about result 
    //returned by the Java class method 
    Alert.show("success... in flex"); 
    Alert.show( ObjectUtil.toString(event.result) ); 
    <mx:RemoteObject id="ro" destination="helloServiceDestination" result="resultHandler(event)" fault="faultHandler(event)"/> 
    <mx:Panel x="25" y="10" width="653" height="407" layout="vertical" title="Test Flex 3 Using Java" borderColor="#008040" fontFamily="Arial" fontWeight="bold" fontSize="13"> 
    <mx:Text text="Click The Button To Test Getting Data Into Flex From A Java Class" fontWeight="bold" width="250"/> 
      <mx:Button label="Get Hello World Mesg From Java!" click="ro.getHelloWorld()"/> 
    </mx:Panel> 
    2. remoting-config.xml in flex 
    <destination id="helloServiceDestination" channels="my-amf"> 
         <properties> 
             <source>org.springframework.flex.samples.example.HelloWorld</source> 
         </properties> 
      </destination> 
    3. flex-servlet.xml in spring 
    <flex:remoting-destination ref="helloServiceDestination" /> 
    4. app-config.xml in spring 
    <bean id="helloServiceDestination" class="org.springframework.flex.samples.example.HelloWorld">   
      </bean> 
    5. HelloWorld.java 
    package org.springframework.flex.samples.example; 
      * TODO Document HelloWorld 
      * <p /> 
      * @author Vinod.Jayakumar 
    public class HelloWorld { 
    public String getHelloWorld(){ 
         return "HelloFromJava"; 
    expected result : http://localhost:1977/testdrive/FlexHelloWorld.html on click of button in the screen a alert message "HelloFromJava" should be shown but i get the following error message :  
    (mx.rpc::Fault)#0 
       content = (null) 
       errorID = 0 
       faultCode = "InvokeFailed" 
       faultDetail = "Couldn't establish a connection to 'helloServiceDestination'" 
       faultString = "[MessagingError message='Destination 'helloServiceDestination' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']" 
       message = "faultCode:InvokeFailed faultString:'[MessagingError message='Destination 'helloServiceDestination' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']' faultDetail:'Couldn't establish a connection to 'helloServiceDestination''" 
       name = "Error" 
       rootCause = (null) 
    Request you all to provide your valuable inputs. I know there's really something silly which has gone wrong

    Hi jvk180:
    Firstly, you should either need to define the destination in remoting-config.xml or in app-context.xml, but and in both places.
    Secondly, the error indicates that it is missing the channel information.
    Option 1:
    Assuming your bean "helloServiceDestination" uses other Spring beans, then:
    1. The right place to declare the destinations is in app-context.xml.
    2. In that case, you need to also define the channels that the destination will be exposed over. See documentation for how to do that.
    3. In your remote object declaration, you need to pass the channel set that gets used as well.
    <mx:ChannelSet id="cs">
       <mx:AMFChannel url="http://<yourServerName>:<yourServerPort>:/<yourContextRoot>/messagebroker/amf"/>
    </mx:ChannelSet>
    <mx:RemoteObject id="ro" destination="helloServiceDestination" channelset="{cs}" result="resultHandler(event)" fault="faultHandler(event)"/>
    Option 2:
    If you declare your destination, in remoting-config.xml, then you need to compile your swf with services-config.xml. Refer to documentation for how to do that.
    Hope that helps.
    Rohit

  • Configuring blazeds, spring, flex and eclipse ide

    Hi,
    Can you please suggest me in configuring blazeds, spring, flex and eclipse ide. I have tried hard googling, but couldnt get solution for configuring all the four.
    thanks in advance

    Hi jvk180:
    Firstly, you should either need to define the destination in remoting-config.xml or in app-context.xml, but and in both places.
    Secondly, the error indicates that it is missing the channel information.
    Option 1:
    Assuming your bean "helloServiceDestination" uses other Spring beans, then:
    1. The right place to declare the destinations is in app-context.xml.
    2. In that case, you need to also define the channels that the destination will be exposed over. See documentation for how to do that.
    3. In your remote object declaration, you need to pass the channel set that gets used as well.
    <mx:ChannelSet id="cs">
       <mx:AMFChannel url="http://<yourServerName>:<yourServerPort>:/<yourContextRoot>/messagebroker/amf"/>
    </mx:ChannelSet>
    <mx:RemoteObject id="ro" destination="helloServiceDestination" channelset="{cs}" result="resultHandler(event)" fault="faultHandler(event)"/>
    Option 2:
    If you declare your destination, in remoting-config.xml, then you need to compile your swf with services-config.xml. Refer to documentation for how to do that.
    Hope that helps.
    Rohit

  • [svn:bz-trunk] 18737: Added links for samples-spring and blazeds-spring webapps.

    Revision: 18737
    Revision: 18737
    Author:   [email protected]
    Date:     2010-11-19 11:24:26 -0800 (Fri, 19 Nov 2010)
    Log Message:
    Added links for samples-spring and blazeds-spring webapps.
    Modified Paths:
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/ROOT/index.html

  • Blazeds + Spring security: fetch data based on current user

    Hi,
    I'm currently learning flex by trying to build an application with
    flex, blazeds and Spring. My application lets users log on using
    spring security (which I will probably combine with
    AcegiLogonCommand). I would like my assemblers to return different
    data based on which user is currently logged on (for instance to show
    that specific user's to-do list). To do this, I added a userId
    property to my spring security principals (by subclassing
    org.springframework.security.userdetails.User)
    and added user_id columns to user-specific data in the database. Now
    I would like to know how I can get the currently logged on user in my
    assembler so I can use its userId to fetch the user's data.
    Is the assembler the right place to decide which data to send to my
    flex application? If so, can anyone tell me how to determine which
    user is currently logged on in my assembler? If not, what would be the
    recommended way of dealing with user-specific data in my database in
    combination with blazeds?
    The only examples I have been able to find on the Internet so far only
    use different roles to determine what a user is or is not allowed to
    do, I have yet to find any examples where users store and retrieve
    user-specific data.
    Kind regards,
    Jeroen

    Hi,
    There is a field “Target Audience” in list whenever “Target Audience” is enable in “List Settings”, it accepts the name of a SharePoint group.
    For your requirement, you will need to get the name of the group which the current user belongs to. Then perform a query in a specific list to get all the items that
    contains the specific value in “Target Audience” field.
    Here is a code snippet about how to set Target Audience for an item, there are code lines about
    how to get the value of a “Target Audience” field:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/a3ac41d8-42e9-4ec7-999f-036c4b06d3e2/programatically-set-target-audience-in-list-item
    A method about checking whether the current user is a member of the specified group:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.iscurrentusermemberofgroup.aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Single transaction through multiple service objects [Spring]

    Hello.
    I have multiple service objects, while methods in service objects represent use cases.
    If I call the method from the other method in the same service object, then the second (called) method uses the same transaction as the first (caller), because of default propagation REQUIRED is applied.
    .. as is shown in the following pseudo code:
    @Transactional
    public class PersonService {
         private PersonDAO personDAO;
         public void otherMethod() {
         public void savePerson(Person person) {
              otherMethod();
              personDAO.save(person);
    }But I need to call service methods of different service objects, because some use cases use other use cases. I also need all those called methods to be done as a single transaction.
    @Transactional
    public class OrderService {
         private OrderDAO orderDAO;
         public void saveOrder(Person person, Order order) {
              PersonService personService = CONTEXT.getBean("personService");
              personService.savePerson(person);
              orderDAO.save(order);
    }If I do it like that, the new transaction proxy is created and all personService stuff is executed in the new transaction. How to configure @Transactional annotated objects or Spring beans to do all service stuff in single transaction?
    I have Hibernate sessionfactory, DAOs and services beans simply configured in Spring configuration XML, using autowiring and transaction annotation config. I prefer using @transactional annotated service classes, but if I had to use more complex Spring transaction configuration to achieve the goal I won't have any problem with it.
    Thank you in advance.

    I would like it to be done is single transaction but it isn't. As the bean is retrieved from the spring context in OrderService's method
    PersonService personService = CONTEXT.getBean("personService");a new transaction for PersonService is started. So then I have two transactions in progress - one for OrderService and second for PersonService. I need the PersonService (or any other service object) to detect already pending transaction and use that. Not create new (it's own). I use no arguments in @Transactional annotation so default propagation REQUIRED should be used, but it still creates a new transaction for PersonService stuff.
    I'm posting my applicationContext.xml (simplified slightly)
    <beans default-autowire="byType">
         <bean id="dataSource"
              class="org.springframework.jdbc.datasource.DriverManagerDataSource">
         </bean>
         <!-- Hibernate SessionFactory -->
         <bean id="sessionFactory"
              class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
              <property name="dataSource">
                   <ref local="dataSource" />
              </property>
         </bean>
         <bean id="hibernateTxManager"
              class="org.springframework.orm.hibernate3.HibernateTransactionManager">
              <property name="sessionFactory">
                   <ref local="sessionFactory" />
              </property>
         </bean>
         <tx:annotation-driven transaction-manager="hibernateTxManager" />
         <!-- DAOs -->
         <bean id="personDAO" class="net.package.dao.PersonDAO" />
         <bean id="orderDAO" class="net.package.dao.OrderDAO" />
         <!-- Services -->
         <bean id="personService" class="net.package.service.PersonService" />
         <bean id="orderService" class="net.package.service.OrderService" />
    </beans>Thank you

  • BlazeDS/Security/Spring/NonBlazeDS/NonSpring/Confusion Oh My

    I'm new to Flex (coming over from the pure JEE world.) One of the first things that is needed for any application is security authentication/authorization. I've been extremely disappointed, though, in the lack of good examples with best practices on how to handle this, or if there is a book that covers it well let me know and I'll purchase it.
    I'm working with BlazeDS at the moment (but not opposed to scrapping it.)
    I have managed to finally get a security setup using blazeds-spring integration working, but their forum is a ghost town so it makes me think that there aren't many people using it. The docs are also extremely vague. Had it not been for some stuff that I was able to pull from these two tutorials by the same author http://www.adobe.com/devnet/flex/articles/flex_security.html#ach-setscr  http://www.gridshore.nl/2009/05/24/integrate-flex-security-in-mate-using-the-spring-blazed s-integration-project/ I would have been completely lost. Even though it's 'mostly' working, so much is unknown to me, and because the reference doc http://static.springsource.org/spring-flex/docs/1.0.x/reference/html/index.html is so short it doesn't cover a lot of what is going on.
    I'm not even 100% certain I want to use Spring though (It seems to actually black-box too much and in some ways overcomplicate things with a lot of configuration), yet I want my application be portable across containers. Where are the examples on the best way to set things up? The blazeds reference doc chapter seems to gloss over a lot, and only confuses me a bit more. I'd like to see some real examples.
    As an example of some things that I'd like to see:
    1) When not using Spring security, where is a concrete implementation of handling authentication and authorization (with/without blazeDS - I just want a good best practice example of how things are handled)?
    2) How are people dealing with session time outs? (user clicking around in application and then they happen to make a server call but their session is gone. Do you simply poll every few minutes to keep the session alive?)
    3) Are people putting up a filter up before the blazeDS filter to check the user's session is valid? If the session isn't valid and you've set up a filter, what happens on the flex side of things if the filter finds an invalid session? It can only redirect for forward so how does it trigger the client flex app that it needs to invalidate its internal storage of an authenticated user and hence needs to redisplay the login page. I know how to set things up in a traditional java web app, but I'm a bit stumped here... I only have one main "FooBar.swf" file, so when the sesison filter realizes the user's session timed out where do I "go" - can I somehow just redirect to the same main page "FooBar.swf" and somehow Flex can be aware that "Hey ok some event happened so I need to invalidate my flex user and present the login page (login component)"
    Thanks for any suggestions/help on what to look at for best practices.

    Hi,
    Did you got any ideas on this one? As a newcomer to Flex/BlazeDS I'd like hear those?
    I'll add my thoughts to the discussion you started.
    2) How are people dealing with session time outs? (user clicking around
    in application and then they happen to make a server call but their
    session is gone. Do you simply poll every few minutes to keep the
    session alive?)
    I check the session in a filter for each request. If there's no valid session, the filter sends a response message to flex app which shows it as a Alert message.I'm not (yet) using blaze, but I don't see why it wouldn't work.
    If you want, you can configure the session timeout in the web.xml of your web app, so no need to poll. It would be nice to get asynchronous event from the server side when the session times out. This requires to use the pub/sub method of blaze or java messaging on a servlet.
    The web.xml of the blazeDS samples has the following lines
    <!-- Http Flex Session attribute and binding listener support -->
        <listener>
            <listener-class>flex.messaging.HttpFlexSession</listener-class>
        </listener>
    To me this indicates that you can define a listener for the session somehow. It would be nice to know more about this.
    3) Are people putting up a filter up before the blazeDS filter to check
    the user's session is valid? If the session isn't valid and you've set
    up a filter, what happens on the flex side of things if the filter
    finds an invalid session? It can only redirect for forward so how does
    it trigger the client flex app that it needs to invalidate its internal
    storage of an authenticated user and hence needs to redisplay the login
    page. I know how to set things up in a traditional java web app, but
    I'm a bit stumped here... I only have one main "FooBar.swf" file, so
    when the sesison filter realizes the user's session timed out where do
    I "go" - can I somehow just redirect to the same main page "FooBar.swf"
    and somehow Flex can be aware that "Hey ok some event happened so I
    need to invalidate my flex user and present the login page (login
    component)"
    Why not just have different swfs? When the session is not valid, redirect to login.html (a wrapper for login component).
    If I have understood correctly, Flex uses HTTP GET method to communicate with the browser. So it might be possible to send parameters to the app after the filter. Also, using java script and external interface might be helpful here.

  • Safari not accepting cookies from Blaze + Spring

    Hi,
    I have a facebook game with BlazeDS, Spring and Hibernate and in Firefox, Chrome and IE is working perfect.
    But in Safari doesn't work.
    If I put the Cookie Settings of Safari to Always accept cookies it works.
    But if my configuration is in "Only sites I visit" it doesn't work.
    The weird thing here is that I visit the page from the game, so clearly it should be accepted.
    The Arquitecture of the Game is an Apache with the SWF and then another Server that is running Java with Blaze.
    Does anyone have any clue about this?

    I followed this thread and I made it work.

  • [svn:bz-trunk] 18054: Modify Tomcat 6.0.26 for BlazeDS

    Revision: 18054
    Revision: 18054
    Author:   [email protected]
    Date:     2010-10-07 04:11:41 -0700 (Thu, 07 Oct 2010)
    Log Message:
    Modify Tomcat 6.0.26 for BlazeDS
    Modified Paths:
        blazeds/trunk/servers/apache-tomcat-6.0.26/bin/catalina.bat
        blazeds/trunk/servers/apache-tomcat-6.0.26/bin/catalina.sh
        blazeds/trunk/servers/apache-tomcat-6.0.26/bin/digest.sh
        blazeds/trunk/servers/apache-tomcat-6.0.26/bin/setclasspath.sh
        blazeds/trunk/servers/apache-tomcat-6.0.26/bin/shutdown.sh
        blazeds/trunk/servers/apache-tomcat-6.0.26/bin/startup.sh
        blazeds/trunk/servers/apache-tomcat-6.0.26/bin/tool-wrapper.sh
        blazeds/trunk/servers/apache-tomcat-6.0.26/bin/version.sh
        blazeds/trunk/servers/apache-tomcat-6.0.26/conf/catalina.properties
        blazeds/trunk/servers/apache-tomcat-6.0.26/conf/context.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/conf/server.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/conf/tomcat-users.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/conf/web.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/webapps/ROOT/WEB-INF/web.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/webapps/ROOT/index.html
    Added Paths:
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/blazeds-spring.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/blazeds-spring.xml.install
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/blazeds.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/blazeds.xml.install
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/ds-console.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/ds-console.xml.install
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/qa-manual.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/qa-regress.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/samples-spring.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/samples-spring.xml.install
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/samples.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/samples.xml.install
        blazeds/trunk/servers/apache-tomcat-6.0.26/Catalina/localhost/team.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/build.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/activation-1.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/activeio-core-3.1.2.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/activemq-camel-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/activemq-console-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/activemq-core-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/activemq-jaas-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/activemq-protobuf-1.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/activemq-web-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/camel-core-2.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/camel-jetty-2.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/camel-jms-2.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/camel-spring-2.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/commons-beanutils-1.6.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/commons-dbcp-1.2.2.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/commons-logging-1.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/commons-pool-1.5.4.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/geronimo-j2ee-management_1. 0_spec-1.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/geronimo-jms_1.1_spec-1.1.1 .jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/geronimo-jta_1.0.1B_spec-1. 0.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/jaxb-api-2.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/jaxb-impl-2.1.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/kahadb-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/org.osgi.core-4.1.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/spring-aop-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/spring-beans-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/spring-context-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/spring-core-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/spring-jms-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/spring-osgi-core-1.2.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/spring-oxm-tiger-1.5.8.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/spring-tx-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/spring-web-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/spring-webmvc-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/stax-1.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/stax-api-1.0.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/lib/activemq-5.3.1/xbean-spring-3.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.26/localhost.keystore
        blazeds/trunk/servers/apache-tomcat-6.0.26/logs/
        blazeds/trunk/servers/apache-tomcat-6.0.26/logs/safeToDelete.tmp
        blazeds/trunk/servers/apache-tomcat-6.0.26/tomcat-users.xml.install
    Removed Paths:
        blazeds/trunk/servers/apache-tomcat-6.0.26/webapps/ROOT/RELEASE-NOTES.txt
        blazeds/trunk/servers/apache-tomcat-6.0.26/webapps/ROOT/asf-logo-wide.gif
        blazeds/trunk/servers/apache-tomcat-6.0.26/webapps/ROOT/build.xml
        blazeds/trunk/servers/apache-tomcat-6.0.26/webapps/ROOT/favicon.ico
        blazeds/trunk/servers/apache-tomcat-6.0.26/webapps/ROOT/index.jsp
        blazeds/trunk/servers/apache-tomcat-6.0.26/webapps/ROOT/tomcat-power.gif
        blazeds/trunk/servers/apache-tomcat-6.0.26/webapps/ROOT/tomcat.gif
        blazeds/trunk/servers/apache-tomcat-6.0.26/webapps/ROOT/tomcat.svg
        blazeds/trunk/servers/apache-tomcat-6.0.26/webapps/docs/
        blazeds/trunk/servers/apache-tomcat-6.0.26/webapps/examples/

    The command that seems to be causing problems for Exchange is this one:
    A4 APPEND "Sakai-Dev List" (\Deleted \Seen NonJunk) "21-Aug-2007 16:37:20 -0400" {7024+}
    As far as I can see, there's nothing wrong with the syntax of that command.
    My first guess is that Exchange is unhappy with the flags. Possibly
    it refuses to append a message with the \Deleted flag set. If you're
    willing to modify the flags in the source mailbox, I would try turning
    off the DELETED flag. Or, try not copying deleted messages.
    If that doesn't work, the next thing to try is to get rid of all of the
    flags. You might want to copy the message into a local copy
    in order to lose all the flags from the original.

  • [svn:bz-trunk] 18058: Modify Tomcat 6.0.29 for BlazeDS

    Revision: 18058
    Revision: 18058
    Author:   [email protected]
    Date:     2010-10-07 06:09:19 -0700 (Thu, 07 Oct 2010)
    Log Message:
    Modify Tomcat 6.0.29 for BlazeDS
    Modified Paths:
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/catalina.bat
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/catalina.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/digest.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/setclasspath.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/shutdown.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/startup.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/tool-wrapper.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/bin/version.sh
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/catalina.properties
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/context.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/server.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/tomcat-users.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/web.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/ROOT/WEB-INF/web.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/ROOT/index.html
    Added Paths:
        blazeds/trunk/servers/apache-tomcat-6.0.29/build.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/blazeds-spring.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/blazeds-spring.xml.ins tall
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/blazeds.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/blazeds.xml.install
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/ds-console.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/ds-console.xml.install
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/qa-manual.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/qa-regress.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/samples-spring.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/samples-spring.xml.ins tall
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/samples.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/samples.xml.install
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/team.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/localhost.keystore
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/tomcat-users.xml.install
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activation-1.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activeio-core-3.1.2.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activemq-camel-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activemq-console-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activemq-core-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activemq-jaas-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activemq-protobuf-1.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activemq-web-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/camel-core-2.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/camel-jetty-2.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/camel-jms-2.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/camel-spring-2.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/commons-beanutils-1.6.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/commons-dbcp-1.2.2.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/commons-logging-1.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/commons-pool-1.5.4.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/geronimo-j2ee-management_1. 0_spec-1.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/geronimo-jms_1.1_spec-1.1.1 .jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/geronimo-jta_1.0.1B_spec-1. 0.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/jaxb-api-2.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/jaxb-impl-2.1.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/kahadb-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/org.osgi.core-4.1.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-aop-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-beans-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-context-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-core-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-jms-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-osgi-core-1.2.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-oxm-tiger-1.5.8.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-tx-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-web-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-webmvc-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/stax-1.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/stax-api-1.0.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/xbean-spring-3.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/logs/safeToDelete.tmp
    Removed Paths:
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/blazeds-spring.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/blazeds-spring.xml.ins tall
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/blazeds.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/blazeds.xml.install
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/ds-console.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/ds-console.xml.install
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/qa-manual.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/qa-regress.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/samples-spring.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/samples-spring.xml.ins tall
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/samples.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/samples.xml.install
        blazeds/trunk/servers/apache-tomcat-6.0.29/conf/Catalina/localhost/team.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activation-1.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activeio-core-3.1.2.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activemq-camel-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activemq-console-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activemq-core-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activemq-jaas-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activemq-protobuf-1.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/activemq-web-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/camel-core-2.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/camel-jetty-2.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/camel-jms-2.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/camel-spring-2.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/commons-beanutils-1.6.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/commons-dbcp-1.2.2.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/commons-logging-1.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/commons-pool-1.5.4.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/geronimo-j2ee-management_1. 0_spec-1.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/geronimo-jms_1.1_spec-1.1.1 .jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/geronimo-jta_1.0.1B_spec-1. 0.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/jaxb-api-2.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/jaxb-impl-2.1.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/kahadb-5.3.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/org.osgi.core-4.1.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-aop-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-beans-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-context-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-core-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-jms-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-osgi-core-1.2.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-oxm-tiger-1.5.8.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-tx-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-web-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/spring-webmvc-2.5.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/stax-1.2.0.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/stax-api-1.0.1.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/lib/activemq-5.3.1/xbean-spring-3.6.jar
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/ROOT/RELEASE-NOTES.txt
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/ROOT/asf-logo-wide.gif
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/ROOT/build.xml
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/ROOT/favicon.ico
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/ROOT/index.jsp
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/ROOT/tomcat-power.gif
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/ROOT/tomcat.gif
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/ROOT/tomcat.svg
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/docs/
        blazeds/trunk/servers/apache-tomcat-6.0.29/webapps/examples/

  • BlazeDS in Maven central repository

    I'm trying to use Maven 2 for building a Flex-BlazeDS-Spring project but I can't find BlazeDS libraries in any public repository. That would be great if BlazeDS libraries were uploaded.
    See http://maven.apache.org/guides/mini/guide-central-repository-upload.html

    The thing is that BlazeDS is built using Ant so I guess it's not easy for them to extract maven artifacts and their POMs.
    But if this 1.0.0-beta1 is in fact a 3.0.0.x, I'll try with that.
    2008/3/3, Tom Jordahl <
    [email protected]>:
    A new message was posted by Tom Jordahl in
    General Discussion --
      BlazeDS in Maven central repository
    And the version there is labeled beta 1.
    Tom
    View/reply at <
    http://www.adobeforums.com/webx?13@@.3c06495b/2>
    Replies by email are OK.
    Use the unsubscribe form at <
    http://www.adobeforums.com/webx?280@@.3c06495b!folder=.3c061a83> to cancel your email subscription.
    Sébastien Arbogast
    http://sebastien-arbogast.com

  • Integrating Bazeds-spring from Flex Adobe air application?

    Hi
    I have seen that from Flex Adobe Air platform using the old integration model (without spring) with Blazeds we can successfully communicate from AIR to the server side.
    I have got the project working fine with FLEX-SPRING-BLAZEDS on a simple flex application. However, I would like to know if the same can be done with the new way of defining channels in Server side with the Blazeds-Spring combination from AIR. If yes could you please direct me to the changes in configuration required in the flex side of the Air application.
    Thanks,
    Naveen

    AIR does not support running applications from a CD-ROM;
    that's both a technical and a licensing limitation.
    You can redistribute both AIR and your application via
    CD-ROM, thus enabling off-line install, if you agree to a
    redistribution license. See
    http://www.adobe.com/products/air/runtime_distribution1.html
    for details.
    Oliver Goldman | Adobe AIR Engineering

  • Flex + BlazeDS + Java (works only on localhost)

    Hi!
    I'm new in Flex so I have very incomplete knowledge in many issues. I usually use Java to write applications but now, I need to connect Java with Flex. I read some articles and tutorials about integration using BlazeDS but I still have problem. I made a simple web app and it works, but only on localhost. If I upload my app on server it works but I can't call Java methods.
    Applicaton copy text from TextInput to Label when user press Button.
    Below I add content of some files (remote-config.xml, services-config.xml, web.xml and flex main MXML file)
    remote-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <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>
        <default-channels>
            <channel ref="my-amf"/>
        </default-channels>
    </service>
    services-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service-include file-path="remoting-config.xml" />      
        </services>
        <channels>
            <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
            </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>
    flex-servlet.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:flex="http://www.springframework.org/schema/flex"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:context="http://www.springframework.org/schema/context"
        xsi:schemaLocation="
            http://www.springframework.org/schema/beans
            http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
            http://www.springframework.org/schema/flex
            http://www.springframework.org/schema/flex/spring-flex-1.0.xsd
             http://www.springframework.org/schema/context
             http://www.springframework.org/schema/context/spring-context-3.0.xsd">
        <flex:message-broker>
            <flex:remoting-service default-channels="my-amf"/>
        </flex:message-broker>
        <context:annotation-config />
        <context:component-scan base-package="blah" />
    </beans>
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <display-name>BlazeDS Spring Integration Application</display-name>
        <description>BlazeDS Spring Integration Application</description>
        <servlet>
            <servlet-name>flex</servlet-name>
            <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet>
            <servlet-name>RDSDispatchServlet</servlet-name>
            <display-name>RDSDispatchServlet</display-name>
            <servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class>
            <init-param>
                <param-name>useAppserverSecurity</param-name>
                <param-value>false</param-value>
            </init-param>
            <init-param>
                <param-name>messageBrokerId</param-name>
                <param-value>_messageBroker</param-value>
            </init-param>
            <load-on-startup>10</load-on-startup>
        </servlet>
        <servlet-mapping id="RDS_DISPATCH_MAPPING">
            <servlet-name>RDSDispatchServlet</servlet-name>
            <url-pattern>/CFIDE/main/ide.cfm</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>flex</servlet-name>
            <url-pattern>/messagebroker/*</url-pattern>
         </servlet-mapping>
    </web-app>
    FooProject.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:services="services.*">
        <fx:Declarations>
            <s:CallResponder id="sayHelloResult"/>
            <services:FooService id="fooService">
                <services:channelSet>
                    <s:ChannelSet>
                        <s:AMFChannel uri="http://mctg.yoyo.pl/WebContent/messagebroker/amf"/>
                    </s:ChannelSet>
                </services:channelSet>
            </services:FooService>
        </fx:Declarations>
        <s:TextInput id="ti" x="10" y="13"/>
        <s:Label x="10" y="43" text="{sayHelloResult.lastResult}"/>
        <s:Button x="146" y="14" label="Send" click="sayHelloResult.token = fooService.sayHello(ti.text)"/>
    </s:Application>
    The problem is in my opinion in the line wchich is bold. If I change it to <s:AMFChannel uri="http://localhost:8080/WebContent/messagebroker/amf"/> and run on localhost everything is fine. If I upload app on server and call Java method I can only wait for response but I never will get it.
    I realize that similar threads are currently on this forum. I read a few o them but finally I haven't solved my problem yet. I would be grateful for any help.

    Hi ,
    Please check the imapproxy component is in active or inactive state by using the below mentioned command.
    Get-ServerComponentState -identity "servername"
    If it is inactive in state please make it as active.
    Set-ServerComponentState -Identity "server name" -Component imapProxy -Requester HealthAPI -State Active
    Thanks & Regards S.Nithyanandham

  • [svn:bz-4.x] 16256: Do some build cleanup on the BlazeDS/4.x branch.

    Revision: 16256
    Revision: 16256
    Author:   [email protected]
    Date:     2010-05-20 10:50:31 -0700 (Thu, 20 May 2010)
    Log Message:
    Do some build cleanup on the BlazeDS/4.x branch. I had just intended to update the build scripts to exclude xalan.jar from the WEB-INF/lib directory of a bunch of the webapps but while I was doing this I found a number of other problems that I attempted to fix. Here is a breakdown of what I changed.
    Update build scripts to not add xalan.jar to the WEB-INF/lib directory of those webapps that were including it. As far as I can tell we don't need to/shouldn't be shipping xalan.jar in the WEB-INF/lib directory of any of the webapps. I also updated the build scripts to not add fxgutils.jar to the WEB-INF/lib directory of those webapps that were including it. I also can't see any reason for us to be shipping fxgutils.jar with any of the webapps. This jar file is part of the Flex SDK and we're no longer shipping BlazeDS with the Flex SDK. 
    The clean target in the main build.xml file was not calling clean on the ds-console webapp. It was also calling clean on the qa-regress webapp twice and never calling clean on qa-manual which was probably a typo. Fixed the build so clean now gets called for ds-console and qa-regress.
    The samples webapp had hsqldb.jar checked into its WEB-INF/lib directory in svn. The build script for the samples webapp was also copying hsqldb.jar from the <blazesd-home>/lib/hsqldb directory. I cleaned this up by deleting hsqldb.jar from the samples/WEB-INF/lib directory in svn so now we will just get the jar from the <blazeds-home/lib/hsqldb directory. 
    After removing hsqldb.jar from the samples/WEB-INF/lib directory none of the webapps in BlazeDS have anything checked into their WEB-INF/lib directories in svn. Most of the BlazeDS webapps were using properties from the top level build.properties file to determine which jars to delete from the WEB-INF/lib directory. This is problematic because unless we do a good job of keeping these lists of jars up to date files wind up not being cleaned from the WEB-INF/lib directory and we could potentially ship files that are no longer part of the build. I fixed this issue by updating the build scripts for all of the webapps to delete everything from the WEB-INF/lib directory as part of the clean target.
    Checkintests: passed
    Modified Paths:
        blazeds/branches/4.x/apps/blazeds/build.xml
        blazeds/branches/4.x/apps/blazeds-spring/build.xml
        blazeds/branches/4.x/apps/ds-console/build.xml
        blazeds/branches/4.x/apps/samples/build.xml
        blazeds/branches/4.x/apps/samples-spring/build.xml
        blazeds/branches/4.x/apps/team/build.xml
        blazeds/branches/4.x/build.properties
        blazeds/branches/4.x/build.xml
        blazeds/branches/4.x/qa/apps/qa-manual/build.xml
    Removed Paths:
        blazeds/branches/4.x/apps/samples/WEB-INF/lib/

    Found solution after many hours of search and test:
    I have Launch2Net Premium 2.6.2 obn my system to get USB 3G Modem stick to work. It install many files into /System/Library/Extensions. All files are SierraDIPService.kext SierraFSPService.kext SierraDevSupport.kext.
    Remove SierraDIPService.kext from the above Extensions folder allow MobileDevice.pkg and othe installer that need to update system extension like soundflower.pkg to work properly.
    So, Sierra driveris the culprit!! I have to uninstall Launch2Net off my system. But my USB Stick Modem will not work anymore
    I have written to Nova System, the developer of Launch2Net to get fix to this problem
    Will update if there is any progess

  • Experts Help!! Fiendish BlazeDS / Single Sign-on (NTLM) problem

    Guys,
    I've been tearing my hair out for a month with this problem - any help would be most gratefully appreciated!
    I need to get a flex app working with single-signon on the windows platform.
    I want to grab the windows username and domain from the browser without having users enter by hand.
    I will then authenticate against my own repository tables accessed via remote objects (blazeds + spring flex + spring + hibernate)
    I have a servlet that uses NTLM authentication challenge response. The servlet works on its own returning usename and domain.
    See below for servlet code
    HOWEVER - no matter how i call the servlet from flex it seems to totally screw up blazeds. No further remote object calls are possible.
    The same remote call works before but not after the servlet has been called. Its driving me insane!!!
    I suspect the problem is related to how the single initial call to the servlet from Flex results in a further two executions of the servlet.
    I assume Internet Explorer is initiating further calls.
    I've tried calling it in the following ways...
    - HTTPServce with URL
    - HTTPServive with blaze destination
    - From within actionscript
    - From MXML
    - From a flex module
    - from the javascript wrapper using XMLHttpRequest and flashvars
    - With one trouser leg rolled up and my finger in my ear
    Every single time it stops any further remote object calls from working they get as far as
    [BlazeDS][DEBUG] FlexSession created with id 'ADF15BED993AD562EEA9249EE6B33CED' for an Http-based client connection.
    [BlazeDS][DEBUG] Deserializing AMF/HTTP request
    but know further.
    Clever people please help - before i blow my brains out!! ;-)
    Thanks in advance
    Gary

    I have the same problem.
    1) Open page with a swf using BlazeDS for remoting. Works fine
    2) Go to other page doing NTLM authentication. Works fine.
    3) Go back to the first page, BlazeDS remoting does not work anymore.
    Did you find a solution?

Maybe you are looking for