Behaviour of AXIS with Spring and Java, in response to bad webservice call

This is a stretch, but I wonder if you can help me - I'm new to this, and working in a project that has already been configured to work with Axis.
We have a Java project built with the Spring framework, in order to provide webservices for access via SOAP. As I understand it (ie not very well!) Axis works to accept these SOAP messages from the client and transform them into calls on our Java methods, and do the reverse with the responses - cool! Which is excellent, and it works well with the config files we have already set up.
But I have two problems/questions, which may well be related�
2) In trying to test what exactly happens in which case, I sent some test messages to the service, and found that I could send incorrect parameter names, and sometimes the service still gets called! Axis seems to match the data it recieves to the parameters of the method in some clever way that I don�t understand. Sometimes this works, sometimes it shows a type error. But it seems to depend what parameter I rename as to what exactly happens, so the results are (superficially, at least) unpredictable! I'm sure this behaviour is configurable in some way, but I can't seem to find out how this is done. I'd like to make it so that missing parameters are passed into the method as nulls (as is happening now), but that badly named, duplicated or extraneous parameters are refused, with a specific errormessage stating what the issue is. Similarly, I'd like to reply with an explanatory message if a parameter is passed wth an incorrect type, rather than just a message "org.xml.sax.SAXException: Bad types" that does not detail which parameter is problematic.
1) The client can receive a "500" response, with an "Internal Server Error" message, although I'm having trouble figuring out exactly when this happens. I'd like to be able to configure what message they receive, in order to give them more information about what they got wrong.
I just don't know where to start with this - I'm sure there must be ways of configuring all this!
As much info about an example of what I'm looking at as seems sensible follows. Please forgive me if I've used incorrect terminology somewhere! :)
Thanks a heap,
Tracey
======================
So, let's say I have a Java class called DiaryService, with a method called createDiary that takes the appropriate data and returns a confirmation/error message - it starts like this :
    public String createDiary(final String library,
            final BigDecimal companyCode, final Date diaryDate,  final Date actionedDate,
     final String diaryMessage) throws RemoteException And another called GetDiary that returns a Diary as a SOAP bean which looks like this :
    public DiarySoapBean getDiary(final String library,
            final BigDecimal companyCode, final Date diaryDate) throws RemoteExceptionAxis very helpfully lets me access the createDiary and getDiary, by sending XML messages like this example:
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<ns1:createDiary soapenc:root="1" xmlns:ns1="http://localhost:8080/morph_zta/services/DiaryService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<library xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">ZRMORPHTA</library>
<companyCode xsi:type="xsd:Decimal" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">1</companyCode>
<diaryDate xsi:type="xsd:date" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">2007-01-01Z</diaryDate>
<actionedDate xsi:type="xsd:date" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">2007-01-01Z</actionedDate>
<diaryMessage xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"/>Blah blah blah</diaryMessage>
</ns1:createDiary>
</soapenv:Body>If I rename a parameter, the service may get called, with some other data in that parameter or not, or may not get called at all and the user get a "SAXException: Bad types" error message. I would like it to return a message stating that the parameter is not expected.
If I duplicate a parameter, the first occurrence appears to be used, and the next ignored. I would like it to return a message saying tnat the extra parameter is not expected.
If I add gibberish parameters, I get a "No such operation" message. I would like to be able to tell which parameters are incorrect.
We have entries like this in web.xml:
    <listener>
        <listener-class>
               org.apache.axis.transport.http.AxisHTTPSessionListener
     </listener-class>
    </listener>
    <servlet>
        <display-name>Apache-Axis Servlet</display-name>
        <servlet-name>axis</servlet-name>
        <servlet-class>
               com.workingmouse.webservice.axis.SpringAxisServlet
     </servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>axis</servlet-name>
        <url-pattern>/servlet/AxisServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>axis</servlet-name>
        <url-pattern>*.jws</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>axis</servlet-name>
        <url-pattern>/services/*</url-pattern>
    </servlet-mapping>     And these bits in our server-config.wsdd :
    <!-- Global config options -->
    <globalConfiguration>
        <parameter name="adminPassword" value="admin"/>
        <parameter name="attachments.Directory" value="./attachments"/>
        <parameter name="attachments.implementation"
                value="org.apache.axis.attachments.AttachmentsImpl"/>
        <parameter name="sendXsiTypes" value="true"/>
        <parameter name="sendMultiRefs" value="true"/>
        <parameter name="sendXMLDeclaration" value="true"/>
        <parameter name="axis.sendMinimizedElements" value="true"/>
        <requestFlow>
            <handler type="java:org.apache.axis.handlers.JWSHandler">
                <parameter name="scope" value="session"/>
            </handler>
            <handler type="java:org.apache.axis.handlers.JWSHandler">
                <parameter name="scope" value="request"/>
                <parameter name="extension" value=".jwr"/>
            </handler>
    <handler name="acegiAuthenticationHandler" type="java:{our}.AcegiAuthenticationHandler"/>
        </requestFlow>
     <responseFlow>
          <handler name="OutgoingSOAPMessageViewer" type="java:{our}.OutgoingSOAPMessageViewer"/>
     </responseFlow>
    </globalConfiguration>
    <!-- Handlers -->
    <handler name="LocalResponder"
            type="java:org.apache.axis.transport.local.LocalResponder"/>
    <handler name="URLMapper"
            type="java:org.apache.axis.handlers.http.URLMapper"/>
    <handler name="Authenticate"
            type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
    <!-- Axis services -->
    <service name="AdminService" provider="java:MSG">
        <parameter name="allowedMethods" value="AdminService"/>
        <parameter name="enableRemoteAdmin" value="true"/>
        <parameter name="className" value="org.apache.axis.utils.Admin"/>
        <namespace>http://xml.apache.org/axis/wsdd/</namespace>
    </service>
    <service name="Version" provider="java:RPC">
        <parameter name="allowedMethods" value="getVersion"/>
        <parameter name="className" value="org.apache.axis.Version"/>
    </service>
    <!-- Global config options -->
    <transport name="http">
        <requestFlow>
            <handler type="URLMapper"/>
            <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
        </requestFlow>
    </transport>
    <transport name="local">
        <responseFlow>
            <handler type="LocalResponder"/>
        </responseFlow>
    </transport>
    <service name="DiaryServices" provider="Handler" style="rpc">
        <parameter name="handlerClass" value="com.workingmouse.webservice.axis.SpringBeanRPCProvider"/>
        <parameter name="springBean" value="diaryServices"/>
        <parameter name="springBeanClass" value="uk.co.trisystems.morph.ta.diary.soap.DiaryService"/>
        <parameter name="allowedMethods" value="createDiary getDiary"/>
        <parameter name="scope" value="application"/>
        <beanMapping qname="ns:diary" xmlns:ns="urn:DiaryService" languageSpecificType="java:uk.co.trisystems.morph.ta.diary.soap.DiarySoapBean"/>
    </service>Cheers
Tracey Annison

Hi,
I have solved the problem, I forgot a parameter in the select, so java tells the an error. But now I have another problem. The procedure doesn't execute the order by. I pass the couple column_name order_type in a string as ("provider_description desc") dinamically but the procedure doesn't execute the ordering. Why?
Thanks, bye bye.

Similar Messages

  • I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone.

    I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone.
    The internet goes out and I have to reset network setting each and every time. This is only a temporary solution which by the time I release the line with Spring or leave the apple store the issue is back. Sprint indicates that it is a know issue with the Iphone 5 and apple says it is a network issue as Sprint's network is not up to par with the Iphone and can not meet the expectations on the Iphone 5.
    I have attached a few picture, as you can see it clearly says I have 5 bars and 3g available but I have no connections what so ever.
    This issue affects all data and so I can not send or receive picture messages, use apps, or access the internet. The data goes in and out intermittently and it seems the phone chooses what I can and can't do.
    For example I can watch Youtube or Vevo videos but I can not access Facebook or Instagram.
    Is anyone else having this issue?
    I will soon loose my patience....
    I have reset my phone three time and have reset network and other setting mutltiple times.

  • Urgent :::::.i WISH TO DO THIS WITH JDOM and JAVA .

    file A.XML
    <XML>
    <TP>
    <FF>
    </FF>
    </TP>
    </XML>
    file B.XML
    <XML>
    <TP>
    <GG>
    </GG>
    </TP>
    </XML>
    I WANT TO PASTE node GG in b.xml to a.xml like this
    <XML>
    <TP>
    <FF>
    <GG>
    </GG>
    </FF>
    </TP>
    </XML>
    i WISH TO DO THIS WITH JDOM and JAVA .
    Please let me know how to do this ....
    i dont want to use XSL OR XSLT ...
    i am free for discussions...pls help me
    ciao

    You can try these steps in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Programming Cameras and Pan-Tilts with DirectX and Java

    Hi everybody!
    I am looking for the book and CD for the book "Programming Cameras and Pan-tilts with DirectX and Java", by Ioannis Pavlidis, Vassilios Morellas, Pete Roeber. Morgan Kaufmann 2003. It is out of print. I cannot find it anywhere.
    Does anyone have a copy of the CD-ROM and would be willing to sell it to me?
    Many thanks for your help and input!
    Cheers,
    WP

    can you share cd-rom?
    Or can you send me the url where I can find the cd-rom?
    agungws
    agung at gmail dot com

  • [SOLVED] Problem with Vuze and Java RE x86_64

    Hello all !
    First of all, sorry if this issue was posted before, but find no related issue similar to mine.
    Using pacman, I successfully installed JRE (version 6u16-1-x86_64) and Vuze (version 4.2.0.8-1, former Azureus), but Vuze doesn't want to start.
    Running the Vuze's executable in the gnome-terminal, I notice messages from vuze informing it can't find Java executable ("Java exec not found in PATH, starting auto-search..." AND "OOPS, unable to locate java exec in /usr/java/latest /usr/java /usr/lib/jvm/latest /usr/lib/jvm hierarchy") and therefore cannot start the Vuze UI. I also tried but failed in verify the version of Java with the command "java -version" due to command not found.
    What is the best approach to fix this problem with Java 64 bits?
    Thanks in advance
    Last edited by josephg (2009-09-28 18:55:56)

    peart wrote:Just log out and back in, most likely.  There are scripts in /etc/profile.d/ that need to be run to set up your java environment.  They get run automatically when you log in.
    Yep, perfect answer - issue solved. Thanks a lot!

  • Problem with win2000sp3 and Java web start

    I have JRE and Java web start (1.2.0_01, build b01) which come downloading file j2re-1_4_1_01-windows-i586-i.exe from sun.
    I have win2000pro running on my PC.
    I had updated win2000 to service pack 2 and everything was fine.
    Now i decided to update to service pack 3 (in the process I also updated other components) from Microsoft and:
    1) Java applets seem to be running fine within i.e.
    2) If i try to run an application from java web start my PC freezes and I have to restart it.
    3) Staroffice 6.0, which runs on Java, seems to be fine.
    I reinstalled both sp3 and jre etc, with no result.
    Is this a known problem?
    Thanks to all.
    Maurizio

    I suspect that you have hit a known problem with Swing on Java 1.4.1 with buggy video drivers. Do you have an ATI card? They are the worst offenders. ATI released new drivers for its Radeon line today. They fix the problem.

  • Problem with JSP and Java Servlet Web Application....

    Hi every body....
    I av developed a web based application with java (jsp and Java Servlets)....
    that was working fine on Lane and Local Host....
    But when i upload on internet with unix package my servlets and Java Beans are not working .....
    also not access database which i developed on My Sql....
    M using cpanel support on web server
    Plz gave me solution...
    Thanx looking forward Adnan

    You need to elaborate "not working" in developer's perspective instead of in user's perspective.

  • Problem with DigiChat and java

    I can't get into a chat room because of a problem with digichat and java

    can get a  java for mac book pro

  • Install  ERP ECC 6.0 with EHP4 and JAVA stack (usage type)

    Hi all,
    I need to install ECC with EHP4 and also JAVA stack.
    I know that I have to install 2 stacks with different SID and oracle homes, firts I have to install ABAP stack and then the JAVA stack, but wich usage type should I choose for JAVA STACK?
    What I would like to have in my new installation would be the same usage type for JAVA stack like ERP 6.0 SR3 ABAP+JAVA stacks.
    What should I choose?
    Regards
    Thanks

    Hello,
    SAP ECC 6.0 allows ABAP and JAVA but EHP4 this feature is not.
    One thing I can suggest if you install ABAP stack first, it will initiates (even different SIDu2019s) the JAVA stack also.
    So JAVA stack having a protection with ABAP, because you know JAVA stack is a very sensitive and time consuming one when you want to start are stop.
    So you can do this sequence
    Suresh

  • Help with HTML and JAVA

    Hi.
    I'll have this question, and can't find the right answer...
    Suppose is this site called xyz.com and you need to register to be a member
    For simplicity member log-in page is simple...contains only login and password fields(Submit too) in HTML code:
    <html>
    <body>
    <form name="input" action="html_form_action.asp" method="get">
    User ID: <input type="text" name="ID" /><br />
    Password: <input type="password" name="pwd" /><br />
    <input type="submit" value="Submit" />
    </form>
    </body>
    </html>Will I be able to build a Java application witch will:
    1-Send me to this web-page
    2-Place my chosen id and password in the right place
    3-"Press" Submit button.
    So I open this Java Swing application , and Go button will send me to the members page of my xyz.com page.
    Thank you for the help.

    altisw5 wrote:
    Go button will send me to the members page of my xyz.com page.It depends on what you mean by "send me".
    If you mean access data on the members page through your program, yes.
    If you mean open a browser window to that page, I guess doable but might be tricky (with Robot and stuff).
    If you mean physically send you on the internet, no.

  • IE10 blocks local files with flash and java content

    Hello,
    we have imported the Microsoft Security Compliance Policys for IE10.
    Now we have unfortunately
    found that, IE is blocking content on the for the "local computer".
    We have installed some software which calls a index.html with some flash and java content, but nothing gets displayed. We`ve already enabled the setting "active content to run in files on my computer", but that doesnt help.
    I have copied the files on a file server which is member in the local intranet sites, an there everything is working perfect. My question is, how can I find out which setting is causing that?
    Hope somebody have a clue.

    Hi,
    Are we using the SCM (Microsoft Security Compliance Manager ) tool here?
    If we have any issue regarding SCM, we might consider seek help in the following forum:
    http://social.technet.microsoft.com/Forums/en-us/home?forum=compliancemanagement
    For Internet Explorer 10 is blocking the page content, please follow Rob's suggestions, consider use F12 debuger to check, and here is some information regarding F12 tool usage:
    How to use F12 Developer Tools to Debug your Webpages
    Best regards
    Michael Shao
    TechNet Community Support

  • Export DataGrid Data to File With JSP and Java

    My user's need to be able to load the data into a
    spreadsheet. I would like to stay with Flex and not use AIR. I used
    the windows clipboard but I run into Flash Player timeouts for
    larger data sets if the looping of the DataGrid rows takes longer
    than 2 minutes. I would like to do this with passing the data to a
    JSP page or use BlazeDS and then download the file. I would like to
    just pass the ArrayCollection so I don't have to loop through the
    DataGrid rows. I know I can receive an ArrayList from Java using
    BlazeDS and it gets converted to an ArrayCollection. Is it possible
    to send an ArrayCollection to a JSP page or Java class with
    BlazeDS?

    quote:
    Originally posted by:
    hartleyk
    Can anyone enlighten me on why, when I attempt this with one
    app everything works just as it's supposed to, while in a different
    one (the real one I'm trying to put in place, of course!), the php
    file simply displays
    ".stripslashes($_POST["htmltable"])." "; ?>
    in the browser instead of taking me through the file
    browse/download process? Anyone else run into this problem?
    Thanks for any help you can provide!
    its seems some syntax related problem.
    can you please post whole of your code? i thinks its not that
    much big.

  • IDM7.1- Synchronization with ABAP and JAVA

    hi all
    we are planning to Integrate EP(datasource: LDAP) and CUA/ABAP system with IDM7.1.
    Can somebody tell me How IDM takes care of CUA syncrhonization with LDAP and EP.  Synchronization is obsolete or its done by IDM internally.
    Please suggest us.
    regards

    Hi Jai,
    1) Connection establishment between LDAP, EP & ABAP.
    2) We define a Synchronization Job in IDM to sycn data between all the above
    3) When there is a change in LDAP or ABAP, Event Agents (out-of-box idm) detects the change and runs the synchronization job.
    How to define the synchronizaiton job is depends on the requirement.
    hope the above helps you.
    regards
    Anand.M

  • Deployment of SCA composite with Spring and JPA fails on WLS 10.3.3

    Hi,
    We want to use JPA as Persistence Layer (EclipseLink as Persistence Provider) in a Spring managed Bean in a SOA Composite (SCA).
    We configured our persistence.xml and spring configuration as described below.
    We are using JDeveloper 11.1.1.3 and WLS 10.3.3 with SOA Suite 11.1.1.3.
    The Deployment fails with the following Exception
    +Could not instantiate bean class [org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Could not initialize WebLogic ClassLoader because WebLogic 10 API classes are not available+
    We are not sure how to deal with the "WebLogic 10 API classes are not available" message. Is there a lib we have to add to the SCA composite or do we have to change the WLS configuration somehow?
    We already tried a lot of configurations of persistence.xml and spring but nothing worked so far.
    Exception
    Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTimeWeaver' defined in URL [oramds:/deployed-composites/default/ProjectBServiceSCA_rev1.0/ProjectBServiceSCA.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Could not initialize WebLogic ClassLoader because WebLogic 10 API classes are not available
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
            at java.security.AccessController.doPrivileged(Native Method)
            Truncated. see log file for complete stacktrace
    Caused By: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Could not initialize WebLogic ClassLoader because WebLogic 10 API classes are not available
            at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
            at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
            Truncated. see log file for complete stacktrace
    Caused By: java.lang.IllegalStateException: Could not initialize WebLogic ClassLoader because WebLogic 10 API classes are not available
            at org.springframework.instrument.classloading.weblogic.WebLogicClassLoader.<init>(WebLogicClassLoader.java:70)
            at org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver.<init>(WebLogicLoadTimeWeaver.java:57)
            at org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver.<init>(WebLogicLoadTimeWeaver.java:46)
            at sun.reflect.GeneratedConstructorAccessor768.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoSuchMethodException: oracle.classloader.PolicyClassLoader.addInstanceClassPreProcessor(weblogic.utils.classloaders.ClassPreProcessor)
            at java.lang.Class.getMethod(Class.java:1605)
            at org.springframework.instrument.classloading.weblogic.WebLogicClassLoader.<init>(WebLogicClassLoader.java:62)
            at org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver.<init>(WebLogicLoadTimeWeaver.java:57)
            at org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver.<init>(WebLogicLoadTimeWeaver.java:46)
            at sun.reflect.GeneratedConstructorAccessor768.newInstance(Unknown Source)
            Truncated. see log file for complete stacktracepersistence.xml
    <?xml version="1.0" encoding="Cp1252" ?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
                 version="1.0">
        <persistence-unit name="SCASpringJPATest">
        <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
        <jta-data-source>performanceTestDS</jta-data-source>
        <class>de.prototype.entities.Mainproject</class>
        <class>de.prototype.entities.Project</class>
        <properties>
          <property name="eclipselink.target-server" value="WebLogic_10"/>
          <property name="javax.persistence.jtaDataSource"
                    value="performanceTestDS"/>
        </properties>
      </persistence-unit>
    </persistence>spring.xml
    <beans xmlns="http://www.springframework.org/schema/beans"
           xmlns:util="http://www.springframework.org/schema/util"
           xmlns:jee="http://www.springframework.org/schema/jee"
           xmlns:lang="http://www.springframework.org/schema/lang"
           xmlns:aop="http://www.springframework.org/schema/aop"
           xmlns:tx="http://www.springframework.org/schema/tx"
           xmlns:sca="http://xmlns.oracle.com/weblogic/weblogic-sca"
           xmlns:context="http://www.springframework.org/schema/context"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/tool http://www.springframework.org/schema/tool/spring-tool-2.5.xsd http://xmlns.oracle.com/weblogic/weblogic-sca META-INF/weblogic-sca.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">
      <!--Spring Bean definitions go here-->
      <bean id="entityManagerFactory"
            class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
        <property name="persistenceUnitName" value="ProjectBServiceSCA"/>
        <property name="loadTimeWeaver">
          <bean class="org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver"/>
        </property>
        <property name="jpaVendorAdapter">
          <bean class="org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter">
            <property name="showSql" value="true"/>
            <property name="generateDdl" value="true"/>
            <property name="database" value="ORACLE"/>
          </bean>
        </property>
      </bean>
      <bean class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor"/>
      <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor"/>
      <tx:annotation-driven transaction-manager="txManager"/>
      <bean id="txManager"
            class="org.springframework.transaction.jta.WebLogicJtaTransactionManager">
        <property name="entityManagerFactory" ref="entityManagerFactory"/>
      </bean>
      <bean class="de.prototype.service.ProjectBServiceSCAImpl"
            id="projectBService">
        <property name="entityManagerFactory" ref="entityManagerFactory"/>
      </bean>
      <sca:service target="projectBService" name="projectBServiceSCA"
                   type="de.prototype.service.IProjectBServiceSCA"/>
    </beans>

    We solved the problem by using the org.springframework.instrument.classloading.oc4j.OC4JLoadTimeWeaver. But we are not sure if this is correct. It at least works so far without any problems...

  • Problem with firewall and java on line sites internet explorer

    i have been experiencing problems with java on line games because the firewall has blocked usage.On two of them when i press play to play the game a message appears error on page.If i dowload mozilla will i have the same problems? also when downloading from my gmail account again error on page. When i donload your browser do i click on save or open?
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; WinNT-EVI 27.03.2010)

    Well... good; when we help each other here, we can't
    assume that any step has been taken, unless it's been
    specifically identified. I'm sure that makes it all
    the more frustrating, since you are a very experienced
    user.
    Now, then:
    -- since you have reinstalled the Java Update; and
    -- if you open your Help >> Installed Plug-ins, and
    scroll down the list and find these three items:
    Java Plug-in for Cocoa -- Java 1.4.2 "JavaPluginCocoa.bundle"
    Java Plug-in (CFM) -- Java 1.3.1 "Java Applet Plugin Enabler"
    Java Plug-in "Java Applet.plugin"
    -- and if Enable Java and Enable JavaScript are checked in:
    Safari >> Preferences >> Security, as you say they are; and
    -- if Enable Plug-ins is checked in the same section,
    as you say it is; and
    -- you have repaired permissions, as you say you have; and
    -- you have emptied your Cache; and
    -- your Icons folder ({YOU}/Library/Safari/Icons) has been
    trashed if it is over 750 KB; and
    -- you have Quit, then relaunched Safari after all this,
    as you say you have; and
    -- your {YOU}/Library/Caches and {YOU}/Library/Caches/Safari
    folders have read and write permissions
    ...then, I'm currently at a loss as to what else to suggest.

Maybe you are looking for

  • Named destinations within a file on a network

    Is it possible for a PDF document to reference a specific destination page within another PDF file stored on a network? I'm familiar with the mechanism to do this in an html reference to a server file (#page=7 or #nameddest=), but it doesn't seem to

  • How can I get address book 4.1.2 to work with osx 10.6.7

    How do I get address book 4.1.2 to work with osx 10.6.7

  • Making a grid in servlets

    I have to make a 8*8 grid and assign random values like 0 and 1 in the cells. Can anyone help me out with the code. I want to use servlets.

  • Table Controls/Settings in VF02/VF03

    Hi, Is anyone aware of way to supress the Table Control icon on VF02 and VF03 using exits or a badi. We have a situation where we need to hide the Cost (WAVWR) field from certain users but not for the majority (we've hidden the cost in the pricing co

  • Unknown error during manual creation Inbound Delivery in EWM

    Hello all, I'm building a demo for an SAP EWM system. It's installed on an existing SCM system, and is connected to ECC 6.0. The replication of Inbound Deliveries from ERP to EWM is going fine. However, when I try to create an Inbound Delivery in EWM