CompiledWsdl jws argument does not work

Hi I am following the "Use Cases and Examples" documentation for WebLogic 10.3 and I cannot get the "Creating a Web Service from a WSDL File" section to work.
When I use the contents of the pasted wsdl and build.xml file, included in the documentation, I get an error where examples.webservices.wsdlc.TemperaturePortType class is not found and therefore the command ant build-service fails.
The class is in the correct namespace and in the TemperatureService_wsld.jar file which is pointed to by the compiledWsdl argument in jws element under jwsc element so either the example is incomplete or WRONG or the jwsc tool is broken.
Please help me resolve this issue. I shoudln't have to spend 1/2 without success just following a simple example and using all the code from the example so either the documentation and example are wrong and were not tested before being published or the jwsc tool is broken in Weblogic 10.3.
Here is the link for the documentation and source code for the example:
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webserv/use_cases.html#wp244395

ever got this resolved? tnx

Similar Messages

  • Silent install does not work using /S argument

    I am trying to perform a silent install of the Flash Player using the EXE.  I prefer not to use the MSI.  I am trying this command:
    install_flash_player_10.exe /s
    or
    install_flash_player_ax.exe /s
    Both commands produce this error:
    Invalid argument or invalid use of argument '/s'
    Has anyone encountered this before?  Thanks!

    When we build SMS packages for deployment we also build uninstall packages in the event that we need to rollback. The silet uninstall command for Flash 10.1 is
    install_flash_player_10.exe -uninstall
    It also seems to remove both the ActiveX and Plugin version if both are installed as in our environment. The uninstall string the registry:
    C:\WINDOWS\system32\Macromed\Flash\FlashUtil10h_ActiveX.exe -maintain activex
    does not work.
    Thanks for posting the -install tip. I was having trouble with that.
    Cheers!

  • JasperReports does not work outside Netbeans

    Hi guys,
    Background story: application with a couple of forms, the data can be stored and saved from a sqlite database. In the end the forms need to be saved as a PDF.
    Netbeans 6.7, JasperReports 4.0.2.
    Libraries in my Classpath: Commons-beanutils, Commons collections, commons digester, commons javaflow, commons logging, iText, Jasperreports
    I tried to use JasperReports for this matter. It runs perfectly when in Netbeans, and my PDF is generated.
    However, when I try to run the compiled .jar file from windows explorer... the whole JasperReports part does not work at all.
    I made a simple example showing my problem. It produces a nice 1 line PDF when in netbeans, but outside Netbeans, nothing again.
    Could you give me some advice on this? Or maybe an alternative for JasperReports?
    Thanks alot,
    Elwin
    package jasperreportsproject2;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import net.sf.jasperreports.engine.*;
    import net.sf.jasperreports.engine.export.*;
    import java.util.*;
    * @author Elwin
    public class Main {
         * @param args the command line arguments
        public static void main(String[] args) {
            String fileName = "test1.jrxml";
            String outFileName = "test.pdf";
            HashMap hm = new HashMap();
                // Fill the report using an empty data source
            try {
                JasperPrint print;
                JasperReport jasperreport;
                jasperreport = JasperCompileManager.compileReport(fileName);
                print = JasperFillManager.fillReport(jasperreport, hm, new JREmptyDataSource());
                // Create a PDF exporter
                JRExporter exporter = new JRPdfExporter();
                // Configure the exporter (set output file name and print object)
                exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, outFileName);
                exporter.setParameter(JRExporterParameter.JASPER_PRINT, print);
                // Export the PDF file
                exporter.exportReport();
                } catch (JRException ex) {
                Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
    }The xml file used to build the report
    Test1.jrxml
    <?xml version="1.0" encoding="UTF-8"?>
    <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="HelloWorld" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30">
         <property name="ireport.zoom" value="1.0"/>
         <property name="ireport.x" value="0"/>
         <property name="ireport.y" value="0"/>
         <detail>
              <band height="200" splitType="Stretch">
                   <staticText>
                        <reportElement x="0" y="0" width="500" height="20"/>
                        <textElement/>
                        <text><![CDATA[Hello Report World!]]></text>
                   </staticText>
              </band>
         </detail>
    </jasperReport>

    Another for xsql:
    Producing PDF Output with the FOP Serializer
    at
    http://www.stanford.edu/dept/itss/docs/oracle/10gR2/appdev.102/b14252/adx_j_xsqladv.htm
    NA
    http://nickaiva.blogspot.com

  • Export Parameters in Parameterized Message Mapping does not work.

    Hello, XI-Gurus!
    I have a question: how to use an EXPORT parameter in Parameterized Message Mapping? seems it does not work...
    (I use XI / PI 7.1)
    For example, I have a follow scenario: a large message comes to XI from one BS (message contains a lot of rows), then this large message splits to some small messages (something about 1000 rows in one small message), and send small messaeg one by one from XI to second BS. So, after receive step I use a transformation step with Parameterized Message Mapping to get a total amount of rows in large message (it needs for making condition for loop in IP, for example). I want to use an EXPORT parameter to pass this number from Parameterized Message Mapping to Integration Process. How can I do it?
    Of course, I know the way to how to make this scenario without any parameterizing, but I want to use exactly "Parameterized Message Mapping" like it writes in this help:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/c3e1fa6c31599ee10000000a1553f6/frameset.htm
    This topic contains something about procedure how to use an EXPORT parameter, but this procedure does not work. I don't understand how to write this UserDefined Function, which I can set any export parameters.
    I read this blog:
    /people/jin.shin/blog/2008/02/14/sap-pi-71-mapping-enhancements-series-parameterized-message-mappings
    this blog has NO solutions about EXPORT parameters. about IMPORT parameters - everything OK.
    Some topics about how to use export parameters in MM in this forum marked as "answered", but this is not true.
    How to export parameters from Message Mapping
    Export parameter REALLY work in message mapping???????
    Export parameter in Message mapping UDF
    WBR,
    Vsevolod

    Hi Rudolf,
    It still does not works.
    Great thanks for all your answers! If your advice works on your PI-server, it means that my problem not in UDF.
    Step by step:
    1) I create in "Signature" tab two parameters: FILE_NAME, FILE_TYPE (of course, they both Export and xsd:string type)
    2) Then, I goes to "Functions" tab and create new function "testUDF" with one argument var1.
    3) In body of this UDF insert 2 strings:
       getOutputParameters.setString("FILE_NAME" , "Order");
       getOutputParameters.setString("FILE_TYPE" , "PDF");
    4) in "Definition" tab I bind function "Local.testUDF" with one field in my input message and goes to "Test" tab for testing.
    5) And then I have a message window "Problems While Testing":
    Source text of object Message Mapping: mm_ParamMap | urn:****.*.:****:TEST has syntax errors:
    Function testUDF, Line 1:
    cannot find symbol
    symbol  : variable getOutputParameters
    location: class com.sap.xi.tf._mm_ParamMap_
    getOutputParameters.setString("FILE_NAME" , "Order");
    ^
    Function testUDF, Line 2:
    cannot find symbol
    symbol  : variable getOutputParameters
    location: class com.sap.xi.tf._mm_ParamMap_
    getOutputParameters.setString("FILE_TYPE" , "PDF");
    ^
    Note: /usr/sap/PID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb1562570ca9e11deb3fe00237d301cd6/source/com/sap/xi/tf/_mm_ParamMap_.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details. Note: /usr/sap/PID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb1562570ca9e11deb3fe00237d301cd6/source/com/sap/xi/tf/_mm_ParamMap_.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    Look at this notes, first writes that I use a deprecated API, second - about unchecked or unsafe operations.
    And I have no idea what's wrong... Can you help me?
    Thanks!
    WBR,
    Vsevolod

  • VPD context_sentisitive policy does not works as expected

    Hi,
    I'm trying to implement CONTEXT_SENSITIVE RLS policies:
    http://docs.oracle.com/database/121/ARPLS/d_rls.htm#ARPLS67721
    Server re-evaluates the policy function at statement execution time if it detects context changes since the last use of the cursor. For session pooling where multiple clients share a database session, the middle tier must reset context during client switches. Note that the server does not cache the value returned by the function for this policy type; it always executes the policy function on statement parsing. Applies to only one object.
    What I have discovered so far:
    1. policy function executed each time when query executed from SQL*Plus. Independently of context changes.
    2. policy function executed only once when query executed from PL/SQL.
    3.  When we have a PL/SQL procedure like this:
    begin
    <query>
    <change context>
    <query>
    end;
    Additionally, query (cursor) is not present in PL/SQL cursor cache, then
    policy functions executed only once when first query executed.
    So wrong results are possible when application context changed in a way that policy function returned predicate also changed.
    4. JDBC: policy function executed each time when query is executed. Policy function executed only once when I enabled statement caching:
    OracleDataSource ods =  new OracleDataSource();
    // skip
    ods.setConnectionCachingEnabled( true );
    ods.setImplicitCachingEnabled( true );
    Properties cacheProps = new Properties();
    cacheProps.put( "InitialLimit", "1" );
    cacheProps.put( "MinLimit", "1" );
    cacheProps.put( "MaxLimit", "5" );
    cacheProps.put( "MaxStatementsLimit", "50" );
    ods.setConnectionCacheProperties( cacheProps );
    5. Queries with RLS policies are not cached in the session cursor cache. For example, if we executed same query multiple times in SQL*Plus - then this query will be not cached.
    2 and 3 (PLSQL) relates to PL/SQL cursor cache.
    As a result, when we disable PL/SQL cursor cache (setting session_cached_cursors=0), then policy function executed each time in PL/SQL.
    What I have observed, it is not agreed with documentation on context_sensitive policies (I provided a link above):
    Server re-evaluates the policy function at statement execution time if it detects context changes since the last use of the cursor.
    Signature of DBMS_RLS.ADD_POLICY procedure was changed in 12c with additional arguments: NAMESPACE, ATTRIBUTE.
    I tried to use them with no luck, results are the same.
    In my opinion statements below are contradict to each other:
    1. Server re-evaluates the policy function at statement execution time if it detects context changes since the last use of the cursor.
    2. it always executes the policy function on statement parsing.
    First, documentation says that the policy function evaluates at statement execution time.
    Second, documentation says that the policy function executes on statement parsing.
    I have used Oracle Database 12.1.0.2 for testing.
    I provided a script that I have used in my tests:
    rls_policy.txt - creates test schema and policy
    rls_sqlplus.txt - runs simple select against query with RLS policy
    rls_plsql.txt - more complex example, runs some anonymous blocks with queries against table with RLS policy.
    In my opinion, context_sensitive policies does not works as described in the documentation.
    Is it a bug or I'm missing something?
    Please advice.
    Best regards,
    Mikhail.

    Thanks Scott. May i know why i should never use user policies for denying access?
    From my readings on some articles, there is no way to deny users permission in sharepoint after granting domain users with read access other than the web application user policy in our case (with certain reason, we need this group to be granted with
    read access but we would like to restrict small amount of users from seeing the page)

  • Outer join (with (+)) does not work

    I started with a working SQL statement:
    SELECT DISTINCT username, r.granted_role
    FROM dba_users u, dba_sys_privs s, dba_tab_privs t, dba_role_privs r
    WHERE u.username = s.grantee
    AND u.username = t.grantee
    AND u.username = r.grantee
    ORDER BY username, r.granted_role;
    Fine, now I want to add two columns which indicate which of the users have SYSDBA and SYSOPER privileges.
    As in another post told this can be achieved by:
    SELECT * FROM V$PWFILE_USERS;
    When I want to merge these two SQL statements I need an outer join but the following does not work:
    SELECT DISTINCT u.username, r.granted_role, v.SYSDB, v.SYSOP
    FROM dba_users u, dba_sys_privs s, dba_tab_privs t, dba_role_privs r, V$PWFILE_USERS v
    WHERE u.username = s.grantee
    AND u.username = t.grantee
    AND u.username = r.grantee
    AND u.username = v.username(+)
    ORDER BY u.username, r.granted_role;
    I got an error message:
    SELECT DISTINCT u.username, r.granted_role, v.SYSDB, v.SYSOP
    ERROR at line 1:
    ORA-06553: PLS-306: wrong number or types of arguments in call to 'V'
    Why?

    Run this
    SELECT DISTINCT u.username, r.granted_role, v.SYSDBA, v.SYSOPER
               FROM dba_users u,
                    dba_sys_privs s,
                    dba_tab_privs t,
                    dba_role_privs r,
                    v$pwfile_users v
              WHERE u.username = s.grantee
                AND u.username = t.grantee
                AND u.username = r.grantee
                AND u.username = v.username(+)
           ORDER BY u.username, r.granted_role;- - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • 11.2.0.3, DBMS_DATAPUMP import ower db link, DATA_REMAP does not work

    This is related to impdp: should network_link and remap_data work together? that I accidentally marked as answered.
    Documentation says, I can supply NULL as value of schema for DATA_REMAP: See   DBMS_DATAPUMP
    That does not work, it gives an error:
    ERROR at line 1:
    ORA-39001: invalid argument value
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3507
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 4309
    ORA-06512: at line 11
    If I give SOURCE_SCHEMA as schema, DATA_REMAP does nothing.
    TARGET_SCHEMA is of course not accepted as TABLE_TO_LOAD does not yet exist.
    The code I am using is something like this:
    set serveroutput on;
    declare
      handlename number;
    begin
        handlename := DBMS_DATAPUMP.open('IMPORT','TABLE', 'SOURCE_DB_LINK','NAME_OF_JOB');
        DBMS_DATAPUMP.METADATA_FILTER(handle => handlename, name => 'SCHEMA_LIST', value => '''SOURCE_SCHEMA''');
        DBMS_DATAPUMP.METADATA_FILTER(handle => handlename, name => 'NAME_EXPR', value => 'IN (''TABLE_TO_LOAD'')');
        DBMS_DATAPUMP.METADATA_REMAP(handlename,'REMAP_SCHEMA','SOURCE_SCHEMA','TARGET_SCHEMA');
        DBMS_DATAPUMP.ADD_FILE(handlename, 'name_of_log','DUMPDIR',NULL,DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE,1);
        DBMS_DATAPUMP.DATA_REMAP(handlename, 'COLUMN_NAME', 'TABLE_TO_LOAD', 'COLUMN_TO_REMAP',  'TARGET_SCHEMA.REMAPKG.REMAPFN',  NULL);
        DBMS_DATAPUMP.START_JOB(handlename);
    end;
    Any ideas?

    Hi,
    seems it is not supported for Network link check this: Ref Doc:DBMS_DATAPUMP
    Usage Notes
    The DATA_REMAP procedure is only supported for Export and Import operations. It allows you to manipulate user data being exported or imported. The name of the remap determines the remap operation to be performed.
    I haven't try this but, are you using the same user/schema name for the data pump operation where your object exist.. if not you can try this option as well. in that case NULL support i believe.
    HTH

  • ReadObject query by idfr does not work first call

    I am running Toplink 10.1.3.0.0 inside the oc4j container. A basic example is that I have an object Employee that has a String attribute id. This class goes to the employee table. I have set an Expression in the Toplink Workbench to do Read Object and it just checks that id = the idfr passed in as an argument. When running the query by the idfr in the container, the idfr is set as the argument and the data exists in the database. With Toplink logging turned onto FINE I see the query being run "select xyz from employee where idfr = x". But the return value from the query is null. But if I run the query through a second time it returns with the correct object. I have tried changing this to a Read All query, and then just accessing the 0th element from the List returned, and this seems to work fine. I am still concerned, though, as to why the Read Object query does not work on the first go around as is expected?

    Any reason you set the Read Object query? The Expression you've provided is the same as what TopLink generates.
    Out of interest, does the problem occur if your primary key attribute is an int/long, or some other numeric type. Does your String attribute value or query id value have trailing or leading spaces? Oracle database will trim leading and trailing blanks on INSERT/UPDATE which can lead to confusion.
    Turn the logging up to FINEST and look for log messages relating to registration of existing objects. If you can post the test code and log that would help.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • The argument does not represent an annotation type

    Hello, i stated getting this exception today:
    java.lang.IllegalArgumentException: The argument does not represent an annotation type: <MyAnnotationType>
    even if <MyAnnotationType> is an annotation and the processor used to work unmodified.
    Is there a way to check if the TypeElement before calling roundEnv.getElementsAnnotatedWith(annotation) ?
    The code in question is:
         @Override
         public boolean process(Set<? extends TypeElement> annotations,
                   RoundEnvironment roundEnv) {
              for (TypeElement annotation : annotations) {
                   for (Element el : roundEnv.getElementsAnnotatedWith(annotation)) {
              return true;

    Julio.Faerman wrote:
    Hello, i stated getting this exception today:
    java.lang.IllegalArgumentException: The argument does not represent an annotation type: <MyAnnotationType>
    even if <MyAnnotationType> is an annotation and the processor used to work unmodified.So is there something else that changed today in your environment?

  • URLLoader does not work

    I am following the URLLoader example
    I'm compiling with -mxmlc -use-network=false Main.as
    Both main.swf and the file I'm trying to download (test.txt) reside in the same directory
    I get the open even then the HTTPStatus event (status == 0) then nothing happens
    I verified that the file is found: I changed the file name to xtest.txt and promptly got an ioError event.
    I tried to compile without -use-network=false and the load failed with an error #2148 as expected
    I changed the url to http://test.txt, compiled with -use-naetwork=flase and the load failed with error #2028 as expected
    I added a timer to make sure the flash is running, and it does
    In short I think it simply is broked!
    Compiled using flex sdk "Version 3.3.0 build 4852"
    The player's about sends me to http://www.adobe.com/software/flash/about/ ,  which reports "You have version 10,0,32,18 installed"
    The URLLoader is suported since player v9
    Browser is firefox, and I am running it on Linux
    Here's the code:
    package
        import flash.display.Sprite;
        import flash.text.TextField;
        import flash.utils.setInterval;
        import flash.net.URLRequest;
        import flash.net.URLRequestMethod;
        import flash.net.URLLoader;
        import flash.net.URLLoaderDataFormat;
        import flash.events.IEventDispatcher;
        import flash.events.Event;
        import flash.events.IOErrorEvent;
        import flash.events.HTTPStatusEvent;
        import flash.events.SecurityErrorEvent;
        import flash.utils.ByteArray;
        public class Main extends Sprite
            private var downloadUrl:String;
            private var downloadRequest:URLRequest;
            private var downloadLoader:URLLoader;
            private var downloadBytes:ByteArray;
            private var downloadStarted:Boolean = false;
            private var downloadDone:Boolean = false;
            private var statusLine:TextField;
            private var statusText:String = "";
            private var timerStep:Number = 100;
            private var elapsedTime:Number = 0;
            public function Main()
                statusLine = new TextField();
                statusLine.width = 400;
                statusLine.height = 400;
                statusLine.multiline = true;
                statusLine.wordWrap = true;
                statusLine.text = "Starting";
                addChild(statusLine);
                // NOTE: Adobe livedocs for setInterval says:
                // "Instead of using the setInterval() method, consider creating
                //  a Timer object, with the specified interval, ..."
                // except it does not work! stick with setInterval() for now
                elapsedTime = 0;
                setInterval(showStatus,timerStep);
                download("http://test.txt");
            private function showStatus():void
                var txt:String = "";
                elapsedTime += timerStep;
                if (downloadDone)
                    txt += "Download done ";
                else
                if (downloadStarted)
                    txt += "Downloading ";
                txt += statusText + "\n";
                txt += " > " + Math.round(elapsedTime/100)/10 + " < ";
                statusLine.text = txt;
            public function download(url:String):void
                downloadStarted = false;
                downloadDone = false;
                downloadUrl = url;
                downloadRequest = new URLRequest(downloadUrl);
                downloadLoader = new URLLoader();
                configureListeners(downloadLoader);
                try {
                    downloadLoader.dataFormat = URLLoaderDataFormat.TEXT;
                    downloadLoader.load(downloadRequest);
                } catch (error:Error) {
                    statusText = "download failed: " + error.message;
            private function configureListeners(dispatcher:IEventDispatcher):void
                dispatcher.addEventListener(Event.COMPLETE,downloadCompletedHandler);
                dispatcher.addEventListener(Event.OPEN,downloadStartedHandler);
                dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR,downloadSecurityErrorHandle r);
                dispatcher.addEventListener(HTTPStatusEvent.HTTP_STATUS,downloadHttpStatusHandler);
                dispatcher.addEventListener(IOErrorEvent.IO_ERROR,downloadIOErrorHandler);
            private function downloadStartedHandler(event:Event):void
                downloadStarted = true;
                statusText += "Started " + event;
            private function downloadCompletedHandler():void
                downloadDone = true;
                statusText += "Completed ";
            private function downloadSecurityErrorHandler(event:Event):void
                statusText += "SecurityError (" + event + ")";
            private function downloadHttpStatusHandler(event:Event):void
                statusText += "HttpStatus(" + event + ")";
            private function downloadIOErrorHandler(event:Event):void
                statusText += "IOError (" + event + ")";

    silly mistake... notice how all callback functions take an argument "event"Event" ... all that is _except_ the downloadCompleted handler
    i changed
    private function downloadCompletedHandler():void
    to
    private function downloadCompletedHandler(event:Event):void
    and this code started to work
    unfortunatly, the compiler does not catch this sort of error.

  • HT5559 Java web start does not work

    I have followed the instructions in this article, including the last step about web start, but it still does not work, neither applets or web start. When I try to launch a JWS application by double clicking it I get the dreaded warning dialog:
    To open this Web Start application, you need to download the Java Runtime Environment.
    Click “More Info…” to visit the website for the Java Runtime Environment.
    I do have a JRE installed, 1.6, since I for compatibility reasons can't upgrade.
    Trying to launch a web start application from the commandline looks like this:
    $ javaws /tmp/airview.jnlp
    Java Web Start splash screen process exiting ...
    Can not find message file: No such file or directory
    Regular Java-programs work fine.
    $ java -version
    java version "1.6.0_37"
    Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
    Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

    Read this thread https://discussions.apple.com/thread/4789691?tstart=0
    This fixed the issue for me:
    sudo /usr/libexec/PlistBuddy -c "Delete :JavaWebComponentVersionMinimum" /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta. plist
    In the comments to the linked article someone suggests to comment out the node in stead of deleting it. Probably safer (it's explained further down how to do that). Anyway I already spent to much time on this nonsense, deleted it and it worked, so I'm happy.

  • Isqlplus with full connection description does not work in netscape/firefox

    http://machine/isqlplus?userid="user/pass@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xxx.xxx.xxx)(PORT=1521))(CONNECT_DATA=(SID=xxx)(SRVR=DEDICATED)))"
    This works in IE, but fails in netscape and firefox with: SP2-0874: URL argument is missing a keyword
    It looks like a URL encoding issue. Has anyone seen this and if so have you found a solution?

    Thanks for the try, but that didn't help. Actually, without the full connection description it works in both browsers, i.e.
    http://machine/isqlplus?userid=user/pass@servicename
    does work in both. isqlplus under firefox appears to not like the encoding as:
    http://machine/isqlplus?userid="user/pass@servicename"
    this does not work under firefox. But with a full connect string it appears I need the quotes as without nether works.

  • cfauthenticate does not working

    <cfauthenticate> does not working under IIS. I've tried
    everything but the username / password requesting window doesn't
    appear. What's gonna be the problem?
    Thanks

    Back on CF 5.0, you would need the Enterprise edition (not
    Standard) so that you'd have SiteMinder up and running as a
    service. You'd then need to configure (via CF Administrator) the NT
    domains and Policies for <cfauthenticate> and Siteminder to
    co-ordinate on. And you would then need to build your own Logon
    page yourself, giving the keyed arguments to <cfauthenticate>
    to give you back an answer.
    If you're talking about standard IIS Windows Authentication
    at the folder level and automatic Windows Pop-ups, that is a whole
    nother story and has nothing to do with Cold Fusion. You'd do all
    that right in IIS and pages would never even get passed to CF until
    IIS was satisfied.

  • Em.merge does not work while em.persist does?

    Hello,
    I have a stateless session bean with code snippets below.
        @PersistenceContext
        private EntityManager em;
        public void setList(ContainerList list, int key) {
            ContainerList stored = (ContainerList)em.find(ContainerList.class, key);
            list.setId(key);
            if (stored == null) { em.persist(list); }
            else {
                em.merge(list); // 1st alternative
    //            stored.copy(list); // 2nd alternative
    ...When I call the method setList for a non existing key, the entity is stored in the database. When I call the method for an existing key, the old value is not updated by the new, i.e. the merge method has no effect. If I comment out the 2nd alternative, it has no effect either. Does anyone has an idea why this does not work? I am using Netbeans 5.5 and 5.5.1 release candidate 1. (With the included application server.)

    Hello,
    I will try to summarise my knowledge of the JAVA persistence API as the documentation is not always clear and may be misleading.
    In SQL you have 4 main statements: INSERT, SELECT, UPDATE and DELETE.
    with
    @PersistenceContext
    private EntityManager em;some documentation appears to make the following associations:
    em.persist(Object entity) -> INSERT
    em.find(Class entityClass, Object primaryKey) -> SELECT
    em.merge(Object entity) -> UPDATE
    em.remove(Object entity) -> REMOVE
    However, practice shows that this is NOT the case!
    em.merge(Object entity) does exactly the same thing as em.find(Class entityClass, Object primaryKey)! The only difference is that the em.merge(Object entity) method takes a detached object of the entity class as argument with the same primary key as the attached object you are loading.
    Detached objects are objects of the entity class the database manager is not aware of. Attached objects are objects in the database and are managed by the persistence context. Every newly created object of an entity class is detached. You can attach them to the database with the em.persist(Object entity) method call. Attached objects can be retrieved with the em.find(Class entityClass, Object primaryKey) or with the em.merge(Object entity) method. All changes made to attached objects are automatically stored in the database. There thus is no explicit method for the UPDATE statement. You just make changes to attached objects and the entity manager copies the changes to the database (at the end of the persistence context). An easy way to make all the changes you need at once is to have a detached object that contains the right values and then copy all these values to the associated attached object with a self defined copy method in the entity class as in
       Entity detached;
    // --> begin persistence context
       Entity attached = em.merge(detached);
       attached.copy(detached);
    // <-- end persistence contextIf you are working with session beans, the persistence context standard begins with the beginning of a transaction and ends with the end of a transaction. A transaction standard begins with the start of a session bean method and ends with the session bean method. If you choose to, you can make the persistence context of type extended with
    @PersistenceContext(type=PersistenceContextType.EXTENDED)
    private EntityManager em;In this case, the persistence context ends when the session bean is removed from the EJB container. (Can be useful to keep attached entities in the state of an stateful session bean.)
    Without session beans, you have to declare explicitely the start and end of a persistence context or transaction, but I refer to existing documentation for this, as I do not actively know how to handle things without session beans.
    Finally, the methods em.persist(Object entity) and em.merge(Object entity) use a detached object as argument, while em.remove(Object entity) uses an attached object as argument (using a detached object results in an Exception thrown).
    I hope this makes some things clear

  • Installed Premiere Pro CS4 but video display does not work?

    I just got my copy of CS$. After installing Premiere I found two things that seem very wrong:
    1) video display does not work, not even the little playback viewer next to improted film clips located on the project / sequence window. Audio works fine.
    2) the UI is way too slow for my big beefy system.
    My pc is a dual boot Vista-32 and XP system with 4GB of memory installed and nvidia geforce 280 graphics board with plenty of GPU power. The CS4 is installed on the Vista-32 partition. My windows XP partition on the same PC with Premiere CS2 works great and real fast.
    Any ideas how to solve this CS4 install issue?
    Ron

    I would like to thank Dan, Hunt, and Haram:
    The problem is now very clear to me. The problem only shows up with video footage imported into PP CS4 encoded with "MS Video 1" codec. So this seems to be a bug. The codec is very clearly called out and supported within various menues but video with this codec just will not play in any monitor or preview window. In addition the entire product looks horrible with respect to performance while PP CS4 trys its best to play the video. Audio will start playing after about 30 seconds. And once in awhile part of video shows up at the wrong magnification before blanking out again.
    My suggestion to the Adobe team: fix the bug and add some sample footage to the next release so new installations can test their systems with known footage.
    My PC is brand new with the following "beefy" components:
    Motherboard
    nForce 790i SLI FTW
    Features:
    3x PCI Express x16 graphics support
    PCI Express 2.0
    NVIDIA SLI-Ready (requires multiple NVIDIA GeForce GPUs)
    DDR3-2000 SLI-Ready memory w/ ERP 2.0 (requires select third party system memory)
    Overclocking tools
    NVIDIA MediaSheild w/ 9 SATA 3 Gb/sec ports
    ESA Certified
    NVIDIA DualNet and FirstPacket Ethernet technology
    Registered
    CPU: Intel Core 2 Quad Q9550
    S-Spec: SLAWQ
    Ver: E36105-001
    Product Code: BX80569Q9550
    Made in Malaysia
    Pack Date: 09/04/08
    Features:
    Freq.: 2.83 GHz
    L2 Cache: 12 MHz Cache
    FSB: 1333 MHz (MT/s)
    Core: 45nm
    Code named: Yorkfield
    Power:95W
    Socket: LGA775
    Cooling: Liquid Cooled
    NVIDIAGeForce GTX 280 SC graphics card
    Features:
    1 GB of onboard memory
    Full Microsoft DirectX 10
    NVIDIA 2-way and 3-way SLI Ready
    NVIDIA PureVideo HD technology
    NVIDIA PhysX Ready
    NVIDI CUDA technology
    PCI Express 2.0 support
    Dual-link HDCP
    OpenGL 2.1 Capaple
    Output: DVI (2 dual-link), HDTV
    Western Digital
    2 WD VelociRaptor 300 GB SATA Hard Drives configured as Raid 0
    Features:
    10,000 RPM, 3 Gb/sec transfer rate
    RAM Memory , Corsair 4 GB (2 x 2 GB) 1333 MHz DDR3
    p/n: TW3X4G1333C9DHX G
    product: CM3X2048-1333C9DHX
    Features:
    XMS3 DHX Dual-Path 'heat xchange'
    2048 x 2 MB
    1333 MHz
    Latency 9-9-9-24-2T
    1.6V ver3.2

Maybe you are looking for