Weblogic toolkit problem

I am using weblogic(7.0)webservices toolkit for parsing the xml response through toolkit generated java classes. Please look at the schema I am using.
*******************SCHEMA******************************
<xs:complexType name="person">
<xs:sequence>
<xs:element name="relationships" type="n:split" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="split">
<xs:sequence>
<xs:element name="relationship" type="n:splitInfo" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
splitInfo contains all the elements as optional minoccurs=0.
*******************Response********************
<person>
     <relationships>
     </relationships>
</person>
Above is the response I am getting but toolkit generated classes are unable to parse this response. Looking at the schema this looks a valid response. I get:
****************ERROR*************************
javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: element ['http://www.me.com/rep']:relationship did not meet minOccurs constraint of 1 -- found only 0 Trace: javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: element ['http://www.me.com/rep']:relationship did not meet minOccurs constraint of 1 -- found only 0
But it works fine if the response doesn't contain a relationships tag at all.
Please suggest?

Hi Vivek,
I have exactly the same problem as you have, did you find a solution yet?
Thank you.
Celia

Similar Messages

  • MKS Toolkit problem

    Hi,
    We are trying to do some DR testing. We setup a new Linux server, and copy the entire /u01 back.
    The system runs, but when we need to print invoice, they come up with MKS Toolkit problem.
    Can you tell us how we can resolve this?
    Thanks.

    You can update the DISPLAY in XML context file using OAM (Oracle Applications Manager) or editcontext utility as follows:
    Note: Autoconfig Context File on Apps tier of your server is located in directory $APPL_TOP/admin/<CONTEXT_NAME>.xml
    If you want to use OAM to update context file:
    - Login to Oracle Applications Manager
    http://<hostname>.<domainname>:<port>/servlets/weboam/oam/oamLogin
    - Navigate to "Site Map" > System Configuration: AutoConfig
    - Select checkbox next to context file for Tier = Applications
    - Click in proper [Edit Parameters] cell
    - Select tab [Environments]
    - Open tree for oa_environment:generic_service
    - First variable is "X11 Display". Update it with X server host name like <hostname_x_server>:0.0
    - Press [Save]
    - Click [OK]
    - Run AutoConfig on apps tier to propagate changes to all environment files
    cd $COMMON_TOP/admin/scripts/<SID>_<hostname>
    adautocfg.sh
    - Restart the application services
    If you can't use OAM, please download the Context Editor utility as Patch 2873456. Follow the instructions in Readme to install it.
    - On Apps tier the Context Editor is located at: $COMMON_TOP/util/editcontext/
    - Run the Context Editor "editcontext"
    - Enter the full path to your Context File and click Next
    - Context File is located in $APPL_TOP/admin/<CONTEXT_NAME>.xml
    - The second screen shows the current values in your context and allows you to edit them. The values displayed on this screen are the main values in the Context File. Click Detail to display all of the editable values in the Context File. Move the mouse over the field titles to display a more detailed description of the field
    - Update variable DISPLAY with X server host name
    - Click Next
    - Save all changes
    - Run AutoConfig on apps tier to propagate changes to all environment files
    cd $COMMON_TOP/admin/scripts/<SID>_<hostname>
    adautocfg.sh
    - Restart the application services
    Now Oracle Applications is configured to use X server of <x_server_node>

  • SOAP toolkit problems?

    I downloaded and installed the SOAP toolkit,
    and everything is working fine, except the Console
    won't start because it complains it's not a registered
    web service.
    Anyone else have the same problem? The Console
    was running fine on port 7002, until I install SOAP
    toolkit. I'm about the reinstall WLS 6.0 again to see
    if I can reconstruct what happened.....
    Eric Chiu ([email protected])
    Office 775-355-8200
    Mobile 650-906-6600
    Certified J2EE Architect and Weblogic trainer

    Hi!!!
    The first url you use when you want to send a message to your SOAP adapter.
    The second one you use with a plain HTTP adapter - you send a message directly to a pipeline.
    Check this link:
    http://help.sap.com/saphelp_nw04s/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
    Regards,
    Andrzej

  • Report generation toolkit problem

    hello everyone,
    i am using Export waveform to Spreadsheet.vi for getting data into excel. i have downloaded  and install the Report Generation toolkit 1.13 for make it working but still it seems not working 
    i am using labview8.6 on windows xp with Microsoft Excel 2003 .
    i have tried the same vi on an other  computer with same configuration and it works there, but not on my PC, i want to ask is there any thing wrong with my version and the Report Generation toolkit? or i am installing it wrong? or is there any specific folder or path i have to mention during installation of toolkit? if yes then how could i uninstall the existing toolkit because i couldnt find the installed toolkit path or location on my PC?
    thanks
    looking forward ... 

    Hi Hussain,
    Are you still having these problems.
    Can you use other functions in the toolkit or is it just that one.
    Do you have other versions of labview than 8.6 intalled on your computer ?
    /Christine

  • Report generation toolkit problem with office 2000 and office XP

    Hello, I am having a problem with running my vi after it is compiled with application builder. The dev machine is an XP box and the targer is windows 2000. I included _Excel Dynamic VIs.vi and _Word Dynamic VIs.vi from the office 2000 section of the install cd (for the report toolkit) in the compile but did not include those files for XP. When I run the application on the target machine (2000), the reporting functions call Excel just fine and the program does not come up with any errors. The program however, is not loading the approprate template and inserting the approprate data. Did I leave some neccessary files out of the compile? Thanks in advance!
    Greg
    Gregory Osenbach, CLA
    Fluke

    Hi Acer,
    The recommended procedure in your case is to install Microsoft Office 2000 on the development machine and then reinstall the LabVIEW Report Generation Toolkit. When the toolkit is installed, it will check for the current version of Office and install the corresponding VIs to support it. The VIs include different ActiveX calls according to the version of Office. Therefore it is not enough to change the support manually without having the correct version of Office installed first.
    However, I would recommend that you just try to run your executable on a machine that has Office 2000 installed. The difference in the ActiveX API for Office XP and 2000 is not that significant, so your application might work perfectly on an Office 2000 machine. If you try to run the executable on a machine with Office 97 installed I'm willing to bet my right arm that you will experience errors.
    Good luck Acer!
    - Philip Courtois, Thinkbot Solutions

  • Kodo 4.1.2 in Weblogic 10 Problem

    I was told by BEA that Kodo/openJPA is included in Weblogic 10. However, now I have Weblogic 10 but I could not located much Kodo classes from Weblogic libraries. I searched all the JARs under BEA_HOME\wlserver_10.0\server\lib.
    I also tried to migrate Kodo/JPA application from Weblogic 9.2 to Weblogic 10. My application depends on Kodo JCA deployment in managed environment. The application and Kodo JCA deployed fine into Weblogic 10. But when I test any application, the test failed when I tried to create EntityMaanger from EntityManagerFactory:
    Caused by: <4|false|0.9.7> org.apache.openjpa.persistence.ArgumentException: config-error
         at weblogic.kodo.event.ClusterRemoteCommitProvider.endConfiguration(ClusterRemoteCommitProvider.java:112)
         at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:447)
         at org.apache.openjpa.conf.RemoteCommitProviderValue.instantiate(RemoteCommitProviderValue.java:122)
         at org.apache.openjpa.conf.RemoteCommitProviderValue.instantiateProvider(RemoteCommitProviderValue.java:103)
         at org.apache.openjpa.conf.RemoteCommitProviderValue.instantiateProvider(RemoteCommitProviderValue.java:95)
         at org.apache.openjpa.conf.OpenJPAConfigurationImpl.newRemoteCommitProviderInstance(OpenJPAConfigurationImpl.java:708)
         at org.apache.openjpa.event.RemoteCommitEventManager.(RemoteCommitEventManager.java:56)
         at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getRemoteCommitEventManager(OpenJPAConfigurationImpl.java:720)
         at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:177)
         at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:139)
         at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:187)
         at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:140)
         at kodo.persistence.jdbc.JPAConnectionFactory.createEntityManager(JPAConnectionFactory.java:144)
         at kodo.persistence.jdbc.JPAConnectionFactory.createEntityManager(JPAConnectionFactory.java:23)
         at com.psi.vida.ejb.JPASessionBean.list(JPASessionBean.java:165)
         at com.psi.vida.ejb.JPASessionEJB_lvtqkz_EOImpl.list(JPASessionEJB_lvtqkz_EOImpl.java:134)
         at com.psi.vida.ejb.JPASessionEJB_lvtqkz_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         ... 17 more
    Caused by: java.lang.Exception: <0|true|0.9.7> org.apache.openjpa.persistence.PersistenceException: no-trasport
         at org.apache.openjpa.util.Exceptions.replaceNestedThrowables(Exceptions.java:230)
         at org.apache.openjpa.persistence.ArgumentException.writeObject(ArgumentException.java:104)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
         at weblogic.rmi.extensions.server.CBVOutputStream.writeObject(CBVOutputStream.java:84)
         at weblogic.rmi.internal.ServerRequest.unmarshalThrowable(ServerRequest.java:349)
         at weblogic.rmi.internal.ServerRequest.getThrowable(ServerRequest.java:62)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:203)
         ... 17 more

    I was told by BEA that Kodo/openJPA is included in
    Weblogic 10. However, now I have Weblogic 10 but I
    could not located much Kodo classes from Weblogic
    libraries. I searched all the JARs under
    BEA_HOME\wlserver_10.0\server\lib. They're in the (new) modules directory. weblogic.jar refers to stuff in the modules directory via its manifest classpath.
    I also tried to migrate Kodo/JPA application from
    Weblogic 9.2 to Weblogic 10. My application depends
    on Kodo JCA deployment in managed environment. The
    application and Kodo JCA deployed fine into Weblogic
    10. But when I test any application, the test failed
    when I tried to create EntityMaanger from
    EntityManagerFactory:Interesting. I do not know what the status of Kodo JCA testing is in WebLogic 10, but it sounds like something is a bit wonky.
    Basically, in a WLS environment, the default remote commit provider is automatically set to the new weblogic.kodo.event.ClusterRemoteCommitProvider, which uses the WLS clustering protocol to communicate cache notifications. The error that you're seeing indicates that cluster services are not available in the execution context. You can probably get around this by explicitly setting the 'kodo.RemoteCommitProvider' option to 'sjvm' (if you're not running in a cluster), or to whatever you had it set to in the past. (I'm guessing that it was unset in the past, as otherwise, the configuration should be picking up that instead of the new default.)
    However, personally, I much prefer the new persistence.xml configuration file format, compared to JCA configuration. (You can trivially use the persistence.xml format with Kodo JDO, even though it's a JPA-specified feature.) You might want to look into moving away from JCA and to the persistence.xml style instead.
    If you do this, you'll end up putting a META-INF/persistence.xml file in your EAR (and possibly a META-INF/persistence-configuration.xml file, if you want to use the strongly-typed Kodo XML configuration format), and replacing your JNDI lookups with java:comp/env/persistence/<persistence-unit-name>. (I think that's the right location. I might be mistaken, though.)
    Also, I can't guarantee that WebLogic 10 really handles JCA configuration all that well; some bits of that exception make it look like maybe some resources are not available in the classloader, which is surprising. So, it's possible that there is some sort of more fundamental JCA problem here (and not just a problem with the new remote commit provider).
    -Patrick

  • Oracle weblogic 12c problem

    Hello,
    After you install the 32bit version of Oracle WebLogic 12c , jdevstudio11115install (Windows 7 32 bit platform) . These actions come after the installation of the domain ADF 's and then completed the installation.
    I receive the following error when I run startWebLogic.cmd. ( What is the solution. )
    WARNING: Opening of file based farm keystore failed.
    oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06514: Openin
    g of file based farm keystore failed.
    at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKe
    yStore(FileKeyStoreManager.java:351)
    at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.do
    Init(FileKeyStoreServiceImpl.java:101)
    at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
    nit>(FileKeyStoreServiceImpl.java:73)
    at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
    nit>(FileKeyStoreServiceImpl.java:63)
    at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
    yStoreProvider.java:157)
    at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
    yStoreProvider.java:64)
    at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServ
    iceInstance(ContextFactoryImpl.java:139)
    at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getConte
    xt(ContextFactoryImpl.java:170)
    at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getConte
    xt(ContextFactoryImpl.java:191)
    at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getCo
    ntext(JpsContextFactoryImpl.java:132)
    at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getCo
    ntext(JpsContextFactoryImpl.java:127)
    at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
    java:850)
    at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
    java:844)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
    tore(PolicyUtil.java:844)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:291)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:284)
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
    vaPolicyProvider.java:270)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.lo
    adOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
    itialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:148)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    <Dec 12, 2011 11:43:27 AM EET> <Error> <Security> <BEA-090892> <The loading of O
    PSS java security policy provider failed due to exception, see the exception sta
    ck trace or the server log file for root cause. If still see no obvious cause, e
    nable the debug flag -Djava.security.debug=jpspolicy to get more information. Er
    ror message: oracle.security.jps.JpsException: [PolicyUtil] Exception while gett
    ing default policy Provider>
    <Dec 12, 2011 11:43:27 AM EET> <Critical> <WebLogicServer> <BEA-000386> <Server
    subsystem failed. Reason: weblogic.security.SecurityInitializationException: The
    loading of OPSS java security policy provider failed due to exception, see the
    exception stack trace or the server log file for root cause. If still see no obv
    ious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more in
    formation. Error message: oracle.security.jps.JpsException: [PolicyUtil] Excepti
    on while getting default policy Provider
    weblogic.security.SecurityInitializationException: The loading of OPSS java secu
    rity policy provider failed due to exception, see the exception stack trace or t
    he server log file for root cause. If still see no obvious cause, enable the deb
    ug flag -Djava.security.debug=jpspolicy to get more information. Error message:
    oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default p
    olicy Provider
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.lo
    adOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
    itialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:148)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsExcep
    tion: [PolicyUtil] Exception while getting default policy Provider
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:293)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:284)
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
    vaPolicyProvider.java:270)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsException: [PolicyUtil] Exception while gettin
    g default policy Provider
    at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
    tore(PolicyUtil.java:899)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:291)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:284)
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
    vaPolicyProvider.java:270)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    Truncated. see log file for complete stacktrace
    Caused By: java.security.PrivilegedActionException: oracle.security.jps.JpsExcep
    tion: [PolicyUtil] Unable to obtain default JPS Context!
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
    tore(PolicyUtil.java:844)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:291)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:284)
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
    vaPolicyProvider.java:270)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain defau
    lt JPS Context!
    at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
    java:860)
    at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
    java:844)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
    tore(PolicyUtil.java:844)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<
    init>(PolicyDelegationController.java:291)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06
    514: Opening of file based farm keystore failed.
    at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKe
    yStore(FileKeyStoreManager.java:351)
    at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.do
    Init(FileKeyStoreServiceImpl.java:101)
    at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
    nit>(FileKeyStoreServiceImpl.java:73)
    at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
    nit>(FileKeyStoreServiceImpl.java:63)
    at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
    yStoreProvider.java:157)
    Truncated. see log file for complete stacktrace
    >
    <Dec 12, 2011 11:43:30 AM EET> <Notice> <WebLogicServer> <BEA-000365> <Server st
    ate changed to FAILED.>
    <Dec 12, 2011 11:43:30 AM EET> <Error> <WebLogicServer> <BEA-000383> <A critical
    service failed. The server will shut itself down.>
    <Dec 12, 2011 11:43:33 AM EET> <Notice> <WebLogicServer> <BEA-000365> <Server st
    ate changed to FORCE_SHUTTING_DOWN.>
    Note: JDeveloper 11.1.2.1 and 11.1.1.5.0 install but it did not work.
    C:\oracle\Middleware\user_projects\domains\base_domain\config\fmwconfig\bootstrap\cwallet.sso I have full authority, but did not work folder. (permissions full controll)
    Edited by: 889612 on 12.Ara.2011 07:06

    I am having the exact same issue with Weblogic 12c on Windows Server 2003 SP1 on Intel Itanium processor with Java SE 1.6u29 and JDeveloper 11.1.2.1.0.
    Please advise!
    Thanks in advance.
    P.S.
    Unfortunately, problem also confirmed on Windows 7 64bit and JRockit-jdk1.6.0_29-R28.2.0-4.1.0 and JDeveloper 11.1.2.1.0.
    LOG
    WARNING: Failed to save farm keystore. Reason {0}
    Dec 12, 2011 10:51:29 PM oracle.security.jps.internal.keystore.file.FileKeyStore
    Manager createKeyStore
    WARNING: Failed to save farm keystore. Reason {0}
    oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06513: Failed to save farm keystore. Reason at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.create KeyStore(FileKeyStoreManager.java:309)
    Edited by: rade.radenkovic on Dec 12, 2011 1:53 PM

  • WebLogic Server - Problem encoding file MS Word in jsp

    Hi, i'm new in this forum...sorry for my english but i don't speak it very well...
    I have a problem with encoding of a MS Word file (with WebLogic Server 8.1.4).....I have this file stored in a DB Oracle like a BLOB...then I extract this file and I obtain the bytes of this file....than i write this byte in my ServletOutputStream so that i can see this word document from my jsp page in word format....until now everithing is ok...MS Word is open....but in the file the character are not encoded....are like this
    "ÐÏ à¡± á ÿÿÿÿÿÿÿÿÿÿ "....... why i can't see it correctly???
    What I don't understand is thas:
    1)in the same page with a pdf (even this extract as byte from oracle column BLOB) works fine
    2)with the same web application deployed on a tomcat server everithings work fine (with doc,xls....)
    3)I think that every settings is ok....
    in the jsp file
    response.setContentType("application/msword");
    response.setHeader("Content-Disposition", "attachment; filename=test.doc");
    in web.xml
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    in weblogic.xml (I have read this in a forum)
    <jsp-descriptor>
    <jsp-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>compilerSupportsEncoding</param-name>
    <param-value>false</param-value>
    </jsp-param>
    </jsp-descriptor>
    The file that i obtain is not encode but is corret....infact if i make a compare (with a program "Beyond Compare" that meka a compare with the character not encoded like "ÐÏ à¡± á ÿÿÿÿÿÿÿÿÿÿ ") between the file that I obtain and the original file....everithing is equal...so the file is ok....but i can't open this correctly and visualize it correctly in word format!
    Please help me.....thanks so much

    i was able to solve it by clearing the output stream (jsp page - out.clear() ) before using it, even resetting the jsp response does the trick..
    thanks,
    prakash.m
    Edited by message2prakash at 02/08/2008 10:35 AM
    Edited by message2prakash at 02/08/2008 10:36 AM

  • SQL Toolkit -- problem searching Date/Time field in Access

    I have got an application where I need to query a database (Access) between
    two dates (usually the same date, a couple of hours apart). I have set up
    the date field within Access as a 'General Date' but can't seem to get the
    right format on the SQL query. I am always getting some error. I enclose
    the date with {}, '', [], and () (and anything else I can think of) and I
    still get a problem. It is now to the point where I think it might be a
    problem with SQL Toolkit and Access working together.
    I tried making the Date field into a string field (instead of a Date field),
    but I can't search between time (I can search between dates, but not date
    and time i.e. MM/DD/YY 00:00:00).
    Any ideas?

    Sorry, the database type is Access.
    I just tried the following query SELECT * FROM ValveMeritData WHERE MeritTestDateTime >= '2006/05/01 13:24:28'
    and SELECT * FROM ValveMeritData WHERE MeritTestDateTime >= '2006/05/01'  (which gave a data mismatch error).
    I am going to try the query in access now.  I had pretty good success with other types of queries, just writing them in
    Labview and testing.
    Any other suggestions?

  • Weblogic webservice problem

    Hi , friends, I have a problem regarding web services in oracle weblogic workshop.
    In our application we need to create 2 web services. We have 10 to 12 packages under src folder , i.e.,
    src(under this folder)------------------>com.abc.des.desk (like this we have couple of packages). All those packages are having different java related file, porlets etc.
    I need to create another package called com.abc.des.webservices
    under this I have to create 2 webservice (JAX-WS) with annotations.All these webservices along with remaining above mentioned packages goes to one single EAR file.
    I am unable to select JAX-WS related facets.
    When I select weblogic webservices , it is giving a warning message that "No projects found that support web services.The Standard Annotated Web Service facet must be enabled".I didn't understand where I need to enable them.
    Please suggest on this problem.
    Thanks a lot
    Peter.

    Hi Peter
    1. Since you used the words like portlets etc, I am assuming you have a PortalWeb Project. So you have like portalEAR, portalWeb and may be portalDataSync project. NOW under portalWeb project src you have your own packages. This is where you need to create a new WebService also under a new package. FIRST of all, you need to add Web Services Project Facet to this portalWeb pojrect. Still it may NOT work. But I will give you an idea. Select your portalWeb project. Right clikc mouse, select Properties. From Properties window on left side, select Project Facets. On right side you will see list of Facets already selected. Click on Modify Project button on bottom right hand corner. This opens up Project Facets window. Check the Facet named Web Services. NOW immediately in the bottom you may see some Errors like "Standard Annotated Web Services 2.0 and Beehive Controls 1.0.1 cannot both be selected" etc. I am talking about WLP 10.3 version. This means by default portalWeb project will have Beehive stuff facets Enabled to allow use of Pageflow Portlets. So you cannot add Web Services Facet to this Same portalWeb project. Unless you want to manully remove Beehive Facets (means you cannot use Pageflow portlets), then may be Web Services Facets can be added.
    One work around or more elegant solution is create a another brand new project like myWebServices project and enable Web Services for this. Nothing but create a new WebServices project with all Web Services Facets. Add this to the same portalEAR project. Then add all your webservices to this new project. NOW you can always invoke these Web Services from portalWeb project src code like utility classes or Pageflows etc. Incase if you want to use some utility classes across both portalWeb and webServices project, then you need to add all these classes into another simple Java Project. Then import this into both portalWeb and webServices projects.
    I saw another opotion also. When you select Web Services Project Facet, it has 2 child facets. Standard Annotated Web Services whose default version is 2.0. If you choose version 1.0, look like there are no dependencies. Means poralWeb project can have Web Services Facet provided you use Standard Annotated Web Sevices Version 1.0 (instead of default 2.0). Now using this you may loose some new features from 2.0. I am not sure to what extent this will work. But give this a shot in your dev Env. And see if you can create a simple webservice and live with that.
    portalEAR can have both portalWeb project and any other projects like webServices or Java utility porjects etc. All these projects will be bundled into one single .EAR file only for deployment.
    Thanks
    Ravi Jegga

  • Database toolkit problem

    Hello
    I have a problem with running DB toolkit.
    After installation I try to open example or build very simple code with DB Tools Open Connection.
    The result is broken arrow shows me that the DB ..Open connection.vi is not executable.
    I have installed LV 8.5.1 and DB toolkit from CD. All examples are visible after loading DatabaseEx.llb
    but none of them are possible to run. All of them have the same problem, DB .vis are not executable.
    I have Developer Suite packet. CVi is installed on C://Program  Files, but LV is installed on D://
    Does it be a problem for DB toolkit ?
    In LV I can see all DB*.vi in Connectivity tree.
    Where I made a mistake ?
    Konrad 

    Try to reconnect the control to the proper object. Follow this procedure:
    1) go to the front panel and right click on the _Connection terminal, then select ADODB._Connection if present
    2) If not successful, do it again and select Browse:
    3) search and select Microsoft Activex Data Objects (not sure about the correct version: I'd choose the more recent)
    4) in the lisbox below, select _Connection
    Message Edited by pincpanter on 09-01-2009 02:12 PM
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011

  • Weblogic Startup Problems

    We had a problem where we started Weblogic 8.1, while receiving internet traffic(we
    did not know the web server was still accepting requests at the time). When the
    server started, it ran for a few minutes and then locked up completely(did not
    shutdown though). The JVM, UNix box and db connections were not being taxed at
    all during this period. In fact, most of the requests into the box were simply
    hung. Has anyone else experienced this problem? Could this be due to us allowing
    traffic in while Weblogic was restarting? If we have ruled out the connection
    pools and the Unix box itself, what else could cause a Weblogic server to sporadically
    hang like this? Keep in mind, once we restarted the web server and app server,
    everything ran fine(with no other changes made).
    Any ideas would be greatly appreciated.

    We had a problem where we started Weblogic 8.1, while receiving internet traffic(we
    did not know the web server was still accepting requests at the time). When the
    server started, it ran for a few minutes and then locked up completely(did not
    shutdown though). The JVM, UNix box and db connections were not being taxed at
    all during this period. In fact, most of the requests into the box were simply
    hung. Has anyone else experienced this problem? Could this be due to us allowing
    traffic in while Weblogic was restarting? If we have ruled out the connection
    pools and the Unix box itself, what else could cause a Weblogic server to sporadically
    hang like this? Keep in mind, once we restarted the web server and app server,
    everything ran fine(with no other changes made).
    Any ideas would be greatly appreciated.

  • Weblogic.jar problems

    Hi,
    I am hosting an ejb web service on a different J2EE complaint application server and my security subject is coming from weblogic 10.3. When I use weblogic.jar in my application server classpath and try to start the serverr it throws the following exceptions:
    Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException:
    Exception occured in the wsgen process java.lang.ClassCastException:
    com.sun.xml.ws.api.server.Container$1 cannot be cast to
    weblogic.wsee.jaxws.WLSContainer
    at com.sun.enterprise.webservice.WsUtil.runWsGen(WsUtil.java:1848)
    at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2249)
    at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:359)
    at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:294)
    at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:207)
    at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:276)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:294)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:555)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
    at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
    at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:564)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:545)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:492)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:267)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
    |#]
    [#|2008-06-29T18:45:24.172-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Timer-9;Exception
    occured in the wsgen process java.lang.ClassCastException:
    com.sun.xml.ws.api.server.Container$1 cannot be cast to
    weblogic.wsee.jaxws.WLSContainer
    ;_RequestID=7cfc908b-f335-439c-b9e8-ac83c5f744b3;|"DPL8011:
    autodeployment failure while deploying the application : Exception
    occured in the wsgen process java.lang.ClassCastException:
    com.sun.xml.ws.api.server.Container$1 cannot be cast to
    weblogic.wsee.jaxws.WLSContainer
    "|#]
    It seems that weblogic.jar contains lot of files which either I don't need it or have some problems. I also tried using wlclient.jar instead of weblogic.jar but I am getting different exceptions related to missing class files. Is there a true .jar file from weblogic that I (as a client application) could use to access the weblogic server from a different application server using t3:// protocol.
    Any help would be really appreciated.
    john

    Hello Sir
    Did u solve the problem
    i am also getting the same problem
    please help me if u found the solution

  • Weblogic JndiDataSource problem

    Hi,
    I am trying to use JndiDataSource in Weblogic 9.1 Express edition. Everything is configured, but when I am using jdbc datasource and if the connection pool exceeds the limit, i am getting error:
    <Notice> <WebLogicServer> <BEA-000388> <JVM called
    WLS shutdown hook. The server will force shutdown now>
    and the server is shutting down, how can i avoid this, where do i need to configure such that the server does not shut down, even it the connection pool limit reachs??
    Thanks in advance

    Hi kota_balaji ,
    Did you solve the problem?
    I'm having the same error, the server shuts down,
    Thanks,
    Edgar Torres

  • Weblogic GC Problem - Please assist

    Hi,
    I am working on WebLogic(for the first time) with a sun JVM on a 8 CPU solaris machine, we have set the GC algorithm as,
    "-Xms2048m -Xmx2048m -XX:NewSize=576m -XX:MaxNewSize=576m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:SurvivorRatio=8 -Xverify:none -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+PrintTenuringDistribution -XX:+UseParallelGC "
    The problem is The FULL GC takes consistently between 15 - 20 sec, firstly is that a concern?
    We see that the heap is used up to 1.9 GB before it GC's
    The CPU Utilzation on box is not high below 40% on an average.
    Is using the "Concurrent Low Pause Collector" a good option in this case?
    Please assist.
    Thanks in advance.
    Following GC trace,
    4028.217: [GC 1425000K->1003932K(2012352K), 0.4191734 secs]
    4028.637: [Full GC[Unloading class sun.reflect.GeneratedMethodAccessor655]
    [Unloading class jsp_servlet._web_45_inf._apcwp._ptrck._jsp.__ptstatementpdf]
    [Unloading class sun.reflect.GeneratedMethodAccessor1726]
    [Unloading class jsp_servlet._web_45_inf._apfa._opnac._jsp.__ocainput]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__main]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__job]
    [Unloading class jsp_servlet._web_45_inf._apcwp._ptrck._jsp.__ptstatement]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor290]
    [Unloading class sun.reflect.GeneratedMethodAccessor1725]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor356]
    [Unloading class sun.reflect.GeneratedMethodAccessor2253]
    [Unloading class sun.reflect.GeneratedMethodAccessor653]
    [Unloading class jsp_servlet._web_45_inf._jba._common._jsp.__cantdo]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor357]
    [Unloading class jsp_servlet._web_45_inf._apeba._ebrk_reg._rsp._jsp.__screen100]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor355]
    [Unloading class jsp_servlet._web_45_inf._apcwp._myprf._jsp.__profilesummary]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor323]
    [Unloading class jsp_servlet._web_45_inf._jba._ada._jsp.__adaprintfriendly]
    [Unloading class sun.reflect.GeneratedMethodAccessor654]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor335]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._itvisa._jsp.__itvisaempdet]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__generic]
    [Unloading class sun.reflect.GeneratedMethodAccessor652]
    [Unloading class sun.reflect.GeneratedMethodAccessor1966]
    [Unloading class jsp_servlet._web_45_inf._aptc._fxrates._jsp.__fxrateview]
    [Unloading class sun.reflect.GeneratedMethodAccessor2252]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._itvisa._jsp.__dummy]
    [Unloading class jsp_servlet._web_45_inf._jso._uidn._jsp.__successcinpin]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__service]
    [Unloading class jsp_servlet._web_45_inf._apfa._hkgcb._hkcareer._jsp.__job_list_category_unit]
    [Unloading class jsp_servlet._web_45_inf._aptc._fxrates._jsp.__calculate]
    [Unloading class jsp_servlet._web_45_inf._jba._scdp._jsp.__displaynopayeeinlistscreen]
    1003932K->862215K(2015232K), 15.3721435 secs]

    I am guessing from your question that you are concerned about the full GC pauses.
    1.5.0_06 onwards there is a parallel old gc option available -XX:+UseParallelOldGC
    which can help on an 8-way. I'd expect (much handwaving and guessing here)
    that your full GC pauses might reduce from the current 15 sec range to the 2 second
    range.
    The concurrent GC would also help, albeit might require a bit of tuning to get
    right -XX:+UseConcurrentMarkSweepGC, available since 1.4.2, and made
    much more efficient and scalable in 5.0 and 6.0.
    For tuning guidance, look at the tuning guides and white papers available
    off of http://java.sun.com/docs/hotspot ,
    especially http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
    and the associated FAQ (at the end of the tuning guide referenced above).

Maybe you are looking for

  • RG1 updation for Reversal of Goods Issue

    Hi, I am a SD person . We recently started RG1 for our client by deleting all the previous data from J_2IRG1BAL table & also mantaining the initial balances for finished goods . When we do a goods reversal for a cancelled sales order ( say movement t

  • Finite pulse-trai​n generation with variable time lapses with NiDAQmx

    Being a newby in Labview and NiDAQmx, I find it tedious to program the application I need to drive my experiment : I want to generate a finite pulse train, with variable delays between two consecutive pulses. These delays are known before the experim

  • When using Appleworks database for printing labels can I have columns of different widths?

    When using Appleworks database for printing labels can I have a column of different width? Case in point, the supplied avery labels in Appleworks does not have 8195. When I build one using custom design  I need a small column between column 2 and 3 t

  • Can't buy iPhoto

    My cousin bought me Mac Mini and set it up for me because it's my first Mac. Now, I can't download the iLife suite because the computer ID is attached to his account. I've wiped the hard drive and reinstalled to no avail. What does it take to get App

  • Paste with borders formatting?

    I want to copy and paste a few cells and retain the border formatting. Is this possible in Numbers '09? If so how do I do it?