Content-type problems while using struts+tomcat+apache+mod_jk

Hi!
Could anyone tell me how to solve the following problem.
Struts-application works under apache + mod_jk + tomcat 3.3.1. Operating system is Linux.
It's impossible to me to make tomcat to send HTTP-answers in UTF-8.
I was trying the following:
1. Set <DecodeInterceptor defaultEncoding="UTF-8" /> in server.xml
(Has no effect. Tomcat responds with Content-Type: text/html; charset=iso-8859-1)
2. Insert <%@ page contentType="text/html; charset=utf-8"%> into each page header.
(Works fine but when struts-application gets GET/POST-data the two-bytes national characters
are comverted into "?"-symbols)
Is there any way to make tomcat 3.3.1 to send HTTP-answers in UTF-8?

I don't know what the DecodeInterceptor does... but....
If you use number 2, you are only telling the browser what that page's output is. When you process the data, Tomcat for some reason always reads it as ISO8895-1, so you need to tell Tomcat to change it to UTF-8. You can do that by calling request.setCharacterEncoding("UTF-8"), either in the JSP page, or if you need it in a servlet, you can do that in a filter...
It's somewhat described here how to set it up...
http://www.mail-archive.com/[email protected]/msg01193.html

Similar Messages

  • Problem while using struts 1.3.8

    Hi All,
    I have some problem while using struts 1.3.8 in my application.
    I am using OC4J 10.1.2.0.2, my simple coding is follows:
    <%@ page contentType="text/html;charset=utf-8"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%>
    <html:xhtml />
    <html:form action="<action page>" method="POST" enctype="multipart/form-data" >
    <p>
         <label for="Subject" ><span class="Mandatory">*</span> Subject:</label>
         <html:text size="40" property="subject" />
    </p>
    <p>
         <label for="upload" >Attachment:</label>
         <html:file size="40" property="attachmentFile" />
    </p>
    <p>
             <html:submit />
    </p>after clicking my the submit button in the server console i m getting
    JAAS-OC4J: JAZNFilter.doFilter - unable to find the current servlet
    javax.servlet.ServletException: JAAS-OC4J: JAZNFilter.doFilter - unable to find the current servlet
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
    at org.apache.struts.tiles.commands.TilesPreProcessor.doForward(TilesPreProcessor.java:260)
    at org.apache.struts.tiles.commands.TilesPreProcessor.execute(TilesPreProcessor.java:217)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at com.ed.ecomm.edcore.web.filters.SecurityFilter.doFilter(SecurityFilter.java:196)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at com.ed.ecomm.edcore.web.filters.MonitoringFilter.doFilter(MonitoringFilter.java:138)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at com.ed.ecomm.edcore.web.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    further i investigate and i removed the "enctype=multipart/form-data" from the form attribute its working fine..
    but without using this attribute struts doesn't support the "upload" i.e, form file... its throwing another exeception..
    could you anyone please let me know whether i can change my OC4J server version of anything need to do..
    many thanks in advance

    I'm having the same exact problem. Any ideas?
    Schema sfactory;
    Schema schema;
    sfactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
    ErrorHandler eHandler = new MyErrorHandler();
    sfactory.setErrorHandler(eHandler);        
    LSResourceResolver lsrResolver = new MyLSResourceResolver();
    sfactory.setResourceResolver(lsrResolver);
    schema = sfactory.newSchema(new File(argv[1]));The last line gives me NullPointerException. I know the file (argv[1]) exists and can be read because I can print it with a BufferedReader.

  • Select option "Show this View : in Folder of Content type : {Custom Content Type Name}" while creating view using CSOM

    Hi,
    I am trying to create "View" in a Document Library and need to enable following:
    1. Mark as default View
    2. Folders -> Show this view : in Folders of Content Type : {Custom Content Type name}
    I am using following code which sets "in Folders of Content Type : " to "Folder" rather than selecting custom content type despite passing Content Type ID of custom content type.
    code:
    var itemContentTypes = clientContext.LoadQuery(web.AvailableContentTypes.Where(ct => ct.Name == viewContentType));
    clientContext.ExecuteQuery();
    var itemContentType = itemContentTypes.FirstOrDefault();
    view.ContentTypeId = itemContentType.Id;
    view.DefaultViewForContentType = true;
    view.Update();
    clientContext.ExecuteQuery();
    Please highlight what seems to be missing?
    Thanks
    Sonal

    Hi,
    Before you set the content type ID for the view, you need to add the custom content type to the library firstly.
    You can add the content type to library using OOTB feature “Add from existing site content types” in library settings or using Client Object Model.
    Here is a code snippet for your reference:
    var list = context.Web.Lists.GetByTitle(listTitle);
    list.ContentTypesEnabled = true;
    var contentType = context.Site.RootWeb.ContentTypes.GetById("0x0120");
    list.ContentTypes.AddExistingContentType(contentType);
    context.ExecuteQuery();
    More information about add exist content type using Client Object Model:<o:p></o:p>
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.contenttypecollection.addexistingcontenttype%28v=office.15%29.aspx
    Best regards,
    ZhengyuGuo
    Zhengyu Guo
    TechNet Community Support

  • Jvm 1.5.0_06 crashing while used in tomcat as service

    ANyone ever seen this one.
    JVM crashes while used by tomcat as service. The crash occurs randomly. In this case while writing an index for lucene. Lucene is used within our jackrabbit application. This crash caused the index en thus the data in jackrabbit to become corrupt. All content of repository was therefor useless.
    Tomcat 5.5.17 is installed on a windows 2003 server.
    Does anyone know the cause of this crash. See hs_errpidx.og file below
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6da727b6, pid=1132, tid=1160
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # V [jvm.dll+0x1f27b6]
    --------------- T H R E A D ---------------
    Current thread (0x26b175d8): JavaThread "CompilerThread0" daemon [_thread_in_native, id=1160]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
    Registers:
    EAX=0x272bf5c4, EBX=0x26dcf1b0, ECX=0x00000000, EDX=0x6db74d28
    ESP=0x26dcf15c, EBP=0x272c1424, ESI=0x272c0d1c, EDI=0x272c0cd8
    EIP=0x6da727b6, EFLAGS=0x00010246
    Top of Stack: (sp=0x26dcf15c)
    0x26dcf15c: 272c0cd8 272c0d1c 6da728bd 272bf5a4
    0x26dcf16c: 272c1424 26dcf1b0 272c1488 00000000
    0x26dcf17c: 272c1424 26dcf280 6da72adf 272c0d1c
    0x26dcf18c: 272c1424 26dcf1b0 26dcf280 272c1424
    0x26dcf19c: 272be300 272c1424 26dcf280 00000000
    0x26dcf1ac: 278b0794 00000000 00000002 276942e0
    0x26dcf1bc: 00000000 6dac5e2f 26dcf280 00000001
    0x26dcf1cc: 0000002e 26dcf3c0 272c1424 6dac5cc7
    Instructions: (pc=0x6da727b6)
    0x6da727a6: 83 78 0c 03 0f 85 87 00 00 00 8b 40 04 8b 48 08
    0x6da727b6: 8b 11 ff 52 28 85 c0 74 78 8b 40 04 8b 08 8b 11
    Stack: [0x26d90000,0x26dd0000), sp=0x26dcf15c, free space=252k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x1f27b6]
    Current CompileTask:
    opto:2085 org.apache.lucene.index.IndexReader$1.doBody()Ljava/lang/Object; (99 bytes)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x27f95fb8 JavaThread "IndexMerger" daemon [_thread_blocked, id=2588]
    0x2737c618 JavaThread "ObservationManager" daemon [_thread_blocked, id=2584]
    0x279fc6c8 JavaThread "IndexMerger" daemon [_thread_blocked, id=192]
    0x27c40a70 JavaThread "ObservationManager" daemon [_thread_blocked, id=1796]
    0x27c40bf8 JavaThread "File Reaper" daemon [_thread_blocked, id=548]
    0x29488c20 JavaThread "IndexMerger" daemon [_thread_blocked, id=2288]
    0x28b8a008 JavaThread "ObservationManager" daemon [_thread_blocked, id=2268]
    0x27ee5e28 JavaThread "TP-Monitor" daemon [_thread_blocked, id=1392]
    0x29427008 JavaThread "TP-Processor4" daemon [_thread_in_native, id=1208]
    0x27641e50 JavaThread "TP-Processor3" daemon [_thread_blocked, id=1320]
    0x27749e08 JavaThread "TP-Processor2" daemon [_thread_blocked, id=2020]
    0x277de008 JavaThread "TP-Processor1" daemon [_thread_blocked, id=1916]
    0x270005e0 JavaThread "http-8080-Monitor" [_thread_blocked, id=1808]
    0x26bff010 JavaThread "http-8080-Processor25" daemon [_thread_in_native, id=1100]
    0x276345a0 JavaThread "http-8080-Processor24" daemon [_thread_blocked, id=1840]
    0x28e82820 JavaThread "http-8080-Processor23" daemon [_thread_blocked, id=1136]
    0x26bb5848 JavaThread "http-8080-Processor22" daemon [_thread_blocked, id=1452]
    0x26f000c0 JavaThread "http-8080-Processor21" daemon [_thread_blocked, id=1460]
    0x26bb4820 JavaThread "http-8080-Processor20" daemon [_thread_blocked, id=1456]
    0x29617648 JavaThread "http-8080-Processor19" daemon [_thread_blocked, id=296]
    0x28af65d0 JavaThread "http-8080-Processor18" daemon [_thread_blocked, id=300]
    0x291b4790 JavaThread "http-8080-Processor17" daemon [_thread_blocked, id=1660]
    0x28b1a7f0 JavaThread "http-8080-Processor16" daemon [_thread_blocked, id=1340]
    0x28b1a5c8 JavaThread "http-8080-Processor15" daemon [_thread_blocked, id=1076]
    0x276ca838 JavaThread "http-8080-Processor14" daemon [_thread_blocked, id=1332]
    0x291bd6b8 JavaThread "http-8080-Processor13" daemon [_thread_blocked, id=1008]
    0x29657630 JavaThread "http-8080-Processor12" daemon [_thread_blocked, id=1028]
    0x29657408 JavaThread "http-8080-Processor11" daemon [_thread_blocked, id=1764]
    0x290197a8 JavaThread "http-8080-Processor10" daemon [_thread_blocked, id=580]
    0x279d2d50 JavaThread "http-8080-Processor9" daemon [_thread_blocked, id=304]
    0x27557600 JavaThread "http-8080-Processor8" daemon [_thread_blocked, id=204]
    0x27150d60 JavaThread "http-8080-Processor7" daemon [_thread_blocked, id=212]
    0x27150a00 JavaThread "http-8080-Processor6" daemon [_thread_blocked, id=232]
    0x27150740 JavaThread "http-8080-Processor5" daemon [_thread_blocked, id=1980]
    0x29869be8 JavaThread "http-8080-Processor4" daemon [_thread_blocked, id=2004]
    0x29869a60 JavaThread "http-8080-Processor3" daemon [_thread_blocked, id=2044]
    0x298698d8 JavaThread "http-8080-Processor2" daemon [_thread_blocked, id=1992]
    0x290a5ab0 JavaThread "http-8080-Processor1" daemon [_thread_blocked, id=1988]
    0x2926b408 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=1924]
    0x290741e8 JavaThread "RMI TCP Accept-2099" daemon [_thread_in_native, id=1020]
    0x29063df0 JavaThread "GC Daemon" daemon [_thread_blocked, id=1752]
    0x29488228 JavaThread "RMI Reaper" [_thread_blocked, id=1220]
    0x2912dc50 JavaThread "Timer-2" daemon [_thread_blocked, id=692]
    0x274ce768 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=928]
    0x2796ce48 JavaThread "IndexMerger" daemon [_thread_blocked, id=520]
    0x27181e58 JavaThread "Timer-1" daemon [_thread_blocked, id=504]
    0x27546e48 JavaThread "Timer-0" daemon [_thread_blocked, id=484]
    0x274cc618 JavaThread "ObservationManager" daemon [_thread_blocked, id=444]
    0x27469a38 JavaThread "derby.rawStoreDaemon" daemon [_thread_blocked, id=188]
    0x2720ab98 JavaThread "derby.antiGC" daemon [_thread_blocked, id=1432]
    0x26b452d0 JavaThread "Thread-1" [_thread_in_native, id=2016]
    0x26b19750 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1928]
    0x26b183a8 JavaThread "CompilerThread1" daemon [_thread_blocked, id=1828]
    =>0x26b175d8 JavaThread "CompilerThread0" daemon [_thread_in_native, id=1160]
    0x26b166a0 JavaThread "AdapterThread" daemon [_thread_blocked, id=1296]
    0x0082f730 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1164]
    0x0082ce90 JavaThread "Finalizer" daemon [_thread_blocked, id=1692]
    0x0082c1f0 JavaThread "Reference Handler" daemon [_thread_blocked, id=460]
    0x003c5a50 JavaThread "main" [_thread_in_native, id=1468]
    Other Threads:
    0x0082a050 VMThread [id=1276]
    0x26b1aa68 WatcherThread [id=2012]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x003c5170/0x0000013c] Threads_lock - owner thread: 0x0082a050
    [0x003c52f0/0x00000178] Heap_lock - owner thread: 0x26bb5848
    Heap
    PSYoungGen total 47936K, used 32542K [0x22f50000, 0x26830000, 0x26830000)
    eden space 38016K, 65% used [0x22f50000,0x2477cbd8,0x25470000)
    from space 9920K, 78% used [0x25e70000,0x2660adc0,0x26820000)
    to space 10112K, 10% used [0x25470000,0x255840c0,0x25e50000)
    PSOldGen total 76800K, used 59040K [0x06830000, 0x0b330000, 0x22f50000)
    object space 76800K, 76% used [0x06830000,0x0a1d8068,0x0b330000)
    PSPermGen total 30080K, used 29859K [0x02830000, 0x04590000, 0x06830000)
    object space 30080K, 99% used [0x02830000,0x04558e70,0x04590000)
    Dynamic libraries:
    0x00400000 - 0x0041b000      C:\Programme\PLM\tomcat\bin\tomcat5.exe
    0x7c920000 - 0x7c9e6000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c915000      C:\WINDOWS\system32\kernel32.dll
    0x77e20000 - 0x77eb3000      C:\WINDOWS\system32\USER32.dll
    0x77bd0000 - 0x77c18000      C:\WINDOWS\system32\GDI32.dll
    0x77f30000 - 0x77fdc000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77c20000 - 0x77cbf000      C:\WINDOWS\system32\RPCRT4.dll
    0x77ec0000 - 0x77f12000      C:\WINDOWS\system32\SHLWAPI.dll
    0x77b70000 - 0x77bca000      C:\WINDOWS\system32\msvcrt.dll
    0x7c9f0000 - 0x7d1fd000      C:\WINDOWS\system32\SHELL32.dll
    0x77340000 - 0x77443000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.1830_x-ww_7AE38CCF\comctl32.dll
    0x6d880000 - 0x6dc31000      C:\Programme\PLM\jdk\jre\bin\server\jvm.dll
    0x76990000 - 0x769be000      C:\WINDOWS\system32\WINMM.dll
    0x6d2f0000 - 0x6d2f8000      C:\Programme\PLM\jdk\jre\bin\hpi.dll
    0x76a60000 - 0x76a6b000      C:\WINDOWS\system32\PSAPI.DLL
    0x76e40000 - 0x76e53000      C:\WINDOWS\system32\Secur32.dll
    0x6d6b0000 - 0x6d6bc000      C:\Programme\PLM\jdk\jre\bin\verify.dll
    0x6d370000 - 0x6d38d000      C:\Programme\PLM\jdk\jre\bin\java.dll
    0x6d6d0000 - 0x6d6df000      C:\Programme\PLM\jdk\jre\bin\zip.dll
    0x6d530000 - 0x6d543000      C:\Programme\PLM\jdk\jre\bin\net.dll
    0x71a10000 - 0x71a27000      C:\WINDOWS\system32\WS2_32.dll
    0x71a00000 - 0x71a08000      C:\WINDOWS\system32\WS2HELP.dll
    0x71930000 - 0x71972000      C:\WINDOWS\system32\mswsock.dll
    0x27b20000 - 0x27b7a000      C:\WINDOWS\system32\hnetcfg.dll
    0x718f0000 - 0x718f8000      C:\WINDOWS\System32\wshtcpip.dll
    0x6d550000 - 0x6d559000      C:\Programme\PLM\jdk\jre\bin\nio.dll
    0x68000000 - 0x6802f000      C:\WINDOWS\system32\rsaenh.dll
    0x76dc0000 - 0x76dea000      C:\WINDOWS\system32\DNSAPI.dll
    0x76e60000 - 0x76e67000      C:\WINDOWS\System32\winrnr.dll
    0x76e00000 - 0x76e2f000      C:\WINDOWS\system32\WLDAP32.dll
    0x76e70000 - 0x76e75000      C:\WINDOWS\system32\rasadhlp.dll
    VM Arguments:
    jvm_args: -Dcatalina.base=C:\Programme\PLM\tomcat -Dcatalina.home=C:\Programme\PLM\tomcat -Djava.endorsed.dirs=C:\Programme\PLM\tomcat\common\endorsed -Xmx512M vfprintf
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    PATH=C:\oracle\ora92\jre\1.4.2\bin\client;C:\oracle\ora92\jre\1.4.2\bin;C:\oracle\ora92\bin;C:\Programme\Oracle\jre\1.3.1\bin;C:\Programme\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 3, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows Server 2003 family Build 3790 Service Pack 1
    CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
    Memory: 4k page, physical 2097151k(2097151k free), swap 4194303k(4194303k free)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 10:53:00 by "java_re" with MS VC++ 6.0

    This is a known incompatiblitly. See #5 in http://java.sun.com/j2se/1.5.0/compatibility.html

  • Proxy problem while using pkgbuild..

    Hi all,
    I was trying to makepkg a certain theme. When I was in my college I used a certain proxy...but at home I have dhcp. I have edited rc.conf accordingly and I can browse the web. I can also use pacman to install stuff. However makepkg(or rather wget) still thinks I am using my college proxy..
    [spai@spai xfce4-axe-theme]$ makepkg -s
    ==> Making package: xfce4-axe-theme 1-1 i686 (Thu May 14 10:57:19 IST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Downloading 73291-axe.tar.gz...
    --2009-05-14 10:57:19-- http://xfce-look.org/CONTENT/content-files/73291-axe.tar.gz
    Resolving iiscproxy.serc.iisc.ernet.in... failed: Name or service not known.
    wget: unable to resolve host address `iiscproxy.serc.iisc.ernet.in'
    ==> ERROR: Failure while downloading 73291-axe.tar.gz
    Aborting...
    So is there a way to solve this resolve problem?
    Thanks all,
    Spai
    Last edited by Isomorphism (2009-05-14 05:33:32)

    s. laxnars wrote:
    I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
    Can any one plz help on this.
    Here the code
    String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
    PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
    dbInsertStatement.setLong(1, 3L);
    dbInsertStatement.setString(2,"test");
    dbInsertStatement.setNull(3,java.sql.Types.NULL);
    I am using Weblogic 9.2 with Oracle 9i
    here the Spy Log
    spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
    spy>> parameterIndex = 1
    spy>> sqlType = 0
    spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
    java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
         at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
         at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)Hi. This is a known issue. Call official BEA support and open a case
    so you will be notified when a new driver will have the fix. In the
    meantime, if you set the Type to correspond to the DBMS's column type,
    it will work. In fact, I'll bet that if you just set the Type to VARCHAR
    it will work, regardless of the actual column type...
    Joe

  • Problem while using receive after invoke activity

    Hi,i have got a problem while using a receive activity,after a invoke activity.The invoke acivity seems that does not work and also the debugger runs forever....But if i remove the receive activity,the invoke activity works fine.
    <h2>The output of GlassfishV2 is:<h2>
    This is from the exception block.
    com.sun.bpel.model.meta.impl.RInvokeImpl@f590c6={<?xml version="1.0" encoding="utf-8" ?>
    *<invoke name="Invoke1"*
    partnerLink="PartnerLink2"
    portType="tns:test_service3"
    operation="luizao"
    inputVariable="LuizaoIn"
    outputVariable="LuizaoOut"
    xmlns:tns="http://dim.test.org/"></invoke>}
    *[Fatal Error] :1:1: Content is not allowed in prolog.*
    System exception occured while executing a business process instance.
    java.lang.NullPointerException: WSDL message model is null
    at com.sun.jbi.engine.bpel.core.bpel.debug.WSDLMessageImpl.<init>(WSDLMessageImpl.java:56)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.CallFrame.onFault(CallFrame.java:380)
    at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SyntheticThrowUnitImpl.doAction(SyntheticThrowUnitImpl.java:91)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:145)
    at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:76)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:818)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:261)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:742)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processRequest(BPELSEInOutThread.java:401)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:240)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:158)
    This is from the exception block.
    I think correlation sets are ok(i have two receive activities).
    I use Netbeans6.0 IDE.
    Can anyone help me?
    Sorry,but i don't speak English fluently

    I can't debug it more,because the bpel variables window disappears when the proccess comes to invoke activity.
    The bpel code is simple:I have got a sequence with follow activities:
    receive
    assign
    invoke
    receive
    assign
    reply
    The code is:
    <?xml version="1.0" encoding="UTF-8"?>
    <process
        name="Testfile2"
        targetNamespace="http://enterprise.netbeans.org/bpel/Test2/Testfile2"
        xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:tns="http://enterprise.netbeans.org/bpel/Test2/Testfile2" xmlns:ns0="http://xml.netbeans.org/schema/Testfile2" xmlns:ns1="http://j2ee.netbeans.org/wsdl/Testfile2">
       <import namespace="http://j2ee.netbeans.org/wsdl/Testfile2" location="Testfile2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://enterprise.netbeans.org/bpel/test_service3Wrapper" location="Partners/test_service3/test_service3Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://dim.test.org/" location="Partners/test_service3/test_service3.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://enterprise.netbeans.org/bpel/test_service2Wrapper" location="Partners/test_service2/test_service2Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://dim.test.org/" location="Partners/test_service2/test_service2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <partnerLinks>
          <partnerLink name="PartnerLink3" xmlns:tns="http://enterprise.netbeans.org/bpel/test_service2Wrapper" partnerLinkType="tns:test_service2LinkType" myRole="test_service2Role"/>
          <partnerLink name="PartnerLink2" xmlns:tns="http://enterprise.netbeans.org/bpel/test_service3Wrapper" partnerLinkType="tns:test_service3LinkType" partnerRole="test_service3Role"/>
          <partnerLink name="PartnerLink1" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" partnerLinkType="tns:Testfile21" myRole="Testfile2PortTypeRole"/>
       </partnerLinks>
       <variables>
          <variable name="Testfile2OperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" messageType="tns:Testfile2OperationReply"/>
          <variable name="Operation1In" xmlns:tns="http://dim.test.org/" messageType="tns:operation1"/>
          <variable name="LuizaoOut" xmlns:tns="http://dim.test.org/" messageType="tns:luizaoResponse"/>
          <variable name="LuizaoIn" xmlns:tns="http://dim.test.org/" messageType="tns:luizao"/>
          <variable name="Testfile2OperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" messageType="tns:Testfile2OperationRequest"/>
       </variables>
       <correlationSets>
          <correlationSet name="CorrelationSet1" properties="ns1:My_Property"/>
       </correlationSets>
       <sequence>
          <receive name="Receive1" createInstance="yes" partnerLink="PartnerLink1" operation="Testfile2Operation" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" portType="tns:Testfile2PortType" variable="Testfile2OperationIn">
             <correlations>
                <correlation set="CorrelationSet1" initiate="yes"/>
             </correlations>
          </receive>
          <assign name="Assign1">
             <copy>
                <from>$Testfile2OperationIn.part1/ns0:ena</from>
                <to>$LuizaoIn.parameters/ena</to>
             </copy>
             <copy>
                <from>$Testfile2OperationIn.part1/ns0:id</from>
                <to>$LuizaoIn.parameters/id</to>
             </copy>
          </assign>
          <invoke name="Invoke1" partnerLink="PartnerLink2" operation="luizao" xmlns:tns="http://dim.test.org/" portType="tns:test_service3" inputVariable="LuizaoIn" outputVariable="LuizaoOut"/>
          <receive name="Receive2" createInstance="no" partnerLink="PartnerLink3" operation="operation1" xmlns:tns="http://dim.test.org/" portType="tns:test_service2" variable="Operation1In">
             <correlations>
                <correlation set="CorrelationSet1" initiate="no"/>
             </correlations>
          </receive>
          <assign name="Assign2">
             <copy>
                <from>$Operation1In.parameters/hik</from>
                <to>$Testfile2OperationOut.part1/ns0:hik</to>
             </copy>
          </assign>
          <reply name="Reply1" partnerLink="PartnerLink1" operation="Testfile2Operation" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" portType="tns:Testfile2PortType" variable="Testfile2OperationOut"/>
       </sequence>
    </process>If it's a bug,that means that i can't use second receive after invoke any more?

  • Extended Content type problem

    Extended Content type problem
    I want to extend the content type 'ExtendDocument' from 'Document'.
    So I use 'Oracle Internet File System Manager' to create a new Class Object named 'EXTENDDOCUMENT', which is extend from 'DOCUMENT', and add a attribute 'EXTENDURL'.
    This Class Object's bean class is 'ifs.beans.ExtendDocument' and server class is 'ifs.server.S_ExtendDocument'.
    I create these 2 java class and put the class files to ORACLE_AS_HOME\ifs\cmsdk\custom_classes directory.
    As I want to set the object type as 'ExtendDocument' when uploading a file which expend name is '*.wmv', so that need to change 2 default value 'ParserLookupByFileExtension' and 'IFS.PARSER.ObjectTypeLookupByFileExtension'
    So I add 'name=wmv, datatype=STRING, value=oracle.ifs.beans.parsers.ClassSelectionParser' to ParserLookupByFileExtension.
    And then add 'name=wmv, datatype=STRING, value=EXTENDDOCUMENT' to IFS.PARSER.ObjectTypeLookupByFileExtension.
    After done above actions, i restart my oracle application.
    I use CUP to upload a test file 'test.wmv' to CMSDK repository, and its type is 'EXTENDDOCUMENT'.
    But if I use FTP or WebStarterApp application to upload 'test.wmv' file to CMSDK repository, then its type is 'DOCUMENT'.
    Why and how to change to make FTP and WebStarterApp application can upload *.wmv file's type as 'EXTENDDOCUMENT'?
    anybody can help me?
    thanks.

    Nirav-P-Thakar wrote:
    FileNameMap  fnmMime        = URLConnection.getFileNameMap ( ) ;
    fnmMime.getContentTypeFor(fileName);
    URLConnection.guessContentTypeFromName(fileName);I have tried out both methods but it returns null when the file is of type MS Office or Open Office.In reply 1 BalusC said..
    "Alternatively you can use ServletContext#getMimeType() for this. It guesses the content type based on the mime mapping as it is been definied in the web.xml of the application server and the webapplication. If it returns null, then you need to add new <mime-mapping> entry to the web.xml."
    I would try doing it this way. Try including entries for the mime mappings in the deployment descriptor of the web application.

  • Volume problem while using headphone

    when I use my headphone I have no problem while talking on phone but when I try to listen to music or watch you tube I cannot hear the left side. I restored iphone and got replacement but same problem. I changed headphones but that wasent the problem as well. please help!

    s. laxnars wrote:
    I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
    Can any one plz help on this.
    Here the code
    String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
    PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
    dbInsertStatement.setLong(1, 3L);
    dbInsertStatement.setString(2,"test");
    dbInsertStatement.setNull(3,java.sql.Types.NULL);
    I am using Weblogic 9.2 with Oracle 9i
    here the Spy Log
    spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
    spy>> parameterIndex = 1
    spy>> sqlType = 0
    spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
    java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
         at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
         at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)Hi. This is a known issue. Call official BEA support and open a case
    so you will be notified when a new driver will have the fix. In the
    meantime, if you set the Type to correspond to the DBMS's column type,
    it will work. In fact, I'll bet that if you just set the Type to VARCHAR
    it will work, regardless of the actual column type...
    Joe

  • Problem while using BEA's Oracle Driver

    I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
    Can any one plz help on this.
    Here the code
    String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
    PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
    dbInsertStatement.setLong(1, 3L);
    dbInsertStatement.setString(2,"test");
    dbInsertStatement.setNull(3,java.sql.Types.NULL);
    I am using Weblogic 9.2 with Oracle 9i
    here the Spy Log
    spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
    spy>> parameterIndex = 1
    spy>> sqlType = 0
    spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
    java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
         at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
         at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)

    s. laxnars wrote:
    I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
    Can any one plz help on this.
    Here the code
    String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
    PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
    dbInsertStatement.setLong(1, 3L);
    dbInsertStatement.setString(2,"test");
    dbInsertStatement.setNull(3,java.sql.Types.NULL);
    I am using Weblogic 9.2 with Oracle 9i
    here the Spy Log
    spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
    spy>> parameterIndex = 1
    spy>> sqlType = 0
    spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
    java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
         at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
         at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)Hi. This is a known issue. Call official BEA support and open a case
    so you will be notified when a new driver will have the fix. In the
    meantime, if you set the Type to correspond to the DBMS's column type,
    it will work. In fact, I'll bet that if you just set the Type to VARCHAR
    it will work, regardless of the actual column type...
    Joe

  • Problem While using Applet Reqd classes using Weblogic 5.1

    Hi All,
    Here is my problem while using other classes from the Applet gives an error:NoClassDefFound,
    I have also put the applet reqd. classes in a jar file and placed this jar along with the applet
    in weblogic/myserver/serverclases,
    my tag in the html file is as follows:
    <applet code="MyApplet.class" archive="voucher.jar"
         codebase="/classes/" >
    </applet>
    is there any problem with my tag or directory structure,
    It would be great ful and thanks for helping in solving this problem.
    sai.

    Is this an issue with the "T-engine" or the "J-engine"? Are you using a
    ubbconfig file or weblogic.properties file? Can you post the stack trace?
    This may be an known issue and simply require you to install the latest
    service pack for WLS 5.1 (aka. J-engine)...
    Mary Ann Slavin wrote:
    Accordning to the Software Product Information (SPI) for WLE 5.1 it is
    available on the following Linux versions so this could be a problem
    with the version you are running.
    "BEA WebLogic Enterprise 5.1 software for Red Hat Linux 6.2 and Reliant
    Unix 5.45 is available separately. "
    MAS
    yajneesh Sabharwal wrote:
    hello friends,
    I have a Problem in Using Weblogic 5.1
    I am using weblogic 5.1 Enterprise on Linux 2.2.16 SuSE (7.0) with
    Dual Celeron 550MHz and 1GB RAM. The server runs our web application
    which uses the servelt, JSP and XSQL technology. The problem is
    that often i receive ASSERTION FAILURES where after the jsp's stop
    displaying content. Is this a Weblogic administration problem or
    the underlying OS problem. Kindly advice.
    Thankx in Advance
    Yajneesh sabharwal

  • Problem while using DTW

    Hello Experts,
    I am puzzled with a problem while using DTW tool for migration.
    while connencting this tool with database, I am facing problem
    Connection to (server Nane) has failed
    Error code:126
    Fail to load OBServer.dll
    Hope You will answer my query soon.
    Thanks,
    Regards,
    Saurabh Jain

    Saurabh Jain,
    Enter sap b1 user id and password.
    Enter server name correctly.
    Click options,Click choose a database,Click
    Choose databse,Select correct DB type,
    Enter DB user,Correct DB password,Click Refresh,
    Select Correct database name you want to upload.
    Click Ok.
    Hope above answer helps.
    Jeyakanthan

  • Problem while using af:selectOrderShuttle

    Hi
    As per requirements i need to load both leading and Trailing list for SelectOrderShuttle. I can able to populate Leading List but cant able to populate Trailing List.Plz can any one help me.....
    <af:selectOrderShuttle size="10" inlineStyle="labelfont" valuePassThru="true" binding="{ScreenWiseRadioBean.shuttle}" value="#{ScreenWiseRadioBean.shuttleValueList}">
    <f:selectItems value="#{ScreenWiseRadioBean.screenWiseList}" />
    </af:selectOrderShuttle>

    s. laxnars wrote:
    I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
    Can any one plz help on this.
    Here the code
    String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
    PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
    dbInsertStatement.setLong(1, 3L);
    dbInsertStatement.setString(2,"test");
    dbInsertStatement.setNull(3,java.sql.Types.NULL);
    I am using Weblogic 9.2 with Oracle 9i
    here the Spy Log
    spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
    spy>> parameterIndex = 1
    spy>> sqlType = 0
    spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
    java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
         at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
         at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)Hi. This is a known issue. Call official BEA support and open a case
    so you will be notified when a new driver will have the fix. In the
    meantime, if you set the Type to correspond to the DBMS's column type,
    it will work. In fact, I'll bet that if you just set the Type to VARCHAR
    it will work, regardless of the actual column type...
    Joe

  • I am having problem while using ms word with anjal( OS X Lion 10.7.5 (11G63))

    i am having problem while using ms word with anjal  is not working properly but its working in facebook and other areas.i need and  its very important to using tamil fonts for my job.can anyone help me out from this problem.
    thanking you
    by
    moses

    Those who are knowledgable in this area (myself not among them) say that Word's support for Asian languages is faulty. The best word processor for that use is "Mellel."

  • Inconsistent FOTY0001: type error while  using translateFromNative

    I am getting FOTY0001: type error while using translateFromNative function in assign activity.
    This error happens only in the below scenarios:
    1. Create a BPEL process with file input adapter that accepts simple xml string as input and accepts files like input*.txt.
    2. Create a simple XSD(Fixed Length native XSD) and convert the simple string to XML using translateFromNative function and copy it into a variable.
    3. Switch off the process
    4. Put atleast 10 input*.txt files in the folder and switch on the process.
    This error doesn't happen when I put one file at time.. Even when I put multiple files, the error happens for few instances inconsitently.
    Here is our assign activity
    <assign name="Assign_1">
    <copy>
    <from variable="PlantChemMsg" part="Chemistry"
    query="/ns2:Chemistry/ns2:chemistryString"/>
    <to variable="tempChemistryString"/>
    </copy>
    <copy>
    <from expression="ora:translateFromNative(bpws:getVariableData('tempChemistryString'), 'ChemistryLegacy1.xsd', 'Root-Element')"/>
    <to variable="ChemistryOut" part="Root-Element"
    query="/ns8:Root-Element"/>
    </copy>
    </assign>
    Here is the error in group log:
    ORABPEL-09500
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:translateFromNative(string(bpws:getVariableData('tempChemistryString')), 'ChemistryLegacy1.xsd', 'Root-Element')", the reason is FOTY0001: type error.
    Please verify the xpath query.
         at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:206)
         at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFromValue(BPELAssignWMP.java:679)
         at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:143)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3705)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1654)
    Any help would be appreciated. Thanks.
    -Sridhar

    James,
    Thanks & Sorry for the late reply.
    I used assign activity just because I have only one source and target element.
    This error happens even with transform activity.
    Also, all the input messages are same. So It is definitely not the issue with the input message.
    One observation I did is:
    The error doesn't occur when I use like below(Full Http url):
    ora:translateFromNative(string(bpws:getVariableData('tempChemistryString')), 'http://psc-d674943.hdq.uss.com:7777/orabpel/default/TestTranslateFromNativeError/1.0/ChemistryLegacy1.xsd
    ', 'Root-Element')
    But occurs when I use like below.
    ora:translateFromNative(string(bpws:getVariableData('tempChemistryString')), 'ChemistryLegacy1.xsd', 'Root-Element')

  • Problem while using trigger from line of 6534

    I have faced some problems while using triggering with 6534. They are listed below. Please provide solution me.
    1. ) i was using pattern input with triggering(buffered) in which i am using the example given in library buffered pattern input-triggered.vi
    Now i am using port 0 to take input. From line 0 of port 2 i want to generate a pulse which can trigger the operation & start acquisition. For that i am using write to single line.vi . My DPULL is open so bydefault the line will be at low level & by vi i will make it high which will trigger the operation.
    In normal condition if we use write to a single line.vi it will write the given status on that line within a fraction of second and abort execution. But when i am usin
    g it for trigger in following manner, it did not work.
    First i started the VI buffered pattern input-triggered.vi.I have configured the start trigger with leading edge trigger. I have set the time limit properly.Synchronous operation is set at the front panel of vi.
    Now if start the write to a single line.vi to give start trigger, nether it triggered the operation,nor it abort execution of single line write vi.When time out occured in triggered vi, then both vis stopped simultaneously. Why this happened?
    2.) Similar problem i faced when i wanted to perform the change detection.vi Port 0 is configured for input.Line 1 to 7 are fixed with some status by connecting them to Vcc or GND. I have connected port 0 line 0 with port 2 line 0. So when i change status of line 0 of port 2 change detection should be occured o port 0. i am changing the status of line 0 of port 2 by write to a single line.vi But here i faced same problem as first that it was not writing to port 0 line 0. And bo
    th process stopped when time limit occured in change detection vi.
    So what can be the problem? Please help me.

    Hi Vishal,
    1) You should check to see that when you are writting a static 1 to line 0 you see a pulse high. You should also make sure that you wire this line to the STARTTRIG for group 0.
    2) If you solve question 1 you will also have question 2 solved.
    It might be helpful to create a program that configures both programs (pattern I/O on port 0 and static I/O on port 2) in the same program and then starts both groups. I would do a little testing to see exactly what signals you do or do not see.
    Ron

Maybe you are looking for

  • How to go with this problem

    Hi all I have a problem like this. Read a dictionary file . Search such a word which will have letter 'a' as its second letter , then remove the first two letters of the word. Now search the new word in the same dictionary file , if it is found..then

  • ST03N does not show reporting statistics

    Dear all, For a NW04s BI7.0 system I am asked to setup the technical content for BI statistics. As stated in this forum, ST03N now uses the InfoCubes to display the statistics instead of tables like RSDDSTAT_OLAP and RSDDSTAT_DM. I have activated all

  • My videos are choppy and I don't know what to do

    Using iTunes 6, all of my videos are choppy and won't play correctly. Even the ones that I buy from the music store won't play right. I can open them in QT and they play normally, but if I try to play them through iTunes, it works very poorly. I was

  • Having trouble with audio clips in FCP

    I have a project which involves using a number of short audio .wav clips stacked up with a video clip - lots of sounds to go with a SPFX-heavy project. Problem is - I can hear a 'popping' noise at the start of the .wav clips. In some short portions o

  • Is it Legal to use an APEX packaged application, improve it and Sell it?

    Any thought on this is appreciated, I'm trying to get an answer from Oracle but no one is sure of the answer. There is this Sample Database Application which is great to build a small shop POS program. Thank you